@font-face {
  font-family: Challans;
  src: url("./assets/challans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

:root {
  --cream: #f8eee7;
  --cream-deep: #f1e4d9;
  --ink: #3e2e27;
  --ink-soft: #5c4a40;
  --ink-mute: #8a7263;
  --ink-faint: #b7a79c;
  --heart: #e03a2f;
  --accent: #b4463d;
  --danger: #a84f46;
  --line: rgba(62, 46, 39, 0.12);
  --line-strong: rgba(62, 46, 39, 0.28);
  --script: Challans, "Segoe Script", cursive;
  --sans: Jost, system-ui, sans-serif;
  --text-label: 11px;
  --text-body: 17px;
  --text-sub: 21px;
  --text-script: clamp(42px, 6vw, 60px);
  --text-hero: min(clamp(48px, 13vw, 168px), 20vh);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --nav-h: 104px;
  --page-pad: 26px;
}

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

html {
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.challans-loading body {
  visibility: hidden;
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
}

img,
video {
  height: auto;
}

a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(92, 74, 64, 0.35);
}

a:hover {
  color: #2f221c;
  border-bottom-color: #2f221c;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

input,
textarea,
button {
  font-family: inherit;
}

button {
  appearance: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--cream);
  border: 0;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.heart {
  display: inline-block;
  overflow: visible;
  color: var(--heart);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.heart path,
.heart use {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#heart-shape path {
  fill: none;
  stroke: currentColor;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.names-script {
  display: inline-flex;
  align-items: center;
  gap: 0.1em;
  font-family: var(--script);
  font-weight: 400;
  color: var(--ink);
}

.names-script .heart {
  height: 0.52em;
  width: auto;
  vertical-align: -0.06em;
}

.names-script .heart path {
  stroke-width: 4.4;
}

.eyebrow {
  font-size: var(--text-label);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.section-title {
  font-family: var(--script);
  font-weight: 400;
  font-size: var(--text-script);
  line-height: 1;
  margin: 0 0 16px;
  padding-top: 0.12em;
}

.section .eyebrow,
.section .section-title,
.section-head {
  text-align: center;
}

.pl-mark {
  position: relative;
  display: inline-block;
}

.pl-mark::after {
  content: "";
  position: absolute;
  pointer-events: none;
  box-sizing: border-box;
}

.pl-mark--ogonek::after {
  left: 0.4em;
  bottom: 0.02em;
  width: 0.17em;
  height: 0.15em;
  border-left: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  border-radius: 0 0 0 85%;
  transform: rotate(-24deg);
}

.pl-mark--ogonek.pl-mark--upper::after {
  left: 0.36em;
  bottom: 0.01em;
}

.pl-mark--acute::after {
  top: 0.1em;
  left: 0.32em;
  width: 0.2em;
  height: 1px;
  background: currentColor;
  transform: rotate(48deg);
}

.pl-mark--acute.pl-mark--upper::after {
  top: 0.04em;
  left: 0.42em;
}

.pl-mark--dot::after {
  top: 0.06em;
  left: 50%;
  width: 0.065em;
  height: 0.065em;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
}

.pl-mark--dot.pl-mark--upper::after {
  top: 0.02em;
}

.pl-mark--stroke::after {
  top: 0.46em;
  left: 0.02em;
  width: 0.32em;
  height: 1px;
  background: currentColor;
  transform: rotate(-28deg);
}

.pl-mark--stroke.pl-mark--upper::after {
  top: 0.5em;
  left: 0.08em;
  width: 0.42em;
}

.head-art {
  height: clamp(74px, 17vw, 104px);
  width: auto;
  display: block;
  margin: 0 auto 18px;
  opacity: 0.95;
}

.lang-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 22px;
  pointer-events: none;
}

.lang-bar img {
  height: clamp(40px, 5.4vw, 64px);
  width: auto;
  opacity: 0.9;
}

html.play-gate .lang-bar img,
html.play-hero .lang-bar img {
  animation: corner-in 1.1s var(--ease) 4.25s both;
}

.lang-switch {
  display: flex;
  gap: 1px;
  pointer-events: auto;
  background: rgba(248, 238, 231, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(62, 46, 39, 0.14);
  border-radius: 999px;
  padding: 2px;
}

.lang-switch button {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 22px;
  padding: 4px 7px;
  line-height: 1;
  background: transparent;
  color: #a8988c;
}

.lang-switch button[aria-pressed="true"] {
  background: #8a7263;
  color: var(--cream);
}

.lang-switch svg {
  display: block;
  width: 16px;
  height: 10px;
  border-radius: 1px;
}

.flag-pl {
  box-shadow: inset 0 0 0 1px rgba(62, 46, 39, 0.15);
}

.gate,
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gate {
  padding: 88px 22px 40px;
}

.gate-date,
.hero-date {
  font-size: var(--text-label);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.gate-names,
.hero-names {
  display: block;
  font-family: var(--script);
  font-size: var(--text-hero);
  line-height: 1.25;
  padding-top: 0.06em;
  margin: 14px 0 18px;
}

.gate-names > span,
.hero-names > span {
  display: inline;
}

.gate-names .heart,
.hero-names .heart {
  display: inline-block;
  height: 0.52em;
  width: auto;
  vertical-align: -0.06em;
}

.hero-names {
  font-size: var(--text-hero);
  line-height: 1.16;
  margin: 2px 0 clamp(6px, 2.4vh, 26px);
}

.gate-names .heart path,
.hero-names .heart path {
  fill: none;
  stroke: #e03a2f;
  stroke-width: 4.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
}

.gate-place {
  font-size: var(--text-label);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 44px;
}

html.play-gate .gate-date,
html.play-hero .hero-date,
html.play-hero .hero-eyebrow {
  animation: intro-up 0.8s var(--ease) 3.35s both;
}

html.play-gate .gate-names {
  animation: write 2.2s cubic-bezier(0.42, 0, 0.3, 1) 0.35s both;
}

html.play-hero .hero-names {
  animation: write 2.3s cubic-bezier(0.42, 0, 0.3, 1) 0.35s both;
}

html.play-gate .gate-names .heart path,
html.play-hero .hero-names .heart path {
  animation: draw-heart 0.85s cubic-bezier(0.5, 0, 0.4, 1) 2.68s both;
}

html.play-gate .gate-place,
html.play-hero .hero-place {
  animation: intro-up 0.8s var(--ease) 3.5s both;
}

.gate-ask {
  font-size: var(--text-body);
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  max-width: 340px;
  line-height: 1.7;
}

.gate-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  align-items: center;
  justify-content: center;
}

html.play-gate .gate-ask {
  animation: intro-up 0.8s var(--ease) 3.65s both;
}

html.play-gate .gate-form {
  animation: intro-up 0.8s var(--ease) 3.8s both;
}

.gate-form input {
  width: 120px;
  background: transparent;
  border: 1px solid rgba(62, 46, 39, 0.25);
  border-radius: 2px;
  padding: 13px 14px;
  font-size: var(--text-body);
  letter-spacing: 0.3em;
  text-align: center;
  color: var(--ink);
  font-weight: 300;
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 2px;
  padding: 14px 26px;
  min-height: 48px;
  font-size: var(--text-label);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-dark:hover,
.btn-dark:disabled {
  background: #5c4a40;
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 14px 28px;
  min-height: 48px;
  font-size: var(--text-label);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.gate-error {
  margin-top: 16px;
  font-size: var(--text-body);
  letter-spacing: 0.04em;
  color: #a8635a;
}

.gate-bouquet {
  height: min(320px, 38vh);
  width: auto;
  margin-top: 52px;
  opacity: 0.95;
}

html.play-gate .gate-bouquet {
  animation: intro-bouquet 1.2s var(--ease) 3.95s both;
}

.site[hidden],
.gate[hidden],
[hidden] {
  display: none !important;
}

.hero {
  min-height: calc(100svh - 58px);
  padding: clamp(46px, 8vh, 96px) 22px 12px;
}

.hero-inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
}

.hero-eyebrow {
  font-size: var(--text-label);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.hero-date {
  font-size: var(--text-label);
  letter-spacing: 0.3em;
  color: var(--ink-soft);
}

.hero-place {
  font-size: var(--text-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: clamp(6px, 1.4vh, 12px);
}

.hero-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(22px, 5vh, 44px);
}

html.play-hero .hero-place {
  animation: intro-up 0.8s var(--ease) 3.65s both;
}

html.play-hero .hero-cta {
  animation: intro-up 0.8s var(--ease) 3.9s both;
}

.hero-cta a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(62, 46, 39, 0.35);
  border-radius: 999px;
  padding: clamp(12px, 1.8vh, 15px) clamp(26px, 4vw, 34px);
  min-height: 44px;
  font-size: var(--text-label);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.hero-cta a:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.hero-cta .heart {
  height: 15px;
  width: auto;
}

.hero-cta .heart path {
  stroke-width: 8;
}

.hero-florals {
  width: min(680px, 88vw);
  height: clamp(26px, 8vh, 110px);
  object-fit: contain;
  flex: 0 0 auto;
  margin-top: auto;
  padding-top: clamp(4px, 1.2vh, 18px);
  opacity: 0.95;
}

html.play-hero .hero-florals {
  animation: intro-bouquet 1.2s var(--ease) 4.1s both;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 238, 231, 0.92);
  backdrop-filter: blur(10px);
}

.nav-brand {
  display: flex;
  justify-content: center;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), opacity 0.3s ease;
}

.site-nav.is-stuck .nav-brand {
  max-height: 64px;
  opacity: 1;
}

.nav-brand .names-script {
  justify-content: center;
  gap: 0.28em;
  font-size: var(--text-sub);
  padding: 10px 0 4px;
}

.nav-brand .heart {
  height: 0.6em;
}

.nav-brand .heart path {
  stroke-width: 7;
}

.nav-links {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 clamp(8px, 1.9vw, 22px);
  padding: 2px 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.nav-links a {
  font-size: var(--text-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  border: none;
  color: var(--ink-soft);
  padding: 13px 2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px var(--page-pad) 90px;
  border-top: 1px solid var(--line);
}

.section--story {
  max-width: 660px;
  padding-top: 100px;
  text-align: center;
}

.section--story .section-title {
  margin-bottom: 34px;
}

.section--girls .section-title {
  margin-bottom: 20px;
}

.section--girls .lead {
  max-width: 520px;
  margin: 0 auto 36px;
}

.section--narrow .section-title,
.section--faq .section-title {
  margin-bottom: 50px;
}

#venues .section-title,
#priest .section-title {
  margin-bottom: 54px;
}

.section--dress .section-title {
  margin-bottom: 30px;
}

a.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.rsvp-form input:focus,
.rsvp-form textarea:focus {
  outline: none;
}

.rsvp-form input:not([type="hidden"]):focus {
  border-bottom-color: var(--ink-mute);
}

.rsvp-form textarea:focus {
  border-color: var(--ink-mute);
}

.section--narrow {
  max-width: 760px;
}

.section--dress {
  max-width: 640px;
  text-align: center;
}

.section--stay,
.section--girls {
  text-align: center;
}

.section--rsvp {
  max-width: none;
  background: var(--cream-deep);
}

.section--rsvp .rsvp-wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 86px var(--page-pad) 96px;
}

.section--faq {
  max-width: 760px;
  padding-top: 86px;
  border-top: 0;
}

.section--photos {
  max-width: 1000px;
}

.section--church,
.section--venue {
  max-width: 1000px;
}

.section--center .eyebrow,
.section-head {
  text-align: center;
}

.section-head {
  margin-bottom: 14px;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 620px;
  margin: 0 auto 28px;
  text-align: left;
}

.prose p,
.lead,
.stay-body,
.dress-block p {
  font-size: var(--text-body);
  line-height: 1.85;
  color: var(--ink);
  font-weight: 200;
  margin: 0;
  text-wrap: pretty;
}

.poem-stack {
  display: flex;
  flex-direction: column;
  gap: 44px;
  font-size: var(--text-body);
  line-height: 1.9;
  font-weight: 200;
  color: var(--ink);
  max-width: 520px;
  margin: 0 auto;
}

.poem {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.poem em,
.prose strong,
.stay-body strong,
.rsvp-copy strong {
  font-style: normal;
  font-weight: 400;
  color: var(--accent);
}

.prose strong,
.stay-body strong,
.rsvp-copy strong {
  color: var(--ink);
}

.pic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 16px;
}

.pic-grid--story {
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  margin-top: 44px;
}

.pic-grid--repair {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pic-frame {
  position: relative;
}

.pic-frame img,
.lb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.ratio-portrait {
  aspect-ratio: 420 / 821;
}

.ratio-43 {
  aspect-ratio: 4 / 3;
}

.ratio-wide {
  aspect-ratio: 800 / 600;
}

.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(62, 46, 39, 0.14);
}

.video-wrap video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 999px;
  border: 1px solid rgba(248, 238, 231, 0.72);
  background: rgba(47, 34, 28, 0.72);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.video-play:hover {
  background: rgba(47, 34, 28, 0.9);
  transform: translate(-50%, -50%) scale(1.05);
}

.video-play span {
  display: block;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 19px solid var(--cream);
  margin-left: 5px;
}

.video-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.video-actions .btn-ghost {
  padding: 11px 18px;
  font-size: var(--text-label);
  letter-spacing: 0.18em;
}

.schedule {
  display: flex;
  flex-direction: column;
}

.schedule-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: baseline;
  padding: 17px 0;
  border-bottom: 1px solid rgba(62, 46, 39, 0.1);
}

.schedule-row time {
  font-size: var(--text-body);
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}

.schedule-row span {
  font-size: var(--text-body);
  letter-spacing: 0.02em;
}

.day-note,
.photos-note,
.rsvp-deadline {
  font-size: var(--text-body);
  color: var(--ink-mute);
  margin-top: 22px;
  text-align: center;
  letter-spacing: 0.02em;
}

.photos-note,
.rsvp-deadline {
  font-size: var(--text-body);
  color: var(--ink-soft);
  margin: 0 0 44px;
}

.rsvp-deadline {
  margin-bottom: 40px;
}

.venue-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 54px;
  text-align: center;
}

.venue-pair img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
  opacity: 0.92;
}

.venue-kicker {
  font-size: var(--text-label);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 26px 0 10px;
}

.venue-name {
  font-size: var(--text-sub);
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.venue-addr {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.venue-pair a,
.route-link,
.site-link {
  font-size: var(--text-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.route-wrap {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0 0 48px;
}

.caption {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--ink-mute);
  margin-top: 12px;
  text-align: center;
  text-wrap: pretty;
}

.priest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 48px;
  align-items: center;
}

.priest-name {
  font-size: var(--text-sub);
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.priest-parish {
  font-size: var(--text-label);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 22px;
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 44px 56px;
  max-width: 760px;
  margin: 0 auto;
}

.travel-head {
  font-size: var(--text-label);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}

.travel-body {
  font-size: var(--text-body);
  line-height: 1.75;
  color: var(--ink);
  text-wrap: pretty;
}

.travel-help {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: var(--text-body);
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: pretty;
}

.stay-hero {
  position: relative;
  aspect-ratio: 4 / 3;
  max-width: 520px;
  margin: 0 auto 34px;
}

.stay-hotel {
  font-size: var(--text-sub);
  margin-bottom: 8px;
}

.stay-meta {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--ink-soft);
}

.stay-body {
  max-width: 520px;
  margin: 22px auto 20px;
}

.stay-alt {
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.hotel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 34px;
  text-align: center;
}

.dress-list {
  display: flex;
  flex-direction: column;
  gap: 34px;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.dress-kicker {
  font-size: var(--text-label);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}

.dress-code {
  font-size: var(--text-sub);
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}

.rsvp-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 520px;
  margin: 0 auto 46px;
  text-align: center;
}

.rsvp-copy .heart {
  width: 46px;
  height: auto;
  display: block;
  margin: 14px auto 0;
}

.rsvp-copy .heart path {
  stroke-width: 5;
}

.rsvp-signoff {
  font-size: var(--text-body);
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin-top: 6px;
}

.rsvp-names {
  font-family: var(--script);
  font-size: var(--text-sub);
  line-height: 1.3;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.rsvp-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.rsvp-form .field-label {
  font-size: var(--text-label);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.attend-field {
  display: flex;
  flex-direction: column;
}

.attend-field .field-label {
  margin-bottom: 16px;
}

.rsvp-form input:not([type="hidden"]),
.rsvp-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 9px 0;
  font-size: var(--text-body);
  color: var(--ink);
  font-weight: 300;
}

.rsvp-form textarea {
  border: 1px solid rgba(62, 46, 39, 0.22);
  border-radius: 2px;
  padding: 12px;
  font-size: var(--text-body);
  resize: vertical;
  min-height: 96px;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice {
  cursor: pointer;
  border-radius: 2px;
  padding: 13px 24px;
  min-height: 48px;
  font-size: var(--text-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
}

.choice[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.rsvp-alert {
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--danger);
  text-align: center;
}

.rsvp-form .btn-dark {
  align-self: center;
  margin-top: 8px;
  padding: 16px 42px;
}

.rsvp-thanks {
  text-align: center;
  padding: 40px 0;
  animation: fade-up 0.5s ease both;
}

.rsvp-thanks h3 {
  font-family: var(--script);
  font-weight: 400;
  font-size: var(--text-script);
  line-height: 1;
  margin: 0 0 14px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  max-width: 620px;
  margin: 0 auto;
}

.faq-group {
  font-size: var(--text-label);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 34px 0 12px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 20px 0;
  min-height: 48px;
  color: var(--ink-soft);
  text-align: left;
}

.faq-item button:hover,
.faq-item button[aria-expanded="true"] {
  color: var(--ink);
}

.faq-item button span:last-child {
  font-size: var(--text-sub);
  font-weight: 200;
  line-height: 1;
  color: var(--ink-mute);
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 0 22px;
  animation: fade-up 0.32s var(--ease) both;
}

.faq-answer p {
  font-size: var(--text-body);
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
  text-wrap: pretty;
}

.faq-answer a {
  display: inline-block;
  margin-top: 12px;
  font-size: var(--text-label);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 80px var(--page-pad) 100px;
}

.footer-lines {
  font-size: var(--text-body);
  line-height: 2;
  color: var(--ink);
}

.footer-lines .muted {
  color: var(--ink-soft);
}

.footer-addr {
  font-size: var(--text-body);
  line-height: 1.8;
  color: var(--ink-mute);
  margin-top: 18px;
}

.site-footer img {
  height: 230px;
  width: auto;
  margin: 46px auto 0;
  display: block;
  opacity: 0.95;
}

.footer-names {
  font-family: var(--script);
  font-size: var(--text-script);
  margin-top: 26px;
}

.footer-date {
  font-size: var(--text-label);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 10px;
}

.lightbox {
  width: min(1100px, 100%);
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: clamp(16px, 4vw, 48px);
  border: 0;
  background: rgba(38, 28, 23, 0.86);
  backdrop-filter: blur(6px);
  color: var(--cream);
}

.lightbox::backdrop {
  background: rgba(38, 28, 23, 0.86);
}

.lightbox-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  animation: fade-up 0.4s var(--ease) both;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 22px;
}

.lightbox-bar button,
.lightbox-close {
  background: transparent;
  border: 1px solid rgba(248, 238, 231, 0.4);
  color: var(--cream);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  font-size: var(--text-body);
  line-height: 1;
  cursor: pointer;
}

.lightbox-bar button:hover,
.lightbox-close:hover {
  border-color: var(--cream);
}

.lightbox-count {
  font-size: var(--text-label);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(248, 238, 231, 0.75);
  min-width: 70px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
  border: none;
  font-size: var(--text-sub);
  font-weight: 200;
  color: rgba(248, 238, 231, 0.8);
}

.js-reveal .reveal:not(.is-in) {
  opacity: 0 !important;
  transform: translateY(22px);
}

.js-reveal .reveal.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.15s var(--ease),
    transform 1.25s var(--ease);
}

.js-reveal img.reveal.is-in.head-art,
.js-reveal img.reveal.is-in[src*="bouquet"] {
  opacity: 0.95;
}

@keyframes intro-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes write {
  from { clip-path: polygon(-6% -40%, -6% -40%, -20% 130%, -20% 130%); }
  to { clip-path: polygon(-6% -40%, 120% -40%, 106% 130%, -20% 130%); }
}

@keyframes draw-heart {
  from { stroke-dashoffset: 300; }
  to { stroke-dashoffset: 0; }
}

@keyframes intro-bouquet {
  from { opacity: 0; transform: translateY(34px) scale(0.98); }
  to { opacity: 0.95; transform: none; }
}

@keyframes corner-in {
  from { opacity: 0; transform: translateY(-14px) scale(0.98); }
  to { opacity: 0.9; transform: none; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .pic-grid--repair {
    grid-template-columns: 1fr;
  }

  .schedule-row {
    grid-template-columns: 72px 1fr;
    gap: 14px;
  }

  .gate-form {
    flex-direction: column;
  }

  .choice-row {
    flex-direction: column;
  }

  .choice {
    width: 100%;
  }
}

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