:root {
  --stone: #6e4632;
  --stone-deep: #3c291f;
  --stone-mid: #8a5340;
  --sand: #f4ece3;
  --sand-2: #e7d9cb;
  --ink: #2c211c;
  --muted: #6a564a;
  --white: #fff;
  --sky: #7eb4d4;
  --line: rgba(255, 255, 255, 0.35);
  --header: 4.4rem;
  --display: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: #fff;
  color: #000;
  padding: 0.55rem 0.9rem;
}

.skip:focus {
  top: 0.6rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(60, 41, 31, 0.94);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.header-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.brand,
.brand-lockup {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.92rem;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  min-height: 2.4rem;
  border: 1px solid var(--line);
  padding: 0.3rem 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  cursor: pointer;
}

.menu-close { display: none; }

.nav-toggle:checked + .nav-button .menu-open { display: none; }
.nav-toggle:checked + .nav-button .menu-close { display: inline; }

.nav-toggle:focus-visible + .nav-button {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  padding: 0.4rem 1.25rem 1rem;
  background: var(--stone-deep);
}

.nav-toggle:checked ~ .site-nav {
  display: flex;
}

.site-nav a {
  text-decoration: none;
  padding: 0.7rem 0;
  font-weight: 600;
}

.nav-cta {
  color: #f3d7c4;
}

h1, h2, .date-block, .brand, .brand-lockup {
  font-family: var(--display);
}

h1, h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3.6rem, 12vw, 6.6rem);
}

.line {
  display: block;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.1rem);
}

.hero {
  height: calc(100svh - var(--header));
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  padding-inline: max(1rem, calc((100vw - 1120px) / 2));
  color: var(--white);
  background: #140e0b;
  overflow: hidden;
}

.hero-stage {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stage video {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: #000;
}

.sound-on {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  z-index: 2;
  min-height: 2.7rem;
  padding: 0.45rem 0.95rem;
  border: 0;
  background: var(--white);
  color: var(--stone-deep);
  font-weight: 700;
  cursor: pointer;
}

.hero-copy {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.75rem 0 1rem;
}

.hero h1 {
  font-size: clamp(2.15rem, 7vw, 3.5rem);
}

.lede {
  max-width: 38rem;
  margin: 1.1rem 0 0;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.35;
}

.date-block {
  display: grid;
  margin: 1.5rem 0 0;
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.date-time {
  margin-top: 0.15rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.75rem 1.2rem;
  background: var(--white);
  color: var(--stone-deep);
  border: 0;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.btn:hover {
  background: #f3d7c4;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-block {
  width: 100%;
  margin-top: 0.35rem;
  background: var(--stone);
  color: var(--white);
}

.btn-block:hover {
  background: var(--stone-deep);
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.day {
  background: var(--stone-mid);
  color: var(--white);
  padding: 4.2rem 0 4.4rem;
}

.route {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 40rem;
}

.route li {
  position: relative;
  padding: 0 0 1.7rem 1.35rem;
  border-left: 1px dotted rgba(255, 255, 255, 0.75);
}

.route li:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.route h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.3rem;
}

.route p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 400;
  max-width: 36rem;
}

.route a {
  display: inline-block;
  margin-top: 0.4rem;
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.signup {
  padding: 4.2rem 0;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--stone-mid);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signup h2,
.flyers h2 {
  text-transform: none;
  letter-spacing: -0.03em;
  font-size: clamp(2.2rem, 5vw, 3.3rem);
}

.intro,
.fine {
  max-width: 34rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.signup-grid,
.flyer-grid {
  display: grid;
  gap: 1.6rem;
}

.signup-card {
  background: #fffdfb;
  padding: 1.2rem 1.1rem 1.25rem;
  box-shadow: 0 18px 50px rgba(60, 41, 31, 0.08);
  color-scheme: light;
}

.banner {
  margin: 0 0 1rem;
  padding: 0.8rem 0.9rem;
  background: #f8e4dc;
  color: #6d2e22;
  border: 1px solid #e3b8aa;
}

.form-grid {
  display: grid;
  gap: 0.85rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label,
.consent {
  font-size: 0.92rem;
  font-weight: 600;
}

.field input {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid #ddcfc3;
  background: #fff;
  color: var(--ink);
}

.field input:focus {
  border-color: var(--stone-mid);
}

.consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1rem 0;
  font-weight: 500;
}

.consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.18rem;
  accent-color: var(--stone);
  flex: none;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.flyers {
  padding: 0 0 4.4rem;
}

.flyer-grid figure {
  margin: 0;
}

.flyer-grid img {
  width: 100%;
  box-shadow: 0 16px 40px rgba(60, 41, 31, 0.12);
}

.flyer-grid figcaption {
  margin-top: 0.55rem;
}

.flyer-grid figcaption a {
  font-weight: 700;
  color: var(--stone);
}

.site-footer {
  background: var(--stone-deep);
  color: var(--white);
}

.footer-inner {
  padding: 1.8rem 0 2.1rem;
}

.brand-lockup {
  margin: 0 0 0.45rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner .fine {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.page-thanks {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(48, 28, 18, 0.72), rgba(48, 28, 18, 0.88)),
    url("../images/monument.jpg") center 20% / cover no-repeat;
  color: var(--white);
}

.thanks-main {
  width: min(760px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.2rem 0 5rem;
}

.page-thanks .eyebrow,
.page-thanks .lede {
  color: rgba(255, 255, 255, 0.92);
}

.page-thanks h1 {
  font-size: clamp(3.2rem, 8vw, 5.4rem);
}

.when {
  display: grid;
  gap: 1rem;
  margin: 1.6rem 0 0;
}

.when dt {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f3d7c4;
}

.when dd {
  margin: 0.2rem 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.page-thanks .btn-ghost {
  color: var(--white);
}

section[id] {
  scroll-margin-top: 5.2rem;
}

@media (min-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .signup-card {
    padding: 1.5rem 1.4rem 1.4rem;
  }

  .when {
    grid-template-columns: 1fr 1fr;
  }

  .flyer-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 900px) {
  .nav-button {
    display: none;
  }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.35rem;
    padding: 0;
    background: transparent;
  }

  .site-nav a {
    padding: 0.2rem 0;
  }

  .hero {
    grid-template-rows: none;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
  }

  .hero-stage {
    order: 2;
    height: 100%;
  }

  .hero-copy {
    order: 1;
    align-self: center;
    width: auto;
    padding: 2rem 2rem 2rem 0;
  }

  .signup-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.05fr);
    gap: 3rem;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
