/* Static Carved pages (/plus/, /year/, /welcome-home/): paper, the season's ink, the Carved type and kit.
   Tokens are in carved.css; the footer and skip link come from home.css. */
.page-head { position: relative; z-index: 2; }
.page { position: relative; z-index: 1; padding-bottom: clamp(56px, 8vw, 112px); }
.page .wrap + .wrap { margin-top: clamp(28px, 4vw, 48px); }

.page-hero { display: grid; gap: 20px; padding-top: clamp(28px, 6vw, 88px); }
.page-title { font: 700 clamp(36px, 5.2vw, 72px)/1.02 var(--serif); letter-spacing: -.025em; margin: 0; max-width: 18ch; text-wrap: balance; }
.page-hero .lede { max-width: 40ch; }
.page .h3 { font: 700 clamp(22px, 2.2vw, 28px)/1.15 var(--serif); letter-spacing: -.01em; margin: 0; }
.page .body { font: 400 17px/1.55 var(--sans); margin: 0; max-width: 60ch; }
.page .note { font: 400 15px/1.55 var(--sans); color: var(--muted); margin: 0; max-width: 60ch; }

.pair { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: start; }
.pair .card { padding: 30px 28px 28px; display: grid; gap: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 26px; font: 400 17px/1.45 var(--sans); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: var(--ochre); }
.pair .card.is-plus .ticks li::before { background: var(--season); }

.act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 8px; }
.act .quiet { font: 600 16px/1.2 var(--sans); color: var(--season); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.act .quiet:hover { color: var(--season-edge); }

.hero-arch { display: none; }
@media (min-width: 960px) {
  .hero-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
  .hero-arch { display: block; height: min(520px, 64svh); border-radius: 50% 50% 0 0 / 34% 34% 0 0; overflow: hidden; border: 2px solid var(--ink); outline: 1px solid var(--ochre); outline-offset: -9px; }
  .hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
}

/* The path back: numbered steps, each a door into the app or onto the site. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); counter-reset: step; }
.steps li { counter-increment: step; }
.steps .card { padding: 28px 24px 24px; display: grid; gap: 12px; align-content: start; height: 100%; }
.steps .card::before { content: counter(step); font: 700 15px/1 var(--sans); color: var(--ochre-text); }
.steps .card .body { font-size: 16px; }
.steps .go { margin-top: 6px; font: 600 16px/1.2 var(--sans); color: var(--season); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* The year: the wheel on a night panel, then the seasons in order. */
.night { --paper: #1D2340; --sheet: rgba(32, 38, 74, .95); --sheet-solid: #20264A; --ink: #F0E5CC; --ochre: #D9AE5F; --ochre-text: #D9AE5F; --muted: #B9B3A3;
  position: relative; background: #1D2340; color: #F0E5CC; border: 2px solid var(--ink); outline: 1px solid #D9AE5F; outline-offset: -9px;
  border-radius: 14px 18px 13px 17px; padding: clamp(20px, 4vw, 48px) clamp(12px, 3vw, 40px); overflow: hidden; }
.wheel-shell { position: relative; width: min(680px, 100%); aspect-ratio: 5 / 4; margin: 0 auto; isolation: isolate; }
/* The canvas draws its ring in a square; it sits 20% above the shell so the empty top and bottom are cropped. */
.hero-wheel { position: absolute; left: 0; top: -20%; width: 100%; height: 125%; z-index: 1; touch-action: pan-y; }
.wheel-shell::before { content: ""; position: absolute; inset: 0 10%; border-radius: 50%; background: radial-gradient(circle, rgba(244, 217, 140, .16), rgba(244, 217, 140, 0) 68%); filter: blur(8px); z-index: 0; }
.wheel-readout { position: absolute; left: 50%; top: 45%; z-index: 2; width: min(16rem, 52%); transform: translate(-50%, -50%); text-align: center; pointer-events: none; }
.wheel-label { color: #D9AE5F; font: 700 11px/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.wheel-season { margin-top: 7px; color: #F0E5CC; font: 700 clamp(22px, 3vw, 32px)/1.1 var(--serif); }
.wheel-blurb { margin: 6px auto 0; color: #CFC6B2; font: 400 14px/1.4 var(--sans); }
.wheel-feast { position: absolute; left: 50%; bottom: 7%; z-index: 3; display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 8px 14px;
  transform: translateX(-50%); border: 1px solid rgba(217, 174, 95, .5); border-radius: 999px; background: rgba(20, 24, 48, .9); color: #D8CAB0;
  font: 600 13px/1.2 var(--sans); opacity: 0; transition: opacity .22s ease, transform .22s ease; pointer-events: none; }
.wheel-shell.has-feast .wheel-feast { opacity: 1; transform: translateX(-50%) translateY(-4px); }
.wheel-feast b { color: #F0E5CC; }
.wheel-hint { position: absolute; left: 50%; bottom: 10px; z-index: 3; transform: translateX(-50%); color: #B9B3A3; font: 600 11px/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; pointer-events: none; }
html:not(.js) .night { display: none; }

.seasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.seasons li { padding: 18px 18px 18px 22px; border-left: 6px solid var(--bar, var(--ochre)); background: var(--sheet); border-radius: 4px 10px 10px 4px; display: grid; gap: 4px; }
.seasons .name { font: 700 20px/1.15 var(--serif); }
.seasons .line { font: 400 15px/1.45 var(--sans); color: var(--muted); }

@media (max-width: 560px) {
  .page .wrap { padding-inline: 16px; }
  .pair .card { padding: 26px 22px 24px; }
  .wheel-hint { font-size: 10px; }
  .wheel-readout { width: 38%; }
  .wheel-label { font-size: 9px; }
  .wheel-season { font-size: 17px; margin-top: 4px; }
  .wheel-blurb { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wheel-feast { transition: none; } }

.page-head .brand { white-space: nowrap; }
@media (max-width: 560px) { .page-head .nav .block { padding: 0 16px; min-height: 46px; font-size: 16px; } .page-head .brand { font-size: 19px; } }
