/* =====================================================================
   Apex Relax — shared stylesheet
   ---------------------------------------------------------------------
   Light theme only (deliberate). All colors are custom properties.
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Header · 5 Buttons
             6 Hero · 7 Cards & product stage · 8 Bands & sections
             9 Forms · 10 Accordion · 11 Tables · 12 Product page & gallery
             13 Compare · 14 Finder · 15 Modal & lightbox · 16 Footer
             17 Motion · 18 Utilities
   Motion rule of thumb: animate transform and opacity only; everything is
   switched off under prefers-reduced-motion (section 17).
   ===================================================================== */

/* ---------- 1. Tokens ------------------------------------------------ */
:root {
  /* brand greens */
  --green-900: #12241b;
  --green-800: #183025;
  --green-700: #1f3d2f;   /* dominant brand color */
  --green-600: #2a5240;
  --green-500: #3b6b55;
  --green-300: #a9c4b2;
  --green-200: #c9d8ce;
  --green-100: #e3ece6;
  --green-50:  #eff4f0;

  /* ivory backgrounds */
  --ivory:    #f8f6f1;
  --ivory-2:  #f1eee6;
  --ivory-3:  #e9e3d6;
  --white:    #ffffff;

  /* warm charcoal text */
  --ink:      #2a2925;
  --ink-2:    #58564f;
  --ink-3:    #817e76;

  /* brass accent (sparingly: key CTAs, price highlights) */
  --brass:     #b08d57;
  --brass-400: #d4b480;
  --brass-600: #96743f;
  --brass-700: #7d5f32;
  --brass-100: #f3eadb;

  /* lines, states */
  --line:     #e2ded4;
  --line-2:   #cfcabd;
  --danger:   #a53f2b;
  --danger-bg:#fbeeea;
  --success:  #2f6a46;
  --success-bg:#e8f2ec;

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* layout */
  --max: 1200px;
  --gutter: 16px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 8px;
  --header-h: 76px;
  --shadow-sm: 0 1px 2px rgba(42, 41, 37, .06), 0 2px 8px rgba(42, 41, 37, .04);
  --shadow-md: 0 10px 30px rgba(31, 61, 47, .12);
  --shadow-lg: 0 30px 60px -24px rgba(18, 36, 27, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. Base --------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
  animation: page-in .7s var(--ease) both;
}
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
body.nav-open, body.lightbox-open { overflow: hidden; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--green-900);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); font-variation-settings: "opsz" 144, "SOFT" 30; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-variation-settings: "opsz" 96; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
small { font-size: .875rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--green-200); color: var(--green-900); }
.visually-hidden {
  position: absolute !important; 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: 12px; top: -60px; z-index: 200;
  background: var(--green-900); color: var(--ivory); padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--ivory); }

/* ---------- 3. Layout ------------------------------------------------- */
.container { width: min(100% - (var(--gutter) * 2), var(--max)); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.section-head { display: grid; gap: .5rem; max-width: 720px; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1rem; }
.section-head .lede { margin: 0; }
.section-head__tools { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 559px) { .section-head--split { grid-template-columns: 1fr; } .section-head__tools { justify-content: space-between; } }
.eyebrow {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: var(--brass-600); margin-bottom: .6rem; display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 60ch; }
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); }
@media (min-width: 640px)  { .grid--2, .grid--3, .grid--4 { --cols: 2; } }
@media (min-width: 960px)  { .grid--3 { --cols: 3; } .grid--4 { --cols: 4; } }
.two-col { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 880px) { .two-col { grid-template-columns: 5fr 7fr; } .two-col--even { grid-template-columns: 1fr 1fr; } .two-col--reverse { grid-template-columns: 7fr 5fr; } }
.two-col > * { min-width: 0; }
.stack > * + * { margin-top: 1rem; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.2em; font-size: 1.6rem; }
.prose h3 { margin-top: 1.6em; }
.prose li + li { margin-top: .35em; }

/* ---------- 4. Header ------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 246, 241, .78);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-compact, .site-header.is-open { border-bottom-color: var(--line); background: rgba(248, 246, 241, .93); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h); transition: min-height .3s var(--ease);
}
.site-header.is-compact .header__inner { min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--green-900); }
.logo__mark { width: 34px; height: 34px; flex: none; transition: width .3s, height .3s, transform .5s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }
.site-header.is-compact .logo__mark { width: 28px; height: 28px; }
.logo__word { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: -.01em; line-height: 1; }
.logo__word em { font-style: italic; font-weight: 400; color: var(--green-600); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem;
  text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .95rem; border-radius: 999px;
  position: relative;
}
.nav a:hover { color: var(--green-900); }
.nav a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 6px; height: 2px; background: var(--brass); border-radius: 2px;
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav a[aria-current="page"] { color: var(--green-900); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: .5rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: var(--white);
  border-radius: 10px; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--green-900); transition: transform .3s, opacity .3s; }
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header__actions .header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ivory);
    padding: 1rem var(--gutter) 2rem; transform: translateX(100%); visibility: hidden;
    transition: transform .45s var(--ease-out), visibility 0s linear .45s;
    overflow-y: auto; z-index: 99;
  }
  .site-header.is-compact .nav { top: 60px; }
  .site-header.is-open .nav { transform: none; visibility: visible; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { min-height: 52px; font-size: 1.15rem; width: 100%; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--brass-700); }
  .nav__cta { margin-top: 1.25rem; }
  .nav__cta .btn { width: 100%; }
}
@media (min-width: 961px) { .nav__cta { display: none; } }

/* ---------- 5. Buttons ------------------------------------------------ */
/* Animated fill: a rounded layer rises from the bottom on hover.
   Magnetic offset (--bx/--by) is set by js/app.js on desktop only. */
.btn {
  --bx: 0px; --by: 0px; --lift: 0px;
  --fill: var(--green-900);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; text-decoration: none; line-height: 1.1; white-space: nowrap;
  transform: translate3d(var(--bx), calc(var(--by) + var(--lift)), 0);
  transition: transform .5s var(--ease-out), color .35s var(--ease), border-color .35s, box-shadow .35s var(--ease), background-color .35s;
  cursor: pointer;
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 50% 50% 0 0 / 70% 70% 0 0;
  background: var(--fill); transform: translate3d(0, 102%, 0);
  transition: transform .55s var(--ease-out), border-radius .55s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; border-radius: 0; }
.btn:hover { --lift: -2px; }
.btn:active { --lift: 0px; }
.btn.is-magnet { transition: transform .2s linear, color .35s var(--ease), border-color .35s, box-shadow .35s var(--ease); }
.btn--primary { background: var(--green-800); color: var(--ivory); --fill: var(--green-600); }
.btn--primary:hover { color: var(--white); box-shadow: 0 12px 26px -10px rgba(18, 36, 27, .55); }
.btn--accent { background: var(--brass-600); color: var(--white); --fill: var(--green-800); }
.btn--accent:hover { color: var(--white); box-shadow: 0 12px 26px -10px rgba(125, 95, 50, .6); }
.btn--ghost { background: transparent; color: var(--green-800); border-color: var(--line-2); --fill: var(--green-800); }
.btn--ghost:hover { border-color: var(--green-800); color: var(--ivory); }
.btn--light { background: var(--ivory); color: var(--green-900); --fill: var(--brass-100); }
.btn--light:hover { color: var(--green-900); }
.btn--outline-light { background: transparent; color: var(--ivory); border-color: rgba(248, 246, 241, .45); --fill: var(--ivory); }
.btn--outline-light:hover { border-color: var(--ivory); color: var(--green-900); }
.btn--sm { min-height: 40px; padding: 0 1rem; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }
.btn .btn__arrow { transition: transform .4s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease-out); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- 6. Hero --------------------------------------------------- */
.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(2rem, 5vw, 4rem); position: relative; overflow: hidden; }
.hero__grid { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 880px) { .hero__grid { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: 2rem; } }
.hero__intro { position: relative; z-index: 2; min-width: 0; }
.hero h1 { margin-bottom: 1.2rem; max-width: 13ch; }
.hero h1 em { font-style: italic; color: var(--green-600); }
.hero .lede { margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.fact { display: grid; gap: .1rem; }
.fact__num { font-family: var(--font-display); font-size: 1.9rem; color: var(--green-800); line-height: 1; font-weight: 500; }
.fact__num .accent { color: var(--brass-600); }
.fact__label { font-size: .85rem; color: var(--ink-3); }

/* headline words rising from a mask (split by js/app.js) */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .14em; margin: 0 -.06em -.14em; }
.hero h1 .w > span { display: inline-block; animation: word-up 1.05s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 65ms + 120ms); }
@keyframes word-up { from { transform: translate3d(0, 112%, 0) rotate(3deg); } to { transform: none; } }
.hero__intro > .eyebrow { animation: fade-up .9s var(--ease-out) .05s both; }
.hero__intro > .lede { animation: fade-up .9s var(--ease-out) .55s both; }
.hero__intro > .hero__actions { animation: fade-up .9s var(--ease-out) .7s both; }
.hero__intro > .hero__facts { animation: fade-up .9s var(--ease-out) .85s both; }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }

/* hero product: a real photo floating on a plinth, with an aura behind */
.hero__visual {
  position: relative; isolation: isolate; width: 100%; max-width: 620px; margin-inline: auto;
  aspect-ratio: 1 / 1; animation: fade-in 1.2s var(--ease) .2s both;
}
/* opaque base = page colour: multiply needs a backdrop inside the isolated
   group. It extends past the box so the floating / parallax chair never
   leaves it. */
.hero__visual::before { content: ""; position: absolute; inset: -12%; z-index: -1; background: var(--ivory); pointer-events: none; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.aura { position: absolute; inset: -4%; z-index: 0; pointer-events: none; }
.aura__blob { position: absolute; border-radius: 50%; filter: blur(42px); will-change: transform; }
.aura__blob--1 { width: 64%; height: 64%; left: 0; top: 14%; background: radial-gradient(circle at 45% 45%, rgba(169, 196, 178, .95), rgba(169, 196, 178, 0) 68%); animation: blob-a 17s ease-in-out infinite alternate; }
.aura__blob--2 { width: 52%; height: 52%; right: 0; top: 0; background: radial-gradient(circle, rgba(212, 180, 128, .85), rgba(212, 180, 128, 0) 68%); animation: blob-b 21s ease-in-out infinite alternate; }
.aura__blob--3 { width: 60%; height: 44%; left: 24%; bottom: 4%; background: radial-gradient(circle, rgba(59, 107, 85, .5), rgba(59, 107, 85, 0) 68%); animation: blob-c 24s ease-in-out infinite alternate; }
.aura__glow { position: absolute; left: 14%; top: 10%; width: 72%; height: 72%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .95) 0, rgba(255, 255, 255, .6) 38%, rgba(255, 255, 255, 0) 68%); }
@keyframes blob-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(8%, -6%, 0) scale(1.12); } }
@keyframes blob-b { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-10%, 10%, 0) scale(.9); } }
@keyframes blob-c { from { transform: translate3d(0, 0, 0) scale(1.05); } to { transform: translate3d(-6%, -8%, 0) scale(.92); } }
.hero__plinth { position: absolute; z-index: 1; left: 12%; width: 76%; top: 79%; height: 11%; pointer-events: none; }
.hero__plinth::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 35%, #fffdf8 0, #f2ecdf 55%, #e3dac8 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 14px 30px -12px rgba(18, 36, 27, .35);
}
.hero__plinth::after {
  content: ""; position: absolute; left: 22%; right: 22%; top: 28%; height: 34%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(18, 36, 27, .32), rgba(18, 36, 27, 0) 70%);
  animation: shadow-breathe 7s ease-in-out infinite;
}
/* multiply sits on the outer layer so the white studio background melts
   into the aura (blending happens inside .hero__visual's isolated group) */
.hero__chair { position: absolute; z-index: 2; left: 5%; top: 0; width: 90%; mix-blend-mode: multiply; }
.hero__float { animation: float 7s ease-in-out infinite; }
.hero__float img { width: 100%; height: auto; }
@keyframes float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -14px, 0); } }
@keyframes shadow-breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.86); opacity: .7; } }
.hero__chip {
  position: absolute; z-index: 3; left: 0; bottom: 4%; max-width: 250px;
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .8); color: var(--green-900);
  padding: .8rem 1rem; border-radius: 16px; display: grid; gap: .15rem; box-shadow: var(--shadow-md);
}
.hero__chip strong { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; color: var(--brass-700); line-height: 1; }
.hero__chip span { font-size: .8rem; color: var(--ink-2); line-height: 1.4; }
.hero__caption {
  position: absolute; z-index: 3; right: 0; top: 3%; display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(18, 36, 27, .88); color: var(--ivory); text-decoration: none; font-size: .8rem; font-weight: 600;
  padding: .45rem .5rem .45rem .85rem; border-radius: 999px; box-shadow: var(--shadow-md);
  transition: background .3s, transform .45s var(--ease-out);
}
.hero__caption:hover { color: var(--white); background: var(--green-900); transform: translateY(-2px); }
.hero__caption b { font-weight: 700; color: var(--brass-400); }
.hero__caption i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: var(--brass); color: var(--green-900); display: grid; place-items: center; }
.hero__caption i svg { width: 14px; height: 14px; }
@media (max-width: 879px) {
  .hero__visual { max-width: 460px; }
  .hero__chip { max-width: 210px; padding: .65rem .8rem; }
  .hero__chip strong { font-size: 1.2rem; }
  .hero__caption { font-size: .74rem; }
  .aura__blob { filter: blur(30px); }
}

/* legacy art block (404 page) */
.hero__art {
  position: relative; aspect-ratio: 5 / 5.4; border-radius: 28px;
  background: linear-gradient(160deg, var(--green-600), var(--green-800) 55%, var(--green-900));
  display: grid; place-items: center; overflow: hidden; color: var(--ivory);
  box-shadow: var(--shadow-md);
}
.hero__art::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(176, 141, 87, .35), transparent 45%);
}
.hero__art svg.chair { width: 78%; height: auto; color: var(--ivory); opacity: .95; position: relative; filter: drop-shadow(0 20px 30px rgba(0,0,0,.25)); animation: float 7s ease-in-out infinite; }

/* brand marquee (typographic wordmarks, not logos) */
.marquee {
  position: relative; overflow: hidden; padding: 1.15rem 0; border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); padding-right: clamp(2rem, 5vw, 4.5rem); margin: 0; list-style: none; padding-left: 0; }
.marquee__group li { display: flex; align-items: center; gap: clamp(2rem, 5vw, 4.5rem); }
.marquee__group li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); opacity: .7; }
.wm { color: var(--green-800); white-space: nowrap; line-height: 1; opacity: .82; transition: opacity .3s, color .3s; }
.wm:hover { opacity: 1; color: var(--green-900); }
.wm--osaki { font-family: var(--font-body); font-weight: 800; letter-spacing: .22em; text-transform: uppercase; font-size: clamp(1rem, 1.7vw, 1.3rem); }
.wm--luraco { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.wm--infinity { font-family: var(--font-body); font-weight: 500; letter-spacing: .34em; text-transform: uppercase; font-size: clamp(.9rem, 1.5vw, 1.1rem); }
.wm--human { font-family: var(--font-body); font-weight: 600; letter-spacing: -.02em; font-size: clamp(1.25rem, 2.2vw, 1.7rem); text-transform: lowercase; }
.wm--titan { font-family: var(--font-display); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: clamp(1.05rem, 1.9vw, 1.4rem); }
.wm--daiwa { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 2.4vw, 1.9rem); letter-spacing: .02em; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* Page hero (inner pages) */
.page-hero { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); position: relative; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { margin-bottom: 0; }
.page-hero > .container > * { animation: fade-up .8s var(--ease-out) both; }
.page-hero > .container > :nth-child(2) { animation-delay: .08s; }
.page-hero > .container > :nth-child(3) { animation-delay: .16s; }
.page-hero > .container > :nth-child(4) { animation-delay: .24s; }
.breadcrumb { font-size: .85rem; color: var(--ink-3); margin-bottom: 1rem; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--green-800); }

/* ---------- 7. Cards & product stage ---------------------------------- */
/* The stage: fixed aspect ratio, soft ivory plinth, radial glow, floor
   shadow. Studio photos blend in with multiply; in-room / dark shots use
   .stage--cover (data flag imageFit: "cover") or .stage--scene (detected). */
.stage {
  position: relative; display: block; width: 100%; aspect-ratio: var(--stage-ar, 5 / 4); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 30% 4.5% at 50% 85.5%, rgba(18, 36, 27, .2), rgba(18, 36, 27, 0) 100%),
    radial-gradient(ellipse 44% 8.5% at 50% 86%, #e9e1d1 0, #efe9dc 55%, rgba(239, 233, 220, 0) 100%),
    radial-gradient(ellipse 68% 60% at 50% 44%, #ffffff 0, rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, #f9f7f2 0%, var(--ivory-2) 100%);
}
.stage__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5% 8% 4%;
  mix-blend-mode: multiply; transform-origin: 50% 85%;
  transition: transform .9s var(--ease-out), opacity .5s;
}
.stage--cover, .stage--scene { background: var(--ivory-3); }
.stage--cover .stage__img, .stage--scene .stage__img { object-fit: cover; padding: 0; mix-blend-mode: normal; transform: scale(1.035); transform-origin: 50% 50%; }
.stage--illustration .sig { position: absolute; left: 4%; top: 2%; width: 92%; height: 92%; transition: transform .9s var(--ease-out); transform-origin: 50% 85%; }
.stage__label {
  position: absolute; left: .85rem; bottom: .7rem; z-index: 2; display: grid; gap: .1rem; line-height: 1.1;
}
.stage__series { font-family: var(--font-display); font-size: 1rem; color: var(--green-900); }
.stage__series em { color: var(--brass-700); }
.stage__kind { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); }
.stage--ph { display: grid; place-items: center; color: var(--green-600); }
.stage--ph .ph__chair { width: 58%; height: auto; opacity: .55; }
.ph__label { position: absolute; right: .75rem; bottom: .6rem; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

.card {
  --rx: 0deg; --ry: 0deg; --lift: 0px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden; position: relative; height: 100%;
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0, var(--lift), 0);
  transition: transform .7s var(--ease-out), box-shadow .45s var(--ease), border-color .45s;
}
.card:hover { --lift: -6px; box-shadow: var(--shadow-lg); border-color: var(--green-200); }
.card.is-tilting { transition: transform .14s linear, box-shadow .45s var(--ease), border-color .45s; }
.card__sheen {
  position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 42%);
  mix-blend-mode: soft-light;
}
.fine-pointer .card:hover .card__sheen { opacity: 1; }
.card__media { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.card__img { display: block; }
.card:hover .stage__img { transform: scale(1.055); }
.card:hover .stage--cover .stage__img, .card:hover .stage--scene .stage__img { transform: scale(1.09); }
.card:hover .sig { transform: scale(1.04); }
.card__view {
  position: absolute; right: .75rem; bottom: .75rem; z-index: 3; display: inline-flex; align-items: center; gap: .35rem;
  padding: .45rem .55rem .45rem .85rem; border-radius: 999px; background: var(--green-900); color: var(--ivory);
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  opacity: 0; transform: translate3d(0, 130%, 0); transition: transform .55s var(--ease-out), opacity .4s;
}
.card__view svg { width: 16px; height: 16px; }
.card:hover .card__view { opacity: 1; transform: none; }
@media (hover: none) { .card__view { display: none; } }
.card__badges { position: absolute; left: .75rem; top: .75rem; display: flex; gap: .35rem; flex-wrap: wrap; z-index: 2; }
.badge {
  display: inline-flex; align-items: center; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700;
  padding: .3rem .55rem; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--green-900); border: 1px solid var(--line);
}
.badge--brass { background: var(--brass-100); color: var(--brass-700); border-color: transparent; }
.badge--green { background: var(--green-800); color: var(--ivory); border-color: transparent; }
.badge--usa { background: #e9eef7; color: #2a3f6f; border-color: transparent; }
.card__body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card__brand { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.card__title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; margin: 0; line-height: 1.2; }
.card__title a { text-decoration: none; color: var(--green-900); }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__desc { color: var(--ink-2); font-size: .92rem; margin: 0; }
.card__meta { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .1rem; }
.chip {
  font-size: .75rem; padding: .25rem .6rem; border-radius: 999px; background: var(--green-50); color: var(--green-800); font-weight: 600;
  border: 1px solid var(--green-100);
}
.card__price { margin-top: auto; padding-top: .75rem; border-top: 1px dashed var(--line); }
.price { font-family: var(--font-display); font-size: 1.65rem; font-weight: 500; color: var(--green-900); line-height: 1; }
.price__note { font-size: .82rem; color: var(--ink-2); margin-top: .45rem; }
.price__note strong { color: var(--brass-700); font-weight: 700; }
.card__actions { display: flex; gap: .5rem; align-items: center; margin-top: .75rem; position: relative; z-index: 2; flex-wrap: wrap; }
.card__actions .btn { flex: 1; min-width: 0; }
.compare-check {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 600; color: var(--ink-2);
  min-height: 44px; cursor: pointer; user-select: none; padding: 0 .25rem; position: relative; z-index: 2;
}
.compare-check input { width: 18px; height: 18px; accent-color: var(--green-700); margin: 0; cursor: pointer; }
.compare-check.is-disabled { opacity: .5; cursor: not-allowed; }

/* "included value" badge with a soft brass shimmer */
.value-badge {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .3rem;
  padding: .3rem .7rem; border-radius: 10px; background: var(--brass-100); color: var(--brass-700);
  border: 1px solid rgba(176, 141, 87, .28);
}
.value-badge::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .85) 50%, rgba(255, 255, 255, 0) 70%);
  transform: translate3d(-110%, 0, 0); animation: shimmer 5s var(--ease) 1.5s infinite;
}
.value-badge__sub { color: var(--ink-2); }
@keyframes shimmer { 0% { transform: translate3d(-110%, 0, 0); } 30%, 100% { transform: translate3d(110%, 0, 0); } }

/* Tier cards */
.tier-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem;
  display: flex; flex-direction: column; gap: .75rem; transition: transform .6s var(--ease-out), box-shadow .45s var(--ease);
  position: relative; overflow: hidden; isolation: isolate;
}
.tier-card::after {
  content: ""; position: absolute; right: -30%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, var(--green-50), rgba(239, 244, 240, 0) 70%);
  transform: scale(.6); opacity: 0; transition: transform .8s var(--ease-out), opacity .6s;
}
.tier-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tier-card:hover::after { transform: scale(1.4); opacity: 1; }
.tier-card__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; transform-origin: 50% 0; transition: transform .6s var(--ease-out); }
.tier-card--entry .tier-card__bar { background: var(--green-200); }
.tier-card--mid .tier-card__bar { background: var(--green-500); }
.tier-card--premium .tier-card__bar { background: var(--brass); }
.tier-card h3 { margin: 0; font-size: 1.6rem; }
.tier-card__range { font-family: var(--font-display); font-size: 1.15rem; color: var(--brass-700); }
.tier-card p { color: var(--ink-2); margin: 0; }
.tier-card__for { font-size: .85rem; color: var(--ink-3); }
.tier-card .link-arrow { margin-top: auto; padding-top: .5rem; }

/* Featured rail: horizontal snap carousel */
.rail { position: relative; }
.rail__track {
  --rail-gap: clamp(1rem, 2vw, 1.5rem);
  display: grid; grid-auto-flow: column; gap: var(--rail-gap);
  grid-auto-columns: calc((100% - 2 * var(--rail-gap)) / 3.25);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 4px;
  padding: 12px 4px 30px; margin: -12px -4px -30px;
  scrollbar-width: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { scroll-snap-align: start; min-width: 0; }
.fine-pointer .rail__track { cursor: grab; }
.rail__track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.rail__track.is-dragging .card { pointer-events: none; }
@media (max-width: 1023px) { .rail__track { grid-auto-columns: calc((100% - var(--rail-gap)) / 2.15); } }
@media (max-width: 639px) { .rail__track { grid-auto-columns: 84%; } }
.rail__nav { display: flex; gap: .5rem; }
.rail__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); color: var(--green-900);
  display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease-out), opacity .3s;
}
.rail__btn svg { width: 20px; height: 20px; }
.rail__btn:hover:not(:disabled) { background: var(--green-800); color: var(--ivory); border-color: var(--green-800); transform: scale(1.06); }
.rail__btn:disabled { opacity: .35; cursor: default; }
.rail.is-static .rail__nav, .rail__nav[hidden] { visibility: hidden; }

/* Steps: "How it works" timeline (line drawn by js/app.js) */
.steps { position: relative; display: grid; gap: 2.25rem; list-style: none; padding: 0; margin: 0; }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem; } }
.step { position: relative; z-index: 1; padding: 0 0 0 76px; min-height: 56px; }
@media (min-width: 1024px) { .step { padding: 80px 1rem 0 0; } }
.step__num {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1.2rem; color: var(--brass-400);
  background: var(--green-700); border: 1px solid rgba(248, 246, 241, .28);
  transition: background .6s var(--ease), color .6s, border-color .6s, transform .6s var(--ease-out), box-shadow .6s;
}
.step__num.is-on { background: var(--brass); color: var(--green-900); border-color: var(--brass); transform: scale(1.08); box-shadow: 0 0 0 8px rgba(176, 141, 87, .16); }
.step h3 { color: var(--ivory); margin-bottom: .4rem; font-size: 1.25rem; }
.step p { color: rgba(248,246,241,.78); margin: 0; font-size: .95rem; }
.steps__line { position: absolute; left: 0; top: 0; z-index: 0; overflow: visible; pointer-events: none; max-width: none; }
.steps__track { fill: none; stroke: rgba(248, 246, 241, .22); stroke-width: 1.5; stroke-dasharray: 3 7; }
.steps__draw { fill: none; stroke: var(--brass); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }

/* Why cards */
.why { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .why { grid-template-columns: repeat(2, 1fr); } }
.why__item { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; padding: 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .6s var(--ease-out), box-shadow .45s, border-color .45s; }
.why__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-200); }
.why__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; transition: background .4s, color .4s, transform .6s var(--ease-out); }
.why__item:hover .why__icon { background: var(--green-700); color: var(--ivory); transform: rotate(-6deg); }
.why__icon svg { width: 22px; height: 22px; }
.why__item h3 { margin: .1rem 0 .3rem; font-size: 1.2rem; }
.why__item p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* ---------- 8. Bands -------------------------------------------------- */
.band { --wave-fill: var(--green-700); background: var(--green-700); color: var(--ivory); position: relative; }
.band--deep { --wave-fill: var(--green-900); background: var(--green-900); }
.band h2, .band h3 { color: var(--ivory); }
.band .eyebrow { color: var(--brass); }
.band .lede { color: rgba(248,246,241,.8); }
.band--ivory { background: var(--ivory-2); color: var(--ink); }
.band--ivory h2 { color: var(--green-900); }
.band--ivory .eyebrow { color: var(--brass-600); }
.band--ivory .lede { color: var(--ink-2); }
/* organic wave dividers, injected by js/app.js */
.wave { position: absolute; left: 0; width: 100%; height: clamp(22px, 3.6vw, 56px); fill: var(--wave-fill); pointer-events: none; display: block; max-width: none; }
.wave--top { bottom: calc(100% - 1px); }
.wave--bottom { top: calc(100% - 1px); transform: scale(-1, -1); }
.cta-band { padding: clamp(3rem, 7vw, 5.5rem) 0; overflow: clip; }
.cta-band::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(176, 141, 87, .22), rgba(176, 141, 87, 0) 65%);
  animation: blob-b 18s ease-in-out infinite alternate;
}
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; position: relative; }
@media (min-width: 880px) { .cta-band__inner { grid-template-columns: 1fr auto; } }
.cta-band h2 { margin-bottom: .5rem; }
.cta-band p { margin: 0; color: rgba(248,246,241,.8); }
.cta-band .btn-row { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Package list */
.pkg { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.3rem; background: var(--white); transition: transform .6s var(--ease-out), box-shadow .45s; }
.grid > .pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pkg__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .6rem; flex-wrap: wrap; }
.pkg__name { font-family: var(--font-display); font-size: 1.3rem; color: var(--green-900); }
.pkg__value { font-weight: 700; color: var(--brass-700); white-space: nowrap; }
.pkg__value.value-badge { font-size: .9rem; }
.pkg ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .4rem; }
.pkg li { display: flex; gap: .55rem; align-items: start; font-size: .95rem; color: var(--ink-2); }
.pkg li::before { content: "✓"; color: var(--green-600); font-weight: 700; flex: none; }
.band .pkg li::before { color: var(--brass); }

/* ---------- 9. Forms -------------------------------------------------- */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; gap: 1rem; }
@media (min-width: 600px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label { font-weight: 600; font-size: .92rem; }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1px solid var(--line-2); border-radius: 10px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2358564f' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(42, 82, 64, .18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); }
.field__error { font-size: .82rem; color: var(--danger); min-height: 0; display: none; }
.field__error.is-visible { display: block; }
.field__hint { font-size: .82rem; color: var(--ink-3); }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .65rem; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin-top: .15rem; accent-color: var(--green-700); padding: 0; }
.field--check label { font-weight: 500; font-size: .9rem; color: var(--ink-2); }
.field--check .field__error { grid-column: 1 / -1; }
.radio-group { display: grid; gap: .5rem; }
@media (min-width: 600px) { .radio-group--2 { grid-template-columns: 1fr 1fr; } }
.radio-card { display: flex; gap: .7rem; align-items: start; padding: .8rem .9rem; border: 1px solid var(--line-2); border-radius: 10px; background: var(--white); cursor: pointer; min-height: 48px; transition: border-color .3s, background .3s; }
.radio-card:has(input:checked) { border-color: var(--green-700); background: var(--green-50); }
.radio-card input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--green-700); flex: none; }
.radio-card span { font-size: .92rem; }
.radio-card small { display: block; color: var(--ink-3); }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-status { display: none; padding: 1rem 1.1rem; border-radius: 10px; font-size: .95rem; }
.form-status.is-success { display: block; background: var(--success-bg); color: var(--success); border: 1px solid #bfd8c8; }
.form-status.is-error { display: block; background: var(--danger-bg); color: var(--danger); border: 1px solid #ecc8bf; }
.form-status a { color: inherit; font-weight: 700; }
.hp { display: none !important; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }

/* ---------- 10. Accordion ---------------------------------------------- */
.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 0; font-weight: 600; font-size: 1.05rem; color: var(--green-900); min-height: 48px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; font-weight: 400; font-size: 1.3rem; color: var(--green-700); transition: transform .45s var(--ease-out), background .3s;
}
.acc summary:hover::after { background: var(--green-50); }
.acc[open] summary::after { transform: rotate(135deg); background: var(--green-50); }
.acc[open] .acc__body { animation: fade-up .5s var(--ease-out) both; }
.acc summary:focus-visible { outline-offset: -3px; }
.acc__body { padding: 0 0 1.25rem; color: var(--ink-2); max-width: 70ch; }
.acc__body p:last-child { margin-bottom: 0; }
.band .acc { border-color: rgba(248,246,241,.18); }
.band .acc summary { color: var(--ivory); }
.band .acc summary::after { color: var(--ivory); border-color: rgba(248,246,241,.35); }
.band .acc[open] summary::after { background: rgba(255,255,255,.1); }
.band .acc__body { color: rgba(248,246,241,.8); }

/* ---------- 11. Tables ------------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; color: var(--green-900); background: var(--green-50); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.specs th { width: 34%; background: var(--ivory); }
@media (max-width: 479px) { .specs th { white-space: normal; } }

/* ---------- 12. Products page & product detail ------------------------- */
.catalog { display: grid; gap: 2rem; }
@media (min-width: 960px) { .catalog { grid-template-columns: 270px 1fr; align-items: start; } }
.catalog > * { min-width: 0; }
.filters { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
@media (min-width: 960px) { .filters { position: sticky; top: calc(var(--header-h) + 12px); max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; } }
.filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.filters__head h2 { font-size: 1.2rem; margin: 0; }
.filters__toggle { display: none; }
@media (max-width: 959px) {
  .filters__toggle { display: inline-flex; }
  .filters__body { display: none; }
  .filters.is-open .filters__body { display: block; animation: fade-up .45s var(--ease-out) both; }
}
.filter-group { padding: .9rem 0; border-top: 1px solid var(--line); }
.filter-group legend, .filter-group > label.group-label { font-weight: 700; font-size: .9rem; color: var(--green-900); padding: 0; margin-bottom: .5rem; display: block; }
.filter-group fieldset { border: 0; padding: 0; margin: 0; }
.check { display: flex; align-items: center; gap: .55rem; min-height: 40px; font-size: .92rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--green-700); margin: 0; }
.check .count { margin-left: auto; color: var(--ink-3); font-size: .8rem; }
.range { width: 100%; accent-color: var(--green-700); margin: .5rem 0; }
.range-out { display: flex; justify-content: space-between; font-size: .85rem; color: var(--ink-2); }
.range-out strong { color: var(--green-900); }
.filters select { width: 100%; min-height: 44px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 .75rem; background: var(--white); }
.catalog__toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1rem; margin-bottom: 1.25rem; }
.catalog__count { color: var(--ink-2); font-size: .95rem; }
.sort { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; }
.sort select { min-height: 44px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 .75rem; background: var(--white); }
.empty { padding: 3rem 1.5rem; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--ink-2); }
.empty h3 { margin-bottom: .4rem; }

/* product detail */
.product { display: grid; gap: 2rem; }
@media (min-width: 900px) { .product { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; align-items: start; } }
.product > * { min-width: 0; }

/* gallery: crossfading main stage, scrollable thumbnails, swipe, lightbox */
.gallery { display: grid; gap: .85rem; min-width: 0; }
.gallery__main {
  position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); background: var(--ivory-2); touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.gallery__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
.gallery__slide.is-active { opacity: 1; z-index: 1; }
.gallery__slide .stage { height: 100%; aspect-ratio: auto; }
.gallery__slide:not(.is-active) .stage__img { transform: scale(1.04); }
.gallery__slide.is-active .stage__img { transform: none; }
.gallery__slide.is-active .stage--cover .stage__img, .gallery__slide.is-active .stage--scene .stage__img { transform: scale(1.035); }
.gallery__main.is-dragging .gallery__slide.is-active .stage__img { transition: none; }
.gallery__btn {
  position: absolute; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .88); color: var(--green-900); display: grid; place-items: center;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: opacity .35s, transform .45s var(--ease-out), background .3s, color .3s;
}
.gallery__btn svg { width: 20px; height: 20px; }
.gallery__btn:hover { background: var(--green-800); color: var(--ivory); }
.gallery__prev, .gallery__next { top: 50%; margin-top: -22px; }
.gallery__prev { left: .85rem; }
.gallery__next { right: .85rem; }
.gallery__zoom { right: .85rem; top: .85rem; }
@media (hover: hover) {
  .gallery__prev, .gallery__next { opacity: 0; }
  .gallery__prev { transform: translateX(-8px); }
  .gallery__next { transform: translateX(8px); }
  .gallery__main:hover .gallery__prev, .gallery__main:hover .gallery__next,
  .gallery__btn:focus-visible { opacity: 1; transform: none; }
}
.gallery__count {
  position: absolute; z-index: 3; left: .85rem; bottom: .85rem; font-size: .78rem; font-weight: 700; color: var(--green-900);
  background: rgba(255, 255, 255, .88); padding: .3rem .65rem; border-radius: 999px; font-variant-numeric: tabular-nums;
}
.gallery__thumbs { display: flex; gap: .6rem; overflow-x: auto; scroll-snap-type: x proximity; padding: 3px 3px 8px; margin: -3px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.gallery__thumb {
  flex: 0 0 clamp(78px, 18%, 104px); padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: none;
  scroll-snap-align: start; opacity: .62; transition: opacity .3s, border-color .3s, transform .45s var(--ease-out);
}
.gallery__thumb:hover { opacity: 1; transform: translateY(-2px); }
.gallery__thumb.is-active { border-color: var(--green-700); opacity: 1; }
.gallery__thumb .stage__img { padding: 6%; }
.gallery__note { font-size: .8rem; color: var(--ink-3); margin: 0; }

.buybox { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 1.1rem; }
.buybox > * { animation: fade-up .8s var(--ease-out) both; }
.buybox > :nth-child(2) { animation-delay: .08s; }
.buybox > :nth-child(3) { animation-delay: .16s; }
.buybox > :nth-child(4) { animation-delay: .24s; }
.buybox > :nth-child(5) { animation-delay: .32s; }
.buybox__brand { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.buybox h1 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: .2rem; }
.buybox__meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.price-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: .8rem; }
.price-block .price { font-size: 2.3rem; }
.price-block__line { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.price-block__market { font-size: .95rem; color: var(--ink-3); }
.price-block__save { color: var(--brass-700); font-weight: 700; font-size: .95rem; }
.price-block__pkg { font-size: .95rem; color: var(--ink-2); }
.price-block__pkg strong { color: var(--green-900); }
.price-block__pkg .value-badge strong { color: var(--brass-700); }
.price-block__pkg ul { margin: .6rem 0 0; padding: 0; list-style: none; display: grid; gap: .3rem; }
.price-block__pkg li { display: flex; gap: .5rem; font-size: .9rem; }
.price-block__pkg li::before { content: "✓"; color: var(--green-600); font-weight: 700; }
.price-block__match { font-size: .82rem; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: .7rem; }
.buybox__actions { display: grid; gap: .6rem; }
.buybox__actions .btn { width: 100%; white-space: normal; text-align: center; padding-block: .6rem; }
.detail-section { padding-top: clamp(2rem, 5vw, 3.5rem); }
.detail-section h2 { font-size: 1.7rem; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
@media (min-width: 640px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-list li { display: flex; gap: .6rem; align-items: start; padding: .7rem .9rem; background: var(--white); border: 1px solid var(--line); border-radius: 10px; font-size: .95rem; transition: border-color .3s, transform .5s var(--ease-out); }
.feature-list li:hover { border-color: var(--green-200); transform: translateX(3px); }
.feature-list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); margin-top: .5rem; }
.bestfor { display: flex; flex-wrap: wrap; gap: .5rem; }
.bestfor span { padding: .5rem .9rem; border-radius: 999px; background: var(--green-50); border: 1px solid var(--green-100); color: var(--green-800); font-size: .9rem; font-weight: 600; }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; gap: .75rem; align-items: center;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom)); background: rgba(248,246,241,.94); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  animation: slide-up .6s var(--ease-out) .4s both;
}
@keyframes slide-up { from { transform: translate3d(0, 100%, 0); } to { transform: none; } }
.sticky-cta .price { font-size: 1.3rem; }
.sticky-cta .btn { flex: 1; }
@media (max-width: 899px) {
  .sticky-cta { display: flex; }
  body.has-sticky-cta { padding-bottom: var(--sticky-h, 80px); }
  body.has-sticky-cta .compare-bar { bottom: var(--sticky-h, 76px); }
  .buybox { position: static; }
}

/* ---------- 13. Compare ------------------------------------------------ */
.compare-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: var(--green-900); color: var(--ivory);
  transform: translateY(110%); visibility: hidden;
  transition: transform .5s var(--ease-out), visibility 0s linear .5s; box-shadow: 0 -10px 30px rgba(0,0,0,.2);
}
.compare-bar.is-visible { transform: none; visibility: visible; transition-delay: 0s; }
.compare-bar__inner { display: flex; align-items: center; gap: .75rem 1rem; flex-wrap: wrap; padding: .75rem 0 calc(.75rem + env(safe-area-inset-bottom)); }
.compare-bar__label { font-weight: 700; font-size: .9rem; margin-right: .25rem; }
.compare-bar__chips { display: flex; gap: .5rem; flex-wrap: wrap; flex: 1; min-width: 0; }
.compare-bar__chip { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.1); border-radius: 999px; padding: .3rem .4rem .3rem .8rem; font-size: .85rem; max-width: 100%; }
.compare-bar__chip button { background: transparent; border: 0; color: var(--ivory); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; line-height: 1; flex: none; }
.compare-bar__chip button:hover { background: rgba(255,255,255,.18); }
.compare-bar__actions { display: flex; gap: .5rem; }
.compare-table th:first-child { position: sticky; left: 0; background: var(--green-50); z-index: 1; min-width: 140px; }
.compare-table td { min-width: 200px; }
.compare-table td.is-best { background: var(--brass-100); }
.compare-table .cmp-head { display: grid; gap: .5rem; }
.compare-table .cmp-head .stage { border-radius: 10px; }
.compare-table .cmp-head .btn { width: 100%; }
.compare-table .cmp-name { font-family: var(--font-display); font-size: 1.2rem; margin: 0; }
.compare-table .cmp-remove { font-size: .8rem; color: var(--danger); background: none; border: 0; padding: 0; text-align: left; min-height: 32px; }
.compare-table ul { margin: 0; padding-left: 1.1em; }
.compare-table ul li { font-size: .9rem; }

/* ---------- 14. Finder ------------------------------------------------- */
.finder { max-width: 760px; }
.finder__progress { height: 6px; background: var(--green-100); border-radius: 999px; overflow: hidden; margin-bottom: 1.5rem; }
.finder__progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--green-600), var(--brass)); transition: width .5s var(--ease-out); }
.finder__step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); animation: fade-up .55s var(--ease-out) both; }
.finder__step[hidden] { display: none; }
.finder__q { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: .4rem; }
.finder__step h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.finder__step h2:focus { outline: none; }
.finder__options { display: grid; gap: .6rem; }
@media (min-width: 600px) { .finder__options { grid-template-columns: 1fr 1fr; } }
.finder__nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.25rem; }
.finder__results { display: grid; gap: 1.25rem; }
.result { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: 1rem; position: relative; }
@media (min-width: 640px) { .result { grid-template-columns: 200px 1fr; } }
.result > * { min-width: 0; }
.result__media { border-radius: 10px; overflow: hidden; align-self: start; }
.result__rank { position: absolute; left: -1px; top: -1px; z-index: 2; background: var(--green-800); color: var(--ivory); padding: .35rem .7rem; border-radius: var(--radius) 0 10px 0; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.result__rank--top { background: var(--brass-600); }
.result h3 { margin: .2rem 0; }
.result__reasons { margin: .5rem 0 .75rem; padding: 0; list-style: none; display: grid; gap: .3rem; }
.result__reasons li { display: flex; gap: .5rem; font-size: .92rem; color: var(--ink-2); }
.result__reasons li::before { content: "✓"; color: var(--green-600); font-weight: 700; }
.result__reasons li.caveat::before { content: "–"; color: var(--brass-700); }
.result__actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---------- 15. Modal & lightbox --------------------------------------- */
.modal { border: 0; padding: 0; border-radius: 18px; max-width: min(640px, calc(100% - 32px)); width: 100%; background: var(--ivory); color: var(--ink); box-shadow: var(--shadow-md); }
.modal[open] { animation: modal-in .45s var(--ease-out) both; }
@keyframes modal-in { from { opacity: 0; transform: translate3d(0, 18px, 0) scale(.98); } to { opacity: 1; transform: none; } }
.modal::backdrop { background: rgba(18, 36, 27, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal__inner { padding: clamp(1.25rem, 3vw, 2rem); max-height: 90vh; overflow-y: auto; }
.modal__head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 1rem; }
.modal__head h2 { font-size: 1.7rem; margin: 0; }
.modal__head p { margin: .3rem 0 0; color: var(--ink-2); font-size: .95rem; }
.modal__close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--white); display: grid; place-items: center; flex: none; font-size: 1.3rem; line-height: 1; transition: transform .45s var(--ease-out), background .3s; }
.modal__close:hover { background: var(--green-50); transform: rotate(90deg); }

.lightbox {
  position: fixed; inset: 0; z-index: 160; display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(12, 24, 18, .95); color: var(--ivory);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem var(--gutter); }
.lightbox__title { font-family: var(--font-display); font-size: 1.05rem; margin: 0; color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lightbox__tools { display: flex; gap: .5rem; flex: none; }
.lightbox__viewport { position: relative; overflow: hidden; touch-action: none; display: grid; place-items: center; }
.lightbox__img {
  max-width: min(92vw, 1400px); max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 14px; background: #fff;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(var(--z, 1));
  transition: transform .45s var(--ease-out), opacity .3s; cursor: zoom-in; user-select: none; -webkit-user-drag: none;
}
.lightbox.is-zoomed .lightbox__img { cursor: grab; }
.lightbox.is-panning .lightbox__img { cursor: grabbing; transition: none; }
.lightbox.is-switching .lightbox__img { opacity: 0; }
.lightbox__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(248, 246, 241, .3); background: rgba(255, 255, 255, .06);
  color: var(--ivory); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .45s var(--ease-out);
}
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .16); border-color: var(--ivory); }
.lightbox__btn:disabled { opacity: .35; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; margin-top: -24px; z-index: 2; }
.lightbox__prev { left: var(--gutter); }
.lightbox__next { right: var(--gutter); }
.lightbox__foot { text-align: center; padding: .6rem var(--gutter) calc(.9rem + env(safe-area-inset-bottom)); font-size: .82rem; color: rgba(248, 246, 241, .7); }

/* ---------- 16. Footer ------------------------------------------------- */
.site-footer { background: var(--green-900); color: rgba(248,246,241,.78); margin-top: auto; }
.footer__grid { display: grid; gap: 2rem; padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer__brand .logo { color: var(--ivory); margin-bottom: .75rem; }
.footer__brand .logo__word em { color: var(--brass); }
.footer__brand p { font-size: .95rem; max-width: 36ch; }
.footer__col h3 { color: var(--ivory); font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: .9rem; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer__col a { color: rgba(248,246,241,.78); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; transition: color .3s, transform .4s var(--ease-out); }
.footer__col a:hover { color: var(--white); text-decoration: underline; }
.footer__col li a:hover { transform: translateX(3px); }
.footer__col address { font-style: normal; font-size: .95rem; line-height: 1.7; overflow-wrap: anywhere; }
.footer__bottom { border-top: 1px solid rgba(248,246,241,.14); padding: 1.25rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; font-size: .85rem; }
.footer__bottom a { color: rgba(248,246,241,.78); }
.footer__bottom ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-main { display: block; }

/* ---------- 17. Motion ------------------------------------------------- */
/* Reveal: hidden only after js/app.js marks the page .reveal-ready, and only
   for elements that were below the fold at that moment. */
.reveal-ready [data-reveal] {
  opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity .8s var(--ease) var(--rd, 0ms), transform 1s var(--ease-out) var(--rd, 0ms);
}
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

/* thin brass scroll-progress bar */
.scroll-progress {
  position: fixed; left: 0; top: 0; right: 0; height: 2px; z-index: 130; pointer-events: none;
  background: linear-gradient(90deg, var(--brass-600), var(--brass), var(--brass-400));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* cursor follower (desktop fine pointer only, created by js/app.js) */
.cursor-dot { position: fixed; left: -5px; top: -5px; width: 10px; height: 10px; z-index: 170; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor-dot.is-on { opacity: 1; }
.cursor-dot::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--brass);
  transition: transform .4s var(--ease-out), opacity .3s;
}
.cursor-dot.is-hot::before { transform: scale(3.4); opacity: .28; }
.cursor-dot.is-down::before { transform: scale(.7); opacity: .9; }
body.lightbox-open .cursor-dot { opacity: 0; }

/* one-shot entrance animations are ended at their final state ~2.4s after
   load (js/app.js adds .anim-settled), so a throttled tab, a print or a
   screenshot never catches content half-faded */
html.anim-settled body,
.anim-settled .hero h1 .w > span,
.anim-settled .hero__intro > *,
.anim-settled .hero__visual,
.anim-settled .page-hero > .container > *,
.anim-settled .buybox > *,
.anim-settled .sticky-cta { animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
  .card:hover, .tier-card:hover, .btn:hover, .why__item:hover, .grid > .pkg:hover { transform: none; }
  .aura__blob, .hero__float, .hero__plinth::after, .value-badge::after, .cta-band::before { animation: none !important; }
  .marquee__track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee__group { flex-wrap: wrap; justify-content: center; row-gap: 1rem; }
  .cursor-dot, .scroll-progress { display: none; }
}

/* ---------- 18. Utilities ---------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0 !important; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.note {
  background: var(--brass-100); border-left: 4px solid var(--brass); padding: .9rem 1.1rem; border-radius: 0 10px 10px 0; color: var(--ink-2); font-size: .95rem;
}
.note--green { background: var(--green-50); border-left-color: var(--green-600); }
.inline-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.info-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; transition: transform .6s var(--ease-out), box-shadow .45s; }
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.info-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.info-card p, .info-card address { margin: 0; color: var(--ink-2); font-style: normal; font-size: .95rem; line-height: 1.7; }
.info-card a { word-break: break-word; }
.err-page { text-align: left; padding: clamp(3rem, 8vw, 7rem) 0; }
.err-page .big { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 11rem); line-height: .9; color: var(--green-200); margin: 0 0 1rem; }
