/* Walima of Shaamil & Hasna (option 2: the palace) — rose damask, ivory, soft gold */
:root {
  --paper: #FAF1EC;
  --panel: #FFFAF6;
  --ink: #4B3431;
  --muted: #8C726B;
  --rose: #C48A8A;
  --rose-d: #9C5C61;
  --wine: #7E4249;
  --blush: #F3DCD6;
  --gold: #B8955A;
  --gold-l: #E4D2AC;
  --gold-d: #8E6D3A;
  --ap-fill: rgba(255, 250, 246, .88);
  --ap-line: #C9A66B;
  --serif: "Cormorant Garamond", Georgia, serif;
  --caps: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", cursive;
  --arabic: "Amiri", serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.gate-locked { overflow: hidden; height: 100svh; }
img { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h2 { margin: 8px 0 26px; font-family: var(--caps); font-weight: 400; font-size: clamp(24px, 6.6vw, 34px); letter-spacing: .12em; text-wrap: balance; line-height: 1.2; color: var(--wine); }

.paper-bg { position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, #FBF1EC, #F8EAE4); }
/* a very light cotton-paper grain over the whole page */
.paper-bg::after { content: ""; position: absolute; inset: 0; background: url(media/paper.jpg) center / 900px; mix-blend-mode: multiply; opacity: .22; }

/* ================= OPENING: THE ENVELOPE ================= */
#gate { position: fixed; inset: 0; z-index: 60; overflow: hidden; perspective: 1800px; }
#gate.is-hidden { display: none; }

/* blush cotton paper; the lining inside is the rose damask */
.env-inside { position: absolute; inset: 0; background: linear-gradient(rgba(250,232,226,.25), rgba(120,60,60,.18)), url(media/damask.jpg) center / 260px; transition: opacity .7s ease; }
.fw { position: absolute; inset: 0; filter: drop-shadow(0 0 6px rgba(110,60,50,.18)); transition: transform 1s cubic-bezier(.6,0,.25,1); }
.flap { position: absolute; inset: 0; background-position: center; background-size: 100% 100%, cover; }
.flap-l { clip-path: polygon(0 0, 50.6% 50%, 0 100%); background-image: linear-gradient(90deg, rgba(251,236,230,.55) 10%, rgba(214,170,160,.62) 100%), url(media/paper.jpg); }
.flap-r { clip-path: polygon(100% 0, 49.4% 50%, 100% 100%); background-image: linear-gradient(270deg, rgba(251,236,230,.55) 10%, rgba(214,170,160,.62) 100%), url(media/paper.jpg); }
.flap-b { clip-path: polygon(0 100%, 50% 50%, 100% 100%); background-image: linear-gradient(0deg, rgba(252,240,235,.6) 20%, rgba(222,182,172,.55) 100%), url(media/paper.jpg); }
.flap-t-wrap { position: absolute; inset: 0; transform-origin: 50% 0; filter: drop-shadow(0 6px 8px rgba(110,60,50,.28)); transition: transform 1s cubic-bezier(.5,0,.25,1) .15s, opacity .4s ease .75s; }
.flap-t { clip-path: polygon(0 0, 100% 0, 50% 50%); background-image: linear-gradient(180deg, rgba(253,242,237,.6), rgba(226,188,178,.55)), url(media/paper.jpg); }
/* a fine gold line along every flap edge */
.edge { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.edge path { fill: none; stroke: #C9A66B; stroke-width: 1.4; }

.seal { position: absolute; left: 50%; top: 50%; z-index: 3; width: clamp(112px, 30vmin, 160px); aspect-ratio: 400 / 411; padding: 0; border: 0; background: none; cursor: pointer;
  transform: translate(-50%, -50%); filter: drop-shadow(0 7px 10px rgba(90,40,40,.32)); transition: transform .6s ease, opacity .5s ease; -webkit-tap-highlight-color: transparent; }
.seal img { display: block; width: 100%; height: 100%; animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.035); } }
.seal:focus-visible { outline: 1px solid var(--gold); outline-offset: 8px; border-radius: 50%; }
.g-bism { position: absolute; left: 0; right: 0; top: 13%; z-index: 3; text-align: center; font-family: var(--arabic); font-size: 26px; color: #8A6534; transition: opacity .5s; }
.g-to { position: absolute; left: 0; right: 0; top: 70%; display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.1; }
.to-lbl { font-family: var(--caps); font-size: 12px; font-weight: 500; letter-spacing: .3em; color: #6A4237; }
.to-name { margin-top: 6px; padding: 0 18px; font-family: var(--script); font-size: clamp(32px, 9vw, 46px); color: var(--wine); }
.g-hint { position: absolute; left: 0; right: 0; bottom: calc(5% + env(safe-area-inset-bottom)); z-index: 3; text-align: center; font-family: var(--caps); font-size: 12px; font-weight: 500; letter-spacing: .32em; color: #5A3A31; animation: hint 2.6s ease-in-out infinite; }
@keyframes hint { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

/* the opening: seal lifts, top flap folds up (the damask lining shows), then the envelope parts onto the palace */
#gate.is-open .seal { transform: translate(-50%, -50%) scale(1.12); opacity: 0; pointer-events: none; }
#gate.is-open .seal img { animation: none; }
#gate.is-open .g-bism, #gate.is-open .g-hint { opacity: 0; animation: none; }
#gate.is-open .flap-t-wrap { transform: rotateX(180deg); }
#gate.is-out .flap-t-wrap { opacity: 0; }
#gate.is-out .fw-l { transform: translateX(-104%); }
#gate.is-out .fw-r { transform: translateX(104%); }
#gate.is-out .fw-b { transform: translateY(104%); }
#gate.is-out .env-inside { opacity: 0; }

/* ================= MUSIC ================= */
.music { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(228,210,172,.7); padding: 12px;
  background: rgba(126,66,73,.88); color: #FBEFE8; box-shadow: 0 6px 16px rgba(80,40,40,.2); cursor: pointer; transition: opacity .6s, transform .3s; }
.music svg { width: 100%; height: 100%; display: block; }
.music.is-off { opacity: .75; }
body.gate-locked .music { opacity: 0; pointer-events: none; }

/* ================= THE PALACE ================= */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #E9C9B8; }
/* the stage is the picture's own shape, made to cover the screen, so the
   words always land on the sky inside the arch whatever the screen size */
.stage { --s0: 1.5; --s1: 1; --s2: 1.03; position: absolute; left: 50%; top: 50%; width: max(100vw, 56.25svh); aspect-ratio: 9 / 16; transform: translate(-50%, -50%); container-type: inline-size; will-change: transform; }
.scene { position: absolute; inset: 0; transform-origin: 50% 45%; transform: scale(var(--s0)); transition: transform 3.6s cubic-bezier(.12,.6,.2,1); }
.scene img, .scene video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.scene video { opacity: 0; transition: opacity .8s ease; }
.scene video.is-on { opacity: 1; }
body.arrived .scene { transform: scale(var(--s1)); }
body.settled .scene { transition: none; animation: push 18s ease-in-out infinite alternate; }
@keyframes push { from { transform: scale(var(--s1)); } to { transform: scale(var(--s2)); } }

.h-text { position: absolute; left: 19%; right: 19%; top: 29%; text-align: center; will-change: transform, opacity; }
.h-text::before { content: ""; position: absolute; inset: -8% -18% -6%; z-index: -1; background: radial-gradient(closest-side, rgba(255,240,232,.5), rgba(255,240,232,0)); }
.h-text > * { opacity: 0; transform: translateY(14px); filter: blur(4px); transition: opacity 1.4s ease, transform 1.4s ease, filter 1.4s ease; }
body.arrived .h-text > * { opacity: 1; transform: none; filter: none; }
body.arrived .h-text > :nth-child(1) { transition-delay: 1.5s; }
body.arrived .h-text > :nth-child(2) { transition-delay: 1.9s; }
body.arrived .h-text > :nth-child(3) { transition-delay: 2.3s; }
body.arrived .h-text > :nth-child(4) { transition-delay: 2.9s; }
body.arrived .h-text > :nth-child(5) { transition-delay: 3.2s; }
.h-bism { font-family: var(--arabic); font-size: 4.6cqw; line-height: 1.6; color: #7A5526; }
.h-eye { margin-top: 2cqw; font-family: var(--caps); font-size: 2.9cqw; letter-spacing: .24em; padding-left: .24em; color: #6A4237; }
.h-names { margin: 2.8cqw 0 3cqw; font-family: var(--script); font-weight: 400; font-size: 11.6cqw; line-height: 1.12; color: var(--wine); text-shadow: 0 0 14px rgba(255,240,232,.9); }
.h-names span { display: block; }
.h-names em { display: block; font-style: normal; font-size: .62em; line-height: 1.2; color: var(--gold-d); }
.h-date, .h-place { font-family: var(--caps); font-size: 2.55cqw; letter-spacing: .14em; line-height: 2.2; color: #5A3A31; }
.h-place { font-family: var(--serif); font-style: italic; letter-spacing: .02em; font-size: 3.1cqw; color: #6A4237; }

.scroll-cue { position: absolute; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 6px; transform: translateX(-50%);
  color: #6A3A3C; text-decoration: none; font-family: var(--caps); font-size: 11px; font-weight: 500; letter-spacing: .34em; padding-left: .34em; opacity: 0; transition: opacity 1s ease 4.4s; text-shadow: 0 0 8px rgba(255,246,240,.95); }
.scroll-cue i { width: 1px; height: 30px; background: linear-gradient(rgba(106,58,60,.8), rgba(106,58,60,0)); animation: drip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
body.arrived .scroll-cue { opacity: 1; }

/* a strip of damask under the scene */
.band { height: 30px; background: url(media/damask.jpg) center / 220px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); box-shadow: inset 0 2px 0 rgba(255,248,240,.5), inset 0 -2px 0 rgba(255,248,240,.5); }

/* ================= SECTIONS ================= */
main { position: relative; }
.sec { padding: 72px 22px; text-align: center; }
.sec > div { max-width: 520px; margin: 0 auto; }
.lbl { font-family: var(--caps); font-size: 12px; letter-spacing: .3em; color: var(--gold-d); }
.sm { font-size: 18px; color: var(--muted); line-height: 1.6; }
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in-view { opacity: 1; transform: none; }
.rule { display: flex; align-items: center; gap: 12px; margin: 22px auto 14px; max-width: 200px; }
.rule i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.rule i:last-child { background: linear-gradient(270deg, transparent, var(--gold)); }
.rule svg { width: 14px; height: 14px; fill: var(--gold); }

/* an arched panel: cusped top (SVG) + straight sides lined up with it */
.ap { position: relative; }
.ap-top { display: block; width: 100%; aspect-ratio: 400 / 172; overflow: visible; }
.ap-body { position: relative; margin-top: -1px; padding: 0 9% 48px; background: var(--ap-fill); }
.ap-body::before, .ap-body::after { content: ""; position: absolute; top: 0; bottom: 0; pointer-events: none; }
.ap-body::before { left: 2%; right: 2%; bottom: 0; border: 1px solid var(--ap-line); border-top: 0; }
/* the accent: a line of small gold beads inside the gold rule */
.ap-body::after { left: calc(4.9% - 1.3px); right: calc(4.9% - 1.3px); bottom: 8px;
  background: radial-gradient(circle, var(--ap-line) 1.15px, transparent 1.55px) left top / 2.6px 7px repeat-y,
              radial-gradient(circle, var(--ap-line) 1.15px, transparent 1.55px) right top / 2.6px 7px repeat-y,
              radial-gradient(circle, var(--ap-line) 1.15px, transparent 1.55px) left bottom / 7px 2.6px repeat-x; }
/* the fill outside the side lines stays transparent */
.ap-body { background: linear-gradient(90deg, transparent 2%, var(--ap-fill) 2%, var(--ap-fill) 98%, transparent 98%); }

/* the invitation card */
/* flow-root keeps the Bismillah's pull-up from dragging the side lines up into the arch */
.ap-card .ap-body { padding-top: 0; display: flow-root; }
.ap-card .ap-body > * + * { margin-top: 10px; }
.ap-card .calli { margin-top: -18cqw; }
.ap-card { container-type: inline-size; }
.corner { position: absolute; pointer-events: none; height: auto; max-width: none; }
.c-tl { left: -2%; top: -3%; width: 36%; z-index: 2; filter: drop-shadow(0 2px 3px rgba(120,80,40,.18)); }
.c-br { right: -2%; bottom: -2%; width: 36%; z-index: 2; transform: rotate(180deg); filter: drop-shadow(0 -2px 3px rgba(120,80,40,.18)); }
.calli { position: relative; font-family: var(--arabic); font-size: 27px; color: var(--gold-d); line-height: 1.7; }
.hosts { margin-top: 22px !important; font-size: 23px; font-weight: 500; letter-spacing: .04em; }
.guest { margin: 14px auto 16px !important; max-width: 94%; padding: 0 8px 6px; border-bottom: 1px dotted var(--gold); font-family: var(--script); font-size: clamp(32px, 9.4vw, 42px); line-height: 1.25; color: var(--wine); overflow-wrap: anywhere; }
.person { margin-top: 14px !important; font-family: var(--caps); font-weight: 400; font-size: clamp(20px, 5.6vw, 25px); letter-spacing: .12em; line-height: 1.25; color: var(--wine); }
.with { font-style: italic; color: var(--gold-d); font-size: 20px; }
.datebar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin-top: 8px !important; }
.datebar span { padding: 6px 0; border-top: 1px solid var(--gold-l); border-bottom: 1px solid var(--gold-l); font-family: var(--caps); font-size: 12.5px; letter-spacing: .2em; }
.datebar b { font-family: var(--caps); font-weight: 400; font-size: 52px; line-height: 1; color: var(--wine); }
.year { font-family: var(--caps); font-size: 14px; letter-spacing: .5em; padding-left: .5em; }
/* the family's printed wording */
.parents { margin-top: 4px !important; font-size: 17px; color: var(--muted); }
.month { margin-top: 14px !important; font-family: var(--caps); font-size: 15px; letter-spacing: .5em; padding-left: .5em; color: var(--ink); }
.datebar b sup { font-size: .36em; vertical-align: super; margin-left: 2px; letter-spacing: 0; }
.venue-c { margin-top: 4px !important; font-family: var(--caps); font-size: clamp(13px, 3.7vw, 16px); letter-spacing: .1em; line-height: 1.5; color: var(--wine); }
.calli-sm { margin-top: 22px !important; font-size: 22px; line-height: 1.8; }
.blessing { font-style: italic; font-size: 17px; }
.rsvp-c { margin-top: 22px !important; font-family: var(--caps); font-size: 12px; letter-spacing: .14em; color: var(--ink); }
.rsvp-c a { color: var(--wine); text-decoration: none; white-space: nowrap; }
.addr { font-size: 16px; color: var(--muted); }

/* verse */
.verse { margin: 18px 0 16px; font-family: var(--arabic); font-size: clamp(23px, 6.4vw, 28px); line-height: 2; color: var(--rose-d); }
.verse-en { font-style: italic; font-size: 20px; color: var(--muted); }

/* countdown: four small arched windows */
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 2.6vw, 16px); }
.cd > div { position: relative; padding: 38% 0 18%; background: url(media/arch-cell.svg) center / 100% 100% no-repeat; }
.cd strong { display: block; font-family: var(--caps); font-weight: 400; font-size: clamp(24px, 7.4vw, 36px); line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--wine); }
.cd span { font-family: var(--caps); font-size: clamp(8.5px, 2.4vw, 11px); letter-spacing: .14em; color: var(--muted); }

/* venue: a photo of the building in a gold frame, then the map seen through an arch */
.venue-photo { margin: 0 auto 30px; max-width: 520px; padding: 6px; background: var(--panel); border: 1px solid var(--gold); box-shadow: inset 0 0 0 4px var(--panel), inset 0 0 0 5px var(--gold-l), 0 18px 40px rgba(110,60,50,.14); }
.venue-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.map { position: relative; width: min(100%, 360px); margin: 0 auto 24px; aspect-ratio: 400 / 560; overflow: hidden; isolation: isolate; transform: translateZ(0);
  border-radius: 50% 50% 16px 16px / 36% 36% 16px 16px; border: 1.5px solid #C9A66B; box-shadow: 0 0 0 5px rgba(255, 250, 244, .75), 0 0 0 6.5px rgba(201, 166, 107, .55), 0 14px 30px rgba(90, 40, 50, .12); }
/* no clip-path on the map: phone browsers (Safari especially) show a clipped Google map blank or untappable */
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #EFE2DA; }
.map-line { display: none; }
.v-name { font-family: var(--caps); font-size: 24px; letter-spacing: .14em; color: var(--wine); }
.v-addr { margin-top: 4px; color: var(--muted); font-size: 18px; }
.btns { display: grid; gap: 10px; max-width: 320px; margin: 24px auto 0; }
.btns .cal { display: grid; gap: 10px; }
.btns .btn, .btns .cal > * { width: 100%; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border: 1px solid var(--gold); border-radius: 2px; background: rgba(255,250,246,.5); color: var(--wine);
  font-family: var(--caps); font-size: 12.5px; letter-spacing: .2em; text-decoration: none; cursor: pointer; transition: background .3s, color .3s; }
.btn:hover { background: rgba(196,138,138,.12); }
.btn svg { width: 15px; height: 15px; }
.btn-solid { background: var(--wine); color: #FBEFE8; border-color: var(--wine); box-shadow: inset 0 0 0 3px var(--wine), inset 0 0 0 4px rgba(228,210,172,.6); }
.btn-solid:hover { background: #6C3940; }
.btn-block { width: 100%; margin-top: 8px; }

/* reply */
.dear { margin: -8px 0 26px; font-family: var(--script); font-size: 38px; color: var(--wine); }
form { text-align: left; }
.field { margin-bottom: 22px; }
.field label, .flbl { display: block; margin-bottom: 8px; font-family: var(--caps); font-size: 11.5px; letter-spacing: .2em; color: var(--muted); }
.field label em { font-family: var(--serif); letter-spacing: .02em; font-size: 15px; }
.field input[type=text], .field textarea { width: 100%; padding: 8px 2px; border: 0; border-bottom: 1px solid var(--gold-l); border-radius: 0; background: transparent; font: inherit; font-size: 21px; color: var(--ink); outline: none; }
.field textarea { border: 1px solid var(--gold-l); padding: 10px 12px; resize: vertical; background: rgba(255,250,246,.6); }
.field input:focus, .field textarea:focus { border-color: var(--rose-d); }
.known { font-family: var(--script); font-size: 36px; color: var(--wine); }
.attend { display: grid; gap: 10px; margin: 4px 0 26px; }
.attend input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.attend label { display: block; padding: 16px 18px; border: 1px solid var(--gold-l); background: rgba(255,250,246,.6); cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.attend label b { display: block; font-weight: 500; font-size: 20px; }
.attend label small { font-style: italic; font-size: 16px; color: var(--muted); }
.attend input:checked + label { background: var(--wine); border-color: var(--wine); color: #FBEFE8; }
.attend input:checked + label small { color: var(--gold-l); }
.attend input:focus-visible + label { outline: 1px solid var(--wine); outline-offset: 3px; }
.if-yes { transition: opacity .4s; }
.if-yes.is-off { opacity: .35; pointer-events: none; }
.one .stepper { max-width: 220px; }
.stepper { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--gold-l); padding: 4px; background: rgba(255,250,246,.6); }
.st { width: 40px; height: 40px; border: 0; background: none; font-size: 22px; color: var(--wine); cursor: pointer; }
.stepper input { width: 40px; border: 0; background: none; text-align: center; font: inherit; font-size: 22px; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--gold-l); background: rgba(255,250,246,.6); }
.seg label { padding: 12px 4px; text-align: center; font-family: var(--caps); font-size: 12px; letter-spacing: .14em; cursor: pointer; transition: background .3s, color .3s; }
.seg label + input + label { border-left: 1px solid var(--gold-l); }
.seg input:checked + label { background: var(--wine); color: #FBEFE8; }
.thanks { display: none; padding: 12px 0; }
.thanks.is-visible { display: block; }
.ty-ar { font-family: var(--arabic); font-size: 30px; color: var(--gold-d); }
.thanks h3 { margin: 8px 0; font-weight: 400; font-size: 26px; color: var(--wine); }
.thanks p:last-child { color: var(--muted); }
.ask { margin-top: 30px; font-size: 17px; color: var(--muted); }
.ask a { color: var(--wine); }

/* photos */
.sec-small { padding-top: 20px; }
.box { position: relative; padding: 40px 18px 38px; border: 1px solid var(--gold-l); background: rgba(255,250,246,.7); }
.box::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(184,149,90,.35); pointer-events: none; }
.box h2 { margin-bottom: 18px; }
#guestUpload { display: none; }
#album .btn { margin-top: 22px; }
.upload-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 16px; }
.upload-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* footer */
.foot { position: relative; padding: 40px 22px 150px; text-align: center; overflow: hidden; }
.foot > div { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; }
.f-dua { font-family: var(--arabic); font-size: clamp(20px, 5.6vw, 26px); line-height: 1.9; color: var(--gold-d); text-wrap: balance; }
.f-en { margin-top: 6px; font-style: italic; color: var(--muted); }
.f-names { margin-top: 24px; font-family: var(--script); font-size: clamp(44px, 12vw, 60px); line-height: 1.1; color: var(--wine); white-space: nowrap; }
.f-names em { font-style: normal; color: var(--gold); font-size: .8em; }
.f-date { margin-top: 4px; font-family: var(--caps); letter-spacing: .4em; font-size: 13px; color: var(--muted); }
.made { margin-top: 26px; font-size: 14px; color: var(--muted); }
.made a { color: var(--wine); }
.f-l, .f-r { bottom: 0; width: min(34vw, 210px); }
.f-l { left: 0; transform: scaleY(-1); }
.f-r { right: 0; transform: scale(-1, -1); }

/* ================= LARGER SCREENS ================= */
@media (min-width: 720px) {
  .sec { padding: 96px 24px; }
  .ap-body { padding-left: 11%; padding-right: 11%; }
}
@media (min-aspect-ratio: 1/1) {
  /* wide screens use the wide picture; the arch is narrower in it */
  .stage { --s0: 1.45; --s1: 1; --s2: 1.03; width: max(100vw, 177.78svh); aspect-ratio: 16 / 9; }
  .h-text { left: 39.5%; right: 39.5%; top: 30%; }
  .h-bism { font-size: 1.75cqw; }
  .h-eye { margin-top: .7cqw; font-size: 1cqw; }
  .h-names { margin: 1.3cqw 0 1.4cqw; font-size: 2.9cqw; white-space: nowrap; }
  .h-names span, .h-names em { display: inline; }
  .h-names em { margin: 0 .2em; }
  .h-date { font-size: .92cqw; }
  .h-place { font-size: 1.1cqw; }
}
