/* =========================================================
   Rebeka & Lincoln · 04.04.2027
   Identidade: verde oliva + dourado + off-white, aquarela.
   Tipografia: Cormorant (texto) · Ms Madi (script, no lugar da Ms Claudy)
   ========================================================= */

:root {
  --green: #4E6B4D;
  --green-deep: #3B5239;
  --sage: #7AAC7A;
  --gold: #8C6C3A;
  --sand: #C8AA76;
  --paper: #F9FAF5;
  --paper-2: #F3F2EA;
  --ink: #3F463D;
  --ink-soft: #6B7166;
  --line: rgba(140, 108, 58, .38);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sc: "Cormorant SC", "Cormorant Garamond", Georgia, serif;
  --script: "Ms Madi", "Brush Script MT", cursive;

  --wrap: 1120px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; color: var(--green-deep); }
::selection { background: rgba(122, 172, 122, .3); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ================= TOPBAR ================= */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 44px);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease), transform .4s var(--ease);
  transform: translateY(-100%);
}
.topbar.is-visible { transform: none; }
.topbar.is-solid {
  background: rgba(249, 250, 245, .88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.topbar__mark img { width: 44px; height: auto; }
.topbar__nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.topbar__nav a {
  font-family: var(--sc); font-size: 16px; letter-spacing: .14em; text-decoration: none;
  color: var(--green); position: relative; padding: 4px 0;
}
.topbar__nav a:not(.topbar__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.topbar__nav a:hover::after, .topbar__nav a.is-active::after { transform: scaleX(1); }
.topbar__cta { border: 1px solid var(--gold); padding: 7px 16px !important; color: var(--gold) !important; transition: background .3s, color .3s; }
.topbar__cta:hover { background: var(--gold); color: var(--paper) !important; }
.topbar__toggle { display: none; }

@media (max-width: 860px) {
  .topbar { transform: none; }
  .topbar:not(.is-solid) .topbar__mark { opacity: 0; pointer-events: none; }
  .topbar__toggle {
    display: grid; place-content: center; gap: 7px; width: 44px; height: 44px; margin-right: -8px;
    background: none; border: 0; cursor: pointer; position: relative; z-index: 2;
  }
  .topbar__toggle span { display: block; width: 26px; height: 1.5px; background: var(--green); transition: transform .35s var(--ease); }
  .topbar__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .topbar__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .topbar__nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: var(--paper); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .topbar__nav a { font-size: 22px; }
  .topbar__nav.is-open { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
}

/* ================= HERO ================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 96px 24px 110px; overflow: hidden; isolation: isolate;
}
.hero__frame {
  position: absolute; inset: clamp(14px, 2.6vw, 30px); border: 1px solid var(--gold); opacity: .75;
  pointer-events: none; z-index: -1;
  animation: frameIn 1.6s var(--ease) both .2s;
}
.hero__leaf { position: absolute; z-index: 1; pointer-events: none; }
.hero__leaf img { width: 100%; height: auto; }
.hero__leaf--tl { top: 0; left: 0; width: clamp(170px, 26vw, 380px); transform-origin: 0 0; animation: leafTL 1.8s var(--ease) both, swayTL 9s ease-in-out 1.8s infinite; }
.hero__leaf--br { right: 0; bottom: 0; width: clamp(190px, 30vw, 450px); transform-origin: 100% 100%; animation: leafBR 1.8s var(--ease) both .15s, swayBR 10s ease-in-out 2s infinite; }

.hero__content { position: relative; z-index: 2; max-width: 760px; width: 100%; }
.hero__mono { width: clamp(72px, 9vw, 104px); height: auto; margin: 0 auto 22px; animation: fadeUp 1.2s var(--ease) both .5s; }
.hero__kicker {
  font-family: var(--sc); font-size: clamp(14px, 1.4vw, 16px); letter-spacing: .42em; color: var(--green);
  margin-bottom: 4px; padding-left: .42em; animation: fadeUp 1.2s var(--ease) both .7s;
}
.hero__names { margin: 0 auto; width: min(640px, 92%); }
.hero__names img { width: 100%; height: auto; clip-path: inset(0 100% 0 0); animation: write 2.4s cubic-bezier(.45, .05, .35, 1) forwards 1s; }
.hero__date {
  display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2.4vw, 26px);
  margin-top: 18px; font-family: var(--serif); font-weight: 400; color: var(--gold);
  font-size: clamp(24px, 3vw, 34px); letter-spacing: .08em; animation: fadeUp 1.2s var(--ease) both 2.2s;
}
.hero__date i { width: 1px; height: 1.1em; background: var(--sand); }
.hero__place {
  margin-top: 8px; font-family: var(--sc); letter-spacing: .2em; font-size: clamp(14px, 1.5vw, 17px);
  color: var(--ink-soft); animation: fadeUp 1.2s var(--ease) both 2.4s;
}

.countdown {
  display: flex; justify-content: center; gap: clamp(8px, 2.5vw, 30px);
  margin-top: clamp(28px, 4.5vh, 46px); animation: fadeUp 1.2s var(--ease) both 2.6s;
}
.countdown__item { min-width: clamp(62px, 9vw, 92px); position: relative; }
.countdown__item + .countdown__item::before {
  content: ""; position: absolute; left: calc(clamp(8px, 2.5vw, 30px) / -2); top: 18%; height: 46%; width: 1px; background: var(--line);
}
.countdown b {
  display: block; font-weight: 300; font-size: clamp(34px, 5vw, 54px); line-height: 1; color: var(--green);
  font-variant-numeric: lining-nums tabular-nums;
}
.countdown span { display: block; margin-top: 8px; font-family: var(--sc); font-size: 13px; letter-spacing: .22em; color: var(--ink-soft); }
.countdown.is-done { font-family: var(--script); font-size: 44px; color: var(--gold); }

.hero__scroll {
  position: absolute; left: 50%; bottom: clamp(28px, 5vh, 48px); transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 1px solid var(--sand); border-radius: 14px; animation: fadeIn 1s both 3.2s;
}
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 2px; height: 8px; margin-left: -1px; background: var(--gold); border-radius: 2px; animation: scrollDot 2s ease-in-out infinite; }

@keyframes write { to { clip-path: inset(0 -2% 0 0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes frameIn { from { opacity: 0; transform: scale(1.015); } to { opacity: .75; transform: none; } }
@keyframes leafTL { from { opacity: 0; transform: translate(-30px, -30px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes leafBR { from { opacity: 0; transform: translate(30px, 30px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes swayTL { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(1.2deg); } }
@keyframes swayBR { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-1.2deg); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ================= SECTIONS ================= */
.section { position: relative; padding: clamp(80px, 12vw, 140px) clamp(20px, 5vw, 48px); }
.section > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }

.heading { text-align: center; margin-bottom: clamp(36px, 6vw, 60px); }
.heading--tight { margin-bottom: 18px; }
.heading__title {
  font-family: var(--sc); font-weight: 500; color: var(--green);
  font-size: clamp(30px, 4.6vw, 48px); letter-spacing: .1em; line-height: 1.1;
}
.heading__script {
  font-family: var(--script); color: var(--gold); font-size: clamp(32px, 4.6vw, 46px);
  line-height: 1; margin-top: -.12em;
}
.heading__title::after {
  content: ""; display: block; width: 56px; height: 1px; margin: 0 auto; background: transparent;
}

.lede { text-align: center; max-width: 620px; margin: 0 auto 34px; color: var(--ink-soft); font-size: 20px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ================= CONVITE ================= */
.invite { background: var(--paper-2); }
.invite__card {
  position: relative; max-width: 780px; margin: 0 auto; text-align: center;
  background: var(--paper); padding: clamp(64px, 9vw, 104px) clamp(26px, 7vw, 86px);
  box-shadow: 0 30px 60px -40px rgba(59, 82, 57, .35);
}
.invite__card::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--gold); pointer-events: none; }
.invite__leaf { position: absolute; pointer-events: none; }
.invite__leaf img { width: 100%; height: auto; }
.invite__card { overflow: hidden; }
.invite__leaf--tl { top: 0; left: 0; width: clamp(110px, 20vw, 190px); }
.invite__leaf--br { right: 0; bottom: 0; width: clamp(120px, 22vw, 210px); }

.verse p { font-size: clamp(21px, 2.6vw, 26px); color: var(--gold); line-height: 1.5; font-weight: 500; }
.verse cite { display: block; margin-top: 6px; font-style: italic; color: var(--gold); font-size: 19px; }
.verse cite::before { content: "— "; }
.invite__prayer { margin-top: 26px; color: var(--gold); font-size: clamp(19px, 2.2vw, 22px); }
.divider-leaf { width: 22px; height: auto; margin: 34px auto; transform: rotate(90deg); opacity: .9; }
.invite__blessing { color: var(--green); font-size: 21px; }
.invite__parents {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 18px; color: var(--green); font-size: 19px; line-height: 1.6;
}
.invite__names { width: min(560px, 100%); margin: clamp(30px, 5vw, 44px) auto; }
.invite__names img { width: 100%; height: auto; }
.invite__line { color: var(--green); font-size: 21px; }
.invite__when { margin-top: 14px; color: var(--gold); font-size: clamp(28px, 3.6vw, 36px); font-weight: 400; letter-spacing: .02em; }
.invite__when span { color: var(--sand); margin: 0 .15em; font-weight: 300; }
.invite__when em { font-style: normal; font-size: .8em; }
.invite__where { margin-top: 22px; color: var(--green); letter-spacing: .04em; font-size: 18px; }
.invite__where strong { font-size: 21px; letter-spacing: .06em; }
.br-d { display: inline; }

/* ================= O GRANDE DIA ================= */
.day__grid {
  display: grid; grid-template-columns: minmax(280px, 400px) minmax(280px, 420px); justify-content: center;
  gap: clamp(36px, 7vw, 90px); align-items: center;
}
.calendar {
  background: #fff; padding: 38px 34px 30px; text-align: center; position: relative;
  box-shadow: 0 30px 60px -42px rgba(59, 82, 57, .45);
}
.calendar::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line); pointer-events: none; }
.calendar__month { font-family: var(--sc); letter-spacing: .26em; color: var(--green); font-size: 17px; margin-bottom: 18px; }
.calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 6px; font-size: 18px; color: var(--ink); }
.calendar__grid .dow { font-family: var(--sc); font-size: 13px; letter-spacing: .1em; color: var(--ink-soft); padding-bottom: 6px; }
.calendar__grid span { display: grid; place-items: center; height: 36px; position: relative; }
.calendar__grid .is-day { color: #fff; font-weight: 600; z-index: 0; }
.calendar__grid .is-day::before {
  content: ""; position: absolute; z-index: -1; width: 34px; height: 34px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 21.3s-8.6-5.3-8.6-11.6A4.9 4.9 0 0 1 12 6.6a4.9 4.9 0 0 1 8.6 3.1c0 6.3-8.6 11.6-8.6 11.6z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 21.3s-8.6-5.3-8.6-11.6A4.9 4.9 0 0 1 12 6.6a4.9 4.9 0 0 1 8.6 3.1c0 6.3-8.6 11.6-8.6 11.6z'/></svg>") center / contain no-repeat;
  animation: beat 2.6s ease-in-out infinite;
}
@keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.12); } 24% { transform: scale(1); } 36% { transform: scale(1.08); } 48% { transform: scale(1); } }
.calendar__foot { margin-top: 16px; font-family: var(--sc); letter-spacing: .2em; font-size: 15px; color: var(--gold); }

.day__item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.day__item:first-child { padding-top: 0; }
.day__label { display: block; font-family: var(--sc); letter-spacing: .26em; font-size: 15px; color: var(--gold); }
.day__value { font-size: clamp(22px, 2.6vw, 27px); color: var(--green-deep); line-height: 1.35; margin-top: 4px; font-weight: 400; }
.day__actions { margin-top: 28px; }

.tips {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 4vw, 52px);
  margin-top: clamp(70px, 10vw, 110px) !important; text-align: center;
}
.tip svg { width: 46px; height: 46px; margin: 0 auto 14px; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.tip h3 { font-family: var(--sc); font-size: 20px; letter-spacing: .16em; color: var(--green); margin-bottom: 6px; }
.tip p { color: var(--ink-soft); font-size: 18px; max-width: 300px; margin: 0 auto; }
.tip:nth-child(2) { transition-delay: .12s; }
.tip:nth-child(3) { transition-delay: .24s; }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sc); font-size: 16px; letter-spacing: .16em; text-decoration: none; cursor: pointer;
  padding: 14px 26px; border: 1px solid var(--green); border-radius: 0; transition: background .3s, color .3s, border-color .3s, transform .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.btn--solid { background: var(--green); color: var(--paper); }
.btn--solid:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn--ghost { background: transparent; color: var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--paper); }
.btn--wide { width: 100%; padding: 17px 26px; font-size: 17px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.dropdown { position: relative; display: inline-block; }
.dropdown__menu {
  position: absolute; left: 0; top: calc(100% + 8px); min-width: 100%; background: #fff; z-index: 5;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .25); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .25s var(--ease);
}
.dropdown.is-open .dropdown__menu { opacity: 1; visibility: visible; transform: none; }
.dropdown__menu a { display: block; padding: 12px 18px; text-decoration: none; color: var(--green); font-size: 18px; white-space: nowrap; }
.dropdown__menu a + a { border-top: 1px solid var(--line); }
.dropdown__menu a:hover { background: var(--paper-2); }

/* ================= LOCAL ================= */
.place { background: var(--paper-2); }
.place__card {
  display: grid; grid-template-columns: minmax(280px, 400px) 1fr; background: var(--paper);
  box-shadow: 0 30px 60px -42px rgba(59, 82, 57, .4);
}
.place__text { padding: clamp(36px, 5vw, 56px); display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.place__text h3 { font-family: var(--sc); color: var(--green); font-size: clamp(28px, 3.4vw, 36px); letter-spacing: .08em; line-height: 1.1; }
.place__text > p { margin-top: 12px; font-size: 20px; color: var(--ink); }
.place__text .place__note { color: var(--ink-soft); font-size: 18px; font-style: italic; margin-bottom: 30px; padding-top: 14px; border-top: 1px solid var(--line); }
.place__text .btn { margin-top: 10px; width: 100%; }
.place__map { position: relative; min-height: 380px; background: #e9eadf; }
.place__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.55) sepia(.12) contrast(.97); }

/* ================= CORTEJO ================= */
.palette { display: flex; justify-content: center; gap: 12px; margin-bottom: 44px !important; }
.palette span { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }

.tabs {
  display: flex; justify-content: center; gap: 0; margin-bottom: clamp(36px, 5vw, 56px) !important;
  border-bottom: 1px solid var(--line); max-width: 640px !important; overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: 1 0 auto; background: none; border: 0; cursor: pointer; padding: 14px 18px 13px;
  font-family: var(--sc); font-size: 17px; letter-spacing: .14em; color: var(--ink-soft); position: relative;
  transition: color .3s;
}
.tabs button::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.tabs button[aria-selected="true"] { color: var(--green); }
.tabs button[aria-selected="true"]::after { transform: scaleX(1); }

.panel { animation: panelIn .6s var(--ease); }
.panel > * { margin-left: auto; margin-right: auto; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.names { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; margin-bottom: clamp(44px, 6vw, 70px) !important; }
.names--single { grid-template-columns: 1fr; }
.names__group h3 { font-family: var(--script); color: var(--gold); font-size: 38px; line-height: 1.1; margin-bottom: 10px; }
.names__group li { font-size: 21px; color: var(--green-deep); line-height: 1.75; }
.names--single ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; }
.names--single li + li::before { content: "·"; color: var(--sand); margin: 0 .7em; }

.looks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 36px); }
.looks--single { grid-template-columns: minmax(0, 780px); justify-content: center; }
.look {
  display: grid; grid-template-columns: minmax(150px, 42%) 1fr; gap: clamp(18px, 3vw, 34px); align-items: center;
  background: #fff; padding: clamp(24px, 3.4vw, 40px); position: relative;
  box-shadow: 0 30px 60px -46px rgba(59, 82, 57, .45);
}
.look::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line); pointer-events: none; }
.look__fig { margin: 0; text-align: center; }
.look__fig img { width: 100%; max-height: 300px; object-fit: contain; margin: 0 auto; }
.look__fig figcaption { font-family: var(--script); color: var(--green); font-size: 28px; line-height: 1; margin-top: 8px; }
.look__script { font-family: var(--script); color: var(--green); font-size: 36px; line-height: 1; margin-bottom: 10px; }
.look__text > p:not(.look__script) { font-size: 18px; line-height: 1.6; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; }
.swatches li { display: flex; align-items: center; gap: 8px; font-family: var(--sc); font-size: 14px; letter-spacing: .1em; color: var(--ink-soft); }
.swatches i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); }
.checks { margin-top: 14px; }
.checks li { position: relative; padding-left: 22px; font-size: 17px; color: var(--ink-soft); line-height: 1.6; }
.checks li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--gold); }

.duties {
  margin-top: clamp(40px, 6vw, 64px) !important; max-width: 760px !important; text-align: center;
  padding: clamp(34px, 5vw, 50px) clamp(22px, 5vw, 56px); background: var(--paper-2);
}
.duties__title { font-family: var(--script); color: var(--green); font-size: clamp(40px, 5vw, 50px); line-height: 1; margin-bottom: 22px; }
.duties ul { display: inline-grid; gap: 10px; text-align: left; }
.duties li { position: relative; padding-left: 30px; font-size: 19px; color: var(--ink); }
.duties li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 15px; height: 15px; background: var(--green);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 21.3s-8.6-5.3-8.6-11.6A4.9 4.9 0 0 1 12 6.6a4.9 4.9 0 0 1 8.6 3.1c0 6.3-8.6 11.6-8.6 11.6z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 21.3s-8.6-5.3-8.6-11.6A4.9 4.9 0 0 1 12 6.6a4.9 4.9 0 0 1 8.6 3.1c0 6.3-8.6 11.6-8.6 11.6z'/></svg>") center / contain no-repeat;
}

.letter {
  max-width: 680px !important; margin: clamp(40px, 6vw, 60px) auto 0 !important; text-align: center;
  font-style: italic; color: var(--green-deep); font-size: 20px;
}
.letter p + p { margin-top: 14px; }
.letter cite { display: block; margin-top: 18px; font-family: var(--script); font-style: normal; color: var(--gold); font-size: 34px; line-height: 1.1; }

.arrival {
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center;
  margin-top: 34px !important; color: var(--ink-soft); font-size: 18px;
}
.arrival svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; }

/* ================= RSVP ================= */
.rsvp { background: var(--paper-2); overflow: hidden; }
.rsvp__wrap {
  position: relative; max-width: 640px !important; background: var(--paper);
  padding: clamp(56px, 8vw, 84px) clamp(22px, 6vw, 64px) clamp(40px, 6vw, 60px);
  box-shadow: 0 30px 60px -40px rgba(59, 82, 57, .4);
}
.rsvp__wrap::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--gold); pointer-events: none; }
.rsvp__ring { position: absolute; top: -70px; right: -90px; width: 260px; opacity: .9; pointer-events: none; transform: rotate(18deg); }
.rsvp__ring img { width: 100%; height: auto; }
.rsvp .lede { margin-bottom: 30px; font-size: 19px; }
.rsvp .heading__title { font-size: clamp(27px, 3.4vw, 38px); }

.form { display: grid; gap: 20px; position: relative; }
.field { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-family: var(--sc); letter-spacing: .12em; font-size: 15px; color: var(--green); padding: 0; }
.opt { text-transform: none; letter-spacing: .02em; color: var(--ink-soft); }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 19px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--sand); border-radius: 0; padding: 8px 2px 9px;
  transition: border-color .3s, background .3s; -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' fill='none' stroke='%238C6C3A' stroke-width='1.3'/></svg>");
  background-repeat: no-repeat; background-position: right 4px center; padding-right: 26px; cursor: pointer;
}
.field textarea { resize: vertical; min-height: 52px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #A9AA9F; font-style: italic; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--green); background: rgba(122, 172, 122, .06); }
.field.is-invalid input, .field.is-invalid .choice span { border-color: #A2513F; }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.choice label { cursor: pointer; font-family: var(--serif); letter-spacing: 0; font-size: 18px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: grid; place-items: center; min-height: 54px; text-align: center; padding: 8px 12px; line-height: 1.25;
  border: 1px solid var(--sand); color: var(--ink); transition: .25s var(--ease);
}
.choice label:hover span { border-color: var(--green); }
.choice input:checked + span { background: var(--green); border-color: var(--green); color: var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-row[hidden], .field[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { color: #A2513F; font-size: 17px; text-align: center; }
.form .btn--wide { margin-top: 8px; }

.thanks { text-align: center; padding: 10px 0 6px; animation: panelIn .7s var(--ease); }
.thanks:focus { outline: none; }
.thanks__script { font-family: var(--script); color: var(--gold); font-size: 68px; line-height: 1; }
.thanks__text { margin: 14px auto 28px; max-width: 440px; font-size: 20px; color: var(--green-deep); }

/* ================= FOOTER ================= */
.footer {
  background: var(--green); color: var(--paper); text-align: center;
  padding: clamp(64px, 9vw, 96px) 24px clamp(48px, 7vw, 70px); position: relative;
}
.footer__mono { width: 86px; height: auto; margin: 0 auto 18px; opacity: .95; }
.footer__script { font-family: var(--script); font-size: clamp(44px, 6vw, 60px); line-height: 1; color: #E9DCC0; }
.footer__date { margin-top: 12px; font-family: var(--sc); letter-spacing: .32em; font-size: 16px; padding-left: .32em; }
.footer__verse { margin-top: 26px; font-style: italic; opacity: .78; font-size: 18px; }

/* ================= RESPONSIVO ================= */
@media (max-width: 960px) {
  .looks { grid-template-columns: 1fr; max-width: 640px !important; }
}
@media (max-width: 860px) {
  .day__grid { grid-template-columns: minmax(0, 420px); }
  .place__card { grid-template-columns: 1fr; }
  .place__map { min-height: 320px; }
  .tips { grid-template-columns: 1fr; max-width: 420px !important; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .hero { padding: 90px 18px 110px; }
  .hero__leaf--tl { width: 46vw; max-width: 230px; }
  .hero__leaf--br { width: 52vw; max-width: 260px; }
  .hero__names { width: 100%; }
  .countdown span { font-size: 11px; letter-spacing: .14em; }
  .invite__card::before { inset: 9px; }
  .invite__parents { grid-template-columns: 1fr; gap: 14px; }
  .br-d { display: none; }
  .names { grid-template-columns: 1fr; gap: 30px; }
  .look { grid-template-columns: 1fr; text-align: center; }
  .look__fig img { max-height: 260px; }
  .swatches { justify-content: center; }
  .checks { display: inline-block; text-align: left; }
  .duties li { font-size: 18px; }
  .choice { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .rsvp__ring { width: 180px; top: -50px; right: -70px; }
  .rsvp__wrap::before { inset: 9px; }
  .calendar { padding: 32px 22px 26px; }
  .hide-sm { display: none; }
  .tabs button { font-size: 16px; letter-spacing: .1em; padding: 13px 10px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__names img { clip-path: none; }
  .reveal { opacity: 1; transform: none; }
}
