/* ==========================================================================
   Bharath Optics & Hearing Aids
   Tokens: navy ink + logo red for the brand, marigold for eye care,
   clinic blue for hearing care. Atkinson Hyperlegible (built for low-vision
   readers) for body; Bricolage Grotesque for display.
   ========================================================================== */

@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage.woff2") format("woff2");
	font-weight: 200 800;
	font-stretch: 75% 100%;
	font-display: swap;
}
@font-face {
	font-family: "Atkinson Hyperlegible Next";
	src: url("../fonts/atkinson-next.woff2") format("woff2");
	font-weight: 200 800;
	font-display: swap;
}

:root {
	--ink: #16203a;
	--ink-2: #4a5470;
	--ink-3: #6b7490;
	--line: #dde2ea;
	--mist: #f3f5f9;
	--paper: #ffffff;

	--brand: #d3261c;
	--brand-dark: #a91d14;

	--vision: #f0a030;
	--vision-deep: #7a4100;
	--vision-tint: #fff4e2;
	--vision-tint-2: #fde6bf;

	--hearing: #1d5fc2;
	--hearing-deep: #0e3474;
	--hearing-tint: #eaf1fc;
	--hearing-tint-2: #d3e2f8;
	--hearing-night: #0f2f72;

	--wa: #0b7a3e;

	--display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 76px;
	--strip-h: 92px;
	--r-sm: 10px;
	--r-md: 18px;
	--r-lg: 28px;
	--shadow: 0 1px 2px rgb(22 32 58 / 6%), 0 12px 32px -12px rgb(22 32 58 / 22%);
}

/* Base ------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 1.125rem/1.6 var(--body);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
p + p { margin-top: 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
address { font-style: normal; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip {
	position: absolute; left: 16px; top: -100px; z-index: 100;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Buttons ---------------------------------------------------------------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	padding: 0.72em 1.2em;
	border: 2px solid transparent; border-radius: var(--r-sm);
	font: 700 1rem/1.2 var(--body);
	text-decoration: none; cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn--lg { padding: 0.9em 1.45em; font-size: 1.0625rem; }

.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-dark); }

.btn--vision { background: var(--vision); color: var(--ink); }
.btn--vision:hover { background: #e08d14; }

.btn--hearing { background: var(--hearing); color: #fff; }
.btn--hearing:hover { background: var(--hearing-deep); }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #0a1124; }

.btn--white { background: #fff; color: var(--hearing-night); }
.btn--white:hover { background: var(--hearing-tint); }

.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #0c6f39; }

.btn--wa-outline { border-color: var(--wa); color: var(--wa); background: transparent; }
.btn--wa-outline:hover { background: #e8f6ee; }

.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--mist); }

.link-quiet { font-weight: 700; text-decoration: underline; text-decoration-color: currentColor; }

/* Header ----------------------------------------------------------------- */

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgb(255 255 255 / 94%);
	backdrop-filter: saturate(1.5) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s, box-shadow 0.2s;
}
/* Signature stripe: the two colours of the business, meeting on a slant. */
.site-header::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
	background: linear-gradient(100deg, var(--vision) 0 49.4%, var(--hearing) 50.6% 100%);
}
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 10px 30px -22px rgb(22 32 58 / 55%); }

.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); padding-top: 4px; }

.brand { display: block; flex: none; }
.brand__img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }

/* Pill-shaped track holding the menu. */
.nav__list {
	display: flex; align-items: center; gap: 2px;
	padding: 5px; border-radius: 999px;
	background: var(--mist); box-shadow: inset 0 0 0 1px var(--line);
}
.nav__item { position: relative; }
.nav__link {
	display: flex; align-items: center; gap: 8px;
	padding: 9px 15px; border-radius: 999px;
	font-weight: 700; font-size: 0.9688rem; color: var(--ink-2); text-decoration: none;
	transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.nav__link:hover,
.has-mega:hover > .nav__link,
.has-mega:focus-within > .nav__link { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -3px rgb(22 32 58 / 25%); }

.nav__dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.nav__item--vision .nav__dot { background: var(--vision); box-shadow: 0 0 0 3px rgb(240 160 48 / 22%); }
.nav__item--hearing .nav__dot { background: var(--hearing); box-shadow: 0 0 0 3px rgb(29 95 194 / 18%); }
.nav__chev { width: 12px; height: 12px; opacity: 0.6; transition: transform 0.25s; }
.has-mega:hover .nav__chev,
.has-mega:focus-within .nav__chev { transform: rotate(180deg); }

/* Dropdown panel. */
.mega {
	position: absolute; top: calc(100% + 14px); left: 50%; z-index: 60;
	display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px;
	width: 640px; padding: 10px;
	background: #fff; border-radius: 22px;
	box-shadow: 0 0 0 1px var(--line), 0 30px 60px -24px rgb(22 32 58 / 45%);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
	transition: opacity 0.2s, transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s 0.25s;
}
/* Invisible bridge so the pointer can travel from the link to the panel. */
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-mega:hover .mega,
.has-mega:focus-within .mega {
	opacity: 1; visibility: visible; transform: translate(-50%, 0);
	transition: opacity 0.2s, transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.mega__links { display: grid; gap: 2px; }
.mega__links a {
	display: flex; gap: 14px; align-items: center;
	padding: 11px 12px; border-radius: 14px; text-decoration: none;
	transition: background-color 0.15s;
}
.mega__links .icon {
	width: 40px; height: 40px; padding: 9px; border-radius: 12px; flex: none;
}
.mega--vision .mega__links .icon { background: var(--vision-tint); color: var(--vision-deep); }
.mega--hearing .mega__links .icon { background: var(--hearing-tint); color: var(--hearing); }
.mega--vision .mega__links a:hover { background: var(--vision-tint); }
.mega--hearing .mega__links a:hover { background: var(--hearing-tint); }
.mega__links strong { display: block; font: 700 1rem/1.25 var(--display); color: var(--ink); }
.mega__links span { font-size: 0.875rem; color: var(--ink-3); line-height: 1.35; }

.mega__promo {
	display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
	padding: 22px; border-radius: 16px; font-size: 0.9375rem;
	position: relative; overflow: hidden;
}
.mega__promo::before {
	content: ""; position: absolute; right: -40px; top: -40px;
	width: 150px; height: 150px; border-radius: 50%;
	border: 18px solid currentColor; opacity: 0.12;
}
.mega--vision .mega__promo { background: var(--vision); color: var(--ink); }
.mega--hearing .mega__promo { background: var(--hearing-night); color: #fff; }
.mega--hearing .mega__promo p:not(.mega__promo-title) { color: #cfdcf5; }
.mega__promo-title { font: 800 1.5rem/1.05 var(--display); letter-spacing: -0.02em; }
.mega__promo .btn { margin-top: 8px; align-self: flex-start; font-size: 0.9375rem; padding: 0.65em 1em; }

/* Contact group. */
.nav__contact { display: flex; align-items: center; gap: 10px; }
.nav__phone { display: flex; align-items: center; gap: 10px; padding-right: 6px; text-decoration: none; font-weight: 700; color: var(--ink); line-height: 1.15; }
.nav__cols { display: flex; gap: 18px; }
.nav__num { display: block; font-weight: 700; color: inherit; text-decoration: none; font-size: 0.86rem; line-height: 1.3; }
.nav__num em { font-style: normal; font-weight: 500; color: var(--ink-3); font-size: 0.75rem; display: block; }
.nav__num:hover { text-decoration: underline; }
.nav__phone small { display: block; font-size: 0.75rem; font-weight: 500; color: var(--ink-3); }
.nav__phone-icon {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: #fdeceb; color: var(--brand);
}
.nav__phone-icon .icon { width: 20px; height: 20px; }
.nav__wa {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	width: 44px; height: 44px; border-radius: 50%;
	background: #e8f6ee; color: var(--wa); text-decoration: none; font-weight: 700;
	transition: background-color 0.15s, color 0.15s;
}
.nav__wa:hover { background: var(--wa); color: #fff; }
.nav__wa .icon { width: 22px; height: 22px; }
.nav__wa-label { display: none; }
.nav__book { border-radius: 999px; padding: 0.7em 1.25em; }

.nav-toggle {
	display: none; margin-left: auto;
	width: 48px; height: 48px; border: 0; border-radius: 50%;
	background: var(--mist); color: var(--ink); cursor: pointer;
	align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

/* Hero ------------------------------------------------------------------- */

/* --split: where the diagonal crosses the middle. Registered so it can animate. */
@property --split {
	syntax: "<percentage>";
	inherits: true;
	initial-value: 50%;
}

.hero {
	--split: 50%;
	--slant: 5.5%;
	--pad-x: clamp(24px, 5vw, 80px);
	--gap-x: clamp(28px, 3.5vw, 56px);
	position: relative;
	display: grid; grid-template: 1fr / 1fr;
	height: clamp(600px, calc(100svh - var(--header-h) - var(--strip-h)), 760px);
	background: var(--hearing-night);
	overflow: hidden;
	transition: --split 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (hover: hover) {
	.hero:has(.hero__half--vision:hover) { --split: 55%; }
	.hero:has(.hero__half--hearing:hover) { --split: 45%; }
}

.hero__half {
	grid-area: 1 / 1;
	position: relative; min-width: 0;
	display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
	padding-block: clamp(32px, 4.5vh, 56px) clamp(18px, 2.5vh, 28px);
}

/* Vision is wider at the top, hearing is wider at the bottom. */
.hero__half--vision {
	z-index: 1;
	background: var(--vision); color: var(--ink);
	clip-path: polygon(0 0, calc(var(--split) + var(--slant)) 0, calc(var(--split) - var(--slant)) 100%, 0 100%);
	padding-left: var(--pad-x);
	padding-right: calc(100% - var(--split) + var(--slant) + var(--gap-x));
}
.hero__half--hearing {
	color: #fff;
	padding-left: calc(var(--split) + var(--slant) + var(--gap-x));
	padding-right: var(--pad-x);
	align-items: flex-end;
}
.hero__half--hearing .hero__copy { text-align: right; }
.hero__half--hearing .hero__kicker,
.hero__half--hearing .hero__actions { justify-content: flex-end; }
.hero__half--hearing .hero__lede { margin-left: auto; }

.hero__copy { max-width: 31rem; }

.hero__kicker { display: flex; align-items: center; gap: 0.5em; font-weight: 700; font-size: 1rem; }
.hero__kicker .icon { width: 1.5em; height: 1.5em; }
.hero__half--hearing .hero__kicker { color: #a9c4f5; }

.hero__title {
	margin: 0.28em 0 0.34em;
	font-size: clamp(2.4rem, 4.2vw, 3.9rem);
	font-weight: 800; line-height: 0.95; letter-spacing: -0.035em;
}
.hero__lede { font-size: 1.125rem; max-width: 28rem; }
.hero__half--vision .hero__lede { color: #3b2c12; }
.hero__half--hearing .hero__lede { color: #cfdcf5; }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; }
.hero__half--vision .link-quiet { color: var(--ink); }
.hero__half--hearing .link-quiet { color: #fff; }

.hero__hint { font-size: 0.8125rem; font-weight: 500; opacity: 0.85; }
.hero__half--vision .hero__hint { align-self: flex-start; }
@media (hover: none) { .hero__hint { display: none; } }

/*
 * Lens: a round window over a blurred/muffled base. JS moves the window one way
 * and its contents the other, using transforms only, so the effect costs no
 * layout or repaint per frame.
 */
.lensview {
	--r: 66px;
	position: relative; flex: none;
	width: min(100%, 420px); height: clamp(170px, 24vh, 230px);
	touch-action: pan-y;
}
@media (hover: hover) and (pointer: fine) { .lensview { cursor: none; } }

.lensview__layer { position: absolute; inset: 0; }
/* The blur shows "out of focus"; opacity stays high enough to pass text contrast checks. */
.lensview__layer--base { filter: blur(5px); opacity: 0.8; }

.lensview__window {
	position: absolute; left: 0; top: 0;
	width: calc(var(--r) * 2); height: calc(var(--r) * 2);
	border-radius: 50%; overflow: hidden;
	will-change: transform;
}
.lensview__window .lensview__layer--sharp {
	inset: auto; left: 0; top: 0;
	width: var(--lw, 420px); height: var(--lh, 230px);
	max-width: none; /* the global svg max-width would squeeze it to the window */
	will-change: transform;
}
.lensview:not(.is-ready) .lensview__window,
.lensview:not(.is-ready) .lensview__ring { visibility: hidden; }

.lensview__ring {
	position: absolute; left: 0; top: 0;
	width: calc(var(--r) * 2); height: calc(var(--r) * 2);
	border-radius: 50%; pointer-events: none;
	will-change: transform;
}
/* Eye-shaped lens: an almond window with an iris ring, so it reads as an eye, not spectacles. */
.lensview--eye .lensview__window {
	border-radius: 0;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 132'%3E%3Cpath d='M4 66Q66 -30 128 66Q66 162 4 66Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 132'%3E%3Cpath d='M4 66Q66 -30 128 66Q66 162 4 66Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.lensview--eye .lensview__ring {
	border-radius: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 132' fill='none' stroke='%2316203a' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M4 66Q66 -30 128 66Q66 162 4 66Z' stroke-width='6'/%3E%3Cpath d='M4 66Q66 -30 128 66Q66 162 4 66Z' stroke='%23fff' stroke-opacity='.45' stroke-width='2' transform='translate(66 66) scale(.95) translate(-66 -66)'/%3E%3Ccircle cx='66' cy='66' r='30' stroke-width='2.5' stroke-opacity='.5'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	filter: drop-shadow(0 12px 14px rgb(22 32 58 / 40%));
}
.lensview--ear .lensview__window {
	border-radius: 0;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 132'%3E%3Cpath d='M70 124C56 124 50 114 50 104C50 96 54 92 58 86C44 80 36 66 36 52C36 28 52 10 74 10C96 10 108 28 108 46C108 62 98 70 92 78C86 86 86 94 84 102C82 114 78 124 70 124Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 132'%3E%3Cpath d='M70 124C56 124 50 114 50 104C50 96 54 92 58 86C44 80 36 66 36 52C36 28 52 10 74 10C96 10 108 28 108 46C108 62 98 70 92 78C86 86 86 94 84 102C82 114 78 124 70 124Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.lensview--ear .lensview__ring {
	border-radius: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 132 132' fill='none' stroke='%23fff' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M70 124C56 124 50 114 50 104C50 96 54 92 58 86C44 80 36 66 36 52C36 28 52 10 74 10C96 10 108 28 108 46C108 62 98 70 92 78C86 86 86 94 84 102C82 114 78 124 70 124Z' fill='%23fff' fill-opacity='.07' stroke-width='5'/%3E%3Cpath d='M62 56C60 40 70 30 80 32C90 34 94 46 88 56C84 64 76 68 76 78M70 84C66 82 64 86 66 90' stroke-width='3' stroke-opacity='.7'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	filter: drop-shadow(0 12px 14px rgb(0 0 0 / 45%));
}

.chart-svg { width: 100%; height: 100%; overflow: visible; user-select: none; }
.chart-svg text { font-family: var(--display); font-weight: 700; fill: var(--ink); }
.chart-svg__rule { stroke: var(--brand); stroke-width: 2; }

.wave { width: 100%; height: 100%; overflow: visible; }
.wave path { fill: none; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.wave__axis { stroke: rgb(255 255 255 / 22%); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lensview__layer--base.wave path { stroke: #9fb6e6; stroke-width: 3; }
.lensview__layer--sharp.wave path { stroke: var(--vision); stroke-width: 2.5; }
.lensview--ear .lensview__layer--base { filter: blur(1.5px); opacity: 0.8; }

/* Logo mark sits where the diagonal crosses the middle. */
.hero__seam {
	position: absolute; left: var(--split); top: 50%; z-index: 2;
	display: grid; place-items: center;
	width: 184px; height: 184px; margin: -92px 0 0 -92px;
	border-radius: 50%; background: #fff;
	box-shadow: 0 0 0 12px rgb(255 255 255 / 30%), 0 24px 56px -16px rgb(0 0 0 / 45%);
}
.hero__seam img { height: 140px; width: auto; }

/* Promises strip --------------------------------------------------------- */

.promises { background: var(--ink); color: #fff; }
.promises__list {
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
	min-height: var(--strip-h); align-items: center;
	padding-block: 14px;
}
.promises__item { display: flex; gap: 12px; align-items: flex-start; padding: 6px 18px; }
.promises__item + .promises__item { border-left: 1px solid rgb(255 255 255 / 14%); }
.promises__item .icon { width: 28px; height: 28px; color: var(--vision); margin-top: 2px; }
.promises__item:nth-child(2) .icon,
.promises__item:nth-child(3) .icon,
.promises__item:nth-child(5) .icon { color: #7fb0ff; }
.promises__item p { font-size: 0.9375rem; line-height: 1.4; }
.promises__item strong { display: block; font-size: 1rem; }
.promises__item span { color: #b8c0d4; }

/* Sections --------------------------------------------------------------- */

.section { padding-block: clamp(64px, 9vw, 120px); }

.section__head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__kicker { display: flex; align-items: center; gap: 0.5em; margin-bottom: 14px; font-weight: 700; }
.section__kicker .icon { width: 1.5em; height: 1.5em; }
.section__title { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 800; letter-spacing: -0.025em; }
.section__lede { margin-top: 18px; font-size: 1.1875rem; color: var(--ink-2); max-width: 40rem; }
.section__head--center .section__lede { margin-inline: auto; }

/* Twin sections: eye care (heading left) mirrored by hearing care (heading right) */

.twin { padding-block: clamp(64px, 7vw, 100px); }
.twin--vision { background: var(--paper); }
.twin--hearing { background: var(--vision-tint); color: #0b2a5e; }

.twin__grid {
	display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(40px, 6vw, 104px); align-items: start;
}
.twin--hearing .twin__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.twin--hearing .twin__head { order: 2; }

/* The head cell must span the full row height, or the sticky child has no room to travel. */
.twin__head { align-self: stretch; }
.twin__sticky { position: sticky; top: calc(var(--header-h) + 40px); }

.twin--vision .section__kicker { color: var(--vision-deep); }
.twin--hearing .section__kicker { color: #0e3474; }

.twin__title { font-size: clamp(2.3rem, 4.2vw, 3.9rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.twin__lede { margin-top: 20px; font-size: 1.1875rem; color: var(--ink-2); max-width: 30rem; }
.twin--hearing .twin__lede { color: #1b3d73; }

.twin__index { margin: 36px 0; border-top: 1px solid var(--line); }
.twin__index a {
	display: flex; align-items: center; gap: 0;
	padding: 13px 0; border-bottom: 1px solid var(--line);
	font: 700 1.125rem/1.3 var(--display); color: var(--ink-3); text-decoration: none;
	transition: color 0.2s, gap 0.3s;
}
.twin__index a::before {
	content: ""; width: 0; height: 3px; border-radius: 2px;
	background: var(--vision); transition: width 0.3s;
}
.twin__index a:hover,
.twin__index a.is-active { color: var(--ink); gap: 14px; }
.twin__index a:hover::before,
.twin__index a.is-active::before { width: 26px; }

.twin--hearing .twin__index { border-color: rgb(11 42 94 / 22%); }
.twin--hearing .twin__index a { color: #2a4f86; border-color: rgb(11 42 94 / 22%); }
.twin--hearing .twin__index a::before { background: #1d5fc2; }
.twin--hearing .twin__index a:hover,
.twin--hearing .twin__index a.is-active { color: #0b2a5e; }

.twin__panels { display: grid; gap: clamp(36px, 4vw, 56px); }

.panel { scroll-margin-top: calc(var(--header-h) + 32px); }
.panel__media { border-radius: var(--r-lg); overflow: hidden; background: var(--vision-tint); }
.panel__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.panel__media--contain { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: clamp(20px, 4vw, 48px); background: #eef1f5; }
.panel__media--contain img { aspect-ratio: auto; width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.panel__media--white { background: #fff; }

.panel__text {
	display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
	gap: 8px 28px; margin-top: 20px; align-items: start;
}
.panel__text h3 { font-size: clamp(1.55rem, 2.3vw, 2.05rem); font-weight: 800; letter-spacing: -0.02em; }
.panel__text p { color: var(--ink-2); }

#eye-tests .panel__media img { object-position: 60% 50%; }
.panel__credit { grid-column: 1 / -1; font-size: 0.75rem; color: var(--ink-2); opacity: 0.75; margin-top: 8px; }
.panel__credit a { text-decoration: underline; }
#blue-cut .panel__media img { object-position: 50% 50%; }
#lenses .panel__media img { object-position: 50% 22%; }
#kids .panel__media img { object-position: 50% 18%; }
#frames .panel__media img { object-position: 60% 50%; }

.twin--hearing .panel__media { background: #fff; }
/* Match each product shot's own backdrop so the photo edge disappears. */
.twin--hearing #hearing-styles .panel__media { background: #e8e9eb; padding-inline: 0; }
.twin--hearing #hearing-styles .panel__media img { width: 100%; }
.twin--hearing #hearing-fit .panel__media { background: #fff; padding-block: 0; }
.twin--hearing .panel__text p { color: #1b3d73; }
.twin--hearing .panel--care h3 { color: #fff; }
.twin--hearing .styles-row li { color: #1b3d73; }
.twin--hearing .styles-row strong { color: #0b2a5e; }
#hearing-test .panel__media img { object-position: 50% 28%; }

.styles-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.styles-row li { display: flex; align-items: center; gap: 12px; font-size: 0.9375rem; color: #9fb5e0; }
.styles-row img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.styles-row strong { display: block; color: #fff; font-size: 1rem; }

.panel--care .panel__text { display: block; margin: 0; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: #173f92; }
.panel--care h3 { margin-bottom: 26px; }
.care-list { display: grid; gap: 22px; }
.care-list li { display: flex; gap: 16px; align-items: flex-start; color: #c4d2f0; }
.care-list .icon { width: 30px; height: 30px; color: var(--vision); margin-top: 2px; }
.care-list strong { display: block; color: #fff; font: 700 1.2rem/1.3 var(--display); margin-bottom: 2px; }

/* Below-the-fold sections skip layout and paint until they are near the viewport. */
.twin, .tryon, .listen, .section, .brands {
	content-visibility: auto;
	contain-intrinsic-size: auto 900px;
}

/* Slanted section edges, echoing the hero diagonal ------------------------ */

:root { --cut: min(5vw, 64px); }

.tryon,
.twin--hearing,
.listen,
.site-footer { position: relative; margin-top: calc(-1 * var(--cut)); }
.tryon { clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); }
.twin--hearing { clip-path: polygon(0 0, 100% var(--cut), 100% 100%, 0 100%); padding-top: calc(clamp(64px, 7vw, 100px) + var(--cut)); }
.listen { clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); }
.site-footer { clip-path: polygon(0 0, 100% var(--cut), 100% 100%, 0 100%); }

/* Virtual try-on ---------------------------------------------------------- */

.tryon {
	padding-block: calc(clamp(64px, 7vw, 100px) + var(--cut)) clamp(64px, 7vw, 100px);
	background: var(--vision-tint);
}
.tryon .section__kicker { color: var(--vision-deep); }

.tryon__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(36px, 5vw, 80px); align-items: center; }

.tryon__title { font-size: clamp(2.3rem, 4.2vw, 3.9rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.tryon__lede { margin-top: 18px; font-size: 1.1875rem; color: var(--ink-2); max-width: 30rem; }

.tryon__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tryon__pick { position: relative; overflow: hidden; }
.tryon__pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.tryon__pick:focus-within { outline: 3px solid var(--brand); outline-offset: 3px; }
.tryon .btn--ghost { background: #fff; }

.tryon__privacy { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; font-weight: 700; font-size: 0.9375rem; color: var(--vision-deep); }
.tryon__privacy .icon { margin-top: 1px; }
.tryon__tip { margin-top: 8px; font-size: 0.9375rem; color: var(--ink-2); }

.tryon__studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 24px; align-items: center; }

.tryon__stage {
	position: relative; aspect-ratio: 4 / 5;
	border-radius: var(--r-lg); overflow: hidden;
	background: #fbe3b8;
	box-shadow: 0 30px 60px -30px rgb(122 65 0 / 45%), 0 0 0 8px #fff;
}
.tryon__canvas { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.3s; }
.tryon.is-busy .tryon__canvas { opacity: 0.45; }
.tryon__status {
	position: absolute; left: 14px; right: 14px; bottom: 14px;
	padding: 12px 14px; border-radius: var(--r-sm);
	background: rgb(255 255 255 / 95%); font-size: 0.9375rem; font-weight: 700; color: var(--ink);
}
.tryon__status[data-tone="error"] { color: var(--brand-dark); }
.tryon__status[hidden] { display: none; }

.tryon__controls { display: grid; gap: 22px; }
.tryon__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.tryon__group legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 1rem; }

.tryon__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tryon__chip input, .tryon__swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tryon__chip span {
	display: inline-block; padding: 9px 15px; border-radius: 999px;
	background: #fff; border: 1.5px solid #ead2a8;
	font-weight: 700; font-size: 0.9375rem; cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.tryon__chip span:hover { border-color: var(--vision-deep); }
.tryon__chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.tryon__chip input:focus-visible + span,
.tryon__swatch input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }

.tryon__swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.tryon__swatch > span {
	display: block; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
	background: var(--sw); box-shadow: inset 0 0 0 2px rgb(0 0 0 / 12%), 0 0 0 3px #fff;
	transition: box-shadow 0.15s;
}
.tryon__swatch input[value="tortoise"] + span { background: radial-gradient(circle at 30% 30%, #c98d45 0 18%, transparent 19%), radial-gradient(circle at 70% 60%, #2a160a 0 22%, transparent 23%), #7a4a22; }
.tryon__swatch input[value="gold"] + span { background: linear-gradient(160deg, #f3dc96, #b98e33 55%, #e7c66e); }
.tryon__swatch input:checked + span { box-shadow: inset 0 0 0 2px rgb(0 0 0 / 12%), 0 0 0 3px #fff, 0 0 0 6px var(--ink); }

.tryon__after { display: flex; flex-wrap: wrap; gap: 10px; }
.tryon__after [hidden] { display: none; }

/* Hear the difference ----------------------------------------------------- */

.listen {
	padding-block: calc(clamp(64px, 7vw, 100px) + var(--cut)) clamp(64px, 7vw, 100px);
	background: var(--hearing-tint);
}
.listen .section__kicker { color: var(--hearing); }
.listen__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.listen__title { font-size: clamp(2.3rem, 4.2vw, 3.9rem); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.listen__lede { margin: 18px 0 28px; font-size: 1.1875rem; color: var(--ink-2); max-width: 30rem; }

.player {
	padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg);
	background: #fff; box-shadow: 0 30px 60px -30px rgb(14 52 116 / 40%);
}
.player__viz { width: 100%; height: auto; aspect-ratio: 720 / 220; }
.player__row { display: flex; align-items: center; gap: 18px; margin-top: 22px; flex-wrap: wrap; }

.player__play {
	display: grid; place-items: center; flex: none;
	width: 76px; height: 76px; border: 0; border-radius: 50%;
	background: var(--hearing); color: #fff; cursor: pointer;
	box-shadow: 0 0 0 8px var(--hearing-tint);
	transition: background-color 0.15s, transform 0.15s;
}
.player__play:hover { background: var(--hearing-deep); }
.player__play:active { transform: scale(0.96); }
.player__icon .icon { width: 30px; height: 30px; }
.player__icon--pause { display: none; }
.player.is-playing .player__icon--play { display: none; }
.player.is-playing .player__icon--pause { display: block; }
.player.is-playing .player__play { animation: pulse 1.6s ease-out infinite; }
@keyframes pulse {
	0% { box-shadow: 0 0 0 8px var(--hearing-tint), 0 0 0 8px rgb(29 95 194 / 35%); }
	100% { box-shadow: 0 0 0 8px var(--hearing-tint), 0 0 0 26px rgb(29 95 194 / 0%); }
}

.player__switch {
	flex: 1 1 18rem; display: grid; grid-template-columns: 1fr 1fr;
	padding: 5px; border-radius: 999px; background: var(--mist);
	box-shadow: inset 0 0 0 1px var(--line);
}
.player__switch button {
	padding: 12px 14px; border: 0; border-radius: 999px; background: none;
	font: 700 0.9688rem/1.2 var(--body); color: var(--ink-2); cursor: pointer;
	transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.player__switch button[aria-checked="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -3px rgb(22 32 58 / 30%); }
.player[data-mode="with"] .player__switch button[aria-checked="true"] { background: var(--vision); }

.player__note { display: flex; gap: 10px; margin-top: 18px; font-size: 0.875rem; color: var(--ink-3); }
.player__note .icon { flex: none; margin-top: 1px; }

@media (max-width: 1100px) {
	.tryon__grid, .listen__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.tryon__studio { grid-template-columns: 1fr; }
	.tryon__stage { max-width: 420px; width: 100%; justify-self: center; }
	.player__row { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.player.is-playing .player__play { animation: none; }
}

/* Self-check ------------------------------------------------------------- */

.signs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.signs__card {
	display: flex; flex-direction: column;
	margin: 0; padding: 28px 28px 24px; min-width: 0;
	border: 2px solid var(--line); border-radius: var(--r-md);
	transition: border-color 0.2s;
}
.signs__card legend {
	display: flex; align-items: center; gap: 10px;
	float: left; width: 100%; margin-bottom: 18px; padding: 0;
	font: 700 1.5rem/1.2 var(--display);
}
.signs__card legend + * { clear: both; }
.signs__card--vision legend .icon { color: var(--vision-deep); }
.signs__card--hearing legend .icon { color: var(--hearing); }
.signs__card legend .icon { width: 1.3em; height: 1.3em; }

.signs__item {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 12px 10px; margin-inline: -10px; border-radius: var(--r-sm);
	cursor: pointer;
}
.signs__item:hover { background: var(--mist); }
.signs__item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.signs__box {
	display: grid; place-items: center; flex: none;
	width: 26px; height: 26px; margin-top: 1px;
	border: 2px solid #aab2c5; border-radius: 7px; background: #fff;
	transition: background-color 0.12s, border-color 0.12s;
}
.signs__box .icon { width: 18px; height: 18px; stroke-width: 3; opacity: 0; color: #fff; }
.signs__item input:checked + .signs__box .icon { opacity: 1; }
.signs__card--vision input:checked + .signs__box { background: var(--vision-deep); border-color: var(--vision-deep); }
.signs__card--hearing input:checked + .signs__box { background: var(--hearing); border-color: var(--hearing); }
.signs__item input:focus-visible + .signs__box { outline: 3px solid var(--brand); outline-offset: 2px; }

.signs__result {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	margin-top: auto; padding-top: 20px; border-top: 1px dashed var(--line);
}
.signs__result { margin-top: 16px; }
.signs__msg { flex: 1 1 14rem; color: var(--ink-2); font-size: 1rem; }
.signs__card.has-many.signs__card--vision { border-color: var(--vision); }
.signs__card.has-many.signs__card--hearing { border-color: var(--hearing); }
.signs__card.has-many .signs__msg { color: var(--ink); font-weight: 700; }

/* Steps ------------------------------------------------------------------ */

.section--steps { background: var(--mist); }
.section--steps .section__title { margin-bottom: clamp(32px, 4vw, 52px); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps__item { counter-increment: step; position: relative; padding-top: 72px; }
.steps__item::before {
	content: counter(step);
	position: absolute; top: 0; left: 0;
	display: grid; place-items: center;
	width: 52px; height: 52px; border-radius: 50%;
	background: var(--ink); color: #fff;
	font: 800 1.5rem/1 var(--display);
}
.steps__item:not(:last-child)::after {
	content: ""; position: absolute; top: 26px; left: 64px; right: -12px;
	border-top: 2px dashed #b6bfd1;
}
.steps__item h3 { font-size: 1.35rem; margin-bottom: 8px; }
.steps__item p { color: var(--ink-2); font-size: 1.0625rem; }

/* Brands ----------------------------------------------------------------- */

.brands { padding-block: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line); overflow: hidden; }
.brands__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 28px; }
.brands__title { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.brands__also { color: var(--ink-2); font-size: 1rem; }

/* Logo strip: two copies of the list scroll left; edges fade out. */
.marquee {
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
	display: flex; align-items: center; gap: clamp(40px, 5vw, 72px);
	width: max-content; padding-block: 8px;
	animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { flex: none; }
.marquee__track img {
	display: block; max-width: none;
	filter: grayscale(1); opacity: 0.62;
	transition: filter 0.25s, opacity 0.25s;
}
.marquee__track li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - clamp(40px, 5vw, 72px) / 2)); } }

/* Reviews ---------------------------------------------------------------- */

.reviews { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 20px; margin-top: clamp(32px, 4vw, 52px); }
.review { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 30px; border-radius: var(--r-md); background: var(--mist); }
.review blockquote p { font-size: 1.0625rem; color: var(--ink-2); }
.review blockquote p::before { content: "\201C"; }
.review blockquote p::after { content: "\201D"; }
.review figcaption strong { display: block; font: 700 1.125rem/1.2 var(--display); }
.review figcaption span { font-size: 0.9375rem; color: var(--hearing); font-weight: 700; }

.review--lead { grid-row: span 2; background: var(--ink); color: #fff; padding: clamp(32px, 4vw, 52px); }
.review--lead blockquote p { font: 500 clamp(1.4rem, 2.2vw, 1.9rem)/1.35 var(--display); color: #fff; letter-spacing: -0.01em; }
.review--lead blockquote p::before {
	content: "\201C"; display: block; margin-bottom: 0.1em;
	font-size: 4em; line-height: 0.6; color: var(--brand);
}
.review--lead figcaption span { color: #9cc0ff; }

/* FAQ -------------------------------------------------------------------- */

.section--faq { border-top: 1px solid var(--line); }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: clamp(28px, 4vw, 44px); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 20px 0; cursor: pointer; list-style: none;
	font: 700 1.1875rem/1.3 var(--display); color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--hearing); }
.faq__toggle { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mist); }
.faq__toggle::before,
.faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; transition: transform 0.2s; }
.faq__toggle::after { transform: rotate(90deg); }
.faq__item[open] .faq__toggle { background: var(--vision); }
.faq__item[open] .faq__toggle::after { transform: rotate(0deg); }
.faq__item p { padding: 0 44px 22px 0; color: var(--ink-2); }

/* Visit & booking -------------------------------------------------------- */

.section--visit { background: var(--mist); }
.visit { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: start; }

.contact-list { display: grid; gap: 18px; margin: 32px 0; }
.contact-list li { display: flex; gap: 14px; }
.contact-list .icon { width: 26px; height: 26px; color: var(--brand); margin-top: 2px; }
.contact-list a { font-weight: 700; }

.visit__map { border-radius: var(--r-md); overflow: hidden; background: var(--line); }
.visit__map iframe { width: 100%; height: 300px; border: 0; }
.visit__tabs { display: flex; gap: 10px; margin-bottom: 12px; }
.visit__tab { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
.visit__tab .icon { width: 18px; height: 18px; color: var(--brand); }
.visit__tab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.visit__tab[aria-pressed="true"] .icon { color: #fff; }
.visit__map iframe[hidden] { display: none; }

/* Zoom the map card (address and reviews) when the pointer is over it. */
.visit__map { position: relative; transition: transform .35s ease, box-shadow .35s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.visit__map:hover,
	.visit__map:focus-within { transform: scale(1.12); box-shadow: 0 24px 60px rgb(11 42 94 / 28%); z-index: 5; }
}

.booking { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.booking__title { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.booking__lede { margin: 8px 0 24px; color: var(--ink-2); }

.booking__form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; margin: 0; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 1rem; padding: 0; }
.field__opt { font-weight: 400; color: var(--ink-3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field input,
.field textarea {
	width: 100%; padding: 13px 14px;
	border: 1.5px solid #c5ccda; border-radius: var(--r-sm);
	background: #fff; color: var(--ink);
	font: 400 1.0625rem/1.4 var(--body);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(22 32 58 / 12%); }
.field input::placeholder, .field textarea::placeholder { color: #98a0b4; }

.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
	display: inline-block; padding: 9px 14px;
	border: 1.5px solid #c5ccda; border-radius: 999px;
	font-size: 0.9375rem; font-weight: 500; cursor: pointer;
	transition: background-color 0.12s, border-color 0.12s;
}
.choice span:hover { border-color: var(--ink-2); }
.choice--vision input:checked + span { background: var(--vision-tint-2); border-color: var(--vision-deep); color: var(--vision-deep); font-weight: 700; }
.choice--hearing input:checked + span { background: var(--hearing-tint-2); border-color: var(--hearing); color: var(--hearing-deep); font-weight: 700; }
.choice input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }

.booking__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.hp { position: absolute; left: -9999px; }

.notice { padding: 14px 16px; border-radius: var(--r-sm); margin-bottom: 18px; font-weight: 500; }
.notice--ok { background: #e6f5ec; color: #0c5a30; }
.notice--error { background: #fdeceb; color: var(--brand-dark); }

/* Footer ----------------------------------------------------------------- */

.site-footer { background: var(--ink); color: #c4cbdc; font-size: 1rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-block: calc(64px + var(--cut)) 40px; }
.site-footer__name { font: 700 1.375rem/1.2 var(--display); color: #fff; margin-bottom: 10px; }
.site-footer__head { font-weight: 700; color: #fff; margin-bottom: 12px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: #e3e7f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__social { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; }
.site-footer address { margin-bottom: 10px; }
.site-footer__base { padding-block: 20px 28px; border-top: 1px solid rgb(255 255 255 / 12%); font-size: 0.875rem; color: #8e97ae; }

.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 40;
	display: grid; place-items: center;
	width: 60px; height: 60px; border-radius: 50%;
	background: #1fa855; color: #fff;
	box-shadow: 0 10px 24px -8px rgb(18 140 74 / 60%);
	opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.9);
	transition: opacity 0.25s, transform 0.25s, visibility 0s 0.25s;
}
/* Shown once the visitor scrolls past the first screen (header has WhatsApp until then). */
.show-float .wa-float { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s, transform 0.25s; }
.wa-float .icon { width: 32px; height: 32px; }
.wa-float:hover { background: var(--wa); }

/* Inner pages ------------------------------------------------------------ */

.page-content { padding-block: clamp(48px, 7vw, 96px); max-width: 52rem; }
.page__title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 24px; }
.page__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.prose > * + * { margin-top: 1em; }

/* Service and info pages -------------------------------------------------------------- */

.nav__link[aria-current="page"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -3px rgb(22 32 58 / 25%); }

/* Page header: coloured band with the diagonal cut, lens art on the right. */
.phero {
	--cut: min(5vw, 64px);
	position: relative;
	padding: clamp(36px, 5vw, 64px) 0 calc(clamp(44px, 6vw, 80px) + var(--cut));
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}
.phero--vision { background: var(--vision); color: var(--ink); }
.phero--hearing { background: var(--hearing-night); color: #fff; }
.phero--plain {
	background:
		linear-gradient(100deg, transparent 0 62%, rgb(240 160 48 / 16%) 62% 81%, rgb(29 95 194 / 12%) 81% 100%),
		var(--mist);
}
.phero--compact { padding-bottom: calc(40px + var(--cut)); }

.phero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.phero--noart .phero__grid { grid-template-columns: minmax(0, 46rem); }
.phero__art { display: flex; justify-content: center; }
.phero__art .lensview { height: clamp(200px, 26vw, 280px); }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: 0.9375rem; font-weight: 500; }
.crumbs a { color: inherit; opacity: 0.85; }
.crumbs span[aria-hidden] { opacity: 0.5; }
.phero--hearing .crumbs, .phero--hearing .phero__kicker { color: #a9c4f5; }
.phero--vision .crumbs, .phero--vision .phero__kicker { color: #3b2c12; }
.phero--plain .crumbs { color: var(--ink-2); }

.phero__kicker { font-weight: 700; margin-bottom: 10px; }
.phero--plain .phero__kicker { color: var(--brand); }
.phero__title { font-size: clamp(2.3rem, 5vw, 4.2rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.035em; max-width: 16ch; }
.phero--noart .phero__title { max-width: 20ch; }
.phero__lede { margin-top: 18px; font-size: 1.1875rem; max-width: 34rem; }
.phero--vision .phero__lede { color: #3b2c12; }
.phero--hearing .phero__lede { color: #cfdcf5; }
.phero--plain .phero__lede { color: var(--ink-2); }
.phero__meta { margin-top: 12px; color: var(--ink-3); font-size: 0.9375rem; }
.phero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 26px; }
.phero--vision .link-quiet { color: var(--ink); }
.phero--hearing .link-quiet { color: #fff; }

/* Section backgrounds used on inner pages. */
.section--tint-vision { background: var(--vision-tint); }
.section--mist { background: var(--mist); }
.section--night { background: var(--hearing-night); color: #fff; }
.section--ivory { background: var(--vision-tint); color: #0b2a5e; }
.section--ivory .section__title { color: #0b2a5e; }
.section--ivory .section__lede { color: #1b3d73; }
.section--ivory .style-grid li { color: #fff; }
.section--ivory .styles-credit { text-align: center; margin: -22px auto 28px; }
.section--night .section__lede { color: #cfdcf5; }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

/* Text beside an image. */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--flip .split__media { order: -1; }
.split__text .section__lede { margin-bottom: 28px; }
.split__media { border-radius: var(--r-lg); overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media--portrait { max-width: 460px; justify-self: center; width: 100%; }
.split__media--portrait img { aspect-ratio: 4 / 5; object-position: 50% 25%; }
.split__media--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-radius: 0; overflow: visible; }
.split__media--duo img { aspect-ratio: 3 / 4; border-radius: var(--r-md); object-position: 50% 30%; }
.split__media--duo img:last-child { margin-top: 48px; }
.split__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Numbered steps (a real sequence). */
.numbered { display: grid; gap: 18px; counter-reset: n; }
.numbered li { counter-increment: n; position: relative; padding-left: 60px; }
.numbered li::before {
	content: counter(n); position: absolute; left: 0; top: -2px;
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	background: var(--vision); color: var(--ink); font: 800 1.2rem/1 var(--display);
}
.numbered--hearing li::before { background: var(--hearing); color: #fff; }
.numbered h3 { font-size: 1.2rem; margin-bottom: 4px; }
.numbered p { color: var(--ink-2); font-size: 1.0625rem; }

.minicards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.minicards li { padding: 18px; border-radius: var(--r-md); background: #fff; }
.minicards h3 { font-size: 1.15rem; margin-bottom: 4px; }
.minicards p { font-size: 0.9688rem; color: var(--ink-2); }

.ticks { display: grid; gap: 8px; margin: 14px 0 0; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 1rem; }
.ticks li::before {
	content: ""; position: absolute; left: 2px; top: 0.45em;
	width: 14px; height: 8px; border-left: 2.5px solid var(--vision-deep); border-bottom: 2.5px solid var(--vision-deep);
	transform: rotate(-45deg);
}
.ticks--lg { gap: 12px; margin-bottom: 28px; }
.ticks--lg li { font-size: 1.0625rem; }
.subhead--sm { font-size: 1.25rem; margin: 6px 0 4px; }

.lens-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lens-cards--four { grid-template-columns: repeat(2, 1fr); }
.lens-card { border-radius: var(--r-md); overflow: hidden; background: var(--mist); display: flex; flex-direction: column; }
.lens-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; }
.lens-card__body { padding: 22px 24px 26px; }
.lens-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.lens-card p { color: var(--ink-2); }

/* Hearing aid styles. */
.styles-banner { max-width: 620px; margin: 0 auto clamp(28px, 4vw, 44px); border-radius: var(--r-md); overflow: hidden; background: #e8e9eb; }
.styles-banner img { width: 100%; }
.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.style-grid li { padding: 24px; border-radius: var(--r-md); background: #173f92; }
.style-grid__code { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--vision); color: var(--ink); font: 800 0.875rem/1.2 var(--display); letter-spacing: 0.04em; }
.style-grid h3 { margin: 12px 0 6px; font-size: 1.3rem; }
.style-grid p { color: #c4d2f0; font-size: 1rem; }

.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.icon-grid .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--vision-tint); color: var(--vision-deep); margin-bottom: 14px; }
.icon-grid--hearing .icon,
.section--mist .icon-grid .icon:nth-child(1) { background: var(--hearing-tint); color: var(--hearing); }
.icon-grid h3 { font-size: 1.2rem; margin-bottom: 6px; }
.icon-grid p { color: var(--ink-2); font-size: 1rem; }

/* Contact page. */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { padding: 26px; border-radius: var(--r-md); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.contact-card h2 { font-size: 1.25rem; margin: 14px 0 8px; }
.contact-card p { color: var(--ink-2); margin-bottom: 8px; }
.contact-card p a { font-weight: 700; color: var(--ink); font-size: 1.125rem; }
.contact-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; }
.contact-card__icon .icon { width: 22px; height: 22px; }
.contact-card__icon--brand { background: #fdeceb; color: var(--brand); }
.contact-card__icon--wa { background: #e8f6ee; color: var(--wa); }
.contact-card__icon--vision { background: var(--vision-tint); color: var(--vision-deep); }
.contact-card__icon--hearing { background: var(--hearing-tint); color: var(--hearing); }

/* One checklist on its own (service pages). */
.signs--single { grid-template-columns: minmax(0, 40rem); justify-content: center; }

.twin__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.twin--hearing .twin__actions .link-quiet { color: #0b2a5e; }
.twin--vision .twin__actions .link-quiet { color: var(--vision-deep); }

.site-footer__hours { margin-bottom: 10px; color: #e3e7f0; font-weight: 700; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 18px; }

/* Long-form text (privacy policy). */
.page-content--prose { padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose a { color: var(--hearing); font-weight: 700; }
.prose--lede p { font-size: 1.125rem; }

@media (max-width: 1100px) {
	.phero__grid { grid-template-columns: 1fr; }
	.phero__art .lensview { height: 220px; }
	.contact-cards { grid-template-columns: 1fr 1fr; }
	.lens-cards, .style-grid, .icon-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.split, .split--flip { grid-template-columns: 1fr; }
	.split--flip .split__media { order: 0; }
	.lens-cards { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.minicards, .style-grid, .icon-grid, .contact-cards { grid-template-columns: 1fr; }
	.split__media--duo img:last-child { margin-top: 28px; }
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1320px) {
	.nav__phone > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.nav__phone { padding-right: 0; }
	.nav__link { padding: 9px 12px; }
}

@media (max-width: 1180px) {
	.promises__list { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
	.promises__item:nth-child(4) { border-left: 0; }
	:root { --strip-h: 150px; }
}

@media (max-width: 1100px) {
	:root { --header-h: 68px; }
	.brand__img { height: 40px; }

	.nav-toggle { display: inline-flex; }
	.nav {
		position: absolute; left: 0; right: 0; top: 100%;
		display: none; flex-direction: column; align-items: stretch; gap: 20px;
		max-height: calc(100svh - var(--header-h)); overflow-y: auto;
		padding: 16px var(--gutter) 28px;
		background: #fff; border-bottom: 1px solid var(--line);
		box-shadow: 0 16px 24px -16px rgb(22 32 58 / 30%);
	}
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; align-items: stretch; padding: 0; background: none; box-shadow: none; border-radius: 0; }
	.nav__link { padding: 14px 4px; font-size: 1.125rem; border-radius: 0; border-bottom: 1px solid var(--mist); }
	.nav__link:hover, .has-mega:hover > .nav__link, .has-mega:focus-within > .nav__link { background: none; box-shadow: none; }
	.nav__chev { display: none; }
	/* Dropdowns become plain sub-lists in the drawer. */
	.mega {
		position: static; display: block; width: auto; padding: 4px 0 10px;
		opacity: 1; visibility: visible; transform: none; box-shadow: none; border-radius: 0;
	}
	.mega::before, .mega__promo { display: none; }
	.mega__links a { padding: 8px 4px; }
	.mega__links .icon { width: 34px; height: 34px; padding: 7px; }
	.nav__contact { flex-wrap: wrap; }
	.nav__phone > span:last-child { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: block; }
	.nav__wa { width: auto; padding: 0 16px; border-radius: 999px; }
	.nav__wa-label { display: inline; }
	.nav__book { flex: 1 1 100%; padding: 0.85em 1em; }

	.twin__grid,
	.twin--hearing .twin__grid { grid-template-columns: 1fr; gap: 48px; }
	.twin--hearing .twin__head { order: 0; }
	.twin__sticky { position: static; }
	.twin__index { display: none; }
	.twin__lede { margin-bottom: 28px; }

	.steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.steps__item:nth-child(2)::after { display: none; }

	.visit { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	/* Phones: stack the halves, keep the diagonal as a slanted horizontal cut. */
	.hero { display: block; height: auto; background: var(--hearing-night); }
	.hero__half { padding: 40px var(--gutter) 28px; gap: 24px; }
	.hero__half--vision {
		clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), 0 100%);
		padding-right: var(--gutter); padding-bottom: 64px;
	}
	.hero__half--hearing { padding-left: var(--gutter); margin-top: -44px; padding-top: 72px; align-items: stretch; }
	.hero__half--hearing .hero__copy { text-align: left; }
	.hero__half--hearing .hero__kicker,
	.hero__half--hearing .hero__actions { justify-content: flex-start; }
	.hero__half--hearing .hero__lede { margin-left: 0; }
	.hero__seam { display: none; }
	.lensview { height: 200px; --r: 58px; align-self: center; }

	.signs { grid-template-columns: 1fr; }
	.panel__text { grid-template-columns: 1fr; margin-top: 18px; }
	.styles-row { grid-template-columns: 1fr; gap: 10px; }
	.reviews { grid-template-columns: 1fr; }
	.review--lead { grid-row: auto; }
	.marquee__track img { transform: scale(0.8); transform-origin: center; }
}

@media (max-width: 600px) {
	body { font-size: 1.0625rem; }
	.promises__list { grid-template-columns: 1fr 1fr; }
	.promises__item { padding: 6px 10px; border-left: 0 !important; }
	.promises__item:last-child { grid-column: 1 / -1; }
	.steps { grid-template-columns: 1fr; }
	.steps__item { padding: 0 0 0 72px; min-height: 52px; }
	.steps__item::after { display: none; }
	.field-row { grid-template-columns: 1fr; }
	.booking__actions .btn { width: 100%; }
	.site-footer__grid { grid-template-columns: 1fr; padding-top: calc(48px + var(--cut)); }
	.signs__card { padding: 22px 18px 20px; }
	.wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero, .hero__seam { transition: none; }
	/* No scrolling strip: show one wrapped row of logos instead. */
	.marquee { -webkit-mask-image: none; mask-image: none; }
	.marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding-inline: var(--gutter); row-gap: 24px; }
	.marquee__track [aria-hidden="true"] { display: none; }
}

/* Agency credit: small and muted so it never competes with the client brand. */
.site-footer__credit { color: #8e97ae; }
.site-footer__credit a { color: #c4cbdc; font-weight: 600; }
.site-footer__credit a:hover { color: #fff; }
/* Bottom bar: one baseline for all three items; room so the floating WhatsApp button never covers them. */
.site-footer__base { align-items: center; }
.site-footer__base > p { margin: 0; }
@media (max-width: 1320px) { .site-footer__base { padding-bottom: 96px; } }

/* hero kicker pills, styled like the logo */
.hero__half--hearing .hero__kicker.bvk,.hero__kicker.bvk{color:#1f6f73}
.bvk{display:inline-flex;align-items:center;gap:.7em;background:none;padding:0;box-shadow:none;width:fit-content}
.bvk__ico{width:2.3rem;height:auto;flex:none}
.bvk__t{font-family:"Barlow Condensed","Arial Narrow",Impact,sans-serif;font-weight:800;font-size:1.55rem;letter-spacing:.02em;line-height:1;text-transform:uppercase}
.bvk__t b{color:#1f6f73;font-weight:800}.bvk__t i{color:#e1251b;font-style:normal;font-weight:800}
.hero__half--hearing .hero__kicker.bvk{margin-left:auto}

.hero__half--hearing .bvk__t b{color:#6fd6d9}.hero__half--hearing .bvk__t i{color:#ff6358}
.hero__half--hearing .bvk__ico path[stroke="#1f6f73"]{stroke:#6fd6d9}.hero__half--hearing .bvk__ico path[stroke="#e1251b"]{stroke:#ff6358}

/* footer colours taken from the logo: deep teal with a red accent */
.site-footer{background:linear-gradient(180deg,#14595c 0%,#0c3c3f 100%);color:#cfe6e6;border-top:4px solid #e1251b}
.site-footer a,.site-footer__hours{color:#e6f4f4}
.site-footer a:hover{color:#fff}
.site-footer__base{border-top-color:rgb(255 255 255 / 18%);color:#9fc4c4}
.site-footer__credit{color:#9fc4c4}.site-footer__credit a{color:#cfe6e6}
.site-footer__head{color:#ff6a5f}

/* New artwork: keep faces and text in frame, and match backdrops */
#kids .panel__media img, #lenses .panel__media img, #contact-lenses .panel__media img, #sun .panel__media img, #blue-cut .panel__media img { object-position: 50% 50%; }
.twin--hearing #hearing-styles .panel__media { background: #eaf5f7; }
.twin--hearing #hearing-styles .panel__media img { aspect-ratio: 4 / 3; }

/* Header with Home item: keep every label on one line */
.nav__link, .nav__num, .nav__book, .nav__wa-label { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1500px) {
	.site-header__inner { gap: 14px; }
	.nav { gap: 12px; }
	.nav__link { padding: 9px 11px; font-size: 0.92rem; }
	.nav__cols { gap: 12px; }
	.nav__book { padding: 0.7em 1em; }
}
@media (min-width: 1101px) and (max-width: 1460px) {
	.nav__phone > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.nav__phone { padding-right: 0; }
}

/* ---- Roomier header: logo | menu (centred) | contact. "Book a visit" floats instead. ---- */
@media (min-width: 1101px) {
	.site-header .site-header__inner { width: min(100% - 2 * var(--gutter), 1480px); gap: clamp(24px, 3vw, 48px); }
	.nav { flex: 1; gap: clamp(20px, 2.4vw, 40px); }
	.nav__list { margin-inline: auto; }
	.nav__contact { gap: 14px; }
	.nav__book { display: none; }
}
@media (min-width: 1101px) and (max-width: 1500px) { .nav__link { padding: 9px 13px; } }

/* Floating "Book a visit" */
.book-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 41;
	display: inline-flex; align-items: center; gap: 10px;
	padding: 0 22px 0 8px; height: 58px; border-radius: 999px; overflow: hidden;
	background: linear-gradient(135deg, #e63a2e, var(--brand) 55%, #b51d14); color: #fff;
	font-weight: 800; font-size: 1.02rem; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
	box-shadow: 0 14px 30px -10px rgb(211 38 28 / 65%), 0 2px 6px rgb(22 32 58 / 18%);
	transition: transform .25s cubic-bezier(.2,.9,.3,1.3), box-shadow .25s;
	animation: bookIn .7s cubic-bezier(.2,.9,.3,1.2) .6s both;
	-webkit-tap-highlight-color: transparent;
}
.book-float__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgb(255 255 255 / 18%); }
.book-float__icon .icon { width: 22px; height: 22px; animation: bookTick 4s ease-in-out 2s infinite; }
.book-float::before { /* soft shine sweep */
	content: ""; position: absolute; inset: 0; left: -60%; width: 40%;
	background: linear-gradient(100deg, transparent, rgb(255 255 255 / 35%), transparent);
	transform: skewX(-20deg); animation: bookShine 4s ease-in-out 2.4s infinite;
}
.book-float::after { /* pulse ring */
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
	box-shadow: 0 0 0 0 rgb(211 38 28 / 55%); animation: bookPulse 2.6s ease-out 1.6s infinite;
}
.book-float:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 20px 36px -12px rgb(211 38 28 / 70%), 0 3px 8px rgb(22 32 58 / 20%); color: #fff; }
.book-float:active { transform: scale(.94); transition-duration: .08s; }
.book-float:focus-visible { outline: 3px solid #16203a; outline-offset: 3px; }
.book-float__ripple {
	position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
	background: rgb(255 255 255 / 55%); pointer-events: none; animation: bookRipple .65s ease-out forwards;
}
@keyframes bookIn { from { opacity: 0; transform: translateY(40px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes bookPulse { 0% { box-shadow: 0 0 0 0 rgb(211 38 28 / 50%); } 70%, 100% { box-shadow: 0 0 0 16px rgb(211 38 28 / 0%); } }
@keyframes bookShine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@keyframes bookTick { 0%, 86%, 100% { transform: none; } 90% { transform: rotate(-14deg); } 94% { transform: rotate(12deg); } 97% { transform: rotate(-6deg); } }
@keyframes bookRipple { to { transform: scale(18); opacity: 0; } }

/* WhatsApp bubble sits above the booking pill */
.wa-float { bottom: 92px; right: 21px; width: 56px; height: 56px; }
.site-footer__base { padding-bottom: 100px; }
@media (max-width: 600px) {
	.book-float { right: 14px; bottom: 14px; height: 52px; font-size: .95rem; padding-right: 18px; }
	.book-float__icon { width: 38px; height: 38px; }
	.wa-float { right: 14px; bottom: 78px; width: 52px; height: 52px; }
}
body.booking-open .book-float { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
	.book-float, .book-float::before, .book-float::after, .book-float__icon .icon { animation: none; }
	.book-float::before { display: none; }
}
@media (min-width: 1380px) {
	.nav__phone > span:last-child { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
	.nav__phone { padding-right: 6px; }
}

/* Feature lists (hearing technology, About): shown as cards */
.icon-grid { gap: 20px; }
.icon-grid > li {
	position: relative; padding: 26px 24px 24px; border-radius: 20px;
	background: #fff; border: 1px solid var(--line);
	box-shadow: 0 12px 28px -20px rgb(22 32 58 / 35%);
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.icon-grid > li::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--vision); opacity: .85; }
#technology .icon-grid > li::before { background: var(--hearing); }
.icon-grid > li:hover { transform: translateY(-4px); box-shadow: 0 20px 34px -20px rgb(22 32 58 / 45%); border-color: transparent; }
.icon-grid p { margin: 0; line-height: 1.55; }
@media (max-width: 600px) {
	.icon-grid { gap: 12px; }
	.icon-grid > li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; padding: 16px 16px 16px 14px; border-radius: 16px; }
	.icon-grid > li::before { left: 0; right: auto; top: 16px; bottom: 16px; width: 3px; height: auto; border-radius: 0 3px 3px 0; }
	.icon-grid .icon { grid-row: span 2; margin: 0; }
	.icon-grid h3 { font-size: 1.05rem; margin: 2px 0 4px; }
	.icon-grid p { font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) { .icon-grid > li { transition: none; } .icon-grid > li:hover { transform: none; } }
#technology .icon-grid .icon { background: var(--hearing-tint); color: var(--hearing); }

/* Bigger header logo so the red dot in the "O" reads clearly */
@media (min-width: 1101px) {
	:root { --header-h: 100px; }
	.site-header .brand { --bh: 94px; }
}
@media (max-width: 1100px) {
	:root { --header-h: 78px; }
	.site-header .brand { --bh: 70px; }
}
@media (max-width: 400px) { .site-header .brand { --bh: 64px; } }
@media (max-width: 400px) { .site-header .brand { --bh: 58px; } }
@media (min-width: 1101px) and (max-width: 1260px) { .site-header .brand { --bh: 80px; } .site-header .site-header__inner { gap: 20px; } .nav { gap: 16px; } .nav__link { padding: 9px 10px; } }

/* Blog ------------------------------------------------------------------- */
.blog-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.blog-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease; }
.blog-card:hover { transform: translateY(-3px); }
.blog-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.blog-card__art { display: grid; place-items: center; height: 120px; background: var(--vision-tint); color: var(--vision-deep); }
.blog-card--hearing .blog-card__art { background: var(--hearing-tint); color: var(--hearing); }
.blog-card--family .blog-card__art { background: var(--mist); color: var(--brand); }
.blog-card__art svg { width: 48px; height: 48px; }
.blog-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.blog-card__meta { font-size: .85rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.blog-card__title { font-family: var(--display); font-size: 1.35rem; line-height: 1.2; font-weight: 700; color: var(--ink); }
.blog-card__text { color: var(--ink-2); }
.blog-card__more { margin-top: auto; font-weight: 700; color: var(--hearing); }
.blog-cta { margin-top: 3rem; padding: 26px 28px; border-radius: var(--r-md); background: var(--mist); max-width: 44rem; }
.blog-cta__title { font-family: var(--display); font-size: 1.35rem; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.blog-cta .btn { margin-right: 16px; }

.blog-card__art--photo { height: auto; aspect-ratio: 3 / 2; background: var(--mist); }
.blog-card__art--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Logo + tagline on every page (was only loaded on some pages) */
.brand { --bh: 72px; display: block; position: relative; text-decoration: none; flex: none; }
.brand .brand__img { height: var(--bh); width: auto; display: block; max-width: none; }
.brand__tag { position: absolute; left: 36.5%; right: 0; top: 87.5%; display: flex; align-items: center; gap: 4%; margin: 0; font-size: calc(var(--bh) * 0.078); line-height: 1; font-weight: 500; letter-spacing: 0; white-space: nowrap; color: #2b2b2b; }
.brand__tag::before, .brand__tag::after { content: ""; flex: 1 1 0; min-width: 4px; height: 1.5px; background: #d62828; border-radius: 2px; }
.brand__tag span { flex: none; }
.brand__tag { left: 30.8%; right: 1%; }
.brand:hover, .brand:hover .brand__tag { text-decoration: none; }
