@font-face {
  font-family: "Marcellus";
  src: url("fonts/marcellus.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Dancing Script";
  src: url("fonts/dancing-script-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ground: #f6f5f4;
  --card: #fff;
  --band: #ede8e4;
  --line: #ebe5df;
  --field: #d8cec5;
  --ink: #0d0503;
  --muted: #5c5550;
  --accent: #705138;
  --accent-dark: #59402c;
  --on-accent: #fff;
  --pill-ink: #4a3424;
  --number: #f0e6d9;
  --deep: #241712;
  --on-deep: #fff;
  --on-deep-muted: #d9cfc8;
  --pale-1: #e8e0d5;
  --pale-2: #d6c7b9;
  --whisper: #ede8e1;
  --error: #a12b1f;
  --notice: #f4e3bf;
  --focus: #0d0503;
  --margin: clamp(1.25rem, 2.5vw, 2rem);
  --gap: clamp(1.5rem, 3vw, 3rem);
  --section: clamp(5.5rem, 10vw, 9rem);
  --radius: clamp(1.75rem, 3vw, 2.375rem);
  --step-display: clamp(2.5rem, 6.25vw + 0.25rem, 5.625rem);
  --step-heading: clamp(2.25rem, 3.6vw, 3.25rem);
  --step-sub: clamp(1.75rem, 2.5vw, 2.25rem);
  --step-title: clamp(1.5rem, 2vw, 1.75rem);
  --step-lead: clamp(1.0625rem, 1.3vw, 1.25rem);
  --step-body: 1.0625rem;
  --step-small: 0.875rem;
  --display: "Marcellus", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --script: "Dancing Script", "Snell Roundhand", cursive;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: var(--step-body)/1.6 var(--sans);
  letter-spacing: -0.01em;
  -webkit-text-size-adjust: 100%;
}

.frame {
  width: min(100%, 90rem);
  margin-inline: auto;
  padding-inline: var(--margin);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-display);
  line-height: 1;
  letter-spacing: -0.04em;
}

h2 {
  font-size: var(--step-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
  transition: text-decoration-thickness 200ms ease, text-underline-offset 200ms ease;
}

a:hover {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.bar {
  position: sticky;
  top: 1.25rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 2rem;
  width: calc(100% - 2 * var(--margin));
  margin: 1.25rem auto 0;
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}

.wordmark {
  margin-right: auto;
  font: 700 1.625rem/1.2 var(--script);
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.bar-nav {
  display: none;
  gap: 1.5rem;
  font-size: var(--step-small);
}

.bar-nav a {
  text-decoration-color: transparent;
}

.bar-nav a:hover {
  text-decoration-color: currentColor;
}

.button {
  display: inline-block;
  padding: 0.9375rem 1.75rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font: 500 1rem/1.25 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, transform 200ms var(--ease-out);
}

.button:hover {
  background: var(--accent-dark);
}

.button:active {
  transform: scale(0.97);
}

.button:disabled,
.button[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.button[aria-disabled="true"] {
  cursor: progress;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(3.5rem, 7vw, 5rem) var(--margin) 0;
  text-align: center;
}

.hero-scene {
  --inset-ratio: 0.05;
  --card-top: 1.25rem;
  --card-height: clamp(16rem, 31vw, 28rem);
  --card-radius: clamp(3rem, 12.5vw, 11.25rem);
  --open-radius: 2.5rem;
  align-self: stretch;
  height: calc(175svh + var(--open-radius));
  margin: clamp(2rem, 4vw, 3rem) calc(-1 * var(--margin)) 0;
}

.hero-stage {
  position: sticky;
  top: 0;
  height: calc(100svh + var(--open-radius));
  overflow: hidden;
  clip-path: inset(
    var(--card-top)
    calc(var(--inset-ratio) * 100%)
    calc(100% - var(--card-top) - var(--card-height))
    round var(--card-radius)
  );
  transition: clip-path 900ms var(--ease-out);
}

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% 50%;
  transform: translateY(calc(var(--card-top) - 12%)) scale(calc(1 - 2 * var(--inset-ratio)));
  transform-origin: 50% 0;
  transition: transform 900ms var(--ease-out);
}

.hero-scene.open .hero-stage {
  clip-path: inset(0 round var(--open-radius));
}

.hero-scene.open .hero-photo {
  transform: none;
}

.hero-card {
  position: absolute;
  left: var(--margin);
  right: var(--margin);
  bottom: calc(var(--open-radius) + var(--margin));
  max-width: 33.75rem;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border-radius: 2rem;
  background: rgb(36 23 18 / 0.3);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  color: #fff;
  text-align: left;
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 600ms ease, transform 900ms var(--ease-out);
}

.hero-scene.open .hero-card {
  opacity: 1;
  transform: none;
  transition-delay: 250ms;
}

.hero-card-mark {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1.5rem;
  fill: #fff;
}

.hero-card h2 {
  margin-bottom: 1rem;
  font-size: var(--step-sub);
}

.hero-card p {
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.5;
}

.meta {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 1.75rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  background: var(--band);
  color: var(--pill-ink);
  font-size: var(--step-small);
}

.meta::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  max-width: 11.5em;
}

.hero-text {
  max-width: 40rem;
  margin-top: 1.75rem;
}

.lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: var(--step-lead);
  line-height: 1.6;
}

.tagline {
  margin: 0;
  color: var(--accent);
  font: 700 clamp(1.5rem, 2.2vw, 1.875rem)/1.3 var(--script);
  letter-spacing: 0;
}

.next-group {
  display: grid;
  width: 100%;
  max-width: 40rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  text-align: left;
}

.places-pill {
  position: fixed;
  right: var(--margin);
  bottom: var(--margin);
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.375rem 0.375rem 0.375rem 1.125rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 16px 40px -20px rgb(36 23 18 / 0.35);
  color: var(--pill-ink);
  font-size: var(--step-small);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 0s 200ms;
}

.places-pill.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 200ms ease;
}

.places-pill-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.places-pill-count::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--accent);
}

.places-pill-cta {
  padding: 0.5rem 1.125rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 500;
  transition: background-color 200ms ease;
}

.places-pill:hover .places-pill-cta {
  background: var(--accent-dark);
}

.next-ghost {
  position: fixed;
  z-index: 20;
  display: none;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 16px 40px -20px rgb(36 23 18 / 0.35);
  pointer-events: none;
}

.table {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.table h2 {
  font-size: var(--step-title);
  text-align: center;
}

.table .meta {
  display: flex;
  width: fit-content;
  margin: 0.75rem auto 0;
}

.table dl {
  display: grid;
  gap: 0.875rem;
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 1.5rem;
  background: var(--ground);
}

.table dl > div {
  display: grid;
  gap: 0.125rem;
}

.table dt {
  color: var(--muted);
  font-size: var(--step-small);
}

.table dd {
  margin: 0;
  font-weight: 500;
}

.table p {
  color: var(--muted);
  font-size: var(--step-small);
  text-align: center;
}

.table .button {
  width: 100%;
}

.who {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  padding-top: var(--section);
  text-align: center;
}

.who-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-style: italic;
}

.who-cards {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 66rem;
  margin-top: 2rem;
  text-align: left;
}

.who-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 3rem;
  background: var(--card);
  translate: 0 var(--shift, 0px);
}

.who-icon {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  fill: none;
  stroke: var(--pale-2);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.who-icon.is-ring {
  fill: var(--pale-2);
  stroke: none;
}

.who-card h3 {
  margin-bottom: 1rem;
  font-size: var(--step-title);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.who-card p {
  margin: 0;
  color: var(--muted);
}

.how {
  padding-top: var(--section);
}

.how h2 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.how-lead {
  max-width: 40rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: var(--step-lead);
  text-align: center;
}

.timeline-scroll {
  max-width: 64rem;
  margin: clamp(3.5rem, 7vw, 5rem) auto 0;
}

.timeline-scroll::after {
  content: "";
  display: block;
  height: 180svh;
}

.timeline {
  position: sticky;
  top: 7rem;
  display: flex;
  flex-direction: column;
}

.timeline-steps {
  order: -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.timeline-steps button {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid transparent;
  border-radius: 1rem;
  background: none;
  color: var(--muted);
  font: 400 1.75rem/1.2 var(--display);
  cursor: pointer;
  transition: color 250ms ease, border-color 250ms ease, background-color 250ms ease;
}

.timeline-steps button:hover {
  color: var(--accent);
}

.timeline-steps button[aria-pressed="true"] {
  border-color: var(--line);
  background: var(--card);
  color: var(--accent);
}

.timeline-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.timeline-ribbon,
.timeline-span {
  display: none;
}

.timeline-card {
  display: grid;
}

.timeline-panel {
  grid-area: 1 / 1;
  align-self: start;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--card);
  box-shadow: 0 24px 48px -28px rgb(36 23 18 / 0.3);
  visibility: hidden;
  opacity: 0;
  transition: opacity 300ms ease, visibility 0s 300ms;
}

.timeline-panel.is-active {
  visibility: visible;
  opacity: 1;
  transition: opacity 300ms ease;
}

.timeline-panel h3 {
  margin-bottom: 0.625rem;
  font-size: var(--step-title);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.timeline-panel h3 + p {
  margin: 0;
  color: var(--muted);
}

.timeline-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.375rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.timeline-week li {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
}

.timeline-week span {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 2.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ground);
  color: var(--muted);
  font-size: 0.75rem;
}

.timeline-week .on span {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 500;
}

.timeline-week b {
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
}

.timeline-circle {
  position: relative;
  width: 11.5rem;
  aspect-ratio: 1;
  margin: 1.75rem auto 0.25rem;
}

.timeline-circle > * {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.5rem;
  height: 2.5rem;
  margin: -1.25rem;
  border: 3px solid var(--card);
  border-radius: 50%;
  object-fit: cover;
  transform: rotate(calc(var(--i) * 36deg)) translateY(-4.5rem) rotate(calc(var(--i) * -36deg));
}

.timeline-circle .seat-empty {
  border: 2px dashed var(--pale-2);
  background: var(--ground);
}

.evening {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.evening .how-lead {
  max-width: none;
  color: var(--ink);
  font: 400 var(--step-sub)/1.2 var(--display);
  letter-spacing: -0.01em;
}

.steps {
  --slide: 4rem;
  position: relative;
  display: grid;
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  --p: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  counter-increment: step;
  opacity: min(1, 0.2 + var(--p) * 1.6);
  transform: translateY(calc((1 - var(--p)) * var(--slide))) scale(calc(0.5 + var(--p) * 0.5));
}

.steps li::before {
  content: counter(step);
  margin-bottom: clamp(1.25rem, 3vw, 2.5rem);
  color: var(--number);
  font: 400 clamp(3.5rem, 5vw, 4.5rem)/1 var(--sans);
  letter-spacing: -0.04em;
}

.steps strong {
  margin-bottom: 0.625rem;
  font: 400 var(--step-title)/1.25 var(--display);
  letter-spacing: -0.02em;
}

.steps span {
  color: var(--muted);
}

.step-time {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: var(--band);
  color: var(--pill-ink);
  font-size: var(--step-small);
  line-height: 1;
  white-space: nowrap;
}

.how-more {
  display: grid;
  gap: 0 var(--gap);
  max-width: 60rem;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  color: var(--muted);
}

.host {
  padding: var(--section) var(--margin) 0;
}

.host-panel {
  display: grid;
  gap: 2.5rem var(--gap);
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5.5rem);
  border-radius: clamp(2rem, 5vw, 5rem);
  background: var(--deep);
  color: var(--on-deep);
  --focus: var(--on-deep);
}

.host-note {
  display: grid;
  gap: 0 var(--gap);
  color: var(--on-deep-muted);
}

.host-opening {
  max-width: 20em;
  margin-bottom: 2.5rem;
  color: var(--on-deep);
  font: 400 var(--step-sub)/1.25 var(--display);
  letter-spacing: -0.01em;
}

.host-col {
  max-width: 34rem;
}

.host-wish {
  color: var(--on-deep);
  font: 700 clamp(1.75rem, 2.6vw, 2.25rem)/1.3 var(--script);
  letter-spacing: 0;
}

.signature {
  margin: 0;
  color: var(--on-deep);
  font: 700 2.25rem/1.2 var(--script);
  letter-spacing: 0;
}

.host-media {
  margin: 0;
}

.host-media video,
.host-media img {
  display: block;
  width: 100%;
  max-height: 80vh;
  object-fit: cover;
  border-radius: var(--radius);
  background: #000;
}

.host-media img {
  max-width: 28rem;
  height: auto;
  aspect-ratio: 3 / 4;
  margin-inline: auto;
  transform: rotate(2deg);
}

.host-media summary {
  margin-top: 0.75rem;
  cursor: pointer;
  font-weight: 600;
}

.transcript {
  padding-top: 0.5rem;
}

.faq {
  --indent: 3.75rem;
  display: grid;
  justify-items: center;
  gap: 3rem;
  margin-top: var(--section);
  padding-block: var(--section);
  border-image: conic-gradient(var(--band) 0 0) fill 0 / / 0 100vw;
}

.faq h2 {
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: 50rem;
}

.faq details {
  border-radius: 2rem;
  background: var(--card);
  transition: box-shadow 250ms ease;
}

.faq details:hover {
  box-shadow: 0 4px 18px rgb(36 23 18 / 0.06);
}

.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 5.125rem;
  padding: 1.25rem 4rem 1.25rem var(--indent);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='%23705138'%3E%3Ccircle cx='50' cy='12' r='8.5'/%3E%3Ccircle cx='72.33' cy='19.26' r='8.5'/%3E%3Ccircle cx='86.14' cy='38.26' r='8.5'/%3E%3Ccircle cx='86.14' cy='61.74' r='8.5'/%3E%3Ccircle cx='72.33' cy='80.74' r='8.5'/%3E%3Ccircle cx='50' cy='88' r='8.5'/%3E%3Ccircle cx='27.67' cy='80.74' r='8.5'/%3E%3Ccircle cx='13.86' cy='61.74' r='8.5'/%3E%3Ccircle cx='13.86' cy='38.26' r='8.5'/%3E%3Ccircle cx='27.67' cy='19.26' r='8.5'/%3E%3C/svg%3E") no-repeat calc(var(--indent) / 2 - 0.75rem) center / 1.5rem;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.75rem;
  top: 50%;
  width: 1rem;
  height: 2px;
  margin-top: -1px;
  background: var(--accent);
  transition: transform 300ms var(--ease-out);
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq details p {
  margin: 0;
  padding: 0 2rem 1.75rem var(--indent);
  color: var(--muted);
}

.faq details p + p {
  margin-top: -0.75rem;
}

label {
  font-weight: 500;
}

input[type="email"],
input[type="text"] {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--field);
  border-radius: 999px;
  background: var(--ground);
  color: var(--ink);
  font: inherit;
}

.todo {
  padding: 0 0.25em;
  background: var(--notice);
  color: var(--ink);
}

.join {
  max-width: 44rem;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.join-card {
  display: grid;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.join-progress {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: var(--step-small);
}

.join-progress span:first-child {
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.join-bar {
  height: 0.25rem;
  margin: 0.875rem 0 2rem;
  border-radius: 999px;
  background: linear-gradient(var(--accent), var(--accent)) 0 0 / var(--progress) 100% no-repeat, var(--band);
}

.join-card h1 {
  font-size: var(--step-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.join-card h1:focus {
  outline: none;
}

.join-lead {
  margin: 1rem 0 2rem;
  color: var(--muted);
  font-size: var(--step-lead);
}

.join-group {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: var(--ground);
}

.join-group h2 {
  margin-bottom: 1.25rem;
  font-size: var(--step-title);
  line-height: 1.3;
}

.join-facts {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.join-facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.join-facts svg {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.join-facts small {
  display: block;
  color: var(--muted);
  font-size: var(--step-small);
}

.join-places {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  justify-self: start;
  margin: 1.5rem 0 0;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  background: var(--band);
  color: var(--pill-ink);
  font-size: var(--step-small);
}

.join-places::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--accent);
}

.join-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.join-price strong {
  font: 400 var(--step-sub)/1 var(--display);
}

.join-note {
  margin: 1.25rem 0 0;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: var(--ground);
  color: var(--muted);
  font-size: var(--step-small);
}

.join-card label:not(.join-check) {
  margin: 0 0 0.5rem;
}

.join-card input[type="text"],
.join-card input[type="email"] {
  margin-bottom: 1.25rem;
}

.join-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-weight: 400;
  cursor: pointer;
}

.join-check input {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0.2rem 0 0;
  accent-color: var(--accent);
}

.join-error {
  margin: 0.5rem 0 0;
  color: var(--error);
  font-weight: 500;
}

.join-next {
  justify-self: stretch;
  margin-top: 1.75rem;
}

.join-next[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

.join-small {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: var(--step-small);
  text-align: center;
}

.join-back {
  justify-self: center;
  margin-top: 1rem;
  color: var(--muted);
  font-size: var(--step-small);
}

.legal {
  max-width: 48rem;
  padding-top: clamp(3.5rem, 7vw, 5rem);
}

.legal h1 {
  margin-bottom: 2rem;
  font-size: var(--step-heading);
}

.legal h3 {
  margin: 2.5rem 0 0.75rem;
  font-size: var(--step-title);
  line-height: 1.3;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal strong {
  color: var(--ink);
  font-weight: 600;
}

.legal ul {
  margin: 0 0 1em;
  padding-left: 1.25rem;
}

.legal table {
  width: 100%;
  margin: 0 0 1em;
  border-collapse: collapse;
  font-size: var(--step-small);
}

.legal th,
.legal td {
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal th {
  color: var(--ink);
  font-weight: 600;
}

.legal td {
  color: var(--muted);
}

.site-footer {
  display: grid;
  align-items: end;
  gap: 0 var(--gap);
  padding-block: clamp(6rem, 10vw, 9rem) 3rem;
  color: var(--muted);
  font-size: var(--step-small);
}

.site-footer p {
  margin: 0 0 0.25rem;
}

.site-footer::after {
  content: "Room for Ten";
  content: "Room for Ten" / "";
  margin-top: 2rem;
  color: var(--whisper);
  font: 700 clamp(3.5rem, 10vw, 9rem)/1 var(--script);
  letter-spacing: 0;
  white-space: nowrap;
}

@media (min-width: 40rem) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .table dl > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
  }
}

@media (min-width: 48rem) {
  .hero-scene {
    --inset-ratio: 0.0833;
  }

  .hero-card {
    left: 5rem;
    bottom: calc(var(--open-radius) + 5rem);
  }

  .how-more {
    grid-template-columns: 1fr 1fr;
  }

  .timeline-steps {
    order: 0;
    grid-template-columns: 1fr 1fr 2.5fr 1fr;
    gap: 0;
    margin: 0;
  }

  .timeline-steps button {
    display: grid;
    justify-items: center;
    gap: 0.375rem;
    border: 0;
    font-size: 2.5rem;
  }

  .timeline-steps button[aria-pressed="true"] {
    background: none;
  }

  .timeline-name {
    position: static;
    width: auto;
    height: auto;
    clip-path: none;
    font: 500 0.75rem/1.4 var(--sans);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .timeline-card {
    width: 22rem;
    transform: translateX(var(--card-x, 0));
  }

  .timeline-panel {
    align-self: end;
  }

  .timeline-ribbon {
    position: relative;
    display: block;
    height: 104px;
  }

  .timeline-ribbon svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .timeline-line,
  .timeline-shadow {
    fill: none;
  }

  .timeline-line {
    stroke: var(--accent);
    stroke-width: 1.5;
  }

  .timeline-shadow {
    stroke: var(--line);
    stroke-width: 1;
  }

  .timeline-stem,
  .timeline-node,
  .timeline-dot {
    position: absolute;
    translate: -50% 0;
  }

  .timeline-stem {
    top: 0;
    left: var(--x);
    width: 1.5px;
    height: 28px;
    background: var(--accent);
  }

  .timeline-node {
    top: 28px;
    left: var(--x);
    width: 1.375rem;
    height: 1.375rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--card);
    translate: -50% -50%;
    transition: opacity 200ms ease;
  }

  .timeline-ribbon.is-run .timeline-node {
    opacity: 0;
  }

  .timeline-node::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 0.5rem;
    height: 0.5rem;
    margin: auto;
    border-radius: 50%;
    background: var(--accent);
  }

  .timeline-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: var(--accent);
    translate: -50% -50%;
    transition: opacity 200ms ease, width 300ms var(--ease-out), height 300ms var(--ease-out);
  }

  .timeline-dot.is-hidden {
    opacity: 0;
  }

  .timeline-span {
    position: relative;
    display: block;
    width: calc(var(--span-end, 0px) - var(--span-start, 0px));
    height: 1.125rem;
    margin: 0.5rem 0 1rem var(--span-start, 0px);
    border: 1.5px solid var(--pale-2);
    border-top: 0;
    border-radius: 0 0 1.125rem 1.125rem;
  }

  .timeline-span span {
    position: absolute;
    top: 100%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4375rem 1rem;
    border-radius: 999px;
    background: var(--band);
    color: var(--pill-ink);
    font-size: var(--step-small);
    line-height: 1;
    white-space: nowrap;
    translate: -50% -50%;
  }

  .timeline-span span::before {
    content: "";
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: var(--accent);
  }

  .timeline-ribbon.is-run .timeline-dot.session {
    width: 0.625rem;
    height: 0.625rem;
  }

  .host-note {
    grid-template-columns: 1fr 1fr;
  }

  .host-opening {
    grid-column: 1 / -1;
  }

  .faq {
    --indent: 4.75rem;
  }
}

@media (min-width: 56rem) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .who-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
    padding-bottom: 3rem;
  }

  .who-card:not(:nth-child(2)) {
    margin-top: 3rem;
  }
}

@media (min-width: 64rem) {
  .bar {
    width: fit-content;
  }

  .bar-nav {
    display: flex;
  }

  .site-footer {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 1fr auto auto;
  }

  .site-footer p:first-child {
    grid-row: 2;
  }

  .site-footer p:nth-child(2) {
    grid-row: 3;
  }

  .site-footer::after {
    grid-column: 2;
    grid-row: 1 / -1;
    margin-top: 0;
  }

  .host-panel:has(.host-media:not([hidden])) {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "heading heading"
      "note media";
  }

  .host-panel:has(.host-media:not([hidden])) h2 {
    grid-area: heading;
  }

  .host-panel:has(.host-media:not([hidden])) .host-note {
    grid-area: note;
    grid-template-columns: minmax(0, 1fr);
  }

  .host-media {
    grid-area: media;
  }
}

@media (min-width: 80rem) {
  .steps {
    --slide: 12.5rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .evening::after {
    content: "";
    display: block;
    height: 1800px;
  }

  .evening-pin {
    position: sticky;
    top: 8rem;
  }
}

@media (min-width: 85rem) {
  .hero {
    --next-side: calc(20rem + 1rem + var(--margin));
  }

  .hero h1 {
    max-width: min(11.5em, calc(100vw - 2 * var(--next-side)));
  }

  .hero-text {
    max-width: min(40rem, calc(100vw - 2 * var(--next-side)));
  }

  .next-group {
    position: fixed;
    top: 6.5rem;
    right: var(--margin);
    z-index: 21;
    width: 20rem;
    margin: 0;
  }

  .next-group .table {
    padding: 1.5rem;
    box-shadow: 0 24px 48px -28px rgb(36 23 18 / 0.3);
  }

  .next-group .table h2 {
    font-size: 1.5rem;
  }

  .next-group .table dl {
    gap: 0.75rem;
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
  }

  .next-group .table dl > div {
    display: grid;
    gap: 0.125rem;
  }
}

html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}

html.js:not(.ready) .reveal {
  animation: reveal-failsafe 0s 3s forwards;
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes reveal-failsafe {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  html.js .reveal {
    transform: none;
    transition: opacity 400ms ease;
  }

  .hero-stage,
  .hero-photo,
  .hero-card,
  .button,
  .faq summary::after {
    transition: none;
  }
}
