/* Fantastic Blinds. Tokens come from fantasticblinds.au, so this reads as Ben's brand. Mobile first. */

/* Fonts */
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin-var.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
}
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-italic-latin-var.woff2") format("woff2");
	font-style: italic;
	font-weight: 400;
	font-display: swap;
}
/* Bebas Neue is embedded in fonts.css so headings never swap. These cover Archivo where the local font exists. */
@font-face {
	font-family: "Archivo fallback";
	src: local("Arial"), local("Helvetica Neue"), local("Roboto");
	size-adjust: 99%;
}

:root {
	/* Colour */
	--sand: #e8d5b5;
	--cream: #f4e9d6;
	--sand-deep: #dcc298;
	--tan: #c9aa82;
	--clay: #8c5a3c;
	--bark: #6b4426;
	--ink: #1a0a0a;
	--espresso: #1a1916;

	/* Type */
	--font-display: "Bebas Neue", Impact, sans-serif;
	--font-body: "Archivo", "Archivo fallback", Arial, sans-serif;
	--font-accent: "Fraunces", Georgia, "Times New Roman", serif;

	--text-sm: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
	--text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
	--text-lede: clamp(1.375rem, 1.1rem + 1.2vw, 2.25rem);
	--text-h3: clamp(1.625rem, 1.4rem + 0.9vw, 2.25rem);
	--text-section: clamp(3rem, 1.6rem + 6.4vw, 7.5rem);
	--text-page: clamp(3.5rem, 1.6rem + 8.4vw, 9.5rem);
	--text-hero: clamp(4rem, 1.4rem + 11.2vw, 12.5rem);

	/* Space */
	--gutter: clamp(1.25rem, 0.75rem + 2.6vw, 3rem);
	--section: clamp(4.5rem, 3rem + 6.5vw, 9rem);
	--gap: clamp(1rem, 0.75rem + 1vw, 1.5rem);
	--max: 1560px;
	--measure: 62ch;

	/* Motion */
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-block: 6rem 5rem; }
body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

body {
	background: var(--sand);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	padding-bottom: 3.75rem; /* room for the call bar on phones */
}

:focus-visible {
	outline: 2px solid var(--focus, var(--clay));
	outline-offset: 3px;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -5rem;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	background: var(--espresso);
	color: var(--sand);
}
.skip-link:focus { top: 1rem; }

/* Tones: each section sets its own colours */
.tone-ground { --bg: var(--sand); --fg: var(--ink); --soft: #4a3020; --rule: rgb(26 10 10 / 0.75); --line: rgb(26 10 10 / 0.18); --accent: var(--bark); --panel: var(--cream); }
.tone-alt { --bg: var(--cream); --fg: var(--ink); --soft: #4a3020; --rule: rgb(26 10 10 / 0.75); --line: rgb(26 10 10 / 0.16); --accent: var(--bark); --panel: var(--sand); }
.tone-deep { --bg: var(--sand-deep); --fg: var(--ink); --soft: #3e281a; --rule: rgb(26 10 10 / 0.75); --line: rgb(26 10 10 / 0.2); --accent: var(--bark); --panel: var(--cream); }
.tone-dark { --bg: var(--espresso); --fg: var(--sand); --soft: rgb(232 213 181 / 0.8); --rule: rgb(232 213 181 / 0.7); --line: rgb(232 213 181 / 0.18); --accent: var(--tan); --panel: #26241f; --focus: var(--sand); }
[class*="tone-"] { background: var(--bg); color: var(--fg); }

/* Layout */
.wrap { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

/* Type */
.display {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 0.92;
	letter-spacing: 0.005em;
	text-transform: uppercase;
	overflow-wrap: break-word;
	text-wrap: balance;
}
.display--hero { font-size: var(--text-hero); line-height: 0.88; }
.display--page { font-size: var(--text-page); }
.display--section { font-size: var(--text-section); }

.lede {
	font-family: var(--font-accent);
	font-style: italic;
	font-size: var(--text-lede);
	line-height: 1.2;
	letter-spacing: -0.01em;
	max-width: 26ch;
}

.eyebrow, .mark__label, .site-footer__title, .areas__title {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.5;
	text-transform: uppercase;
}
.eyebrow { color: var(--soft); margin-bottom: clamp(1.25rem, 1rem + 1.5vw, 2.5rem); }

/* N°01 and its rule */
.mark {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	margin-bottom: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
}
.mark__no {
	font-family: var(--font-display);
	font-size: clamp(2.75rem, 2.25rem + 2vw, 4.25rem);
	line-height: 0.85;
	white-space: nowrap;
}
.mark__line {
	flex: 1;
	position: relative;
	border-top: 1px solid var(--rule);
	margin-top: 0.5rem;
	padding-top: 0.625rem;
}
.mark__line::before {
	content: "";
	position: absolute;
	left: 0;
	top: -4px;
	width: 7px;
	height: 7px;
	background: currentColor;
}
.mark__label { display: block; }

.section-head {
	display: grid;
	gap: 1.25rem;
	margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
}
.section-head__intro { color: var(--soft); max-width: 44ch; }

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.prose a { text-underline-offset: 0.2em; }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 1.5rem + 1vw, 2.5rem); line-height: 1; text-transform: uppercase; margin-top: 2em; }
.prose h3 { font-size: 1.0625rem; font-weight: 600; margin-top: 1.5em; }
.prose ul { list-style: disc; padding-left: 1.25em; }
.prose li + li { margin-top: 0.35em; }
.prose--long { max-width: 72ch; }

.ticks { display: grid; gap: 0.75rem; }
.ticks li { position: relative; padding-left: 1.5rem; max-width: 56ch; }
.ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 7px;
	height: 7px;
	background: var(--accent);
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	min-height: 3.25rem;
	padding: 0.875rem 1.75rem;
	border: 1px solid transparent;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn .icon { flex: none; }
.btn--solid { background: var(--espresso); border-color: var(--espresso); color: var(--sand); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--fg, var(--ink)); }
.btn--light { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.tone-dark .btn--ghost { color: var(--sand); }
@media (hover: hover) {
	.btn--solid:hover { background: var(--bark); border-color: var(--bark); color: #fff; }
	.btn--ghost:hover { background: var(--fg, var(--ink)); color: var(--bg, var(--sand)); border-color: var(--fg, var(--ink)); }
	.btn--light:hover { background: var(--cream); border-color: var(--cream); }
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.actions--stack { flex-direction: column; align-items: stretch; max-width: 22rem; }

/* Top bar */
.topbar { display: none; }
.topbar__inner {
	width: min(100%, var(--max));
	margin-inline: auto;
	padding: 0.5rem var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.8125rem;
}
.topbar__phones { display: flex; gap: 1.5rem; }
.topbar__phones a { display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: none; font-weight: 500; letter-spacing: 0.04em; }
.topbar__phones a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* Header */
.site-header { background: var(--sand); border-bottom: 1px solid rgb(26 10 10 / 0.14); position: relative; z-index: 40; }
.site-header__inner {
	width: min(100%, var(--max));
	margin-inline: auto;
	padding: 0.75rem var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.site-logo { flex: none; }
.site-logo img { width: clamp(150px, 120px + 7vw, 190px); height: auto; }

.nav-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.5rem 0.875rem;
	background: none;
	border: 1px solid var(--ink);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
}
html:not(.js) .nav-toggle { display: none; }
.nav-toggle .icon--close { display: none; }
.menu-open .nav-toggle .icon--menu { display: none; }
.menu-open .nav-toggle .icon--close { display: block; }

.nav {
	position: absolute;
	inset: 100% 0 auto;
	display: none;
	flex-direction: column;
	gap: 1.25rem;
	max-height: calc(100dvh - 9rem);
	overflow-y: auto;
	padding: 0.5rem var(--gutter) 2rem;
	background: var(--sand);
	border-bottom: 1px solid rgb(26 10 10 / 0.2);
}
.menu-open .nav { display: flex; }
html:not(.js) .nav { position: static; display: flex; max-height: none; flex-basis: 100%; }
html:not(.js) .site-header__inner { flex-wrap: wrap; }
html:not(.js) .nav__sub { display: block; }
.nav__list { display: grid; }
.nav__item { display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid rgb(26 10 10 / 0.14); }
.nav__link {
	padding: 0.875rem 0;
	font-family: var(--font-display);
	font-size: 1.75rem;
	line-height: 1.1;
	text-decoration: none;
	text-transform: uppercase;
}
.nav__link[aria-current="page"] { color: var(--bark); }
.nav__toggle {
	width: 2.75rem;
	height: 2.75rem;
	display: grid;
	place-items: center;
	background: none;
	border: 0;
	cursor: pointer;
}
.nav__toggle .icon { transition: transform 0.2s var(--ease); }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__sub { display: none; grid-column: 1 / -1; padding: 0 0 0.875rem; }
.nav__toggle[aria-expanded="true"] + .nav__sub { display: block; }
.nav__sub .nav__item { display: block; border: 0; }
.nav__sub .nav__link {
	display: block;
	padding: 0.5rem 0;
	font-family: var(--font-body);
	font-size: var(--text-base);
	text-transform: none;
}
.nav__cta { width: 100%; }

/* Hero */
.hero__copy { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) clamp(2rem, 1.5rem + 2vw, 3rem); }
.hero__body { display: grid; gap: 1.5rem; margin-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.hero__note { color: var(--soft); max-width: 46ch; }
.hero__body .actions .btn { flex: 1 1 100%; }
.hero__media img { width: 100%; object-fit: cover; }
.hero__media--single img { aspect-ratio: 4 / 3; }
.hero__media--row { display: grid; gap: 2px; }
.hero__media--row img { aspect-ratio: 4 / 3; }
.hero__facts {
	display: grid;
	gap: 0;
	padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.hero__facts li { display: grid; gap: 0.125rem; padding-block: 0.875rem; border-top: 1px solid var(--line); }
.hero__facts strong { font-family: var(--font-display); font-weight: 400; font-size: 1.625rem; line-height: 1.1; text-transform: uppercase; }
.hero__facts span { color: var(--soft); font-size: var(--text-sm); }

/* Page heading */
.page-head .wrap { padding-block: clamp(3rem, 2.5rem + 4vw, 6rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-head .lede { margin-top: 1.5rem; max-width: 34ch; }

/* Fact band */
.strip { overflow: hidden; }
.strip__list {
	width: min(100%, var(--max));
	margin-inline: auto;
	padding: 1rem var(--gutter);
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-align: center;
}
.strip__list li { position: relative; }

/* Copy and photo */
.feature__grid { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem); }
.feature__copy { display: grid; gap: 1.5rem; align-content: start; }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Cards */
.cards { display: grid; gap: var(--gap); }
.card { position: relative; display: flex; flex-direction: column; background: var(--panel); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand-deep); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.card__hover { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s var(--ease); }
.card__body {
	flex: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.5rem 1rem;
	align-content: start;
	padding: 1.125rem 1.25rem 1.25rem;
}
.card__body > * { grid-column: 1; }
.card__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: var(--text-h3);
	line-height: 1;
	text-transform: uppercase;
}
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card p { font-size: var(--text-sm); color: var(--soft); }
.card__body > .card__arrow {
	grid-column: 2;
	grid-row: 1 / span 2;
	width: 2.25rem;
	height: 2.25rem;
	display: grid;
	place-items: center;
	border: 1px solid currentColor;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
@media (hover: hover) {
	.card:hover .card__hover { opacity: 1; }
	.card:hover .card__media img { transform: scale(1.025); }
	.card:has(a):hover .card__arrow { background: var(--espresso); color: var(--sand); }
}

/* Numbered points */
.steps { display: grid; gap: 2rem; }
.step { display: grid; gap: 0.625rem; align-content: start; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.step__no { font-family: var(--font-display); font-size: clamp(2.5rem, 2rem + 1.5vw, 3.5rem); line-height: 1; }
.step__title { font-family: var(--font-display); font-weight: 400; font-size: var(--text-h3); line-height: 1; text-transform: uppercase; }
.step p { color: var(--soft); max-width: 40ch; }

/* Specifications */
.spec { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem); }
.spec__copy { display: grid; gap: 1.25rem; align-content: start; }
.spec__copy p { color: var(--soft); max-width: 46ch; }
.spec__table > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; padding-block: 0.875rem; border-top: 1px solid var(--line); }
.spec__table > div:last-child { border-bottom: 1px solid var(--line); }
.spec__table dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.spec__table dd { font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags li { padding: 0.4rem 0.75rem; border: 1px solid var(--line); font-size: var(--text-sm); background: var(--panel); }

/* Questions */
.faq { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem); }
.faq__head { display: grid; gap: 1rem; align-content: start; }
.faq__head a { font-weight: 600; text-underline-offset: 0.2em; }
.faq__item { border-top: 1px solid var(--rule); }
.faq__item:last-child { border-bottom: 1px solid var(--rule); }
.faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 1.125rem;
	min-height: 3.25rem;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: none; transition: transform 0.2s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__item .prose { padding-bottom: 1.5rem; color: var(--soft); }

/* Areas */
.areas { display: grid; gap: 2rem var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
.areas__title { padding-bottom: 0.625rem; margin-bottom: 0.75rem; border-bottom: 1px solid var(--rule); }
.areas__group li { padding-block: 0.15rem; }

/* Gallery */
.gallery__filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.gallery__filter {
	min-height: 2.75rem;
	padding: 0.5rem 1rem;
	background: none;
	border: 1px solid var(--ink);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
}
.gallery__filter[aria-pressed="true"] { background: var(--espresso); color: var(--sand); }
.gallery { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Quote */
.quote__grid { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.quote__copy { display: grid; gap: 1.5rem; align-content: start; }
.quote__form { background: var(--panel); padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); }
.tone-dark .quote__form { --panel: var(--cream); --soft: #4a3020; color: var(--ink); }
.tone-dark .btn--solid { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.quote__form input, .quote__form textarea, .quote__form select, .gchoice label { color: var(--ink); }
.gchoice input:checked + label { color: var(--sand); }

/* Gravity Forms, styled by the theme */
.gform_title, .gform_description, .gform_validation_container, .gfield--type-honeypot, .gform_hidden, .gfield_visibility_hidden, .gfield_required_text { display: none !important; }
.gform_required_legend { margin-bottom: 1rem; font-size: var(--text-sm); color: var(--soft); }
.gform_ajax_spinner { display: block; width: 1.5rem; height: 1.5rem; margin: 0.75rem auto 0; }
.hidden_label > .gfield_label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.gform_fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.25rem 1rem; }
.gfield { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; min-width: 0; }
.gfield--width-half { grid-column: span 12; }
.gfield_label, .gform-field-label--type-sub {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.gfield_required { color: var(--bark); margin-left: 0.2em; }
.gfield_required_asterisk { font-weight: 700; }
.gform_wrapper input[type="text"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="email"],
.gform_wrapper select,
.gform_wrapper textarea {
	display: block;
	width: 100%;
	min-height: 3.25rem;
	padding: 0.75rem 0.875rem;
	background: #fff;
	border: 1px solid var(--bark);
	border-radius: 0;
	font-size: 1rem;
	line-height: 1.4;
}
.gform_wrapper textarea { min-height: 7rem; resize: vertical; }
.gform_wrapper input:focus-visible, .gform_wrapper textarea:focus-visible, .gform_wrapper select:focus-visible { outline: 2px solid var(--clay); outline-offset: 1px; }
.gfield_description { margin-top: 0.375rem; font-size: var(--text-sm); color: var(--soft); }
.gfield_checkbox { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 8rem), 1fr)); gap: 0.5rem; }
.gchoice { position: relative; }
.gchoice input[type="checkbox"] { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.gchoice label {
	display: flex;
	align-items: center;
	min-height: 3rem;
	padding: 0.5rem 0.75rem;
	background: #fff;
	border: 1px solid var(--bark);
	font-size: var(--text-sm);
	line-height: 1.25;
	cursor: pointer;
	transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.gchoice input:checked + label { background: var(--espresso); border-color: var(--espresso); color: var(--sand); }
.gchoice input:focus-visible + label { outline: 2px solid var(--clay); outline-offset: 2px; }
.ginput_container_consent { display: flex; align-items: flex-start; gap: 0.625rem; }
.ginput_container_consent input { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; accent-color: var(--espresso); }
.ginput_container_consent label { font-size: var(--text-sm); }
.ginput_container_consent a { text-underline-offset: 0.2em; }
.gform_footer { margin-top: 1.5rem; }
.gform_footer .gform_button {
	width: 100%;
	min-height: 3.5rem;
	padding: 0.875rem 1.75rem;
	background: var(--espresso);
	border: 1px solid var(--espresso);
	color: var(--sand);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s var(--ease);
}
@media (hover: hover) { .gform_footer .gform_button:hover { background: var(--bark); border-color: var(--bark); color: #fff; } }
.gform_validation_errors { margin-bottom: 1.25rem; padding: 0.875rem 1rem; background: #fff; border-left: 4px solid #a3261b; }
.gform_validation_errors h2 { font-size: var(--text-sm); font-weight: 600; }
.gfield_error input, .gfield_error textarea { border-color: #a3261b; }
.validation_message { margin-top: 0.375rem; font-size: var(--text-sm); font-weight: 500; color: #8f1f15; }

/* Closing band */
.cta__row { display: grid; gap: 1.5rem; margin-top: 1rem; }
.cta__lede { font-family: var(--font-accent); font-style: italic; font-size: clamp(2rem, 1.25rem + 3.6vw, 5rem); line-height: 1.05; color: var(--tan); letter-spacing: -0.01em; }
.cta .actions .btn { flex: 1 1 100%; }

/* Marquee */
.marquee { overflow: hidden; border-top: 1px dashed rgb(232 213 181 / 0.55); border-bottom: 1px solid var(--line); }
.marquee__track {
	display: flex;
	align-items: baseline;
	gap: 2rem;
	width: max-content;
	padding-block: 1rem;
}
/* Moves only as you scroll, so nothing runs on its own. Browsers without this show a still line. */
@supports (animation-timeline: view()) {
	.marquee__track { animation: marquee linear both; animation-timeline: view(); }
}
.marquee__big { font-family: var(--font-display); font-size: clamp(2.5rem, 2rem + 2vw, 4.25rem); line-height: 1; white-space: nowrap; text-transform: uppercase; }
.marquee__small { font-family: var(--font-accent); font-style: italic; font-size: clamp(1.125rem, 1rem + 0.6vw, 1.625rem); color: var(--tan); white-space: nowrap; }
@keyframes marquee { from { transform: translateX(-6%); } to { transform: translateX(-26%); } }

/* Footer */
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.site-footer__grid {
	width: min(100%, var(--max));
	margin-inline: auto;
	padding: clamp(3rem, 2.5rem + 2vw, 4.5rem) var(--gutter);
	display: grid;
	gap: 2.5rem var(--gap);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.site-footer__brand { grid-column: 1 / -1; display: grid; gap: 1rem; max-width: 28rem; }
.site-footer__brand img { width: 190px; height: auto; }
.site-footer__brand p, .site-footer__hours { color: var(--soft); font-size: var(--text-sm); }
.site-footer__title { margin-bottom: 1rem; color: var(--tan); }
.site-footer li { padding-block: 0.3rem; font-size: var(--text-sm); }
.site-footer__hours { margin-top: 1rem; }
.site-footer__base {
	width: min(100%, var(--max));
	margin-inline: auto;
	padding: 1.25rem var(--gutter);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	border-top: 1px solid var(--line);
	font-size: 0.8125rem;
	color: var(--soft);
}
.site-footer__base ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.site-footer__base li { font-size: 0.8125rem; padding: 0.25rem 0; }
.site-footer__social { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; }
.site-footer__social .icon { width: 20px; height: 20px; }

/* Phone call bar */
.callbar {
	position: fixed;
	inset: auto 0 0;
	z-index: 50;
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	background: var(--espresso);
	border-top: 1px solid rgb(232 213 181 / 0.3);
	padding-bottom: env(safe-area-inset-bottom);
}
.callbar__link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	min-height: 3.5rem;
	padding-inline: 0.375rem;
	color: var(--sand);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.callbar__link + .callbar__link { border-left: 1px solid rgb(232 213 181 / 0.3); }
.callbar__link--quote { padding-inline: 0.875rem; background: var(--sand); color: var(--ink); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* 404 */
.not-found .lede { margin-block: 1.5rem 2rem; }

/* Wider phones */
@media (min-width: 560px) {
	.hero__body .actions .btn, .cta .actions .btn { flex: 0 1 auto; }
	.cards--2, .cards--3, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gfield--width-half { grid-column: span 6; }
	.hero__media--row { grid-template-columns: repeat(3, 1fr); }
	.hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
	.site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Tablets */
@media (min-width: 760px) {
	.steps--3, .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { gap: 2.5rem var(--gap); }
	.section-head { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: end; }
	.hero__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Larger laptops and up: full menu, no call bar */
@media (min-width: 1200px) {
	body { padding-bottom: 0; }
	html { scroll-padding-bottom: 0; }
	.callbar, .nav-toggle { display: none; }
	.topbar { display: block; }

	.site-header { position: sticky; top: 0; }
	.site-header__inner { padding-block: 0.625rem; gap: 2rem; }

	.nav {
		position: static;
		display: flex;
		flex: 1;
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
		gap: 1.5rem;
		max-height: none;
		overflow: visible;
		padding: 0;
		background: none;
		border: 0;
	}
	.nav__list { display: flex; gap: 0.25rem 0.875rem; }
	.nav__item { position: relative; display: flex; align-items: center; border: 0; }
	.nav__link {
		padding: 0.5rem 0;
		font-family: var(--font-body);
		font-size: 0.75rem;
		font-weight: 600;
		letter-spacing: 0.1em;
		white-space: nowrap;
	}
	.nav__link:hover { text-decoration: underline; text-underline-offset: 0.35em; }
	.nav__toggle { width: 1.5rem; height: 2rem; }
	.nav__toggle .icon { width: 14px; height: 14px; }
	.nav__sub {
		position: absolute;
		top: 100%;
		left: -1rem;
		min-width: 15rem;
		padding: 0.75rem 1rem;
		background: var(--cream);
		box-shadow: 0 12px 30px rgb(26 10 10 / 0.14);
	}
	html:not(.js) .nav { position: static; flex-basis: auto; }
	html:not(.js) .site-header__inner { flex-wrap: nowrap; }
	html:not(.js) .nav__sub { display: none; }
	html:not(.js) .nav__item--parent:hover > .nav__sub { display: block; }
	.nav__sub .nav__link { padding: 0.4rem 0; font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; white-space: normal; }
	.nav__cta { width: auto; min-height: 2.875rem; padding-inline: 1rem; white-space: nowrap; flex: none; }

	.hero--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.hero--split .hero__copy { margin: 0; padding-right: clamp(2rem, 1rem + 3vw, 4rem); align-self: center; width: auto; }
	.hero--split .hero__media { grid-column: 2; grid-row: 1; }
	.hero--split .hero__media { position: relative; min-height: 36rem; }
	.hero--split .hero__media--single img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
	.hero--split .hero__facts { grid-column: 1 / -1; width: min(100%, var(--max)); }
	.hero--split .display--hero { font-size: clamp(4.5rem, 1rem + 5.4vw, 8rem); }

	.hero--statement .hero__body {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		column-gap: clamp(2rem, 1rem + 4vw, 6rem);
		align-items: start;
	}
	.hero--statement .lede { max-width: 24ch; grid-row: 1 / span 2; }
	.hero--statement .hero__note { padding-left: 1.5rem; border-left: 1px solid var(--rule); }

	.feature__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2.5rem, 1rem + 5vw, 7rem); align-items: center; }
	.feature--left .feature__media { order: -1; }
	.feature--no-image .feature__grid { grid-template-columns: minmax(0, 1fr); }
	.feature--no-image .feature__copy { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(2.5rem, 1rem + 5vw, 7rem); align-items: end; }
	.feature--no-image .display { grid-row: 1 / span 3; }

	.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.card__media { aspect-ratio: 3 / 4; }
	.cards--2 .card__media { aspect-ratio: 16 / 11; }

	.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.spec, .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); column-gap: clamp(2.5rem, 1rem + 5vw, 7rem); }
	.quote__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: clamp(2.5rem, 1rem + 5vw, 7rem); }
	.cta__row { grid-template-columns: minmax(0, 1.5fr) auto; align-items: end; column-gap: 3rem; }
	.cta .actions { max-width: 30rem; justify-content: flex-end; }

	.site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
	.site-footer__brand { grid-column: auto; }
}

@media (min-width: 1360px) {
	.nav__list { gap: 0.25rem 1.5rem; }
	.nav__link { letter-spacing: 0.14em; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
	.topbar, .callbar, .marquee, .nav, .nav-toggle { display: none !important; }
	body { padding: 0; background: #fff; }
}
