/* Mega Logistics Corp — Fort Lauderdale, Florida
   chalk · ink · cobalt · steel · haze
   Bodoni Moda (display) + Hanken Grotesk (text) */

:root {
  --chalk: #f3f4f6;
  --white: #ffffff;
  --ink: #0e1a2b;
  --ink-2: #16253b;
  --cobalt: #2541ff;
  --cobalt-soft: #c9d0ff;
  --steel: #7d8796;
  --haze: #dde3ec;
  --line: rgba(14, 26, 43, 0.12);
  --line-inv: rgba(243, 244, 246, 0.16);
  --soft: rgba(14, 26, 43, 0.64);
  --soft-inv: rgba(243, 244, 246, 0.7);
  --serif: "Bodoni Moda", "GFS Didot", "Didot", "Bodoni 72", "Liberation Serif", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --rail: 92px;
  --gx: clamp(20px, 4.4vw, 76px);
  --spring: cubic-bezier(0.34, 1.3, 0.64, 1);
  --glide: cubic-bezier(0.19, 1, 0.22, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--chalk); color: var(--ink);
  font: 400 17.5px/1.62 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body.sheet-open { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--cobalt); color: var(--white); }
:focus-visible { outline: 2px dashed var(--cobalt); outline-offset: 4px; }
.x-skip { position: absolute; left: -9999px; }
.x-skip:focus { left: calc(var(--rail) + 12px); top: 12px; z-index: 999; background: var(--cobalt); color: #fff; padding: 10px 16px; }

/* ---------- type ---------- */
.serif, h1, h2, h3.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
h1 { font-size: clamp(46px, 6.6vw, 118px); line-height: 0.98; margin: 0; font-weight: 400; }
h2 { font-size: clamp(38px, 4.6vw, 80px); line-height: 1.02; margin: 0; font-weight: 400; }
h1 i, h2 i, .serif i { font-style: italic; font-weight: 400; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 20px; line-height: 1.3; margin: 0 0 8px; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(19px, 1.45vw, 23px); line-height: 1.55; color: var(--soft); max-width: 31em; }
.inv .lede, .inv .soft { color: var(--soft-inv); }
.soft { color: var(--soft); }
.eyebrow { display: flex; width: fit-content; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--cobalt); margin-bottom: 22px; }
.eyebrow svg { width: 14px; height: 14px; }
.inv .eyebrow { color: var(--cobalt-soft); }
.num { font-family: var(--serif); font-variant-numeric: lining-nums; }

.inv { background: var(--ink); color: var(--chalk); }
.main { margin-left: var(--rail); }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gx); }
.band { padding: clamp(96px, 12vw, 190px) 0; position: relative; }

/* blur-in reveal */
[data-in] { opacity: 0; filter: blur(14px); transform: translateY(18px); transition: opacity 1.2s var(--glide), filter 1.2s var(--glide), transform 1.2s var(--glide); }
[data-in].seen { opacity: 1; filter: blur(0); transform: none; }
[data-lines] .l { display: block; opacity: 0; filter: blur(16px); transform: translateY(0.25em); letter-spacing: 0.04em; transition: opacity 1.3s var(--glide), filter 1.3s var(--glide), transform 1.3s var(--glide), letter-spacing 1.6s var(--glide); }
[data-lines].seen .l { opacity: 1; filter: blur(0); transform: none; letter-spacing: -0.015em; }

mark.hl { color: inherit; background: linear-gradient(transparent 58%, var(--cobalt-soft) 58%, var(--cobalt-soft) 92%, transparent 92%) no-repeat 0 0 / 0% 100%; transition: background-size 1.4s var(--glide) 0.3s; padding: 0 2px; }
.seen mark.hl, mark.hl.seen { background-size: 100% 100%; }
.inv mark.hl { background-image: linear-gradient(transparent 58%, rgba(37,65,255,.55) 58%, rgba(37,65,255,.55) 92%, transparent 92%); }

/* ---------- rail ---------- */
.rail {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--rail); z-index: 70;
  background: var(--chalk); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 22px 0;
}
.rail-mark { display: grid; place-items: center; width: 52px; height: 52px; text-decoration: none; }
.rail-mark svg { width: 44px; height: 44px; transition: transform 1.2s var(--glide); }
.rail-mark:hover svg { transform: rotate(90deg); }
.rail nav { display: flex; flex-direction: row; align-items: center; gap: 4px; writing-mode: vertical-rl; transform: rotate(180deg); }
.rail nav a { position: relative; padding: 12px 8px; text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--soft); transition: color 0.3s; }
.rail nav a::before { content: ""; position: absolute; right: 0; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--cobalt); transform: scale(0); transition: transform 0.4s var(--spring); }
.rail nav a:hover { color: var(--ink); }
.rail nav a.here { color: var(--ink); }
.rail nav a.here::before { transform: scale(1); }
.rail-foot { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 12px; color: var(--soft); }
.rail-star { width: 22px; height: 22px; color: var(--cobalt); }
.rail-foot span { writing-mode: vertical-rl; transform: rotate(180deg); }

.write-cta {
  position: fixed; top: 20px; right: var(--gx); z-index: 60;
  display: inline-flex; align-items: center; gap: 12px; padding: 7px 7px 7px 20px; border-radius: 999px;
  background: rgba(255,255,255,0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(14,26,43,0.06), 0 10px 30px -12px rgba(14,26,43,0.3);
  text-decoration: none; font-size: 15px; font-weight: 600;
  transition: transform 0.5s var(--glide), opacity 0.4s;
}
.write-cta .dot { width: 38px; height: 38px; border-radius: 50%; background: var(--cobalt); color: #fff; display: grid; place-items: center; transition: transform 0.6s var(--spring); }
.write-cta .dot svg { width: 16px; height: 16px; }
.write-cta:hover .dot { transform: rotate(-45deg) scale(1.08); }
.write-cta.away { transform: translateY(-140%); opacity: 0; }

.topbar { display: none; }

/* ---------- link-buttons ---------- */
.go {
  display: inline-flex; align-items: center; gap: 16px; text-decoration: none; font-weight: 600; font-size: 17px;
  cursor: pointer;
}
.go .o { position: relative; width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; overflow: hidden; flex: none; transition: border-color 0.4s; }
.go .o::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--cobalt); transform: scale(0); transition: transform 0.55s var(--glide); }
.go .o svg { position: relative; width: 20px; height: 20px; transition: transform 0.55s var(--glide), color 0.3s; }
.go:hover .o { border-color: var(--cobalt); }
.go:hover .o::before { transform: scale(1); }
.go:hover .o svg { color: #fff; transform: translateX(3px); }
.go .t { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 2px; transition: background-size 0.6s var(--glide); }
.go:hover .t { background-size: 100% 1.5px; }
.go.solid .o { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.go.solid .o::before { background: var(--ink); }
.inv .go.solid .o::before { background: var(--white); }
.inv .go.solid:hover .o svg { color: var(--ink); }

/* ---------- arches ---------- */
.arch { position: relative; overflow: hidden; border-radius: 999px 999px 0 0 / 520px 520px 0 0; background: var(--haze); isolation: isolate; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-cap { display: flex; justify-content: space-between; gap: 20px; margin-top: 14px; font-size: 14px; color: var(--soft); }
.arch-cap i { font-family: var(--serif); font-size: 16px; color: var(--ink); }
.aperture { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); transition: clip-path 1.6s var(--glide); }
.aperture.seen { clip-path: inset(0 0 0 0 round 0); }
.aperture img { transform: scale(1.2); transition: transform 2.2s var(--glide); }
.aperture.seen img { transform: scale(1); }

/* ---------- HERO: particle star ---------- */
.sky { position: relative; height: 250vh; background: var(--ink); color: var(--chalk); }
.sky-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.sky-pin::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(1200px 700px at 72% 46%, rgba(37,65,255,0.22), transparent 60%),
  radial-gradient(900px 600px at 10% 100%, rgba(125,135,150,0.16), transparent 60%); }
.sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky-copy { position: absolute; left: var(--gx); bottom: clamp(40px, 9vh, 110px); max-width: min(760px, 52vw); z-index: 2; transition: opacity 0.2s linear; }
.sky-copy h1 { color: var(--white); }
.sky-copy .lede { color: var(--soft-inv); margin-top: 26px; }
.sky-top { position: absolute; top: 30px; left: var(--gx); right: calc(var(--gx) + 210px); display: flex; gap: 28px; font-size: 14px; color: var(--soft-inv); z-index: 2; }
.sky-top b { color: var(--white); font-weight: 600; }
.sky-labels { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.sky-labels span { position: absolute; transform: translate(14px, -50%); font-family: var(--serif); font-style: italic; font-size: clamp(16px, 1.3vw, 21px); color: var(--white); opacity: 0; transition: opacity 0.6s; white-space: nowrap; }
.sky-labels span.flip { transform: translate(calc(-100% - 14px), -50%); text-align: right; }
.sky-labels span.p-mia { transform: translate(-50%, 12px); text-align: center; }
.sky-labels span.home { font-style: normal; font-size: clamp(20px, 1.7vw, 28px); }
.sky-labels span small { display: block; font-family: var(--sans); font-style: normal; font-size: 12.5px; color: var(--soft-inv); }
.sky-after { position: absolute; left: var(--gx); bottom: clamp(40px, 9vh, 110px); max-width: 520px; opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--glide), transform 0.8s var(--glide); z-index: 2; pointer-events: none; }
.sky-after.on { opacity: 1; transform: none; pointer-events: auto; }
.sky-after h2 { font-size: clamp(34px, 3.6vw, 58px); color: var(--white); }
.sky-after p { color: var(--soft-inv); margin-top: 18px; }
.sky-hint { position: absolute; right: var(--gx); bottom: 34px; z-index: 2; display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--soft-inv); }
.sky-hint i { width: 1px; height: 46px; background: linear-gradient(var(--soft-inv), transparent); position: relative; overflow: hidden; }
.sky-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2s var(--glide) infinite; }
@keyframes drip { to { top: 110%; } }

/* ---------- file facts ---------- */
.facts { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 7vw, 130px); align-items: start; }
.facts .big { font-family: var(--serif); font-size: clamp(30px, 3vw, 50px); line-height: 1.18; letter-spacing: -0.01em; margin: 0; }
.ledger { margin: 0; border-top: 1px solid var(--ink); }
.ledger div { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); transition: background 0.3s, padding 0.5s var(--glide); }
.ledger div:hover { background: var(--white); padding-left: 14px; padding-right: 14px; }
.ledger dt { font-size: 14px; color: var(--soft); }
.ledger dd { margin: 0; font-family: var(--serif); font-size: clamp(22px, 1.8vw, 28px); line-height: 1.2; }
.ledger dd.s { font-family: var(--sans); font-size: 17px; }
.ledger .cp { font-size: 13px; font-weight: 600; color: var(--cobalt); opacity: 0; transition: opacity 0.3s; }
.ledger div:hover .cp, .ledger .cp:focus-visible { opacity: 1; }
.inv .ledger { border-color: var(--chalk); }
.inv .ledger div { border-color: var(--line-inv); }
.inv .ledger div:hover { background: var(--ink-2); }
.inv .ledger dt { color: var(--soft-inv); }

/* ---------- work list with floating preview ---------- */
.rows { border-top: 1px solid var(--ink); position: relative; }
.row {
  display: grid; grid-template-columns: 1fr 1.1fr auto; gap: 30px; align-items: center;
  padding: clamp(26px, 3vw, 42px) 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative;
}
.row .name { font-family: var(--serif); font-size: clamp(34px, 4vw, 66px); line-height: 1; transition: transform 0.7s var(--glide), color 0.4s; }
.row p { margin: 0; color: var(--soft); max-width: 30em; transition: opacity 0.5s; }
.row .tag { font-size: 13.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; transition: background 0.4s, color 0.4s, border-color 0.4s; }
.row:hover .name { transform: translateX(22px); color: var(--cobalt); }
.row:hover .tag { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.rows:hover .row:not(:hover) p { opacity: 0.35; }
.row.muted .name { font-style: italic; }
.peek { position: fixed; left: 0; top: 0; z-index: 50; width: 300px; height: 380px; pointer-events: none; border-radius: 999px 999px 0 0 / 300px 300px 0 0; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(0.6); transition: opacity 0.35s, transform 0.5s var(--glide); box-shadow: 0 30px 60px -20px rgba(14,26,43,0.45); }
.peek.on { opacity: 1; }
.peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); transition: opacity 0.45s, transform 0.9s var(--glide); }
.peek img.on { opacity: 1; transform: scale(1); }

/* ---------- river (ripple) ---------- */
.river { position: relative; }
.river-frame { position: relative; height: min(88vh, 820px); border-radius: 999px 999px 0 0 / 640px 640px 0 0; overflow: hidden; background: var(--ink); }
.river-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.river-frame .water { clip-path: inset(66% 0 0 0); filter: url(#xs-ripple); transform: scale(1.03); }
.river-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,26,43,0.85) 0%, rgba(14,26,43,0.1) 45%, transparent 70%); pointer-events: none; }
.river-copy { position: absolute; left: clamp(24px, 5vw, 80px); right: clamp(24px, 5vw, 80px); bottom: clamp(28px, 5vw, 70px); z-index: 2; color: var(--white); display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.river-copy h2 { max-width: 15ch; }
.river-copy p { max-width: 26em; color: rgba(255,255,255,0.82); margin: 18px 0 0; }

/* ---------- sticky statements ---------- */
.saying { position: relative; height: 320vh; }
.saying-pin { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.saying-stack { position: relative; width: min(1100px, 86%); height: 46vh; }
.saying-stack p { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--serif); font-size: clamp(36px, 5.4vw, 92px); line-height: 1.05; letter-spacing: -0.02em; opacity: 0; filter: blur(20px); transform: scale(0.96); transition: opacity 0.9s var(--glide), filter 0.9s var(--glide), transform 0.9s var(--glide); }
.saying-stack p.on { opacity: 1; filter: blur(0); transform: none; }
.saying-star { position: absolute; top: 12vh; left: 50%; width: 46px; height: 46px; margin-left: -23px; color: var(--cobalt); }
.saying-dots { position: absolute; bottom: 10vh; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.saying-dots i { width: 34px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; position: relative; }
.saying-dots i b { position: absolute; inset: 0; background: var(--cobalt); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- mad-lib form ---------- */
.lib { font-family: var(--serif); font-size: clamp(24px, 2.1vw, 36px); line-height: 1.6; letter-spacing: -0.01em; margin: 0; }
.lib p { margin: 0 0 0.3em; }
.lib .blank { display: inline-block; position: relative; vertical-align: baseline; }
.lib input, .lib select {
  font-family: var(--serif); font-style: italic; font-size: inherit; color: var(--cobalt);
  background: transparent; border: 0; border-bottom: 2px solid var(--steel); padding: 0 4px 2px; margin: 0 2px;
  outline: none; border-radius: 0; min-width: 3ch; max-width: 100%; field-sizing: content;
  transition: border-color 0.3s, background 0.3s;
  -webkit-appearance: none; appearance: none;
}
.lib select { padding-right: 28px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232541ff' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; cursor: pointer; }
.lib input::placeholder { color: rgba(125,135,150,0.75); font-style: italic; }
.lib input:focus, .lib select:focus { border-color: var(--cobalt); background: rgba(37,65,255,0.06); }
.lib .bad input { border-color: #e0383e; animation: nudge 0.45s; }
@keyframes nudge { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.lib-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.lib-foot p { margin: 0; font-size: 15px; color: var(--soft); max-width: 32em; }
.lib-msg { min-height: 24px; font-size: 15px; color: #c0262c; margin-top: 12px; font-family: var(--sans); }
.lib-done { display: none; }
.lib-done.on { display: block; animation: rise 1s var(--glide); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.lib-done .star-big { width: 70px; height: 70px; color: var(--cobalt); margin-bottom: 24px; animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lib-done p.serif { font-size: clamp(28px, 2.6vw, 44px); line-height: 1.2; margin-bottom: 16px; }
.lib-done pre { white-space: pre-wrap; font-family: var(--sans); font-size: 15px; background: var(--white); border-radius: 18px; padding: 22px; margin: 24px 0; color: var(--soft); }

/* ---------- inner page head ---------- */
.ph { padding: clamp(110px, 14vh, 170px) 0 0; text-align: center; overflow: hidden; }
.ph .eyebrow, .center .eyebrow { margin-left: auto; margin-right: auto; }
.ph h1 { max-width: 16ch; margin: 0 auto; }
.ph .lede { margin: 30px auto 0; text-align: center; }
.ph-arch { margin: clamp(56px, 7vw, 100px) auto 0; width: var(--aw, 46%); height: 78vh; border-radius: var(--ar, 999px 999px 0 0 / 520px 520px 0 0); overflow: hidden; position: relative; background: var(--ink); will-change: width; }
.ph-arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(var(--as, 1.12)); }
.ph-arch figcaption { position: absolute; left: 24px; right: 24px; bottom: 20px; color: #fff; font-size: 14px; text-align: left; text-shadow: 0 1px 14px rgba(0,0,0,0.5); opacity: var(--ao, 0); transition: opacity 0.4s; }

/* ---------- work page: sticky media ---------- */
.stick { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); }
.stick-media { position: sticky; top: 10vh; height: 80vh; align-self: start; }
.stick-media .arch { position: absolute; inset: 0; }
.stick-media .arch img { position: absolute; inset: 0; clip-path: circle(0% at 50% 100%); transition: clip-path 1.3s var(--glide); }
.stick-media .arch img.on { clip-path: circle(150% at 50% 100%); }
.stick-media .arch img.first { clip-path: circle(150% at 50% 100%); }
.stick-media .badge { position: absolute; z-index: 3; right: -18px; top: 18%; width: 132px; height: 132px; border-radius: 50%; background: var(--cobalt); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--serif); font-size: 46px; line-height: 1; box-shadow: 0 20px 40px -14px rgba(37,65,255,0.6); transition: transform 0.6s var(--spring); }
.stick-media .badge small { display: block; font-family: var(--sans); font-size: 12px; margin-top: 4px; }
.stick-list article { min-height: 80vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); padding: 40px 0; }
.stick-list article:first-child { border-top: 0; }
.stick-list h2 { margin-bottom: 26px; }
.stick-list p { font-size: 19px; max-width: 30em; }
.stick-list .note { display: flex; gap: 14px; padding: 18px 20px; background: var(--white); border-radius: 18px; font-size: 15.5px; color: var(--soft); max-width: 32em; margin-top: 10px; }
.stick-list .note svg { width: 18px; height: 18px; flex: none; color: var(--cobalt); margin-top: 3px; }

/* ---------- constellation (lanes) ---------- */
.const { position: relative; background: var(--ink); color: var(--chalk); border-radius: 32px; overflow: hidden; }
.const svg { width: 100%; height: auto; }
.const .edge { fill: none; stroke: rgba(201,208,255,0.55); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.const .edge.far { stroke-dasharray: 2 6; stroke: rgba(201,208,255,0.35); }
.const .edge.hot { stroke: #fff; stroke-width: 2.2; }
.const .road { font-family: var(--serif); font-style: italic; font-size: 16px; fill: rgba(201,208,255,0.75); }
.const .star { cursor: pointer; }
.const .star .core { fill: #fff; }
.const .star .glow { fill: url(#xs-glow); transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.const .star:nth-child(2n) .glow { animation-delay: -1.1s; } .const .star:nth-child(3n) .glow { animation-delay: -2.2s; }
@keyframes twinkle { 0%, 100% { transform: scale(0.8); opacity: 0.7; } 50% { transform: scale(1.25); opacity: 1; } }
.const .star text { font-family: var(--serif); font-size: 21px; fill: #fff; }
.const .star.home .core { fill: var(--cobalt-soft); }
.const .star.home text { font-size: 28px; }
.const .star:hover .core, .const .star.hot .core { fill: var(--cobalt-soft); }
.const .dust circle { fill: rgba(255,255,255,0.35); }
.const-card { position: absolute; left: 22px; bottom: 22px; width: min(320px, calc(100% - 44px)); padding: 22px; border-radius: 22px; background: rgba(243,244,246,0.96); color: var(--ink); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.6); transition: opacity 0.4s, transform 0.5s var(--glide); }
.const-card .k { font-size: 13px; color: var(--cobalt); font-weight: 600; }
.const-card .n { font-family: var(--serif); font-size: 32px; line-height: 1.05; margin: 4px 0 10px; }
.const-card .d { font-family: var(--serif); font-style: italic; font-size: 18px; }
.const-card p { margin: 10px 0 0; font-size: 15px; color: var(--soft); }
.states { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(50px, 6vw, 90px); border-top: 1px solid var(--ink); }
.state { padding: 28px 26px 30px 0; border-right: 1px solid var(--line); }
.state + .state { padding-left: 26px; }
.state:last-child { border-right: 0; }
.state .code { font-family: var(--serif); font-size: clamp(56px, 5vw, 88px); line-height: 0.9; display: block; margin-bottom: 16px; transition: color 0.4s, transform 0.6s var(--spring); }
.state:hover .code { color: var(--cobalt); transform: translateY(-6px); }
.state p { margin: 0; color: var(--soft); font-size: 16px; }

/* ---------- misc ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 130px); align-items: start; }
.sticky { position: sticky; top: 12vh; }
.pill-note { display: inline-flex; gap: 10px; align-items: center; padding: 10px 16px; border-radius: 999px; background: var(--white); font-size: 14.5px; color: var(--soft); }
.pill-note b { color: var(--ink); }
.checks { list-style: none; margin: 30px 0 0; padding: 0; }
.checks li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.checks svg { width: 24px; height: 24px; color: var(--cobalt); margin-top: 2px; }
.checks b { display: block; }
.checks span { color: var(--soft); }
.inv .checks li { border-color: var(--line-inv); } .inv .checks span { color: var(--soft-inv); }
.mailbig { display: inline-block; font-family: var(--serif); font-size: clamp(34px, 5.6vw, 96px); line-height: 1.05; text-decoration: none; letter-spacing: -0.02em; word-break: break-word; }
.mailbig span { display: inline-block; transition: transform 0.45s var(--spring), color 0.3s; }
.mailbig:hover span { color: var(--cobalt); }
.officers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.officer { padding: 24px; border-radius: 22px; background: var(--white); }
.officer .k { font-size: 13px; color: var(--soft); }
.officer .n { font-family: var(--serif); font-size: 26px; line-height: 1.15; margin-top: 4px; }

/* next page */
.nextp { display: block; text-decoration: none; padding: clamp(90px, 12vw, 180px) 0; text-align: center; position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.nextp .k { font-size: 15px; color: var(--soft); }
.nextp .n { font-family: var(--serif); font-size: clamp(64px, 11vw, 200px); line-height: 0.95; letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 0.2em; transition: letter-spacing 0.9s var(--glide), color 0.4s; }
.nextp .n svg { width: 0.5em; height: 0.5em; color: var(--cobalt); transform: rotate(0deg) scale(0.6); transition: transform 0.9s var(--glide); }
.nextp:hover .n { letter-spacing: 0.01em; font-style: italic; }
.nextp:hover .n svg { transform: rotate(180deg) scale(1); }

/* footer */
.foot { background: var(--ink); color: var(--chalk); padding: clamp(80px, 9vw, 130px) 0 30px; position: relative; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: end; }
.foot-top .serif { font-size: clamp(40px, 5vw, 86px); line-height: 1; margin: 0; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.foot h4 { margin: 0 0 12px; font-size: 13.5px; font-weight: 500; color: var(--soft-inv); }
.foot a { display: block; text-decoration: none; margin-bottom: 6px; transition: color 0.3s; }
.foot a:hover { color: var(--cobalt-soft); }
.foot p { margin: 0 0 6px; }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 70px; padding-top: 22px; border-top: 1px solid var(--line-inv); font-size: 13.5px; color: var(--soft-inv); }
.foot .stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.6; }

/* iris transition */
.iris { position: fixed; inset: 0; z-index: 400; background: var(--cobalt); pointer-events: none; clip-path: circle(0px at var(--ix, 50%) var(--iy, 50%)); }
.iris.cover { clip-path: circle(150vmax at var(--ix, 50%) var(--iy, 50%)); transition: clip-path 0.8s cubic-bezier(0.7, 0, 0.2, 1); }
.iris.open { clip-path: circle(150vmax at 50% 50%); }
.iris.opening { clip-path: circle(0px at 50% 50%); transition: clip-path 0.9s cubic-bezier(0.7, 0, 0.2, 1); }
.iris svg { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; color: #fff; animation: spin 2s linear infinite; }

/* mobile sheet */
.sheet { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.sheet .scrim { position: absolute; inset: 0; background: rgba(14,26,43,0.45); opacity: 0; transition: opacity 0.4s; }
.sheet .card { position: absolute; left: 10px; right: 10px; bottom: 10px; border-radius: 28px; background: var(--chalk); padding: 26px 24px 22px; transform: translateY(110%); transition: transform 0.7s var(--glide); max-height: calc(100% - 20px); overflow-y: auto; }
.sheet-open .sheet { pointer-events: auto; }
.sheet-open .sheet .scrim { opacity: 1; }
.sheet-open .sheet .card { transform: none; }
.sheet ol { list-style: none; margin: 0; padding: 0; }
.sheet li a { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; font-family: var(--serif); font-size: 40px; line-height: 1.1; text-decoration: none; border-bottom: 1px solid var(--line); }
.sheet li a.here { color: var(--cobalt); font-style: italic; }
.sheet li a small { font-family: var(--sans); font-size: 13px; color: var(--soft); }
.sheet .close { margin-top: 18px; width: 100%; height: 52px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .facts, .split, .stick { grid-template-columns: 1fr; }
  .sticky, .stick-media { position: relative; top: 0; }
  .stick-media { height: 60vh; }
  .stick-list article { min-height: 0; }
  .states { grid-template-columns: 1fr 1fr; }
  .state:nth-child(2) { border-right: 0; }
  .state:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .state:nth-child(4) { border-top: 1px solid var(--line); }
  .foot-top { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr auto; }
  .row p { grid-column: 1 / -1; grid-row: 2; }
  .sky-copy { max-width: 80vw; }
}
@media (max-width: 820px) {
  :root { --rail: 0px; }
  .rail, .write-cta { display: none; }
  .topbar { display: flex; position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 62px; padding: 0 16px; align-items: center; justify-content: space-between; background: rgba(243,244,246,0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
  .topbar a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 24px; }
  .topbar a svg { width: 32px; height: 32px; }
  .topbar button { height: 40px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14.5px; }
  .sky-top { top: 84px; flex-wrap: wrap; gap: 6px 18px; right: var(--gx); }
  .sky-copy, .sky-after { max-width: none; right: var(--gx); }
  .sky-hint { display: none; }
  .ph { padding-top: 120px; }
  .ph-arch { height: 56vh; }
  .officers { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .peek { display: none; }
  .river-frame { border-radius: 260px 260px 0 0 / 220px 220px 0 0; height: 78vh; }
  .const { border-radius: 22px; }
  .const-card { position: relative; right: auto; top: auto; width: auto; margin: 0 14px 14px; }
  .ledger div { grid-template-columns: 1fr auto; }
  .ledger dt { grid-column: 1 / -1; }
  .ledger .cp { opacity: 1; }
}
@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .states { grid-template-columns: 1fr; }
  .state, .state + .state { padding: 22px 0; border-right: 0; border-top: 1px solid var(--line); }
  .foot-cols { grid-template-columns: 1fr; }
  .lib { line-height: 1.75; }
  .stick-media .badge { width: 96px; height: 96px; font-size: 32px; right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-in], [data-lines] .l { opacity: 1 !important; filter: none !important; transform: none !important; }
  .aperture { clip-path: none !important; }
}

/* ===================== polish pass ===================== */
/* hero map: labels no longer collide, lanes don't cut through text */
.sky-labels span { padding: 5px 10px 6px; border-radius: 10px; background: rgba(14,26,43,0.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); line-height: 1.1; white-space: nowrap; }
.sky-labels span small { margin-top: 3px; font-size: 12px; letter-spacing: 0.01em; }
.sky-labels span.p-home { transform: translate(18px, -50%); }
.sky-labels span.p-mia { transform: translate(-50%, 16px); text-align: center; }
.sky-labels span.p-wpb { transform: translate(18px, -100%) translateY(-6px); }
.sky-labels span.p-orl { transform: translate(calc(-100% - 18px), -50%); text-align: right; }
.sky-labels span.p-tpa { transform: translate(calc(-100% - 18px), 10px); text-align: right; }
.sky-labels span.p-jax { transform: translate(18px, -50%); }
.sky-labels span.flip:not(.p-home):not(.p-wpb):not(.p-jax) { transform: translate(calc(-100% - 18px), -50%); }
.sky-copy { max-width: min(720px, 46vw); }
.sky-copy .lede { max-width: 34em; font-size: 17px; color: rgba(243,244,246,0.74); }
.sky-top { font-size: 13px; gap: 0; }
.sky-top span { padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line-inv); line-height: 1; }
.sky-top span:last-child { border-right: 0; }
.sky-after h2 { max-width: 14ch; }
.sky-after > div { margin-top: 34px !important; }
.sky-hint { font-size: 12.5px; letter-spacing: 0.02em; }
.sky-pin::before { background: radial-gradient(1100px 650px at 70% 52%, rgba(37,65,255,0.16), transparent 60%), radial-gradient(900px 600px at 10% 100%, rgba(125,135,150,0.12), transparent 60%); }
/* header / rail */
.write-cta { transition: transform 0.5s var(--glide), opacity 0.4s, padding 0.5s var(--glide), gap 0.5s var(--glide); overflow: hidden; }
.write-cta.mini { padding-left: 6px; gap: 0; }
.write-cta.mini span:not(.dot) { max-width: 0; opacity: 0; overflow: hidden; display: inline-block; transition: max-width 0.5s var(--glide), opacity 0.3s; }
.write-cta span:not(.dot) { max-width: 240px; display: inline-block; white-space: nowrap; transition: max-width 0.5s var(--glide), opacity 0.3s; }
.write-cta.mini:hover { padding-left: 22px; gap: 14px; }
.write-cta.mini:hover span:not(.dot) { max-width: 240px; opacity: 1; }
.rail nav a { letter-spacing: 0.01em; font-size: 14px; }
.rail nav a::before { right: -2px; }
.rail-foot span { opacity: 0.7; letter-spacing: 0.04em; }
.sheet .card { box-shadow: 0 -20px 60px rgba(14,26,43,0.25); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 4px; border-radius: 6px; }
.x-skip:focus { border-radius: 999px; font-weight: 600; }
/* public file */
.band { padding: clamp(88px, 10vw, 150px) 0; }
.facts { align-items: start; }
.facts .big { font-size: clamp(28px, 2.8vw, 46px); line-height: 1.22; }
mark.hl { background-image: linear-gradient(transparent 62%, rgba(37,65,255,0.18) 62%, rgba(37,65,255,0.18) 94%, transparent 94%); padding: 0 3px; border-radius: 3px; }
.ledger div { grid-template-columns: 110px 1fr auto; padding: 18px 0; }
.ledger dt { font-size: 13.5px; letter-spacing: 0.01em; }
.ledger dd { font-size: clamp(20px, 1.6vw, 24px); }
.ledger .cp { opacity: 0.45; }
.ledger div:hover .cp { opacity: 1; }
.eyebrow { font-size: 14px; letter-spacing: 0.02em; }
.go:hover .o svg { transform: translateX(4px); }
/* rows */
.row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto; align-items: center; gap: clamp(24px, 4vw, 60px); padding: clamp(26px, 3vw, 40px) 0; }
.row .name { font-size: clamp(32px, 3.6vw, 60px); line-height: 0.98; }
.row p { max-width: 28em; font-size: 16.5px; line-height: 1.55; }
.row .tag { font-size: 13px; padding: 8px 15px; }
.row:hover .name { transform: translateX(16px); }
.row .name::after { content: "→"; display: inline-block; margin-left: 0.35em; font-family: var(--sans); font-size: 0.5em; vertical-align: 0.3em; opacity: 0; transform: translateX(-8px); transition: opacity 0.4s, transform 0.5s var(--glide); color: var(--cobalt); }
.row:hover .name::after { opacity: 1; transform: none; }
.row.muted .name { color: var(--soft); }
.row.muted:hover .name { color: var(--cobalt); }
.rows:hover .row:not(:hover) p { opacity: 0.5; }
/* sayings */
.saying-stack p { font-size: clamp(34px, 5vw, 84px); max-width: 16ch; margin: 0 auto; }
.saying-dots i { width: 40px; height: 2px; }
.saying-star { animation: spin 24s linear infinite; }
.saying-pin::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 420px at 50% 55%, rgba(37,65,255,0.07), transparent 70%); pointer-events: none; }
/* river */
.river-frame::after { background: linear-gradient(0deg, rgba(14,26,43,0.9) 0%, rgba(14,26,43,0.35) 40%, transparent 68%); }
.river-copy h2 { max-width: 13ch; letter-spacing: -0.02em; }
.river-copy p { font-size: 16.5px; }
.river-copy .go.solid .o { background: #fff; border-color: #fff; color: var(--ink); }
.river-copy .go.solid .o::before { background: var(--cobalt); }
.river-frame { border-radius: 999px 999px 0 0 / 560px 560px 0 0; }
.arch-cap { font-size: 13.5px; color: var(--soft); }
/* phone */
.mailbig { font-variant-numeric: tabular-nums; letter-spacing: -0.02em; transition: color 0.4s; }
.mailbig:hover { color: var(--cobalt); }
.center .lede { max-width: 40em; }
.center .eyebrow { justify-content: center; }
/* footer */
.foot-top { align-items: start; }
.foot-top .serif { font-size: clamp(38px, 4.6vw, 78px); letter-spacing: -0.02em; }
.foot a { width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--glide), color 0.3s; }
.foot a:hover { background-size: 100% 1px; }
.foot-legal { font-size: 13px; line-height: 1.5; }
.foot-legal small { font-size: 13px; color: var(--cobalt-soft); }
.foot h4 { letter-spacing: 0.04em; text-transform: uppercase; font-size: 12px; }
/* global */
[data-in] { filter: blur(8px); transition-duration: 0.9s; }
[data-lines] .l { filter: blur(10px); transition-duration: 1.1s; }
h1, h2, h3 { text-wrap: balance; }
.go { min-height: 58px; }
@media (max-width: 820px) {
  .sky-labels span { padding: 3px 7px 4px; font-size: 14px; }
  .sky-labels span.p-orl, .sky-labels span.p-tpa, .sky-labels span.p-jax { display: none; }
  .sky-top { flex-wrap: wrap; row-gap: 8px; right: var(--gx); }
  .sky-top span { padding-right: 12px; margin-right: 12px; }
  .row { grid-template-columns: 1fr; gap: 10px; }
  .row .tag { justify-self: start; }
  .write-cta.mini { padding-left: 6px; }
}
@media (max-width: 820px) {
  .sky-labels span.p-home { transform: translate(calc(-100% - 14px), -50%); text-align: right; }
  .sky-labels span.p-wpb { transform: translate(calc(-100% - 14px), -100%) translateY(-4px); text-align: right; }
  .sky-labels span.p-mia { transform: translate(-50%, 14px); }
  .sky-top span { border-right: 0; padding-right: 0; margin-right: 14px; }
}
