:root {
  --ink: #061426;
  --navy: #0a2442;
  --blue: #123b67;
  --gold: #d6ad5c;
  --gold-soft: #f1ddb0;
  --cream: #f8f6f1;
  --muted: #4a5a6e;
  --font-display: "Bodoni Moda", Georgia, serif;
  --font-ui: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.5 var(--font-ui);
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { -webkit-tap-highlight-color: transparent; }

/* —— Scrollbar (tema navy/ouro) —— */
html.is-ready {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--ink);
}
html:not(.is-ready),
html:not(.is-ready) body {
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
  touch-action: none;
}
html:not(.is-ready) {
  scrollbar-width: none;
}
html:not(.is-ready)::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
html.is-ready::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
html.is-ready::-webkit-scrollbar-track {
  background: var(--ink);
}
html.is-ready::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f4dda6, #c5903c);
  border: 2px solid var(--ink);
  border-radius: 999px;
}
html.is-ready::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f8e7bc, #d6ad5c);
}
html.is-ready::-webkit-scrollbar-corner {
  background: var(--ink);
}
dialog {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(6, 20, 38, 0.08);
}
dialog::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
dialog::-webkit-scrollbar-track {
  background: rgba(6, 20, 38, 0.06);
}
dialog::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f4dda6, #c5903c);
  border: 2px solid var(--cream);
  border-radius: 999px;
}

/* —— Topbar —— */
.topbar {
  position: fixed;
  z-index: 10;
  inset: 0 0 auto;
  height: 66px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, rgba(3, 15, 32, 0.92), rgba(3, 15, 32, 0.35) 72%, transparent);
  backdrop-filter: blur(10px);
  color: #fff;
  transition: background 0.3s ease;
}
.topbar.has-timer {
  grid-template-columns: auto 1fr auto;
  background: rgba(3, 15, 32, 0.92);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand-mark,
.footer-monogram {
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 217, 161, 0.65);
  border-radius: 50%;
  color: var(--gold-soft);
  font-family: var(--font-display);
  flex-shrink: 0;
}
.brand-mark { width: 34px; height: 34px; font-size: 22px; }
.brand-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-countdown {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  justify-self: center;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.topbar.has-timer .topbar-countdown {
  display: flex;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.topbar-countdown div {
  min-width: 34px;
  text-align: center;
}
.topbar-countdown strong {
  display: block;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.topbar-countdown span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-rsvp {
  justify-self: end;
  padding: 10px 14px;
  border: 1px solid rgba(240, 217, 161, 0.7);
  border-radius: 99px;
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s;
}
.nav-rsvp:hover {
  background: rgba(240, 217, 161, 0.12);
}
@media (max-width: 560px) {
  .topbar.has-timer .brand-text { display: none; }
  .topbar.has-timer .nav-rsvp {
    padding: 8px 10px;
    font-size: 10px;
  }
  .topbar-countdown { gap: 6px; }
  .topbar-countdown div { min-width: 30px; }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-color: #031326;
  background-image:
    linear-gradient(160deg, rgba(3, 19, 38, 0.5), rgba(2, 13, 29, 0.7)),
    radial-gradient(ellipse 70% 55% at 70% 40%, rgba(45, 100, 150, 0.45), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(214, 173, 92, 0.12), transparent 50%),
    linear-gradient(160deg, #031326 0%, #0a2948 45%, #020d1d 100%);
  background-size: cover;
  background-position: center;
  animation: hero-ken 18s ease-in-out infinite alternate;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 12, 26, 0.35) 0%, transparent 35%, rgba(2, 12, 26, 0.75) 100%),
    linear-gradient(90deg, rgba(2, 12, 26, 0.55) 0%, transparent 55%);
  pointer-events: none;
}
.track-lines {
  position: absolute;
  bottom: -18%;
  left: -12%;
  width: min(720px, 95vw);
  aspect-ratio: 1;
  border: 1px solid rgba(217, 173, 88, 0.22);
  border-radius: 50%;
  transform: rotate(-18deg);
  animation: track-spin 48s linear infinite;
  pointer-events: none;
}
.track-lines i {
  position: absolute;
  inset: 42px;
  border: 1px solid rgba(217, 173, 88, 0.14);
  border-radius: 50%;
}
.track-lines i:nth-child(2) { inset: 84px; }
.track-lines i:nth-child(3) { inset: 126px; }

.hero-mark {
  position: absolute;
  right: 4vw;
  bottom: 8vh;
  z-index: 0;
  color: rgba(241, 221, 176, 0.08);
  font-family: var(--font-display);
  font-size: clamp(140px, 28vw, 320px);
  font-weight: 400;
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 120px 22px 72px;
  max-width: 720px;
}
.brand-hero {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(64px, 18vw, 120px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #fff;
}
.brand-hero-sub {
  margin: 6px 0 28px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(28px, 6.5vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero h1 em {
  color: var(--gold-soft);
  font-style: italic;
}
.hero-intro {
  margin: 18px 0 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
.hero-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 380px;
  margin: 28px 0 0;
  padding: 14px 12px;
  border: 1px solid rgba(241, 221, 176, 0.28);
  border-radius: 16px;
  background: rgba(2, 12, 26, 0.42);
  backdrop-filter: blur(12px);
}
.hero-countdown div { text-align: center; }
.hero-countdown strong {
  display: block;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.hero-countdown span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* —— Buttons —— */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.button:hover { transform: translateY(-2px); }
.button-gold {
  background: linear-gradient(135deg, #f4dda6, #c5903c);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(217, 173, 88, 0.18);
}
.button-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

/* —— Eyebrows & type —— */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow span {
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.light { color: var(--gold-soft); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; }
.section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 10vw, 64px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.section h2 em {
  display: block;
  color: var(--blue);
  font-style: normal;
  font-weight: 600;
}
.centered h2 em {
  display: inline;
  font-style: normal;
  font-weight: 600;
}
.journey h2,
.rsvp-banner h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(40px, 10vw, 64px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

/* —— Countdown —— */
/* —— Countdown (legado removido; timer vive no hero) —— */

/* —— Sections —— */
.section { padding: 78px 22px; }
.section-heading > p:last-child {
  margin: 22px 0 0;
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  opacity: 0.88;
}

/* Event facts — no cards */
.event-facts {
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid rgba(10, 36, 66, 0.12);
}
.event-facts > div {
  display: grid;
  gap: 8px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(10, 36, 66, 0.12);
}
.event-facts dt {
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.event-facts dd { margin: 0; }
.event-facts strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.event-facts dd > span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.55;
}
.map-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.map-link:hover { color: var(--ink); }

/* —— Journey —— */
.journey {
  position: relative;
  overflow: hidden;
  padding: 82px 22px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(217, 173, 88, 0.08), transparent 40%),
    linear-gradient(135deg, #04172d, #0d355c 62%, #031225);
}
.journey h2 em {
  display: inline;
  color: var(--gold-soft);
  font-style: italic;
  font-weight: 500;
}
.journey-copy > p:not(.eyebrow) {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
}
blockquote {
  margin: 28px 0 0;
  padding-left: 18px;
  border-left: 1px solid var(--gold);
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  line-height: 1.5;
}
.lane-steps {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.lane-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.lane-steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.lane-num {
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
}
.lane-steps b {
  display: block;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.lane-steps li div > span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-display);
  font-size: 17px;
}

/* —— Gifts —— */
.centered { text-align: center; }
.centered .eyebrow { justify-content: center; }
.centered > p:last-child {
  max-width: 40rem;
  margin: 22px auto 0;
}
.gift-grid {
  display: grid;
  gap: 1px;
  margin-top: 44px;
  background: rgba(10, 36, 66, 0.1);
}
.gift-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: #fff;
  transition: background 0.25s;
}
.gift-card:hover { background: #fffcf7; }
.gift-number {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
}
.gift-card h3 {
  margin: 18px 0 8px;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.15;
}
.gift-card > p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.gift-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(10, 36, 66, 0.08);
}
.gift-card strong {
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
}
.gift-card button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.gift-card button span { color: var(--gold); font-size: 18px; }

.secure-note {
  display: flex;
  gap: 14px;
  margin: 28px auto 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(10, 36, 66, 0.1);
  color: var(--muted);
}
.secure-note > span { color: var(--gold); font-size: 22px; }
.secure-note p { margin: 0; font-size: 13px; line-height: 1.5; }
.secure-note strong { display: block; color: var(--navy); margin-bottom: 2px; }

/* —— RSVP —— */
.rsvp-banner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  padding: 64px 24px;
  color: #fff;
  background:
    radial-gradient(ellipse at 90% 50%, rgba(214, 173, 92, 0.15), transparent 45%),
    var(--blue);
}
.rsvp-banner .eyebrow { margin-bottom: 12px; color: var(--gold-soft); }
.rsvp-banner p:last-child {
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 500;
}
.rsvp-banner .button { width: 100%; }

/* —— Footer —— */
footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  padding: 36px 22px;
  background: #020c1a;
  color: rgba(255, 255, 255, 0.58);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-monogram { width: 48px; height: 48px; font-size: 28px; }
footer p {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
footer p strong { color: #fff; }
footer p span { margin-top: 6px; }
.footer-signature {
  width: 100%;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
}
.footer-kodhex {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}
.footer-kodhex img {
  display: block;
  width: auto;
  height: 28px;
  opacity: 0.9;
}
.footer-kodhex span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  white-space: nowrap;
}
.footer-kodhex:hover {
  color: var(--gold-soft);
}
.footer-kodhex:hover img {
  opacity: 1;
}

.mobile-rsvp {
  position: fixed;
  z-index: 9;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  justify-content: center;
  padding: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4dda6, #c5903c);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-decoration: none;
}

/* —— Modal —— */
dialog {
  width: min(520px, calc(100% - 32px));
  max-height: 90svh;
  padding: 36px 22px 24px;
  border: 1px solid rgba(217, 173, 88, 0.26);
  border-radius: 20px;
  background: var(--cream);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.38);
}
dialog::backdrop {
  background: rgba(2, 12, 26, 0.8);
  backdrop-filter: blur(8px);
}
.modal-close {
  position: absolute;
  top: 13px;
  right: 15px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(10, 36, 66, 0.12);
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  font-size: 22px;
}
dialog h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 40px;
  line-height: 1;
}
dialog > div > p:not(.eyebrow, .notice) {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.55;
}
.modal-amount {
  margin: 22px 0;
  padding: 17px;
  border: 1px solid rgba(217, 173, 88, 0.35);
  background: #fff;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 30px;
  text-align: center;
}
.pix-box {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin: 8px 0 18px;
  padding: 22px 18px;
  border: 1px solid rgba(217, 173, 88, 0.35);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
.pix-title {
  margin: 0;
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pix-qr-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  border-radius: 12px;
  background: rgba(6, 20, 38, 0.04);
  overflow: hidden;
}
.pix-qr {
  display: block;
  width: 220px;
  height: 220px;
  border-radius: 12px;
  background: #fff;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.pix-qr.is-loaded { opacity: 1; }
.pix-qr-wrap .loader-j {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 1;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.pix-qr-wrap .loader-j.is-done {
  opacity: 0;
  transform: scale(0.86);
  pointer-events: none;
}

/* —— Loader J (reutilizável) —— */
.loader-j {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--gold-soft);
}
.loader-j--sm { width: 40px; height: 40px; }
.loader-j--md { width: 64px; height: 64px; }
.loader-j--lg { width: 88px; height: 88px; }
.loader-j-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(217, 173, 88, 0.28);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: loader-spin 1s linear infinite;
}
.loader-j-ring::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(241, 221, 176, 0.18);
  border-bottom-color: rgba(241, 221, 176, 0.7);
  border-radius: 50%;
  animation: loader-spin 1.6s linear infinite reverse;
}
.loader-j-letter {
  position: relative;
  z-index: 1;
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  animation: loader-pulse 1.4s ease-in-out infinite;
}
.loader-j--sm .loader-j-letter { font-size: 20px; }
.loader-j--md .loader-j-letter { font-size: 32px; }
.loader-j--lg .loader-j-letter { font-size: 44px; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #031326, #0a2948 55%, #020d1d);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader .loader-j-letter {
  color: var(--gold-soft);
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}
@keyframes loader-pulse {
  0%, 100% { opacity: 0.72; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.pix-hint {
  margin: 0;
  max-width: 28ch;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.45;
}
.pix-copied {
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
}
.pix-details {
  width: 100%;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
}
.pix-details summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 600;
}
.pix-key {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(18, 59, 103, 0.06);
  color: var(--navy);
  font-size: 12px;
  line-height: 1.4;
  word-break: break-all;
  white-space: normal;
}
.pix-actions {
  display: grid;
  gap: 10px;
}
.button-ghost-dark {
  border-color: rgba(10, 36, 66, 0.2);
  background: transparent;
  color: var(--navy);
}
.button-ghost-dark:hover {
  border-color: rgba(217, 173, 88, 0.65);
  background: rgba(217, 173, 88, 0.12);
}
.notice {
  padding: 12px;
  border-radius: 10px;
  background: rgba(217, 173, 88, 0.13);
  color: var(--navy);
  font-size: 13px;
  line-height: 1.5;
}
form { display: grid; gap: 14px; margin-top: 22px; }
.field {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.field-label { display: block; }
.field-error {
  margin: 0;
  color: #8a3b2a;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.4;
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: rgba(138, 59, 42, 0.55);
  background: #fff8f5;
  box-shadow: 0 0 0 3px rgba(138, 59, 42, 0.08);
  animation: field-shake 0.4s ease;
}
.form-banner {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
}
.form-banner[data-tone="error"] {
  background: rgba(138, 59, 42, 0.1);
  border: 1px solid rgba(138, 59, 42, 0.22);
  color: #6e2f22;
}
.form-banner[data-tone="success"] {
  background: rgba(217, 173, 88, 0.16);
  border: 1px solid rgba(217, 173, 88, 0.4);
  color: var(--navy);
}
input, select, textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid rgba(10, 36, 66, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-transform: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(217, 173, 88, 0.75);
  box-shadow: 0 0 0 3px rgba(217, 173, 88, 0.18);
}
textarea { min-height: 80px; resize: vertical; }

.stepper {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: stretch;
  min-height: 56px;
  border: 1px solid rgba(10, 36, 66, 0.14);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 16px;
}
.stepper-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  min-height: 56px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #f4dda6, #c5903c) !important;
  color: #061426 !important;
  box-shadow: none !important;
  transform: none !important;
  font-size: 0;
  line-height: 0;
  transition: filter 0.2s, opacity 0.2s;
}
.stepper-btn:hover:not(.is-at-limit) {
  filter: brightness(1.06);
  transform: none !important;
}
.stepper-btn:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: -3px;
}
.stepper-btn.is-at-limit {
  cursor: default;
  filter: none;
  opacity: 1;
}
.stepper-svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.stepper-value {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0 10px;
  color: var(--navy);
  font: 500 15px/1.3 var(--font-ui);
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
}

@keyframes field-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* —— Motion —— */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.hero-copy.reveal {
  transition-delay: 0.08s;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@keyframes track-spin {
  from { transform: rotate(-18deg); }
  to { transform: rotate(12deg); }
}
@keyframes hero-ken {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@media (min-width: 760px) {
  .topbar { height: 76px; padding: 0 6vw; }
  .brand { font-size: 12px; }
  .topbar-countdown { gap: 14px; }
  .topbar-countdown div { min-width: 42px; }
  .topbar-countdown strong { font-size: 20px; }
  .topbar-countdown span { font-size: 9px; letter-spacing: 0.12em; }
  .hero { align-items: center; }
  .hero-copy {
    padding: 120px 8vw 88px;
    max-width: 640px;
  }
  .brand-hero { font-size: clamp(88px, 11vw, 140px); }
  .hero h1 { font-size: clamp(34px, 3.4vw, 48px); max-width: 18ch; }
  .hero-countdown {
    max-width: 420px;
    gap: 12px;
    margin-top: 32px;
    padding: 18px 16px;
  }
  .hero-countdown strong { font-size: 36px; }
  .hero-countdown span { font-size: 10px; }
  .section { padding: 110px 7vw; }
  .section-heading {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 7vw;
    align-items: end;
  }
  .section-heading .eyebrow { grid-column: 1 / -1; }
  .event-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
    margin-top: 64px;
  }
  .journey {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 8vw;
    align-items: end;
    padding: 120px 8vw;
  }
  .lane-steps { margin: 0; }
  .gift-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 58px;
  }
  .rsvp-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 80px 9vw;
  }
  .rsvp-banner .button { width: auto; }
  .footer-signature { width: auto; margin-left: 0; flex: 1; text-align: center; }
  .footer-kodhex { margin-left: 0; }
  .mobile-rsvp { display: none; }
  footer { padding: 40px 7vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .track-lines,
  .hero-photo { animation: none; }
  .field.is-invalid input,
  .field.is-invalid select,
  .field.is-invalid textarea { animation: none; }
  .loader-j-ring,
  .loader-j-ring::after,
  .loader-j-letter { animation: none; }
  * { transition: none !important; }
}
