/* أثر · the home page after the hero (Pack 03). Tokens and fonts come from hero.css.
   Every screen is a photographic plate; copy sits on the empty wall to the LEFT (subjects are in the right third). */

.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}

/* ---------- shared: full-bleed plate scenes ---------- */
.scene,.door{position:relative;height:100svh;min-height:34rem;overflow:hidden;background:var(--hajar)}
.scene__media{position:absolute;inset:0;overflow:hidden}
.scene__plate,.door__plate,.shelf__plate,.scene__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
/* scene video: exactly over its still (same box, same object-position); visible only once frame 0 is decoded */
.scene__video{opacity:0;pointer-events:none}
.scene__video.is-ready{opacity:1}
.door__media{position:absolute;inset:0}
.scene:focus{outline:none}
/* off-screen scenes skip layout/paint until near (their height is fixed, so nothing shifts) */
.scene,.door{content-visibility:auto;contain-intrinsic-size:auto 100svh}

.scene__copy{position:absolute;left:7vw;top:0;bottom:0;margin-block:auto;height:fit-content;max-width:min(34vw, 30rem);color:var(--hibr)}
.scene__copy h2{font-family:var(--f-head);font-weight:700;font-size:clamp(2rem, 3.1vw, 3.1rem);line-height:1.3;text-wrap:balance}
.scene__copy p{margin-top:.9rem;font-family:var(--f-head);font-size:clamp(1.25rem, 1.6vw, 1.6rem);line-height:1.6;text-wrap:balance}
.scene__copy .text-link,.scene__copy .btn{margin-top:1.6rem}

.text-link{display:inline-flex;align-items:center;min-height:44px;font:500 1.05rem/1.4 var(--f-body);color:var(--hibr);
  text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.35em}
.text-link:hover{text-decoration-color:var(--zafaran-soft);text-decoration-thickness:2px}
.text-link:focus-visible,.btn:focus-visible,.shelf__tabs button:focus-visible,.item__add:focus-visible,.door__links a:focus-visible{
  outline:2px solid var(--hibr);outline-offset:3px}

/* the same button as the hero: --hibr ground, --aaj text, saffron only as a 1px inner line */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 2rem;border:0;border-radius:2px;cursor:pointer;
  background:var(--hibr);color:var(--aaj);font:500 1.05rem/1 var(--f-body);box-shadow:inset 0 0 0 1px rgba(217,164,65,.45)}
.btn:hover{box-shadow:inset 0 0 0 1px var(--zafaran-soft)}

/* ---------- the day passes: a grade on each plate (never on the copy) ----------
   citrus = true morning (no grade) / rose = golden afternoon / oud = its own evening plate (no grade) */
.scene--rose .scene__plate--sun,.scene--rose .scene__video{filter:sepia(.12) saturate(1.08) brightness(.97)}
/* rose: a shaded copy underneath; the sunlit copy arrives from the right behind a 25vw feathered edge
   (--reveal is scrubbed by chapters.js; reduced motion shows the sunlit copy whole) */
.scene--rose.is-revealing :is(.scene__plate--sun,.scene__video){-webkit-mask-image:linear-gradient(to right, transparent calc(var(--reveal, 125vw) - 25vw), #000 var(--reveal, 125vw));
                                                     mask-image:linear-gradient(to right, transparent calc(var(--reveal, 125vw) - 25vw), #000 var(--reveal, 125vw))}
.scene__plate--shade{filter:sepia(.22) saturate(1.08) brightness(.9)}
/* oud: evening, ivory copy on the darker wall (the night-plate rule of DESIGN.md) */
.scene--oud .scene__copy{color:var(--aaj)}
.scene--oud .text-link{color:var(--aaj)}
.scene--oud .text-link:focus-visible{outline-color:var(--aaj)}
/* a soft warm shadow behind the oud copy only (scrim under text, never a band); feathered on every side */
.scene--oud .scene__copy{isolation:isolate}
.scene--oud .scene__copy::before{content:"";position:absolute;inset:-3rem -4rem;z-index:-1;pointer-events:none;
  background:radial-gradient(closest-side, rgba(43,25,14,.38), rgba(43,25,14,.18) 60%, rgba(43,25,14,0))}

/* ---------- copy placement differs per scene ---------- */
.scene--citrus .scene__copy{top:max(18svh, 96px);bottom:auto;margin:0}
.scene--rose .scene__copy{top:auto;bottom:calc(15vh + 5svh);margin:0}
.scene--oud .scene__copy h2{font-size:clamp(2.5rem, 3.9vw, 3.9rem)}

/* ---------- seam hero to citrus: the citrus wall rises out of the hero floor ---------- */
/* ---------- soft seams at EVERY boundary: each section overlaps the previous one by 15vh and its plate
   dissolves in from the top, so walls melt into each other. In motion mode only once the hero is pinned
   (class set by hero.js; earlier, the citrus overlap would sit in the first screen and then be pushed out). ---------- */
.scene,.shelf,.door{background:transparent}
.scene,.shelf,.door{z-index:1}
.hero-pinned :is(.scene,.shelf,.door){margin-top:-15vh}
.hero-pinned :is(.scene__media,.door__media),.hero-pinned .shelf--pin .shelf__stage{
  -webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 15vh);mask-image:linear-gradient(to bottom, transparent 0, #000 15vh)}
/* the copy always starts below the 15vh band */
.shelf--pin .shelf__head{top:calc(15vh + 4svh)}
.door__copy{top:calc(15vh + 3svh)}

/* ---------- the shelf ----------
   Default (mobile + reduced motion): a wrapping grid; every row is a band of the plate whose own shelf line
   (53.5% of its height) carries the bottles. Desktop with motion: .shelf--pin, one row sliding along the shelf. */
.shelf{position:relative;--row-h:340px;--bottle-h:150px;--surface:.535;--front:.564}
.shelf__stage{position:relative}
.shelf__plate{display:none}
.shelf__head{display:contents}
.shelf__head h2{display:block;position:relative;z-index:5;padding:calc(15vh + 40px) var(--gut) calc(1rem + 58px + 2rem);margin-bottom:calc(-58px - 2rem);font-family:var(--f-head);font-weight:700;
  font-size:clamp(1.7rem, 6vw, 2.2rem);line-height:1.35;color:var(--hibr);background:var(--hajar) center 8% / auto 300% no-repeat}   /* upper wall only: no ledge line inside the heading */
.shelf.is-near .shelf__head h2{background-image:url(../plates/plate-shelf.webp)}
/* grid mode: the heading backdrop fades out at the bottom (into the first row, under the tabs) ... */
.shelf:not(.shelf--pin) .shelf__head h2{-webkit-mask-image:linear-gradient(to bottom, #000 calc(100% - 2rem), transparent);
                                                mask-image:linear-gradient(to bottom, #000 calc(100% - 2rem), transparent)}
/* ... and, with the seams on, also dissolves in from the top like every other section */
.hero-pinned .shelf:not(.shelf--pin) .shelf__head h2{
  -webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 15vh, #000 calc(100% - 2rem), transparent);
          mask-image:linear-gradient(to bottom, transparent 0, #000 15vh, #000 calc(100% - 2rem), transparent)}
.shelf__tabs{position:sticky;top:calc(54px + env(safe-area-inset-top));z-index:6;display:flex;gap:1.4rem;padding:.25rem var(--gut) .6rem;isolation:isolate}
.shelf__tabs::before{content:"";position:absolute;left:0;right:0;bottom:-16px;top:-6px;z-index:-1;pointer-events:none;
  background:rgba(248,243,235,.7);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  -webkit-mask-image:linear-gradient(to bottom, transparent, #000 8px, #000 calc(100% - 16px), transparent);mask-image:linear-gradient(to bottom, transparent, #000 8px, #000 calc(100% - 16px), transparent)}
/* translucent veil behind the tabs only (never over the heading); the stone shows through, the bottom edge fades out over 16px */
/* grid shelf (mobile / reduced motion): while the shelf runs under the fixed header, the header gets a stone band
   (functional UI, fading out at its bottom), so the heading scrolling up never shows under the wordmark, and the
   tabs stick right at the band's bottom edge, never under it */
.site-header::before{content:"";position:absolute;left:0;right:0;top:0;height:calc(54px + env(safe-area-inset-top) + 10px);z-index:-1;
  pointer-events:none;opacity:0;background:rgba(239,232,220,.96);
  -webkit-mask-image:linear-gradient(to bottom, #000 calc(100% - 10px), transparent);mask-image:linear-gradient(to bottom, #000 calc(100% - 10px), transparent)}
body.over-shelf .site-header::before{opacity:1}
.shelf__tabs button{min-height:44px;padding:0 .15rem;border:0;background:none;cursor:pointer;color:var(--hibr);
  font:500 1.05rem/1 var(--f-body)}
.shelf__tabs button[aria-pressed="true"]{box-shadow:inset 0 -1px 0 var(--zafaran-soft)}   /* 1px saffron underline */

.shelf__viewport{position:relative}
.shelf__row > .item[data-first]{grid-column-start:1}   /* grid mode: each family starts a new row */
.shelf__row{list-style:none;margin:0;padding:0 var(--gut);display:grid;grid-template-columns:repeat(2, 1fr);grid-auto-rows:var(--row-h);
  column-gap:1rem;padding-bottom:1.5rem;background:var(--hajar) center top / auto var(--row-h) repeat}
.shelf.is-near .shelf__row{background-image:url(../plates/plate-shelf.webp)}

.item{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;color:var(--hibr);
  padding-top:calc(var(--row-h) * var(--surface) - var(--bottle-h))}
.item__glass{position:relative;height:var(--bottle-h);width:calc(var(--bottle-h) * .4)}
/* the cut-outs are 506x900 with the glass at 44–99% of the width and 22–99.6% of the height:
   --bottle-h is the VISIBLE glass, so the canvas is bottle-h / .777 tall and shifted so the glass is centred */
.item__glass img{position:absolute;height:calc(var(--bottle-h) / .777);width:auto;max-width:none;left:50%;
  margin-left:calc(var(--bottle-h) * -.5174);bottom:calc(var(--bottle-h) * -.0052)}
.item__shadow{position:absolute;bottom:-3px;left:50%;width:calc(var(--bottle-h) * .46);height:calc(var(--bottle-h) * .06);
  margin-left:calc(var(--bottle-h) * -.23);border-radius:50%;filter:blur(2px);
  background:radial-gradient(closest-side, rgba(43,33,28,.55), rgba(43,33,28,0))}
.item__name{margin-top:calc(var(--row-h) * (var(--front) - var(--surface)) + .55rem);font-family:var(--f-head);font-weight:700;font-size:1.1rem;line-height:1.3}
/* the names sit just under the shelf edge, in its shadow: a feathered ivory veil behind the name only */
.item__name{position:relative;isolation:isolate}
.item__name::before{content:"";position:absolute;inset:-.45rem -1.1rem;z-index:-1;pointer-events:none;
  background:radial-gradient(closest-side, rgba(248,243,235,.62), rgba(248,243,235,.32) 60%, rgba(248,243,235,0))}
.item__notes{position:relative;margin-top:.15rem;max-width:11rem;font:400 .75rem/1.5 var(--f-body);color:var(--hibr);text-wrap:balance}   /* --hibr, one step under the name's size: hierarchy by size */

.item__meta{margin-top:.2rem;font:400 .85rem/1.4 var(--f-body)}
.item__meta .num{font-family:var(--f-num);font-weight:500}
.item__add{min-height:44px;padding:0 .3rem;border:0;background:none;cursor:pointer;color:var(--hibr);
  font:500 .88rem/1 var(--f-body);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.3em}
.item__add:hover{text-decoration-color:var(--zafaran-soft)}
.item__msg{position:absolute;top:100%;margin-top:-.35rem;left:0;right:0;font:400 .8rem/1.2 var(--f-body);color:var(--hibr);opacity:0;transition:opacity .25s var(--ease-out);pointer-events:none}
.item__msg.is-on{opacity:1}
/* the button stays (with its focus ring); the message appears just under it for 2s */

/* ---------- desktop with motion: one row on the shelf, pinned, sliding left → right ---------- */
.shelf--pin{height:100svh;--bottle-h:24svh;--item-w:max(10.8rem, calc(24svh * .4 + 4.6rem))}
.shelf--pin .shelf__stage{position:absolute;inset:0;overflow:hidden}
.shelf--pin .shelf__plate{display:block}
.shelf--pin .shelf__head{display:block;position:absolute;left:6vw;top:calc(13svh);z-index:3}
.shelf--pin .shelf__head h2{padding:0;background:none !important;font-size:clamp(1.6rem, 2.2vw, 2.3rem)}
.shelf--pin .shelf__tabs{position:static;padding:.6rem 0 0}
.shelf--pin .shelf__tabs::before{display:none}
.shelf--pin .shelf__viewport{position:absolute;inset:0;overflow:hidden}
.shelf--pin .shelf__row{position:absolute;right:6vw;top:calc(var(--surface-y) - var(--bottle-h));display:flex;gap:.6rem;
  width:max-content;padding:0;background:none !important}
.shelf--pin .item{width:var(--item-w);padding-top:0}
.shelf--pin .item[data-first]:not(:first-child){margin-inline-start:2.6rem}   /* a wider gap between families */
.shelf--pin .item__name{margin-top:calc(var(--front-y) - var(--surface-y) + 1.2svh)}
/* desktop text block: every line is one line, so every block has the same height */
.shelf--pin .item__name,.shelf--pin .item__notes,.shelf--pin .item__meta{white-space:nowrap;max-width:100%}
.shelf--pin .item__name{height:1.45rem;line-height:1.45rem}
.shelf--pin .item__notes{height:1.3rem;line-height:1.3rem;font-size:var(--nf, .75rem);overflow:hidden}
.shelf--pin .item__name::before{display:none}
/* ONE continuous feathered ivory band under the shelf, behind all the text */
/* a narrow feathered band behind the NAMES only (they sit in the shelf's shadow); it fades out above the notes,
   which pass on the stone by themselves in --hibr */
.shelf--pin .shelf__viewport::before{content:"";position:absolute;left:0;right:0;top:calc(var(--front-y) - 1svh);height:calc(1.45rem + 4.4svh);
  pointer-events:none;background:linear-gradient(to bottom, rgba(248,243,235,0), rgba(248,243,235,.5) 30%, rgba(248,243,235,.5) 62%, rgba(248,243,235,0))}

/* ---------- gifts + footer ---------- */
.door__plate,.door .scene__video{object-position:50% 50%}

.door__copy{position:absolute;left:0;right:0;top:calc(9svh + 30px);text-align:center;color:var(--hibr)}
.door__copy h2{font-family:var(--f-head);font-weight:700;font-size:clamp(1.8rem, 2.8vw, 2.8rem);line-height:1.3}
.door__copy p{margin-top:.35rem;font:400 1.05rem/1.5 var(--f-body)}
.door__base{position:absolute;left:0;right:0;bottom:calc(3.5svh + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;gap:.45rem;color:var(--hibr)}
.door__links{font:500 .95rem/1 var(--f-body)}
.door__links a{display:inline-flex;align-items:center;min-height:44px;padding:0 .35rem;color:var(--hibr);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.3em}
.door__mark{height:24px;width:auto;fill:currentColor}
.door__legal{font:400 .82rem/1.4 var(--f-body)}

/* ---------- header cart count ---------- */
.site-header__cart{position:relative}
.site-header__count{position:absolute;top:4px;left:2px;min-width:16px;height:16px;padding:0 3px;border-radius:8px;
  background:var(--hibr);color:var(--aaj);font:500 10px/16px var(--f-num);text-align:center}
body.is-night .site-header__count{background:var(--aaj);color:var(--hibr)}

/* ---------- mobile: subject kept in view, copy on the empty wall above it ---------- */
@media (max-width:767.98px){
  .scene__copy{left:var(--gut);right:var(--gut);top:calc(15vh + 16px);bottom:auto;margin:0;max-width:none}
  .scene__copy h2{font-size:clamp(1.7rem, 7vw, 2.1rem)}
  .scene__copy p{font-size:1.15rem}
  /* the tree crown fills the right half from ~20% down: the copy sits on the empty upper-left wall */
  .scene--citrus .scene__copy{right:auto;width:58vw;top:calc(15vh + 16px)}   /* below the 15vh band that shows the hero ending */
  .scene--citrus .scene__copy p{margin-top:.5rem}
  .scene--citrus .scene__copy .text-link{margin-top:.4rem}
  .scene--citrus :is(.scene__plate,.scene__video){object-position:79% 62%}   /* tree kept in view, clear of the copy */
  .scene--rose :is(.scene__plate,.scene__video){object-position:83% 50%}
  .scene--oud :is(.scene__plate,.scene__video){object-position:86% 50%}
  /* the roses fill the lower two thirds of the portrait crop, so the rose copy stays on the upper wall */
  .scene--rose .scene__copy{top:calc(15vh + 16px);bottom:auto}
  .scene--oud .scene__copy h2{font-size:clamp(2rem, 8.4vw, 2.5rem)}
  /* ivory on a soft warm evening shadow behind the copy only (director exception: a local shadow on a night scene,
     not a band). Very wide, very soft falloff, so it has no visible shape. */
  .scene--oud .scene__copy{top:calc(15vh + 20px);right:auto;width:68vw}   /* the upper-left wall is the darkest part of this crop */
  .scene--oud .scene__copy .text-link{margin-top:.35rem}
  /* wider than the screen, so no edge of it is ever visible: it reads as the upper wall falling into evening shadow */
  .scene--oud .scene__copy::before{inset:-9rem -60vw -11rem -40vw;
    background:radial-gradient(farthest-side, rgba(42,26,16,.45) 0%, rgba(42,26,16,.45) 38%, rgba(42,26,16,.32) 55%, rgba(42,26,16,.16) 74%, rgba(42,26,16,.05) 90%, rgba(42,26,16,0) 100%)}
  .scene--gift :is(.scene__plate,.scene__video){object-position:72% 50%}
  .door__copy{top:calc(15vh + 12px)}
  .door__copy h2{font-size:1.55rem}
  .door__copy p{font-size:.95rem}
}

/* ---------- reduced motion: every section static; the shelf is the plain wrapping grid ---------- */
@media (prefers-reduced-motion:reduce) and (min-width:768px){
  .shelf{--row-h:400px;--bottle-h:168px}
  /* each row is one full-width band of the same plate around its shelf line (no tiling seams across a row) */
  .shelf__row{grid-template-columns:repeat(5, 1fr);column-gap:1.5rem;background-size:100% var(--row-h);background-repeat:repeat-y}
  .shelf.is-near .shelf__row{background-image:url(../plates/plate-shelf-band.webp)}
}
@media (prefers-reduced-motion:reduce){
  .item__msg{transition:none}
  /* static page: the same soft seams (there is no pin spacer, so applying them from the start shifts nothing) */
  :is(.scene,.shelf,.door){margin-top:-15vh}
  :is(.scene__media,.door__media){-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 15vh);
    mask-image:linear-gradient(to bottom, transparent 0, #000 15vh)}
  .shelf__head h2{-webkit-mask-image:linear-gradient(to bottom, transparent 0, #000 15vh, #000 calc(100% - 2rem), transparent);
    mask-image:linear-gradient(to bottom, transparent 0, #000 15vh, #000 calc(100% - 2rem), transparent)}
  .hero__stage{padding-bottom:15vh}
  .skip.is-gone:not(:focus-visible){opacity:0;pointer-events:none}   /* only over the hero, as in motion mode */
}

/* ---------- footer credit ---------- */
.door__credit{font:400 .78rem/1.4 var(--f-body)}
.door__credit a{display:inline-flex;align-items:center;min-height:44px;color:var(--hibr);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.3em}
.door__base{gap:.2rem;isolation:isolate}
/* the base sits on textured ashlar and the step: a feathered ivory veil behind the text only */
.door__base::before{content:"";position:absolute;left:50%;bottom:-1rem;width:min(30rem, 92vw);height:calc(100% + 2rem);transform:translateX(-50%);
  z-index:-1;pointer-events:none;background:radial-gradient(closest-side, rgba(248,243,235,.72), rgba(248,243,235,.42) 60%, rgba(248,243,235,0))}

/* ---------- cart drawer: functional UI (flat --aaj allowed); from the left; the page behind stays still ---------- */
.cart{position:fixed;inset:0;z-index:60}
.cart[hidden]{display:none}
.cart__scrim{position:absolute;inset:0;background:rgba(239,232,220,.6)}
.cart__panel{position:absolute;top:0;bottom:0;left:0;width:min(27rem, 90vw);display:flex;flex-direction:column;
  background:var(--aaj);color:var(--hibr);box-shadow:24px 0 60px -30px rgba(43,33,28,.45);outline:none;
  padding:calc(18px + env(safe-area-inset-top)) 1.6rem calc(1.4rem + env(safe-area-inset-bottom))}
.cart__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.6rem}
.cart__title{font-family:var(--f-head);font-weight:700;font-size:1.7rem;line-height:1.3}
.cart__close{display:grid;place-items:center;width:44px;height:44px;margin-inline-end:-10px;border:0;background:none;color:var(--hibr);cursor:pointer;border-radius:2px}
.cart__close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.cart__empty{margin-top:1rem;color:var(--ramad);font-family:var(--f-body)}
.cart__list{list-style:none;padding:0;margin:0;flex:1;overflow-y:auto;overscroll-behavior:contain}
.cart__row{display:grid;grid-template-columns:3.2rem 1fr auto;column-gap:.9rem;align-items:center;padding:.8rem 0;border-bottom:1px solid rgba(43,33,28,.12)}
.cart__thumb{width:3.2rem;height:4.4rem;object-fit:cover;object-position:72% 70%}
.cart__name{font-family:var(--f-head);font-weight:700;font-size:1.15rem;line-height:1.3}
.cart__price{font:400 .88rem/1.4 var(--f-body);color:var(--ramad)}
.cart__price .num{font-family:var(--f-num);font-weight:500;color:var(--hibr)}
.cart__remove{min-height:44px;padding:0 .2rem;border:0;background:none;cursor:pointer;color:var(--hibr);
  font:500 .85rem/1 var(--f-body);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.3em}
.cart__foot{padding-top:1rem;border-top:1px solid rgba(43,33,28,.2)}
.cart__total{display:flex;justify-content:space-between;font:500 1.05rem/1.4 var(--f-body)}
.cart__total .num{font-family:var(--f-num)}
.cart__checkout{margin-top:1rem;width:100%;min-height:48px;border:0;border-radius:2px;font:500 1.05rem/1 var(--f-body);
  background:var(--hibr);color:var(--aaj);opacity:.45;cursor:not-allowed}
.cart__note{margin-top:.5rem;text-align:center;font:400 .85rem/1.4 var(--f-body);color:var(--ramad)}
.cart__close:focus-visible,.cart__remove:focus-visible,.door__credit a:focus-visible{outline:2px solid var(--hibr);outline-offset:3px}

/* the door video is a close framing (the door fills the middle third): on desktop the copy and the base move to the
   empty wall LEFT of the door, like every other scene; centred above the door they sat on the arch */
@media (min-width:768px){
  .door__copy{left:4.5vw;right:auto;top:-8vh;bottom:0;margin-block:auto;height:fit-content;width:min(21vw, 19rem);text-align:start;isolation:isolate}
  .door__copy h2{text-wrap:balance}
  .door__base{left:4.5vw;right:auto;width:min(21vw, 19rem);align-items:flex-start}
  /* the legal line needs a veil (3.7:1 without): very wide and soft, a long falloff with no visible edge,
     reaching under the paving where the base sits */
  .door__base::before{left:-12vw;right:-10vw;width:auto;bottom:-9rem;height:calc(100% + 16rem);transform:none;
    background:radial-gradient(farthest-side, rgba(248,243,235,.5) 0%, rgba(248,243,235,.46) 30%, rgba(248,243,235,.3) 55%, rgba(248,243,235,.14) 75%, rgba(248,243,235,.04) 90%, rgba(248,243,235,0))}
  /* the ashlar is busy and the door video darkens the wall ~14% by its end: a soft local ivory veil behind the copy
     (DESIGN.md: feathered, max .55), so the whole door motion can run */
  .door__copy::before{content:"";position:absolute;inset:-4rem -5rem;z-index:-1;pointer-events:none;
    background:radial-gradient(closest-side, rgba(248,243,235,.4), rgba(248,243,235,.3) 60%, rgba(248,243,235,0))}
}

/* mobile footer: the door clip fills a portrait screen (door centred), so the copy sits over the arch and the door
   head on a soft ivory veil (DESIGN.md max .55), wide and feathered; ink text */
@media (max-width:767.98px){
  .door__copy{left:var(--gut);right:var(--gut);top:calc(62px + env(safe-area-inset-top));isolation:isolate}   /* on the arch stones, above the dark doorway */
  .door__copy::before{content:"";position:absolute;inset:-2.6rem -12vw -2.4rem;z-index:-1;pointer-events:none;
    background:radial-gradient(farthest-side, rgba(248,243,235,.55) 0%, rgba(248,243,235,.55) 55%, rgba(248,243,235,.36) 75%, rgba(248,243,235,.12) 90%, rgba(248,243,235,0))}
}
