/* src/styles.css */
:root {
  --bg: #f5efe5;
  --bg-soft: #fbf8f3;
  --surface: #fffdf9;
  --ink: #26251f;
  --muted: #6d6a61;
  --accent: #6d735d;
  --accent-dark: #42483a;
  --line: rgba(38, 37, 31, 0.16);
  --line-strong: rgba(38, 37, 31, 0.28);
  --success: #45624a;
  --error: #8b3f39;
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 42px;
  --shadow: 0 28px 70px rgba(52, 45, 36, 0.12);
  --shell: min(1180px, calc(100vw - 48px));
  --serif:
    Georgia,
    "Times New Roman",
    serif;
  --sans:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
body.menu-open {
  overflow: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #23281f;
  outline-offset: 4px;
  border-radius: 6px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 999;
  transform: translateY(-140%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 86px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  transition:
    background .35s ease,
    color .35s ease,
    height .35s ease,
    box-shadow .35s ease;
}
.site-header.is-scrolled {
  height: 74px;
  background: rgba(245, 239, 229, .94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-height: 44px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .08em;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}
.primary-nav a {
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.primary-nav a:not(.nav-rsvp) {
  position: relative;
}
.primary-nav a:not(.nav-rsvp)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 7px;
  height: 1px;
  background: currentColor;
  transition: right .25s ease;
}
.primary-nav a:not(.nav-rsvp):hover::after {
  right: 0;
}
.nav-rsvp {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0 18px;
}
.menu-toggle {
  display: none;
}
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fffaf4;
  isolation: isolate;
}
.hero-image-wrap,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.03);
  animation: heroDrift 16s ease-in-out infinite alternate;
}
.hero-overlay {
  z-index: 1;
  overflow: hidden;
}
.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      180deg,
      rgba(20, 23, 18, .34),
      rgba(20, 23, 18, .66));
  pointer-events: none;
}
.hero-couple-photos {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-couple-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
}
.hero-couple-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) contrast(.96);
}
.hero-couple-photo-1 {
  display: none;
}
.hero-couple-photo-2 {
  width: clamp(135px, 12.5vw, 210px);
  aspect-ratio: .82;
  right: clamp(-42px, -1.8vw, -18px);
  top: clamp(105px, 13vh, 150px);
  border-radius: 18px 18px 46% 46%;
  transform: rotate(2deg);
  opacity: .82;
  display: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  justify-self: start;
  text-align: left;
  width: min(590px, 42vw);
  margin-left: clamp(68px, 7.5vw, 150px);
  padding: 126px 0 90px;
}
.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .24em;
  font-weight: 700;
  font-size: 12px;
}
.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(72px, 7.4vw, 118px);
  line-height: .8;
  letter-spacing: -.045em;
}
.hero-title span {
  display: block;
}
.hero-ampersand {
  font-size: .48em;
  line-height: 1.05;
  font-style: italic;
  opacity: .9;
}
.hero-date {
  margin: 34px 0 4px;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-line {
  margin: 0;
  max-width: 520px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-ornament {
  position: absolute;
  z-index: 2;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 48% 52% 62% 38% / 46% 48% 52% 54%;
  animation: orbit 18s linear infinite;
}
.hero-ornament-a {
  left: -130px;
  top: 18%;
}
.hero-ornament-b {
  right: -110px;
  bottom: 10%;
  width: 250px;
  height: 250px;
  animation-direction: reverse;
}
.scroll-cue {
  position: absolute;
  z-index: 4;
  right: 34px;
  bottom: 32px;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  transform: rotate(90deg) translateY(-50%);
  transform-origin: right center;
}
.scroll-line {
  display: block;
  width: 48px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.btn {
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition:
    transform .2s ease,
    background .2s ease,
    color .2s ease,
    border-color .2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--ink);
  color: white;
}
.hero .btn-primary {
  background: #fffaf4;
  color: #25251f;
}
.btn-secondary {
  border-color: currentColor;
  background: transparent;
}
.hero .btn-secondary {
  color: white;
  border-color: rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .03);
}
.section {
  padding: 128px 0;
}
.section-shell {
  width: var(--shell);
  margin: 0 auto;
}
.section-heading {
  max-width: 700px;
  margin-bottom: 64px;
}
.section-heading h2,
.schedule-intro h2,
.gallery-copy h2,
.rsvp-copy h2,
.faq-intro h2,
.contact h2,
.date-intro h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.02;
  font-size: clamp(44px, 6vw, 82px);
  margin: 0 0 22px;
}
.section-heading p,
.schedule-intro p,
.gallery-copy p,
.rsvp-copy p,
.faq-intro p {
  color: var(--muted);
  max-width: 620px;
}
.section-kicker {
  color: var(--accent-dark);
}
.save-date {
  background: var(--bg-soft);
}
.date-shell {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: end;
}
.date-intro {
  align-self: start;
}
.date-display {
  display: grid;
  grid-template-columns: 1.15fr .1fr .8fr;
  grid-template-rows: auto auto;
  align-items: center;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 26px 0;
}
.date-day {
  grid-row: 1 / 3;
  font-family: var(--serif);
  font-size: clamp(92px, 13vw, 172px);
  line-height: .8;
  letter-spacing: -.07em;
}
.date-separator {
  width: 1px;
  height: 100%;
  background: var(--line-strong);
  justify-self: center;
  grid-row: 1 / 3;
}
.date-month {
  font-weight: 700;
  letter-spacing: .2em;
  font-size: 14px;
  align-self: end;
}
.date-year {
  font-family: var(--serif);
  font-size: 34px;
  align-self: start;
}
.countdown {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.countdown > div {
  background: var(--bg-soft);
  padding: 24px 18px;
  text-align: center;
}
.countdown strong {
  display: block;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
}
.countdown span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.countdown-complete {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  background: var(--bg-soft);
  text-align: center;
  font-family: var(--serif);
  font-size: 28px;
}
.details {
  position: relative;
  overflow: hidden;
}
.details::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid var(--line);
  border-radius: 50%;
  right: -220px;
  top: 90px;
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.location-panel {
  min-height: 470px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .36);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.location-kicker {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.location-time {
  margin: 44px 0 26px;
  font-family: var(--serif);
  font-size: 72px;
  line-height: 1;
  letter-spacing: -.04em;
}
.location-panel h3 {
  margin: 0 0 10px;
  font-size: 24px;
}
.location-address,
.location-note {
  margin: 0 0 8px;
  color: var(--muted);
}
.location-note {
  font-size: 15px;
}
.text-link {
  margin-top: auto;
  padding-top: 34px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 5px;
}
.schedule {
  display: none;
  background: var(--accent-dark);
  color: #f7f3eb;
}
.schedule-shell {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
}
.schedule .section-kicker,
.schedule-intro p {
  color: #cfd2c7;
}
.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.schedule-row {
  display: grid;
  grid-template-columns: 70px 110px 1fr;
  gap: 22px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.schedule-index {
  font-size: 11px;
  letter-spacing: .13em;
  color: #bfc3b7;
}
.schedule-row time {
  font-family: var(--serif);
  font-size: 30px;
}
.schedule-label {
  font-size: 17px;
}
.gallery-section {
  background: #d8c9b7;
  overflow: hidden;
}
.gallery-shell {
  position: relative;
}
.gallery-copy {
  width: min(520px, 100%);
  margin-bottom: 54px;
}
.editorial-gallery {
  display: grid;
  grid-template-columns: 1fr 1.25fr .8fr;
  gap: 22px;
  align-items: end;
}
.gallery-item {
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.gallery-item:hover img {
  transform: scale(1.025);
}
.gallery-item-1 {
  aspect-ratio: 3 / 5;
  border-radius: 120px 18px 18px 18px;
}
.gallery-item-2 {
  aspect-ratio: 3 / 4;
  margin-bottom: 72px;
  border-radius: 18px;
}
.gallery-item-3 {
  aspect-ratio: 3 / 4;
  border-radius: 18px 18px 110px 18px;
}
.gallery-item-4 {
  aspect-ratio: 3 / 4;
  border-radius: 120px 18px 18px 18px;
}
.gallery-item-5 {
  aspect-ratio: 2 / 3;
  border-radius: 18px 18px 110px 18px;
}
.useful {
  background: var(--bg-soft);
}
.info-list {
  border-top: 1px solid var(--line-strong);
}
.info-row {
  display: grid;
  grid-template-columns: 70px minmax(180px, .55fr) 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.info-number {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
}
.info-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}
.info-row p {
  margin: 0;
  color: var(--muted);
}
.rsvp {
  background: var(--ink);
  color: #f6f1e9;
}
.rsvp-shell {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 80px;
  align-items: start;
}
.rsvp-copy {
  position: sticky;
  top: 120px;
}
.rsvp .section-kicker,
.rsvp-copy p {
  color: #cbc6bd;
}
.rsvp-deadline {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.rsvp-monogram {
  margin-top: 70px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 34px;
  opacity: .8;
}
.rsvp-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  padding: 38px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .18);
}
.rsvp-form {
  display: grid;
  gap: 28px;
}
.field-group {
  display: grid;
  gap: 10px;
}
.field-group > label,
.field-group legend {
  font-weight: 700;
  font-size: 15px;
}
.optional {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}
input,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fffefb;
  color: var(--ink);
  padding: 14px 15px;
  min-height: 50px;
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}
textarea {
  resize: vertical;
}
input:focus,
textarea:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 4px rgba(66, 72, 58, .10);
}
input[aria-invalid=true],
textarea[aria-invalid=true] {
  border-color: var(--error);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.choice-card {
  min-height: 104px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: white;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition:
    background .2s ease,
    border .2s ease,
    transform .2s ease;
}
.choice-card:hover {
  transform: translateY(-2px);
}
.choice-card.is-selected {
  background: #edf0e8;
  border-color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px var(--accent-dark);
}
.choice-symbol {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex: 0 0 auto;
}
.choice-card strong,
.choice-card small {
  display: block;
}
.choice-card small {
  margin-top: 2px;
  color: var(--muted);
}
.conditional-fields {
  display: grid;
  gap: 28px;
  padding-top: 6px;
}
.stepper {
  width: 190px;
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  background: white;
}
.stepper button {
  min-height: 52px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 26px;
}
.stepper output {
  display: grid;
  place-items: center;
  font-weight: 800;
}
.inline-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.inline-options label {
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.inline-options input {
  width: auto;
  min-height: auto;
}
.field-hint {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}
.field-error {
  min-height: 1.2em;
  margin: 0;
  color: var(--error);
  font-size: 13px;
}
.form-status {
  min-height: 0;
  border-radius: 12px;
}
.form-status.is-error {
  padding: 12px 14px;
  background: #f7e9e7;
  color: var(--error);
}
.success-warning {
  margin: 18px auto 0;
  max-width: 520px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(120, 87, 26, .08);
  color: #6f5420;
  font-size: .9rem;
  line-height: 1.55;
}
.btn-submit {
  width: 100%;
  min-height: 56px;
  background: var(--accent-dark);
  color: white;
  border: 0;
}
.btn-submit:disabled {
  opacity: .7;
  cursor: wait;
  transform: none;
}
.submit-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.privacy-note {
  margin: -12px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.success-state {
  min-height: 520px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 40px 12px;
}
.success-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e7efe7;
  color: var(--success);
  font-size: 34px;
  margin-bottom: 20px;
}
.success-state h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.12;
  max-width: 520px;
  margin: 0 0 12px;
}
.success-state p {
  color: var(--muted);
}
.success-new-rsvp {
  margin-top: 18px;
}
.faq {
  background: var(--bg-soft);
}
.faq-shell {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 80px;
}
.faq-list {
  border-top: 1px solid var(--line-strong);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary span {
  font-family: var(--serif);
  font-size: 28px;
  transition: transform .2s ease;
}
.faq-item[open] summary span {
  transform: rotate(45deg);
}
.faq-item p {
  margin: -4px 0 26px;
  color: var(--muted);
  max-width: 700px;
}
.contact {
  padding-top: 96px;
  padding-bottom: 96px;
}
.contact-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 48px 0;
}
.contact h2 {
  font-size: clamp(38px, 5vw, 66px);
  margin-bottom: 0;
}
.contact-actions {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.contact-person {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.contact-name {
  font-size: 22px;
  font-weight: 700;
}
.contact-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 18px;
}
.site-footer {
  min-height: 420px;
  padding: 78px 24px 120px;
  background: #cdbba6;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.footer-logo {
  display: block;
  width: clamp(230px, 30vw, 360px);
  height: auto;
  margin-bottom: 22px;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(38, 37, 31, .18));
}
.site-footer p {
  margin: 4px 0;
}
.footer-note {
  color: #565247;
}
.footer-powered-by {
  margin-top: 18px;
  font-size: 12px;
  color: #565247;
  opacity: 0.65;
}
.footer-powered-by a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.footer-powered-by a:hover,
.footer-powered-by a:focus-visible {
  opacity: 1;
  border-bottom-color: currentColor;
}
.mobile-rsvp {
  display: none;
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease var(--delay, 0ms), transform .8s cubic-bezier(.2, .7, .2, 1) var(--delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@keyframes heroDrift {
  to {
    transform: scale(1.08) translate3d(1%, -1%, 0);
  }
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 900px) {
  :root {
    --shell: min(100% - 36px, 760px);
  }
  body {
    font-size: 17px;
  }
  .site-header {
    height: 76px;
    padding: 0 18px;
  }
  .menu-toggle {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 14px;
    cursor: pointer;
  }
  .menu-icon {
    width: 22px;
    height: 12px;
    border-top: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
  }
  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    padding: 120px 26px 42px;
    background: var(--bg);
    color: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .35s ease, opacity .35s ease;
  }
  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    height: 100vh;
  }
  .primary-nav a {
    min-height: 64px;
    font-family: var(--serif);
    font-size: 30px;
    border-bottom: 1px solid var(--line);
  }
  .primary-nav .nav-rsvp {
    margin-top: 18px;
    min-height: 54px;
    justify-content: center;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 15px;
  }
  .hero-content {
    width: min(500px, 48vw);
    margin-left: 34px;
  }
  .hero-title {
    font-size: clamp(64px, 9.8vw, 92px);
  }
  .section {
    padding: 92px 0;
  }
  .date-shell,
  .schedule-shell,
  .rsvp-shell,
  .faq-shell {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .countdown {
    grid-column: auto;
  }
  .location-grid {
    grid-template-columns: 1fr;
  }
  .schedule-row {
    grid-template-columns: 48px 90px 1fr;
  }
  .editorial-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item-3 {
    grid-column: 1 / -1;
    width: 58%;
    justify-self: end;
  }
  .rsvp-copy {
    position: static;
  }
  .rsvp-monogram {
    display: none;
  }
  .faq-intro {
    max-width: 520px;
  }
  .contact-shell {
    align-items: flex-start;
    flex-direction: column;
  }
  .contact-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 620px) {
  :root {
    --shell: calc(100vw - 28px);
  }
  body {
    font-size: 16px;
  }
  .hero {
    place-items: stretch center;
  }
  .hero-image {
    object-position: center 38%;
    transform: none;
  }
  .hero-content {
    align-self: end;
    justify-self: center;
    text-align: center;
    width: calc(100% - 28px);
    margin-left: 0;
    padding: 0 0 34px;
    margin-bottom: 150px;
  }
  .hero-couple-photos {
    display: none;
  }
  .hero-overlay::after {
    background:
      linear-gradient(
        180deg,
        rgba(20, 23, 18, .08) 0%,
        rgba(20, 23, 18, .08) 42%,
        rgba(20, 23, 18, .48) 62%,
        rgba(20, 23, 18, .84) 100%);
  }
  .hero-title {
    font-size: clamp(56px, 18vw, 78px);
    line-height: .82;
  }
  .hero-line {
    margin: 0 auto;
    max-width: 360px;
    font-size: clamp(17px, 4.8vw, 21px);
  }
  .hero-actions {
    justify-content: center;
    margin-top: 22px;
  }
  .hero-date {
    margin-top: 22px;
    font-size: 11px;
    letter-spacing: .1em;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(360px, 100%);
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-ornament {
    width: 230px;
    height: 230px;
  }
  .scroll-cue {
    display: none;
  }
  .section {
    padding: 76px 0;
  }
  .section-heading {
    margin-bottom: 42px;
  }
  .section-heading h2,
  .schedule-intro h2,
  .gallery-copy h2,
  .rsvp-copy h2,
  .faq-intro h2,
  .contact h2,
  .date-intro h2 {
    font-size: clamp(40px, 13vw, 58px);
  }
  .date-display {
    grid-template-columns: 1fr .1fr .7fr;
  }
  .date-day {
    font-size: 104px;
  }
  .countdown strong {
    font-size: 34px;
  }
  .countdown span {
    font-size: 10px;
    letter-spacing: .06em;
  }
  .countdown > div {
    padding: 18px 6px;
  }
  .location-panel {
    min-height: 390px;
    padding: 28px 24px;
    border-radius: 28px;
  }
  .location-time {
    margin-top: 34px;
    font-size: 62px;
  }
  .schedule-row {
    grid-template-columns: 36px 70px 1fr;
    gap: 12px;
    padding: 20px 0;
  }
  .schedule-row time {
    font-size: 24px;
  }
  .schedule-label {
    font-size: 15px;
  }
  .editorial-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .gallery-item-1,
  .gallery-item-2,
  .gallery-item-3,
  .gallery-item-4,
  .gallery-item-5 {
    width: 100%;
    margin: 0;
    grid-column: auto;
    border-radius: 18px;
  }
  .info-row {
    grid-template-columns: 42px 1fr;
    gap: 10px 14px;
  }
  .info-row p {
    grid-column: 2;
  }
  .rsvp-card {
    padding: 24px 18px;
    border-radius: 28px;
  }
  .choice-grid {
    grid-template-columns: 1fr;
  }
  .choice-card {
    min-height: 86px;
  }
  .contact-actions {
    width: 100%;
  }
  .contact-person {
    width: 100%;
  }
  .mobile-rsvp {
    display: flex;
    position: fixed;
    z-index: 90;
    left: 14px;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 52px;
    border-radius: 999px;
    background: var(--ink);
    color: white;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    transition: opacity .25s ease, transform .25s ease;
  }
  .mobile-rsvp.is-hidden {
    opacity: 0;
    transform: translateY(120%);
    pointer-events: none;
  }
  .site-footer {
    padding-bottom: 110px;
  }
}
@media (max-width: 360px) {
  .hero-title {
    font-size: 62px;
  }
  .date-day {
    font-size: 86px;
  }
  .date-year {
    font-size: 28px;
  }
  .schedule-row {
    grid-template-columns: 30px 62px 1fr;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 620px) {
  .hero {
    min-height: 100svh;
    display: block;
    background: #20221c;
    overflow: hidden;
  }
  .hero-image-wrap {
    position: relative;
    inset: auto;
    width: 100%;
    height: 65svh;
    min-height: 480px;
    overflow: hidden;
  }
  .hero-picture {
    display: block;
    width: 100%;
    height: 100%;
  }
  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 34%;
    transform: none;
    animation: none;
  }
  .hero-overlay {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    height: 65svh;
    min-height: 480px;
  }
  .hero-overlay::after {
    background:
      linear-gradient(
        180deg,
        rgba(20, 23, 18, .03) 0%,
        rgba(20, 23, 18, .02) 58%,
        rgba(20, 23, 18, .16) 80%,
        rgba(20, 23, 18, .48) 100%);
  }
  .hero-couple-photos,
  .hero-ornament {
    display: none;
  }
  .hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0;
    padding: 30px 22px 42px;
    text-align: center;
    background: #20221c;
  }
  .hero-title {
    margin: 0;
    font-size: clamp(54px, 17vw, 72px);
    line-height: .82;
  }
  .hero-line {
    margin: 16px auto 0;
    max-width: 340px;
    font-size: 18px;
    line-height: 1.35;
  }
  .hero-date {
    margin-top: 20px;
    font-size: 11px;
    letter-spacing: .1em;
  }
  .hero-actions {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
    width: min(360px, 100%);
    margin: 24px auto 0;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .scroll-cue {
    display: none;
  }
}
.guest-moments {
  background: #d6c7b5;
}
.guest-moments-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  gap: 72px;
  align-items: center;
}
.guest-moments-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 76px);
}
.guest-moments-copy > p:not(.section-kicker) {
  max-width: 650px;
  color: #5f594f;
}
.guest-moments-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.guest-moments .btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.guest-moments .btn-secondary {
  border-color: rgba(38, 37, 31, .34);
}
.guest-moments-card {
  min-height: 470px;
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 26px;
  border: 1px solid rgba(38, 37, 31, .28);
  border-radius: 180px 18px 18px 18px;
  padding: 44px;
  background: rgba(255, 253, 249, .34);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition:
    background .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}
.guest-moments-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(38, 37, 31, .16);
  border-radius: 160px 10px 10px 10px;
  pointer-events: none;
}
.guest-moments-index {
  position: absolute;
  top: 34px;
  right: 34px;
  text-align: right;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.25;
}
.guest-moments-frame {
  width: 140px;
  height: 140px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(38, 37, 31, .35);
  border-radius: 50%;
  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}
.guest-moments-frame span {
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 300;
}
.guest-moments-card p {
  margin: 0;
  max-width: 330px;
  text-align: center;
  color: #5f594f;
  font-size: 12px;
  line-height: 1.7;
}
.guest-moments-card:hover {
  background: rgba(255, 253, 249, .5);
  border-color: rgba(38, 37, 31, .48);
  box-shadow: 0 18px 48px rgba(38, 37, 31, .08);
}
.guest-moments-card:hover .guest-moments-frame {
  background: rgba(255, 253, 249, .72);
  border-color: rgba(38, 37, 31, .55);
  transform: scale(1.05);
}
.guest-moments-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}
.guest-moments-card:focus-visible .guest-moments-frame {
  background: rgba(255, 253, 249, .72);
}
@media (max-width: 900px) {
  .guest-moments-shell {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .guest-moments-card {
    min-height: 360px;
    border-radius: 120px 18px 18px 18px;
  }
}
@media (max-width: 620px) {
  .guest-moments-card {
    min-height: 320px;
    padding: 30px 20px;
  }
  .guest-moments-frame {
    width: 110px;
    height: 110px;
  }
}
.brand-logo {
  display: block;
  width: clamp(148px, 12vw, 186px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(38, 37, 31, .18));
}
