/* Chargewise storefront
 * Colours come from the product itself: the lead acid label (pine), the lithium label (ice),
 * the kraft box, and the graphite studio backdrop the photos were shot on.
 * Token names --brand / --bg / --surface / --ink / --font-* match the store's theme engine,
 * so Settings → Appearance can recolour this design after integration.
 */

/* ---------- Tokens ---------- */
:root {
  --graphite-950: #121211;
  --graphite-900: #1a1a18;
  --graphite-800: #242422;
  --graphite-700: #34342f;
  --graphite-500: #6d6d67;
  --pine-950: #0e2220;
  --pine-900: #142e2b;
  --pine: #1e3f3a;
  --pine-600: #2a5a51;
  --pine-400: #4f8a7c;
  --ice: #a9cfe4;
  --ice-200: #d6e8f1;
  --ice-900: #16303c;
  --kraft: #b8946a;
  --kraft-200: #e8dac6;
  --fog: #eef0ef;
  --white: #ffffff;

  /* store theme engine names */
  --brand: var(--pine);
  --brand-hover: var(--pine-600);
  --brand-soft: var(--ice-200);
  --brand-ink: var(--white);
  --bg: var(--fog);
  --surface: var(--white);
  --ink: #161615;
  --ink-2: #4a4d4b;
  --ink-3: #6f736f;
  --line: rgba(22, 22, 21, 0.12);
  --line-on-dark: rgba(255, 255, 255, 0.14);

  --font-sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Archivo", system-ui, sans-serif;

  --container: 1344px;
  --gutter: clamp(16px, 4vw, 48px);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);   /* GSAP power3.out */
  --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nw { white-space: nowrap; }
.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: 16px; top: -60px; z-index: 200; padding: 10px 16px;
  background: var(--white); color: var(--ink); border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }
.icon { width: 24px; height: 24px; flex: none; }

/* ---------- Type ---------- */
.display, .h2, .h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.display { font-size: clamp(3.4rem, 10.6vw, 10.5rem); font-stretch: 68%; line-height: 0.86; font-weight: 850; }
.h2 { font-size: clamp(2.6rem, 5.6vw, 4.9rem); font-stretch: 74%; line-height: 0.94; }
.h3 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); font-stretch: 82%; line-height: 1.02; letter-spacing: -0.004em; }
.h2--current {
  background: linear-gradient(90deg, var(--pine) 15%, var(--pine-400) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h2--current.on-dark { background-image: linear-gradient(90deg, var(--white) 30%, var(--ice) 100%); }
.lead { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.42; font-weight: 500; letter-spacing: -0.006em; max-width: 46ch; }
.statement { font-size: clamp(1.45rem, 2.6vw, 2.15rem); line-height: 1.3; font-weight: 650; letter-spacing: -0.016em; font-stretch: 92%; max-width: 40ch; text-wrap: pretty; }
.body-copy { max-width: 62ch; color: var(--ink-2); }
.body-copy p + p { margin-top: 1em; }
.small { font-size: 0.875rem; line-height: 1.5; }
.muted { color: var(--ink-3); }
.price { font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 132px); position: relative; }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head .body-copy { max-width: 44ch; }
.bg-fog { background: var(--fog); }
.bg-white { background: var(--white); }
.bg-pine { background: var(--pine-900); color: var(--white); }
.bg-graphite { background: var(--graphite-900); color: var(--white); }
.bg-graphite .body-copy, .bg-pine .body-copy { color: rgba(255, 255, 255, 0.74); }
.bg-graphite .muted, .bg-pine .muted { color: rgba(255, 255, 255, 0.6); }

/* Contour "current" lines, tinted by background-color through a mask */
.current-lines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  -webkit-mask: url("../img/current-lines.svg") center / cover no-repeat;
  mask: url("../img/current-lines.svg") center / cover no-repeat;
  background: rgba(255, 255, 255, 0.07);
}
.current-lines--fade { -webkit-mask: url("../img/current-lines.svg") center / cover no-repeat, linear-gradient(#000 55%, transparent 100%); -webkit-mask-composite: source-in; mask: url("../img/current-lines.svg") center / cover no-repeat, linear-gradient(#000 55%, transparent 100%); mask-composite: intersect; }
.current-lines--ink { background: rgba(30, 63, 58, 0.075); }
.current-lines--ice { background: rgba(169, 207, 228, 0.12); }
.has-lines > :not(.current-lines) { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--pine); --btn-fg: var(--white); --btn-bd: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 8px;
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-bd);
  font-weight: 700; font-size: 0.98rem; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { --btn-bg: var(--pine-600); }
.btn .icon { width: 17px; height: 17px; transition: transform 0.25s var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn--ice { --btn-bg: var(--ice); --btn-fg: var(--ink); }
.btn--ice:hover { --btn-bg: var(--ice-200); }
.btn--white { --btn-bg: var(--white); --btn-fg: var(--ink); }
.btn--white:hover { --btn-bg: var(--ice-200); }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: currentColor; }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.1); }
.bg-fog .btn--ghost:hover, .bg-white .btn--ghost:hover { --btn-bg: rgba(30, 63, 58, 0.07); }
.btn--kraft { --btn-bg: transparent; --btn-fg: var(--kraft-200); --btn-bd: var(--kraft); }
.btn--kraft:hover { --btn-bg: rgba(184, 148, 106, 0.16); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2.5px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: transparent; border: 0; color: inherit; position: relative; text-decoration: none;
  transition: background-color 0.18s ease;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.1); }
.round-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(22, 22, 21, 0.45); color: var(--white);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.round-btn:hover { background: var(--ink); }
.round-btn:active { transform: scale(0.94); }
.round-btn .icon { width: 22px; height: 22px; }

/* ---------- Announcement + header ---------- */
.announce {
  background: var(--graphite-950); color: rgba(255, 255, 255, 0.86);
  font-size: 0.875rem; font-weight: 550; text-align: center; padding: 11px var(--gutter);
}
.top-zone { background: var(--pine-900); color: var(--white); position: relative; }
.site-header { position: sticky; top: 0; z-index: 60; color: var(--white); background: var(--header-bg, var(--graphite-900)); transition: background-color 0.35s ease, box-shadow 0.35s ease; }
.site-header.is-scrolled { background: rgba(18, 18, 17, 0.88); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line-on-dark); }
.site-header--solid { background: var(--graphite-900); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.site-header__logo { display: block; flex: none; }
.site-header__logo img { width: 150px; height: auto; }
.site-header__burger { display: none; }
.site-nav { flex: 1; }
.nav__list { display: flex; gap: 6px; align-items: center; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 8px;
  background: none; border: 0; color: inherit; text-decoration: none;
  font-weight: 650; font-size: 0.95rem; letter-spacing: 0.005em;
  transition: background-color 0.18s ease;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: rgba(255, 255, 255, 0.1); }
.nav__link .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease-out); }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.site-header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.cart-btn__count {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px;
  background: var(--ice); color: var(--ink); font-size: 0.72rem; font-weight: 800; line-height: 19px; text-align: center;
}
.cart-btn__count[data-empty="true"] { display: none; }

/* Chargers menu */
.has-menu { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--graphite-900); color: var(--white); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  border-top: 1px solid var(--line-on-dark);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.22s ease, transform 0.3s var(--ease-out); }
.mega__inner { display: grid; grid-template-columns: 1fr 1fr minmax(220px, 0.8fr); gap: 16px; max-width: 1440px; margin-inline: auto; padding: 28px var(--gutter) 32px; }
.mega-card {
  display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; padding: 14px;
  border-radius: var(--r-md); text-decoration: none; transition: transform 0.25s var(--ease-out);
}
.mega-card:hover { transform: translateY(-2px); }
.mega-card--pine { background: var(--pine); }
.mega-card--ice { background: var(--ice); color: var(--ink); }
.mega-card img { width: 112px; height: 112px; object-fit: cover; border-radius: 12px; }
.mega-card__name { font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 1.35rem; line-height: 1; }
.mega-card__meta { font-size: 0.875rem; margin-top: 6px; opacity: 0.8; }
.mega__aside { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 8px 8px 8px 24px; border-left: 1px solid var(--line-on-dark); }
.mega__aside a { font-weight: 650; text-decoration: none; }
.mega__aside a:hover { text-decoration: underline; }

/* Mobile drawer menu */
.mobile-nav { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.mobile-nav.is-open { visibility: visible; }
.mobile-nav__panel {
  position: absolute; inset: 0 auto 0 0; width: min(88vw, 400px); background: var(--graphite-900); color: var(--white);
  padding: 20px 20px 32px; display: flex; flex-direction: column; gap: 22px; overflow-y: auto;
  transform: translateX(-100%); transition: transform 0.45s var(--ease-out);
}
.mobile-nav.is-open .mobile-nav__panel { transform: none; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav__top img { width: 132px; }
.mobile-nav__links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-on-dark); font-size: 1.3rem; font-weight: 750; font-stretch: 82%; text-transform: uppercase; text-decoration: none; }
.mobile-nav__cards { display: grid; gap: 10px; }
.mobile-nav__cards .mega-card { grid-template-columns: 76px 1fr; padding: 10px; }
.mobile-nav__cards .mega-card img { width: 76px; height: 76px; }
.mobile-nav__cards .mega-card__name { font-size: 1.1rem; }
.backdrop { position: fixed; inset: 0; background: rgba(10, 10, 9, 0.55); opacity: 0; transition: opacity 0.35s ease; z-index: -1; }
.mobile-nav.is-open .backdrop, .drawer.is-open .backdrop { opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 4px 28px 28px; background: var(--pine-900); }
.hero__frame {
  position: relative; overflow: hidden; border-radius: var(--r-lg); isolation: isolate;
  min-height: min(880px, calc(100svh - var(--header-h) - 44px));
  background: radial-gradient(120% 90% at 50% 100%, #3a3a37 0%, #222220 42%, var(--graphite-900) 70%);
}
.hero__media { position: absolute; left: 0; right: 0; bottom: 0; height: 74%; z-index: -1; display: flex; justify-content: center; transform-origin: 50% 80%; }
.hero__media picture { height: 100%; }
.hero__media img {
  height: 100%; width: auto; max-width: none;
  -webkit-mask-image: radial-gradient(closest-side at 50% 58%, #000 62%, transparent 100%);
  mask-image: radial-gradient(closest-side at 50% 58%, #000 62%, transparent 100%);
  -webkit-mask-size: 100% 118%; mask-size: 100% 118%; -webkit-mask-position: center top; mask-position: center top; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.hero__content { text-align: center; padding: clamp(28px, 4vw, 56px) clamp(16px, 2.4vw, 36px) 0; display: grid; justify-items: center; gap: clamp(18px, 2vw, 28px); }
.hero__title { color: var(--white); font-size: clamp(3.6rem, 12.4vw, 11.6rem); white-space: nowrap; }
.hero__title .line { display: inline-block; overflow: hidden; padding-bottom: 0.05em; margin-bottom: -0.05em; vertical-align: top; }
.hero__title .line > span { display: block; }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; }
.hero__row p { max-width: 44ch; font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.45; font-weight: 550; color: rgba(255, 255, 255, 0.88); text-align: left; }
@media (max-width: 700px) {
  .hero__frame { display: flex; flex-direction: column; }
  .hero__media { position: relative; order: 2; flex: 1; height: auto; min-height: 300px; margin-top: -24px; }
  .hero__media picture { width: 100%; height: 100%; position: absolute; inset: 0; }
  .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 74%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
  .hero__title { white-space: normal; font-size: 20vw; line-height: 0.84; }
  .hero__title .line { display: block; }
  .hero__row p { text-align: center; }
  .hero__row .btn { width: 100%; }
}

/* ---------- Facts band ---------- */
.facts { overflow: hidden; }
.facts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(48px, 6vw, 80px); }
.fact { display: grid; justify-items: start; align-content: start; gap: 14px; }
.fact .icon { width: 56px; height: 56px; color: var(--ice); }
.fact__title { font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.04; }
.fact p { color: rgba(255, 255, 255, 0.72); max-width: 32ch; }

/* ---------- Vehicle arc selector ---------- */
.arc-section { overflow-x: clip; }
.arc { position: relative; --arc-offset: min(29vw, 420px); --slide-w: clamp(220px, 27vw, 380px); }
.arc__stage { position: relative; height: calc(var(--slide-w) * 0.62); perspective: 800px; touch-action: pan-y; user-select: none; cursor: grab; }
.arc__stage:active { cursor: grabbing; }
.arc__slide {
  position: absolute; left: 50%; bottom: 0; width: var(--slide-w); margin-left: calc(var(--slide-w) / -2);
  color: var(--pine); transform-origin: 50% 60%; will-change: transform, opacity;
  transition: transform 0.56s var(--ease-out), opacity 0.56s var(--ease-out), color 0.4s ease, filter 0.4s ease;
}
.arc__slide svg { width: 100%; height: auto; }
.arc__slide:not(.is-center) { color: var(--ink-3); }
.arc__track { position: relative; height: 84px; margin-top: 6px; }
.arc__track svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arc__track path { fill: none; stroke: rgba(22, 22, 21, 0.24); stroke-width: 2; stroke-dasharray: 10 8; vector-effect: non-scaling-stroke; }
.arc__dot {
  position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #c9cdca;
  transition: left 0.56s var(--ease-out), top 0.56s var(--ease-out), opacity 0.4s ease, transform 0.4s var(--ease-out), background-color 0.4s ease;
}
.arc__dot.is-center { width: 36px; height: 36px; margin: -18px 0 0 -18px; background: var(--pine); }
.arc__label {
  position: absolute; transform: translate(-50%, 22px); font-weight: 750; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; color: var(--ink-2);
  transition: left 0.56s var(--ease-out), top 0.56s var(--ease-out), opacity 0.3s ease;
}
.arc__info { text-align: center; display: grid; justify-items: center; gap: 14px; margin-top: 18px; min-height: 210px; }
.arc__name { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; font-stretch: 78%; text-transform: uppercase; letter-spacing: 0.02em; }
.arc__text { max-width: 52ch; color: var(--ink-2); }
.arc__swap { transition: opacity 0.25s ease, transform 0.35s var(--ease-out); }
.arc__swap.is-leaving { opacity: 0; transform: translateY(6px); }
.arc__nav { position: absolute; left: 0; right: 0; top: calc(var(--slide-w) * 0.62 + 30px); display: flex; justify-content: space-between; pointer-events: none; padding-inline: clamp(0px, 4vw, 64px); }
.arc__nav .round-btn { pointer-events: auto; }
.chem-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; }
.chem-pill::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: currentColor; }
.chem-pill--pine { background: rgba(30, 63, 58, 0.1); color: var(--pine); }
.chem-pill--ice { background: rgba(22, 48, 60, 0.08); color: #2f6f92; }
.chem-pill--ice::before { background: var(--ice); box-shadow: inset 0 0 0 1.5px #2f6f92; }

/* ---------- Feature card slider ---------- */
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; cursor: grab; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging * { pointer-events: none; }
.rail > * { scroll-snap-align: start; flex: none; }
.rail-wrap { margin-right: calc(var(--gutter) * -1); }
.rail-wrap .rail { padding-right: var(--gutter); }
.rail-controls { display: flex; gap: 10px; }
.rail-controls .round-btn { background: rgba(22, 22, 21, 0.08); color: var(--ink); }
.rail-controls .round-btn:hover { background: var(--ink); color: var(--white); }
.rail-controls .round-btn[disabled] { opacity: 0.35; pointer-events: none; }

.feature-card {
  position: relative; width: clamp(286px, 27vw, 380px); min-height: clamp(420px, 34vw, 480px); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 40px 28px 32px; color: var(--white); background: var(--graphite-900); isolation: isolate;
}
.feature-card__media { position: absolute; left: 0; right: 0; bottom: 0; height: 64%; z-index: -1; }
.feature-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.feature-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--graphite-900) 0%, rgba(26, 26, 24, 0) 38%, rgba(26, 26, 24, 0) 62%, rgba(26, 26, 24, 0.85) 100%); }
.feature-card p { margin-top: 18px; max-width: 30ch; font-weight: 500; line-height: 1.5; }
.feature-card .btn { margin-top: auto; }
.feature-card--pine { background: var(--pine); }
.feature-card--ice { background: var(--ice); color: var(--ink); }
.feature-card--kraft { background: var(--kraft-200); color: var(--ink); }
.feature-card__figure { margin: auto 0; font-weight: 850; font-stretch: 62%; font-size: clamp(5.2rem, 9vw, 7.4rem); line-height: 0.82; text-transform: uppercase; letter-spacing: -0.02em; }
.feature-card__figure small { display: block; font-size: 0.32em; font-stretch: 80%; letter-spacing: 0.02em; margin-top: 0.3em; opacity: 0.8; }
.feature-card--ice .current-lines, .feature-card--kraft .current-lines { background: rgba(22, 22, 21, 0.08); }

/* ---------- Statement band ---------- */
.band { position: relative; overflow: hidden; color: var(--white); background: var(--graphite-950); isolation: isolate; }
.band__media { position: absolute; inset: -12% 0; z-index: -1; }
.band__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 18, 17, 0.92) 0%, rgba(18, 18, 17, 0.6) 48%, rgba(18, 18, 17, 0.15) 100%); }
.band__inner { min-height: clamp(540px, 62vw, 760px); display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-block: 96px; }
.band__title { font-size: clamp(4rem, 12.5vw, 12rem); font-stretch: 64%; font-weight: 850; line-height: 0.82; text-transform: uppercase; letter-spacing: -0.02em; }
.band__title span { display: block; }
.band p { max-width: 44ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(255, 255, 255, 0.86); }

/* ---------- Product duo ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product-panel {
  position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; isolation: isolate;
  --panel-bg: var(--pine); --panel-fg: var(--white); background: var(--panel-bg); color: var(--panel-fg);
}
.product-panel--ice { --panel-bg: var(--ice); --panel-fg: var(--ink); }
.product-panel__media { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--graphite-900); }
.product-panel__media picture, .band__media picture, .feature-card__media picture, .gallery__frame picture, .cross__media picture, .auth__media picture { display: block; height: 100%; }
.product-panel__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transition: transform 0.9s var(--ease-out); }
.product-panel:hover .product-panel__media img { transform: scale(1.035); }
.product-panel__body { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 40px); }
.product-panel__top { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.product-panel__price { font-size: 1.5rem; }
.product-panel__chem { font-weight: 650; opacity: 0.85; }
.product-panel .btn-row { margin-top: 8px; }
.product-panel--ice .btn--ghost:hover { --btn-bg: rgba(22, 22, 21, 0.08); }

/* ---------- Compare table ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 20px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tr:last-child > * { border-bottom: 0; }
.compare thead th { vertical-align: bottom; padding-top: 28px; }
.compare thead th:first-child { width: 28%; }
.compare tbody th { font-weight: 650; color: var(--ink-2); width: 28%; }
.compare__head { display: grid; gap: 6px; }
.compare__head strong { font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 1.3rem; line-height: 1; }
.swatch { display: inline-block; width: 22px; height: 14px; border-radius: 4px; vertical-align: -1px; margin-right: 8px; }
.swatch--pine { background: var(--pine); }
.swatch--ice { background: var(--ice); box-shadow: inset 0 0 0 1px rgba(22, 22, 21, 0.18); }
.compare .yes { display: inline-flex; gap: 8px; align-items: center; font-weight: 650; }
.compare .yes .icon { width: 20px; height: 20px; color: var(--pine-600); }
.compare-note { margin-top: 20px; color: var(--ink-2); max-width: 70ch; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 32px 28px 30px; border-radius: var(--r-lg); background: var(--white); display: grid; gap: 14px; align-content: start; }
.step__num { font-weight: 850; font-stretch: 62%; font-size: 4.2rem; line-height: 0.8; color: var(--pine); font-variant-numeric: tabular-nums; }
.step .icon { position: absolute; top: 30px; right: 28px; width: 44px; height: 44px; color: var(--ink-3); }
.step p { color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-layout > :first-child { position: sticky; top: calc(var(--header-h) + 24px); }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; cursor: pointer;
  padding: 22px 0; font-weight: 700; font-size: 1.12rem; line-height: 1.35;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q .icon { width: 22px; height: 22px; flex: none; transition: transform 0.3s var(--ease-out); }
.faq__item[open] .faq__q .icon { transform: rotate(45deg); }
.faq__a { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 64ch; }
.faq__a p + p { margin-top: 0.8em; }
.bg-graphite .faq, .bg-graphite .faq__item, .on-dark .faq, .on-dark .faq__item { border-color: var(--line-on-dark); }
.on-dark .faq__a { color: rgba(255, 255, 255, 0.72); }

/* ---------- Ridge + guides ---------- */
.ridge { height: clamp(56px, 8vw, 120px); margin-bottom: -1px; background: var(--graphite-900); -webkit-mask: url("../img/ridge.svg") 0 0 / 100% 100% no-repeat; mask: url("../img/ridge.svg") 0 0 / 100% 100% no-repeat; }
.ridge-wrap { background: var(--fog); }
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide {
  position: relative; display: flex; flex-direction: column; gap: 16px; min-height: 340px; padding: 30px 28px; border-radius: var(--r-lg);
  background: var(--graphite-800); overflow: hidden; isolation: isolate;
}
.guide__topic { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 0.9rem; color: var(--kraft-200); }
.guide__topic .icon { width: 20px; height: 20px; }
.guide .h3 { max-width: 22ch; }
.guide p { color: rgba(255, 255, 255, 0.7); }
.guide .btn { margin-top: auto; align-self: start; }

/* ---------- Help tiles ---------- */
.help-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-on-dark); }
.help-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 48px 28px 44px; text-decoration: none; transition: background-color 0.25s ease; }
.help-tile + .help-tile { border-left: 1px solid var(--line-on-dark); }
.help-tile:hover { background: rgba(255, 255, 255, 0.04); }
.help-tile .icon { width: 52px; height: 52px; color: var(--ice); }
.help-tile p { color: rgba(255, 255, 255, 0.7); max-width: 26ch; }
.help-tile .btn { margin-top: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite-950); color: rgba(255, 255, 255, 0.82); padding-top: clamp(56px, 7vw, 88px); font-size: 0.97rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.2fr repeat(3, minmax(0, 0.7fr)) 1.6fr; gap: 40px; }
.footer__brand img { width: 168px; }
.footer__brand p { margin-top: 18px; max-width: 30ch; color: rgba(255, 255, 255, 0.62); }
.ft-col h2, .footer__signup h2 { font-size: 0.95rem; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.ft-col ul, .ft-social { list-style: none; padding: 0; margin: 0; }
.ft-col ul { display: grid; gap: 9px; }
.footer__signup p { color: rgba(255, 255, 255, 0.62); margin-bottom: 16px; }
.field-inline { display: flex; gap: 8px; }
.field-inline input { flex: 1; min-width: 0; }
.ft-social { display: flex; gap: 6px; }
.ft-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-on-dark); }
.ft-social a:hover { background: rgba(255, 255, 255, 0.08); text-decoration: none; }
.ft-social .icon { width: 19px; height: 19px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-top: 56px; padding-block: 26px; border-top: 1px solid var(--line-on-dark); font-size: 0.875rem; color: rgba(255, 255, 255, 0.55); }
.pay-marks { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-marks span { padding: 4px 9px; border: 1px solid var(--line-on-dark); border-radius: 6px; font-size: 0.78rem; font-weight: 700; color: rgba(255, 255, 255, 0.75); }
.footer__credit a { color: rgba(255, 255, 255, 0.75); }

/* ---------- Forms ---------- */
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 15px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.textarea { min-height: 140px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(30, 63, 58, 0.16); }
.input--dark { background: rgba(255, 255, 255, 0.06); border-color: var(--line-on-dark); color: var(--white); }
.input--dark::placeholder { color: rgba(255, 255, 255, 0.5); }
.input--dark:focus { border-color: var(--ice); box-shadow: 0 0 0 3px rgba(169, 207, 228, 0.2); }
.field { display: grid; gap: 7px; }
.field label { font-weight: 650; font-size: 0.92rem; }
.field__hint { font-size: 0.84rem; color: var(--ink-3); }
.field__error { font-size: 0.84rem; color: #a3352b; display: none; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: #a3352b; }
.field.is-invalid .field__error { display: block; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pine); flex: none; }
.form-success { display: none; }
.form-success.is-visible { display: block; }

/* ---------- Quantity ---------- */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); height: 52px; }
.qty button { width: 46px; height: 100%; border: 0; background: none; display: grid; place-items: center; color: var(--ink); }
.qty button:hover { color: var(--pine); }
.qty button .icon { width: 18px; height: 18px; }
.qty input { width: 40px; border: 0; text-align: center; font-weight: 700; background: none; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 40px; }
.qty--sm button { width: 36px; }
.qty--sm input { width: 30px; }

/* ---------- Cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(100vw, 440px); background: var(--white); color: var(--ink);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.5s var(--ease-out);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.4rem; font-weight: 800; font-stretch: 80%; text-transform: uppercase; }
.drawer__head .icon-btn:hover { background: var(--fog); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.ship-progress { padding: 14px 24px; background: var(--fog); font-size: 0.9rem; font-weight: 600; }
.ship-progress__bar { height: 6px; border-radius: 3px; background: rgba(22, 22, 21, 0.1); margin-top: 8px; overflow: hidden; }
.ship-progress__bar span { display: block; height: 100%; background: var(--pine); border-radius: inherit; transition: width 0.5s var(--ease-out); }
.line-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-item:last-child { border-bottom: 0; }
.line-item img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; background: var(--graphite-900); }
.line-item__name { font-weight: 750; line-height: 1.25; text-decoration: none; }
.line-item__meta { font-size: 0.86rem; color: var(--ink-3); margin: 3px 0 10px; display: flex; align-items: center; gap: 6px; }
.line-item__side { display: grid; justify-items: end; gap: 10px; }
.line-item__remove { border: 0; background: none; color: var(--ink-3); padding: 4px; border-radius: 6px; }
.line-item__remove:hover { color: #a3352b; }
.line-item__remove .icon { width: 18px; height: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; }
.sum-row--total { font-size: 1.2rem; font-weight: 800; }
.cart-empty { text-align: center; padding: 56px 8px; display: grid; gap: 14px; justify-items: center; }
.cart-empty .icon { width: 48px; height: 48px; color: var(--ink-3); }
[data-cart-filled][hidden], [data-cart-empty][hidden] { display: none !important; }
[data-cart-lines] { list-style: none; padding: 0; margin: 0; }

/* ---------- Toast ---------- */
.toast-stack { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; }
.toast { background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: 10px; font-weight: 600; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25); animation: toast-in 0.4s var(--ease-out); display: flex; gap: 10px; align-items: center; }
.toast .icon { width: 20px; height: 20px; color: var(--ice); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Page heads (inner pages) ---------- */
.page-head { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 88px); }
.page-head .lead { margin-top: 20px; color: rgba(255, 255, 255, 0.82); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; font-weight: 600; color: rgba(255, 255, 255, 0.65); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--white); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.crumbs--ink { color: var(--ink-3); }
.crumbs--ink a:hover { color: var(--ink); }

/* ---------- Product page ---------- */
.theme-pine { --p-deep: var(--pine-900); --p-accent: var(--pine); --p-accent-hover: var(--pine-600); --p-on-accent: var(--white); --p-soft: rgba(30, 63, 58, 0.09); --p-text: var(--pine); }
.theme-ice { --p-deep: var(--ice-900); --p-accent: var(--ice); --p-accent-hover: var(--ice-200); --p-on-accent: var(--ink); --p-soft: rgba(169, 207, 228, 0.28); --p-text: #2f6f92; }
.pdp-zone { background: var(--p-deep); color: var(--white); position: relative; padding: 8px 0 clamp(48px, 6vw, 96px); }
.pdp { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(16px, 3vw, 48px); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: start; position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__thumbs { display: grid; gap: 10px; }
.gallery__thumb { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--graphite-900); aspect-ratio: 1; transition: border-color 0.2s ease; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb[aria-current="true"] { border-color: var(--p-accent); box-shadow: 0 0 0 1px var(--p-accent); }
.theme-ice .gallery__thumb[aria-current="true"] { border-color: #2f6f92; box-shadow: 0 0 0 1px #2f6f92; }
.gallery__frame { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--graphite-900); aspect-ratio: 4 / 5; }
.gallery__frame img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s ease; }
.gallery__frame img.is-swapping { opacity: 0; }
.gallery__nav { position: absolute; left: 12px; right: 12px; bottom: 12px; display: none; justify-content: space-between; }
.buybox { display: grid; gap: 22px; align-content: start; }
.buybox__brand { font-weight: 750; color: var(--p-text); }
.buybox h1 { font-size: clamp(2.6rem, 4.8vw, 4.4rem); }
.buybox__short { color: var(--ink-2); font-size: 1.08rem; max-width: 52ch; }
.buybox__price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.buybox__price .price { font-size: 2rem; }
.chem-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chem-switch a {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); text-decoration: none; transition: border-color 0.2s ease, background-color 0.2s ease;
}
.chem-switch a:hover { border-color: rgba(22, 22, 21, 0.35); }
.chem-switch a[aria-current="page"] { border-color: var(--ink); background: var(--fog); }
.chem-switch .swatch { grid-row: span 2; width: 30px; height: 30px; border-radius: 8px; margin: 0; }
.chem-switch strong { font-weight: 750; line-height: 1.2; }
.chem-switch span:last-child { font-size: 0.84rem; color: var(--ink-3); }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.buy-row .btn { --btn-bg: var(--p-accent); --btn-fg: var(--p-on-accent); min-height: 52px; }
.buy-row .btn:hover { --btn-bg: var(--p-accent-hover); }
.theme-ice .buy-row .btn { --btn-bg: var(--ink); --btn-fg: var(--white); }
.theme-ice .buy-row .btn:hover { --btn-bg: #2b2d2b; }
.assure { display: grid; gap: 12px; padding: 18px 20px; border-radius: 14px; background: var(--p-soft); }
.assure li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 0.97rem; }
.assure .icon { width: 26px; height: 26px; color: var(--p-text); }
.spec-mini { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--line); border-radius: 14px; }
.spec-mini div { padding: 14px 16px; }
.spec-mini div + div { border-left: 1.5px solid var(--line); }
.spec-mini dt { font-size: 0.8rem; color: var(--ink-3); font-weight: 600; }
.spec-mini dd { font-weight: 800; font-size: 1.15rem; font-stretch: 86%; }

.pdp-detail { margin-top: 20px; background: var(--graphite-900); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
.pdp-detail h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; font-stretch: 78%; text-transform: uppercase; line-height: 1; margin-bottom: 18px; }
.pdp-detail h2.accent { color: var(--ice); font-size: 1.15rem; font-stretch: 90%; letter-spacing: 0.01em; }
.theme-pine .pdp-detail h2.accent { color: #7fbfae; }
.pdp-detail .copy { color: rgba(255, 255, 255, 0.82); display: grid; gap: 34px; }
.pdp-detail .copy p { max-width: 58ch; }
.pdp-detail ul.ticks { display: grid; gap: 10px; padding: 0; list-style: none; }
.pdp-detail ul.ticks li { position: relative; padding-left: 28px; }
.pdp-detail ul.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 12px; height: 7px; border-left: 2.5px solid var(--ice); border-bottom: 2.5px solid var(--ice); transform: rotate(-45deg); }
.specs { display: grid; align-content: start; }
.specs div { display: grid; grid-template-columns: minmax(150px, 0.9fr) 1.4fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-on-dark); }
.specs div:first-child { padding-top: 0; }
.specs dt { font-weight: 750; color: var(--ice); text-transform: uppercase; font-size: 0.86rem; letter-spacing: 0.04em; }
.theme-pine .specs dt { color: #7fbfae; }
.specs dd { color: rgba(255, 255, 255, 0.88); }
.specs .tbc { color: rgba(255, 255, 255, 0.45); font-style: italic; }

.sticky-atc {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center;
  width: min(440px, calc(100vw - 40px)); padding: 12px; border-radius: 16px; background: var(--white); color: var(--ink);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28); transform: translateY(130%); transition: transform 0.5s var(--ease-out);
}
.sticky-atc.is-visible { transform: none; }
.sticky-atc img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--graphite-900); }
.sticky-atc__name { font-weight: 750; font-size: 0.95rem; line-height: 1.2; }
.sticky-atc .btn { min-height: 46px; padding: 0 18px; }

.cross { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.cross__media { background: var(--graphite-900); min-height: 320px; }
.cross__media img { width: 100%; height: 100%; object-fit: cover; }
.cross__body { padding: clamp(28px, 4vw, 56px); display: grid; gap: 16px; align-content: center; }

/* ---------- Shop page ---------- */
.shop-zone { background: var(--pine-900); color: var(--white); position: relative; overflow: hidden; }

/* ---------- Cart page + checkout ---------- */
.cart-layout, .co-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.panel { background: var(--white); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); }
.panel + .panel { margin-top: 16px; }
.panel__title { font-size: 1.35rem; font-weight: 800; font-stretch: 80%; text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.panel__title .step-badge { width: 30px; height: 30px; border-radius: 50%; background: var(--pine); color: var(--white); display: grid; place-items: center; font-size: 0.95rem; font-stretch: 100%; }
.panel__sub { margin: -6px 0 20px; color: var(--ink-2); max-width: 64ch; text-wrap: pretty; }
.code-step { margin-top: 16px; padding: 18px 20px 20px; border-radius: 14px; background: var(--fog); display: grid; gap: 14px; }
.code-step__text { color: var(--ink-2); max-width: 56ch; }
.code-step__text strong { color: var(--ink); }
.code-step .otp-input { max-width: 380px; }
.code-step .otp-input__box { height: 52px; background: var(--white); }
.code-step__error { color: #a3352b; font-weight: 600; font-size: 0.92rem; }
.code-step__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 650; font-size: 0.92rem; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.link-btn:hover { text-decoration-thickness: 2.5px; }
.link-btn[disabled] { color: var(--ink-3); text-decoration: none; cursor: default; }
.signed-as { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 10px; font-size: 0.94rem; color: var(--ink-2); }
.input[readonly] { background: var(--fog); color: var(--ink-2); }

/* ---------- Account, signed in: orders, addresses, profile ---------- */
.acct { padding-block: clamp(32px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.acct__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: clamp(20px, 3vw, 32px); }
.acct__who { color: var(--ink-2); margin-top: 10px; }
.acct-tabs { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--white); width: max-content; max-width: 100%; overflow-x: auto; margin-bottom: 20px; }
.acct-tab { border: 0; background: none; padding: 10px 18px; border-radius: 999px; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.acct-tab[aria-selected="true"] { background: var(--pine); color: var(--white); }
.acct-list { display: grid; gap: 16px; }
.acct-list > .panel + .panel, .addr-grid > .panel + .panel { margin-top: 0; }
.order-card { display: grid; gap: 14px; }
.order-card__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.order-card__num { font-weight: 800; font-size: 1.15rem; }
.order-card__meta { color: var(--ink-3); font-size: 0.92rem; }
.order-card__lines { display: grid; gap: 4px; color: var(--ink-2); }
.order-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.status-pill { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; background: var(--ice-200); color: var(--ice-900); }
.status-pill--done { background: rgba(30, 63, 58, 0.12); color: var(--pine); }
.status-pill--bad { background: rgba(163, 53, 43, 0.12); color: #a3352b; }
.order-detail { display: grid; gap: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.order-detail__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px; }
.order-detail h3 { font-size: 0.95rem; font-weight: 800; margin-bottom: 8px; }
.order-detail address { font-style: normal; color: var(--ink-2); line-height: 1.55; }
.order-steps { display: grid; gap: 8px; list-style: none; padding: 0; margin: 0; }
.order-steps li { display: flex; gap: 10px; align-items: baseline; color: var(--ink-3); }
.order-steps li.is-done { color: var(--ink); }
.order-steps li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; flex: none; transform: translateY(1px); }
.order-steps li.is-done::before { background: var(--pine); border-color: var(--pine); }
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.addr-card { display: grid; gap: 12px; align-content: start; }
.addr-card address { font-style: normal; color: var(--ink-2); line-height: 1.55; }
.acct-form { display: grid; gap: 18px; max-width: 720px; }
.acct-empty { display: grid; gap: 14px; justify-items: start; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.summary .line-item { grid-template-columns: 64px 1fr auto; padding: 12px 0; }
.summary .line-item img { width: 64px; height: 64px; }
.co-options { display: grid; gap: 10px; }
.co-pick { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease; }
.co-pick:has(input:checked) { border-color: var(--pine); background: rgba(30, 63, 58, 0.05); }
.co-pick input { width: 20px; height: 20px; accent-color: var(--pine); margin: 0; }
.co-pick strong { display: block; font-weight: 700; }
.co-pick small { color: var(--ink-3); font-size: 0.88rem; }
.co-pick__end { font-weight: 700; }
.card-field { display: grid; gap: 12px; padding: 16px; border-radius: 12px; background: var(--fog); margin-top: 10px; }
.secure-note { display: flex; gap: 8px; align-items: center; font-size: 0.88rem; color: var(--ink-3); }
.secure-note .icon { width: 18px; height: 18px; }

/* ---------- Support page ---------- */
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 22px; border-radius: var(--r-md); background: var(--white); align-items: start; }
.contact-card .icon { width: 36px; height: 36px; color: var(--pine); }
.contact-card strong { display: block; font-weight: 750; font-size: 1.05rem; }
.contact-card p { color: var(--ink-2); margin-top: 2px; }
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.policy { padding: 28px; border-radius: var(--r-lg); background: var(--fog); display: grid; gap: 12px; align-content: start; }
.policy .icon { width: 44px; height: 44px; color: var(--pine); }
.policy p { color: var(--ink-2); }
.placeholder-note { display: inline-block; padding: 2px 8px; border-radius: 6px; background: rgba(184, 148, 106, 0.2); color: #6b4f2c; font-size: 0.8rem; font-weight: 700; }

/* ---------- Account / sign-in ---------- */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100svh - var(--header-h)); }
.auth__media { position: relative; background: var(--graphite-900); overflow: hidden; }
.auth__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.auth__body { display: grid; align-content: center; padding: clamp(32px, 6vw, 96px); background: var(--fog); }
.auth__form { width: 100%; max-width: 420px; display: grid; gap: 18px; }
.otp-input { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp-input__box { text-align: center; font-size: 1.4rem; font-weight: 800; padding: 0; height: 58px; }

/* ---------- Reveal (hero load only) ---------- */
.js-motion .hero__title .line > span { transform: translateY(105%); }
.js-motion .hero__row, .js-motion .hero__media { opacity: 0; }
.motion-ready .hero__title .line > span { transform: none; transition: transform 1s var(--ease-out); }
.motion-ready .hero__title .line:nth-child(2) > span { transition-delay: 0.1s; }
.motion-ready .hero__row { opacity: 1; transition: opacity 0.8s ease 0.5s; }
.motion-ready .hero__media { opacity: 1; transition: opacity 1.2s ease 0.15s; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .site-nav { display: none; }
  .site-header__burger { display: inline-grid; }
  .site-header__inner { gap: 8px; }
  .site-header__logo { margin-inline: auto; }
  .site-header__actions { margin-left: 0; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand, .footer__signup { grid-column: 1 / -1; }
  .help-grid { grid-template-columns: repeat(2, 1fr); }
  .help-tile:nth-child(3) { border-left: 0; }
  .help-tile:nth-child(n + 3) { border-top: 1px solid var(--line-on-dark); }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .site-header__logo img { width: 128px; }
  .hero { padding: 0 12px 12px; }
  .hero__frame { min-height: calc(100svh - var(--header-h) - 60px); }
  .facts__grid, .steps, .guides, .policy-grid { grid-template-columns: 1fr; }
  .facts__grid { gap: 36px; }
  .duo { grid-template-columns: 1fr; }
  .faq-layout, .support-grid, .cart-layout, .co-layout, .pdp, .pdp-detail, .cross, .auth { grid-template-columns: 1fr; }
  .faq-layout > :first-child, .summary, .gallery { position: static; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-template-columns: repeat(4, 64px); order: 2; }
  .auth__media { display: none; }   /* phones: only the sign-in form, starting near the top */
  .auth { min-height: 0; }
  .auth__body { align-content: start; padding-top: clamp(40px, 9vw, 72px); padding-bottom: clamp(56px, 12vw, 96px); }
  .guide { min-height: 0; }
  .arc { --arc-offset: 56vw; --slide-w: 62vw; }
  .arc__label { display: none; }
  .arc__nav { padding-inline: 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .announce { font-size: 0.8rem; padding-block: 9px; }
  .help-grid { grid-template-columns: 1fr; }
  .help-tile + .help-tile { border-left: 0; border-top: 1px solid var(--line-on-dark); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .compare th, .compare td { padding: 14px 12px; font-size: 0.92rem; }
  .compare thead th:first-child, .compare tbody th { width: 30%; }
  .compare__head strong { font-size: 1.05rem; }
  .form-grid { grid-template-columns: 1fr; }
  .specs div { grid-template-columns: 1fr; gap: 4px; }
  .spec-mini { grid-template-columns: 1fr 1fr 1fr; }
  .spec-mini div { padding: 12px; }
  .chem-switch a { grid-template-columns: 1fr; padding: 12px; }
  .chem-switch .swatch { grid-row: auto; width: 22px; height: 22px; margin-bottom: 4px; }
  .compare .btn { white-space: normal; min-height: 44px; padding: 8px 12px; font-size: 0.9rem; text-align: center; }
  .sticky-atc { right: 10px; left: 10px; bottom: 10px; width: auto; grid-template-columns: 52px 1fr auto; }
  .sticky-atc img { width: 52px; height: 52px; }
  .arc__info { min-height: 250px; }
  .feature-card { width: 82vw; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js-motion .hero__title .line > span { transform: none; }
  .js-motion .hero__row, .js-motion .hero__media { opacity: 1; }
}
