/* Terminal Goods — Departures Board in bright liquid glass */
:root {
  --ground: #eef4fb;
  --ink: #0d1422;
  --ink-2: #3c4658;           /* secondary text, 9:1 on white glass */
  --muted: #566176;           /* 6:1 on the ground */
  --accent: #1463ff;
  --accent-ink: #ffffff;
  --accent-soft: #dfe9ff;
  --sky: #7cc4ff; --mint: #8ef0c6; --sun: #ffd76b; --coral: #ff9a7a;

  --glass-bg: linear-gradient(140deg, rgba(255,255,255,.72), rgba(255,255,255,.38));
  --glass-line: rgba(255,255,255,.85);
  --glass-edge: rgba(13,20,34,.08);
  --glass-shadow: 0 1px 1px rgba(13,20,34,.04), 0 12px 32px -12px rgba(30,60,120,.28);

  --display: "Bricolage Grotesque", "Schibsted Grotesk", system-ui, sans-serif;
  --text: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-enter: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --t-in: 150ms; --t-out: 120ms; --t-press: 90ms;

  --gutter: clamp(16px, 4vw, 56px);
  --r-s: 10px; --r: 18px; --r-l: 28px;
  --nav-h: 84px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 17px/1.55 var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  scrollbar-color: #b9c6da var(--ground);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: #b9c6da; border: 3px solid var(--ground); border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 12px 16px; background: var(--accent); color: #fff; font-weight: 700; border-radius: 12px; transform: translateY(-160%); }
.skip:not(:focus) { opacity: 0; pointer-events: none; }
.skip:focus { transform: none; }

/* ---------- Sky: drifting colour fields ---------- */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--ground); }
.sky i { position: absolute; width: 58vmax; height: 58vmax; border-radius: 50%; filter: blur(70px); opacity: .7; will-change: transform; }
.sky .b1 { background: var(--sky); left: -18vmax; top: -22vmax; animation: drift1 38s ease-in-out infinite alternate; }
.sky .b2 { background: var(--mint); right: -20vmax; top: 6vmax; animation: drift2 44s ease-in-out infinite alternate; }
.sky .b3 { background: var(--sun); left: 18vmax; bottom: -30vmax; opacity: .55; animation: drift3 50s ease-in-out infinite alternate; }
.sky .b4 { background: var(--coral); right: 10vmax; bottom: -26vmax; opacity: .42; width: 40vmax; height: 40vmax; animation: drift1 46s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate3d(14vmax, 10vmax, 0) scale(1.08); } }
@keyframes drift2 { to { transform: translate3d(-12vmax, 14vmax, 0) scale(.92); } }
@keyframes drift3 { to { transform: translate3d(10vmax, -12vmax, 0) scale(1.1); } }

/* ---------- Liquid glass ---------- */
.glass {
  position: relative; isolation: isolate;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  border-radius: var(--r);
  box-shadow: inset 0 0 0 1px var(--glass-line), inset 0 1px 0 rgba(255,255,255,.95), inset 0 -10px 24px -16px rgba(255,255,255,.9), 0 0 0 1px var(--glass-edge), var(--glass-shadow);
}
/* Chromium: real refraction of what sits behind */
.has-liquid .glass--liquid { -webkit-backdrop-filter: blur(3px) url(#liquid) blur(16px) saturate(190%); backdrop-filter: blur(3px) url(#liquid) blur(16px) saturate(190%); }
/* Specular rim that follows the pointer */
.has-pointer [data-glow]::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, -2000px) var(--my, -2000px), rgba(255,255,255,.75), rgba(255,255,255,0) 42%);
  opacity: .9; transition: opacity 300ms var(--ease);
}
.has-pointer [data-glow]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1.5px;
  background: radial-gradient(360px circle at var(--mx, -2000px) var(--my, -2000px), rgba(255,255,255,1), rgba(124,196,255,.55) 30%, rgba(255,255,255,0) 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass--bar { border-radius: 999px; }
.glass--sheet { border-radius: var(--r-l) 0 0 var(--r-l); }
.chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(13,20,34,.08); font: 600 13px/1 var(--text); letter-spacing: .04em; }

/* ---------- Split-flap tiles (frosted) ---------- */
.flaps { display: inline-flex; gap: 3px; perspective: 400px; font-variant-numeric: tabular-nums; }
.flap {
  position: relative; display: inline-grid; place-items: center;
  width: .74em; height: 1.2em; border-radius: .16em;
  background: linear-gradient(#ffffff 0 49%, rgba(13,20,34,.14) 49% 51%, #f1f5fb 51%);
  box-shadow: inset 0 0 0 1px rgba(13,20,34,.08), 0 1px 2px rgba(13,20,34,.08);
  font-family: var(--display); font-weight: 800; line-height: 1; color: var(--ink);
  transform-origin: 50% 50%; backface-visibility: hidden;
}
.flap--blank { color: transparent; }
.flaps--sm { font-size: 16px; }
.flaps--row { font-size: 22px; }
.flaps--price { font-size: 30px; gap: 2px; }
.flaps--gate { font-size: 24px; }
.flaps--xl { font-size: clamp(28px, 4.4vw, 66px); gap: .06em; flex-wrap: wrap; row-gap: .12em; }
.flaps--xl .flap { width: .7em; }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg); font: 700 16px/1 var(--text);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--t-out) var(--ease), background-color var(--t-out) var(--ease), box-shadow var(--t-out) var(--ease);
}
.btn--primary { --bg: var(--accent); --fg: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 24px -10px rgba(20,99,255,.65); }
.btn--ghost { --bg: rgba(255,255,255,.55); --fg: var(--ink); box-shadow: inset 0 0 0 1px rgba(13,20,34,.14), inset 0 1px 0 #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn--xl { min-height: 60px; padding: 0 32px; font-size: 18px; }
.btn--wide { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) {
  .btn:not(:disabled):hover { transform: translateY(-1px); transition-duration: var(--t-in); background: color-mix(in oklab, var(--bg), var(--fg) 12%); }
  .btn--primary:not(:disabled):hover { background: #0f55e6; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 14px 28px -10px rgba(20,99,255,.75); }
  .btn--ghost:hover { background: rgba(255,255,255,.85); }
  .btn--xl:not(:disabled):hover { transform: translateY(-2px); }
}
.btn:not(:disabled):active { transform: translateY(1px) scale(.97); transition-duration: var(--t-press); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; padding-top: 14px; height: var(--nav-h); }
.nav__in { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: 10px 8px; max-width: calc(1440px - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; padding-inline: 8px; }
.brand__mark { width: 22px; height: 26px; border-radius: 6px; background: var(--accent); position: relative; box-shadow: inset 0 1px 0 rgba(255,255,255,.5); }
.brand__mark i { position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: rgba(255,255,255,.9); }
.brand__word { font: 800 21px/1 var(--display); letter-spacing: -.02em; }
.brand__word b { color: var(--accent); font-weight: 800; }
.nav__links { position: relative; display: flex; gap: 2px; }
.nav__links a { position: relative; padding: 11px 14px; border-radius: 999px; font: 600 15px/1 var(--text); color: var(--ink-2); text-decoration: none; transition: color var(--t-out) var(--ease), background-color var(--t-out) var(--ease); }
.nav__links a:hover, .nav__links a:focus-visible { color: var(--ink); background: rgba(255,255,255,.6); }
.nav__links a[aria-current="page"] { color: var(--ink); background: #fff; box-shadow: 0 2px 8px -3px rgba(13,20,34,.2), inset 0 0 0 1px rgba(13,20,34,.06); }
.cart-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 8px 0 16px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; cursor: pointer; transition: transform var(--t-press) var(--ease), background-color var(--t-out) var(--ease); }
.cart-btn:hover { background: #222c3f; }
.cart-btn:active { transform: scale(.96); }
.cart-btn .flap { background: linear-gradient(#2a3448 0 49%, #0d1422 49% 51%, #232c3e 51%); color: #fff; box-shadow: none; }
.cart-btn.is-bump { animation: bump 420ms var(--ease); }
@keyframes bump { 30% { transform: scale(1.08); } 100% { transform: none; } }

/* ---------- Sections ---------- */
main > section { min-height: calc(100svh - var(--nav-h)); display: flex; align-items: center; padding-block: clamp(56px, 8vh, 96px); }
main > section > .wrap { width: 100%; }
h2 { font: 800 clamp(38px, 4.8vw, 72px)/.98 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(28px, 4.5vh, 48px); }
.sec-head--text p { color: var(--muted); max-width: 44ch; font-size: 18px; }

/* ---------- Hero ---------- */
main > section.hero { padding-block: clamp(16px, 3vh, 36px) clamp(24px, 4vh, 44px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 40%); grid-template-areas: "copy gate" "dock dock"; gap: clamp(20px, 3vh, 32px) clamp(24px, 4vw, 64px); align-items: center; }
.hero__copy { grid-area: copy; }
.hero__title { font: 800 clamp(54px, 7.4vw, 118px)/.9 var(--display); letter-spacing: -.045em; }
.hero__title .line { display: block; }
.hero__title .line--accent { color: var(--accent); }
.hero__lead { margin-top: 22px; max-width: 46ch; color: var(--ink-2); font-size: 19px; }
.hero__actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

.gate { grid-area: gate; display: grid; gap: 14px; padding: 22px; border-radius: var(--r-l); }
.gate__top { display: flex; align-items: center; gap: 12px; }
.gate__label { font: 700 13px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.gate__line { margin-left: auto; }
.gate__stage { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r); overflow: hidden; background: radial-gradient(80% 70% at 50% 45%, #fff 0 55%, rgba(255,255,255,.6)); box-shadow: inset 0 0 0 1px rgba(13,20,34,.05); }
.gate__stage img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; animation: float 6s ease-in-out infinite; }
.gate__stage::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: 6%; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(13,20,34,.18), transparent); animation: shadow 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes shadow { 50% { transform: scaleX(.86); opacity: .7; } }
.gate__stage img.is-swapping { animation: arrive 620ms var(--ease-enter) both, float 6s ease-in-out 620ms infinite; }
@keyframes arrive { from { opacity: 0; transform: translateY(18px) scale(.94); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.gate__name { font: 800 clamp(24px, 2.2vw, 34px)/1.02 var(--display); letter-spacing: -.03em; }
.gate__specs { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.gate__specs li { padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(13,20,34,.07); font: 500 14px/1.2 var(--text); color: var(--ink-2); }
.gate__buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 1px solid rgba(13,20,34,.08); }
.gate__price { display: inline-flex; align-items: center; gap: 6px; font: 800 28px/1 var(--display); }

/* Dock */
.dock-wrap { grid-area: dock; display: flex; justify-content: center; min-width: 0; }
.dock { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-radius: 26px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.dock::-webkit-scrollbar { display: none; }
.dock li { flex: none; }
.dock button {
  --s: 1; position: relative; display: grid; place-items: center; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 16px; cursor: pointer;
  background: rgba(255,255,255,.85); box-shadow: inset 0 0 0 1px rgba(13,20,34,.06), 0 4px 10px -6px rgba(13,20,34,.3);
  transform: translateY(calc((var(--s) - 1) * -18px)) scale(var(--s)); transform-origin: 50% 100%;
  transition: transform 160ms var(--ease), box-shadow var(--t-out) var(--ease);
}
.dock button img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; pointer-events: none; }
.dock button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--accent), 0 6px 14px -6px rgba(20,99,255,.6); }
.dock button[aria-pressed="true"]::after { content: ""; position: absolute; bottom: -7px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.dock button:active { transform: translateY(calc((var(--s) - 1) * -18px)) scale(calc(var(--s) * .94)); }
.dock .tip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 4px); padding: 6px 10px; border-radius: 10px; background: var(--ink); color: #fff; font: 600 13px/1 var(--text); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 120ms var(--ease), transform 120ms var(--ease); }
.dock button:hover .tip, .dock button:focus-visible .tip { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Board ---------- */
.filters { position: relative; display: flex; gap: 2px; padding: 5px; border-radius: 999px; flex-wrap: wrap; }
.filters button { position: relative; z-index: 1; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font: 600 15px/1 var(--text); color: var(--ink-2); cursor: pointer; transition: color 200ms var(--ease); }
.filters button[aria-checked="true"], .filters button[aria-selected="true"] { color: #fff; }
.filters__pill { position: absolute; z-index: 0; left: 0; top: 0; height: 40px; border-radius: 999px; background: var(--ink); transform: translate(var(--px, 5px), 5px); width: var(--pw, 60px); transition: transform 320ms var(--ease), width 320ms var(--ease); }
.board { padding: 10px 14px 14px; border-radius: var(--r-l); }
.board__head, .row { display: grid; grid-template-columns: 70px 64px minmax(0, 1fr) 130px 168px 120px; gap: 16px; align-items: center; }
.board__head { grid-template-columns: 70px 64px minmax(0, 1fr) 130px 168px 120px; padding: 12px 12px; font: 700 12px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.board__head span:first-child { grid-column: 1 / 3; }
.board__rows li { border-top: 1px solid rgba(13,20,34,.07); }
.board__rows li[hidden] { display: none; }
.row { width: 100%; min-height: 70px; padding: 6px 12px; border: 0; border-radius: 14px; background: transparent; text-align: left; cursor: pointer; transition: background-color var(--t-out) var(--ease); }
.row__thumb { width: 52px; height: 52px; border-radius: 12px; background: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(13,20,34,.06); }
.row__thumb img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.row__name { font: 700 clamp(17px, 1.4vw, 20px)/1.2 var(--text); letter-spacing: -.01em; }
.row__line { color: var(--muted); font-size: 15px; }
.row__status { justify-self: start; display: inline-grid; place-items: center; min-width: 104px; height: 32px; padding: 0 12px; border-radius: 999px; font: 700 13px/1 var(--text); letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px rgba(13,20,34,.08); color: var(--ink-2); }
.row__status[data-s="boarding"] { background: var(--accent); color: #fff; box-shadow: none; }
.row__status[data-s="boarded"] { background: var(--ink); color: #fff; box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .row:hover { background: rgba(255,255,255,.6); } }
.row[aria-pressed="true"] { background: rgba(255,255,255,.9); box-shadow: 0 6px 18px -10px rgba(13,20,34,.3); }
.row[aria-pressed="true"] .flaps--row .flap { background: linear-gradient(#3d7bff 0 49%, #0b47cc 49% 51%, #1463ff 51%); color: #fff; box-shadow: none; }

/* ---------- Lines ---------- */
.lines__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.lines__grid li:first-child { grid-row: 1 / 3; }
.line-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 100%; min-height: 220px; padding: 22px; text-decoration: none; border-radius: var(--r-l); overflow: hidden; transition: transform 180ms var(--ease), box-shadow 180ms var(--ease); }
.line-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.line-card__name { font: 800 clamp(26px, 2.4vw, 38px)/1 var(--display); letter-spacing: -.03em; }
.line-card__n { color: var(--muted); font-size: 15px; white-space: nowrap; }
.line-card__from { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.line-card__pics { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 4%; margin-top: 18px; flex: 1; min-height: 120px; }
.line-card__pics img { width: 30%; aspect-ratio: 1; height: auto; padding: 4%; object-fit: contain; background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(13,20,34,.05), 0 10px 24px -14px rgba(13,20,34,.35); transition: transform 500ms var(--ease); }
.lines__grid li:first-child .line-card__pics { align-items: center; }
.lines__grid li:first-child .line-card__pics img { width: 31%; }
.line-card__pics img:nth-child(2) { transform: translateY(-10px); }
@media (hover: hover) and (pointer: fine) {
  .line-card:hover { transform: translateY(-2px); }
  .line-card:hover .line-card__pics img { transform: translateY(-6px) scale(1.03); }
  .line-card:hover .line-card__pics img:nth-child(2) { transform: translateY(-16px) scale(1.03); }
}

/* ---------- Arrivals ---------- */
.arrivals__board { display: grid; gap: clamp(14px, 2vh, 22px); padding: clamp(22px, 3vw, 44px); border-radius: var(--r-l); }
.arrivals__row { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: center; }
.arrivals__k { font: 700 13px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.arrivals__foot { margin-top: clamp(24px, 4vh, 40px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.arrivals__foot p { color: var(--ink-2); max-width: 52ch; }
.pause { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; font-weight: 600; cursor: pointer; }

/* ---------- Terms ---------- */
.timetable { margin-top: clamp(28px, 4vh, 44px); padding: 8px 24px; border-radius: var(--r-l); }
.timetable li { display: grid; grid-template-columns: 160px 1fr 110px; gap: 20px; align-items: center; padding: 22px 0; }
.timetable li + li { border-top: 1px solid rgba(13,20,34,.08); }
.tt__k { font: 800 24px/1 var(--display); letter-spacing: -.02em; }
.tt__v { font-size: 18px; color: var(--ink-2); }
.tt__s { justify-self: end; font: 700 13px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* ---------- Close ---------- */
.close__in { display: grid; gap: 40px; justify-items: start; }
.close__title { font-size: clamp(64px, 11vw, 180px); line-height: .86; letter-spacing: -.05em; }
.close__title span { display: block; }
.close__title span + span { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { padding-block: 48px 32px; }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer__note { margin-top: 12px; color: var(--muted); font-size: 15px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink-2); text-decoration: none; font-size: 15px; border-radius: 999px; }
.footer nav a:hover { color: var(--ink); background: rgba(255,255,255,.6); }
.footer__credits { margin-top: 28px; color: var(--muted); font-size: 13px; }

/* ---------- Cart drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(13,20,34,.18); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity 200ms var(--ease); }
.scrim.is-open { opacity: 1; }
.cart {
  position: fixed; z-index: 70; top: 10px; right: 10px; bottom: 10px; width: min(440px, calc(100vw - 20px));
  display: flex; flex-direction: column; border-radius: var(--r-l);
  background: linear-gradient(140deg, rgba(255,255,255,.88), rgba(255,255,255,.7));
  transform: translateX(calc(100% + 20px)); visibility: hidden;
  transition: transform 220ms var(--ease), visibility 0s linear 220ms;
}
.cart.is-open { transform: none; visibility: visible; transition: transform 340ms var(--ease), visibility 0s; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 16px 24px; border-bottom: 1px solid rgba(13,20,34,.08); }
.cart__head h2 { font-size: 32px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(13,20,34,.08); cursor: pointer; transition: background-color var(--t-out) var(--ease), transform var(--t-press) var(--ease); }
.icon-btn:hover { background: #fff; }
.icon-btn:active { transform: scale(.94); }
.cart__list { flex: 1 1 auto; overflow-y: auto; padding: 8px 24px; }
.cart__item { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(13,20,34,.08); animation: slidein 320ms var(--ease) both; }
@keyframes slidein { from { opacity: 0; transform: translateX(16px); } }
.cart__item .thumb { width: 72px; height: 72px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(13,20,34,.06); }
.cart__item img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.cart__item h3 { font: 700 16px/1.25 var(--text); }
.cart__meta { margin-top: 4px; color: var(--ink-2); font-size: 14px; }
.cart__ctrl { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(13,20,34,.1); }
.qty button { width: 44px; height: 40px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: 20px; }
.qty button:active { transform: scale(.9); }
.qty output { min-width: 26px; text-align: center; font-weight: 700; }
.remove { min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; }
.remove:hover { color: var(--ink); }
.cart__empty { padding: 32px 24px; color: var(--ink-2); }
.cart__foot { padding: 20px 24px 24px; border-top: 1px solid rgba(13,20,34,.08); display: grid; gap: 14px; }
.cart__total { display: flex; align-items: center; justify-content: space-between; font: 800 22px/1 var(--display); }
.cart__note { color: var(--ink-2); font-size: 14px; }

/* Fly-to-cart ghost */
.flyer { position: fixed; z-index: 90; width: 72px; height: 72px; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px -8px rgba(13,20,34,.35); display: grid; place-items: center; pointer-events: none; }
.flyer img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 80; left: 50%; bottom: 24px; padding: 14px 20px; border-radius: 999px; font-weight: 600; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: transform 220ms var(--ease), opacity 220ms var(--ease); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Hero entrance (once) ---------- */
.js [data-enter] .hero__title .line, .js [data-enter] .hero__lead, .js [data-enter] .hero__actions, .js [data-enter] .gate, .js [data-enter] .dock { opacity: 0; }
.js .is-entered .hero__title .line { animation: rise 760ms var(--ease-enter) both; }
.js .is-entered .hero__title .line--accent { animation-delay: 90ms; }
.js .is-entered .hero__lead { animation: rise 760ms var(--ease-enter) 180ms both; }
.js .is-entered .hero__actions { animation: rise 760ms var(--ease-enter) 260ms both; }
.js .is-entered .gate { animation: settle 1000ms var(--ease-enter) 200ms both; }
.js .is-entered .dock { animation: rise 800ms var(--ease-enter) 420ms both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(16px) scale(.97); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

@media (prefers-reduced-motion: reduce) {
  .js [data-enter] .hero__title .line, .js [data-enter] .hero__lead, .js [data-enter] .hero__actions, .js [data-enter] .gate, .js [data-enter] .dock { opacity: 1; animation: none !important; }
  .sky i, .gate__stage img, .gate__stage::after, .cart__item { animation: none !important; }
  .dock button, .line-card, .line-card__pics img, .btn, .cart, .scrim, .toast, .filters__pill { transition-duration: 0ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .board__head, .row { grid-template-columns: 60px 56px minmax(0, 1fr) 150px 116px; }
  .col-line, .row__line { display: none; }
}
@media (max-width: 1023px) {
  .nav__links { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "gate" "dock"; }
  .gate { max-width: 560px; }
  .lines__grid { grid-template-columns: 1fr 1fr; }
  .lines__grid li:first-child { grid-row: auto; grid-column: 1 / -1; }
  .lines__grid li:first-child .line-card__pics img { max-height: 220px; }
}
@media (max-width: 899px) {
  main > section.hero { min-height: auto; }
}
@media (max-width: 640px) {
  :root { --nav-h: 76px; }
  body { font-size: 16px; }
  .nav { padding-top: 10px; }
  .nav__in { height: 56px; }
  .brand__word { font-size: 19px; }
  .cart-btn > span:not(.flaps):not(.sr) { display: none; }
  .hero__lead { font-size: 17px; }
  .hero__actions { display: none; }
  .gate { padding: 16px; }
  .gate__stage { aspect-ratio: 4 / 3; }
  .gate__buy .btn { flex: 1 1 auto; }
  .dock { justify-content: flex-start; }
  .dock button { width: 54px; height: 54px; }
  .board { padding: 6px; }
  .board__head { display: none; }
  .row { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "thumb name price" "thumb gate status"; gap: 6px 12px; padding: 10px 8px; }
  .row > .flaps--row:first-child { grid-area: gate; font-size: 15px; }
  .row__thumb { grid-area: thumb; }
  .row__name { grid-area: name; font-size: 16px; }
  .row__price { grid-area: price; justify-self: end; font-size: 16px; }
  .row__status { grid-area: status; justify-self: end; min-width: 0; height: 26px; font-size: 11px; }
  .lines__grid { grid-template-columns: 1fr; }
  .line-card { min-height: 0; }
  .arrivals__row { grid-template-columns: 1fr; gap: 8px; }
  .flaps--xl { font-size: clamp(17px, 6vw, 28px); }
  .timetable { padding: 4px 16px; }
  .timetable li { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .tt__v { grid-column: 1 / -1; grid-row: 2; font-size: 16px; }
  .tt__s { grid-row: 1; grid-column: 2; }
  .btn--xl, .arrivals__foot .btn { width: 100%; }
  .footer nav a { padding: 0 16px 0 0; }
}

/* =========================================================
   v3: rolling numbers, laptop intro, shop grid, detail sheet
   ========================================================= */

/* ---------- Rolling numbers (NumberFlow-style) ---------- */
.roll { display: inline-flex; align-items: baseline; font-variant-numeric: tabular-nums; line-height: 1; white-space: nowrap; }
.roll__d { position: relative; display: inline-block; height: 1em; overflow: hidden; width: .62em; -webkit-mask: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask: linear-gradient(transparent, #000 22%, #000 78%, transparent); padding-block: .12em; box-sizing: content-box; margin-block: -.12em; }
.roll__col { display: flex; flex-direction: column; align-items: center; transform: translateY(0); transition: transform 760ms cubic-bezier(.22, 1, .36, 1); will-change: transform; }
.roll__col span { display: block; height: 1em; line-height: 1; }
.roll__s { display: inline-block; }
.roll__enter { animation: rollEnter 420ms cubic-bezier(.22, 1, .36, 1) both; }
@keyframes rollEnter { from { opacity: 0; transform: translateY(.35em); filter: blur(4px); } }
@media (prefers-reduced-motion: reduce) { .roll__col { transition: none; } .roll__enter { animation: none; } }
.count-pill { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 9px; border-radius: 999px; background: #fff; color: var(--ink); font: 700 14px/1 var(--text); }
.gate__no { font: 800 26px/1 var(--display); letter-spacing: -.02em; }

/* ---------- Gate stage is a button now ---------- */
button.gate__stage { width: 100%; padding: 0; border: 0; cursor: zoom-in; display: block; }
.gate__peek { position: absolute; right: 12px; bottom: 12px; padding: 8px 12px; border-radius: 999px; background: rgba(13,20,34,.82); color: #fff; font: 600 13px/1 var(--text); opacity: 0; transform: translateY(4px); transition: opacity 160ms var(--ease), transform 160ms var(--ease); }
button.gate__stage:hover .gate__peek, button.gate__stage:focus-visible .gate__peek { opacity: 1; transform: none; }
.dock { max-width: min(100%, 1100px); }

/* ---------- Intro scene ---------- */
main > section.intro { position: relative; height: 420vh; padding: 0; display: block; min-height: 0; margin-top: calc(var(--nav-h) * -1); }
.intro__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; perspective: 1600px; }
.intro__word { position: absolute; left: 50%; top: 50%; margin: 0; transform: translate(-50%, -50%) translateX(var(--wx, 0px)); font: 800 clamp(90px, 19vw, 300px)/.8 var(--display); letter-spacing: -.06em; white-space: nowrap; color: rgba(13,20,34,.05); pointer-events: none; }
.intro__captions { position: absolute; left: 50%; top: calc(var(--nav-h) + clamp(12px, 4vh, 40px)); width: min(92vw, 900px); transform: translateX(-50%); text-align: center; height: clamp(90px, 15vh, 170px); z-index: 2; }
.intro__cap { position: absolute; inset: 0; margin: 0; font: 800 clamp(34px, 5.4vw, 80px)/.95 var(--display); letter-spacing: -.045em; opacity: 0; transform: translateY(16px); filter: blur(8px); transition: opacity 500ms var(--ease), transform 600ms var(--ease-enter), filter 500ms var(--ease); }
.intro__cap span { color: var(--accent); }
.intro__cap.is-on { opacity: 1; transform: none; filter: none; }

.laptop { --w: min(74vw, 820px); --lid: 88deg; --tilt: 26deg; --zoom: 1; --ty: 6vh; position: relative; width: var(--w); aspect-ratio: 16 / 10.4; transform-style: preserve-3d; transform: translateY(var(--ty)) scale(var(--zoom)) rotateX(var(--tilt)); transform-origin: 50% 46%; will-change: transform; }
.laptop__lid { position: absolute; inset: 0 0 auto 0; height: 100%; transform-origin: 50% 100%; transform: rotateX(var(--lid)); transform-style: preserve-3d; }
.lid__back, .lid__front { position: absolute; inset: 0; border-radius: 22px 22px 6px 6px; backface-visibility: hidden; }
.lid__back { transform: rotateY(180deg); background: linear-gradient(160deg, #e9edf3, #c9d0da 55%, #b8c0cc); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }
.lid__front { background: #0d1117; padding: 2.2% 2.2% 3.2%; box-shadow: inset 0 0 0 2px #2a2f38, 0 30px 60px -30px rgba(13,20,34,.6); }
.lid__front::before { content: ""; position: absolute; top: 1%; left: 50%; width: 10%; height: 2.2%; transform: translateX(-50%); background: #0d1117; border-radius: 0 0 8px 8px; z-index: 2; }
/* Keyboard deck: lies flat in front of the hinge; the closed lid rests on it. */
.laptop__deck { position: absolute; left: -3%; right: -3%; top: 100%; height: 97%; transform-origin: 50% 0; transform: rotateX(90deg); transform-style: preserve-3d; border-radius: 4px 4px 26px 26px; background: linear-gradient(180deg, #d9dee6, #e8ecf2 40%, #dfe4eb); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 0 90px 10px rgba(13,20,34,.16); }
.deck__keys { position: absolute; left: 9%; right: 9%; top: 9%; height: 48%; border-radius: 10px; background:
  repeating-linear-gradient(90deg, transparent 0 1.2%, rgba(13,20,34,.0) 1.2% 7.33%),
  linear-gradient(#1b2029, #1b2029);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 6.1%, transparent 6.1% 6.7%), repeating-linear-gradient(180deg, #000 0 15.5%, transparent 15.5% 16.9%);
  -webkit-mask-composite: source-in; mask-composite: intersect; opacity: .82; }
.deck__pad { position: absolute; left: 32%; right: 32%; top: 62%; height: 30%; border-radius: 12px; background: linear-gradient(#d3d9e1, #cfd5de); box-shadow: inset 0 0 0 1px rgba(13,20,34,.08); }
.deck__lip { position: absolute; left: 0; right: 0; top: 100%; height: 3.6%; transform-origin: 50% 0; transform: rotateX(-90deg); background: linear-gradient(#c7ced8, #a9b2be); border-radius: 0 0 14px 14px; }
.laptop__notch { position: absolute; left: 50%; top: 0; width: 14%; height: 45%; transform: translateX(-50%); background: #b8c0cb; border-radius: 0 0 10px 10px; }

.screen { position: relative; width: 100%; height: 100%; border-radius: 10px; overflow: hidden; background: linear-gradient(140deg, #f6f9ff, #e4efff 45%, #e9fff6); color: var(--ink); opacity: var(--glow, 0); }
.screen__bar { display: flex; align-items: center; gap: 6px; height: 7%; padding: 0 2.4%; background: rgba(255,255,255,.7); border-bottom: 1px solid rgba(13,20,34,.06); font: 600 clamp(8px, 1vw, 12px)/1 var(--text); color: var(--muted); }
.screen__bar i { width: .9%; aspect-ratio: 1; min-width: 6px; border-radius: 50%; background: #ff6b5e; }
.screen__bar i:nth-child(2) { background: #ffbd2e; } .screen__bar i:nth-child(3) { background: #28c840; }
.screen__bar span { margin-left: auto; margin-right: auto; padding: 3px 18px; border-radius: 999px; background: rgba(13,20,34,.05); }
.screen__slide { position: absolute; inset: 7% 0 0 0; display: grid; place-content: center; justify-items: center; gap: 3.5%; padding: 4%; text-align: center; opacity: 0; transform: translateY(14px) scale(.98); filter: blur(6px); transition: opacity 420ms var(--ease), transform 520ms var(--ease-enter), filter 420ms var(--ease); }
.screen__slide.is-on { opacity: 1; transform: none; filter: none; }
.screen__brand { display: inline-flex; align-items: center; gap: 8px; font: 800 clamp(12px, 1.8vw, 22px)/1 var(--display); }
.screen__brand b { color: var(--accent); }
.screen__big { margin: 0; font: 800 clamp(26px, 6vw, 76px)/.9 var(--display); letter-spacing: -.05em; }
.screen__strip { display: flex; gap: 2.5%; width: 86%; justify-content: center; }
.screen__strip img { width: 15%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 12px; padding: 1.2%; box-shadow: 0 8px 18px -10px rgba(13,20,34,.35); }
.screen__deal { display: flex; align-items: center; gap: 6%; width: 86%; text-align: left; }
.screen__deal img { width: 42%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 18px; padding: 3%; box-shadow: 0 16px 30px -16px rgba(13,20,34,.4); }
.screen__name { margin: 0 0 8px; font: 700 clamp(12px, 1.8vw, 22px)/1.15 var(--text); }
.screen__price { margin: 0; font: 800 clamp(28px, 6vw, 80px)/1 var(--display); letter-spacing: -.04em; color: var(--accent); display: flex; align-items: baseline; }
.screen__note { margin: 6px 0 0; color: var(--muted); font: 500 clamp(10px, 1.2vw, 15px)/1.3 var(--text); }

.intro__foot { position: absolute; left: 0; right: 0; bottom: clamp(16px, 4vh, 36px); display: flex; justify-content: center; align-items: center; gap: 20px; z-index: 2; }
.intro__hint { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1 var(--text); color: var(--ink-2); transition: opacity 300ms var(--ease); }
.intro__hint i { width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 2px var(--ink-2); position: relative; }
.intro__hint i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--ink-2); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }
.intro__skip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px rgba(13,20,34,.12); font: 600 14px/1 var(--text); color: var(--ink); text-decoration: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.intro__skip:hover { background: #fff; }
@media (prefers-reduced-motion: reduce) {
  main > section.intro { height: auto; }
  .intro__stage { position: relative; height: auto; min-height: 100svh; padding: calc(var(--nav-h) + 160px) 0 120px; }
  .laptop { --lid: -2deg; --tilt: 8deg; }
  .screen { opacity: 1; }
  .intro__hint i::after { animation: none; }
}

/* ---------- Shop grid ---------- */
.shop__count { margin: -12px 0 22px; color: var(--ink-2); font: 600 15px/1 var(--text); display: flex; align-items: baseline; gap: 6px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.grid li[hidden] { display: none; }
.card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 12px; border-radius: var(--r-l); cursor: pointer; transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.card__open { all: unset; display: block; cursor: pointer; border-radius: 18px; }
.card__open:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.card__media { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 18px; background: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(13,20,34,.05); }
.card__media img { width: 82%; height: 82%; object-fit: contain; transition: transform 500ms var(--ease); }
.card__gate { position: absolute; left: 10px; top: 10px; padding: 5px 8px; border-radius: 8px; background: rgba(13,20,34,.06); font: 700 12px/1 var(--text); letter-spacing: .06em; color: var(--ink-2); }
.card__body { display: grid; gap: 6px; padding: 14px 6px 4px; }
.card__line { font: 600 12px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card__name { font: 700 17px/1.25 var(--text); letter-spacing: -.01em; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 10px 6px 2px; }
.card__price { font: 800 22px/1 var(--display); letter-spacing: -.03em; display: inline-flex; align-items: baseline; }
.card__add { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; cursor: pointer; transition: transform var(--t-out) var(--ease), background-color var(--t-out) var(--ease); }
.card__add:hover { background: var(--accent); }
.card__add:active { transform: scale(.92); }
.card__add.is-done { background: var(--accent); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--glass-line), 0 22px 40px -22px rgba(30,60,120,.45); }
  .card:hover .card__media img { transform: scale(1.05); }
}

/* ---------- Detail sheet ---------- */
.sheet { width: min(980px, calc(100vw - 32px)); max-height: calc(100svh - 48px); padding: 0; border: 0; border-radius: 32px; background: linear-gradient(140deg, rgba(255,255,255,.97), rgba(244,248,255,.94)); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(13,20,34,.45), inset 0 0 0 1px #fff; overflow: auto; }
.sheet::backdrop { background: rgba(13,20,34,.28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sheet[open] { animation: sheetIn 420ms cubic-bezier(.22, 1, .36, 1); }
.sheet[open]::backdrop { animation: fadeIn 300ms var(--ease); }
.sheet.is-closing { animation: sheetOut 200ms var(--ease) forwards; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes sheetOut { to { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
.sheet__in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; }
.sheet__close { position: absolute; right: 16px; top: 16px; z-index: 2; }
.sheet__media { margin: 0; display: grid; place-items: center; padding: 32px; background: #fff; min-height: 420px; border-radius: 32px 0 0 32px; }
.sheet__media img { width: 92%; height: auto; max-height: 520px; object-fit: contain; }
.sheet__body { padding: 40px 36px 32px; display: flex; flex-direction: column; gap: 16px; }
.sheet__meta { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font: 600 13px/1 var(--text); letter-spacing: .06em; }
.sheet__name { margin: 0; font: 800 clamp(28px, 3.2vw, 42px)/1 var(--display); letter-spacing: -.035em; padding-right: 40px; }
.sheet__price { margin: 0; display: flex; align-items: baseline; gap: 4px; font: 800 44px/1 var(--display); letter-spacing: -.04em; color: var(--accent); }
.sheet__from { font: 600 14px/1 var(--text); letter-spacing: .04em; color: var(--muted); margin-right: 6px; }
.sheet__specs { margin: 4px 0 0; display: grid; border-top: 1px solid rgba(13,20,34,.08); }
.sheet__specs div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(13,20,34,.08); animation: specIn 420ms cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(var(--i) * 45ms + 120ms); }
@keyframes specIn { from { opacity: 0; transform: translateY(8px); } }
.sheet__specs dt { font: 600 13px/1.4 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sheet__specs dd { margin: 0; font: 500 16px/1.4 var(--text); }
.sheet__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.sheet__note { margin: 0; color: var(--muted); font-size: 13px; }
::view-transition-group(product) { animation-duration: 480ms; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 240ms; }
@media (prefers-reduced-motion: reduce) { .sheet[open], .sheet.is-closing, .sheet__specs div { animation: none; } }

@media (max-width: 760px) {
  .sheet { width: 100vw; max-width: 100vw; max-height: 92svh; margin: auto 0 0; border-radius: 28px 28px 0 0; }
  .sheet[open] { animation-name: sheetUp; }
  .sheet__in { grid-template-columns: 1fr; }
  .sheet__media { min-height: 0; padding: 24px; border-radius: 28px 28px 0 0; }
  .sheet__media img { max-height: 260px; }
  .sheet__body { padding: 20px 20px 28px; }
  .sheet__actions .btn { flex: 1 1 auto; }
  .sheet__specs div { grid-template-columns: 110px 1fr; }
}
@keyframes sheetUp { from { transform: translateY(40%); opacity: 0; } }
@media (max-width: 640px) {
  .laptop { --w: 88vw; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card { padding: 8px; }
  .card__name { font-size: 14px; }
  .card__price { font-size: 18px; }
  .card__add { width: 40px; height: 40px; }
  .intro__foot { flex-direction: column; gap: 8px; }
}
.sheet.no-anim[open], .sheet.no-anim[open]::backdrop { animation: none; }
.line-card__pics img:nth-child(n+4) { display: none; }

/* ---------- Performance pass ---------- */
/* Static soft colour fields: no blur filter, no animation (the glass no longer re-blurs every frame). */
.sky { contain: strict; }
.sky i { animation: none !important; filter: none !important; opacity: 1 !important; will-change: auto; }
.sky .b1 { background: radial-gradient(closest-side, rgba(124,196,255,.8), rgba(124,196,255,0)) !important; }
.sky .b2 { background: radial-gradient(closest-side, rgba(142,240,198,.75), rgba(142,240,198,0)) !important; }
.sky .b3 { background: radial-gradient(closest-side, rgba(255,215,107,.6), rgba(255,215,107,0)) !important; }
.sky .b4 { background: radial-gradient(closest-side, rgba(255,154,122,.45), rgba(255,154,122,0)) !important; }
/* Real backdrop blur only on the few floating surfaces; repeated panels use a frosted fill instead. */
.glass { -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); }
.card.glass, .line-card.glass, .timetable.glass, .arrivals__board.glass, .filters.glass, .pause.glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(140deg, rgba(255,255,255,.86), rgba(255,255,255,.62)); }
/* Pointer highlight only on the hovered panel. */
.has-pointer [data-glow]:not(.is-lit)::before, .has-pointer [data-glow]:not(.is-lit)::after { display: none; }
/* Sections far below the fold are not laid out or painted until they come near. */
main > section.lines, main > section.shop, main > section.arrivals, main > section.terms, main > section.close, .footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.laptop { --w: min(54vw, 620px); }
@media (max-width: 640px) { .laptop { --w: 76vw; } }
