:root {
  --wall: #f5f5f4;
  --card: #ebebeb;
  --ink: #1f1f1f;
  --muted: #747474;
  --faint: #a3a3a3;
  --rule: #d5d5d5;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --pad: clamp(20px, 7.5vw, 66px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.3s ease both vt-out; }
::view-transition-new(root) { animation: 0.45s ease both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--wall);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
::selection { background: var(--ink); color: var(--card); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.muted { color: var(--muted); }
.u { border-bottom: 1px solid var(--faint); transition: border-color 0.2s; }
.u:hover { border-color: var(--ink); }

/* ---------- Logo: the alpha (α), sized by the font-size of wherever it sits ---------- */
.alpha {
  font-family: "Noto Serif", Georgia, "Times New Roman", serif;
  font-style: italic; font-weight: 700; font-size: 1.3em; line-height: 0.8;
  /* Takes the color of the card it sits on */
  color: var(--band, #cf5128); letter-spacing: 0; transition: color 0.45s ease;
}
/* "α." — the period in the heavy sans, back at the surrounding text size */
.alpha::after {
  content: "."; font-family: var(--sans); font-style: normal; font-weight: 800;
  font-size: 0.77em; letter-spacing: 0; margin-left: 0.04em; color: var(--ink);
}
.top-mark .alpha::after, .dock-home .alpha::after { color: #fff; }
/* On dark backgrounds a dark card color would vanish, so it's swapped for white */
.top-mark .alpha, .dock-home .alpha { color: var(--band-on-dark, var(--band, #cf5128)); }

/* ---------- Color band: a slim rounded bar inset inside each card, so the
   card's rounded outline stays whole ---------- */
.card, .modal-card, .cc a, .ticket, .exp-fig, .dock-card, .cnav-thumb { position: relative; }
.card::before, .modal-card::before, .cc a::before, .ticket::before, .exp-fig::before, .dock-card::before, .cnav-thumb::before {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  top: var(--bt, 12px); left: var(--bx, 16px); right: var(--bx, 16px); height: var(--bh, 5px);
  border-radius: 999px; background: var(--band, #b07a78);
}
.card { --bt: 22px; --bx: 28px; --bh: 8px; }
.modal-card { --bt: 36px; --bx: 64px; --bh: 6px; } /* centred on the × (top 22px + 34px / 2) */
.cc a { --bt: 11px; --bx: 18px; --bh: 5px; }
.ticket { --bt: 9px; --bx: 14px; --bh: 4px; }
.exp-fig { --bt: 8px; --bx: 14px; --bh: 4px; }
.dock-card { --bt: 4px; --bx: 6px; --bh: 3px; }
.cnav-thumb { --bt: 3px; --bx: 4px; --bh: 3px; }

/* ---------- The card ---------- */
.wall { padding: clamp(0px, 3vw, 40px) clamp(0px, 3vw, 40px) clamp(0px, 4vw, 56px); }
.card {
  max-width: 680px; margin: 0 auto; min-height: 100vh;
  background: var(--card);
  /* Rounded top corners like an Apple card */
  border-radius: 28px 28px 0 0;
  background: var(--card);
  padding: 104px var(--pad) 56px;
  display: flex; flex-direction: column;
  /* Scalloped "ticket" bottom edge */
  --scallop: radial-gradient(circle at 7px 100%, transparent 5px, #000 5.5px) left bottom / 14px 8px repeat-x;
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, var(--scallop);
  mask: linear-gradient(#000, #000) top / 100% calc(100% - 8px) no-repeat, var(--scallop);
  padding-bottom: 64px;
}

.card-head {
  display: grid; grid-template-columns: 1fr minmax(150px, 260px) auto; gap: 16px;
  align-items: start; margin-bottom: 72px;
}
.mark {
  font-weight: 800; font-size: clamp(46px, 7vw, 60px); line-height: 0.8; letter-spacing: -0.04em;
  display: inline-block; transition: transform 0.4s var(--ease);
}
.mark .alpha { transition: transform 0.5s var(--ease); }
.mark:hover .alpha { transform: rotate(-8deg); }
.meta { font-size: 17px; line-height: 1.05; font-weight: 300; }
/* Status pill in the card header's top-right, matching the carousel and nav bar */
.card-head .head-chip { align-self: start; justify-self: end; white-space: nowrap; font-size: 12px; padding: 2px 8px; border-radius: 6px; }

.title {
  font-size: clamp(30px, 4.4vw, 38px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1;
  border-top: 1px solid var(--rule); padding: 38px 0 40px;
}
.by {
  font-size: clamp(22px, 3.4vw, 30px); font-weight: 300; letter-spacing: -0.015em; line-height: 1.1;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 24px 0 26px;
}

.fig { margin: clamp(40px, 8vw, 84px) 0 clamp(36px, 6vw, 64px); display: flex; justify-content: center; }
.fig svg { width: min(100%, 540px); height: auto; aspect-ratio: 1; overflow: visible; display: block; }
.fig svg.clickable { cursor: pointer; }
.hint { text-align: center; font-size: 12px; color: var(--faint); margin: 20px 0 28px; }
/* Tucked up under a figure when it captions one */
.fig + .hint { margin: -28px 0 48px; }

.card-foot {
  margin-top: auto; padding-top: 56px;
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 24px;
}
.wordmark { font-size: 19px; font-weight: 400; letter-spacing: -0.01em; }
.wordmark span { color: var(--faint); font-weight: 600; }
.card-foot nav { display: flex; gap: 18px; font-size: 14px; }
.card-foot nav a { color: var(--muted); transition: color 0.2s; }
.card-foot nav a:hover, .card-foot nav a[aria-current] { color: var(--ink); }
.card-foot nav a[aria-current] { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Rows & sections ---------- */
.label { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.num { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rows { list-style: none; border-top: 1px solid var(--rule); }
.row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.1fr); gap: 12px; align-items: baseline;
  padding: 18px 0 20px; border-bottom: 1px solid var(--rule);
  transition: padding 0.45s var(--ease);
}
.row-title { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.row-text { font-size: 14px; color: var(--muted); }
.row.link:hover, .rows li.row:hover { padding-left: 10px; }
.row.link:hover .row-title::after { content: " →"; }

.sect { padding: 28px 0 32px; border-top: 1px solid var(--rule); }
.sect:last-of-type { border-bottom: 1px solid var(--rule); }
.lede { font-size: clamp(20px, 2.6vw, 25px); line-height: 1.25; letter-spacing: -0.015em; }
.bullets { list-style: none; }
.bullets li { padding: 9px 0; border-bottom: 1px solid var(--rule); }
.bullets li:first-child { border-top: 1px solid var(--rule); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { font-weight: 400; }

.st { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; }
.st.run { color: var(--ink); }
.st.run::before { background: var(--ink); border-color: var(--ink); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.2; } }

/* "Next experiment" / "Open a channel": small label stacked over a big title */
.next { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px 0 26px; border-bottom: 1px solid var(--rule); margin-top: 8px; }
.next .label { margin: 0; }
.next-title { display: inline-block; font-size: clamp(30px, 5vw, 46px); font-weight: 600; letter-spacing: -0.03em; transition: transform 0.5s var(--ease); }
.next:hover .next-title { transform: translateX(10px); }

.mail { display: inline-block; font-size: clamp(22px, 3.6vw, 34px); font-weight: 600; letter-spacing: -0.025em; margin-bottom: 12px; border-bottom: 2px solid var(--ink); word-break: break-all; }
.mail:hover { color: var(--muted); border-color: var(--muted); }

/* Experiments index: one mini poster per row */
.exps { margin-top: 4px; }
.exp {
  display: grid; grid-template-columns: clamp(110px, 22vw, 168px) 1fr; gap: clamp(16px, 4vw, 36px); align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
}
.exp-fig { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--card); padding: 16px 10px 10px; box-shadow: inset 0 0 0 1px var(--rule); transition: transform 0.5s var(--ease); }
.exp-fig svg { width: 100%; height: 100%; overflow: visible; display: block; }
.exp:hover .exp-fig { transform: translateY(-4px) rotate(-1.5deg); }
.exp-text { display: flex; flex-direction: column; gap: 6px; }
.exp-top { display: flex; gap: 14px; align-items: baseline; }
.exp-title { font-size: clamp(24px, 4vw, 34px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
.exp:hover .exp-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* Figures gallery: a wall of tickets */
.tickets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.4vw, 24px); }
.ticket {
  border-radius: 20px; background: #f3f3f3;
  padding: 22px 14px 14px; display: flex; flex-direction: column; gap: 6px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.ticket:hover { transform: translateY(-6px) rotate(-0.8deg); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.25); }
.ticket-mark { font-weight: 800; font-size: 15px; letter-spacing: -0.04em; }
.ticket svg { width: 100%; aspect-ratio: 1; height: auto; overflow: visible; display: block; }
.ticket figcaption { display: grid; gap: 2px; }
.ticket-name { font-size: 15px; font-weight: 400; line-height: 1.1; }
.ticket-sub { font-size: 12px; color: var(--muted); }
.ticket-note { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.tickets .ticket.reveal:nth-child(3n + 2) { transition-delay: 0.08s; }
.tickets .ticket.reveal:nth-child(3n + 3) { transition-delay: 0.16s; }

/* ---------- Dock ---------- */
.dock {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 50;
  display: flex; gap: 5px; padding: 5px; background: #2a2a2a; border-radius: 15px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45);
}
.dock a { flex: 0 0 auto; width: 46px; height: 54px; border-radius: 9px; overflow: hidden; transition: transform 0.35s var(--ease); }
.dock a:hover, .dock a[aria-current] { transform: translateY(-6px); }
.dock-home { display: flex; align-items: center; justify-content: center; background: #1a1a1a; color: #fff; font-weight: 800; font-size: 17px; letter-spacing: -0.04em; }
.dock-card { background: var(--card); padding: 7px 6px 5px; display: flex; flex-direction: column; justify-content: space-between; }
.dock-card b { font-weight: 800; font-size: 9px; letter-spacing: -0.04em; }
.dock-card span { font-size: 7px; line-height: 1.1; color: #555; }
.dock a[aria-current] { outline: 1px solid rgba(255, 255, 255, 0.6); outline-offset: 2px; }
.wall { padding-bottom: 96px !important; }

/* ---------- Home: 3D carousel on a dark stage ---------- */
.home body {
  height: 100vh; overflow: hidden; color: #ececec;
  background: radial-gradient(ellipse 80% 60% at 50% 42%, #2b2b30 0%, #151517 55%, #0b0b0c 100%);
}
.home ::selection { background: #ececec; color: #111; }
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  /* Mark on the left, title on the right */
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px clamp(16px, 4vw, 40px);
}
.top-mark { justify-self: start; font-weight: 800; font-size: 30px; letter-spacing: -0.04em; line-height: 1; }
.top-title { font-size: 13px; font-weight: 400; text-align: right; }
/* "acific" takes the front card's color like the α logo; ".labs" stays white */
.top-title { color: #fff; }
.top-title span { color: var(--band-on-dark, var(--band, #cf5128)); font-weight: 600; transition: color 0.45s ease; }

.stage {
  position: fixed; inset: 0; perspective: 1400px; perspective-origin: 50% 46%;
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
}
/* Card size, shared by the stage and the nav bar that sits under it */
.home { --cw: clamp(190px, 19vw, 250px); --ch: calc(var(--cw) * 1.38); --cy: 46%; }
.stage.dragging { cursor: grabbing; }
.cc {
  position: absolute; left: calc(50% - var(--cw) / 2); top: calc(var(--cy) - var(--ch) / 2);
  width: var(--cw); height: var(--ch);
  will-change: transform, opacity;
  backface-visibility: hidden;
  /* Reflect the whole card, veil included, so dimmed cards reflect dimmed */
  -webkit-box-reflect: below 6px linear-gradient(transparent 74%, rgba(255, 255, 255, 0.14));
}
/* Distance dimming: a dark veil whose opacity tracks --dim (cheap to change,
   unlike a filter, which repaints the whole card every frame) */
.cc::after {
  content: ""; position: absolute; inset: 0; border-radius: 22px; pointer-events: none;
  background: #0b0b0c; opacity: var(--dim, 0); z-index: 2;
}
.cc a {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--card); color: var(--ink);
  /* Apple-like rounded corners */
  border-radius: 22px; background: var(--card); padding: 28px 16px 13px;
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, 0.85);
  transition: box-shadow 0.4s;
}
/* A soft glass sheen across each card */
.cc a::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.18) 100%);
  mix-blend-mode: soft-light;
}
.cc.is-active a { box-shadow: 0 40px 80px -26px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.35); }
.cc-head { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: start; }
.cc-head b { font-weight: 800; font-size: 21px; letter-spacing: -0.04em; line-height: 0.8; }
.cc-meta { font-size: 8.5px; line-height: 1.1; }
/* The status pill from the nav bar, in the card's top-right corner */
.cc-chip { align-self: start; white-space: nowrap; font-size: 8.5px; line-height: 1.3; }
.cc-title { margin-top: 22px; border-top: 1px solid var(--rule); padding: 9px 0 10px; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.cc-by { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 7px 0 8px; font-size: 11.5px; }
.cc-fig { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; }
.cc-fig svg { width: 84%; height: auto; aspect-ratio: 1; overflow: visible; }
.cc-foot { display: flex; justify-content: space-between; align-items: baseline; font-size: 10px; }
.cc-foot i { font-style: normal; color: var(--faint); font-weight: 600; }
.cc-open { opacity: 0; transition: opacity 0.3s; font-weight: 600; }
.cc.is-active .cc-open { opacity: 1; }

/* Tagline above the carousel: the same gap above the front card as the nav
   bar has below it (card reflection + 28px), never riding into the header */
.ctag {
  position: fixed; left: 0; right: 0; z-index: 30; pointer-events: none; padding: 0 24px; text-wrap: balance;
  top: max(96px, calc(var(--cy) - var(--ch) * 0.76 - 28px)); transform: translateY(-100%);
  text-align: center; font-size: clamp(15px, 1.6vw, 18px); font-weight: 300; letter-spacing: -0.01em; color: #b9b9b9;
}

/* Glass nav bar */
.cnav {
  /* Just under the front card and its reflection */
  position: fixed; left: 50%; top: calc(var(--cy) + var(--ch) * 0.76 + 28px); transform: translateX(-50%); z-index: 30;
  display: flex; align-items: center; gap: 6px; padding: 6px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px;
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #eee;
}
.cbtn {
  width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.06); border: 0; color: inherit; font: 400 16px/1 var(--sans); cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.cbtn:hover { background: rgba(255, 255, 255, 0.16); }
.cbtn:active { transform: scale(0.94); }
#play { font-size: 10px; }
.i-pause { display: none; letter-spacing: -2px; }
#play[aria-pressed="true"] .i-play { display: none; }
#play[aria-pressed="true"] .i-pause { display: inline; }
.cnav-now { display: flex; align-items: center; gap: 10px; padding: 0 10px 0 6px; min-width: min(240px, 46vw); }
.cnav-thumb {
  width: 28px; height: 34px; flex: 0 0 auto; border-radius: 3px;
  background: var(--card); color: var(--ink); border-radius: 7px; overflow: hidden;
  padding: 3px 4px; transition: border-color 0.3s;
}
.cnav-thumb b { font-weight: 800; font-size: 9px; letter-spacing: -0.04em; display: block; }
.cnav-text { display: flex; flex-direction: column; min-width: 0; }
.cnav-title { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.chip { font-size: 9px; font-weight: 600; color: #111; background: #f0c64a; border-radius: 4px; padding: 1px 5px; }
.cnav-sub { font-size: 10.5px; color: #9a9a9a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chint { position: fixed; left: 0; right: 0; top: calc(var(--cy) + var(--ch) * 0.76 + 90px); text-align: center; font-size: 10px; color: #646464; z-index: 30; }

@media (max-width: 640px) {
  .home { --cw: 56vw; }
  .cnav { max-width: calc(100vw - 20px); gap: 4px; padding: 5px; }
  .cbtn { width: 32px; height: 32px; }
  .cnav-now { min-width: 0; flex: 1 1 auto; padding: 0 4px; gap: 8px; }
  .cnav-title { overflow: hidden; }
  .cnav-title #navTitle { overflow: hidden; text-overflow: ellipsis; }
  .cnav-sub { display: none; }
  .chint { display: none; }
}

/* ---------- Popup: a page card over the blurred carousel ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(56px, 9vh, 96px) clamp(12px, 3vw, 24px) clamp(56px, 9vh, 96px);
  background: rgba(12, 12, 14, 0.38);
  backdrop-filter: blur(18px) saturate(0.85); -webkit-backdrop-filter: blur(18px) saturate(0.85);
  opacity: 0; transition: opacity 0.35s ease;
}
.modal[hidden] { display: none; }
.modal.show { opacity: 1; }
.modal-card {
  position: relative; max-width: 720px; margin: 0 auto;
  background: var(--card); color: var(--ink);
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(48px) scale(0.98); filter: blur(10px);
  transition: transform 0.65s var(--ease), filter 0.5s ease;
}

.modal.show .modal-card { transform: none; filter: none; }
/* The card's contents come out of a blur one after another, top to bottom */
@keyframes contentIn { from { opacity: 0; filter: blur(12px); transform: translateY(14px); } }
.modal.show .modal-body > * { animation: contentIn 0.8s var(--ease) backwards; animation-delay: calc(0.12s + var(--i, 0) * 0.07s); }
.modal-body { padding: 100px var(--pad) 52px; display: flex; flex-direction: column; }
/* Even space above (to the color bar) and below (to the first rule) the logo */
.modal-body .card-head { margin-bottom: 68px; }
.modal-body .card-foot { padding-top: 40px; }
.modal-close {
  /* A bare ×, no circle; still a 34px hit area centred on the color bar */
  position: absolute; top: 22px; right: 18px; z-index: 2;
  width: 34px; height: 34px; border: 0; background: none; cursor: pointer;
  color: var(--ink); opacity: 0.55; font: 300 26px/1 var(--sans);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.2s, transform 0.3s var(--ease);
}
.modal-close:hover { opacity: 1; transform: rotate(90deg); }
.home.modal-open .cnav, .home.modal-open .chint, .home.modal-open .top { pointer-events: none; }
/* Reflections are costly to blur; drop them while the popup is up */
.home.modal-open .cc { -webkit-box-reflect: unset; }

/* Load: everything comes out of a blur, front card first, then outward */
@keyframes blurIn { from { opacity: 0; filter: blur(18px); } }
@keyframes cardIn { from { opacity: 0; filter: blur(16px); transform: translateY(26px) scale(0.96); } }
.home .top { animation: blurIn 1s ease 0.05s backwards; }
.home .cc a { animation: cardIn 1.1s var(--ease) backwards; animation-delay: calc(0.2s + var(--delay, 0s)); }
.home .cnav { animation: blurIn 1s ease 0.75s backwards; }
.home .ctag { animation: blurIn 1s ease 0.6s backwards; }
.home .chint { animation: blurIn 1s ease 1s backwards; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(12px); filter: blur(10px); transition: opacity 0.7s ease, transform 0.8s var(--ease), filter 0.8s ease; }
.in .reveal { opacity: 1; transform: none; filter: none; }
.in .by.reveal { transition-delay: 0.06s; }
.in .fig.reveal { transition-delay: 0.14s; }
.in .reveal ~ .reveal ~ .reveal { transition-delay: 0.2s; }

@media (max-width: 640px) {
  .card { padding-top: 62px; min-height: 100svh; border-radius: 22px 22px 0 0; }
  .card-head { grid-template-columns: 1fr auto auto; gap: 12px; }
  .card-head .head-chip { font-size: 10px; padding: 1px 6px; }
  .meta { font-size: 13px; }
  .row { grid-template-columns: 40px 1fr; }
  .row-text { grid-column: 2; }
  .facts { grid-template-columns: 1fr 1fr; }
  .card-foot { flex-direction: column; align-items: flex-start; }
  .tickets { grid-template-columns: 1fr 1fr; }
  .dock a { width: 40px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .row, .next-title, .exp-fig, .mark span, .ticket, .dock a { transition: none; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .home .top, .home .cc a, .home .cnav, .home .chint, .home .ctag { animation: none; }
  .modal, .modal-card { transition: none; }
  .modal.show .modal-body > * { animation: none; }
  .st.run::before { animation: none; }
}

/* ---------- Intro (home, once per visit): like a Mac boot screen ---------- */
.intro {
  --ap-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(48px, 9vh, 84px);
  background: #000; cursor: pointer;
}
.no-intro .intro { display: none; }
.intro-mark {
  display: flex; align-items: baseline; line-height: 0.8; color: #fff;
  animation: bootIn 1.2s var(--ap-ease) 0.15s both;
}
.intro-brand { display: flex; flex-direction: column; align-items: center; gap: clamp(16px, 2.6vh, 24px); }
/* The wordmark, small and quiet under the logo: "acific" white, ".labs" grey */
.intro-word {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", var(--sans);
  font-size: clamp(15px, 2vmin, 19px); font-weight: 500; letter-spacing: 0.01em;
  color: #86868b; animation: bootIn 1.2s var(--ap-ease) 0.45s both;
}
.intro-word span { color: #fff; }
.intro-alpha {
  font-family: "Noto Serif", Georgia, serif; font-style: italic; font-weight: 700;
  font-size: clamp(64px, 11vmin, 112px); line-height: 0.8;
}
.intro-dot { font-family: var(--sans); font-weight: 800; font-size: clamp(26px, 4.4vmin, 45px); line-height: 0.8; margin-left: 0.04em; }
@keyframes bootIn { from { opacity: 0; filter: blur(14px); transform: scale(1.04); } to { opacity: 1; filter: blur(0); transform: none; } }
/* Exit: a quiet fade to the carousel */
/* Exit: logo and wordmark blur away, then the black fades to the carousel */
.intro.out { animation: bootOut 0.9s var(--ap-ease) forwards; pointer-events: none; }
.intro.out .intro-mark, .intro.out .intro-word { animation: blurAway 0.7s var(--ap-ease) forwards; }
@keyframes bootOut { 0%, 35% { opacity: 1; } 100% { opacity: 0; } }
@keyframes blurAway { to { opacity: 0; filter: blur(16px); transform: scale(0.97); } }

/* Hold the home page's own entrance until the intro clears */
.booting .top, .booting .cc a, .booting .cnav, .booting .chint, .booting .ctag { animation-play-state: paused; }
