/* Layout idea: a dark, lamp-lit stage (film, lamps, team) alternating with
   sheets of handmade paper (story, paper goods, store). */
:root {
  --stage: #0c0d08;        /* the dark the lamps are photographed in */
  --stage-2: #16180f;
  --paper: #efe9dc;        /* the logo's cream */
  --paper-2: #e3dbc8;
  --ink: #23241a;
  --ink-soft: #5a5a48;
  --olive: #5b592d;        /* the logo's ink */
  --moss: #7f8f63;         /* team card green */
  --glow: #f1c232;         /* lamp light */
  --glow-soft: #f6dd8a;
  --petal: #7d74b5;        /* Fiori petals */
  --line: rgba(35, 36, 26, .18);
  --line-light: rgba(239, 233, 220, .2);

  --f-display: "Aref Ruqaa", "Amiri", "Traditional Arabic", serif;
  --f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --f-latin: "Cormorant Garamond", "Times New Roman", serif;

  --gut: clamp(18px, 5vw, 64px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2  0 0 0 0 .18  0 0 0 0 .1  0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.33'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--stage); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.9;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }
.defs { position: absolute; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: var(--gut); }
.latin, [lang="en"] { font-family: var(--f-latin); }

/* ---------- logo (alpha mask, takes currentColor) ---------- */
.logo-mark {
  display: block; background: currentColor; aspect-ratio: 3 / 2;
  -webkit-mask: url(img/logo-mask.png) 50% 48% / 140% auto no-repeat;
          mask: url(img/logo-mask.png) 50% 48% / 140% auto no-repeat;
}
.logo-mark--nav { width: 74px; }
.logo-mark--hero { width: clamp(230px, 38vw, 470px); color: var(--paper); margin-inline-start: -4%; }
.logo-mark--foot { width: 190px; color: var(--paper); }

/* ---------- type ---------- */
.eyebrow { font-size: .88rem; font-weight: 500; color: var(--olive); display: flex; align-items: center; gap: .7em; margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--glow-soft); }
.eyebrow [lang="en"] { letter-spacing: .18em; text-transform: uppercase; font-size: .95em; }
.display { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.1rem, 5vw, 3.7rem); line-height: 1.35; text-wrap: balance; }
.lede { font-size: 1.12rem; max-width: 34em; margin-top: 1.2rem; color: var(--ink); }
.sec-head { margin-bottom: clamp(2.2rem, 6vw, 4.2rem); max-width: 44rem; }
.sec-head__note { margin-top: .7rem; color: var(--ink-soft); }
.sec-head--light { color: var(--paper); }
.sec-head--light .sec-head__note { color: rgba(239, 233, 220, .66); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .72em 1.5em; border-radius: 999px; font-weight: 500; font-size: .98rem;
  text-decoration: none; border: 1px solid transparent; line-height: 1.5;
  transition: transform .25s, box-shadow .25s, background-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--glow { background: var(--glow); color: #1b1703; box-shadow: 0 0 0 0 rgba(241, 194, 50, .5); }
.btn--glow:hover { box-shadow: 0 0 34px 2px rgba(241, 194, 50, .45); }
.btn--ghost { border-color: rgba(239, 233, 220, .55); color: var(--paper); }
.btn--ghost:hover { background: rgba(239, 233, 220, .12); }
.btn--line { border-color: var(--glow); color: var(--glow-soft); }
.btn--line:hover { background: var(--glow); color: #1b1703; }
.btn--solid { background: var(--olive); color: var(--paper); }
.btn--solid:hover { background: #46441f; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 68px;
  display: flex; align-items: center; gap: 1.5rem; padding-inline: var(--gut);
  color: var(--paper); transition: background-color .35s, box-shadow .35s;
}
.nav.is-solid { background: rgba(12, 13, 8, .86); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line-light); }
.nav__brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; }
.nav__latin { font-family: var(--f-latin); letter-spacing: .32em; font-size: .82rem; opacity: .75; padding-inline-start: .6rem; border-inline-start: 1px solid var(--line-light); }
.nav__links { display: flex; gap: 1.6rem; margin-inline-start: auto; font-size: .95rem; }
.nav__links a { text-decoration: none; opacity: .82; padding-block: .3rem; background: linear-gradient(var(--glow), var(--glow)) 100% 100% / 0 1px no-repeat; transition: background-size .3s, opacity .3s; }
.nav__links a:hover { opacity: 1; background-size: 100% 1px; }
.nav__cta { padding: .45em 1.2em; font-size: .9rem; }
@media (max-width: 600px) { .logo-mark--hero { margin-inline-start: 0; } }
@media (max-width: 860px) { .nav__links { display: none; } .nav__cta { margin-inline-start: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: #000 url(img/luce-1.jpg) center / cover no-repeat; color: var(--paper); }
.hero__film { position: absolute; inset: 0; overflow: hidden; }
.hero__film iframe {
  position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none;
  width: max(100vw, 177.78svh); height: max(56.25vw, 100svh);
  transform: translate(-50%, -50%) scale(1.18); opacity: 0; transition: opacity 1.4s .9s;
}
.hero__film.is-on iframe { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(to top, var(--stage) 0%, rgba(12, 13, 8, .72) 30%, rgba(12, 13, 8, .18) 62%, rgba(12, 13, 8, .55) 100%),
  radial-gradient(120% 90% at 85% 100%, rgba(12, 13, 8, .75), transparent 60%); }
.hero__body { position: relative; padding: 120px var(--gut) clamp(70px, 11vh, 120px); width: min(1180px, 100%); margin-inline: auto; }
.hero__title { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0 1.4rem; font-weight: 400; line-height: 1; }
.hero__latin { font-style: italic; font-size: clamp(2.6rem, 7vw, 5.6rem); color: var(--glow); padding-bottom: .42em; text-shadow: 0 0 40px rgba(241, 194, 50, .45); }
.hero__tag { font-family: var(--f-display); font-size: clamp(1.5rem, 3.4vw, 2.5rem); margin-top: .2rem; text-shadow: 0 2px 22px #000; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero__cue { position: absolute; bottom: 22px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(239, 233, 220, .5); border-radius: 20px; }
.hero__cue span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--glow); animation: cue 2s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- paper sections ---------- */
.paper-sec { position: relative; background: var(--paper) var(--grain); padding-block: clamp(4.5rem, 11vw, 9rem); }
.about + .papers { padding-top: 0; }

/* a sheet: photo sitting on handmade paper with a deckled edge */
.sheet { position: relative; display: block; width: 100%; padding: clamp(9px, 1.4vw, 16px); isolation: isolate; }
.sheet::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #faf6ec var(--grain); filter: url(#deckle) drop-shadow(0 14px 22px rgba(60, 50, 20, .28)); }
.sheet img { width: 100%; }
.sheet--tilt { transform: rotate(-2.4deg); }
figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: 1.1rem; }

.about__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__idea { grid-column: 1 / -1; display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; align-items: baseline; border-top: 1px solid var(--line); padding-top: 2.2rem; }
.about__idea p:last-child { font-family: var(--f-display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.8; color: var(--olive); max-width: 30em; }
@media (max-width: 800px) { .about__grid, .about__idea { grid-template-columns: 1fr; } .about__sheet { max-width: 420px; } }

/* paper trio */
.sheets { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 4vw, 3.2rem); align-items: start; }
.paper-card--mid { margin-top: clamp(0px, 5vw, 4.5rem); }
.sheet--btn { transform: rotate(var(--tilt, 0deg)); transition: transform .55s cubic-bezier(.2, .8, .2, 1); }
.sheet--btn img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 62%; transition: filter .5s; }
.paper-card:hover .sheet--btn, .sheet--btn:focus-visible { transform: rotate(0deg) translateY(-10px) scale(1.02); }
.paper-card__txt { margin-top: 1.6rem; padding-inline: .4rem; }
.paper-card__txt h3 { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; line-height: 1.2; }
.paper-card__txt .latin { font-size: clamp(2.2rem, 4.4vw, 3.3rem); font-style: italic; font-weight: 600; color: var(--olive); }
.paper-card__txt .ar { font-family: var(--f-display); font-size: 1.35rem; font-weight: 400; }
.paper-card__txt p { margin-top: .4rem; color: var(--ink-soft); }
.link-add { display: inline-block; margin-top: .8rem; font-weight: 500; font-size: .95rem; color: var(--olive); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.link-add:hover { color: var(--petal); }
@media (max-width: 760px) { .sheets { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } .paper-card--mid { margin-top: 0; } }

.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.2rem; margin-top: clamp(3rem, 7vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.swatch { width: clamp(64px, 10vw, 104px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 5px #faf6ec, 0 6px 16px rgba(60, 50, 20, .3); transition: transform .35s; }
.swatch:hover { transform: scale(1.12) rotate(6deg); }
.swatch img { width: 100%; height: 100%; object-fit: cover; }
.swatches__cap { font-family: var(--f-display); font-size: 1.25rem; color: var(--olive); margin-inline-start: auto; }

/* ---------- stage (lamps) ---------- */
.stage { position: relative; background: var(--stage); color: var(--paper); padding-block: clamp(4.5rem, 11vw, 9rem); overflow: hidden; }
.stage__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 30%), rgba(241, 194, 50, .13), transparent 65%); }
.stage .wrap { position: relative; }
.lamp { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.lamp + .lamp { margin-top: clamp(4rem, 9vw, 7rem); }
.lamp--tronco { grid-template-columns: 1fr 1.05fr; }
.lamp--tronco .lamp__img { order: 2; max-width: 520px; justify-self: end; }
.lamp__img { display: block; width: 100%; }
.lamp__img img { width: 100%; filter: brightness(.62) saturate(.8); transition: filter .9s ease, transform 1.2s ease; }
.lamp:hover .lamp__img img, .lamp.is-lit .lamp__img img, .lamp__img:focus-visible img { filter: brightness(1.12) saturate(1.1) drop-shadow(0 0 60px rgba(241, 194, 50, .28)); transform: scale(1.03); }
.lamp__no { font-size: clamp(3.6rem, 9vw, 7rem); font-style: italic; font-weight: 600; line-height: .9; color: var(--glow); text-shadow: 0 0 50px rgba(241, 194, 50, .35); }
.lamp__txt h3 { font-family: var(--f-display); font-size: 1.9rem; font-weight: 400; margin-top: .6rem; }
.lamp__txt > p:not(.lamp__no) { color: rgba(239, 233, 220, .74); max-width: 24em; margin-top: .3rem; }
.lamp__thumbs { display: flex; gap: .8rem; margin-block: 1.5rem; }
.lamp__thumbs button { width: 92px; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line-light); border-radius: 4px; transition: border-color .3s; }
.lamp__thumbs button:hover { border-color: var(--glow); }
.lamp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) {
  .lamp, .lamp--tronco { grid-template-columns: 1fr; }
  .lamp--tronco .lamp__img { order: 0; justify-self: center; max-width: 380px; }
}

/* ---------- process ---------- */
.process__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.steps { counter-reset: s; margin-top: 2.2rem; display: grid; gap: 0; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 1.1rem; padding-block: .85rem; border-bottom: 1px dashed var(--line); font-family: var(--f-display); font-size: 1.45rem; }
.steps li::before { content: counter(s, arabic-indic); flex: none; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1px solid var(--olive); border-radius: 50%; color: var(--olive); font-size: 1.15rem; transition: background-color .3s, color .3s; }
.steps li:hover::before { background: var(--olive); color: var(--paper); }
.steps__out { margin-top: 1.2rem; color: var(--ink-soft); }
@media (max-width: 800px) { .process__grid { grid-template-columns: 1fr; } }

.creed { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(4rem, 9vw, 7rem); }
.creed__item { position: relative; padding: clamp(1.6rem, 4vw, 2.8rem); border: 1px solid var(--line); border-radius: 2px; }
.creed__item::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line); pointer-events: none; }
.creed__sprig { position: absolute; top: -18px; inset-inline-end: 22px; width: 54px; height: 54px; color: var(--moss); background: var(--paper); padding: 4px; z-index: 1; }
.creed__item h3 { font-family: var(--f-display); font-size: 2rem; color: var(--olive); }
.creed__item p { margin-top: .5rem; }
@media (max-width: 700px) { .creed { grid-template-columns: 1fr; } }

/* ---------- team ---------- */
.team { background: radial-gradient(90% 60% at 50% 0%, #2c3420 0%, var(--stage-2) 55%, var(--stage) 100%); color: var(--paper); padding-block: clamp(4.5rem, 11vw, 9rem); }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2.4rem, 5vw, 4.2rem) clamp(1.4rem, 4vw, 3.4rem); }
.member { text-align: center; }

/* the frame: a deckled paper mat, a gold inner rule, a pressed sprig */
.frame { position: relative; display: block; width: 100%; padding: clamp(12px, 1.8vw, 20px); transform: rotate(var(--tilt, 0deg)); transition: transform .6s cubic-bezier(.2, .8, .2, 1); isolation: isolate; perspective: 1400px; }
.frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #f7f1e3 var(--grain); filter: url(#deckle) drop-shadow(0 20px 30px rgba(0, 0, 0, .55)); }
.frame::after { content: ""; position: absolute; inset: clamp(6px, .9vw, 10px); border: 1px solid #b89a3e; pointer-events: none; z-index: 3; opacity: .8; }
.frame__flip { position: relative; display: block; aspect-ratio: 886 / 1280; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3, .8, .2, 1); }
.frame__face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.frame__face img { width: 100%; height: 100%; object-fit: cover; }
.frame__front img { filter: sepia(.18) saturate(.92); }
.frame__front::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 60px rgba(20, 20, 8, .45); }
.frame__back { transform: rotateY(180deg); }
.frame__sprig { position: absolute; z-index: 4; width: clamp(46px, 6vw, 68px); height: clamp(46px, 6vw, 68px); bottom: -14px; inset-inline-start: -12px; color: var(--moss); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .4)); transition: transform .6s, color .6s; transform: scaleX(-1) rotate(-8deg); }
.frame:hover, .frame:focus-visible, .frame.is-flipped { transform: rotate(0deg) translateY(-8px); }
.frame:hover .frame__flip, .frame:focus-visible .frame__flip, .frame.is-flipped .frame__flip { transform: rotateY(180deg); }
.frame:hover .frame__sprig, .frame.is-flipped .frame__sprig { color: var(--glow); transform: scaleX(-1) rotate(8deg) scale(1.1); }
.member__name { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; margin-top: 1.5rem; line-height: 1.5; }
.member__role { font-size: .92rem; color: var(--glow-soft); }
.team__foot { text-align: center; margin-top: clamp(3rem, 7vw, 5rem); font-size: .9rem; color: rgba(239, 233, 220, .6); }
@media (max-width: 900px) { .team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team__grid { grid-template-columns: 1fr; max-width: 330px; margin-inline: auto; } }

/* ---------- store ---------- */
.store__grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.shelf { display: grid; gap: .9rem; }
.item { display: grid; grid-template-columns: 96px 1fr auto; gap: 1.1rem; align-items: center; padding: .7rem; background: rgba(250, 246, 236, .75); border: 1px solid var(--line); border-radius: 3px; transition: border-color .3s, box-shadow .3s, transform .3s; min-width: 0; }
.item:hover { transform: translateX(-4px); box-shadow: 0 10px 24px rgba(60, 50, 20, .14); }
.item.is-picked { border-color: var(--olive); box-shadow: inset -4px 0 0 var(--olive); }
.item__img { width: 96px; height: 96px; object-fit: cover; border-radius: 2px; }
.item--dark .item__img { background: #000; }
.item__txt { min-width: 0; }
.item__txt h3 { font-family: var(--f-display); font-size: 1.25rem; font-weight: 400; line-height: 1.4; }
.item__txt .latin { font-size: 1.55rem; font-style: italic; font-weight: 600; color: var(--olive); margin-inline-end: .35rem; }
.item__txt p { font-size: .88rem; color: var(--ink-soft); line-height: 1.6; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.qty__b { width: 36px; height: 36px; font-size: 1.2rem; line-height: 1; border-radius: 50%; transition: background-color .2s, color .2s; }
.qty__b:hover { background: var(--olive); color: var(--paper); }
.qty__n { min-width: 1.6em; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }

.ticket { position: sticky; top: 92px; }
.ticket__paper { position: relative; padding: clamp(1.4rem, 3vw, 2.2rem); isolation: isolate; display: grid; gap: 1rem; }
.ticket__paper::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #faf6ec var(--grain); filter: url(#deckle) drop-shadow(0 16px 26px rgba(60, 50, 20, .25)); }
.ticket__title { font-family: var(--f-display); font-size: 1.8rem; color: var(--olive); }
.ticket__sum { font-size: .95rem; padding-bottom: 1rem; border-bottom: 1px dashed var(--line); }
.field { display: grid; gap: .25rem; font-size: .9rem; font-weight: 500; }
.field small { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: .6em .8em; background: rgba(255, 255, 255, .6); border: 1px solid var(--line); border-radius: 3px; color: var(--ink); width: 100%; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--olive); outline-offset: 0; border-color: transparent; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.captcha { min-height: 65px; }
.form-msg { font-size: .92rem; min-height: 1.4em; }
.form-msg.is-err { color: #9a2a1c; }
.form-msg.is-ok { color: #2f5d1e; font-weight: 600; }
.ticket__send { width: 100%; }
.ticket__fine { font-size: .8rem; color: var(--ink-soft); text-align: center; }
@media (max-width: 880px) { .store__grid { grid-template-columns: 1fr; } .ticket { position: static; } }
@media (max-width: 460px) { .item { grid-template-columns: 64px 1fr; } .item__img { width: 64px; height: 64px; } .qty { grid-column: 1 / -1; justify-self: end; } }

/* ---------- footer ---------- */
.foot { background: var(--stage); color: var(--paper); padding-block: clamp(3.5rem, 8vw, 6rem); text-align: center; }
.foot__in { display: grid; justify-items: center; gap: .4rem; }
.foot__line { font-family: var(--f-display); font-size: clamp(1.5rem, 3.6vw, 2.4rem); color: var(--glow-soft); }
.foot__small { font-size: .85rem; opacity: .6; }

/* ---------- lightbox ---------- */
.box { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.box::backdrop { background: rgba(6, 7, 4, .93); }
.box__in { width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 16px 16px; }
.box__in img { max-width: 100%; max-height: calc(100vh - 80px); object-fit: contain; box-shadow: 0 20px 80px #000; }
.box__in iframe { width: min(1100px, 100%); aspect-ratio: 16 / 9; max-height: calc(100vh - 80px); border: 0; background: #000; }
.box__x { position: fixed; top: 10px; left: 14px; width: 44px; height: 44px; font-size: 2rem; line-height: 1; color: var(--paper); border-radius: 50%; z-index: 2; }
.box__x:hover { background: rgba(239, 233, 220, .15); }

/* ---------- reveal: visible by default, animated only when JS opts in ---------- */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .9s ease, translate .9s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; translate: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; translate: none; }
}
