/* ==========================================================================
   Khanna Opticians — luxury eyewear landing page
   ========================================================================== */

:root {
  --ivory: #fbf8f3;
  --paper: #f3eee6;
  --sand: #e7dfd2;
  --ink: #121110;
  --ink-2: #2b2825;
  --muted: #6f6860;
  --line: rgba(18, 17, 16, .12);
  --line-light: rgba(251, 248, 243, .18);
  --night: #0e0d0c;
  --night-2: #181614;
  --gold: #a8854f;
  --gold-2: #c8a96e;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1360px;
  --pad: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 9vw, 136px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--ink); color: var(--ivory); padding: 10px 16px; }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }

svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.center { text-align: center; }
.mt-lg { margin-top: 48px; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-gold { color: var(--gold-2); }
.display, .display-xl, .display-2, .display-3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1;
}
.display em, .display-xl em, .display-2 em, .display-3 em, .footer-sign em, .mega-feature-title em { font-style: italic; font-weight: 400; }
.display { font-size: clamp(2.9rem, 6.2vw, 6.4rem); line-height: .95; }
.display-xl { font-size: clamp(2.8rem, 6.6vw, 6.6rem); line-height: .95; }
.display-2 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); }
.display-3 { font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: 1.08; }
.lead { font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.65; max-width: 30em; opacity: .82; font-weight: 300; }
.lead-dark { font-size: 1.08rem; line-height: 1.7; color: var(--ink-2); max-width: 28em; }
.section-head { margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-lead { margin-top: 20px; color: var(--muted); font-size: 1.05rem; max-width: 34em; line-height: 1.7; }
.section-lead.light { color: rgba(251, 248, 243, .72); margin-top: 0; }

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 30px;
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 0;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { --h: 42px; padding: 0 20px; font-size: 11px; }
.btn-lg { --h: 58px; padding: 0 36px; }
.btn-block { display: flex; width: 100%; }
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: var(--gold); }
.btn-light { background: var(--ivory); color: var(--ink); }
.btn-light:hover { background: var(--gold-2); color: var(--ink); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }
.btn-ghost-light { border-color: rgba(251, 248, 243, .55); color: var(--ivory); }
.btn-ghost-light:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  padding-bottom: 8px; border-bottom: 1px solid currentColor;
  transition: gap .35s var(--ease), color .3s;
}
.link-arrow:hover { gap: 18px; color: var(--gold); }
.link-light { color: var(--ivory); }
.link-light:hover { color: var(--gold-2); }
.text-btn { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.text-btn:hover { color: var(--ink); }
.text-btn:disabled { opacity: .35; cursor: default; }

/* image hover zoom */
.img-zoom { overflow: hidden; display: block; position: relative; }
.img-zoom img { transition: transform 1.2s var(--ease-out); }
.img-zoom:hover img { transform: scale(1.045); }
img[style*="--pos"] { object-position: var(--pos); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Announcement + header
   ========================================================================== */
.announce { background: var(--night); color: var(--ivory); font-size: 12.5px; letter-spacing: .06em; height: 38px; overflow: hidden; position: relative; }
.announce-track { position: relative; height: 100%; }
.announce-track p { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 16px; text-align: center; opacity: 0; transform: translateY(100%); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.announce-track p.is-active { opacity: 1; transform: none; }
.announce-track p.is-out { opacity: 0; transform: translateY(-100%); }
.announce a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 248, 243, .94);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease), border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.logo-mark { width: 44px; height: 20px; stroke: var(--gold); stroke-width: 2.2; }
.logo-type { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: .14em; text-transform: uppercase; }
.logo-sub { font-size: 9.5px; letter-spacing: .62em; text-transform: uppercase; margin-top: 6px; color: var(--muted); padding-left: 2px; }
.logo-light { color: var(--ivory); }
.logo-light .logo-sub { color: rgba(251, 248, 243, .6); }

.primary-nav { margin-left: 18px; }
.primary-nav > ul { display: flex; gap: 4px; }
.primary-nav > ul > li > a {
  display: flex; align-items: center; height: var(--header-h); padding: 0 14px;
  font-size: 14.5px; letter-spacing: .02em; position: relative;
}
.primary-nav > ul > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 22px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.primary-nav > ul > li:hover > a::after, .primary-nav > ul > li:focus-within > a::after { transform: scaleX(1); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .18);
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: .08s, .08s, 0s; }
.mega-inner { display: grid; grid-template-columns: 1fr 1fr 1fr 1.5fr; gap: 40px; padding-block: 40px 48px; }
.mega-col { display: flex; flex-direction: column; gap: 10px; }
.mega-col a { font-size: 15px; color: var(--ink-2); transition: color .2s, transform .3s var(--ease); }
.mega-col a:hover { color: var(--gold); transform: translateX(4px); }
.mega-title { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.mega-feature { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr; column-gap: 24px; align-items: start; }
.mega-feature img { grid-row: 1 / 4; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.mega-feature .eyebrow { margin-top: 6px; }
.mega-feature-title { font-family: var(--serif); font-size: 26px; line-height: 1.1; margin-top: 10px; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; position: relative; border-radius: 50%; transition: background .25s; }
.icon-btn:hover { background: rgba(18, 17, 16, .06); }
.icon-btn svg { width: 22px; height: 22px; }
.badge-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--gold); color: #fff; font-size: 10.5px; display: grid; place-items: center; padding: 0 5px; font-weight: 500; }
.header-actions .btn { margin-left: 12px; }
.menu-toggle { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; background: var(--night); overflow: hidden; }
.hero-slides { display: grid; }
.hero-slide {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  min-height: clamp(600px, calc(100svh - 114px), 880px);
  opacity: 0; visibility: hidden;
  transition: opacity 1.1s var(--ease), visibility 0s 1.1s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease), visibility 0s; z-index: 1; }
.hero-slide[data-theme="night"] .hero-copy { background: var(--night); color: var(--ivory); }
.hero-slide[data-theme="paper"] .hero-copy { background: var(--paper); color: var(--ink); }
.hero-slide[data-theme="paper"] .eyebrow-gold { color: var(--gold); }
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 6vw, 96px) clamp(24px, 5vw, 88px) clamp(110px, 10vw, 140px);
}
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-copy .display { margin-bottom: 28px; max-width: 9.5em; }
.hero-copy > * { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.hero-slide.is-active .hero-copy > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-copy > :nth-child(2) { transition-delay: .12s; }
.hero-slide.is-active .hero-copy > :nth-child(3) { transition-delay: .24s; }
.hero-slide.is-active .hero-copy > :nth-child(4) { transition-delay: .36s; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-ctas.center { justify-content: center; }
.hero-media { position: relative; overflow: hidden; background: var(--sand); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 7s var(--ease-out); }
.hero-slide.is-active .hero-media img { transform: scale(1); }

.hero-controls { position: absolute; z-index: 3; left: clamp(24px, 5vw, 88px); bottom: clamp(36px, 4vw, 52px); }
.hero-dots { display: flex; gap: 18px; }
.hero-dots button { display: flex; flex-direction: column; gap: 10px; width: 64px; color: rgba(251, 248, 243, .5); font-size: 12px; letter-spacing: .14em; text-align: left; transition: color .3s; }
.hero-dots button[aria-selected="true"] { color: var(--ivory); }
.hero-dots i { display: block; height: 1px; background: rgba(251, 248, 243, .25); position: relative; overflow: hidden; }
.hero-dots i::after { content: ""; position: absolute; inset: 0; background: currentColor; transform: scaleX(0); transform-origin: left; }
.hero-dots button[aria-selected="true"] i::after { animation: progress var(--hero-dur, 6.5s) linear forwards; }
.hero.is-paused .hero-dots button[aria-selected="true"] i::after { animation-play-state: paused; }
.hero[data-active-theme="paper"] .hero-dots button { color: rgba(18, 17, 16, .4); }
.hero[data-active-theme="paper"] .hero-dots button[aria-selected="true"] { color: var(--ink); }
.hero[data-active-theme="paper"] .hero-dots i { background: rgba(18, 17, 16, .15); }
@keyframes progress { to { transform: scaleX(1); } }

/* trust strip */
.trust-strip { background: var(--ivory); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 16px; padding: 26px 20px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item svg { width: 34px; height: 34px; color: var(--gold); flex-shrink: 0; stroke-width: 1.3; }
.trust-item strong { display: block; font-weight: 500; font-size: 15px; }
.trust-item span { font-size: 13px; color: var(--muted); }

/* houses marquee */
.houses { padding: 44px 0 40px; background: var(--ivory); border-bottom: 1px solid var(--line); overflow: hidden; }
.houses .eyebrow { margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.5rem); font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  padding: 0 clamp(26px, 3.4vw, 54px); color: var(--ink); opacity: .82; white-space: nowrap; position: relative;
}
.marquee-track span::after { content: "✦"; position: absolute; right: -8px; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Tabs
   ========================================================================== */
.tabs { display: flex; gap: clamp(20px, 3vw, 48px); border-bottom: 1px solid var(--ink); margin-bottom: 36px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  font-size: clamp(1.1rem, 1.8vw, 1.6rem); color: rgba(18, 17, 16, .42); padding: 4px 4px 18px; position: relative; white-space: nowrap; transition: color .3s;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); font-weight: 500; }
.tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--ink); }
.tabs-pill { border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; margin: 0; }
.tabs-pill button { font-size: 13px; letter-spacing: .08em; padding: 9px 20px; border-radius: 999px; color: var(--muted); }
.tabs-pill button[aria-selected="true"] { background: var(--ink); color: var(--ivory); font-weight: 400; }
.tabs-pill button[aria-selected="true"]::after { display: none; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .7s var(--ease-out); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Categories
   ========================================================================== */
.cat-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.cat-main { aspect-ratio: 4 / 3.1; }
.cat-main img { width: 100%; height: 100%; object-fit: cover; }
.cat-info { display: flex; flex-direction: column; justify-content: flex-start; padding-top: 8px; }
.cat-info .eyebrow { margin-bottom: 14px; font-size: 11px; }
.cat-info .display-3 { margin-bottom: 16px; font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.cat-info > p { color: var(--ink-2); max-width: 26em; margin-bottom: 26px; }
.cat-info .link-arrow { align-self: flex-start; }
.cat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: auto; padding-top: 40px; }
.cat-tile b { display: block; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-top: 12px; }
.cat-tile small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cat-tile .img-zoom { aspect-ratio: 1 / 1.05; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.cat-tile:hover small { color: var(--gold); }

/* ==========================================================================
   Products
   ========================================================================== */
.bestsellers { background: var(--paper); }
.head-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.arrows { display: flex; gap: 8px; }
.arrow { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; font-size: 18px; transition: background .3s, color .3s, border-color .3s; }
.arrow:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.product-track, .shape-track, .review-track {
  display: grid; grid-auto-flow: column; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; padding-bottom: 4px;
}
.product-track::-webkit-scrollbar, .shape-track::-webkit-scrollbar, .review-track::-webkit-scrollbar { display: none; }
.product-track { grid-auto-columns: calc((100% - 60px) / 4); }
.product { scroll-snap-align: start; background: var(--ivory); display: flex; flex-direction: column; position: relative; }
.product-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #f7f4ef; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.product:hover .product-media img { transform: scale(1.06); }
.product-badge { position: absolute; top: 14px; left: 14px; background: var(--ivory); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; font-weight: 500; }
.product-badge.urgent { background: var(--ink); color: var(--ivory); }
.wish { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; background: rgba(251, 248, 243, .9); display: grid; place-items: center; transition: transform .3s var(--ease); }
.wish svg { width: 18px; height: 18px; }
.wish:hover { transform: scale(1.08); }
.wish.is-on svg { fill: var(--gold); stroke: var(--gold); }
.quick-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  transform: translateY(calc(100% + 16px)); transition: transform .5s var(--ease-out);
}
.product:hover .quick-add, .product:focus-within .quick-add { transform: none; }
@media (hover: none) {
  .quick-add { transform: none; left: auto; width: auto; right: 10px; bottom: 10px; display: inline-flex; }
}
.product-body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-house { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.product-name { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.2; }
.product-variant { font-size: 13px; color: var(--muted); }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.product-price { font-weight: 500; font-size: 16px; }
.product-price small { display: block; font-weight: 400; font-size: 11.5px; color: var(--muted); }
.swatches { display: flex; gap: 6px; }
.swatches span { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); box-shadow: inset 0 0 0 2px var(--ivory); }

/* ==========================================================================
   Trending
   ========================================================================== */
.trending { background: var(--night); }
.trend-wide { height: clamp(460px, 62vw, 820px); color: var(--ivory); }
.trend-wide img, .trend-half img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trend-wide::before, .trend-half::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .05) 60%), linear-gradient(0deg, rgba(0, 0, 0, .45), transparent 40%); }
.trend-copy { position: absolute; z-index: 2; left: var(--pad); top: clamp(48px, 7vw, 110px); max-width: 560px; }
.trend-copy .display-xl { font-size: clamp(3rem, 8vw, 8rem); margin-bottom: 20px; }
.trend-copy p { font-size: 1.08rem; opacity: .86; max-width: 25em; font-weight: 300; }
.trend-cta { position: absolute; z-index: 2; right: var(--pad); bottom: clamp(32px, 4vw, 56px); }
.trend-pair { display: grid; grid-template-columns: 1fr 1fr; }
.trend-half { aspect-ratio: 1 / 1.02; }
.trend-half .link-arrow { position: absolute; z-index: 2; right: clamp(20px, 3vw, 44px); bottom: clamp(24px, 3vw, 44px); }

/* ==========================================================================
   Shapes
   ========================================================================== */
.shape-track { grid-auto-columns: calc((100% - 80px) / 5.4); }
.shape-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; }
.shape-art { aspect-ratio: 1 / 1; background: var(--paper); display: grid; place-items: center; padding: 11%; transition: background .4s; position: relative; overflow: hidden; }
.shape-card:nth-child(3n+2) .shape-art { background: #efe7da; }
.shape-card:nth-child(3n) .shape-art { background: #f6f2ec; }
.shape-art svg { width: 100%; overflow: visible; transition: transform .6s var(--ease-out); }
.shape-card:hover .shape-art svg { transform: scale(1.08) rotate(-2deg); }
.shape-card:hover .shape-art { background: var(--sand); }
.shape-art .lens { stroke: var(--ink); stroke-width: 4.2; }
.shape-art .bridge, .shape-art .temple, .shape-art .bar { stroke: var(--ink); stroke-width: 3.6; }
.shape-art .brow { stroke: var(--ink); stroke-width: 9; }
[data-shapes="sun"] .lens { fill: url(#tint-sun); }
[data-shapes="eye"] .lens { fill: url(#tint-clear); }
.shape-card b { font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.shape-card small { color: var(--muted); font-size: 12.5px; display: block; margin-top: -10px; }

/* ==========================================================================
   Materials (dark)
   ========================================================================== */
.dark { background: #000; color: var(--ivory); }
.dark .eyebrow { color: rgba(251, 248, 243, .6); }
.mat-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.mat-list li { border-bottom: 1px solid var(--line-light); }
.mat-list button {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; width: 100%; text-align: left;
  padding: 20px 0; font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.02em;
  color: rgba(251, 248, 243, .4); transition: color .35s, padding .35s var(--ease);
}
.mat-list button small { font-family: var(--sans); font-weight: 400; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; }
.mat-list button:hover { color: rgba(251, 248, 243, .8); }
.mat-list button[aria-selected="true"] { color: var(--ivory); padding-left: 10px; }
.mat-list li:has(button[aria-selected="true"]) { border-color: var(--ivory); border-bottom-width: 2px; }
.mat-stage { position: relative; aspect-ratio: 16 / 9.2; overflow: hidden; background: #111; }
.mat-stage figure { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.mat-stage figure.is-active { opacity: 1; }
.mat-stage img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s var(--ease-out); }
.mat-stage figure.is-active img { transform: scale(1); }
.mat-stage figcaption { position: absolute; z-index: 1; left: 28px; right: 340px; bottom: 30px; max-width: 30em; font-size: 14.5px; line-height: 1.55; color: var(--ivory); text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.mat-stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent); pointer-events: none; }
.mat-cta { position: absolute; right: 24px; bottom: 24px; z-index: 2; }

/* ==========================================================================
   Shop the look
   ========================================================================== */
.look { display: grid; grid-template-columns: 1fr 1fr; background: var(--ivory); }
.look-copy { padding: clamp(64px, 8vw, 130px) clamp(24px, 6vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.look-copy .eyebrow { margin-bottom: 18px; color: var(--ink-2); }
.look-copy .display-xl { margin-bottom: 28px; }
.look-product { display: grid; grid-template-columns: 76px 1fr auto; gap: 18px; align-items: center; margin-top: 40px; padding: 14px; background: var(--paper); max-width: 460px; }
.look-product img { width: 76px; height: 76px; object-fit: cover; }
.look-product small { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: block; }
.look-product b { font-family: var(--serif); font-weight: 500; font-size: 19px; display: block; }
.look-product span { font-size: 14px; }
.look-media { position: relative; min-height: 640px; }
.look-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hotspot { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; display: grid; place-items: center; z-index: 2; }
.hotspot span { width: 14px; height: 14px; border-radius: 50%; background: var(--ivory); box-shadow: 0 0 0 0 rgba(251, 248, 243, .7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(251, 248, 243, .7); } 70% { box-shadow: 0 0 0 16px rgba(251, 248, 243, 0); } 100% { box-shadow: 0 0 0 0 rgba(251, 248, 243, 0); } }
.hotspot-card {
  position: absolute; z-index: 3; transform: translate(26px, -50%) scale(.96); opacity: 0; pointer-events: none;
  background: var(--ivory); padding: 16px 18px; min-width: 230px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .4);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.hotspot-card.is-open { opacity: 1; transform: translate(26px, -50%); pointer-events: auto; }
.hotspot-card small { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: block; }
.hotspot-card b { font-family: var(--serif); font-size: 20px; font-weight: 500; display: block; }
.hotspot-card span { font-size: 13px; color: var(--ink-2); display: block; margin-bottom: 12px; }
.hotspot-card .link-arrow { font-size: 11px; }

/* ==========================================================================
   Lenses
   ========================================================================== */
.lens-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.lens-media { position: relative; aspect-ratio: 4 / 5; }
.lens-media img { width: 100%; height: 100%; object-fit: cover; }
.lens-badge { position: absolute; right: -28px; bottom: 44px; background: var(--ivory); padding: 22px 26px; max-width: 250px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); }
.lens-badge b { font-family: var(--serif); font-size: 30px; font-weight: 500; font-style: italic; display: block; line-height: 1; margin-bottom: 6px; }
.lens-badge span { font-size: 13px; color: var(--muted); }
.lens-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 36px; }
.lens-card { background: var(--ivory); padding: 28px 26px; transition: background .4s; }
.lens-card:hover { background: var(--paper); }
.lens-card svg { width: 38px; height: 38px; color: var(--gold); margin-bottom: 18px; stroke-width: 1.4; }
.lens-card svg .fill { fill: rgba(168, 133, 79, .28); stroke: none; }
.lens-card svg .accent { stroke: var(--gold-2); }
.lens-card h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin-bottom: 8px; }
.lens-card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ==========================================================================
   Quiz
   ========================================================================== */
.quiz { background: var(--paper); }
.quiz-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.quiz-img { margin-top: 40px; aspect-ratio: 3 / 2; overflow: hidden; }
.quiz-img img { width: 100%; height: 100%; object-fit: cover; }
.quiz-card { background: var(--ivory); padding: clamp(28px, 4vw, 56px); position: relative; min-height: 560px; display: flex; flex-direction: column; box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .25); }
.quiz-progress { height: 2px; background: var(--line); margin-bottom: 22px; }
.quiz-progress span { display: block; height: 100%; width: 33.33%; background: var(--gold); transition: width .6s var(--ease); }
.quiz-step { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.quiz-q { display: none; }
.quiz-q.is-active { display: block; animation: fadeUp .6s var(--ease-out); }
.quiz-q legend { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 500; letter-spacing: -.02em; margin-bottom: 28px; line-height: 1.15; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-faces { grid-template-columns: repeat(3, 1fr); }
.quiz-options label { position: relative; cursor: pointer; }
.quiz-options input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.quiz-options span {
  display: flex; flex-direction: column; gap: 4px; padding: 20px 20px; border: 1px solid var(--line); background: var(--ivory);
  transition: border-color .25s, background .25s, transform .25s var(--ease); height: 100%;
}
.quiz-faces span { align-items: center; text-align: center; font-size: 14px; letter-spacing: .06em; gap: 10px; padding: 22px 10px; }
.quiz-faces svg { width: 40px; height: 48px; stroke-width: 1.6; }
.quiz-options b { font-weight: 500; font-size: 16px; }
.quiz-options small { font-size: 13px; color: var(--muted); }
.quiz-options label:hover span { border-color: var(--ink); }
.quiz-options input:checked + span { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.quiz-options input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.quiz-nav { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 28px; }
.quiz-hint { font-size: 12.5px; color: var(--muted); }
.quiz-result { animation: fadeUp .7s var(--ease-out); }
.quiz-result .eyebrow { margin-bottom: 14px; }
.quiz-result .display-3 { margin-bottom: 14px; }
.quiz-result > p { color: var(--ink-2); margin-bottom: 22px; }
.result-shapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.result-shapes .shape-art { padding: 16%; }
.result-shapes b { display: block; text-align: center; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-top: 10px; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }

/* ==========================================================================
   Boutique
   ========================================================================== */
.boutique { position: relative; color: var(--ivory); overflow: hidden; background: var(--night); }
.boutique-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.boutique::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 9, 8, .85) 0%, rgba(10, 9, 8, .35) 60%, rgba(10, 9, 8, .1)); }
.boutique-inner { position: relative; z-index: 2; padding-block: clamp(90px, 11vw, 170px) clamp(60px, 7vw, 100px); }
.boutique-copy { max-width: 560px; }
.boutique-copy .eyebrow { margin-bottom: 18px; }
.boutique-copy .display-xl { margin-bottom: 26px; }
.boutique-copy > p { font-weight: 300; font-size: 1.08rem; opacity: .88; }
.boutique-meta { margin-top: 22px; font-size: 14px !important; letter-spacing: .04em; color: var(--gold-2); opacity: 1 !important; }
.boutique-services { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.boutique-services li { padding: 28px 24px 36px; }
.boutique-services li + li { border-left: 1px solid var(--line-light); }
.boutique-services b { display: block; font-family: var(--serif); font-weight: 500; font-size: 21px; }
.boutique-services span { font-size: 13.5px; opacity: .7; }

/* ==========================================================================
   Booking
   ========================================================================== */
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.book-media { position: relative; aspect-ratio: 4 / 4.6; }
.book-media img { width: 100%; height: 100%; object-fit: cover; }
.book-quote { position: absolute; left: 24px; right: 24px; bottom: 24px; background: rgba(14, 13, 12, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ivory); padding: 24px 26px; }
.book-quote p { font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.45; margin-bottom: 10px; }
.book-quote small { font-size: 12px; letter-spacing: .1em; opacity: .7; }
.book-form-wrap .eyebrow { margin-bottom: 14px; color: var(--gold); }
.book-form-wrap .display-2 { font-size: clamp(2.1rem, 3.8vw, 3.6rem); margin-bottom: 22px; }
.ticks { display: grid; gap: 8px; margin-bottom: 30px; }
.ticks li { padding-left: 28px; position: relative; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 14px; height: 8px; border-left: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(-45deg); }
.book-form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field > label, .field > .label { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .phone-input {
  height: 54px; border: 1px solid var(--line); background: #fff; padding: 0 16px; width: 100%; border-radius: 0;
  transition: border-color .25s, box-shadow .25s; font-size: 15.5px;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121110' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field input:focus, .field select:focus, .phone-input:focus-within { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(168, 133, 79, .18); }
.phone-input { display: flex; align-items: center; gap: 12px; padding: 0 0 0 16px; }
.phone-input span { color: var(--muted); padding-right: 12px; border-right: 1px solid var(--line); line-height: 1.4; }
.phone-input input { border: 0; height: 100%; flex: 1; padding: 0 12px 0 0; background: transparent; box-shadow: none !important; outline: none; min-width: 0; }
.err { display: none; color: #a1361f; font-size: 12.5px; }
.is-invalid .err, .err.is-shown { display: block; }
.is-invalid input, .is-invalid .phone-input { border-color: #a1361f; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { cursor: pointer; position: relative; }
.chips input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 11px 16px; border: 1px solid var(--line); font-size: 13.5px; transition: all .25s; background: #fff; }
.chips input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; }
.book-success { padding: 40px 0; animation: fadeUp .7s var(--ease-out); }
.book-success svg { width: 64px; height: 64px; color: var(--gold); margin-bottom: 22px; stroke-width: 1.4; }
.book-success .display-3 { margin-bottom: 14px; }
.book-success p { color: var(--ink-2); margin-bottom: 26px; max-width: 30em; }

/* ==========================================================================
   Legacy / stats
   ========================================================================== */
.dark-soft { background: var(--night-2); color: var(--ivory); }
.legacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.legacy .eyebrow { margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-light); margin-top: 40px; border: 1px solid var(--line-light); }
.stats div { background: var(--night-2); padding: 28px 26px; }
.stats b { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 500; letter-spacing: -.02em; line-height: 1; }
.stats sup { font-family: var(--serif); font-size: 1.4rem; color: var(--gold-2); margin-left: 2px; }
.stats span { display: block; margin-top: 10px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .62; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.rating-summary { text-align: right; }
.rating-summary p { font-size: 14px; color: var(--muted); }
.rating-summary b { color: var(--ink); font-weight: 500; }
.stars { color: var(--gold); letter-spacing: .18em; font-size: 15px; }
.review-track { grid-auto-columns: calc((100% - 40px) / 3); }
.review-card { scroll-snap-align: start; background: var(--paper); padding: 34px 32px; display: flex; flex-direction: column; gap: 18px; }
.review-card blockquote { font-family: var(--serif); font-size: 19px; line-height: 1.5; flex: 1; }
.review-card figcaption b { display: block; font-weight: 500; }
.review-card figcaption small { color: var(--muted); font-size: 12.5px; letter-spacing: .04em; }

/* ==========================================================================
   Community
   ========================================================================== */
.community { padding-top: 0; }
.ugc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ugc { aspect-ratio: 3 / 4; }
.ugc:nth-child(even) { margin-top: 40px; }
.ugc img { width: 100%; height: 100%; object-fit: cover; }
.ugc span { position: absolute; inset: auto 0 0 0; padding: 40px 16px 16px; color: var(--ivory); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; background: linear-gradient(0deg, rgba(0, 0, 0, .6), transparent); opacity: 0; transform: translateY(8px); transition: all .45s var(--ease); }
.ugc:hover span { opacity: 1; transform: none; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.faq .section-head .btn { margin-top: 30px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 28px; transition: transform .35s var(--ease); }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 40px 26px 0; color: var(--ink-2); line-height: 1.75; animation: fadeUp .5s var(--ease-out); }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta { position: relative; color: var(--ivory); text-align: center; overflow: hidden; background: var(--night); }
.final-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, rgba(0, 0, 0, .25), rgba(0, 0, 0, .75)); }
.final-inner { position: relative; z-index: 2; padding-block: clamp(110px, 14vw, 200px); max-width: 900px; }
.final-inner .eyebrow { margin-bottom: 22px; }
.final-inner .display-xl { margin-bottom: 26px; }
.final-inner p { font-weight: 300; font-size: 1.1rem; opacity: .88; max-width: 34em; margin-inline: auto; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #000; color: var(--ivory); padding: clamp(64px, 8vw, 110px) 0 calc(36px + env(safe-area-inset-bottom)); }
.newsletter { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; padding-bottom: 64px; border-bottom: 1px solid var(--line-light); }
.newsletter .eyebrow { margin-bottom: 14px; }
.newsletter .display-3 { font-weight: 500; max-width: 18em; }
.news-form { display: flex; border-bottom: 1px solid rgba(251, 248, 243, .5); }
.news-form input { flex: 1; background: transparent; border: 0; height: 58px; font-size: 16px; color: var(--ivory); outline: none; min-width: 0; }
.news-form input::placeholder { color: rgba(251, 248, 243, .5); }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 56px; }
.footer-cols > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 12px; }
.footer-cols a { font-size: 14.5px; opacity: .75; transition: opacity .2s, color .2s; }
.footer-cols a:hover { opacity: 1; color: var(--gold-2); }
.footer-cols .logo { opacity: 1; }
.footer-title { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 6px; }
.footer-contact { margin-top: 22px; font-size: 14.5px; line-height: 1.8; opacity: .75; }
.footer-contact a { opacity: 1; }
.footer-sign { font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 9vw, 8.6rem); letter-spacing: -.035em; line-height: .95; padding: 24px 0 56px; border-top: 1px solid var(--line-light); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; opacity: .7; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-light); border-radius: 50%; transition: background .3s, color .3s; }
.socials a:hover { background: var(--ivory); color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
.socials .dot { fill: currentColor; }

/* ==========================================================================
   Floating / overlays
   ========================================================================== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 16px; border-radius: 999px;
  background: #1f8f4e; color: #fff; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .4);
  font-size: 14px; font-weight: 500; transition: transform .35s var(--ease), opacity .35s;
}
.wa-float svg { width: 26px; height: 26px; fill: #fff; stroke: none; }
.wa-float:hover { transform: translateY(-3px); }

.mobile-cta { display: none; }

.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(10, 9, 8, .5); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.scrim.is-on { opacity: 1; visibility: visible; transition: opacity .4s; }

.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; width: min(440px, 92vw); background: var(--ivory);
  display: flex; flex-direction: column; transition: transform .55s var(--ease-out); pointer-events: auto;
  box-shadow: 0 0 60px rgba(0, 0, 0, .2);
}
.drawer-right .drawer-panel { right: 0; transform: translateX(105%); }
.drawer-left .drawer-panel { left: 0; transform: translateX(-105%); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer:not(.is-open) .drawer-panel { visibility: hidden; transition: transform .55s var(--ease-out), visibility 0s .55s; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; }
.drawer-head h3 span { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.mobile-nav { display: flex; flex-direction: column; padding: 12px 24px; overflow-y: auto; flex: 1; }
.mobile-nav a { font-family: var(--serif); font-size: 26px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.drawer-foot { padding: 20px 24px 28px; display: grid; gap: 10px; border-top: 1px solid var(--line); }

.ship-meter { padding: 16px 24px; background: var(--paper); font-size: 13px; }
.ship-meter span { display: block; height: 3px; background: var(--sand); margin-top: 10px; }
.ship-meter i { display: block; height: 100%; width: 100%; background: var(--gold); transition: width .6s var(--ease); }
.bag-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.bag-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; animation: fadeUp .5s var(--ease-out); }
.bag-item img { width: 84px; height: 84px; object-fit: cover; background: var(--paper); }
.bag-item small { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.bag-item b { display: block; font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1.25; }
.bag-item .variant { font-size: 13px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 10px; }
.qty button { width: 30px; height: 30px; }
.qty span { min-width: 26px; text-align: center; font-size: 14px; }
.bag-item .price { font-weight: 500; text-align: right; }
.bag-item .remove { display: block; font-size: 12px; color: var(--muted); text-decoration: underline; margin-top: 6px; margin-left: auto; }
.bag-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px; text-align: center; color: var(--muted); }
.bag-foot { padding: 20px 24px 28px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.bag-total { display: flex; justify-content: space-between; font-size: 18px; }
.bag-total b { font-weight: 500; }

.search-overlay { position: fixed; inset: 0 0 auto 0; z-index: 95; background: var(--ivory); padding: 28px 0 40px; transform: translateY(-105%); transition: transform .55s var(--ease-out); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .3); }
.search-overlay.is-open { transform: none; }
.search-bar { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--ink); padding-bottom: 12px; margin-bottom: 26px; }
.search-bar > svg { width: 26px; height: 26px; }
.search-bar input { flex: 1; border: 0; background: transparent; font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.2rem); outline: none; min-width: 0; }
.search-overlay .eyebrow { margin-bottom: 14px; }
.search-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.search-chips a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; transition: all .25s; }
.search-chips a:hover { background: var(--ink); color: var(--ivory); }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; }
.modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .45s var(--ease); background: rgba(10, 9, 8, .55); }
.modal-panel { position: relative; width: min(860px, 100%); display: grid; grid-template-columns: .9fr 1.1fr; background: var(--ivory); transform: translateY(20px) scale(.98); transition: transform .6s var(--ease-out); max-height: calc(100svh - 40px); overflow: auto; }
.modal.is-open .modal-panel { transform: none; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; min-height: 100%; }
.modal-body { padding: clamp(32px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.modal-body .eyebrow { margin-bottom: 14px; color: var(--gold); }
.modal-body .display-3 { margin-bottom: 14px; }
.modal-body p { color: var(--ink-2); margin-bottom: 22px; }
.modal-body form { display: grid; gap: 12px; margin-bottom: 16px; }
.modal-body .phone-input { height: 54px; border: 1px solid var(--line); background: #fff; }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--ivory); }
.code { display: flex; flex-direction: column; align-items: center; width: 100%; border: 1.5px dashed var(--gold); padding: 18px; margin-bottom: 18px; font-family: var(--serif); font-size: 30px; letter-spacing: .14em; }
.code small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, calc(100% + 60px)); visibility: hidden;
  background: var(--ink); color: var(--ivory); padding: 14px 22px; font-size: 14px; display: flex; gap: 12px; align-items: center;
  transition: transform .5s var(--ease-out), visibility 0s .5s; max-width: calc(100vw - 32px); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .4);
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease-out); }
.toast button { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; white-space: nowrap; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .primary-nav > ul > li > a { padding: 0 10px; font-size: 14px; }
  .product-track { grid-auto-columns: calc((100% - 40px) / 3); }
  .shape-track { grid-auto-columns: calc((100% - 60px) / 4.3); }
  .mega-inner { grid-template-columns: 1fr 1fr 1fr; }
  .mega-feature { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 66px; }
  .primary-nav, .hide-md { display: none; }
  .menu-toggle { display: inline-grid; margin-left: -10px; }
  .header-inner { gap: 10px; }
  .logo { margin-inline: auto; }
  .header-actions { margin-left: 0; }
  .hide-sm { display: none; }
  .header-inner > .menu-toggle { order: 0; }
  .logo { order: 1; }
  .header-actions { order: 2; }
  .logo-name { font-size: 21px; }
  .logo-mark { display: none; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }

  .cat-grid, .lens-grid, .quiz-grid, .book-grid, .legacy-grid, .faq-grid, .mat-grid { grid-template-columns: 1fr; }
  .look { grid-template-columns: 1fr; }
  .look-media { min-height: 0; aspect-ratio: 4 / 4.6; }
  .lens-badge { right: 16px; }
  .review-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .ugc-grid { grid-template-columns: repeat(3, 1fr); }
  .ugc:nth-child(even) { margin-top: 0; }
  .mat-list { display: flex; overflow-x: auto; gap: 24px; scrollbar-width: none; }
  .mat-list li { flex-shrink: 0; }
  .mat-list button { padding: 12px 0; }
  .mat-list button small { display: none; }
  .mat-stage figcaption { right: 28px; bottom: 84px; }
  .newsletter { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .boutique-services { grid-template-columns: repeat(2, 1fr); }
  .boutique-services li:nth-child(3) { border-left: 0; }
  .boutique-services li:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .rating-summary { text-align: left; }
}

@media (max-width: 860px) {
  .hero-slide { grid-template-columns: 1fr; grid-template-rows: 56svh auto; min-height: 0; }
  .hero-media { grid-row: 1; }
  .hero-copy { grid-row: 2; padding: 36px var(--pad) 96px; }
  .hero-copy .display { font-size: clamp(2.6rem, 11vw, 3.6rem); }
  .hero-controls { left: var(--pad); bottom: 36px; }
  .trend-pair { grid-template-columns: 1fr; }
  .trend-half { aspect-ratio: 4 / 3.6; }
  .wa-float { display: none; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1.6fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    background: var(--ivory); border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
    transform: translateY(110%); transition: transform .45s var(--ease);
  }
  .mobile-cta.is-on { transform: none; }
  .mobile-cta a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; min-height: 48px; }
  .mobile-cta a svg { width: 20px; height: 20px; }
  .mobile-cta .primary { background: var(--ink); color: var(--ivory); font-size: 12px; letter-spacing: .14em; font-weight: 500; }
  body { padding-bottom: 72px; }
  .toast { bottom: 96px; }
  .modal-panel { grid-template-columns: 1fr; }
  .modal-media { height: 180px; }
  .modal-media img { object-position: 50% 20%; }
}

@media (max-width: 640px) {
  .section-head-row { align-items: flex-start; }
  .product-track { grid-auto-columns: 74%; gap: 14px; }
  .shape-track { grid-auto-columns: 42%; gap: 14px; }
  .review-track { grid-auto-columns: 86%; }
  .trust-item { padding: 18px 10px; gap: 10px; }
  .trust-item svg { width: 26px; height: 26px; }
  .trust-item strong { font-size: 13.5px; }
  .trust-item span { font-size: 11.5px; }
  .cat-tiles { gap: 10px; }
  .cat-tile b { font-size: 11px; letter-spacing: .1em; }
  .field-row { grid-template-columns: 1fr; }
  .lens-cards { grid-template-columns: 1fr; }
  .lens-card { padding: 22px 20px; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
  .lens-card svg { grid-row: 1 / 3; margin: 0; }
  .quiz-faces { grid-template-columns: repeat(2, 1fr); }
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-faces.quiz-options { grid-template-columns: repeat(2, 1fr); }
  .quiz-card { min-height: 0; }
  .ugc-grid { grid-template-columns: repeat(2, 1fr); }
  .stats div { padding: 22px 18px; }
  .boutique-services li { padding: 20px 14px 26px; }
  .boutique-services b { font-size: 17px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hotspot-card { min-width: 200px; transform: translate(-50%, 26px) scale(.96); }
  .hotspot-card.is-open { transform: translate(-50%, 26px); }
  .mat-cta { left: 16px; right: 16px; bottom: 16px; justify-content: center; white-space: normal; text-align: center; }
  .mat-stage { aspect-ratio: 4 / 3.6; }
  .mat-stage figcaption { left: 16px; right: 16px; bottom: 74px; font-size: 13px; }
  .announce { font-size: 11.5px; }
  .look-product { grid-template-columns: 64px 1fr; }
  .look-product img { width: 64px; height: 64px; }
  .look-product .btn { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
