:root {
  --paper: #f3f5f1;
  --surface: #fffefa;
  --ink: #202521;
  --muted: #59615c;
  --line: #c9cec9;
  --forest: #304d42;
  --forest-dark: #21392f;
  --coral: #bd4b38;
  --coral-soft: #efd8d1;
  --wine: #682c3a;
  --sky: #c7dce0;
  --yellow: #efca69;
  --white: #ffffff;
  --font-display: "Lora", Georgia, serif;
  --font-body: "Manrope", Arial, sans-serif;
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }

#encontro, #presentear, #presenca { scroll-margin-top: 96px; }

.skip-link {
  position: fixed;
  z-index: 300;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-140%);
}

.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.site-header {
  position: fixed;
  z-index: 120;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(32, 37, 33, 0.18);
  background: rgba(255, 254, 250, 0.97);
  transition: box-shadow 180ms ease;
}

.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(32, 37, 33, 0.08); }

.header-main {
  display: grid;
  grid-template-columns: auto minmax(310px, 1fr) auto;
  width: min(1240px, calc(100% - 40px));
  min-height: 78px;
  align-items: center;
  gap: 34px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 39px;
  height: 42px;
  place-items: center;
  border-right: 2px solid var(--coral);
  color: var(--wine);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
}

.brand-copy { display: grid; line-height: 1.05; }

.brand-copy small {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-copy strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 30px;
  align-self: stretch;
}

.desktop-nav a {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  transition: color 160ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a[aria-current="location"] { color: var(--ink); }

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a[aria-current="location"]::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-date { display: flex; align-items: center; gap: 9px; }
.header-date > svg { width: 18px; color: var(--coral); }
.header-date > span { display: grid; line-height: 1.15; }

.header-date small {
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.header-date strong { font-size: 0.69rem; white-space: nowrap; }

.menu-toggle {
  display: none;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 7px 10px 7px 12px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  color: var(--ink);
  background: transparent;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 160ms ease, background-color 160ms ease;
}

.menu-toggle:hover, .menu-toggle:focus-visible { color: var(--white); background: var(--ink); }
.menu-toggle svg { width: 18px; }

.menu-backdrop {
  position: fixed;
  z-index: 128;
  inset: 0;
  background: rgba(32, 37, 33, 0.58);
  opacity: 0;
  transition: opacity 200ms ease;
}

.menu-backdrop.is-open { opacity: 1; }

.mobile-menu {
  position: fixed;
  z-index: 130;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: min(450px, 100%);
  flex-direction: column;
  padding: 20px 28px max(26px, env(safe-area-inset-bottom));
  overflow-y: auto;
  border-left: 1px solid var(--ink);
  background: var(--surface);
  transform: translateX(100%);
  transition: transform 220ms cubic-bezier(0.22, 0.8, 0.3, 1);
}

.mobile-menu[hidden], .menu-backdrop[hidden] { display: none; }
.mobile-menu.is-open { transform: translateX(0); }

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

.mobile-menu-intro { padding: 34px 0 24px; }

.mobile-menu-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 600;
  line-height: 0.95;
}

.mobile-menu-intro > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.mobile-nav { border-top: 1px solid var(--line); }

.mobile-nav a {
  display: grid;
  grid-template-columns: 27px 1fr 22px;
  min-height: 64px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.28rem;
  transition: color 160ms ease;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible,
.mobile-nav a[aria-current="location"] { color: var(--coral); }

.mobile-nav a > span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
}

.mobile-nav svg { width: 17px; }

.mobile-event-summary {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 10px;
  margin-top: auto;
  padding: 26px 0 18px;
}

.mobile-event-summary > svg { width: 18px; color: var(--coral); }
.mobile-event-summary > span { display: grid; }

.mobile-event-summary small {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mobile-event-summary strong { font-size: 0.8rem; }
.mobile-menu-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

.mobile-menu-signature {
  margin: 16px 0 0;
  color: var(--wine);
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.92rem;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button svg { width: 17px; height: 17px; }
.button-small { min-height: 42px; padding: 10px 15px; font-size: 0.72rem; }
.button-primary { color: var(--white); background: var(--coral); }
.button-primary:hover, .button-primary:focus-visible { background: #963827; }
.button-secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.button-secondary:hover, .button-secondary:focus-visible { color: var(--white); background: var(--ink); }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover, .button-dark:focus-visible { background: var(--forest); }
.button-coral { color: var(--forest-dark); background: var(--yellow); }
.button-coral:hover, .button-coral:focus-visible { background: #ddb453; }
.button-light { color: var(--wine); background: var(--surface); }
.button-light:hover, .button-light:focus-visible { color: var(--white); background: var(--ink); }
.button-full { width: 100%; }

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: var(--ink);
  background: transparent;
  transition: color 160ms ease, background-color 160ms ease;
}

.icon-button svg { width: 18px; height: 18px; }
.icon-button:hover, .icon-button:focus-visible { color: var(--white); background: var(--ink); }

.hero {
  position: relative;
  display: flex;
  min-height: min(820px, 96svh);
  align-items: center;
  overflow: hidden;
  background: #eef2ed;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.78;
  filter: saturate(0.82) contrast(0.98);
}

.hero-content { position: relative; z-index: 2; padding-top: 142px; padding-bottom: 86px; }
.hero-content > * { max-width: 560px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before { width: 22px; height: 2px; content: ""; background: currentColor; }

.hero h1,
.section-heading h2,
.rsvp-copy h2,
.closing-content h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
}

.hero h1 { color: var(--wine); font-size: 7rem; line-height: 0.86; }

.hero h1 small {
  display: block;
  margin-bottom: 13px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.hero h1 span { display: block; }

.hero-copy {
  max-width: 495px;
  margin: 28px 0 0;
  color: #3e4540;
  font-size: 1.03rem;
}

.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 30px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0 7px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.text-link svg { width: 16px; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 535px;
  margin: 38px 0 0;
  padding: 19px 0;
  border-top: 1px solid rgba(32, 37, 33, 0.38);
  border-bottom: 1px solid rgba(32, 37, 33, 0.38);
}

.hero-meta > div { padding-right: 22px; }
.hero-meta > div + div { padding-left: 22px; border-left: 1px solid rgba(32, 37, 33, 0.3); }

.hero-meta dt {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-meta dt svg { width: 14px; }
.hero-meta dd { margin: 0; font-size: 0.81rem; font-weight: 700; }

.countdown-band { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--sky); }

.countdown-wrap {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.countdown-wrap > p { display: grid; margin: 0; line-height: 1.2; }

.countdown-wrap > p small {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.countdown-wrap > p strong { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; }
.countdown { display: flex; align-items: center; gap: 14px; }
.countdown > div { display: grid; min-width: 58px; text-align: center; }
.countdown strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1; }
.countdown span { color: var(--muted); font-size: 0.56rem; font-weight: 700; text-transform: uppercase; }
.countdown-separator { transform: translateY(-7px); }

.section { padding-block: 104px; }
.story-section { background: var(--surface); }

.story-grid, .gift-intro-grid, .rsvp-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 96px;
}

.section-heading h2, .rsvp-copy h2 { max-width: 570px; font-size: 3.8rem; line-height: 1.03; }
.story-copy { padding-top: 5px; }
.lead { margin: 0; font-family: var(--font-display); font-size: 1.75rem; line-height: 1.36; }
.story-copy > p:not(.lead) { max-width: 600px; margin: 20px 0 0; color: var(--muted); }

.event-details { display: grid; margin: 32px 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.event-details > div { display: grid; grid-template-columns: 30px 1fr; align-items: start; gap: 12px; padding-block: 16px; }
.event-details > div + div { border-top: 1px solid var(--line); }
.event-details svg { width: 19px; color: var(--coral); }
.event-details > div > span { display: grid; }
.event-details small { color: var(--muted); font-size: 0.61rem; font-weight: 700; text-transform: uppercase; }
.event-details strong { font-size: 0.86rem; }

.arrival-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  max-width: 620px;
  margin-bottom: 20px;
  padding: 17px 18px;
  border: 1px solid var(--ink);
  border-left: 5px solid var(--coral);
  background: #fff7df;
}

.arrival-note > svg { width: 21px; color: var(--coral); }
.arrival-note > div { display: grid; }
.arrival-note small { color: var(--muted); font-size: 0.61rem; font-weight: 700; text-transform: uppercase; }
.arrival-note strong { margin-top: 2px; font-family: var(--font-display); font-size: 1rem; }
.arrival-note p { margin: 4px 0 0; color: var(--muted); font-size: 0.86rem; line-height: 1.55; }

.gift-intro { border-top: 1px solid var(--ink); background: #e7efee; }
.gift-intro-grid { align-items: end; margin-bottom: 50px; }
.gift-intro-grid .lead { max-width: 590px; font-family: var(--font-body); font-size: 1.02rem; }

.gift-options {
  display: grid;
  border: 1px solid var(--ink);
}

.gift-panel { padding: 48px; background: var(--surface); }
.pix-panel { color: var(--white); background: var(--forest); }
.pix-only-panel { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; gap: 72px; }
.panel-heading { display: flex; align-items: center; gap: 14px; }

.icon-disc {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--yellow);
}

.icon-disc svg { width: 20px; }
.pix-panel .icon-disc { border-color: var(--white); color: var(--forest-dark); background: var(--sky); }

.panel-label {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pix-panel .panel-label { color: rgba(255, 255, 255, 0.7); }
.gift-panel h3 { margin: 0; font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1.08; }
.pix-copy > p { max-width: 470px; margin: 24px 0 0; color: rgba(255, 255, 255, 0.75); }
.attendance-picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.attendance-picker legend { margin-bottom: 9px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; }

.pix-values button {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-weight: 700;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.pix-actions { min-width: 0; }
.pix-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 26px; }
.pix-values button { border-color: rgba(255, 255, 255, 0.34); color: var(--white); }

.pix-values button:hover,
.pix-values button:focus-visible,
.pix-values button.is-selected { border-color: var(--yellow); color: var(--forest-dark); background: var(--yellow); }

.pix-key-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.pix-key-wrap > span { display: grid; min-width: 0; }
.pix-key-wrap small { color: rgba(255, 255, 255, 0.7); font-size: 0.58rem; font-weight: 700; text-transform: uppercase; }
.pix-key-wrap strong { overflow: hidden; font-size: 0.86rem; text-overflow: ellipsis; white-space: nowrap; }
.pix-key-wrap em { color: rgba(255, 255, 255, 0.7); font-size: 0.69rem; font-style: normal; }
.pix-key-wrap .icon-button { color: var(--white); }
.pix-key-wrap .icon-button:hover, .pix-key-wrap .icon-button:focus-visible { color: var(--forest-dark); background: var(--yellow); }
.pix-panel .pix-hint { margin: 9px 0 22px; font-size: 0.69rem; }

.rsvp-section { border-top: 1px solid var(--ink); background: var(--coral-soft); }
.rsvp-grid { align-items: start; }
.rsvp-copy { position: sticky; top: 118px; }
.rsvp-copy .lead { max-width: 460px; margin-top: 22px; font-family: var(--font-body); font-size: 1rem; }
.signature { display: grid; margin-top: 42px; }
.signature span { color: var(--muted); font-size: 0.7rem; }
.signature strong { color: var(--wine); font-family: var(--font-display); font-size: 1.13rem; font-weight: 600; }

.rsvp-form { display: grid; gap: 20px; padding: 38px; border: 1px solid var(--ink); background: var(--surface); }
.field { display: grid; gap: 6px; }
.field label, .attendance-picker legend { font-size: 0.72rem; font-weight: 700; }
.field label span { color: var(--muted); font-weight: 400; }

.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 2px var(--yellow); }

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.attendance-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.attendance-picker legend { grid-column: 1 / -1; }
.attendance-picker label { cursor: pointer; }
.attendance-picker input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.attendance-picker label span {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px;
  border: 1px solid var(--line);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.attendance-picker svg { width: 16px; }
.attendance-picker input:checked + span { border-color: var(--ink); color: var(--white); background: var(--ink); }
.attendance-picker input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }

.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: -8px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.64rem;
}

.form-privacy svg { width: 13px; }

.closing-section { padding-block: 112px; color: var(--white); background: var(--wine); }
.closing-content { max-width: 850px; text-align: left; }
.closing-content > svg { width: 26px; height: 26px; margin-bottom: 20px; }

.closing-content p {
  margin: 0 0 12px;
  color: var(--coral-soft);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.closing-content h2 { max-width: 760px; margin: 0 0 32px; font-size: 4rem; line-height: 1.06; }

.site-footer { padding-block: 22px; border-top: 1px solid var(--ink); color: var(--muted); background: var(--surface); font-size: 0.69rem; }
.site-footer .shell { display: flex; justify-content: space-between; gap: 20px; }

.toast {
  position: fixed;
  z-index: 300;
  right: 14px;
  bottom: 14px;
  display: flex;
  min-width: 225px;
  align-items: center;
  gap: 9px;
  padding: 13px 15px;
  border: 1px solid var(--white);
  color: var(--white);
  background: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast svg { width: 18px; color: var(--yellow); }
.toast.is-error { background: var(--wine); }
.toast.is-error svg { color: var(--coral-soft); }
.reveal, .reveal-on-scroll { opacity: 1; transform: none; }

@media (max-width: 1200px) {
  .header-date { display: none; }
  .hero h1 { font-size: 6.2rem; }
  .section-heading h2, .rsvp-copy h2 { font-size: 3.4rem; }
}

@media (max-width: 1080px) {
  .header-main { grid-template-columns: auto 1fr auto; }
  .desktop-nav, .desktop-cta { display: none; }
  .header-actions { justify-self: end; }
  .header-date { display: flex; }
  .menu-toggle { display: flex; }
}

@media (max-width: 1024px) {
  :root { --shell: min(760px, calc(100% - 36px)); }
  .hero-art { object-position: 61% center; opacity: 0.63; }
  .hero h1 { font-size: 5.7rem; }
  .story-grid, .gift-intro-grid, .rsvp-grid { grid-template-columns: 1fr; gap: 40px; }
  .section { padding-block: 84px; }
  .gift-intro-grid { margin-bottom: 40px; }
  .pix-only-panel { gap: 40px; }
  .rsvp-copy { position: static; }
  .signature { margin-top: 26px; }
}

@media (max-width: 720px) {
  .header-main {
    grid-template-columns: 1fr auto;
    grid-template-rows: 66px 43px;
    width: calc(100% - 24px);
    min-height: 109px;
    gap: 0 12px;
  }
  .header-main > .brand { grid-column: 1; grid-row: 1; }
  .header-actions {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: stretch;
    justify-self: stretch;
    justify-content: center;
    border-top: 1px solid var(--line);
  }
  .menu-toggle { grid-column: 2; grid-row: 1; }
  .header-date { gap: 6px; }
  .header-date > svg { width: 16px; }
  .header-date strong { font-size: 0.9rem; }
  .brand-mark { width: 34px; height: 38px; font-size: 1.5rem; }
  .brand-copy strong { font-size: 1.28rem; }
  .hero { min-height: calc(100svh - 22px); align-items: flex-start; }
  .hero-art { object-position: 64% center; opacity: 0.5; }
  .hero-content { padding-top: 154px; padding-bottom: 62px; }
  .hero-content > * { max-width: 520px; }
  .hero h1 { font-size: 4.8rem; }
  .hero-meta dd { font-size: 1rem; }
  .countdown-wrap { min-height: 145px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 14px; }
  .countdown { width: 100%; justify-content: space-between; gap: 5px; }
  .countdown-separator { display: none; }
  .section-heading h2, .rsvp-copy h2 { font-size: 3rem; }
  .lead { font-size: 1.45rem; }
  .gift-panel { padding: 30px 24px; }
  .pix-only-panel { grid-template-columns: 1fr; gap: 30px; }
  .rsvp-form { padding: 28px 24px; }
  .closing-section { padding-block: 84px; }
  .closing-content h2 { font-size: 3.2rem; }
}

@media (max-width: 520px) {
  :root { --shell: calc(100% - 28px); }
  .mobile-menu { padding-inline: 20px; }
  .mobile-menu-intro h2 { font-size: 3.1rem; }
  .hero-art { object-position: 66% center; opacity: 0.42; }
  .hero h1 { font-size: 3.9rem; }
  .hero-copy { max-width: 355px; font-size: 0.92rem; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .hero-actions .button, .hero-actions .text-link { width: 100%; justify-content: center; }
  .hero-meta { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .hero-meta > div { padding: 12px 0; }
  .hero-meta > div + div { border-top: 1px solid rgba(32, 37, 33, 0.25); border-left: 0; }
  .section { padding-block: 66px; }
  .section-heading h2, .rsvp-copy h2 { font-size: 2.55rem; }
  .lead { font-size: 1.28rem; }
  .arrival-note { grid-template-columns: 24px minmax(0, 1fr); padding: 15px 14px; }
  .gift-panel h3 { font-size: 1.7rem; }
  .attendance-picker { grid-template-columns: 1fr; }
  .closing-content h2 { font-size: 2.65rem; }
  .site-footer .shell { align-items: center; flex-direction: column; text-align: center; }
  .toast { right: 10px; bottom: 10px; left: 10px; min-width: 0; }
}

@media (max-width: 370px) {
  :root { --shell: calc(100% - 22px); }
  .header-main { width: calc(100% - 16px); }
  .brand-copy small { display: none; }
  .menu-toggle { width: 42px; padding: 0; justify-content: center; }
  .menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .hero h1 { font-size: 3.45rem; }
  .section-heading h2, .rsvp-copy h2, .closing-content h2 { font-size: 2.25rem; }
  .gift-panel { padding-inline: 17px; }
  .panel-heading { gap: 10px; }
  .icon-disc { width: 40px; height: 40px; flex-basis: 40px; }
  .mobile-menu-actions { grid-template-columns: 1fr; }
}

@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;
  }
}
