/* ==========================================================================
   Medical Shoppe — design v3 "Calm clinic"
   Warm ivory · deep medical teal · editorial serif · photography-led
   ========================================================================== */
:root {
  --bg: #f7f4ee;
  --bg-2: #efebe3;
  --surface: #ffffff;
  --ink: #12292a;
  --ink-2: #3b4f50;
  --ink-3: #6b7b7a;
  --line: rgba(18, 41, 42, .12);
  --line-2: rgba(18, 41, 42, .22);
  --brand: #0e5e5a;
  --brand-600: #0b4c49;
  --brand-900: #0c2627;
  --brand-50: #e4efec;
  --brand-100: #cfe3de;
  --stone: #ece7df;
  --gold: #b8956a;
  --ok: #1f9d63;
  --warn: #d9962b;
  --bad: #d4513f;
  --radius: 14px;
  --radius-lg: 24px;
  --gutter: clamp(20px, 3.4vw, 56px);
  --maxw: 1440px;
  --header-h: 78px;
  --f-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs: 17px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 18px 50px -24px rgba(12, 38, 39, .35);
}
html.text-lg { --fs: 19.5px; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-size: var(--fs); background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font-family: var(--f-sans); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 400; color: var(--ink); margin: 0 0 .45em; line-height: 1.05; letter-spacing: -.015em; font-variation-settings: "opsz" 120; }
h1 { font-size: clamp(2.7rem, 5.6vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 3.9vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 1.7vw, 1.6rem); line-height: 1.15; font-weight: 500; letter-spacing: -.005em; font-variation-settings: "opsz" 36; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--brand); }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 600; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-sans); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.6; }
.script { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; line-height: 1; color: inherit; font-variation-settings: "opsz" 144; }
.tcm-line { font-family: "Cormorant Garamond", "Fraunces", Georgia, serif; font-style: italic; font-weight: 600; font-size: 1.22em; line-height: 1.35; letter-spacing: .005em; color: var(--brand); }
.hero .tcm-line, .panel .tcm-line { color: #fff; }
.footer .tcm-line { color: #e2cfa5; }
.label { display: inline-flex; align-items: center; gap: .7rem; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 0 0 1.3rem; }
.label::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.lede { font-size: clamp(1.12rem, 1.45vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 48ch; }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.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 { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Icons ---------- */
.i { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -0.2em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

/* ---------- Buttons & links ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: .8rem 1.6rem; border: 1.5px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink); font-family: var(--f-sans); font-size: .95rem; font-weight: 600; letter-spacing: 0; text-decoration: none; white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.pill:hover { border-color: var(--brand); color: var(--brand); }
.pill--solid { background: var(--brand); border-color: var(--brand); color: #fff; }
.pill--solid:hover { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.pill--block { width: 100%; }
.pill--sm { min-height: 40px; padding: .5rem 1.05rem; font-size: .86rem; }
.pill .i { width: 1.2em; height: 1.2em; }
.pill[disabled] { opacity: .45; pointer-events: none; }
/* on photographs */
.hero .pill, .phero .pill, .panel:not(.panel--plain) .pill { border-color: rgba(255, 255, 255, .75); color: #fff; }
.hero .pill:hover, .phero .pill:hover, .panel:not(.panel--plain) .pill:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero .pill--solid, .phero .pill--solid, .panel:not(.panel--plain) .pill--solid { background: #fff; color: var(--ink); border-color: #fff; }
.hero .pill--solid:hover, .phero .pill--solid:hover, .panel:not(.panel--plain) .pill--solid:hover { background: var(--brand-50); }
.link { display: inline-flex; align-items: center; gap: .5em; font-size: .95rem; font-weight: 600; color: var(--brand); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; transition: text-underline-offset .3s var(--ease); }
.link:hover { text-underline-offset: 9px; color: var(--brand-600); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* ---------- Status ---------- */
.status { display: inline-flex; align-items: center; gap: .55rem; font-size: .9rem; font-weight: 500; color: var(--ink); line-height: 1.4; }
.status span:nth-child(2) { font-weight: 600; }
.status span:last-child { color: var(--ink-3); }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); flex: none; position: relative; }
.status--open .status__dot { background: var(--ok); }
.status--open .status__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--ok); opacity: .55; animation: ping 2.2s infinite; }
.status--soon .status__dot { background: var(--warn); }
.status--closed .status__dot { background: var(--bad); }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); color: var(--ink); background: rgba(247, 244, 238, .92); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line); transition: background-color .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease); }
.has-hero .header:not(.is-solid) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; color: #fff; }
.header__inner { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; color: inherit; text-decoration: none; font-family: var(--f-serif); font-size: 1.45rem; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; line-height: 1; font-variation-settings: "opsz" 48; }
.wordmark__mark { width: 34px; height: 34px; flex: none; color: var(--brand); }
.wordmark__mark .wordmark__cross { stroke: #fff; }
.has-hero .header:not(.is-solid) .wordmark__mark { color: #fff; }
.has-hero .header:not(.is-solid) .wordmark__mark .wordmark__cross { stroke: var(--brand-900); }
.nav { justify-self: center; display: flex; align-items: center; gap: 6px; }
.nav a { padding: .55rem .95rem; border-radius: 999px; color: inherit; text-decoration: none; font-size: .95rem; font-weight: 500; opacity: .86; transition: opacity .2s, background-color .2s; }
.nav a:hover { opacity: 1; background: rgba(14, 94, 90, .08); }
.has-hero .header:not(.is-solid) .nav a:hover { background: rgba(255, 255, 255, .14); }
.nav a[aria-current] { opacity: 1; font-weight: 600; box-shadow: inset 0 -2px 0 currentColor; border-radius: 0; }
.header__right { justify-self: end; display: flex; align-items: center; gap: 10px; }
.text-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); color: inherit; font-family: var(--f-serif); font-size: 1rem; font-weight: 500; line-height: 1; transition: background-color .3s, color .3s, border-color .3s; }
.text-btn:hover { border-color: var(--brand); color: var(--brand); }
.has-hero .header:not(.is-solid) .text-btn { border-color: rgba(255, 255, 255, .5); }
.has-hero .header:not(.is-solid) .text-btn:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.text-btn[aria-pressed="true"], .has-hero .header:not(.is-solid) .text-btn[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.list-btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: 0 .55rem 0 1.05rem; border-radius: 999px; background: var(--brand); color: #fff; font-size: .92rem; font-weight: 600; transition: background-color .3s; }
.list-btn:hover { background: var(--brand-600); }
.has-hero .header:not(.is-solid) .list-btn { background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .4); }
.list-btn .i { width: 19px; height: 19px; }
.list-btn__count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: #fff; color: var(--brand); font-size: .8rem; font-weight: 700; }
.list-btn__count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 35% { transform: scale(1.3); } }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); color: inherit; place-items: center; }
.has-hero .header:not(.is-solid) .menu-btn { border-color: rgba(255, 255, 255, .5); }
.menu-btn__bars { position: relative; width: 20px; height: 10px; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 1.7px; border-radius: 2px; background: currentColor; }
.menu-btn__bars::before { top: 0; }
.menu-btn__bars::after { bottom: 0; }
body:not(.has-hero) main { padding-top: var(--header-h); }

/* ---------- Menu (mobile) ---------- */
.menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: grid; grid-template-rows: var(--header-h) 1fr auto; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; overflow-y: auto; color: var(--ink); }
body.menu-open { overflow: hidden; }
body.menu-open .menu { opacity: 1; visibility: visible; }
.menu__top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.menu__top .wordmark { font-size: 1.3rem; }
.menu__close { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-weight: 600; color: var(--ink); order: 2; }
.menu__close .i { width: 22px; height: 22px; }
.menu__body { display: grid; gap: 36px; align-content: start; padding-top: 32px; padding-bottom: 32px; }
.menu__nav ol { list-style: none; margin: 0; padding: 0; }
.menu__nav a { display: flex; align-items: baseline; gap: 1rem; padding: .32em 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--f-serif); font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.1; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.menu__nav a .mono { color: var(--brand); font-size: .7rem; }
.menu__nav a[aria-current="page"] { color: var(--brand); font-style: italic; }
body.menu-open .menu__nav a { opacity: 1; transform: none; }
body.menu-open .menu__nav li:nth-child(2) a { transition-delay: .04s; }
body.menu-open .menu__nav li:nth-child(3) a { transition-delay: .08s; }
body.menu-open .menu__nav li:nth-child(4) a { transition-delay: .12s; }
body.menu-open .menu__nav li:nth-child(5) a { transition-delay: .16s; }
.menu__aside { display: grid; gap: 24px; }
.menu__aside p { margin: 0; }
.menu__aside .label { margin-bottom: .5rem; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid var(--line); color: var(--ink-3); }
.text-toggle { display: inline-flex; align-items: center; gap: .7rem; font-weight: 600; color: var(--ink); }
.text-toggle__box { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1.5px solid var(--line-2); border-radius: 50%; font-family: var(--f-serif); font-size: 1rem; }
.text-toggle[aria-pressed="true"] .text-toggle__box { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 660px; max-height: 1100px; overflow: hidden; background: var(--brand-900); isolation: isolate; color: #fff; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.06); animation: heroZoom 3.2s var(--ease) .1s forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 28, 29, .45) 0%, rgba(8, 28, 29, 0) 22%, rgba(8, 28, 29, 0) 55%, rgba(8, 28, 29, .7) 100%), linear-gradient(270deg, rgba(8, 28, 29, .55) 0%, rgba(8, 28, 29, .18) 45%, rgba(8, 28, 29, 0) 62%); }
.hero__content { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-44%); width: min(600px, 46vw); }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1.4rem; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .92); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.hero__title { color: #fff; font-size: clamp(3rem, 6vw, 5.8rem); line-height: .98; margin: 0 0 .35em; }
.hero__title em { color: #fff; }
.hero__sub { font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: rgba(255, 255, 255, .92); max-width: 42ch; margin: 0 0 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.hero__foot .status, .hero__foot .status span:last-child { color: #fff; }
.hero__status { display: inline-flex; padding: .55rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .28); }
.hero__addr { color: rgba(255, 255, 255, .88); margin: .7rem 0 0 .2rem; font-size: .92rem; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.scroll-cue__line { width: 1px; height: 44px; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* page hero (inner pages) */
.phero { position: relative; min-height: 74svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: var(--brand-900); color: #fff; }
.phero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.05); animation: heroZoom 3s var(--ease) .1s forwards; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 28, 29, .5) 0%, rgba(8, 28, 29, 0) 26%, rgba(8, 28, 29, .1) 50%, rgba(8, 28, 29, .8) 100%); }
.phero__content { width: 100%; padding-bottom: clamp(40px, 6vw, 76px); }
.phero h1 { color: #fff; font-size: clamp(3rem, 7vw, 6.6rem); margin: 0; }
.phero .script { display: block; font-size: clamp(1.6rem, 2.6vw, 2.4rem); color: rgba(255, 255, 255, .92); margin: 0 0 .35em; }
.phero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 40px; }
.phero__row p { color: rgba(255, 255, 255, .92); max-width: 44ch; margin: 0; font-size: 1.08rem; }
.phero .status, .phero .status span:last-child { color: #fff; }
.phero .mono { color: rgba(255, 255, 255, .9); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 1.4rem; padding: 0; font-size: .82rem; font-weight: 500; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line-2); }
.phero .crumbs { color: rgba(255, 255, 255, .75); margin-bottom: clamp(1.4rem, 2.6vw, 2.2rem); }
.phero .crumbs a { color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 150px) 0; }
.section--tight { padding: clamp(56px, 7vw, 100px) 0; }
.section--flush-top { padding-top: 0; }
.section--panel { background: var(--bg-2); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: clamp(30px, 4vw, 52px); }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; max-width: 46ch; }

/* intro tiles */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 34px); }
.tile { display: block; color: var(--ink); text-decoration: none; }
.tile__img { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; background: var(--stone); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.04); }
.tile h3 { font-size: clamp(1.6rem, 2.1vw, 2.1rem); margin: 24px 0 8px; }
.tile p { color: var(--ink-2); margin: 0 0 14px; max-width: 40ch; }
.tile .link { font-size: .92rem; }

/* statement */
.statement { font-family: var(--f-serif); font-weight: 400; color: var(--ink); font-size: clamp(1.9rem, 3.6vw, 3.5rem); line-height: 1.12; letter-spacing: -.015em; max-width: 26ch; margin: 0; font-variation-settings: "opsz" 120; }
.statement em { font-style: italic; color: var(--brand); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: clamp(40px, 5vw, 70px); }
.fact { padding: 26px 24px 0 0; }
.fact + .fact { border-left: 1px solid var(--line); padding-left: 24px; }
.fact__val { font-family: var(--f-serif); font-size: clamp(2.6rem, 4.4vw, 4.2rem); line-height: 1; color: var(--brand); letter-spacing: -.02em; }
.fact .mono { color: var(--ink-3); margin-top: .7rem; }

/* image panel */
.panel { position: relative; display: grid; place-items: end center; min-height: clamp(480px, 74vh, 820px); border-radius: var(--radius-lg); overflow: hidden; text-align: center; isolation: isolate; color: #fff; background: var(--brand-900); }
.panel > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.05); transition: transform 1.8s var(--ease); }
.panel.is-in > img { transform: scale(1); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 28, 29, .12) 0%, rgba(8, 28, 29, 0) 32%, rgba(8, 28, 29, .28) 58%, rgba(8, 28, 29, .78) 100%); }
.panel__content { padding: 48px 24px clamp(44px, 5vw, 64px); max-width: 820px; }
.panel h2 { color: #fff; }
.panel .script { display: block; font-size: clamp(3.4rem, 7vw, 6.4rem); color: #fff; margin-bottom: .12em; }
.panel .mono { color: rgba(255, 255, 255, .92); }
.panel .btn-row { justify-content: center; }
.panel--wide { min-height: clamp(420px, 60vh, 680px); }
.panel--plain { min-height: 0; place-items: center; background: var(--brand-50); color: var(--ink); border: 1px solid var(--brand-100); }
.panel--plain::after { display: none; }
.panel--plain .panel__content { padding: clamp(60px, 8vw, 104px) 24px; }
.panel--plain .script { color: var(--brand); }
.panel--plain .mono { color: var(--ink-2); }

/* spec numbers */
.specs-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 28px; }
.spec { padding: 26px 20px 4px 0; }
.spec + .spec { padding-left: 22px; border-left: 1px solid var(--line); }
.spec__val { font-family: var(--f-serif); font-size: clamp(2.2rem, 3.8vw, 3.6rem); line-height: 1; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.spec__val small { font-family: var(--f-sans); font-size: .32em; font-weight: 600; letter-spacing: .08em; margin-left: .3em; color: var(--brand); vertical-align: .55em; }
.spec__lab { margin: 12px 0 0; color: var(--ink-3); }

/* collection rail */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(262px, 26vw, 400px); gap: clamp(12px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 0 max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 10px; scroll-padding: 0 max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-card { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; scroll-snap-align: start; color: #fff; text-decoration: none; isolation: isolate; background: var(--stone); }
.rail-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.rail-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 28, 29, 0) 45%, rgba(8, 28, 29, .78) 100%); }
.rail-card:hover img { transform: scale(1.05); }
.rail-card__top { position: absolute; left: 22px; right: 22px; bottom: 58px; }
.rail-card__top .mono { display: inline-block; color: rgba(255, 255, 255, .9); font-size: .66rem; }
.rail-card__name { display: block; font-family: var(--f-serif); font-size: clamp(1.7rem, 2.3vw, 2.3rem); line-height: 1.02; letter-spacing: -.015em; margin-top: 6px; }
.rail-card__foot { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rail-card__foot .mono { color: rgba(255, 255, 255, .85); font-size: .66rem; }
.rail-card__foot .mono:last-child { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.rail-ctrl { display: flex; align-items: center; gap: 12px; }
.round-btn { width: 50px; height: 50px; border: 1.5px solid var(--line-2); border-radius: 50%; display: inline-grid; place-items: center; color: var(--ink); transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s; }
.round-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.round-btn[disabled] { opacity: .3; pointer-events: none; }
.round-btn .i { width: 20px; height: 20px; }
.rail-count { min-width: 64px; text-align: center; color: var(--ink-3); }

/* product grid & card */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 26px); }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__media { position: relative; aspect-ratio: 1; display: grid; place-items: center; background: var(--stone); overflow: hidden; }
.card__media img { width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__badge { position: absolute; top: 12px; left: 12px; padding: .3rem .65rem; border-radius: 999px; background: #fff; color: var(--brand); font-size: .7rem; font-weight: 700; letter-spacing: .04em; box-shadow: 0 2px 8px rgba(12, 38, 39, .08); }
.card__body { display: flex; flex-direction: column; gap: 5px; padding: 16px 18px 18px; flex: 1; }
.card__cat { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0; }
.card__title { font-family: var(--f-sans); font-weight: 600; font-size: 1.04rem; line-height: 1.32; letter-spacing: -.005em; margin: 0; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__meta { font-size: .82rem; color: var(--ink-3); margin: 0; }
.card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card__foot .add { position: relative; z-index: 2; }
.price { font-family: var(--f-serif); font-size: 1.35rem; line-height: 1; color: var(--ink); }
.price small { display: block; margin-top: 5px; font-family: var(--f-sans); font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.price--ask { font-size: .9rem; font-weight: 600; color: var(--brand); }
.card__foot .price { flex: 1 1 0; min-width: 0; }
.price small.price__note { display: block; margin-top: 4px; font-size: .72rem; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.35; color: var(--ink-3); white-space: normal; }
.pd__price-note { flex-basis: 100%; margin: 0; font-size: .9rem; color: var(--ink-2); }
.spec__note { margin: 14px 0 0; font-size: .86rem; color: var(--ink-3); text-align: right; }
.add { width: 42px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 50%; display: inline-grid; place-items: center; color: var(--ink); text-decoration: none; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s; }
.add:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.add .i { width: 18px; height: 18px; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 104px); align-items: center; }
.split--rev .split__img { order: 2; }
.split__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--stone); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { padding: 28px 26px 6px 0; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--line); }
.step__n { font-family: var(--f-serif) !important; font-style: italic; font-size: 1.5rem !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--brand); }
.step h3 { margin: 16px 0 10px; }
.step p { margin: 0; }
.steps--stack { grid-template-columns: 1fr; }
.steps--stack .step { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; }
.steps--stack .step + .step { padding-left: 0; border-left: 0; }
.steps--stack .step h3 { margin: 0 0 6px; }
.steps--stack .step__n { padding-top: .1rem; }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 80px); align-items: stretch; }
.visit--even { grid-template-columns: 1fr 1fr; align-items: start; }
.addr { font-family: var(--f-serif); font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1.1; color: var(--ink); margin: 0 0 1.4rem; }
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; margin: 1.2rem 0 0; }
.hours th, .hours td { padding: .9rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; color: var(--ink-2); }
.hours tr:first-child th, .hours tr:first-child td { border-top: 1px solid var(--line); }
.hours td { text-align: right; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.hours tr.is-closed td { color: var(--ink-3); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--brand); font-weight: 600; }
.hours tr.is-today th::after { content: "Today"; margin-left: .7rem; padding: .16rem .55rem; border-radius: 999px; background: var(--brand); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }
.note { display: flex; gap: .8rem; align-items: flex-start; margin: 1.3rem 0 0; padding: .9rem 1rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }
.note .i { margin-top: .2rem; color: var(--brand); }
.map { position: relative; min-height: 480px; border-radius: var(--radius-lg); overflow: hidden; background: var(--stone); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.55) contrast(1.02); }
.holidays { list-style: none; margin: 0; padding: 0; }
.holidays li { display: flex; justify-content: space-between; gap: 16px; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.holidays li:first-child { border-top: 1px solid var(--line); }
.holidays li span:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.holidays li span:last-child { color: var(--ink-2); text-align: right; }

/* quote */
.quote { text-align: center; padding: clamp(90px, 12vw, 170px) 0; }
.quote .script { display: block; font-size: clamp(2.8rem, 6.4vw, 6.2rem); line-height: 1.05; color: var(--brand); max-width: 16ch; margin: 0 auto .6em; }
.quote .mono { color: var(--ink-3); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--f-serif); font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.25; color: var(--ink); font-variation-settings: "opsz" 36; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line-2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e5e5a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .4s var(--ease), background-color .3s, border-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--brand-50); border-color: var(--brand-100); }
.faq__a { padding: 0 0 26px; max-width: 72ch; }
.faq__a p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: clamp(56px, 7vw, 88px); }

/* catalogue */
.page-head { padding: clamp(40px, 6vw, 88px) 0 clamp(26px, 3.4vw, 40px); }
.page-head h1 { font-size: clamp(3rem, 7.6vw, 7rem); margin: 0; }
.page-head__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 40px; }
.page-head__row p { margin: 0; max-width: 46ch; font-size: 1.06rem; }
.cat-tabs { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; padding: 8px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 14px; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab { flex: none; width: 122px; text-align: left; color: var(--ink-2); }
.cat-tab__img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--stone); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .3s var(--ease); }
.cat-tab__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.55); transition: filter .5s var(--ease), transform .8s var(--ease); }
.cat-tab:hover .cat-tab__img img, .cat-tab.is-active .cat-tab__img img { filter: none; transform: scale(1.04); }
.cat-tab.is-active .cat-tab__img { outline-color: var(--brand); }
.cat-tab__name { display: block; margin-top: 10px; font-size: .8rem; font-weight: 600; line-height: 1.35; }
.cat-tab.is-active .cat-tab__name { color: var(--brand); }
.cat-tab__all { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--f-serif); font-size: 2.4rem; color: #fff; background: linear-gradient(160deg, var(--brand) 0%, var(--brand-900) 100%); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 28px 0 clamp(26px, 3.6vw, 44px); }
.search { position: relative; flex: 1 1 320px; max-width: 520px; }
.search .i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-3); width: 20px; height: 20px; }
.search input { width: 100%; height: 50px; padding: 0 1rem 0 46px; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 999px; color: var(--ink); font-size: 1rem; transition: border-color .3s, box-shadow .3s; }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14, 94, 90, .12); }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.toggle { min-height: 42px; padding: .45rem 1rem; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: .88rem; font-weight: 600; transition: .25s var(--ease); }
.toggle:hover { border-color: var(--brand); color: var(--brand); }
.toggle[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.select { min-height: 42px; padding: .45rem 2.4rem .45rem 1rem; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312292a' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .9rem center / 15px no-repeat; color: var(--ink); font-size: .88rem; font-weight: 600; -webkit-appearance: none; appearance: none; }
.result-count { color: var(--ink-3); margin: 0 0 22px; }
.result-count a { color: var(--brand); }
.empty { grid-column: 1 / -1; padding: 70px 20px; text-align: center; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius-lg); }
.empty h3 { margin-bottom: .5rem; }
.disclaimer { margin-top: 44px; color: var(--ink-3); font-size: .9rem; max-width: 80ch; }

/* product detail */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5.5vw, 92px); align-items: start; padding-top: 28px; }
.pd__media { position: sticky; top: calc(var(--header-h) + 24px); }
.pd__panel { aspect-ratio: 1; display: grid; place-items: center; background: var(--stone); border-radius: var(--radius-lg); overflow: hidden; }
.pd__panel img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.pd__note { margin: 12px 0 0; color: var(--ink-3); text-align: center; font-weight: 500 !important; letter-spacing: .06em !important; }
.pd__info h1 { font-size: clamp(2.3rem, 4vw, 3.8rem); margin: .25em 0 .3em; }
.pd__kicker { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-3); }
.pd__kicker a { color: var(--brand); text-decoration: none; }
.pd__kicker a:hover { text-decoration: underline; }
.pd__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.2rem; }
.tag { display: inline-flex; align-items: center; padding: .34rem .8rem; border: 1.5px solid var(--line-2); border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--ink-2); background: var(--surface); }
.tag--solid { background: var(--brand); color: #fff; border-color: var(--brand); }
.pd__summary { font-size: 1.12rem; color: var(--ink-2); }
.pd__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; padding: 22px 0; margin: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pd__price .amount { font-family: var(--f-serif); font-size: clamp(2.2rem, 3.2vw, 2.9rem); line-height: 1; color: var(--ink); }
.pd__price .ask { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.8rem, 2.5vw, 2.3rem); line-height: 1; color: var(--brand); }
.pd__price small { color: var(--ink-3); }
.opt { border: 0; padding: 0; margin: 0 0 22px; }
.opt legend { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 0; margin-bottom: .8rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.opt legend span { color: var(--ink-3); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: .86rem; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__title { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 0 0 .8rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.opt__title span { color: var(--ink-3); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: .86rem; }
.opt__chip { min-width: 52px; padding: .55rem .9rem; text-align: center; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface); font-weight: 600; color: var(--ink); }
.card:hover .add { background: var(--brand); color: #fff; border-color: var(--brand); }
.buy .pill { flex: 1 1 220px; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts label { min-width: 58px; padding: .7rem 1rem; text-align: center; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--surface); font-weight: 600; color: var(--ink); cursor: pointer; transition: .25s var(--ease); }
.opts label:hover { border-color: var(--brand); }
.opts input:checked + label { background: var(--brand); color: #fff; border-color: var(--brand); }
.opts input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 3px; }
.err { margin: 0 0 14px; color: var(--bad); font-size: .92rem; font-weight: 600; }
.buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 6px 0 12px; }
.buy .pill--solid { flex: 1 1 240px; }
.qty { display: inline-flex; align-items: center; height: 50px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface); }
.qty button { width: 46px; height: 100%; color: var(--ink); font-size: 1.2rem; border-radius: 999px; }
.qty input { width: 40px; border: 0; background: transparent; text-align: center; color: var(--ink); font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pickup-line { display: flex; gap: 14px; align-items: flex-start; margin: 24px 0 0; padding: 18px 20px; border-radius: var(--radius); background: var(--brand-50); border: 1px solid var(--brand-100); }
.pickup-line .i { width: 24px; height: 24px; color: var(--brand); margin-top: .1rem; }
.pickup-line p { margin: .2rem 0 0; font-size: .95rem; }
.pd__section { margin-top: 44px; }
.pd__section .label { margin-bottom: 1rem; }
.dash { list-style: none; margin: 0; padding: 0; }
.dash li { position: relative; padding: .7rem 0 .7rem 2rem; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.dash li::before { content: ""; position: absolute; left: 0; top: 1.38rem; width: 1.1rem; height: 1.5px; background: var(--brand); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: .9rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--line); }
.spec-table th { width: 44%; padding-right: 18px; font-weight: 500; color: var(--ink-3); }
.spec-table td { color: var(--ink); font-weight: 500; }
.uses { display: flex; flex-wrap: wrap; gap: 8px; }
.life { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.life__img { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; }
.life__img img { width: 100%; height: 100%; object-fit: cover; }
.life .script { color: var(--brand); }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--brand-900); color: rgba(255, 255, 255, .78); padding-top: clamp(68px, 8vw, 108px); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 36px; }
.footer h2 { font-family: var(--f-sans); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin: 0 0 18px; line-height: 1.4; }
.footer__about h2 { font-family: var(--f-serif); font-size: 1.6rem; font-weight: 400; letter-spacing: -.01em; text-transform: none; color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { color: #fff; text-decoration: none; font-weight: 500; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer p { margin: 0 0 .8rem; }
.footer__about p { max-width: 34ch; }
.footer .status, .footer .status span:last-child { color: #fff; }
.footer__hours { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.2rem; margin: 0; font-size: .92rem; }
.footer__hours dt { color: rgba(255, 255, 255, .58); }
.footer__hours dd { margin: 0; color: #fff; white-space: nowrap; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .55); }
.footer__legal p { margin: 0; }
.footer__mark { overflow: hidden; margin-top: 30px; pointer-events: none; user-select: none; }
.footer__mark span { display: block; padding-left: var(--gutter); font-family: var(--f-serif); font-style: italic; font-size: 12.5vw; line-height: .9; letter-spacing: -.03em; white-space: nowrap; color: rgba(255, 255, 255, .06); margin-bottom: -.12em; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 55; display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1.2rem .8rem 1rem; border-radius: 999px; background: #1f9d55; color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 14px 34px -12px rgba(12, 38, 39, .5); transition: transform .3s var(--ease), background-color .3s; }
.wa-float:hover { transform: translateY(-2px); background: #178746; color: #fff; }
.wa-float .i { width: 22px; height: 22px; }

/* ---------- Drawer (pick-up list) ---------- */
.overlay { position: fixed; inset: 0; z-index: 95; background: rgba(12, 38, 39, .45); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(480px, 100vw); display: flex; flex-direction: column; background: var(--bg); color: var(--ink-2); box-shadow: -20px 0 60px -30px rgba(12, 38, 39, .5); transform: translateX(102%); transition: transform .5s var(--ease); }
body.list-open { overflow: hidden; }
body.list-open .overlay { opacity: 1; pointer-events: auto; }
body.list-open .drawer { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--line); background: var(--surface); }
.drawer__head h2 { font-size: 1.8rem; margin: 0; }
.drawer__head p { margin: 4px 0 0; color: var(--ink-3); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px 26px; }
.drawer__foot { display: grid; gap: 10px; padding: 18px 24px 22px; border-top: 1px solid var(--line); background: var(--surface); }
.drawer__foot .small { margin: 0; text-align: center; color: var(--ink-3); font-size: .86rem; }
.li-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.li-item__img { width: 72px; height: 72px; border-radius: 12px; background: var(--stone); display: grid; place-items: center; overflow: hidden; }
.li-item__img img { width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; }
.li-item h3 { font-family: var(--f-sans); font-size: .98rem; font-weight: 600; margin: 0 0 4px; line-height: 1.3; }
.li-item h3 a { color: var(--ink); text-decoration: none; }
.li-item h3 a:hover { color: var(--brand); text-decoration: underline; }
.li-item p { margin: 0; font-size: .8rem; color: var(--ink-3); }
.li-item__ctrl { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.mini-qty { display: inline-flex; align-items: center; height: 34px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface); }
.mini-qty button { width: 32px; height: 100%; color: var(--ink); font-weight: 700; border-radius: 999px; }
.mini-qty span { min-width: 20px; text-align: center; font-weight: 700; color: var(--ink); font-size: .9rem; }
.li-remove { font-size: .78rem; font-weight: 600; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.li-remove:hover { color: var(--bad); }
.form { display: grid; gap: 16px; margin-top: 26px; }
.form h3 { font-size: 1.4rem; margin: 0; }
.field { display: grid; gap: 7px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: .78rem .9rem; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 12px; color: var(--ink); font-size: 1rem; transition: border-color .25s, box-shadow .25s; }
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14, 94, 90, .12); }
.field-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; }
.hint { margin: 0; color: var(--ink-3); font-size: .86rem; line-height: 1.45; }
.form .err { margin: 0; }
.empty-list { padding: 50px 6px 10px; text-align: center; }
.empty-list .i { width: 46px; height: 46px; color: var(--brand); stroke-width: 1.3; margin: 0 auto 16px; }
.empty-list h3 { font-size: 1.7rem; margin-bottom: .5rem; }
.empty-list p { margin-bottom: 1.6rem; }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: 26px; z-index: 120; transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100vw - 32px)); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: .9rem 1rem; background: var(--ink); color: #fff; border-radius: 14px; font-size: .95rem; font-weight: 500; pointer-events: auto; box-shadow: 0 20px 60px -20px rgba(12, 38, 39, .6); animation: toastIn .4s var(--ease); }
.toast button { margin-left: auto; flex: none; white-space: nowrap; padding: .4rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .15); color: #fff; font-size: .82rem; font-weight: 600; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__media img, .phero > img { animation: none; transform: none; }
  .panel > img { transform: none; }
  .status--open .status__dot::after, .scroll-cue__line::after { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .specs-row { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(3) { padding-left: 0; border-left: 0; }
  .spec:nth-child(n+3) { border-top: 1px solid var(--line); }
  .nav a { padding: .5rem .7rem; font-size: .9rem; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav, .text-btn { display: none; }
  .menu-btn { display: inline-grid; }
  .header__inner { grid-template-columns: 1fr auto; }
  .hero { display: flex; flex-direction: column; justify-content: flex-end; gap: 30px; height: auto; min-height: 100svh; max-height: none; padding: calc(var(--header-h) + 40px) var(--gutter) 24px; }
  .hero__content, .hero__foot { position: relative; inset: auto; transform: none; width: auto; }
  .hero__content { max-width: 620px; }
  .hero__media img { object-position: var(--pos-m, var(--pos, 50% 50%)); }
  .hero::after { background: linear-gradient(180deg, rgba(8, 28, 29, .45) 0%, rgba(8, 28, 29, 0) 22%, rgba(8, 28, 29, .12) 40%, rgba(8, 28, 29, .86) 100%); }
  .trio { grid-template-columns: 1fr; gap: 44px; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); margin-top: 22px; }
  .split, .visit, .pd, .life { grid-template-columns: 1fr; }
  .split--rev .split__img { order: 0; }
  .pd__media { position: static; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .map { min-height: 360px; }
}
@media (max-width: 640px) {
  .wordmark { font-size: 1.22rem; }
  .wordmark__mark { width: 30px; height: 30px; }
  .list-btn { padding: 0 .4rem 0 .8rem; }
  .list-btn__label { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { border-radius: 16px; }
  .card__body { padding: 12px 12px 14px; }
  .card__title { font-size: .95rem; }
  .card__meta { font-size: .76rem; }
  .card__foot { gap: 6px; flex-wrap: wrap; }
  .price { font-size: .94rem; white-space: nowrap; }
  .price--ask { font-size: .8rem; white-space: nowrap; }
  .add { width: 34px; height: 34px; }
  .hero { background: var(--brand-900); }
  .hero__media { bottom: auto; height: 64%; }
  .hero::after { background: linear-gradient(180deg, rgba(12, 38, 39, .45) 0%, rgba(12, 38, 39, 0) 15%, rgba(12, 38, 39, 0) 24%, rgba(12, 38, 39, .6) 40%, rgba(12, 38, 39, .95) 54%, var(--brand-900) 64%); }
  .hero__title { font-size: 2.9rem; }
  .hero .eyebrow { margin-bottom: 1rem; }
  .hero__status .status { font-size: .84rem; flex-wrap: wrap; row-gap: 0; }
  .hero__status .status span { white-space: nowrap; }
  .hero__ctas .pill { flex: 1 1 auto; }
  .hero__foot .scroll-cue { display: none; }
  .panel { min-height: 540px; }
  .panel .script { font-size: 3.4rem; }
  .spec__val { font-size: 2.2rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__mark span { font-size: 15vw; }
  .field-row { grid-template-columns: 1fr; }
  .wa-float { right: 14px; bottom: 14px; padding: .8rem; }
  .wa-float span { display: none; }
  .cat-tab { width: 104px; }
}
@media print { .header, .menu, .footer, .wa-float, .drawer, .overlay { display: none !important; } }
