/* =========================================================
   EYE Opticians — style.css
   Brand blend: the original site's sand-gold band, teal and
   offset-frame device, with Ivar Fine titles, Montserrat text and the script word on cream.
   ========================================================= */

/* ---------- Self-hosted fonts ---------- */
/* Ivar Fine Light for titles and main headings, set in title case */
@font-face {
  font-family: "Ivar Fine";
  src: url("../fonts/IvarFine-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
/* Haigrast (licensed script): fallback only; script type is Dancing Script, see fonts/README.md */
@font-face {
  font-family: "Haigrast";
  src: url("../fonts/Haigrast.woff2") format("woff2"),
       url("../fonts/Haigrast.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* surfaces */
  --cream: #F1EDE6;
  --cream-2: #F7F3EC;
  --peach: #F7E8D2;        /* original footer */
  --sand: #C7AD79;         /* original hero band */
  --sand-deep: #B89C66;
  --white: #FFFFFF;

  /* ink */
  --ink: #1F1F1F;
  --ink-soft: #3A3A3A;

  /* accents */
  --gold: #B99459;         /* eyebrows, rules */
  --gold-deep: #9B7A3A;    /* script words: darker, so the thin hand lettering reads on cream */
  --gold-soft: #D6C4A0;
  --teal: #0E6B6B;         /* original site teal */
  --teal-deep: #004d4c;
  --line: rgba(31, 31, 31, 0.22);

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-title: "Ivar Fine", "Didot", "Bodoni 72", Georgia, serif;
  --font-script: "Dancing Script", "Haigrast", "Snell Roundhand", cursive;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(80px, 11vw, 150px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
picture { display: contents; }   /* <picture> wrappers add no box; the <img> lays out as before */
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - (var(--gutter) * 2), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.eyebrow--gold { color: var(--gold); }

.display {
  font-family: var(--font-title);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.005em;
  color: var(--ink);
  position: relative;
}
/* Ivar's word space is narrow; open it up on every title */
.display, .section__title, .prose h2, .practice__name, .fees__group th, .card__title, .post-card__title, .result__title { word-spacing: .12em; }
.display--xl { font-size: clamp(52px, 9vw, 116px); }
.display--lg { font-size: clamp(48px, 8vw, 96px); }
.display--md { font-size: clamp(36px, 5.5vw, 68px); }
.display--light { color: var(--white); }

.display__line {
  display: block;
  padding-bottom: 0.06em; margin-bottom: -0.06em; /* room for descenders */
}

.script {
  display: block;
  font-family: var(--font-script);
  font-weight: 400; text-transform: none; letter-spacing: 0;
  color: var(--gold-deep);
  font-size: 1.02em; line-height: 1;
}
.script--overlap { margin-top: -0.42em; position: relative; z-index: 2; transform: translateX(0.06em); }
.script--cream { color: var(--cream-2); }

/* Hand-drawn script: inline SVG of the word (letterforms as a mask over stroked pen paths),
   generated by tools/handdraw.py from the Haigrast font. --h is the SVG height in
   display-font ems, --asc the distance from its top to the baseline. */
.script--draw {
  font-size: 1.12em;                               /* em = the display heading size; a touch larger than the caps */
  line-height: 0;
  height: calc(var(--h) * 1em);
  margin-top: calc((0.5 - var(--asc)) * 1em);      /* baseline sits half an em below the caps, so the ascenders clear them */
  transform: translateX(0.04em);
}
.script--draw .draw {
  display: inline-block; vertical-align: top;      /* follows the heading's text-align */
  height: 100%; width: auto;
  overflow: visible;
}
.script--draw .draw mask path { stroke: #fff; stroke-width: 11; stroke-linejoin: round; }   /* thickens the letterforms (the mask) */
.script--draw .draw g { stroke-width: 46; }                                             /* and the pen strokes fill the wider glyph */
.script--draw, .script--draw .sr-only { font-family: var(--font-body); }   /* the word is an SVG; no text here may trigger the Haigrast download */
.js .script--draw .draw g path { stroke-dasharray: 1; stroke-dashoffset: 1; }   /* pen strokes only: the mask outline stays solid */
.js .script--draw.is-drawn .draw g path { animation: pen var(--d) cubic-bezier(.45, 0, .55, 1) var(--t) forwards; }
@keyframes pen { to { stroke-dashoffset: 0; } }

.lead {
  max-width: 640px; margin: 34px auto 0;
  font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55;
}
.lead--narrow { max-width: 460px; font-size: 15px; }
.lead--left { margin-inline: 0; }

/* Vertical caption, from the original hero */
.vertical-caption {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  align-self: start; padding-top: 40px;
  text-transform: uppercase; letter-spacing: 0.02em; line-height: 0.95;
  color: var(--cream-2);
  writing-mode: vertical-rl; transform: rotate(180deg);
  white-space: nowrap;
}

/* ---------- Buttons & arrows ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 24px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1;
  border: 1px solid var(--ink);
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease-out), border-color .4s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%);
  transition: transform .5s var(--ease-in-out);
}
.btn:hover::before { transform: translateY(0); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark::before { background: var(--teal); }
.btn--dark:hover { border-color: var(--teal); }
.btn--teal { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn--teal::before { background: var(--ink); }
.btn--teal:hover { border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--white); }
.btn--light { background: transparent; color: var(--cream-2); border-color: var(--cream-2); }
.btn--light::before { background: var(--cream-2); }
.btn--light:hover { color: var(--ink); }
.btn--small { padding: 9px 20px; font-size: 11px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.arrow { display: inline-block; width: 16px; height: 10px; position: relative; flex: 0 0 auto; }
.arrow::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px;
  background: currentColor; transform: translateY(-50%);
}
.arrow::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 7px; height: 7px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover .arrow, .arrow-list a:hover .arrow { animation: nudge .6s var(--ease-out); }
@keyframes nudge { 40% { transform: translateX(5px); } 100% { transform: translateX(0); } }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em;
  color: var(--teal); border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.text-link:hover .arrow { animation: nudge .6s var(--ease-out); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-block: 22px;
  transition: padding .5s var(--ease-out), background .5s ease, box-shadow .5s ease;
}
.header.is-scrolled {
  padding-block: 12px;
  background: rgba(241, 237, 230, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(31,31,31,.06);
}
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; width: 100%; padding-inline: var(--gutter); }   /* equal outer columns keep the menu on the page's centre line */
.header__inner > .nav { justify-self: center; }
.header__inner > .header__phones, .header__inner > .burger { justify-self: end; }
.header__logo img { height: 42px; width: auto; }

.nav__list { display: flex; align-items: center; gap: 28px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 0; position: relative; color: var(--teal-deep);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 4px; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav__item:hover > .nav__link::after, .nav__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav__chev {
  width: 6px; height: 6px;
  border-right: 1.2px solid currentColor; border-bottom: 1.2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .3s;
}
.nav__item:hover .nav__chev { transform: rotate(225deg) translateY(-1px); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: -20px; min-width: 230px;
  background: var(--white); padding: 14px 0;
  box-shadow: 0 20px 50px -20px rgba(31,31,31,.25);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility 0s .35s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility 0s;
}
.dropdown a { display: block; padding: 8px 22px; font-size: 13px; transition: color .25s, padding-left .3s var(--ease-out); }
.dropdown a:hover { color: var(--teal); padding-left: 28px; }

/* phones block, from the original header */
.header__phones { display: grid; gap: 2px; font-size: 11.5px; line-height: 1.4; padding-left: 28px; position: relative; }
.header__phones::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 14px; height: 22px; border: 1.5px solid var(--teal); border-radius: 3px;
}
.header__phones strong { font-weight: 700; color: var(--teal-deep); letter-spacing: .06em; text-transform: uppercase; font-size: 10.5px; }
.header__phones a:hover { color: var(--teal); }

.burger { display: none; width: 40px; height: 40px; position: relative; z-index: 110; }
.burger span { position: absolute; left: 8px; width: 24px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease-in-out), top .4s var(--ease-in-out); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 105; background: var(--cream);
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-in-out); overflow-y: auto;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); }
.mobile-menu__inner { padding: 96px var(--gutter) 48px; display: grid; gap: 26px; position: relative; }
.mobile-menu__close {
  position: absolute; top: 26px; right: var(--gutter); z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-deep);
}
.mobile-menu__close::after {
  content: ""; width: 34px; height: 34px; border: 1px solid var(--teal-deep); border-radius: 50%;
  background: linear-gradient(var(--teal-deep), var(--teal-deep)) center / 14px 1.5px no-repeat, linear-gradient(var(--teal-deep), var(--teal-deep)) center / 1.5px 14px no-repeat;
  transform: rotate(45deg);
}
.mobile-menu__group { display: grid; gap: 4px; }
.mobile-menu__group a {
  font-family: var(--font-display); font-size: clamp(19px, 5vw, 24px); line-height: 1.25;
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.mobile-menu.is-open .mobile-menu__group a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__group a:nth-child(2) { transition-delay: .25s; }
.mobile-menu.is-open .mobile-menu__group a:nth-child(3) { transition-delay: .30s; }
.mobile-menu.is-open .mobile-menu__group a:nth-child(4) { transition-delay: .35s; }
.mobile-menu.is-open .mobile-menu__group a:nth-child(5) { transition-delay: .40s; }
.mobile-menu.is-open .mobile-menu__group a:nth-child(6) { transition-delay: .45s; }
.mobile-menu.is-open .mobile-menu__group a:nth-child(7) { transition-delay: .50s; }
.mobile-menu__label { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }
.mobile-menu__phones { display: grid; gap: 6px; font-size: 13px; padding-top: 14px; border-top: 1px solid var(--line); }

/* ---------- Hero: sand band from the original, new type ---------- */
.hero { padding: 0; background: var(--sand); color: var(--cream-2); margin-top: 86px; }
.hero__inner {
  width: 100%; max-width: none; padding-inline: var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;   /* photo and copy both centred in the band */
  padding-block: clamp(40px, 6vw, 80px);
}
.hero__media { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px; align-self: center; }
.hero__badge { position: absolute; top: -10px; left: 0; z-index: 3; }
.hero__badge img { height: 56px; width: auto; }
.hero__figure { align-self: end; margin-left: calc(-1 * var(--gutter)); }   /* bleeds to the viewport edge, so the photo stands as tall as the copy */
.hero__figure img { width: 100%; height: auto; }
.hero__copy { align-self: center; }
.hero__copy .eyebrow { margin-bottom: 14px; }
.hero__copy .eyebrow { color: var(--cream-2); opacity: .85; }
.hero__copy .display { font-size: clamp(44px, 6.4vw, 80px); }
.hero__copy .lead { color: var(--cream-2); margin: 20px 0 0; max-width: 640px; font-size: 16px; line-height: 1.5; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Trust strip, from the original ---------- */
.trust { padding-block: clamp(36px, 4vw, 52px); border-bottom: 1px solid rgba(31,31,31,.08); }
.trust__row { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust__item {
  display: grid; justify-items: center; gap: 14px; text-align: center;
  padding: 10px 20px; border-left: 1px solid var(--gold-soft);
  font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft);
}
.trust__item:first-child { border-left: 0; }
.trust__item svg { width: 44px; height: 44px; stroke: var(--gold); fill: none; stroke-width: 1.2; }

/* ---------- Intro ---------- */
.intro { padding-top: clamp(60px, 8vw, 110px); }
.intro__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.intro__col .eyebrow { margin-bottom: 10px; }
.intro__text { font-size: 14.5px; line-height: 1.6; margin-bottom: 24px; max-width: 46ch; }

.arrow-list li { border-bottom: 1px solid var(--gold); }
.arrow-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  transition: color .3s;
}
.arrow-list a:hover { color: var(--teal); }

/* ---------- Services ---------- */
.services__title { text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #d8d2c8; display: block; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile:hover img { transform: scale(1.08); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,79,79,.7) 0%, rgba(0,0,0,0) 50%); }
.tile__label { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; text-align: center; color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: transform .5s var(--ease-out); }
.tile:hover .tile__label { transform: translateY(-4px); }

/* ---------- Brand strip, from the original ---------- */
.brands { padding-top: 0; }
.brands .container { width: 100%; max-width: none; padding-inline: var(--gutter); }
.brands__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 36px); }
.brand-card { display: grid; justify-items: center; gap: 16px; text-align: center; }
.brand-card__visual { position: relative; width: 100%; aspect-ratio: 4 / 5; display: grid; place-items: center; }
.brand-card__visual img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.brand-card__visual img.mark { position: relative; z-index: 2; width: 92%; filter: drop-shadow(0 2px 10px rgba(255,255,255,.9)); }
.brand-card__label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }

/* ---------- Offset-frame feature, from the original ---------- */
.feature { padding-block: clamp(60px, 8vw, 120px); }
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature__grid--flip .feature__media { order: 2; }
.frame { position: relative; padding: 0 0 22px 22px; }
.frame--right { padding: 22px 22px 0 0; }
.frame { --frame-shift: 0px; }
.frame::before { content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 72%; background: var(--sand); z-index: 0; transform: translateX(var(--frame-shift)); }
.frame--right::before { left: auto; right: 0; bottom: auto; top: 0; background: var(--teal); }
.frame .img-reveal { position: relative; z-index: 1; }
.frame img { width: 100%; height: auto; }
.frame__tag {
  position: absolute; right: 24px; bottom: 44px; z-index: 2;
  background: var(--teal-deep); color: var(--cream-2); padding: 8px 16px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
}
.feature__copy .display { max-width: 12ch; }
.feature__copy .lead { margin: 22px 0 28px; }

/* ---------- Statement sections ---------- */
.statement__inner { text-align: center; }
.statement .display { max-width: 14ch; margin-inline: auto; }
.statement .btn { margin-top: 34px; }
.statement--sand { background: var(--sand); color: var(--cream-2); }
.statement--sand .display { color: var(--cream-2); }
.statement--sand .eyebrow { color: var(--cream-2); opacity: .85; }
.statement--sand .script { color: var(--teal-deep); }

/* ---------- Near Vision teaser (homepage) ---------- */
.teaser { background: var(--teal-deep); color: var(--cream-2); padding: 0; overflow: hidden; }
.teaser__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.teaser__media { position: relative; overflow: hidden; }
.teaser__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.teaser__copy { padding: clamp(48px, 7vw, 110px) clamp(28px, 6vw, 96px); display: grid; align-content: center; gap: 22px; }
.teaser__copy .eyebrow { color: var(--gold-soft); margin: 0; }
.teaser__copy .display { color: var(--cream-2); max-width: 11ch; }
.teaser__copy p { max-width: 44ch; font-size: 15.5px; line-height: 1.6; opacity: .92; }
.teaser__copy .btn { justify-self: start; margin-top: 8px; }

/* ---------- Lindberg split (video) ---------- */
.brand { padding-top: 0; }
.brand .container { width: 100%; max-width: none; }   /* edge to edge, no gutter */
.brand__split { display: grid; grid-template-columns: 1fr 1px 1fr; align-items: stretch; min-height: clamp(360px, 45vw, 560px); }
.brand__logo { background: var(--white); display: grid; place-items: center; padding: 40px; }
.brand__logo img { width: min(60%, 320px); height: auto; }
.brand__divider { background: var(--ink); transform: scaleY(0); transform-origin: top; }
.brand__media { position: relative; overflow: hidden; background: #d8d2c8; }
.brand__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Practice tours, from the original ---------- */
.tours__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.tour { display: grid; gap: 18px; }
.tour__frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.tour__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour__caption { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.tours__title { text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }

/* ---------- Reveal helpers ---------- */
.img-reveal { overflow: hidden; position: relative; }
.no-js .brand__divider { transform: none; }

/* ---------- Footer: peach from the original ---------- */
.footer { background: var(--peach); padding-block: clamp(60px, 8vw, 100px) 40px; }
.footer__inner { display: grid; justify-items: center; gap: clamp(36px, 5vw, 56px); text-align: center; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(160px, 240px)); }
.footer__col { display: grid; gap: 8px; justify-items: center; align-content: start; padding: 0 24px; border-left: 1px solid var(--gold-soft); }
.footer__col:first-child { border-left: 0; }
.footer__heading { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.footer__col a { font-size: 13.5px; transition: color .25s; }
.footer__col a:hover { color: var(--teal); }
.footer__logo img { height: 48px; width: auto; }
.footer__social { display: flex; gap: 16px; }
.footer__social a { width: 36px; height: 36px; display: grid; place-items: center; color: var(--teal-deep); transition: color .25s; }
.footer__social a:hover { color: var(--gold); }
.footer__social svg { width: 22px; height: 22px; fill: currentColor; }
.footer__meta { display: grid; gap: 10px; }
.footer__phones { font-size: 14px; font-weight: 600; }
.footer__sep { margin-inline: 8px; opacity: .5; }
.footer__legal { font-size: 12px; max-width: 560px; line-height: 1.6; }
.footer__credit { font-size: 12px; }
.footer__credit a { border-bottom: 1px solid var(--line); transition: color .25s, border-color .25s; }
.footer__credit a:hover { color: var(--teal); border-color: var(--teal); }

/* ---------- Content pages ---------- */
/* Hero A: split on cream, photo in an offset frame (the home-page feature device) */
.page-hero { padding-top: calc(86px + clamp(40px, 6vw, 88px)); padding-bottom: clamp(48px, 7vw, 100px); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero .display { max-width: 12ch; }
.page-hero__sub { max-width: 44ch; margin-top: 24px; font-family: var(--font-display); font-size: clamp(19px, 1.6vw, 24px); line-height: 1.35; color: var(--ink); }
.page-hero .lead { margin: 26px 0 0; max-width: 52ch; font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }
.page-hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 34px; }
.page-hero__phones { display: grid; gap: 12px; justify-items: start; }
.page-hero__phone { font-size: 13px; font-weight: 600; letter-spacing: .08em; border-bottom: 1px solid var(--gold-soft); padding-bottom: 3px; transition: color .3s; }
.page-hero__phone span { font-weight: 500; opacity: .65; margin-right: 8px; }
.page-hero__phone:hover { color: var(--teal); }
.page-hero__media .frame img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #d8d2c8; }
.page-hero__media .frame img, .split__media .frame img { position: relative; z-index: 1; }   /* above the offset block */
/* Hero B: a band on sand, centred (pages without a photo) */
.page-hero--band { background: var(--sand); color: var(--cream-2); margin-top: 86px; padding-block: clamp(64px, 9vw, 130px); text-align: center; }
.page-hero--band .page-hero__copy { max-width: 820px; }
.page-hero--band .eyebrow { color: var(--cream-2); opacity: .85; }
.page-hero--band .display { color: var(--cream-2); max-width: none; }
.page-hero--band .page-hero__sub, .page-hero--band .lead { color: var(--cream-2); margin-inline: auto; opacity: .95; }
.page-hero--band .page-hero__actions { justify-content: center; }
.page-hero--band .page-hero__phone { border-color: rgba(247,243,236,.5); }
.page-hero--band .page-hero__phone:hover { color: var(--teal-deep); }
.script--teal { color: var(--teal-deep); }

/* Hero C: centred on cream, followed by a full-bleed carousel (eyewear pages) */
.page-hero--centre { text-align: center; padding-top: calc(86px + clamp(40px, 6vw, 80px)); padding-bottom: clamp(36px, 5vw, 64px); }
.page-hero--centre .page-hero__copy { max-width: 900px; margin-inline: auto; }
.page-hero--centre .display { max-width: none; }
.page-hero--centre .lead { margin-inline: auto; }
.page-hero--centre .page-hero__actions { justify-content: center; }
.carousel-section { padding: 0 0 var(--section-y); overflow: hidden; }
.carousel { position: relative; }
.carousel__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scroll-behavior: smooth; padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carousel__track::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 clamp(240px, 24vw, 360px); aspect-ratio: 2 / 2.5; scroll-snap-align: start; overflow: hidden; background: #d8d2c8; display: block; }
.slide img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.slide:hover img.photo { transform: scale(1.05); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,0) 42%); }
.slide__mark { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; width: 48%; max-height: 36px; object-fit: contain; filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(0,0,0,.5)); }
.slide__name { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 2; text-align: center; color: var(--white); font-family: var(--font-display); font-size: 32px; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; background: rgba(241,237,230,.92); color: var(--ink); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(31,31,31,.15); transition: background .3s, opacity .3s; }
.carousel__btn:hover { background: var(--white); }
.carousel__btn--prev { left: calc(var(--gutter) - 24px); }
.carousel__btn--next { right: calc(var(--gutter) - 24px); }
.carousel__btn--prev .arrow { transform: rotate(180deg); }
.carousel__btn[disabled] { opacity: 0; pointer-events: none; }

/* Section heads: gold eyebrow over an uppercase display title */
.section__head { text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head .eyebrow { margin-bottom: 14px; }
.section__title { font-family: var(--font-title); font-weight: 300; letter-spacing: 0; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.05; color: var(--ink); }
.section__intro { max-width: 620px; margin: 18px auto 0; color: var(--ink-soft); line-height: 1.7; font-size: 15.5px; }
.section--alt { background: var(--cream-2); }

/* Article prose */
.prose { max-width: 720px; margin-inline: auto; font-size: 16px; line-height: 1.8; color: var(--ink-soft); }
.prose > p:first-child { font-size: 18px; line-height: 1.6; color: var(--ink); }
.prose h2 { font-family: var(--font-title); font-weight: 300; letter-spacing: 0; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; color: var(--ink); margin: clamp(44px, 6vw, 72px) 0 20px; padding-top: 26px; border-top: 1px solid var(--gold-soft); }
.prose > h2:first-child, .split__copy .prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h2 small { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--teal); margin-top: 10px; }
.prose h3 { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin: 34px 0 12px; }
.prose p + p, .prose ul + p, .prose ol + p { margin-top: 16px; }
.prose ul, .prose ol { margin: 16px 0 16px 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--teal); border-bottom: 1px solid currentColor; transition: color .3s; }
.prose a:hover { color: var(--teal-deep); }
.prose .gallery { margin: clamp(32px, 4vw, 48px) 0; }

/* Photo + copy splits, photos in offset frames */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split + .split { margin-top: clamp(64px, 9vw, 130px); }
.split--flip .split__media { order: 2; }
.split__media .frame img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #d8d2c8; }
.split__media--portrait .frame img { aspect-ratio: 4 / 5; }
.split__copy .prose { margin: 0; max-width: none; }
.split__copy .prose > p:first-child { font-size: 16px; line-height: 1.8; color: var(--ink-soft); }

/* Galleries, banners */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #d8d2c8; }
.gallery--products { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.gallery--products img { aspect-ratio: 3 / 4; object-fit: contain; background: var(--white); padding: 10px; }
picture > source { display: none; }   /* a <picture> in a grid promotes its children to items; only the <img> may take a cell */
.banner img { width: 100%; height: auto; }

/* Image tiles (hub pages), same device as the home services grid */
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.page-hero--band + .section, .page-hero--split + .section { padding-top: clamp(56px, 8vw, 110px); }

/* FAQ: numbered, display-type questions */
.faq__inner { max-width: 860px; }
.faq__note { margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
.faq__list { border-top: 1px solid var(--ink); counter-reset: faq; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { list-style: none; cursor: pointer; display: grid; grid-template-columns: 52px 1fr auto; align-items: baseline; gap: 16px; padding: 24px 0; font-family: var(--font-display); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.3; color: var(--ink); transition: color .3s; }
.faq__q::before { counter-increment: faq; content: counter(faq, decimal-leading-zero); font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--gold); }
.faq__q:hover { color: var(--teal); }
.faq__q::-webkit-details-marker { display: none; }
.faq__chev { align-self: center; flex: 0 0 auto; width: 10px; height: 10px; margin-right: 4px; border-right: 1.5px solid var(--teal); border-bottom: 1.5px solid var(--teal); transform: rotate(45deg); transition: transform .3s var(--ease-out); }
.faq__item[open] .faq__chev { transform: rotate(-135deg); }
.faq__a { padding: 0 0 32px 68px; max-width: 760px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.75; }
.faq__a p + p, .faq__a p + ul, .faq__a ul + p { margin-top: 14px; }
.faq__a ul { list-style: disc; padding-left: 20px; }
.faq__a li + li { margin-top: 6px; }
.faq__a li::marker { color: var(--gold); }
.faq__a strong { color: var(--ink); font-weight: 600; }

/* Enquiry: teal panel, copy left, form right (the Near Vision teaser palette) */
.contact { background: var(--teal-deep); color: var(--cream-2); }
.contact__inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact .eyebrow { color: var(--gold-soft); margin-bottom: 18px; }
.contact .display { color: var(--cream-2); }
.contact .lead { margin: 26px 0 0; max-width: 38ch; font-size: 15.5px; line-height: 1.65; opacity: .92; }
.contact__phones { display: grid; gap: 14px; margin-top: 32px; padding-top: 26px; border-top: 1px solid rgba(247,243,236,.25); }
.contact__phones dt { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 2px; }
.contact__phones dd { font-family: var(--font-display); font-size: 24px; line-height: 1.1; }
.contact__phones a { transition: color .3s; }
.contact__phones a:hover { color: var(--gold-soft); }
.form { position: relative; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__field--full { grid-column: 1 / -1; }
.form__input { width: 100%; padding: 17px 18px; font: inherit; font-size: 15px; color: var(--ink); background: var(--cream-2); border: 1px solid transparent; border-radius: 0; transition: border-color .25s, background .25s; }
.form__input:focus { outline: none; border-color: var(--gold); background: var(--white); }
.form__input::placeholder { color: rgba(31,31,31,.5); }
textarea.form__input { min-height: 170px; resize: vertical; display: block; }
.form__check { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: 13.5px; line-height: 1.5; opacity: .9; cursor: pointer; }
.form__check input { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; accent-color: var(--gold); }
.form__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.form__msg { font-size: 14px; color: var(--cream-2); }
.form__msg.is-error { color: #ffd4cc; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Brand pages: product cards, logo wall, brand tiles */
.products { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }   /* three to a row on desktop, so the frames read at a glance */
.product { display: grid; background: var(--white); border: 1px solid rgba(31,31,31,.06); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.product:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(31,31,31,.08); }
.product__img { aspect-ratio: 3 / 2; overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.18); transition: transform .6s var(--ease-out); }   /* the supplier shots carry wide white margins; scaling trims them */
.product:hover .product__img img { transform: scale(1.24); }
.product__name { padding: 16px 18px 20px; border-top: 1px solid var(--cream); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-align: center; color: var(--teal-deep); }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); border-top: 1px solid var(--gold-soft); border-left: 1px solid var(--gold-soft); }
.logo { display: grid; align-content: center; justify-items: center; padding: 28px 16px; min-height: 140px; background: var(--cream); border-right: 1px solid var(--gold-soft); border-bottom: 1px solid var(--gold-soft); transition: background .3s; }
.section--alt .logo { background: var(--cream-2); }
.logo:hover { background: var(--white); }
.logo img { max-width: 104px; max-height: 44px; width: auto; height: auto; filter: grayscale(1); opacity: .85; transition: opacity .3s, filter .3s; }
.logo:hover img { filter: none; opacity: 1; }
.logo__word { font-family: var(--font-display); font-size: 22px; color: var(--ink); line-height: 1; text-align: center; }
.brand-tiles { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.brand-tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.brand-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.brand-tile:hover img { transform: scale(1.05); }
.brand-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,79,79,.7), rgba(0,0,0,0) 55%); }
.brand-tile__label { position: absolute; z-index: 1; left: 22px; bottom: 20px; color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }

/* Contact page practices */
.practices { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.practice__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.practice__photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #d8d2c8; }
.practice__eyebrow { margin: 28px 0 8px; }
.practice__name { font-family: var(--font-title); font-weight: 300; letter-spacing: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1; margin-bottom: 14px; }
.practice__meta { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.practice__meta a { color: var(--teal); border-bottom: 1px solid currentColor; }
.practice__label { display: block; margin-top: 16px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }

/* Fees */
.fees { width: 100%; max-width: 820px; margin-inline: auto; border-collapse: collapse; }
.fees th, .fees td { text-align: left; padding: 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; font-weight: 500; }
.fees td { text-align: right; white-space: nowrap; font-family: var(--font-display); font-size: 22px; color: var(--teal-deep); padding-left: 24px; }
.fees small { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--ink-soft); white-space: normal; max-width: 60ch; }
.fees__group th { padding: 44px 0 10px; border-bottom: 1px solid var(--ink); font-family: var(--font-title); font-weight: 300; font-size: 26px; letter-spacing: 0; color: var(--ink); }
.fees tr:first-child.fees__group th { padding-top: 0; }

/* Visual stress test */
.vs-test { --vs-bg: #fff; background: var(--vs-bg); color: #111; padding: clamp(28px, 4.5vw, 48px); border: 1px solid var(--gold-soft); transition: background .3s; max-width: 540px; min-height: 600px; margin-inline: auto; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }   /* a narrow, portrait "page" */
.vs-test p { font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.6; }
@media (max-width: 560px) { .vs-test { min-height: 0; } }
.vs-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.vs-swatch { width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(0,0,0,.12); cursor: pointer; }
.vs-swatch.is-active, .vs-swatch:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* Misc */
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { display: grid; gap: 10px; align-content: start; padding: 26px 24px; background: var(--white); transition: box-shadow .3s; }
.card:hover { box-shadow: 0 10px 30px rgba(31,31,31,.08); }
.card__title { font-family: var(--font-title); font-weight: 300; font-size: 24px; line-height: 1.1; }
.card__text { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.card__more { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.sport-table { width: 100%; max-width: 760px; margin: 18px auto 0; border-collapse: collapse; }
.sport-table th, .sport-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.sport-table th { width: 32%; font-weight: 600; color: var(--ink); padding-right: 16px; }

/* News: cards, article, inline figures, video */
.posts { display: grid; gap: 28px 20px; grid-template-columns: repeat(3, 1fr); }
.post-card { display: grid; gap: 12px; align-content: start; }
.post-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #d8d2c8; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__meta { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.post-card__title { font-family: var(--font-title); font-weight: 300; font-size: clamp(22px, 1.9vw, 26px); line-height: 1.15; color: var(--ink); transition: color .3s; }
.post-card:hover .post-card__title { color: var(--teal); }
.post-card__excerpt { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }
.post-card__more { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-top: 4px; }
.post-card:hover .arrow { animation: nudge .6s var(--ease-out); }
.page-hero--post .display { max-width: 18ch; font-size: clamp(30px, 4.2vw, 56px); }
.page-hero--post.page-hero--band .display { max-width: 22ch; }
.article { max-width: 760px; }
.article > p:first-child { font-size: 16px; line-height: 1.8; color: var(--ink-soft); }
.article .byline { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
.article .byline strong { color: var(--ink); }
.article .banner { margin: clamp(32px, 4vw, 48px) 0; }
.article .gallery { margin: clamp(32px, 4vw, 48px) 0; }
.article .video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); margin: clamp(32px, 4vw, 48px) 0; }
.article .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article__meta { margin-top: clamp(40px, 5vw, 56px); padding-top: 20px; border-top: 1px solid var(--gold-soft); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.article__meta a { color: var(--teal); border: 0; }
.article ol { margin-left: 22px; }
.article h3 + ol li { font-size: 13.5px; }
figure.inline { width: min(42%, 300px); margin: 6px 0 20px 32px; float: right; }
figure.inline--left { float: left; margin: 6px 32px 20px 0; }
figure.inline img { width: 100%; height: auto; }
figure.inline figcaption { margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--ink-soft); }
.article::after { content: ""; display: block; clear: both; }
.article h2, .article h3 { clear: both; }
.gallery--posters { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.gallery--posters img { aspect-ratio: 1414 / 2000; object-fit: contain; background: var(--white); box-shadow: 0 10px 30px rgba(31,31,31,.08); }
.gallery--portraits { grid-template-columns: repeat(4, 1fr); }
.gallery--portraits img { aspect-ratio: 3 / 4; }
.split__media--square .frame img { aspect-ratio: 1 / 1; }

/* Love letters */
.quotes { columns: 2; column-gap: 20px; }
.quote { break-inside: avoid; margin: 0 0 20px; padding: 32px 32px 28px; background: var(--white); border-top: 2px solid var(--gold); }
.quote p { font-family: var(--font-display); font-size: 17.5px; line-height: 1.5; color: var(--ink); }
.quote p::before { content: "\201C"; color: var(--gold); margin-right: 2px; }
.quote p::after { content: "\201D"; color: var(--gold); margin-left: 2px; }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.quote__tag { display: inline-block; margin-bottom: 14px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

/* ---------- Instagram strip (top of the footer) ---------- */
.insta { width: min(100% - (var(--gutter) * 2), var(--container)); margin: 0 auto clamp(48px, 6vw, 80px); }
.insta__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.insta__head .eyebrow { margin: 0; }
.insta__handle { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1; color: var(--ink); transition: color .3s; }
.insta__handle:hover { color: var(--teal); }
.insta__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.insta__item { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: rgba(31,31,31,.06); }
.insta__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), opacity .3s; }
.insta__item:hover img { transform: scale(1.06); }
.insta__badge { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,.45); color: var(--white); font-size: 10px; display: grid; place-items: center; padding-left: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .header__phones { display: none; } }
@media (max-width: 900px) { .header__inner { grid-template-columns: 1fr auto; } }
@media (max-width: 900px) {
  .split, .practices, .page-hero__grid, .contact__inner { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .brand-tiles { grid-template-columns: 1fr 1fr; }
  .tiles, .posts { grid-template-columns: repeat(2, 1fr); }
  .insta__grid { grid-template-columns: repeat(3, 1fr); }
  .gallery--portraits { grid-template-columns: repeat(3, 1fr); }
  .quotes { columns: 1; }
  figure.inline, figure.inline--left { float: none; width: 100%; max-width: 360px; margin: 24px 0; }
  .page-hero__media { max-width: 560px; }
  .faq__q { grid-template-columns: 36px 1fr auto; }
  .faq__a { padding-left: 0; }
}
@media (max-width: 560px) { .brand-tiles { grid-template-columns: 1fr; } .practice__photos { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .form__grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .hero__inner { grid-template-columns: 1fr; align-items: start; }
  .hero__media { order: 2; }
  .hero__copy { order: 1; padding-bottom: 10px; }
  .hero__figure { margin-left: 0; }
  .vertical-caption { display: none; }
  .trust__row { grid-template-columns: 1fr; }
  .trust__item { border-left: 0; border-top: 1px solid var(--gold-soft); padding-block: 18px; }
  .trust__item:first-child { border-top: 0; }
  .intro__cols { grid-template-columns: 1fr; gap: 40px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .brands__grid { grid-template-columns: repeat(2, 1fr); }
  .feature__grid { grid-template-columns: 1fr; }
  .feature__grid--flip .feature__media { order: 0; }
  .teaser__grid { grid-template-columns: 1fr; min-height: 0; }
  .teaser__media { aspect-ratio: 4 / 3; }
  .brand__split { grid-template-columns: 1fr; min-height: 0; }
  .brand__logo { min-height: 200px; }
  .brand__divider { display: none; }
  .brand__media { aspect-ratio: 16 / 10; }
  .tours__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; gap: 28px; }
  .footer__col { border-left: 0; }
}
@media (max-width: 560px) {
  .posts { grid-template-columns: 1fr; }
  .gallery--portraits { grid-template-columns: repeat(2, 1fr); }
  .script--overlap:not(.script--draw) { margin-top: -0.3em; }   /* drawn words keep their own offset */
  .display--xl { font-size: clamp(44px, 13vw, 64px); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-anim], [data-anim="stagger"] > *, .brand__divider {
    opacity: 1 !important; transform: none !important; clip-path: none !important;
  }
  .script--draw .draw path { animation: none !important; stroke-dashoffset: 0 !important; }
}
