/* Frigovin v4 — premium warm palette (colours only; layout, type and motion as v3) */

@font-face {
  font-family: "Albert Sans";
  src: url("fonts/albertsans-latin-ext.woff2") format("woff2");
  font-weight: 300 500;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Albert Sans";
  src: url("fonts/albertsans-latin.woff2") format("woff2");
  font-weight: 300 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Small-viewport unit with a vh fallback for browsers without svh (iOS < 15.4, older Android) */
:root { --svh: 1vh; }
@supports (height: 1svh) { :root { --svh: 1svh; } }

:root {
  /* world */
  --stone: #eeebe6; /* hero wall: v3 grey, nudged a touch warmer */
  --floor: #e3dfd9;
  --ink: #141414;
  --ink-2: #55585a;
  --frost: #dbe2df;
  --clay: #e7ded6;
  --lees: #242321; /* v4: graphite replaces wine-lees as the dark room */

  /* v3 rooms: warm neutrals from the reference */
  --ivory: #f1ece5;
  --paper: var(--ivory);
  --sand: #ddd0c1;
  --sand-2: #e6dcd0;
  --taupe: #a99a8b;
  --umber: #62564d;
  --graphite: #242321;
  --brass: #8f7f70; /* short rules: muted taupe-brown, no gold */
  --seam: rgb(98 86 77 / 0.22);
  --warm-2: #5e554e; /* secondary text on light warm rooms */
  --warm-line: rgb(98 86 77 / 0.2);
  /* Procedural textures: tiny SVG noise tiles, no image downloads */
  --tex-stone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='480'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.011' numOctaves='5' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.39 0 0 0 0 0.35 1.6 0 0 0 -0.62'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  --tex-plaster: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.36 0 0 0 0 0.32 0 0 0 0 0.28 0 0 0 0.9 -0.32'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
  --on-lees: #f1ece5;
  --on-lees-2: #bfb4a8;

  /* live theme (tweened on scroll) */
  --bg: var(--stone);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --line: rgb(20 20 20 / 0.14);
  --fill: var(--umber);
  --err: #9b2335;

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --max: 90rem;
  --hdr: 4.5rem;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);

  --f: "Albert Sans", ui-sans-serif, system-ui, sans-serif;
  --t-sm: 0.8125rem;
  --t-body: 1.0625rem;
  --t-lead: clamp(1.125rem, 1.2vw, 1.3125rem);
  --t-h3: 1.375rem;
  --t-h2: clamp(2.25rem, 4.6vw, 4.25rem);
  --t-display: clamp(2.75rem, 5.4vw, 6rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--f);
  font-weight: 400;
  font-size: var(--t-body);
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

h1, h2 { font-weight: 300; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-weight: 400; letter-spacing: -0.015em; line-height: 1.25; }
.num { font-variant-numeric: tabular-nums lining-nums; }

::selection { background: var(--graphite); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: color-mix(in srgb, var(--fg) 45%, transparent) transparent; scrollbar-width: thin; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--fg); color: var(--bg); padding: 0.6rem 1rem; border-radius: 99px; transition: top 200ms var(--ease-out); }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--fg-2); }
.placeholder { color: var(--fg-2); text-decoration: underline dashed 1px; text-underline-offset: 0.3em; }

/* ---------- Buttons ---------- */
.btn {
  --h: 3.25rem;
  position: relative;
  display: inline-flex; align-items: center; gap: 0.75rem;
  height: var(--h); padding-inline: 1.6rem;
  border-radius: 99px;
  background: var(--fg); color: var(--bg);
  font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.005em;
  overflow: hidden; isolation: isolate;
  transition: transform 160ms var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn--sm { --h: 2.5rem; padding-inline: 1.15rem; font-size: 0.875rem; gap: 0.5rem; }
.btn-fill {
  position: absolute; inset: 0; z-index: -1;
  background: var(--fill);
  clip-path: inset(100% 0 0 0 round 99px);
  transition: clip-path 420ms var(--ease-out);
}
.btn .arrow { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform 300ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn-fill { clip-path: inset(0 0 0 0 round 99px); }
  .btn:hover .arrow { transform: translateX(3px); }
}
.btn--light { --fill: var(--ivory); background: var(--sand); color: var(--graphite); }
.btn--light .btn-label, .btn--light .arrow { transition: color 300ms ease; }
@media (hover: hover) and (pointer: fine) { .btn--light:hover { color: var(--graphite); } }
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.7; }

.count:empty { display: none; }
.count {
  min-width: 1.35rem; height: 1.35rem; padding-inline: 0.35rem; margin-right: -0.4rem;
  display: inline-grid; place-items: center;
  border-radius: 99px; background: var(--bg); color: var(--fg);
  font-size: 0.75rem; line-height: 1;
}

.link {
  position: relative; font-size: 0.9375rem; font-weight: 500; padding-block: 0.4rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 400ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link:hover { background-size: 0% 1px; background-position: 100% 100%; }
}

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--hdr);
  color: var(--fg);
  transition: background-color 300ms ease, box-shadow 300ms ease, transform 400ms var(--ease-out);
}
.hdr.is-scrolled {
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.hdr.is-hidden { transform: translateY(-100%); box-shadow: none; }
.hdr-in { height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; color: inherit; }
.brand .mark { width: 1.55rem; height: auto; }
.brand .word { width: 7.25rem; height: auto; }
.nav { display: flex; gap: 2rem; margin-left: auto; font-size: 0.9375rem; }
.nav a { position: relative; padding-block: 0.4rem; color: var(--fg-2); transition: color 200ms ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 350ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--fg); }
  .nav a:hover::after { transform: scaleX(1); transform-origin: left; }
}
.hdr-tools { display: flex; align-items: center; gap: 1.25rem; }
.lang { display: flex; gap: 0.15rem; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em; }
.lang > * { padding: 0.35rem 0.4rem; border-radius: 4px; }
.lang [aria-current] { color: var(--fg); }
.lang a { color: var(--fg-2); transition: color 200ms ease; }
.lang a:hover { color: var(--fg); }
.menu-btn { display: none; width: 2.75rem; height: 2.75rem; place-items: center; margin-right: -0.6rem; }
.menu-btn svg { width: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.menu-btn path { transition: d 300ms var(--ease-out); }
.menu-btn[aria-expanded="true"] path { d: path("M6 6l12 12M6 18L18 6"); }

.sheet {
  position: fixed; inset: 0; z-index: 40;
  background: var(--bg); color: var(--fg);
  padding: calc(var(--hdr) + 2rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 380ms var(--ease-io), visibility 0s linear 380ms;
  visibility: hidden;
}
.sheet.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 420ms var(--ease-io), visibility 0s; }
.sheet nav { display: flex; flex-direction: column; }
.sheet nav a { font-size: clamp(2rem, 9vw, 2.75rem); font-weight: 300; letter-spacing: -0.03em; padding-block: 0.55rem; border-bottom: 1px solid var(--line); }
.sheet[hidden] { display: flex; }

@media (max-width: 960px) {
  .nav { display: none; }
  .hdr-tools { margin-left: auto; gap: 0.75rem; }
  .hdr-tools > .lang { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 420px) {
  .hdr-tools .btn-label { font-size: 0.8125rem; }
  .brand .word { width: 6rem; }
  .hdr-tools .btn-label { white-space: nowrap; }
}
@media (max-width: 360px) { /* iPhone SE and small Androids: keep the header on one line */
  .hdr-tools { gap: 0.5rem; }
  .hdr-tools .btn { padding-inline: 0.9rem; }
  .hdr-tools .btn-label { font-size: 0.75rem; }
  .brand .word { width: 5rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero-stage {
  position: relative;
  min-height: calc(100 * var(--svh));
  padding: calc(var(--hdr) + 2rem) var(--gutter) 2rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1.5rem;
  overflow: hidden;
}
@media (min-width: 961px) {
  .hero-stage { --horizon: min(79%, calc(100% - 13.5rem)); background: linear-gradient(to bottom, transparent 0 var(--horizon), var(--floor) var(--horizon) 100%); }
}
.hero-stage::before { /* horizon */
  content: none; position: absolute; left: 0; right: 0; top: var(--horizon, 79%); height: 1px; background: var(--line);
  transform-origin: center; transform: scaleX(var(--hz, 1));
}
.hero-title { font-size: clamp(2.6rem, 12vw, 4rem); position: relative; z-index: 1; }
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line > span { display: inline-block; }
.l2 { padding-left: 0.9em; }

.hero-object { position: relative; z-index: 2; display: grid; place-items: end center; min-height: 0; }
.hero-object .product { height: min(calc(52 * var(--svh)), 30rem); }
.product { position: relative; display: block; width: max-content; }
.product img { height: 100%; width: auto; max-width: none; user-select: none; -webkit-user-drag: none; }
.sheen {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--mask) center / contain no-repeat;
  mask: var(--mask) center / contain no-repeat;
  background: linear-gradient(100deg, transparent 38%, rgb(255 255 255 / 0.38) 50%, transparent 62%) 130% 0 / 300% 100% no-repeat;
  opacity: 0;
}
.sheen.run { animation: sheen 1500ms var(--ease-io) both; }
@keyframes sheen {
  0% { background-position: 130% 0; opacity: 1; }
  100% { background-position: -30% 0; opacity: 1; }
}
.floor-shadow {
  position: absolute; left: -12%; right: -12%; bottom: -0.7rem; height: 2.4rem;
  background: radial-gradient(closest-side, rgb(20 20 20 / 0.32), rgb(20 20 20 / 0.12) 55%, transparent);
  filter: blur(4px);
  pointer-events: none;
}

.hero-statement { font-size: clamp(2.5rem, 4.4vw, 4.75rem); font-weight: 300; letter-spacing: -0.025em; line-height: 1.2; max-width: min(48rem, 44vw); display: none; }
.hero-statement span { display: block; }
.hero-statement .muted { margin-top: 1.1em; font-size: var(--t-lead); letter-spacing: 0; line-height: 1.5; font-weight: 400; max-width: 24rem; }

.hero-foot { position: relative; z-index: 3; display: grid; gap: 1.25rem; max-width: 27rem; }
/* Text column ends 2rem before the cooler: half viewport minus half the object (284/482 ≈ 0.59 of its height) */
@media (min-width: 961px) { .hero-foot { max-width: min(34rem, calc(50vw - min(calc(72 * var(--svh)), 48rem) * 0.295 - var(--gutter) - 2rem)); } }
.hero-sub { color: var(--fg-2); font-size: var(--t-lead); line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.hero-index { display: none; }

@media (min-width: 961px) {
  .hero-stage { display: block; height: calc(100 * var(--svh)); min-height: 40rem; padding: 0; }
  .hero-stage::before { content: ""; }
  .hero-title { position: absolute; inset: 0; font-size: var(--t-display); pointer-events: none; }
  .hero-title .line { position: absolute; }
  .hero-title .l1 { right: calc(50% + calc(15.5 * var(--svh)) + 2.5vw); top: 25%; text-align: right; }
  .hero-title .l2 { left: calc(50% + calc(15.5 * var(--svh)) + 2.5vw); top: 46%; padding-left: 0; }
  .hero-object { position: absolute; left: 0; right: 0; margin-inline: auto; width: max-content; bottom: 13%; height: min(calc(72 * var(--svh)), 48rem); display: block; }
  .hero-object .product { height: 100%; }
  .hero-foot { position: absolute; left: var(--gutter); bottom: calc(4.5 * var(--svh)); }
  .hero-index {
    display: grid; gap: 0.25rem; position: absolute; right: var(--gutter); bottom: calc(4.5 * var(--svh)); z-index: 3;
    font-size: var(--t-sm); min-width: 15rem;
  }
  .hero-index a { display: flex; justify-content: space-between; gap: 2rem; padding-block: 0.55rem; border-top: 1px solid var(--line); color: var(--fg-2); transition: color 200ms ease; }
  .hero-index a .num { color: var(--fg); font-weight: 500; }
  .hero-index a:hover { color: var(--fg); }
}

/* v3: warm surface that fades in behind the audience line (own scroll tween, see app.js) */
.hero-warm { display: none; }
@media (min-width: 961px) {
  /* Full-stage layer in the wall grey hides the floor band, so the scene reads as two colours */
  .cine .hero-warm {
    display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    opacity: 0; visibility: hidden;
    background: var(--sand-2);
  }
  .cine .hero-warm::before {
    content: ""; position: absolute; inset: 0;
    background: var(--tex-plaster), var(--sand);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H57C49 28 61 62 52 100H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H57C49 28 61 62 52 100H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  }
}

/* Cinematic mode (desktop + motion allowed): the statement lives inside the pinned stage */
.cine .hero-statement { display: block; position: absolute; left: var(--gutter); top: 24%; z-index: 3; opacity: 0; visibility: hidden; }
/* Intro: hidden until GSAP plays it (html.ready is a failsafe if scripts never run) */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.ready) [data-intro-line] { transform: translateY(110%); }
  .js:not(.ready) [data-intro],
  .js:not(.ready) .hero-object { opacity: 0; }
}

/* ---------- Rooms (v3): each section gets its own surface and a quiet seam ---------- */
.collection, .anatomy, .compare, .process { position: relative; isolation: isolate; border-top: 1px solid var(--seam); }
.collection { --fg-2: var(--warm-2); --line: var(--warm-line); background: var(--tex-stone), var(--ivory); overflow: hidden; }
.collection::before { /* soft stone arc at the edge, as in the reference */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: -24vw; bottom: -38vw; width: 70vw; aspect-ratio: 1; border-radius: 50%;
  background: var(--tex-stone), #e9e2d9; border: 1px solid rgb(169 154 139 / 0.3);
}
/* The darker accent room: muted taupe, text and callouts re-inked for contrast */
.anatomy {
  --fg: #1d1b19; --fg-2: #2b2621; --line: rgb(36 35 33 / 0.3); --anat-bg: #a39484;
  background: var(--tex-plaster), var(--anat-bg); color: var(--fg); border-top-color: rgb(36 35 33 / 0.18);
}
.compare { --fg-2: var(--warm-2); --line: rgb(169 154 139 / 0.42); background: var(--ivory); }
.process { --fg-2: var(--warm-2); background: var(--tex-plaster), var(--sand); overflow: hidden; }
.process::before { /* one thin arc drawn off the right edge */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: -16rem; top: -10rem; width: 36rem; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgb(98 86 77 / 0.12); box-shadow: 0 0 0 3.5rem rgb(241 236 229 / 0.16);
}

/* ---------- Section heads ---------- */
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.5rem; align-items: end; margin-bottom: clamp(3rem, 7vw, 6rem); }
.sec-head h2 { grid-column: 1 / 8; }
.sec-head p { grid-column: 9 / 13; color: var(--fg-2); max-width: 26rem; }
@media (max-width: 860px) {
  .sec-head { display: block; }
  .sec-head p { margin-top: 1.5rem; }
}
/* Models intro: framed card, centred against the heading (same language as .anat-note) */
.collection .sec-head { align-items: center; }
.collection .sec-head p {
  grid-column: 8 / 13; justify-self: end; max-width: 27rem; text-align: center;
  padding: 1.6rem 2rem 1.75rem; border-radius: 14px;
  background: rgb(232 224 214 / 0.72); box-shadow: inset 0 0 0 1px rgb(169 154 139 / 0.3);
}
.collection .sec-head p::before { content: ""; display: block; width: 2.75rem; height: 1px; margin: 0 auto 1.1rem; background: var(--brass); }
@media (max-width: 860px) {
  .collection .sec-head p { margin-top: 2rem; max-width: none; }
}
.reveal-line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.reveal-line > span { display: inline-block; }

/* ---------- Collection ---------- */
.collection { padding-block: clamp(5.5rem, 11vw, 10rem); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 4.5rem); row-gap: 4rem; }
.tile { display: grid; grid-template-rows: auto 1fr; }
.tile-field {
  position: relative; display: grid; place-items: end center; grid-template-rows: minmax(0, 1fr);
  aspect-ratio: 1 / 1; padding-bottom: 11%; border-radius: 4px;
  overflow: hidden;
  transition: background-color 500ms ease;
}
.field--clay { background: #e8e0d6; box-shadow: inset 0 0 0 1px rgb(169 154 139 / 0.28); }
.field--frost { background: #e4ded8; box-shadow: inset 0 0 0 1px rgb(169 154 139 / 0.28); }
/* Same floor line in both cards; heights follow the real 892 : 1415 mm ratio */
.tile-field .float { height: 78%; position: relative; z-index: 1; }
.tile--short .tile-field .float { height: 49%; } /* 78% × 892 / 1415 mm */
.float-inner { height: 100%; }
.tile-field .product { height: 100%; transition: transform 700ms var(--ease-out); }
.tile-shadow {
  position: absolute; left: 50%; bottom: calc(11% - 0.7rem); width: 44%; height: 1.6rem;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgb(20 20 20 / 0.3), rgb(20 20 20 / 0.1) 55%, transparent);
  filter: blur(3px);
  transition: transform 700ms var(--ease-out), opacity 700ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .tile-field:hover .product { transform: translateY(-10px) scale(1.015); }
  .tile-field:hover .tile-shadow { transform: translateX(-50%) scale(0.86); opacity: 0.6; }
  .field--clay:hover { background: #e2d8cc; }
  .field--frost:hover { background: #ddd6ce; }
}
.tile-body { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); margin-top: 1.5rem; }
.tile-body h3 { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.01em; }
.tile-body p { color: var(--fg-2); margin-top: 0.35rem; max-width: 26rem; }

.pick {
  flex: none; display: inline-flex; align-items: center; gap: 0.5rem;
  height: 2.75rem; padding-inline: 1.1rem; border-radius: 99px;
  border: 1px solid var(--line);
  border: 1px solid color-mix(in srgb, var(--fg) 30%, transparent);
  font-size: 0.875rem; font-weight: 500;
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease, transform 160ms var(--ease-out);
}
.pick svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.pick .i-check, .pick .pick-on { display: none; }
.pick[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pick[aria-pressed="true"] .i-check, .pick[aria-pressed="true"] .pick-on { display: inline; }
.pick[aria-pressed="true"] .i-plus, .pick[aria-pressed="true"] .pick-off { display: none; }
.pick[aria-pressed="true"] .i-check path { stroke-dasharray: 20; animation: draw 360ms var(--ease-out) both; }
@keyframes draw { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }
.pick:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .pick:hover { border-color: var(--fg); } }

@media (max-width: 860px) {
  .tiles { display: block; }
  .tile + .tile { margin-top: 4rem; }
  .tile-body { flex-direction: column; gap: 1rem; }
}

/* ---------- Anatomy ---------- */
.anatomy { position: relative; }
.anat-pin {
  min-height: calc(100 * var(--svh));
  padding: calc(var(--hdr) + 1.5rem) var(--gutter) 3rem;
  max-width: var(--max); margin-inline: auto;
  display: grid; grid-template-rows: auto 1fr auto; gap: 2rem;
}
.anat-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.anat-head h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.anat-head p { color: var(--fg-2); max-width: 22rem; }
.anat-stage { display: grid; place-items: center; min-height: 0; }
.anat-fig { --reach: clamp(10rem, 17vw, 17rem); --fw: calc(min(calc(54 * var(--svh)), 36rem) * 313 / 359); position: relative; height: min(calc(54 * var(--svh)), 36rem); aspect-ratio: 313 / 359; }
/* Note card: beside the cooler, above the right-hand callouts */
.anat-note {
  /* bottom edge sits just above the "LED panel" callout (centred at 42%), the card grows upward */
  position: absolute; left: calc(100% + 2.5rem); bottom: calc(58% + 3.25rem);
  width: min(19rem, calc((min(100vw, var(--max)) - var(--fw)) / 2 - var(--gutter) - 3rem));
  padding: 1.6rem 1.75rem 1.7rem; border-radius: 14px;
  background: #9a8b7c; box-shadow: inset 0 0 0 1px rgb(36 35 33 / 0.12);
}
.anat-note::before { content: ""; display: block; width: 2.75rem; height: 1px; background: #4f453c; margin-bottom: 1.1rem; }
.anat-note p { font-size: 1.0625rem; line-height: 1.5; color: var(--fg); }
@media (min-width: 961px) and (max-width: 1200px) {
  .anat-note { padding: 1.25rem 1.35rem 1.35rem; }
  .anat-note::before { margin-bottom: 0.85rem; }
  .anat-note p { font-size: 0.9375rem; line-height: 1.45; }
}
.anat-fig img { height: 100%; width: auto; }
.co { position: absolute; top: var(--ay); display: flex; align-items: center; transform: translateY(-50%); }
.co p { flex: none; width: calc(var(--reach) - 2rem); font-size: 0.9375rem; line-height: 1.35; }
.co p strong { display: block; font-weight: 500; }
.co p span { display: block; color: var(--fg-2); font-size: var(--t-sm); margin-top: 0.15rem; }
.co i { position: relative; flex: 1; height: 1px; background: var(--fg); box-shadow: 0 0 0 1px rgb(241 236 229 / 0.18); }
.co i::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 2px var(--anat-bg, var(--stone)); }
.co--l { right: calc(100% - var(--ax)); width: calc(var(--ax) + var(--reach)); }
.co--l p { text-align: right; padding-right: 1rem; }
.co--l i { transform-origin: right center; }
.co--l i::after { right: -3px; }
.co--r { left: var(--ax); width: calc(100% - var(--ax) + var(--reach)); }
.co--r p { padding-left: 1rem; }
.co--r i { transform-origin: left center; }
.co--r i::after { left: -3px; }
.dim { position: absolute; font-size: var(--t-sm); color: var(--fg-2); }
.dim--w { left: 9%; right: 6%; top: calc(100% + 1rem); border-top: 1px solid var(--fg-2); text-align: center; padding-top: 0.4rem; transform-origin: center; }
.dim--w::before, .dim--w::after { content: ""; position: absolute; top: -5px; width: 1px; height: 9px; background: var(--fg-2); }
.dim--w::before { left: 0; } .dim--w::after { right: 0; }

.figures { display: grid; grid-template-columns: 1fr 1fr 1fr 1.7fr; column-gap: 1.5rem; }
.figures > div { border-top: 1px solid var(--line); padding-top: 0.9rem; }
.figures dt { font-size: var(--t-sm); color: var(--fg-2); }
.figures dd { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; margin-top: 0.3rem; display: flex; align-items: baseline; gap: 0.35rem; flex-wrap: wrap; }
.figures small { font-size: 0.9375rem; letter-spacing: 0; color: var(--fg-2); font-weight: 400; }

@media (max-width: 960px) {
  .anat-pin { display: block; padding-top: clamp(4rem, 12vw, 6rem); }
  .anat-head { display: block; margin-bottom: 2.5rem; }
  .anat-head p { margin-top: 1rem; }
  .anat-fig { height: auto; width: 100%; aspect-ratio: auto; margin-bottom: 3rem; display: flex; flex-direction: column; }
  .anat-note { position: static; order: -1; width: auto; max-width: 30rem; margin-bottom: 2.5rem; }
  .anat-fig img { width: min(78%, 22rem); height: auto; margin: 0 auto 2.5rem; }
  .co { position: relative; inset: auto; transform: none; width: auto !important; display: block; padding-block: 0.9rem; }
  .co::before { /* row rule, drawn in by GSAP via --draw */
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line);
    transform-origin: left center; transform: scaleX(var(--draw, 1));
  }
  .co i, .dim { display: none; }
  .co p, .co--l p, .co--r p { width: auto; text-align: left; padding: 0; display: grid; grid-template-columns: 1fr 1.15fr; gap: 1rem; }
  .co p span { margin-top: 0; }
  .figures { grid-template-columns: 1fr 1fr; row-gap: 1.75rem; }
  .figures > div:last-child { grid-column: 1 / -1; }
}

/* ---------- Compare ---------- */
.compare { padding-block: clamp(5rem, 10vw, 8.5rem); }
.compare .sec-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.table-wrap { overflow-x: auto; }
.spec { width: 100%; border-collapse: collapse; font-size: 0.9875rem; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 1.05rem 1rem 1.05rem 0; border-bottom: 1px solid var(--line); }
.spec thead th { border-bottom: 1px solid var(--fg); padding-bottom: 1.25rem; vertical-align: bottom; }
.spec thead th + th, .spec tbody td { padding-left: 1.5rem; border-left: 1px solid var(--line); }
/* Shared floor line; heights follow the real 892 : 1415 mm ratio, proportions untouched */
.spec thead img { height: clamp(6.6rem, 10.7vw, 9.15rem); width: auto; margin-bottom: 1.25rem; }
.spec thead th:nth-child(3) img { height: clamp(10.5rem, 17vw, 14.5rem); }
.spec tbody tr:hover > * { background: rgb(221 208 193 / 0.35); }
.spec thead .num { font-size: 1.25rem; font-weight: 500; }
.spec tbody th { font-weight: 400; color: var(--fg-2); width: 30%; }
.spec td { width: 35%; }
@media (max-width: 700px) {
  .spec tbody th { width: 34%; }
  .spec td { width: 33%; }
}
@media (max-width: 600px) {
  .spec { font-size: 0.8125rem; }
  .spec th, .spec td { padding-right: 0.5rem; }
  .spec thead img { height: 4.75rem; }
  .spec thead th:nth-child(3) img { height: 7.5rem; }
  .spec thead th + th, .spec tbody td { padding-left: 0.75rem; }
  .spec thead .num { font-size: 1rem; }
}

/* ---------- Process ---------- */
.process { padding-block: clamp(5rem, 10vw, 8.5rem); }
.process h2 { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 18ch; }
.rail { height: 1px; background: var(--line); position: relative; }
.rail span { position: absolute; inset: 0; background: currentColor; transform-origin: left; transform: scaleX(1); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(2.5rem, 4.5vw, 3.75rem); }
.steps li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0.5rem clamp(1.25rem, 3vw, 3rem) 0.75rem; }
.steps li + li { border-left: 1px solid rgb(98 86 77 / 0.28); }
.steps .step-n {
  display: grid; place-items: center; width: 4.5rem; height: 4.5rem; margin-bottom: 1.6rem;
  border: 1px solid var(--fg); border-radius: 50%; background: none;
  font-size: 1.875rem; font-weight: 500; line-height: 1; color: var(--fg); letter-spacing: 0;
}
.steps h3 { margin-bottom: 0.7rem; font-weight: 500; }
.steps p { color: var(--fg-2); max-width: 21rem; }
@media (max-width: 760px) {
  .rail { display: none; }
  .steps { grid-template-columns: 1fr; margin-top: 0; }
  .steps li { padding: 2.25rem 0; border-top: 1px solid rgb(98 86 77 / 0.28); }
  .steps li + li { border-left: 0; }
  .steps .step-n { width: 3.75rem; height: 3.75rem; font-size: 1.5rem; margin-bottom: 1.25rem; }
}

/* ---------- Quote (dark) ---------- */
.quote, .ftr {
  --bg: var(--lees); --fg: var(--on-lees); --fg-2: var(--on-lees-2);
  --line: rgb(241 236 229 / 0.16); --fill: var(--ivory); --err: #f2a99c;
  background: var(--bg); color: var(--fg);
}
.themed .ftr { background: transparent; }
.quote { padding-block: clamp(5.5rem, 11vw, 9rem); }
.quote ::selection { background: var(--on-lees); color: var(--lees); }
.quote-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 1.5rem; row-gap: 3rem; align-items: start; }
.quote-intro { grid-column: 1 / 6; padding-top: 0.5rem; }
.quote-intro::before { content: ""; display: block; width: 2.75rem; height: 1px; background: var(--taupe); opacity: 0.8; margin-bottom: 2rem; }
.quote-intro > p { color: var(--fg-2); margin-top: 1.5rem; max-width: 24rem; font-size: var(--t-lead); line-height: 1.5; }
.contact { margin-top: clamp(3rem, 7vw, 6rem); }
.contact h3 { font-size: 1.125rem; margin-bottom: 1rem; }
.contact dl > div { display: grid; grid-template-columns: 6rem 1fr; padding-block: 0.8rem; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.contact dt { color: var(--fg-2); }
.contact dd a { text-decoration: underline 1px; text-decoration-color: var(--line); text-underline-offset: 0.3em; transition: text-decoration-color 0.2s; }
.contact dd a:hover, .contact dd a:focus-visible { text-decoration-color: currentColor; }
.form {
  grid-column: 6 / 13; position: relative; margin-left: clamp(0rem, 3vw, 3rem);
  padding: clamp(1.75rem, 3.5vw, 3rem); border-radius: 18px;
  background: rgb(241 236 229 / 0.035); box-shadow: inset 0 0 0 1px var(--line);
}
@media (max-width: 960px) {
  .quote-intro, .form { grid-column: 1 / -1; }
  .form { margin-left: 0; }
}
@media (max-width: 480px) {
  .form { margin-inline: calc(var(--gutter) * -0.5); padding: 1.5rem 1.25rem; }
}

.models { border: 0; padding: 0; margin: 0 0 2.5rem; }
legend, .field label { font-size: var(--t-sm); color: var(--fg-2); }
legend { margin-bottom: 0.5rem; padding: 0; }
.model-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.85rem; border-top: 1px solid var(--line); }
.model-row:last-of-type { border-bottom: 1px solid var(--line); }
.check { display: inline-flex; align-items: center; gap: 0.85rem; cursor: pointer; font-size: 1.125rem; font-weight: 500; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { flex: none; width: 1.35rem; height: 1.35rem; border: 1px solid var(--fg-2); border: 1px solid color-mix(in srgb, var(--fg) 55%, transparent); border-radius: 4px; display: grid; place-items: center; transition: background-color 200ms ease, border-color 200ms ease; }
.check .box svg { width: 0.95rem; fill: none; stroke: var(--bg); stroke-width: 2; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset 260ms var(--ease-out); }
.check input:checked + .box { background: var(--fg); border-color: var(--fg); }
.check input:checked + .box svg { stroke-dashoffset: 0; }
.check input:focus-visible + .box { outline: 2px solid var(--fg); outline-offset: 3px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; }
.qty button { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 99px; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.qty button:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .qty button:hover { background: rgb(255 255 255 / 0.08); } }
.qty svg { width: 1rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.qty input { width: 3rem; text-align: center; background: transparent; border: 0; font-size: 1.0625rem; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.fields { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem; row-gap: 1.6rem; }
.field { display: grid; gap: 0.35rem; align-content: start; }
.field--wide { grid-column: 1 / -1; }
.field small { opacity: 0.75; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--fg-2); border-bottom: 1px solid color-mix(in srgb, var(--fg) 35%, transparent);
  border-radius: 0; padding: 0.55rem 0; font-size: 1.0625rem; color: var(--fg);
  transition: border-color 200ms ease;
}
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23f1ece5' stroke-width='1.5'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E") right 0 center / 1.1rem no-repeat; padding-right: 1.5rem; }
.field select option { color: var(--graphite); background: var(--ivory); }
.field textarea { resize: vertical; min-height: 5.5rem; }
.field ::placeholder { color: var(--fg-2); color: color-mix(in srgb, var(--fg) 62%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--fg); box-shadow: 0 1px 0 var(--fg); }
.field [aria-invalid="true"] { border-bottom-color: var(--err); }
.err { color: var(--err); font-size: var(--t-sm); min-height: 0; }
.err:empty { display: none; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }

.consent { margin-top: 2rem; font-size: 0.9375rem; font-weight: 400; align-items: flex-start; color: var(--fg-2); }
.consent .box { margin-top: 0.15rem; }
.submit-row { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.25rem; }
.form-status { font-size: 0.9375rem; color: var(--fg-2); }
.form-status.is-error { color: var(--err); }
.done { padding-block: 2rem; }
.done svg { width: 3rem; fill: none; stroke: currentColor; stroke-width: 1.2; margin-bottom: 1.5rem; }
.done svg circle { stroke-dasharray: 140; stroke-dashoffset: 140; animation: dash 900ms var(--ease-out) forwards; }
.done svg path { stroke-dasharray: 32; stroke-dashoffset: 32; animation: dash 500ms var(--ease-out) 500ms forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.done h3 { font-size: 2rem; font-weight: 300; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.done p { color: var(--fg-2); max-width: 26rem; }
.form.is-done > :not(.done) { display: none; }

/* ---------- Footer ---------- */
.ftr { padding-block: 4rem 2.5rem; }
.ftr .wrap { display: grid; grid-template-columns: 1fr auto; gap: 3rem 2rem; border-top: 1px solid var(--line); padding-top: 3rem; }
.ftr-brand { display: flex; align-items: center; gap: 0.8rem; }
.ftr-brand .mark { width: 2rem; }
.ftr-brand .word { width: 9rem; }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; font-size: 0.9375rem; color: var(--fg-2); }
.ftr-nav a:hover { color: var(--fg); }
.ftr-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: var(--t-sm); color: var(--fg-2); }
.ftr-meta a { text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
@media (max-width: 760px) { .ftr .wrap { grid-template-columns: 1fr; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .btn-fill { display: none; }
  .btn, .link, .nav a, .pick, .field input, .lang a { transition-property: color, background-color, border-color !important; transition-duration: 200ms !important; }
}
