:root {
  --ink: #171513;
  --ink-soft: #211e1a;
  --paper: #d8d0c2;
  --paper-muted: #a8a094;
  --brass: #c8a978;
  --rule: rgba(216, 208, 194, .19);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Baskerville, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: min(1120px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; overflow-x: clip; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; opacity: .035; pointer-events: none; z-index: 80; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.dimmer { position: fixed; inset: 0; z-index: 1000; pointer-events: none; background: #000; opacity: calc(var(--dim, 0) / 100); }

.site-head { height: 78px; padding: 0 30px; position: absolute; z-index: 50; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.17); color: #e8e0d4; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-family: var(--serif); font-size: 22px; letter-spacing: -.025em; }
.wordmark i { font-weight: 400; }
.wordmark-star { display: inline-grid; place-items: center; color: var(--brass); font-size: 13px; transform: rotate(-7deg); }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 37px); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.main-nav a, .head-tools a, .head-tools button { transition: color .35s ease, opacity .35s ease; }
.main-nav a:hover, .head-tools a:hover, .head-tools button:hover { color: var(--brass); }
.head-tools { justify-self: end; display: flex; align-items: center; gap: 19px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.head-tools button { appearance: none; border: 0; padding: 0; background: none; cursor: pointer; }
.saved-link, .dimmer-button { display: inline-flex; gap: 7px; align-items: center; }
.menu-button { display: none; width: 28px; height: 25px; position: relative; }
.menu-button span:not(.sr-only) { position: absolute; width: 22px; height: 1px; right: 0; background: currentColor; transition: transform .35s ease; }
.menu-button span:first-child { top: 8px; }.menu-button span:nth-child(2) { top: 15px; width: 15px; }
.dimmer-panel { position: absolute; top: 78px; right: 28px; width: 258px; padding: 19px 21px 18px; background: #211e1a; border: 1px solid var(--rule); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.dimmer-panel label { display: flex; justify-content: space-between; margin-bottom: 13px; font-family: var(--serif); font-size: 15px; text-transform: none; letter-spacing: 0; }
.dimmer-panel input { width: 100%; accent-color: var(--brass); }
.mobile-nav { position: absolute; top: 78px; left: 0; right: 0; padding: 26px 30px 30px; background: #171513; border-bottom: 1px solid var(--rule); }
.mobile-nav a { display: block; padding: 11px 0; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 25px; }

.hero { min-height: 710px; height: min(82vh, 850px); position: relative; overflow: hidden; background: #0e0d0c; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; opacity: .88; animation: settle 2.2s cubic-bezier(.22,.61,.36,1) both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,4,.78) 0%, rgba(5,5,4,.38) 49%, rgba(5,5,4,.14) 75%), linear-gradient(0deg, rgba(7,7,6,.62) 0%, transparent 45%, rgba(7,7,6,.15) 100%); }
.hero-copy { position: absolute; z-index: 2; left: max(32px, calc((100vw - 1120px) / 2)); top: 51%; transform: translateY(-46%); width: min(680px, calc(100vw - 64px)); animation: copy-in 1.25s .25s cubic-bezier(.22,.61,.36,1) both; }
.eyebrow { margin: 0 0 18px; font-size: 11px; line-height: 1.2; letter-spacing: .19em; text-transform: uppercase; color: var(--brass); }
.hero h1 { margin: 0; max-width: 800px; font-family: var(--serif); font-size: clamp(54px, 6.35vw, 92px); font-weight: 400; line-height: .98; letter-spacing: -.045em; color: #e8e0d4; text-wrap: balance; }
.hero h1 em { font-weight: 400; color: #c9bda9; }
.hero-intro { max-width: 540px; margin: 27px 0 0; color: #c9c1b6; font-family: var(--serif); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 34px; }
.text-button { display: inline-flex; align-items: center; gap: 31px; min-width: 208px; padding: 13px 0 11px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.text-button span, .section-link span { margin-left: auto; transition: transform .35s ease; }
.text-button:hover span, .section-link:hover span { transform: translateX(5px); }
.text-button.light { color: #e6ddd0; }
.quiet-link { padding-bottom: 3px; border-bottom: 1px solid rgba(216,208,194,.45); font-family: var(--serif); font-style: italic; color: #d4cabe; }
.image-note { position: absolute; right: 24px; bottom: 19px; margin: 0; font-family: var(--serif); font-size: 11px; font-style: italic; color: rgba(235,226,212,.68); writing-mode: vertical-rl; transform: rotate(180deg); }

.tonight-section, .choose-section { width: var(--page); margin: 0 auto; padding: 104px 0 110px; }
.section-kicker { display: flex; justify-content: space-between; padding-bottom: 11px; border-bottom: 1px solid var(--rule); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--paper-muted); }
.section-heading { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: end; margin: 44px 0 50px; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(43px, 5.5vw, 71px); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.section-heading p { max-width: 390px; margin: 0 0 8px; color: var(--paper-muted); font-family: var(--serif); font-size: 18px; }
.story-list { border-top: 1px solid var(--rule); }
.story-row { border-bottom: 1px solid var(--rule); }
.story-row a { display: grid; grid-template-columns: 55px 1fr auto; gap: 22px; align-items: center; padding: 31px 0 30px; }
.story-no { color: #756f67; font-family: var(--serif); font-style: italic; }
.story-copy { display: grid; grid-template-columns: minmax(175px, .6fr) minmax(250px, 1fr) 1.2fr; gap: 30px; align-items: center; }
.story-kind { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--brass); }
.story-copy strong { font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.2; }
.story-copy > span:last-child { color: var(--paper-muted); font-family: var(--serif); font-size: 15px; }
.story-arrow { color: var(--brass); transition: transform .35s ease; }
.story-row a:hover .story-arrow { transform: translate(3px,-3px); }
.section-link { display: flex; width: 270px; margin: 38px 0 0 auto; padding: 12px 0 9px; border-top: 1px solid var(--paper-muted); border-bottom: 1px solid var(--paper-muted); font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }

.image-feature { min-height: 680px; position: relative; overflow: hidden; display: flex; align-items: center; }
.image-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,9,8,.09), rgba(10,9,8,.2) 35%, rgba(10,9,8,.88) 82%, rgba(10,9,8,.96)); }
.image-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.image-feature-copy { position: relative; z-index: 2; width: min(470px, calc(100vw - 64px)); margin-left: auto; margin-right: max(32px, calc((100vw - 1120px) / 2)); }
.image-feature-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(45px, 4.7vw, 68px); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.image-feature-copy > p:not(.eyebrow) { margin: 26px 0 32px; color: #beb4a7; font-family: var(--serif); font-size: 18px; line-height: 1.6; }

.choose-section { position: relative; }
.hand-note { position: absolute; top: 95px; right: 3%; margin: 0; color: var(--brass); font-family: var(--serif); font-size: 14px; font-style: italic; transform: rotate(-2deg); }
.choice-lines { border-top: 1px solid var(--rule); }
.choice-lines a { display: grid; grid-template-columns: .75fr 1.4fr .4fr; gap: 38px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.choice-name { font-family: var(--serif); font-size: 28px; }
.choice-description { color: var(--paper-muted); font-family: var(--serif); }
.choice-lines a > span:last-child { text-align: right; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--brass); }

.observatory-feature { width: var(--page); margin: 0 auto 120px; display: grid; grid-template-columns: 1.55fr .7fr; min-height: 580px; }
.observatory-image { overflow: hidden; }
.observatory-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 5s ease; }
.observatory-feature:hover img { transform: scale(1.025); }
.observatory-copy { display: flex; flex-direction: column; justify-content: center; padding: 50px 0 50px clamp(35px, 5vw, 76px); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.observatory-copy h2 { margin: 0; font-family: var(--serif); font-size: clamp(40px, 4.8vw, 64px); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; }
.observatory-copy > p:not(.eyebrow) { color: var(--paper-muted); font-family: var(--serif); font-size: 17px; }
.observatory-copy .text-button { margin-top: 17px; min-width: 100%; }
.prompt-section { width: min(820px, calc(100vw - 64px)); margin: 0 auto; padding: 40px 0 140px; text-align: center; }
.prompt-section blockquote { margin: 27px 0 30px; font-family: var(--serif); font-size: clamp(35px, 4.8vw, 59px); font-weight: 400; line-height: 1.18; letter-spacing: -.03em; }

.site-foot { display: grid; grid-template-columns: 1fr 1.4fr; gap: 55px 80px; width: var(--page); margin: 0 auto; padding: 70px 0 40px; border-top: 1px solid var(--rule); color: var(--paper-muted); }
.foot-mark strong { display: inline-block; margin-left: 8px; font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--paper); }
.foot-mark p { margin: 8px 0 0 25px; font-family: var(--serif); font-style: italic; }
.foot-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px 30px; font-size: 12px; }
.foot-links a:hover { color: var(--paper); }
.foot-note { max-width: 560px; margin: 0; font-size: 11px; }
.copyright { margin: 0; text-align: right; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
@keyframes settle { from { opacity: .2; transform: scale(1.025); } to { opacity: .88; transform: scale(1); } }
@keyframes copy-in { from { opacity: 0; transform: translateY(-42%); } to { opacity: 1; transform: translateY(-46%); } }

@media (max-width: 920px) {
  :root { --page: min(100% - 40px, 720px); }
  .site-head { height: 70px; padding: 0 20px; grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .tool-label { display: none; }
  .head-tools { gap: 17px; }
  .head-tools > a, .head-tools > button { min-width: 40px; min-height: 44px; display: inline-grid; place-items: center; }
  .menu-button { display: block !important; width: 40px; height: 44px; }
  .menu-button span:not(.sr-only) { right: 8px; }
  .menu-button span:first-child { top: 15px; }.menu-button span:nth-child(2) { top: 24px; }
  .wordmark { min-height: 44px; }
  .dimmer-panel, .mobile-nav { top: 70px; }
  .hero { min-height: 650px; height: 82svh; }
  .hero-copy { left: 20px; width: calc(100vw - 40px); top: 54%; }
  .hero h1 { font-size: clamp(48px, 11vw, 75px); }
  .hero-intro { max-width: 470px; }
  .section-heading { grid-template-columns: 1fr; gap: 15px; }
  .story-copy { grid-template-columns: 1fr; gap: 5px; }
  .story-copy > span:last-child { display: none; }
  .image-feature::after { background: linear-gradient(0deg, rgba(10,9,8,.9), rgba(10,9,8,.08) 80%); }
  .image-feature { align-items: end; min-height: 720px; }
  .image-feature-copy { width: auto; margin: 0 20px 55px; }
  .choice-lines a { grid-template-columns: 1fr auto; gap: 7px 20px; }
  .choice-description { grid-row: 2; }.choice-lines a > span:last-child { grid-column: 2; grid-row: 1; }
  .observatory-feature { grid-template-columns: 1fr; }
  .observatory-image { min-height: 420px; }
  .observatory-copy { padding: 45px 0; }
  .site-foot { grid-template-columns: 1fr; gap: 35px; }
  .copyright { text-align: left; }
}

@media (max-width: 560px) {
  .wordmark { font-size: 18px; gap: 7px; }
  .head-tools { gap: 13px; }
  .hero { min-height: 620px; }
  .hero-image { object-position: 61% center; }
  .hero h1 { font-size: 49px; line-height: 1.01; }
  .hero h1 br { display: none; }
  .hero-intro { margin-top: 21px; font-size: 17px; line-height: 1.45; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; margin-top: 26px; }
  .image-note { display: none; }
  .tonight-section, .choose-section { padding: 76px 0 82px; }
  .section-heading { margin: 32px 0 35px; }
  .section-heading h2 { font-size: 43px; }
  .story-row a { grid-template-columns: 34px 1fr auto; gap: 10px; padding: 23px 0; }
  .story-copy strong { font-size: 20px; }
  .section-link { margin-left: 0; }
  .image-feature { min-height: 650px; }
  .image-feature img { object-position: 45% center; }
  .image-feature-copy h2 { font-size: 44px; }
  .hand-note { position: static; margin: 0 0 20px; }
  .choice-lines a { padding: 20px 0; }
  .choice-name { font-size: 23px; }
  .choice-description { font-size: 14px; }
  .observatory-image { min-height: 330px; }
  .prompt-section { width: calc(100vw - 40px); padding-bottom: 100px; }
  .prompt-section blockquote { font-size: 34px; }
  .foot-links { grid-template-columns: repeat(2,1fr); }
  .foot-links a { padding: 4px 0; }
  .hero-actions .quiet-link, .prompt-section .quiet-link { min-height: 44px; display: inline-flex; align-items: center; }
  input, select, textarea { font-size: 16px !important; }
}

@media (max-width: 360px) {
  .site-head { padding-left: 12px; padding-right: 12px; }
  .wordmark { font-size: 16px; gap: 5px; }
  .head-tools { gap: 3px; }
  .head-tools .saved-link { display: none; }
}

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

:focus-visible { outline: 2px solid var(--brass); outline-offset: 4px; }

/* Interior discovery pages */
.inner-page .site-head { position: relative; background: rgba(23,21,19,.98); }
.inner-page .main-nav [aria-current="page"] { color: var(--brass); }
.inner-page main { min-height: 64vh; }
.editorial-header { width: var(--page); margin: 0 auto; padding: 118px 0 82px; display: grid; grid-template-columns: 1.55fr .65fr; column-gap: 90px; align-items: end; }
.editorial-header .eyebrow { grid-column: 1 / -1; }
.editorial-header h1 { margin: 0; font-family: var(--serif); font-size: clamp(54px, 7vw, 96px); line-height: .98; letter-spacing: -.05em; font-weight: 400; }
.editorial-header > p:last-child { margin: 0 0 8px; color: var(--paper-muted); font-family: var(--serif); font-size: 19px; line-height: 1.55; }
.section-hero { min-height: 640px; position: relative; overflow: hidden; display: flex; align-items: end; isolation: isolate; background: #0e0d0c; }
.section-hero > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: settle 2.2s cubic-bezier(.22,.61,.36,1) both; }
.section-hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(7,6,5,.9) 0%, rgba(7,6,5,.68) 42%, rgba(7,6,5,.18) 76%), linear-gradient(0deg, rgba(10,9,8,.88) 0%, transparent 52%, rgba(7,6,5,.12) 100%); }
.section-hero-copy { width: var(--page); margin: 0 auto; padding: 112px 0 76px; display: grid; grid-template-columns: 1.55fr .65fr; column-gap: 90px; align-items: end; animation: section-copy-in 1.2s .18s cubic-bezier(.22,.61,.36,1) both; }
.section-hero-copy .eyebrow { grid-column: 1 / -1; }
.section-hero-copy h1 { margin: 0; max-width: 850px; color: #e8e0d4; font-family: var(--serif); font-size: clamp(58px, 7vw, 96px); line-height: .98; letter-spacing: -.05em; font-weight: 400; }
.section-hero-copy > p:last-child { max-width: 340px; margin: 0 0 8px; color: #c8beb0; font-family: var(--serif); font-size: 19px; line-height: 1.55; }
.section-hero-stories > img { object-position: 52% center; }
.section-hero-activities > img { object-position: 55% center; }
.section-hero-notes > img { object-position: 54% center; }
@keyframes section-copy-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.filter-rail { width: var(--page); margin: 0 auto 10px; display: flex; gap: 8px 28px; flex-wrap: wrap; padding: 15px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--paper-muted); }
.filter-rail a[aria-current="page"], .filter-rail a:hover { color: var(--brass); }
.catalog-list, .activity-catalog, .saved-list { width: var(--page); margin: 0 auto; padding-bottom: 120px; }
.catalog-row { display: grid; grid-template-columns: 70px 1fr 40px; gap: 25px; padding: 35px 0; border-bottom: 1px solid var(--rule); }
.catalog-number { font-family: var(--serif); font-style: italic; color: #756f67; }
.catalog-copy > span, .activity-main > span, .article-card > span, .search-results a > span { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; color: var(--brass); }
.catalog-copy h2 { margin: 7px 0 7px; font-family: var(--serif); font-size: clamp(26px, 3vw, 39px); font-weight: 400; line-height: 1.12; }
.catalog-copy p { max-width: 680px; margin: 0; color: var(--paper-muted); font-family: var(--serif); }
.catalog-interlude { height: 350px; position: relative; overflow: hidden; margin: 60px 0 38px; }
.catalog-interlude::after, .article-interlude::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,9,8,.72), transparent 62%); }
.catalog-interlude img, .article-interlude img { width: 100%; height: 100%; object-fit: cover; transition: transform 5s ease; }
.catalog-interlude:hover img, .article-interlude:hover img { transform: scale(1.02); }
.catalog-interlude figcaption, .article-interlude figcaption { position: absolute; z-index: 2; left: 28px; bottom: 22px; color: #ddd3c5; font-family: var(--serif); font-size: 18px; font-style: italic; }
.fav-button { appearance: none; border: 0; background: none; padding: 8px; align-self: start; color: var(--paper-muted); font-size: 22px; line-height: 1; cursor: pointer; }
.fav-button.on { color: var(--brass); }
.fav-button.wide { width: auto; padding: 10px 0; font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

/* Nightly archive */
.inner-hero { min-height: 560px; position: relative; overflow: hidden; display: flex; align-items: end; }
.inner-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.inner-hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,11,10,.92), rgba(12,11,10,.12) 75%), linear-gradient(90deg, rgba(12,11,10,.55), transparent 72%); }
.inner-hero-copy { position: relative; z-index: 1; width: var(--page); margin: 0 auto; padding: 80px 0 68px; }
.inner-hero-copy h1 { margin: 0; font-family: var(--serif); font-size: clamp(60px, 8vw, 110px); line-height: .95; letter-spacing: -.05em; font-weight: 400; }
.inner-hero-copy > p:last-child { max-width: 560px; margin: 23px 0 0; color: #c6bbad; font-family: var(--serif); font-size: 19px; }
.archive-layout { width: var(--page); margin: 0 auto; padding: 95px 0 130px; display: grid; grid-template-columns: minmax(0,1fr) 240px; gap: 95px; }
.archive-main .section-kicker { margin-bottom: 18px; }
.night-index { position: sticky; top: 30px; height: max-content; border-top: 1px solid var(--rule); }
.night-index .eyebrow { display: block; padding: 19px 0 12px; margin: 0; }
.night-index a { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 13px 0; border-top: 1px solid var(--rule); color: var(--paper-muted); font-family: var(--serif); font-size: 13px; }
.night-index a span:last-child { color: #777169; font-family: var(--sans); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.night-index a[aria-current="page"] { color: var(--brass); }
.night-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 75px; padding-top: 45px; border-top: 1px solid var(--rule); }
.night-extra { display: block; }
.night-extra strong { display: block; font-family: var(--serif); font-size: 34px; line-height: 1.1; font-weight: 400; }
.night-extra > p, .night-extra blockquote { color: var(--paper-muted); font-family: var(--serif); }
.night-extra blockquote { margin: 0 0 20px; font-size: 23px; line-height: 1.4; }
.night-extra > span:last-child, .night-extra > a { color: var(--brass); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }

/* Activity library */
.surprise-strip { width: var(--page); margin: 0 auto 55px; padding: 34px 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.surprise-strip .eyebrow { margin-bottom: 8px; }
.surprise-strip h2 { margin: 0; font-family: var(--serif); font-size: 38px; font-weight: 400; }
.surprise-actions { display: flex; gap: 12px; }
.surprise-actions a { padding: 11px 15px; border: 1px solid var(--rule); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.surprise-actions a:hover { border-color: var(--brass); color: var(--brass); }
.activity-row { position: relative; border-top: 1px solid var(--rule); }
.activity-row > a { display: grid; grid-template-columns: 55px 1fr 100px 20px; gap: 28px; align-items: center; padding: 29px 52px 29px 0; }
.activity-index { font-family: var(--serif); font-style: italic; color: #756f67; }
.activity-main h2 { margin: 5px 0; font-family: var(--serif); font-size: 31px; font-weight: 400; }
.activity-main p { margin: 0; color: var(--paper-muted); font-family: var(--serif); }
.activity-level { color: var(--brass); letter-spacing: .12em; text-align: right; }
.activity-level small { display: block; color: #716b64; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.activity-row > .fav-button { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); }

/* Reader */
.reader { padding-bottom: 70px; }
.reader-opening { min-height: 500px; height: min(70vh, 620px); height: min(70svh, 620px); position: relative; overflow: hidden; display: flex; align-items: end; isolation: isolate; }
.reader-image { margin: 0; position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.reader-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,13,12,.93) 0%, rgba(15,14,13,.5) 56%, rgba(12,11,10,.2) 100%), linear-gradient(90deg, rgba(12,11,10,.7), rgba(12,11,10,.12) 78%); }
.reader-image img { width: 100%; height: 100%; object-fit: cover; }
.reader-image figcaption { position: absolute; z-index: 1; right: max(24px, calc((100vw - 720px) / 2)); bottom: 21px; font-family: var(--serif); font-style: italic; font-size: 12px; color: #d0c7b9; }
.reader-head, .reader-body, .reader-end { width: min(720px, calc(100vw - 48px)); margin-left: auto; margin-right: auto; }
.reader-opening .reader-head { width: min(900px, calc(50vw + 336px)); margin-left: max(24px, calc((100vw - 720px) / 2)); margin-right: 0; padding: 155px 0 68px; border: 0; }
.reader-head h1 { margin: 0; font-family: var(--serif); font-size: clamp(50px, 6.2vw, 78px); line-height: .98; letter-spacing: -.05em; font-weight: 400; text-wrap: balance; }
.reader-dek { max-width: 680px; margin: 22px 0 0; color: #c7beb1; font-family: var(--serif); font-size: 21px; line-height: 1.45; }
.reader-continue { position: absolute; z-index: 2; left: max(24px, calc((100vw - 720px) / 2)); bottom: 20px; display: inline-flex; align-items: center; gap: 13px; color: var(--brass); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.reader-continue span { transition: transform .35s ease; }
.reader-continue:hover span { transform: translateY(4px); }
.reader-opening--plain { min-height: 0; height: auto; overflow: visible; display: block; }
.reader-opening--plain .reader-head { width: min(720px, calc(100vw - 48px)); padding: 125px 0 53px; border-bottom: 1px solid var(--rule); }
.series-note { margin: 25px 0 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #817b72; }
.reader-body { --reader-size: 21px; padding-top: 48px; font-family: var(--serif); font-size: var(--reader-size); line-height: 1.82; color: #d2c9bb; }
.reader-body p { margin: 0 0 1.55em; }
.reader-body.slow p { margin-bottom: 2.3em; line-height: 1.95; }
.phone-down { margin: 70px 0 50px; padding: 34px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-align: center; }
.phone-down span { font-family: var(--sans); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.phone-down p { margin: 12px auto 0; max-width: 490px; color: var(--paper-muted); font-style: italic; }
.reader-end { display: flex; align-items: center; justify-content: space-between; padding-top: 25px; border-top: 1px solid var(--rule); color: var(--paper-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .11em; }
.reader-controls { position: fixed; z-index: 30; right: 18px; bottom: 18px; display: flex; background: #211e1a; border: 1px solid var(--rule); box-shadow: 0 12px 35px rgba(0,0,0,.28); }
.reader-controls button, .reader-controls a { appearance: none; border: 0; border-right: 1px solid var(--rule); background: none; color: var(--paper-muted); padding: 11px 12px; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.reader-controls button[aria-pressed="true"] { color: var(--brass); }
.related-reading { width: var(--page); margin: 80px auto 110px; padding-top: 42px; border-top: 1px solid var(--rule); }
.related-reading > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 45px; }
.related-reading a span { display: block; margin-bottom: 6px; color: var(--brass); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.related-reading a strong { font-family: var(--serif); font-size: 22px; font-weight: 400; }

/* Bedtime mode */
.bedtime-page { overflow: hidden; }
.bedtime-page .site-head { display: none; }
.bedtime-stage { min-height: 100svh; position: relative; display: grid; place-items: center; padding: 75px 24px; background: #11100f; }
.bedtime-topline { position: fixed; z-index: 12; left: 25px; right: 25px; top: 20px; display: flex; justify-content: space-between; align-items: center; color: #8d867c; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.bedtime-topline .fav-button { padding: 0; font-family: var(--sans); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.bedtime-topline a, .bedtime-topline button { min-height: 44px; display: inline-flex; align-items: center; }
.bedtime-controls { position: fixed; z-index: 12; left: 25px; right: 25px; bottom: 19px; display: flex; justify-content: center; gap: 28px; color: #79736c; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.bedtime-controls button { appearance: none; border: 0; background: none; color: inherit; cursor: pointer; padding: 0; }
.bedtime-controls button, .bedtime-controls a { min-height: 44px; display: inline-grid; place-items: center; }
.bedtime-intro { width: min(720px, 100%); text-align: center; }
.bedtime-intro h1 { margin: 0; font-family: var(--serif); font-size: clamp(58px, 8vw, 98px); line-height: .97; letter-spacing: -.05em; font-weight: 400; }
.bedtime-intro > p:not(.eyebrow) { max-width: 520px; margin: 26px auto 38px; color: #918a80; font-family: var(--serif); font-size: 19px; }
.bedtime-intro .text-button { justify-content: space-between; margin: 0 auto; }
.activity-experience { width: min(780px, 100%); text-align: center; }
.activity-prompt { min-height: 2.5em; margin: 15px 0 42px; font-family: var(--serif); font-size: clamp(38px, 6vw, 72px); line-height: 1.13; letter-spacing: -.035em; transition: opacity 1.25s ease, filter 1.8s ease; will-change: opacity, filter; }
.activity-counter { color: var(--brass); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.activity-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; margin: -15px 0 35px; }
.activity-actions button { appearance: none; background: none; border: 1px solid var(--rule); color: var(--paper-muted); padding: 10px 14px; cursor: pointer; }
.activity-next { appearance: none; background: none; color: var(--paper-muted); cursor: pointer; }
.sheep-ticker { width: min(760px, calc(100vw - 42px)); height: 175px; margin: 0 auto 30px; overflow-x: hidden; overflow-y: hidden; border-top: 1px solid rgba(216,208,194,.22); border-bottom: 1px solid rgba(216,208,194,.22); background: linear-gradient(90deg, rgba(10,9,8,.96), rgba(31,28,24,.72) 50%, rgba(10,9,8,.96)); box-shadow: inset 0 0 60px rgba(0,0,0,.55); }
.sheep-ticker-track { min-width: max-content; height: 100%; padding: 18px 48vw 14px 45%; display: flex; align-items: center; gap: 24px; }
.ticker-sheep { width: 92px; flex: 0 0 92px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px; color: #bda477; }
.ticker-sheep img { width: 68px; height: 62px; object-fit: contain; filter: saturate(.64) brightness(.82); opacity: .82; }
.ticker-sheep.is-mirrored img { transform: scaleX(-1); }
.ticker-sheep strong { padding-bottom: 6px; font-family: var(--serif); font-size: 21px; font-weight: 400; font-style: italic; }
.ticker-fence { width: 36px; height: 64px; flex: 0 0 36px; position: relative; border-top: 1px solid rgba(200,169,120,.64); border-bottom: 1px solid rgba(200,169,120,.64); opacity: .7; }
.ticker-fence::before { content: ""; position: absolute; inset: -7px 3px; background: repeating-linear-gradient(90deg, transparent 0 8px, rgba(200,169,120,.74) 8px 10px); }
.ticker-fence::after { content: ""; position: absolute; left: 1px; right: 1px; top: 48%; border-top: 1px solid rgba(200,169,120,.55); }
#driftAudio { display: none; }
#driftSound[aria-pressed="true"] { color: var(--brass); }
.nothing-active { transition: background-color 8s ease; }
.nothing-active .activity-next { display: none; }
.nothing-active .activity-prompt { transition: opacity 3s ease; }
.sorting-board { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; max-width: 420px; margin: 0 auto 28px; }
.sorting-board button { min-height: 50px; }

.wander-stage { overflow: hidden; background: #0b0b0a; }
.wander-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; transition: opacity 6s ease, transform 12s ease; }
.wander-shade { position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(15,14,12,.48), rgba(8,8,7,.9)); }
.wander-scene { position: relative; z-index: 2; width: min(700px, 100%); text-align: center; }
.wander-scene h1 { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(50px, 7vw, 86px); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.wander-scene #wanderBody { max-width: 600px; margin: 0 auto; color: #aaa196; font-family: var(--serif); font-size: 18px; line-height: 1.65; }
.wander-choices { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 42px; }
.wander-choices button { min-height: 64px; appearance: none; border: 1px solid rgba(216,208,194,.24); background: rgba(20,19,17,.5); color: #d4cabe; padding: 14px 20px; font-family: var(--serif); font-size: 16px; cursor: pointer; transition: border-color .35s ease, background .35s ease; }
.wander-choices button:hover { border-color: var(--brass); background: rgba(25,23,20,.75); }

/* Prompts, field notes, search and legal */
.prompt-grid { width: var(--page); margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.prompt-card { min-height: 260px; padding: 26px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; }
.prompt-card > span { color: #756f67; font-family: var(--serif); font-style: italic; }
.prompt-card p { margin: auto 0; font-family: var(--serif); font-size: 23px; line-height: 1.35; }
.prompt-card button { align-self: flex-start; appearance: none; border: 0; border-bottom: 1px solid #756f67; background: none; color: #898279; padding: 2px 0; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; cursor: pointer; }
.pagination { width: var(--page); margin: 45px auto 110px; display: flex; justify-content: space-between; color: var(--paper-muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.article-grid { width: var(--page); margin: 0 auto 125px; display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.article-card { min-height: 310px; padding: 38px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.article-card h2 { margin: 22px 0 14px; font-family: var(--serif); font-size: 37px; line-height: 1.07; font-weight: 400; }
.article-card p { color: var(--paper-muted); font-family: var(--serif); }
.article-card > a:last-child { display: inline-block; margin-top: 15px; color: var(--brass); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.article-interlude { grid-column: 1 / -1; height: 390px; position: relative; overflow: hidden; margin: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.prose-page { width: min(900px, calc(100vw - 48px)); margin: 0 auto; padding: 125px 0 110px; }
.prose-page header { padding-bottom: 50px; border-bottom: 1px solid var(--rule); }
.prose-page header h1 { margin: 0; font-family: var(--serif); font-size: clamp(54px, 7vw, 90px); line-height: .98; letter-spacing: -.05em; font-weight: 400; }
.prose-page header > p:last-child { max-width: 610px; margin: 24px 0 0; color: var(--paper-muted); font-family: var(--serif); font-size: 20px; }
.prose-body { width: min(680px,100%); margin: 0 auto; padding: 52px 0; font-family: var(--serif); font-size: 20px; line-height: 1.78; color: #d0c7ba; }
.prose-body p { margin: 0 0 1.55em; }
.info-note { margin-top: 45px; padding: 25px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); color: #898278; font-family: var(--sans); font-size: 11px; line-height: 1.6; }
.legal-directory { display: flex; gap: 10px 25px; flex-wrap: wrap; padding-top: 35px; border-top: 1px solid var(--rule); color: var(--paper-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.search-page { width: min(850px, calc(100vw - 48px)); margin: 0 auto; padding: 125px 0 110px; }
.search-page form label { display: block; margin-bottom: 18px; font-family: var(--serif); font-size: 31px; }
.search-page form > div { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--paper-muted); }
.search-page input { min-width: 0; border: 0; background: none; color: var(--paper); padding: 11px 0 14px; font-family: var(--serif); font-size: clamp(34px,5vw,62px); outline: none; }
.search-page button { border: 0; background: none; color: var(--brass); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.search-summary { margin: 48px 0 12px; color: var(--paper-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.search-results { border-top: 1px solid var(--rule); }
.search-results > a { display: block; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.search-results strong { display: block; margin-top: 5px; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.search-results p { margin: 4px 0 0; color: var(--paper-muted); }
.empty-state { padding: 70px 0; text-align: center; color: var(--paper-muted); }
.empty-state h2 { margin: 0; font-family: var(--serif); font-size: 38px; color: var(--paper); font-weight: 400; }
.empty-state a { display: inline-block; margin-top: 18px; color: var(--brass); }
.saved-list .saved-row { display: grid; grid-template-columns: 100px 1fr auto; gap: 30px; padding: 28px 0; border-top: 1px solid var(--rule); }
.saved-row > span { color: var(--brass); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.saved-row strong { display: block; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.saved-row p { margin: 4px 0 0; color: var(--paper-muted); font-family: var(--serif); }

.contact-page { width: var(--page); margin: 0 auto; padding: 125px 0 130px; display: grid; grid-template-columns: 1.1fr .8fr; gap: 100px; }
.contact-page h1, .not-found h1 { margin: 0; font-family: var(--serif); font-size: clamp(52px, 6vw, 82px); line-height: .98; letter-spacing: -.045em; font-weight: 400; }
.contact-page > div > p:last-child { max-width: 520px; color: var(--paper-muted); font-family: var(--serif); font-size: 18px; }
.contact-page form label { display: block; margin-bottom: 27px; color: var(--paper-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.contact-page input, .contact-page textarea { display: block; width: 100%; min-width: 0; margin-top: 9px; border: 0; border-bottom: 1px solid var(--rule); background: none; color: var(--paper); padding: 11px 0; font-family: var(--serif); font-size: 18px; resize: vertical; outline: none; }
.contact-page textarea { border: 1px solid var(--rule); padding: 14px; }
.contact-thanks { align-self: center; text-align: center; }
.contact-thanks span { color: var(--brass); }.contact-thanks h2 { margin: 10px 0; font-family: var(--serif); font-size: 52px; font-weight: 400; }
.hp { position: absolute !important; left: -10000px !important; }
.not-found { width: min(850px, calc(100vw - 48px)); min-height: 74vh; margin: 0 auto; padding: 140px 0; }
.not-found p { color: var(--paper-muted); font-family: var(--serif); font-size: 20px; }

@media (max-width: 920px) {
  .editorial-header { grid-template-columns: 1fr; gap: 25px; padding: 90px 0 65px; }
  .editorial-header h1 { font-size: clamp(52px,10vw,78px); }
  .section-hero-copy { grid-template-columns: 1fr; gap: 23px; padding: 100px 0 60px; }
  .section-hero-copy h1 { font-size: clamp(53px, 10vw, 78px); }
  .section-hero-copy > p:last-child { max-width: 520px; }
  .archive-layout { grid-template-columns: 1fr; gap: 70px; }
  .night-index { position: static; }
  .night-extras { grid-template-columns: 1fr; }
  .prompt-grid { grid-template-columns: repeat(2,1fr); }
  .contact-page { grid-template-columns: 1fr; gap: 60px; }
  .activity-row > a { grid-template-columns: 40px 1fr 70px 18px; gap: 16px; }
}

@media (max-width: 620px) {
  .editorial-header { padding-top: 75px; }
  .editorial-header h1 { font-size: 51px; }
  .section-hero { min-height: 610px; }
  .section-hero-shade { background: linear-gradient(0deg, rgba(7,6,5,.94) 0%, rgba(7,6,5,.45) 68%, rgba(7,6,5,.25) 100%), linear-gradient(90deg, rgba(7,6,5,.72), transparent 88%); }
  .section-hero-copy { padding: 92px 0 48px; }
  .section-hero-copy h1 { font-size: 50px; }
  .section-hero-copy > p:last-child { font-size: 17px; }
  .section-hero-stories > img { object-position: 64% center; }
  .section-hero-activities > img { object-position: 66% center; }
  .section-hero-notes > img { object-position: 67% center; }
  .catalog-interlude { height: 270px; margin: 42px 0 28px; }
  .catalog-interlude figcaption, .article-interlude figcaption { left: 18px; right: 18px; bottom: 17px; font-size: 16px; }
  .catalog-row { grid-template-columns: 35px 1fr 32px; gap: 12px; padding: 27px 0; }
  .catalog-copy h2 { font-size: 27px; }
  .inner-hero { min-height: 480px; }
  .inner-hero-copy { padding-bottom: 48px; }
  .inner-hero-copy h1 { font-size: 58px; }
  .archive-layout { padding: 70px 0 95px; }
  .night-extras { gap: 45px; }
  .surprise-strip { grid-template-columns: 1fr; }
  .surprise-actions { flex-wrap: wrap; }
  .activity-row > a { grid-template-columns: 30px 1fr 18px; padding-right: 40px; }
  .activity-level { display: none; }
  .activity-main h2 { font-size: 26px; }
  .reader-opening { min-height: 600px; height: min(78svh, 680px); }
  .reader-opening .reader-head { width: calc(100vw - 40px); margin: 0 auto; padding: 130px 0 78px; }
  .reader-image img { object-position: 56% center; }
  .reader-image figcaption { display: none; }
  .reader-continue { left: 20px; bottom: 22px; }
  .reader-opening--plain { min-height: 0; height: auto; }
  .reader-opening--plain .reader-head { width: calc(100vw - 40px); padding: 82px 0 48px; }
  .reader-body, .reader-end { width: calc(100vw - 40px); }
  .reader-head h1 { font-size: 50px; }
  .reader-dek { font-size: 19px; }
  .reader-body { --reader-size: 20px; line-height: 1.75; }
  .reader-controls { right: 8px; bottom: 8px; left: 8px; justify-content: center; }
  .reader-controls button, .reader-controls a { flex: 1; text-align: center; }
  .reader-controls button, .reader-controls a { min-height: 44px; display: inline-grid; place-items: center; }
  .related-reading > div { grid-template-columns: 1fr; gap: 25px; }
  .bedtime-stage { padding: 65px 20px 78px; }
  .bedtime-intro h1 { font-size: 57px; }
  .activity-prompt { font-size: 40px; }
  .sheep-ticker { height: 150px; }
  .sheep-ticker-track { padding-left: 34%; gap: 16px; }
  .ticker-sheep { width: 76px; flex-basis: 76px; }
  .ticker-sheep img { width: 54px; height: 52px; }
  .ticker-fence { height: 55px; }
  .wander-scene h1 { font-size: 50px; }
  .wander-choices { grid-template-columns: 1fr; gap: 10px; }
  .wander-scene #wanderBody { font-size: 16px; }
  .bedtime-controls { gap: 20px; }
  .prompt-grid { grid-template-columns: 1fr; }
  .prompt-card { min-height: 220px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 270px; padding: 28px 24px; }
  .article-card h2 { font-size: 32px; }
  .article-interlude { height: 300px; }
  .prose-page { padding-top: 85px; }
  .prose-page header h1 { font-size: 50px; }
  .prose-body { font-size: 19px; }
  .saved-list .saved-row { grid-template-columns: 1fr auto; gap: 10px; }
  .saved-row > span { grid-column: 1 / -1; }
  .search-page { padding-top: 85px; }
  .contact-page { padding-top: 85px; }
}
