@font-face {
  font-family: "PPLX Sans";
  src: url("assets/fonts/PPLX-Sans.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "PPLX Serif";
  src: url("assets/fonts/PPLX-Serif.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "PPLX Mono";
  src: url("assets/fonts/PPLX-Mono.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "GT Canon Narrow";
  src: url("assets/fonts/GT-Canon-Narrow-Light.otf") format("opentype");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "GT Canon Narrow";
  src: url("assets/fonts/GT-Canon-Narrow-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "GT Canon Narrow";
  src: url("assets/fonts/GT-Canon-Narrow-Semibold.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --font-sans: "PPLX Sans", system-ui, -apple-system, sans-serif;
  --font-serif: "PPLX Serif", Georgia, "Times New Roman", serif;
  --font-mono: "PPLX Mono", "SF Mono", monospace;
  --font-gt: "GT Canon Narrow", "PPLX Serif", Georgia, serif;

  --off-white: #fbfaf4;
  --off-black: #040a0d;
  --summit-bg: #042527;
  --summit-panel: #052c2e;
  --summit-line: rgba(251, 250, 244, 0.54);
  --summit-line-soft: rgba(251, 250, 244, 0.18);
  --summit-muted: rgba(251, 250, 244, 0.76);
  --summit-faint: rgba(251, 250, 244, 0.54);
  --accent: #1fb8cd;
  --accent-hover: #35bdc8;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.75rem, 1.1rem + 7.15vw, 7.55rem);

  --shell: min(100% - clamp(3.1rem, 10.7vw, 8.9rem), 1010px);
  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-embed-blocked="true"] body {
  display: none !important;
}

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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  background: var(--off-black);
}

body {
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--off-white);
  background: var(--summit-bg);
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a,
button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  inset: var(--space-4) auto auto var(--space-4);
  z-index: 30;
  transform: translateY(calc(-100% - var(--space-8)));
  border: 1px solid var(--summit-line);
  background: var(--off-white);
  color: var(--off-black);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: clamp(42rem, 70.8vw, 53.15rem);
  overflow: hidden;
  background: #15484b;
}

.hero__image,
.rsvp__image {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.hero__image {
  background-image: url("assets/hero-capitol.jpg");
  background-position: 50% 50%;
  transform: scale(1.015);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 37, 39, 0.48) 0%, rgba(4, 37, 39, 0.18) 52%, rgba(4, 37, 39, 0.02) 100%),
    linear-gradient(180deg, rgba(4, 37, 39, 0.08) 0%, rgba(4, 37, 39, 0.18) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: clamp(4rem, 6.55vw, 4.92rem);
}

.brand-link {
  display: inline-block;
}

.brand-logo {
  width: clamp(8.3rem, 15vw, 11.25rem);
  height: auto;
}

.hero__rule {
  width: 62%;
  height: 1px;
  margin-top: clamp(11rem, 19vw, 14.25rem);
  background: var(--summit-line);
}

h1,
h2,
h3 {
  text-wrap: balance;
}

.hero h1 {
  margin-top: var(--space-8);
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 400;
  line-height: 0.87;
  letter-spacing: -0.055em;
  color: var(--off-white);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 760ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero h1[data-reveal] {
  --reveal-delay: 120ms;
}

.hero__sub[data-reveal] {
  --reveal-delay: 280ms;
}

.hero__sub {
  width: min(100%, 42rem);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--summit-line);
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.26vw, 1.13rem);
  font-weight: 400;
  line-height: 1.42;
  color: var(--off-white);
}

.intro {
  background: var(--summit-bg);
  border-top: 1px solid rgba(251, 250, 244, 0.07);
}

.intro__inner {
  padding-block: clamp(4.7rem, 8.35vw, 6.25rem) clamp(7.95rem, 13.2vw, 9.9rem);
}

.crest-rule {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: clamp(2.2rem, 5vw, 3.75rem);
  width: min(100%, 806px);
  margin-inline: auto;
}

.crest-rule span {
  height: 1px;
  margin-top: 1.27rem;
  background: var(--summit-line);
}

.crest-rule img {
  width: 1.9rem;
  transform: rotate(-11deg);
  opacity: 0.82;
}

.intro h2 {
  width: min(100%, 792px);
  margin: clamp(3.3rem, 5.8vw, 4.35rem) auto 0;
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 4.1vw, 3.5rem);
  font-weight: 400;
  line-height: 1.09;
  letter-spacing: -0.04em;
  color: var(--off-white);
}

.intro p {
  width: min(100%, 786px);
  margin: clamp(2.3rem, 4.6vw, 3.45rem) auto 0;
  font-size: clamp(1.02rem, 1.5vw, 1.17rem);
  font-weight: 400;
  line-height: 1.42;
  color: var(--off-white);
}

.agenda-card {
  width: min(100%, 1052px);
  margin: clamp(5.1rem, 8.6vw, 6.45rem) auto 0;
  padding: clamp(3.05rem, 5.35vw, 4rem) clamp(3.2rem, 5.9vw, 4.4rem) clamp(4.25rem, 7.3vw, 5.5rem);
  border: 1px solid var(--summit-line-soft);
  border-radius: 10px;
  background: rgba(4, 45, 48, 0.18);
}

.agenda-card h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.25vw, 3.05rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.agenda-list {
  margin-top: clamp(2.7rem, 5vw, 3.75rem);
}

.agenda-row {
  display: grid;
  grid-template-columns: minmax(5.5rem, 11.4rem) minmax(13rem, 1fr) minmax(7rem, 18rem);
  gap: var(--space-6);
  align-items: start;
  padding: 0 0 clamp(1.05rem, 2vw, 1.5rem);
  border-bottom: 1px solid var(--summit-line);
}

.agenda-row + .agenda-row {
  padding-top: clamp(1.38rem, 2.4vw, 1.8rem);
}

.agenda-row--last {
  border-bottom: 0;
  padding-bottom: 0;
}

.agenda-row time,
.agenda-row p {
  font-family: var(--font-sans);
  font-size: clamp(0.88rem, 1.08vw, 1rem);
  line-height: 1.18;
  color: var(--off-white);
}

.agenda-row p {
  margin: clamp(0.55rem, 1vw, 0.8rem) 0 0;
  line-height: 1.32;
}

.agenda-row h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.38rem, 2.45vw, 2.05rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.rsvp {
  position: relative;
  overflow: hidden;
  background: #123b3d;
}

.rsvp__image {
  background-image: url("assets/event-section.jpg");
  background-position: center;
}

.rsvp__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 37, 39, 0.05), rgba(4, 37, 39, 0.08));
}

.rsvp__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.8rem, 5.5vw, 4rem);
}

.typeform-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.9rem, 1.6vw, 1.2rem);
  width: 100%;
  text-align: center;
}

.typeform-button-wrap {
  width: 100%;
  text-align: center;
}

/* Typeform injects a div > button; make both honor centering */
.typeform-button-wrap > div {
  display: inline-block !important;
  text-align: center !important;
}

.typeform-button-wrap button {
  display: inline-block !important;
  margin-inline: auto !important;
  position: static !important;
}

.rsvp-microcopy {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  line-height: 1.35;
  color: rgba(251, 250, 244, 0.64);
  letter-spacing: 0.01em;
}



.site-footer {
  background: #000;
  color: var(--off-white);
}

.footer-shell {
  width: min(100% - clamp(2rem, 4.2vw, 4rem), 1132px);
  margin-inline: auto;
  padding-block: clamp(2.15rem, 3.75vw, 2.82rem) clamp(2rem, 3.6vw, 2.7rem);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(8.5rem, 11rem);
  gap: clamp(1.5rem, 3.2vw, 3.6rem);
  align-items: start;
}

.footer-nav h2 {
  margin-bottom: 0.78rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--off-white);
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li + li {
  margin-top: 0.51rem;
}

.footer-nav a {
  font-size: 0.67rem;
  line-height: 1.1;
  color: rgba(251, 250, 244, 0.58);
}

.footer-nav a:hover {
  color: var(--off-white);
}

.store-links {
  display: grid;
  gap: 0.68rem;
  justify-items: start;
}

.store-badge {
  display: block;
  width: min(9.75rem, 100%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.store-badge:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.store-badge img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.52rem;
}

.footer-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-8);
  margin-top: clamp(3.35rem, 5.7vw, 4.25rem);
}

.footer-symbol {
  display: block;
  width: 1.95rem;
  height: 2.15rem;
  overflow: hidden;
}

.footer-symbol img {
  width: 9.9rem;
  max-width: none;
  height: auto;
}

.footer-bottom p {
  font-size: 0.7rem;
  color: var(--off-white);
}

@media (max-width: 860px) {
  :root {
    --shell: min(100% - 2rem, 44rem);
  }

  .hero {
    min-height: 40rem;
  }

  .hero__image {
    background-position: 72% 50%;
  }

  .hero__rule {
    width: 70%;
    margin-top: 11rem;
  }

  .agenda-row {
    grid-template-columns: minmax(4.6rem, 6rem) 1fr;
    gap: var(--space-4);
  }

  .agenda-row p {
    grid-column: 2;
    color: var(--summit-muted);
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: var(--space-10);
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 44rem;
  }

  .hero__content {
    padding-top: var(--space-8);
  }

  .brand-logo {
    width: 8.1rem;
  }

  .hero__rule {
    width: 100%;
    margin-top: 13rem;
  }

  .hero h1 {
    margin-top: var(--space-6);
    font-size: clamp(3.35rem, 17vw, 5rem);
  }

  .intro__inner {
    padding-block: var(--space-16) var(--space-20);
  }

  .crest-rule {
    gap: var(--space-4);
  }

  .intro h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
    letter-spacing: -0.045em;
  }

  .intro p {
    line-height: 1.5;
    text-align: center;
  }

  .rsvp h2 {
    font-size: clamp(2rem, 9.4vw, 2.7rem);
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
