:root {
  --ink: #2f3a32;
  --ink-soft: #5a675d;
  --sage: #afbb9e;
  --sage-dark: #566958;
  --sage-pale: #e3e9df;
  --cream: #f4f0e7;
  --cream-deep: #e9e2d4;
  --paper: #fbf9f4;
  --blush: #d9b9ae;
  --white: #fff;
  --line: rgba(47, 58, 50, 0.16);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino,
    "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --header-height: 78px;
  --page-pad: clamp(22px, 5vw, 84px);
  --shadow: 0 24px 70px rgba(45, 57, 48, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: var(--header-height);
  grid-template-columns: 100px minmax(0, 1fr) 100px;
  align-items: center;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid transparent;
  color: var(--white);
  transition:
    background 260ms ease,
    color 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.site-header.is-solid,
body:not([data-page="home"]) .site-header {
  border-color: var(--line);
  background: rgba(244, 240, 231, 0.96);
  box-shadow: 0 6px 24px rgba(47, 58, 50, 0.04);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.02em;
}

.wordmark i {
  width: 23px;
  height: 1px;
  margin: 0 9px;
  background: currentColor;
  opacity: 0.6;
}

.primary-nav {
  min-width: 0;
}

.nav-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.6vw, 42px);
}

.nav-link {
  position: relative;
  padding: 26px 0 23px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transition: transform 200ms ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-rsvp {
  justify-self: end;
  min-width: 78px;
  padding: 9px 15px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.header-rsvp:hover {
  background: var(--ink);
  color: var(--cream);
}

.site-header:not(.is-solid) .header-rsvp:hover {
  background: var(--white);
  color: var(--ink);
}

.page-panel {
  animation: panel-in 500ms ease both;
}

.page-panel[hidden] {
  display: none;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  position: relative;
  display: grid;
  min-height: max(670px, 100svh);
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(22, 31, 25, 0.3), rgba(22, 31, 25, 0.4)),
    url("assets/high-house-bridge-hero.webp") center center / cover no-repeat;
  color: var(--white);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 25, 18, 0.28), transparent 35%, transparent 65%, rgba(15, 25, 18, 0.2)),
    linear-gradient(0deg, rgba(15, 23, 17, 0.42), transparent 45%, rgba(15, 23, 17, 0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(900px, calc(100% - 40px));
  min-height: max(670px, 100svh);
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--header-height) + 48px) 0 102px;
  text-align: center;
  text-shadow: 0 2px 22px rgba(17, 27, 20, 0.32);
}

.hero-title,
.hero-details {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sage-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.27em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.88);
}

.hero h1 {
  display: flex;
  margin: 0 0 4px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 0.22em;
  font-family: var(--serif);
  font-size: clamp(58px, 8.8vw, 132px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.78;
}

.hero h1 span {
  display: block;
}

.hero h1 em {
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: 0.5em;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-kicker {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 28px);
  font-style: italic;
}

.hero-details {
  padding: 15px 28px 18px;
  background: rgba(20, 31, 23, 0.2);
  backdrop-filter: blur(2px);
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-meta i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.wedding-date {
  margin: 7px 0 13px;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
}

.countdown {
  display: grid;
  width: min(510px, 78vw);
  margin-bottom: 16px;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
}

.countdown > div {
  position: relative;
  padding: 10px 12px 9px;
}

.countdown > div:not(:last-child)::after {
  position: absolute;
  top: 18%;
  right: 0;
  bottom: 18%;
  width: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.25);
}

.countdown strong,
.countdown span {
  display: block;
}

.countdown strong {
  font-family: var(--serif);
  font-size: clamp(23px, 3vw, 35px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
}

.countdown span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.countdown-finished {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 25px;
  font-style: italic;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 13px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.button-light {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  backdrop-filter: blur(5px);
}

.button-light:hover {
  background: var(--white);
  color: var(--ink);
}

.button-dark {
  background: var(--sage);
  color: var(--ink);
}

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

.button-outline {
  border-color: var(--sage-dark);
  background: transparent;
  color: var(--ink-soft);
}

.button-outline:hover {
  background: var(--sage);
  color: var(--ink);
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  bottom: 28px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transform: translateX(-50%);
}

.scroll-cue span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 20px;
  margin-top: 6px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.2;
  animation: nudge 1.8s ease-in-out infinite;
}

@keyframes nudge {
  50% {
    transform: translateY(5px);
  }
}

.welcome-section {
  position: relative;
  display: grid;
  max-width: 1400px;
  min-height: 710px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.75fr) minmax(340px, 1fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: clamp(35px, 5vw, 90px);
  padding: 110px var(--page-pad);
}

.botanical-mark {
  display: grid;
  place-items: center;
}

.botanical-mark svg {
  width: min(190px, 70%);
  fill: none;
  stroke: var(--sage-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
}

.botanical-mark svg path + path {
  fill: rgba(175, 187, 158, 0.06);
}

.welcome-copy {
  max-width: 510px;
}

.welcome-copy h2,
.page-heading h2,
.taxi-section h2,
.accommodation-section h2 {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.welcome-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--sage-dark);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.couple-photo {
  position: relative;
  margin: 0;
}

.couple-photo::before {
  position: absolute;
  z-index: -1;
  top: -22px;
  right: -22px;
  width: 65%;
  height: 60%;
  content: "";
  border: 1px solid rgba(175, 187, 158, 0.34);
}

.couple-photo-border {
  border: 10px solid var(--paper);
  box-shadow: var(--shadow);
}

.couple-photo-crop {
  position: relative;
  aspect-ratio: 300 / 434;
  overflow: hidden;
}

.couple-photo img {
  position: absolute;
  display: block;
  width: 297.616256%;
  max-width: none;
  height: auto;
  left: 167.617559%;
  top: -81.541069%;
  transform-origin: 0 0;
  transform: rotate(90deg);
}

.couple-photo figcaption {
  margin-top: 16px;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  text-align: right;
}

.home-links {
  display: grid;
  padding: 0 var(--page-pad) 90px;
  grid-template-columns: repeat(4, 1fr);
}

.home-link-card {
  display: grid;
  min-height: 170px;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 32px clamp(22px, 3vw, 48px);
  border: 0;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.home-link-card:first-child {
  border-left: 1px solid var(--line);
}

.home-link-card:hover {
  background: var(--paper);
  transform: translateY(-4px);
}

.home-link-card small {
  display: block;
  margin-bottom: 7px;
  color: var(--sage-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-link-card strong {
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 400;
}

.card-arrow {
  font-size: 24px;
  transition: transform 180ms ease;
}

.home-link-card:hover .card-arrow {
  transform: translateX(5px);
}

.content-page {
  min-height: calc(100vh - 190px);
  padding: calc(var(--header-height) + 90px) var(--page-pad) 120px;
}

.page-heading {
  max-width: 720px;
  margin: 0 auto 80px;
  text-align: center;
}

.page-heading h2 {
  margin-bottom: 18px;
  font-size: clamp(48px, 6.5vw, 88px);
}

.page-heading > p:last-child {
  max-width: 610px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 18px;
}

.rsvp-page {
  background:
    radial-gradient(circle at 10% 45%, rgba(217, 185, 174, 0.15), transparent 30%),
    var(--cream);
}

.rsvp-layout {
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.rsvp-note {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  min-height: 540px;
  align-self: stretch;
  padding: 70px 52px;
  overflow: hidden;
  background: var(--sage);
  color: var(--ink);
}

.script-ampersand {
  position: absolute;
  right: -20px;
  bottom: -80px;
  color: rgba(86, 105, 88, 0.16);
  font-family: var(--serif);
  font-size: 320px;
  font-style: italic;
  line-height: 1;
}

.rsvp-note h3,
.timeline-aside h3,
.contact-card h3 {
  position: relative;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1;
}

.rsvp-note > p {
  position: relative;
  color: rgba(47, 58, 50, 0.78);
  font-family: var(--serif);
  font-size: 16px;
}

.reply-date {
  position: relative;
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid rgba(47, 58, 50, 0.22);
}

.reply-date small {
  display: block;
  margin-bottom: 4px;
  color: var(--sage-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.reply-date strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
}

.rsvp-form {
  padding: 60px clamp(28px, 5vw, 70px);
}

.form-row {
  margin-bottom: 28px;
}

.form-row label,
.form-row legend {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-row label span {
  color: var(--sage-dark);
  font-weight: 500;
}

.form-row input:not([type="radio"]),
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgba(47, 58, 50, 0.3);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  transition: border-color 160ms ease;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-bottom-color: var(--sage-dark);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #90988f;
}

.attendance-fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

.choice-grid,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.choice-card {
  display: flex !important;
  min-height: 82px;
  align-items: center;
  gap: 13px;
  margin: 0 !important;
  padding: 16px;
  border: 1px solid var(--line);
  cursor: pointer;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.choice-card:has(input:checked) {
  border-color: var(--sage-dark);
  background: rgba(175, 187, 158, 0.14);
}

.choice-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.choice-dot {
  display: grid;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--sage-dark);
  border-radius: 50%;
}

.choice-dot::after {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  content: "";
  background: var(--sage-dark);
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.choice-card input:checked + .choice-dot::after {
  opacity: 1;
  transform: scale(1);
}

.choice-card strong,
.choice-card small {
  display: block;
}

.choice-card strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.choice-card small {
  margin-top: 2px;
  color: var(--sage-dark);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 4px;
  color: #9c4a3d;
  font-size: 12px;
}

.submit-button {
  width: 100%;
  margin-top: 10px;
}

.form-note {
  margin: 13px 0 0;
  color: var(--sage-dark);
  font-size: 11px;
  text-align: center;
}

.rsvp-success {
  min-height: 620px;
  padding: 90px 60px;
  place-self: stretch;
  text-align: center;
}

.rsvp-success:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.success-mark {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid var(--sage-dark);
  border-radius: 50%;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 28px;
}

.rsvp-success h3 {
  margin: 0 0 15px;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
}

.rsvp-success > p:not(.eyebrow) {
  max-width: 480px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
}

.rsvp-page [hidden],
[data-rsvp-shortcut][hidden],
.admin-main [hidden] {
  display: none !important;
}

.rsvp-notice {
  max-width: 720px;
  margin: 0 auto;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: center;
}

.rsvp-guest {
  padding: 0 0 26px;
}

.rsvp-guest + .rsvp-guest {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.rsvp-guest h3,
.admin-panel h2,
.admin-invitation h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.rsvp-guest-details {
  min-width: 0;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}

.rsvp-note-legend {
  margin-bottom: 14px;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 19px;
}

.rsvp-guest-details .form-row:last-child {
  margin-bottom: 0;
}

.rsvp-note .rsvp-demo-label {
  margin-top: 30px;
  font-size: 13px;
}

.rsvp-note h3 {
  overflow-wrap: anywhere;
}

.rsvp-form .choice-card:focus-within {
  outline: 2px solid var(--sage-dark);
  outline-offset: 3px;
}

.rsvp-summary {
  width: min(100%, 460px);
  margin: 15px 0;
  padding: 0;
  list-style: none;
  text-align: left;
  overflow-wrap: anywhere;
}

.rsvp-summary li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.rsvp-summary span {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
}

.admin-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 45px var(--page-pad);
}

.admin-main h1 {
  margin: 18px 0;
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 58px);
  font-weight: 400;
}

.admin-panel {
  margin-block: 24px;
  padding: clamp(18px, 4vw, 32px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.admin-guest-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px 16px;
  margin-bottom: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.admin-guest-row .form-row,
.admin-guest-row button {
  margin: 0;
}

.admin-guest-row button {
  justify-self: start;
}

.admin-guest-options {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.admin-guest-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.admin-guest-options input {
  width: 18px;
  height: 18px;
  accent-color: var(--sage-dark);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
}

.admin-actions .text-link {
  margin: 0;
}

.admin-invitation {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.admin-invitation ul {
  padding-left: 20px;
}

.meal-dishes { min-width: 0; border: 0; padding: 0; margin: 0; }
.meal-portion-options { grid-template-columns: minmax(0, 1fr); }
.meal-portion-copy small { font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.5; }
.meal-portion-options .choice-card:has(input:focus-visible) { outline: 2px solid var(--sage-dark); outline-offset: 3px; }

.admin-invitation summary {
  display: grid;
  gap: 4px;
  cursor: pointer;
  font-size: 18px;
  padding-right: 20px;
}

.admin-invitation summary::before {
  content: "+";
  position: absolute;
  right: 0;
}

.admin-invitation summary { position: relative; }
.admin-invitation[open] summary::before { content: "-"; }
.admin-invitation summary span { font-size: 14px; font-weight: 400; }
.admin-invitation summary::-webkit-details-marker { display: none; }
.admin-invitation li { margin-bottom: 10px; }
.admin-review-note { padding: 12px; background: var(--sage-light, #eef1e8); white-space: pre-line; }

@media (max-width: 600px) {
  .admin-guest-row { grid-template-columns: minmax(0, 1fr); }
}

.timeline-wrap {
  display: grid;
  max-width: 1080px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 90px;
}

.timeline-list {
  display: grid;
  grid-auto-rows: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-list li {
  position: relative;
  display: grid;
  min-height: 175px;
  grid-template-columns: 90px 25px 1fr;
  gap: 22px;
}

.timeline-list li:not(:last-child)::before {
  position: absolute;
  top: 15px;
  bottom: -15px;
  left: 124px;
  width: 1px;
  content: "";
  background: var(--line);
}

.timeline-list time {
  padding-top: 2px;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  text-align: right;
}

.timeline-dot {
  z-index: 1;
  width: 9px;
  height: 9px;
  margin: 7px auto 0;
  border: 3px solid var(--cream);
  border-radius: 50%;
  outline: 1px solid var(--sage-dark);
  background: var(--sage-dark);
}

.timeline-list small {
  color: var(--sage-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.timeline-list h3,
.location-copy h3,
.info-card h3,
.stay-list h4 {
  margin: 4px 0 8px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
  line-height: 1.15;
}

.timeline-list p {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 16px;
}

.timeline-aside {
  position: sticky;
  top: calc(var(--header-height) + 35px);
  padding: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.timeline-aside h3 {
  font-size: 34px;
}

.timeline-aside > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-family: var(--serif);
}

.timeline-aside .button {
  width: 100%;
  margin-top: 18px;
}

.location-feature {
  display: grid;
  max-width: 1160px;
  min-height: 500px;
  margin: 0 auto 80px;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.location-map {
  position: relative;
  min-height: 440px;
  background: var(--sage-pale);
}

.location-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(45px, 7vw, 90px);
}

.location-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(48px, 6vw, 78px);
}

.location-address {
  margin: 0 0 16px;
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
}

.location-copy > p:not(.eyebrow, .location-address) {
  color: var(--ink-soft);
  font-family: var(--serif);
}

.location-copy .button {
  margin-top: 16px;
}

.info-card-grid {
  display: grid;
  max-width: 1160px;
  margin: 0 auto 120px;
  grid-template-columns: repeat(2, 1fr);
}

.info-card {
  min-height: 250px;
  padding: 38px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.info-card:first-child {
  border-left: 1px solid var(--line);
}

.info-card p {
  color: var(--ink-soft);
  font-family: var(--serif);
}

.taxi-section,
.accommodation-section {
  display: grid;
  max-width: 1160px;
  margin: 0 auto;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
}

.taxi-section h2,
.accommodation-section h2 {
  font-size: clamp(40px, 5vw, 68px);
}

.taxi-section p,
.stay-intro {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
}

.taxi-section > div,
.accommodation-section > div,
.stay-list {
  min-width: 0;
}

.taxi-section {
  margin-bottom: 100px;
}

.onsite-stay {
  max-width: 1160px;
  margin: 80px auto 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

.onsite-stay > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 42px);
  cursor: pointer;
  list-style: none;
}

.onsite-stay > summary::-webkit-details-marker {
  display: none;
}

.onsite-stay h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
}

.onsite-stay .stay-intro {
  max-width: 760px;
  margin: 0 0 18px;
}

.onsite-toggle-closed,
.onsite-toggle-open {
  color: var(--sage-dark);
  font-size: 14px;
  font-weight: 600;
}

.onsite-toggle-open,
.onsite-stay[open] .onsite-toggle-closed {
  display: none;
}

.onsite-stay[open] .onsite-toggle-open {
  display: inline;
}

.onsite-toggle-icon {
  flex-shrink: 0;
  color: var(--sage-dark);
  font-size: 30px;
  transition: transform 180ms ease;
}

.onsite-stay[open] .onsite-toggle-icon {
  transform: rotate(45deg);
}

.onsite-stay-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding: 0 clamp(24px, 4vw, 42px) 36px;
}

.onsite-stay-body .stay-area + .stay-area {
  margin-top: 0;
}

@media (max-width: 820px) {
  .onsite-stay-body {
    grid-template-columns: 1fr;
  }
}

.taxi-list {
  min-width: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.taxi-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.taxi-list li > div {
  min-width: 0;
}

.taxi-list h3 {
  margin: 0 0 3px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.taxi-list span {
  color: var(--ink-soft);
  font-size: 12px;
}

.taxi-list a {
  padding: 8px 0;
  color: var(--sage-dark);
  font-size: 14px;
  white-space: nowrap;
  text-underline-offset: 4px;
}

.stay-list {
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.stay-area {
  padding-top: 27px;
}

.stay-area + .stay-area {
  padding-top: 44px;
}

.stay-area h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(29px, 3.4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.stay-list .stay-area-intro {
  margin: 0 0 6px;
  color: var(--sage-dark);
  font-size: 15px;
  font-weight: 400;
}

.stay-list article {
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.stay-list h4 {
  margin-top: 8px;
}

.stay-list p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-family: var(--serif);
}

.stay-list .stay-address {
  color: var(--sage-dark);
  font-family: var(--sans);
  font-size: 13px;
}

.stay-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-top: 14px;
}

.stay-contact > a {
  color: var(--sage-dark);
  font-size: 13px;
}

.stay-contact .text-link {
  margin-top: 0;
  font-size: 10px;
}

.photos-page {
  background:
    radial-gradient(circle at 90% 16%, rgba(217, 185, 174, 0.15), transparent 24%),
    var(--cream);
}

.photos-page [hidden] {
  display: none !important;
}

.official-gallery,
.guest-album,
.guest-uploads {
  max-width: 1160px;
  margin: 0 auto;
}

.official-gallery {
  margin-top: 110px;
}

.guest-album {
  margin-top: 100px;
}

.album-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.album-toolbar p {
  margin: 0;
  font-size: 16px;
}

.album-toolbar .text-link {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

.album-status {
  color: var(--ink-soft);
  font-size: 14px;
}

.album-status {
  min-height: 1.6em;
  margin: 20px 0;
}

.guest-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.guest-photo-card {
  min-width: 0;
  padding-bottom: 20px;
  background: var(--paper);
}

.guest-photo-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 0;
  background: var(--sage-pale);
  cursor: zoom-in;
}

.guest-photo-open img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease;
}

.guest-photo-open:hover img {
  transform: scale(1.025);
}

.guest-photo-open:focus-visible {
  outline: 3px solid var(--sage-dark);
  outline-offset: 4px;
}

.guest-photo-fallback {
  display: grid;
  height: 100%;
  padding: 25px;
  place-items: center;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
}

.guest-photo-card > p {
  margin: 18px 20px 4px;
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.3;
}

.guest-photo-credit {
  display: block;
  margin: 0 20px;
  overflow-wrap: anywhere;
  color: var(--ink-soft);
  font-size: 14px;
}

.album-empty {
  padding: 50px 25px;
  text-align: center;
  font-family: var(--serif);
  font-size: 24px;
}

.album-load-more {
  display: block;
  margin: 36px auto 0;
}

.photo-viewer-open {
  overflow: hidden;
}

.photo-lightbox {
  width: min(1000px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 24px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.photo-lightbox::backdrop {
  background: rgba(20, 31, 24, 0.85);
}

.lightbox-toolbar,
.lightbox-navigation,
.lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.lightbox-toolbar {
  margin-bottom: 16px;
}

.lightbox-toolbar p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.photo-lightbox button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--sage-dark);
  background: transparent;
  color: var(--sage-dark);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}

.photo-lightbox button:disabled {
  opacity: 0.4;
  cursor: default;
}

.lightbox-picture {
  display: grid;
  min-height: 180px;
  place-items: center;
  background: var(--cream-deep);
}

.lightbox-picture img {
  display: block;
  width: 100%;
  max-height: 62dvh;
  object-fit: contain;
}

.lightbox-picture p {
  max-width: 440px;
  padding: 30px;
  text-align: center;
}

.lightbox-caption {
  align-items: start;
  margin-top: 20px;
}

.lightbox-caption h3 {
  margin: 0;
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.lightbox-caption p {
  margin: 6px 0 0;
  overflow-wrap: anywhere;
  color: var(--ink-soft);
  font-size: 14px;
}

.lightbox-caption .text-link {
  flex-shrink: 0;
  margin-top: 4px;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

.lightbox-navigation {
  margin-top: 24px;
}

.official-gallery .gallery-intro {
  margin-bottom: 0;
}

.gallery-intro {
  display: grid;
  margin-bottom: 42px;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 70px;
}

.gallery-intro h3,
.upload-copy h3,
.photo-upload-success h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4.7vw, 66px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.gallery-intro > p,
.upload-copy > p {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
}

.guest-uploads {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: stretch;
  box-shadow: var(--shadow);
}

.upload-copy {
  padding: clamp(50px, 6vw, 80px) clamp(34px, 5vw, 65px);
  background: var(--sage);
  color: var(--ink);
}

.upload-copy .eyebrow {
  color: var(--sage-dark);
}

.upload-copy h3 {
  color: var(--ink);
  font-size: clamp(38px, 4vw, 56px);
}

.upload-copy > p {
  margin-top: 24px;
  color: rgba(47, 58, 50, 0.78);
}

.upload-copy ul {
  margin: 34px 0 0;
  padding: 25px 0 0;
  border-top: 1px solid rgba(47, 58, 50, 0.22);
  color: rgba(47, 58, 50, 0.72);
  font-family: var(--serif);
  font-size: 14px;
  list-style: none;
}

.upload-copy li {
  position: relative;
  margin-top: 9px;
  padding-left: 18px;
}

.upload-copy li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: var(--blush);
}

.photo-upload-form {
  padding: clamp(40px, 6vw, 70px);
  background: var(--paper);
}

.upload-dropzone {
  position: relative;
  display: grid;
  min-height: 240px;
  margin-bottom: 34px;
  place-items: center;
  border: 1px dashed rgba(175, 187, 158, 0.85);
  background: rgba(227, 233, 223, 0.25);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.upload-dropzone:hover,
.upload-dropzone:focus-within,
.upload-dropzone.is-dragging {
  border-color: var(--sage-dark);
  background: rgba(227, 233, 223, 0.56);
}

.upload-dropzone.is-dragging {
  transform: scale(1.01);
}

.upload-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-dropzone label {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 240px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  cursor: pointer;
  text-align: center;
}

.upload-icon {
  display: grid;
  width: 61px;
  height: 61px;
  margin-bottom: 16px;
  place-items: center;
  border: 1px solid var(--sage-dark);
  border-radius: 50%;
}

.upload-icon svg {
  width: 29px;
  fill: none;
  stroke: var(--sage-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.upload-dropzone strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.upload-dropzone small {
  margin-top: 3px;
  color: var(--sage-dark);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.selected-photo-summary {
  margin: -9px 0 34px;
}

.selected-photo-summary > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
}

.selected-photo-summary strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}

.selected-photo-summary button {
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--sage-dark);
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.selected-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.selected-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream-deep);
}

.selected-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selected-photo-file {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(175, 187, 158, 0.12), rgba(217, 185, 174, 0.2)),
    var(--cream-deep);
}

.selected-photo-file strong {
  color: var(--sage-dark);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
}

.selected-photo span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  padding: 13px 6px 5px;
  background: linear-gradient(transparent, rgba(25, 35, 28, 0.72));
  color: var(--white);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-details {
  margin-top: 5px;
}

.upload-error {
  margin: -16px 0 12px;
}

.upload-button {
  width: 100%;
}

.photo-upload-success {
  min-height: 610px;
  padding: 60px;
  background: var(--paper);
  text-align: center;
}

.photo-upload-success:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.photo-upload-success h3 {
  max-width: 480px;
  font-size: clamp(38px, 4vw, 54px);
}

.photo-upload-success > p:not(.eyebrow) {
  max-width: 460px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
}

.faq-layout {
  display: grid;
  max-width: 1100px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 80px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 22px;
  list-style: none;
}

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

.faq-list summary i {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.faq-list summary i::before,
.faq-list summary i::after {
  position: absolute;
  top: 7px;
  left: 0;
  width: 16px;
  height: 1px;
  content: "";
  background: var(--sage-dark);
}

.faq-list summary i::after {
  transform: rotate(90deg);
  transition: transform 180ms ease;
}

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

.faq-list details p {
  max-width: 650px;
  margin: -3px 0 28px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 16px;
}

.contact-card {
  position: sticky;
  top: calc(var(--header-height) + 35px);
  padding: 48px 42px;
  overflow: hidden;
  background: var(--sage);
  color: var(--ink);
}

.contact-card .eyebrow {
  position: relative;
  color: var(--sage-dark);
}

.contact-card h3 {
  font-size: 36px;
}

.contact-card > p:not(.eyebrow) {
  position: relative;
  color: rgba(47, 58, 50, 0.78);
  font-family: var(--serif);
}

.contact-card .button {
  position: relative;
  width: 100%;
  margin-top: 20px;
  border-color: rgba(47, 58, 50, 0.55);
  color: var(--ink);
}

.contact-card .button:hover {
  background: var(--ink);
  color: var(--white);
}

.site-footer {
  display: flex;
  min-height: 165px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 40px var(--page-pad);
  background: var(--sage);
  color: var(--ink);
}

.site-footer p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 48px);
}

.site-footer p span {
  color: var(--sage-dark);
  font-style: italic;
}

.site-footer small {
  color: rgba(47, 58, 50, 0.72);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  max-width: 330px;
  padding: 14px 18px;
  background: var(--ink);
  box-shadow: var(--shadow);
  color: var(--white);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 75px minmax(0, 1fr) 75px;
  }

  .nav-scroll {
    gap: 16px;
  }

  .welcome-section {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .botanical-mark {
    display: none;
  }

  .home-links {
    grid-template-columns: 1fr;
  }

  .home-link-card {
    min-height: 125px;
    border-left: 1px solid var(--line);
    border-bottom: 0;
  }

  .home-link-card:last-child {
    border-bottom: 1px solid var(--line);
  }

  .timeline-wrap,
  .faq-layout {
    gap: 45px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 112px;
  }

  .site-header {
    height: var(--header-height);
    grid-template-columns: 1fr auto;
    grid-template-rows: 60px 52px;
    padding: 0;
  }

  .wordmark {
    padding-left: 20px;
  }

  .header-rsvp {
    margin-right: 20px;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .is-solid .primary-nav,
  body:not([data-page="home"]) .primary-nav {
    border-top-color: var(--line);
  }

  .nav-scroll {
    justify-content: flex-start;
    gap: 24px;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-scroll::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    padding: 17px 0 16px;
  }

  .nav-link::after {
    bottom: 11px;
  }

  .hero {
    min-height: 720px;
  }

  .hero h1 {
    flex-wrap: nowrap;
    font-size: clamp(44px, 9vw, 68px);
    line-height: 0.86;
  }

  .hero h1 em {
    margin: 0 0.12em;
  }

  .welcome-section {
    grid-template-columns: 1fr;
    padding-top: 90px;
  }

  .welcome-copy {
    max-width: 620px;
  }

  .couple-photo {
    width: min(440px, 88%);
    margin: 20px auto 0;
  }

  .rsvp-layout,
  .location-feature,
  .taxi-section,
  .accommodation-section,
  .guest-uploads {
    grid-template-columns: 1fr;
  }

  .rsvp-note {
    position: relative;
    top: auto;
    min-height: 340px;
    padding: 50px;
  }

  .timeline-wrap,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .timeline-aside,
  .contact-card {
    position: relative;
    top: auto;
  }

  .info-card-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: 0;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }

  .info-card:last-child {
    border-bottom: 1px solid var(--line);
  }

  .taxi-section,
  .accommodation-section {
    gap: 30px;
  }

  .gallery-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .guest-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

}

@media (max-width: 560px) {
  .header-rsvp {
    min-width: 68px;
  }

  .hero {
    min-height: 690px;
    background-position: 45% center;
  }

  .hero-content {
    padding: calc(var(--header-height) + 22px) 0 84px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 48px);
  }

  .hero-title .eyebrow {
    margin-bottom: 9px;
    font-size: 8px;
  }

  .hero-kicker {
    margin-top: 8px;
    font-size: 17px;
  }

  .hero-details {
    width: min(335px, calc(100% - 20px));
    padding: 13px 14px 15px;
  }

  .hero-meta {
    max-width: 290px;
    flex-wrap: wrap;
    gap: 7px 12px;
  }

  .hero-meta i {
    display: none;
  }

  .hero-meta span {
    width: 100%;
  }

  .wedding-date {
    margin: 5px 0 10px;
    font-size: 16px;
  }

  .countdown {
    width: 100%;
    margin-bottom: 13px;
  }

  .countdown > div {
    padding: 9px 4px 8px;
  }

  .countdown strong {
    font-size: 24px;
  }

  .countdown span {
    font-size: 7px;
    letter-spacing: 0.1em;
  }

  .scroll-cue {
    bottom: 18px;
  }

  .welcome-section {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .welcome-copy h2,
  .taxi-section h2,
  .accommodation-section h2 {
    font-size: 40px;
  }

  .home-links {
    padding-bottom: 60px;
  }

  .home-link-card {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 25px 20px;
  }

  .card-arrow {
    display: none;
  }

  .content-page {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
  }

  .page-heading {
    margin-bottom: 50px;
  }

  .page-heading h2 {
    font-size: 49px;
  }

  .page-heading > p:last-child {
    font-size: 16px;
  }

  .rsvp-note {
    min-height: 300px;
    padding: 42px 28px;
  }

  .rsvp-note h3 {
    font-size: 34px;
  }

  .rsvp-form {
    padding: 42px 22px;
  }

  .choice-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .choice-card {
    min-height: 74px;
  }

  .rsvp-success {
    min-height: 520px;
    padding: 60px 25px;
  }

  .timeline-list li {
    min-height: 195px;
    grid-template-columns: 70px 16px 1fr;
    gap: 13px;
  }

  .timeline-list li:not(:last-child)::before {
    left: 84px;
  }

  .timeline-list time {
    font-size: 14px;
  }

  .timeline-list h3 {
    font-size: 24px;
  }

  .timeline-aside,
  .contact-card {
    padding: 35px 28px;
  }

  .location-feature {
    margin-right: calc(0px - var(--page-pad));
    margin-left: calc(0px - var(--page-pad));
  }

  .location-map {
    min-height: 300px;
  }

  .location-copy {
    padding: 45px 28px;
  }

  .location-copy h3 {
    font-size: 52px;
  }

  .info-card {
    padding: 30px 25px;
  }

  .faq-list summary {
    min-height: 76px;
    font-size: 19px;
  }

  .official-gallery {
    margin-top: 80px;
  }

  .guest-album {
    margin-top: 70px;
  }

  .guest-photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-lightbox {
    width: calc(100% - 16px);
    padding: 16px;
  }

  .lightbox-caption {
    flex-direction: column;
    gap: 12px;
  }

  .gallery-intro h3 {
    font-size: 42px;
  }

  .upload-copy,
  .photo-upload-form {
    padding: 42px 24px;
  }

  .upload-copy h3 {
    font-size: 40px;
  }

  .upload-dropzone,
  .upload-dropzone label {
    min-height: 210px;
  }

  .selected-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .photo-upload-success {
    min-height: 480px;
    padding: 50px 24px;
  }

  .site-footer {
    min-height: 190px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
