a[data-link][hidden]{display:none!important}
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Syne-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Epilogue'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Epilogue-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'Epilogue'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/Epilogue-normal-600.woff2') format('woff2'); }
@font-face { font-family: 'Epilogue'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/Epilogue-normal-800.woff2') format('woff2'); }
@font-face { font-family: 'Sacramento'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/Sacramento-normal-400.woff2') format('woff2'); }

/* ============ The Inverse · Night Final ============ */
:root {
  --ground: #08090e;
  --raise: #11131b;
  --ink: #f6f1ea;
  --ink2: #cbc2b4;
  --neon: #9fbcff;
  --neon-core: #d6e4ff;
  --neon-deep: #33406e;
  --paper: #f7f0e3;
  --paper2: #ede2cf;
  --paper-ink: #302117;
  --paper-ink2: #624e41;
  --buy: #e9ad49;
  --buy-deep: #8f6114;
  --night: #18100c;
  --deep: #392518;
  --rule: rgba(246, 241, 234, .18);
  --rule2: rgba(159, 188, 255, .34);
  --display: 'Syne', 'Arial Black', sans-serif;
  --body: 'Epilogue', 'Helvetica Neue', Arial, sans-serif;
  --script: 'Sacramento', 'Brush Script MT', cursive;
  --gap: 32px;
  --tilt: 0deg;
  --pill: 999px;
  --r: 8px;
  --pad: clamp(18px, 4vw, 56px);
  --max: 1320px;
  --asphalt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cg fill='%23ffffff' fill-opacity='.06'%3E%3Ccircle cx='9' cy='14' r='1'/%3E%3Ccircle cx='41' cy='6' r='.7'/%3E%3Ccircle cx='77' cy='22' r='1.3'/%3E%3Ccircle cx='118' cy='11' r='.8'/%3E%3Ccircle cx='24' cy='49' r='.6'/%3E%3Ccircle cx='63' cy='58' r='1.1'/%3E%3Ccircle cx='101' cy='45' r='.7'/%3E%3Ccircle cx='132' cy='70' r='1'/%3E%3Ccircle cx='15' cy='92' r='1.2'/%3E%3Ccircle cx='52' cy='101' r='.7'/%3E%3Ccircle cx='88' cy='86' r='.9'/%3E%3Ccircle cx='121' cy='112' r='.6'/%3E%3Ccircle cx='35' cy='130' r='.9'/%3E%3Ccircle cx='73' cy='125' r='.6'/%3E%3Ccircle cx='108' cy='136' r='1.1'/%3E%3C/g%3E%3Cg fill='%239fbcff' fill-opacity='.05'%3E%3Ccircle cx='58' cy='33' r='.8'/%3E%3Ccircle cx='96' cy='67' r='.7'/%3E%3Ccircle cx='28' cy='76' r='.9'/%3E%3Ccircle cx='128' cy='92' r='.7'/%3E%3C/g%3E%3C/svg%3E");
}

[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); color: var(--ink); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.rm { scroll-behavior: auto; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6;
  background-color: var(--ground); background-image: var(--asphalt);
  overflow-x: hidden; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }
main { overflow-x: hidden; overflow-x: clip; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: var(--ground); padding: 10px 14px; border-radius: var(--r); font-weight: 800; }
.skip:focus { left: 8px; }

/* shared print furniture */
.strap {
  display: flex; align-items: center; gap: 14px;
  font: 800 12px/1.2 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--ink);
  padding: 10px 0; border-top: 3px double var(--rule); border-bottom: 1px solid var(--rule);
}
.strap::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 10px var(--neon); flex: none; }
.kicker { font: 800 12px/1.2 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--neon); }
.credit { font: 800 11px/1.2 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--neon); margin-right: 8px; }
.frame { position: relative; padding: 10px; background: var(--raise); border: 1px solid var(--rule); box-shadow: inset 0 0 0 1px var(--ground), 0 30px 60px -30px #000; }
.frame::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--rule2); pointer-events: none; z-index: 1; }
.frame img { width: 100%; height: auto; }

/* buttons */
.buy {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 20px; border-radius: var(--pill);
  background: var(--buy); color: var(--night); text-decoration: none;
  font: 800 14px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(0,0,0,.3), 0 0 22px -6px var(--buy);
  transition: box-shadow .35s ease, transform .35s cubic-bezier(.3,1.4,.5,1), background-color .2s;
}
.buy:hover { box-shadow: 0 0 0 1px rgba(0,0,0,.3), 0 0 38px -2px var(--buy); transform: translateY(-2px); }
.buy:active { background: var(--buy-deep); color: var(--ink); }
.buy--big { min-height: 58px; padding: 16px 30px; font-size: 16px; }
.buy__arrow { display: inline-block; font-size: 1.25em; transition: transform .6s cubic-bezier(.65,0,.35,1); }
.buy:hover .buy__arrow { transform: rotate(180deg); }
.btn {
  min-height: 46px; padding: 12px 20px; border-radius: var(--pill); cursor: pointer;
  font: 800 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.btn--line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--line:hover { box-shadow: 0 0 18px -4px var(--neon); border-color: var(--neon); }
.btn--fill { background: var(--ink); color: var(--ground); border: 1px solid var(--ink); }
.btn--fill:hover { background: var(--neon-core); }

/* ============ dateline (header) ============ */
.dateline {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 56px;
  display: flex; align-items: center; gap: 14px; padding: 0 var(--pad);
  border-bottom: 1px solid var(--rule);
  transition: transform .45s cubic-bezier(.6,0,.2,1), background-color .3s, box-shadow .3s;
}
html.is-scrolled .dateline { background: rgba(8, 9, 14, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(159,188,255,.25), 0 10px 30px -14px rgba(110,150,255,.35); }
html.scroll-down .dateline { transform: translateY(-100%); }
html.rm .dateline { transition: none; }
.dateline__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.dateline__brand img { width: 32px; height: 32px; border: 1px solid var(--neon); box-shadow: 0 0 10px -2px var(--neon); }
.dateline__ed { font: 800 11px/1.2 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.dateline__nav { display: none; }
.dateline__nav a, .motion {
  font: 800 11px/1.2 var(--body); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--ink);
  background: none; border: 0; cursor: pointer; padding: 8px 0; min-height: 44px; display: inline-flex; align-items: center; gap: 8px;
  background-image: linear-gradient(var(--neon), var(--neon)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 75%;
  transition: background-size .35s ease;
}
.dateline__nav a:hover, .motion:hover { background-size: 100% 1px; }
.chip-x img, .box__links .chip-x img { filter: invert(1); width: 16px; height: 16px; }
.motion { color: var(--ink2); }
.buy--head { min-height: 40px; padding: 8px 16px; font-size: 12px; }
.burger { width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: var(--pill); background: transparent; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .3s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.dateline__nav.is-open {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  position: fixed; top: 64px; left: 10px; right: 10px; max-height: calc(100svh - 80px); overflow-y: auto;
  background: var(--raise); border: 1px solid var(--rule); border-top: 3px double var(--rule2); padding: 18px 22px;
  box-shadow: 0 30px 60px -20px #000;
}
.dateline__nav.is-open a:not(.chip-x) { font: 800 26px/1.1 var(--display); letter-spacing: -.03em; text-transform: none; }
@media (max-width: 999px) { .dateline__ed { display: none; } }
@media (min-width: 1000px) {
  .dateline__nav { display: flex; align-items: center; gap: 26px; margin-right: 10px; }
  .burger { display: none; }
}

/* ============ opening: four spinning front pages ============ */
.reel { display: none; position: fixed; inset: 0; z-index: 100; pointer-events: none; background: var(--ground); background-image: var(--asphalt), linear-gradient(180deg, var(--ground), #121829 50%, var(--ground)); }
html.reel-on:not(.rm) .reel { display: block; }
html.reel-done .reel { opacity: 0; transition: opacity .7s ease .15s; }
.reel__card { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; }
.reel__card.is-on { animation: reel-turn .55s cubic-bezier(.2,.8,.2,1) both; }
.reel__card.is-gone { opacity: 0; transform: translateX(-70vw) rotate(-24deg); transition: transform .45s cubic-bezier(.6,0,.4,1), opacity .45s; }
html.reel-done .reel__card--4 .reel__page { transform: scale(1.5); transition: transform .8s cubic-bezier(.5,0,.2,1); }
.reel__page {
  width: min(86vw, 560px); padding: 18px 22px 24px; background: #0d1018; border: 1px solid var(--rule);
  box-shadow: 0 0 0 6px var(--ground), 0 0 0 7px var(--rule), 0 40px 80px -20px #000, 0 0 80px -30px var(--neon);
}
.reel__plate { font: 800 clamp(26px, 6vw, 44px)/.9 var(--display); letter-spacing: -.05em; text-transform: uppercase; text-align: center; transform: rotate(180deg); padding: 6px 0 10px; border-bottom: 3px double var(--rule); }
.reel__pic { position: relative; height: clamp(120px, 26vh, 220px); margin: 14px 0; border: 1px solid var(--rule2); background: var(--ground); display: grid; place-items: center; overflow: hidden; }
.reel__svg { width: 70%; height: 90%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.reel__sign { stroke: var(--rule); stroke-width: 1.5; }
.reel__tube { stroke: var(--neon-core); stroke-width: 5; stroke-dasharray: 220; stroke-dashoffset: 220; filter: drop-shadow(0 0 4px var(--neon)) drop-shadow(0 0 10px var(--neon)); }
.reel__card.is-on .reel__tube { animation: tube-run .9s .3s cubic-bezier(.6,0,.3,1) forwards; }
.reel__line { stroke: var(--neon); stroke-width: 2; filter: drop-shadow(0 0 4px var(--neon)); }
.reel__card.is-on .reel__svg--map { animation: map-wobble 1.4s .2s ease-in-out both; }
.reel__dial { stroke: var(--rule2); stroke-width: 2; }
.reel__needle { transform-origin: 100px 60px; fill: var(--neon-core); filter: drop-shadow(0 0 6px var(--neon)); }
.reel__card.is-on .reel__needle { animation: needle-turn 1.4s .2s cubic-bezier(.5,0,.3,1) both; }
.reel__dots { position: absolute; right: 16px; bottom: 8px; font: 800 28px/1 var(--display); color: var(--neon); }
.reel__dots i { font-style: normal; animation: dot-wait 1s steps(1) infinite; }
.reel__dots i:nth-child(2) { animation-delay: .25s; }
.reel__dots i:nth-child(3) { animation-delay: .5s; }
.reel__ewe { width: 72%; height: 92%; max-width: 200px; background: url("../img/logo-192.png") center / contain no-repeat; mix-blend-mode: screen; transform: rotate(180deg); }
.reel__card.is-on .reel__ewe { animation: ewe-over 1.1s .35s cubic-bezier(.65,0,.35,1) forwards; }
.reel__head { font: 800 clamp(24px, 5.2vw, 42px)/1 var(--display); letter-spacing: -.04em; }
.reel__skip {
  position: absolute; right: 18px; bottom: 18px; pointer-events: auto; min-height: 44px; padding: 10px 20px; cursor: pointer;
  border-radius: var(--pill); border: 1px solid var(--ink); background: rgba(8,9,14,.7);
  font: 800 12px/1 var(--body); letter-spacing: .22em; text-transform: uppercase;
}
.reel__skip:hover { border-color: var(--neon); box-shadow: 0 0 16px -4px var(--neon); }
@keyframes reel-turn { from { opacity: 0; transform: rotate(-540deg) scale(.1); } 80% { opacity: 1; transform: rotate(5deg) scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes tube-run { to { stroke-dashoffset: 0; } }
@keyframes map-wobble { 0% { transform: scaleY(.1); } 40% { transform: scaleY(1.1) skewX(-6deg); } 70% { transform: skewX(4deg); } 100% { transform: none; } }
@keyframes needle-turn { from { transform: rotate(0); } to { transform: rotate(900deg); } }
@keyframes dot-wait { 0% { opacity: .15; } 50% { opacity: 1; } }
@keyframes ewe-over { from { transform: rotate(180deg); } to { transform: rotate(360deg); } }

/* ============ the world (first screen) ============ */
.world {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh; padding-top: 56px;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #0c1020 0%, var(--ground) 72%);
}
/* the still map (motion off): a printed sheet of parallel wavy contour lines, inline SVG */
.world__still { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; fill: none; stroke: rgba(159,188,255,.3); stroke-width: 1; transition: opacity 1.2s ease; }
.world__still .major { stroke: rgba(214,228,255,.42); stroke-width: 1.4; }
html.map-live .world__still { opacity: 0; }
.isomap { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.4s ease; }
html.map-live .isomap { opacity: 1; }
.world__sheen {
  position: absolute; left: -20%; right: -20%; bottom: 0; height: 26%; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,9,14,0), rgba(20,26,44,.55) 60%, rgba(8,9,14,.9)),
    linear-gradient(100deg, transparent 30%, rgba(255,255,255,.05) 46%, rgba(214,228,255,.09) 50%, rgba(255,255,255,.04) 54%, transparent 70%);
  background-size: 100% 100%, 160% 100%;
  background-position: 0 0, calc(20% + var(--scroll, 0) * 300%) 0;
}

.world__head { position: relative; text-align: center; padding: 12px var(--pad) 0; }
.plate {
  font: 800 13vw/.86 var(--display); letter-spacing: -.055em; text-transform: uppercase;
  color: var(--ink); text-wrap: balance;
  transform: rotate(180deg); padding: 10px 0 4px;
  border-top: 3px double var(--rule); border-bottom: 3px double var(--rule);
  text-shadow: 0 4px 0 rgba(51,64,110,.9), 0 0 30px rgba(159,188,255,.18);
  cursor: pointer; user-select: none;
}
html.js:not(.rm) .plate { transition: transform 1s cubic-bezier(.65,0,.35,1); }
.plate.is-righted { transform: rotate(0deg); }
.plate__sub { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 18px; padding: 8px 0; font: 800 10px/1.3 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--ink2); }
.plate__sub span + span::before { content: "·"; margin-right: 18px; color: var(--neon); }

.world__stage { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; padding: 6px var(--pad) 26px; }
.ewe-spot { position: relative; display: flow-root; width: 100%; max-width: 640px; padding-bottom: 30px; }
.ewe-lean { transform: translate3d(calc(var(--px, 0) * -8px), calc(var(--py, 0) * -6px), 0); }
html.rm .ewe-lean { transform: none; }
.ewe-turn { transition: transform 1.1s cubic-bezier(.65,0,.35,1); }
.ewe-turn.is-turned { transform: rotate(180deg); }
html.rm .ewe-turn { transition: none; }
.ewe { width: auto; height: 206px; }
.gesture {
  position: absolute; left: 0; bottom: -28px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 11px/1.2 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--ink);
}
.gesture::before { content: "↻"; font-size: 18px; letter-spacing: 0; color: var(--neon-core); text-shadow: 0 0 8px var(--neon), 0 0 18px var(--neon); }

.world__copy { width: 100%; max-width: 640px; margin-top: 14px; text-align: left; position: relative; }
.extra { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; font: 600 13px/1.3 var(--body); color: var(--ink2); }
.extra span { background: var(--ink); color: var(--ground); font: 800 11px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; padding: 6px 8px 5px; }
h1 { font-weight: 400; }
.h1__a { display: block; font: 800 26px/.98 var(--display); letter-spacing: -.04em; color: var(--ink); }
.neon {
  display: block; margin-top: 4px; font: 400 38px/1.02 var(--script); font-style: normal;
  color: #cfe0ff;
  text-shadow: 0 0 1px #fff, 0 0 10px rgba(159,188,255,.9), 0 0 30px rgba(110,150,255,.6);
}

.world__deal { width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: 12px; margin-top: 16px; position: relative; }
.world__deal .buy--big { width: 100%; }
.ad--ca { border: 3px double var(--ink); background: rgba(13,16,24,.82); padding: 10px 12px; box-shadow: inset 0 18px 30px -24px var(--neon); transition: border-color .3s; }
.ad--ca:hover { border-color: var(--neon); }
.ad__label { display: flex; align-items: center; gap: 8px; font: 800 11px/1.2 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.pin { width: 10px; height: 10px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--neon); box-shadow: 0 0 8px var(--neon); flex: none; }
#ca-copy { display: block; width: 100%; text-align: left; margin-top: 6px; padding: 4px 0 0; background: none; border: 0; cursor: pointer; min-height: 44px; }
#ca-text { display: block; font: 600 14px/1.35 var(--body); font-variant-numeric: tabular-nums; color: var(--ink); overflow-wrap: anywhere; word-break: break-all; }
.ca__tap { display: block; margin-top: 6px; padding-top: 5px; border-top: 1px dashed var(--rule); font: 800 10px/1.2 var(--body); letter-spacing: .26em; text-transform: uppercase; color: var(--neon); transition: color .3s; }
#ca-copy:hover .ca__tap { color: var(--neon-core); }
#ca-copy.is-copied .ca__tap { color: var(--ink); }

.crop, .reg { display: none; }

@media (min-width: 700px) {
  .ewe { height: clamp(220px, 34vw, 380px); }
  .h1__a { font-size: clamp(32px, 4.6vw, 48px); }
  .neon { font-size: clamp(44px, 6vw, 64px); }
}

@media (min-width: 1100px) {
  .plate { font-size: clamp(56px, 9.4vw, 156px); white-space: nowrap; }
  .world__stage { display: block; padding: 0; min-height: 560px; }
  .ewe-spot { position: absolute; left: calc(60% - min(560px, 40vw, calc(100svh - 290px)) * .36); right: var(--pad); top: -34px; width: auto; max-width: none; padding: 0; }
  .gesture { left: 50%; transform: translateX(-50%); bottom: -34px; }
  .runaround__text { font: 400 clamp(26px, 2.2vw, 33px)/1.2 var(--display); letter-spacing: -.015em; color: var(--ink); padding-top: 64px; max-width: 760px; }
  .runaround__more { margin-top: 12px; }
  .ewe { height: min(560px, 40vw, calc(100svh - 290px)); min-height: 360px; }
  .plate__sub { justify-content: flex-start; }
  .world__copy { position: absolute; left: var(--pad); bottom: 40px; max-width: min(600px, 40vw); margin: 0; }
  .h1__a { font-size: clamp(36px, 3.4vw, 54px); }
  .neon { font-size: clamp(48px, 4.6vw, 74px); }
  .world__deal { position: absolute; right: var(--pad); bottom: 40px; width: 340px; margin: 0; }
  .crop { display: block; position: absolute; width: 22px; height: 22px; pointer-events: none; border: 0 solid rgba(246,241,234,.5); }
  .crop--tl { left: 16px; top: 8px; border-left-width: 1px; border-top-width: 1px; }
  .crop--tr { right: 16px; top: 8px; border-right-width: 1px; border-top-width: 1px; }
  .crop--bl { left: 16px; bottom: 12px; border-left-width: 1px; border-bottom-width: 1px; }
  .crop--br { right: 16px; bottom: 12px; border-right-width: 1px; border-bottom-width: 1px; }
  .reg { display: block; position: absolute; left: 14px; top: 46%; width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(246,241,234,.45); pointer-events: none;
    background: linear-gradient(rgba(246,241,234,.45), rgba(246,241,234,.45)) center / 1px 34px no-repeat, linear-gradient(rgba(246,241,234,.45), rgba(246,241,234,.45)) center / 34px 1px no-repeat; }
}

/* first-screen entrance (only after site.js says so) */
html.awaiting:not(.rm) .plate, html.awaiting:not(.rm) .plate__sub, html.awaiting:not(.rm) .neon { opacity: 0; }
html.is-ready:not(.rm) .plate { animation: plate-drop 1s cubic-bezier(.2,.9,.2,1) backwards; }
html.is-ready:not(.rm) .plate__sub { animation: sub-in .8s .5s ease backwards; }
html.is-ready:not(.rm) .neon { animation: tube-strike .95s .7s linear backwards, buzz 9s 4s infinite; }
@keyframes plate-drop { from { opacity: 0; transform: rotate(180deg) translateY(70px); } to { opacity: 1; transform: rotate(180deg); } }
@keyframes sub-in { from { opacity: 0; letter-spacing: .6em; } }
@keyframes tube-strike { 0% { opacity: 0; } 12% { opacity: .7; } 18% { opacity: .1; } 34% { opacity: 1; } 42% { opacity: .35; } 56% { opacity: 1; } 62% { opacity: .6; } 100% { opacity: 1; } }
@keyframes buzz { 0%, 95.5%, 100% { opacity: 1; } 96% { opacity: .35; } 97% { opacity: 1; } 98% { opacity: .55; } }

/* the paper's fold */
.crease { height: 24px; margin: 0; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.55) 48%, rgba(246,241,234,.16) 50%, rgba(0,0,0,.4) 52%, rgba(0,0,0,0)); }

/* ============ the page assembles: blocks arrive upside down and right themselves ============ */
html.js:not(.rm) [data-reveal].reveal:not(.cols):not(.photos) { opacity: 0; transform: rotate(180deg) scale(.92); }
html.js:not(.rm) [data-reveal].reveal.seen:not(.cols):not(.photos) { animation: upright .95s cubic-bezier(.3,1.2,.4,1) var(--d, 0s) both; }
html.js:not(.rm) .cols.reveal .card, html.js:not(.rm) .photos.reveal figure { opacity: 0; transform: rotate(180deg) scale(.92); }
html.js:not(.rm) .cols.reveal.seen .card, html.js:not(.rm) .photos.reveal.seen figure { animation: upright .95s cubic-bezier(.3,1.2,.4,1) var(--d, 0s) both; }
.cols .card:nth-child(2), .photos figure:nth-child(2), .ads .ad:nth-child(2), .lead__photo { --d: .14s; }
.cols .card:nth-child(3), .photos figure:nth-child(3), .ads .ad:nth-child(3), .index { --d: .28s; }
.photos figure:nth-child(4) { --d: .42s; }
.photos figure:nth-child(5) { --d: .56s; }
@keyframes upright { from { opacity: 0; transform: rotate(180deg) scale(.92); } 55% { opacity: 1; } 82% { transform: rotate(-2deg) scale(1); } to { opacity: 1; transform: none; } }
html.js:not(.rm) .strap { background-image: linear-gradient(var(--neon), var(--neon)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 1.2s cubic-bezier(.6,0,.2,1); }
html.js:not(.rm) section:hover .strap, html.js:not(.rm) .strap:hover { background-size: 100% 1px; }

/* ============ the lead story ============ */
.lead, .corrections, .sightings, .classifieds { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 9vw, 120px) var(--pad) 0; }
.lead__head { margin: 22px 0 30px; }
.lead__h1 { display: block; font: 800 clamp(40px, 7vw, 116px)/.92 var(--display); letter-spacing: -.05em; }
.lead__h2 { display: block; margin-top: 10px; font: 400 clamp(24px, 3.4vw, 56px)/1 var(--display); letter-spacing: -.03em; color: var(--ink2); }
.lead__grid { display: grid; gap: 28px; }
.lead__text p { color: var(--ink); font-size: 18px; line-height: 1.6; }
.lead__text p + p { margin-top: 1em; color: var(--ink2); }
.dropcap::first-letter { float: left; font: 800 76px/.8 var(--display); color: var(--neon); margin: 6px 10px 0 0; text-shadow: 0 0 18px rgba(159,188,255,.45); }
.lead__photo figcaption, .inset figcaption { margin-top: 10px; font-size: 14px; font-style: italic; color: var(--ink2); }
.lead__photo figcaption .credit { font-style: normal; }
.index { border: 1px solid var(--ink); background: var(--ink); color: var(--ground); padding: 18px 20px; align-self: start; }
.index__head { font: 800 22px/1 var(--display); letter-spacing: -.03em; padding-bottom: 10px; border-bottom: 3px double rgba(8,9,14,.5); }
.index ol { list-style: none; margin: 8px 0 12px; padding: 0; }
.index li { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(8,9,14,.25); }
.index a { color: var(--ground); text-decoration: none; font: 800 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; padding: 14px 0; min-height: 44px; display: inline-flex; align-items: center; }
.index a:hover { text-decoration: underline; }
.index li span { font-size: 18px; transition: transform .5s cubic-bezier(.65,0,.35,1); }
.index li:hover span { transform: rotate(180deg); }
.index__note { font: 400 30px/1 var(--script); color: var(--paper-ink); }
@media (min-width: 1000px) {
  .lead__grid { grid-template-columns: 4fr 5fr 3fr; gap: 24px; }
  .lead__grid > * + * { border-left: 1px solid var(--rule); padding-left: 24px; }
  .lead__grid > .index { border-left: 1px solid var(--ink); padding-left: 20px; }
  .lead__text p { font-size: 22px; line-height: 1.5; }
}

/* ============ corrections (lore) ============ */
.cols { display: grid; gap: 34px; margin-top: 30px; }
.card { position: relative; padding-top: 70px; }
.card__num { position: absolute; top: 0; left: 0; font: 800 76px/1 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--neon); text-shadow: 0 0 22px rgba(159,188,255,.25); }
.card h3 { font: 800 clamp(26px, 2.6vw, 34px)/1 var(--display); letter-spacing: -.035em; margin-bottom: 12px; }
.card p { color: var(--ink2); font-size: 16px; }
.inset { margin-top: 44px; }
@media (min-width: 900px) {
  .cols { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .card { padding: 80px 26px 0; }
  .card + .card { border-left: 1px solid var(--rule2); box-shadow: -1px 0 14px -10px var(--neon); }
  .card__num { left: 26px; }
  .inset { width: 66%; margin-left: 17%; }
}

/* ============ sightings (gallery) ============ */
.sightings__top { display: grid; gap: 10px; }
.hint { font: 800 11px/1.2 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--neon); }
.hint--mouse { display: none; }
@media (hover: hover) { .hint--mouse { display: inline; } .hint--touch { display: none; } }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.photos figure { margin: 0; display: flex; flex-direction: column; cursor: pointer; }
.photos figure:first-child { grid-column: span 2; }
.photos img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; padding: 8px; background: var(--raise); border: 1px solid var(--rule); box-shadow: inset 0 0 0 7px var(--raise), inset 0 0 0 8px var(--rule2); }
html.js:not(.rm) .photos img { transition: transform .9s cubic-bezier(.7,0,.2,1), box-shadow .4s; }
html.js:not(.rm) .photos figure:hover img, html.js:not(.rm) .photos figure.is-over img { transform: rotate(180deg); box-shadow: inset 0 0 0 7px var(--raise), inset 0 0 0 8px var(--neon), 0 0 30px -10px var(--neon); }
.photos figcaption { margin-top: 8px; font: 600 13px/1.4 var(--body); color: var(--ink2); }
@media (min-width: 900px) {
  .sightings__top { grid-template-columns: 1fr auto; align-items: end; }
  .photos { grid-template-columns: repeat(6, 1fr); gap: 22px; }
  .photos figure:nth-child(1) { grid-column: 1 / span 4; grid-row: 1 / span 2; }
  .photos figure:nth-child(1) img { flex: 1 1 auto; aspect-ratio: auto; height: 0; min-height: 320px; }
  .photos figure:nth-child(2) { grid-column: 5 / span 2; grid-row: 1; }
  .photos figure:nth-child(3) { grid-column: 5 / span 2; grid-row: 2; }
  .photos figure:nth-child(4) { grid-column: 1 / span 3; }
  .photos figure:nth-child(5) { grid-column: 4 / span 3; }
  .photos figure:nth-child(4) img, .photos figure:nth-child(5) img { aspect-ratio: 3 / 2; }
}

/* ============ reroute (play) ============ */
.reroute { margin-top: clamp(70px, 10vw, 130px); padding: clamp(50px, 8vw, 100px) var(--pad); background: linear-gradient(100deg, rgba(57,37,24,.75), rgba(24,16,12,0) 45%), linear-gradient(180deg, var(--ground), var(--night) 50%, var(--ground)); border-top: 3px double var(--rule); border-bottom: 3px double var(--rule); }
.wall { max-width: var(--max); margin: 0 auto; display: grid; gap: 48px; }
.poster { position: relative; justify-self: center; width: min(100%, 380px); background: var(--paper); color: var(--paper-ink); padding: 22px 22px 18px; transform: rotate(calc(var(--tilt) - 1.5deg)); box-shadow: 0 30px 50px -20px #000, 0 2px 0 var(--paper2); }
html.js:not(.rm) .poster[data-reveal].reveal.seen:not(.cols):not(.photos) { animation-name: upright-tilt; }
@keyframes upright-tilt { from { opacity: 0; transform: rotate(180deg) scale(.92); } 55% { opacity: 1; } to { opacity: 1; transform: rotate(calc(var(--tilt) - 1.5deg)); } }
.poster__head { font: 800 clamp(30px, 4vw, 42px)/.92 var(--display); letter-spacing: -.045em; text-transform: uppercase; text-align: center; }
.poster__look { margin: 12px 0 2px; text-align: center; font: 800 12px/1.2 var(--body); letter-spacing: .26em; text-transform: uppercase; color: var(--paper-ink2); }
.poster__look::before { content: "↑ "; letter-spacing: 0; }

.ceiling { display: flex; flex-direction: column; align-items: center; align-self: start; }
.ceiling .poster { width: min(100%, 340px); }

/* THE CHARACTER (img/cutout.png, first screen): a newspaper text runaround. She stands upside down on the
   nameplate's neon rule (the upside-down title is her ground), and the front-page copy flows around her exact
   silhouette, the way a tabloid sets type around a cut-out photo (shape-outside from the picture's own alpha). */
.ewe-float {
  float: left; position: relative; margin: 0 6px 0 0;
  shape-outside: url("../img/cutout.png"); shape-image-threshold: .3; shape-margin: 14px;
}
.ewe-float::before {
  content: ""; position: absolute; top: 0; left: -12%; right: -12%; height: 2px; z-index: 1; pointer-events: none;
  background: var(--neon-core);
}
.runaround__text { font: 600 14px/1.42 var(--body); color: var(--ink2); padding-top: 14px; text-align: left; }
.runaround__more {
  display: inline-block; margin-top: 6px; color: var(--neon); text-decoration: none;
  font: 800 10px/1.3 var(--body); letter-spacing: .22em; text-transform: uppercase;
  background-image: linear-gradient(var(--neon), var(--neon)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .35s ease;
}
.runaround__more:hover { background-size: 100% 1px; }
.poster__hand { font: 400 40px/1 var(--script); text-align: center; color: var(--paper-ink); }
.tape { position: absolute; top: -12px; width: 90px; height: 26px; background: rgba(159,188,255,.55); box-shadow: 0 0 14px rgba(159,188,255,.6); }
.tape--l { left: -18px; transform: rotate(-28deg); }
.tape--r { right: -18px; transform: rotate(24deg); }
.route__title { font: 800 clamp(40px, 5.4vw, 70px)/.95 var(--display); letter-spacing: -.045em; margin: 10px 0 20px; }
.pad {
  position: relative; width: 100%; max-width: 640px; aspect-ratio: 1; touch-action: none;
  border: 1px dashed rgba(246,241,234,.55); background: var(--ground);
  background-image:
    repeating-linear-gradient(166deg, rgba(8,9,14,0) 0 22px, rgba(51,64,110,.9) 22px 23px),
    repeating-linear-gradient(78deg, rgba(8,9,14,0) 0 34px, rgba(51,64,110,.5) 34px 35px);
  overflow: hidden;
}
@media (min-width: 700px) { .pad { aspect-ratio: 4 / 3; } }
.pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
.pad__sample { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px var(--neon)); }
html.pad-live .pad__sample { display: none; }
.pad__pin { position: absolute; z-index: 2; pointer-events: none; font: 800 10px/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--ground); background: var(--ink); padding: 5px 7px; }
.pad__pin--here { left: 6%; bottom: 8%; }
.pad__pin--home { right: 8%; top: 12%; }
.pad__msg { margin-top: 14px; color: var(--ink); font-weight: 600; }
.pad__still { display: none; margin-top: 6px; color: var(--ink2); font-size: 14px; }
html.rm .pad__still { display: block; }
.pad__ctl { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.pad__count { margin-top: 16px; font: 800 12px/1.3 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink2); }
.pad__count b { font: 800 30px/1 var(--display); letter-spacing: -.03em; color: var(--neon-core); margin-left: 6px; text-shadow: 0 0 12px var(--neon); }
@media (min-width: 1000px) {
  .wall { grid-template-columns: 5fr 7fr; align-items: center; gap: 70px; }
}

/* ============ classifieds (how to buy) ============ */
.classifieds__title { font: 800 clamp(40px, 6.4vw, 100px)/.92 var(--display); letter-spacing: -.05em; margin: 24px 0 30px; text-transform: uppercase; }
.ads { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ad { border: 3px double var(--ink); padding: 18px 20px; background: rgba(17,19,27,.7); font-size: 16px; color: var(--ink); }
.ads .ad { transition: border-color .3s, box-shadow .3s; }
.ads .ad:hover { border-color: var(--neon); box-shadow: 0 0 26px -12px var(--neon); }
.ad b { display: block; font: 800 22px/1 var(--display); letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 8px; color: var(--neon-core); }
.logo-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 6px; border-radius: var(--pill); background: var(--ink); color: var(--ground); font-weight: 800; font-size: 14px; vertical-align: middle; }
.ad--wide { margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: var(--pill); background: var(--ink); color: var(--ground); text-decoration: none; font: 800 13px/1 var(--body); letter-spacing: .06em; transition: transform .3s cubic-bezier(.3,1.4,.5,1), box-shadow .3s; }
.chip:hover { transform: translateY(-2px); box-shadow: 0 0 20px -6px var(--neon); }
.classifieds__buy { margin-top: 30px; }
@media (min-width: 900px) { .ads { grid-template-columns: repeat(3, 1fr); } }

/* ============ the back page (footer) ============ */
.back { margin-top: clamp(80px, 12vw, 150px); background: var(--night); background-image: var(--asphalt); border-top: 3px double var(--rule); color: var(--ink); }
.back__plate { position: relative; isolation: isolate; overflow: hidden; padding: 40px var(--pad) 26px; text-align: center; border-bottom: 3px double var(--rule); }
.back__map { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(172deg, rgba(24,16,12,0) 0 22px, rgba(159,188,255,.18) 22px 23px); }
html.map-live .back__map { background: none; }
.back__name { position: relative; font: 800 15vw/.86 var(--display); letter-spacing: -.055em; text-transform: uppercase; text-wrap: balance; text-shadow: 0 4px 0 rgba(51,64,110,.9); }
.back__sub { position: relative; margin-top: 14px; font: 800 11px/1.3 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--ink2); }
.back__boxes { max-width: var(--max); margin: 0 auto; padding: 34px var(--pad); display: grid; gap: 22px; }
.box { border-top: 3px double var(--rule); padding-top: 14px; }
.box__head { font: 800 11px/1.2 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--neon); margin-bottom: 10px; }
.box__big { font: 800 26px/1.05 var(--display); letter-spacing: -.03em; }
.box__links { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.box__links a:not(.buy) { color: var(--ink); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; text-underline-offset: 4px; }
.box__links a:not(.buy):hover { color: var(--neon-core); }
.small { font-size: 13px; line-height: 1.6; color: var(--ink2); }
.back__line { text-align: center; padding: 16px var(--pad) 26px; font: 800 10px/1.3 var(--body); letter-spacing: .26em; text-transform: uppercase; color: var(--ink2); border-top: 1px solid var(--rule); }
@media (min-width: 900px) {
  .back__name { font-size: clamp(60px, 11vw, 190px); white-space: nowrap; }
  .back__boxes { grid-template-columns: 1fr 1fr 1.4fr; gap: 34px; }
}

/* ============ copy celebration: the U-turn sign ============ */
.uturn-sign { position: fixed; z-index: 120; pointer-events: none; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; background: rgba(8,9,14,.92); border: 1px solid var(--rule); border-radius: 10px; transform-origin: 50% 0; box-shadow: 0 0 40px -12px var(--neon); }
.uturn-sign svg { width: 54px; height: 54px; fill: none; stroke: var(--neon-core); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px var(--neon)) drop-shadow(0 0 9px var(--neon)); }
.uturn-sign path { opacity: .08; }
.uturn-sign b { font: 400 36px/1 var(--script); color: #cfe0ff; opacity: .08; text-shadow: 0 0 1px #fff, 0 0 10px var(--neon), 0 0 24px var(--neon); }

/* ============ 404 ============ */
.lost { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px var(--pad); position: relative; overflow: hidden; }
.lost__inner { position: relative; max-width: 760px; }
.lost .plate { font-size: clamp(36px, 11vw, 110px); margin-bottom: 24px; cursor: default; }
.lost img { width: 150px; height: 150px; margin: 0 auto 18px; mix-blend-mode: screen; }
.lost h1 { font: 800 clamp(32px, 6vw, 64px)/1 var(--display); letter-spacing: -.04em; }
.lost h1 em { display: block; margin-top: 8px; font: 400 clamp(40px, 7vw, 80px)/1.05 var(--script); font-style: normal; color: #cfe0ff; text-shadow: 0 0 1px #fff, 0 0 10px rgba(159,188,255,.9), 0 0 30px rgba(110,150,255,.6); }
.lost__home { display: inline-flex; margin-top: 28px; }
.lost .world__still { opacity: .7; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
html.rm *, html.rm *::before, html.rm *::after { animation: none !important; transition: none !important; }
