:root {
  --linen-bg: #f4f1e9;
  --plain-bg: #f7f3ec;
  --olive: #465440;       /* headings & names */
  --sage: #728269;        /* eyebrows & labels */
  --gold: #ae8e4d;
  --gold-line: #c8b383;
  --text: #625f58;
  --muted: #88847a;
  --panel: #46563f;       /* wedding-day arch */
  --footer: #4b5b43;
  --line: #dcd4c5;

  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Montserrat', system-ui, sans-serif;

  /* woven linen: fine vertical + horizontal threads */
  --threads-v: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .015' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .45 0 0 0 0 .36 0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  --threads-h: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.015 .9' numOctaves='2' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .45 0 0 0 0 .36 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  /* soft plaster texture for the green arch */
  --plaster: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.07' numOctaves='4' seed='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .85 0 0 0 0 .9 0 0 0 0 .8 0 0 0 .24 -.07'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' seed='5' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .46 0 0 0 0 .4 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  --paper-fibres: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.018 .42' numOctaves='3' seed='17' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .5 0 0 0 0 .42 0 0 0 .065 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  --envelope-paper: url('img/ivory-cotton-paper.jpg');
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: #d7d3ca;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
}
body.locked { overflow: hidden; height: 100svh; }
[hidden] { display: none !important; }
a { color: inherit; }
img { max-width: 100%; }

/* ================= ENVELOPE INTRO ================= */
/* Mobile-first: full-bleed close-up of a smooth ivory envelope. Only transform/opacity animate. */
#intro {
  position: fixed; inset: 0 max(0px, calc((100vw - 828px) / 2)); z-index: 100;
  background: var(--envelope-paper) center / cover, #f5f2ec;
  overflow: hidden;
  touch-action: manipulation;
}
.env {
  position: absolute; inset: 0;
  perspective: 1100px;
  perspective-origin: 50% 18%;
  transform-origin: 50% 40%;
}
.env > * { position: absolute; }

/* inside of the envelope (side flaps at rest; depth once the flap lifts) */
.env-inside {
  inset: 0;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, .13), rgba(231, 224, 215, .08)),
    var(--envelope-paper) center / cover,
    #f5f2ec;
}
.inside-shade {
  inset: 0; opacity: 0;
  background: linear-gradient(180deg, rgba(110, 100, 80, .26) 0%, rgba(110, 100, 80, .1) 35%, rgba(110, 100, 80, 0) 60%);
}

/* the card tucked in the pocket */
.env-card {
  left: 8%; right: 8%; top: 63%; height: 50%;
  background: var(--threads-v), var(--threads-h), #f4f0e8;
  box-shadow: 0 -2px 10px rgba(80, 70, 50, .12);
  padding: 10px;
}
.ec-inner {
  height: 100%;
  border: 1px solid var(--gold-line); outline: 1px solid var(--gold-line); outline-offset: -6px;
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 12%;
  text-align: center;
}
.ec-small { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--sage); }
.ec-names { display: flex; flex-direction: column; align-items: center; font-family: var(--display); font-size: clamp(28px, 8vw, 38px); color: var(--olive); line-height: 1.15; }
.ec-names .amp { color: var(--gold); font-size: .7em; }

/* front pocket: the bottom flap rises to a point hidden under the seal */
.env-pocket {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(248, 246, 242, .2), rgba(231, 224, 215, .18)),
    var(--envelope-paper) center / cover,
    #f1ede7;
  clip-path: polygon(0 61%, 50% 49%, 100% 61%, 100% 100%, 0 100%);
}
.env-pocket::before,
.env-pocket::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.env-pocket::before {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(224, 216, 205, .06)),
    var(--envelope-paper) center / cover;
  clip-path: polygon(0 61%, 50% 49%, 50% 100%, 0 100%);
}
.env-pocket::after {
  background:
    linear-gradient(215deg, rgba(255, 255, 255, .09), rgba(221, 213, 202, .08)),
    var(--envelope-paper) center / cover;
  clip-path: polygon(50% 49%, 100% 61%, 100% 100%, 50% 100%);
}
.env-pocket svg, .flap-face svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.env-pocket svg { z-index: 2; }
.pocket-edge-left,
.pocket-edge-right,
.flap-edge-left,
.flap-edge-right { fill: none; vector-effect: non-scaling-stroke; }
.pocket-edge-left { stroke: rgba(255, 255, 255, .72); stroke-width: 1; }
.pocket-edge-right { stroke: rgba(112, 101, 84, .1); stroke-width: 1.2; }
.flap-edge-left { stroke: rgba(121, 110, 94, .1); stroke-width: 1.2; }
.flap-edge-right { stroke: rgba(96, 76, 53, .29); stroke-width: 2.5; filter: drop-shadow(0 1px 1px rgba(82, 65, 46, .1)); }

/* soft shadow the closed flap casts */
.flap-shadow {
  left: 0; right: 0; top: 0; height: 49%;
  background: rgba(83, 75, 60, .055);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%);
  filter: blur(9px);
  transform: translateY(5px);
}

/* top flap, hinged on its top edge */
.flap {
  left: 0; right: 0; top: 0; height: 49%;
  transform-origin: 50% 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.flap-face {
  position: absolute; inset: 0;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.flap-face.front {
  background:
    radial-gradient(110% 58% at 46% 2%, rgba(255, 255, 255, .21), rgba(231, 224, 215, .05) 75%),
    var(--envelope-paper) center top / cover,
    #f6f3ed;
}
.flap-face.back {
  transform: rotateX(180deg);
  background:
    linear-gradient(0deg, rgba(220, 212, 200, .16), rgba(248, 245, 239, .05)),
    var(--envelope-paper) center / cover,
    #e8e2d9;
}

/* wax seal sits on the flap tip and travels with it */
.seal {
  position: absolute; left: 50%; top: 100%;
  width: clamp(145px, 49vw, 200px); aspect-ratio: 1;
  margin: 0; padding: 0; border: 0; background: none; cursor: pointer;
  transform: translate(-50%, -50%) translateZ(1px);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: filter .22s ease, transform .22s ease;
}
.seal img {
  position: relative; width: 100%; height: 100%; display: block;
  user-select: none; -webkit-user-drag: none;
  filter: drop-shadow(0 1px 1px rgba(92, 80, 64, .1));
}
.seal-shadow {
  position: absolute; inset: 25% 23% 24%; border-radius: 46%;
  background: rgba(82, 72, 59, .14);
  filter: blur(4.5px);
  transform: translate(5%, 9%);
}
.seal:focus-visible { outline: 2px solid var(--gold-line); outline-offset: 4px; border-radius: 50%; }
.seal:active { filter: brightness(.985); transform: translate(-50%, -50%) translateZ(1px) scale(.985); }

.intro-hint {
  position: absolute; left: 0; right: 0; bottom: max(32px, calc(env(safe-area-inset-bottom) + 22px));
  margin: 0; text-align: center; z-index: 5;
  font-size: 11px; font-weight: 300; letter-spacing: .3em; text-transform: uppercase; color: #807a75;
  animation: hint 3.4s ease-in-out infinite;
}
@keyframes hint { 50% { opacity: .68; } }
.white-out { position: absolute; inset: 0; background: #f7f4ef; opacity: 0; pointer-events: none; z-index: 6; }

/* ================= MUSIC ================= */
.music-toggle {
  position: fixed; right: max(16px, calc((100vw - 828px) / 2 + 16px)); bottom: 16px; z-index: 50;
  width: 50px; height: 50px; border-radius: 50%; border: 0;
  background: rgba(110, 118, 98, .92); color: #f5f1eb;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}
.music-toggle svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.music-toggle:not(.playing) .wave { opacity: .35; }


/* ================= SHARED ================= */
main { position: relative; width: min(100%, 828px); margin: 0 auto; overflow-x: clip; box-shadow: 0 0 48px rgba(58, 53, 45, .08); }
.linen { background: var(--threads-v), var(--threads-h), var(--linen-bg); }
.plain { background: var(--plain-bg); }
.section { position: relative; padding: 96px 32px; text-align: center; }
.section > * { max-width: 560px; margin-left: auto; margin-right: auto; }

.eyebrow {
  margin: 0; font-size: 13px; font-weight: 400; letter-spacing: .32em; line-height: 1.9;
  text-transform: uppercase; color: var(--sage);
}
.eyebrow.light { color: rgba(245, 241, 235, .8); }
.title {
  margin: 6px auto 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 9vw, 46px); line-height: 1.08; color: var(--olive); text-transform: uppercase;
}
.title.small { font-size: 28px; }
.diamond { display: block; width: 9px; height: 9px; margin: 26px auto 0; background: var(--gold); transform: rotate(45deg); }
.diamond-rule { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px 0; }
.diamond-rule span { width: 70px; height: 1px; background: var(--gold); opacity: .8; }
.diamond-rule i { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

/* double thin gold frame */
.frame {
  position: relative;
  border: 1px solid var(--gold-line);
  outline: 1px solid var(--gold-line); outline-offset: -9px;
  padding: 58px 30px;
}

/* ================= HERO ================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; overflow: hidden;
  padding-bottom: clamp(245px, 72vw, 440px);
}
.hero-canopy { width: min(112%, 920px); max-width: none; margin-top: -1px; display: block; transform-origin: 50% 0; }
.hero-text { padding: clamp(32px, 7svh, 76px) 20px 0; }
.hero-names {
  margin: 26px 0 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(40px, 10.6vw, 58px); line-height: 1.05; color: var(--olive); text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center;
}
.hero-names .amp { color: var(--gold); font-size: .78em; line-height: 1.6; }
.hero-date { margin: 0; font-size: 15px; letter-spacing: .22em; color: var(--text); }
.hero-place { margin: 14px 0 0; font-size: 13px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }
.table { position: absolute; left: 50%; bottom: -3px; width: max(124%, 520px); max-width: 1030px; transform: translateX(-50%); }

/* entrance once the envelope opens */
.seq { opacity: 0; transform: translateY(10px); }
.hero-canopy { opacity: 0; transform: translateY(-30px); }
.table { opacity: 0; transform: translateX(-50%) translateY(30px); }
body.play .seq { animation: fadeUp .9s ease var(--d) forwards; }
body.play .hero-canopy { animation: dropIn 1.4s cubic-bezier(.2, .8, .2, 1) .1s forwards; }
body.play .table { animation: tableIn 1.4s cubic-bezier(.2, .8, .2, 1) 1.2s forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes dropIn { to { opacity: 1; transform: none; } }
@keyframes tableIn { to { opacity: 1; transform: translateX(-50%); } }

/* ================= DRESS CODE ================= */
#dress { padding-bottom: 64px; overflow: hidden; }
.dress-intro { margin: 18px auto 0; font-size: 18px; color: var(--text); }
.dress-illustration {
  display: block;
  width: min(82vw, 430px);
  height: auto;
  margin: 30px auto 10px;
  filter: drop-shadow(0 14px 18px rgba(52, 48, 42, .07));
}
.dress-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 24px; }
.dress-item { padding: 4px 16px; }
.dress-item + .dress-item { border-left: 1px solid var(--line); }
.dress-item span { display: block; font-size: 13px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.dress-item p { margin: 10px 0 0; color: var(--muted); line-height: 1.6; }

/* ================= COUNTDOWN ================= */
#countdown { padding-top: 72px; padding-bottom: 108px; }
#countdown .eyebrow { margin-top: 14px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 34px; }
.countdown div { padding: 4px 0; }
.countdown div + div { border-left: 1px solid var(--line); }
.countdown b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 10vw, 42px); line-height: 1.2; color: var(--olive); font-variant-numeric: tabular-nums; }
.countdown small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.blossom.corner { position: absolute; right: -54px; bottom: -74px; width: 220px; transform: rotate(3deg); pointer-events: none; }

/* ================= VENUE ================= */
.map-arch {
  margin-top: 44px; height: clamp(280px, 67vw, 390px);
  border: 1px solid var(--gold-line);
  border-radius: 50% 50% 8px 8px / 34% 34% 8px 8px;
  overflow: hidden; background: #e9e5dc;
  box-shadow: 0 18px 34px rgba(58, 53, 45, .09);
}
.map-arch iframe { width: 100%; height: 100%; border: 0; filter: saturate(.78) sepia(.06); }
.venue-name { margin: 34px auto 6px; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 8vw, 34px); color: var(--olive); line-height: 1.25; }
.address { margin: 0 auto 30px; font-size: 18px; color: var(--muted); }
.address span:first-child { color: var(--text); }
.btn-col { display: flex; flex-direction: column; gap: 14px; }
.btn-outline {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  width: 100%; padding: 18px 12px;
  border: 1px solid var(--olive); background: transparent; color: var(--olive);
  font: 400 14px var(--sans); letter-spacing: .3em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s;
}
.btn-outline:hover { background: var(--olive); color: #f5f1eb; }
.btn-outline svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ================= WEDDING DAY ARCH ================= */
#day { padding-left: 0; padding-right: 0; }
.arch {
  position: relative;
  width: min(89%, 560px);
  background: var(--plaster), var(--panel);
  border-radius: 50% 50% 0 0 / min(44.5vw, 280px) min(44.5vw, 280px) 0 0;
  padding: clamp(80px, 22vw, 120px) 28px 70px;
  color: #f2efe8;
  box-shadow: 0 18px 38px rgba(40, 50, 30, .12);
}
.arch-date { margin: 4px 0 0; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 8.4vw, 44px); color: #fbf9f4; line-height: 1.08; text-transform: uppercase; }
.schedule { list-style: none; margin: 48px 0 0; padding: 0; }
.schedule li + li::before { content: ''; display: block; width: 1px; height: 64px; margin: 18px auto; background: rgba(245, 241, 235, .35); }
.s-time { display: block; font-weight: 500; font-size: 15px; letter-spacing: .24em; color: #e7c98b; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.s-title { display: block; margin-top: 8px; font-family: var(--display); font-size: clamp(25px, 6.4vw, 31px); line-height: 1.15; color: #fbf9f4; text-transform: uppercase; }
.s-text { display: block; margin-top: 8px; color: rgba(245, 241, 235, .78); }
.arch .diamond { margin-top: 56px; }
.urn { position: absolute; right: -40px; bottom: -38px; width: clamp(140px, 34vw, 190px); pointer-events: none; }

/* ================= LOVE STORY ================= */
#story { overflow: hidden; }
.blossom.top-right { position: absolute; top: 48px; right: -48px; width: 210px; max-width: none; transform: scaleX(-1) rotate(-8deg); pointer-events: none; margin: 0; }
.story { position: relative; margin-top: 70px; }
.story::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.story-item { position: relative; width: 50%; padding: 0 30px 70px 0; text-align: right; }
.story-item:nth-child(even) { margin-left: 50%; padding: 0 0 70px 30px; text-align: left; }
.story-item::after { content: ''; position: absolute; top: 46%; right: -5px; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.story-item:nth-child(even)::after { right: auto; left: -4px; }
.st-date { display: block; font-weight: 400; font-size: 13px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.st-title { display: block; margin: 10px 0 12px; font-family: var(--display); font-size: clamp(23px, 6vw, 28px); line-height: 1.2; color: var(--olive); text-transform: uppercase; }
.st-text { margin: 0; color: var(--muted); line-height: 1.8; }
.story-closing { margin-top: 10px; }
.story-closing .diamond { margin: 0 auto 30px; }
.closing-quote { margin: 0 auto; max-width: 420px; font-family: var(--display); font-style: italic; font-size: clamp(22px, 6.2vw, 27px); line-height: 1.45; color: var(--olive); }
.closing-date { margin: 22px 0 0; font-size: 15px; letter-spacing: .34em; color: var(--gold); }

/* ================= Q&A ================= */
#faq { padding-bottom: 88px; }
.faq { margin-top: 44px; text-align: left; padding: 42px 38px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 26px 40px 26px 0;
  font-family: var(--display); font-size: clamp(19px, 5.2vw, 25px); line-height: 1.35;
  letter-spacing: .025em; text-transform: uppercase; color: var(--olive);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--gold); transform: rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(135deg) scale(1.15); }
.faq details p { margin: -2px 40px 27px 0; font-size: 17px; line-height: 1.7; color: var(--muted); }

/* ================= RSVP ================= */
#rsvp .eyebrow { margin-top: 14px; }
.rsvp { margin-top: 44px; text-align: left; padding: 48px 30px; }
.field { display: block; margin: 0 0 26px; padding: 0; border: 0; }
.field > span, .field legend {
  display: block; padding: 0; margin-bottom: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--sage);
}
input, textarea, select {
  width: 100%; font: 300 17px var(--sans); color: var(--text);
  background: rgba(90, 80, 60, .05); border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 12px 0 12px 2px;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, background .2s;
}
select { background: rgba(90, 80, 60, .05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e7d5f'/%3E%3C/svg%3E") right 10px center no-repeat; cursor: pointer; }
textarea { resize: vertical; min-height: 110px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--sage); background-color: rgba(90, 80, 60, .08); }
::placeholder { color: #a8a397; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

.radio { display: flex; align-items: center; gap: 12px; padding: 4px 0; cursor: pointer; font-size: 17px; color: var(--text); }
.radio input { position: absolute; opacity: 0; width: 1px; }
.radio i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--sage); display: grid; place-items: center; flex: none; }
.radio i::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--sage); transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.radio input:checked + i::after { transform: scale(1); }
.radio input:focus-visible + i { outline: 2px solid var(--gold-line); outline-offset: 2px; }

/* single/couple doesn't apply when declining */
#party-field { transition: opacity .3s; }
#party-field:disabled { opacity: .35; }
#party-field:disabled .radio { cursor: default; }

.btn-solid {
  width: 100%; margin-top: 8px; padding: 20px;
  border: 0; cursor: pointer;
  background: var(--panel); color: #f5f1eb;
  font: 500 15px var(--sans); letter-spacing: .3em; text-transform: uppercase;
  transition: background .25s, transform .15s;
}
.btn-solid:hover { background: #3f4c36; }
.btn-solid:active { transform: scale(.99); }
.btn-solid[disabled] { opacity: .6; pointer-events: none; }
.form-error { color: #9a4a3c; text-align: center; margin: 0 0 14px; font-size: 15px; }
.form-done { text-align: center; padding: 10px 0; animation: fadeUp .8s ease forwards; opacity: 0; transform: translateY(8px); }
.form-done .diamond { margin: 0 auto 18px; }
.form-done p { color: var(--muted); }

/* ================= FOOTER ================= */
.footer { background: var(--footer); color: #f5f1eb; text-align: center; padding: 80px 24px calc(100px + env(safe-area-inset-bottom)); }
.chandelier.small { width: 120px; margin: 0 auto 24px; display: block; opacity: 1; transform: none; }
.footer-names { margin: 0; display: flex; flex-direction: column; align-items: center; font-family: var(--display); font-size: clamp(40px, 11vw, 52px); line-height: 1.05; color: #fbf9f4; text-transform: uppercase; }
.footer .diamond-rule span { width: 70px; }
.footer a { display: inline-block; margin-top: 4px; font-size: 19px; text-underline-offset: 6px; }

/* ================= REVEAL ON SCROLL ================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (min-width: 720px) {
  .section { padding-left: 54px; padding-right: 54px; }
  .hero { min-height: 1180px; }
}
