/* ==========================================================================
   Win the Week · "The Week"
   Page styles on top of scrollcraft.css. Brand values come from the Win the
   Week design system (FACTS.md mirrors them). No new colours, no new faces.
   ========================================================================== */

:root {
  --sc-canvas:     #F5F0E8;   /* Warm Cream */
  --sc-surface:    #FFFFFF;   /* Cloud White */
  --sc-ink:        #2E2E2E;   /* Charcoal Black */
  --sc-ink-soft:   #5F574E;   /* cream-tinted secondary */
  --sc-accent:     #ff6b5e;   /* Sunrise Coral: this Sunday's work */
  --sc-accent-ink: #1A1A1A;
  --sc-font-display: "Inter", system-ui, sans-serif;
  --sc-font-text:    "Inter", system-ui, sans-serif;
  --sc-shadow-color: 30 20% 18%;

  --coral: #ff6b5e;
  --coral-dark: #e85a4d;
  --teal: #2a8d9c;          /* Deep Teal: growth only */
  --teal-dark: #1b6b73;
  --charcoal: #2E2E2E;
  --deep: #1A1A1A;
  --cream: #F5F0E8;
  --white: #FFFFFF;
  --line: #E5E0D8;
  --serif: "Playfair Display", Georgia, serif;

  --bar-h: 64px;
  --slip-w: 248px;
  --slip-h: 66px;
}

html { scroll-behavior: auto; }
body { background: var(--cream); color: var(--charcoal); -webkit-font-smoothing: antialiased; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 16px; background: var(--deep); color: var(--cream); border-radius: 6px; transform: translateY(-160%); transition: transform 160ms var(--sc-ease-out); }
.skip:focus-visible { transform: none; }

.tone-dark { --sc-canvas: #1A1A1A; --sc-ink: #F5F0E8; --sc-ink-soft: #C9BFB2; color: var(--sc-ink); }

/* ---- type ---------------------------------------------------------------- */
.display {
  font-family: var(--sc-font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.3rem, 1.25rem + 2.9vw, 4.1rem);
  line-height: 0.95; letter-spacing: -0.035em; margin: 0; text-wrap: balance;
}
.display--hero { font-size: clamp(3.1rem, 1.3rem + 4.6vw, 6.4rem); letter-spacing: -0.04em; }
.pt { color: var(--coral); }
.pt--teal { color: var(--teal); }
.body { margin: 0; max-width: 60ch; font-size: clamp(1.02rem, 0.97rem + 0.2vw, 1.14rem); line-height: 1.62; color: var(--sc-ink-soft); text-wrap: pretty; }
.body--small { font-size: 0.95rem; }
.body--heart { color: var(--charcoal); font-weight: 600; }
blockquote { margin: 0; }
blockquote p { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; line-height: 1.45; text-wrap: pretty; }
figure { margin: 0; }
figcaption strong { display: block; font-weight: 700; }

/* ---- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--coral); color: var(--deep);
  font: 700 1rem/1 var(--sc-font-text); letter-spacing: -0.005em; white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 1px 2px hsl(8 60% 30% / 0.25), 0 8px 20px -8px hsl(8 80% 40% / 0.45);
  transition: background-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.btn:hover { background: #ff7c70; }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }

/* ---- the bar and the week rail ------------------------------------------ */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--bar-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 var(--sc-gutter);
  background: var(--deep); color: var(--cream);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  transition: background-color 240ms var(--sc-ease-out), color 240ms var(--sc-ease-out), border-color 240ms var(--sc-ease-out);
}
.bar[data-tone="light"] { background: var(--white); color: var(--charcoal); border-bottom-color: var(--line); }
.bar__brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 900; letter-spacing: -0.02em; font-size: 1.02rem; justify-self: start; }
.bar__actions { justify-self: end; display: flex; align-items: center; gap: 20px; }
.bar__login { color: inherit; text-decoration: none; font-size: 0.9rem; font-weight: 600; opacity: 0.82; }
.bar__login:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--coral); }

.rail { display: flex; align-items: center; gap: 16px; }
.rail__days { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.rail__days button {
  position: relative; width: 38px; height: 40px; border: 0; border-radius: 8px; cursor: pointer;
  background: transparent; color: inherit; opacity: 0.55;
  font: 700 0.82rem/1 var(--sc-font-text); letter-spacing: 0.02em;
  transition: background-color 200ms var(--sc-ease-out), color 200ms var(--sc-ease-out), opacity 200ms var(--sc-ease-out);
}
.rail__days button::after {
  content: ""; position: absolute; left: 9px; right: 9px; bottom: 6px; height: 3px; border-radius: 2px;
  background: currentColor; opacity: 0.25; transform-origin: 0 50%;
  transition: background-color 240ms var(--sc-ease-out), opacity 240ms var(--sc-ease-out);
}
.rail__days button:hover { opacity: 0.9; }
.rail__days button:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.rail__days button.is-past { opacity: 0.9; }
.rail__days button.is-past::after { opacity: 0.85; background: var(--coral); }
.rail__days button.is-today { opacity: 1; background: var(--coral); color: var(--deep); }
.rail__days button.is-today::after { background: var(--deep); opacity: 0.55; }
.rail__sun button { width: 44px; }
.rail[data-sunday="true"] .rail__days button { opacity: 1; }
.rail[data-sunday="true"] .rail__days button::after { background: var(--coral); opacity: 1; }
.rail__count { margin: 0; min-width: 9.5rem; font-size: 0.84rem; font-weight: 600; font-variant-numeric: tabular-nums; opacity: 0.85; white-space: nowrap; }

/* ==========================================================================
   MONDAY → WEDNESDAY
   ========================================================================== */
.act-week { background: var(--cream); }
.week-stage { background: var(--cream); }

.plate { position: absolute; will-change: transform, opacity; }
.plate img { display: block; width: 100%; height: 100%; object-fit: cover; max-width: none; }

.plate--stage { inset: 0; z-index: 2; background: #141312; overflow: hidden; }
.plate--stage img { object-position: 50% 42%; transform-origin: 50% 55%; will-change: transform; }
.plate__dawn { position: absolute; inset: 0; background: radial-gradient(90% 70% at 70% 8%, rgb(255 236 214 / 0.18), transparent 62%); mix-blend-mode: screen; }
.plate__haze { position: absolute; inset: -10% -20%; background:
  radial-gradient(40% 30% at 30% 40%, rgb(255 255 255 / 0.10), transparent 70%),
  radial-gradient(35% 26% at 70% 30%, rgb(255 244 232 / 0.08), transparent 70%);
  will-change: transform; }
/* Density where the hero copy sits: the lower band plus the lead corner. */
.plate__scrim { position: absolute; inset: 0; background:
  radial-gradient(70% 62% at 0% 100%, rgb(18 17 16 / 0.7) 0%, rgb(18 17 16 / 0.45) 48%, transparent 78%),
  linear-gradient(to top, rgb(18 17 16 / 0.95) 0%, rgb(18 17 16 / 0.8) 28%, rgb(18 17 16 / 0.5) 48%, rgb(18 17 16 / 0.16) 64%, transparent 76%); }

.plate--desk { top: 0; right: 0; bottom: 0; width: 64%; z-index: 1; opacity: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%); mask-image: linear-gradient(to right, transparent 0, #000 18%); }
.plate--desk img { object-position: 50% 0%; }

/* hero copy, lower lead corner over the dark floor of the stage */
.hero-col { position: absolute; z-index: 6; left: var(--sc-gutter); right: var(--sc-gutter); bottom: clamp(2.5rem, 9vh, 6.5rem); pointer-events: none; }
.hero-copy { width: fit-content; max-width: min(62rem, 100%); color: var(--cream); pointer-events: auto; }
.hero-copy .display--hero { color: var(--white); }
.hero-sub { margin: 22px 0 0; max-width: 36rem; font-size: clamp(1.08rem, 1rem + 0.35vw, 1.32rem); line-height: 1.5; font-weight: 500; color: #EFE8DE; letter-spacing: -0.005em; }
.hero-act { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-note { font-size: 0.92rem; color: #D9D0C4; }

/* Tuesday / Wednesday column: three blocks stacked in one grid cell */
.week-col { position: absolute; z-index: 6; left: var(--sc-gutter); top: var(--bar-h); bottom: 0; width: min(34vw, 31rem);
  display: grid; align-items: center; pointer-events: none; }
.week-col > * { grid-area: 1 / 1; pointer-events: auto; }
.week-copy { display: flex; flex-direction: column; gap: 20px; opacity: 0; }
.week-copy .display { color: var(--deep); }
.week-quote blockquote p { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.7rem); color: var(--deep); }
.week-quote figcaption { font-size: 0.9rem; color: var(--sc-ink-soft); line-height: 1.45; }
.week-quote figcaption strong { color: var(--deep); font-size: 1rem; }
.casey-line { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; margin-top: 6px; padding-top: 20px; border-top: 1px solid var(--line); }
.casey-line img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.casey-line p { margin: 0; font-size: 0.98rem; line-height: 1.55; color: var(--charcoal); }

/* the sortboard: Wednesday's destination */
.sortboard { position: absolute; z-index: 3; left: 45%; right: var(--sc-gutter); top: calc(var(--bar-h) + 7vh); bottom: 7vh;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: clamp(12px, 1.6vw, 24px); row-gap: 16px; align-content: center; pointer-events: none; }
.sort-col { display: flex; flex-direction: column; gap: 8px; }
.sort-head { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; margin-bottom: 4px; border-radius: 6px; background: var(--deep); color: var(--cream); clip-path: inset(0 100% 0 0); }
.sort-head strong { font-weight: 900; letter-spacing: 0.02em; font-size: 1.02rem; }
.sort-head span { font-size: 0.8rem; color: #CFC6BA; }
.sort-col[data-col="pray"] .sort-head { background: var(--coral); color: var(--deep); }
.sort-col[data-col="pray"] .sort-head span { color: #3a1c18; }
.slot { width: 100%; aspect-ratio: 248 / 66; }
.room { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 26px 20px;
  border-radius: 8px; background: rgb(251 248 243 / 0.97); clip-path: inset(0 100% 0 0);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.04), 0 18px 36px -16px rgb(40 30 20 / 0.5); }
.room__title { margin: 0; font-weight: 900; font-size: clamp(1.6rem, 0.9rem + 1.7vw, 2.6rem); line-height: 1; letter-spacing: -0.025em; color: var(--deep); }
.swoosh-wrap { position: relative; display: inline-block; white-space: nowrap; }
.swoosh { position: absolute; left: -2%; width: 104%; bottom: -0.42em; height: 0.5em; overflow: visible; pointer-events: none; }
.swoosh path { fill: none; stroke: var(--teal); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: var(--draw, 1); vector-effect: non-scaling-stroke; }
.swoosh .swoosh__tail { stroke-width: 3.5; opacity: 0.55; stroke-dashoffset: var(--draw2, 1); }
.room__list { margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 0.95rem; font-weight: 700; color: var(--charcoal); }
.room__list span { display: inline-flex; align-items: center; gap: 9px; }
.room__list span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.pco { display: inline-flex; align-items: center; gap: 12px; margin: 4px 0 0; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 0.86rem; color: var(--sc-ink-soft); width: fit-content; }
.pco img { height: 24px; width: auto; }
.pco strong { color: var(--deep); font-weight: 800; }
.shot figcaption.is-teal strong { color: var(--teal); }

.pile-anchor { position: absolute; left: 70%; top: 54%; width: 1px; height: 1px; pointer-events: none; }

/* the slips */
.slips { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.slip {
  position: absolute; left: 0; top: 0; width: var(--slip-w); height: var(--slip-h);
  display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 16px;
  background: #FFFEFB; color: var(--deep); border-radius: 4px;
  box-shadow: 0 1px 1px hsl(30 20% 10% / 0.18), 0 6px 14px -4px hsl(30 20% 10% / 0.28), 0 18px 34px -16px hsl(30 20% 10% / 0.35);
  transform-origin: 50% 50%; will-change: transform, opacity, filter; opacity: 0;
}
.slip__tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #6B6259; }
.slip__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.slip__text { font-size: 0.95rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slip--pray { background: #FFF6F4; }

/* ==========================================================================
   THURSDAY
   ========================================================================== */
.act-thu { background: var(--white); }
.thu-stage { background: var(--white); }
/* The lead holds still on the left; the platform travels in under it. */
.thu-lead { position: absolute; z-index: 3; left: var(--sc-gutter); top: var(--bar-h); bottom: 0; width: min(28rem, 31vw);
  display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.thu-fade { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; pointer-events: none;
  width: calc(var(--sc-gutter) + min(28rem, 31vw) + 14vw);
  background: linear-gradient(to right, var(--white) 0, var(--white) calc(100% - 12vw), rgb(255 255 255 / 0)); }
.thu-rail { position: absolute; z-index: 1; top: var(--bar-h); bottom: 0; left: 0; display: flex; align-items: center; gap: clamp(28px, 4vw, 64px);
  padding: 0 var(--sc-gutter); will-change: transform; }
.thu-spacer { flex: 0 0 calc(min(28rem, 31vw) + 2vw); }
.thu-lead .display { color: var(--deep); }
.shot { flex: 0 0 min(60vw, 64rem); display: flex; flex-direction: column; gap: 14px; }
.shot__frame { border-radius: 14px; overflow: hidden; background: var(--cream);
  box-shadow: 0 1px 2px hsl(30 20% 20% / 0.14), 0 18px 40px -12px hsl(30 20% 20% / 0.28), 0 50px 90px -40px hsl(30 20% 20% / 0.3); border: 1px solid var(--line); }
.shot__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #FBF9F5; border-bottom: 1px solid var(--line); }
.shot__bar span { width: 10px; height: 10px; border-radius: 50%; background: #E2DCD2; }
.shot__bar em { margin-left: 10px; font-style: normal; font-size: 0.75rem; color: #7A7168; }
.shot img { display: block; width: 100%; height: auto; max-height: calc(100svh - var(--bar-h) - 190px); object-fit: cover; object-position: 50% 0; }
.shot figcaption { font-size: 0.95rem; color: var(--sc-ink-soft); }
.shot figcaption strong { display: inline; color: var(--deep); margin-right: 6px; }
.thu-note { flex: 0 0 min(26rem, 30vw); display: flex; flex-direction: column; gap: 16px; padding-right: 2vw; }
.thu-note blockquote p { font-size: clamp(1.2rem, 1rem + 0.7vw, 1.55rem); color: var(--deep); }
.thu-note figcaption { font-size: 0.9rem; color: var(--sc-ink-soft); }
.thu-note figcaption strong { color: var(--deep); }
.thu-fine { margin: 12px 0 0; font-size: 0.8rem; color: #7A7168; }

/* ==========================================================================
   FRIDAY
   ========================================================================== */
.act-fri { background: var(--cream); padding: clamp(6rem, 10vw, 9rem) var(--sc-gutter) clamp(5rem, 9vw, 8rem); }
.fri-grid { max-width: 82rem; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.fri-photo { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; border-radius: 8px; background: #1A1A1A; }
.fri-photo__move { position: absolute; inset: -9% 0; }
.fri-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 40%; max-width: none; }
.fri-copy { display: flex; flex-direction: column; gap: 20px; }
.fri-copy .display { color: var(--deep); }
.fri-label { margin: 10px 0 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-dark); }
.noticed { list-style: none; margin: -6px 0 0; padding: 0; display: flex; flex-direction: column; }
.noticed li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--charcoal); }
.noticed li::before { content: ""; flex: 0 0 9px; height: 9px; border-radius: 50%; background: var(--teal); transform: translateY(-1px); }

/* ==========================================================================
   SATURDAY
   ========================================================================== */
.sat-copy { position: absolute; z-index: 7; inset: var(--bar-h) var(--sc-gutter) 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 28px; }
.sat-intro { margin: 0; font-size: 1.05rem; letter-spacing: 0.04em; color: #D8CFC3; }
.display--sat { color: var(--cream); font-size: clamp(2.6rem, 1.2rem + 5vw, 6.4rem); letter-spacing: -0.035em; max-width: 14ch; line-height: 1; }
.sat-steps { margin: 8px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; width: 100%; max-width: 66rem; text-align: center; }
.sat-steps > div { padding: 18px 20px 4px; border-left: 1px solid rgb(245 240 232 / 0.16); }
.sat-steps dt { font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem; color: var(--teal); color: #6FC3CF; }
.sat-steps dd { margin: 8px 0 0; font-size: 1rem; line-height: 1.55; color: #E8E0D5; }
.sun-why { margin: 14px 0 0; font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.4rem); line-height: 1.5; color: #F0E9DF; font-weight: 600; }
.sun-why em { white-space: nowrap; font-family: "Playfair Display", serif; font-style: italic; color: var(--coral); font-weight: 500; }
.sat-close { margin: 10px 0 0; max-width: 34rem; font-size: 1.12rem; line-height: 1.55; color: #F0E9DF; font-weight: 500; }

/* ==========================================================================
   SUNDAY
   ========================================================================== */
.act-sun { background: #121110; }
.sun-stage { background: #121110; }
.sun-frame { position: absolute; inset: 0; transform-origin: 50% 52%; will-change: transform; }
.sun-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; max-width: none; }
.sun-dim { position: absolute; inset: 0; background: #121110; opacity: 0.7; will-change: opacity; }
.sun-team { opacity: 0; will-change: opacity; -webkit-mask-image: radial-gradient(circle at 52% 50%, #000 var(--r-in, 0%), transparent var(--r-out, 0%)); mask-image: radial-gradient(circle at 52% 50%, #000 var(--r-in, 0%), transparent var(--r-out, 0%)); }
.sun-light { position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen; will-change: opacity;
  background: radial-gradient(55% 45% at 52% 36%, rgb(255 214 170 / 0.30), transparent 70%); }
.sun-near { position: absolute; left: -5%; right: -5%; bottom: -2%; height: 34%; pointer-events: none; will-change: transform;
  background: linear-gradient(to top, #0E0D0C 0%, rgb(14 13 12 / 0.85) 36%, transparent 100%); }
/* A band scrim: the copy spans the width, over the dark rows of the room. */
.sun-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 52%; pointer-events: none;
  background: linear-gradient(to top, rgb(14 13 12 / 0.95) 0%, rgb(14 13 12 / 0.84) 34%, rgb(14 13 12 / 0.4) 66%, transparent 100%); }
.sun-col { position: absolute; z-index: 6; left: var(--sc-gutter); right: var(--sc-gutter); bottom: clamp(2rem, 6vh, 4.5rem);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.sun-side { display: flex; flex-direction: column; gap: 18px; }
.display--sun { color: var(--white); font-size: clamp(2.2rem, 1.1rem + 2.6vw, 3.8rem); max-width: 16ch; }
.sun-quote blockquote p { font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.45rem); color: #F4EEE6; }
.sun-quote figcaption { margin-top: 8px; font-size: 0.88rem; color: #CFC5B8; }
.sun-quote figcaption strong { display: inline; color: var(--white); margin-right: 8px; }
.sun-proof { margin: 0; padding-top: 18px; border-top: 1px solid rgb(245 240 232 / 0.2); font-size: 1rem; line-height: 1.55; color: #F0E9DF; max-width: 36rem; }
.sun-proof span { display: block; margin-top: 6px; font-size: 0.86rem; font-weight: 700; color: var(--coral); }

/* ==========================================================================
   NEXT MONDAY
   ========================================================================== */
.act-close { background: var(--cream); padding: clamp(6rem, 10vw, 9rem) var(--sc-gutter) 0; }
.close-grid { max-width: 82rem; margin: 0 auto; display: grid; grid-template-columns: 1.25fr 0.9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.close-copy { display: flex; flex-direction: column; gap: 22px; }
.close-copy .display { color: var(--deep); max-width: 16ch; }
.close-lead { margin: 0; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.55; color: var(--charcoal); max-width: 40rem; }
.paths { margin: 14px 0 0; padding: 0; border: 0; }
.paths legend { padding: 0; margin-bottom: 12px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sc-ink-soft); }
.paths__opts { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; background: #EAE3D8; }
.paths__opts label { position: relative; }
.paths__opts input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.paths__opts span { display: block; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 0.96rem; color: var(--charcoal); transition: background-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out); }
.paths__opts input:checked + span { background: var(--deep); color: var(--cream); }
.paths__opts input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.paths__opts label:hover span { background: #DDD4C7; }
.paths__opts label:hover input:checked + span { background: var(--deep); }
.path { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.path[hidden] { display: none; }
.path h3 { margin: 0; font-size: 1.35rem; font-weight: 900; letter-spacing: -0.01em; color: var(--deep); }
.path__price { margin: 0; font-size: 1.12rem; color: var(--charcoal); }
.path__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.path__list li { display: flex; gap: 12px; align-items: baseline; font-size: 1rem; color: var(--charcoal); }
.path__list li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 2px; background: var(--coral); transform: translateY(-1px) rotate(45deg); }
.path__fine { margin: 0; font-size: 0.88rem; color: var(--sc-ink-soft); }
.path__quote { margin-top: 6px; padding: 18px 20px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); }
.path__quote blockquote p { font-size: 1.05rem; color: var(--deep); }
.path__quote figcaption { margin-top: 8px; font-size: 0.86rem; color: var(--sc-ink-soft); }
.path__quote figcaption strong { display: inline; color: var(--deep); }

.talk { position: sticky; top: calc(var(--bar-h) + 28px); padding: clamp(24px, 3vw, 36px); border-radius: 14px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 1px 2px hsl(30 20% 20% / 0.08), 0 24px 50px -24px hsl(30 20% 20% / 0.25); display: flex; flex-direction: column; gap: 16px; }
.talk__who { display: grid; grid-template-columns: 60px 1fr; gap: 14px; align-items: center; }
.talk__who img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.talk__who strong { display: block; font-size: 1rem; color: var(--deep); }
.talk__who span { font-size: 0.86rem; color: var(--sc-ink-soft); }
.talk h3 { margin: 6px 0 0; font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.3rem); line-height: 0.98; font-weight: 900; letter-spacing: -0.03em; color: var(--deep); }
.talk p { margin: 0; line-height: 1.55; color: var(--charcoal); }
.talk__note { font-size: 0.86rem; color: var(--sc-ink-soft) !important; text-align: center; }
.talk__email { padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.94rem; }
.talk__email a, .foot a { color: var(--deep); font-weight: 700; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.foot { max-width: 82rem; margin: clamp(5rem, 8vw, 7rem) auto 0; padding: 32px 0 40px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.lockup { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.lockup__name { display: block; }
.lockup__sub { position: relative; display: block; margin-top: 1px; padding: 0 2px 6px 1px; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 500;
  font-size: 1.12rem; letter-spacing: 0.005em; line-height: 1.05; clip-path: inset(-20% 100% -20% 0); animation: lockup-write 1.1s cubic-bezier(.55,.1,.35,1) .7s forwards; }
.lockup__swoosh { position: absolute; left: -3%; bottom: -3px; width: 108%; height: 7px; overflow: visible; }
.lockup__swoosh path { fill: none; stroke: var(--teal); stroke-width: 2.6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: lockup-swoosh .6s cubic-bezier(.3,.6,.3,1) 1.7s forwards; }
@keyframes lockup-write { to { clip-path: inset(-20% -10% -20% 0); } }
@keyframes lockup-swoosh { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .lockup__sub { animation: none; clip-path: none; } .lockup__swoosh path { animation: none; stroke-dashoffset: 0; } }
.foot__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; font-weight: 900; letter-spacing: -0.02em; color: var(--deep) !important; }
.foot p { margin: 0; color: var(--sc-ink-soft); font-size: 0.94rem; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 0.92rem; }

.mobile-book { display: none; }

/* ==========================================================================
   Phones and narrow windows
   ========================================================================== */
@media (max-width: 1080px) {
  .bar__login { display: none; }
  .rail__count { min-width: 0; }
}

@media (max-width: 860px) {
  :root { --bar-h: 60px; --slip-w: 176px; --slip-h: 54px; }
  .bar { grid-template-columns: auto 1fr; gap: 10px; }
  .bar__brand span { display: none; }
  .bar__actions { display: none; }
  .rail { justify-self: end; flex-direction: column; align-items: flex-end; gap: 2px; }
  .rail__days { gap: 2px; }
  .rail__days button { width: 32px; height: 34px; font-size: 0.76rem; }
  .rail__days button::after { left: 8px; right: 8px; bottom: 5px; height: 2px; }
  .rail__sun button { width: 36px; }
  .rail__count { font-size: 0.7rem; line-height: 1; opacity: 0.75; }

  .mobile-book { display: inline-flex; position: fixed; z-index: 55; left: 16px; right: 16px; bottom: max(14px, env(safe-area-inset-bottom)); }

  .slip { padding: 0 11px; gap: 2px; }
  .slip__tag { font-size: 0.56rem; }
  .slip__tag::before { width: 6px; height: 6px; }
  .slip__text { font-size: 0.76rem; }
  .slip[data-m="off"] { display: none; }
  .slot[data-m="off"] { display: none; }
  .slot { aspect-ratio: 176 / 54; }

  .plate--stage img { object-position: 50% 42%; }
  .plate__scrim { background: linear-gradient(to top, rgb(18 17 16 / 0.96) 0%, rgb(18 17 16 / 0.8) 34%, rgb(18 17 16 / 0.2) 56%, transparent 66%); }
  .hero-col { bottom: 92px; }
  .display--hero { font-size: clamp(2.05rem, 0.8rem + 6.4vw, 3.4rem); }
  .hero-sub { font-size: 1.02rem; margin-top: 16px; }
  .hero-act .btn { display: none; }
  .hero-act { margin-top: 14px; }

  .plate--desk { top: var(--bar-h); left: 0; right: 0; bottom: auto; width: auto; height: 46%;
    -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent); mask-image: linear-gradient(to bottom, #000 78%, transparent); }
  .week-col { left: var(--sc-gutter); right: var(--sc-gutter); width: auto; top: calc(var(--bar-h) + 47%); bottom: 88px; align-items: start; }
  .week-copy { gap: 12px; }
  .week-copy .display { font-size: clamp(1.8rem, 1.2rem + 3.2vw, 2.4rem); }
  .week-copy .body { font-size: 0.96rem; line-height: 1.5; }
  .week-quote blockquote p { font-size: 1.08rem; }
  .week-quote figcaption { font-size: 0.8rem; }
  .casey-line { grid-template-columns: 44px 1fr; gap: 12px; padding-top: 12px; margin-top: 0; }
  .casey-line img { width: 44px; height: 44px; }
  .casey-line p { font-size: 0.86rem; line-height: 1.45; }
  .sortboard { left: var(--sc-gutter); right: var(--sc-gutter); top: calc(var(--bar-h) + 14px); bottom: auto; height: calc(46% - 20px); column-gap: 8px; row-gap: 8px; align-content: start; }
  .sort-col { gap: 5px; }
  .sort-head { padding: 7px 8px; margin-bottom: 2px; }
  .sort-head strong { font-size: 0.8rem; }
  .sort-head span { display: none; }
  .pile-anchor { left: 50%; top: calc(var(--bar-h) + 23%); }

  /* On a phone the lead sits above the rail in normal flow, so the rail
     always starts wherever the lead actually ends. */
  .thu-stage { display: flex; flex-direction: column; padding-top: calc(var(--bar-h) + 20px); }
  .thu-lead { position: static; width: auto; padding: 0 var(--sc-gutter); justify-content: flex-start; gap: 12px; flex: 0 0 auto; }
  .thu-lead .display { font-size: clamp(1.9rem, 1.2rem + 3.4vw, 2.6rem); }
  .thu-lead .body { font-size: 0.95rem; line-height: 1.5; }
  .thu-fade, .thu-spacer { display: none; }
  .thu-rail { position: relative; top: auto; bottom: auto; flex: 1 1 auto; min-height: 0; padding-top: 22px; padding-bottom: 96px; gap: 20px; align-items: center; }
  .shot { flex-basis: 84vw; gap: 10px; }
  .shot img { height: clamp(24svh, calc(100svh - var(--bar-h) - 440px), 52svh); max-height: none; object-fit: cover; object-position: 0 0; }
  .shot figcaption { font-size: 0.86rem; }
  .thu-note { flex-basis: 78vw; }
  .thu-note blockquote p { font-size: 1.05rem; }

  .act-fri { padding: 5rem var(--sc-gutter) 4.5rem; }
  .fri-grid { grid-template-columns: 1fr; gap: 32px; }
  .fri-photo { aspect-ratio: 4 / 3.3; }

  .room { padding: 12px 14px; gap: 8px; }
  .room__title { font-size: 1.25rem; }
  .room__list { font-size: 0.72rem; gap: 4px 12px; margin-top: 2px; }
  .swoosh path { stroke-width: 4.5; }
  .sat-copy { gap: 16px; }
  .sat-steps { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .sat-steps > div { padding: 12px 14px 4px; }
  .sat-steps dd { font-size: 0.92rem; }

  .sun-frame img { object-position: 64% 42%; }
  .sun-scrim { height: 82%; background: linear-gradient(to top, rgb(14 13 12 / 0.97) 0%, rgb(14 13 12 / 0.9) 50%, rgb(14 13 12 / 0.55) 72%, transparent 100%); }
  .sun-col { bottom: 92px; grid-template-columns: 1fr; gap: 14px; }
  .sun-side { gap: 12px; }
  .display--sun { font-size: clamp(2rem, 1.2rem + 4.4vw, 2.8rem); }
  .sun-quote blockquote p { font-size: 1rem; }
  .sun-proof { font-size: 0.9rem; padding-top: 12px; }

  .act-close { padding-top: 5rem; }
  .close-grid { grid-template-columns: 1fr; gap: 36px; }
  .paths__opts { border-radius: 16px; }
  .paths__opts span { padding: 10px 14px; font-size: 0.9rem; }
  .talk { position: static; }
  .foot { grid-template-columns: 1fr; gap: 14px; padding-bottom: 110px; }
}

/* Short phones: give Tuesday and Wednesday's copy the room it needs. Casey is
   introduced again at the close, so the line here can go. */
@media (max-width: 860px) and (max-height: 720px) {
  .plate--desk { height: 40%; }
  .sortboard { height: calc(40% - 20px); }
  .week-col { top: calc(var(--bar-h) + 40%); bottom: 80px; }
  .casey-line { display: none; }
  .week-copy .body--heart { display: none; }
  .week-quote blockquote p { font-size: 0.98rem; }
  .thu-lead .body--small { display: none; }
  .shot img { height: 24svh; }
  .room { padding: 9px 12px; gap: 6px; }
  .room__title { font-size: 1.05rem; }
  .room__list { font-size: 0.66rem; }
  .sun-quote { display: none; }
  .hero-note { display: none; }
  .hero-sub { font-size: 0.92rem; line-height: 1.45; }
}

@media (max-width: 380px) {
  .rail__days button { width: 29px; }
  .rail__sun button { width: 32px; }
}

/* Reduced motion: everything is present, nothing travels. */
@media (prefers-reduced-motion: reduce) {
  .fri-photo__move { transform: none !important; }
}
.sun-col .display--sun { max-width: 17ch; }

@media (max-width: 860px) { .pco { font-size: 0.78rem; gap: 10px; padding: 8px 14px; } .pco span { white-space: nowrap; } .pco img { height: 20px; } }

/* A slower, more satisfying pace for entrances */
[data-sc-in], [data-sc-stagger] > * { transition-duration: 1000ms; }
@media (prefers-reduced-motion: reduce) { [data-sc-in], [data-sc-stagger] > * { transition-duration: 220ms; } }
