/* Antionette Kerr, EPIC preview.
   A stage after dark: Bodoni at poster scale, Schibsted Grotesk for reading,
   night plum and cream with one warm spotlight amber. */

:root {
  --night: #170D1B;
  --plum: #2A1530;
  --plum-2: #3B2040;
  --cream: #F2E6D0;
  --cream-soft: #CFC0B6;
  --amber: #E9A94B;
  --amber-deep: #C9872A;
  --ink: #1E1222;
  --ink-soft: #57465A;
  --line: rgba(242, 230, 208, 0.18);

  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-text: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.8vw, 4.75rem);

  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --max: 82rem;
  --header-h: 4.5rem;
  --lane-w: 0px;

  /* Styling tokens for the chat assistant added at deployment. */
  --chatbot-color: var(--amber);
  --chatbot-on-color: var(--night);
  --chatbot-background: var(--night);
  --chatbot-surface: var(--plum);
  --chatbot-text: var(--cream);
  --chatbot-font: var(--font-text);
  --chatbot-radius: 18px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
  padding-right: var(--lane-w);
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
cite { font-style: italic; }
a { color: inherit; }
figure { margin: 0; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
main:focus { outline: none; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--amber);
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-120%);
}
.skip-link:focus { transform: translateY(0.75rem); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 13, 27, 0.9);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgba(23, 13, 27, 0.78); }
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: var(--header-h);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0;
}

.site-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.6rem; }
.site-nav a {
  position: relative;
  font-size: var(--step--1);
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0;
  color: var(--cream-soft);
  transition: color 0.2s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2rem;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav a:hover,
.site-nav a.is-current { color: var(--cream); }
.site-nav a:hover::after,
.site-nav a.is-current::after { transform: scaleX(1); }

.site-nav .site-nav__cta {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--amber);
  color: var(--night);
  font-weight: 600;
  transition: background-color 0.2s ease;
}
.site-nav .site-nav__cta::after { display: none; }
.site-nav .site-nav__cta:hover { background: var(--cream); color: var(--night); }

.menu-toggle { display: none; }

@media (max-width: 899px) {
  .menu-ready .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0.5rem 0.95rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--cream);
    font: 500 var(--step--1) var(--font-text);
    cursor: pointer;
  }
  .menu-toggle__bars,
  .menu-toggle__bars::before {
    display: block;
    width: 16px;
    height: 2px;
    background: currentColor;
    transition: transform 0.2s ease;
  }
  .menu-toggle__bars { position: relative; transform: translateY(-3px); }
  .menu-toggle__bars::before { content: ""; position: absolute; top: 6px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars { transform: translateY(0) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(-6px) rotate(-90deg); }

  .site-nav { width: 100%; padding-bottom: 0.5rem; }
  .menu-ready .site-nav {
    display: none;
    padding: 0.5rem 0 1.5rem;
    border-top: 1px solid var(--line);
  }
  .menu-ready .site-nav.is-open { display: block; }
  .menu-ready .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .menu-ready .site-nav a {
    display: block;
    padding: 0.8rem 0;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--cream);
    border-bottom: 1px solid var(--line);
  }
  .menu-ready .site-nav a::after { display: none; }
  .menu-ready .site-nav .site-nav__cta {
    margin-top: 1.1rem;
    text-align: center;
    font-family: var(--font-text);
    font-size: var(--step-0);
    font-weight: 600;
    color: var(--night);
    border-bottom: 0;
  }
}

/* Buttons and links */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.45rem;
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.button--amber { background: var(--amber); color: var(--night); border: 1px solid var(--amber); }
.button--amber:hover { background: var(--cream); border-color: var(--cream); box-shadow: 0 10px 24px -14px rgba(233, 169, 75, 0.9); }
.button--ghost { border: 1px solid rgba(242, 230, 208, 0.5); color: var(--cream); }
.button--ghost:hover { border-color: var(--cream); background: rgba(242, 230, 208, 0.08); }
.button--ink { background: var(--ink); color: var(--cream); border: 1px solid var(--ink); }
.button--ink:hover { background: var(--plum-2); border-color: var(--plum-2); }
.button--large { min-height: 56px; padding: 0.9rem 2rem; font-size: var(--step-0); }

.link {
  color: var(--amber);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: color 0.15s ease, text-decoration-thickness 0.15s ease;
}
.link:hover { color: var(--cream); text-decoration-thickness: 2px; }
.link--dark { color: #7A3F12; }
.link--dark:hover { color: var(--ink); }

/* Hero: three planes (title behind, photograph, surname in front) plus atmosphere */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh - var(--header-h));
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem) var(--gutter) clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr auto;
  column-gap: clamp(0.75rem, 1.5vw, 1.5rem);
  --hp: 0;
}

.hero__glow {
  position: absolute;
  z-index: 0;
  inset: -10% -20% 10% 30%;
  background: radial-gradient(closest-side, rgba(233, 169, 75, 0.22), rgba(233, 169, 75, 0.06) 55%, transparent 75%);
  pointer-events: none;
}

.hero__title { display: contents; }

.hero__first,
.hero__last {
  display: block;
  font-family: var(--font-display);
  line-height: 0.88;
  letter-spacing: -0.02em;
  will-change: transform;
}

.hero__first {
  grid-area: 1 / 1 / 2 / 13;
  z-index: 1;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.4rem, 12.4vw, 13rem);
  color: var(--cream);
  font-variation-settings: "opsz" 96;
}

.hero__photo {
  grid-area: 1 / 7 / 4 / 13;
  z-index: 2;
  align-self: start;
  margin-top: clamp(3rem, 7vw, 7.5rem);
  aspect-ratio: 1;
  will-change: transform;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: circle(47% at 52% 42%);
}

.hero__ring {
  grid-area: 1 / 7 / 4 / 13;
  z-index: 2;
  align-self: start;
  margin-top: clamp(3rem, 7vw, 7.5rem);
  width: 100%;
  aspect-ratio: 1;
  color: var(--amber);
  overflow: visible;
  pointer-events: none;
  transform-origin: 52% 42%;
  will-change: transform;
}

.hero__last {
  grid-area: 2 / 2 / 3 / 9;
  justify-self: end;
  z-index: 3;
  margin-top: -0.06em;
  font-weight: 600;
  font-size: clamp(5rem, 17vw, 17.5rem);
  color: var(--cream);
  text-shadow: 0.02em 0.035em 0.04em rgba(23, 13, 27, 0.75);
  font-variation-settings: "opsz" 96;
}

.hero__copy {
  grid-area: 3 / 1 / 4 / 7;
  z-index: 3;
  align-self: end;
  padding-top: 1.5rem;
  max-width: 34rem;
}
.hero__role {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1.3;
  margin-bottom: 0.85rem;
}
.hero__lede { color: var(--cream-soft); margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }

.pillars {
  grid-area: 4 / 1 / 5 / 13;
  z-index: 3;
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.pillars ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1.25rem;
  padding-top: 0.9rem;
}
.pillars a {
  display: inline-block;
  padding: 0.35rem 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.85rem + 0.5vw, 1.3rem);
  text-decoration: none;
  color: var(--cream-soft);
  transition: color 0.2s ease;
}
.pillars a:hover { color: var(--amber); }

/* Opening sequence: one orchestrated entrance, no transforms (those belong to scroll). */
@media (prefers-reduced-motion: no-preference) {
  .hero__photo img { animation: iris 1.4s cubic-bezier(0.2, 0.7, 0.1, 1) both 0.15s; }
  .hero__first { animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.1, 1) both; }
  .hero__last { animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.1, 1) both 0.45s; }
  .hero__ring { animation: fade 1.6s ease both 0.8s; }
  .hero__copy { animation: fade 0.9s ease both 0.9s; }
}
@keyframes iris {
  from { clip-path: circle(0% at 52% 42%); }
  to { clip-path: circle(47% at 52% 42%); }
}
@keyframes rise {
  from { clip-path: inset(0 -10% 100% -10%); opacity: 0; }
  to { clip-path: inset(-25% -10% -25% -10%); opacity: 1; }
}
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll depth on the hero planes. Desktop only, motion allowed, script running. */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .sc-on .hero__first { transform: translate3d(0, calc(var(--hp) * -70px), 0); }
  .sc-on .hero__photo { transform: translate3d(0, calc(var(--hp) * 50px), 0) scale(calc(1 + var(--hp) * 0.05)); }
  .sc-on .hero__ring { transform: translate3d(0, calc(var(--hp) * 10px), 0) rotate(calc(var(--hp) * 50deg)) scale(calc(1.04 + var(--hp) * 0.08)); }
  .sc-on .hero__last { transform: translate3d(calc(var(--hp) * -40px), calc(var(--hp) * -140px), 0); }
  .sc-on .hero__glow { opacity: calc(1 - var(--hp) * 0.6); }
}

/* Focus scenes: write, speak, create */
.scenes {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
  border-top: 1px solid var(--line);
}

.scenes__stage { display: none; }

.scene { padding: clamp(2.5rem, 6vw, 4rem) 0; max-width: 40rem; }
.scene + .scene { border-top: 1px solid var(--line); }

.scene__verb {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.5rem, 2rem + 7vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--amber);
  margin-bottom: 0.25em;
  transition: color 0.4s ease, opacity 0.4s ease;
}

.scene h2 {
  font-family: var(--font-text);
  font-size: var(--step-1);
  font-weight: 600;
  margin-bottom: 1rem;
}
.scene > p:not([class]) { color: var(--cream-soft); max-width: 34em; }

.scene__date { font-size: var(--step--1); color: var(--cream-soft); margin-bottom: 0.4rem; }
.scene__note { border-left: 2px solid var(--amber); padding-left: 1.25rem; margin: 1.75rem 0; }
.scene__big {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.35;
  margin: 0;
}

.scene__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}

.scene__lists {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.5rem 2.5rem;
  margin-top: 1.75rem;
}
.scene h3 {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--cream-soft);
  margin-bottom: 0.6rem;
}
.topic-list li {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  line-height: 1.2;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.topic-list li:first-child { border-top: 1px solid var(--line); }
.format-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.format-list li {
  padding: 0.3rem 0.85rem;
  border: 1px solid rgba(233, 169, 75, 0.55);
  border-radius: 999px;
  font-size: var(--step--1);
  color: var(--cream);
}

.scene__book h3 {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1.1;
  color: var(--cream);
  margin: 0 0 0.6rem;
}
.scene__book h3 cite { font-style: normal; }
.scene__subtitle { font-family: var(--font-display); font-style: italic; font-size: var(--step-1); line-height: 1.4; }
.scene__book > p:not([class]) { color: var(--cream-soft); max-width: 34em; }
.scene__next {
  margin-top: 2.5rem;
  padding: 1.25rem 1.4rem;
  border: 1px dashed rgba(233, 169, 75, 0.6);
  border-radius: 6px;
  max-width: 32rem;
}
.scene__next h3 { font-family: var(--font-display); font-size: var(--step-1); color: var(--cream); margin-bottom: 0.4rem; }
.scene__next p { color: var(--cream-soft); margin: 0; }
.scene__next p + p { margin-top: 0.75rem; }

/* Inline visuals: the normal-flow version of each scene's artwork */
.scene__inline { margin: 2rem 0 0.5rem; max-width: 26rem; }
.scene__inline--photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 56% 30%;
  border-radius: 999px 999px 6px 6px;
}
.scene__inline--book {
  max-width: 18rem;
  padding: 1.25rem;
  background: var(--cream);
  border-radius: 6px;
}
.scene__inline--book img { width: 100%; aspect-ratio: 55 / 64; object-fit: contain; }

/* Shared artwork */
.manuscript {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 12% 11%;
  background: var(--cream);
  color: var(--ink);
  border-radius: 3px;
  box-shadow: 18px 22px 0 -6px var(--plum-2), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  transform: rotate(-2deg);
  overflow: hidden;
}
.manuscript__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem);
  line-height: 1;
  margin: 0 0 0.4em;
}
.manuscript__sub { font-size: var(--step--1); color: var(--ink-soft); margin: 0 0 1.5rem; }
.manuscript__lines {
  display: block;
  height: 55%;
  background:
    linear-gradient(var(--amber-deep), var(--amber-deep)) 0 0 / 2px 1.4rem no-repeat,
    repeating-linear-gradient(to bottom, transparent 0 1.6rem, rgba(30, 18, 34, 0.16) 1.6rem calc(1.6rem + 1px));
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
}

.spot {
  position: relative;
  height: 100%;
  border-radius: 999px 999px 8px 8px;
  overflow: hidden;
}
.spot img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 30%; }
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 56% 30%, transparent 30%, rgba(23, 13, 27, 0.55) 80%);
}

.shelf {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
}
.shelf::before {
  content: "";
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cream);
}
.shelf img {
  position: relative;
  width: 78%;
  max-height: 92%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Stage mode: desktop with motion allowed and the script running. */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .sc-on .scenes {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: clamp(2.5rem, 5vw, 6rem);
  }
  .sc-on .scenes__stage {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 6vh);
    height: min(76vh, 46rem);
    align-self: start;
  }
  .sc-on .scene__inline { display: none; }
  .sc-on .scene {
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .sc-on .scene:not(.is-active) .scene__verb { color: rgba(233, 169, 75, 0.35); }

  .stage-card {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.97);
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.1, 1);
  }
  .stage-card > * { width: 100%; max-height: 100%; }
  .stage-card--write > .manuscript { width: min(100%, 30rem); }
  .stage-card--speak > .spot { width: min(100%, 30rem); height: 100%; }
  .stage-card--create > .shelf { height: 100%; }

  .scenes__stage[data-active="write"] [data-stage-card="write"],
  .scenes__stage[data-active="speak"] [data-stage-card="speak"],
  .scenes__stage[data-active="create"] [data-stage-card="create"] {
    opacity: 1;
    transform: none;
  }
}

/* Listen */
.listen { background: var(--plum); }
.listen__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter);
}
.listen h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-4);
  line-height: 1;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.episode {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--cream);
  color: var(--ink);
  border-radius: 10px;
}
.episode__wave {
  grid-column: 1 / -1;
  width: 100%;
  height: 40px;
  color: var(--amber-deep);
}
.episode__show { font-weight: 600; margin-bottom: 0.25rem; }
.episode__number {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-style: italic;
  line-height: 1;
  color: var(--plum-2);
  margin: 0;
}
.episode h3 {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 0.85rem;
}
.episode__body p { color: var(--ink-soft); max-width: 34em; margin-bottom: 1.5rem; }
.episode :focus-visible { outline-color: var(--plum-2); }
.listen__soon {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--cream-soft);
}

/* Muck Rack and merchandise */
.notes {
  background: var(--cream);
  color: var(--ink);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(3rem, 7vw, 5rem) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
}
.note h2 {
  font-family: var(--font-display);
  font-size: var(--step-4);
  line-height: 1;
  margin-bottom: 1rem;
}
.note p { color: var(--ink-soft); max-width: 30em; }
.note--quiet { padding-top: 0.75rem; border-top: 1px solid rgba(30, 18, 34, 0.2); align-self: end; }
.note--quiet h2 { font-size: var(--step-2); font-style: italic; }
.notes :focus-visible { outline-color: var(--plum-2); }

/* Invite: the finish */
.invite {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 80vh;
  display: grid;
  align-items: center;
  background: var(--night);
}
.invite__glow {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 70% 55%, rgba(233, 169, 75, 0.2), transparent 70%);
}
.invite__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
}
.invite h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 1rem + 9vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.invite h2 span { display: block; }
.invite h2 span:first-child { font-style: italic; color: var(--amber); }
.invite h2 span:last-child { padding-left: 0.6em; }
.invite p:not([class]) { color: var(--cream-soft); max-width: 34em; font-size: var(--step-1); }
.invite__email {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 0.7rem + 2vw, 2.25rem);
  margin: 1.5rem 0 2rem;
  overflow-wrap: anywhere;
}
.invite__email a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.invite__email a:hover { color: var(--amber); text-decoration-thickness: 2px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--cream-soft); }
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem var(--gutter) 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.site-footer__name { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--cream); margin: 0; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-footer__links a { font-size: var(--step--1); text-underline-offset: 0.25em; }
.site-footer__links a:hover { color: var(--amber); }
.site-footer__meta { font-size: 0.8125rem; margin: 0; }
.site-footer__preview { opacity: 0.75; }

/* Follow-me lane: a reserved right-hand gutter, never over content, never clickable. */
.lane { display: none; }

@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  html.sc-on { --lane-w: 64px; }

  .sc-on .lane {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    width: var(--lane-w);
    pointer-events: none;
    --lane-p: 0;
  }
  .lane__track,
  .lane__nodes {
    position: absolute;
    top: calc(var(--header-h) + 2rem);
    bottom: 2.5rem;
    left: 50%;
  }
  .lane__track {
    width: 1px;
    background: var(--line);
  }
  .lane__fill {
    position: absolute;
    inset: 0;
    background: var(--amber);
    transform: scaleY(var(--lane-p));
    transform-origin: top;
  }
  .lane__node {
    position: absolute;
    top: calc(var(--at) * 100%);
    left: 0;
  }
  .lane__dot {
    position: absolute;
    left: -5px;
    top: -5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--cream-soft);
    background: var(--night);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  }
  .lane__label {
    position: absolute;
    right: 12px;
    top: 0;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    transform-origin: center;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    color: var(--cream-soft);
    opacity: 0.6;
    transition: color 0.3s ease, opacity 0.3s ease;
  }
  .lane__node.is-reached .lane__dot { background: var(--amber); border-color: var(--amber); }
  .lane__node.is-reached .lane__label { opacity: 1; color: var(--cream); }
  .lane__node.is-current .lane__dot { transform: scale(1.5); }
  .lane__node.is-current .lane__label { color: var(--amber); }

  .lane__node--finish .lane__label {
    top: auto;
    bottom: 12px;
    transform: none;
  }
  .lane__node--finish .lane__dot { width: 14px; height: 14px; left: -7px; top: -14px; }
  .lane.is-finished .lane__node--finish .lane__dot {
    background: var(--amber);
    border-color: var(--amber);
    box-shadow: 0 0 0 6px rgba(233, 169, 75, 0.2);
  }
  .lane.is-finished .lane__node--finish .lane__label { color: var(--amber); opacity: 1; font-weight: 600; }
}

/* Phone: ordered normal flow and its own hero composition */
@media (max-width: 767px) {
  .hero {
    min-height: 0;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: auto auto auto auto auto;
    padding-top: 1.25rem;
  }
  .hero__glow { inset: 5% -40% 30% -10%; }
  .hero__first { grid-area: 1 / 1 / 2 / 7; font-size: clamp(2.9rem, 16.5vw, 6.5rem); }
  .hero__photo,
  .hero__ring { grid-area: 2 / 2 / 3 / 7; margin-top: 0.25rem; }
  .hero__last {
    grid-area: 3 / 1 / 4 / 7;
    justify-self: start;
    margin-top: -0.42em;
    font-size: clamp(5rem, 31vw, 11rem);
  }
  .hero__copy { grid-area: 4 / 1 / 5 / 7; padding-top: 1.25rem; }
  .pillars { grid-area: 5 / 1 / 6 / 7; }
  .pillars ul { justify-content: flex-start; gap: 0.15rem 1.1rem; }

  .scene__lists { grid-template-columns: minmax(0, 1fr); }

  .episode { grid-template-columns: minmax(0, 1fr); }

  .notes { grid-template-columns: minmax(0, 1fr); }
  .note--quiet { align-self: start; }

  .invite { min-height: 0; }
  .invite h2 span:last-child { padding-left: 0.3em; }
}

@media (max-width: 380px) {
  .hero__actions .button,
  .scene__actions .button { width: 100%; }
}

/* Reduced motion: everything visible and still. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
  .hero__first,
  .hero__last,
  .hero__photo,
  .hero__ring { transform: none !important; will-change: auto; }
}
