/* Chimneys — playchimneys.com
   One dark theme: polar-night navy, lit-window amber, Santa red.
   Fonts are self-hosted (Fraunces for display, Familjen Grotesk for text): no third-party requests. */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-var-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Familjen Grotesk";
  src: url("/assets/fonts/familjen-grotesk-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night-950: #060a18;
  --night-900: #0a1022;
  --night-850: #0e1630;
  --night-800: #131d3f;
  --night-700: #1c2a58;
  --night-600: #2a3b78;
  --snow: #f4efe6;
  --snow-dim: #cdd3e6;
  --muted: #9ba6c7;
  --amber: #ffc65a;
  --amber-deep: #f2992c;
  --ember: #ff7a3d;
  --santa: #e5483d;
  --pine: #4aa079;
  --gold: #e6bd4e;
  --rival: #38a874;
  --line: rgba(255, 255, 255, 0.13);
  --line-soft: rgba(255, 255, 255, 0.07);
  --radius: 18px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 4vw, 32px);
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Familjen Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--night-900);
  color: var(--snow);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--amber); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #ffe0a1; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--amber); color: #1a1204; }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: #1a1204; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* Falling snow (decorative; drawn by site.js, off for reduced motion) */
#snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; opacity: 0.55; }
main, .site-footer { position: relative; z-index: 2; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 10, 24, 0.74);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--snow); text-decoration: none; font: 800 1.45rem/1 var(--display); letter-spacing: -0.02em; }
.brand:hover { color: var(--snow); }
.brand svg { width: 26px; height: 30px; flex: none; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 28px); }
.site-nav a.link { color: var(--snow-dim); text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.site-nav a.link:hover { color: var(--snow); }
.site-nav .btn { height: 42px; padding: 0 16px; font-size: 0.95rem; }
.js .site-nav .btn { opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity .25s, transform .25s; }
.js .is-past-hero .site-nav .btn { opacity: 1; pointer-events: auto; transform: none; }
@media (max-width: 720px) { .site-nav a.link { display: none; } }

/* Buttons and chips */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--amber); color: #1a1204; font: 700 1.05rem/1 var(--body); text-decoration: none;
  box-shadow: 0 8px 28px rgba(255, 170, 60, 0.28), inset 0 -2px 0 rgba(0, 0, 0, 0.14);
  transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { background: #ffd47f; color: #1a1204; transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }
.btn--ghost { background: transparent; color: var(--snow); border: 1px solid var(--line); box-shadow: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); color: var(--snow); }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 11px 4px 9px; border-radius: 99px; border: 1px solid currentColor;
  font: 600 0.72rem/1.4 var(--body); letter-spacing: 0.09em; text-transform: uppercase; white-space: nowrap;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip--now { color: #8fe0b4; background: rgba(74, 160, 121, 0.14); }
.chip--wip { color: var(--amber); background: rgba(255, 198, 90, 0.1); }
.chip--plan { color: #a9b6e6; background: rgba(120, 140, 220, 0.1); }
.chip--plan::before { background: transparent; border: 1.5px solid currentColor; }

/* Image labels: honesty about what a picture is */
.tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 8px;
  font: 600 0.74rem/1.3 var(--body); letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(6, 10, 24, 0.82); border: 1px solid var(--line); color: var(--snow);
}
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--pine); }
.tag--concept::before { background: var(--amber); }
.shot { position: relative; margin: 0; }
.shot img { width: 100%; border-radius: var(--radius); background: var(--night-800); }
.shot .tag { position: absolute; left: 12px; bottom: 12px; }
.shot figcaption { margin-top: 12px; font-size: 0.93rem; color: var(--muted); line-height: 1.45; }

.eyebrow { font: 700 0.8rem/1.2 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--alt { background: linear-gradient(180deg, var(--night-850), var(--night-900)); border-block: 1px solid var(--line-soft); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.section-head p { color: var(--snow-dim); font-size: 1.15rem; }

/* Hero */
.hero { position: relative; padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 104px); isolation: isolate; overflow-x: clip; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 38%, rgba(255, 170, 70, 0.16), transparent 70%),
    radial-gradient(50% 45% at 12% 8%, rgba(70, 100, 220, 0.22), transparent 70%);
}
.hero-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr); } }
.hero-copy { display: grid; gap: 22px; }
.hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.4rem); line-height: 1; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--snow-dim); max-width: 34em; }
.hero-art { position: relative; }
.hero-art .shot img { border-radius: 22px; box-shadow: var(--shadow-lg), 0 0 120px rgba(255, 160, 50, 0.2); }
.status-line { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.status-line .sep { color: var(--muted); }
.status-line span:not(.chip):not(.sep) { color: var(--snow-dim); font-size: 0.95rem; }

/* Waitlist form */
.signup { display: grid; gap: 12px; max-width: 540px; }
.signup label { font-weight: 600; font-size: 0.97rem; color: var(--snow); }
.signup-row { display: flex; gap: 10px; }
.signup input[type="email"] {
  flex: 1 1 auto; min-width: 0; height: 54px; padding: 0 18px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.26);
  color: var(--snow); font: 400 1.05rem/1 var(--body);
}
.signup input[type="email"]::placeholder { color: #8e99bb; }
.signup input[type="email"]:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255, 198, 90, 0.25); background: rgba(255, 255, 255, 0.11); }
.signup input[aria-invalid="true"] { border-color: #ff8f86; }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup .fine { font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
.signup .fine a { color: var(--snow-dim); }
.signup .msg { min-height: 1.4em; font-size: 0.95rem; font-weight: 500; color: #ffb3ac; }
.signup .msg:empty { display: none; }
.signup-done {
  display: none; gap: 8px; padding: 20px 22px; border-radius: var(--radius-sm);
  background: rgba(74, 160, 121, 0.14); border: 1px solid rgba(143, 224, 180, 0.45); max-width: 540px;
}
.signup-done strong { font: 700 1.3rem/1.2 var(--display); }
.signup-done p { color: var(--snow-dim); }
.is-joined .signup { display: none; }
.is-joined .signup-done { display: grid; }
@media (max-width: 560px) { .signup-row { flex-direction: column; } .signup .btn { width: 100%; } }

/* Facts strip */
.facts { border-block: 1px solid var(--line-soft); background: rgba(6, 10, 24, 0.55); }
.facts ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.facts li { padding: 22px 20px; border-left: 1px solid var(--line-soft); display: grid; gap: 4px; }
.facts li:first-child { border-left: 0; }
.facts b { font: 700 1.55rem/1.1 var(--display); color: var(--snow); }
.facts span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 640px) { .facts li { border-left: 0; border-top: 1px solid var(--line-soft); } .facts li:first-child { border-top: 0; } }

/* The job: three beats */
.beats { display: grid; gap: clamp(20px, 3vw, 32px); }
@media (min-width: 900px) { .beats { grid-template-columns: repeat(3, 1fr); } }
.beat { display: grid; gap: 14px; align-content: start; }
.beat .num { font: 700 0.8rem/1 var(--body); letter-spacing: 0.16em; color: var(--amber); }
.beat h3 { font-size: 1.6rem; }
.beat p { color: var(--snow-dim); }

/* The crew */
.crew { display: grid; gap: 22px; }
@media (min-width: 900px) { .crew { grid-template-columns: repeat(3, 1fr); } }
.role {
  display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, var(--night-800), var(--night-850)); border: 1px solid var(--line);
}
.role-art {
  position: relative; height: 330px; display: flex; align-items: flex-end; justify-content: center; padding: 22px 12px 0; overflow: hidden;
  background: radial-gradient(60% 70% at 50% 62%, rgba(255, 190, 90, 0.28), transparent 72%), var(--night-700);
}
.role-art img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; background: none; border-radius: 0; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.45)); }
.role-art .tag { position: absolute; left: 10px; top: 10px; bottom: auto; z-index: 2; }
.role-body { padding: 22px 22px 26px; display: grid; gap: 12px; align-content: start; }
.role h3 { font-size: 1.7rem; }
.role .gag { color: var(--amber); font-weight: 600; }
.role dl { margin: 0; display: grid; gap: 8px; font-size: 0.97rem; }
.role dt { font: 700 0.72rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.role dd { margin: 2px 0 0; color: var(--snow-dim); }

/* Moments */
.moments { display: grid; gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 800px) { .moments { grid-template-columns: repeat(3, 1fr); } }
.moment { padding: 22px; border-radius: var(--radius-sm); border: 1px dashed rgba(255, 255, 255, 0.22); display: grid; gap: 10px; align-content: start; }
.moment h4 { font-size: 1.25rem; }
.moment p { color: var(--snow-dim); font-size: 0.99rem; }

/* Rival crew */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 14px; min-height: 240px; }
.crew-card { border-radius: var(--radius); padding: 24px 20px; display: grid; gap: 10px; align-content: center; text-align: center; border: 1px solid var(--line); }
.crew-card b { font: 700 1.5rem/1.1 var(--display); }
.crew-card span { color: var(--snow-dim); font-size: 0.95rem; }
.crew-card--you { background: linear-gradient(180deg, rgba(229, 72, 61, 0.3), rgba(229, 72, 61, 0.1)); border-color: rgba(229, 72, 61, 0.55); }
.crew-card--rival { background: linear-gradient(180deg, rgba(56, 168, 116, 0.3), rgba(230, 189, 78, 0.12)); border-color: rgba(56, 168, 116, 0.55); }
.versus .vs { align-self: center; font: 700 1rem/1 var(--display); color: var(--muted); }
.verbs { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.verbs li { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; align-items: baseline; color: var(--snow-dim); }
.verbs li .chip { justify-self: start; }
@media (max-width: 560px) { .verbs li { grid-template-columns: 1fr; } }
.verbs strong { color: var(--snow); font-weight: 700; }
.split p.big { font-size: 1.2rem; color: var(--snow-dim); }

/* Wanted level */
.ladder { list-style: none; display: grid; gap: 12px; counter-reset: step; }
.ladder li { display: grid; grid-template-columns: 108px 1fr; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.ladder .stars { font-size: 1.25rem; letter-spacing: 0.08em; color: var(--amber); white-space: nowrap; }
.ladder li:nth-child(3) .stars { color: var(--ember); }
.ladder li:nth-child(4) { background: linear-gradient(90deg, rgba(60, 90, 200, 0.24), rgba(229, 72, 61, 0.2)); border-color: rgba(140, 160, 255, 0.5); }
.ladder li:nth-child(4) .stars { color: #ff8d83; }
.ladder b { display: block; font: 700 1.12rem/1.2 var(--display); }
.ladder span { color: var(--snow-dim); font-size: 0.97rem; }
.officer { display: grid; place-items: center; }
.officer .role-art { width: min(100%, 340px); border-radius: var(--radius); border: 1px solid var(--line); height: 400px; }
@media (max-width: 520px) { .ladder li { grid-template-columns: 1fr; gap: 4px; } }

/* The look: today vs target slider */
.compare { position: relative; --pos: 50%; border-radius: var(--radius); overflow: hidden; background: var(--night-800); box-shadow: var(--shadow-lg); user-select: none; touch-action: pan-y; }
.compare img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.compare .top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .top img { height: 100%; }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--snow); transform: translateX(-50%); pointer-events: none; }
.compare .handle::after {
  content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--snow); color: #121a33; display: grid; place-items: center;
  font: 700 1.3rem/1 var(--body); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:focus-within .handle::after { outline: 3px solid var(--amber); outline-offset: 3px; }
.compare .tag { position: absolute; top: 12px; z-index: 2; }
.compare .tag.l { left: 12px; }
.compare .tag.r { right: 12px; }
.compare-note { margin-top: 14px; color: var(--muted); font-size: 0.93rem; }
.look-grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .look-grid { grid-template-columns: 5fr 4fr; } }
.look-grid h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.look-grid p { color: var(--snow-dim); }

/* Today: honest status list */
.status-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.status-list li { display: grid; grid-template-columns: 150px 1fr; gap: 12px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.status-list b { font: 700 1.12rem/1.3 var(--display); display: block; }
.status-list span.d { color: var(--snow-dim); }
@media (max-width: 640px) { .status-list li { grid-template-columns: 1fr; gap: 8px; } }
.real-shots { display: grid; gap: 16px; margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 800px) { .real-shots { grid-template-columns: repeat(3, 1fr); } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 700 1.25rem/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 1.8rem/1 var(--body); color: var(--amber); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 22px; color: var(--snow-dim); max-width: 62ch; display: grid; gap: 10px; }

/* Final call to action */
.final { text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 50% 100%, rgba(255, 170, 70, 0.22), transparent 70%); z-index: -1; }
.final .section-head { margin-inline: auto; }
.final .signup, .final .signup-done { margin-inline: auto; text-align: left; }

/* Footer */
.site-footer { background: var(--night-950); border-top: 1px solid var(--line-soft); padding-block: 44px 56px; color: var(--muted); font-size: 0.93rem; }
.site-footer .wrap { display: grid; gap: 22px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 18px 36px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; }
.footer-links a { color: var(--snow-dim); }
.site-footer .legal { max-width: 70ch; line-height: 1.55; }

/* Content pages: thanks, privacy, press, 404 */
.page { padding-block: clamp(48px, 8vw, 96px); }
.page h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); margin-bottom: 18px; }
.page h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.page p, .page li { color: var(--snow-dim); }
.page p + p { margin-top: 12px; }
.page ul { padding-left: 1.2em; display: grid; gap: 8px; margin-top: 10px; }
.page .updated { color: var(--muted); font-size: 0.93rem; margin-bottom: 28px; }
.page code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9em; background: rgba(255, 255, 255, 0.08); padding: 2px 6px; border-radius: 6px; }
.facts-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.facts-table th, .facts-table td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts-table th { width: 11em; color: var(--muted); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; }
.facts-table td { color: var(--snow); }
.press-grid { display: grid; gap: 18px; margin-top: 16px; }
@media (min-width: 720px) { .press-grid { grid-template-columns: repeat(2, 1fr); } }
.press-grid .shot figcaption a { margin-left: 4px; }
.share-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Reveal on scroll (content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #snow { display: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .faq summary::after { transition: none; }
}
@media print { #snow, .site-header { display: none; } body { background: #fff; color: #000; } }

/* Utility classes (kept as classes so the Content-Security-Policy can forbid inline styles) */
.eyebrow--block { display: block; margin-bottom: 14px; }
.h2-xl { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 16px 0 20px; }
.big--small { font-size: 1.02rem; }
.mt-12 { margin-top: 12px; } .mt-20 { margin-top: 20px; } .mt-22 { margin-top: 22px; } .mb-26 { margin-bottom: 26px; }
.shot--officer { width: min(100%, 340px); }
.role-art--tall { height: 400px; border-radius: var(--radius); border: 1px solid var(--line); }
.section-head--tight { margin-bottom: 28px; }
.mt-18 { margin-top: 18px; }
.page .fine { font-size: 0.93rem; color: var(--muted); }
.share-status { min-height: 1.5em; margin-top: 14px; }
