/* ==========================================================================
   Fahad & Fidha — Wedding Invitation
   Mobile-first. Palette: pastel green · off-white · sage · olive · gold.
   ========================================================================== */

:root {
  --pastel: #cfe3cd;
  --pastel-soft: #e4efe1;
  --pastel-deep: #b5d0b1;
  --sage: #a8bda3;
  --olive: #6b7a52;
  --gold: #b8975a;
  --gold-deep: #8a6c33;
  --gold-soft: #dcc794;
  --paper: #fcfaf4;
  --cream: #f4f1e7;
  --ink: #233a2c;
  --charcoal: #343a37;
  --muted: #56655a;

  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --arabic: 'Amiri', 'Scheherazade New', 'Traditional Arabic', 'Noto Naskh Arabic', serif;

  --ease: cubic-bezier(.22, .7, .2, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);

  /* faint eight-point star lattice */
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M32 4l5.5 14.2L51.6 12.4 45.8 26.5 60 32l-14.2 5.5 5.8 14.1-14.1-5.8L32 60l-5.5-14.2-14.1 5.8 5.8-14.1L4 32l14.2-5.5-5.8-14.1 14.1 5.8z' fill='none' stroke='rgb(107,122,82)' stroke-opacity='.11' stroke-width='1'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
body.intro-active { overflow: hidden; }

h1, h2, h3, p, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.arabic { font-family: var(--arabic); direction: rtl; }

.ornament { width: 120px; height: 14px; color: var(--sage); margin-inline: auto; }

.ico {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: 0 1.5rem;
  font-family: var(--sans); font-size: .9rem; font-weight: 500; letter-spacing: .03em;
  text-decoration: none; cursor: pointer;
  color: var(--paper); background: var(--ink);
  border: 1px solid var(--ink); border-radius: 999px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { background: #31503c; }
.btn-outline { color: var(--ink); background: transparent; border-color: var(--gold); }
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.link-btn {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: 0 .2rem;
  font-size: .84rem; color: var(--olive); background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: 4px;
}
.link-btn:hover { color: var(--ink); }

/* ==========================================================================
   Envelope intro
   ========================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 40%, #f0f6ed 0%, #dbe9d7 58%, #c9ddc5 100%);
  transition: opacity 1.2s ease, visibility 0s linear 1.2s;
}
.intro::before { content: ""; position: absolute; inset: 0; background-image: var(--star); }
.intro.leaving { opacity: 0; visibility: hidden; pointer-events: none; }

.intro-sprig, .hero-branch {
  position: absolute; width: clamp(130px, 28vw, 230px); aspect-ratio: 1;
  color: var(--sage); opacity: .6; pointer-events: none;
}
.intro-sprig.tl, .hero-branch.tl { top: -4px; left: -4px; transform: scaleY(-1); }
.intro-sprig.br, .hero-branch.br { bottom: -4px; right: -4px; transform: scaleX(-1); }

.stage {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2.4rem;
  width: 100%; padding: 1rem;
  transition: opacity 1s ease, transform 1s var(--ease);
}
body.is-loading .stage { opacity: 0; transform: translateY(12px); }

.envelope {
  --ew: min(86vw, 430px);
  --eh: calc(var(--ew) * .7);
  --cw: min(80vw, 330px);
  --seal: max(60px, calc(var(--ew) * .2));
  position: relative; isolation: isolate;
  width: var(--ew); height: var(--eh);
  margin-top: calc(var(--eh) * .3);
}

.env-shadow {
  position: absolute; z-index: -1; left: 6%; right: 6%; bottom: -16px; height: 28px;
  background: radial-gradient(ellipse at center, rgba(35, 58, 44, .34), transparent 70%);
}
.env-back {
  position: absolute; inset: 0; z-index: 0; border-radius: 4px;
  background: linear-gradient(180deg, #a6c3a3, #bcd5b8);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset;
}
.env-front {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%;
  border-radius: 4px; pointer-events: none;
}

/* Flap (3D) */
.flap-wrap {
  position: absolute; inset: 0; z-index: 4;
  perspective: 1100px; pointer-events: none;
}
.flap-wrap.behind { z-index: 1; }
.flap {
  position: absolute; left: 0; top: 0; width: 100%; height: 56%;
  transform-origin: 50% 0; transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(.45, .05, .3, 1);
}
.flap-wrap.open .flap { transform: rotateX(180deg); }
.flap svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.flap .flap-in { transform: rotateX(180deg); }

/* Letter */
.letter {
  position: absolute; z-index: 2; left: 50%; top: 50%;
  width: var(--cw); height: calc(var(--cw) * 1.3);
  padding: .55rem;
  background: linear-gradient(180deg, #fffefa, #faf7ee);
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(35, 58, 44, .14), 0 12px 26px -10px rgba(35, 58, 44, .35);
  transform: translate(-50%, -50%) translateY(var(--ly, 0px)) scale(var(--ls, .7));
  transition: transform 1.3s cubic-bezier(.4, .05, .2, 1), box-shadow 1s ease;
}
.letter-inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .7rem; padding: .9rem .8rem; text-align: center;
  border: 1px solid rgba(184, 151, 90, .75);
}
.letter-inner::before {
  content: ""; position: absolute; inset: 4px; pointer-events: none;
  border: 1px solid rgba(168, 189, 163, .75);
}
.letter .arabic {
  font-size: clamp(1.4rem, 6.4vw, 1.75rem); line-height: 1.9; color: var(--gold-deep);
}
.l-intro {
  max-width: 17em; font-family: var(--serif); font-size: 1.05rem; line-height: 1.45; color: var(--muted);
}
.l-names {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 7.4vw, 2.1rem);
  line-height: 1.2; color: var(--ink);
}
.l-names span { font-style: italic; color: var(--gold); padding: 0 .1em; }

/* Seal */
.seal {
  position: absolute; z-index: 6; left: 50%; top: 56%;
  display: grid; place-items: center;
  width: var(--seal); height: var(--seal); padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  font-family: var(--sans); font-weight: 500; letter-spacing: .14em;
  font-size: calc(var(--seal) * .17); color: #5a4720; text-transform: uppercase;
  background: radial-gradient(circle at 35% 28%, #ecdcab, #bf9f5f 58%, #8f7236);
  box-shadow: 0 4px 10px rgba(35, 58, 44, .35), inset 0 1px 2px rgba(255, 255, 255, .55), inset 0 -3px 5px rgba(60, 40, 10, .25);
  transform: translate(-50%, -50%);
  transition: transform .25s ease;
}
.seal span { position: relative; padding-left: .14em; }
.seal::before {
  content: ""; position: absolute; inset: 11%; border-radius: 50%;
  border: 1px solid rgba(255, 250, 230, .6);
}
.seal::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 1px solid var(--gold); opacity: 0;
  animation: sealPulse 2.8s ease-out 1.6s infinite;
}
@media (hover: hover) { .seal:hover { transform: translate(-50%, -50%) scale(1.06); } }

@keyframes sealPulse {
  0% { transform: scale(1); opacity: .65; }
  80%, 100% { transform: scale(1.5); opacity: 0; }
}
@keyframes sealOff {
  0%   { transform: translate(-50%, -50%) scale(1) rotate(0); opacity: 1; }
  35%  { transform: translate(-50%, -60%) scale(1.16) rotate(-8deg); opacity: 1; }
  100% { transform: translate(-38%, -8%) scale(.82) rotate(26deg); opacity: 0; }
}
.is-open .seal { animation: sealOff .95s cubic-bezier(.4, 0, .3, 1) forwards; pointer-events: none; }
.is-open .seal::after { display: none; }

.hint {
  font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--olive);
  transition: opacity .6s ease;
}
.hint.gone { opacity: 0; }

/* Focus phase: envelope falls away, letter takes centre stage */
.env-back, .env-front, .flap-wrap, .env-shadow { transition: opacity 1.1s ease .1s; }
.is-focus .env-back, .is-focus .env-front, .is-focus .flap-wrap, .is-focus .env-shadow { opacity: 0; }
.is-focus .letter {
  transition-duration: 1.5s; transition-timing-function: cubic-bezier(.3, .7, .2, 1);
  box-shadow: 0 1px 2px rgba(35, 58, 44, .14), 0 28px 56px -20px rgba(35, 58, 44, .45);
}
.is-focus ~ .hint, .stage.is-focus .hint { opacity: 0; }

/* ==========================================================================
   Site shell
   ========================================================================== */
.site { transition: opacity 1.2s ease .15s; }
body.intro-active .site { opacity: 0; }

.wrap { width: 100%; max-width: 980px; margin-inline: auto; }

/* Navigation */
.nav {
  position: fixed; z-index: 50; left: 50%;
  top: max(10px, env(safe-area-inset-top, 0px));
  transform: translateX(-50%); max-width: calc(100% - 16px);
}
.nav ul {
  display: flex; padding: .22rem;
  background: rgba(252, 250, 244, .88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(168, 189, 163, .7); border-radius: 999px;
  box-shadow: 0 8px 20px -12px rgba(35, 58, 44, .45);
}
.nav a {
  display: flex; align-items: center; min-height: 38px; padding: 0 .65rem;
  font-size: .76rem; letter-spacing: .02em; white-space: nowrap;
  color: var(--ink); text-decoration: none; border-radius: 999px;
  transition: background .25s ease;
}
.nav a.active { background: var(--pastel); }
.nav .full { display: none; }
@media (max-width: 359px) { .nav a { padding: 0 .45rem; font-size: .7rem; } }
@media (min-width: 640px) {
  .nav a { padding: 0 1.1rem; font-size: .86rem; }
  .nav .full { display: inline; white-space: pre; }
}

/* Reveal (only after the intro hands over) */
.js .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: 5.5rem 1.25rem 4rem;
  background:
    var(--star),
    radial-gradient(120% 80% at 50% 0%, #eef5eb 0%, #e3eee0 55%, #d9e8d5 100%);
}
.hero-branch { opacity: .5; }
.hero-inner { position: relative; z-index: 1; text-align: center; }

.hero-bismillah { font-size: clamp(1.7rem, 7vw, 2.2rem); line-height: 1.9; color: var(--gold-deep); }
.hero-lead {
  max-width: 22em; margin: .6rem auto 0; text-wrap: balance;
  font-family: var(--serif); font-size: clamp(1.1rem, 3.6vw, 1.3rem); line-height: 1.5; color: var(--muted);
}

.couple { display: grid; justify-items: center; gap: .6rem; margin-top: 2.2rem; }
.amp { font-family: var(--serif); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--gold); }

.arch {
  position: relative; width: min(100%, 320px);
  padding: 5rem 1.4rem 2.1rem;
  border-radius: 999px 999px 0 0;
}
.arch::before {
  content: ""; position: absolute; inset: 7px; pointer-events: none;
  border-radius: 999px 999px 0 0; border: 1px solid var(--gold-soft);
}
.arch-groom {
  background: var(--paper); border: 1px solid var(--sage); color: var(--ink);
  box-shadow: 0 18px 30px -22px rgba(35, 58, 44, .5);
}
.arch-bride {
  background: linear-gradient(180deg, var(--pastel), #c3dbbf); border: 1px solid var(--pastel-deep); color: var(--ink);
  box-shadow: 0 18px 30px -22px rgba(35, 58, 44, .5);
}
.arch .role { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--gold-deep); }
.arch .name {
  margin-top: .15rem;
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 6vw, 1.7rem);
  letter-spacing: .06em; line-height: 1.25;
}
.arch .parents {
  margin-top: .8rem; font-size: .82rem; line-height: 1.75; letter-spacing: .03em; color: var(--muted);
}
.arch-bride .parents { color: #3f5446; }
.arch .parents span { display: inline-block; }

@media (min-width: 860px) {
  .couple { grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 1.5rem; margin-top: 2.6rem; }
  .arch { width: 100%; max-width: 340px; padding-top: 5.6rem; }
  .arch-groom { justify-self: end; }
  .arch-bride { justify-self: start; }
  .amp { align-self: center; font-size: 2.8rem; }
}

.message { max-width: 34rem; margin: 3rem auto 0; }
.message p {
  margin: 1.1rem 0; padding: 0 .5rem;
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.02rem, 3.5vw, 1.25rem);
  letter-spacing: .13em; line-height: 1.95; color: var(--ink);
}
.message .btn { margin-top: .6rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 10vw, 6.5rem) 1.25rem; scroll-margin-top: 40px; }
.section-paper { background: var(--paper); }
.section-green { background: linear-gradient(180deg, var(--pastel-soft), var(--pastel)); }

.section-head { text-align: center; }
.section-head h2 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 6vw, 2.5rem);
  line-height: 1.2; color: var(--ink);
}
.section-head .ornament { margin-top: .6rem; }

/* ---------- Timeline ---------- */
.timeline {
  --pad: 2.4rem; --lx: 7px;
  position: relative; max-width: 520px; margin: 2.8rem auto 0; padding-left: var(--pad);
}
.timeline::before {
  content: ""; position: absolute; top: 8px; bottom: 8px; left: var(--lx); width: 1px;
  background: linear-gradient(180deg, var(--gold), var(--sage));
  transform: scaleY(0); transform-origin: top;
  transition: transform 1.6s var(--ease) .3s;
}
.timeline.in::before { transform: scaleY(1); }
html:not(.js) .timeline::before { transform: none; }

.tl-item { position: relative; padding-bottom: 2.6rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; top: .5rem; left: calc(var(--lx) - var(--pad) - 6px);
  width: 13px; height: 13px; background: var(--gold); transform: rotate(45deg);
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--gold-soft);
}
.tl-body time { display: block; font-size: .88rem; letter-spacing: .06em; color: var(--olive); }
.tl-body .sep { padding: 0 .35em; color: var(--gold); }
.tl-body h3 {
  margin-top: .1rem; font-family: var(--serif); font-weight: 600; font-size: 2rem; line-height: 1.2; color: var(--ink);
}
.tl-body p { margin-top: .1rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--muted); }
.tl-body .link-btn { margin-top: .3rem; }

@media (min-width: 860px) {
  .timeline { --pad: 0px; max-width: 860px; padding: 0; }
  .timeline::before { left: 50%; }
  .tl-item { width: 50%; padding: 0 2.8rem 3rem 0; text-align: right; }
  .tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 3rem 2.8rem; text-align: left; }
  .tl-item:last-child { padding-bottom: 0; }
  .tl-dot { left: auto; right: -6px; }
  .tl-item:nth-child(even) .tl-dot { right: auto; left: -6px; }
}

/* ---------- Venue ---------- */
.venues { display: grid; gap: 1.6rem; max-width: 460px; margin: 2.8rem auto 0; }
@media (min-width: 760px) {
  .venues { grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 880px; }
}
.venue {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid rgba(168, 189, 163, .8); border-radius: 4px;
  box-shadow: 0 22px 34px -28px rgba(35, 58, 44, .55);
}
.venue-media { position: relative; aspect-ratio: 16 / 10; background: var(--pastel-soft); }
.venue-media iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: saturate(.7) contrast(.96);
}
.venue-media-pin {
  display: grid; place-content: center; justify-items: center; gap: .5rem;
  background: var(--star), linear-gradient(180deg, var(--pastel-soft), var(--pastel));
}
.pin-big {
  width: 42px; height: 42px; fill: none; stroke: var(--gold-deep); stroke-width: 1.2;
  stroke-linecap: round; stroke-linejoin: round;
}
.pin-name { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; letter-spacing: .06em; color: var(--ink); }

.venue-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 1.4rem 1.4rem 1.6rem; }
.venue-body h3 { font-family: var(--serif); font-weight: 600; font-size: 1.65rem; line-height: 1.2; color: var(--ink); }
.venue-line { margin-top: .35rem; font-size: .9rem; letter-spacing: .05em; color: var(--ink); }
.venue-line span { margin-right: .4rem; color: var(--olive); letter-spacing: .02em; }
.venue-note { margin: .2rem 0 1.3rem; font-size: .88rem; color: var(--muted); }
.venue-body .btn { margin-top: auto; }

/* ---------- Countdown ---------- */
.cd { max-width: 560px; margin: 2.4rem auto 0; text-align: center; }
.cd-label { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--olive); }
.cd-when { margin-top: .1rem; font-size: .88rem; letter-spacing: .06em; color: var(--muted); }

.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: 1.8rem; }
.cd-box {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 1.1rem .2rem .8rem;
  background: var(--pastel-soft); border: 1px solid var(--pastel-deep);
  border-radius: 999px 999px 8px 8px;
}
.cd-num {
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 8vw, 2.7rem);
  line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums lining-nums;
}
.cd-unit { margin-top: .15rem; font-size: .72rem; letter-spacing: .06em; color: var(--muted); }
@media (min-width: 560px) { .cd-grid { gap: 1rem; } .cd-unit { font-size: .82rem; } }

.cd-message {
  max-width: 28em; margin: 1.8rem auto 0;
  font-family: var(--serif); font-size: clamp(1.3rem, 4.4vw, 1.6rem); line-height: 1.5; color: var(--ink);
}
.cd.is-finale .cd-grid { display: none; }
.cd.is-finale .cd-when { display: none; }

/* ---------- Footer ---------- */
.footer {
  padding: 3rem 1.25rem calc(3rem + var(--safe-b)); text-align: center;
  background: linear-gradient(180deg, var(--paper), var(--pastel-soft));
}
.footer-names { margin-top: 1rem; font-family: var(--serif); font-weight: 500; font-size: 1.6rem; color: var(--ink); }
.footer-dates { font-size: .85rem; letter-spacing: .06em; color: var(--muted); }
.credit { margin-top: 1.6rem; font-size: .82rem; color: var(--muted); }
.credit a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.credit a:hover { color: var(--gold-deep); }

/* ---------- Floating controls ---------- */
.fab {
  position: fixed; z-index: 60; display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; cursor: pointer;
  color: var(--ink); background: rgba(252, 250, 244, .92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(184, 151, 90, .6); border-radius: 50%;
  box-shadow: 0 8px 18px -10px rgba(35, 58, 44, .55);
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
}
.fab:hover { background: var(--pastel); }
.fab[hidden] { display: none; }
.fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fab-music { left: max(14px, env(safe-area-inset-left, 0px)); bottom: calc(14px + var(--safe-b)); }
.fab-top {
  right: max(14px, env(safe-area-inset-right, 0px)); bottom: calc(14px + var(--safe-b));
  opacity: 0; transform: translateY(8px); pointer-events: none;
}
.fab-top.show { opacity: 1; transform: none; pointer-events: auto; }
.fab-music .slash { display: none; }
.fab-music[data-state="off"] .slash { display: block; }
.fab-music[data-state="off"] { color: var(--muted); }

.toast {
  position: fixed; z-index: 70; left: 50%; bottom: calc(76px + var(--safe-b));
  max-width: calc(100% - 32px); padding: .6rem 1.1rem;
  font-size: .86rem; color: var(--paper); background: var(--ink); border-radius: 999px;
  opacity: 0; transform: translate(-50%, 8px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  .seal::after { display: none; }
}
