/* Aurora Global Colors — variant A. "Colour for the North": the page is a night sky,
   and the group's brand colours appear as light (aurora glow, the pellets, the action). */

:root {
  --night: #0B0C10;
  --night-2: #12141A;
  --day: #F5F5F3;
  --paper: #FFFFFF;
  --ink: #141414;
  --blue: #1E39F8;
  --green: #45D889;
  --yellow: #FFD500;
  --orange: #FF7935;
  --g1: #828282;
  --g2: #B4B4B4;
  --g3: #E7E7E7;
  --on-night: rgba(255, 255, 255, 0.72);
  --on-day: #4A4A4A;
  --edge-night: rgba(255, 255, 255, 0.10);
  --edge-day: rgba(20, 20, 20, 0.08);

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

  --s-small: 0.9375rem;
  --s-body: clamp(1.0625rem, 0.99rem + 0.25vw, 1.1875rem);
  --s-lead: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
  --s-h2: clamp(2.5rem, 1.3rem + 4vw, 5.25rem);
  --s-display: clamp(3.5rem, 0.6rem + 9.6vw, 10.5rem);

  --m: max(20px, 4vw);
  --gap: clamp(12px, 1.6vw, 24px);
  --r-card: 22px;
  --r-ui: 12px;
  --hd-h: 72px;

  --shadow-float: 0 1px 2px rgba(10, 12, 20, 0.06), 0 8px 24px rgba(10, 12, 20, 0.08), 0 40px 80px rgba(10, 12, 20, 0.12);
  --shadow-night: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.3), 0 40px 80px rgba(0, 0, 0, 0.45);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-move: cubic-bezier(0.77, 0, 0.175, 1);
  --t-press: 140ms;
  --t-hover: 200ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--hd-h); background: var(--night); }
body { margin: 0; background: var(--night); color: var(--paper); font-family: var(--font); font-weight: 400; font-size: var(--s-body); line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, p, figure, ul, dl, dd, fieldset { margin: 0; }
ul[role="list"] { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
strong { font-weight: 600; }
p { text-wrap: pretty; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
.sprite { position: absolute; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--green); color: var(--ink); }
.skip { position: fixed; left: var(--m); top: 10px; z-index: 40; background: var(--paper); color: var(--ink); padding: 12px 18px; border-radius: 999px; font-weight: 600; transform: translateY(-200%); }
.skip:focus { transform: none; }

.night { background: var(--night); color: var(--paper); position: relative; }
.day { background: var(--day); color: var(--ink); position: relative; }

.h2 { font-size: var(--s-h2); line-height: 0.98; letter-spacing: -0.04em; font-weight: 400; }
.small { font-size: var(--s-small); line-height: 1.5; }
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: currentColor; } }

/* ---------- buttons: one shape, the pill ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-size: var(--s-small); font-weight: 600; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease, box-shadow var(--t-hover) ease; }
.btn:active { transform: scale(0.97); }
.btn--lg { min-height: 56px; padding: 0 28px; }
.btn--light { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.18); }
.btn--ghost { background: rgba(255,255,255,0.06); color: var(--paper); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); }
.btn--ink { background: var(--ink); color: var(--paper); }
@media (hover: hover) and (pointer: fine) {
  .btn--light:hover { background: #E9ECFF; }
  .btn--ghost:hover { background: rgba(255,255,255,0.14); }
  .btn--ink:hover { background: var(--blue); }
}

.glass { background: rgba(18, 20, 28, 0.55); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: inset 0 0 0 1px var(--edge-night), var(--shadow-night); }

/* ---------- header: transparent over the hero, glass after scroll ---------- */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--hd-h); display: flex; align-items: center; gap: 24px; padding: 0 var(--m); color: var(--paper); transition: color 300ms ease, background-color 300ms ease, box-shadow 300ms ease, -webkit-backdrop-filter 300ms ease, backdrop-filter 300ms ease; }
.hd.is-scrolled { background: rgba(11, 12, 16, 0.62); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); box-shadow: 0 1px 0 var(--edge-night); }
.hd__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: var(--s-small); letter-spacing: -0.01em; min-height: 44px; margin-right: auto; }
.hd__mark { width: 26px; height: 27px; flex: none; }
.hd__nav { display: flex; gap: 4px; font-size: var(--s-small); font-weight: 500; }
.hd__nav a { text-decoration: none; padding: 10px 14px; border-radius: 999px; color: var(--on-night); transition: color var(--t-hover) ease, background-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .hd__nav a:hover { color: var(--paper); background: rgba(255,255,255,0.08); } }
.hd__btn { min-height: 44px; }
.lang { display: flex; align-items: center; gap: 2px; font-size: var(--s-small); font-weight: 600; }
.lang span, .lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 999px; text-decoration: none; }
.lang span { color: currentColor; }
.lang a { color: var(--on-night); transition: color var(--t-hover) ease, background-color var(--t-hover) ease; }
.hd.on-day .lang a { color: var(--on-day); }
.lang a[aria-current="page"], .hd.on-day .lang a[aria-current="page"] { color: currentColor; }
.lang a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
@media (hover: hover) and (pointer: fine) { .lang a:hover { color: currentColor; background: rgba(127,127,127,0.14); } }
.hd__contact { display: none; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font-weight: 600; font-size: var(--s-small); text-decoration: none; background: var(--paper); color: var(--ink); transition: transform var(--t-press) var(--ease-out); }
.hd__contact:active { transform: scale(0.97); }
.hd.on-day .hd__contact { background: var(--ink); color: var(--paper); }
@media (max-width: 560px) { .js .hd__contact { display: inline-flex; } .hd__brand span { font-size: 0.875rem; } }
@media (max-width: 360px) { .hd__brand span { display: none; } }
.hd__menu { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: var(--s-small); background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.hd.on-day .hd__menu { background: rgba(20,20,20,0.05); box-shadow: inset 0 0 0 1px rgba(20,20,20,0.14); }
.hd__menu:active { transform: scale(0.97); }
.hd__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--yellow), var(--green), var(--blue)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); opacity: 0; transition: opacity 300ms ease; pointer-events: none; }
.hd.is-scrolled .hd__progress { opacity: 0.9; }
.hd.is-scrolled.on-day { background: rgba(245, 245, 243, 0.74); box-shadow: 0 1px 0 var(--edge-day); color: var(--ink); }
.hd.on-day .hd__nav a { color: var(--on-day); }
.hd.on-day .hd__btn { background: var(--ink); color: var(--paper); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .hd.on-day .hd__nav a:hover { color: var(--ink); background: rgba(20,20,20,0.06); } }
@media (max-width: 1000px) { .hd__nav { display: none; } .js .hd__menu { display: inline-flex; } .hd { gap: 12px; } }
@media (max-width: 560px) { .hd .hd__btn, .hd > .lang { display: none; } }
@media (max-width: 480px) {
  :root { --hd-h: 64px; }
  .hd { gap: 10px; }
  .hd__brand span { line-height: 1.05; max-width: 7.5em; }
  .hd__btn { padding: 0 16px; }
}

/* ---------- 1. hero: the night sky ---------- */
.hero { min-height: 100svh; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--hd-h) + 24px) var(--m) 32px; }
.aurora { position: absolute; inset: -10% -10% auto -10%; height: 110%; z-index: -2; pointer-events: none; }
.aurora__band { position: absolute; display: block; border-radius: 50%; opacity: 0.55; will-change: transform; }
.aurora__band--green { width: 70vw; height: 34vh; left: 20%; top: 6%; background: radial-gradient(closest-side, rgba(69, 216, 137, 0.95), rgba(69, 216, 137, 0.35) 55%, transparent); transform: rotate(-12deg); }
.aurora__band--blue { width: 80vw; height: 46vh; left: 38%; top: 24%; background: radial-gradient(closest-side, rgba(30, 57, 248, 1), rgba(30, 57, 248, 0.4) 60%, transparent); transform: rotate(8deg); opacity: 0.7; }
.aurora__band--yellow { width: 30vw; height: 18vh; left: 8%; top: 30%; background: radial-gradient(closest-side, rgba(255, 213, 0, 0.7), transparent); opacity: 0.28; }
.hero__media { position: absolute; z-index: -1; right: -6vw; top: 50%; width: min(78vw, 1220px); aspect-ratio: 960 / 786; transform: translateY(-56%); mix-blend-mode: screen; }
.hero__video { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero__inner { position: relative; }
.hero__title { font-size: var(--s-display); font-weight: 300; line-height: 0.92; letter-spacing: -0.045em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title [data-line] { display: block; }
.hero__l2 { color: var(--green); }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 36px; }
.hero__sup { max-width: 44ch; color: var(--on-night); font-size: var(--s-lead); line-height: 1.35; letter-spacing: -0.01em; }
.hero__acts { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; border-radius: 18px; padding: 6px; }
.hero__doors a { display: grid; gap: 2px; padding: 14px 18px; border-radius: 13px; text-decoration: none; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.hero__doors a + a { box-shadow: inset 1px 0 0 var(--edge-night); }
.hero__doors strong { font-weight: 600; }
.hero__doors span { color: var(--on-night); font-size: var(--s-small); }
.hero__doors a:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .hero__doors a:hover { background: rgba(255,255,255,0.07); } }
.hero__pause { position: absolute; z-index: 2; right: var(--m); top: calc(var(--hd-h) + 16px); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); background: rgba(18,20,28,0.7); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.hero__pause[hidden] { display: none; }
.hero__pause:active { transform: scale(0.94); }
.hero__pause .i-play { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }
.hero__pause[aria-pressed="true"] .i-pause { display: none; }
@media (max-width: 900px) {
  .hero__foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  .hero { padding-bottom: 20px; }
  .hero { min-height: 0; justify-content: flex-start; padding-top: var(--hd-h); }
  .hero__media { position: relative; right: auto; top: auto; left: 50%; width: 150vw; height: auto; aspect-ratio: 960 / 786; margin: -16vw 0 -30vw; transform: translateX(-50%); }
  .hero__video { object-fit: contain; }
  .hero__title { font-size: 16vw; }
  .hero__sup { font-size: var(--s-body); }
  .hero__acts { width: 100%; }
  .hero__acts .btn { flex: 1 1 100%; }
  .hero__doors { grid-template-columns: 1fr; margin-top: 24px; }
  .hero__doors a { padding: 12px 14px; min-height: 56px; }
  .hero__doors a + a { box-shadow: inset 0 1px 0 var(--edge-night); }
  .hero__pause { top: auto; bottom: auto; top: calc(var(--hd-h) + 8px); }
}

/* ---------- cards ---------- */
.card { position: relative; border-radius: var(--r-card); overflow: hidden; isolation: isolate; }
.card--photo { background: #1a1c22; box-shadow: var(--shadow-float); }
.card__img { position: absolute; inset: 0; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(1.05); transition: transform 1400ms var(--ease-out); }
.card--photo::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(8, 9, 12, 0) 28%, rgba(8, 9, 12, 0.55) 60%, rgba(8, 9, 12, 0.88) 100%); pointer-events: none; }
.card__cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 22px 24px; color: var(--paper); display: grid; gap: 4px; }
.card__cap strong, .card__cap h3 { font-size: var(--s-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.card__cap span, .card__cap p { color: rgba(255, 255, 255, 0.9); font-size: var(--s-small); max-width: 44ch; }
@media (hover: hover) and (pointer: fine) { .card--photo:hover .card__img img { transform: scale(1.04); } }

/* ---------- 3. range: bento (day) ---------- */
.range { padding: clamp(88px, 10vw, 144px) var(--m) clamp(80px, 9vw, 128px); }
.range__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.range__head .h2 { grid-column: 1 / span 7; }
.range__head p { grid-column: 9 / span 4; color: var(--on-day); }
.bento { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 15vw, 240px); gap: var(--gap); }
.fam--colour { grid-column: span 2; grid-row: span 2; }
.fam--wide { grid-column: span 2; }
.fam { box-shadow: var(--shadow-float); }
.fam::before { content: ""; position: absolute; z-index: 1; left: 24px; right: 24px; top: 0; height: 2px; border-radius: 2px; background: var(--tint); opacity: 0.9; }
.fam--colour .card__cap h3 { font-size: var(--s-h2); font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.fam--colour .card__cap p { font-size: var(--s-body); }
.card--glow { background: var(--night); color: var(--paper); box-shadow: var(--shadow-float); }
.card__glow { position: absolute; inset: -30%; background: radial-gradient(closest-side at 70% 40%, color-mix(in srgb, var(--tint) 75%, transparent), transparent 70%), radial-gradient(closest-side at 25% 75%, rgba(30, 57, 248, 0.55), transparent 70%); }
.card--glow .card__cap { gap: 8px; }
.card--glow .link { color: var(--paper); font-weight: 600; font-size: var(--s-small); margin-top: 6px; justify-self: start; min-height: 44px; display: inline-flex; align-items: center; }
.range__note { margin-top: 20px; color: var(--on-day); }
@media (max-width: 900px) {
  .range__head { grid-template-columns: 1fr; row-gap: 16px; }
  .range__head .h2, .range__head p { grid-column: 1; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 250px; }
  .fam--colour { grid-row: span 1; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; gap: 10px; }
  .fam--colour { grid-column: span 2; grid-row: span 1; min-height: 260px; }
  .fam--wide { grid-column: span 2; grid-row: auto; }
  .fam:not(.fam--colour):not(.fam--wide) .card__cap p { display: none; }
  .card__cap { padding: 16px; }
  .fam .card__cap h3 { font-size: var(--s-body); font-weight: 600; letter-spacing: -0.01em; }
  .fam--colour .card__cap h3 { font-size: 2.5rem; font-weight: 300; }
  .fam__plus { top: 10px; right: 10px; width: 36px; height: 36px; }
}

/* ---------- 4. colour match (night): the live thing ---------- */
.match { --f: #CC0605; --fi: #FFFFFF; overflow: hidden; isolation: isolate; padding: clamp(88px, 10vw, 136px) var(--m); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.match__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.match__glow span { position: absolute; border-radius: 50%; transition: background-color 500ms ease; -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }
.match__glow-a { width: 60vw; height: 60vw; max-height: 900px; left: -14vw; top: 18%; background: var(--f); opacity: 0.42; }
.match__glow-b { width: 40vw; height: 26vw; right: -8vw; top: -6%; background: var(--blue); opacity: 0.28; }
.match__intro { grid-column: 1 / span 5; display: grid; gap: 24px; }
.match__intro > p:not(.match__note) { color: var(--on-night); max-width: 40ch; }
.match__object { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 28px; margin-top: 16px; }
@media (min-width: 1001px) { .match__object { grid-template-columns: 1fr; } }
.pellets { position: relative; width: clamp(200px, 22vw, 320px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--f) 70%, #fff), var(--f) 55%, color-mix(in srgb, var(--f) 70%, #000)); box-shadow: var(--shadow-night); }
.pellets.is-built { background: none; box-shadow: none; }
.pellets { transition: transform 240ms var(--ease-out); }
.pellets.is-changing { transform: scale(0.97) rotate(-2deg); transition-duration: 120ms; }
.pellet { position: absolute; width: 9%; height: 6.4%; border-radius: 40%; background: var(--f); box-shadow: inset 0 1px 1px rgba(255,255,255,0.35), inset 0 -2px 2px rgba(0,0,0,0.28), 0 3px 6px rgba(0,0,0,0.35); transition: background-color 240ms ease; }
.match__read { display: grid; gap: 4px; }
.match__code { font-size: var(--s-h2); font-weight: 300; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.match__name { font-size: var(--s-body); color: var(--on-night); }
.match__note { color: var(--on-night); }
.match__panel { grid-column: 7 / span 6; display: grid; gap: 28px; padding: clamp(20px, 2.4vw, 36px); border-radius: 28px; }
.f { display: grid; gap: 12px; }
.f__l { font-weight: 600; font-size: var(--s-small); display: block; margin-bottom: 10px; color: var(--paper); }
.sw-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.sw { position: relative; aspect-ratio: 1; min-height: 40px; background: var(--c); border-radius: 10px; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 2px 6px rgba(0,0,0,0.35); transition: transform var(--t-press) var(--ease-out), box-shadow var(--t-hover) ease; }
.sw input[type="radio"] { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sw:has(input:checked) { box-shadow: 0 0 0 2px var(--night), 0 0 0 4px var(--paper), 0 6px 16px rgba(0,0,0,0.4); }
.sw:has(input:focus-visible) { outline: 2px solid var(--paper); outline-offset: 4px; }
.sw:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .sw:hover { transform: translateY(-2px); } }
.sw--any { grid-column: span 2; aspect-ratio: auto; min-height: 44px; display: grid; place-items: center; background: rgba(255,255,255,0.08); }
.sw--any input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.sw--any__t { font-weight: 600; font-size: var(--s-small); pointer-events: none; }
.sw--any.is-on { box-shadow: 0 0 0 2px var(--night), 0 0 0 4px var(--paper); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; justify-content: center; min-width: 60px; min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: var(--s-small); background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.chip input:checked + span { background: var(--paper); color: var(--ink); box-shadow: none; }
.chip input:focus-visible + span { outline: 2px solid var(--paper); outline-offset: 3px; }
.chip:active span { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .chip:hover input:not(:checked) + span { background: rgba(255,255,255,0.14); } }
.f--two { grid-template-columns: 1fr 1fr; gap: 12px; }
.sel { display: grid; }
.sel select { appearance: none; -webkit-appearance: none; min-height: 52px; padding: 0 44px 0 16px; border: 0; border-radius: var(--r-ui); font-weight: 500; font-size: var(--s-body); color: var(--paper); background-color: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; cursor: pointer; }
.sel select option { color: var(--ink); background: var(--paper); }
.match__send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 4px; }
.btn--colour { background: var(--f); color: var(--fi); box-shadow: 0 1px 2px rgba(0,0,0,.35), 0 10px 24px -6px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,0.18); transition: transform var(--t-press) var(--ease-out), background-color 240ms ease, color 240ms ease; }
.match .link { font-weight: 600; font-size: var(--s-small); min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 1000px) {
  .match { grid-template-columns: 1fr; row-gap: 40px; }
  .match__intro, .match__panel { grid-column: 1; }
  .match__glow-a { width: 110vw; height: 110vw; }
}
@media (max-width: 560px) {
  .sw-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .f--two { grid-template-columns: 1fr; }
  .match__send .btn { width: 100%; }
  .match__object { grid-template-columns: 1fr; }
  .pellets { width: 200px; }
}

/* ---------- 5. near (day) ---------- */
.near { padding: clamp(88px, 10vw, 144px) var(--m) clamp(64px, 7vw, 104px); }
.near__h { max-width: 12ch; }
.near__places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(40px, 5vw, 72px); }
.place { display: grid; align-content: start; gap: 14px; padding: clamp(24px, 2.4vw, 36px); background: var(--paper); box-shadow: inset 0 0 0 1px var(--edge-day), var(--shadow-float); }
.place__name { font-size: var(--s-h2); font-weight: 300; letter-spacing: -0.04em; line-height: 1; margin-bottom: 8px; }
.place__role { font-weight: 600; }
.place p:not(.place__role) { color: var(--on-day); }
.place__vat { font-variant-numeric: tabular-nums; }
.visit { position: relative; margin-top: clamp(32px, 4vw, 56px); border-radius: var(--r-card); overflow: hidden; min-height: clamp(300px, 38vh, 420px); display: flex; align-items: flex-end; color: var(--paper); box-shadow: var(--shadow-float); isolation: isolate; }
.visit__img { position: absolute; inset: 0; z-index: -2; }
.visit__img img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(1.05); }
.visit::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 9, 12, 0.82) 0%, rgba(8, 9, 12, 0.5) 50%, rgba(8, 9, 12, 0.15) 100%), linear-gradient(0deg, rgba(8, 9, 12, 0.6), rgba(8, 9, 12, 0) 50%); }
.visit__body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; width: 100%; padding: clamp(24px, 3.5vw, 56px); }
.visit__q { grid-column: 1 / span 7; font-size: var(--s-lead); font-weight: 400; line-height: 1.3; letter-spacing: -0.02em; max-width: 34ch; }
.visit__person { grid-column: 9 / span 4; display: grid; gap: 12px; justify-items: start; }
.visit__person p { display: grid; }
.visit__photo { width: clamp(112px, 10vw, 152px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; box-shadow: 0 0 0 1px rgba(255,255,255,0.18), var(--shadow-night); margin-bottom: 4px; }
.visit__person p span { color: var(--on-night); font-size: var(--s-small); }
.visit__person .link { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 900px) {
  .near__places { grid-template-columns: 1fr; gap: 48px; }
  .visit__body { grid-template-columns: 1fr; row-gap: 28px; }
  .visit__q, .visit__person { grid-column: 1; }
  .visit::after { background: linear-gradient(0deg, rgba(8, 9, 12, 0.9) 0%, rgba(8, 9, 12, 0.72) 55%, rgba(8, 9, 12, 0.5) 100%); }
}

/* ---------- 6. group (night) + pinned plants ---------- */
.group { padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 7vw, 104px); overflow: clip; }
.group::before { content: ""; position: absolute; width: 70vw; height: 40vw; right: -20vw; top: -10vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(69, 216, 137, 0.16), transparent); pointer-events: none; }
.group__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding: 0 var(--m); position: relative; }
.group__head .h2 { grid-column: 1 / span 6; }
.group__head p { grid-column: 8 / span 5; color: var(--on-night); }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); padding: 0 var(--m); margin-top: clamp(48px, 6vw, 88px); position: relative; }
.figs > div { padding-top: 20px; box-shadow: inset 0 1px 0 var(--edge-night); }
.figs__n { font-size: var(--s-display); font-weight: 300; letter-spacing: -0.05em; line-height: 0.9; }
.figs dd { margin-top: 14px; color: var(--on-night); max-width: 30ch; }
.plants { margin-top: clamp(48px, 6vw, 88px); }
.plants__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); padding: 0 var(--m); }
.plant__img { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-night); }
.plant__img img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.08); }
.plant figcaption { display: grid; gap: 2px; margin-top: 14px; }
.plant figcaption strong { font-weight: 500; font-size: var(--s-lead); letter-spacing: -0.02em; }
.plant figcaption span { color: var(--on-night); font-size: var(--s-small); }
.group__link { padding: 0 var(--m); margin-top: 48px; font-weight: 600; }
.plants__h { padding: 0 var(--m); margin-bottom: 28px; font-size: var(--s-lead); font-weight: 500; letter-spacing: -0.02em; }
.group__pin.is-pinned { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--hd-h); }
.group__pin.is-pinned .figs { margin-top: clamp(20px, 3vh, 40px); }
.group__pin.is-pinned .figs__n { font-size: var(--s-h2); }
.group__pin.is-pinned .figs dd { margin-top: 6px; }
.group__pin.is-pinned .plants { margin-top: clamp(24px, 4vh, 48px); }
.group__pin.is-pinned .plants__h { display: none; }
.group__pin.is-pinned .plants__track { display: flex; width: max-content; gap: clamp(14px, 1.6vw, 24px); padding: 0 var(--m); }
.group__pin.is-pinned .plant { width: clamp(260px, 22vw, 360px); flex: none; }
.group__pin.is-pinned .plant__img { aspect-ratio: 4 / 3; }
@media (max-width: 900px) {
  .group__head { grid-template-columns: 1fr; row-gap: 20px; }
  .group__head .h2, .group__head p { grid-column: 1; }
  .figs { grid-template-columns: 1fr; }
  .figs__n { font-size: 22vw; }
  .plants__track { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; scroll-padding-inline: var(--m); padding-bottom: 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .plants__track::-webkit-scrollbar { display: none; }
  .plant { flex: none; width: min(78vw, 360px); scroll-snap-align: start; }
}

/* ---------- 7. sustainability (day) ---------- */
.sus { overflow: clip; padding: clamp(88px, 10vw, 144px) var(--m); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.sus__copy { grid-column: 1 / span 8; }
.sus__copy .h2 { max-width: 11ch; }
.sus__rows { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.sus__rows li { display: grid; align-content: start; gap: 12px; padding: 18px 0; box-shadow: inset 0 1px 0 var(--edge-day); }
.sus__n { font-size: var(--s-h2); font-weight: 300; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.sus__t { color: var(--on-day); max-width: 32ch; }
.sus__media { grid-column: 9 / span 4; position: relative; margin-top: 12px; }
.sus__halo { position: absolute; inset: -12% -18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(69, 216, 137, 0.5), transparent); z-index: 0; }
.sus__media .card { aspect-ratio: 5 / 4; z-index: 1; }
.sus__media .card::after { display: none; }
.sus__media figcaption { position: relative; margin-top: 20px; color: var(--on-day); }
@media (max-width: 900px) {
  .sus { grid-template-columns: 1fr; }
  .sus__copy, .sus__media { grid-column: 1; }
  .sus__rows { grid-template-columns: 1fr; gap: 0; }
  .sus__rows li { gap: 6px; }
  .sus__media { margin-top: 56px; max-width: 420px; }
}

/* ---------- 8. about (night) ---------- */
.about { padding: clamp(88px, 10vw, 144px) var(--m); overflow: clip; }
.about::before { content: ""; position: absolute; width: 50vw; height: 30vw; left: -10vw; bottom: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(30, 57, 248, 0.28), transparent); pointer-events: none; }
.about__top { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.about__top .h2 { grid-column: 1 / span 4; }
.about__text { grid-column: 5 / span 8; font-size: var(--s-lead); line-height: 1.38; font-weight: 300; letter-spacing: -0.012em; color: rgba(255,255,255,0.88); max-width: 46ch; }
.about__text strong { color: var(--paper); font-weight: 500; }
.hl { padding: 0 0.14em; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; color: var(--paper); }
.hl--blue { background: rgba(30, 57, 248, 0.6); }
.hl--yellow { background: rgba(255, 213, 0, 0.26); }
.hl--green { background: rgba(69, 216, 137, 0.3); }
.hl--orange { background: rgba(255, 121, 53, 0.34); }
.about__cols { position: relative; display: grid; grid-template-columns: 3fr 5fr 4fr; gap: clamp(20px, 3vw, 48px); margin-top: clamp(48px, 6vw, 88px); }
.about__col { padding-top: 22px; box-shadow: inset 0 1px 0 var(--edge-night); }
.about__col h3 { font-size: var(--s-body); font-weight: 600; margin-bottom: 14px; }
.about__col li, .about__col p { color: var(--on-night); }
.about__col li { padding: 4px 0; }
.about__two { columns: 2; column-gap: 32px; }
.about__two li { break-inside: avoid; }
.about__cta { margin-top: 24px; }
@media (max-width: 900px) {
  .about__top { grid-template-columns: 1fr; row-gap: 24px; }
  .about__top .h2, .about__text { grid-column: 1; }
  .about__cols { grid-template-columns: 1fr; }
  .about__two { columns: 1; }
}

/* ---------- 9. contact (night) ---------- */
.contact { padding: clamp(72px, 8vw, 120px) 0 clamp(72px, 8vw, 120px); overflow: hidden; }
.strip { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip__track { display: flex; width: max-content; }
.strip__track > img { margin-right: 12px; }
.strip__dup { display: flex; gap: 12px; padding-right: 12px; }
.strip__img { height: 200px; width: auto; object-fit: cover; flex: none; border-radius: 14px; filter: contrast(1.05) saturate(1.05); background: var(--night-2); }
.strip__img.w34 { width: 150px; }
.strip__img.w11 { width: 200px; }
.strip__img.w32 { width: 300px; }
.contact__h { margin: clamp(56px, 6vw, 88px) var(--m) 0; }
.cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: 36px var(--m) 0; }
.cell { min-height: 128px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 24px; border-radius: var(--r-card); text-decoration: none; background: var(--night-2); color: var(--paper); box-shadow: inset 0 0 0 1px var(--edge-night), var(--shadow-night); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.cell:active { transform: scale(0.98); }
.cell__big { font-size: var(--s-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.cell__small { font-size: var(--s-small); color: var(--on-night); }
.cell--blue { background: var(--blue); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14), var(--shadow-night); }
.cell--blue .cell__small { color: rgba(255,255,255,0.85); }
@media (hover: hover) and (pointer: fine) {
  .cell:hover { background: #1b1e27; }
  .cell--blue:hover { background: #3550FF; }
}
.contact__print { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: 16px var(--m) 0; color: var(--on-night); }
.contact__print p:last-child { grid-column: 3; }
@media (max-width: 700px) {
  .strip__img { height: 140px; }
  .strip__img.w34 { width: 105px; }
  .strip__img.w11 { width: 140px; }
  .strip__img.w32 { width: 210px; }
  .cells { grid-template-columns: 1fr; }
  .cell { min-height: 96px; }
  .contact__print { grid-template-columns: 1fr; }
  .contact__print p:last-child { grid-column: 1; }
}

/* ---------- 10. footer (night) ---------- */
.ft { padding: clamp(72px, 8vw, 120px) var(--m) 32px; box-shadow: inset 0 1px 0 var(--edge-night); overflow: clip; }
.ft__band { display: flex; align-items: center; gap: clamp(20px, 3vw, 56px); }
.ft__mark { width: clamp(120px, 16vw, 240px); height: auto; flex: none; filter: drop-shadow(0 0 18px rgba(69, 216, 137, 0.35)) drop-shadow(0 0 40px rgba(30, 57, 248, 0.35)); }
.ft__word { font-size: var(--s-h2); font-weight: 300; letter-spacing: -0.045em; line-height: 0.95; max-width: 10ch; }
.ft__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 64px; }
.ft__nav { grid-column: 1 / span 6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); font-size: var(--s-small); font-weight: 500; }
.ft__nav ul { display: grid; gap: 2px; align-content: start; }
.ft__nav a { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; color: var(--on-night); text-decoration-color: transparent; }
@media (hover: hover) and (pointer: fine) { .ft__nav a:hover { color: var(--paper); text-decoration-color: currentColor; } }
.ft__addr { grid-column: 8 / span 5; display: grid; gap: 18px; font-size: var(--s-small); color: var(--on-night); }
.ft__addr strong { color: var(--paper); }
.ft__last { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 56px; padding-top: 24px; box-shadow: inset 0 1px 0 var(--edge-night); color: var(--on-night); }
@media (max-width: 900px) {
  .ft__cols { grid-template-columns: 1fr; row-gap: 40px; }
  .ft__nav, .ft__addr { grid-column: 1; }
  .ft__nav { grid-template-columns: 1fr 1fr; }
  .ft__last { flex-direction: column; align-items: flex-start; }
}


/* ---------- motion: transform, opacity, clip-path and blur only; everything visible without JS ---------- */
@media (prefers-reduced-motion: no-preference) {
  .aurora__band--green { animation: drift-a 26s var(--ease-move) infinite alternate; }
  .aurora__band--blue { animation: drift-b 32s var(--ease-move) infinite alternate; }
  .aurora__band--yellow { animation: drift-c 22s var(--ease-move) infinite alternate; }
  .js .hero__title [data-line] { transform: translateY(105%); animation: line-up 1100ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 120ms + 200ms); }
  .js [data-rise] { opacity: 0; transform: translateY(24px); animation: rise 900ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 70ms + 520ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-out); transition-delay: calc(var(--d, 0) * 70ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
  .kb img { animation: kenburns 24s ease-in-out infinite alternate; }
  .strip__track { animation: marquee 70s linear infinite; }
  .strip:hover .strip__track { animation-play-state: paused; }
}
@keyframes line-up { to { transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes drift-a { from { transform: translate3d(-6%, 0, 0) rotate(-14deg) scale(1); } to { transform: translate3d(8%, 6%, 0) rotate(-6deg) scale(1.15); } }
@keyframes drift-b { from { transform: translate3d(4%, 0, 0) rotate(10deg) scale(1.05); } to { transform: translate3d(-10%, -8%, 0) rotate(2deg) scale(0.92); } }
@keyframes drift-c { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(30%, -20%, 0) scale(1.3); } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- family detail: tap a card ---------- */
.fam__open { display: none; }
.js .fam__open { display: block; position: absolute; inset: 0; z-index: 2; border-radius: inherit; cursor: pointer; }
.fam__plus { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); background: rgba(12, 13, 18, 0.62); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); transition: transform var(--t-hover) var(--ease-out), background-color var(--t-hover) ease; }
.fam__open:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.fam__open:active .fam__plus { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .fam:has(.fam__open:active) { transform: scale(0.985); } }
.fam { transition: transform var(--t-press) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .fam__open:hover .fam__plus { transform: rotate(90deg); background: rgba(255,255,255,0.92); color: var(--ink); }
}

/* dialogs: shared */
html.is-locked { overflow: hidden; }
dialog { padding: 0; border: 0; color: var(--paper); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(6, 7, 10, 0.78); }

/* family sheet */
.sheet { width: min(960px, calc(100vw - 2 * var(--m))); margin: auto; border-radius: 26px; background: var(--night-2); box-shadow: inset 0 0 0 1px var(--edge-night), 0 40px 120px rgba(0,0,0,0.6); overflow: hidden; }
.sheet[open] { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.sheet__img { position: relative; min-height: 100%; background: #1a1c22; }
.sheet__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(1.05); }
.sheet__img.is-glow { background: radial-gradient(closest-side at 60% 40%, rgba(69, 216, 137, 0.7), transparent 70%), radial-gradient(closest-side at 30% 75%, rgba(30, 57, 248, 0.6), transparent 70%), var(--night); }
.sheet__body { position: relative; padding: clamp(28px, 3.4vw, 48px); display: grid; gap: 22px; align-content: start; max-height: min(86svh, 760px); overflow-y: auto; overscroll-behavior: contain; }
.sheet__close, .menu__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--paper); background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.sheet__close:active, .menu__close:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .sheet__close:hover, .menu__close:hover { background: rgba(255,255,255,0.16); } }
.sheet__title { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.02; padding-right: 56px; overflow-wrap: break-word; hyphens: auto; }
.sheet__more { display: grid; gap: 10px; font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem); font-weight: 400; line-height: 1.45; letter-spacing: -0.005em; }
.sheet__proc { padding-top: 18px; box-shadow: inset 0 1px 0 var(--edge-night); }
.sheet__proc h3 { font-size: var(--s-small); font-weight: 600; margin-bottom: 8px; }
.sheet__proc p { color: var(--on-night); }
.sheet__acts { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 700px) {
  .sheet { width: 100vw; margin: auto 0 0; border-radius: 24px 24px 0 0; max-height: 92svh; }
  .sheet[open] { display: flex; flex-direction: column; }
  .sheet__img { min-height: 0; height: 26svh; flex: none; }
  .sheet__body { max-height: none; overflow-y: auto; flex: 1; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .sheet__acts .btn { flex: 1 1 100%; }
}

/* menu (phones and tablets) */
.menu { width: 100vw; height: 100dvh; margin: 0; background: var(--night); overflow-y: auto; overscroll-behavior: contain; }
.menu[open] { display: flex; flex-direction: column; }
.menu[open] > * { flex-shrink: 0; } /* a tall menu squeezed its top row: logo and close stuck to the edge */
.menu::before { content: ""; position: fixed; width: 90vw; height: 50vh; right: -30vw; top: -10vh; border-radius: 50%; background: radial-gradient(closest-side, rgba(69, 216, 137, 0.22), transparent); pointer-events: none; }
.menu__top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; height: calc(var(--hd-h) + max(env(safe-area-inset-top), 8px)); padding: max(env(safe-area-inset-top), 8px) var(--m) 0; background: var(--night); }
.menu__top .menu__close { position: static; }
.menu__nav { position: relative; display: grid; padding: 16px var(--m) 24px; }
.menu__nav a { display: flex; align-items: center; min-height: 60px; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.5rem); font-weight: 300; letter-spacing: -0.03em; text-decoration: none; box-shadow: inset 0 -1px 0 var(--edge-night); transition: color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.menu__nav a:active { transform: translateX(4px); }
.menu__foot { position: relative; margin-top: auto; display: grid; gap: 10px; padding: 16px var(--m) calc(24px + env(safe-area-inset-bottom)); }
.menu__phone { display: grid; min-height: 56px; align-content: center; font-size: var(--s-lead); font-weight: 500; text-decoration: none; }
.menu__phone span { font-size: var(--s-small); font-weight: 400; color: var(--on-night); }
.lang--menu { justify-content: flex-start; margin-top: 4px; }

/* dialog motion: enter with opacity and a small rise; leave faster */
@media (prefers-reduced-motion: no-preference) {
  .sheet[open], .menu[open] { animation: dlg-in 280ms var(--ease-out); }
  .sheet.is-closing, .menu.is-closing { animation: dlg-out 180ms var(--ease-out) forwards; }
  .menu[open] .menu__nav a { animation: menu-in 420ms var(--ease-out) both; }
  .menu[open] .menu__nav a:nth-child(2) { animation-delay: 40ms; }
  .menu[open] .menu__nav a:nth-child(3) { animation-delay: 80ms; }
  .menu[open] .menu__nav a:nth-child(4) { animation-delay: 120ms; }
  .menu[open] .menu__nav a:nth-child(5) { animation-delay: 160ms; }
  .menu[open] .menu__nav a:nth-child(6) { animation-delay: 200ms; }
  .menu[open] .menu__nav a:nth-child(7) { animation-delay: 240ms; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes dlg-in { from { opacity: 0; transform: translateY(16px) scale(0.985); } }
@keyframes dlg-out { to { opacity: 0; transform: translateY(10px) scale(0.99); } }

/* sticky action bar on phones */
.mbar { display: none; }
@media (max-width: 700px) {
  .mbar { position: fixed; z-index: 25; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(14, 15, 20, 0.72); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: inset 0 0 0 1px var(--edge-night), var(--shadow-night); transform: translateY(calc(100% + 24px)); opacity: 0; transition: transform 320ms var(--ease-out), opacity 200ms ease; pointer-events: none; }
  .mbar.is-on { transform: none; opacity: 1; pointer-events: auto; }
  .mbar .btn { min-height: 48px; }
  .mbar .btn--ghost { padding: 0 24px; }
}

/* footer company details */
.ft__company { margin-top: 48px; border-radius: var(--r-card); background: var(--night-2); box-shadow: inset 0 0 0 1px var(--edge-night); }
.ft__company summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 24px; font-weight: 600; font-size: var(--s-small); }
.ft__company summary::-webkit-details-marker { display: none; }
.ft__company summary::after { content: ""; width: 10px; height: 10px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform var(--t-ui, 240ms) var(--ease-out); }
.ft__company[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.ft__company dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px var(--gap); padding: 4px 24px 24px; margin: 0; font-size: var(--s-small); }
.ft__company dt { color: var(--on-night); margin-bottom: 4px; }
.ft__company dd { margin: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .ft__company dl { grid-template-columns: 1fr; } }

/* swatch codes, reference field, proof chips */
.sw__code { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; pointer-events: none; }
.sw--dark .sw__code { color: rgba(20,20,20,0.82); }
.sw--light .sw__code { color: rgba(255,255,255,0.9); }
.f__opt { font-weight: 400; color: var(--on-night); }
.txt input { min-height: 52px; padding: 0 16px; border: 0; border-radius: var(--r-ui); font-size: var(--s-body); color: var(--paper); background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); }
.txt input::placeholder { color: rgba(255,255,255,0.55); }
.txt input:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 52px; align-self: end; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--green); flex: none; }
.proof { display: flex; flex-wrap: wrap; gap: 8px; }
.proof li { font-size: var(--s-small); padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 1px var(--edge-night); color: rgba(255,255,255,0.86); }

/* person blocks */
.sheet__person { display: flex; align-items: center; gap: 14px; }
.sheet__person img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex: none; }
.sheet__person p { display: grid; gap: 0; }
.sheet__person .link { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); }
.contact__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin: clamp(48px, 5vw, 72px) var(--m) 0; }
.contact__head .contact__h { margin: 0; }
.contact__person { display: flex; align-items: center; gap: 18px; }
.contact__person img { width: clamp(88px, 8vw, 120px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 20px; box-shadow: 0 0 0 1px rgba(255,255,255,0.16), var(--shadow-night); flex: none; }
.contact__person p { display: grid; gap: 2px; max-width: 26ch; }
.contact__person span { color: var(--on-night); font-size: var(--s-small); }
.contact__person .link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
@media (max-width: 700px) { .contact__head { flex-direction: column; align-items: flex-start; gap: 24px; } }

/* phones: shorter page — swipe rows instead of long stacks */
@media (max-width: 560px) {
  .bento { display: flex; gap: 10px; overflow-x: auto; overflow-y: hidden; touch-action: pan-x pan-y; overscroll-behavior-y: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--m); margin: 0 calc(var(--m) * -1); padding: 4px var(--m) 12px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .bento::-webkit-scrollbar { display: none; }
  .bento > .fam { flex: none; width: 72vw; height: 300px; min-height: 0; scroll-snap-align: start; box-shadow: none; transform: none; }
  .bento > .fam--colour { width: 82vw; }
  .bento .card__cap p { display: block; }
  .near__places { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; scroll-padding-inline: var(--m); margin: 32px calc(var(--m) * -1) 0; padding: 4px var(--m) 16px; scrollbar-width: none; }
  .near__places::-webkit-scrollbar { display: none; }
  .near__places .place { flex: none; width: 82vw; scroll-snap-align: start; box-shadow: inset 0 0 0 1px var(--edge-day); }
  .sus__media .card { display: none; }
  .sus__halo { display: none; }
  .sus__media { margin-top: 24px; }
  .ft__addr { display: none; }
  .about__two { columns: 1; }
  .figs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .figs > div { padding-top: 14px; }
  .figs__n { font-size: 2.5rem; }
  .figs dd { margin-top: 8px; font-size: var(--s-small); }
}

/* about: product range collapses on phones */
.about__more summary { list-style: none; display: flex; min-height: 44px; align-items: baseline; justify-content: space-between; gap: 12px; cursor: default; }
.about__more summary::-webkit-details-marker { display: none; }
.about__count { display: none; font-size: var(--s-small); color: var(--on-night); }
@media (max-width: 560px) {
  .about__more summary { cursor: pointer; min-height: 48px; align-items: center; }
  .about__more summary h3 { margin: 0; }
  .about__count { display: inline; }
  .about__more summary::after { content: ""; width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-3px) rotate(45deg); margin-left: 8px; }
  .about__more[open] summary::after { transform: translateY(2px) rotate(-135deg); }
  .about__more[open] ul { margin-top: 10px; }
  .hero__media { width: 140vw; margin: -16vw 0 -28vw; }
  .match__object { grid-template-columns: auto 1fr; gap: 18px; margin-top: 4px; }
  .pellets { width: 128px; }
  .match__code { font-size: 2.5rem; }
  .match__panel { padding: 18px 16px; border-radius: 22px; gap: 22px; }
  .match__intro { gap: 18px; }
  .ft__band { flex-direction: row; align-items: center; }
  .ft__mark { width: 84px; }
  .ft__word { font-size: 2rem; }
  .ft { padding-top: 56px; }
  .ft__cols { margin-top: 36px; row-gap: 24px; }
  .contact__head { margin-top: 36px; }
  .strip__img { height: 120px; }
  .strip__img.w34 { width: 90px; } .strip__img.w11 { width: 120px; } .strip__img.w32 { width: 180px; }
}
@media (max-width: 560px) {
  .range, .match, .near, .sus, .about { padding-top: 64px; padding-bottom: 64px; }
  .group { padding-top: 40px; padding-bottom: 56px; }
  .contact { padding-top: 56px; padding-bottom: 64px; }
  .match { row-gap: 28px; }
  .visit { min-height: 340px; }
  .plants { margin-top: 32px; }
  .figs { margin-top: 28px; }
  .about__cols { margin-top: 36px; gap: 24px; }
}

/* ---------- 3b. grades in stock (day, continues the range): filters, rows, the request ---------- */
.grades { padding: 0 var(--m) clamp(80px, 8vw, 112px); }
.grades__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.grades__head .h2 { grid-column: 1 / span 7; }
.grades__head p { grid-column: 9 / span 4; color: var(--on-day); }

.grades__filter { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; }
.grades__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.grades__chips .chips { flex-wrap: nowrap; gap: 6px; }
.grades__chips .chips + .chips { padding-left: 8px; box-shadow: inset 1px 0 0 var(--edge-day); }
.grades .chip span { min-width: 52px; gap: 8px; white-space: nowrap; color: var(--ink); background: rgba(20, 20, 20, 0.035); box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.12); }
.grades .chip input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.grades .chip input:focus-visible + span { outline-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .grades .chip:hover input:not(:checked) + span { background: rgba(20, 20, 20, 0.07); } }
.grades__count { display: flex; align-items: center; gap: 4px 12px; flex: none; color: var(--on-day); font-variant-numeric: tabular-nums; }
.grades__clear { min-height: 44px; padding: 0 4px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-color: rgba(20, 20, 20, 0.35); }
.grades__clear[hidden], .grades__review[hidden], .hd__req[hidden], .mbar__req[hidden], .grades__empty[hidden], .req__empty[hidden] { display: none; }

.grades__panel { position: relative; border-radius: var(--r-card); background: var(--paper); box-shadow: inset 0 0 0 1px var(--edge-day), var(--shadow-float); }
.grades__list { display: grid; }
.g { display: grid; grid-template-columns: 56px minmax(0, 1fr) 148px 96px auto auto; align-items: center; column-gap: 20px; padding: 11px 24px; transition: background-color var(--t-hover) ease; }
.g[hidden] { display: none; }
.g + .g { box-shadow: inset 0 1px 0 var(--edge-day); }
@media (hover: hover) and (pointer: fine) { .g:hover { background: rgba(20, 20, 20, 0.018); } }
.g__name { font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; text-wrap: pretty; }
.g__code { margin-left: 6px; font-size: var(--s-small); font-weight: 500; color: var(--on-day); font-variant-numeric: tabular-nums; white-space: nowrap; }
.g__desc { margin-top: 2px; font-size: var(--s-small); line-height: 1.42; color: var(--on-day); }
.g__spec { font-size: var(--s-small); line-height: 1.45; font-variant-numeric: tabular-nums; }
.g__food { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--ink); }
.g__food svg { flex: none; }
.g__food.is-no { color: var(--on-day); }
.g__price { text-align: right; white-space: nowrap; line-height: 1.2; }
.g__price strong { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.g__price span { font-size: var(--s-small); color: var(--on-day); }
.g__buy { display: none; }
.js .g__buy { display: flex; align-items: center; gap: 8px; }
.qty { position: relative; display: inline-flex; flex: none; }
.qty input { width: 84px; min-height: 44px; padding: 0 34px 0 10px; border: 0; border-radius: var(--r-ui); text-align: right; font-size: var(--s-body); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); background: var(--day); box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.12); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.qty__u { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); font-size: var(--s-small); color: var(--on-day); pointer-events: none; }
.g__add { min-height: 44px; padding: 0 18px; min-width: 150px; }
.g__tick { display: none; flex: none; }
.g.is-added .g__add { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.24); }
.g.is-added .g__tick { display: block; }
@media (hover: hover) and (pointer: fine) { .g.is-added .g__add:hover { background: rgba(20, 20, 20, 0.05); } }
.g__docs { display: flex; gap: 2px; }
.g__docs a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: var(--s-small); font-weight: 600; }

/* pellet swatch: a small heap drawn in code, in the grade's colour (same idea as the colour-match heap) */
.pel { position: relative; display: block; width: 56px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: radial-gradient(closest-side at 50% 56%, color-mix(in srgb, var(--c) 34%, transparent), transparent 80%), #181A21; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 1px 2px rgba(10, 12, 20, 0.1), 0 6px 14px rgba(10, 12, 20, 0.12); }
.pel::before { content: ""; position: absolute; inset: 24%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--c) 70%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 70%, #000)); }
.pel.is-built::before { display: none; }
.pel i { position: absolute; width: 26%; height: 18%; border-radius: 42%; background: var(--c); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.45), inset 0 -1.5px 1.5px rgba(0, 0, 0, 0.3), 0 1.5px 3px rgba(0, 0, 0, 0.45); }
.pel--white i { background: linear-gradient(160deg, #FFFFFF, #E4E4DF); }
.pel--black { background: radial-gradient(closest-side at 50% 56%, rgba(150, 165, 255, 0.16), transparent 80%), #2A2D36; }
.pel--black i { background: linear-gradient(160deg, #34363C, #0F1012 62%); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.32), inset 0 -1.5px 1.5px rgba(0, 0, 0, 0.5), 0 1.5px 3px rgba(0, 0, 0, 0.55); }
.pel--silver { background: radial-gradient(closest-side at 50% 56%, rgba(255, 255, 255, 0.2), transparent 80%), #1D2027; }
.pel--silver i { background: linear-gradient(118deg, #FAFBFC 0%, #A6ACB4 34%, #F1F3F5 50%, #7B8189 74%, #D8DBDF 100%); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.5), 0 1.5px 3px rgba(0, 0, 0, 0.5); }
.pel--clear { background: radial-gradient(closest-side at 50% 56%, rgba(120, 180, 255, 0.22), transparent 80%), #1A1D25; }
.pel--clear i { background: color-mix(in srgb, var(--c) 40%, transparent); box-shadow: inset 0 0 0 0.75px rgba(255, 255, 255, 0.62), inset 0 1px 2px rgba(255, 255, 255, 0.55), 0 1px 3px rgba(0, 0, 0, 0.35); }

.grades__empty { display: grid; justify-items: start; gap: 16px; padding: 36px 24px; color: var(--on-day); }
.grades__empty p { font-size: var(--s-lead); font-weight: 300; letter-spacing: -0.01em; color: var(--ink); }
.grades__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; min-height: 60px; padding: 8px 24px; color: var(--on-day); box-shadow: inset 0 1px 0 var(--edge-day); border-radius: 0 0 var(--r-card) var(--r-card); background: rgba(20, 20, 20, 0.02); }
.grades__review { flex: none; }

.grades__more { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: var(--gap); padding: 18px 18px 18px 28px; border-radius: var(--r-card); background: var(--night); color: var(--paper); text-decoration: none; box-shadow: var(--shadow-float); transition: transform var(--t-press) var(--ease-out); }
.grades__more:active { transform: scale(0.985); }
.grades__more-glow { position: absolute; inset: -80% -10%; z-index: -1; background: radial-gradient(closest-side at 70% 50%, rgba(30, 57, 248, 0.7), transparent 70%), radial-gradient(closest-side at 88% 40%, rgba(69, 216, 137, 0.45), transparent 70%), radial-gradient(closest-side at 52% 70%, rgba(255, 213, 0, 0.22), transparent 70%); transition: transform 1400ms var(--ease-out); }
.grades__more-t { display: grid; gap: 4px; }
.grades__more-t strong { font-size: var(--s-lead); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; }
.grades__more-t span { font-size: var(--s-small); color: var(--on-night); }
.grades__more-go { display: inline-flex; align-items: center; gap: 10px; flex: none; min-height: 46px; padding: 0 22px; border-radius: 999px; font-size: var(--s-small); font-weight: 600; background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.18); }
.grades__more-go svg { transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .grades__more:hover .grades__more-glow { transform: translateX(-4%) scale(1.05); }
  .grades__more:hover .grades__more-go svg { transform: translateX(3px); }
}

@media (max-width: 1000px) {
  .grades__head { grid-template-columns: 1fr; row-gap: 16px; }
  .grades__head .h2, .grades__head p { grid-column: 1; }
  .grades__filter { display: block; margin-bottom: 12px; }
  .grades__chips { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; margin: 0 calc(var(--m) * -1); padding: 4px var(--m) 8px; scroll-padding-inline: var(--m); scrollbar-width: none; overscroll-behavior-x: contain; }
  .grades__chips::-webkit-scrollbar { display: none; }
  .grades__chips .chips { flex: none; }
  .grades__chips::after { content: ""; flex: none; width: 28px; }
  .grades__chips { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
  .grades__count { margin-top: 2px; }
  .g { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "sw name price" "sw spec spec" "sw desc desc" "sw buy docs"; column-gap: 14px; row-gap: 2px; align-items: start; padding: 16px 20px; }
  .g__sw { grid-area: sw; width: 52px; }
  .g__main { display: contents; }
  .g__name { grid-area: name; }
  .g__desc { grid-area: desc; margin-top: 4px; }
  .g__spec { grid-area: spec; display: flex; flex-wrap: wrap; align-items: center; column-gap: 4px; color: var(--on-day); }
  .g__food { margin: 0 0 0 8px; }
  .g__price { grid-area: price; padding-top: 1px; }
  .js .g__buy { grid-area: buy; margin-top: 12px; }
  .g__docs { grid-area: docs; margin-top: 12px; justify-self: end; }
}
@media (max-width: 560px) {
  .grades__panel { margin: 0 calc(var(--m) * -1); border-radius: 0; box-shadow: inset 0 1px 0 var(--edge-day), inset 0 -1px 0 var(--edge-day); }
  .grades__foot { border-radius: 0; padding: 14px var(--m); flex-wrap: wrap; }
  .grades__review { width: 100%; }
  .g { grid-template-columns: 48px minmax(0, 1fr) auto; padding: 14px var(--m); column-gap: 12px; }
  .g__sw { width: 48px; border-radius: 12px; }
  .g { grid-template-areas: "sw name price" "sw spec spec" "sw desc desc" "buy buy docs"; row-gap: 1px; }
  .g__desc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
  .js .g__buy, .g__docs { margin-top: 10px; }
  .js .g__buy { gap: 8px; min-width: 0; }
  .qty input { width: 76px; padding-right: 30px; }
  .qty__u { right: 10px; }
  .g__add { flex: 1 1 auto; min-width: 0; padding: 0 12px; }
  .g__code { margin-left: 2px; }
  .grades__more { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .grades__more-go { width: 100%; justify-content: center; }
  .grades__empty { padding: 28px var(--m); }
}

/* header and phone-bar entry to the request */
.hd__req { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: var(--s-small); font-variant-numeric: tabular-nums; white-space: nowrap; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.hd__req::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(69, 216, 137, 0.9); }
.hd__req:active { transform: scale(0.97); }
.hd.on-day .hd__req { background: rgba(20, 20, 20, 0.05); box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.14); }
@media (hover: hover) and (pointer: fine) { .hd__req:hover { background: rgba(255, 255, 255, 0.14); } .hd.on-day .hd__req:hover { background: rgba(20, 20, 20, 0.09); } }
/* six section links since the grades joined: the menu takes over a little earlier, and the request pill makes room for itself */
@media (max-width: 1200px) { .hd__nav { display: none; } .js .hd__menu { display: inline-flex; } }
@media (min-width: 1201px) and (max-width: 1380px) { .hd.has-req { gap: 16px; } .hd.has-req .hd__nav a { padding-inline: 10px; } }
@media (max-width: 1000px) { .hd.has-req .hd__btn { display: none; } }
@media (max-width: 700px) { .hd .hd__req { display: none; } }
.mbar.has-req > a[href="#match"] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .is-pop { animation: pop-in 260ms var(--ease-out); }
  .is-bump { animation: bump 340ms var(--ease-out); }
  .g.is-entering { animation: g-in 260ms var(--ease-out); }
  .rl.is-entering { animation: g-in 240ms var(--ease-out); }
  .menu[open] .menu__nav a:nth-child(8) { animation-delay: 280ms; }
}
@keyframes pop-in { from { opacity: 0; transform: scale(0.9); } }
@keyframes bump { 40% { transform: scale(1.07); } }
@keyframes g-in { from { opacity: 0; transform: translateY(6px); } }

/* the request sheet (same dialog pattern as the family sheet) */
.req { width: min(720px, calc(100vw - 2 * var(--m))); }
.req[open] { display: block; }
.req .sheet__body { max-height: min(90svh, 900px); gap: 18px; }
.req__title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.req__lines { display: grid; }
.rl { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 92px 44px; grid-template-areas: "sw name qty sub rm"; align-items: center; column-gap: 14px; padding: 10px 0; box-shadow: inset 0 -1px 0 var(--edge-night); }
.rl:first-child { box-shadow: inset 0 1px 0 var(--edge-night), inset 0 -1px 0 var(--edge-night); }
.rl .pel { grid-area: sw; width: 40px; border-radius: 10px; }
.rl__name { grid-area: name; display: grid; min-width: 0; }
.rl__name strong { font-weight: 500; line-height: 1.3; }
.rl__name span { font-size: var(--s-small); color: var(--on-night); font-variant-numeric: tabular-nums; }
.rl .qty { grid-area: qty; justify-self: start; }
.rl .qty input { width: 96px; color: var(--paper); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.rl .qty input:focus-visible { outline-color: var(--paper); }
.rl .qty__u { color: var(--on-night); }
.rl__sub { grid-area: sub; text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rl__rm { grid-area: rm; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--on-night); transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.rl__rm:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .rl__rm:hover { background: rgba(255, 255, 255, 0.1); color: var(--paper); } }
.req__empty { display: grid; justify-items: start; gap: 14px; padding: 8px 0 4px; color: var(--on-night); }
.req__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.req__total span { color: var(--on-night); }
.req__total strong { font-size: var(--s-lead); font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.req__terms, .req__how { color: var(--on-night); }
.req__form { display: grid; gap: 14px; padding-top: 20px; box-shadow: inset 0 1px 0 var(--edge-night); }
.req__form .f__l { margin-bottom: 8px; }
.txt textarea { min-height: 96px; padding: 14px 16px; border: 0; border-radius: var(--r-ui); font: inherit; font-size: var(--s-body); color: var(--paper); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); resize: vertical; }
.txt textarea::placeholder { color: rgba(255, 255, 255, 0.55); }
.txt textarea:focus-visible, .req .sel select:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.req__send { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.req.is-empty .req__total, .req.is-empty .req__terms, .req.is-empty .req__form { display: none; }
@media (max-width: 700px) {
  .req { width: 100vw; margin: auto 0 0; max-height: 94svh; }
  .req[open] { display: flex; }
  .req .sheet__body { max-height: 94svh; }
  .rl { grid-template-columns: 40px minmax(0, 1fr) auto 44px; grid-template-areas: "sw name name rm" "sw qty sub sub"; row-gap: 8px; column-gap: 12px; padding: 12px 0; }
  .rl__sub { justify-self: end; padding-right: 12px; }
  .req__send .btn { flex: 1 1 100%; }
}

/* print: an elegant request summary on white (only when printed from the request sheet) */
.rp { display: none; }
@media print {
  @page { size: A4; margin: 16mm 16mm 18mm; }
  html.print-req, html.print-req body { background: #FFFFFF !important; color: var(--ink); overflow: visible !important; height: auto; }
  html.print-req body > :not(.rp):not(.sprite) { display: none !important; }
  html.print-req .rp { display: block; }
  .rp { color: var(--ink); font-size: 10.5pt; line-height: 1.45; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .rp__bar { height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--yellow), var(--green), var(--blue)); margin-bottom: 9mm; }
  .rp__hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 10mm; }
  .rp__brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 12pt; letter-spacing: -0.01em; }
  .rp__brand svg { width: 26px; height: 27px; color: var(--ink); }
  .rp__meta { text-align: right; }
  .rp__meta strong { display: block; font-size: 24pt; font-weight: 300; letter-spacing: -0.035em; line-height: 1.05; }
  .rp__meta span { color: #5A5A5A; }
  .rp__stamp { display: inline-block; margin-top: 8mm; padding: 3px 12px; border: 1px solid var(--ink); border-radius: 999px; font-weight: 600; font-size: 9pt; }
  .rp__parties { display: grid; grid-template-columns: 1fr 1fr; gap: 10mm; margin-top: 8mm; }
  .rp__parties h3 { font-size: 8.5pt; font-weight: 600; color: #6B6B6B; margin-bottom: 1.5mm; }
  .rp__parties p { margin: 0; }
  .rp table { width: 100%; border-collapse: collapse; margin-top: 9mm; font-variant-numeric: tabular-nums; }
  .rp th { text-align: left; font-size: 8.5pt; font-weight: 600; color: #6B6B6B; padding: 0 8px 6px 0; border-bottom: 1px solid var(--ink); }
  .rp td { padding: 9px 8px 9px 0; border-bottom: 0.5pt solid #D6D6D6; vertical-align: top; }
  .rp td small { display: block; color: #6B6B6B; font-size: 8.5pt; }
  .rp .num { text-align: right; padding-right: 0; padding-left: 8px; white-space: nowrap; }
  .rp__dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 0.5pt rgba(0, 0, 0, 0.3); vertical-align: 0; }
  .rp__dot--silver { background: linear-gradient(120deg, #F4F5F7, #9EA4AC 50%, #E6E8EB); }
  .rp tfoot td { border-bottom: 0; padding-top: 12px; font-weight: 600; }
  .rp tfoot .num { font-size: 13pt; }
  .rp__note { margin-top: 6mm; }
  .rp__note strong { font-weight: 600; }
  .rp__terms { margin-top: 6mm; max-width: 130mm; color: #4A4A4A; font-size: 9pt; }
  .rp__ft { margin-top: 12mm; padding-top: 4mm; border-top: 0.5pt solid #D6D6D6; font-size: 8pt; color: #6B6B6B; }
  .rp tr, .rp__parties, .rp__terms { break-inside: avoid; }
}

/* i18n: translated pages (fi/, sv/, et/ are generated by i18n/build.mjs). Long Finnish and Estonian words. */
html:not([lang="en"]) :is(.card__cap h3, .figs dd, .plant figcaption, .about__col li, .sheet__title) { -webkit-hyphens: auto; hyphens: auto; }
@media (max-width: 560px) {
  /* "100 000" does not fit a third of a phone: two figures side by side, the capacity across the row */
  html:not([lang="en"]) .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html:not([lang="en"]) .figs > div:nth-child(3) { grid-column: 1 / -1; }
}
