/* =========================================================
   Glimpse Vision — Design System
   Editorial luxury optical: Fraunces (display) + Inter (body)
   Warm off-white, deep charcoal, antique gold accent
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --bg: #f5f1ea;
  --bg-card: #fbf8f2;
  --bg-deep: #1c1c1a;
  --ink: #1c1c1a;
  --ink-soft: #4a463f;
  --ink-mute: #807a70;
  --line: #d8d2c4;
  --line-soft: #e8e3d6;
  --gold: #9c7a3a;
  --gold-deep: #745a2b;
  --oxblood: #6e2a2a;
  --white: #ffffff;

  /* Type */
  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --container: 1240px;
  --container-narrow: 920px;
  --gutter: clamp(20px, 4vw, 56px);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 600ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: var(--gold); color: var(--white); }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--gold-deep); }

/* ---------- Type ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  font-weight: 300;
  font-variation-settings: 'opsz' 144;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  font-variation-settings: 'opsz' 96;
}
h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
}
h4 {
  font-size: 1.15rem;
  font-weight: 600;
  font-family: var(--body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

p { margin-bottom: 1.1em; max-width: 65ch; }
p.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
}

.eyebrow {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.2rem;
  display: inline-block;
}

.italic { font-style: italic; }
.serif { font-family: var(--display); }

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: clamp(60px, 9vw, 130px) 0; }

.divider { height: 1px; background: var(--line); width: 100%; }

/* ---------- Buttons (pill-shaped, clean) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--bg);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
}
.btn-ghost {
  background: transparent;
  color: var(--bg);
  border-color: rgba(245, 241, 234, 0.5);
}
.btn-ghost:hover {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}
.link-arrow {
  font-family: var(--body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: gap var(--t-med) var(--ease);
}
.link-arrow:hover { gap: 14px; color: var(--ink); }

/* ---------- Header (full-bleed, three-column) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Smooth fade — opaque cream at the top where logo/nav sit, gradually
     dissolving to transparent at the bottom edge so there's no hard line
     against the video below. */
  background: linear-gradient(180deg,
    rgba(245, 241, 234, 0.96) 0%,
    rgba(245, 241, 234, 0.86) 35%,
    rgba(245, 241, 234, 0.55) 70%,
    rgba(245, 241, 234, 0.18) 90%,
    rgba(245, 241, 234, 0) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;  /* no hairline that would read as a white line */
  transition: padding 240ms var(--ease),
              background 380ms var(--ease),
              backdrop-filter 380ms var(--ease);
}
.site-header.is-scrolled {
  background: rgba(245, 241, 234, 0.96);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: none;  /* keep clean — no white hairline showing */
}
.site-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 28px clamp(20px, 2.5vw, 36px);
  max-width: 100%;
  margin: 0;
  gap: 40px;
}
@media (max-width: 920px) {
  .site-header-inner { padding: 22px 20px; }
}
.brand {
  font-family: var(--display);
  font-size: clamp(1.5rem, 1.6vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  line-height: 1;
}
.brand img {
  display: block;
  height: clamp(46px, 4.6vw, 66px);
  width: auto;
  max-width: 320px;
  object-fit: contain;
}
.brand-dot {
  width: 9px;
  height: 9px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
  position: relative;
}
.brand-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0.4;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.5); opacity: 0; }
}
.brand:hover { color: var(--ink); }

.nav-primary {
  display: flex;
  gap: clamp(20px, 2.2vw, 36px);
  list-style: none;
  justify-self: center;
}
.nav-primary > li { position: relative; }
.nav-primary > li > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-primary > li.has-dropdown > a::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 1.2px solid currentColor;
  border-bottom: 1.2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  display: inline-block;
  opacity: 0.6;
  transition: transform var(--t-fast) var(--ease);
}
.nav-primary > li.has-dropdown:hover > a::after { transform: rotate(225deg) translate(-1px, -1px); }

/* Level 1 dropdown — rounded, padded, premium */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  min-width: 268px;
  padding: 10px;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--ease), transform 260ms var(--ease);
  box-shadow:
    0 4px 12px -4px rgba(20,19,15,0.10),
    0 24px 60px -12px rgba(20,19,15,0.22);
  z-index: 50;
}
.nav-primary > li:hover > .nav-dropdown,
.nav-primary > li:focus-within > .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Invisible bridge between trigger and dropdown so hover doesn't break */
.nav-primary > li.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  display: none;
}
.nav-primary > li.has-dropdown:hover::after { display: block; }

.nav-dropdown li { position: relative; }
.nav-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 12px;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), padding-left 220ms var(--ease);
}
.nav-dropdown a:hover {
  background: rgba(138, 117, 83, 0.18);
  color: var(--ink);
  padding-left: 22px;
}
.nav-dropdown li.has-submenu > a::after {
  content: '';
  width: 7px; height: 7px;
  border-right: 1.6px solid currentColor;
  border-top: 1.6px solid currentColor;
  transform: rotate(45deg);
  display: inline-block;
  opacity: 0.55;
  margin-left: 4px;
  transition: transform 200ms var(--ease), opacity 160ms var(--ease);
}
.nav-dropdown li.has-submenu:hover > a::after { opacity: 1; transform: rotate(45deg) translate(2px, -2px); }

/* Level 2 (flyout) dropdown */
.nav-submenu {
  position: absolute;
  top: -10px;
  left: calc(100% + 8px);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  min-width: 252px;
  padding: 10px;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-8px);
  transition: opacity 200ms var(--ease), transform 260ms var(--ease);
  box-shadow:
    0 4px 12px -4px rgba(20,19,15,0.10),
    0 24px 60px -12px rgba(20,19,15,0.22);
  z-index: 51;
  max-height: 72vh;
  overflow-y: auto;
}
.nav-dropdown li:hover > .nav-submenu,
.nav-dropdown li:focus-within > .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
/* Scrollbar styling inside submenu */
.nav-submenu::-webkit-scrollbar { width: 6px; }
.nav-submenu::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.nav-submenu::-webkit-scrollbar-track { background: transparent; }

/* Mobile nav: simple expanded list with indents (no hover dropdowns) */
.mobile-nav .group { padding: 0; }
.mobile-nav .group-title {
  display: block;
  padding: 14px 0 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 4px;
}
.mobile-nav a.sub { padding-left: 16px; font-size: 0.95rem; }
.mobile-nav a.sub.deep { padding-left: 32px; font-size: 0.9rem; color: var(--ink-soft); }
.nav-primary li { position: relative; }
.nav-primary a {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 8px 0;
}
.nav-primary a:hover, .nav-primary a.active { color: var(--ink); }
.nav-primary a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
}

.header-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-self: end;
}
.header-cta .btn {
  padding: 14px 26px;
  font-size: 0.82rem;
}
.header-phones {
  display: none;
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-align: right;
  line-height: 1.4;
  align-items: center;
  gap: 12px;
}
.header-phones a { font-weight: 500; color: var(--ink); }
.header-phones a:hover { color: var(--gold-deep); }
.header-phones .sep { width: 1px; height: 18px; background: var(--line); }

@media (min-width: 1180px) {
  .header-phones { display: flex; }
}

/* Base burger button — declared BEFORE the @media that activates it so the
   media-query rule wins the cascade at mobile widths. */
.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  background: #6e5a3a;            /* coffee brown — visible on light header AND over dark video */
  border: none;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;                     /* above the header's gradient background */
  transition: background 200ms var(--ease), transform 200ms var(--ease);
  box-shadow: 0 6px 16px -6px rgba(20, 19, 15, 0.35);
  flex-shrink: 0;
}
.mobile-toggle:hover { background: #5a4828; }
.mobile-toggle:active { transform: scale(0.96); }
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--bg);           /* white burger lines */
  border-radius: 2px;
  position: relative;
}
.mobile-toggle span::before, .mobile-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--bg);
  border-radius: 2px;
}
.mobile-toggle span::before { top: -7px; }
.mobile-toggle span::after  { top:  7px; }

@media (max-width: 920px) {
  .nav-primary { display: none; }
  .mobile-toggle { display: flex !important; }   /* extra guard against any later cascade */
  .header-cta .btn { display: none; }    /* burger replaces CTA buttons */
  .header-cta .header-phones { display: none; }
}

.mobile-nav {
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 12px clamp(12px, 3.5vw, 24px) 28px;
  max-height: calc(100vh - 88px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { display: block; }

/* Mobile accordion — each <details class="m-acc"> is a collapsible nav group */
.m-acc {
  border-bottom: 1px solid var(--line-soft);
}
.m-acc > summary {
  list-style: none;
  cursor: pointer;
  padding: 15px 14px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 8px;
  transition: background 180ms ease, color 180ms ease;
  -webkit-tap-highlight-color: transparent;
}
.m-acc > summary::-webkit-details-marker,
.m-acc > summary::marker { display: none; content: ''; }
.m-acc > summary::after {
  content: '';
  width: 9px; height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  opacity: 0.55;
  transition: transform 280ms var(--ease), opacity 180ms ease;
  flex-shrink: 0;
  margin-left: 12px;
}
.m-acc[open] > summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
  opacity: 0.9;
}
.m-acc > summary:hover,
.m-acc > summary:active,
.m-acc[open] > summary {
  background: rgba(138, 117, 83, 0.16);
  color: var(--gold-deep);
}
.m-acc > summary:active { transform: scale(0.985); }

.m-acc-body {
  padding: 4px 0 12px 6px;
}

/* Nested (second-level) accordion */
.m-acc.m-sub { border-bottom: 1px solid transparent; }
.m-acc.m-sub > summary {
  padding-left: 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.m-acc.m-sub > summary::after {
  width: 7px; height: 7px;
  border-width: 1.8px;
}
.m-acc.m-sub .m-acc-body {
  padding-left: 12px;
}

/* Leaf links inside accordions and direct ones */
.m-link {
  display: block;
  padding: 12px 14px;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  transition: background 180ms ease, color 180ms ease, transform 80ms ease;
  -webkit-tap-highlight-color: transparent;
}
.m-acc-body .m-link { padding-left: 24px; font-size: 0.94rem; font-weight: 500; color: var(--ink-soft); }
.m-sub .m-acc-body .m-link { padding-left: 38px; font-size: 0.92rem; }
.m-link:hover, .m-link:active {
  background: rgba(138, 117, 83, 0.16);
  color: var(--gold-deep);
}
.m-link:active { transform: scale(0.985); }

/* Bottom direct links + primary CTA */
.m-link.m-direct {
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  padding: 16px 14px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}
.m-link.m-cta {
  margin-top: 18px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  padding: 18px 22px;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  text-align: center;
}
.m-link.m-cta:hover, .m-link.m-cta:active {
  background: var(--gold-deep);
  color: var(--bg);
}

/* ---------- Hero (full-bleed, flush-left, video-ready) ---------- */

.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  background: var(--bg-deep);
  color: var(--bg);
  overflow: hidden;
  isolation: isolate;
}

/* Video / image background slot */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Fallback animated gradient when no video provided */
.hero-media.no-video {
  background:
    radial-gradient(ellipse at 25% 30%, rgba(156, 122, 58, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 70%, rgba(110, 42, 42, 0.30) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 50%, #2a2520 0%, #14130f 80%);
  background-size: 220% 220%, 200% 200%, 100% 100%;
  animation: hero-grad 22s ease-in-out infinite alternate;
}
@keyframes hero-grad {
  0%   { background-position: 0% 0%, 100% 100%, 0 0; }
  100% { background-position: 100% 100%, 0% 0%, 0 0; }
}

/* Floating frame silhouettes */
.hero-frames {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
}
.hero-frames svg {
  position: absolute;
  width: clamp(220px, 28vw, 480px);
  height: auto;
  color: var(--gold);
  opacity: 0.7;
  filter: blur(0.4px);
  animation: float 14s ease-in-out infinite;
}
.hero-frames svg:nth-child(1) { top: 8%; right: 6%; animation-delay: 0s; transform: rotate(-8deg); }
.hero-frames svg:nth-child(2) { top: 50%; right: 22%; animation-delay: -4s; transform: rotate(12deg); width: clamp(160px, 18vw, 320px); opacity: 0.45; }
.hero-frames svg:nth-child(3) { top: 22%; right: 36%; animation-delay: -8s; transform: rotate(-3deg); width: clamp(180px, 22vw, 380px); opacity: 0.35; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-22px) rotate(var(--r, 0deg)); }
}

/* Mouse-follow soft light */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    600px circle at var(--mx, 30%) var(--my, 40%),
    rgba(255, 220, 150, 0.10),
    transparent 40%
  );
  transition: background 240ms var(--ease);
}

/* Heavier warm-brown wash for strong text legibility */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 14, 8, 0.72) 0%, rgba(16, 12, 6, 0.84) 55%, rgba(8, 6, 4, 0.95) 100%),
    linear-gradient(105deg, rgba(60, 40, 22, 0.30) 0%, rgba(60, 40, 22, 0.0) 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: 100%;
  margin: 0;
  /* Asymmetric padding — smaller top, larger bottom — shifts the centered
     content slightly upward in the hero with more breathing room beneath. */
  padding: clamp(40px, 6vw, 70px) 0 clamp(120px, 16vw, 200px) clamp(20px, 2.5vw, 36px);
  max-width: 100%;
}

.hero .eyebrow {
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero .eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.hero h1 {
  color: var(--bg);
  max-width: 22ch;
  margin-bottom: 36px;
  font-size: clamp(2.8rem, 7.2vw, 6.6rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
  display: inline-block;
  position: relative;
}
.hero p.lead {
  color: rgba(245, 241, 234, 0.85);
  max-width: 52ch;
  margin-bottom: clamp(56px, 6vw, 78px);   /* more breathing room before buttons */
  font-size: clamp(0.92rem, 1.15vw, 1.1rem);
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-ctas .btn-primary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}
.hero-ctas .btn-primary::before { background: var(--gold); }
.hero-ctas .btn-primary:hover { color: var(--ink); }

/* Hero meta strip (bottom) */
.hero-meta {
  position: absolute;
  bottom: 30px;
  left: clamp(20px, 2.5vw, 36px);
  right: clamp(20px, 2.5vw, 36px);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  font-size: 0.78rem;
  color: rgba(245, 241, 234, 0.6);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: none;
}
.hero-meta .scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-meta .scroll-cue::after {
  content: '';
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  display: inline-block;
  animation: scroll-cue 2s ease-in-out infinite;
}
@keyframes scroll-cue {
  0%, 100% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50%      { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
}
@media (max-width: 700px) {
  .hero-meta { display: none; }
}

/* ---------- Page header (subpages) ---------- */
.page-header {
  background: var(--bg-deep);
  color: var(--bg);
  padding: clamp(80px, 11vw, 160px) 0 clamp(60px, 8vw, 110px);
  position: relative;
  overflow: hidden;
}
.page-header .eyebrow { color: var(--gold); }
.page-header h1 {
  color: var(--bg);
  max-width: 22ch;
  margin-bottom: 24px;
}
.page-header p.lead {
  color: rgba(245, 241, 234, 0.8);
  max-width: 60ch;
}
.page-header.tall { padding: clamp(120px, 16vw, 200px) 0; }

/* ---------- Brand wall ---------- */
.brand-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.brand-wall a {
  aspect-ratio: 1.1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-card);
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-align: center;
  padding: 24px;
  transition: all var(--t-med) var(--ease);
  position: relative;
  color: var(--ink);
}
.brand-wall a:hover {
  background: var(--ink);
  color: var(--bg);
}
.brand-wall a span.country {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--body);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.brand-wall a:hover span.country { color: rgba(245,241,234,0.5); }

/* ---------- Editorial split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split-image {
  aspect-ratio: 4 / 5;
  background-color: var(--bg-card);
  background-image: linear-gradient(135deg, var(--bg-card) 0%, var(--line) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.split-image[data-tone="warm"] { background-image: linear-gradient(135deg, #d6c8a8 0%, #8a7553 100%); }
.split-image[data-tone="deep"] { background-image: linear-gradient(135deg, #4a463f 0%, #1c1c1a 100%); }
.split-image[data-tone="gold"] { background-image: linear-gradient(135deg, #c9a35d 0%, #6e5022 100%); }
.split-image[data-tone="rose"] { background-image: linear-gradient(135deg, #d4a8a0 0%, #6e2a2a 100%); }
.split-image[data-tone="sage"] { background-image: linear-gradient(135deg, #b9beac 0%, #5a6356 100%); }
.split-image[data-tone="silver"] { background-image: linear-gradient(135deg, #d4d2cd 0%, #8a8682 100%); }
.split-image[data-tone="rust"] { background-image: linear-gradient(135deg, #c9876b 0%, #6e3e2a 100%); }
.split-image[data-tone="ink"] { background-image: linear-gradient(135deg, #5a5e6e 0%, #1c1c1a 100%); }
.split-image[data-tone="ivory"] { background-image: linear-gradient(135deg, #f0e8d4 0%, #c9b88a 100%); }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

/* ---------- Cards / grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  padding: clamp(24px, 3vw, 38px);
  transition: all var(--t-med) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.card .eyebrow { margin-bottom: 4px; }
.card h3 { font-size: 1.5rem; }
.card p { color: var(--ink-soft); margin: 0; }
.card .link-arrow { margin-top: auto; font-size: 0.82rem; }

.card-image {
  aspect-ratio: 4/3;
  background-image: linear-gradient(135deg, var(--line-soft), var(--line));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: -24px -24px 0 -24px;
  margin: calc(clamp(24px, 3vw, 38px) * -1) calc(clamp(24px, 3vw, 38px) * -1) 0;
}
.card-image[data-tone="deep"]   { background-image: linear-gradient(135deg, #4a463f, #1c1c1a); }
.card-image[data-tone="gold"]   { background-image: linear-gradient(135deg, #c9a35d, #6e5022); }
.card-image[data-tone="warm"]   { background-image: linear-gradient(135deg, #e0d3b4, #8a7553); }
.card-image[data-tone="rose"]   { background-image: linear-gradient(135deg, #d4a8a0, #6e2a2a); }
.card-image[data-tone="sage"]   { background-image: linear-gradient(135deg, #b9beac, #5a6356); }
.card-image[data-tone="silver"] { background-image: linear-gradient(135deg, #d4d2cd, #8a8682); }
.card-image[data-tone="rust"]   { background-image: linear-gradient(135deg, #c9876b, #6e3e2a); }
.card-image[data-tone="ink"]    { background-image: linear-gradient(135deg, #5a5e6e, #1c1c1a); }
.card-image[data-tone="ivory"]  { background-image: linear-gradient(135deg, #f0e8d4, #c9b88a); }

/* ---------- Reviews ---------- */
.review {
  background: var(--bg-card);
  padding: clamp(28px, 3vw, 44px);
  border-left: 2px solid var(--gold);
}
.review .stars { color: var(--gold); letter-spacing: 0.1em; margin-bottom: 14px; font-size: 0.9rem; }
.review blockquote {
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.45;
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 20px;
}
.review .attribution { font-size: 0.82rem; color: var(--ink-mute); letter-spacing: 0.08em; text-transform: uppercase; }
.review .attribution strong { color: var(--ink); font-weight: 600; }

/* ---------- Locations preview ---------- */
.location-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.location-card h3 { font-size: 1.85rem; margin-bottom: 6px; }
.location-card .meta { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.7; }
.location-card .meta strong { color: var(--ink); font-weight: 600; }
.location-card .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.location-card .ctas .btn { padding: 12px 20px; font-size: 0.82rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  color: rgba(245, 241, 234, 0.75);
  padding: clamp(60px, 8vw, 100px) 0 30px;
}
.site-footer h4 {
  color: var(--bg);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(245, 241, 234, 0.15);
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: rgba(245, 241, 234, 0.7); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--bg);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.footer-tag { font-size: 0.95rem; line-height: 1.6; max-width: 38ch; color: rgba(245, 241, 234, 0.7); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 0.82rem;
  color: rgba(245, 241, 234, 0.5);
  flex-wrap: wrap;
  gap: 20px;
}
.footer-social { display: flex; gap: 18px; }
.footer-social a { font-size: 0.82rem; letter-spacing: 0.06em; }
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 20px; max-width: 540px; }
.form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--body);
  font-size: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--ink);
}
.form textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Filter chips (eyewear hub) ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.chip {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.chip:hover, .chip.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ---------- Brand grid (full eyewear hub) ---------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.brand-tile {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: all var(--t-med) var(--ease);
}
.brand-tile:hover { transform: translateY(-2px); border-color: var(--ink); }
.brand-tile-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--line-soft), var(--line));
  position: relative;
}
.brand-tile-img[data-tone="deep"] { background: linear-gradient(135deg, #4a463f, #1c1c1a); }
.brand-tile-img[data-tone="gold"] { background: linear-gradient(135deg, #c9a35d, #6e5022); }
.brand-tile-img[data-tone="warm"] { background: linear-gradient(135deg, #e0d3b4, #8a7553); }
.brand-tile-img[data-tone="rose"] { background: linear-gradient(135deg, #d4a8a0, #6e2a2a); }
.brand-tile-img[data-tone="sage"] { background: linear-gradient(135deg, #b9beac, #5a6356); }
.brand-tile-img[data-tone="silver"] { background: linear-gradient(135deg, #d4d2cd, #8a8682); }
.brand-tile-img[data-tone="rust"] { background: linear-gradient(135deg, #c9876b, #6e3e2a); }
.brand-tile-img[data-tone="ink"] { background: linear-gradient(135deg, #5a5e6e, #1c1c1a); }
.brand-tile-img[data-tone="ivory"] { background: linear-gradient(135deg, #f0e8d4, #c9b88a); }
.brand-tile-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.brand-tile-body h3 { font-size: 1.4rem; margin: 0; }
.brand-tile-body .country {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.brand-tile-body .desc { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; margin-top: 4px; }

/* ---------- Pull quote ---------- */
.pull {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  max-width: 22ch;
}
.pull em { color: var(--gold-deep); font-style: italic; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.bg-deep { background: var(--bg-deep); color: var(--bg); }
.bg-deep h1, .bg-deep h2, .bg-deep h3 { color: var(--bg); }
.bg-deep p { color: rgba(245, 241, 234, 0.78); }
.bg-card { background: var(--bg-card); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: clamp(40px, 5vw, 70px); max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.flex-between { display: flex; align-items: end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }

/* ---------- Specialty list ---------- */
.spec-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.spec-list > div {
  background: var(--bg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.spec-list h3 { font-family: var(--body); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.02em; }
.spec-list p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Print ---------- */
@media print { .site-header, .site-footer, .btn { display: none; } }


/* =========================================================
   v2 ADDITIONS — Motion, Showcase, Marquee, Editorial
   ========================================================= */

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  width: 100%;
  display: flex;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(40px, 5vw, 90px);
  padding-right: clamp(40px, 5vw, 90px);
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > span {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.95rem);
  font-weight: 300;
  letter-spacing: 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: clamp(40px, 5vw, 90px);
  font-style: italic;
}
.marquee-track > span::after {
  content: '·';
  color: var(--gold);
  font-size: 1.6em;
  line-height: 0;
}
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 75s; }

/* Default visibility for the swappable marquees in the reverse-marquee section */
.mobile-only-marquee { display: none; }
.desktop-only-marquee { display: block; }
.marquee-track.bold > span { font-style: normal; font-weight: 400; }
@keyframes marquee {
  to { transform: translateX(calc(-50% - clamp(20px, 2.5vw, 45px))); }
}

/* ---------- Brand Showcase (pinned horizontal scroll w/ marquee on top) ---------- */
.showcase {
  position: relative;
  background: #261812;          /* deep coffee brown — still very dark, warmer than near-black */
  color: var(--bg);
  overflow: hidden;
  padding: 0;
  height: 100vh;
  min-height: 620px;
  display: flex;
  flex-direction: column;
}
.showcase-marquee-bar {
  flex: 0 0 auto;
  background: var(--bg);
  color: var(--ink);          /* override the showcase's cream text color */
  border-bottom: 1px solid var(--line);
  padding: clamp(8px, 1.2vh, 14px) 0;
}
.showcase-pin {
  flex: 1 1 auto;     /* fills remaining vertical space after the marquee bar */
  min-height: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.showcase-side {
  flex: 0 0 auto;
  width: clamp(360px, 36vw, 560px);
  height: 100%;
  padding: clamp(30px, 4vh, 60px) clamp(40px, 4vw, 70px) clamp(30px, 4vh, 60px) clamp(40px, 4vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(245,241,234,0.12);
  background: #261812;          /* match showcase coffee-brown */
  position: relative;
  z-index: 2;
}
.showcase-side .eyebrow { color: var(--gold); }
.showcase-side h2 {
  color: var(--bg);
  font-size: clamp(2.6rem, 5.2vw, 5.4rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 32px;
}
.showcase-side h2 em {
  color: var(--gold);
  font-style: italic;
}
.showcase-side .blurb {
  color: rgba(245,241,234,0.72);
  max-width: 40ch;
  font-size: 1rem;
  line-height: 1.65;
}

.showcase-arrow {
  margin-top: 48px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}
.showcase-arrow svg {
  width: 110px;
  height: 20px;
  overflow: visible;
  stroke-width: 2.2;
  animation: arrow-nudge 1.9s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
.showcase-arrow svg .shaft { stroke-dasharray: 80; stroke-dashoffset: 0; }
@keyframes arrow-nudge {
  0%, 100% { transform: translateX(0); opacity: 0.85; }
  50%      { transform: translateX(14px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .showcase-arrow svg { animation: none; }
}
.showcase-counter {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--gold);
  font-feature-settings: 'tnum' on;
}
.showcase-counter span { color: rgba(245,241,234,0.45); font-size: 0.7em; }

.showcase-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 100%;
  will-change: transform;
}
.showcase-panel {
  flex: 0 0 auto;
  width: clamp(360px, 42vw, 620px);
  height: 100%;
  padding: clamp(26px, 3.5vh, 50px) clamp(28px, 3.5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-right: 1px solid rgba(245,241,234,0.08);
  background: #261812;          /* match showcase coffee-brown */
  transition: background 480ms var(--ease);
  overflow: hidden;
  text-decoration: none;
  color: var(--bg);
}
.showcase-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, var(--accent, #9c7a3a), transparent 70%);
  opacity: 0.18;
  transition: opacity 480ms var(--ease);
  pointer-events: none;
}
.showcase-panel:hover::after { opacity: 0.45; }

/* Photo-backed showcase panel (real image instead of gradient) */
.showcase-panel.has-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.showcase-panel.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,19,15,0.10) 0%, rgba(20,19,15,0.55) 60%, rgba(20,19,15,0.85) 100%),
    linear-gradient(105deg, rgba(20,19,15,0.45) 0%, rgba(20,19,15,0.0) 50%);
  z-index: 0;
  pointer-events: none;
  transition: opacity 480ms var(--ease);
}
.showcase-panel.has-photo:hover::before {
  background:
    linear-gradient(180deg, rgba(20,19,15,0.15) 0%, rgba(20,19,15,0.45) 60%, rgba(20,19,15,0.78) 100%),
    linear-gradient(105deg, rgba(20,19,15,0.35) 0%, rgba(20,19,15,0.0) 50%);
}
.showcase-panel.has-photo::after { opacity: 0.06; } /* tone down the radial accent */
.showcase-panel.has-photo:hover::after { opacity: 0.18; }
.showcase-panel.has-photo > div,
.showcase-panel.has-photo .showcase-panel-cta {
  position: relative;
  z-index: 2;
}
.showcase-panel.has-photo .showcase-panel-frame {
  display: none; /* hide the SVG silhouette when a real photo is shown */
}
.showcase-panel-num {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-feature-settings: 'tnum';
}
.showcase-panel-meta {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.55);
  margin-top: 6px;
}
.showcase-panel h3 {
  color: var(--bg);
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: clamp(24px, 4vh, 56px) 0 18px;
  position: relative;
  z-index: 1;
}
.showcase-panel .panel-tag {
  color: rgba(245,241,234,0.78);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 36ch;
  position: relative;
  z-index: 1;
}
.showcase-panel-frame {
  position: absolute;
  bottom: 18%;
  right: -8%;
  width: 70%;
  opacity: 0.32;
  z-index: 0;
  filter: blur(0.3px);
  transition: opacity 480ms var(--ease), transform 600ms var(--ease);
}
.showcase-panel:hover .showcase-panel-frame { opacity: 0.55; transform: scale(1.04); }

.showcase-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  position: relative;
  z-index: 1;
  font-weight: 500;
  transition: gap var(--t-med) var(--ease);
}
.showcase-panel:hover .showcase-panel-cta { gap: 18px; }

/* Mobile CTA button (hidden on desktop, shown on mobile) — replaces the horizontal scroll */
.showcase-mobile-cta {
  display: none;
  margin-top: 28px;
  align-items: center;
  gap: 14px;
  padding: 18px 30px;
  background: var(--gold-deep);
  color: var(--bg);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  align-self: flex-start;
  transition: gap 320ms var(--ease), background 240ms var(--ease);
}
.showcase-mobile-cta em { font-style: normal; transition: transform 320ms var(--ease); }
.showcase-mobile-cta:hover { background: var(--gold); gap: 18px; color: var(--bg); }
.showcase-mobile-cta:hover em { transform: translateX(4px); }

/* Long banner image slot below the mobile CTA — hidden on desktop */
.showcase-mobile-image {
  display: none;
}

/* =========================================================
   MOBILE OVERHAUL — everything tuned for ≤820px viewports
   ========================================================= */
@media (max-width: 820px) {

  /* ---- Header: tighter padding on phone widths ---- */
  .site-header-inner { padding: 18px 20px; gap: 16px; }
  .brand img { height: clamp(36px, 9vw, 50px); }

  /* ---- Hero: smaller min-height, bigger headline, smaller lead ---- */
  .hero { min-height: 70vh; }
  .hero-inner {
    padding: clamp(40px, 8vw, 70px) 0 clamp(40px, 8vw, 70px) clamp(20px, 5vw, 32px);
  }
  .hero h1 {
    font-size: clamp(3.2rem, 11vw, 4.6rem);
    line-height: 1.04;
    max-width: 16ch;
  }
  .hero p.lead {
    font-size: clamp(0.92rem, 3.4vw, 1.05rem);
    max-width: 38ch;
    margin-bottom: 36px;
  }
  .hero-ctas .btn { padding: 14px 22px; font-size: 0.78rem; }
  .hero-meta { display: none; }

  /* ---- Big Stats: hide grid, show scrolling banner on mobile ---- */
  .big-stats { display: none !important; }
  .big-stats-marquee { display: flex !important; }

  /* ---- Showcase: kill horizontal scroll, show the side panel + a tap-through CTA ---- */
  .showcase {
    height: auto;
    min-height: 0;
  }
  .showcase-pin {
    height: auto;
    overflow: visible;
  }
  .showcase-track {
    display: block;
    overflow: visible;
    transform: none !important;   /* defeat any leftover GSAP transform */
    height: auto;
  }
  .showcase-side {
    width: 100%;
    height: auto;
    padding: clamp(50px, 12vw, 90px) clamp(28px, 6vw, 50px);
    border-right: 0;
    display: block;
  }
  .showcase-side h2 {
    font-size: clamp(2.4rem, 9vw, 3.6rem);
    margin-bottom: 22px;
  }
  .showcase-side .blurb { font-size: 1rem; }
  .showcase-arrow { display: none; }
  .showcase-counter { display: none; }
  .showcase-mobile-cta { display: inline-flex; }
  .showcase-panel { display: none; }

  /* Mobile: hide the top brand marquee inside the showcase; the same marquee
     now appears in the bottom (reverse-marquee) section instead. */
  .showcase-marquee-bar { display: none; }

  /* Mobile: swap reverse-marquee content for brand-names marquee */
  .desktop-only-marquee { display: none; }
  .mobile-only-marquee { display: block; }

  /* Mobile: light bg + dark text on the bottom marquee to match the (now hidden)
     top brand marquee's appearance */
  .reverse-marquee-section {
    background: var(--bg) !important;
    border-top: 1px solid var(--line) !important;
  }
  .reverse-marquee-section .mobile-only-marquee { color: var(--ink); }

  /* Bigger text + faster scroll for the mobile brand marquee */
  .mobile-only-marquee { padding: 6px 0; }
  .mobile-only-marquee .marquee-track {
    animation-duration: 22s;
    gap: clamp(34px, 7vw, 60px);
    padding-right: clamp(34px, 7vw, 60px);
  }
  .mobile-only-marquee .marquee-track > span {
    font-size: clamp(1.5rem, 5.2vw, 2rem);
    gap: clamp(34px, 7vw, 60px);
  }

  /* Tighten the gap between the showcase content and the bottom marquee */
  .showcase-side { padding-bottom: clamp(24px, 6vw, 40px); }
  .showcase-mobile-image { margin-bottom: 0; }

  /* Long collections banner image below the mobile CTA */
  .showcase-mobile-image {
    display: block;
    width: 100%;
    margin-top: 32px;
    aspect-ratio: 2 / 1;
    border-radius: 10px;
    background-image: url('../images/hero/showcase-mobile.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 30px -12px rgba(0,0,0,0.45);
  }

  /* Editorial split sections — stack on mobile */
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > :first-child { order: 0; }
}

/* ---------- Frame silhouette helpers ---------- */
.frame-silhouette {
  width: 100%;
  height: auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ---------- Editorial reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1;
}
.reveal-mask > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 900ms var(--ease);
}
.reveal-mask.visible > span { transform: translateY(0); }

.split-headline {
  display: block;
}
.split-headline .word {
  display: inline-block;
  overflow: hidden;
}
.split-headline .word span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 900ms var(--ease);
}
.split-headline.visible .word span { transform: translateY(0); }
.split-headline .word:nth-child(2) span { transition-delay: 80ms; }
.split-headline .word:nth-child(3) span { transition-delay: 160ms; }
.split-headline .word:nth-child(4) span { transition-delay: 240ms; }
.split-headline .word:nth-child(5) span { transition-delay: 320ms; }
.split-headline .word:nth-child(6) span { transition-delay: 400ms; }

/* ---------- Magnetic button (disabled — kept as no-op for backward compat) ---------- */
.magnetic { /* intentionally empty */ }

/* ---------- Sticky section title ---------- */
.section-title-pinned {
  position: sticky;
  top: 100px;
  align-self: start;
}

/* ---------- Frame gallery (motion grid) ---------- */
.frame-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.frame-gallery-cell {
  background: var(--bg);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vw, 40px);
  position: relative;
  overflow: hidden;
  transition: background 360ms var(--ease);
}
.frame-gallery-cell:hover { background: var(--ink); color: var(--bg); }
.frame-gallery-cell svg {
  width: 80%;
  height: auto;
  color: var(--ink);
  transition: transform 600ms var(--ease), color 360ms var(--ease);
}
.frame-gallery-cell:hover svg { color: var(--gold); transform: scale(1.08); }
.frame-gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Big number callouts ---------- */
.big-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.big-stat {
  padding: clamp(14px, 1.8vw, 24px) clamp(14px, 1.6vw, 26px);
  border-right: 1px solid var(--line);
  position: relative;
}
.big-stat:last-child { border-right: 0; }
.big-stat .num {
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
  color: var(--ink);
}
.big-stat .num em { color: var(--gold-deep); font-style: italic; }
.big-stat .label {
  margin-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
@media (max-width: 600px) {
  .big-stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .big-stat:last-child { border-bottom: 0; }
}

/* ---------- Hero h1 character animation ---------- */
.hero h1 .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60%);
  transition: opacity 700ms var(--ease), transform 900ms var(--ease);
}
.hero h1.is-loaded .char { opacity: 1; transform: translateY(0); }

/* ---------- Section dividers (hairline + dot) ---------- */
.divider-fancy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 30px 0;
  color: var(--ink-mute);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.divider-fancy::before, .divider-fancy::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* ---------- Photo-backed card image (covers the gradient fallback) ---------- */
.card-image-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Olive-gold frame around team photos (matches original asset border) ---------- */
.card-image.card-image-photo,
.split-image[style*="url"] {
  border: clamp(7px, 0.8vw, 12px) solid #8a7553;
  box-sizing: border-box;
}

/* ---------- Subtle rounded corners for team cards (whole card + photo frame) ---------- */
.card:has(> .card-image-photo) {
  border-radius: 7px;
  overflow: hidden;
}
.card-image.card-image-photo {
  border-radius: 5px;
}
.split-image[style*="url"] {
  border-radius: 5px;
}

/* ---------- Video frame (expert intro videos) ---------- */
.video-frame {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, #2a2520 0%, #1c1c1a 100%);
  box-shadow: 0 24px 60px -16px rgba(20,19,15,0.32);
}
.video-frame[data-tone="deep"]   { background: linear-gradient(135deg, #4a463f, #1c1c1a); }
.video-frame[data-tone="gold"]   { background: linear-gradient(135deg, #c9a35d, #6e5022); }
.video-frame[data-tone="warm"]   { background: linear-gradient(135deg, #d6c8a8, #6e5a3e); }
.video-frame[data-tone="rose"]   { background: linear-gradient(135deg, #c89992, #5a2a2a); }
.video-frame[data-tone="sage"]   { background: linear-gradient(135deg, #98a18a, #3e4a3a); }
.video-frame[data-tone="silver"] { background: linear-gradient(135deg, #b8b3a6, #5e5a52); }
.video-frame[data-tone="rust"]   { background: linear-gradient(135deg, #b87560, #5a2e1e); }
.video-frame[data-tone="ink"]    { background: linear-gradient(135deg, #4e5562, #1c1f26); }
.video-frame[data-tone="ivory"]  { background: linear-gradient(135deg, #e6dec8, #94886a); }

.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  z-index: 2;
}
/* If the video has no playable source, hide the element so the fallback shows */
.video-frame video:not([src]),
.video-frame video[src=""] { display: none; }

.video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(30px, 4vw, 60px);
  z-index: 1;
  gap: 10px;
}
.video-fallback h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 300;
  letter-spacing: -0.01em;
}
.video-fallback p { font-size: 0.9rem; line-height: 1.6; }
/* Subtle play icon */
.video-fallback::before {
  content: '';
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1.5px solid rgba(245,241,234,0.55);
  position: relative;
  display: block;
  margin-bottom: 6px;
}
.video-fallback::after {
  content: '';
  width: 0; height: 0;
  border-left: 18px solid rgba(245,241,234,0.85);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  position: absolute;
  top: calc(50% - 60px);
  left: calc(50% - 4px);
  transform: translate(-50%, -50%);
}

/* ---------- Mobile-only Big Stats marquee ---------- */
.big-stats-marquee {
  display: none;
  overflow: hidden;
  background: var(--bg-card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.big-stats-marquee .marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  animation: marquee 32s linear infinite;
}
.big-stats-marquee .marquee-track > span {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 36px;
}
.big-stats-marquee .marquee-track > span::after {
  content: '·';
  color: var(--gold);
  font-size: 1.4em;
  line-height: 0;
}

/* ---------- Brand tile with real photo (overrides data-tone gradient) ---------- */
.brand-tile-img.has-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Brand logo wall (bottom of Independent Designer Eyewear page) ---------- */
.brand-logo-section {
  padding-top: clamp(50px, 7vw, 100px);
  padding-bottom: clamp(60px, 8vw, 120px);
  border-top: 1px solid var(--line);
}
.brand-logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.brand-logo {
  background: var(--bg-card);
  aspect-ratio: 5 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 2vw, 30px);
  text-decoration: none;
  color: var(--ink);
  transition: background 240ms var(--ease), transform 240ms var(--ease);
}
.brand-logo:hover {
  background: var(--bg);
  transform: scale(1.02);
}
.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: saturate(0.6) brightness(0.92);
  transition: filter 240ms var(--ease);
}
.brand-logo:hover img { filter: saturate(1) brightness(1); }
@media (max-width: 600px) {
  .brand-logo-wall {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-logo { aspect-ratio: 4 / 3; }
}

/* ---------- Services hub hero: photo behind text + dark overlay ---------- */
.services-hero {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 56vw, 620px);
  background-image: url('../images/hero/services.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  color: var(--bg);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(70px, 9vw, 120px) 0;
}
.services-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 14, 8, 0.45) 0%, rgba(16, 12, 6, 0.62) 60%, rgba(8, 6, 4, 0.80) 100%),
    linear-gradient(105deg, rgba(60, 40, 22, 0.18) 0%, rgba(60, 40, 22, 0.0) 60%);
}
.services-hero .container { position: relative; z-index: 1; }
.services-hero .eyebrow {
  color: var(--gold);
  margin-bottom: 22px;
  display: inline-block;
}
.services-hero h1 {
  color: var(--bg);
  max-width: 20ch;
  margin-bottom: 28px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.services-hero p.lead {
  color: rgba(245, 241, 234, 0.88);
  max-width: 60ch;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}
@media (max-width: 700px) {
  .services-hero { min-height: clamp(360px, 80vw, 500px); }
  .services-hero h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .services-hero p.lead { font-size: 0.98rem; }
}

/* ---------- Order page hero: photo behind text + dark overlay ---------- */
.order-hero {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 56vw, 620px);
  background-image: url('../images/hero/order.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  color: var(--bg);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(70px, 9vw, 120px) 0;
}
.order-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 14, 8, 0.45) 0%, rgba(16, 12, 6, 0.65) 60%, rgba(8, 6, 4, 0.82) 100%),
    linear-gradient(105deg, rgba(60, 40, 22, 0.20) 0%, rgba(60, 40, 22, 0.0) 60%);
}
.order-hero .container { position: relative; z-index: 1; }
.order-hero .eyebrow {
  color: var(--gold);
  margin-bottom: 22px;
  display: inline-block;
}
.order-hero h1 {
  color: var(--bg);
  max-width: 18ch;
  margin-bottom: 28px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.order-hero p.lead {
  color: rgba(245, 241, 234, 0.88);
  max-width: 58ch;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}
.order-hero p.lead strong { color: var(--gold); font-weight: 600; }
@media (max-width: 700px) {
  .order-hero { min-height: clamp(360px, 80vw, 500px); }
  .order-hero h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .order-hero p.lead { font-size: 0.98rem; }
}

/* ---------- Order page service cards ---------- */
.order-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: clamp(32px, 3.4vw, 48px);
  text-decoration: none;
  color: var(--ink);
  transition: transform 360ms var(--ease),
              border-color 240ms var(--ease),
              box-shadow 360ms var(--ease);
  position: relative;
  overflow: hidden;
}
.order-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: 0 20px 40px -16px rgba(20,19,15,0.12);
}
.order-card-icon {
  width: clamp(64px, 7vw, 88px);
  height: clamp(64px, 7vw, 88px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  color: var(--bg);
}
.order-card-icon[data-tone="deep"]  { background: linear-gradient(135deg, #4a463f, #1c1c1a); }
.order-card-icon[data-tone="warm"]  { background: linear-gradient(135deg, #d6c8a8, #8a7553); color: #2a1f10; }
.order-card-icon[data-tone="sage"]  { background: linear-gradient(135deg, #98a18a, #3e4a3a); }
.order-card-icon[data-tone="rose"]  { background: linear-gradient(135deg, #d4a8a0, #6e2a2a); }
.order-card-icon[data-tone="gold"]  { background: linear-gradient(135deg, #c9a35d, #6e5022); }
.order-card-icon svg {
  width: 60%;
  height: 60%;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.order-card h3 {
  font-size: clamp(1.4rem, 1.8vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}
.order-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.order-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 12px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
  align-self: flex-start;
  transition: gap 320ms var(--ease), color 240ms var(--ease), border-color 240ms var(--ease);
}
.order-card-cta em {
  font-style: normal;
  display: inline-block;
  transition: transform 320ms var(--ease);
}
.order-card:hover .order-card-cta {
  gap: 14px;
  color: var(--gold-deep);
  border-color: var(--gold-deep);
}
.order-card:hover .order-card-cta em {
  transform: translateX(4px);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none; }
  .hero-frames svg { animation: none; }
  .brand-dot::after { animation: none; }
}

/* =========================================================
   COLLECTIONS PAGE — full-bleed cards on mobile
   ========================================================= */
@media (max-width: 820px) {
  /* Edge-to-edge grid (no container padding) just for the cards section.
     Page-header (title/lead) keeps its container padding for readability. */
  .page-collections .collections-grid-section > .container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }
  .page-collections .collections-grid-section .grid-3 { gap: 18px; }
  /* No outer border/shadow so cards sit flush against the viewport edges */
  .page-collections .collections-grid-section .card {
    border-left: 0;
    border-right: 0;
  }
}
