/* ==========================================================================
   Optico — single stylesheet
   1. Tokens   2. Base   3. Layout helpers   4. Components
   5. Header   6. Hero   7. Trust row        8. Motion
   Rule: no hex code and no raw size outside the :root block.
   ========================================================================== */

/* 1. TOKENS --------------------------------------------------------------- */
:root {
  /* Brand — taken from the Optico Eyewear logo: gold on black */
  --oc-noir-900: #0B0B0C;   /* logo black: dark surfaces, headings */
  --oc-noir-800: #151412;   /* raised panels on black */
  --oc-noir-700: #2A2620;   /* hairlines on black */
  --oc-gold-700: #6E5320;   /* deep bronze: links and strong accents on light */
  --oc-gold-600: #856418;   /* accent text on light (passes 4.5:1 on ivory) */
  --oc-gold-400: #D9B45F;   /* logo gold: accents on black, buttons */
  --oc-gold-200: #F1E2B4;   /* logo highlight: the light end of the gold sweep */
  --oc-gold-100: #F4ECD8;   /* champagne tint: icon tiles, text on black */

  /* Neutrals — warm, so nothing looks grey next to the gold */
  --oc-ink: #111110;        /* body text */
  --oc-ink-2: #45413A;      /* secondary text */
  --oc-muted: #7A7368;      /* captions, meta, input borders */
  --oc-line: #E6E0D3;       /* borders on light */
  --oc-sand: #F7F2E8;       /* ivory section background */
  --oc-paper: #FBF9F4;      /* soft section background */
  --oc-white: #FFFFFF;
  --oc-on-dark: #CFC7B5;    /* body text on black */
  --oc-error: #B42318;      /* form errors, always next to words */

  /* Type */
  --oc-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --oc-h1: clamp(2.5rem, 6vw, 4.5rem);
  --oc-h2: clamp(1.9rem, 4vw, 3rem);
  --oc-h3: clamp(1.3rem, 2vw, 1.75rem);
  --oc-lead: clamp(1.0625rem, 1.4vw, 1.25rem);
  --oc-body: 1.0625rem;
  --oc-small: 0.9375rem;
  --oc-tiny: 0.8125rem;
  --oc-lh-tight: 1.05;
  --oc-lh-snug: 1.25;
  --oc-lh-body: 1.65;
  --oc-track-tight: -0.035em;
  --oc-track-wide: 0.12em;

  /* Space — one scale, no arbitrary numbers */
  --oc-s1: 4px;  --oc-s2: 8px;   --oc-s3: 12px;
  --oc-s4: 16px; --oc-s5: 24px;  --oc-s6: 32px;
  --oc-s7: 48px; --oc-s8: 64px;  --oc-s9: 96px;
  --oc-section: clamp(64px, 9vw, 128px);

  /* Layout */
  --oc-container: 1280px;
  --oc-gutter: clamp(20px, 4.5vw, 64px);
  --oc-header-h: 76px;
  --oc-tap: 44px;           /* minimum tap target */
  --oc-measure: 34rem;      /* comfortable line length */

  /* Shape, depth, motion */
  --oc-radius-sm: 12px;
  --oc-radius: 20px;
  --oc-radius-lg: 28px;
  --oc-radius-pill: 999px;
  --oc-border: 1px;
  --oc-ring: 3px;
  --oc-shadow: 0 1px 2px rgba(11, 11, 12, .06), 0 24px 48px rgba(11, 11, 12, .08);
  --oc-ease: cubic-bezier(.19, 1, .22, 1);
  --oc-dur: .5s;
  --oc-dur-fast: .2s;
}

/* 2. BASE ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--oc-header-h);
}

body {
  margin: 0;
  font-family: var(--oc-font);
  font-size: var(--oc-body);
  line-height: var(--oc-lh-body);
  color: var(--oc-ink);
  background: var(--oc-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }

h1, h2, h3 {
  font-weight: 650;
  letter-spacing: var(--oc-track-tight);
  text-wrap: balance;
}
h1 { font-size: var(--oc-h1); line-height: var(--oc-lh-tight); }
h2 { font-size: var(--oc-h2); line-height: var(--oc-lh-tight); }
h3 { font-size: var(--oc-h3); line-height: var(--oc-lh-snug); }

p { text-wrap: pretty; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: var(--oc-ring) solid var(--oc-gold-600);
  outline-offset: var(--oc-s1);
  border-radius: var(--oc-s1);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  inset-block-start: var(--oc-s2);
  inset-inline-start: var(--oc-s2);
  z-index: 100;
  padding: var(--oc-s3) var(--oc-s5);
  background: var(--oc-noir-900);
  color: var(--oc-white);
  border-radius: var(--oc-radius-sm);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* 3. LAYOUT HELPERS ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--oc-container) + 2 * var(--oc-gutter));
  margin-inline: auto;
  padding-inline: var(--oc-gutter);
}

.section { padding-block: var(--oc-section); }
.section--sand  { background: var(--oc-sand); }
.section--paper { background: var(--oc-paper); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--oc-s2);
  font-size: var(--oc-tiny);
  font-weight: 600;
  letter-spacing: var(--oc-track-wide);
  text-transform: uppercase;
  color: var(--oc-gold-600);
}
.eyebrow::before {
  content: "";
  inline-size: var(--oc-s5);
  block-size: var(--oc-border);
  background: currentColor;
}

/* 4. COMPONENTS ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--oc-s2);
  min-block-size: var(--oc-tap);
  padding: var(--oc-s3) var(--oc-s5);
  border: var(--oc-border) solid transparent;
  border-radius: var(--oc-radius-pill);
  font: inherit;
  font-size: var(--oc-small);
  font-weight: 600;
  line-height: var(--oc-lh-snug);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--oc-dur-fast) ease,
    border-color var(--oc-dur-fast) ease,
    color var(--oc-dur-fast) ease,
    transform var(--oc-dur) var(--oc-ease);
}
.btn:active { transform: scale(.98); }

/* The gold sweep from the logo belongs to buttons only. Ink text on it passes 4.5:1. */
.btn--primary { background: var(--oc-gold-400); color: var(--oc-ink); }
.btn--primary:hover { background: var(--oc-gold-200); }

.btn--ghost { border-color: var(--oc-gold-600); color: var(--oc-gold-700); }
.btn--ghost:hover { background: var(--oc-gold-600); color: var(--oc-white); }

.btn--lg { padding: var(--oc-s4) var(--oc-s6); font-size: var(--oc-body); }

.btn__arrow {
  inline-size: var(--oc-s4);
  block-size: var(--oc-s4);
  transition: transform var(--oc-dur) var(--oc-ease);
}
.btn:hover .btn__arrow { transform: translateX(var(--oc-s1)); }

/* Status never by colour alone: the dot always sits next to a word. */
.status {
  display: inline-flex;
  align-items: center;
  gap: var(--oc-s2);
  font-size: var(--oc-small);
  font-weight: 600;
}
.status__dot {
  inline-size: var(--oc-s2);
  block-size: var(--oc-s2);
  border-radius: var(--oc-radius-pill);
  background: var(--oc-muted);
}
.status[data-state="open"] .status__dot {
  background: var(--oc-gold-600);
  box-shadow: 0 0 0 var(--oc-s1) var(--oc-gold-100);
}

/* 5. HEADER --------------------------------------------------------------- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  block-size: var(--oc-header-h);
  background: var(--oc-sand);
  border-block-end: var(--oc-border) solid transparent;
  transition:
    background-color var(--oc-dur-fast) ease,
    border-color var(--oc-dur-fast) ease;
}
.site-header.is-scrolled {
  background: var(--oc-white);
  border-block-end-color: var(--oc-line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--oc-s5);
  block-size: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--oc-s2);
  min-block-size: var(--oc-tap);
  font-size: var(--oc-h3);
  font-weight: 700;
  letter-spacing: var(--oc-track-tight);
  line-height: 1;
  color: var(--oc-noir-900);
  text-decoration: none;
}
.logo__mark {
  inline-size: var(--oc-s6);
  block-size: var(--oc-s6);
  color: var(--oc-gold-600);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: var(--oc-s2);
  min-block-size: var(--oc-tap);
  padding: var(--oc-s2) var(--oc-s4);
  border: var(--oc-border) solid var(--oc-noir-900);
  border-radius: var(--oc-radius-pill);
  background: none;
  font: inherit;
  font-size: var(--oc-small);
  font-weight: 600;
  color: var(--oc-noir-900);
  cursor: pointer;
}
.nav-toggle__icon {
  position: relative;
  inline-size: var(--oc-s4);
  block-size: var(--oc-s3);
}
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  block-size: 2px;
  background: currentColor;
  transition: transform var(--oc-dur) var(--oc-ease);
}
.nav-toggle__icon::before { inset-block-start: 0; }
.nav-toggle__icon::after  { inset-block-end: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after  { transform: translateY(-5px) rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--oc-s6);
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--oc-s2);
}
.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--oc-tap);
  padding-inline: var(--oc-s3);
  font-size: var(--oc-small);
  font-weight: 500;
  color: var(--oc-ink-2);
  text-decoration: none;
  background:
    linear-gradient(var(--oc-gold-600), var(--oc-gold-600))
    no-repeat left var(--oc-s3) bottom var(--oc-s2) / 0 2px;
  transition: color var(--oc-dur-fast) ease, background-size var(--oc-dur) var(--oc-ease);
}
.site-nav__link:hover,
.site-nav__link[aria-current="page"] {
  color: var(--oc-noir-900);
  background-size: calc(100% - 2 * var(--oc-s3)) 2px;
}

@media (max-width: 959px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    inset: var(--oc-header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: var(--oc-s6);
    padding: var(--oc-s6) var(--oc-gutter) var(--oc-s7);
    background: var(--oc-white);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(calc(-1 * var(--oc-s3)));
    transition:
      opacity var(--oc-dur-fast) ease,
      transform var(--oc-dur) var(--oc-ease),
      visibility 0s linear var(--oc-dur-fast);
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav__link {
    display: flex;
    padding: var(--oc-s4) 0;
    border-block-end: var(--oc-border) solid var(--oc-line);
    font-size: var(--oc-h3);
    font-weight: 600;
    letter-spacing: var(--oc-track-tight);
    color: var(--oc-noir-900);
    background: none;
  }
  .site-nav .btn { inline-size: 100%; }

  body.has-menu-open { overflow: hidden; }
  body.has-menu-open .site-header { background: var(--oc-white); }
}

/* 6. HERO ----------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--oc-sand);
  padding-block: var(--oc-s7) var(--oc-section);
  overflow: hidden;
}
.hero > .container { position: relative; z-index: 1; }   /* the words sit above the 3D layer */

.hero__grid {
  display: grid;
  gap: var(--oc-s8);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; }
}

.hero__title {
  margin-block-start: var(--oc-s5);
  color: var(--oc-noir-900);
}
/* Short lines, one per span, on purpose — see section 9 of the plan. */
.hero__title > span { display: block; }
.hero__title em {
  font-style: normal;
  color: var(--oc-gold-600);
}

.hero__lead {
  max-inline-size: var(--oc-measure);
  margin-block-start: var(--oc-s5);
  font-size: var(--oc-lead);
  color: var(--oc-ink-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--oc-s3);
  margin-block-start: var(--oc-s6);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--oc-s2) var(--oc-s5);
  margin-block-start: var(--oc-s6);
  padding-block-start: var(--oc-s5);
  border-block-start: var(--oc-border) solid var(--oc-line);
  font-size: var(--oc-small);
  color: var(--oc-ink-2);
}
.hero__meta a {
  font-weight: 600;
  color: var(--oc-gold-700);
  text-underline-offset: var(--oc-s1);
}

/* Visual: a 3D frame over a satin ribbon (both drawn by hero-3d.js), with one glass chip. */
.hero__visual {
  position: relative;
  isolation: isolate;
  inline-size: min(100%, 38.75rem);
  aspect-ratio: 1;
  margin-inline: auto;
}
.hero__chip {
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 12%;
  display: flex;
  align-items: center;
  gap: var(--oc-s3);
  padding: var(--oc-s3) var(--oc-s5) var(--oc-s3) var(--oc-s3);
  border: var(--oc-border) solid rgba(255, 255, 255, .22);
  border-radius: var(--oc-radius);
  background: rgba(11, 11, 12, .45);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-size: var(--oc-tiny);
  line-height: 1.35;
  color: var(--oc-on-dark);
}
.hero__chip b { display: block; font-size: var(--oc-small); color: var(--oc-white); }
.hero__chip-icon {
  flex: none;
  display: grid;
  place-items: center;
  inline-size: var(--oc-tap);
  block-size: var(--oc-tap);
  border-radius: var(--oc-radius-sm);
  background: linear-gradient(100deg, var(--oc-gold-400), var(--oc-gold-200));
  color: var(--oc-noir-900);
}
.hero__chip-icon svg { inline-size: var(--oc-s5); block-size: var(--oc-s5); }
@media (max-width: 959px) {
  .hero__visual { inline-size: min(100%, 28.75rem); }
}

/* The 3D layer (hero-3d.js) fills the whole hero behind the words, so the
   frame and its satin backdrop have room to turn and come closer without being
   cut off. The frame is placed over .hero__visual. It fades in once drawn; if
   3D cannot run, a gold line drawing stands in the visual instead. */
.hero-3d {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-3d canvas {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  opacity: 0;
  transition: opacity .8s var(--oc-ease);
}
.hero-3d.is-ready canvas { opacity: 1; }
.hero__fallback {
  display: none;
  position: absolute;
  inset: 30% 20%;
  inline-size: 60%;
  block-size: auto;
}
.no-3d .hero-3d { display: none; }
.no-3d .hero__fallback { display: block; }


/* 7. TRUST ROW ------------------------------------------------------------ */
.trust__head {
  display: grid;
  gap: var(--oc-s4);
  max-inline-size: 46rem;
}
.trust__head h2 { color: var(--oc-noir-900); }

.trust__list {
  display: grid;
  margin-block-start: var(--oc-s8);
  border-block-start: var(--oc-border) solid var(--oc-line);
}
.trust__item {
  display: grid;
  align-content: start;
  gap: var(--oc-s3);
  padding-block: var(--oc-s6);
  border-block-end: var(--oc-border) solid var(--oc-line);
}
.trust__icon {
  display: grid;
  place-items: center;
  inline-size: var(--oc-s7);
  block-size: var(--oc-s7);
  margin-block-end: var(--oc-s2);
  border-radius: var(--oc-radius-sm);
  background: var(--oc-gold-100);
  color: var(--oc-gold-700);
}
.trust__icon svg { inline-size: var(--oc-s5); block-size: var(--oc-s5); }
.trust__item h3 { color: var(--oc-noir-900); }
.trust__item p  { color: var(--oc-ink-2); max-inline-size: var(--oc-measure); }
.trust__fact {
  font-size: var(--oc-small);
  font-weight: 600;
  color: var(--oc-gold-700);
}

@media (min-width: 800px) {
  .trust__list { grid-template-columns: repeat(3, 1fr); }
  .trust__item {
    padding: var(--oc-s6) var(--oc-s6) var(--oc-s2);
    border-block-end: 0;
    border-inline-start: var(--oc-border) solid var(--oc-line);
  }
  .trust__item:first-child { padding-inline-start: 0; border-inline-start: 0; }
  .trust__item:last-child  { padding-inline-end: 0; }
}

/* 7a. SECTION HEAD (shared pattern) --------------------------------------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--oc-s5);
}
.section-head__copy {
  display: grid;
  gap: var(--oc-s4);
  max-inline-size: 46rem;
}
.section-head h2 { color: var(--oc-noir-900); }

/* 7b. SERVICES ------------------------------------------------------------ */
.services__grid {
  display: grid;
  gap: var(--oc-s4);
  margin-block-start: var(--oc-s8);
}
/* Six cards: 1 column, then 2×3, then 3×2 — never a row with a gap in it. */
@media (min-width: 640px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--oc-s3);
  padding: var(--oc-s6);
  border: var(--oc-border) solid var(--oc-line);
  border-radius: var(--oc-radius);
  background: var(--oc-white);
  transition:
    border-color var(--oc-dur-fast) ease,
    box-shadow var(--oc-dur) var(--oc-ease),
    translate var(--oc-dur) var(--oc-ease);
}
.card:hover,
.card:focus-within {
  border-color: var(--oc-gold-400);
  box-shadow: var(--oc-shadow);
  translate: 0 calc(-1 * var(--oc-s1));
}
.card__num {
  margin-block-end: var(--oc-s5);
  font-size: var(--oc-small);
  font-weight: 600;
  letter-spacing: var(--oc-track-wide);
  color: var(--oc-gold-600);
}
.card h3 { color: var(--oc-noir-900); }
.card p  { color: var(--oc-ink-2); }

/* The whole card is the link's hit area; the link text stays the heading. */
.card__link { text-decoration: none; }
.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.card__link:focus-visible { outline: none; }
.card__link:focus-visible::after {
  outline: var(--oc-ring) solid var(--oc-gold-600);
  outline-offset: var(--oc-s1);
}
.card__more {
  margin-block-start: var(--oc-s3);
  font-size: var(--oc-small);
  font-weight: 600;
  color: var(--oc-gold-700);
}
.card__more::after {
  content: "→";
  display: inline-block;
  margin-inline-start: var(--oc-s2);
  transition: translate var(--oc-dur) var(--oc-ease);
}
.card:hover .card__more::after { translate: var(--oc-s1) 0; }

/* 7c. EYE-TEST STEPS ------------------------------------------------------ */
.steps {
  background: var(--oc-noir-900);
  color: var(--oc-white);
}
.steps .eyebrow { color: var(--oc-gold-400); }
.steps :focus-visible { outline-color: var(--oc-gold-400); }

.steps__grid {
  display: grid;
  gap: var(--oc-s8);
}
.steps__head {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: var(--oc-s4);
}
/* Title wrapper: no box of its own, except on phones (section 10) */
.steps__title { display: contents; }
.steps__lead {
  max-inline-size: var(--oc-measure);
  margin-block-end: var(--oc-s4);
  font-size: var(--oc-lead);
  color: var(--oc-gold-100);
}

@media (min-width: 960px) {
  .steps__grid { grid-template-columns: .9fr 1.1fr; }
  .steps__head {
    position: sticky;
    inset-block-start: calc(var(--oc-header-h) + var(--oc-s7));
    align-self: start;
  }
}

.steps__list { display: grid; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--oc-s5);
  padding-block: var(--oc-s6);
  border-block-start: var(--oc-border) solid var(--oc-gold-700);
}
.step:last-child { border-block-end: var(--oc-border) solid var(--oc-gold-700); }

.step__num {
  display: grid;
  place-items: center;
  inline-size: var(--oc-s7);
  block-size: var(--oc-s7);
  border: var(--oc-border) solid var(--oc-gold-400);
  border-radius: var(--oc-radius-pill);
  font-size: var(--oc-h3);
  font-weight: 650;
  line-height: 1;
  color: var(--oc-gold-400);
}
.step__body {
  display: grid;
  gap: var(--oc-s2);
}
.step__time {
  font-size: var(--oc-tiny);
  font-weight: 600;
  letter-spacing: var(--oc-track-wide);
  text-transform: uppercase;
  color: var(--oc-gold-400);
}
.step__body > p:last-child {
  max-inline-size: var(--oc-measure);
  color: var(--oc-gold-100);
}

/* 7d. LENSES AND BRANDS ---------------------------------------------------- */
.lenses__grid {
  display: grid;
  gap: var(--oc-s8);
}
@media (min-width: 960px) {
  .lenses__grid { grid-template-columns: .9fr 1.1fr; }
}
.lenses h2 { color: var(--oc-noir-900); }
.lenses__lead {
  max-inline-size: var(--oc-measure);
  font-size: var(--oc-lead);
  color: var(--oc-ink-2);
}

.lenses__list {
  display: grid;
  gap: var(--oc-s6) var(--oc-s7);
  align-content: start;
}
@media (min-width: 640px) {
  .lenses__list { grid-template-columns: repeat(2, 1fr); }
}
.lens {
  display: grid;
  align-content: start;
  gap: var(--oc-s2);
  padding-block-start: var(--oc-s5);
  border-block-start: 2px solid var(--oc-gold-600);
}
.lens h3 { color: var(--oc-noir-900); }
.lens p  { color: var(--oc-ink-2); }

/* 7e. BRANCH CARD --------------------------------------------------------- */
.branch-card {
  display: grid;
  margin-block-start: var(--oc-s8);
  border-radius: var(--oc-radius-lg);
  background: var(--oc-white);
  box-shadow: var(--oc-shadow);
  overflow: hidden;
}
@media (min-width: 960px) {
  .branch-card { grid-template-columns: 1.1fr .9fr; }
}

.branch-card__info {
  display: grid;
  align-content: start;
  gap: var(--oc-s6);
  padding: clamp(var(--oc-s5), 4vw, var(--oc-s7));
}
.branch-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--oc-s3) var(--oc-s5);
}
.branch-card__top h3 { color: var(--oc-noir-900); }
.branch-card__top .status { color: var(--oc-ink-2); }
.branch-card__top .status[data-state="open"] { color: var(--oc-gold-700); }

.branch-card__facts {
  display: grid;
  margin: 0;
  border-block-start: var(--oc-border) solid var(--oc-line);
}
.branch-card__facts > div {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: var(--oc-s4);
  padding-block: var(--oc-s4);
  border-block-end: var(--oc-border) solid var(--oc-line);
}
.branch-card__facts dt {
  font-size: var(--oc-small);
  color: var(--oc-ink-2);
}
.branch-card__facts dd {
  margin: 0;
  font-weight: 600;
  color: var(--oc-ink);
}
.branch-card__facts a {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--oc-tap);
  margin-block: calc(-1 * var(--oc-s3));
  color: var(--oc-gold-700);
  text-underline-offset: var(--oc-s1);
}

.branch-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--oc-s3);
}
.branch-card__more {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-block-size: var(--oc-tap);
  font-size: var(--oc-small);
  font-weight: 600;
  color: var(--oc-gold-700);
  text-underline-offset: var(--oc-s1);
}

.branch-card__map {
  position: relative;
  display: grid;
  place-items: center;
  min-block-size: 18rem;
  color: var(--oc-gold-600);
  text-decoration: none;
  background:
    linear-gradient(115deg, transparent 46%, var(--oc-white) 46% 50%, transparent 50%),
    linear-gradient(25deg,  transparent 58%, var(--oc-white) 58% 61%, transparent 61%),
    repeating-linear-gradient(0deg,  transparent 0 var(--oc-s7), var(--oc-white) var(--oc-s7) calc(var(--oc-s7) + 2px)),
    repeating-linear-gradient(90deg, transparent 0 var(--oc-s8), var(--oc-white) var(--oc-s8) calc(var(--oc-s8) + 2px)),
    var(--oc-gold-100);
}
.branch-card__map:focus-visible { outline-offset: calc(-2 * var(--oc-ring)); }
.branch-card__pin {
  inline-size: var(--oc-s7);
  filter: drop-shadow(0 var(--oc-s2) var(--oc-s3) rgba(11, 11, 12, .25));
  transition: translate var(--oc-dur) var(--oc-ease);
}
.branch-card__pin-dot { fill: var(--oc-white); }
.branch-card__map:hover .branch-card__pin { translate: 0 calc(-1 * var(--oc-s2)); }
.branch-card__map-label {
  position: absolute;
  inset-block-end: var(--oc-s4);
  inset-inline-start: var(--oc-s4);
  padding: var(--oc-s2) var(--oc-s4);
  border-radius: var(--oc-radius-pill);
  background: var(--oc-white);
  font-size: var(--oc-small);
  font-weight: 600;
  color: var(--oc-noir-900);
  box-shadow: var(--oc-shadow);
}

/* 7f. LEARN CARDS ---------------------------------------------------------- */
.learn__grid {
  display: grid;
  gap: var(--oc-s4);
  margin-block-start: var(--oc-s8);
}
@media (min-width: 960px) { .learn__grid { grid-template-columns: repeat(3, 1fr); } }
.learn .card__num { letter-spacing: 0; }

/* 7g. CLOSING CALL TO ACTION ---------------------------------------------- */
.cta__panel {
  display: grid;
  justify-items: start;
  gap: var(--oc-s4);
  padding: clamp(var(--oc-s6), 7vw, var(--oc-s9));
  border-radius: var(--oc-radius-lg);
  background:
    radial-gradient(90% 120% at 100% 0%, var(--oc-gold-600) 0%, transparent 60%),
    linear-gradient(160deg, var(--oc-gold-700), var(--oc-noir-900));
  color: var(--oc-white);
}
.cta__panel .eyebrow { color: var(--oc-gold-400); }
.cta__panel :focus-visible { outline-color: var(--oc-gold-400); }
.cta__lead {
  max-inline-size: var(--oc-measure);
  font-size: var(--oc-lead);
  color: var(--oc-gold-100);
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--oc-s3);
  margin-block-start: var(--oc-s4);
}
.btn--light { border-color: var(--oc-gold-400); color: var(--oc-white); }
.btn--light:hover { background: var(--oc-white); border-color: var(--oc-white); color: var(--oc-noir-900); }

/* 7h. FOOTER --------------------------------------------------------------- */
.site-footer {
  padding-block-start: var(--oc-s9);
  background: var(--oc-noir-900);
  color: var(--oc-gold-100);
  font-size: var(--oc-small);
  overflow: hidden;
}
.site-footer :focus-visible { outline-color: var(--oc-gold-400); }
.site-footer__grid {
  display: grid;
  gap: var(--oc-s7) var(--oc-s6);
}
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.logo--light { color: var(--oc-white); }
.logo--light .logo__mark { color: var(--oc-gold-400); }
.site-footer__brand p {
  max-inline-size: 22rem;
  margin-block-start: var(--oc-s4);
}
.site-footer__title {
  margin-block-end: var(--oc-s3);
  font-size: var(--oc-tiny);
  font-weight: 600;
  line-height: var(--oc-lh-body);
  letter-spacing: var(--oc-track-wide);
  text-transform: uppercase;
  color: var(--oc-gold-400);
}
.site-footer__list { display: grid; }
.site-footer__list li {
  display: flex;
  align-items: center;
  gap: var(--oc-s1);
  min-block-size: var(--oc-tap);
}
.site-footer a:not(.logo) {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--oc-tap);
  color: var(--oc-white);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat left bottom var(--oc-s3) / 0 var(--oc-border);
  transition: background-size var(--oc-dur) var(--oc-ease);
}
.site-footer a:not(.logo):hover { background-size: 100% var(--oc-border); }

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--oc-s2) var(--oc-s6);
  margin-block-start: var(--oc-s8);
  padding-block: var(--oc-s4);
  border-block-start: var(--oc-border) solid var(--oc-gold-700);
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--oc-s5);
}

/* The outline wordmark that rises into place as the page reaches its end */
.site-footer__word-wrap { overflow: clip; }
.site-footer__word {
  margin-block-end: -.14em;
  font-size: clamp(6rem, 27vw, 26rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: var(--oc-track-tight);
  text-align: center;
  color: transparent;
  -webkit-text-stroke: var(--oc-border) var(--oc-gold-600);
  user-select: none;
}

/* 7i. PAGE HERO (inner pages) ---------------------------------------------- */
.page-hero {
  padding-block: var(--oc-s8) var(--oc-s8);
  background: var(--oc-sand);
}
.page-hero h1 {
  margin-block-start: var(--oc-s5);
  color: var(--oc-noir-900);
}
.page-hero__lead {
  max-inline-size: var(--oc-measure);
  margin-block-start: var(--oc-s5);
  font-size: var(--oc-lead);
  color: var(--oc-ink-2);
}

/* 7j. BOOKING -------------------------------------------------------------- */
.booking { padding-block-start: var(--oc-s8); }
.booking__grid {
  display: grid;
  gap: var(--oc-s7);
  align-items: start;
}
@media (min-width: 960px) {
  .booking__grid { grid-template-columns: 1.2fr .8fr; gap: var(--oc-s8); }
}
.booking__card {
  padding: clamp(var(--oc-s5), 4vw, var(--oc-s7));
  border: var(--oc-border) solid var(--oc-line);
  border-radius: var(--oc-radius-lg);
  background: var(--oc-white);
  box-shadow: var(--oc-shadow);
}

.form { display: grid; gap: var(--oc-s5); }
.form[hidden] { display: none; }
.form__title { font-size: var(--oc-h3); line-height: var(--oc-lh-snug); color: var(--oc-noir-900); }
.field { display: grid; gap: var(--oc-s2); }
.field label { font-size: var(--oc-small); font-weight: 600; color: var(--oc-ink); }
.field input,
.field select,
.field textarea {
  inline-size: 100%;
  min-block-size: calc(var(--oc-tap) + var(--oc-s2));
  padding: var(--oc-s3) var(--oc-s4);
  border: var(--oc-border) solid var(--oc-muted);
  border-radius: var(--oc-radius-sm);
  background: var(--oc-white);
  font: inherit;
  color: var(--oc-ink);
  transition: border-color var(--oc-dur-fast) ease, box-shadow var(--oc-dur-fast) ease;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--oc-gold-600); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--oc-gold-600);
  box-shadow: 0 0 0 var(--oc-ring) var(--oc-gold-100);
}
.field textarea { resize: vertical; line-height: var(--oc-lh-body); }
.field [aria-invalid="true"] { border-color: var(--oc-error); }
/* Mobile number: the country code box shows just the code ("+971"); the real
   list is the phone's own picker, a see-through select laid over the box. */
.phone { display: flex; gap: var(--oc-s2); }
.phone input { flex: 1; min-inline-size: 0; }
.phone__code {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--oc-s2);
  min-inline-size: 5.75em;
  min-block-size: calc(var(--oc-tap) + var(--oc-s2));
  padding: 0 var(--oc-s3) 0 var(--oc-s4);
  border: var(--oc-border) solid var(--oc-muted);
  border-radius: var(--oc-radius-sm);
  background: var(--oc-white);
  color: var(--oc-ink);
  font-variant-numeric: tabular-nums;
  transition: border-color var(--oc-dur-fast) ease, box-shadow var(--oc-dur-fast) ease;
}
.phone__code::after {
  content: "";
  inline-size: .45em;
  block-size: .45em;
  border-inline-end: 1.5px solid var(--oc-ink-2);
  border-block-end: 1.5px solid var(--oc-ink-2);
  transform: translateY(-25%) rotate(45deg);
}
.field .phone__code select {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  min-block-size: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  font-size: 1rem;
  cursor: pointer;
}
.phone__code:hover { border-color: var(--oc-gold-600); }
.phone__code:has(select:focus-visible) {
  border-color: var(--oc-gold-600);
  box-shadow: 0 0 0 var(--oc-ring) var(--oc-gold-100);
}
.field__hint { font-size: var(--oc-small); color: var(--oc-ink-2); }
.field__error { font-size: var(--oc-small); font-weight: 600; color: var(--oc-error); }
.field__error::before { content: "Check this: "; }
.form__submit { justify-self: start; margin-block-start: var(--oc-s2); }
.form__note { font-size: var(--oc-small); color: var(--oc-ink-2); }
.form__note a { color: var(--oc-gold-700); font-weight: 600; text-underline-offset: var(--oc-s1); }

.form-done { display: grid; justify-items: start; gap: var(--oc-s4); }
.form-done[hidden] { display: none; }
.form-done [hidden] { display: none; }
.form-done:focus { outline: none; }
.form-done__icon {
  display: grid;
  place-items: center;
  inline-size: var(--oc-s8);
  block-size: var(--oc-s8);
  border-radius: var(--oc-radius-pill);
  background: var(--oc-gold-100);
  color: var(--oc-gold-700);
}
.form-done__icon svg { inline-size: var(--oc-s6); block-size: var(--oc-s6); }
/* "Not sent yet": an exclamation mark on a soft red, so it never reads as success */
.form-done__icon--unsent { background: #FBECE8; color: var(--oc-error); }
.form-done h2 { font-size: var(--oc-h2); color: var(--oc-noir-900); }
.form-done p { max-inline-size: var(--oc-measure); color: var(--oc-ink-2); }
.form-done strong { color: var(--oc-ink); }
.form-done__actions { display: flex; flex-wrap: wrap; gap: var(--oc-s3); margin-block-start: var(--oc-s2); }

.booking__aside { display: grid; }
.aside-block {
  display: grid;
  justify-items: start;
  gap: var(--oc-s3);
  padding-block: var(--oc-s6);
  border-block-start: var(--oc-border) solid var(--oc-line);
}
.aside-block:first-child { padding-block-start: 0; border-block-start: 0; }
.aside-block h2 { font-size: var(--oc-h3); line-height: var(--oc-lh-snug); color: var(--oc-noir-900); }
.aside-block p { color: var(--oc-ink-2); }
.aside-block .status { color: var(--oc-ink-2); }
.aside-block .status[data-state="open"] { color: var(--oc-gold-700); }
.aside-block__actions { display: flex; flex-wrap: wrap; gap: var(--oc-s3); margin-block-start: var(--oc-s2); }
.aside-block__link {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--oc-tap);
  font-size: var(--oc-small);
  font-weight: 600;
  color: var(--oc-gold-700);
  text-underline-offset: var(--oc-s1);
}
.aside-block__list {
  display: grid;
  gap: var(--oc-s2);
  color: var(--oc-ink-2);
}
.aside-block__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--oc-s3);
}
.aside-block__list li::before {
  content: "";
  inline-size: var(--oc-s2);
  block-size: var(--oc-s2);
  margin-block-start: .6em;
  border-radius: var(--oc-radius-pill);
  background: var(--oc-gold-600);
}

/* 7k. BRANCH PAGE ---------------------------------------------------------- */
.page-hero__split {
  display: grid;
  gap: var(--oc-s7);
  align-items: center;
}
@media (min-width: 960px) {
  .page-hero__split { grid-template-columns: 1.1fr .9fr; gap: var(--oc-s8); }
}
.branch-hero__status {
  margin-block-start: var(--oc-s5);
  color: var(--oc-ink-2);
}
.branch-hero__status[data-state="open"] { color: var(--oc-gold-700); }
.branch-hero__status + .page-hero__lead { margin-block-start: var(--oc-s2); }

/* Dashed = empty slot waiting for a real photograph. Never ship a dashed box. */
.photo-slot {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border: var(--oc-border) dashed var(--oc-muted);
  border-radius: var(--oc-radius-lg);
  background: var(--oc-gold-100);
  font-size: var(--oc-small);
  color: var(--oc-ink-2);
}
/* Filled from the admin (Photos): the dashed box becomes the photograph */
.photo-slot.has-photo,
.page-hero .photo-slot.has-photo { overflow: hidden; border: 0; background: none; }
.photo-slot.has-photo img { inline-size: 100%; block-size: 100%; object-fit: cover; }

.visit__grid {
  display: grid;
  gap: var(--oc-s6);
  align-items: start;
  margin-block-start: var(--oc-s8);
}
@media (min-width: 960px) {
  .visit__grid { grid-template-columns: .8fr 1.2fr; gap: var(--oc-s8); }
}

.hours {
  inline-size: 100%;
  border-collapse: collapse;
  border-block-start: var(--oc-border) solid var(--oc-line);
}
.hours th,
.hours td {
  padding-block: var(--oc-s4);
  border-block-end: var(--oc-border) solid var(--oc-line);
  font-weight: 400;
  text-align: start;
  color: var(--oc-ink-2);
}
.hours td { text-align: end; font-variant-numeric: tabular-nums; }
.hours .is-today th,
.hours .is-today td { font-weight: 650; color: var(--oc-noir-900); }
.hours__today {
  margin-inline-start: var(--oc-s3);
  padding: var(--oc-s1) var(--oc-s3);
  border-radius: var(--oc-radius-pill);
  background: var(--oc-gold-100);
  font-size: var(--oc-tiny);
  font-weight: 600;
  color: var(--oc-gold-700);
}
.visit__note {
  margin-block-start: var(--oc-s4);
  font-size: var(--oc-small);
  color: var(--oc-ink-2);
}

.visit__map {
  border: var(--oc-border) solid var(--oc-line);
  border-radius: var(--oc-radius-lg);
  background: var(--oc-white);
  box-shadow: var(--oc-shadow);
  overflow: hidden;
}
.visit__frame {
  display: block;
  inline-size: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  background: var(--oc-gold-100);
}
.visit__address {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--oc-s3) var(--oc-s5);
  padding: var(--oc-s5);
  font-weight: 600;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--oc-s3);
  margin-block-start: var(--oc-s7);
}
.pills li {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--oc-tap);
  padding: var(--oc-s2) var(--oc-s5);
  border: var(--oc-border) solid var(--oc-line);
  border-radius: var(--oc-radius-pill);
  background: var(--oc-white);
  font-weight: 600;
  color: var(--oc-noir-900);
}

/* 7l. SERVICES PAGE -------------------------------------------------------- */
/* Six cards, after the reference service grid: 3 across, 2 on tablets, 1 on
   phones. Icon tile and number at the top; the button sits at the foot so the
   buttons line up across a row. Hover lifts the card (translate, so it never
   fights the stagger reveal, which animates transform). */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 1100px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .service-grid { grid-template-columns: minmax(0, 1fr); } }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--oc-s2);
  padding: clamp(20px, 2vw, 26px);
  border: var(--oc-border) solid var(--oc-line);
  border-radius: var(--oc-radius);
  background: var(--oc-white);
  scroll-margin-block-start: var(--oc-s5);
  transition:
    translate .7s var(--oc-ease),
    box-shadow .7s var(--oc-ease),
    border-color .4s ease;
}
.service-card:hover,
.service-card:focus-within,
.service-card:target {
  translate: 0 -6px;
  border-color: transparent;
  box-shadow: 0 2px 6px rgba(11, 11, 12, .04), 0 30px 60px -28px rgba(110, 83, 32, .32);
}
.service-card:target { border-color: var(--oc-gold-400); }
.service-card__num {
  position: absolute;
  inset-block-start: 20px;
  inset-inline-end: 22px;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--oc-muted);
}
.service-card__icon {
  display: grid;
  place-items: center;
  inline-size: 46px;
  block-size: 46px;
  margin-block-end: var(--oc-s2);
  border-radius: 14px;
  background: var(--oc-gold-100);
  color: var(--oc-gold-700);
  transition: background-color .5s ease, color .5s ease;
}
.service-card__icon svg {
  inline-size: 22px;
  block-size: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card:hover .service-card__icon,
.service-card:focus-within .service-card__icon,
.service-card:target .service-card__icon {
  background: var(--oc-noir-900);
  color: var(--oc-gold-400);
}
.service-card__title {
  font-size: clamp(1.125rem, 1.4vw, 1.3rem);
  line-height: var(--oc-lh-snug);
  text-wrap: balance;
  color: var(--oc-noir-900);
}
.service-card__text { font-size: var(--oc-small); line-height: 1.55; color: var(--oc-ink-2); }
.service-card__detail {
  display: grid;
  gap: var(--oc-s2);
  align-self: stretch;
  margin-block-start: var(--oc-s1);
  padding-block-start: var(--oc-s3);
  border-block-start: var(--oc-border) solid var(--oc-line);
}
.service-card__detail h3 {
  font-size: var(--oc-tiny);
  font-weight: 600;
  line-height: var(--oc-lh-body);
  letter-spacing: var(--oc-track-wide);
  text-transform: uppercase;
  color: var(--oc-gold-700);
}
.service-card__list {
  display: grid;
  gap: var(--oc-s1);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--oc-tiny);
  line-height: 1.5;
  color: var(--oc-ink-2);
}
.service-card__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--oc-s2);
}
.service-card__list li::before {
  content: "";
  inline-size: 5px;
  block-size: 5px;
  margin-block-start: .62em;
  border-radius: var(--oc-radius-pill);
  background: var(--oc-gold-400);
}
.service-card__guide {
  font-size: var(--oc-tiny);
  font-weight: 600;
  line-height: 1.5;
  color: var(--oc-gold-700);
  text-underline-offset: var(--oc-s1);
}
/* auto pushes the button to the foot; the margin above keeps a minimum gap */
.service-card__detail, .service-card__guide { margin-block-end: var(--oc-s2); }
.service-card__btn {
  margin-block-start: auto;
  min-block-size: 40px;
  padding: var(--oc-s2) var(--oc-s4);
  font-size: var(--oc-tiny);
}
@media (prefers-reduced-motion: reduce) {
  .service-card, .service-card__icon { transition: none; }
  .service-card:hover, .service-card:focus-within, .service-card:target { translate: none; }
}

/* 7m. LEARN HUB AND GUIDES ------------------------------------------------- */
.learn .lenses__lead { color: var(--oc-ink-2); }

/* A guide that is planned but not written: no link, dashed, says so in words */
.card--soon {
  border-style: dashed;
  border-color: var(--oc-muted);
  background: transparent;
}
.card--soon:hover { border-color: var(--oc-muted); box-shadow: none; translate: none; }
.card--soon .card__num { color: var(--oc-ink-2); }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--oc-s2);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--oc-small);
  color: var(--oc-ink-2);
}
.crumbs li + li::before {
  content: "/";
  margin-inline-end: var(--oc-s2);
  color: var(--oc-muted);
}
.crumbs a {
  color: var(--oc-gold-700);
  font-weight: 600;
  text-underline-offset: var(--oc-s1);
}
.guide__title {
  max-inline-size: 22ch;
  font-size: var(--oc-h2);
}
.guide__meta {
  margin-block-start: var(--oc-s4);
  font-size: var(--oc-small);
  font-weight: 600;
  color: var(--oc-gold-700);
}

.guide__grid {
  display: grid;
  gap: var(--oc-s8);
  align-items: start;
}
@media (min-width: 960px) {
  .guide__grid { grid-template-columns: minmax(0, 1fr) 20rem; }
  .guide__aside { position: sticky; inset-block-start: calc(var(--oc-header-h) + var(--oc-s6)); }
}
.guide__aside {
  display: grid;
  justify-items: start;
  gap: var(--oc-s4);
  padding: var(--oc-s6);
  border-radius: var(--oc-radius);
  background: var(--oc-sand);
}
.guide__aside h2 { font-size: var(--oc-h3); line-height: var(--oc-lh-snug); color: var(--oc-noir-900); }
.guide__aside p { color: var(--oc-ink-2); }

/* Long-form text: one comfortable column, generous rhythm */
.prose { max-inline-size: 42rem; }
.prose > * + * { margin-block-start: var(--oc-s5); }
.prose h2 {
  margin-block-start: var(--oc-s8);
  font-size: var(--oc-h3);
  line-height: var(--oc-lh-snug);
  color: var(--oc-noir-900);
}
.prose > h2:first-child { margin-block-start: 0; }
.prose h2 + * { margin-block-start: var(--oc-s3); }
.prose p, .prose li { color: var(--oc-ink-2); }
.prose strong { color: var(--oc-ink); }
.prose ul {
  display: grid;
  gap: var(--oc-s3);
  padding-inline-start: var(--oc-s5);
}
.prose li::marker { color: var(--oc-gold-600); }
.prose a { color: var(--oc-gold-700); font-weight: 600; text-underline-offset: var(--oc-s1); }
.prose__table { overflow-x: auto; }
.prose table {
  inline-size: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.prose th, .prose td {
  padding: var(--oc-s3) var(--oc-s4);
  border-block-end: var(--oc-border) solid var(--oc-line);
  text-align: start;
  white-space: nowrap;
}
.prose thead th {
  font-size: var(--oc-tiny);
  letter-spacing: var(--oc-track-wide);
  text-transform: uppercase;
  color: var(--oc-gold-700);
  background: var(--oc-paper);
}
.prose tbody th { color: var(--oc-ink); }
.prose__note {
  margin-block-start: var(--oc-s8);
  padding: var(--oc-s5);
  border-inline-start: var(--oc-ring) solid var(--oc-gold-600);
  border-radius: var(--oc-radius-sm);
  background: var(--oc-paper);
  font-size: var(--oc-small);
}

/* 7n. PRODUCTS: STATEMENT, FEATURE CARDS, MARQUEE --------------------------- */
h2.eyebrow { line-height: var(--oc-lh-body); }

.statement {
  max-inline-size: 22em;
  margin-block-start: var(--oc-s5);
  font-size: clamp(1.5rem, 3.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: var(--oc-track-tight);
  color: var(--oc-noir-900);
}
.statement__hl { color: var(--oc-gold-600); }

.feature-cards {
  display: grid;
  gap: var(--oc-s4);
  max-inline-size: 56rem;
  margin-block-start: var(--oc-s8);
}
@media (min-width: 640px) { .feature-cards { grid-template-columns: repeat(2, 1fr); } }

.feature-card {
  display: grid;
  align-content: start;
  gap: var(--oc-s3);
  padding: var(--oc-s6);
  border: var(--oc-border) solid var(--oc-line);
  border-radius: var(--oc-radius);
  background: var(--oc-white);
  transition:
    border-color var(--oc-dur-fast) ease,
    box-shadow var(--oc-dur) var(--oc-ease),
    translate var(--oc-dur) var(--oc-ease);
}
.feature-card:hover {
  border-color: transparent;
  box-shadow: var(--oc-shadow);
  translate: 0 calc(-1 * var(--oc-s2));
}
.feature-card__icon {
  display: grid;
  place-items: center;
  inline-size: var(--oc-s7);
  block-size: var(--oc-s7);
  margin-block-end: var(--oc-s3);
  border-radius: var(--oc-radius-sm);
  background: var(--oc-gold-100);
  color: var(--oc-gold-700);
  transition: background-color var(--oc-dur-fast) ease, color var(--oc-dur-fast) ease;
}
.feature-card:hover .feature-card__icon { background: var(--oc-noir-900); color: var(--oc-white); }
.feature-card__icon svg { inline-size: var(--oc-s5); block-size: var(--oc-s5); }
.feature-card h3 { font-size: var(--oc-body); font-weight: 650; letter-spacing: 0; color: var(--oc-noir-900); }
.feature-card p  { font-size: var(--oc-small); color: var(--oc-ink-2); }

.marquee-band {
  position: relative;
  padding-block: var(--oc-s7);
  background: var(--oc-noir-900);
  color: var(--oc-white);
  overflow: hidden;
}
.marquee { overflow: hidden; }
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: var(--oc-s7);
  padding-inline-end: var(--oc-s7);
  white-space: nowrap;
  will-change: transform;
}
.marquee__item {
  font-size: clamp(2.125rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: -.045em;
}
.marquee__item--outline {
  color: transparent;
  -webkit-text-stroke: 1.2px var(--oc-white);
}
.marquee__dot {
  flex: none;
  inline-size: var(--oc-s4);
  block-size: var(--oc-s4);
  border-radius: var(--oc-radius-pill);
  background: var(--oc-gold-400);
}
/* Without motion the words simply wrap; nothing to pause, so no button */
html:not(.motion) .marquee__track { flex-wrap: wrap; white-space: normal; padding-inline: var(--oc-gutter); }
.marquee__toggle {
  position: absolute;
  inset-block-end: var(--oc-s2);
  inset-inline-end: var(--oc-gutter);
  z-index: 1;
  display: none;
  place-items: center;
  inline-size: var(--oc-tap);
  block-size: var(--oc-tap);
  border: 0;
  border-radius: var(--oc-radius-pill);
  background: none;
  color: var(--oc-gold-100);
  cursor: pointer;
}
.motion .marquee__toggle { display: grid; }
.marquee__toggle:hover { color: var(--oc-white); }
.marquee__toggle:focus-visible { outline-color: var(--oc-gold-400); }
.marquee__toggle svg { inline-size: var(--oc-s4); block-size: var(--oc-s4); fill: currentColor; }
.marquee__play { display: none; }
.marquee__toggle[aria-pressed="true"] .marquee__pause { display: none; }
.marquee__toggle[aria-pressed="true"] .marquee__play  { display: block; }

/* Brands in our stores: logos drift by in a light band under the products,
   shown in one grey so different brands sit together, darkening on hover.
   A brand without a logo yet shows its name in spaced capitals. */
.brands { margin-block-start: var(--oc-s9); }
.brands__title {
  margin-block-end: var(--oc-s6);
  font-size: var(--oc-tiny);
  font-weight: 600;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
  color: var(--oc-ink-2);
}
.brands__band {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-block: var(--oc-border) solid var(--oc-line);
}
.motion .brands__marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.brands__track {
  gap: clamp(3rem, 7vw, 6.5rem);
  padding-inline-end: clamp(3rem, 7vw, 6.5rem);
  margin: 0;
  padding-block: 0;
  list-style: none;
}
html:not(.motion) .brands__track { justify-content: center; row-gap: var(--oc-s6); }
.brands__item {
  display: flex;
  flex: none;
  align-items: center;
  block-size: 4.5rem;
}
.brands { --logo-scale: 1.2; }
/* Each logo's size comes from the server (--w, --h), worked out so every logo
   covers about the same area; without them a logo is simply 36px tall. */
.brands__logo {
  display: block;
  inline-size: calc(var(--w, 120) * 1px * var(--logo-scale));
  block-size: calc(var(--h, 36) * 1px * var(--logo-scale));
  object-fit: contain;
  filter: grayscale(1) brightness(0);
  opacity: .75;
  transition: opacity var(--oc-dur-fast) ease;
}
.brands__name {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--oc-ink);
  opacity: .75;
  transition: opacity var(--oc-dur-fast) ease;
}
.brands__item:hover .brands__logo,
.brands__item:hover .brands__name { opacity: 1; }
.brands__toggle {
  inset-block: 50% auto;
  inset-inline-end: var(--oc-s2);
  translate: 0 -50%;
  background: var(--oc-white);
  color: var(--oc-ink-2);
}
.brands__toggle:hover { color: var(--oc-noir-900); }
.brands__toggle:focus-visible { outline-color: var(--oc-gold-700); }
@media (max-width: 599px) {
  .brands__item { block-size: 3.25rem; }
  .brands { --logo-scale: .88; }
  .brands__name { font-size: 1.0625rem; }
}

/* 7y. OUR COLLECTIONS ------------------------------------------------------ */
/* A row of cards drifting sideways in a slow loop (main.js). It stops under
   the pointer or keyboard focus and can be dragged or swiped through.
   Each card's photo space (filled in the admin, Photos) shows a gold drawing
   on the hero's warm dark gradient until a photo is added. Without motion
   the cards sit in a grid. */
.collections { background: var(--oc-sand); overflow: hidden; }
.collections__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--oc-s5);
  margin-block-end: var(--oc-s7);
}
.collections__head h2 { max-inline-size: 18ch; margin-block-start: var(--oc-s4); }
.collections__band { position: relative; padding-block-end: var(--oc-s7); }
.collections__marquee {
  touch-action: pan-y;               /* sideways swipes move the row; up and down still scroll the page */
  -webkit-user-select: none;
  user-select: none;
}
.motion .collections__marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  cursor: grab;
}
.motion .collections__marquee.is-dragging { cursor: grabbing; }
.collections__marquee .collections__track {   /* outranks the list reset (ul[class]) so the padding applies */
  align-items: stretch;
  gap: var(--oc-s5);
  margin: 0;
  padding-block: var(--oc-s8);
  padding-inline-end: var(--oc-s5);
  list-style: none;
}
.collection {
  --focus: 1;                          /* 1 in the middle of the row, towards 0 at its edges (main.js) */
  display: flex;
  flex: none;
  inline-size: clamp(20rem, 32vw, 28rem);
  white-space: normal;
}
/* The whole card is the photograph; the number, title and description sit
   on a dark gradient. As the row moves, each card grows and brightens while
   it passes the middle and settles back towards the edges (--focus, set by
   main.js). On hover it also lifts, a gold hairline lights around it and the
   photo eases closer. Touch screens get a small press. */
.collection__link {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  inline-size: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--oc-radius-lg);
  background: var(--oc-noir-900);
  color: var(--oc-white);
  text-decoration: none;
  -webkit-user-drag: none;
  box-shadow: 0 1px 2px rgba(23, 19, 11, .06), 0 18px 36px -22px rgba(23, 19, 11, .45);
  scale: calc(.88 + .2 * var(--focus));
  filter: brightness(calc(.68 + .32 * var(--focus))) saturate(calc(.75 + .25 * var(--focus)));
  transition: transform .6s var(--oc-ease), box-shadow .6s var(--oc-ease);
}
html:not(.motion) .collection__link { scale: none; filter: none; }
.collection__link::after {             /* hairline: faint white at rest, gold on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(217, 180, 95, .16);
  pointer-events: none;
  transition: box-shadow .6s var(--oc-ease);
}
.collection__photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  aspect-ratio: auto;
  overflow: hidden;
  border: 0;
  border-radius: inherit;              /* rounds the photo itself, so corners stay round while the card is scaled */
  background: radial-gradient(120% 90% at 80% 0%, #8A6A24 0%, #3F3012 32%, #17130B 66%, var(--oc-noir-900) 100%);
  color: var(--oc-gold-400);
}
.collection__photo::after {            /* warm shading: a soft gold glow from the lower corner, warm black under the words */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 45% at 0% 100%, rgba(217, 180, 95, .24) 0%, rgba(217, 180, 95, 0) 70%),
    linear-gradient(180deg, rgba(23, 17, 8, 0) 38%, rgba(23, 17, 8, .58) 62%, rgba(17, 13, 7, .95) 100%),
    linear-gradient(200deg, rgba(138, 106, 36, .16) 0%, rgba(138, 106, 36, 0) 35%);
}
.collection__photo::before {           /* deepens on hover, under the rising description */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0) 30%, rgba(11, 11, 12, .55) 100%);
  opacity: 0;
  transition: opacity .6s var(--oc-ease);
}
.collection__photo img { -webkit-user-drag: none; transition: scale 1.2s var(--oc-ease); }
.collection__photo:not(.has-photo) { place-items: start center; padding-block-start: 20%; }
.collection__icon { inline-size: 56%; block-size: auto; transition: scale 1.2s var(--oc-ease); }
.collection__label {                  /* names the empty photo space in the admin; not shown */
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.collection__body {
  display: grid;
  justify-items: start;
  gap: var(--oc-s3);
  padding: var(--oc-s6) var(--oc-s6) var(--oc-s7);
}
.collection__title {
  font-size: clamp(1.5rem, 1.9vw, 1.75rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--oc-white);
}
.collection__text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: .9375rem;
  line-height: 1.55;
  color: rgba(244, 236, 216, .82);
}
@media (hover: hover) {
  .collection__link:hover .collection__photo::before,
  .collection__link:focus-visible .collection__photo::before { opacity: 1; }
  .collection__link:hover {
    transform: translateY(-10px) scale(1.025);
    box-shadow: 0 2px 4px rgba(23, 19, 11, .08), 0 44px 70px -30px rgba(23, 19, 11, .65);
  }
  .collection__link:hover::after { box-shadow: inset 0 0 0 1.5px rgba(217, 180, 95, .8); }
  .collection__link:hover .collection__photo img,
  .collection__link:hover .collection__icon { scale: 1.08; }
  .collections__marquee.is-dragging .collection__link { transform: none; }
}
.collection__link:focus-visible {
  outline: 2px solid var(--oc-gold-700);
  outline-offset: 4px;
  transform: translateY(-10px) scale(1.025);
}
.collection__link:focus-visible::after { box-shadow: inset 0 0 0 1.5px rgba(217, 180, 95, .8); }
.collection__link:active { transform: scale(.985); }
.collections__toggle {
  inset-block: auto 0;
  inset-inline-end: var(--oc-gutter);
  background: var(--oc-white);
  color: var(--oc-ink-2);
}
.collections__toggle:hover { color: var(--oc-noir-900); }
.collections__toggle:focus-visible { outline-color: var(--oc-gold-700); }
/* Without motion: a grid of cards inside the page margins */
html:not(.motion) .collections__track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  padding-inline: var(--oc-gutter);
}
html:not(.motion) .collection { inline-size: auto; }

/* 7o. ABOUT PAGE ----------------------------------------------------------- */
.story__grid {
  display: grid;
  gap: var(--oc-s7);
  align-items: start;
  margin-block-start: var(--oc-s8);
}
@media (min-width: 960px) {
  .story__grid { grid-template-columns: 1fr 1fr; gap: var(--oc-s8); }
}
.story__copy { display: grid; gap: var(--oc-s5); }
.story__copy p { max-inline-size: var(--oc-measure); font-size: var(--oc-lead); color: var(--oc-ink-2); }

@media (min-width: 960px) { .feature-cards--3 { grid-template-columns: repeat(3, 1fr); max-inline-size: none; } }

.team {
  display: grid;
  gap: var(--oc-s6);
  margin-block-start: var(--oc-s8);
}
@media (min-width: 640px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .team { grid-template-columns: repeat(3, 1fr); } }
.team__member { display: grid; align-content: start; gap: var(--oc-s2); }
.team__photo { aspect-ratio: 4 / 5; margin-block-end: var(--oc-s4); border-radius: var(--oc-radius); }
.team__member h3 { color: var(--oc-noir-900); }
.team__role { font-size: var(--oc-small); font-weight: 600; color: var(--oc-gold-700); }
.team__member p:last-child { color: var(--oc-ink-2); }

/* Timeline. Default: a plain vertical list. With .tl--h (set by main.js on wide
   screens when motion is allowed) the section pins and the track runs sideways. */
.tl {
  padding-block: var(--oc-section);
  background: var(--oc-noir-900);
  color: var(--oc-white);
}
.tl .eyebrow { color: var(--oc-gold-400); }
.tl__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--oc-s5);
}
.tl__progress {
  display: none;
  inline-size: 12rem;
  block-size: 2px;
  background: var(--oc-gold-700);
}
.tl__bar {
  display: block;
  block-size: 100%;
  background: var(--oc-gold-400);
  transform: scaleX(0);
  transform-origin: left center;
}
.tl__viewport {
  max-inline-size: calc(var(--oc-container) + 2 * var(--oc-gutter));
  margin-inline: auto;
  margin-block-start: var(--oc-s8);
  padding-inline: var(--oc-gutter);
}
.tl__track {
  display: grid;
  gap: var(--oc-s4);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tl__item {
  display: grid;
  align-content: start;
  gap: var(--oc-s3);
  padding: var(--oc-s6);
  border: var(--oc-border) solid var(--oc-gold-700);
  border-radius: var(--oc-radius);
}
.tl__num {
  margin-block-end: var(--oc-s6);
  font-size: var(--oc-h2);
  font-weight: 650;
  line-height: 1;
  letter-spacing: var(--oc-track-tight);
  color: var(--oc-gold-400);
}
.tl__item p { color: var(--oc-gold-100); }

.tl--h { padding-block: 0; }
.tl--h .tl__pin {
  position: sticky;
  inset-block-start: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  block-size: 100vh;
  overflow: hidden;
}
.tl--h .tl__progress { display: block; }
.tl--h .tl__viewport { max-inline-size: none; margin-inline: 0; padding-inline: 0; }
.tl--h .tl__track {
  display: flex;
  inline-size: max-content;
  padding-inline: max(var(--oc-gutter), calc((100vw - var(--oc-container)) / 2));
  will-change: transform;
}
.tl--h .tl__item { flex: none; inline-size: min(28rem, 70vw); min-block-size: 20rem; }

/* 7p. LANGUAGE WALL -------------------------------------------------------- */
.wall {
  position: relative;
  padding-block: var(--oc-s9);
  background: var(--oc-noir-900);
  color: var(--oc-white);
  overflow: hidden;
}
.wall__row {
  display: flex;
  gap: .55em;
  inline-size: max-content;
  font-size: clamp(2.25rem, 6.6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.045em;
  white-space: nowrap;
  will-change: transform;
}
/* Outlined by default; .is-on is the one lit phrase in each row */
.wall__row span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(217, 180, 95, .32);
}
.wall__row span.is-on {
  color: var(--oc-gold-400);
  -webkit-text-stroke: 0;
}
.wall__center {
  position: relative;
  display: grid;
  justify-items: center;
  gap: var(--oc-s4);
  margin-block: var(--oc-s6);
  padding-inline: var(--oc-gutter);
  text-align: center;
}
.wall__ar {
  font-size: clamp(2.25rem, 7vw, 5.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--oc-on-dark);
}
.wall__en {
  font-size: var(--oc-tiny);
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--oc-gold-400);
}

/* 8. MOTION --------------------------------------------------------------- */
/* `.motion` is set on <html> before first paint, and only when the visitor has
   not asked for reduced motion. Without it nothing below hides or moves. */
:root {
  --oc-ease-in-out: cubic-bezier(.87, 0, .13, 1);
  --oc-ease-soft: cubic-bezier(.215, .61, .355, 1);
  --oc-intro: .25s;          /* pause before the hero starts */
}

/* Waiting states — main.js adds .is-in and plays the entrance */
.motion [data-reveal]:not(.is-in),
.motion [data-stagger] > *:not(.is-in),
.motion [data-scatter] > *:not(.is-in) { opacity: 0; }
.motion [data-img-reveal]:not(.is-in) { clip-path: inset(16% 12% round var(--oc-radius-lg)); }

/* Split headings: every word sits in its own mask and rises out of it */
.motion [data-split]:not(.is-split) { visibility: hidden; }
.split-w { display: inline-block; }
[data-split] .split-w {
  overflow: clip;
  padding-block: .12em;
  margin-block: -.12em;
  vertical-align: top;
}
[data-split] .split-w > span { display: inline-block; }
.motion [data-split]:not(.is-in) .split-w > span { transform: translateY(115%); }

/* Header slides away on the way down the page, back on the way up */
.site-header {
  transition:
    background-color var(--oc-dur-fast) ease,
    border-color var(--oc-dur-fast) ease,
    transform var(--oc-dur) var(--oc-ease);
}
.site-header.is-hidden { transform: translateY(-100%); }

/* Hero entrance: the glass chip slides in (the 3D frame and its satin
   backdrop make their own entrance in hero-3d.js) */
@keyframes oc-chip-in { from { opacity: 0; translate: calc(-1 * var(--oc-s7)); } }

.motion .hero__chip  { animation: oc-chip-in 1.2s var(--oc-ease) calc(var(--oc-intro) + .9s) backwards; }
.motion .hero__copy, .motion .hero__visual { will-change: transform; }



/* Magnetic buttons ease back to rest when the pointer leaves */
.btn[data-magnetic] {
  transition:
    background-color var(--oc-dur-fast) ease,
    border-color var(--oc-dur-fast) ease,
    color var(--oc-dur-fast) ease,
    transform var(--oc-dur) var(--oc-ease),
    translate .6s var(--oc-ease-soft);
}

/* Mobile menu: the panel wipes down, then the links rise from their masks */
@media (max-width: 959px) {
  .site-nav__list li {
    overflow: clip;
    border-block-end: var(--oc-border) solid var(--oc-line);
  }
  .site-nav__link { border-block-end: 0; }
  .site-nav__list li:nth-child(2) { --n: 1; }
  .site-nav__list li:nth-child(3) { --n: 2; }
  .site-nav__list li:nth-child(4) { --n: 3; }
  .site-nav__list li:nth-child(5) { --n: 4; }

  .motion .site-nav {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .9s var(--oc-ease-in-out), visibility 0s linear .9s;
  }
  .motion .site-nav.is-open {
    clip-path: inset(0);
    transition-delay: 0s;
  }
  .motion .site-nav__link {
    transform: translateY(115%);
    transition: transform .9s var(--oc-ease);
  }
  .motion .site-nav.is-open .site-nav__link {
    transform: none;
    transition-delay: calc(.35s + var(--n, 0) * .045s);
  }
  .motion .site-nav .btn {
    opacity: 0;
    transform: translateY(var(--oc-s5));
    transition: opacity .7s ease, transform .7s var(--oc-ease);
  }
  .motion .site-nav.is-open .btn {
    opacity: 1;
    transform: none;
    transition-delay: .55s;
  }
}

/* 9. BLACK AND GOLD SURFACES ------------------------------------------------ */
/* The header, every hero and the footer are logo-black, so the gold wordmark
   always sits on the background it was drawn for. Content sections stay ivory. */
.btn--primary { background: linear-gradient(100deg, var(--oc-gold-400), var(--oc-gold-200)); }
.btn--primary:hover { background: linear-gradient(100deg, var(--oc-gold-200), var(--oc-gold-200)); }

.logo img { display: block; block-size: var(--oc-s7); inline-size: auto; }
.site-footer .logo img { block-size: var(--oc-s8); }

.site-header,
.site-header.is-scrolled,
body.has-menu-open .site-header { background: var(--oc-noir-900); }
.site-header.is-scrolled { border-block-end-color: var(--oc-noir-700); }
.nav-toggle { border-color: var(--oc-gold-400); color: var(--oc-gold-100); }
.site-nav__link {
  color: var(--oc-gold-100);
  background-image: linear-gradient(var(--oc-gold-400), var(--oc-gold-400));
}
.site-nav__link:hover,
.site-nav__link[aria-current] { color: var(--oc-white); }
@media (max-width: 959px) {
  .site-nav { background: var(--oc-noir-900); }
  .site-nav__link { color: var(--oc-gold-100); background-image: none; }
  .site-nav__list li { border-block-end-color: var(--oc-noir-700); }
}

.hero, .page-hero { background: var(--oc-noir-900); color: var(--oc-gold-100); }
.hero {
  background: radial-gradient(120% 120% at 100% 0%,
    #8A6A24 0%, #3F3012 28%, #17130B 62%, var(--oc-noir-900) 100%);
}
.hero__title, .page-hero h1 { color: var(--oc-white); }
.hero__title em { color: var(--oc-gold-400); }
/* "Opt to see better.": "Opt", the first letters of Optico, right under the gold
   logo, so the slogan visibly carries the name. It is polished gold: a thin bright
   highlight near the top, rich gold through the middle, deepening to dark bronze
   at the foot of the letters (no dark band across them). The gradient is painted on the box
   that holds the letters: the span itself, or, once main.js has split the heading
   for its rise-in, the moving word inside it (padded so tall letters are not cut).
   Plain gold where a browser cannot fill text with a gradient. */
.hero__opt { color: var(--oc-gold-400); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__opt,
  .hero__title.is-split .hero__opt .split-w > span {
    background-image: linear-gradient(180deg, #C99B3F 0%, #F6E3A6 22%, #D9B45F 45%, #9A7428 75%, #4A3812 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
  .hero__title.is-split .hero__opt { background-image: none; }
  .hero__title.is-split .hero__opt .split-w > span { padding-block: .12em; margin-block: -.12em; }
}
/* The slogan is set larger than the other page headings (about 1.6 times on a
   computer: 115px at 1280px wide, 128px at most), still on two lines beside the
   3D glasses. On narrow phones (48px) the gold "Opt" can take a line of its own.
   The rest of it is a soft warm ivory rather than pure white, so it does not
   glare next to the gold "Opt" (other pages' headings stay white). */
.hero__title { font-size: clamp(3rem, 9vw, 8rem); line-height: 1; letter-spacing: -.03em; color: #E6DECA; }
.hero__lead, .page-hero__lead { color: var(--oc-on-dark); }
.hero .eyebrow, .page-hero .eyebrow, .guide__meta { color: var(--oc-gold-400); }
.hero__meta { border-block-start-color: var(--oc-noir-700); color: var(--oc-on-dark); }
.hero__meta a, .page-hero .crumbs a { color: var(--oc-gold-400); }
.page-hero .crumbs ol, .page-hero .crumbs li + li::before { color: var(--oc-on-dark); }
.hero .status,
.branch-hero__status,
.branch-hero__status[data-state="open"] { color: var(--oc-gold-100); }
.hero .status[data-state="open"] .status__dot,
.page-hero .status[data-state="open"] .status__dot {
  background: var(--oc-gold-400);
  box-shadow: 0 0 0 var(--oc-s1) var(--oc-noir-700);
}
.hero .btn--ghost, .page-hero .btn--ghost { border-color: var(--oc-gold-400); color: var(--oc-gold-100); }
.hero .btn--ghost:hover, .page-hero .btn--ghost:hover { background: var(--oc-gold-400); color: var(--oc-noir-900); }
.site-header :focus-visible, .hero :focus-visible, .page-hero :focus-visible { outline-color: var(--oc-gold-400); }

.cta__panel {
  border: var(--oc-border) solid var(--oc-gold-700);
  background:
    radial-gradient(90% 120% at 100% 0%, var(--oc-gold-700) 0%, transparent 55%),
    linear-gradient(160deg, var(--oc-noir-800), var(--oc-noir-900));
}
.cta__lead, .steps__lead, .step__body > p:last-child, .tl__item p, .site-footer { color: var(--oc-on-dark); }
.page-hero .photo-slot {
  border-color: var(--oc-gold-700);
  background: var(--oc-noir-800);
  color: var(--oc-on-dark);
}
/* Store page photo: a small tag in the corner, e.g. "Artist's impression" while
   the picture is an AI image rather than a real photo (photoTag in stores.json) */
.store-photo { position: relative; }
.photo-tag {
  position: absolute;
  inset-block-end: var(--oc-s3);
  inset-inline-end: var(--oc-s3);
  z-index: 1;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: rgba(11, 11, 12, .72);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--oc-gold-100);
}

/* Hairlines on black */
.step, .step:last-child, .tl__item { border-color: var(--oc-noir-700); }
.site-footer__base { border-block-start-color: var(--oc-noir-700); }
.tl__progress { background: var(--oc-noir-700); }
.site-footer__word { -webkit-text-stroke-color: var(--oc-gold-700); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---- Page not found (404.html) ---- */
.lost { min-block-size: 62vh; display: grid; align-items: center; }
.lost__links {
  display: flex; flex-wrap: wrap; gap: var(--oc-s3) var(--oc-s6);
  margin-block-start: var(--oc-s8); padding: var(--oc-s5) 0 0;
  border-block-start: 1px solid rgba(217, 180, 95, .28);
  list-style: none;
}
.lost__links a {
  display: inline-block; padding-block: var(--oc-s2);
  color: var(--oc-gold-400); text-decoration: none;
  border-block-end: 1px solid transparent;
}
.lost__links a:hover, .lost__links a:focus-visible { color: var(--oc-white); border-block-end-color: var(--oc-gold-400); }

/* 7x. EXPLORE: picture tiles that lead to each part of the site ------------ */
.explore__lead {
  max-inline-size: 30rem;
  font-size: var(--oc-lead);
  color: var(--oc-ink-2);
}
.explore__grid {
  display: grid;
  gap: var(--oc-s4);
  margin-block-start: var(--oc-s8);
  padding: 0;
  list-style: none;
}
.explore__item { min-inline-size: 0; }
.explore__tile {
  --x: 78%; --y: 16%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--oc-s4);
  block-size: clamp(300px, 78vw, 360px);
  padding: var(--oc-s5);
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--oc-radius-lg);
  color: var(--oc-white);
  text-decoration: none;
  /* Shown until a photo is added: gold light and lens rings on black */
  background: linear-gradient(160deg, #1d1810, var(--oc-noir-900) 70%);
}
.explore__item:nth-child(2) .explore__tile { --x: 22%; --y: 22%; }
.explore__item:nth-child(3) .explore__tile { --x: 50%; --y: 38%; }
.explore__item:nth-child(4) .explore__tile { --x: 88%; --y: 46%; }
.explore__item:nth-child(5) .explore__tile { --x: 14%; --y: 10%; }
.explore__item:nth-child(6) .explore__tile { --x: 60%; --y: 4%; }
.explore__item:nth-child(7) .explore__tile { --x: 92%; --y: 14%; }

/* The photo fills the tile. Empty, it is invisible and the rings show through. */
.explore__photo,
.explore__photo.has-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  min-block-size: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: none;
  color: transparent;
  font-size: 0;
  transition: transform 1.4s var(--oc-ease);
}
.explore__photo img { inline-size: 100%; block-size: 100%; object-fit: cover; }
/* Darkens the lower half so the words stay readable on any photo */
.explore__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(11, 11, 12, .94) 0%, rgba(11, 11, 12, .72) 28%, rgba(11, 11, 12, 0) 62%);
  transition: opacity var(--oc-dur) var(--oc-ease);
}
.explore__body { display: grid; gap: var(--oc-s2); min-inline-size: 0; }
.explore__tag {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: var(--oc-track-wide);
  text-transform: uppercase;
  color: var(--oc-gold-400);
}
.explore__title {
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  line-height: var(--oc-lh-snug);
  letter-spacing: var(--oc-track-tight);
  color: var(--oc-white);
}
.explore__text { max-inline-size: 26rem; font-size: var(--oc-small, .9375rem); color: var(--oc-on-dark); }
.explore__go {
  flex: none;
  display: grid;
  place-items: center;
  inline-size: 46px;
  block-size: 46px;
  border-radius: 50%;
  background: var(--oc-white);
  color: var(--oc-noir-900);
  transition: background-color var(--oc-dur) var(--oc-ease), transform var(--oc-dur) var(--oc-ease);
}
.explore__go svg { inline-size: 16px; block-size: 16px; transition: transform var(--oc-dur) var(--oc-ease); }

.explore__tile:hover .explore__photo,
.explore__tile:focus-visible .explore__photo { transform: scale(1.07); }
.explore__tile:hover .explore__go,
.explore__tile:focus-visible .explore__go { background: var(--oc-gold-400); transform: scale(1.08); }
.explore__tile:hover .explore__go svg,
.explore__tile:focus-visible .explore__go svg { transform: rotate(-45deg); }
.explore__tile:focus-visible { outline: 2px solid var(--oc-gold-600); outline-offset: 4px; }

/* From 600px (was 640px, 5 Dec 2026), so screens between phones and tablets get
   this grid too rather than one tall column; phones have their own (section 10) */
@media (min-width: 600px) {
  .explore__grid { grid-template-columns: repeat(2, 1fr); }
  .explore__item:first-child { grid-column: span 2; }
  .explore__tile { block-size: clamp(320px, 44vw, 400px); }
}
@media (min-width: 1000px) {
  .explore__grid { grid-template-columns: repeat(12, 1fr); gap: var(--oc-s5); }
  .explore__item { grid-column: span 4; }
  .explore__item:nth-child(1), .explore__item:nth-child(4) { grid-column: span 7; }
  .explore__item:nth-child(2), .explore__item:nth-child(3) { grid-column: span 5; }
  .explore__tile { block-size: clamp(340px, 31vw, 450px); padding: var(--oc-s6); }
}
@media (prefers-reduced-motion: reduce) {
  .explore__photo, .explore__go, .explore__go svg { transition: none; }
  .explore__tile:hover .explore__photo, .explore__tile:focus-visible .explore__photo { transform: none; }
}

/* Explore tiles with photos: every photo is pulled toward the black-and-gold
   theme, whatever its own colours. The photo is toned warm and slightly muted,
   then a gold light and the lens rings sit over it; hover lets more of the
   photo's own colour through. Applies to any photo added later in the admin. */
.explore__photo img {
  filter: grayscale(.6) sepia(.38) saturate(1.2) contrast(1.06) brightness(.82);
  transition: filter 1s var(--oc-ease);
}
/* (The gold glow and rings that sat over the photos were removed on request.) */
.explore__tile:hover .explore__photo img,
.explore__tile:focus-visible .explore__photo img { filter: grayscale(.2) sepia(.18) saturate(1.1) contrast(1.04) brightness(.9); }
@media (prefers-reduced-motion: reduce) {
  .explore__photo img { transition: none; }
}

/* Phones only (2 Dec 2026, after the user's optica.net phone reference): the
   eyebrow becomes a small filled gold pill, the headline runs full width, the
   two buttons keep their own widths, and the frame sits centred below them.
   (A ring of gold streaks around the frame was tried and removed on request.)
   Before: the frame sat small at the top right beside the headline
   (backups .before-phone-hero, .before-phone-frame-centre). */
@media (max-width: 599px) {
  .hero { padding-block-end: var(--oc-s4); }
  .hero__grid { position: relative; gap: 0; }
  .hero__copy { position: relative; z-index: 1; }
  .hero .eyebrow {                              /* a small gold pill (made smaller on request) */
    padding: .3rem .7rem;
    border-radius: var(--oc-radius-pill);
    background: linear-gradient(135deg, var(--oc-gold-200), var(--oc-gold-400));
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .07em;
    color: var(--oc-noir-900);
    box-shadow: 0 4px 14px rgba(217, 180, 95, .16);
  }
  .hero .eyebrow::before { display: none; }
  /* bigger headline, smaller description and slightly smaller buttons
     (user's request, 2 Dec 2026; backup .before-hero-type) */
  .hero__title { margin-block-start: var(--oc-s5); font-size: clamp(3.5rem, 17.35vw, 4.5rem); }   /* 65px on a 375px phone */
  .hero__lead { margin-block-start: var(--oc-s4); font-size: .8125rem; line-height: 1.6; }      /* 13px */
  .hero .hero__actions { justify-items: start; margin-block-start: var(--oc-s5); }
  .hero .hero__actions .btn { inline-size: auto; }
  .hero .hero__actions .btn--lg { min-block-size: 40px; padding: var(--oc-s2) 1.375rem; font-size: .9375rem; }   /* 40px tall */
  .hero__meta { margin-block-start: var(--oc-s5); padding-block-start: 0; border-block-start: 0; }
  /* the frame, centred under the words (hero-3d.js keeps its front centred) */
  .hero__visual {
    inline-size: min(80%, 18rem);
    margin: var(--oc-s5) auto 0;
  }
  .hero__chip { display: none; }
}

/* 7q. THE OPTICO PROMISE ---------------------------------------------------- */
/* A full-width statement over a slideshow. Photos are turned monochrome and
   washed gold so any picture sits in the black and gold palette; a dark sweep
   from the left keeps the words readable. */
.belief {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-block-size: min(100svh, 60rem);
  padding-block: var(--oc-section);
  background: var(--oc-noir-900);
  color: var(--oc-white);
  overflow: hidden;
}
.belief__media {
  position: absolute;
  inset: -8% 0;
  z-index: -3;
  will-change: transform;
}
.belief__video {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(.82);
  transform: scale(1.06);
}
/* Gold wash over the monochrome photos, then the dark sweep for the words */
.belief::before,
.belief::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.belief::before {
  z-index: -2;
  background: var(--oc-gold-700);
  mix-blend-mode: color;
  opacity: .9;
}
.belief::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, .9) 0%, rgba(11, 11, 12, .72) 45%, rgba(11, 11, 12, .38) 100%),
    linear-gradient(to top, rgba(11, 11, 12, .55) 0%, rgba(11, 11, 12, 0) 40%);
}

/* Lens dials: fine gold rings that turn slowly, each at its own pace, and
   drift with the scroll (main.js sets --shift). */
.belief__dials { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.belief__dial {
  position: absolute;
  inline-size: var(--size);
  aspect-ratio: 1;
  color: var(--oc-gold-400);
  opacity: var(--alpha, .5);
  translate: 0 calc(var(--shift, 0) * var(--depth, 1) * 1px);
}
.belief__dial:nth-child(1) { --size: clamp(16rem, 30vw, 27rem); --alpha: .42; --depth: -1.2; inset: auto auto -22% -7%; }
.belief__dial:nth-child(2) { --size: clamp(7rem, 11vw, 10rem);  --alpha: .6;  --depth: .8;  inset: auto auto 7% 24%; }
.belief__dial:nth-child(3) { --size: clamp(4.5rem, 6vw, 6rem); --alpha: .5;  --depth: 1.6; inset: auto auto 30% 21%; }
.motion .belief__dial { animation: belief-turn 60s linear infinite; }
.motion .belief__dial:nth-child(2) { animation-duration: 38s; animation-direction: reverse; }
.motion .belief__dial:nth-child(3) { animation-duration: 24s; }
@keyframes belief-turn { to { rotate: 360deg; } }
@media (max-width: 599px) {
  .belief__dial:nth-child(1) { inset: auto auto -10% -30%; --alpha: .3; }
  .belief__dial:nth-child(2) { inset: auto auto 4% 40%; --alpha: .4; }
  .belief__dial:nth-child(3) { inset: auto auto 22% 58%; --alpha: .35; }
}
.belief__inner { position: relative; z-index: 1; }

.belief__inner { display: grid; justify-items: start; gap: var(--oc-s5); }
.belief__quote {
  inline-size: clamp(3rem, 6vw, 5rem);
  color: var(--oc-gold-400);
}
.belief__text {
  max-inline-size: 13em;
  font-size: clamp(2.4rem, 5.8vw, 5.25rem);
  font-weight: 700;
  line-height: var(--oc-lh-tight);
  letter-spacing: var(--oc-track-tight);
  color: var(--oc-gold-100);
}
.belief__text em { font-style: normal; color: var(--oc-gold-400); }
.belief__sign {
  margin: 0;
  font-size: var(--oc-small);
  font-style: italic;
  color: var(--oc-on-dark);
}

@media (max-width: 599px) {
  /* Phones: the whole section is one 4:3 band, so the film is only trimmed a
     little at the sides. The film fills it edge to edge with no fade, and the
     words, quote mark, signature and dials all sit inside, sized in vw so
     they scale with the band. */
  .belief {
    aspect-ratio: 4 / 3;
    min-block-size: 0;
    padding-block: 0;
    align-items: center;
  }
  .belief__media {
    inset: 0;
    transform: none !important;   /* no parallax: the film exactly fills the band */
  }
  .belief__video { transform: none; }
  .belief::after {
    background: linear-gradient(90deg, rgba(11, 11, 12, .86) 0%, rgba(11, 11, 12, .66) 55%, rgba(11, 11, 12, .3) 100%);
  }
  .belief__inner { gap: 2.4vw; }
  .belief__quote { inline-size: 8vw; }
  .belief__text { max-inline-size: 13em; font-size: 6.6vw; }
  .belief__sign { font-size: 3.4vw; }
  .belief__dial:nth-child(1) { --size: 40vw; inset: auto auto -18vw -10vw; }
  .belief__dial:nth-child(2) { --size: 16vw; inset: auto auto 3vw 30vw; }
  .belief__dial:nth-child(3) { --size: 9vw;  inset: auto auto 16vw 25vw; }
}

/* 7r. STORES PAGE AND STORE LOCATOR --------------------------------------- */
/* Hero: the heading follows the reference's two-tone line; the small label is a pill */
.stores-hero__title { max-inline-size: 12ch; }
.stores-hero__title em { font-style: normal; color: var(--oc-gold-400); }
.page-hero .crumbs + .eyebrow { margin-block-start: var(--oc-s5); }
.eyebrow--chip {
  padding: var(--oc-s1) var(--oc-s3);
  border: var(--oc-border) solid var(--oc-gold-700);
  border-radius: var(--oc-radius-pill);
}
.eyebrow--chip::before { display: none; }
.cta__panel h2 em { font-style: normal; color: var(--oc-gold-400); }

.loc__head h2 { margin-block-start: var(--oc-s3); color: var(--oc-noir-900); }
.loc__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: var(--oc-s5);
  margin-block-start: var(--oc-s7);
}
.loc__chips { display: flex; flex-wrap: wrap; gap: var(--oc-s2); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--oc-s2);
  min-block-size: var(--oc-tap);
  padding: 0 var(--oc-s4);
  border: var(--oc-border) solid var(--oc-line);
  border-radius: var(--oc-radius-pill);
  background: var(--oc-white);
  font: inherit;
  font-size: var(--oc-small);
  font-weight: 600;
  color: var(--oc-ink);
  cursor: pointer;
  transition: background var(--oc-dur-fast), border-color var(--oc-dur-fast), color var(--oc-dur-fast);
}
.chip span { font-size: var(--oc-tiny); font-weight: 500; color: var(--oc-muted); }
.chip:hover { border-color: var(--oc-gold-600); }
.chip[aria-pressed="true"] { border-color: var(--oc-noir-900); background: var(--oc-noir-900); color: var(--oc-gold-100); }
.chip[aria-pressed="true"] span { color: var(--oc-gold-400); }

.loc__search { display: grid; gap: var(--oc-s2); inline-size: min(100%, 22rem); }
.loc__search label { font-size: var(--oc-small); font-weight: 600; color: var(--oc-ink); }
.loc__searchbox { position: relative; }
.loc__searchbox svg {
  position: absolute;
  inset: 50% auto auto var(--oc-s4);
  inline-size: 1.1rem;
  translate: 0 -50%;
  color: var(--oc-muted);
  pointer-events: none;
}
.loc__searchbox input {
  inline-size: 100%;
  min-block-size: 3rem;
  padding: 0 var(--oc-s4) 0 2.75rem;
  border: var(--oc-border) solid var(--oc-line);
  border-radius: var(--oc-radius-sm);
  background: var(--oc-white);
  font: inherit;
  color: var(--oc-ink);
}
.loc__searchbox input:hover { border-color: var(--oc-muted); }
.loc__searchbox input:focus-visible { outline: var(--oc-ring) solid var(--oc-gold-400); outline-offset: 1px; border-color: var(--oc-gold-600); }

.loc__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--oc-s2) var(--oc-s5);
  margin-block: var(--oc-s5) var(--oc-s4);
  font-size: var(--oc-small);
  color: var(--oc-ink-2);
}
.loc__meta p:first-child { font-weight: 600; color: var(--oc-ink); }

/* Two panes: on wide screens the list scrolls inside its own pane, beside the map */
.loc__panes { display: grid; gap: var(--oc-s4); }
.loc__mapwrap { order: -1; }
@media (min-width: 960px) {
  .loc__panes {
    grid-template-columns: 1fr 1fr;
    block-size: min(48rem, calc(100svh - var(--oc-header-h) - var(--oc-s6)));
  }
  .loc__mapwrap { order: 0; }
  .loc__listwrap { overflow-y: auto; overscroll-behavior: contain; padding-inline-end: var(--oc-s2); scrollbar-width: thin; }
  .loc--nomap .loc__panes { grid-template-columns: 1fr; block-size: auto; }
  .loc--nomap .loc__listwrap { overflow: visible; }
}
.loc__listwrap:focus-visible { outline: var(--oc-ring) solid var(--oc-gold-400); outline-offset: var(--oc-s1); border-radius: var(--oc-radius); }
.loc__list { display: grid; gap: var(--oc-s3); margin: 0; padding: 0; list-style: none; }
.loc__row[hidden] { display: none; }

.loc__card {
  display: grid;
  gap: var(--oc-s4) var(--oc-s5);
  padding: var(--oc-s5);
  border: var(--oc-border) solid var(--oc-line);
  border-radius: var(--oc-radius);
  background: var(--oc-white);
  cursor: pointer;
  transition: border-color var(--oc-dur-fast), box-shadow var(--oc-dur);
}
@media (min-width: 600px) {
  .loc__card { grid-template-columns: 1fr 1.15fr; }
  .loc__actions { grid-column: 1 / -1; }
  .loc__hours { padding-inline-start: var(--oc-s5); border-inline-start: var(--oc-border) solid var(--oc-line); }
}
.loc__card:hover { border-color: var(--oc-gold-600); }
.loc__row.is-selected .loc__card {
  border-color: var(--oc-gold-600);
  box-shadow: 0 0 0 var(--oc-border) var(--oc-gold-600), var(--oc-shadow);
}

.loc__main { display: grid; align-content: start; gap: var(--oc-s1); }
.loc__name { font-size: 1.125rem; line-height: var(--oc-lh-snug); }
.loc__pick {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--oc-noir-900);
  text-align: start;
  cursor: pointer;
}
.loc__pick:hover, .loc__pick[aria-current] { color: var(--oc-gold-700); }
.loc__area { font-size: var(--oc-small); font-weight: 600; color: var(--oc-gold-700); }
.loc__status { margin-block-start: var(--oc-s2); font-size: var(--oc-tiny); color: var(--oc-ink-2); }
.loc__status[data-state="open"] { color: var(--oc-gold-700); }
.status[data-state="soon"] .status__dot { background: none; box-shadow: inset 0 0 0 2px var(--oc-gold-600); }
.loc__opened { font-size: var(--oc-tiny); color: var(--oc-muted); }

.loc__hours { display: grid; align-content: start; gap: var(--oc-s2); }
.loc__label {
  display: inline-flex;
  align-items: center;
  gap: var(--oc-s2);
  font-size: var(--oc-tiny);
  font-weight: 600;
  letter-spacing: var(--oc-track-wide);
  text-transform: uppercase;
  color: var(--oc-ink-2);
}
.loc__label svg { inline-size: 1rem; color: var(--oc-gold-600); }
.loc__times { display: grid; gap: var(--oc-s1); margin: 0; font-size: var(--oc-small); }
.loc__times div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 var(--oc-s3); }
.loc__times dt { color: var(--oc-ink-2); }
.loc__times dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--oc-ink); }
.loc__tba { font-size: var(--oc-small); color: var(--oc-ink-2); }

.loc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--oc-s1) var(--oc-s5);
  padding-block-start: var(--oc-s3);
  border-block-start: var(--oc-border) solid var(--oc-line);
}
.loc__actions a {
  display: inline-flex;
  align-items: center;
  gap: var(--oc-s2);
  min-block-size: var(--oc-tap);
  font-size: var(--oc-small);
  font-weight: 600;
  color: var(--oc-gold-700);
  text-decoration: none;
}
.loc__actions a:hover { color: var(--oc-noir-900); text-decoration: underline; text-underline-offset: var(--oc-s1); }
.loc__actions svg { inline-size: 1rem; flex: none; }
.loc__more { margin-inline-start: auto; }
.loc__more svg { transition: translate var(--oc-dur) var(--oc-ease); }
.loc__more:hover svg { translate: var(--oc-s1) 0; }

.loc__empty {
  display: grid;
  justify-items: start;
  gap: var(--oc-s3);
  padding: var(--oc-s6);
  border: var(--oc-border) dashed var(--oc-muted);
  border-radius: var(--oc-radius);
  color: var(--oc-ink-2);
}
.loc__empty[hidden] { display: none; }

/* The map: OpenStreetMap tiles turned a warm grey so the gold pins lead */
.loc__mapwrap {
  position: relative;
  isolation: isolate;                  /* Leaflet's layers (z-index 400-1000) stay under the sticky header */
  overflow: hidden;
  min-block-size: 18.75rem;
  border: var(--oc-border) solid var(--oc-line);
  border-radius: var(--oc-radius);
  background: var(--oc-sand);
}
.loc__map { position: absolute; inset: 0; z-index: 0; font: inherit; background: var(--oc-sand); }
.loc__map .leaflet-tile-pane { filter: grayscale(1) sepia(.18) contrast(.92) brightness(1.04); }
.loc__map .leaflet-control-attribution { font-size: .625rem; }
.loc__map .leaflet-bar a { color: var(--oc-noir-900); }
.loc__mapnote {
  position: absolute;
  inset: var(--oc-s3) var(--oc-s3) auto auto;
  z-index: 1000;
  max-inline-size: calc(100% - 4.5rem);
  padding: var(--oc-s1) var(--oc-s3);
  border-radius: var(--oc-radius-pill);
  background: var(--oc-white);
  box-shadow: var(--oc-shadow);
  font-size: var(--oc-tiny);
  color: var(--oc-ink-2);
  pointer-events: none;
}
.loc__pin { background: none; border: 0; }
.loc__pin svg { display: block; inline-size: 30px; block-size: 40px; filter: drop-shadow(0 2px 3px rgba(11, 11, 12, .35)); }
.loc__pin path { fill: var(--oc-gold-600); stroke: var(--oc-noir-900); stroke-width: 1.5; transition: fill var(--oc-dur-fast); }
.loc__pin circle { fill: var(--oc-noir-900); }
.loc__pin.is-on path { fill: var(--oc-noir-900); stroke: var(--oc-gold-400); }
.loc__pin.is-on circle { fill: var(--oc-gold-400); }
/* Store pages: booking buttons are hidden for a store that is not open yet */
[data-open-only][hidden] { display: none; }

/* 7s. LEARN: MENU DROPDOWN, SECTIONS, GUIDE CARDS AND READING LAYOUT ------- */
/* The Learn menu: on wide screens, hovering or tabbing to "Learn" opens a panel
   of the seven sections. In the phone menu Learn stays a plain link. */
.site-nav__has { position: relative; }
.site-nav__chev {
  inline-size: .75rem;
  margin-inline-start: var(--oc-s1);
  transition: rotate var(--oc-dur) var(--oc-ease);
}
.site-nav__drop { display: none; }
@media (min-width: 960px) {
  .site-nav__drop {
    position: absolute;
    inset: calc(100% + var(--oc-s2)) auto auto 50%;
    z-index: 60;
    display: grid;
    inline-size: 17.5rem;
    padding: var(--oc-s3);
    border: var(--oc-border) solid var(--oc-gold-100);
    border-radius: var(--oc-radius);
    background: var(--oc-white);
    box-shadow: 0 2px 6px rgba(11, 11, 12, .12), 0 30px 60px rgba(11, 11, 12, .35);
    opacity: 0;
    visibility: hidden;
    translate: -50% calc(-1 * var(--oc-s2));
    transition: opacity var(--oc-dur-fast) ease, translate var(--oc-dur) var(--oc-ease), visibility 0s linear var(--oc-dur-fast);
  }
  /* an invisible bridge so the pointer can travel from the link to the panel */
  .site-nav__drop::before { content: ""; position: absolute; inset: calc(-1 * var(--oc-s3)) 0 100%; }
  .site-nav__has:hover .site-nav__drop,
  .site-nav__has:focus-within .site-nav__drop {
    opacity: 1;
    visibility: visible;
    translate: -50% 0;
    transition-delay: 0s;
  }
  .site-nav__has:hover .site-nav__chev,
  .site-nav__has:focus-within .site-nav__chev { rotate: 180deg; }
  .site-nav__drop a {
    display: grid;
    gap: 2px;
    padding: var(--oc-s2) var(--oc-s3);
    border-radius: var(--oc-radius-sm);
    font-size: var(--oc-small);
    font-weight: 600;
    line-height: var(--oc-lh-snug);
    color: var(--oc-noir-900);
    text-decoration: none;
    transition: background var(--oc-dur-fast);
  }
  .site-nav__drop small { font-size: var(--oc-tiny); font-weight: 400; color: var(--oc-muted); }
  .site-nav__drop a:hover, .site-nav__drop a:focus-visible { background: var(--oc-sand); }
  .site-nav__drop a:hover small { color: var(--oc-gold-700); }
  .site-nav__drop a:focus-visible { outline: var(--oc-ring) solid var(--oc-gold-400); outline-offset: -2px; }
  .site-nav__has.is-closed .site-nav__drop { opacity: 0; visibility: hidden; }
}
@media (max-width: 959px) { .site-nav__chev { display: none; } }

/* Pills: "03 / Prescription lenses" */
.pill {
  display: inline-flex;
  padding: var(--oc-s1) var(--oc-s3);
  border-radius: var(--oc-radius-pill);
  background: var(--oc-gold-100);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: var(--oc-track-wide);
  text-transform: uppercase;
  color: var(--oc-gold-700);
}
.pill--dark { background: none; border: var(--oc-border) solid var(--oc-gold-700); color: var(--oc-gold-400); }
.learn-hero__title { max-inline-size: 14ch; }
.cta__panel .btn--light { margin-inline-start: 0; }

/* A section of the Learn page: pill and heading on the left, intro on the right */
.lsec { scroll-margin-top: var(--oc-header-h); }
.lsec__head {
  display: grid;
  gap: var(--oc-s4) var(--oc-s8);
  align-items: end;
  margin-block-end: var(--oc-s7);
}
.lsec__head h2 { max-inline-size: 14ch; margin-block-start: var(--oc-s4); color: var(--oc-noir-900); }
.lsec__intro { max-inline-size: 30rem; font-size: var(--oc-lead); color: var(--oc-ink-2); }
@media (min-width: 960px) {
  .lsec__head { grid-template-columns: 1fr 1fr; }
  .lsec__head > .btn { justify-self: end; }
}

/* Numbered guide cards */
.lcards { display: grid; gap: var(--oc-s4); margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .lcards { grid-template-columns: repeat(2, 1fr); } }
.lcard__link {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--oc-s3);
  block-size: 100%;
  padding: var(--oc-s6);
  border: var(--oc-border) solid var(--oc-line);
  border-radius: var(--oc-radius);
  background: var(--oc-white);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--oc-dur-fast), box-shadow var(--oc-dur), translate var(--oc-dur) var(--oc-ease);
}
a.lcard__link:hover { border-color: var(--oc-gold-600); box-shadow: var(--oc-shadow); translate: 0 calc(-1 * var(--oc-s1)); }
a.lcard__link:focus-visible { outline: var(--oc-ring) solid var(--oc-gold-400); outline-offset: 2px; }
.lcard__num {
  position: absolute;
  inset: var(--oc-s5) var(--oc-s5) auto auto;
  font-size: var(--oc-tiny);
  font-weight: 700;
  letter-spacing: var(--oc-track-wide);
  color: var(--oc-muted);
}
.lcard__icon {
  display: grid;
  place-items: center;
  inline-size: 2.75rem;
  aspect-ratio: 1;
  margin-block-end: var(--oc-s3);
  border-radius: var(--oc-radius-sm);
  background: var(--oc-gold-100);
  color: var(--oc-gold-700);
  transition: background var(--oc-dur-fast), color var(--oc-dur-fast);
}
.lcard__icon svg { inline-size: 1.35rem; }
a.lcard__link:hover .lcard__icon { background: var(--oc-noir-900); color: var(--oc-gold-400); }
.lcard__title { max-inline-size: 24ch; font-size: 1.125rem; line-height: var(--oc-lh-snug); color: var(--oc-noir-900); }
.lcard__text { font-size: var(--oc-small); color: var(--oc-ink-2); }
.lcard__meta { font-size: var(--oc-tiny); font-weight: 600; color: var(--oc-gold-700); }
.lcard--soon .lcard__link { border-style: dashed; background: none; }
.lcard--soon .lcard__meta { color: var(--oc-muted); }
.section--paper .lcard--soon .lcard__link { background: none; }

/* Guide pages: hero, then the article beside a pinned "In this guide" list */
.guide-hero .pill { margin-block-start: var(--oc-s5); }
.guide-hero .guide__title { max-inline-size: 20ch; margin-block-start: var(--oc-s4); font-size: var(--oc-h1); }
.read__grid { display: grid; gap: var(--oc-s7); align-items: start; }
@media (min-width: 960px) {
  .read__grid { grid-template-columns: 14rem minmax(0, 1fr); gap: var(--oc-s9); }
  .toc { position: sticky; inset-block-start: calc(var(--oc-header-h) + var(--oc-s6)); }
}
@media (max-width: 959px) { .toc { display: none; } }
.toc__label {
  font-size: var(--oc-tiny);
  font-weight: 700;
  letter-spacing: var(--oc-track-wide);
  text-transform: uppercase;
  color: var(--oc-gold-700);
}
.toc__list {
  display: grid;
  margin: var(--oc-s4) 0 0;
  padding: 0;
  list-style: none;
  border-inline-start: var(--oc-border) solid var(--oc-line);
}
.toc__list a {
  display: block;
  margin-inline-start: -1px;
  padding: var(--oc-s2) var(--oc-s4);
  border-inline-start: 2px solid transparent;
  font-size: var(--oc-small);
  line-height: var(--oc-lh-snug);
  color: var(--oc-ink-2);
  text-decoration: none;
  transition: color var(--oc-dur-fast), border-color var(--oc-dur-fast);
}
.toc__list a:hover { color: var(--oc-noir-900); }
.toc__list a[aria-current] { border-inline-start-color: var(--oc-gold-600); font-weight: 600; color: var(--oc-noir-900); }
.toc__all {
  display: inline-block;
  margin-block-start: var(--oc-s5);
  padding-inline-start: var(--oc-s4);
  font-size: var(--oc-small);
  font-weight: 600;
  color: var(--oc-gold-700);
  text-underline-offset: var(--oc-s1);
}
.read__main { max-inline-size: 44rem; }
.prose h2 { scroll-margin-top: calc(var(--oc-header-h) + var(--oc-s5)); }
.prose ol { padding-inline-start: 1.25em; }
.prose ol li + li, .prose ul li + li { margin-block-start: var(--oc-s2); }
.prose ol li::marker { color: var(--oc-gold-600); font-weight: 700; }
.read__book {
  display: grid;
  gap: var(--oc-s5);
  margin-block-start: var(--oc-s7);
  padding: var(--oc-s6);
  border-radius: var(--oc-radius-lg);
  background: var(--oc-noir-900);
  color: var(--oc-on-dark);
}
.read__book h2 { font-size: var(--oc-h3); line-height: var(--oc-lh-snug); color: var(--oc-white); }
.read__book p { margin-block-start: var(--oc-s2); }
.read__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--oc-s3) var(--oc-s5); }
.read__book .aside-block__link { color: var(--oc-gold-400); }
.read__book :focus-visible { outline-color: var(--oc-gold-400); }
.read__book p { max-inline-size: 30rem; }

/* 7t. WARM HERO GLOW (Learn page and guide pages) ------------------------- */
/* Soft pools of gold, amber and bronze light drift slowly behind the hero,
   like warm light moving across black. Still under reduced motion. */
.hero-glow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(160deg, var(--oc-noir-800) 0%, var(--oc-noir-900) 60%);
}
.hero-glow::before,
.hero-glow::after {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}
.hero-glow::before {
  background:
    radial-gradient(32% 38% at 72% 28%, rgba(217, 180, 95, .34), transparent 70%),
    radial-gradient(30% 34% at 22% 78%, rgba(133, 100, 24, .45), transparent 72%);
  animation: glow-drift-a 22s ease-in-out infinite alternate;
}
.hero-glow::after {
  background:
    radial-gradient(26% 30% at 45% 40%, rgba(196, 118, 48, .26), transparent 70%),
    radial-gradient(22% 26% at 88% 82%, rgba(241, 226, 180, .14), transparent 70%);
  animation: glow-drift-b 28s ease-in-out infinite alternate;
}
@keyframes glow-drift-a {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(-8%, 6%, 0) rotate(8deg) scale(1.08); }
  100% { transform: translate3d(6%, -4%, 0) rotate(-6deg) scale(.96); }
}
@keyframes glow-drift-b {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: .8; }
  50%  { transform: translate3d(10%, -8%, 0) scale(1.15); opacity: 1; }
  100% { transform: translate3d(-6%, 8%, 0) scale(.92); opacity: .75; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glow::before, .hero-glow::after { animation: none; }
}

/* The section index ("01 / The eye test"): larger and filled, as in the reference */
.pill--hero {
  padding: .4rem .8rem;
  border: 0;
  background: linear-gradient(135deg, var(--oc-gold-200), var(--oc-gold-400));
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--oc-noir-900);
  box-shadow: 0 4px 14px rgba(217, 180, 95, .16);
}
/* Breadcrumb in the Learn and guide heroes: small, regular weight, no underlines,
   in the same colour as the hero description */
.hero-glow .crumbs ol { gap: var(--oc-s3); font-size: var(--oc-tiny); font-weight: 400; color: var(--oc-on-dark); }
.hero-glow .crumbs li + li::before { margin-inline-end: var(--oc-s3); color: var(--oc-on-dark); opacity: .5; }
.hero-glow .crumbs a { font-weight: 400; color: var(--oc-on-dark); text-decoration: none; transition: color var(--oc-dur-fast); }
.hero-glow .crumbs a:hover { color: var(--oc-white); }
.hero-glow .crumbs [aria-current] { color: var(--oc-on-dark); }
.page-hero .crumbs + .pill { margin-block-start: var(--oc-s5); }
.pill--hero + h1 { margin-block-start: var(--oc-s4); }

/* Guide booking panel: the same warm gold glow as the hero, drifting slowly */
.read__book {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: var(--oc-border) solid var(--oc-gold-700);
  background: linear-gradient(150deg, var(--oc-noir-800) 0%, var(--oc-noir-900) 55%);
}
.read__book::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(34% 46% at 82% 22%, rgba(217, 180, 95, .38), transparent 70%),
    radial-gradient(30% 40% at 12% 95%, rgba(133, 100, 24, .5), transparent 72%),
    radial-gradient(24% 32% at 55% 60%, rgba(196, 118, 48, .2), transparent 70%);
  animation: glow-drift-a 24s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) { .read__book::before { animation: none; } }

/* WhatsApp button (built by main.js from the store record): a small black disc
   with a gold ring and gold glyph, fixed at the bottom right. It does not move
   on its own; hover fills it gold. z-index 40 keeps it under the header (50),
   so the open phone menu covers it. */
.wa-float {
  position: fixed;
  inset-block-end: max(1.25rem, calc(env(safe-area-inset-bottom) + .75rem));
  inset-inline-end: max(1.25rem, calc(env(safe-area-inset-right) + .75rem));
  z-index: 40;
  display: grid;
  place-items: center;
  inline-size: 3.25rem;
  block-size: 3.25rem;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 20%, var(--oc-noir-800) 0%, var(--oc-noir-900) 60%);
  box-shadow:
    inset 0 0 0 1px rgba(217, 180, 95, .55),
    inset 0 1px 0 rgba(241, 226, 180, .18),
    0 10px 24px -8px rgba(11, 11, 12, .55),
    0 2px 6px rgba(11, 11, 12, .25);
  transition: transform .45s var(--oc-ease), background-color .3s ease, box-shadow .45s var(--oc-ease);
}
.wa-float svg { inline-size: 1.5rem; block-size: 1.5rem; }
.wa-float path { transition: fill .3s ease; }
@media (hover: hover) {
  .wa-float:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--oc-gold-200), var(--oc-gold-400));
    box-shadow:
      inset 0 0 0 1px rgba(241, 226, 180, .9),
      0 14px 30px -10px rgba(133, 100, 24, .6),
      0 2px 6px rgba(11, 11, 12, .2);
  }
  .wa-float:hover path { fill: var(--oc-noir-900); }
}
.wa-float:focus-visible {
  outline: 2px solid var(--oc-gold-400);
  outline-offset: 3px;
}
.wa-float:active { transform: scale(.96); }
@media (max-width: 599px) {
  .wa-float { inline-size: 3rem; block-size: 3rem; }
  .wa-float svg { inline-size: 1.375rem; block-size: 1.375rem; }
}
@media (prefers-reduced-motion: reduce) { .wa-float, .wa-float path { transition: none; } }
@media print { .wa-float { display: none; } }

/* 7u. SERVICES HERO --------------------------------------------------------- */
/* After the reference services hero: the warm glow on black, a ring of rounded
   gold light streaks off the top-right corner (built by main.js from data-rays,
   turning slowly; the streaks grow outward on arrival), a three-line headline
   and a wide photo with a deep shadow that drifts gently as you scroll. */
.services-hero__rays {
  position: absolute;
  inset-block-start: -18vw;
  inset-inline-end: -16vw;
  z-index: -1;
  inline-size: min(78vw, 980px);
  aspect-ratio: 1 / 1;
  opacity: .3;
  pointer-events: none;
}
.services-hero__rays svg { display: block; inline-size: 100%; block-size: 100%; overflow: visible; }
/* About hero: the same warm glow, words only (no photo, no streaks) */
.about-hero { padding-block: clamp(4rem, 9vw, 7rem); }
.about-hero__title { max-inline-size: 13ch; font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.02; }
.about-hero__title em { font-style: normal; color: var(--oc-gold-400); }
.about-hero .page-hero__lead { max-inline-size: 36rem; }
.services-hero .page-hero__split { align-items: end; }
.services-hero__title { max-inline-size: 12ch; font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.02; }
.services-hero__title em { font-style: normal; color: var(--oc-gold-400); }
.services-hero .hero__actions { margin-block-start: var(--oc-s6); }
.services-hero__photo.photo-slot {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--oc-radius-lg);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .85);
}
/* The picture is taller than its frame so it has room to drift */
.services-hero__photo.photo-slot img {
  position: absolute;
  inset: -8% 0 auto;
  block-size: 116%;
}
@media (max-width: 959px) {
  .services-hero__photo.photo-slot { aspect-ratio: 16 / 11; }
  .services-hero__rays { inset-block-start: -30vw; inset-inline-end: -40vw; inline-size: 120vw; opacity: .2; }
}

/* 7v. BOOKING HERO PHOTO ---------------------------------------------------- */
/* After the reference: the eye-test photo fills the hero behind the words, its
   subject on the right. It is graded warm gold (a light warming filter, an
   amber-gold light through the midtones, a thin gold veil) and fades to black on
   the left, where the text sits, and at the top and foot. It settles from a slight
   zoom when the page opens and drifts gently on scroll (main.js). */
.book-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-block-size: clamp(28rem, 68vh, 40rem);
  padding-block: var(--oc-s9);
}
.book-hero > .container { position: relative; z-index: 1; inline-size: 100%; }
.book-hero .page-hero__lead { max-inline-size: 34rem; }
.book-hero__photo.photo-slot {
  position: absolute;
  inset-block: 0;
  inset-inline: 28% 0;
  z-index: -1;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 0;
  /* the photo melts into the black on its left edge: no visible seam */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.book-hero__photo.photo-slot img {
  position: absolute;
  inset: -8% 0 auto;
  inline-size: 100%;
  block-size: 116%;
  object-fit: cover;
  object-position: 50% 38%;
  filter: sepia(.15) saturate(1.2) contrast(1.08) brightness(.98);
}
.motion .book-hero__photo.photo-slot img { animation: book-hero-settle 2.4s var(--oc-ease) both; }
@keyframes book-hero-settle {
  from { scale: 1.12; opacity: 0; }
  to   { scale: 1; opacity: 1; }
}
.book-hero__photo.photo-slot::before,
.book-hero__photo.photo-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
/* Gold light through the midtones, strongest at the top right */
.book-hero__photo.photo-slot::before {
  background:
    radial-gradient(70% 120% at 88% 0%, rgba(255, 226, 160, .7), rgba(255, 226, 160, 0) 60%),
    linear-gradient(115deg, rgba(224, 168, 72, .85) 0%, rgba(206, 146, 52, .7) 50%, rgba(150, 100, 30, .8) 100%);
  mix-blend-mode: overlay;
}
/* Fade to black on the left (under the words) and at the top and foot, plus a
   thin gold veil over everything */
.book-hero__photo.photo-slot::after {
  background:
    linear-gradient(90deg, rgba(11, 11, 12, 1) 0%, rgba(11, 11, 12, .86) 16%, rgba(11, 11, 12, .42) 48%, rgba(11, 11, 12, .16) 100%),
    linear-gradient(180deg, rgba(11, 11, 12, .55) 0%, rgba(11, 11, 12, 0) 22%, rgba(11, 11, 12, 0) 70%, rgba(11, 11, 12, .75) 100%),
    linear-gradient(rgba(217, 170, 80, .14), rgba(217, 170, 80, .14));
}
/* At a glance: a hairline, then three figures with small gold labels, as in
   the reference. Two classes, so the site-wide ul[class] reset does not win. */
.book-hero .book-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--oc-s5) clamp(2rem, 4.5vw, 3.75rem);
  max-inline-size: 40rem;
  margin: var(--oc-s7) 0 0;
  padding: var(--oc-s6) 0 0;
  border-block-start: var(--oc-border) solid rgba(217, 180, 95, .22);
  list-style: none;
}
.book-hero__stats li { display: grid; gap: var(--oc-s2); }
.book-hero__stats b {
  font-size: clamp(1.6rem, 2.6vw, 2.125rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--oc-white);
}
.book-hero__stats li > span {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--oc-gold-400);
}
/* Phones: the photo fills the whole hero under a deeper, even shade */
@media (max-width: 959px) {
  .book-hero { min-block-size: 0; padding-block: var(--oc-s8); }
  .book-hero__photo.photo-slot { inset: 0; -webkit-mask-image: none; mask-image: none; }
  .book-hero__photo.photo-slot img { object-position: 50% 52%; }
  .book-hero__photo.photo-slot::after {
    background:
      linear-gradient(180deg, rgba(11, 11, 12, .62) 0%, rgba(11, 11, 12, .74) 55%, rgba(11, 11, 12, .92) 100%),
      linear-gradient(rgba(217, 170, 80, .12), rgba(217, 170, 80, .12));
  }
}
@media (prefers-reduced-motion: reduce) { .book-hero__photo.photo-slot img { animation: none; } }

/* Small note at the foot of the screen (main.js), e.g. "number copied" after a
   Call link is clicked on a computer. Black and gold, fades in and out. */
.oc-toast {
  position: fixed;
  inset-block-end: max(1.5rem, calc(env(safe-area-inset-bottom) + 1rem));
  inset-inline-start: 50%;
  z-index: 45;
  max-inline-size: min(30rem, calc(100vw - 2rem));
  margin: 0;
  padding: .8rem 1.15rem;
  border: var(--oc-border) solid rgba(217, 180, 95, .45);
  border-radius: 14px;
  background: var(--oc-noir-900);
  box-shadow: 0 18px 40px -16px rgba(11, 11, 12, .6);
  font-size: var(--oc-small);
  line-height: 1.45;
  text-align: center;
  color: var(--oc-gold-100);
  opacity: 0;
  translate: -50% 8px;
  pointer-events: none;
  transition: opacity .3s ease, translate .45s var(--oc-ease);
}
.oc-toast.is-on { opacity: 1; translate: -50% 0; }
@media (prefers-reduced-motion: reduce) { .oc-toast { transition: none; } }

/* Home hero: a double tap spins the 3D frame (hero-3d.js), so phones must not
   treat it as "zoom in". Scrolling and pinch-zoom still work as usual. */
.hero { touch-action: manipulation; }
/* Touch screens: sideways slides on the frame turn it (hero-3d.js); up and
   down still scroll the page */
@media (pointer: coarse) { .hero__visual { touch-action: pan-y; } }

/* 7w. OUR STORY (About) ----------------------------------------------------- */
/* An ivory section. The opening line lights up with the scroll; three counters;
   then four chapters on the right while a dark card on the left stays in view
   and shows the painting for the chapter in the middle of the screen
   (data-stage, set by main.js): 1 Doha at dusk, 2 the counter, 3 the four at one
   table, 4 the new Al Danah store. The paintings crossfade with a slow settle;
   the chapters not being read are dimmed. */
.ostory { background: var(--oc-sand); }
.ostory__head { display: grid; gap: var(--oc-s6); }
.ostory .ostory__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--oc-s6) clamp(2.5rem, 6vw, 5rem);
  margin: var(--oc-s3) 0 0;
  padding: var(--oc-s6) 0 0;
  border-block-start: var(--oc-border) solid var(--oc-line);
  list-style: none;
}
.ostory__stats li { display: grid; gap: var(--oc-s2); }
.ostory__stats b {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--oc-noir-900);
}
.ostory__stats li > span {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--oc-gold-700);
}

.ostory__grid { display: grid; gap: var(--oc-s7); margin-block-start: var(--oc-s9); }
@media (min-width: 960px) {
  .ostory__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--oc-s9); align-items: start; }
}

/* The paintings: a dark card that stays in view */
.ostory__pin {
  position: sticky;
  inset-block-start: calc(var(--oc-header-h) + var(--oc-s5));
  z-index: 1;
}
.ostory__stage {
  display: grid;
  margin: 0;
  aspect-ratio: 1;
  max-block-size: calc(100vh - var(--oc-header-h) - var(--oc-s8));
  overflow: hidden;
  border: var(--oc-border) solid rgba(217, 180, 95, .28);
  border-radius: var(--oc-radius-lg);
  background:
    radial-gradient(70% 60% at 50% 46%, rgba(138, 106, 36, .32), rgba(138, 106, 36, 0) 70%),
    linear-gradient(160deg, var(--oc-noir-800), var(--oc-noir-900) 60%);
  box-shadow: 0 40px 80px -40px rgba(11, 11, 12, .55);
}
/* the four paintings sit on top of each other; the one for the stage shows */
.ostory__img {
  grid-area: 1 / 1;
  display: block;
  inline-size: 100%;
  block-size: 100%;
  min-block-size: 0;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .9s var(--oc-ease), transform 2.4s var(--oc-ease);
}
[data-stage="1"] .ostory__img[data-for="1"],
[data-stage="2"] .ostory__img[data-for="2"],
[data-stage="3"] .ostory__img[data-for="3"],
[data-stage="4"] .ostory__img[data-for="4"] { opacity: 1; transform: none; }
/* a soft dark fade at the foot keeps the gold caption readable */
.ostory__stage::after {
  content: "";
  grid-area: 1 / 1;
  align-self: end;
  block-size: 38%;
  background: linear-gradient(rgba(11, 11, 12, 0), rgba(11, 11, 12, .78));
  pointer-events: none;
}

.ostory__caption {
  position: relative;
  z-index: 1;
  display: grid;
  grid-area: 1 / 1;
  align-self: end;
  padding: var(--oc-s5) var(--oc-s6);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--oc-gold-400);
}
.ostory__caption span { grid-area: 1 / 1; opacity: 0; transition: opacity .25s ease; }
[data-stage="1"] .ostory__caption [data-for="1"],
[data-stage="2"] .ostory__caption [data-for="2"],
[data-stage="3"] .ostory__caption [data-for="3"],
[data-stage="4"] .ostory__caption [data-for="4"] { opacity: 1; transition: opacity .5s ease .25s; }

/* The chapters */
.ostory .ostory__chapters { display: grid; margin: 0; padding: 0; list-style: none; }
.ostory__chapter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-block-size: 58vh;
  padding-block: var(--oc-s7);
  border-block-start: var(--oc-border) solid var(--oc-line);
}
.ostory__chapter:first-child { border-block-start: 0; }
.ostory__num {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--oc-gold-700);
}
.ostory__chapter h3 {
  margin-block: var(--oc-s3) var(--oc-s4);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -.02em;
  color: var(--oc-noir-900);
}
.ostory__chapter p:last-child { max-inline-size: 32rem; font-size: var(--oc-lead); color: var(--oc-ink-2); }
.ostory.is-live .ostory__chapter { opacity: .3; transition: opacity .6s ease; }
.ostory.is-live .ostory__chapter.is-active { opacity: 1; }

.ostory__close { margin-block-start: var(--oc-s9); }
.ostory .ostory__promises {
  display: grid;
  gap: var(--oc-s6);
  margin: var(--oc-s8) 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) { .ostory .ostory__promises { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ostory__promises li { padding-block-start: var(--oc-s5); border-block-start: 2px solid var(--oc-gold-400); }
.ostory__promises h3 { margin-block-end: var(--oc-s3); font-size: var(--oc-h3); color: var(--oc-noir-900); }
.ostory__promises p { color: var(--oc-ink-2); }

/* Phones and tablets: the paintings stay at the top, smaller, while the
   chapters pass beneath them */
@media (max-width: 959px) {
  /* an ivory band behind the card covers the strip above it, so the chapters
     never show above the paintings when the site header slides away */
  .ostory__pin {
    inset-block-start: 0;
    margin-block-start: calc(-1 * (var(--oc-header-h) + var(--oc-s2)));
    padding-block: calc(var(--oc-header-h) + var(--oc-s2)) var(--oc-s3);
    background: linear-gradient(var(--oc-sand) 88%, rgba(247, 242, 232, 0));
  }
  /* A square painting (never cropped) as the card, with its caption in gold
     under it on the ivory (5 Dec 2026): no dark fade over the painting and no
     black strip below it. The dark card behind (::before) only shows while a
     painting is still loading; the thin gold ring (::after) sits on top. The
     paintings simply cross-fade here, quicker and without the slow zoom. */
  .ostory__stage {
    grid-template-rows: auto auto;
    row-gap: var(--oc-s3);
    aspect-ratio: auto;
    inline-size: min(100%, 300px, 42vh);
    margin-inline: auto;
    max-block-size: none;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .ostory__stage::before,
  .ostory__stage::after {
    content: "";
    grid-area: 1 / 1;
    border-radius: var(--oc-radius-lg);
    pointer-events: none;
  }
  .ostory__stage::before {
    background:
      radial-gradient(70% 60% at 50% 46%, rgba(138, 106, 36, .32), rgba(138, 106, 36, 0) 70%),
      linear-gradient(160deg, var(--oc-noir-800), var(--oc-noir-900) 60%);
    box-shadow: 0 30px 60px -30px rgba(11, 11, 12, .5);
  }
  .ostory__stage::after {
    z-index: 1;
    align-self: stretch;
    block-size: auto;
    background: none;
    box-shadow: inset 0 0 0 var(--oc-border) rgba(217, 180, 95, .28);
  }
  .ostory__img {
    aspect-ratio: 1;
    block-size: auto;
    border-radius: var(--oc-radius-lg);
    transform: none;
    transition: opacity .45s ease;
  }
  .ostory__caption { grid-area: 2 / 1; padding: 0 var(--oc-s4); text-align: center; color: var(--oc-gold-700); }
  .ostory__chapter { min-block-size: 50vh; }
}
@media (prefers-reduced-motion: reduce) {
  .ostory__img, .ostory__caption span, .ostory.is-live .ostory__chapter, .steps.is-live .step, .tl.is-live .tl__item { transition: none; }
  .ostory__img { transform: none; }
}

/* 7z. PAY LATER (Tabby, Tamara) ---------------------------------------------
   A card on Home (end of Our collections) and Services, and a line of logos in
   the footer and beside the opening hours (Contact, store pages). The partners'
   own logos, never recoloured: Tabby's mint badge; Tamara's wordmark in black on
   light grounds and in white on the black footer. */
.paylater {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--oc-s4) var(--oc-s7);
  margin-block-start: var(--oc-s7);
  padding: var(--oc-s5) var(--oc-s6);
  border: var(--oc-border) solid var(--oc-line);
  border-inline-start: 3px solid var(--oc-gold-600);
  border-radius: var(--oc-radius);
  background: var(--oc-white);
}
.paylater__copy { display: grid; gap: var(--oc-s2); max-inline-size: 38rem; }
.paylater__title {
  font-size: var(--oc-h3);
  line-height: var(--oc-lh-snug);
  color: var(--oc-noir-900);
}
.paylater__text { font-size: var(--oc-small); color: var(--oc-ink-2); }
.paylater__logos { display: flex; align-items: center; gap: var(--oc-s5); }
.paylater__logos img, .paylater-line img { display: block; inline-size: auto; }
.paylater__logos img[src*="tabby"] { block-size: 32px; }
.paylater__logos img[src*="tamara"] { block-size: 20px; }

.paylater-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--oc-s2) var(--oc-s3);
  margin-block-start: var(--oc-s4);
  font-size: var(--oc-small);
  color: var(--oc-ink-2);
}
.paylater-line img[src*="tabby"] { block-size: 22px; }
.paylater-line img[src*="tamara"] { block-size: 15px; }
/* the footer: a very small "Pay with" above the two logos, which sit side by side a
   little smaller than the Optico logo above them (4 Dec 2026) */
.site-footer .paylater-line { gap: var(--oc-s2) var(--oc-s4); margin-block-start: var(--oc-s5); }
.paylater-line__label {
  flex-basis: 100%;
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--oc-on-dark);
  opacity: .7;
}
.site-footer .paylater-line img[src*="tabby"] { block-size: 28px; }
.site-footer .paylater-line img[src*="tamara"] { block-size: 18px; }

/* 7za. GOOD TO KNOW (questions and answers), SERVICE PAGES, STORE FACTS ------
   The questions are written by server.py from data/faqs.json (and, on store
   pages, from the store's record) as an accordion of <details>: one open at a
   time where the browser supports it. Service pages pair an "At a glance" card
   with the details, like the guides' "In this guide" column. */
.faq__grid { display: grid; gap: var(--oc-s6); align-items: start; }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: .8fr 1.2fr; gap: var(--oc-s9); }
  .faq__head { position: sticky; inset-block-start: calc(var(--oc-header-h) + var(--oc-s6)); }
}
.faq__head h2 { max-inline-size: 14ch; margin-block-start: var(--oc-s4); color: var(--oc-noir-900); }
.faq__list { border-block-start: var(--oc-border) solid var(--oc-line); }
.faq__item { border-block-end: var(--oc-border) solid var(--oc-line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--oc-s4);
  min-block-size: var(--oc-tap);
  padding-block: var(--oc-s4);
  font-weight: 650;
  line-height: var(--oc-lh-snug);
  color: var(--oc-noir-900);
  list-style: none;
  cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {                       /* a gold plus that turns into a cross when open */
  content: "";
  flex: none;
  inline-size: 1.75rem;
  block-size: 1.75rem;
  border: var(--oc-border) solid var(--oc-line);
  border-radius: var(--oc-radius-pill);
  background:
    linear-gradient(var(--oc-gold-600), var(--oc-gold-600)) center / .7rem 1.5px no-repeat,
    linear-gradient(var(--oc-gold-600), var(--oc-gold-600)) center / 1.5px .7rem no-repeat;
  transition: rotate var(--oc-dur) var(--oc-ease), border-color var(--oc-dur-fast) ease;
}
.faq__q:hover::after { border-color: var(--oc-gold-600); }
.faq__item[open] .faq__q::after { rotate: 45deg; }
.faq__q:focus-visible { outline: var(--oc-ring) solid var(--oc-gold-400); outline-offset: var(--oc-s1); border-radius: var(--oc-radius-sm); }
.faq__a { max-inline-size: 40rem; padding-block-end: var(--oc-s5); color: var(--oc-ink-2); }
.faq__a a { color: var(--oc-gold-700); font-weight: 600; text-underline-offset: var(--oc-s1); }

/* Service pages */
.service-hero__title { max-inline-size: 14ch; }
/* the photo fills its 4:3 box exactly, so each page's crop point (photoPosition) takes effect */
.service-hero__photo.photo-slot { position: relative; }
.service-hero__photo.photo-slot img { position: absolute; inset: 0; object-position: 50% 45%; }
.svc-facts {
  display: grid;
  gap: var(--oc-s4);
  padding: var(--oc-s5);
  border: var(--oc-border) solid var(--oc-line);
  border-inline-start: 3px solid var(--oc-gold-600);
  border-radius: var(--oc-radius);
  background: var(--oc-white);
}
@media (min-width: 960px) {
  .svc-facts { position: sticky; inset-block-start: calc(var(--oc-header-h) + var(--oc-s6)); }
}
.svc-facts__title {
  font-size: var(--oc-tiny);
  font-weight: 600;
  letter-spacing: var(--oc-track-wide);
  text-transform: uppercase;
  color: var(--oc-gold-700);
}
.svc-facts__list { display: grid; gap: var(--oc-s3); margin: 0; }
.svc-facts__list dt { font-size: var(--oc-tiny); color: var(--oc-ink-2); }
.svc-facts__list dd { margin: 0; font-weight: 600; line-height: var(--oc-lh-snug); color: var(--oc-noir-900); }
.svc-facts__btn { justify-content: center; }

/* Services page cards: the title and "More about" go to the service's own page */
.service-card__title a { color: inherit; text-decoration: none; }
.service-card__title a:hover { color: var(--oc-gold-700); text-decoration: underline; text-underline-offset: var(--oc-s1); }
.service-card__more {
  justify-self: start;
  margin-block-end: var(--oc-s2);
  font-size: var(--oc-tiny);
  font-weight: 600;
  color: var(--oc-noir-900);
  text-underline-offset: var(--oc-s1);
}
.service-card__more::after { content: " \2192"; color: var(--oc-gold-600); }

/* Store facts beside the opening hours (store pages, Contact) */
.store-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--oc-s2);
  margin: var(--oc-s4) 0 0;
  padding: 0;
  list-style: none;
}
.store-facts li {
  padding: var(--oc-s1) var(--oc-s3);
  border: var(--oc-border) solid var(--oc-line);
  border-radius: var(--oc-radius-pill);
  background: var(--oc-white);
  font-size: var(--oc-tiny);
  font-weight: 600;
  color: var(--oc-ink);
}

/* 10. PHONES ---------------------------------------------------------------
   Phone polish from the mobile review (2 Dec 2026). Everything sits inside
   this one media query, so tablets and computers look exactly as before.
   Backup: data/backups/*__assets__css__style.css.before-phone-polish */
@media (max-width: 599px) {

  /* Small capitals: 11px is hard to read on a phone; 12px keeps the look */
  .pill, .pill--hero, .explore__tag, .service-card__num,
  .book-hero__stats li > span { font-size: .75rem; }

  /* Button groups: one column of full-width buttons with matching edges */
  .hero__actions, .cta__actions, .aside-block__actions, .form-done__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-self: stretch;
    inline-size: 100%;
  }
  .hero__actions .btn, .cta__actions .btn, .aside-block__actions .btn,
  .form-done__actions .btn, .form__submit, .service-card__btn { inline-size: 100%; }
  .form__submit { justify-self: stretch; }

  /* Small text links get a taller invisible tap area; they look the same */
  .crumbs a { display: inline-block; padding-block: var(--oc-s3); margin-block: calc(-1 * var(--oc-s3)); }
  .service-card__guide { display: inline-block; padding-block: var(--oc-s2); margin-block: calc(-1 * var(--oc-s2)) 0; }

  /* Home, Explore (5 Dec 2026, the user's choice; it replaced a row you swiped
     through): the tablet's picture grid in small, so all seven show at once.
     "About" spans the width; the other six sit two to a row with their label
     and title only (a description needs more than half a phone's width), the
     arrow in the top corner, 16px inside like the trust cards, and a deeper
     shade behind the words so the gold labels read on light photos.
     ul. outranks the site-wide ul[class] reset. */
  ul.explore__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--oc-s3);
    margin-block-start: var(--oc-s6);
  }
  .explore__item:first-child { grid-column: span 2; }
  .explore__item:first-child .explore__tile { block-size: 17.5rem; }
  .explore__item:not(:first-child) .explore__tile { block-size: 15rem; padding: var(--oc-s4); }
  .explore__item:not(:first-child) .explore__title { font-size: 1.125rem; }
  .explore__item:not(:first-child) .explore__text { display: none; }
  .explore__item:not(:first-child) .explore__go {
    position: absolute;
    inset-block-start: var(--oc-s3);
    inset-inline-end: var(--oc-s3);
    inline-size: 36px;
    block-size: 36px;
  }
  .explore__item:not(:first-child) .explore__tile::after {
    background: linear-gradient(to top, rgba(11, 11, 12, .94) 0%, rgba(11, 11, 12, .8) 40%,
                rgba(11, 11, 12, .5) 62%, rgba(11, 11, 12, 0) 84%);
  }

  /* Header: a smaller Menu button (user's request); still about 36px tall */
  .nav-toggle {
    gap: 6px;
    min-block-size: 36px;
    padding: var(--oc-s1) .8rem;
    font-size: .8125rem;
  }
  .nav-toggle__icon { inline-size: .875rem; block-size: .625rem; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::after  { transform: translateY(-4px) rotate(-45deg); }

  /* Home, What you can count on: the three promises become cards side by
     side that you swipe through (the next one peeks in); all the words stay */
  ul.trust__list {
    display: flex;
    gap: var(--oc-s3);
    margin-block-start: var(--oc-s4);
    margin-inline: calc(-1 * var(--oc-gutter));
    padding: 0 var(--oc-gutter) var(--oc-s1);
    border: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--oc-gutter);
    scrollbar-width: none;
  }
  ul.trust__list::-webkit-scrollbar { display: none; }
  /* smaller cards: the icon sits beside the title, the text is a size down,
     and the next card shows a little more */
  .trust__item {
    flex: 0 0 76%;
    scroll-snap-align: start;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: center;
    gap: 6px var(--oc-s3);
    padding: var(--oc-s4);
    border: var(--oc-border) solid var(--oc-line);
    border-radius: var(--oc-radius);
  }
  .trust__icon { inline-size: 2rem; block-size: 2rem; margin-block-end: 0; border-radius: 10px; }
  .trust__icon svg { inline-size: 1rem; block-size: 1rem; }
  .trust__item h3 { font-size: 1rem; line-height: 1.25; }
  .trust__item p { grid-column: 1 / -1; font-size: .875rem; line-height: 1.5; }
  .trust__item .trust__fact { font-size: .75rem; }
  /* and a shorter section around them: less padding, a smaller heading
     (made smaller twice on request, 2 Dec 2026; backup .before-smaller-trust-2) */
  .trust__head { gap: var(--oc-s3); }

  /* Eye-test steps (home and Services): smaller steps, smaller gaps
     (made smaller again on request, 2 Dec 2026; backup .before-smaller-steps) */
  .steps__grid { gap: var(--oc-s5); }
  .steps__lead { margin-block-end: 0; font-size: .9375rem; line-height: 1.55; }
  .step { gap: var(--oc-s3); padding-block: var(--oc-s4); }
  .step__num { inline-size: 2rem; block-size: 2rem; font-size: .9375rem; }
  .step__body { gap: 2px; }
  .step__time { font-size: .75rem; }
  .step__body h3 { font-size: 1rem; }
  .step__body > p:last-child { margin-block-start: var(--oc-s1); font-size: .875rem; line-height: 1.5; }

  /* Home, Your appointment: the whole head (label, title, line and Book
     button) stays pinned while steps 1 to 3 scroll beneath it and fade away
     (user's request, 2 Dec 2026; before, only the title was pinned — backup
     .before-steps-head-pin). The black band reaches up behind the site header,
     so nothing shows above the head when the header slides away, and fades at
     its foot. The section clips the band so it never covers the foot of the
     section above (overflow: clip keeps the head pinned, unlike hidden). */
  .steps:has(.steps__title) { overflow: clip; }
  .steps:has(.steps__title) .steps__head {
    position: sticky;
    inset-block-start: 0;
    z-index: 1;
    gap: var(--oc-s3);
    margin-block: calc(-1 * (var(--oc-header-h) + var(--oc-s2))) calc(-1 * var(--oc-s4));
    padding-block: calc(var(--oc-header-h) + var(--oc-s2)) var(--oc-s6);
    background: linear-gradient(var(--oc-noir-900) calc(100% - var(--oc-s6)), rgba(11, 11, 12, 0));
  }
  .steps:has(.steps__title) .steps__head > .btn { justify-self: stretch; }
  /* the steps light up one at a time as they reach the middle of the space
     below the head (main.js 3i), the others dimmed, as in Our story on the
     About page. filter: opacity, so it never fights the rise-in on arrival
     (which animates opacity). */
  .steps.is-live .step {
    min-block-size: 30svh;                   /* each step gets its own stretch of scrolling */
    align-content: center;
    filter: opacity(.28);
    transition: filter .5s ease;
  }
  .steps.is-live .step.is-active { filter: none; }
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      .steps:has(.steps__title) .step {
        animation: steps-fade-out linear forwards;
        animation-timeline: view(block 17rem 0px);     /* about where the pinned head ends */
        animation-range: exit 0% exit 80%;
      }
    }
  }

  /* Home, collections: less empty space under the cards; the pause buttons
     move to the left so they never sit under the WhatsApp button */
  .collections__marquee .collections__track { padding-block: var(--oc-s6); }
  .collections__band { padding-block-end: var(--oc-s6); }
  .collections__toggle, .marquee__toggle { inset-inline: var(--oc-gutter) auto; }

  /* WhatsApp button: steps aside while someone is typing in a form */
  .wa-float { transition: opacity .25s ease, transform .45s var(--oc-ease); }
  body:has(:is(input, select, textarea):focus) .wa-float {
    opacity: 0;
    transform: translateY(var(--oc-s4));
    pointer-events: none;
  }

  /* Learn: compact guide cards, icon beside the title and the summary
     underneath, so each section reads in a screen or two */
  .lcard__link {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    align-items: center;
    gap: var(--oc-s2) var(--oc-s4);
    padding: var(--oc-s5);
  }
  .lcard__icon { inline-size: 2.5rem; margin-block-end: 0; }
  .lcard__title { padding-inline-end: var(--oc-s6); }
  .lcard__text, .lcard__meta { grid-column: 1 / -1; }
  .lcard__text { margin-block-start: var(--oc-s1); }

  /* Guides: a wide table scrolls inside its own box instead of pushing the
     whole page sideways, and tighter cells let most tables fit outright */
  .read__grid { grid-template-columns: minmax(0, 1fr); }
  .read__main { min-inline-size: 0; }
  .prose th, .prose td { padding: var(--oc-s3) var(--oc-s2); }
  .prose thead th { letter-spacing: .06em; }

  /* About, Our story: the three counters share one row */
  .ostory .ostory__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--oc-s4);
  }
  .ostory__stats li { align-content: start; }
  .ostory__stats li > span { line-height: 1.35; letter-spacing: .08em; }
  /* the ivory band behind the pinned painting stays solid down to the card's
     edge and only then fades, so chapter text never shows beside the card */
  .ostory__pin {
    padding-block-end: var(--oc-s5);
    background: linear-gradient(var(--oc-sand) calc(100% - var(--oc-s5)), rgba(247, 242, 232, 0));
  }

  /* About, How your glasses are made: each number sits beside its title */
  .tl__item {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    gap: var(--oc-s2) var(--oc-s4);
    padding: var(--oc-s5);
  }
  .tl__num { margin-block-end: 0; font-size: 1.75rem; }
  .tl__item p { grid-column: 1 / -1; }

  /* Footer: Contact and Explore side by side, shorter gaps */
  .site-footer { padding-block-start: var(--oc-s8); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--oc-s6) var(--oc-s5); }
  .site-footer__brand, .site-footer__grid > :nth-child(2) { grid-column: 1 / -1; }
  .site-footer__base { margin-block-start: var(--oc-s6); }

  /* Shorter home sections (4 Dec 2026): Our products, Our collections, the
     moving words and the footer keep their content, with less air */
  .products .statement { font-size: 1.3125rem; }
  .feature-cards { gap: var(--oc-s4); margin-block-start: var(--oc-s7); }
  .feature-card {                      /* icon beside the title, text underneath */
    grid-template-columns: 2.5rem minmax(0, 1fr);
    align-items: center;
    gap: var(--oc-s3) var(--oc-s4);
    padding: var(--oc-s5);
  }
  .feature-card__icon { inline-size: 2.5rem; block-size: 2.5rem; margin-block-end: 0; }
  .feature-card__icon svg { inline-size: 1.25rem; block-size: 1.25rem; }
  .feature-card p { grid-column: 1 / -1; }
  .brands { margin-block-start: var(--oc-s8); }
  .brands__title { margin-block-end: var(--oc-s5); }
  .brands__band { padding-block: var(--oc-s6); }

  .collections__head { gap: var(--oc-s5); margin-block-end: var(--oc-s5); }
  .collections__head h2 { margin-block-start: var(--oc-s3); }
  .collection { inline-size: 15.5rem; }
  .collections__marquee .collections__track { gap: var(--oc-s4); padding-block: var(--oc-s6); }
  .collections__band { padding-block-end: 0; }      /* no pause button under the cards on phones */
  .collection__body { gap: var(--oc-s2); padding: var(--oc-s6) var(--oc-s5) var(--oc-s6); }
  .collection__title { font-size: 1.25rem; }
  .collection__text { font-size: .8125rem; }

  /* Moving words: no visible pause button on phones (4 Dec 2026, user's request), so
     the words sit in the middle of the band. A tap on the band pauses and restarts
     it (main.js); the button stays for screen readers and keyboards, and shows
     only while it has keyboard focus. */
  .marquee-band { padding-block: var(--oc-s6); }
  /* the same for the brand logos and the collections (4 Dec 2026): hidden, still there
     for screen readers and keyboards; the logos pause on a tap, the cards while touched */
  .marquee-band > .marquee__toggle:not(:focus-visible),
  .brands__toggle:not(:focus-visible),
  .collections__toggle:not(:focus-visible) {
    inline-size: 1px;
    block-size: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .marquee-band .marquee__item { font-size: 1.75rem; line-height: 1.3; }
  /* With Reduce Motion on (5 Dec 2026, seen on an iPhone): the words and the
     logos stay on one line, still, and a finger swipes them sideways, instead
     of stacking down the page. The far edge fades to show there is more. */
  html:not(.motion) .marquee {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
    mask-image: linear-gradient(90deg, #000 82%, transparent);
  }
  html:not(.motion) .marquee::-webkit-scrollbar { display: none; }
  html:not(.motion) .marquee__track {
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-inline: var(--oc-gutter);
  }
  html:not(.motion) .brands__track { justify-content: flex-start; }

  .site-footer { padding-block-start: var(--oc-s8); }
  .site-footer .logo img { block-size: var(--oc-s7); }
  .site-footer__brand p { margin-block-start: var(--oc-s3); }
  .site-footer__grid { gap: var(--oc-s6) var(--oc-s5); }
  .site-footer__list li, .site-footer a:not(.logo) { min-block-size: 36px; }
  .site-footer__title { margin-block-end: var(--oc-s1); }
  .site-footer__base { padding-block: var(--oc-s4); }
  .site-footer__legal { gap: 0 var(--oc-s4); }

  /* Book page (4 Dec 2026): a shorter hero with the three figures in one
     row, and a tighter form and side column. Every field keeps a 48px box. */
  .book-hero { padding-block: var(--oc-s7) var(--oc-section); }
  .book-hero h1 { margin-block-start: var(--oc-s4); }
  .book-hero .page-hero__lead { margin-block-start: var(--oc-s4); line-height: 1.6; }
  .book-hero .book-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--oc-s3);
    margin-block-start: var(--oc-s6);
    padding-block-start: var(--oc-s5);
  }
  .book-hero__stats li { gap: var(--oc-s1); }
  .book-hero__stats b { font-size: 1.375rem; }
  .book-hero__stats li > span { font-size: .75rem; letter-spacing: .08em; line-height: 1.35; }

  .booking__grid { gap: var(--oc-s7); }
  /* the form itself: a slimmer card, 44px fields (16px text, so phones do
     not zoom in), smaller labels, and day + time side by side */
  .booking .booking__card { padding: var(--oc-s6) var(--oc-s5); border-radius: var(--oc-radius); }
  .booking .form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--oc-s4) var(--oc-s3); }
  .booking .form > * { grid-column: 1 / -1; }
  .booking .form > .field:has(#bk-day, #bk-time) { grid-column: auto; }
  @media (max-width: 359px) { .booking .form > .field:has(#bk-day, #bk-time) { grid-column: 1 / -1; } }
  .booking .form__title { font-size: 1.25rem; }
  .booking .field { gap: var(--oc-s1); }
  .booking .field label { font-size: .8125rem; }
  .booking .field input, .booking .field select, .booking .field textarea {
    min-block-size: 44px;
    padding: 6px var(--oc-s3);
    font-size: 1rem;
  }
  .booking .phone__code { min-block-size: 44px; min-inline-size: 5.25em; padding: 0 var(--oc-s2) 0 var(--oc-s3); font-size: 1rem; }
  .booking .field .phone__code select { padding: 0; }
  .booking .field__hint, .booking .field__error { font-size: .75rem; }
  .booking .form__submit {
    justify-self: stretch;
    justify-content: center;
    min-block-size: 44px;
    margin-block-start: var(--oc-s1);
    padding-block: var(--oc-s2);
    font-size: .9375rem;
  }
  .booking .form__note { font-size: .75rem; }
  .booking .aside-block { gap: var(--oc-s3); padding-block: var(--oc-s6); }
  .booking .aside-block:first-child { padding-block-start: 0; }
  .booking .aside-block h2 { font-size: 1.25rem; }

  /* Stores: no empty photo frame on phones; bigger map zoom buttons and store
     name; the card's phone, WhatsApp, directions and page links as buttons */
  .page-hero .photo-slot:not(.has-photo) { display: none; }
  .loc__map .leaflet-control-zoom a.leaflet-control-zoom-in,
  .loc__map .leaflet-control-zoom a.leaflet-control-zoom-out {
    inline-size: 40px;
    block-size: 40px;
    font-size: 1.25rem;
    line-height: 40px;
  }
  .loc__pick { padding-block: var(--oc-s2); margin-block: calc(-1 * var(--oc-s2)); }
  .loc__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--oc-s2);
    padding-block-start: var(--oc-s4);
  }
  .loc__actions a {
    justify-content: center;
    padding-inline: var(--oc-s3);
    border: var(--oc-border) solid var(--oc-line);
    border-radius: var(--oc-radius-pill);
  }
  .loc__more { margin-inline-start: 0; }
  /* the phone number and the store page link get a full row each */
  .loc__actions > a:first-child, .loc__actions > .loc__more { grid-column: 1 / -1; }

  /* Store pages: services as compact chips that share rows; a taller map
     so the map credits cover less of it */
  .pills { gap: var(--oc-s2); margin-block-start: var(--oc-s6); }
  .pills li { padding-inline: var(--oc-s4); font-size: var(--oc-small); }
  .visit__frame { aspect-ratio: 4 / 3; }

  /* Stores and Contact (4 Dec 2026): shorter pages by scaling everything
     down together (type, buttons, cards, chips, table rows and spacing),
     not by padding alone. Inputs keep 16px text so phones do not zoom. */
  :is(main:has(.loc), main:has([data-contact-form])) .page-hero .crumbs { font-size: .8125rem; }
  :is(main:has(.loc), main:has([data-contact-form])) .page-hero .crumbs + .eyebrow { margin-block-start: var(--oc-s3); }
  :is(main:has(.loc), main:has([data-contact-form])) .page-hero h1 { margin-block-start: var(--oc-s3); }
  :is(main:has(.loc), main:has([data-contact-form])) .page-hero__lead { margin-block-start: var(--oc-s3); line-height: 1.6; }


  /* Stores: the locator */
  .loc__head h2 { margin-block-start: var(--oc-s2); }
  .loc__controls { gap: var(--oc-s4); margin-block-start: var(--oc-s5); }
  .loc .chip { min-block-size: 36px; padding-inline: var(--oc-s3); font-size: .8125rem; }
  .loc__search { gap: var(--oc-s1); }
  .loc__search label { font-size: .8125rem; }
  .loc__searchbox input { min-block-size: 44px; font-size: 1rem; }
  .loc__meta { gap: 2px var(--oc-s4); margin-block: var(--oc-s4); font-size: .8125rem; }
  .loc__panes { gap: var(--oc-s4); }
  .loc__mapwrap { min-block-size: 14.5rem; }
  .loc__mapnote { font-size: .75rem; }
  .loc__card { gap: var(--oc-s4); padding: var(--oc-s5); }
  .loc__name { font-size: 1.125rem; }
  .loc__area { font-size: .8125rem; }
  .loc__status { margin-block-start: var(--oc-s1); font-size: .75rem; }
  .loc__label { font-size: .75rem; }
  .loc__times { font-size: .875rem; }
  .loc__actions { gap: 6px; padding-block-start: var(--oc-s3); }
  .loc__actions a { min-block-size: 38px; gap: 6px; font-size: .8125rem; }
  .loc__actions svg { inline-size: .875rem; }

  /* Contact: side column and Visit us (hours and map) */
  main:has([data-contact-form]) .field textarea { block-size: 6.5rem; min-block-size: 6.5rem; }
  .booking .aside-block p { font-size: .9375rem; }
  main:has([data-contact-form]) .aside-block__link { min-block-size: 36px; font-size: .875rem; }
  .visit .section-head { gap: var(--oc-s4); }
  .visit .section-head__copy { gap: var(--oc-s2); }
  .visit__grid { gap: var(--oc-s5); margin-block-start: var(--oc-s6); }
  .hours th, .hours td { padding-block: var(--oc-s3); font-size: .875rem; }
  .hours__today { margin-inline-start: var(--oc-s2); padding: 2px var(--oc-s2); font-size: .75rem; }
  .visit__note { margin-block-start: var(--oc-s3); font-size: .8125rem; }
  .visit__map { border-radius: var(--oc-radius); }

  /* Pay later card: words above the logos, sized with the rest of the page */
  .paylater { gap: var(--oc-s4); margin-block-start: var(--oc-s5); padding: var(--oc-s5); }
  .paylater__title { font-size: 1.125rem; }
  .paylater__text { font-size: .9375rem; }
  .paylater__logos img[src*="tabby"] { block-size: 28px; }
  .paylater__logos img[src*="tamara"] { block-size: 17px; }
  .paylater-line { font-size: .8125rem; }

  /* Good to know: compact questions; service pages: the facts card above the details */
  .faq__q { gap: var(--oc-s3); padding-block: var(--oc-s3); font-size: .9375rem; }
  .faq__q::after { inline-size: 1.5rem; block-size: 1.5rem; }
  .faq__a { padding-block-end: var(--oc-s4); font-size: .9375rem; }
  .svc-facts { padding: var(--oc-s5); }
  .svc-facts__list dd { font-size: .9375rem; }
  .store-facts li { font-size: .75rem; }

  /* ---- Design consistency (4 Dec 2026, senior UI review) ----
     One scale for every page on a phone: page titles 34px, section titles 28px,
     intros 16px, card titles 18px, card text 15px, small capitals 12px; buttons
     44px tall (large ones 48px); cards 24px inside, dark panels 32px by 24px;
     56px between sections; the 20px side margin everywhere. The home hero keeps
     the sizes chosen for it (2 Dec). */
  :root {
    --oc-h1: 2.125rem;
    --oc-h2: 1.75rem;
    --oc-lead: 1rem;
    --oc-section: 56px;
  }
  .page-hero { padding-block: var(--oc-s7) var(--oc-section); }
  .page-hero h1, .services-hero__title { font-size: var(--oc-h1); }
  .wall { padding-block: var(--oc-section); }
  .section.booking { padding-block: var(--oc-section); }
  .eyebrow, .ostory__stats li > span, .ostory__caption span, .brands__title { font-size: .75rem; }
  .explore__text { font-size: .8125rem; }

  /* buttons: 44px, and 48px for the large ones (the home hero keeps 40px).
     A section's main (gold) button spans the width; a secondary outline button
     beside a section title keeps its own width, as it does everywhere else. */
  .btn--lg { min-block-size: 48px; padding: var(--oc-s3) var(--oc-s5); font-size: 1rem; }
  .steps__head > .btn { justify-self: stretch; }
  .lsec__head > .btn { justify-self: start; }
  .service-card__btn { min-block-size: 44px; font-size: var(--oc-small); }

  /* cards: 24px inside, 18px titles, 15px text */
  .service-card { padding: var(--oc-s5); }
  .feature-card h3, .tl__item h3 { font-size: 1.125rem; }
  .tl__item p { font-size: .9375rem; line-height: 1.6; }

  /* dark panels (closing calls to action, the guides' booking panel): 32px by 24px
     inside, the large corner, and full-width buttons like every other panel */
  .cta__panel, .read__book { padding: var(--oc-s6) var(--oc-s5); border-radius: var(--oc-radius-lg); }
  .read__book h2 { font-size: 1.25rem; }
  .read__book p { font-size: var(--oc-lead); }
  .read__actions { display: grid; justify-items: start; }
  .read__actions .btn { inline-size: 100%; }

  /* Services page: each card title has a taller invisible tap area */
  .service-card__title a { display: inline-block; padding-block: var(--oc-s2); margin-block: calc(-1 * var(--oc-s2)); }

  /* About, How your glasses are made (4 Dec 2026): like Your appointment on the
     home page. The heading stays pinned with a black band under the site header
     while the cards scroll up beneath it; one card is lit at a time (main.js 3i)
     and the cards already read fade out under the heading (--pin-head, measured
     by main.js). overflow: clip keeps the band from painting over the section
     above without stopping position: sticky. */
  .tl { overflow: clip; }
  .tl__head {
    position: sticky;
    inset-block-start: 0;
    z-index: 1;
    margin-block-start: calc(-1 * (var(--oc-header-h) + var(--oc-s2)));
    padding-block: calc(var(--oc-header-h) + var(--oc-s2)) var(--oc-s6);
    background: linear-gradient(var(--oc-noir-900) calc(100% - var(--oc-s6)), rgba(11, 11, 12, 0));
  }
  .tl__viewport { margin-block-start: var(--oc-s2); }
  .tl.is-live .tl__item { filter: opacity(.28); transition: filter .5s ease; }
  .tl.is-live .tl__item.is-active { filter: none; }
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      .tl.is-live .tl__item {
        animation: steps-fade-out linear forwards;
        animation-timeline: view(block var(--pin-head, 10rem) 0px);
        animation-range: exit 0% exit 80%;
      }
    }
  }

  /* Home, brands: the pause button reads as a button over the moving logos */
  .brands__toggle { box-shadow: 0 0 0 var(--oc-border) var(--oc-line), 0 6px 16px rgba(23, 19, 11, .12); }
}
@keyframes steps-fade-out { to { opacity: 0; transform: translateY(-12px); } }

/* 11. SCROLL-LINKED EFFECTS ------------------------------------------------
   The same effects main.js used to work out on every scroll frame, run by the
   browser itself in step with the scroll (CSS scroll-driven animations), so
   they stay glued to the finger on phones. Only where main.js found support
   and added .scroll-linked; older browsers keep the script. (5 Dec 2026)
   view-timeline-inset: 0 everywhere: the page's 76px scroll-padding (room under
   the fixed header) would otherwise count as the top of the window, which the
   script never did.
   Backup: data/backups/*__assets__css__style.css.before-scroll-smoothing */

/* Statements whose words light up: each word over its own stretch of the
   statement's passage through the window (--from to --to, worked out by main.js
   so it matches the statement moving from 82% to 45% of the window) */
.motion.scroll-linked [data-scrub-words] { view-timeline: --oc-scrub block; view-timeline-inset: 0; }
.motion.scroll-linked [data-scrub-words] .split-w {
  animation: oc-scrub linear both;
  animation-timeline: --oc-scrub;
  animation-range: cover var(--from, 0%) cover var(--to, 100%);
}
@keyframes oc-scrub { from { opacity: .14; } to { opacity: 1; } }

/* Home hero: the words rise and fade, the picture sinks, as the hero scrolls away */
.motion.scroll-linked .hero { view-timeline: --oc-hero block; view-timeline-inset: 0; }
.motion.scroll-linked .hero__copy,
.motion.scroll-linked .hero__visual {
  animation: oc-hero-copy linear both;
  animation-timeline: --oc-hero;
  animation-range: exit-crossing 0% exit-crossing 100%;
}
.motion.scroll-linked .hero__visual { animation-name: oc-hero-visual; }
@keyframes oc-hero-copy { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-12%); opacity: .15; } }
@keyframes oc-hero-visual { from { transform: translateY(0); } to { transform: translateY(12%); } }

/* Language wall: rows slide sideways as it crosses the window, alternate rows
   the other way (main.js marks them .wall__row--back and sets --drift) */
.motion.scroll-linked .wall { view-timeline: --oc-wall block; view-timeline-inset: 0; }
.motion.scroll-linked .wall__row { animation: oc-wall linear both; animation-timeline: --oc-wall; }
.motion.scroll-linked .wall__row--back { animation-name: oc-wall-back; }
@keyframes oc-wall { from { transform: translateX(0); } to { transform: translateX(calc(-1 * var(--drift, 22%))); } }
@keyframes oc-wall-back { from { transform: translateX(calc(-1 * var(--drift, 22%))); } to { transform: translateX(0); } }

/* Promise section: the film drifts slower than the page; the gold dials drift
   by their own --depth while still turning (belief-turn keeps running) */
.motion.scroll-linked [data-belief] { view-timeline: --oc-belief block; view-timeline-inset: 0; }
.motion.scroll-linked [data-belief] .belief__media { animation: oc-belief-media linear both; animation-timeline: --oc-belief; }
@keyframes oc-belief-media { from { transform: translateY(6%); } to { transform: translateY(-6%); } }
.motion.scroll-linked [data-belief] .belief__dial {
  animation-name: belief-turn, oc-belief-dial;
  animation-duration: 60s, auto;
  animation-timing-function: linear, linear;
  animation-iteration-count: infinite, 1;
  animation-direction: normal, normal;
  animation-fill-mode: none, both;
  animation-timeline: auto, --oc-belief;
}
.motion.scroll-linked [data-belief] .belief__dial:nth-child(2) { animation-duration: 38s, auto; animation-direction: reverse, normal; }
.motion.scroll-linked [data-belief] .belief__dial:nth-child(3) { animation-duration: 24s, auto; }
@keyframes oc-belief-dial {
  from { translate: 0 calc(-60px * var(--depth, 1)); }
  to   { translate: 0 calc(60px * var(--depth, 1)); }
}

/* Footer wordmark: rises and fades in from the moment it enters the window to the
   very end of the page (main.js sets --word-start; .is-shown on short pages) */
.motion.scroll-linked .site-footer__word {
  animation: oc-footer-word linear both;
  animation-timeline: scroll(root block);
  animation-range: var(--word-start, 80%) 100%;
}
.motion.scroll-linked .site-footer__word-wrap.is-shown .site-footer__word { animation: none; }
@keyframes oc-footer-word { from { transform: translateY(60%); opacity: 0; } to { transform: none; opacity: 1; } }

/* Services and booking photos drift inside their frames while the frame's middle
   crosses the window (main.js sets --from and --to on the frame). Their sections
   clip rather than hide what overflows: the same look, but "hidden" would make
   each section a scroll box of its own, and the drift would follow that instead
   of the page. */
.motion.scroll-linked .services-hero,
.motion.scroll-linked .book-hero { overflow: clip; }
.motion.scroll-linked .services-hero__photo.photo-slot,
.motion.scroll-linked .book-hero__photo.photo-slot { view-timeline: --oc-photo block; view-timeline-inset: 0; }
.motion.scroll-linked .services-hero__photo.photo-slot img {
  animation: oc-photo-drift linear both;
  animation-timeline: --oc-photo;
  animation-range: cover var(--from, 0%) cover var(--to, 100%);
}
.motion.scroll-linked .book-hero__photo.photo-slot img {
  animation: book-hero-settle 2.4s var(--oc-ease) both, oc-photo-drift linear both;
  animation-timeline: auto, --oc-photo;
  animation-range: normal, cover var(--from, 0%) cover var(--to, 100%);
}
@keyframes oc-photo-drift { from { translate: 0 -6.5%; } to { translate: 0 6.5%; } }
