/* Public site of hustler.fyi. One idea: an opportunity is a weather window and the report is the morning bulletin.
   The page is one night at base camp: scrolling is time. It starts in the dark, crosses the dawn
   and ends on paper in daylight. Palette and wordmark come from the private app. */
@font-face { font-family: 'Archivo Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/assets/archivo-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Archivo Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/assets/archivo-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/assets/inter-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter Variable'; font-style: normal; font-display: swap; font-weight: 100 900; src: url('/assets/inter-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'JetBrains Mono Variable'; font-style: normal; font-display: swap; font-weight: 100 800; src: url('/assets/jetbrains-mono-latin-ext-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono Variable'; font-style: normal; font-display: swap; font-weight: 100 800; src: url('/assets/jetbrains-mono-latin-wght-normal.woff2') format('woff2-variations'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  color-scheme: dark;
  --night: #07090c;
  --paper: #f0e9dd;
  --sheet: #fbf8f1;
  --stamp: #a2452f;
  --here: var(--night);
  --text: #ece7e0;
  --muted: #aba299;
  --gold: #c9a77c;
  --gold-light: #e0c4a3;
  --gold-deep: #8e6b45;
  --gold-line: rgba(201, 167, 124, .32);
  --line: #2c2823;
  --rule: #ece7e0;
  --input-line: #786a5b;
  --bar-past: #8e6b45;
  --bar-left: #e0c4a3;
  --ok: #91b18a;
  --danger: #e29689;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --edge: clamp(24px, 5vw, 76px);
  --side: max(var(--edge), calc(50% - 590px));
  --rail: 150px;
  --gap: 64px;
  --pt: clamp(84px, 13vh, 150px);
  --display: 'Archivo Variable', 'Inter Variable', system-ui, sans-serif;
  --sans: 'Inter Variable', system-ui, sans-serif;
  --mono: 'JetBrains Mono Variable', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 56px; background: var(--night); }
body { margin: 0; min-width: 320px; background: var(--night); color: var(--text); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: normal; }
a { color: inherit; text-decoration: none; transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease; }
button, input { font: inherit; min-height: 48px; }
button { cursor: pointer; transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease; }
button:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
::selection { background: var(--gold); color: var(--here); }
[hidden] { display: none !important; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; padding: 12px 20px; background: #c9a77c; color: #0a0908; }
.skip-link:focus { top: 20px; }

.kicker { color: var(--gold); text-transform: uppercase; font: 500 11px/1.6 var(--mono); letter-spacing: .16em; }
.muted { color: var(--muted); }
.note { margin-top: 26px; color: var(--muted); font-size: 15px; max-width: 600px; }
.note + .note { margin-top: 8px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--gold-light); font-size: 15px; border-bottom: 1px solid var(--gold-line); }
.text-link:hover, .inline-link:hover { color: var(--text); }
.inline-link { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 30px; border: 1px solid var(--text); border-radius: 2px; background: var(--text); color: var(--here); font-size: 15px; font-weight: 550; }
.button:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 700 24px/1 var(--display); letter-spacing: -.07em; }
.brand svg { width: 32px; height: 36px; }
.brand .tone { fill: var(--gold); }
.brand .tone-deep { fill: var(--gold-deep); }

/* Hero: the range at blue hour. Only inside the window is the first light let through. */
.hero { --wt: 9%; --wr: 16%; --wb: 15%; --wl: 58%; min-height: 100svh; display: flex; flex-direction: column; position: relative; isolation: isolate; padding: 30px var(--side) clamp(40px, 8vh, 88px); overflow: hidden; background: var(--night); }
.hero-sky { position: absolute; inset: 0; z-index: -1; }
/* The grain is laid over the photograph so that the enlarged image reads as film, not as blur. */
.hero-night, .hero-window { position: absolute; inset: 0; background: url('/assets/grain.svg') 0 0 / 256px, url('/assets/mountain-dawn.jpg') 64.5% 50% / cover no-repeat; background-blend-mode: overlay, normal; }
.hero-night { filter: grayscale(.7) brightness(.5) contrast(1.08); animation: fade-in 1.4s ease both; }
.hero-window { z-index: 2; clip-path: inset(var(--wt) var(--wr) var(--wb) var(--wl)); filter: saturate(1.2) brightness(1.1); animation: fade-in 2.2s 300ms ease both; }
.hero-frame { position: absolute; z-index: 4; top: var(--wt); right: var(--wr); bottom: var(--wb); left: var(--wl); border: 1px solid rgba(236, 231, 224, .62); box-shadow: 0 0 160px rgba(224, 196, 163, .13); animation: fade-in 2.2s 300ms ease both; }
.hero-frame span { position: absolute; top: 14px; left: 16px; display: inline-flex; align-items: center; gap: 9px; color: var(--text); font: 500 10px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(7, 9, 12, .7); }
.hero-frame span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 10px var(--gold-light); }
.hero-sky::before { content: ''; position: absolute; inset: 0 0 auto; height: 120px; z-index: 1; background: linear-gradient(var(--night), transparent); }
.hero-sky::after { content: ''; position: absolute; inset: 46% 0 0; z-index: 1; background: linear-gradient(transparent, rgba(7, 9, 12, .78) 52%, var(--night) 96%); }
/* When the window has opened over the whole range, the range still has to end in the night below it. */
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 14%; z-index: -1; background: linear-gradient(transparent, var(--night)); pointer-events: none; }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero-nav { display: flex; align-items: center; gap: 22px; font-size: 13px; color: var(--text); }
.hero-nav a { display: inline-flex; align-items: center; min-height: 44px; opacity: .8; }
.hero-nav a:hover { opacity: 1; }
.hero-body { margin-top: auto; padding-top: 56px; animation: rise 900ms var(--ease-out) both; }
.entry { position: absolute; left: var(--wl); right: 6%; top: calc(100% - var(--wb) + 16px); color: var(--muted); font: 12px/1.7 var(--mono); }
.entry b { color: var(--text); font-weight: 500; }
.hero h1 { font: 500 clamp(36px, min(4.9vw, 9vh), 74px)/1.04 var(--display); letter-spacing: -.035em; max-width: 9.4em; }
.hero h1 span, .hero h1 em { display: block; text-wrap: balance; }
.hero h1 em { color: var(--gold-light); }
.lead { margin-top: 30px; max-width: min(520px, 46vw); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; text-wrap: pretty; }
.hero-actions { margin-top: 30px; max-width: 46vw; display: flex; align-items: center; gap: 10px 34px; flex-wrap: wrap; }
/* Not a button: the way into the page is down, through the night. */
.descend { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; color: var(--text); font: 500 12px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.descend .arrow { color: var(--gold-light); animation: nod 2.6s ease-in-out infinite; }
.descend:hover { color: var(--gold-light); }
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes nod { 50% { transform: translateY(5px); } }
@keyframes window-wide { to { clip-path: inset(0); } }
@keyframes frame-wide { to { top: 0; right: 0; bottom: 0; left: 0; opacity: 0; } }

/* A stop is one hour of the night: the clock on the rail, the hour's content beside it. */
.stop { position: relative; display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); column-gap: var(--gap); padding: var(--pt) var(--side) 0; }
.stop::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(var(--side) + var(--rail) + var(--gap) / 2); width: 1px; background: var(--line); }
.stop::after { content: ''; position: absolute; top: calc(var(--pt) + 15px); left: calc(var(--side) + var(--rail) + var(--gap) / 2 - 4px); width: 9px; height: 9px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 6px var(--here); }
.hour { position: sticky; top: 36px; align-self: start; display: grid; gap: 10px; padding-top: 4px; color: var(--gold); font: 500 10px/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.hour time { color: var(--text); font-size: 32px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.body { min-width: 0; }
.body h2 { font: 500 clamp(32px, 4.3vw, 64px)/1.05 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.body h2 em { display: block; color: var(--gold-light); }
.lede, .prose p { margin-top: 28px; max-width: 620px; font: 400 clamp(18px, 1.5vw, 20px)/1.6 var(--sans); letter-spacing: -.011em; text-wrap: pretty; }

.night { position: relative; padding-bottom: clamp(96px, 16vh, 180px); }
.night::before { content: ''; position: absolute; inset: 0; background: url('/assets/stars.svg') 0 0 / 640px; opacity: .6; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 82%, transparent); pointer-events: none; }
.night > section { position: relative; }

/* One window is one bar: open on the left, closing on the right, today in between. */
.span { height: 5px; position: relative; border-radius: 3px; background: linear-gradient(to right, var(--bar-past) 0 58%, var(--bar-left) 58%); }
.span::before, .span::after { content: ''; position: absolute; top: -5px; width: 1px; height: 15px; background: var(--bar-left); }
.span::before { left: 0; background: var(--bar-past); }
.span::after { right: 0; }
.span i { position: absolute; left: 58%; top: -4px; width: 13px; height: 13px; margin-left: -6px; border-radius: 50%; background: var(--here); border: 2px solid var(--bar-left); }
.span i::after { content: attr(data-label); position: absolute; bottom: 17px; left: 50%; transform: translateX(-50%); color: var(--text); font: normal 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.span-caption { margin-top: 13px; display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; color: var(--muted); font: 12px/1.5 var(--mono); }
.span-caption span:last-child { margin-left: auto; color: var(--bar-left); }
/* The same bar for a window that is gone: it ended, and today is already past it. */
.span.shut { height: 3px; border-radius: 0; background: linear-gradient(to right, #5b5045 0 70%, transparent 70%), repeating-linear-gradient(to right, #4a4138 0 2px, transparent 2px 9px); }
.span.shut::before { left: 70%; top: -6px; background: var(--muted); }
.span.shut::after { content: attr(data-state); top: 14px; right: 30%; width: auto; height: auto; background: none; color: var(--muted); font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.span.shut i { left: 100%; top: -5px; border-color: var(--muted); }
.span.shut i::after { color: var(--muted); }

.missed { margin-top: clamp(44px, 7vh, 72px); border-top: 1px solid var(--line); }
.missed li { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(150px, 28%); align-items: center; gap: 12px 28px; padding: 26px 14px 26px 0; border-bottom: 1px solid var(--line); }
.missed .kicker { color: var(--muted); }
.missed p { font: 400 clamp(19px, 1.9vw, 24px)/1.25 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.prose { margin-top: clamp(40px, 6vh, 64px); }
.prose p + p { color: var(--muted); }

.body h2.vow { font-size: clamp(44px, 7.6vw, 104px); line-height: .98; letter-spacing: -.045em; }
.duo { margin-top: clamp(64px, 10vh, 112px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px 64px; }
.body > .duo:first-child { margin-top: 0; }
.duo h3 { margin-top: 10px; font: 500 clamp(24px, 2.6vw, 34px)/1.12 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.duo h3 + p { margin-top: 16px; color: var(--muted); max-width: 500px; }
/* The map on the table: contour lines and one marked valley. */
.plate { position: relative; aspect-ratio: 5 / 4; border: 1px solid var(--gold-line); background: url('/assets/contours.svg') 42% 46% / 210% no-repeat, rgba(201, 167, 124, .035); }
.plate i { position: absolute; left: 57%; top: 44%; width: 11px; height: 11px; margin: -5px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 5px rgba(224, 196, 163, .16), 0 0 22px var(--gold-light); }
.plate i::after { content: attr(data-label); position: absolute; left: 22px; top: -2px; color: var(--text); font: normal 500 10px/1.5 var(--mono); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 0 8px var(--night), 0 0 8px var(--night); }
/* The scout's night: hundreds of notices, three of them lit. */
.sieve div { aspect-ratio: 10 / 3; background: url('/assets/sieve.svg') center / 100% 100% no-repeat; }
.sieve figcaption { margin-top: 16px; color: var(--muted); font: 12px/1.6 var(--mono); }

/* Dawn: the sky turns, and the page with it. Below the ridge everything is paper. */
.dawn { position: relative; min-height: clamp(600px, 108vh, 1040px); padding: clamp(90px, 16vh, 190px) var(--side) 260px; background: url('/assets/grain.svg') 0 0 / 256px, radial-gradient(ellipse 46% 26% at 66% 90%, rgba(255, 228, 186, .7), rgba(255, 228, 186, 0)), linear-gradient(var(--night) 4%, #0a0f19 15%, #121a2e 28%, #262b4a 42%, #4d4467 54%, #8a6478 65%, #c48b7c 76%, #e2aa86 88%, #e8b892); background-blend-mode: overlay, normal, normal; }
.dawn::after { content: ''; position: absolute; inset: auto 0 -1px; height: clamp(120px, 19vw, 300px); background: url('/assets/ridge.svg') center bottom / 100% 100% no-repeat; }
.dawn .hour { position: static; display: flex; align-items: baseline; gap: 14px; padding: 0; }
.dawn .hour time { font-size: 15px; letter-spacing: .04em; }
.dawn-line { margin-top: 26px; max-width: 14em; font: 500 clamp(30px, 4.2vw, 62px)/1.07 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.dawn-line em { color: var(--gold-light); }

/* Daylight: the same tokens, in ink on paper. */
.daylight { color-scheme: light; --here: var(--paper); --text: #1a1714; --muted: #5d554b; --gold: #6f5230; --gold-light: #7a5a33; --gold-deep: #a48a66; --gold-line: rgba(111, 82, 48, .4); --line: #d6cab8; --rule: #1a1714; --input-line: #8d7f6d; --bar-past: #cdbc9f; --bar-left: #6f5230; --ok: #3f6b3a; --danger: #a2452f; position: relative; margin-top: -1px; color: var(--text); background: var(--paper); }
.daylight .stop::after { background: var(--text); }
.daylight section:first-child .stop { padding-top: clamp(36px, 6vh, 72px); }
.daylight section:first-child .stop::after { top: calc(clamp(36px, 6vh, 72px) + 15px); }

/* The bulletin is a sheet of paper lying on the table, with notes in the margin. */
.sheet { --sp: clamp(20px, 3vw, 38px); --here: var(--sheet); position: relative; margin-top: 52px; padding: 0 var(--sp) var(--sp); background: var(--sheet); border: 1px solid var(--line); box-shadow: 0 36px 60px -40px rgba(74, 52, 22, .55), 0 2px 8px rgba(74, 52, 22, .07); font-size: 15px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; flex-wrap: wrap; padding: 24px 0 18px; border-bottom: 3px double var(--rule); font-family: var(--mono); }
.sheet-head b { display: block; font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.sheet-head p span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.stamp { display: inline-block; padding: 7px 12px 6px; border: 2px solid var(--stamp); border-radius: 4px; color: var(--stamp); font: 600 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transform: rotate(-4deg); }
.part { position: relative; padding: 26px 0 28px; border-bottom: 1px dashed var(--input-line); }
.part:last-child { padding-bottom: 0; border-bottom: 0; }
.tally { margin-top: 14px; display: grid; gap: 14px; }
.tally li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; font: 14px/1.6 var(--mono); }
.tally li span { display: flex; align-items: baseline; min-width: 0; }
.tally li span::after { content: ''; flex: 1; min-width: 14px; margin: 0 10px; border-bottom: 1px dotted var(--input-line); transform: translateY(-3px); }
.tally li b { font-weight: 600; white-space: nowrap; }
.tally .calm b { font-weight: 400; color: var(--muted); }
.tally small { grid-column: 1 / -1; color: var(--muted); font: 13.5px/1.55 var(--sans); max-width: 440px; }
.tally-foot { margin-top: 18px; color: var(--muted); font: 12px/1.6 var(--mono); }
.part h3 { margin-top: 10px; font: 500 clamp(22px, 2.3vw, 28px)/1.14 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.part .span { margin-top: 46px; }
.part dl { margin-top: 26px; border-top: 1px solid var(--line); }
.part dl div { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 2px 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.part dt { padding-top: 3px; color: var(--gold); font: 500 10px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.part dd strong { font-weight: 600; }
.sheet-source { font-family: var(--mono); font-size: 13px; word-break: break-all; }
/* Printed options and a pen circle around one of them: a picture of a decision, not a control. */
.choice { margin-top: 14px; display: flex; align-items: center; gap: 8px 30px; flex-wrap: wrap; font: 500 16px/1.2 var(--sans); color: var(--muted); }
.choice .picked { padding: 9px 20px; border: 1.5px solid var(--stamp); border-radius: 999px; color: var(--text); }
.aside { margin-top: 20px; padding-left: 14px; border-left: 2px solid var(--stamp); color: var(--gold); font: 13.5px/1.5 var(--sans); max-width: 440px; text-wrap: pretty; }

.limits { margin-top: clamp(44px, 7vh, 72px); border-top: 2px solid var(--rule); counter-reset: limit; }
.limits li { display: grid; grid-template-columns: 34px minmax(0, 5fr) minmax(0, 6fr); column-gap: 28px; align-items: baseline; padding: 30px 0 34px; border-bottom: 1px solid var(--line); counter-increment: limit; }
.limits li::before { content: counter(limit); color: var(--gold); font: 500 11px/1.6 var(--mono); letter-spacing: .1em; }
.limits h3 { font: 500 clamp(21px, 2.2vw, 28px)/1.16 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.asked h3 { font: 500 clamp(18px, 1.6vw, 21px)/1.25 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.limits p, .asked p { color: var(--muted); }
.asked p { margin-top: 10px; }

/* The packing list: what is already ticked is on our backs. */
.pack { margin-top: clamp(44px, 7vh, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: 44px 64px; }
.pack h3 { font: 500 clamp(22px, 2.2vw, 28px)/1.14 var(--display); letter-spacing: -.035em; padding-bottom: 16px; border-bottom: 2px solid var(--rule); }
.pack h3 small { display: block; margin-top: 10px; color: var(--gold); font: 500 10px/1.6 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.pack li { position: relative; padding: 16px 0 17px 42px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.pack li::before { content: ''; position: absolute; left: 0; top: 20px; width: 18px; height: 18px; border: 1.5px solid var(--text); }
.pack .carried li::after { content: ''; position: absolute; left: 7px; top: 12px; width: 9px; height: 21px; border: solid var(--stamp); border-width: 0 2.5px 2.5px 0; transform: rotate(38deg); }
.pack li strong { display: block; color: var(--text); font-weight: 600; font-size: 16px; }

.asked { margin-top: clamp(44px, 7vh, 72px); display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; border-top: 2px solid var(--rule); }
.asked div { padding: 26px 0 30px; border-bottom: 1px solid var(--line); }

/* The end of the page is the day itself. */
.join .body h2 { font-size: clamp(44px, 7.6vw, 118px); line-height: .98; letter-spacing: -.045em; }
#join-closed, #join-open { margin-top: 44px; max-width: 560px; padding-top: 20px; border-top: 2px solid var(--rule); }
#join-closed { color: var(--muted); font-size: 15px; }
/* The way in, as three numbered steps and one button. */
.steps { counter-reset: step; }
.steps li { position: relative; padding: 0 0 12px 34px; counter-increment: step; text-wrap: pretty; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 4px; color: var(--gold); font: 500 11px/1.6 var(--mono); letter-spacing: .1em; }
.join-actions { margin-top: 18px; display: flex; align-items: center; gap: 10px 30px; flex-wrap: wrap; }
.day { margin: clamp(40px, 8vh, 110px) 0 -1px; height: clamp(300px, 62vw, 900px); -webkit-mask-image: linear-gradient(transparent, #000 26%); mask-image: linear-gradient(transparent, #000 26%); background: linear-gradient(transparent 62%, rgba(7, 9, 12, .55) 86%, var(--night)), url('/assets/mountain-hero.jpg') center 62% / cover no-repeat; }

footer { position: relative; padding: 34px var(--side) 56px; display: grid; gap: 20px; background: var(--night); color: var(--muted); font-size: 13px; }
.foot-night { margin-bottom: 26px; color: var(--text); font: 500 clamp(19px, 1.9vw, 24px)/1.2 var(--display); letter-spacing: -.035em; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-links a:hover { color: var(--text); }
.foot-seller span { display: block; }
footer .brand { font-size: 20px; }
footer .brand svg { width: 26px; height: 30px; }

/* Motion only where the browser can tie it to scrolling; everything is readable without it. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .body > *, .dawn-line { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
    .hero-window { animation: fade-in 2.2s 300ms ease both, window-wide linear forwards; animation-timeline: auto, scroll(root); animation-range: normal, 0 80vh; }
    .hero-frame { animation: fade-in 2.2s 300ms ease both, frame-wide linear forwards; animation-timeline: auto, scroll(root); animation-range: normal, 0 80vh; }
  }
}

/* Wide screens: the notes leave the sheet and stand in its margin. */
@media (min-width: 1100px) {
  .sheet { width: min(620px, calc(100% - 300px)); }
  .aside { position: absolute; top: 24px; left: calc(100% + var(--sp) + 46px); width: 236px; margin: 0; padding: 0; border: 0; }
  .aside::before { content: ''; position: absolute; top: 10px; right: calc(100% + 12px); width: 32px; border-top: 1px solid var(--stamp); }
}
/* Narrow screens: the rail becomes a clock bar that stays at the top of its hour. */
@media (max-width: 899px) {
  .stop { display: block; padding: 0 var(--edge); }
  .stop::before, .stop::after { display: none; }
  .hour { top: 0; z-index: 5; display: flex; align-items: baseline; gap: 12px; margin: 0 calc(-1 * var(--edge)); padding: 13px var(--edge) 12px; background: var(--here); border-bottom: 1px solid var(--line); }
  .hour time { font-size: 14px; letter-spacing: .04em; }
  .body { padding: 52px 0 88px; }
  .night { padding-bottom: 0; }
  .daylight section:first-child .stop { padding-top: 0; }
  .join .body { padding-bottom: 0; }
  .dawn .hour { margin: 0; padding: 0; background: none; border: 0; }
}
@media (max-width: 860px) {
  .hero { --wt: 6%; --wr: 7%; --wb: 44%; --wl: 30%; min-height: 0; padding: 20px 24px 52px; }
  .hero-frame { box-shadow: 0 0 90px rgba(224, 196, 163, .12); }
  .hero-sky { inset: 48px 0 auto; height: 540px; }
  .hero-sky::before { height: 80px; }
  .hero-sky::after { z-index: 3; }
  .hero::after { display: none; }
  .hero-body { margin-top: 44px; padding-top: 0; }
  .entry { position: static; margin-top: 300px; padding-left: 30%; }
  .hero h1 { font-size: clamp(34px, 9.2vw, 60px); }
  .lead { margin-top: 24px; max-width: 520px; }
  .hero-actions { margin-top: 22px; max-width: none; }
}
@media (max-width: 720px) {
  .missed li { grid-template-columns: 1fr; gap: 8px; padding: 22px 0 40px; }
  .missed .span { margin-top: 26px; margin-right: 12px; }
  .duo, .pack, .asked { grid-template-columns: 1fr; }
  .limits li { grid-template-columns: 26px minmax(0, 1fr); column-gap: 14px; padding: 24px 0 26px; }
  .limits p { grid-column: 2; margin-top: 10px; }
  .part dl div { grid-template-columns: 1fr; }
  .brand { font-size: 23px; gap: 5px; }
  .brand svg { width: 27px; height: 31px; }
  .dawn { padding-bottom: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
