.launch-hero {
  padding-block: clamp(3.5rem, 7.5vw, 7.5rem);
  background: radial-gradient(ellipse at 89% 40%, var(--moss), transparent 64%), var(--paper);
}
.launch-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(2.4rem, 6vw, 6.25rem);
  align-items: center;
}
.launch-copy .eyebrow { color: var(--primary); margin-bottom: 1.1rem; }
.launch-copy h1 { font-size: clamp(3.8rem, 7.8vw, 7.8rem); line-height: .89; }
.launch-copy h1 em { display: block; color: var(--primary); }
.launch-copy .section-intro { max-width: 40ch; margin-top: 1.3rem; color: var(--muted); }
.launch-copy .pill { margin-top: 1.45rem; background: var(--primary); color: var(--cream); }
.launch-copy .pill:hover { background: var(--forest); }
.launch-photo .photo-frame {
  aspect-ratio: 5 / 4;
  border-radius: clamp(2.2rem, 6vw, 6rem) .75rem .75rem .75rem;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, transparent);
}
.launch-photo img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-grade); }
.launch-photo figcaption { padding-top: .8rem; color: var(--muted); font-size: .68rem; }
.launch-spark {
  display: grid;
  justify-self: center;
  place-items: center;
  width: min(80%, 23rem);
  aspect-ratio: 1;
  color: var(--primary);
  background:
    repeating-radial-gradient(circle, transparent 0 1.45rem, color-mix(in srgb, var(--primary) 16%, transparent) 1.48rem 1.52rem),
    color-mix(in srgb, var(--moss) 67%, var(--paper));
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
  font-size: clamp(4.8rem, 14vw, 12rem);
}
.launch-email, .footer-email { overflow-wrap: anywhere; }
.launch-contact-state { margin-top: 1.5rem; color: var(--primary); font-weight: 700; }
.launch-details {
  padding-block: clamp(3rem, 7vw, 6rem);
  border-block-start: 1px solid var(--sand);
}
.launch-details h2 { max-width: 25ch; margin: 0 0 1.5rem; font-size: clamp(2.4rem, 4.8vw, 4.1rem); }
.launch-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.launch-cards article {
  padding: clamp(1.2rem, 2.8vw, 2.25rem);
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: .85rem;
}
.launch-cards h3 { font: 700 clamp(1.02rem, 1.8vw, 1.25rem)/1.25 "DM Sans", sans-serif; }
.launch-answer { color: var(--muted); line-height: 1.57; }
.launch-cards .launch-answer { margin-top: .55rem; }
.launch-questions { max-width: 55rem; }
.launch-questions details { border-top: 1px solid var(--sand); }
.launch-questions details:last-child { border-bottom: 1px solid var(--sand); }
.launch-questions summary { position: relative; padding: 1.15rem 2rem 1.15rem .2rem; font-weight: 700; }
.launch-questions .launch-answer { padding: 0 1.2rem 1.3rem .2rem; max-width: 66ch; }
.footer-email { display: inline-block; margin-top: .45rem; font-size: .86rem; }
.site-header .text-link[aria-current="page"] { color: var(--primary); text-decoration: underline; text-underline-offset: .24em; }

@media (max-width: 720px) {
  .launch-hero-grid, .launch-cards { grid-template-columns: minmax(0, 1fr); }
  .launch-hero-grid { gap: 2rem; }
  .launch-hero { padding-top: 2.7rem; }
  .launch-copy h1 { font-size: clamp(3.55rem, 13vw, 5.8rem); }
  .launch-spark { display: none; }
  .launch-photo .photo-frame { aspect-ratio: 8 / 5; }
}

/* ───────────────────────── Review refresh (Nov 2026) ─────────────────────────
   Visual polish layered on top of the existing styles. Everything below is
   additive; delete this block to return to the previous look. */

::selection { background: color-mix(in srgb, var(--primary) 82%, transparent); color: var(--cream); }

/* Warm paper grain over the whole page. */
.site-shell { position: relative; }
.site-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: .06;
  background-image: url("./media/grain.png");
}

/* Header: frosted glass once the page scrolls. */
.site-header.paper-header.is-scrolled {
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
}

/* Reveals: content rises out of a soft focus, photos settle into place. */
.motion-on [data-reveal] {
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease),
    clip-path var(--duration) var(--ease), filter var(--duration) var(--ease);
  transition-delay: var(--delay, 0ms);
}
.motion-on [data-reveal].awaiting { filter: blur(7px); }
.motion-on [data-reveal] :is(.photo-frame img, figure img) {
  transition: transform 1.6s cubic-bezier(.16,1,.3,1) var(--delay, 0ms), filter 400ms;
}
.motion-on [data-reveal].awaiting :is(.photo-frame img, figure img) { transform: scale(1.12); }
@media (hover: hover) {
  .motion-on [data-reveal]:not(.awaiting) :is(.photo-frame, figure):hover img { transform: scale(1.035); }
}

/* Buttons: lift, press, and a quick light sweep. */
.pill:not(.map-phone-quest) { position: relative; overflow: hidden; isolation: isolate; }
.pill { transition: background-color 220ms, color 220ms, box-shadow 260ms, transform 260ms cubic-bezier(.34,1.56,.64,1); }
.pill:not(.map-phone-quest)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, color-mix(in srgb, var(--cream) 38%, transparent) 50%, transparent 70%);
  transform: translateX(-120%);
  pointer-events: none;
}
@media (hover: hover) {
  .pill:hover { transform: translateY(-2px); box-shadow: 0 .7rem 1.6rem -.6rem color-mix(in srgb, var(--forest) 55%, transparent); }
  .motion-on .pill:not(.map-phone-quest):hover::after { transform: translateX(120%); transition: transform 700ms var(--ease); }
}
.pill:active { transform: translateY(0) scale(.97); transition-duration: 90ms; }

/* Dark sections: soft spotlight that follows the pointer. */
.tone-forest, .tone-night { position: relative; }
.tone-forest::before, .tone-night::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--glow, 0);
  transition: opacity 600ms;
  background: radial-gradient(42rem circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--sage) 13%, transparent), transparent 62%);
}
.tone-forest > *, .tone-night > * { position: relative; }

/* Roadmap: the "in development" dot breathes. */
.stage-card.status-active .status-tag span { width: .5rem; height: .5rem; flex: 0 0 .5rem; border-radius: 50%; margin-inline: .4rem; }
.motion-on .stage-card.status-active .status-tag span,
.motion-on .position-dot { animation: dot-breathe 2.6s ease-in-out infinite; }
.stage-features summary span::after { display: inline-block; transition: transform 300ms var(--ease); }
.stage-features details[open] summary span::after { transform: rotate(180deg); }
@keyframes dot-breathe {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lime) 55%, transparent); }
  50% { box-shadow: 0 0 0 7px transparent; }
}
.stage-card { transition: background-color 400ms; border-radius: .2rem; }
@media (hover: hover) {
  .tone-forest .stage-card:hover, .tone-night .stage-card:hover { background: color-mix(in srgb, var(--cream) 3.5%, transparent); }
}

/* Cover phone: once assembled it floats gently and the quest button glows. */
.motion-on .map-cover.is-landed .map-phone { animation: phone-float 6.5s ease-in-out infinite; }
@keyframes phone-float {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -7px; rotate: -.4deg; }
}
.motion-on .map-cover.is-landed .map-phone-quest { animation: quest-glow 2.8s ease-in-out 600ms infinite; }
@keyframes quest-glow {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 45%, transparent); }
  55% { box-shadow: 0 0 0 9px transparent; }
}
.map-cover .map-phone-screen { position: relative; }
.motion-on .map-cover.is-landed .map-phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, #ffffff55 48%, transparent 60%) no-repeat;
  background-size: 250% 100%;
  animation: screen-glint 1.4s var(--ease) 150ms both;
}
@keyframes screen-glint { from { background-position: 130% 0; } to { background-position: -60% 0; } }
.map-phone-choices label > span { transition: background-color 200ms, border-color 200ms, transform 220ms cubic-bezier(.34,1.56,.64,1); }
.map-phone-choices label:hover > span { transform: translateY(-1px); }
.map-phone-choices input:checked + span { transform: scale(1.03); }

/* Links: underline that draws in. */
@media (hover: hover) {
  .site-footer a.text-link, .footer-meta nav a {
    text-decoration: none;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size 320ms var(--ease);
  }
  .site-footer a.text-link:hover, .footer-meta nav a:hover { background-size: 100% 1px; }
}
.footer-meta nav a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }

/* Footer: big quiet wordmark. */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: "SideQuest";
  position: absolute;
  left: 50%;
  bottom: -.28em;
  translate: -50% 0;
  font: italic clamp(6rem, 21vw, 19rem)/1 var(--heading);
  letter-spacing: -.04em;
  white-space: nowrap;
  color: color-mix(in srgb, var(--cream) 5%, transparent);
  pointer-events: none;
}
.site-footer > * { position: relative; }
.site-footer { padding-block: 3.5rem clamp(5rem, 13vw, 11rem); }

/* Headings: words rise in one after another. */
.word { display: inline-block; overflow: clip; overflow-clip-margin: .2em; padding-bottom: .08em; margin-bottom: -.08em; vertical-align: top; }
.word > span { display: inline-block; }
.motion-on [data-reveal] .word > span {
  transition: transform 900ms cubic-bezier(.16,1,.3,1), opacity 700ms;
  transition-delay: calc(var(--delay, 0ms) + var(--word, 0) * 55ms);
}
.motion-on [data-reveal].awaiting .word > span { transform: translateY(105%); opacity: 0; }
.motion-on [data-reveal].awaiting:has(.word) { filter: none; }

/* Dark sections and footer slide over the previous section like a sheet. */
.site-section.tone-forest, .site-section.tone-night, .site-footer {
  --sheet: clamp(1.5rem, 4vw, 3.25rem);
  z-index: 1;
  margin-top: calc(var(--sheet) * -1);
  border-radius: var(--sheet) var(--sheet) 0 0;
  box-shadow: 0 -1.2rem 2.5rem -1.5rem color-mix(in srgb, var(--night) 45%, transparent);
}
.site-section.tone-forest::before, .site-section.tone-night::before { border-radius: inherit; }
