:root {
  color-scheme: light;
  --ink: #20211f;
  --muted: #666b63;
  --paper: #f7f5ef;
  --paper-2: #eeece4;
  --white: #fffefa;
  --sage: #647a67;
  --sage-dark: #435745;
  --sage-light: #dfe7dd;
  --rose: #c7a4a2;
  --rose-light: #ead8d5;
  --clay: #9d7f73;
  --line: rgba(64, 72, 62, 0.18);
  --shadow: 0 24px 80px rgba(46, 50, 42, 0.12);
  --content-max: 1200px;
  font-family: Avenir, Montserrat, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    repeating-linear-gradient(90deg, rgba(38, 36, 29, 0.018) 0 1px, transparent 1px 7px),
    var(--paper);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  padding: 0 clamp(22px, 5vw, 72px);
  border-bottom: 1px solid rgba(64, 72, 62, 0.12);
  background: rgba(244, 241, 233, 0.9);
  backdrop-filter: blur(16px);
}

.site-nav-inner {
  display: flex;
  width: min(100%, var(--content-max));
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 18px 0;
}

.nav-mark,
.script {
  font-family: "Snell Roundhand", "Apple Chancery", cursive;
  font-weight: 400;
}

.serif {
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-weight: 400;
}

.nav-mark {
  color: var(--sage-dark);
  font-size: 28px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.comp-b {
  background:
    linear-gradient(90deg, rgba(236, 232, 222, 0.9) 0 36%, transparent 36%),
    var(--paper);
}

.comp-c {
  --paper: #f4f0e8;
  --paper-2: #e7ece5;
  --sage: #536d58;
  --sage-dark: #334d39;
  --rose: #b98d91;
  --rose-light: #ead4d3;
  background:
    repeating-linear-gradient(0deg, rgba(40, 42, 35, 0.018) 0 1px, transparent 1px 9px),
    var(--paper);
}

.comp-c .site-nav {
  background: rgba(244, 240, 232, 0.88);
}

.section {
  padding: clamp(68px, 9vw, 124px) clamp(22px, 6vw, 90px);
}

.section-narrow {
  max-width: var(--content-max);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--sage-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.title-line {
  display: block;
}

.script-line {
  display: inline;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--sage-dark);
  border-radius: 2px;
  background: var(--sage-dark);
  color: #fffefa;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: #334635;
  border-color: #334635;
}

.button:active {
  transform: translateY(1px);
}

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

.button.secondary:hover {
  background: rgba(67, 87, 69, 0.08);
}

.button:disabled {
  border-color: rgba(67, 87, 69, 0.28);
  background: rgba(67, 87, 69, 0.18);
  color: rgba(32, 33, 31, 0.58);
  cursor: not-allowed;
  transform: none;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.photo-slot {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid rgba(64, 72, 62, 0.22);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88)),
    #fff;
  backface-visibility: hidden;
  box-shadow: 0 18px 60px rgba(42, 43, 35, 0.08);
  contain: paint;
  transform: translateZ(0);
}

.photo-slot img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  object-fit: cover;
  object-position: var(--photo-position, center);
  transform: translateZ(0);
  will-change: transform;
}

.photo-slot.flat {
  box-shadow: none;
}

.photo-slot.square {
  aspect-ratio: 1;
  min-height: 0;
}

.photo-slot.wide {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.photo-slot.portrait {
  aspect-ratio: 4 / 5;
  min-height: 0;
}

.editorial-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(34px, 6vw, 82px);
  min-height: calc(86svh - 68px);
  align-items: center;
  padding: clamp(34px, 6vw, 72px) clamp(22px, 6vw, 88px);
}

.invite-panel {
  display: grid;
  align-content: center;
}

.invite-panel h1 {
  margin: 0;
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(48px, 7vw, 98px);
  font-weight: 400;
  line-height: 0.96;
}

.invite-panel .script {
  display: block;
  margin: 16px 0;
  color: var(--clay);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.9;
}

.invite-panel p {
  max-width: 420px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.date-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.date-strip strong {
  display: block;
  color: var(--sage-dark);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}

.date-strip span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-gallery {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
  align-items: end;
}

.hero-gallery > .photo-slot:first-child {
  min-height: min(620px, 68svh);
}

.side-stack {
  display: grid;
  gap: 18px;
}

.side-stack .photo-slot {
  min-height: 230px;
}

.story-band {
  padding-top: 80px;
  background: var(--white);
}

.story-grid,
.travel-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(280px, 1.16fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

h2 {
  margin: 0;
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(42px, 5vw, 74px);
  font-weight: 400;
  line-height: 0.98;
}

.story-grid p,
.venue-copy p,
.travel-note p,
.faq-list p,
.gifts-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.chapter {
  display: grid;
  gap: 18px;
}

.chapter h3,
.gift-card h3,
.faq-list h3 {
  margin: 0;
  color: var(--sage-dark);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}

.chapter p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.venue-band,
.gifts-band {
  background: #ece8de;
}

.venue-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.82fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
}

.detail-list {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
}

.detail-item {
  display: grid;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.detail-item strong,
.travel-note strong {
  color: var(--sage-dark);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.detail-item span {
  color: var(--muted);
  line-height: 1.65;
}

.travel-band {
  background: var(--white);
}

.travel-notes,
.faq-list {
  display: grid;
  gap: 20px;
}

.travel-note,
.faq-list article {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.travel-note p,
.faq-list p {
  margin: 10px 0 0;
}

.gifts-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.9fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 34px;
}

.gifts-heading p {
  margin: 0;
}

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

.gift-card {
  display: grid;
  min-height: 360px;
  grid-template-rows: auto auto 1fr auto;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(64, 72, 62, 0.18);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.82);
  box-shadow: 0 18px 56px rgba(42, 43, 35, 0.08);
}

.gift-card--reserved {
  background: rgba(255, 254, 250, 0.54);
}

.gift-card--purchased {
  border-color: rgba(100, 122, 103, 0.42);
  background:
    linear-gradient(135deg, rgba(223, 231, 221, 0.92), rgba(255, 254, 250, 0.82)),
    var(--white);
}

.gift-card-top,
.gift-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.gift-location {
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.state-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(67, 87, 69, 0.22);
  border-radius: 999px;
  color: var(--sage-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.state-badge--reserved {
  border-color: rgba(157, 127, 115, 0.3);
  color: var(--clay);
}

.state-badge--purchased {
  border-color: rgba(67, 87, 69, 0.38);
  background: rgba(255, 254, 250, 0.48);
}

.gift-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.gift-card-bottom strong {
  color: var(--ink);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  white-space: nowrap;
}

.gift-cta {
  min-width: 150px;
}

.comp-c [id] {
  scroll-margin-top: 84px;
}

.comp-c .garden-hero {
  min-height: calc(86svh - 68px);
  padding: clamp(34px, 6vw, 72px) clamp(22px, 6vw, 90px);
}

.comp-c .garden-hero-inner {
  display: grid;
  width: min(100%, var(--content-max));
  grid-template-columns: minmax(320px, 0.95fr) minmax(390px, 1.05fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  margin: 0 auto;
}

.comp-c .garden-copy h1 {
  margin: 0;
  color: var(--sage-dark);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(50px, 8vw, 110px);
  font-weight: 400;
  line-height: 0.9;
}

.comp-c .garden-copy .script {
  display: block;
  margin: 16px 0 0;
  color: var(--rose);
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.9;
}

.comp-c .garden-copy p {
  max-width: 520px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.comp-c .hero-photos {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 18px;
  align-items: end;
}

.comp-c .hero-photos::before {
  position: absolute;
  z-index: -1;
  inset: -28px 28px 42px -28px;
  border: 1px solid rgba(83, 109, 88, 0.18);
  border-radius: 8px;
  background: rgba(255, 254, 250, 0.38);
  content: "";
}

.comp-c .hero-photos .photo-slot:first-child {
  min-height: min(600px, 66svh);
}

.comp-c .hero-photos .photo-slot:last-child {
  min-height: min(440px, 52svh);
  transform: translate3d(0, 34px, 0);
}

.comp-c .info-ribbon {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.comp-c .info-ribbon-inner {
  display: grid;
  width: min(100%, var(--content-max));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
}

.comp-c .ribbon-item {
  min-height: 140px;
  padding: 28px clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.comp-c .ribbon-item:last-child {
  border-right: 0;
}

.comp-c .ribbon-item strong {
  display: block;
  margin-bottom: 12px;
  color: var(--sage-dark);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.comp-c .ribbon-item span {
  color: var(--muted);
  line-height: 1.6;
}

.comp-c .ribbon-item a {
  border-bottom: 1px solid rgba(83, 109, 88, 0.34);
}

.comp-c .ribbon-item .serif {
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
}

.comp-c .memory-band {
  background: var(--paper-2);
}

.comp-c .story-band,
.comp-c .travel-band,
.comp-c .faq-band {
  background: var(--paper);
}

.comp-c .venue-band,
.comp-c .gifts-band {
  background: var(--paper-2);
}

.comp-c .memory-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(300px, 1.24fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
}

.comp-c .memory-copy h2,
.comp-c .schedule-copy h2,
.comp-c .final-copy h2 {
  margin: 0;
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 400;
  line-height: 0.98;
}

.comp-c .schedule-copy h2 {
  font-size: clamp(40px, 4.6vw, 66px);
  line-height: 1.02;
}

.comp-c .memory-copy p,
.comp-c .schedule-copy p,
.comp-c .final-copy p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.comp-c .memory-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.comp-c .memory-photos .photo-slot:nth-child(2) {
  transform: translate3d(0, 42px, 0);
}

.comp-c .memory-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(64px, 8vw, 96px);
  border-top: 1px solid rgba(83, 109, 88, 0.2);
}

.comp-c .memory-note {
  display: grid;
  gap: 12px;
  padding-top: 24px;
}

.comp-c .memory-note .serif {
  color: var(--rose);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
}

.comp-c .memory-note h3 {
  margin: 0;
  color: var(--sage-dark);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.05;
}

.comp-c .memory-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.comp-c .schedule-band {
  background: var(--paper);
}

.comp-c .schedule-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.timeline {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

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

.timeline-marker {
  color: var(--sage-dark);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 30px;
  line-height: 1;
}

.timeline-row time {
  color: var(--sage-dark);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 30px;
  line-height: 1;
}

.timeline-row strong {
  color: var(--sage-dark);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.timeline-row p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.timeline-row a {
  color: var(--sage-dark);
  border-bottom: 1px solid rgba(83, 109, 88, 0.34);
}

.comp-c .photo-strip-band {
  background: var(--paper-2);
}

.comp-c .photo-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.comp-c .photo-strip-band .memory-ribbon {
  margin-top: 24px;
  border-top: 0;
}

.comp-c .photo-strip-band .memory-note {
  padding-top: 0;
}

.comp-c .photo-strip-band .memory-note h3 {
  font-size: clamp(26px, 2.6vw, 34px);
}

.comp-c .travel-comp-band {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.comp-c .travel-comp-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1.3fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.comp-c .travel-copy h2,
.comp-c .registry-copy h2 {
  margin: 0;
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 400;
  line-height: 0.98;
}

.comp-c .travel-comp-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.comp-c .travel-comp-notes article {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.comp-c .travel-comp-notes strong {
  color: var(--sage-dark);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.comp-c .travel-comp-notes p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.comp-c .registry-band {
  background: var(--paper);
}

.comp-c .registry-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1.3fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.comp-c .registry-layout > p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.comp-c .registry-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.comp-c .gift-card {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(130px, 0.32fr) minmax(260px, 1fr) minmax(190px, 0.42fr);
  grid-template-rows: auto auto;
  gap: 8px clamp(24px, 4vw, 52px);
  padding: 30px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.comp-c .gift-card--reserved {
  opacity: 0.72;
}

.comp-c .gift-card--purchased {
  background: linear-gradient(90deg, rgba(231, 236, 229, 0.5), transparent 58%);
}

.comp-c .gift-card-top {
  grid-row: 1 / span 2;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  gap: 12px;
}

.comp-c .gift-card h3 {
  grid-column: 2;
  margin: 0;
  color: var(--sage-dark);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1.02;
}

.comp-c .gift-card > p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.comp-c .gift-card-bottom {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: grid;
  gap: 18px;
  align-self: center;
  justify-items: end;
}

.comp-c .gift-card-bottom strong {
  color: var(--ink);
  font-size: clamp(30px, 3vw, 42px);
}

.comp-c .gift-cta {
  min-width: 168px;
}

.comp-c .final-band {
  display: grid;
  min-height: 430px;
  place-items: center;
  background: var(--white);
  text-align: center;
}

.comp-c .final-copy {
  width: min(760px, 100%);
}

.comp-c .faq-final {
  width: min(920px, 100%);
}

.comp-c .faq-final .faq-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  text-align: left;
}

.faq-band {
  background: var(--paper);
}

.site-footer {
  padding: 42px 22px 52px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer-inner {
  display: grid;
  width: min(100%, var(--content-max));
  place-items: center;
  gap: 8px;
  margin: 0 auto;
  color: var(--muted);
  text-align: center;
}

.site-footer .script {
  margin: 0;
  color: var(--clay);
  font-size: 40px;
  line-height: 1;
}

.gift-modal[hidden] {
  display: none;
}

.gift-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(32, 33, 31, 0.42);
  cursor: pointer;
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(760px, calc(100svh - 44px));
  overflow: auto;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(20, 22, 18, 0.24);
}

.modal-panel h2 {
  font-size: clamp(34px, 7vw, 54px);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--sage-dark);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.modal-price {
  margin: 12px 0 26px;
  color: var(--clay);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 30px;
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--sage-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(64, 72, 62, 0.26);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

input {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  min-height: 112px;
  padding: 12px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(100, 122, 103, 0.14);
}

.form-error {
  min-height: 22px;
  margin: 0;
  color: #8d3f34;
  line-height: 1.45;
}

.checkout-body {
  min-height: 100svh;
}

.checkout-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 28px;
}

.checkout-panel {
  width: min(720px, 100%);
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.checkout-panel h1 {
  margin: 0;
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: clamp(42px, 8vw, 76px);
  font-weight: 400;
  line-height: 0.98;
}

.checkout-panel p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.checkout-summary {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}

.checkout-summary div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.checkout-summary dt {
  color: var(--sage-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.checkout-summary dd {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .editorial-hero,
  .comp-c .garden-hero-inner,
  .comp-c .memory-layout,
  .comp-c .schedule-layout,
  .comp-c .travel-comp-layout,
  .comp-c .registry-layout,
  .story-grid,
  .venue-layout,
  .travel-layout,
  .faq-layout,
  .gifts-heading {
    grid-template-columns: 1fr;
  }

  .comp-b {
    background: var(--paper);
  }

  .hero-gallery {
    max-width: 680px;
  }

  .comp-c .hero-photos {
    max-width: 680px;
  }

  .comp-c .info-ribbon-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .comp-c .travel-comp-notes {
    grid-template-columns: 1fr;
  }

  .comp-c .ribbon-item:nth-child(2) {
    border-right: 0;
  }

  .gift-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-nav {
    position: static;
    padding: 0 20px;
  }

  .site-nav-inner {
    align-items: flex-start;
    padding: 18px 0;
  }

  .nav-links {
    display: none;
  }

  .section {
    padding: 58px 20px;
  }

  .editorial-hero {
    min-height: auto;
    gap: 28px;
    padding: 34px 30px 50px;
  }

  .comp-c .garden-hero {
    min-height: auto;
    padding: 34px 30px 50px;
  }

  .comp-c .garden-hero-inner {
    gap: 28px;
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .button {
    width: 100%;
    padding: 0 14px;
  }

  .invite-panel {
    width: min(100%, 330px);
  }

  .comp-c .garden-copy {
    width: min(100%, 330px);
  }

  .invite-panel h1 {
    overflow-wrap: normal;
    font-size: clamp(34px, 10vw, 40px);
    line-height: 1.02;
  }

  .comp-c .garden-copy h1 {
    overflow-wrap: normal;
    font-size: clamp(36px, 11vw, 44px);
    line-height: 1.02;
  }

  .invite-panel .script {
    margin: 12px 0;
    font-size: clamp(30px, 8.8vw, 35px);
    line-height: 1.05;
  }

  .comp-c .garden-copy .script {
    margin: 12px 0 0;
    font-size: clamp(32px, 9.5vw, 38px);
    line-height: 1.05;
  }

  .script-line {
    display: block;
  }

  .invite-panel p {
    max-width: 100%;
    margin-top: 22px;
    font-size: 16px;
  }

  .comp-c .garden-copy p {
    max-width: 100%;
    margin-top: 22px;
    font-size: 16px;
  }

  .date-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .date-strip strong {
    font-size: 24px;
  }

  .date-strip span {
    letter-spacing: 0.1em;
  }

  .hero-gallery,
  .comp-c .hero-photos,
  .comp-c .memory-photos,
  .comp-c .memory-ribbon,
  .comp-c .photo-strip-grid,
  .comp-c .info-ribbon-inner,
  .chapter-grid,
  .gift-grid {
    grid-template-columns: 1fr;
  }

  .comp-c .hero-photos .photo-slot:last-child,
  .comp-c .memory-photos .photo-slot:nth-child(2) {
    transform: none;
  }

  .hero-gallery > .photo-slot:first-child {
    min-height: 420px;
  }

  .comp-c .hero-photos .photo-slot:first-child {
    min-height: 420px;
  }

  .comp-c .ribbon-item,
  .comp-c .ribbon-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .comp-c .ribbon-item:last-child {
    border-bottom: 0;
  }

  .timeline-row {
    grid-template-columns: 74px 1fr;
  }

  .comp-c .faq-final .faq-list {
    grid-template-columns: 1fr;
  }

  .comp-c .registry-layout {
    margin-bottom: 34px;
  }

  .comp-c .gift-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0;
  }

  .comp-c .gift-card-top,
  .comp-c .gift-card h3,
  .comp-c .gift-card > p,
  .comp-c .gift-card-bottom {
    grid-column: auto;
    grid-row: auto;
  }

  .comp-c .gift-card-bottom {
    justify-items: stretch;
  }

  .gift-card {
    min-height: 0;
  }

  .gift-card-bottom {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .gift-cta {
    min-width: 0;
  }

  .checkout-summary div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
