/* SVN-Mightiest (Regular only). Put the file in assets/fonts/ — every weight/style maps to it,
   so the browser never fakes bold or italic. Falls back to Noto Serif Display until present. */
@font-face { font-family: "SVN-Mightiest"; src: url("assets/fonts/SVN-Mightiest.woff2") format("woff2"), url("assets/fonts/SVN-Mightiest.ttf") format("truetype"), url("assets/fonts/SVN-Mightiest.otf") format("opentype"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "SVN-Mightiest"; src: url("assets/fonts/SVN-Mightiest.woff2") format("woff2"), url("assets/fonts/SVN-Mightiest.ttf") format("truetype"), url("assets/fonts/SVN-Mightiest.otf") format("opentype"); font-weight: 100 900; font-style: italic; font-display: swap; }

/* =========================================================
   The Wedding of Nhân Chính & Tiểu Băng
   Olive forest · cream paper · film photographs
   Mobile first; desktop layout from 900px.
   ========================================================= */
:root {
  --olive-900: #1c2012;
  --olive-800: #262a19;
  --olive-700: #30351f;
  --olive-600: #3c4227;
  --gold: #cdb784;
  --gold-soft: #e6d7b0;
  --cream: #f4ecdd;
  --cream-2: #ece1cc;
  --paper: #f8f2e6;
  --ink: #2c2a1f;
  --ink-soft: #5b5440;

  --f-display: "SVN-Mightiest", "Noto Serif Display", "Times New Roman", serif;
  --f-body: "SVN-Mightiest", "Noto Serif Display", Georgia, serif;
  --f-script: "Allura", cursive;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .32  0 0 0 0 .27  0 0 0 0 .16  0 0 0 .6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--olive-800); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; overflow-x: clip;
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.5;
  font-variant-numeric: lining-nums;
  color: var(--cream); background: var(--olive-800);
  -webkit-font-smoothing: antialiased;
}
p, h1, h2, h3, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), 1120px); margin-inline: auto; }
.center { text-align: center; }

/* ---------- Shared text styles ---------- */
.caps {
  font-family: var(--f-display); font-weight: 600;
  font-size: .82rem; letter-spacing: .3em; text-transform: uppercase;
}
.caps--sm { font-size: .74rem; letter-spacing: .22em; }
.caps--dark { color: var(--ink-soft); }
.label {
  display: flex; align-items: center; gap: .9rem;
  font-family: var(--f-display); font-weight: 600; font-size: .86rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-soft);
}
.label::after { content: ""; width: 4.5rem; height: 1px; background: currentColor; opacity: .45; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 620px; max-height: 1100px;
  color: var(--cream); background: var(--olive-800);
}
.hero__bg { position: absolute; inset: 0; z-index: -3; display: none; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(6px) saturate(.7) brightness(.55); scale: 1.1; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__media img {
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 118%; object-fit: cover; object-position: 46% 100%; transform-origin: 50% 40%;
  filter: contrast(1.12) saturate(1.08) brightness(.96);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: heroZoom 10s var(--ease-out) both; }
}
@keyframes heroZoom { from { scale: 1.12; } to { scale: 1; } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgb(28 32 18 / .97) 0%, rgb(28 32 18 / .86) 28%, rgb(28 32 18 / .35) 52%, rgb(28 32 18 / 0) 66%),
    linear-gradient(rgb(28 32 18 / .55), transparent 18%);
}

.topbar {
  position: absolute; inset: 0 0 auto; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  padding: max(1.25rem, env(safe-area-inset-top)) var(--gutter) 0;
}
.topbar__logo { font-family: var(--f-display); font-weight: 500; font-size: 1.35rem; letter-spacing: .12em; text-decoration: none; }
.topbar__logo span { padding: 0 .1em; }
.topbar__links { display: none; }
.topbar__menu {
  width: 40px; height: 40px; display: grid; place-content: center; gap: 5px;
  background: transparent; border: 0; cursor: pointer; padding: 0;
}
.topbar__menu span { display: block; width: 22px; height: 1.3px; background: currentColor; }
.topbar a:focus-visible, .topbar__menu:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.hero__text {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: max(2.6rem, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero__eyebrow { font-family: var(--f-display); font-weight: 600; font-size: .8rem; letter-spacing: .34em; text-transform: uppercase; }
.hero__names {
  margin-top: .5rem;
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(2.6rem, 11.5vw, 3.6rem); line-height: 1.04; letter-spacing: .03em; text-transform: uppercase;
  text-shadow: 0 2px 24px rgb(0 0 0 / .35);
}
.hero__amp { display: inline-block; padding-left: .45em; }
.hero__script {
  margin-top: .1rem; padding-left: .1em;
  font-family: var(--f-script); font-size: clamp(2.5rem, 11vw, 3.4rem); line-height: 1.25; letter-spacing: .04em;
  color: var(--gold-soft);
}
.hero__date {
  margin-top: .2rem; padding-left: 1.4em;
  font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 6.6vw, 2rem); letter-spacing: .16em;
}
.hero__down {
  margin: 1.1rem 0 0 2.4em;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgb(244 236 221 / .7);
  transition: background-color .3s, color .3s;
}
.hero__down:hover { background: var(--cream); color: var(--olive-800); }
.hero__down svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .hero__down svg { animation: nudge 2s ease-in-out infinite; }
  .js .hero__text > * { opacity: 0; translate: 0 18px; animation: rise 1.2s var(--ease-out) forwards; }
  .js .hero__text > :nth-child(1) { animation-delay: .2s; }
  .js .hero__text > :nth-child(2) { animation-delay: .35s; }
  .js .hero__text > :nth-child(3) { animation-delay: .6s; }
  .js .hero__text > :nth-child(4) { animation-delay: .75s; }
  .js .hero__text > :nth-child(5) { animation-delay: .95s; }
}
@keyframes nudge { 50% { translate: 0 4px; } }
@keyframes rise { to { opacity: 1; translate: 0 0; } }

/* =========================================================
   LỜI MỜI (cream)
   ========================================================= */
.invite {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 10vw, 7rem) 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 15% 0%, #fffaf0, transparent 60%),
    linear-gradient(var(--paper), var(--cream));
}
.invite__grid { display: grid; gap: 3rem; align-items: center; }
.invite__quote {
  margin-top: 1.1rem;
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.75rem, 7vw, 2.7rem); line-height: 1.2;
}
.invite__note { margin-top: 1rem; font-size: 1.15rem; line-height: 1.55; color: var(--ink-soft); max-width: 30rem; }

.polaroids { position: relative; width: min(100%, 560px); aspect-ratio: 1 / .92; margin-inline: auto; }
.polaroid {
  position: absolute; background: #fbf8f2; padding: 3% 3% 9%;
  box-shadow: 0 22px 36px -16px rgb(40 30 10 / .5), 0 2px 4px rgb(40 30 10 / .15);
  transition: rotate .6s var(--ease-out), scale .6s var(--ease-out);
}
.polaroid img { width: 100%; height: 100%; object-fit: cover; }
.polaroid--a { width: 50%; aspect-ratio: 4 / 5.3; left: 2%; top: 2%; rotate: -7deg; z-index: 1; }
.polaroid--b { width: 55%; aspect-ratio: 4 / 5.1; right: 1%; top: 18%; rotate: 5deg; }
.polaroid--a img { object-position: 50% 40%; }
.polaroid--b img { object-position: 50% 30%; }
.polaroid::before { /* tape */
  content: ""; position: absolute; top: -4%; left: 50%; translate: -50% 0; rotate: -4deg;
  width: 38%; height: 8%; background: rgb(226 214 186 / .75);
  box-shadow: 0 1px 2px rgb(40 30 10 / .1);
}
@media (hover: hover) {
  .polaroid:hover { rotate: 0deg; scale: 1.03; z-index: 2; }
}
.sprig { position: absolute; right: -2%; bottom: -12%; width: 22%; rotate: 14deg; z-index: 3; }

/* =========================================================
   LỄ THÀNH HÔN (olive)
   ========================================================= */
.ceremony {
  position: relative; isolation: isolate;
  padding: clamp(3.5rem, 10vw, 7rem) 0 clamp(3rem, 8vw, 6rem);
  text-align: center;
}
.ceremony__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.ceremony__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(4px) saturate(.75); scale: 1.08; }
.ceremony__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 35% at 50% 8%, rgb(38 42 25 / .45), rgb(38 42 25 / .85)),
    linear-gradient(rgb(31 35 20 / .4), rgb(31 35 20 / .9) 35%, rgb(31 35 20 / .96));
}

.ceremony__head .caps { opacity: .92; }
.ceremony__title {
  display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 3vw, 1.6rem);
  margin: .5rem 0 .4rem;
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: clamp(2.6rem, 11vw, 5.4rem); line-height: 1.1;
}
.ceremony__title span { white-space: nowrap; }
.ceremony__title i { flex: 0 1 4.5rem; min-width: .8rem; height: 1px; background: rgb(244 236 221 / .55); }
.ceremony__couple {
  margin-top: .9rem; text-wrap: balance;
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.4rem, 5.6vw, 2.2rem); line-height: 1.3;
}
.ceremony__couple .amp { padding: 0 .7em; }

.families {
  display: grid; grid-template-columns: 1fr 1fr;
  margin: 2.2rem auto 0; max-width: 760px;
}
.family { display: flex; flex-direction: column; align-items: center; gap: .35rem; font-size: 1.1rem; line-height: 1.5; padding: 0 .6rem; }
.family + .family { border-left: 1px solid rgb(244 236 221 / .25); }
.family__addr { font-style: italic; font-size: .94em; opacity: .85; margin-top: auto; padding-top: .3rem; text-wrap: balance; }
.pill {
  font-family: var(--f-display); font-weight: 600; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase;
  padding: .4rem 1.4rem; margin-bottom: .55rem;
  color: var(--gold-soft);
  background: linear-gradient(rgb(205 183 132 / .28), rgb(205 183 132 / .12));
  border: 1px solid rgb(205 183 132 / .6); border-radius: 999px;
}

.when {
  display: grid; grid-template-columns: 1fr 1fr;
  margin: 2rem auto 0; padding-top: 1.6rem; max-width: 760px;
  border-top: 1px solid rgb(244 236 221 / .2);
}
.when__col { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.when__col + .when__col { border-left: 1px solid rgb(244 236 221 / .25); }
.when__col .caps--sm { white-space: nowrap; }
.when__icon { width: 28px; height: 28px; flex: none; align-self: flex-start; margin-top: .9rem; }
.when__big { font-family: var(--f-display); font-weight: 500; font-size: clamp(3.4rem, 14vw, 4.6rem); line-height: 1; letter-spacing: .06em; margin: .15rem 0; }
.when__big--time { font-size: clamp(2.4rem, 10vw, 3.4rem); margin-bottom: .45rem; }

/* venue + map */
.place { display: grid; gap: 1rem; margin-top: 2.6rem; text-align: left; }
.venue {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid rgb(205 183 132 / .5); border-radius: 20px;
  background: rgb(31 35 20 / .55);
  text-decoration: none;
  transition: border-color .3s, translate .4s var(--ease-out), box-shadow .4s;
}
.venue__img { aspect-ratio: 16 / 10; overflow: hidden; }
.venue__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transition: scale 1.2s var(--ease-out); }
.venue__info { display: flex; align-items: flex-start; gap: .8rem; padding: 1.2rem 1.25rem 1.3rem; }
.venue__info > div { flex: 1; }
.venue__pin { width: 22px; height: 22px; flex: none; margin-top: .2rem; color: var(--cream); }
.venue__name { font-family: var(--f-display); font-weight: 500; font-size: 1.6rem; line-height: 1.05; letter-spacing: .1em; text-transform: uppercase; }
.venue__addr { margin-top: .5rem; font-size: 1.02rem; line-height: 1.45; opacity: .9; }
.venue__go {
  width: 44px; height: 44px; border-radius: 50%; flex: none; align-self: center;
  display: grid; place-items: center; border: 1px solid rgb(244 236 221 / .7);
  transition: background-color .3s, color .3s;
}
.venue__go svg { width: 18px; height: 18px; }
.venue:hover { border-color: var(--gold); box-shadow: 0 30px 50px -30px rgb(0 0 0 / .7); }
.venue:hover .venue__img img { scale: 1.05; }
.venue:hover .venue__go { background: var(--cream); color: var(--olive-800); }

.map {
  display: block; overflow: hidden;
  border: 1px solid rgb(205 183 132 / .5); border-radius: 20px;
  aspect-ratio: 4 / 3;
  background: #e7ddc4;
}
.map svg { width: 100%; height: 100%; display: block; transition: scale 1.2s var(--ease-out); }
.map:hover svg { scale: 1.04; }
.venue:focus-visible, .map:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.ghost-btn {
  display: inline-flex; align-items: center; gap: .7rem;
  margin-top: 1.6rem; padding: .8rem 1.6rem;
  border: 1px solid rgb(244 236 221 / .55); border-radius: 999px;
  font-size: 1.02rem; text-decoration: none;
  transition: background-color .3s, color .3s;
}
.ghost-btn svg { width: 15px; height: 15px; }
.ghost-btn:hover { background: var(--cream); color: var(--olive-800); }
.ghost-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* =========================================================
   KHOẢNH KHẮC (film strip)
   ========================================================= */
.moments {
  padding: clamp(3.5rem, 9vw, 6rem) 0 clamp(2.5rem, 7vw, 5rem);
  color: var(--ink);
  background:
    radial-gradient(ellipse at 85% 10%, #fffaf0, transparent 55%),
    linear-gradient(var(--cream), var(--paper));
}
.moments__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.moments__title {
  font-family: var(--f-display); font-weight: 600; font-size: .95rem; letter-spacing: .3em; line-height: 1.9; text-transform: uppercase;
  color: var(--ink-soft);
}
.moments__title::after { content: ""; display: block; width: 4.5rem; height: 1px; margin-top: .9rem; background: currentColor; opacity: .45; }
.moments__nav { display: none; gap: .6rem; }
.round-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--ink); border: 1px solid rgb(44 42 31 / .35);
  transition: background-color .3s, color .3s;
}
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { background: var(--olive-800); color: var(--cream); border-color: var(--olive-800); }
.round-btn:focus-visible { outline: 2px solid var(--olive-700); outline-offset: 3px; }

.filmstrip {
  display: flex; gap: clamp(.8rem, 2.5vw, 1.4rem);
  overflow-x: auto; overscroll-behavior-x: contain;
  padding: 2rem var(--gutter) 2.2rem;
  scroll-padding-inline: var(--gutter);
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.filmstrip::-webkit-scrollbar { display: none; }
.filmstrip:focus-visible { outline: 1px dashed var(--ink-soft); outline-offset: -6px; }
.frame {
  --hole: #efe5cf;
  position: relative; flex: 0 0 auto;
  width: clamp(230px, 68vw, 340px);
  padding: 30px 10px 30px;
  background: #15130e; border: 0; cursor: zoom-in;
  scroll-snap-align: start;
  box-shadow: 0 22px 34px -18px rgb(20 15 5 / .7);
  transition: translate .5s var(--ease-out), rotate .5s var(--ease-out);
}
.frame:nth-child(odd) { rotate: -1.4deg; }
.frame:nth-child(even) { rotate: 1.2deg; translate: 0 8px; }
.frame::before, .frame::after { /* sprocket holes */
  content: ""; position: absolute; left: 8px; right: 8px; height: 8px;
  background: repeating-linear-gradient(90deg, var(--hole) 0 7px, transparent 7px 15px);
  border-radius: 2px; opacity: .9;
}
.frame::before { top: 15px; }
.frame::after { bottom: 11px; }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: filter .4s; }
.frame span {
  position: absolute; top: 2px; left: 12px; right: 12px; display: flex; justify-content: space-between; white-space: nowrap;
  font-family: system-ui, sans-serif; font-size: 8px; font-weight: 700; letter-spacing: .14em;
  color: #e3a64a;
}
.frame:hover { translate: 0 -6px; rotate: 0deg; }
.frame:focus-visible { outline: 2px solid var(--olive-700); outline-offset: 3px; }
.moments__hint { text-align: center; font-style: italic; font-size: .98rem; color: var(--ink-soft); }

/* =========================================================
   RSVP (olive)
   ========================================================= */
.rsvp {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(4rem, 11vw, 7rem) 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, var(--olive-600), transparent 70%),
    linear-gradient(var(--olive-700), var(--olive-800));
}
.daisies { position: absolute; left: -14px; bottom: -10px; width: clamp(120px, 30vw, 230px); z-index: -1; opacity: .95; }
.rsvp__title {
  margin-top: .8rem; text-wrap: balance;
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.9rem, 7.4vw, 3.2rem); line-height: 1.2;
}
.rsvp__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .6rem 1.7rem; border-radius: 999px;
  font-family: var(--f-body); font-size: 1.08rem; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s, scale .2s;
}
.btn svg { width: 15px; height: 15px; flex: none; }
.btn:active { scale: .97; }
.btn--solid { background: var(--cream); color: var(--olive-800); border: 1px solid var(--cream); font-weight: 500; min-width: 13rem; }
.btn--solid:hover { background: #fffaf0; }
.btn--line { background: transparent; color: var(--cream); border: 1px solid rgb(244 236 221 / .6); }
.btn--line:hover { background: rgb(244 236 221 / .1); }
.btn--dark { background: var(--olive-800); color: var(--cream); border: 1px solid var(--olive-800); }
.btn--dark:hover { background: var(--olive-600); }
.btn--line-dark { background: transparent; color: var(--olive-800); border: 1px solid rgb(38 42 25 / .4); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn:disabled { opacity: .6; cursor: progress; }
.rsvp__done { margin-top: 1.2rem; font-family: var(--f-display); font-style: italic; font-size: 1.35rem; color: var(--gold-soft); min-height: 1.3em; }
.rsvp.is-answered .rsvp__actions { display: none; }

/* =========================================================
   OUTRO (silk)
   ========================================================= */
.outro {
  position: relative; isolation: isolate;
  padding: clamp(3.5rem, 10vw, 6rem) 0 clamp(4rem, 12vw, 7rem);
  text-align: center; color: var(--ink);
  background: linear-gradient(#f1e7d6, var(--paper));
}
.silk { position: absolute; inset: auto 0 0; width: 100%; height: 75%; z-index: -1; }
.outro__quote {
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.6rem, 6vw, 2.5rem); line-height: 1.35;
}
.outro .caps { margin-top: 1.4rem; }
.outro__rule { display: block; width: 4rem; height: 1px; margin: 1.2rem auto 0; background: var(--ink-soft); opacity: .4; }

/* =========================================================
   MENU (popover, mobile)
   ========================================================= */
.menu {
  position: fixed; inset: 0 0 0 auto; margin: 0;
  width: min(82vw, 340px); height: 100dvh; max-height: none;
  padding: 5rem 2rem 2rem;
  display: none; flex-direction: column; gap: 1.4rem;
  border: 0; border-left: 1px solid rgb(205 183 132 / .4);
  background: var(--olive-800); color: var(--cream);
  font-family: var(--f-display); font-size: 1.6rem; font-style: italic; font-weight: 500;
  transition: translate .45s var(--ease-out), display .45s, overlay .45s;
  transition-behavior: allow-discrete;
  translate: 100% 0;
}
.menu:popover-open { display: flex; translate: 0 0; }
@starting-style { .menu:popover-open { translate: 100% 0; } }
@media (prefers-reduced-motion: reduce) { .menu { transition: none; } }
.menu::backdrop { background: rgb(10 12 6 / .55); }
.menu a { text-decoration: none; border-bottom: 1px solid rgb(244 236 221 / .12); padding-bottom: .9rem; }
.menu a:hover { color: var(--gold-soft); }
.menu a:focus-visible, .menu__close:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.menu__close {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 42px; height: 42px; border-radius: 50%;
  background: transparent; border: 1px solid rgb(244 236 221 / .4); cursor: pointer; font-style: normal; font-size: 1rem;
}

/* =========================================================
   RSVP SHEET (dialog)
   ========================================================= */
.sheet {
  width: min(92vw, 460px); padding: 0; border: 0; border-radius: 24px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 80px -20px rgb(0 0 0 / .6);
}
.sheet:modal { overscroll-behavior: contain; }
.sheet::backdrop { background: rgb(15 18 8 / .7); backdrop-filter: blur(4px); overflow: hidden; overscroll-behavior: contain; }
@media (prefers-reduced-motion: no-preference) {
  .sheet, .lightbox { transition: opacity .3s, translate .4s var(--ease-out), display .4s, overlay .4s; transition-behavior: allow-discrete; }
  .sheet:not([open]), .lightbox:not([open]) { opacity: 0; translate: 0 16px; }
  @starting-style { .sheet[open], .lightbox[open] { opacity: 0; translate: 0 16px; } }
}
.sheet__form { display: flex; flex-direction: column; gap: 1.1rem; padding: 1.9rem 1.7rem 1.6rem; }
.sheet__title { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 2rem; text-align: center; }
.field { display: flex; flex-direction: column; gap: .35rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font-family: var(--f-display); font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); padding: 0; }
.field small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.field input:not([type=radio]), .field select, .field textarea {
  font: 400 1.12rem/1.4 var(--f-body); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgb(44 42 31 / .3); border-radius: 0;
  padding: .5rem .1rem; width: 100%;
}
.field textarea { resize: vertical; }
.field :is(input, select, textarea):focus-visible { outline: none; border-bottom: 2px solid var(--olive-700); }
.field input:user-invalid { border-bottom-color: #a5452f; }
.field--choice legend { margin-bottom: .5rem; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.choices label {
  position: relative; display: grid; place-items: center; padding: .7rem; border-radius: 999px;
  border: 1px solid rgb(44 42 31 / .3); font-size: 1.05rem; cursor: pointer;
  transition: background-color .25s, color .25s;
}
.choices input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choices label:has(input:checked) { background: var(--olive-800); color: var(--cream); border-color: var(--olive-800); }
.choices label:has(input:focus-visible) { outline: 2px solid var(--olive-700); outline-offset: 2px; }
.sheet__form:has(input[value=no]:checked) #guestCountField { display: none; }
.sheet__actions { display: flex; justify-content: flex-end; gap: .6rem; margin-top: .3rem; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100dvh; overflow: visible; }
.lightbox:modal { overscroll-behavior: contain; }
.lightbox::backdrop { background: rgb(12 14 7 / .94); overflow: hidden; overscroll-behavior: contain; }
.lightbox img { max-width: 92vw; max-height: 86dvh; width: auto; height: auto; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .8); touch-action: pan-y; }
.lightbox__btn {
  position: fixed; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  background: rgb(0 0 0 / .35); border: 1px solid rgb(244 236 221 / .5); color: var(--cream);
}
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: max(1rem, env(safe-area-inset-top)); right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__btn:hover { background: rgb(244 236 221 / .15); }
.lightbox__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.lightbox__count { position: fixed; left: 0; right: 0; bottom: max(1rem, env(safe-area-inset-bottom)); text-align: center; font-family: var(--f-display); font-weight: 600; letter-spacing: .3em; font-size: .8rem; color: var(--cream); opacity: .8; }

/* =========================================================
   REVEAL
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; translate: 0 28px; transition: opacity 1s ease, translate 1.1s var(--ease-out); }
  .js .reveal.is-visible { opacity: 1; translate: 0 0; }
}

/* =========================================================
   NARROW PHONES (≤ 400px)
   ========================================================= */
@media (max-width: 400px) {
  .ceremony__couple .amp { padding: 0 .4em; }
  .family { font-size: 1rem; padding: 0 .3rem; }
  .when__col { gap: .55rem; }
  .when__col .caps--sm { letter-spacing: .12em; }
  .when__icon { width: 22px; height: 22px; }
  .venue__name { font-size: 1.35rem; }
  .caps { letter-spacing: .24em; }
}

/* =========================================================
   DESKTOP (≥ 900px)
   ========================================================= */
@media (min-width: 900px) {
  body { font-size: 1.125rem; }
  .caps { font-size: .98rem; }
  .caps--sm { font-size: .86rem; }
  .label { font-size: .98rem; }

  /* hero: blurred foliage on the left, photo bleeding in from the right */
  .hero { height: 100vh; min-height: 680px; max-height: none; }
  .hero__bg { display: block; }
  .hero__media {
    left: 34%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  }
  .hero__media img { height: 100%; object-position: 50% 42%; }
  .hero__shade {
    background:
      linear-gradient(90deg, rgb(28 32 18 / .55) 0%, rgb(28 32 18 / .2) 45%, rgb(28 32 18 / 0) 60%),
      linear-gradient(rgb(28 32 18 / .5), transparent 16%, transparent 80%, rgb(28 32 18 / .5));
  }
  .topbar { padding-inline: max(var(--gutter), calc((100vw - 1280px) / 2)); padding-top: 1.8rem; }
  .topbar__links { display: flex; gap: 2.4rem; }
  .topbar__links a {
    font-family: var(--f-display); font-weight: 600; font-size: .92rem; letter-spacing: .26em; text-transform: uppercase;
    text-decoration: none; padding-bottom: .3rem; border-bottom: 1px solid transparent; transition: border-color .3s;
  }
  .topbar__links a:hover { border-color: var(--gold); }
  .topbar__menu { display: none; }
  .hero__text {
    left: max(4rem, calc((100vw - 1280px) / 2 + 2.5rem)); right: auto; top: 50%; bottom: auto;
    translate: 0 -50%;
  }
  .hero__eyebrow { font-size: 1.05rem; }
  .hero__names { font-size: clamp(3.8rem, 5.6vw, 5.8rem); }
  .hero__script { font-size: clamp(3.4rem, 4.6vw, 4.6rem); }
  .hero__date { font-size: clamp(2rem, 2.6vw, 2.6rem); }
  .hero__down { width: 54px; height: 54px; }

  /* invite: two columns */
  .invite__grid { grid-template-columns: 1fr 1.05fr; gap: 5rem; }
  .invite__quote { font-size: clamp(2.4rem, 3.4vw, 3.2rem); }
  .invite__note { font-size: 1.25rem; }

  /* ceremony */
  .family { font-size: 1.25rem; }
  .pill { font-size: .88rem; }
  .when__icon { width: 32px; height: 32px; }
  .place { grid-template-columns: 1fr 1.25fr; gap: 1.5rem; margin-top: 3.4rem; }
  .venue__img { aspect-ratio: 4 / 3; }
  .map { aspect-ratio: auto; min-height: 360px; }
  .venue__name { font-size: 1.9rem; }
  .venue__info { padding: 1.5rem 1.6rem 1.6rem; }

  /* moments */
  .moments__nav { display: flex; }
  .moments__hint { display: none; }
  .moments__title { font-size: 1.15rem; }
  .filmstrip { padding-inline: max(var(--gutter), calc((100vw - 1120px) / 2)); scroll-padding-inline: max(var(--gutter), calc((100vw - 1120px) / 2)); padding-block: 2.6rem 3rem; }
  .frame { width: clamp(300px, 26vw, 380px); }

  .btn { font-size: 1.15rem; min-height: 58px; padding-inline: 2.2rem; }
}


/* =========================================================
   BACKGROUND LAYERS: photo veil · paper grain · watermarks
   ========================================================= */
.invite, .moments, .outro, .rsvp { position: relative; isolation: isolate; overflow: hidden; }
.invite::before, .moments::before, .outro::before { /* paper grain */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--grain); opacity: .28; mix-blend-mode: multiply;
}
.rsvp::before { /* film grain on dark */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--grain); opacity: .22; mix-blend-mode: overlay;
}
.sbg { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.sbg img { width: 100%; height: 100%; object-fit: cover; }
.sbg::after { content: ""; position: absolute; inset: 0; }

.sbg--invite img { opacity: .13; filter: blur(2px) grayscale(.35) sepia(.25); mix-blend-mode: multiply; }
.sbg--invite::after { background: radial-gradient(ellipse 60% 70% at 25% 50%, rgb(248 242 230 / .75), transparent 70%); }

.sbg--moments img { opacity: .2; filter: blur(2.5px) grayscale(.3) sepia(.35); mix-blend-mode: multiply; object-position: 50% 45%; scale: 1.05; }
.sbg--moments::after { background: linear-gradient(var(--cream) 0%, rgb(244 236 221 / .2) 30%, rgb(244 236 221 / .2) 72%, var(--paper) 100%); }

.sbg--rsvp img { filter: blur(2px) saturate(.75) brightness(.8); scale: 1.06; object-position: 50% 30%; }
.sbg--rsvp::after {
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgb(38 42 25 / .35), rgb(24 28 15 / .85)),
    linear-gradient(rgb(31 35 20 / .35), rgb(31 35 20 / .6));
}

.sbg--outro img { opacity: .16; filter: blur(1.5px) grayscale(.5) sepia(.3); mix-blend-mode: multiply; object-position: 50% 18%; }
.sbg--outro::after { background: linear-gradient(#f1e7d6 0%, rgb(241 231 214 / .1) 45%, transparent 100%); }

.watermark { position: absolute; z-index: -1; margin: 0; pointer-events: none; white-space: nowrap; line-height: 1; }
.watermark--moments {
  right: -1%; top: clamp(1rem, 3vw, 2rem);
  font-family: var(--f-script); font-size: clamp(5.5rem, 22vw, 15rem); letter-spacing: .02em;
  color: var(--gold); opacity: .26;
}
.watermark--outro {
  left: 50%; top: 50%; translate: -50% -58%;
  font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(9rem, 38vw, 22rem); letter-spacing: -.02em;
  color: var(--ink); opacity: .055;
}

.branch { position: absolute; z-index: -1; pointer-events: none; color: #a88f5f; }
.branch--invite { left: -34px; bottom: -36px; width: clamp(90px, 17vw, 170px); height: clamp(190px, 36vw, 360px); rotate: 24deg; opacity: .45; }
.branch--moments { right: -24px; bottom: -40px; width: clamp(80px, 13vw, 150px); height: clamp(170px, 28vw, 320px); rotate: -28deg; opacity: .4; }

/* RSVP: framed like a printed card */
.rsvp__inner {
  position: relative; max-width: 820px;
  padding: clamp(2.2rem, 7vw, 3.6rem) clamp(1.1rem, 5vw, 3rem);
  border: 1px solid rgb(205 183 132 / .55);
  outline: 1px solid rgb(205 183 132 / .25); outline-offset: 7px;
  background: rgb(24 28 15 / .5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.orn { display: block; width: 120px; margin: 0 auto 1rem; color: var(--gold); }
@media (min-width: 900px) { .rsvp__inner { outline-offset: 10px; } }

.daisies { z-index: 1; }
@media (max-width: 899px) {
  .daisies { width: 96px; left: -10px; bottom: -8px; }
  .rsvp__actions .btn { white-space: nowrap; }
  .btn--line { font-size: 1rem; padding-inline: 1rem; }
}


/* =========================================================
   TYPE: Noto Serif Display (light italic display) + Moon Dance
   ========================================================= */
body { font-weight: 400; font-size: 1rem; }
.caps, .label, .pill, .hero__eyebrow, .moments__title, .field > span, .field legend, .lightbox__count, .topbar__links a { font-weight: 500; }
.caps { font-size: .74rem; }
.caps--sm { font-size: .68rem; }
.label { font-size: .78rem; }
.pill { font-size: .68rem; }
.hero__eyebrow { font-size: .74rem; }
.moments__title { font-size: .86rem; }
.topbar__logo { font-weight: 300; font-style: italic; letter-spacing: .06em; }

.hero__names {
  text-transform: none; font-style: italic; font-weight: 300; letter-spacing: 0;
  font-size: clamp(3.1rem, 13.5vw, 4.4rem); line-height: 1.04;
}
.hero__amp { padding-left: .55em; }
.hero__script { font-size: clamp(2.2rem, 9.5vw, 2.9rem); letter-spacing: .01em; padding-left: .9em; margin-top: .35rem; line-height: 1.2; }
.hero__date { font-weight: 300; font-size: clamp(1.4rem, 5.8vw, 1.75rem); }

.invite__quote, .ceremony__title, .ceremony__couple, .rsvp__title, .outro__quote, .sheet__title, .menu, .rsvp__done { font-weight: 300; }
.invite__quote { font-size: clamp(1.6rem, 6.4vw, 2.5rem); }
.invite__note { font-size: 1.05rem; font-weight: 300; }
.ceremony__title { font-size: clamp(2.5rem, 10.5vw, 5rem); }
.ceremony__couple { font-size: clamp(1.25rem, 5vw, 2rem); }
.family { font-size: 1rem; font-weight: 300; }
.when__big { font-weight: 300; }
.venue__name { font-weight: 400; font-size: 1.4rem; }
.venue__addr { font-size: .95rem; font-weight: 300; }
.rsvp__title { font-size: clamp(1.75rem, 6.8vw, 3rem); }
.outro__quote { font-size: clamp(1.45rem, 5.4vw, 2.3rem); }
.watermark--outro { font-weight: 200; }
.watermark--moments { font-size: clamp(5rem, 20vw, 14rem); }
.btn { font-size: 1rem; }
.btn--solid { font-weight: 500; }
.ghost-btn { font-size: .95rem; font-weight: 300; }
.moments__hint { font-size: .9rem; font-weight: 300; }

/* new photo crops */
.polaroid--a img { object-position: 62% 38%; }
.polaroid--b img { object-position: 50% 72%; }
.venue__img img { object-position: 50% 62%; }
.hero__media img { filter: contrast(1.04) saturate(1.02) brightness(.9); }
.hero__shade {
  background:
    linear-gradient(to top, rgb(28 32 18 / .97) 0%, rgb(28 32 18 / .86) 28%, rgb(28 32 18 / .35) 52%, rgb(28 32 18 / 0) 66%),
    linear-gradient(rgb(28 32 18 / .65), transparent 20%);
}
.sbg--outro img { object-position: 50% 30%; }

@media (min-width: 900px) {
  body { font-size: 1.06rem; }
  .caps { font-size: .84rem; }
  .caps--sm { font-size: .76rem; }
  .label { font-size: .86rem; }
  .pill { font-size: .76rem; }
  .topbar__links a { font-size: .8rem; }
  .hero__eyebrow { font-size: .9rem; }
  .moments__title { font-size: 1rem; }
  .hero__names { font-size: clamp(4.4rem, 6.4vw, 6.8rem); }
  .hero__script { font-size: clamp(3rem, 3.8vw, 4rem); }
  .hero__date { font-size: clamp(1.8rem, 2.3vw, 2.3rem); }
  .hero__media img { object-position: 50% 40%; }
  .hero__shade {
    background:
      linear-gradient(90deg, rgb(28 32 18 / .55) 0%, rgb(28 32 18 / .25) 45%, rgb(28 32 18 / .08) 70%),
      linear-gradient(rgb(28 32 18 / .7), transparent 22%, transparent 78%, rgb(28 32 18 / .55));
  }
  .invite__quote { font-size: clamp(2.2rem, 3vw, 3rem); }
  .invite__note { font-size: 1.15rem; }
  .family { font-size: 1.12rem; }
  .venue__name { font-size: 1.7rem; }
  .btn { font-size: 1.05rem; }
}

/* legibility pass: small caps need weight at text sizes */
.caps, .label, .pill, .hero__eyebrow, .moments__title, .field > span, .field legend, .topbar__links a { font-weight: 600; }
.caps { font-size: .78rem; letter-spacing: .26em; }
.caps--sm { font-size: .72rem; letter-spacing: .18em; }
.pill { font-size: .72rem; }
.hero__eyebrow { font-size: .78rem; }
.invite__note, .family, .venue__addr { font-weight: 400; }
.outro__quote { text-wrap: balance; font-size: clamp(1.3rem, 5vw, 2.3rem); }
@media (max-width: 899px) {
  .family { font-size: .9rem; padding: 0 .25rem; }
  .outro__quote br { display: none; }
}
@media (min-width: 900px) {
  .caps { font-size: .88rem; }
  .caps--sm { font-size: .8rem; }
  .pill { font-size: .8rem; }
  .hero__eyebrow { font-size: .92rem; }
  .topbar__links a { font-size: .82rem; }
  .hero__shade {
    background:
      linear-gradient(90deg, rgb(28 32 18 / .72) 0%, rgb(28 32 18 / .35) 42%, rgb(28 32 18 / .06) 70%),
      linear-gradient(rgb(28 32 18 / .7), transparent 22%, transparent 78%, rgb(28 32 18 / .55));
  }
}

@media (max-width: 440px) {
  .families { grid-template-columns: 1fr; gap: 1.4rem; max-width: 22rem; }
  .family { font-size: 1rem; }
  .family + .family { border-left: 0; border-top: 1px solid rgb(244 236 221 / .2); padding-top: 1.4rem; }
}

/* Allura script sizing */
.hero__script { font-size: clamp(2.2rem, 9.6vw, 3.1rem); padding-left: .55em; letter-spacing: 0; }
@media (min-width: 900px) { .hero__script { font-size: clamp(3.4rem, 4.2vw, 4.4rem); } }
.watermark--moments { opacity: .3; }

/* =========================================================
   SVN-Mightiest sizing: one thin weight, so small text goes bigger
   ========================================================= */
body { font-size: 1.12rem; }
.caps { font-size: .86rem; letter-spacing: .22em; }
.caps--sm { font-size: .8rem; letter-spacing: .14em; }
.label { font-size: .86rem; letter-spacing: .24em; }
.pill { font-size: .8rem; letter-spacing: .2em; }
.hero__eyebrow { font-size: .86rem; letter-spacing: .28em; }
.topbar__logo { font-style: normal; font-size: 1.4rem; }
.moments__title { font-size: .95rem; letter-spacing: .24em; }
.invite__quote { font-size: clamp(1.75rem, 7vw, 2.7rem); line-height: 1.25; }
.invite__note { font-size: 1.2rem; line-height: 1.55; }
.family { font-size: 1.12rem; }
.family__addr { font-size: 1em; }
.venue__addr { font-size: 1.08rem; }
.ghost-btn { font-size: 1.05rem; }
.btn { font-size: 1.12rem; }
.moments__hint { font-size: 1rem; }
.field > span, .field legend { font-size: .82rem; }
.field input:not([type=radio]), .field select, .field textarea { font-size: 1.2rem; }
.choices label { font-size: 1.1rem; }
@media (min-width: 900px) {
  body { font-size: 1.2rem; }
  .caps { font-size: .95rem; }
  .caps--sm { font-size: .86rem; }
  .label { font-size: .95rem; }
  .pill { font-size: .86rem; }
  .hero__eyebrow { font-size: 1rem; }
  .topbar__links a { font-size: .9rem; letter-spacing: .2em; }
  .moments__title { font-size: 1.08rem; }
  .invite__quote { font-size: clamp(2.4rem, 3.2vw, 3.2rem); }
  .invite__note { font-size: 1.35rem; }
  .family { font-size: 1.3rem; }
  .venue__addr { font-size: 1.15rem; }
  .btn { font-size: 1.18rem; }
}

/* =========================================================
   Photo set v3 crops (hero = veil kiss in the garden)
   ========================================================= */
.hero__media img { filter: contrast(1.06) saturate(1.04); object-position: 50% 100%; }
.hero__shade {
  background:
    linear-gradient(to top, rgb(22 26 14 / .95) 0%, rgb(22 26 14 / .7) 26%, rgb(22 26 14 / .15) 48%, rgb(22 26 14 / 0) 60%),
    linear-gradient(rgb(22 26 14 / .5), transparent 18%);
}
.polaroid--b img { object-position: 55% 62%; }
.sbg--rsvp img { object-position: 50% 62%; filter: blur(1.5px) saturate(.8) brightness(.85); }
.ceremony__bg img { object-position: 50% 40%; }
@media (min-width: 900px) {
  .hero__media { left: 30%; }
  .hero__media img { object-position: 50% 42%; }
  .hero__shade {
    background:
      linear-gradient(90deg, rgb(22 26 14 / .6) 0%, rgb(22 26 14 / .25) 40%, rgb(22 26 14 / 0) 62%),
      linear-gradient(rgb(22 26 14 / .55), transparent 20%, transparent 80%, rgb(22 26 14 / .5));
  }
}

/* =========================================================
   STICKY RSVP BAR
   ========================================================= */
.when__big--time { margin-bottom: 0; }
.rsvp-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; justify-content: center; gap: .6rem;
  padding: .75rem var(--gutter) max(.75rem, env(safe-area-inset-bottom));
  background: rgb(22 26 14 / .86);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
  border-top: 1px solid rgb(205 183 132 / .35);
  box-shadow: 0 -18px 40px -24px rgb(0 0 0 / .6);
  transition: translate .45s var(--ease-out), opacity .3s;
}
.rsvp-bar.is-hidden { translate: 0 110%; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .rsvp-bar { transition: none; } }
.rsvp-bar .btn { min-height: 48px; }
.rsvp-bar__short { display: none; }
.has-rsvp-bar .outro { padding-bottom: calc(clamp(4rem, 12vw, 7rem) + 76px); }
@media (max-width: 520px) {
  .rsvp-bar { gap: .5rem; }
  .rsvp-bar .btn { white-space: nowrap; padding-inline: 1rem; font-size: 1rem; }
  .rsvp-bar .btn--solid { flex: 0 0 auto; min-width: 0; }
  .rsvp-bar .btn--line { flex: 1 1 auto; min-width: 0; }
  .rsvp-bar__long { display: none; }
  .rsvp-bar__short { display: inline; }
}
@media (min-width: 900px) {
  .rsvp-bar { gap: .9rem; padding-block: .9rem; }
  .rsvp-bar .btn { min-height: 52px; }
}

/* =========================================================
   LỜI CẢM ƠN (thank-you letter)
   Fonts: Cormorant Garamond (title) · Ms Madi (script) · EB Garamond italic (letter)
   ========================================================= */
.thanks {
  --t-ink: #4a3328; --t-ink-strong: #3b291f; --t-line: #9c7f6a;
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(4.5rem, 10vw, 7rem);
  color: var(--t-ink);
  background:
    radial-gradient(ellipse 55% 45% at 6% 2%, #fff3e2 0%, rgb(255 243 226 / 0) 70%),
    radial-gradient(ellipse 60% 55% at 100% 100%, #e2ccb6 0%, rgb(226 204 182 / 0) 70%),
    linear-gradient(160deg, #f6ece2 0%, #f0e2d5 50%, #e9d7c6 100%);
}
.thanks::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--grain); opacity: .22; mix-blend-mode: multiply; }
.thanks__leaves { position: absolute; z-index: -1; top: -30px; left: -40px; width: clamp(240px, 46vw, 620px); opacity: .17; pointer-events: none; }
.thanks__veil { position: absolute; z-index: -1; right: 0; width: clamp(160px, 34vw, 520px); height: auto; pointer-events: none; }
.thanks__veil--top { top: 0; }
.thanks__veil--bottom { bottom: 0; transform: scaleY(-1); opacity: .9; }
.thanks__gyp { position: absolute; z-index: 1; left: -10px; bottom: -10px; width: clamp(110px, 22vw, 250px); pointer-events: none; }

.thanks__grid { display: grid; gap: 1.6rem; justify-items: center; }
.thanks__head { text-align: center; width: 100%; }
.thanks__title {
  display: flex; align-items: center; justify-content: center; gap: clamp(.9rem, 3vw, 1.8rem);
  font-family: "Cormorant Garamond", var(--f-display); font-weight: 500; font-style: normal;
  font-size: clamp(1.9rem, 7.4vw, 3.1rem); letter-spacing: .3em; text-transform: uppercase; line-height: 1.1;
  color: var(--t-ink-strong);
}
.thanks__title span { margin-right: -.3em; white-space: nowrap; } /* balance trailing letter-spacing */
.thanks__title i { flex: 1 1 3rem; max-width: 7rem; height: 1px; background: var(--t-line); opacity: .7; }
.thanks__script {
  margin-top: .5rem;
  font-family: "Ms Madi", var(--f-script); font-size: clamp(2.5rem, 10vw, 3.8rem); line-height: 1.15; letter-spacing: .02em;
  color: var(--t-ink);
}
.thanks__flourish { display: block; width: clamp(120px, 30vw, 170px); margin: .2rem auto 0; color: var(--t-ink); opacity: .8; }

.thanks__photo { position: relative; width: min(78%, 420px); }
.thanks__photo img { width: 100%; height: auto; filter: drop-shadow(0 24px 22px rgb(90 60 35 / .16)); }
.thanks__photo::after { /* floor shadow */
  content: ""; position: absolute; z-index: -1; left: 6%; right: 6%; bottom: -1.5%; height: 7%;
  background: radial-gradient(ellipse at center, rgb(90 60 35 / .28), rgb(90 60 35 / 0) 70%);
}

.thanks__letter { width: 100%; max-width: 640px; }
.thanks__body p {
  font-family: "EB Garamond", Georgia, serif; font-style: italic; font-weight: 400;
  font-size: clamp(1.08rem, 4.3vw, 1.24rem); line-height: 1.72; color: var(--t-ink);
}
.thanks__body p + p { margin-top: 1.05em; }
.thanks__body .lb { display: none; }
.thanks__divider { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 2.2rem auto 1.4rem; color: var(--t-ink); }
.thanks__divider i { width: clamp(70px, 22vw, 140px); height: 1px; background: var(--t-line); opacity: .8; }
.thanks__divider svg { width: 20px; height: 20px; }
.thanks__closing { text-align: center; font-family: "EB Garamond", Georgia, serif; font-style: italic; font-size: 1.2rem; }
.thanks__sign {
  text-align: center; margin-top: .3rem;
  font-family: "Ms Madi", var(--f-script); font-size: clamp(3.2rem, 13vw, 4.6rem); line-height: 1.1; letter-spacing: .02em; color: var(--t-ink);
}
.thanks__flourish--sign { width: clamp(130px, 34vw, 190px); margin-top: -.3rem; }

@media (min-width: 900px) {
  .thanks__grid {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    grid-template-areas: "photo head" "photo letter";
    column-gap: clamp(2rem, 4vw, 4rem); row-gap: 1.6rem; align-items: start;
  }
  .thanks__head { grid-area: head; }
  .thanks__photo { grid-area: photo; align-self: center; width: min(100%, 470px); justify-self: center; }
  .thanks__letter { grid-area: letter; justify-self: center; }
}
@media (min-width: 1100px) {
  .thanks__body .lb { display: inline; }
  .thanks__body p { font-size: 1.2rem; }
  .thanks__letter { max-width: 660px; }
}
/* thank-you: closer to the mockup weight/size + sunlit corner */
.thanks__body p { font-weight: 500; font-size: clamp(1.12rem, 4.5vw, 1.3rem); line-height: 1.62; }
.thanks__closing { font-weight: 500; font-size: 1.28rem; }
.thanks__leaves { opacity: .13; }
.thanks::after { /* warm sunlight patch, top-left */
  content: ""; position: absolute; z-index: -1; top: -8%; left: -6%; width: 46%; height: 42%; pointer-events: none;
  background: radial-gradient(ellipse at 30% 30%, rgb(255 236 205 / .85), rgb(255 236 205 / 0) 65%);
  mix-blend-mode: screen;
}
@media (min-width: 1100px) {
  .thanks__body p { font-size: 1.36rem; }
  .thanks__letter { max-width: 700px; }
}
.thanks__leaves { opacity: 1; width: clamp(260px, 48vw, 660px); }
.thanks__shadow { opacity: .11; }
.thanks__spots { opacity: .9; }
.thanks__gyp { width: clamp(130px, 24vw, 290px); }
.thanks__body p, .thanks__closing { color: #3f2b21; }
/* thank-you photo: full studio portrait, edges dissolve into the beige paper */
.thanks__photo::after { display: none; }
.thanks__photo img {
  filter: sepia(.14) saturate(.96) contrast(1.03) brightness(1.01);
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 58% 56% at 50% 47%, #000 58%, rgb(0 0 0 / 0) 100%);
          mask-image: radial-gradient(ellipse 58% 56% at 50% 47%, #000 58%, rgb(0 0 0 / 0) 100%);
}
@media (min-width: 900px) { .thanks__photo { width: min(100%, 500px); } }
.thanks__photo img {
  aspect-ratio: 3 / 4; object-fit: cover; object-position: 56% 88%;
  -webkit-mask-image: radial-gradient(ellipse 54% 52% at 52% 50%, #000 42%, rgb(0 0 0 / .6) 68%, rgb(0 0 0 / 0) 100%);
          mask-image: radial-gradient(ellipse 54% 52% at 52% 50%, #000 42%, rgb(0 0 0 / .6) 68%, rgb(0 0 0 / 0) 100%);
}

/* =========================================================
   LỜI CẢM ƠN — refined: ivory champagne paper, hairline frame, line botanicals
   ========================================================= */
.thanks {
  --t-line: #b89f7b;
  background:
    radial-gradient(ellipse 55% 45% at 12% 8%, #fffcf7 0%, rgb(255 252 247 / 0) 70%),
    radial-gradient(ellipse 45% 40% at 30% 55%, rgb(255 250 242 / .9) 0%, rgb(255 250 242 / 0) 70%),
    radial-gradient(ellipse 55% 50% at 95% 100%, rgb(234 219 198 / .75) 0%, rgb(234 219 198 / 0) 70%),
    linear-gradient(180deg, #fbf6ef 0%, #f7efe5 55%, #f3e9dc 100%);
}
.thanks::before { opacity: .12; }
.thanks::after { display: none; }
.thanks__frame {
  position: absolute; inset: clamp(12px, 2.4vw, 28px); z-index: -1; pointer-events: none;
  border: 1px solid rgb(184 159 123 / .42);
  outline: 1px solid rgb(184 159 123 / .2); outline-offset: -7px;
}
.thanks__botanical { position: absolute; z-index: -1; pointer-events: none; color: #bba27c; opacity: .38; width: clamp(70px, 9vw, 120px); height: clamp(150px, 19vw, 250px); }
.thanks__botanical--tl { top: clamp(18px, 3vw, 40px); left: clamp(14px, 3vw, 46px); rotate: 152deg; }
.thanks__botanical--br { bottom: clamp(18px, 3vw, 40px); right: clamp(14px, 3vw, 46px); rotate: -28deg; }
.thanks__title i, .thanks__divider i { background: var(--t-line); }
.thanks__flourish { color: #8f7457; }

/* photo: bigger, gentler dissolve */
.thanks__photo img {
  aspect-ratio: 4 / 5; object-position: 56% 80%;
  filter: sepia(.1) saturate(.96) contrast(1.03) brightness(1.02);
  -webkit-mask-image: radial-gradient(ellipse 60% 58% at 51% 48%, #000 52%, rgb(0 0 0 / .55) 74%, rgb(0 0 0 / 0) 100%);
          mask-image: radial-gradient(ellipse 60% 58% at 51% 48%, #000 52%, rgb(0 0 0 / .55) 74%, rgb(0 0 0 / 0) 100%);
}
@media (max-width: 899px) { .thanks__photo { width: min(92%, 460px); } }
@media (min-width: 900px) {
  .thanks__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); column-gap: clamp(1.5rem, 3vw, 3rem); }
  .thanks__photo { width: 100%; max-width: 640px; }
}
@media (min-width: 1100px) and (max-width: 1239px) { .thanks__body .lb { display: none; } }
@media (min-width: 1240px) {
  .thanks .wrap { width: min(100% - 2 * var(--gutter), 1340px); }
  .thanks__grid { grid-template-columns: minmax(0, 1fr) 690px; }
  .thanks__letter { max-width: 690px; }
  .thanks__body p { font-size: 1.3rem; }
}
.thanks__photo img {
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, rgb(0 0 0 / .5) 80%, rgb(0 0 0 / 0) 100%);
          mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, rgb(0 0 0 / .5) 80%, rgb(0 0 0 / 0) 100%);
}

/* =========================================================
   LỜI CẢM ƠN — phương án 2: lá thư giấy xé mép, dấu sáp, polaroid
   Fonts: Cormorant Garamond (title 500 · body 600 · closing italic) + Ms Madi (script, signature)
   Desktop: the whole artwork scales; text is placed in artwork pixels (1u = 1/1199 of its width)
   ========================================================= */
.thanks2 {
  --t2-ink: #3c2a20; --t2-line: #9a7f66;
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--t2-ink);
  background: linear-gradient(180deg, #ecdccb 0%, #e9d7c4 50%, #e4d1bd 100%);
}
.t2-stage { position: relative; margin-inline: auto; }
.t2-bg { display: none; }
.t2-visual { display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.t2-title {
  display: flex; align-items: center; justify-content: center; gap: .9em;
  font-family: "Cormorant Garamond", serif; font-weight: 500; font-style: normal; text-transform: uppercase;
  letter-spacing: .3em; line-height: 1; color: #3b281e; white-space: nowrap;
}
.t2-title span { margin-right: -.3em; }
.t2-title i { flex: 1 1 0; height: 1px; background: var(--t2-line); }
.t2-script { font-family: "Ms Madi", cursive; text-align: center; line-height: 1; white-space: nowrap; color: var(--t2-ink); }
.t2-flourish { display: block; color: var(--t2-ink); }
.t2-body p { font-family: "Cormorant Garamond", serif; font-weight: 600; font-style: normal; color: var(--t2-ink); }
.t2-divider { display: flex; align-items: center; justify-content: center; color: var(--t2-ink); }
.t2-divider i { flex: 1 1 0; height: 1px; background: var(--t2-line); }
.t2-closing { font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 500; text-align: center; white-space: nowrap; }
.t2-sign { font-family: "Ms Madi", cursive; text-align: center; line-height: 1; white-space: nowrap; }

/* ---- mobile / tablet: visual on top, deckled paper card below ---- */
@media (max-width: 899px) {
  .thanks2 { padding: 2.5rem 0 4rem; }
  .t2-letter {
    position: relative; z-index: 1;
    width: min(100% - 2rem, 560px); margin: -4.5rem auto 0;
    padding: 2.6rem 1.5rem 2.4rem;
    background: #f8f1e7 url("assets/web/thanks2-paper.jpg") center / cover;
    clip-path: polygon(0.00% 0.10%, 2.50% 0.41%, 5.00% 0.38%, 7.50% 0.29%, 10.00% 0.13%, 12.50% 0.48%, 15.00% 0.48%, 17.50% 0.31%, 20.00% 0.30%, 22.50% 0.14%, 25.00% 0.00%, 27.50% 0.22%, 30.00% 0.35%, 32.50% 0.04%, 35.00% 0.48%, 37.50% 0.14%, 40.00% 0.14%, 42.50% 0.03%, 45.00% 0.60%, 47.50% 0.44%, 50.00% 0.53%, 52.50% 0.37%, 55.00% 0.02%, 57.50% 0.20%, 60.00% 0.30%, 62.50% 0.07%, 65.00% 0.57%, 67.50% 0.22%, 70.00% 0.09%, 72.50% 0.49%, 75.00% 0.07%, 77.50% 0.56%, 80.00% 0.27%, 82.50% 0.33%, 85.00% 0.21%, 87.50% 0.29%, 90.00% 0.11%, 92.50% 0.02%, 95.00% 0.52%, 97.50% 0.14%, 100.00% 0.47%, 99.75% 2.50%, 98.84% 5.00%, 98.93% 7.50%, 99.09% 10.00%, 99.08% 12.50%, 99.30% 15.00%, 99.12% 17.50%, 99.85% 20.00%, 99.43% 22.50%, 99.01% 25.00%, 99.76% 27.50%, 98.89% 30.00%, 98.93% 32.50%, 99.51% 35.00%, 99.56% 37.50%, 99.46% 40.00%, 99.54% 42.50%, 98.81% 45.00%, 99.54% 47.50%, 99.97% 50.00%, 99.89% 52.50%, 99.14% 55.00%, 98.81% 57.50%, 99.40% 60.00%, 99.41% 62.50%, 99.34% 65.00%, 99.10% 67.50%, 99.73% 70.00%, 99.27% 72.50%, 99.33% 75.00%, 99.25% 77.50%, 99.78% 80.00%, 99.80% 82.50%, 99.58% 85.00%, 98.89% 87.50%, 99.58% 90.00%, 99.28% 92.50%, 99.63% 95.00%, 99.88% 97.50%, 100.00% 99.97%, 97.50% 99.59%, 95.00% 99.61%, 92.50% 99.81%, 90.00% 99.66%, 87.50% 99.66%, 85.00% 99.55%, 82.50% 99.52%, 80.00% 99.80%, 77.50% 99.51%, 75.00% 99.52%, 72.50% 99.70%, 70.00% 99.56%, 67.50% 99.75%, 65.00% 99.81%, 62.50% 99.88%, 60.00% 99.56%, 57.50% 99.92%, 55.00% 99.97%, 52.50% 99.60%, 50.00% 99.61%, 47.50% 99.76%, 45.00% 99.58%, 42.50% 99.97%, 40.00% 99.87%, 37.50% 99.86%, 35.00% 99.79%, 32.50% 99.91%, 30.00% 99.97%, 27.50% 99.83%, 25.00% 99.55%, 22.50% 99.51%, 20.00% 99.63%, 17.50% 99.76%, 15.00% 99.87%, 12.50% 99.52%, 10.00% 99.74%, 7.50% 99.64%, 5.00% 99.99%, 2.50% 99.89%, 0.00% 99.58%, 0.95% 97.50%, 1.06% 95.00%, 0.72% 92.50%, 0.51% 90.00%, 0.70% 87.50%, 1.02% 85.00%, 0.37% 82.50%, 0.64% 80.00%, 0.33% 77.50%, 0.92% 75.00%, 0.01% 72.50%, 0.82% 70.00%, 1.14% 67.50%, 0.03% 65.00%, 0.71% 62.50%, 0.77% 60.00%, 1.02% 57.50%, 0.70% 55.00%, 0.31% 52.50%, 0.49% 50.00%, 1.15% 47.50%, 1.09% 45.00%, 0.16% 42.50%, 0.11% 40.00%, 0.11% 37.50%, 0.03% 35.00%, 0.54% 32.50%, 0.17% 30.00%, 1.04% 27.50%, 0.79% 25.00%, 0.15% 22.50%, 0.65% 20.00%, 0.39% 17.50%, 0.59% 15.00%, 0.26% 12.50%, 0.20% 10.00%, 0.22% 7.50%, 0.45% 5.00%, 0.85% 2.50%);
  }
  .t2-letter::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .14; mix-blend-mode: multiply; }
  .t2-stage { filter: drop-shadow(0 18px 24px rgb(90 60 35 / .16)); }
  .t2-title { font-size: clamp(1.45rem, 6.6vw, 2rem); }
  .t2-title i { max-width: 3.2rem; }
  .t2-script { font-size: clamp(2.3rem, 10vw, 2.9rem); margin-top: .7rem; }
  .t2-flourish { width: 62%; height: auto; margin: .2rem auto 1.4rem; }
  .t2-body p { font-size: clamp(1.1rem, 4.6vw, 1.25rem); line-height: 1.55; }
  .t2-body p + p { margin-top: .9em; }
  .t2-lb { display: none; }
  .t2-divider { gap: .8rem; margin: 1.8rem auto 1.2rem; width: 72%; }
  .t2-divider svg { width: 22px; height: 19px; flex: none; }
  .t2-closing { font-size: 1.2rem; }
  .t2-sign { font-size: clamp(3rem, 13vw, 3.6rem); margin-top: .5rem; }
  .t2-flourish--sign { width: 46%; margin: .1rem auto 0; }
}

/* ---- desktop: exact artwork composition ---- */
@media (min-width: 900px) {
  .thanks2 { padding: clamp(1rem, 3vw, 3rem) 0; }
  .t2-stage {
    width: min(100% - 2 * var(--gutter), 1199px);
    aspect-ratio: 2398 / 2624; container-type: inline-size;
  }
  .t2-visual { display: none; }
  .t2-bg { display: block; position: absolute; inset: 0; width: 100%; height: 100%;
    -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 78%, transparent 100%);
            mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 78%, transparent 100%); }
  .t2-letter { --u: calc(100cqw / 1199); position: absolute; inset: 0; }
  .t2-letter > * { position: absolute; margin: 0; }
  .t2-title { left: calc(448 * var(--u)); width: calc(596 * var(--u)); top: calc(119 * var(--u)); font-size: calc(44 * var(--u)); gap: calc(28 * var(--u)); }
  .t2-script { left: calc(482 * var(--u)); width: calc(500 * var(--u)); top: calc(178 * var(--u)); font-size: calc(56.9 * var(--u)); }
  .t2-flourish { left: calc(526 * var(--u)); top: calc(237 * var(--u)); width: calc(352 * var(--u)); height: calc(18 * var(--u)); }
  .t2-body { left: calc(457 * var(--u)); top: calc(279 * var(--u)); width: calc(680 * var(--u)); }
  .t2-body p { font-size: calc(22.6 * var(--u)); line-height: calc(29.3 * var(--u)); white-space: nowrap; }
  .t2-body p + p { margin-top: calc(18 * var(--u)); }
  .t2-body p:nth-child(2) { margin-top: calc(22 * var(--u)); }
  .t2-divider { left: calc(593 * var(--u)); width: calc(333 * var(--u)); top: calc(886 * var(--u)); height: calc(22 * var(--u)); gap: calc(23 * var(--u)); }
  .t2-divider svg { width: calc(27 * var(--u)); height: calc(23 * var(--u)); flex: none; }
  .t2-closing { left: calc(655 * var(--u)); width: calc(200 * var(--u)); top: calc(946 * var(--u)); font-size: calc(22.2 * var(--u)); line-height: 1.2; }
  .t2-sign { left: calc(562 * var(--u)); width: calc(400 * var(--u)); top: calc(982 * var(--u)); font-size: calc(68.7 * var(--u)); }
  .t2-flourish--sign { left: calc(696 * var(--u)); top: calc(1056 * var(--u)); width: calc(196 * var(--u)); height: calc(22 * var(--u)); }
}
@media (min-width: 900px) {
  .t2-body p { font-size: calc(23.3 * var(--u)); }
  .t2-script { top: calc(180 * var(--u)); font-size: calc(62.4 * var(--u)); }
  .t2-closing { top: calc(943 * var(--u)); font-size: calc(25.9 * var(--u)); }
  .t2-sign { font-size: calc(70 * var(--u)); }
}
.thanks2 { background: linear-gradient(180deg, #f3e8dc 0%, #f0e1d2 45%, #e9dacb 100%); }
@media (max-width: 899px) { .t2-body p, .thanks__body p { text-wrap: pretty; } }

/* letter body: EB Garamond italic (same face as the approved portrait version) */
.t2-body p { font-family: "EB Garamond", Georgia, serif; font-style: italic; font-weight: 500; }
@media (max-width: 899px) { .t2-body p { font-size: clamp(1.12rem, 4.7vw, 1.26rem); line-height: 1.6; } }
@media (min-width: 900px) { .t2-body p { font-size: calc(22.4 * var(--u)); } }
.venue__img img { object-position: 52% 40%; }
.polaroid--a img { object-position: 50% 30%; }

/* =========================================================
   LỜI CẢM ƠN → CÂU KẾT: one continuous paper background
   ========================================================= */
:root { --seam: #ece0d3; }
.thanks2 {
  background:
    radial-gradient(ellipse 70% 45% at 50% 40%, rgb(250 243 235 / .55), rgb(250 243 235 / 0) 70%),
    linear-gradient(180deg, #f1e6da 0%, #eee3d6 60%, var(--seam) 100%);
}
.thanks2::before { /* same paper grain as the outro */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--grain); opacity: .28; mix-blend-mode: multiply;
}
.outro { background: linear-gradient(180deg, var(--seam) 0%, #efe6da 45%, #f4ece1 100%); }
.sbg--outro::after { background: linear-gradient(var(--seam) 0%, rgb(236 224 211 / .55) 30%, rgb(236 224 211 / 0) 60%); }
.sbg--outro img { opacity: .12; }

/* artwork & mobile visual: dissolve every edge into the shared paper */
@media (min-width: 900px) {
  .thanks2 { padding-bottom: 0; }
  .t2-bg {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%),
                        linear-gradient(180deg, transparent 0, #000 5%, #000 84%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%),
                        linear-gradient(180deg, transparent 0, #000 5%, #000 84%, transparent 100%);
            mask-composite: intersect;
  }
}
@media (max-width: 899px) {
  .t2-visual {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%),
                        linear-gradient(180deg, transparent 0, #000 6%, #000 80%, transparent 100%);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%),
                        linear-gradient(180deg, transparent 0, #000 6%, #000 80%, transparent 100%);
            mask-composite: intersect;
  }
  .thanks2 { padding-bottom: 2.5rem; }
}

/* ---------- mobile pass: hero RSVP button, form fit, tap targets ---------- */
.hero__actions { display: flex; align-items: center; gap: .9rem; margin: 1.2rem 0 0 2.4em; }
.hero__actions .hero__down { margin: 0; flex: none; }
.hero__cta {
  min-height: 46px; padding: .55rem 1.5rem; border-radius: 999px; cursor: pointer;
  font-family: var(--f-display); font-size: .95rem; letter-spacing: .08em; color: var(--olive-800);
  background: var(--cream); border: 1px solid var(--cream);
  box-shadow: 0 10px 24px -12px rgb(0 0 0 / .55);
  transition: background-color .3s, scale .2s;
}
.hero__cta:hover { background: #fffaf0; }
.hero__cta:active { scale: .97; }
.hero__cta:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 380px) { .hero__actions { margin-left: 1.2em; gap: .7rem; } .hero__cta { padding-inline: 1.2rem; } }
@media (min-width: 900px) { .hero__cta { min-height: 54px; font-size: 1.05rem; padding-inline: 2rem; } }
.sheet__title:focus { outline: none; }
.choices label { white-space: nowrap; padding: .7rem .5rem; }
@media (max-width: 400px) { .choices label { font-size: 1rem; } }
.topbar__logo { padding: .45rem .2rem; }
