/* noahlampert.com. The page is the night sky from the Synchronicity cover: a deep
   plum dark, cream type, and the cover's dot colours as one accent per section. */
@font-face { font-family: "Fraunces"; src: url("/v/fonts/fraunces-latin-var.7234ed860a.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/v/fonts/inter-latin-var.3100e775e8.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("/v/fonts/martian-mono-var.29bf269131.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --bg: #12060d;
  --bg-2: #1b0a14;
  --card: #1f0d18;
  --card-2: #2a1321;
  --line: rgba(251, 241, 208, 0.13);
  --line-2: rgba(251, 241, 208, 0.26);
  --text: #fbf1d0;
  --soft: #d2bfb4; /* 10:1 on --bg */
  --dim: #a8919a; /* 6:1 on --bg, labels only */
  --butter: #fff393;
  --coral: #ff6b6f;
  --blue: #6ab4e6;
  --green: #a9d655;
  --orange: #fbb040;
  --violet: #dc8fca;
  --acc: var(--butter);
  --moon: #fbf1d0; /* the Moon's colour on the wheel (sky.js): the thread between sections */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 44px);
  --radius: 1.375rem;
  --top-h: 3.75rem;
  /* One type scale for every page: the display size is the home hero's alone; each page has
     one h1, sections an h2, cards and small sections an h3. Fluid, and the root-size steps for
     big monitors (bottom of this file) scale them up again. 1440 px: 96 / 56 / 26 px. */
  --fs-display: clamp(4rem, 17vw, 9.5rem);
  --fs-h1: clamp(2.75rem, 6.7vw, 6rem);
  --fs-h2: clamp(2.25rem, 3.9vw, 3.5rem);
  --fs-h3: clamp(1.375rem, 1.8vw, 1.625rem);
  --fs-meta: 0.75rem; /* mono labels, prices, dates: never under 12 px, and only in --soft/--dim (4.5:1 or better) */
  --readw: 54rem; /* the reading column of text pages (privacy, a theme, start) */
}
[data-acc="butter"] { --acc: var(--butter); }
[data-acc="coral"] { --acc: var(--coral); }
[data-acc="blue"] { --acc: var(--blue); }
[data-acc="green"] { --acc: var(--green); }
[data-acc="orange"] { --acc: var(--orange); }
[data-acc="violet"] { --acc: var(--violet); }

*, *::before, *::after { box-sizing: border-box; }
/* The page colour sits on <html> so the fixed star layer (z-index -1) shows above it. */
html {
  min-height: 100%; /* the sky background covers the window on a short page, rather than repeating */
  scrollbar-color: #5b2c42 var(--bg);
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark;
  scroll-padding-top: calc(var(--top-h) + 16px); /* keeps a focused control clear of the sticky header (WCAG 2.4.11) */
  background:
    radial-gradient(1100px 700px at 85% -100px, rgba(197, 109, 176, 0.22), transparent 60%),
    radial-gradient(900px 600px at -10% 300px, rgba(255, 90, 95, 0.1), transparent 60%),
    var(--bg);
}
body {
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
picture { display: contents; } /* build.mjs wraps images in <picture> for WebP; the wrapper adds no box */
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
/* The inline link: the same underline everywhere, faint until hovered. */
:where(p, li, dd, figcaption) a:not([class]) { text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); transition: text-decoration-color 0.2s ease, color 0.2s ease; }
:where(p, li, dd, figcaption) a:not([class]):hover { text-decoration-color: currentColor; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; font-variation-settings: "opsz" 144; margin: 0; text-wrap: balance; letter-spacing: -0.025em; }
h1 { font-size: var(--fs-h1); line-height: 0.95; }
h2 { font-size: var(--fs-h2); line-height: 1; }
h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--butter); color: var(--bg); }
:focus-visible { outline: 2px solid var(--butter); outline-offset: 3px; border-radius: 6px; }
section[id], .panel[id] { scroll-margin-top: calc(var(--top-h) + 20px); }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
/* Text pages: one centred reading column, so a wide screen doesn't leave it beside empty sky
   and the section thread (at 50%) runs down the column's middle. */
.reading .wrap, .wrap.reading { max-width: calc(var(--readw) + 2 * var(--gutter)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--butter); color: var(--bg); padding: 8px 14px; z-index: 20; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Two layers of the same star tile, drifting apart and twinkling out of step. */
.stars { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.stars::before, .stars::after { content: ""; position: absolute; inset: -640px 0 0; background: url("/v/assets/stars.ee3e839be6.svg") 0 0 / 640px 640px; }
.stars::before { animation: drift 240s linear infinite, twinkle 7s ease-in-out infinite alternate; }
.stars::after { background-size: 420px 420px; background-position: 210px 130px; opacity: 0.5; animation: drift 400s linear infinite, twinkle 11s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translateY(640px); } }
@keyframes twinkle { from { opacity: 0.35; } to { opacity: 0.9; } }
/* One shooting star, now and then. */
.stars i { position: absolute; top: 12%; left: 62%; width: 130px; height: 1.5px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--text)); opacity: 0; transform: rotate(152deg) translateX(0); animation: shoot 13s ease-in 4s infinite; }
@keyframes shoot { 0% { opacity: 0; transform: rotate(152deg) translateX(0); } 2% { opacity: 0.9; } 7%, 100% { opacity: 0; transform: rotate(152deg) translateX(420px); } }

.label {
  font-family: var(--mono);
  font-size: var(--fs-meta);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acc);
}

/* ---------- Top ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(18, 6, 13, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent; transition: border-color 0.3s ease;
}
.top.stuck { border-bottom-color: var(--line); }
/* How far down the page you are (site.js sets --read from 0 to 1). */
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--coral), var(--orange), var(--butter)); transform: scaleX(var(--read, 0)); transform-origin: 0 50%; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--top-h); }
.top-name { font-family: var(--display); font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.top nav { position: relative; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 28px), transparent); padding-left: 14px; }
.top nav::-webkit-scrollbar { display: none; }
.top nav a {
  font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.07em; text-transform: uppercase;
  text-decoration: none; padding: 9px 11px; border-radius: 999px; color: var(--soft); white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.top nav a:hover { color: var(--text); background: rgba(251, 241, 208, 0.08); }
.top nav a[aria-current] { color: var(--bg); background: var(--butter); }
.top nav a[hidden] { display: none; }
/* Phones: site.js adds .menu and shows this button; the nav drops down under the bar. */
.nav-btn {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; cursor: pointer;
  font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--text); background: rgba(251, 241, 208, 0.06); border: 1px solid var(--line-2); border-radius: 999px;
}
.nav-btn[hidden] { display: none; }
.top.open .nav-btn { color: var(--bg); background: var(--butter); border-color: var(--butter); }

/* ---------- Hero ---------- */
.hero { display: grid; gap: clamp(32px, 5vw, 56px); padding-block: clamp(28px, 6vw, 72px) clamp(40px, 6vw, 72px); align-items: start; } /* start, not center: opening the wheel's panel must not push the name down */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: rgba(251, 241, 208, 0.04); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(169, 214, 85, 0.6); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(169, 214, 85, 0); } }
.hero h1 {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.045em;
  margin: clamp(18px, 3vw, 28px) 0 0 -0.04em;
}
.hero h1 span {
  display: block;
  background: linear-gradient(100deg, var(--coral) 0%, var(--orange) 45%, var(--butter) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.12em; /* room for the descender of the p under the clip */
}
.lede { font-size: clamp(1.125rem, 1.7vw, 1.3125rem); line-height: 1.55; max-width: 34em; color: var(--soft); margin-top: clamp(14px, 2vw, 22px); }
.hero .actions { margin-top: clamp(22px, 3vw, 32px); }

/* ---------- Sky wheel ---------- */
.sky { margin: 0; width: 100%; max-width: 33.75rem; justify-self: center; }
.sky[hidden] { display: none; }
/* With script on, the wheel keeps its place (invisible) until sky.js draws it, so the hero
   doesn't jump from one column to two on load. sky.js adds .off if it can't draw. */
.js .sky[hidden]:not(.off) { display: block; visibility: hidden; }
.sky-when:empty::before { content: "\00a0"; }
.sky-wheel { aspect-ratio: 1; position: relative; perspective: 900px; }
/* site.js leans the wheel a few degrees toward the pointer. */
.sky-wheel svg { transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
/* inset 0 with the stops rescaled from the old inset -9% (62% -> 73.2%, 76% -> 89.7%): same glow, but the box no longer pokes past the screen edge at 375 px. */
.sky-wheel::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(220, 143, 202, 0.3), rgba(255, 107, 111, 0.1) 73.2%, transparent 89.7%); animation: breathe 9s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: scale(0.96); opacity: 0.7; } to { transform: scale(1.03); opacity: 1; } }
.sky-wheel svg { position: relative; width: 100%; height: 100%; display: block; overflow: visible; }
.w-disc { fill: #1a0914; stroke: var(--line-2); stroke-width: 1.5; }
.w-ring { fill: #260f1d; stroke: rgba(251, 241, 208, 0.2); stroke-width: 1; }
.w-track { fill: none; stroke: rgba(251, 241, 208, 0.22); stroke-width: 1; stroke-dasharray: 2 7; transform-origin: 300px 300px; animation: spin 180s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.w-body { transition: opacity 0.25s ease; }
.sky.focus .w-body:not(.hot) { opacity: 0.3; }
.w-body.hot .w-aspect { stroke-width: 1.5; opacity: 0.55; stroke-linecap: round; }
.w-trine { stroke: var(--green); }
.w-sextile { stroke: var(--blue); }
.w-square { stroke: var(--coral); }
.w-opposite { stroke: var(--violet); stroke-dasharray: 5 5; }
.sky.focus .w-aspect { opacity: 0.15; }
.w-dot { filter: drop-shadow(0 0 9px currentColor) drop-shadow(0 0 3px currentColor); }
.w-cusp { stroke: rgba(251, 241, 208, 0.26); stroke-width: 1.5; }
.w-tick { stroke: #d4b3ad; stroke-width: 1; opacity: 0.5; }
.w-sign { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; fill: #ecdcc3; text-anchor: middle; dominant-baseline: central; }
.w-sign.on { fill: var(--butter); }
.w-lead { stroke: #d4b3ad; stroke-width: 1; opacity: 0.4; }
.w-dot { fill: currentColor; filter: drop-shadow(0 0 5px currentColor); }
.w-label { font-family: var(--mono); font-size: 11px; fill: #fbf1d0; text-anchor: middle; dominant-baseline: central; paint-order: stroke; stroke: #1a0914; stroke-width: 3.5px; stroke-linejoin: round; } /* the dark edge keeps names readable over lines and each other */
.w-moon-dark { fill: #2a1321; stroke: rgba(251, 241, 208, 0.2); stroke-width: 1; }
.w-moon-lit { fill: #fbf1d0; filter: drop-shadow(0 0 14px rgba(251, 241, 208, 0.45)); }
.w-in { animation: body-in 0.7s ease backwards; } /* backwards only, so the hover dimming can still change opacity afterwards */
@keyframes body-in { from { opacity: 0; } to { opacity: 1; } }

.sky figcaption { margin-top: 20px; }
.sky-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
/* The wheel's controls (zodiac, time, your birthday) wait behind one button, or a tap on the wheel. */
.sky-explore { display: inline-flex; align-items: center; gap: 8px; } /* the pill is .you summary's, below */
.sky-explore::before { content: "+"; color: var(--butter); font-size: 0.875rem; }
.sky-explore[aria-expanded="true"]::before { content: "−"; }
.sky-hint { margin-top: 6px; font-size: 0.8125rem; color: var(--soft); }
.sky:has(.sky-explore[aria-expanded="true"]) .sky-hint, .sky-tools[hidden] { display: none; }
/* One line from the wheel to Today's connection (today.js fills it). */
.sky-lead { margin-top: 6px; font-size: 0.9375rem; }
.sky-lead a { color: var(--text); text-decoration-color: var(--line-2); }
.sky-lead a:hover { text-decoration-color: currentColor; }
.sky-tools .sky-read { margin-top: 16px; }
/* With a birthday set, the result card lists the aspects that matter; no second list. */
.sky.has-birth .sky-aspects { display: none; }
.sky-wheel { cursor: pointer; }
.sky-title { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.seg { display: inline-flex; margin-top: 14px; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; background: rgba(251, 241, 208, 0.04); }
.seg button {
  font: 500 var(--fs-meta)/1 var(--mono); letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--soft); background: none; border: 0; border-radius: 999px; padding: 9px 13px; cursor: pointer; min-height: 32px;
  transition: background 0.2s ease, color 0.2s ease;
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--butter); color: var(--bg); }
.scrub { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; margin-top: 14px; }
.scrub label { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.07em; text-transform: uppercase; color: var(--soft); }
.scrub output { color: var(--butter); }
.scrub input { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: none; cursor: grab; }
.scrub input:active { cursor: grabbing; }
.scrub input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--line-2), var(--butter) 50%, var(--line-2)); }
.scrub input::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--line-2), var(--butter) 50%, var(--line-2)); }
.scrub input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: var(--butter); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--butter), 0 0 14px rgba(255, 243, 147, 0.6); }
.scrub input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--butter); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--butter), 0 0 14px rgba(255, 243, 147, 0.6); }
.scrub button { font: 500 var(--fs-meta)/1 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--text); background: rgba(251, 241, 208, 0.04); border: 1px solid var(--line-2); border-radius: 999px; padding: 0 12px; min-height: 32px; cursor: pointer; }
.scrub button:hover { border-color: var(--text); }
.scrub .scrub-play { width: 2.25rem; min-height: 2.25rem; padding: 0; display: grid; place-items: center; color: var(--butter); }
.scrub-play svg { width: 1rem; height: 1rem; fill: currentColor; }
.scrub-play .i-pause, .scrub-play.on .i-play { display: none; }
.scrub-play.on .i-pause { display: block; }
.scrub-play.on { background: var(--butter); border-color: var(--butter); color: var(--bg); }
.scrub button[hidden] { display: block; visibility: hidden; } /* keeps its place, so the slider does not jump */
.sky-when { margin-top: 10px; font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.05em; color: var(--soft); }
.sky-read { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.sky-read li { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.02em; color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px 5px 8px; background: rgba(251, 241, 208, 0.04); }
.sky-aspects { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.05em; color: var(--dim); }
.sky-aspects .key { display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; }
.sky-aspects i { width: 16px; height: 0; border-top: 2px solid; }
.k-trine { color: var(--green); } .k-sextile { color: var(--blue); } .k-square { color: var(--coral); } .k-opposite { color: var(--violet); border-top-style: dashed !important; }
#sky-aspects { flex-basis: 100%; color: var(--soft); letter-spacing: 0.02em; line-height: 1.7; }
/* "Your chart": the visitor's planets as hollow rings on an inner track, today's lines to them. */
.w-natal-ring { fill: rgba(18, 6, 13, 0.55); stroke: rgba(251, 241, 208, 0.3); stroke-width: 1; stroke-dasharray: 1 4; }
.w-ndot { fill: #1a0914; stroke: currentColor; stroke-width: 2; filter: drop-shadow(0 0 4px currentColor); }
.w-ntick { stroke: currentColor; stroke-width: 2; }
.w-nlabel { font-family: var(--mono); font-size: 13px; font-weight: 500; fill: #fbf1d0; text-anchor: middle; dominant-baseline: central; paint-order: stroke; stroke: #1a0914; stroke-width: 3.5px; stroke-linejoin: round; }
.w-dim { opacity: 0.18; }
.w-link { stroke-width: 1.75; stroke-linecap: round; }
.w-conjunct { stroke: var(--butter); }
.you-out { margin-top: 14px; scroll-margin-top: calc(var(--top-h) + 24px); padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(251, 241, 208, 0.04); }
.you-contacts { font-family: var(--display); font-size: 1.0625rem; line-height: 1.45; }
.you-contacts:focus { outline: none; }
.you-note { margin-top: 6px; font-size: 0.8125rem; color: var(--soft); }
.you-acts { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; font-size: 0.875rem; }
.you-acts a { color: var(--butter); }
.you-acts button, .you summary, .sky-explore { font: 500 var(--fs-meta)/1 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--text); background: rgba(251, 241, 208, 0.04); border: 1px solid var(--line-2); border-radius: 999px; padding: 0 14px; min-height: 36px; cursor: pointer; }
.you-acts button:hover, .you summary:hover, .sky-explore:hover { border-color: var(--text); }
.you { margin-top: 14px; }
.you summary { display: inline-flex; align-items: center; gap: 8px; list-style: none; }
.you summary::-webkit-details-marker { display: none; }
.you summary::before { content: "+"; content: "+" / ""; color: var(--butter); font-size: 0.875rem; } /* the sign is decoration: "/ \"\"" keeps it out of the name */
.you[open] summary::before { content: "−"; content: "−" / ""; }
.sky.has-birth .you:not([open]) summary::before { content: none; } /* "Change your birthday" opens nothing new */
.you-err { margin-top: 8px; color: var(--coral); font-size: 0.875rem; }
.you-err[hidden] { display: none; }
.you-form { display: grid; gap: 12px; margin-top: 12px; font-size: 0.875rem; color: var(--soft); }
.you-row { display: flex; flex-wrap: wrap; gap: 10px; }
.you-row label { flex: 1 1 9rem; display: grid; gap: 6px; font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.07em; text-transform: uppercase; }
.you-row input { min-height: 44px; padding: 8px 14px; font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--text); color-scheme: dark; background: rgba(18, 6, 13, 0.7); border: 1px solid var(--line-2); border-radius: 12px; }
.you-row input:focus-visible { outline: 2px solid var(--butter); outline-offset: 2px; border-color: var(--butter); }
.you-keep { display: inline-flex; align-items: center; gap: 8px; }
.you-keep input { width: 18px; height: 18px; accent-color: var(--butter); }
.you-form .btn { justify-self: start; cursor: pointer; }
.sky-read li { cursor: default; transition: border-color 0.2s ease, background 0.2s ease; }
.sky-read li:hover { border-color: var(--line-2); background: rgba(251, 241, 208, 0.09); }
.sky-read i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; }


/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
  font: 500 0.75rem/1 var(--mono); letter-spacing: 0.07em; text-transform: uppercase;
  text-decoration: none; padding: 14px 20px; border-radius: 999px;
  background: var(--butter); color: var(--bg); border: 1px solid var(--butter); cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -10px var(--butter); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: rgba(251, 241, 208, 0.04); border-color: var(--line-2); color: var(--text); }
.btn.ghost:hover { border-color: var(--text); box-shadow: none; }

/* ---------- Sections and cards ---------- */
.sec { --gap: clamp(92px, 9vw, 120px); --stem: calc(var(--gap) - 26px); position: relative; padding-top: var(--gap); }
/* The thread: one line in the Moon's colour runs down the page from the wheel, through the gap
   above each section to a node, and on behind the section to the next. Each node lights and its
   stretch draws as you reach it (site.js adds .in); without JS, or with reduced motion, it's all drawn. */
.sec::before {
  content: ""; position: absolute; left: calc(50% - 0.5px); top: 0; width: 1px; height: var(--stem);
  background: color-mix(in srgb, var(--moon) 50%, transparent); transform-origin: top;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sec::after {
  content: ""; position: absolute; left: calc(50% - 4.5px); top: var(--stem); width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid var(--moon); background: var(--moon); box-shadow: 0 0 12px var(--moon);
  transition: background 0.4s ease 0.6s, box-shadow 0.4s ease 0.6s;
}
#today.from-wheel::before {
  width: var(--dx); background: none; border: solid color-mix(in srgb, var(--moon) 50%, transparent); border-width: 1px 0 0 1px; border-top-left-radius: 28px;
  -webkit-mask-image: linear-gradient(270deg, transparent, #000 30%); mask-image: linear-gradient(270deg, transparent, #000 30%);
}
.js .sec:not(.in)::before { transform: scaleY(0); }
.js .sec:not(.in)::after { background: var(--bg); box-shadow: none; }
/* Sub-pages (/press, /privacy, /map): the thread is a spine down the left edge instead, from one
   section's eyebrow to the next, so each eyebrow is a star on it. Its stretches take the wheel's
   aspect-line colours in turn (trine, sextile, square, opposition dashed), and a spark runs down now and then. */
.spine { --x: calc(var(--gutter) * -2 / 3); --eye: calc(var(--gap) + 0.625rem); --seg: var(--green); --fill: linear-gradient(var(--seg), var(--seg)); }
.wrap.spine { --x: calc(var(--gutter) / 3); } /* in a .wrap the gutter is inside the section */
.spine:nth-of-type(4n + 2) { --seg: var(--blue); }
.spine:nth-of-type(4n + 3) { --seg: var(--coral); }
.spine:nth-of-type(4n) { --seg: var(--violet); --fill: repeating-linear-gradient(var(--seg) 0 5px, transparent 5px 10px); }
.spine::before {
  left: calc(var(--x) - 0.5px); top: var(--eye); height: 100%; opacity: 0.7;
  background: linear-gradient(transparent 20%, var(--butter) 45%, transparent 70%) 0 200% / 100% 300% no-repeat, var(--fill);
  animation: spark 9s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
.spine:not(:has(~ .spine))::before { display: none; } /* the last eyebrow ends the spine */
.spine::after { left: calc(var(--x) - 4px); top: calc(var(--eye) - 4px); width: 8px; height: 8px; border-color: var(--acc); background: var(--acc); box-shadow: 0 0 10px var(--acc); }
@keyframes spark { 0% { background-position: 0 200%, 0 0; } 40%, 100% { background-position: 0 -200%, 0 0; } }
/* Today's chain, written on the line as it runs from section to section (today.js fills it and
   links each label to what it names; without the script the links stay hidden). */
.chain-link {
  position: absolute; z-index: 1; left: 50%; top: calc(var(--stem) / 2); transform: translate(-50%, -50%);
  width: max-content; max-width: min(36rem, calc(100% - 2 * var(--gutter))); padding: 6px 16px;
  border: 1px solid color-mix(in srgb, var(--moon) 40%, transparent); border-radius: 999px; background: var(--bg);
  font: 500 0.8125rem/1.35 var(--mono); letter-spacing: 0.02em; text-align: center; color: var(--moon); text-decoration: none;
  overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; /* two short lines beat a cut-off one */
  transition: border-color 0.2s ease, opacity 0.5s ease 0.3s;
}
.chain-link:hover, .chain-link:focus-visible { border-color: var(--moon); text-decoration: underline; text-underline-offset: 3px; }
.js .sec:not(.in) > .chain-link { opacity: 0; }
.chain-link[hidden] { display: none; }
/* The card a label points to: a ring in the thread's colour and a Today chip. */
.card.is-today { border-color: var(--moon); box-shadow: 0 0 0 1px var(--moon), 0 0 32px -10px var(--moon); }
.card > .chip-today { position: absolute; z-index: 2; top: 12px; right: 12px; background: var(--bg); border-color: var(--moon); }
@media (max-width: 639px) { .games .card > .chip-today { top: 10px; left: 16px; right: auto; } } /* phones: over the tile, clear of the text */
.ep.is-today { box-shadow: inset 2px 0 var(--moon); }
.chip-today { color: var(--moon); }
.ep-title > .chip-today { margin-right: 8px; padding: 2px 10px; vertical-align: 2px; font-size: var(--fs-meta); }
.sec-head { display: grid; gap: 8px 48px; align-items: end; margin-bottom: clamp(22px, 3.4vw, 36px); }
.sec-head > p:not(.label) { max-width: 46ch; color: var(--soft); }

.card {
  position: relative; display: block; text-decoration: none; isolation: isolate;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
/* A soft light that follows the pointer (site.js sets --mx / --my). */
.glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--acc) 22%, transparent), transparent 70%);
  transition: opacity 0.3s ease;
}
a.card:hover { border-color: color-mix(in srgb, var(--acc) 60%, transparent); transform: translateY(-3px); }
a.card:hover::before { opacity: 1; }
.go { font-family: var(--mono); color: var(--dim); transition: transform 0.2s ease, color 0.2s ease; }
a:hover > .go { color: var(--acc); transform: translate(2px, -2px); }

/* Today's connection: the Moon's sign to its tarot card, its phase to Moon Garden, the date to an episode. */
.js .today[hidden]:not(.off) { display: block; visibility: hidden; } /* holds its place until today.js fills it */
.today-chain { display: grid; gap: 22px; }
.today-chain li { position: relative; }
.today-chain a { display: grid; gap: 6px; grid-template-rows: auto auto 1fr auto; height: 100%; padding: clamp(18px, 2.4vw, 26px); }
.today-big { font-family: var(--display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.02em; min-height: 1.15em; }
.today-note { color: var(--soft); font-size: 1rem; line-height: 1.5; min-height: 3em; }
.today-chain .game-go { margin-top: 6px; }
.today-chain a:hover .game-go .go { transform: translate(2px, -2px); }
/* The thread from one card to the next, with a star in the next card's colour. */
.today-chain li + li::before { content: ""; position: absolute; left: 50%; top: -22px; width: 1px; height: 22px; background: linear-gradient(var(--line-2), var(--acc)); }
.today-chain li + li::after { content: ""; position: absolute; left: calc(50% - 2.5px); top: -14px; width: 5px; height: 5px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px var(--acc); }
/* With a birthday added: back to everyone's sky and again, without forgetting it (today.js). */
.today-mode button { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; padding: 0 14px 0 11px; font: 500 var(--fs-meta)/1 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--soft); background: none; border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer; }
.today-mode button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1px solid currentColor; }
.today-mode button[aria-pressed="true"]::before { background: var(--moon); border-color: var(--moon); }
.today-mode button:hover { color: var(--text); border-color: var(--text); }
.today-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 20px; font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.03em; color: var(--dim); }
.today-foot a { color: var(--acc); }
.today-foot .copy { margin-top: 0; }
/* The method note, one tap away instead of a line of fine print. */
.today-how summary { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; cursor: pointer; list-style: none; text-transform: uppercase; letter-spacing: 0.07em; color: var(--soft); }
.today-how summary::-webkit-details-marker { display: none; }
.today-how summary::before { content: "+"; color: var(--acc); }
.today-how[open] summary::before { content: "−"; }
.today-how summary:hover { color: var(--text); }
.today-how p { max-width: 60ch; margin-top: 4px; font-family: var(--sans); font-size: 0.875rem; letter-spacing: 0; line-height: 1.5; color: var(--soft); }
.today-how[open] { flex-basis: 100%; }

/* The show */
.show { display: grid; gap: clamp(24px, 4vw, 56px); padding: clamp(18px, 3.4vw, 44px); align-items: start; overflow: hidden; overflow: clip; } /* clip, not hidden, so the cover can stick */
.show::after { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; left: -20%; top: -30%; background: radial-gradient(closest-side, rgba(255, 243, 147, 0.14), transparent); }
.show-art { position: relative; max-width: 440px; }
.show-cover { width: 100%; border-radius: 14px; box-shadow: 0 30px 60px -30px #000, 0 0 0 1px var(--line); transform: rotate(-2deg); transition: transform 0.4s ease; }
.show:hover .show-cover { transform: rotate(0deg) scale(1.015); }
.show h2 { color: var(--butter); margin-top: 10px; }
.show-also { align-self: center; color: var(--soft); font-size: 0.9375rem; }
.show-tag { margin-top: 16px; max-width: 46ch; color: var(--soft); }
/* Listener numbers from Libsyn and Apple Podcasts, checked 2026-11-14. */
.proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 20px; }
.show .proof { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 14px clamp(24px, 4vw, 48px); } /* the show's four numbers, two by two */
.proof li { display: grid; gap: 2px; }
.proof b { font-family: var(--display); font-variation-settings: "opsz" 144; font-weight: 600; font-size: 1.75rem; line-height: 1; letter-spacing: -0.02em; color: var(--butter); }
.proof .plus { font: normal 700 0.8em/1 var(--sans); vertical-align: 0.06em; margin-left: 0.04em; } /* Fraunces draws "+" as a hairline */
.proof span { font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.07em; text-transform: uppercase; color: var(--soft); }
/* Two 5-star Apple Podcasts reviews, quoted as written (one trimmed with an ellipsis). */
.reviews { display: grid; gap: 14px; margin-top: 22px; }
.review { margin: 0; padding: 14px 16px; border-left: 2px solid color-mix(in srgb, var(--butter) 55%, transparent); background: rgba(251, 241, 208, 0.04); border-radius: 0 10px 10px 0; }
.review blockquote { margin: 0; font-family: var(--display); font-size: 1.0625rem; line-height: 1.45; color: var(--text); }
.review blockquote p::before { content: "\201C"; } .review blockquote p::after { content: "\201D"; }
.review figcaption { display: grid; gap: 2px; margin-top: 10px; font-size: 0.8125rem; color: var(--soft); }
.review figcaption b { font-weight: 600; color: var(--butter); }
.review figcaption a { color: inherit; text-underline-offset: 3px; }
.review figcaption a:hover { color: var(--butter); }
.eps { margin-top: 24px; border-top: 1px solid var(--line); }
.ep { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; border-bottom: 1px solid var(--line); padding-left: 2px; transition: background 0.2s ease; }
.ep:hover, .ep.open { background: rgba(251, 241, 208, 0.05); }
.ep a { grid-column: 2; display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 8px 14px 0; text-decoration: none; }
.ep:not([data-src]) a, .ep-play[hidden] ~ a { grid-column: 1 / -1; padding-left: 4px; }
.ep-play[hidden] { display: none; }
.ep .ep-err { grid-column: 1 / -1; display: block; justify-self: start; margin-top: -6px; padding: 0 0 14px 4px; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.03em; color: var(--acc); }
.ep-find { display: grid; gap: 8px; margin-top: 24px; max-width: 34rem; }
.ep-play { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(251, 241, 208, 0.05); color: var(--butter); display: grid; place-items: center; cursor: pointer; transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease; }
.ep-play:hover { background: var(--butter); border-color: var(--butter); color: var(--bg); transform: scale(1.06); }
html:not(.js) .ep-play { display: none; } /* no script, no player: the row is just a link */
html:not(.js) .ep a { grid-column: 1 / -1; padding-left: 4px; }
.ep-play svg { width: 20px; height: 20px; fill: currentColor; }
.ep-play .i-pause, .ep.playing .i-play { display: none; }
.ep.playing .i-pause { display: block; }
.ep.playing .ep-play { background: var(--butter); border-color: var(--butter); color: var(--bg); box-shadow: 0 0 0 0 rgba(255, 243, 147, 0.5); animation: ring 1.8s ease-out infinite; }
@keyframes ring { to { box-shadow: 0 0 0 12px rgba(255, 243, 147, 0); } }
.ep.open .ep-title { color: var(--butter); }
.ep.open .ep-dur { color: var(--butter); }
.ep-seek { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: -6px 0 4px; background: none; cursor: pointer; --at: 0%; }
.ep-seek[hidden] { display: none; }
.ep-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--butter) var(--at), var(--line-2) var(--at)); }
.ep-seek::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line-2); }
.ep-seek::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--butter); }
.ep-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border-radius: 50%; background: var(--butter); }
.ep-seek::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--butter); }
.ep-date { grid-column: 1 / -1; font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.ep-title { font-family: var(--display); font-weight: 500; font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; overflow-wrap: anywhere; } /* one-word titles like "Synchrosomethingsomething" wrap at 375 px */
.ep-dur { font-family: var(--mono); font-size: 0.75rem; color: var(--dim); align-self: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ep a:hover .ep-title { color: var(--butter); }

/* Apps: the game card, with the app's icon beside its name */
.app-head { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin-bottom: 6px; }
.app-head img { width: 2.75rem; height: 2.75rem; border-radius: 0.6875rem; box-shadow: 0 10px 24px -12px #000; transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }
.app-head > span { display: grid; gap: 2px; }
.apps .card:hover .app-head img { transform: rotate(-5deg) scale(1.08); }

/* Games */
.games { display: grid; gap: 14px; }
.games li { display: grid; }
.games .card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; } /* spare height goes under the text, so text rows line up */
.games .card:hover { border-color: color-mix(in srgb, var(--acc) 60%, transparent); transform: translateY(-3px); }
.games .card:hover::before { opacity: 1; }
/* The name is the card's link; its ::after covers the card so a click anywhere opens the app. */
.game-link { color: inherit; text-decoration: none; }
.game-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.game-link:focus-visible { outline: none; }
.games .card:has(.game-link:focus-visible) { outline: 2px solid var(--butter); outline-offset: 3px; }
.game-shot { position: relative; display: block; overflow: hidden; aspect-ratio: 5 / 4; border-bottom: 1px solid var(--line); }
/* One family for the art: a little less colour and the same dark vignette on every card. */
.game-shot img { filter: saturate(0.8); }
.game-shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 60px 10px rgba(18, 6, 13, 0.55); }
.game-shot picture { display: contents; }
.game-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.games .card:hover .game-shot img { transform: scale(1.05); }
.game-text { display: grid; gap: 4px; padding: clamp(18px, 2.4vw, 26px); align-content: start; }
.game-name { font-family: var(--display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.02em; }
.game-blurb { color: var(--soft); font-size: 1rem; line-height: 1.5; }
.game-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; margin-top: 10px; }
.game-go { font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.08em; text-transform: uppercase; color: var(--acc); }
.game-go .go { color: inherit; display: inline-block; }
.games .card:hover .game-go .go { transform: translate(2px, -2px); }
/* Above the stretched card link, so it opens /map rather than the app. */
.game-theme { position: relative; z-index: 2; padding-block: 4px; font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.04em; color: var(--dim); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.game-theme span { white-space: nowrap; } /* "21 episodes" stays together on a narrow phone */
.game-theme:hover { color: var(--text); text-decoration-color: currentColor; }

/* Automation */
.auto { display: grid; gap: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 64px); padding: clamp(22px, 3.6vw, 48px); overflow: hidden; }
.auto::after { content: ""; position: absolute; z-index: -1; width: 60%; aspect-ratio: 1; right: -18%; bottom: -40%; background: radial-gradient(closest-side, rgba(251, 176, 64, 0.16), transparent); }
.auto h2 { margin: 8px 0 14px; }
.auto-lede { color: var(--soft); max-width: 44ch; font-size: 1.125rem; }
.auto-site { display: inline-flex; align-items: center; min-height: 46px; padding-inline: 6px; color: var(--text); font-size: 0.9375rem; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.auto-site:hover { text-decoration-color: currentColor; }
.auto-more { color: var(--soft); font-size: 0.9375rem; max-width: 52ch; } /* what I build and who for, in one line */
/* The one chip: mono in a pill (the /start answers, connected themes). */
.chip { font: 500 0.8125rem/1.3 var(--mono); letter-spacing: 0.02em; color: var(--text); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; background: rgba(18, 6, 13, 0.45); }
/* The example thread: an inquiry, the reply minutes later, the follow-up days later. */
.thread { width: 100%; max-width: 30rem; justify-self: center; border: 1px solid var(--line-2); border-radius: 18px; background: rgba(18, 6, 13, 0.6); overflow: hidden; }
.thread figcaption { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 0.875rem; color: var(--soft); }
.tag { font: 500 var(--fs-meta)/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--bg); background: var(--orange); border-radius: 999px; padding: 5px 9px; }
.msgs { display: grid; gap: 12px; padding: 16px; }
.msg { max-width: 92%; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 14px 14px 14px 4px; background: rgba(251, 241, 208, 0.05); font-size: 0.9375rem; line-height: 1.45; }
.msg.out { justify-self: end; border-color: color-mix(in srgb, var(--orange) 45%, transparent); border-radius: 14px 14px 4px 14px; background: color-mix(in srgb, var(--orange) 12%, #12060d); }
.msg-meta { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.03em; color: var(--dim); }
.msg.out .msg-meta { color: var(--orange); }
.msg-btn { display: table; margin-top: 10px; font: 500 var(--fs-meta)/1 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--bg); background: var(--orange); border-radius: 999px; padding: 7px 12px; }
.msg-gap { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.05em; color: var(--dim); }
.msg-gap::before, .msg-gap::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.msg-done { justify-self: center; font-family: var(--display); font-weight: 600; font-size: 1.0625rem; color: var(--text); border: 1px solid var(--orange); border-radius: 999px; padding: 6px 16px; }
.msg-done span { color: var(--orange); }
.thread-foot { padding: 0 16px 14px; font-size: 0.8125rem; color: var(--dim); }
/* The thread plays out once, when the card scrolls into view. */
.js .auto .msgs > li { transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .auto:not(.in) .msgs > li { opacity: 0; transform: translateY(10px); }
.js .auto .msgs > li:nth-child(2) { transition-delay: 0.9s; }
.js .auto .msgs > li:nth-child(3) { transition-delay: 1.6s; }
.js .auto .msgs > li:nth-child(4) { transition-delay: 2.1s; }
.js .auto .msgs > li:nth-child(5) { transition-delay: 2.8s; }

/* Music + readings */
.split { display: grid; gap: 14px; }
.panel { padding: clamp(24px, 3.6vw, 44px); display: flex; flex-direction: column; overflow: hidden; }
.panel::after { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -25%; top: -35%; background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 16%, transparent), transparent); }
.panel h2 { margin: 8px 0 14px; }
.art { display: block; height: 4.75rem; width: auto; max-width: 100%; margin-bottom: 1.5rem; overflow: visible; align-self: flex-start; } /* one height, so the two panels' headings line up */
.art-wave .bar { fill: var(--acc); transform-box: fill-box; transform-origin: center; animation: beat 1.9s ease-in-out infinite alternate; }
.art-wave .cut { stroke: var(--text); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0.55; }
.dv { fill: #1a0914; stroke: var(--line-2); stroke-width: 1.5; }
.dv-line { stroke: var(--line-2); stroke-width: 1; }
.dv-on { fill: var(--acc); }
.dv-title { fill: var(--text); opacity: 0.35; }
.knob { fill: none; stroke: var(--acc); stroke-width: 1.5; }
.knob-tick { stroke: var(--text); stroke-width: 1.5; stroke-linecap: round; }
@keyframes beat { from { transform: scaleY(0.55); opacity: 0.6; } to { transform: scaleY(1); opacity: 1; } }
/* Each card turns about the bottom centre of the fan; the outer two open wider on hover. */
.tcard { transform-origin: 70px 150px; transition: transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1); }
.tcard-1 { transform: rotate(-9deg); }
.tcard-3 { transform: rotate(9deg); }
.panel:hover .tcard-1 { transform: rotate(-16deg); }
.panel:hover .tcard-3 { transform: rotate(16deg); }
.tc { fill: #1a0914; stroke: var(--acc); stroke-width: 1.5; }
.tc-in { fill: none; stroke: var(--acc); stroke-width: 0.75; opacity: 0.45; }
.tg { fill: none; stroke: var(--butter); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tg-fill { fill: var(--butter); }
.panel > p:not(.label):not(.actions) { color: var(--soft); max-width: 40ch; }
.rows { margin-top: 22px; border-top: 1px solid var(--line-2); }
.rows li > a, .rows.plain li { display: grid; gap: 1px; padding: 13px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding 0.2s ease, background 0.2s ease; }
.row-name { font-family: var(--display); font-weight: 600; font-size: 1.1875rem; letter-spacing: -0.01em; }
.row-note { color: var(--soft); font-size: 0.9375rem; line-height: 1.45; }
.rows li > a:hover { background: rgba(251, 241, 208, 0.05); padding-inline: 12px; }
.rows li > a:hover .row-name { color: var(--acc); }
.panel .actions { margin-top: auto; padding-top: 28px; }
/* Name and price on one line, the note below; on a narrow phone the price sits under the name. */
.split .rows li > a { grid-template-columns: 1fr auto; align-items: baseline; column-gap: 16px; }
.split .row-note { grid-column: 1 / -1; }
.row-meta { font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.03em; color: var(--text); white-space: nowrap; }
.split .rows li > a:focus-visible { background: rgba(251, 241, 208, 0.05); padding-inline: 12px; }
.split .rows li > a:focus-visible .row-name { color: var(--acc); }
@media (max-width: 479px) {
  .split .rows li > a { grid-template-columns: 1fr; row-gap: 3px; }
  .row-meta { justify-self: start; }
}

/* Contact */
.contact { display: grid; gap: 8px; justify-items: start; margin-bottom: clamp(28px, 4vw, 44px); }
.contact > p:not(.label) { color: var(--soft); }
.mail {
  font-family: var(--display); font-variation-settings: "opsz" 144; font-weight: 600; letter-spacing: -0.03em;
  font-size: clamp(1.5rem, 8vw, 4.25rem); line-height: 1.1; text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(100deg, var(--coral), var(--orange) 45%, var(--butter)); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%; background-position: 0 0; transition: background-position 0.6s ease; padding-bottom: 0.1em;
}
.mail:hover { background-position: 100% 0; }
.copy { margin-top: 10px; min-height: 40px; padding-block: 10px; }
.copy[hidden] { display: none; }
.copy.done { border-color: var(--green); color: var(--green); }
.lost { display: grid; align-content: center; justify-items: start; gap: 14px; padding-block: clamp(48px, 9vw, 140px); min-height: calc(100svh - var(--top-h) - 7rem); } /* the footer sits at the bottom of the window */
.lost h1 { max-width: 14ch; }
.lost h1 + p { margin-top: 10px; } /* 24 px under the heading */
.lost h1 { line-height: 1; }
.lost .head-text { display: grid; justify-items: start; gap: 14px; }

/* A page head's second column from 1100 px: a small sky object (heads.mjs) beside the text, so the
   first screen isn't bare sky to the right of the h1 on wide screens. Hidden below 1100 px. */
.head-sky { display: none; }
@media (min-width: 1100px) {
  .with-sky { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr); column-gap: clamp(40px, 5vw, 96px); align-items: center; }
  .with-sky > .head-sky { display: block; width: 100%; max-width: 460px; justify-self: end; overflow: visible; }
}
.head-sky line { stroke: var(--line-2); stroke-width: 1; }
.hs-ring { fill: none; stroke: var(--line-2); stroke-width: 1; }
.hs-faint { stroke: var(--line); stroke-dasharray: 2 6; }
.hs-star { fill: var(--text); }
.hs-core { fill: var(--butter); }
/* /start: each path's star in its colour; picked (.on) or pointed at (.hot) in start-sky.js */
.hs-path line { stroke: var(--acc); stroke-opacity: 0.35; transition: stroke-opacity 0.3s ease; }
.hs-path .hs-star { fill: var(--acc); transition: r 0.3s ease; }
.hs-path .hs-glow { fill: var(--acc); opacity: 0; transition: opacity 0.3s ease; }
.hs-path.hot line, .hs-path.on line { stroke-opacity: 0.9; }
.hs-path.hot .hs-glow { opacity: 0.18; }
.hs-path.on .hs-glow { opacity: 0.32; }
.hs-path.on .hs-star { r: 10px; }
/* /press: the show's numbers on the ring; the ticks and dashed ring turn once every four minutes */
.hs-facts text { font: 500 18px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; fill: var(--soft); text-anchor: middle; }
.hs-tick { fill: var(--butter); }
.hs-turn { transform-origin: 200px 200px; }
@media (prefers-reduced-motion: no-preference) { .hs-turn { animation: hs-turn 240s linear infinite; } }
@keyframes hs-turn { to { transform: rotate(360deg); } }
/* 404: one slot without its star */
.hs-ticks line { stroke: var(--line); }
.head-sky .hs-to { stroke: var(--butter); stroke-opacity: 0.5; stroke-dasharray: 3 5; }
.hs-empty { fill: none; stroke: var(--butter); stroke-width: 1.5; stroke-dasharray: 4 5; }
.hs-here { font: 500 18px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; fill: var(--dim); text-anchor: middle; }
.links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 0 28px; border-top: 1px solid var(--line-2); }
.links a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-content: start; height: 100%; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding 0.2s ease, background 0.2s ease; }
.links a span:first-child { font-family: var(--display); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.links .row-note { grid-column: 1; grid-row: 2; font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.03em; color: var(--dim); }
.links .go { grid-column: 2; grid-row: 1; }
.links a:hover { background: rgba(251, 241, 208, 0.05); padding-inline: 12px; }
.links a:hover span:first-child { color: var(--butter); }

/* The Sync List signup, a card between the address and the links. */
.signup {
  display: grid; gap: 20px 48px; align-items: end;
  margin-bottom: clamp(28px, 4vw, 44px); padding: clamp(22px, 3.2vw, 36px);
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: radial-gradient(600px 260px at 100% 0, rgba(255, 243, 147, 0.07), transparent 70%), rgba(31, 13, 24, 0.72);
}
.signup-text { display: grid; gap: 6px; }
.signup-text > p:not(.label) { color: var(--soft); }
.nl-form { display: grid; gap: 8px; }
.nl-label { font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.08em; text-transform: uppercase; color: var(--soft); }
.nl-row { display: flex; flex-wrap: wrap; gap: 10px; }
.nl-row input {
  flex: 1 1 14rem; min-width: 0; min-height: 46px; padding: 12px 20px;
  font: inherit; color: var(--text); background: rgba(18, 6, 13, 0.7);
  border: 1px solid var(--line-2); border-radius: 999px;
  transition: border-color 0.18s ease;
}
.nl-row input::placeholder { color: var(--dim); }
.nl-row input:hover { border-color: rgba(251, 241, 208, 0.45); }
.nl-row input:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; border-color: var(--acc); }
.nl-row input[aria-invalid="true"] { border-color: var(--coral); }
.nl-row .btn { flex: 0 0 auto; cursor: pointer; }
.nl-row .btn:disabled { opacity: 0.6; cursor: progress; transform: none; box-shadow: none; }
.nl-note { min-height: 1.6em; font-size: 0.9375rem; color: var(--green); }
.nl-note:empty { min-height: 0; }
.nl-note.err { color: var(--coral); }
.nl-note a { color: var(--acc); }
.nl-form.done .nl-label, .nl-form.done .nl-row { display: none; }
.nl-form.done .nl-note { font-family: var(--display); font-weight: 600; font-size: 1.375rem; }
/* Under 360px the show card's two-by-two numbers and the search and signup fields are wider than
   their cards: let each single column shrink to fit, so nothing is clipped or scrolls sideways. */
@media (max-width: 359px) {
  .show, .signup, .nl-form, .ep-find { grid-template-columns: minmax(0, 1fr); }
  .show .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* The honeypot: off screen for people, still filled in by bots. */
.nl-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 900px) {
  .signup { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}

/* The end of the line: back to the sky, with when it next changes (today.js). */
.sky-end { padding-top: calc(var(--gap) + 12px); padding-bottom: clamp(56px, 7vw, 96px); text-align: center; font-family: var(--display); font-size: var(--fs-h3); line-height: 1.35; color: var(--soft); text-wrap: balance; }
.sky-end a { color: var(--moon); text-decoration-color: color-mix(in srgb, var(--moon) 40%, transparent); text-underline-offset: 0.2em; }
.sky-end a:hover { text-decoration-color: var(--moon); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 26px 40px; background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; font-family: var(--mono); font-size: var(--fs-meta); letter-spacing: 0.03em; color: var(--dim); }

/* ---------- First paint: the hero rises in, one piece after another ---------- */
.hero-copy > *, .hero .sky { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.2s; }
.hero-copy > :nth-child(4) { animation-delay: 0.3s; }
.hero .sky { animation-delay: 0.25s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
/* The hero text slides without fading: the lede is the page's largest paint (LCP), and a
   fade from opacity 0 holds that back until the scripts and fonts have loaded on slow phones. */
.hero-copy > * { animation-name: rise-text; }
@keyframes rise-text { from { transform: translateY(26px); } }

/* ---------- Scroll reveal (only once site.js has put .js on <html>) ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .rv.in { opacity: 1; transform: none; }
.js li.rv:nth-child(2) { transition-delay: 0.07s; }
.js li.rv:nth-child(3) { transition-delay: 0.14s; }
.js li.rv:nth-child(4) { transition-delay: 0.07s; }
.js li.rv:nth-child(5) { transition-delay: 0.14s; }
.js li.rv:nth-child(6) { transition-delay: 0.21s; }

/* ---------- Narrow and wide ---------- */
@media (max-width: 767px) {
  .top nav a { display: inline-flex; align-items: center; min-height: 38px; padding-block: 0; }
  .top nav { align-items: center; padding-right: 24px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 20px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 20px), transparent); }
  .top.menu nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px;
    margin: 0; padding: 8px var(--gutter) 18px; overflow: visible; -webkit-mask-image: none; mask-image: none;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .top.menu.open nav { display: flex; }
  .top.menu nav a { min-height: 44px; padding-inline: 14px; font-size: 0.75rem; justify-content: flex-start; }
}
@media (max-width: 899px) {
  .seg button { min-height: 40px; padding-inline: 16px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .top nav a { padding-inline: 7px; } /* home's eight links fit beside the name down to 768 px */
}
@media (min-width: 768px) {
  .nav-btn { display: none; }
  .top nav { overflow: visible; margin-right: 0; padding-inline: 0; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 639px) {
  .lede-more { display: none; } /* two sentences and a tighter hero, so the whole wheel shows on the first screen */
  .hero { padding-top: 20px; gap: 20px; }
  /* phones: the visual is a square tile beside the text, so a narrow strip never crops it */
  .games .card { grid-template-columns: 128px 1fr; grid-template-rows: none; align-items: center; }
  .game-shot { aspect-ratio: 1; margin: 16px 0 16px 16px; border: 1px solid var(--line); border-radius: 14px; }
  .app-head { grid-template-columns: 1fr; }
  .app-head img { display: none; } /* the tile already shows the app */
  .game-text { align-content: center; }
  .game-name { font-size: 1.5rem; }
  .top-name { font-size: 1.0625rem; }
}
@media (max-width: 399px) {
  .hero .actions .btn { padding-inline: 14px; } /* both calls to action on one row */
}
@media (min-width: 640px) {
  .games { grid-template-columns: repeat(3, 1fr); }
  .games.apps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .hero:has(.sky[hidden]) { grid-template-columns: 1fr; } /* no wheel (no script, or it failed): the copy takes the row */
  .js .hero:has(.sky[hidden]:not(.off)) { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .sky { justify-self: end; }
  .show { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); }
  .sec-head { grid-template-columns: 1fr auto; }
  .sec-head .label { grid-column: 1 / -1; }
  .sec-head > p:not(.label) { justify-self: end; }
  .sec-head > p.today-mode { grid-row: 3; grid-column: 1 / -1; justify-self: start; } /* under the title and lead, not beside them */
  .games.apps { grid-template-columns: repeat(3, 1fr); }
  .auto { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); grid-template-areas: "head thread" "more thread"; grid-template-rows: auto 1fr; }
  .auto-head { grid-area: head; }
  .auto-more { grid-area: more; }
  .thread { grid-area: thread; align-self: start; }
  .show-art { position: sticky; top: calc(var(--top-h) + 36px); } /* the cover stays in view beside the episodes */
  .split { grid-template-columns: 1fr 1fr; }
  .today-chain { grid-template-columns: repeat(3, 1fr); }
  .today-chain li + li::before { left: -22px; top: 50%; width: 22px; height: 1px; background: linear-gradient(90deg, var(--line-2), var(--acc)); }
  .today-chain li + li::after { left: -13.5px; top: calc(50% - 2.5px); }
  .links { grid-template-columns: repeat(3, 1fr); } /* six links: two even rows */
}

/* Big monitors: everything is sized in rem, so one step up in the root size scales the lot. */
@media (min-width: 1700px) {
  html { font-size: 112.5%; }
  :root { --maxw: 1400px; }
}
@media (min-width: 2100px) {
  html { font-size: 125%; }
  :root { --maxw: 1560px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .sec:not(.in)::before { transform: none; }
  .js .sec:not(.in)::after { background: var(--moon); box-shadow: 0 0 12px var(--moon); }
  .js .sec:not(.in) > .chain-link { opacity: 1; }
  .js .auto:not(.in) .msgs > li { opacity: 1; transform: none; }
}
