/* ============================================================
   JADA + DAVID — PUBLIC WEBSITE DESIGN SYSTEM

   Shared foundation for all public website sections.

   Individual page styles and shared widget styles remain
   responsible for their own content layouts.

   SECTION DIRECTORY
   ------------------------------------------------------------
   01 — Brand variables
   02 — Document foundation
   03 — Basic elements
   04 — Website header
   05 — Website logo
   06 — Website content
   07 — Website footer
   08 — Accessibility
   09 — Tablet
   10 — Mobile
   11 — Reduced motion
   ============================================================ */


/* ============================================================
   01 — BRAND VARIABLES
   ============================================================ */

:root {

	/* BRAND COLORS */

	--site-white: #ffffff;
	--site-cream: #f7f4ee;
	--site-coral: #fc846f;
	--site-coral-dark: #c96655;
	--site-charcoal: #202020;
	--site-grey: #686868;
	--site-border: #e6e2dc;


	/* TYPOGRAPHY */

	--site-font-primary:
		'Source Sans Pro',
		'Open Sans',
		Arial,
		sans-serif;

	--site-font-secondary:
		'Open Sans',
		Arial,
		sans-serif;


	/* CONTENT WIDTHS */

	--site-width-reading: 760px;
	--site-width-wide: 1120px;
	--site-width-container: 1400px;
	--site-width-full: 1600px;


	/* SPACING */

	--site-gutter: 40px;

	--site-space-xs: 8px;
	--site-space-sm: 16px;
	--site-space-md: 24px;
	--site-space-lg: 40px;
	--site-space-xl: 60px;
	--site-space-xxl: 100px;


	/* INTERACTION */

	--site-transition: .2s ease;

}


/* ============================================================
   02 — DOCUMENT FOUNDATION
   ============================================================ */

html,
   body {
   
	   width: 100%;
   
	   margin: 0;
	   padding: 0;
   
	   -webkit-text-size-adjust: 100%;
   
   }


body.jd-site {

	width: 100%;
	min-width: 0;
	min-height: 100vh;

	margin: 0;
	padding: 0;

	background: var(--site-white);
	color: var(--site-charcoal);

	font-family: var(--site-font-primary);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;

	-webkit-font-smoothing: antialiased;

}


.jd-site,
.jd-site *,
.jd-site *::before,
.jd-site *::after {

	box-sizing: border-box;

}


/* ============================================================
   03 — BASIC ELEMENTS

   Avoid imposing global article typography or photograph
   layouts. Individual components control their appearance.
   ============================================================ */

.jd-site a {

	color: inherit;

}


.jd-site button,
.jd-site input,
.jd-site select,
.jd-site textarea {

	font-family: inherit;
	font-size: inherit;

}


.jd-site img,
.jd-site video {

	max-width: 100%;

}


.jd-site img {

	vertical-align: middle;

}


.jd-site [hidden] {

	display: none !important;

}


.jd-site ::selection {

	background: var(--site-coral);
	color: var(--site-charcoal);

}


/* ============================================================
   04 — WEBSITE HEADER
   ============================================================ */

.jd-site-header {

	position: relative;

	width: 100%;

	background: var(--site-white);

}


.jd-site-header-inner {

	display: flex;

	align-items: center;
	justify-content: center;

	width: 100%;
	min-height: 130px;

	margin: 0 auto;

	padding: 20px 65px;

	box-sizing: border-box;

}


/* ============================================================
   05 — WEBSITE LOGO
   ============================================================ */

.jd-site-logo {
   
	   display: block;
   
	   width: 200px;
	   max-width: 100%;
   
	   margin: 0 auto;
	   padding: 0;
   
	   text-align: center;
	   text-decoration: none;
   
   }


.jd-site-logo img {

	display: block;

	width: 200px;
	max-width: 100%;
	height: auto;

}


/* ============================================================
   06 — WEBSITE CONTENT
   ============================================================ */

.jd-site-content {

	width: 100%;
	min-width: 0;

}


.jd-site-container {

	width: 100%;
	max-width: var(--site-width-container);

	margin-left: auto;
	margin-right: auto;

	padding-left: var(--site-gutter);
	padding-right: var(--site-gutter);

}


/* ============================================================
   07 — WEBSITE FOOTER
   ============================================================ */

.jd-site-footer {

	width: 100%;

	padding: 60px 0;

	border-top: 1px solid var(--site-border);

	background: var(--site-cream);

	color: var(--site-charcoal);

}


.jd-site-footer-inner {

	display: grid;

	grid-template-columns:
		minmax(0, 1fr)
		minmax(0, 1fr);

	gap: 50px;

}


.jd-site-footer-brand {

	max-width: 480px;

}


.jd-site-footer-title {

	margin: 0 0 15px;

	font-size: 20px;
	font-weight: 600;

}


.jd-site-footer-description {

	margin: 0;

	color: var(--site-grey);

	font-size: 15px;
	line-height: 1.7;

}


.jd-site-footer-links {

	display: flex;

	flex-wrap: wrap;

	justify-content: flex-end;
	align-items: flex-start;

	gap: 20px;

}


.jd-site-footer-links a {

	color: var(--site-charcoal);

	font-size: 14px;

	text-decoration: none;

	transition: color var(--site-transition);

}


.jd-site-footer-links a:hover {

	color: var(--site-coral-dark);

}


.jd-site-footer-bottom {

	display: flex;

	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;

	gap: 15px;

	margin-top: 40px;
	padding-top: 24px;

	border-top: 1px solid var(--site-border);

	color: var(--site-grey);

	font-size: 12px;

}


/* ============================================================
   08 — ACCESSIBILITY
   ============================================================ */

.jd-site :focus-visible {

	outline: 2px solid var(--site-coral-dark);

	outline-offset: 4px;

}


.jd-site-skip-link {

	position: absolute;

	top: 12px;
	left: 12px;

	z-index: 2000;

	padding: 12px 18px;

	background: var(--site-charcoal);
	color: var(--site-white) !important;

	font-size: 14px;

	text-decoration: none;

	transform: translateY(-200%);

}


.jd-site-skip-link:focus {

	transform: translateY(0);

}


/* ============================================================
   09 — TABLET
   ============================================================ */

@media (max-width: 1024px) {

	:root {

		--site-gutter: 30px;

		--site-space-xl: 50px;
		--site-space-xxl: 80px;

	}

	.jd-site-header-inner {

		min-height: 115px;

	}

}


/* ============================================================
   10 — MOBILE
   ============================================================ */

@media (max-width: 650px) {

	:root {

		--site-gutter: 20px;

		--site-space-lg: 30px;
		--site-space-xl: 40px;
		--site-space-xxl: 60px;

	}


	.jd-site-header-inner {

		min-height: 100px;

		padding: 20px 65px;

	}


	.jd-site-logo img {

		width: 160px;

	}


	.jd-site-footer {

		padding: 40px 0;

	}


	.jd-site-footer-inner {

		grid-template-columns: 1fr;

		gap: 30px;

	}


	.jd-site-footer-links {

		justify-content: flex-start;

		gap: 15px;

	}


	.jd-site-footer-bottom {

		margin-top: 30px;

	}

}


/* ============================================================
   11 — REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

	.jd-site {

		scroll-behavior: auto;

	}

	.jd-site-footer-links a {

		transition: none;

	}

}

/* ============================================================
   BLOG ARTICLE HEADER SPACING
   ============================================================ */

.jd-site-content > .solo-v2 {

	margin-top: 0;

}

/* ============================================================
   FULL-WIDTH WEBSITE FOUNDATION
   ============================================================ */

body.jd-site,
.jd-site-content,
.jd-site-content > .solo-v2 {

	width: 100%;
	max-width: none;

	margin: 0;
	padding: 0;

}