/* tastemaker: macro=gallery-grid+long-scroll-narrative · nav=sticky-hide-on-scroll · hero=poster-fold-left-scrim · footer=ink-4col-ledger · mood=elegant/light · palette seed 7 (triadic, base 89 / accent 209) · contrast: text/bg 16.19, bg/primary 4.54, bg/accent 4.55, primary/on-primary 4.86 · light only, no dark theme */

:root {
  --ink: #1e1a11;
  --ink-2: #4a4334;
  --ink-3: #6b6352;
  --sand: #faf7ee;
  --surface: #f0ede4;
  --secondary: #e6ddc9;
  --border: #e0dcd4;
  --border-strong: #cfc8ba;
  --gold: #856f34;
  --gold-soft: #b39550;
  --sea: #237c88;
  --white: #ffffff;
  --danger: #a33a24;

  --f-display: "Gloock", "Times New Roman", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px; --s-32: 128px;

  --r-sm: 4px; --r-md: 10px; --r-lg: 18px;
  --shadow-1: 0 1px 2px rgba(30, 26, 17, .06), 0 8px 24px -12px rgba(30, 26, 17, .18);
  --shadow-2: 0 2px 4px rgba(30, 26, 17, .06), 0 24px 48px -20px rgba(30, 26, 17, .28);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 160ms;
  --t-ui: 240ms;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s-4); top: -60px; background: var(--ink); color: var(--sand); padding: var(--s-2) var(--s-4); z-index: 100; border-radius: var(--r-sm); }
.skip-link:focus { top: var(--s-4); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 var(--s-4); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.2; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.mono, .eyebrow { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { color: var(--gold); display: inline-flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-5); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.muted { color: var(--ink-3); }
em.accent { font-style: italic; color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  min-height: 50px; padding: 0 var(--s-6);
  border-radius: 999px; border: 1px solid transparent;
  font-size: .95rem; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.btn svg { transition: transform var(--t-ui) var(--ease-out); }
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--ink); color: var(--sand); }
.btn--light { background: var(--sand); color: var(--ink); }
.btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--ink); }
.btn--ghost-light { background: rgba(250, 247, 238, .08); border-color: rgba(250, 247, 238, .5); color: var(--sand); backdrop-filter: blur(6px); }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn--dark:hover { background: var(--gold); }
  .btn--light:hover { background: var(--secondary); }
  .btn--ghost:hover { border-color: var(--ink); }
  .btn--ghost-light:hover { background: rgba(250, 247, 238, .18); }
  .btn:hover svg { transform: translateX(3px); }
}
.text-link { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; font-weight: 500; transition: color var(--t-fast) var(--ease-out); }
.text-link:hover { color: var(--gold); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }

/* ---------- Topbar + header ---------- */
.topbar { background: var(--ink); color: var(--sand); font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 36px; }
.topbar p { margin: 0; }
.topbar a { text-decoration: none; font-family: var(--f-mono); font-size: .78rem; }
@media (max-width: 640px) { .topbar a { display: none; } .topbar__inner { justify-content: center; text-align: center; } }

.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(250, 247, 238, .92); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: transform var(--t-ui) var(--ease-out);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); min-height: var(--header-h); }
.brand img { height: 34px; width: auto; }
.main-nav ul { display: flex; gap: clamp(14px, 2.2vw, 34px); list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-size: .93rem; position: relative; padding-block: var(--s-2); color: var(--ink-2); transition: color var(--t-fast) var(--ease-out); }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--t-ui) var(--ease-out); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.bag-btn, .icon-btn, .menu-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); background: transparent; border-radius: 50%; cursor: pointer; transition: border-color var(--t-fast) var(--ease-out); }
.bag-btn:hover, .icon-btn:hover, .menu-btn:hover { border-color: var(--ink); }
.bag-count { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: var(--white); font-size: .68rem; font-weight: 600; display: grid; place-items: center; }
.bag-count.bump { animation: bump 260ms var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.25); } }
.menu-btn { display: none; }
.menu-btn span:not(.sr-only) { position: absolute; width: 18px; height: 1.5px; background: var(--ink); transition: transform var(--t-ui) var(--ease-out); }
.menu-btn span:nth-child(1) { transform: translateY(-4px); }
.menu-btn span:nth-child(2) { transform: translateY(4px); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--border); padding: var(--s-6) var(--gutter) var(--s-8); background: var(--sand); }
.mobile-menu ul { list-style: none; margin: 0 0 var(--s-6); padding: 0; }
.mobile-menu li a { display: block; padding: var(--s-3) 0; font-family: var(--f-display); font-size: 1.7rem; text-decoration: none; border-bottom: 1px solid var(--border); }
.mobile-menu__contact { font-family: var(--f-mono); font-size: .85rem; }
.mobile-menu__contact a { text-decoration: none; }
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .menu-btn { display: grid; }
}
@media (min-width: 1021px) { .mobile-menu { display: none !important; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--surface { background: var(--surface); }
.section--ink { background: var(--ink); color: var(--sand); }
.section--ink .lead, .section--ink .muted { color: #cfc7b4; }
.section--ink .eyebrow { color: var(--gold-soft); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s-8); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; gap: var(--s-4); } }
.section-num { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-3); display: block; margin-bottom: var(--s-3); }

/* ---------- Hero (poster fold) ---------- */
.hero { position: relative; min-height: min(calc(100svh - var(--header-h) - 36px), 860px); display: flex; align-items: flex-end; overflow: hidden; color: var(--sand); background: var(--ink); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; transform-origin: 60% 50%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 17, 10, .78) 0%, rgba(20, 17, 10, .5) 38%, rgba(20, 17, 10, 0) 68%), linear-gradient(0deg, rgba(20, 17, 10, .55) 0%, rgba(20, 17, 10, 0) 45%); }
.hero__content { position: relative; z-index: 1; padding-block: clamp(56px, 9vw, 112px); width: 100%; }
.hero__text { max-width: 780px; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 5rem); }
.hero .eyebrow { color: #e3cf9b; }
.hero h1 { margin-bottom: var(--s-6); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero__sub { font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: #ece6d6; max-width: 52ch; margin-bottom: var(--s-8); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero__note { position: absolute; right: var(--gutter); bottom: clamp(56px, 9vw, 112px); z-index: 1; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: #e5ddca; text-align: right; line-height: 1.7; }
@media (max-width: 820px) {
  .hero { min-height: 640px; }
  .hero__media img { object-position: 72% 30%; }
  .hero__media::after { background: linear-gradient(0deg, rgba(20, 17, 10, .88) 0%, rgba(20, 17, 10, .55) 50%, rgba(20, 17, 10, .1) 100%); }
  .hero__note { display: none; }
}

/* ---------- Facts marquee ---------- */
.facts { border-bottom: 1px solid var(--border); background: var(--sand); overflow: hidden; }
.facts__track { display: flex; gap: var(--s-12); width: max-content; padding-block: var(--s-5); animation: marquee 48s linear infinite; }
.facts__item { display: inline-flex; align-items: center; gap: var(--s-3); white-space: nowrap; font-family: var(--f-mono); font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.facts__item svg { color: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .facts__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding-inline: var(--gutter); } .facts__track [aria-hidden="true"] { display: none; } }

/* ---------- Collections ---------- */
.collections { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-5); }
.coll { position: relative; overflow: hidden; border-radius: var(--r-md); text-decoration: none; color: var(--sand); background: var(--ink); isolation: isolate; }
.coll:nth-child(1) { grid-column: span 5; aspect-ratio: 4 / 5; }
.coll:nth-child(2) { grid-column: span 7; aspect-ratio: auto; }
.coll:nth-child(3) { grid-column: span 7; aspect-ratio: auto; }
.coll:nth-child(4) { grid-column: span 5; aspect-ratio: 4 / 5; }
.coll img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.coll:nth-child(2) img, .coll:nth-child(3) img { object-position: 50% 30%; }
.coll::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 17, 10, .78) 0%, rgba(20, 17, 10, 0) 55%); z-index: 0; }
.coll__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 3vw, 36px); z-index: 1; }
.coll__body h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: var(--s-2); }
.coll__body p { margin: 0; max-width: 40ch; color: #e8e1cf; font-size: .95rem; }
.coll__count { position: absolute; top: clamp(16px, 2vw, 24px); left: clamp(20px, 3vw, 36px); z-index: 1; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(250, 247, 238, .9); color: var(--ink); padding: 4px 10px; border-radius: 999px; }
@media (hover: hover) and (pointer: fine) { .coll:hover img { transform: scale(1.04); } }
@media (max-width: 820px) {
  .collections { grid-template-columns: 1fr 1fr; gap: var(--s-3); }
  .coll:nth-child(n) { grid-column: span 1; aspect-ratio: 3 / 4; }
  .coll__body p { display: none; }
}
@media (max-width: 480px) { .collections { grid-template-columns: 1fr; } .coll:nth-child(n) { aspect-ratio: 4 / 5; } .coll__body p { display: block; } }

/* ---------- Product cards ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.grid-products--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .grid-products, .grid-products--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .grid-products, .grid-products--3 { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; display: block; overflow: hidden; border-radius: var(--r-md); background: var(--surface); aspect-ratio: 1; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .card:hover .card__media img { transform: scale(1.045); } }
.card__badge { position: absolute; top: var(--s-3); left: var(--s-3); background: var(--sand); color: var(--ink); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.card__add { position: absolute; z-index: 2; right: var(--s-3); bottom: var(--s-3); width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: var(--sand); display: grid; place-items: center; cursor: pointer; transition: background-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.card__add:hover { background: var(--gold); }
.card__add:active { transform: scale(.94); }
.card__body { padding-top: var(--s-4); display: grid; grid-template-columns: 1fr auto; gap: 2px var(--s-3); }
.card__title { font-family: var(--f-display); font-size: 1.35rem; margin: 0; line-height: 1.2; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0 0 auto 0; aspect-ratio: 1; }
.card__price { font-family: var(--f-mono); font-size: .95rem; margin: 0; align-self: center; }
.card__meta { grid-column: 1 / -1; margin: 0; font-size: .88rem; color: var(--ink-3); }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--wide-media { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--r-md); width: 100%; object-fit: cover; }
.split__caption { margin-top: var(--s-3); font-family: var(--f-mono); font-size: .75rem; color: var(--ink-3); letter-spacing: .04em; }
@media (max-width: 900px) { .split, .split--wide-media { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

.media-stack { position: relative; padding-bottom: 18%; }
.media-stack img:first-child { width: 82%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.media-stack img:last-child { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); border: 6px solid var(--sand); box-shadow: var(--shadow-2); }
.section--surface .media-stack img:last-child { border-color: var(--surface); }

/* Lens category scale */
.lens-scale { margin-top: var(--s-8); display: grid; gap: var(--s-2); }
.lens-scale__row { display: grid; grid-template-columns: 54px 1fr 76px; align-items: center; gap: var(--s-4); font-size: .9rem; }
.lens-scale__cat { font-family: var(--f-mono); font-size: .8rem; }
.lens-scale__bar { height: 30px; border-radius: 6px; border: 1px solid var(--border); position: relative; overflow: hidden; }
.lens-scale__bar span { position: absolute; inset: 0; transform-origin: left; }
.lens-scale__pct { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-3); text-align: right; }
.lens-scale__legend { font-size: .82rem; color: var(--ink-3); margin-top: var(--s-3); }

/* ---------- Process ledger ---------- */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(250, 247, 238, .18); counter-reset: step; }
.ledger li { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s-6); padding-block: var(--s-6); border-bottom: 1px solid rgba(250, 247, 238, .18); align-items: baseline; }
.ledger__n { font-family: var(--f-mono); font-size: .8rem; color: var(--gold-soft); }
.ledger h3 { margin: 0; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.ledger p { margin: 0; color: #cfc7b4; }
@media (max-width: 720px) { .ledger li { grid-template-columns: 44px 1fr; } .ledger p { grid-column: 2; } }
.ledger--light { border-top-color: var(--border); }
.ledger--light li { border-bottom-color: var(--border); }
.ledger--light .ledger__n { color: var(--gold); }
.ledger--light p { color: var(--ink-2); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); margin-top: var(--s-12); }
.stat__n { font-family: var(--f-display); font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; display: block; margin-bottom: var(--s-2); }
.stat__l { font-size: .9rem; color: #cfc7b4; }
.section:not(.section--ink) .stat__l { color: var(--ink-3); }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Horizontal gallery ---------- */
.hgallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 36%); gap: var(--s-5); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-4); scrollbar-width: thin; }
.hgallery figure { margin: 0; scroll-snap-align: start; }
.hgallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); }
.hgallery figure.is-wide { grid-column: span 1; }
.hgallery figcaption { margin-top: var(--s-3); font-size: .9rem; color: var(--ink-3); }
.hgallery figcaption strong { color: var(--ink); font-weight: 500; display: block; }
@media (max-width: 640px) { .hgallery { grid-auto-columns: 78%; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.review { background: var(--sand); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s-8); display: flex; flex-direction: column; gap: var(--s-4); }
.section--surface .review { background: var(--sand); }
.review__stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }
.review blockquote { margin: 0; font-family: var(--f-display); font-size: 1.22rem; line-height: 1.4; }
.review footer { margin-top: auto; font-size: .88rem; color: var(--ink-3); }
.review footer strong { color: var(--ink); font-weight: 500; }
.review--big { grid-column: span 2; background: var(--ink); color: var(--sand); border-color: var(--ink); }
.review--big blockquote { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.review--big footer { color: #cfc7b4; }
.review--big footer strong { color: var(--sand); }
.review--big .review__stars { color: var(--gold-soft); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } .review--big { grid-column: auto; } }
.rating-summary { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
.rating-summary strong { font-family: var(--f-display); font-size: 3rem; line-height: 1; font-weight: 400; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); counter-reset: s; }
.step { border-top: 1px solid var(--ink); padding-top: var(--s-6); }
.step__n { font-family: var(--f-mono); font-size: .8rem; color: var(--gold); display: block; margin-bottom: var(--s-6); }
.step h3 { margin-bottom: var(--s-3); }
.step p { color: var(--ink-2); margin: 0; }
.step__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--secondary); display: grid; place-items: center; margin-bottom: var(--s-5); color: var(--ink); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Features grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.feature { background: var(--sand); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s-8); }
.section--surface .feature { background: var(--sand); }
.feature__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--secondary); color: var(--ink); display: grid; place-items: center; margin-bottom: var(--s-5); }
.feature h3 { font-size: 1.35rem; margin-bottom: var(--s-3); }
.feature p { color: var(--ink-2); margin: 0; font-size: .97rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------- Accordion ---------- */
.accordion { border-top: 1px solid var(--border-strong); }
.accordion details { border-bottom: 1px solid var(--border-strong); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-6); padding: var(--s-6) 0; font-family: var(--f-display); font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.3; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-strong); position: relative; transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out); }
.accordion summary .pm::before, .accordion summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform var(--t-ui) var(--ease-out); }
.accordion summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion details[open] summary .pm { background: var(--ink); border-color: var(--ink); }
.accordion details[open] summary .pm::before, .accordion details[open] summary .pm::after { background: var(--sand); }
.accordion details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.accordion__body { padding: 0 var(--s-12) var(--s-6) 0; color: var(--ink-2); }
.accordion__body p:last-child { margin-bottom: 0; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-card { background: var(--sand); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-1); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: var(--s-2); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: var(--s-3) var(--s-4);
  border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: var(--white);
  font-size: 1rem; transition: border-color var(--t-fast) var(--ease-out);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(35, 124, 136, .18); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .84rem; margin: var(--s-2) 0 0; }
.check { display: flex; gap: var(--s-3); align-items: flex-start; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.check a { color: var(--ink); }
.form-note { font-size: .82rem; color: var(--ink-3); margin: var(--s-4) 0 0; }
.form-success { text-align: center; padding: var(--s-8) var(--s-4); }
.form-success__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--sea); color: var(--white); display: grid; place-items: center; margin: 0 auto var(--s-5); }
.form-success h3 { font-size: 2rem; }
.form-success p { color: var(--ink-2); max-width: 46ch; margin-inline: auto; }
.form-alert { background: #f7e6e1; color: var(--danger); border-radius: var(--r-sm); padding: var(--s-3) var(--s-4); font-size: .9rem; margin-bottom: var(--s-5); }

.lead-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.lead-section__aside img { border-radius: var(--r-md); aspect-ratio: 4 / 3; object-fit: cover; margin-top: var(--s-8); }
.lead-points { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; gap: var(--s-3); }
.lead-points li { display: flex; gap: var(--s-3); align-items: flex-start; }
.lead-points svg { color: var(--sea); flex: none; margin-top: 4px; }
@media (max-width: 900px) { .lead-section { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 112px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); max-width: 18ch; }
.page-hero .lead { margin-bottom: 0; }
.page-hero--media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.page-hero--media img { border-radius: var(--r-md); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .page-hero--media { grid-template-columns: 1fr; } }
.breadcrumb { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-2); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Catalog ---------- */
.catalog-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); margin-bottom: var(--s-10); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip { min-height: 40px; padding: 0 var(--s-4); border-radius: 999px; border: 1px solid var(--border-strong); background: transparent; cursor: pointer; font-size: .9rem; text-decoration: none; display: inline-flex; align-items: center; transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--ink); color: var(--sand); border-color: var(--ink); }
.catalog-tools { display: flex; gap: var(--s-4); align-items: center; flex-wrap: wrap; }
.catalog-tools select { min-height: 40px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--sand); padding: 0 var(--s-4); }
.catalog-count { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-3); }
.catalog-empty { text-align: center; padding: var(--s-16) 0; color: var(--ink-3); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding-block: var(--s-10) var(--s-24); }
.pdp__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.pdp__gallery img { border-radius: var(--r-md); width: 100%; object-fit: cover; }
.pdp__gallery .main { grid-column: 1 / -1; aspect-ratio: 1; }
.pdp__gallery .sub { aspect-ratio: 3 / 4; }
.pdp__info { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp__info h1 { font-size: clamp(2.6rem, 4.4vw, 4rem); margin-bottom: var(--s-2); }
.pdp__price { font-family: var(--f-mono); font-size: 1.35rem; margin-bottom: var(--s-2); }
.pdp__tax { font-size: .85rem; color: var(--ink-3); margin-bottom: var(--s-6); }
.spec { width: 100%; border-collapse: collapse; margin: var(--s-6) 0; font-size: .93rem; }
.spec th, .spec td { text-align: left; padding: var(--s-3) 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec th { font-weight: 400; color: var(--ink-3); width: 42%; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; padding-top: 14px; }
.pdp__actions { display: grid; gap: var(--s-3); margin: var(--s-6) 0; }
.pdp__perks { list-style: none; padding: 0; margin: 0 0 var(--s-6); display: grid; gap: var(--s-2); font-size: .9rem; color: var(--ink-2); }
.pdp__perks li { display: flex; gap: var(--s-3); align-items: center; }
.pdp__perks svg { color: var(--sea); flex: none; }
.size-diagram { background: var(--surface); border-radius: var(--r-md); padding: var(--s-6); margin-top: var(--s-6); }
.size-diagram svg { width: 100%; height: auto; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } .pdp__info { position: static; } }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-block: var(--s-16) var(--s-24); }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: .9rem; }
.legal__toc h2 { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--s-4); }
.legal__toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: var(--s-2); color: var(--ink-3); }
.legal__toc a { text-decoration: none; color: var(--ink-2); }
.legal__toc a:hover { color: var(--ink); }
.legal__body { max-width: 760px; }
.legal__body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: var(--s-12); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal__body h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 1.2rem; margin-top: var(--s-8); }
.legal__body p, .legal__body li { color: var(--ink-2); }
.legal__body ul, .legal__body ol { padding-left: 1.3em; margin: 0 0 var(--s-4); }
.legal__body li { margin-bottom: var(--s-2); }
.legal__body table { width: 100%; border-collapse: collapse; margin: var(--s-4) 0 var(--s-6); font-size: .92rem; }
.legal__body th, .legal__body td { border: 1px solid var(--border); padding: var(--s-3); text-align: left; vertical-align: top; }
.legal__body th { background: var(--surface); font-weight: 500; }
.table-scroll { overflow-x: auto; }
.legal__updated { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-3); }
.info-box { background: var(--surface); border-left: 3px solid var(--gold); padding: var(--s-5) var(--s-6); border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: var(--s-6) 0; }
.info-box p:last-child { margin: 0; }
@media (max-width: 900px) { .legal { grid-template-columns: minmax(0, 1fr); } .legal__toc { position: static; } }

/* ---------- Contacts ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.contact-card { border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s-6); background: var(--sand); }
.contact-card .mono { color: var(--gold); display: block; margin-bottom: var(--s-3); }
.contact-card a, .contact-card p { font-family: var(--f-display); font-size: 1.25rem; line-height: 1.35; text-decoration: none; margin: 0; word-break: break-word; }
.contact-card small { display: block; margin-top: var(--s-3); color: var(--ink-3); font-size: .85rem; font-family: var(--f-body); }
@media (max-width: 1000px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.team figure { margin: 0; }
.team img { border-radius: var(--r-md); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.team figcaption { padding-top: var(--s-4); }
.team figcaption strong { font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; display: block; }
.team figcaption span { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.team figcaption p { margin-top: var(--s-3); color: var(--ink-2); font-size: .95rem; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; max-width: 480px; } }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: var(--s-6); padding: var(--s-6) 0; border-top: 1px solid var(--border); }
.timeline time { font-family: var(--f-display); font-size: 1.8rem; line-height: 1; color: var(--gold); }
.timeline h3 { font-size: 1.25rem; margin-bottom: var(--s-2); }
.timeline p { margin: 0; color: var(--ink-2); }
@media (max-width: 600px) { .timeline li { grid-template-columns: 1fr; gap: var(--s-2); } }

/* ---------- Face shapes (guide) ---------- */
.shapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.shape { border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s-6); background: var(--sand); }
.shape svg { width: 72px; height: 88px; color: var(--ink); margin-bottom: var(--s-4); }
.shape h3 { font-size: 1.3rem; margin-bottom: var(--s-2); }
.shape p { font-size: .93rem; color: var(--ink-2); }
.shape__fit { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .04em; color: var(--sea); text-transform: uppercase; }
@media (max-width: 1000px) { .shapes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .shapes { grid-template-columns: 1fr; } }

.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: var(--s-4); border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare thead th { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; }
.compare tbody th { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; margin-right: var(--s-2); border: 1px solid rgba(30, 26, 17, .15); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--ink); color: var(--sand); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cta-band__text { padding: clamp(32px, 5vw, 72px); align-self: center; }
.cta-band__text p { color: #d8d0bd; }
.cta-band img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--sand); padding-block: var(--s-20) var(--s-8); padding-bottom: calc(var(--s-8) + env(safe-area-inset-bottom, 0px)); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--s-10); padding-bottom: var(--s-12); border-bottom: 1px solid rgba(250, 247, 238, .16); }
.footer-brand img { height: 36px; width: auto; margin-bottom: var(--s-5); }
.footer-brand p { color: #cfc7b4; font-size: .95rem; max-width: 40ch; }
.footer-col h2 { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: var(--s-5); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.footer-col a, .footer-col .link-btn { color: #e6dfcd; text-decoration: none; font-size: .93rem; transition: color var(--t-fast) var(--ease-out); }
.footer-col a:hover, .footer-col .link-btn:hover { color: var(--white); }
.footer-contact address { font-style: normal; display: grid; gap: 2px; font-size: .95rem; color: #e6dfcd; }
.footer-contact .mono { color: #a79f8a; font-size: .7rem; margin-top: var(--s-3); }
.footer-contact .mono:first-child { margin-top: 0; }
.footer-bottom { padding-top: var(--s-6); display: grid; gap: var(--s-2); font-size: .8rem; color: #a79f8a; }
.footer-bottom p { margin: 0; }
.newsletter { margin-top: var(--s-6); max-width: 380px; }
.newsletter label { font-size: .85rem; color: #cfc7b4; display: block; margin-bottom: var(--s-2); }
.newsletter__row { display: flex; border: 1px solid rgba(250, 247, 238, .3); border-radius: 999px; padding: 4px; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 0 var(--s-4); color: var(--sand); min-height: 40px; }
.newsletter input::placeholder { color: #a79f8a; }
.newsletter input:focus { outline: none; }
.newsletter button { border: 0; border-radius: 999px; background: var(--sand); color: var(--ink); padding: 0 var(--s-5); cursor: pointer; font-weight: 500; min-height: 40px; }
.newsletter button:hover { background: var(--secondary); }
.newsletter__msg { font-size: .85rem; margin: var(--s-2) 0 0; color: #e3cf9b; min-height: 1.4em; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Drawer / toast / cookie ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(20, 17, 10, .45); animation: fade var(--t-ui) var(--ease-out); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--sand); display: flex; flex-direction: column; padding: var(--s-6); padding-top: calc(var(--s-6) + env(safe-area-inset-top, 0px)); padding-bottom: calc(var(--s-6) + env(safe-area-inset-bottom, 0px)); animation: slidein 280ms var(--ease-out); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-6); }
.drawer__head h2 { font-size: 1.8rem; margin: 0; }
.drawer__list { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; }
.drawer__list li { display: grid; grid-template-columns: 72px 1fr auto; gap: var(--s-4); align-items: center; padding: var(--s-3) 0; border-bottom: 1px solid var(--border); }
.drawer__list img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-sm); }
.drawer__list strong { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; display: block; }
.drawer__list span { font-family: var(--f-mono); font-size: .85rem; color: var(--ink-3); }
.drawer__list button { border: 0; background: none; cursor: pointer; font-size: .8rem; color: var(--ink-3); text-decoration: underline; }
.drawer__empty { color: var(--ink-2); }
.drawer__foot { border-top: 1px solid var(--border); padding-top: var(--s-5); }
.drawer__total { display: flex; justify-content: space-between; font-size: 1.05rem; margin-bottom: var(--s-2); }
.drawer__total strong { font-family: var(--f-mono); font-weight: 500; }
.drawer__note { font-size: .85rem; color: var(--sea); }
@keyframes slidein { from { transform: translateX(100%); } }
@keyframes fade { from { opacity: 0; } }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 95; background: var(--ink); color: var(--sand); padding: var(--s-3) var(--s-6); border-radius: 999px; font-size: .92rem; box-shadow: var(--shadow-2); animation: toastin 220ms var(--ease-out); max-width: calc(100% - 32px); text-align: center; }
@keyframes toastin { from { opacity: 0; transform: translate(-50%, 10px); } }

.cookie { position: fixed; left: var(--s-4); right: var(--s-4); bottom: calc(var(--s-4) + env(safe-area-inset-bottom, 0px)); z-index: 80; display: flex; justify-content: flex-end; pointer-events: none; }
.cookie__box { pointer-events: auto; position: relative; width: min(520px, 100%); background: var(--sand); border: 1px solid var(--border-strong); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-2); animation: toastin 260ms var(--ease-out); }
.cookie__box h2 { font-size: 1.4rem; margin-bottom: var(--s-2); padding-right: var(--s-8); }
.cookie__box p { font-size: .9rem; color: var(--ink-2); }
.cookie__x { position: absolute; top: var(--s-4); right: var(--s-4); width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: transparent; display: grid; place-items: center; cursor: pointer; }
.cookie__prefs { display: grid; gap: var(--s-3); margin-bottom: var(--s-5); padding: var(--s-4); background: var(--surface); border-radius: var(--r-md); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.cookie__actions .btn { min-height: 44px; padding: 0 var(--s-5); font-size: .88rem; flex: 1 1 auto; }

/* ---------- Motion helpers (GSAP sets initial state; content stays visible without JS) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
.field label.check { display: flex; font-weight: 400; font-size: .9rem; margin: 0; }

.features--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .features--2 { grid-template-columns: 1fr; } }
.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.legal__updated { margin-top: var(--s-4); }
@media (max-width: 640px) { .hide-sm { display: none; } }
.mobile-menu { min-height: calc(100svh - var(--header-h)); max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
