/* ─────────────────────────────────────────────────────────────────────────
   Save the Date — Jack & Erika
   Three stylistic directions toggled via [data-theme]:
     postcard  → vintage Aloha postcard
     garden    → modern editorial garden party
     twilight  → moody evening lūʻau
   ────────────────────────────────────────────────────────────────────── */

:root {
  --maxw: 1100px;
  --rad: 18px;
  --rad-sm: 10px;
  --shadow-card: 0 24px 60px -28px rgba(31, 22, 14, .35),
                 0 2px 0 rgba(255,255,255,.5) inset;
  --ease: cubic-bezier(.22,.61,.36,1);

  /* postcard defaults */
  --bg:        #f0e1c2;
  --paper:     #f7ecd2;
  --ink:       #2a1d14;
  --ink-mute:  #6b5641;
  --primary:   #b2422c;   /* sunset terracotta */
  --secondary: #1f5e4a;   /* jade */
  --accent:    #d99524;   /* honey */
  --accent-2:  #e8c98a;
  --rule:      #c9a878;
  --paper-grain: 0.06;

  --font-display: "Abril Fatface", "DM Serif Display", Georgia, serif;
  --font-body: "Karla", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-hand: "Caveat", "Bradley Hand", cursive;
  --display-letter: 0em;
  --display-line: .95;
}

[data-theme="garden"] {
  --bg:        #f5f1e6;
  --paper:     #fbf8ef;
  --ink:       #1f2a1f;
  --ink-mute:  #5a6a55;
  --primary:   #5a7a4a;
  --secondary: #d76a52;
  --accent:    #c98a3a;
  --accent-2:  #ead9b9;
  --rule:      #b7c4a4;
  --paper-grain: 0.04;

  --font-display: "Cormorant Garamond", "DM Serif Display", Georgia, serif;
  --font-body: "Karla", ui-sans-serif, system-ui, sans-serif;
  --font-hand: "Caveat", cursive;
  --display-letter: -.01em;
  --display-line: 1.0;
}

[data-theme="twilight"] {
  --bg:        #0f2e2c;
  --paper:     #143734;
  --ink:       #f4e6c8;
  --ink-mute:  #b9a888;
  --primary:   #e8a64a;
  --secondary: #d76a52;
  --accent:    #f4e6c8;
  --accent-2:  #2a4b46;
  --rule:      #355c54;
  --paper-grain: 0.10;

  --font-display: "Italiana", "Cormorant Garamond", serif;
  --font-body: "Karla", ui-sans-serif, system-ui, sans-serif;
  --font-hand: "Caveat", cursive;
  --display-letter: .01em;
  --display-line: 1.0;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
[hidden] { display: none !important; }
body {
  position: relative;
  font-family: var(--font-body);
  color: var(--ink);
  background: #dbe2bf url("/assets/watercolor-green-bg.webp") repeat top center;
  background-size: 1100px auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  font-size: 17px;
  overflow-x: hidden;
}

/* paper grain overlay */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: var(--paper-grain);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}
[data-theme="twilight"] body::before { mix-blend-mode: screen; }

/* ──────────── Type ──────────── */
.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: var(--display-letter);
  line-height: var(--display-line);
  margin: 0;
}
.h-script {
  font-family: var(--font-hand);
  font-weight: 400;
  line-height: 1;
}
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow.muted { color: var(--ink-mute); }

a { color: inherit; }

/* ──────────── Page scaffold ──────────── */
.page {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px clamp(20px, 4vw, 56px) 0;
}
.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}
.section + .section { border-top: 1px dashed var(--rule); }

/* ──────────── Hero ──────────── */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 88px) 0 clamp(60px, 10vw, 130px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 44px);
}

/* small framed watercolor portrait, tucked beside the title */
.hero-photo {
  margin: 0;
  width: clamp(96px, 11vw, 160px);
  flex: none;
  padding: clamp(6px, .8vw, 10px);
  background: #fffdf4;
  border: 1px solid rgba(31, 22, 14, .12);
  border-radius: 4px;
  box-shadow: 0 30px 55px -22px rgba(31, 22, 14, .5),
              0 2px 0 rgba(255, 255, 255, .6) inset;
  transform: rotate(2deg);
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(31, 22, 14, .14);
}
@media (max-width: 760px) {
  .hero { justify-content: center; }
  .hero-photo { transform: rotate(-1.5deg); }
}
.hero-title {
  font-size: clamp(78px, 14vw, 220px);
  color: var(--ink);
  width: min-content; /* hug the wrapped text so the framed photo sits right beside it */
}
.hero-title .keep { white-space: nowrap; } /* break after the &, never around it */
.hero-title .amp {
  font-family: var(--font-hand);
  font-size: .9em;
  color: var(--primary);
  font-style: italic;
  display: inline-block;
  transform: translateY(.1em);
  margin: 0 .05em;
}
/* ──────────── Postcards ──────────── */
.section.postcard {
  --trim-w: clamp(96px, 16vw, 180px);
  --card-pad: clamp(24px, 4vw, 48px);
  --card-cream: #fbf6e9;
  background: var(--card-cream);
  border: 1px solid rgba(31, 22, 14, .08);
  border-radius: 14px;
  box-shadow: 0 34px 70px -30px rgba(31, 22, 14, .45),
              0 2px 0 rgba(255, 255, 255, .6) inset;
  padding: var(--card-pad);
  margin: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid rgba(31, 22, 14, .08); /* override dashed section divider */
  overflow: hidden;
}
/* side trims removed (testing) — keep only the alternating tilt */
.postcard.trim-left  { transform: rotate(-.5deg); }
.postcard.trim-right { transform: rotate(.5deg); }

/* stamp row */
.postcard-mark {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: clamp(8px, 2vw, 18px);
}
/* trim on the right squeezes the content area — keep the stamp on the far left there */
.postcard.trim-right .postcard-mark { justify-content: flex-start; }
.postcard.trim-right .stamp-frame { transform: rotate(-2deg); }
.stamp-frame {
  flex: none;
  width: clamp(72px, 10vw, 108px);
  transform: rotate(2deg);
  filter: drop-shadow(0 8px 14px rgba(31, 22, 14, .35));
}
.stamp-frame.wide { width: clamp(104px, 14vw, 156px); }
.stamp-frame img { width: 100%; display: block; }

/* a row of city stamps — every place we've lived */
.postcard-mark.stamp-row {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: clamp(8px, 1.5vw, 14px);
}
.stamp-row .stamp-frame { width: clamp(56px, 7.5vw, 86px); }
.stamp-row .stamp-frame:nth-child(2n) { transform: rotate(-2.4deg); }
.stamp-row .stamp-frame:nth-child(3n) { transform: rotate(1.2deg); }

/* postcard typography — handwritten heading, garamond body */
.postcard .sec-head { grid-template-columns: 1fr; margin-bottom: clamp(16px, 2.5vw, 26px); }
.postcard .sec-head .num { display: none; }
.postcard .sec-head .t { border-bottom: 0; padding-bottom: 0; }
.postcard .sec-head h2 {
  font-family: var(--font-hand);
  font-weight: 500;
  color: #5f7a34;
  font-size: clamp(42px, 5.5vw, 66px);
  transform: rotate(-1.2deg);
}
.postcard p,
.postcard .fact-list,
.postcard .day-note {
  font-family: "Cormorant Garamond", Georgia, serif;
}
.postcard .story p { font-size: 21px; line-height: 1.6; }
.postcard .story .lead {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
}
.postcard .fact-list { font-size: 19px; }
.postcard .card { background: transparent; box-shadow: none; }
.postcard .cards .card p { font-family: "Cormorant Garamond", Georgia, serif; font-size: 18px; line-height: 1.5; }

/* the RSVP wrap loses its own card chrome inside a postcard */
.postcard .rsvp-wrap {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}

@media (max-width: 560px) {
  .section.postcard { --trim-w: 84px; --card-pad: 20px; }
}

/* ──────────── Hawaii flight map ──────────── */
.hawaii-map { margin-top: clamp(10px, 2vw, 18px); }
.hawaii-map svg { display: block; width: 100%; height: auto; }
.hawaii-map .map-note {
  font-family: var(--font-hand);
  font-size: 46px;
  fill: var(--primary);
}
@media (prefers-reduced-motion: reduce) {
  .hawaii-map .flight-plane { display: none; }
}

/* ──────────── Section header pattern ──────────── */
.sec-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 22px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.sec-head .num {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: .8;
  color: var(--primary);
  opacity: .9;
}
.sec-head .t {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 18px;
  display: grid; gap: 6px;
}
.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 62px);
  margin: 0; line-height: 1.02;
}

/* ──────────── Story ──────────── */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } }
.story p {
  font-size: 18px;
  line-height: 1.65;
  max-width: 56ch;
}
.story .lead {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
}
.story .lead em {
  font-family: var(--font-hand);
  font-style: normal;
  color: var(--primary);
  font-size: 1.2em;
}
.fact-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 18px;
}
.fact-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px; align-items: start;
}
.fact-list li .bul {
  margin-top: 6px;
  color: var(--primary);
}
.fact-list strong { color: var(--ink); }

/* ──────────── Plan / Cards ──────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--paper);
  border: 1px dashed var(--rule);
  border-radius: var(--rad-sm);
  padding: 26px 24px 28px;
  display: grid; gap: 14px;
  position: relative;
}
.card .icon {
  width: 56px; height: 56px;
  display: inline-grid; place-items: center;
  color: var(--primary);
  border: 1px dashed var(--rule);
  border-radius: 50%;
  background: color-mix(in oklab, var(--accent-2) 30%, transparent);
}
.card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0;
}
.card p { margin: 0; color: var(--ink-mute); }
.card .when {
  font-family: var(--font-hand);
  font-size: 22px;
  color: var(--primary);
  margin-top: -4px;
}

/* ──────────── The Day (single-day plan) ──────────── */
.day { display: grid; gap: clamp(20px, 3vw, 36px); }

.day-banner {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 14px 24px;
  padding: clamp(20px, 3vw, 32px) clamp(22px, 3.5vw, 40px);
  background: color-mix(in oklab, var(--accent-2) 35%, transparent);
  border: 1px dashed var(--rule);
  border-radius: var(--rad);
}
[data-theme="twilight"] .day-banner {
  background: color-mix(in oklab, var(--accent-2) 60%, transparent);
}
.day-banner-eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600;
}
.day-banner-date {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1;
  color: var(--ink);
}
.day-banner-tail {
  font-family: var(--font-hand);
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--primary);
  flex: 1; min-width: 240px;
}
@media (max-width: 600px) {
  .day-banner-tail { min-width: 0; flex-basis: 100%; }
}

.moments {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 0;
  border-top: 1px solid var(--rule);
}
.moments li {
  display: grid;
  grid-template-columns: 180px 28px 1fr;
  align-items: center;
  gap: 16px;
  padding: 22px 6px;
  border-bottom: 1px solid var(--rule);
}
.moments-time {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  color: var(--primary);
  line-height: 1;
}
.moments-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  justify-self: center;
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--primary) 18%, transparent);
}
.moments-what {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--ink-mute);
  line-height: 1.5;
}
.moments-what b {
  color: var(--ink); font-weight: 700; margin-right: 2px;
}
@media (max-width: 600px) {
  .moments li { grid-template-columns: 110px 18px 1fr; gap: 12px; padding: 18px 4px; }
}

.day-note {
  margin: 6px 0 0;
  text-align: center;
  font-family: var(--font-hand);
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--ink-mute);
}

/* ──────────── RSVP ──────────── */
.rsvp-wrap {
  background: var(--paper);
  border-radius: var(--rad);
  border: 1px solid var(--rule);
  padding: clamp(28px, 5vw, 56px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.rsvp-wrap::before,
.rsvp-wrap::after {
  content: ""; position: absolute;
  pointer-events: none;
  width: 220px; height: 220px;
  opacity: .14;
  background: radial-gradient(closest-side, var(--primary), transparent 70%);
}
.rsvp-wrap::before { top: -120px; left: -80px; }
.rsvp-wrap::after  { bottom: -140px; right: -100px; background: radial-gradient(closest-side, var(--secondary), transparent 70%); }

.rsvp-head {
  display: grid; gap: 8px; margin-bottom: 28px;
  position: relative; z-index: 1;
}
.rsvp-head h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 56px);
  margin: 0; line-height: 1;
}
.rsvp-head .hand {
  font-family: var(--font-hand);
  font-size: 28px;
  color: var(--primary);
  margin-top: 4px;
}

.lock-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  position: relative; z-index: 1;
}
.lock-hint {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 12px;
  display: flex; align-items: center; gap: 8px;
}

.field {
  display: grid; gap: 6px;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: .04em;
}
.field > label {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  font-weight: 600;
}
.field > .req { color: var(--primary); margin-left: 4px; }
.input, .stepper input, .stepper button {
  font-family: var(--font-body);
}
.input {
  height: 48px;
  padding: 0 16px;
  font-size: 16px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  color: var(--ink);
  width: 100%;
  outline: none;
  transition: border-color .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
}
.input:focus {
  border-color: var(--primary);
  background: color-mix(in oklab, var(--paper) 90%, white);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 18%, transparent);
}
.input.err {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--secondary) 18%, transparent);
}
[data-theme="twilight"] .input { background: color-mix(in oklab, var(--paper) 80%, black); color: var(--ink); }

.btn {
  appearance: none; border: 0; cursor: pointer;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  transition: transform .15s var(--ease), background .15s var(--ease);
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); background: var(--primary); }
.btn:active { transform: translateY(0); }
.btn.primary { background: var(--primary); color: var(--paper); }
.btn.primary:hover { background: var(--ink); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
}
.btn.ghost:hover { background: color-mix(in oklab, var(--primary) 12%, transparent); color: var(--ink); }

.error {
  color: var(--secondary);
  font-size: 13px;
  margin-top: 10px;
  display: flex; align-items: center; gap: 8px;
  letter-spacing: .04em;
}

@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}
.shake { animation: shake .45s cubic-bezier(.36,.07,.19,.97); }

/* Segmented control */
.segmented {
  display: inline-flex;
  height: 48px;
  width: fit-content;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
}
[data-theme="twilight"] .segmented { background: color-mix(in oklab, var(--paper) 80%, black); }
.segmented .seg-btn {
  appearance: none; border: 0; background: transparent;
  min-width: 64px; height: 48px; padding: 0 18px;
  font-family: var(--font-display);
  font-size: 22px; line-height: 1;
  color: var(--ink); cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.segmented .seg-btn + .seg-btn { border-left: 1px solid var(--rule); }
.segmented .seg-btn:hover { background: color-mix(in oklab, var(--primary) 14%, transparent); }
.segmented .seg-btn.is-active { background: var(--primary); color: var(--paper); }

/* Stepper */
.stepper {
  display: inline-flex; align-items: center;
  height: 48px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
}
[data-theme="twilight"] .stepper { background: color-mix(in oklab, var(--paper) 80%, black); }
.stepper button {
  appearance: none; border: 0; background: transparent;
  width: 48px; height: 48px;
  font-size: 22px; line-height: 1;
  color: var(--ink); cursor: pointer;
  transition: background .15s var(--ease);
}
.stepper button:hover { background: color-mix(in oklab, var(--primary) 15%, transparent); }
.stepper button:disabled { color: var(--ink-mute); opacity: .4; cursor: not-allowed; }
.stepper .val {
  min-width: 60px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
}

/* RSVP form layout */
.rsvp-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  position: relative; z-index: 1;
}
.rsvp-form .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .rsvp-form { grid-template-columns: 1fr; } }

.rsvp-actions {
  margin-top: 12px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.rsvp-actions .note {
  font-size: 13px; color: var(--ink-mute);
  font-style: italic;
}

/* RSVP info notes (gifts, venue) */
.rsvp-notes {
  position: relative; z-index: 1;
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px dashed var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 600px) { .rsvp-notes { grid-template-columns: 1fr; } }
.rsvp-notes h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 8px;
}
.rsvp-notes p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.6;
  max-width: 48ch;
}

/* Thank-you state */
.thanks {
  text-align: center;
  display: grid; gap: 18px; justify-items: center;
  padding: 20px 0;
  position: relative; z-index: 1;
}
.thanks .glyph {
  font-family: var(--font-hand);
  font-size: 96px;
  line-height: .9;
  color: var(--primary);
  transform: rotate(-6deg);
}
.thanks h3 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 52px);
  margin: 0; line-height: 1;
}
.thanks p { max-width: 38ch; color: var(--ink-mute); margin: 0; }
.thanks .receipt {
  display: grid;
  grid-template-columns: auto auto;
  gap: 6px 22px;
  background: color-mix(in oklab, var(--accent-2) 30%, transparent);
  padding: 16px 22px;
  border: 1px dashed var(--rule);
  font-size: 14px;
  margin-top: 6px;
  text-align: left;
}
.thanks .receipt span:nth-child(odd) {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  color: var(--ink-mute);
  align-self: center;
}

/* ──────────── Persistent RSVP button ──────────── */
.rsvp-fab {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 14px 34px -10px rgba(31, 22, 14, .55),
              0 0 0 4px color-mix(in oklab, var(--primary) 18%, transparent);
  transition: transform .15s var(--ease), background .15s var(--ease);
}
.rsvp-fab:hover { transform: translateY(-2px); background: var(--ink); }
.rsvp-fab:active { transform: translateY(0); }
.rsvp-fab svg { flex: none; }
@media (max-width: 560px) {
  .rsvp-fab {
    height: 50px;
    padding: 0 22px;
    right: 14px;
    bottom: 14px;
  }
}

/* ──────────── Watercolor trimmings (side decorations) ──────────── */
.trimmings {
  --trim-scale: 1;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.trimmings img {
  position: absolute;
  width: calc(var(--w, 140px) * var(--trim-scale));
  transform: rotate(var(--r, 0deg));
  filter: drop-shadow(0 8px 16px rgba(31, 22, 14, .14));
}
.trimmings img.t-left  { left:  calc(var(--off, -30px) * var(--trim-scale)); }
.trimmings img.t-right { right: calc(var(--off, -30px) * var(--trim-scale)); }
@media (max-width: 1240px) {
  .trimmings { --trim-scale: .72; }
  .trimmings img { opacity: .9; }
}
@media (max-width: 920px) {
  .trimmings { --trim-scale: .52; }
  .trimmings img { opacity: .85; }
}

/* Reveal animation when unlocking */
.reveal-enter {
  animation: revealIn .55s var(--ease) both;
}
@keyframes revealIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
