/* alta-a "Backstage": the six sections of the Alta board, direction A: a theatre dressing room. 01 the call sheet and the Polaroids tucked in the
   mirror frame, 02 five bulbs that light in sequence, 03 a brush roll that unrolls, 04 the buy box on the glass with lipstick-kiss pins, the compact
   for the tokens and three nights' notes for the tests. Scoped under .dir-alta-a, class prefix dal-. Markup: src/_includes/e2/theme/dir/alta-a/*.njk,
   behaviour: e2-dir-alta-a.js. Scroll-driven motion is transform / opacity / clip-path only; the before-states live under html.th-js (set by e2-theme.js
   unless reduced motion), and a calm block at the end (reduced motion, or a screen under 600px tall) shows every finished state, static. */

.dir-alta-a {
  --ink: #14201C; --ink-2: #1C2A25; --ink-3: #0E1613; --bulb: #E3B85C; --bulb-d: #B98F36; --red: #B8321F; --red-l: #EE8A74; --chalk: #F3EEE6; --smoke: #8A8C86; --mirror: #D9D4CB;
  --paper: #F3EEE6; --paper-ink: #1B2420; --paper-mut: #4A4F4A; --wood: #2C1B11; --wood-2: #4A301F; --canvas: #B79A70; --canvas-2: #A38559; --thread: #3F2C19;
  --f-disp: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif; --f-ui: 'DM Sans', system-ui, -apple-system, sans-serif;
  --dal-pad: clamp(20px, 3.4vw, 48px); --ease: cubic-bezier(.2, .8, .2, 1);
  font-family: var(--f-ui);
}
.dir-alta-a .e2-wrap, .dir-alta-a [data-dir-root] { display: flex; flex-direction: column; gap: clamp(28px, 3.4vw, 48px); }
.dir-alta-a img { display: block; }
/* On the real /alta page the direction is two <div class="dir dir-alta-a"> wrappers (layouts/case-study-e2.njk) inside .e2-cs__body > .e2-wrap: they carry the tokens and fonts down but add no box. */
div.dir-alta-a { display: contents; }

/* ---------- the shared frame of a section ---------- */
.dir-alta-a .dal-sec { --fg: var(--chalk); --mut: #cfcabf; --line: rgba(243, 238, 230, .16); position: relative; gap: 0; border-radius: 28px; overflow: clip; color: var(--fg); background: var(--ink); font-family: var(--f-ui); }
.dir-alta-a .dal-sec :focus-visible { outline: 2px solid var(--bulb); outline-offset: 3px; }
.dir-alta-a .dal-sec .th-hd { gap: 18px 56px; }
.dir-alta-a .dal-sec .th-hd__eyebrow { color: var(--bulb); font-size: 12px; letter-spacing: .1em; }
.dir-alta-a .dal-sec .th-hd__title { font-family: var(--f-disp); font-weight: 300; font-size: clamp(44px, 6.2vw, 88px); line-height: .98; letter-spacing: -.025em; color: var(--fg); text-wrap: balance; }
.dir-alta-a .dal-sec .th-hd__aside { max-width: 46ch; font-size: 17px; line-height: 1.55; color: var(--mut); }
.dir-alta-a .dal-define, .dir-alta-a .dal-design, .dir-alta-a .dal-opt, .dir-alta-a .dal-tests { padding: var(--dal-pad); gap: clamp(28px, 3.4vw, 48px); }
.dal-lab, .dal-legend, .dal-legend2, .dal-call__k, .dal-call__lab, .dal-kit__count { font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }

/* the bulb, as a strip: round, warm, a glow that breathes (the animation is switched off under reduced motion) */
.dal-bulbrow, .dal-frame__b, .dal-bf { position: absolute; pointer-events: none; }
.dal-bulbrow { left: 0; right: 0; height: 40px; background: radial-gradient(circle at 50% 50%, #fffbe9 0 3.5px, #ffe7a3 4.5px 7.5px, rgba(227, 184, 92, .5) 9px 12px, transparent 19px) 0 50% / 68px 40px repeat-x; animation: dal-breathe 5s ease-in-out infinite; }
.dal-bulbrow--top { top: 12px; }
@keyframes dal-breathe { 0%, 100% { opacity: .82; } 50% { opacity: 1; } }

/* =====================================================================================================================
   01 Discover: the call sheet over a mirror still, three Polaroids tucked into a bulb-lit frame
   ===================================================================================================================== */
.dal-still { position: relative; margin: 0; height: clamp(330px, 27vw, 390px); overflow: hidden; background: var(--ink-3); }
.dal-still > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.dal-still::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 60px; background: linear-gradient(180deg, rgba(20, 12, 8, .94), rgba(20, 12, 8, .55) 70%, transparent); pointer-events: none; }
.dal-still::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 22, 19, .96), rgba(14, 22, 19, .12) 64%), linear-gradient(90deg, rgba(14, 22, 19, .6), transparent 58%); }
.dal-still .dal-bulbrow { z-index: 2; }
.dal-still .dal-hd { position: absolute; z-index: 3; left: var(--dal-pad); right: var(--dal-pad); bottom: clamp(104px, 9vw, 128px); }
.dir-alta-a .dal-still .th-hd__title { font-size: clamp(56px, 8vw, 120px); }

.dal-call { position: relative; z-index: 4; grid-template-rows: auto auto 1fr; margin: calc(-1 * clamp(84px, 8vw, 112px)) var(--dal-pad) 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 4px clamp(28px, 4vw, 64px); padding: clamp(34px, 3.4vw, 46px) clamp(24px, 3.4vw, 48px) clamp(26px, 3vw, 40px); border-radius: 3px 3px 10px 3px; rotate: -.35deg;
  color: var(--paper-ink); background: linear-gradient(180deg, rgba(27, 36, 32, .07) 1px, transparent 1px) 0 0 / 100% 34px, var(--paper); box-shadow: 0 30px 50px -26px rgba(0, 0, 0, .85), 0 0 0 1px rgba(27, 36, 32, .08); }
.dal-call__clip { position: absolute; top: -13px; left: 50%; width: 76px; height: 30px; margin-left: -38px; border-radius: 5px 5px 8px 8px; background: linear-gradient(180deg, #e8ebe9, #9aa09d 55%, #727875); box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .6), inset 0 1px 0 #fff; }
.dal-call__clip::after { content: ""; position: absolute; left: 12px; right: 12px; top: 9px; height: 8px; border-radius: 4px; background: #4b504e; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6); }
.dal-call__top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 2px solid var(--paper-ink); }
.dal-call__k { margin: 0; color: var(--paper-ink); }
.dal-call__brand { margin: 0; font-family: var(--f-disp); font-style: italic; font-size: 22px; color: #8c2a1a; }
.dal-call__lab { grid-column: 1; align-self: end; margin: 6px 0 0; color: var(--paper-mut); }
.dal-call__goal { grid-column: 1; align-self: start; margin: 0; font-family: var(--f-disp); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.18; letter-spacing: -.012em; text-wrap: pretty; }
.dal-call__cues { grid-column: 2; grid-row: 2 / span 2; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; align-self: center; }
.dal-call__cues li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 11px 0; border-top: 1px dashed rgba(27, 36, 32, .3); font-size: 16px; line-height: 1.5; color: #2a312d; }
.dal-call__cues li:first-child { border-top: 0; }
.dal-call__cue { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8c2a1a; }

.dal-people { display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3vw, 40px) var(--dal-pad) var(--dal-pad); }
.dal-legend { display: flex; justify-content: space-between; margin: 0; color: var(--mut); }
.dal-legend span:last-child { color: var(--bulb); }
.dal-frame { position: relative; padding: 34px 34px 38px; border-radius: 22px; background: linear-gradient(180deg, var(--wood-2), var(--wood)); box-shadow: inset 0 0 0 2px rgba(255, 220, 170, .1), 0 40px 60px -36px rgba(0, 0, 0, .9); }
.dal-frame__b--t { left: 36px; right: 36px; top: 8px; height: 22px; background: radial-gradient(circle, #fffbe9 0 3px, #ffe7a3 4px 6px, rgba(227, 184, 92, .5) 7px 9px, transparent 12px) 0 50% / 54px 22px repeat-x; animation: dal-breathe 5s ease-in-out infinite; }
.dal-frame__b--l, .dal-frame__b--r { top: 36px; bottom: 36px; width: 22px; background: radial-gradient(circle, #fffbe9 0 3px, #ffe7a3 4px 6px, rgba(227, 184, 92, .5) 7px 9px, transparent 12px) 50% 0 / 22px 54px repeat-y; animation: dal-breathe 6s ease-in-out infinite; }
.dal-frame__b--l { left: 8px; }
.dal-frame__b--r { right: 8px; }
.dal-frame__glass { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 36px); align-items: start; padding: clamp(28px, 3vw, 38px) clamp(16px, 2.6vw, 36px) clamp(22px, 2.4vw, 30px); border-radius: 6px; background: linear-gradient(160deg, #26403a, #14201C 62%); box-shadow: inset 0 0 60px rgba(0, 0, 0, .65), 0 0 0 2px rgba(0, 0, 0, .45); overflow: hidden; }
.dal-frame__glass::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, .06) 42%, transparent 50%, transparent 62%, rgba(255, 255, 255, .035) 66%, transparent 72%); }
.dal-frame__rail { position: absolute; left: 30px; right: 30px; bottom: 16px; height: 8px; border-radius: 3px; background: linear-gradient(180deg, #7a5233, #3a2415); box-shadow: 0 2px 4px rgba(0, 0, 0, .5); }

.dal-pol { --p: 1; --rot: -2.2deg; width: 100%; max-width: 268px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.dal-pol:nth-child(2) { --rot: 1.6deg; }
.dal-pol:nth-child(3) { --rot: -1deg; }
.th-js .dal-pol { --p: 0; }
.dal-pol__btn { position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; perspective: 1400px; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  translate: 0 calc((1 - var(--p)) * -64px); rotate: calc(var(--rot) + (1 - var(--p)) * -7deg); opacity: clamp(0, calc(var(--p) * 3), 1); transition: translate .3s var(--ease); }
.dal-pol__btn::before { content: ""; position: absolute; z-index: 3; top: -13px; left: 50%; width: 84px; height: 26px; margin-left: -42px; rotate: -3deg; background: linear-gradient(180deg, rgba(235, 205, 130, .72), rgba(205, 170, 90, .6)); box-shadow: 0 1px 2px rgba(0, 0, 0, .4); clip-path: polygon(0 8%, 4% 0, 8% 10%, 12% 0, 100% 0, 96% 50%, 100% 100%, 8% 100%, 0 92%, 3% 50%); pointer-events: none; }
@media (hover: hover) { .dal-pol__btn:hover { translate: 0 calc((1 - var(--p)) * -64px - 5px); } }
.dal-pol__card { position: relative; display: block; aspect-ratio: 4 / 5.3; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.dal-pol__btn[aria-pressed="true"] .dal-pol__card { transform: rotateY(180deg); }
.dal-pol__face { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 12px 12px 0; background: #F6F2E9; color: var(--paper-ink); box-shadow: 0 26px 34px -18px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .12); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.dal-pol__photo { display: block; flex: none; aspect-ratio: 1 / 1; overflow: hidden; background: var(--ink-3); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); }
.dal-pol__photo img { width: 100%; height: 100%; object-fit: cover; }
.dal-pol__cap { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 4px 4px 8px; min-height: 0; }
.dal-pol__name { display: flex; align-items: center; gap: 8px; font: 500 12px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--paper-mut); }
.dal-pol__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(0, 0, 0, .35); }
.dal-pol__doubt { font-family: var(--f-disp); font-style: italic; font-weight: 400; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.12; letter-spacing: -.005em; text-wrap: balance; }
.dal-pol__back { transform: rotateY(180deg); justify-content: center; gap: 12px; padding: 22px 22px 24px; background: linear-gradient(180deg, rgba(27, 36, 32, .06) 1px, transparent 1px) 0 0 / 100% 28px, #F6F2E9; }
.dal-pol__k { font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8c2a1a; }
.dal-pol__move { font-size: clamp(15px, 1.35vw, 17px); line-height: 1.5; color: #2a312d; text-wrap: pretty; }
.dal-pol__need { margin: 0; font-size: 15px; line-height: 1.5; color: var(--mut); }

/* =====================================================================================================================
   02 Define: five bulbs along a mirror's top edge, each lighting a card. A bulb's brightness is how sure she is (--m = the stage's mood)
   ===================================================================================================================== */
.dir-alta-a .dal-define { background: var(--ink-3); overflow: visible; }
.dal-lights__stage { position: relative; isolation: isolate; border-radius: 22px; overflow: hidden; padding: 0 16px; background: #0b110f; box-shadow: 0 0 0 1px var(--line); }
.dal-define__table { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; opacity: .55; pointer-events: none; }
.dal-lights__stage::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(11, 17, 15, .92), rgba(11, 17, 15, .35) 55%, rgba(11, 17, 15, .7)); }
.dal-define > .th-hd, .dal-define > .dal-lights { position: relative; z-index: 1; }
.dal-legend2 { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--mut); }
.dal-legend2__bar { flex: 0 0 72px; height: 2px; background: linear-gradient(90deg, #4a3d20, var(--bulb)); }
.dir-alta-a .dal-define .th-hd__aside.dal-legend2 { max-width: none; }

.dal-lights { --sh: clamp(520px, calc(100vh - 190px), 700px); }
.dal-vanity { position: relative; width: 100%; padding: 22px 0; }
.dal-vanity__bar { position: absolute; z-index: 0; left: -6px; right: -6px; top: 22px; height: 60px; border-radius: 16px 16px 6px 6px; background: linear-gradient(180deg, var(--wood-2), var(--wood)); box-shadow: inset 0 0 0 2px rgba(255, 220, 170, .1), 0 12px 22px -10px rgba(0, 0, 0, .85); }
.dal-cards { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.dal-card { --lit: 1; --b: calc(var(--lit) * (.5 + var(--m) * .5)); position: relative; display: flex; flex-direction: column; padding-top: 76px; }
.th-js .dal-card { --lit: 0; }
.dal-bulb { position: absolute; z-index: 2; left: 50%; top: 7px; width: 46px; height: 46px; margin-left: -23px; border-radius: 50%; background: radial-gradient(circle at 36% 30%, #6e6858, #2d2a21 62%, #181611); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 3px 6px rgba(0, 0, 0, .6); }
.dal-bulb__g { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #fffdf0 0, #ffecb0 28%, #f0c35a 62%, #c8922c 100%); opacity: var(--b); box-shadow: 0 0 calc(var(--b) * 42px) calc(var(--b) * 9px) rgba(255, 208, 110, calc(var(--b) * .5)); }
.dal-bulb__cone { position: absolute; z-index: 3; left: 50%; top: 40px; width: 250px; height: 360px; margin-left: -125px; background: radial-gradient(ellipse 52% 72% at 50% 0, rgba(255, 214, 130, .3), transparent 72%); mix-blend-mode: screen; opacity: var(--b); pointer-events: none; }
.dal-card__face { flex: 1; display: flex; flex-direction: column; gap: 10px; min-height: 300px; padding: 20px 18px 22px; border-radius: 12px; background: linear-gradient(rgba(243, 238, 230, calc(.03 + var(--lit) * .06)), rgba(243, 238, 230, calc(.03 + var(--lit) * .06))), rgba(12, 19, 16, .84); box-shadow: inset 0 0 0 1px rgba(243, 238, 230, calc(.1 + var(--lit) * .2)); }
.dal-card__no { margin: 0; display: flex; flex-direction: column; gap: 6px; font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.dal-card__n { color: var(--bulb); }
.dal-card__who { display: flex; align-items: center; gap: 8px; letter-spacing: .02em; text-transform: none; color: var(--mut); }
.dal-card__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.dal-card__name { margin: 0; font-family: var(--f-disp); font-weight: 300; font-size: clamp(30px, 2.8vw, 40px); line-height: 1; letter-spacing: -.02em; }
.dal-card__doubt { margin: 0; font-family: var(--f-disp); font-style: italic; font-weight: 400; font-size: 20px; line-height: 1.22; color: #ece6d9; opacity: calc(1 - var(--lit) * .4); }
.dal-card__move { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--chalk); opacity: clamp(0, calc(var(--lit) * 2.2 - 1.1), 1); translate: 0 calc((1 - clamp(0, calc(var(--lit) * 2 - .5), 1)) * 10px); text-wrap: pretty; }

@media (prefers-reduced-motion: no-preference) and (min-width: 1100px) and (min-height: 700px) {
  .th-js .dal-lights { height: calc(var(--sh) + 130vh); }
  .th-js .dal-lights__stage { position: sticky; top: 84px; height: var(--sh); display: flex; align-items: center; }
  .th-js .dal-vanity { width: 100%; padding-top: 0; }
}
@media (max-width: 1099px) {
  .dal-vanity__bar { display: none; }
  .dal-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .dal-card { padding-top: 0; }
  .dal-bulb { left: 22px; top: 22px; margin-left: 0; }
  .dal-card__face { min-height: 0; padding: 18px 18px 20px 92px; }
  .dal-card__move { margin-top: 4px; }
}

/* =====================================================================================================================
   03 Design: the kit. Base = the stack: ten stitched pockets, each open, a brush tip standing out of it. The roll (pinned, unrolling) is the live
   desktop mode below. Class prefix dal-; behaviour: e2-dir-alta-a.js (writes --p, --u, --ink and the .is-cur / .is-done classes).
   ===================================================================================================================== */
.dir-alta-a .dal-design { overflow: visible; }
.dal-hd--kit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46ch) auto; align-items: end; }
.dal-hd--kit .th-hd__main { min-width: 0; }
.dal-hand { position: relative; margin: 0; width: clamp(150px, 15vw, 200px); justify-self: end; }
.dal-hand__glass { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--ink-3); box-shadow: 0 0 0 8px #c9a15a, 0 0 0 10px #7d5d28, 0 0 0 11px rgba(0, 0, 0, .45), 0 26px 40px -18px rgba(0, 0, 0, .85); }
.dal-hand__still, .dal-hand__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dal-hand__vid { opacity: 0; transition: opacity .6s ease; }
.dal-hand.is-playing .dal-hand__vid { opacity: 1; }
.dal-hand__grip { display: block; width: 20px; height: 54px; margin: 16px auto 0; border-radius: 4px 4px 14px 14px; background: linear-gradient(90deg, #8a6628, #e3b85c 42%, #8a6628); box-shadow: 0 8px 12px -6px rgba(0, 0, 0, .6); }
.dal-pause { position: absolute; right: -12px; bottom: -2px; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: var(--chalk); background: rgba(14, 22, 19, .88); box-shadow: inset 0 0 0 1.5px var(--bulb), 0 8px 16px -6px rgba(0, 0, 0, .7); touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.dal-pause[hidden] { display: none; }
.dal-pause__play, .dal-pause[aria-pressed="true"] .dal-pause__pause { display: none; }
.dal-pause[aria-pressed="true"] .dal-pause__play { display: block; }

.dal-kit { --p: 1; --u: 1; --pvh: 150px; --rh: 200px; --sh: clamp(500px, calc(100vh - 250px), 560px); --canvasbg: repeating-linear-gradient(0deg, rgba(60, 40, 20, .07) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(60, 40, 20, .06) 0 1px, transparent 1px 4px), linear-gradient(180deg, #c6aa80, #a98b60); }
.dal-kit__stage { position: relative; isolation: isolate; border-radius: 24px; overflow: clip; padding: 26px var(--dal-pad) 34px; background: #0f1815; box-shadow: 0 0 0 1px var(--line), 0 40px 70px -40px rgba(0, 0, 0, .9); }
.dal-kit__table { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 6% 92%; opacity: .5; filter: saturate(.6); }
.dal-kit__stage::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(14, 22, 19, .7), rgba(14, 22, 19, .92)); }
.dal-kit__count { display: none; margin: 0 0 18px; color: var(--bulb); }
.dal-roll__cloth, .dal-roll__strap, .dal-roll__curl { display: none; }
.dal-pockets { list-style: none; margin: 0; padding: 50px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 70px 22px; }
.dal-pocket { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 14px 18px 20px; border-radius: 6px 6px 16px 16px; color: #2f2216; background: var(--canvasbg); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), inset 0 -14px 22px -14px rgba(60, 40, 20, .55), 0 18px 28px -18px rgba(0, 0, 0, .8); }
.dal-pocket::before { content: ""; position: absolute; left: 8px; right: 8px; top: 7px; border-top: 2px dashed rgba(60, 40, 20, .4); pointer-events: none; }
.dal-pocket.is-cur::before { border-top-color: var(--bulb-d); }
.dal-pocket.is-cur { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), inset 0 -14px 22px -14px rgba(60, 40, 20, .55), 0 0 0 2px var(--bulb), 0 18px 28px -18px rgba(0, 0, 0, .8); }
.dal-brush { --tw: 30px; --th: 44px; position: absolute; left: 24px; top: calc(-1 * var(--bh)); display: block; width: 16px; height: var(--bh); background: linear-gradient(90deg, #5a3a22, #b27b4b 45%, #5a3a22) 0 44px / 100% calc(100% - 44px) no-repeat; border-radius: 3px 3px 0 0; pointer-events: none; }
.dal-brush::before { content: ""; position: absolute; left: 50%; top: -4px; width: var(--tw); height: var(--th); margin-left: calc(var(--tw) / -2); border-radius: 50% 50% 38% 38% / 70% 70% 30% 30%; background: radial-gradient(ellipse at 40% 28%, color-mix(in srgb, var(--bris) 68%, #fff), var(--bris) 58%, color-mix(in srgb, var(--bris) 66%, #000)); box-shadow: 0 2px 3px rgba(0, 0, 0, .35); }
.dal-brush i { position: absolute; left: -1px; right: -1px; top: 34px; height: 17px; border-radius: 2px; background: linear-gradient(90deg, #8a6628, #e3b85c 42%, #8a6628); box-shadow: 0 1px 0 rgba(0, 0, 0, .35); }
.dal-brush--b { --tw: 22px; --th: 52px; }
.dal-brush--b::before { border-radius: 42% 42% 30% 30% / 80% 80% 22% 22%; }
.dal-brush--c { --tw: 11px; --th: 46px; }
.dal-brush--c::before { border-radius: 50% 50% 20% 20% / 92% 92% 10% 10%; }
.dal-pocket__btn { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) 26px; column-gap: 8px; align-items: center; width: 100%; min-height: 44px; margin: 0; padding: 4px 0; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.dal-pocket__no { font: 500 12px/1 var(--mono); letter-spacing: .06em; color: #5a3f22; }
.dal-pocket__nm { font-family: var(--f-disp); font-weight: 500; font-size: 24px; line-height: 1.1; letter-spacing: -.01em; }
.dal-pocket__tick { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #3f2c19; background: var(--bulb); box-shadow: 0 0 0 1px rgba(60, 40, 20, .3); }
.dal-pocket:not(.is-done) .dal-pocket__tick { color: transparent; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(60, 40, 20, .45); }
.dal-pocket__note { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.dal-pocket__big { display: none; }
.dal-pocket__txt { font-size: 15px; line-height: 1.5; color: #2a2014; }
.dal-pv { margin-top: 2px; }
.dal-pv__br { width: min(100%, calc(var(--pvh) * 1440 / var(--h))); margin-inline: auto; border-radius: 8px; background: #f4f4f5; box-shadow: 0 10px 22px -12px rgba(30, 18, 8, .7), 0 0 0 1px rgba(60, 40, 20, .35); }
.dal-pv .th-viewport { background: #f4f4f5; }
.dal-pocket { --ink: 1; }
.dal-pv__wire, .dal-pv__ink { position: absolute; left: 0; top: 0; display: block; width: 1440px; max-width: none; height: calc(var(--h) * 1px); }
.dal-pv__ink { clip-path: inset(0 calc((1 - var(--ink)) * 100%) 0 0); }

@media (min-width: 1100px) {
  .dal-kit { --pvh: 118px; }
  .dal-pockets { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 66px 14px; }
  .dal-pocket { padding: 12px 14px 16px; }
  .dal-pocket__btn { grid-template-columns: 24px minmax(0, 1fr) 24px; column-gap: 6px; }
  .dal-pocket__nm { font-size: 21px; }
  .dal-pocket__txt { font-size: 14px; line-height: 1.45; }
  .dal-brush { left: 16px; }
}
/* the live mode: pinned, unrolling, one pocket per scroll step (wide, tall, motion-friendly screens with the script running) */
@media (prefers-reduced-motion: no-preference) and (min-width: 1100px) and (min-height: 700px) {
  .th-js .dal-kit { --p: 0; --u: 0; --pvh: clamp(200px, calc(var(--sh) - 330px), 380px); height: calc(var(--sh) + 150vh); }
  .th-js .dal-kit__stage { position: sticky; top: 84px; height: var(--sh); padding: 22px 28px 26px; }
  .th-js .dal-kit__count { display: block; }
  .th-js .dal-roll { position: relative; height: var(--rh); }
  .th-js .dal-roll__cloth, .th-js .dal-roll__strap, .th-js .dal-roll__curl { display: block; position: absolute; pointer-events: none; }
  .th-js .dal-roll__cloth { left: 50px; right: 0; top: 76px; bottom: 0; border-radius: 6px 14px 14px 6px; background: var(--canvasbg); clip-path: inset(0 calc((1 - var(--u)) * 100%) 0 0); }
  .th-js .dal-roll__cloth::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .16), transparent 18%, transparent 70%, rgba(40, 24, 10, .35)); }
  .th-js .dal-roll__strap { left: 0; top: 70px; bottom: -4px; width: 78px; border-radius: 10px; background: linear-gradient(180deg, #6a4328, #3d2616); box-shadow: 0 10px 18px -8px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 220, 170, .25); opacity: clamp(0, calc(1 - var(--u) * .0), 1); }
  .th-js .dal-roll__strap::before { content: ""; position: absolute; inset: 8px; border: 2px dashed rgba(255, 225, 170, .32); border-radius: 6px; }
  .th-js .dal-roll__strap::after { content: ""; position: absolute; right: 12px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; border: 4px solid #d9ad55; box-shadow: 0 2px 4px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(0, 0, 0, .3); }
  .th-js .dal-roll__curl { top: 66px; bottom: -8px; left: calc(50px + (100% - 50px) * var(--u)); width: 40px; margin-left: -32px; border-radius: 20px; background: linear-gradient(90deg, #7a6243, #e6d0a8 28%, #b99d72 56%, #6f5839); box-shadow: 8px 0 14px -6px rgba(0, 0, 0, .7); opacity: clamp(0, calc((1 - var(--u)) * 40), 1); }
  .th-js .dal-pockets { position: absolute; z-index: 1; inset: 0; margin: 0; padding: 0 12px 0 66px; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 0; }
  .th-js .dal-pocket { --ap: clamp(0, calc(var(--u) * 11 - var(--i)), 1); position: static; justify-content: flex-end; gap: 0; height: 100%; padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .th-js .dal-pocket.is-cur { box-shadow: none; }
  .th-js .dal-pocket::before { display: none; }
  .th-js .dal-brush { position: relative; left: auto; top: auto; z-index: 0; margin: 0 auto -28px; opacity: var(--ap); translate: 0 calc((1 - var(--ap)) * 18px); }
  .th-js .dal-pocket__btn { z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 5px; min-height: 120px; padding: 14px 4px 10px; border-radius: 12px 12px 0 0; text-align: center;
    background: linear-gradient(180deg, #c2a479, #a68861); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .3), inset 0 -12px 16px -10px rgba(60, 40, 20, .55), inset -1px 0 0 rgba(60, 40, 20, .35); opacity: var(--ap); translate: 0 calc((1 - var(--ap)) * 16px); transition: background-color .2s ease; }
  .th-js .dal-pocket__btn::before { content: ""; position: absolute; left: 6px; right: 6px; top: 7px; border-top: 2px dashed rgba(60, 40, 20, .42); }
  .th-js .dal-pocket.is-cur .dal-pocket__btn { background: linear-gradient(180deg, #d6bd93, #b99a6d); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), inset 0 -12px 16px -10px rgba(60, 40, 20, .45), 0 0 0 2px var(--bulb); }
  .th-js .dal-pocket.is-cur .dal-pocket__btn::before { border-top-color: #7a5a1e; }
  .th-js .dal-pocket__nm { grid-column: auto; font-family: var(--f-ui); font-weight: 500; font-size: 12.5px; line-height: 1.25; letter-spacing: 0; overflow-wrap: anywhere; }
  .th-js .dal-pocket__tick { margin-top: auto; }
  .th-js .dal-pocket__note { position: absolute; left: 14px; top: calc(100% + 30px); width: min(33%, 380px); gap: 10px; visibility: hidden; opacity: 0; translate: 0 8px; transition: opacity .3s ease, translate .4s var(--ease), visibility 0s linear .3s; }
  .th-js .dal-pocket.is-cur .dal-pocket__note { visibility: visible; opacity: 1; translate: 0 0; transition: opacity .3s ease, translate .4s var(--ease), visibility 0s; }
  .th-js .dal-pocket__big { display: block; font-family: var(--f-disp); font-weight: 300; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; letter-spacing: -.02em; color: var(--chalk); }
  .th-js .dal-pocket__txt { font-size: 16px; line-height: 1.55; color: #e4dece; }
  .th-js .dal-pv { position: absolute; right: 14px; top: calc(100% + 22px); width: calc(66% - 28px); margin: 0; visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility 0s linear .3s; }
  .th-js .dal-pocket.is-cur .dal-pv { visibility: visible; opacity: 1; transition: opacity .3s ease, visibility 0s; }
  .th-js .dal-pv__br { margin-inline: auto 0; }
}
@media (max-width: 1099px) {
  .dal-hd--kit { grid-template-columns: minmax(0, 1fr) auto; }
  .dal-hd--kit .th-hd__aside { grid-column: 1 / -1; order: 3; }
}
@media (max-width: 699px) {
  .dal-hd--kit { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .dal-hand { justify-self: center; width: 170px; margin-top: 8px; }
  .dal-kit { --pvh: 320px; }
  .dal-kit__stage { padding: 20px 14px 24px; border-radius: 18px; }
  .dal-pockets { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .dal-pocket__nm { font-size: 22px; }
}

/* =====================================================================================================================
   04 Optimise: in the mirror. The buy box on the glass; six lipstick-kiss pins; one decision open at a time
   ===================================================================================================================== */
.dal-opt__grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.dal-mirror { position: relative; padding: 46px 46px 64px; border-radius: 24px 24px 12px 12px; background: linear-gradient(180deg, var(--wood-2), var(--wood)); box-shadow: inset 0 0 0 2px rgba(255, 220, 170, .12), 0 40px 60px -36px rgba(0, 0, 0, .9); }
.dal-bulbframe { position: absolute; inset: 0; pointer-events: none; }
.dal-bf--t, .dal-bf--b { left: 42px; right: 42px; height: 24px; background: radial-gradient(circle, #fffbe9 0 3.5px, #ffe7a3 4.5px 6.5px, rgba(227, 184, 92, .5) 8px 10px, transparent 13px) 0 50% / 56px 24px repeat-x; animation: dal-breathe 5.4s ease-in-out infinite; }
.dal-bf--t { top: 11px; }
.dal-bf--b { bottom: 25px; animation-delay: -2s; }
.dal-bf--l, .dal-bf--r { top: 44px; bottom: 44px; width: 24px; background: radial-gradient(circle, #fffbe9 0 3.5px, #ffe7a3 4.5px 6.5px, rgba(227, 184, 92, .5) 8px 10px, transparent 13px) 50% 0 / 24px 56px repeat-y; animation: dal-breathe 6s ease-in-out infinite; }
.dal-bf--l { left: 11px; }
.dal-bf--r { right: 11px; }
.dal-bf { position: absolute; }
.dal-mirror__shelf { position: absolute; left: 22px; right: 22px; bottom: -10px; height: 14px; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, #5a3a24, #2a190f); box-shadow: 0 12px 18px -8px rgba(0, 0, 0, .8); }
.dal-glass.th-browser { border-radius: 4px; background: var(--ink); box-shadow: 0 0 0 2px rgba(0, 0, 0, .6), 0 0 0 3px rgba(255, 220, 170, .08); }
.dal-glass__vp.th-viewport { background: linear-gradient(165deg, #2d483f, #16231f 52%, #20352d); touch-action: pan-y; }
.dal-glass__sheen { position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(112deg, transparent 28%, rgba(255, 255, 255, .06) 35%, transparent 43%, transparent 63%, rgba(255, 255, 255, .035) 67%, transparent 74%); }
.dal-glass .th-artboard { --k: tan(atan2(100cqw, 620px)); width: 620px; }
.dal-plate { position: absolute; background: #14201C; border-radius: 6px; box-shadow: 0 0 0 1px rgba(243, 238, 230, .1), 0 16px 30px rgba(0, 0, 0, .5); }
.dal-row { position: absolute; display: block; width: 524px; max-width: none; height: auto; }
.dal-hl { position: absolute; z-index: 2; border-radius: 6px; box-shadow: 0 0 0 2px var(--red-l), 0 0 0 5px rgba(184, 50, 31, .32), 0 0 26px rgba(238, 138, 116, .3); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.dal-hl.is-on { opacity: 1; }
.dal-pin { position: absolute; z-index: 5; width: 48px; height: 48px; margin: -24px 0 0 -24px; padding: 0; border: 0; background: none; color: var(--chalk); cursor: pointer; rotate: var(--r, 0deg); transition: scale .22s var(--ease), filter .22s ease; touch-action: manipulation; -webkit-tap-highlight-color: transparent; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .55)); }
.dal-pin__lips { display: block; width: 100%; height: 100%; }
.dal-pin__up, .dal-pin__lo { fill: var(--red); stroke: #7f1f12; stroke-width: .8; }
.dal-pin__up { fill: #C23A26; }
.dal-pin__ln { fill: none; stroke: rgba(60, 8, 4, .38); stroke-width: .9; stroke-linecap: round; }
.dal-pin__n { position: absolute; right: -3px; top: -3px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font: 500 12px/1 var(--mono); color: var(--paper-ink); background: var(--chalk); box-shadow: 0 0 0 1.5px var(--ink); }
@media (hover: hover) { .dal-pin:hover { scale: 1.08; } }
.dal-pin.is-on { scale: 1.16; filter: drop-shadow(0 0 10px rgba(227, 184, 92, .85)) drop-shadow(0 4px 5px rgba(0, 0, 0, .55)); }
.dal-pin.is-on .dal-pin__n { background: var(--bulb); }

.dal-dec { list-style: none; margin: 0; padding: 0; position: sticky; top: 100px; display: flex; flex-direction: column; }
.dal-dec__li { border-top: 1px solid var(--line); }
.dal-dec__li:last-child { border-bottom: 1px solid var(--line); }
.dal-dec__h { display: flex; align-items: center; gap: 18px; width: 100%; min-height: 64px; padding: 12px 4px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; touch-action: manipulation; }
.dal-dec__n { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 400 19px/1 var(--f-disp); box-shadow: inset 0 0 0 1.5px var(--bulb); color: var(--bulb); transition: background-color .2s ease, color .2s ease; }
.dal-dec__t { font-family: var(--f-disp); font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -.01em; }
.dal-dec__li.is-on .dal-dec__n { color: var(--ink); background: var(--bulb); box-shadow: none; }
.dal-dec__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.dal-dec__body > p { min-height: 0; overflow: hidden; margin: 0; padding: 0 4px 0 58px; font-size: 17px; line-height: 1.55; color: #e4dece; text-wrap: pretty; }
.dal-dec__li.is-on .dal-dec__body { grid-template-rows: 1fr; }
.dal-dec__li.is-on .dal-dec__body > p { padding-bottom: 22px; }

/* =====================================================================================================================
   Tokens: the compact
   ===================================================================================================================== */
.dir-alta-a .dal-compact { --th-ink: var(--chalk); --th-line: rgba(243, 238, 230, .14); --th-spring: cubic-bezier(.3, 1.4, .5, 1); padding: var(--dal-pad); gap: clamp(24px, 3vw, 40px); background: linear-gradient(180deg, var(--ink-2), var(--ink)); font-family: var(--f-ui); }
.dal-compact__bar { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dal-compact__cap { margin: 0; font-family: var(--f-disp); font-weight: 300; font-size: clamp(30px, 3.4vw, 44px); line-height: 1; letter-spacing: -.02em; }
.dal-compact__sub { margin: 0; font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bulb); }
.dal-lab { margin: 0; font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mut); }
.dal-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); border-radius: 34px; overflow: hidden; background: #0a0a0a; box-shadow: 0 34px 56px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .1); }
.dal-case__lid { position: relative; padding: 24px; background: linear-gradient(145deg, #2c2c2c, #0d0d0d 70%); }
.dal-case__hinge { position: absolute; right: -1px; top: 18px; bottom: 18px; width: 10px; border-radius: 5px 0 0 5px; background: linear-gradient(90deg, #5a5a5a, #1a1a1a); }
.dal-case__mirror { height: 100%; display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 22px; color: var(--paper-ink); background: radial-gradient(circle at 28% 18%, #fcf9f2, #e8e1d3 56%, #c9c1b0); box-shadow: inset 0 0 0 4px #bdb6a6, inset 0 0 44px rgba(0, 0, 0, .16); }
.dal-case__lab { color: #4a4f4a; }
.dal-types { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.dal-type__meta { display: block; font: 500 12px/1.3 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: #4a4f4a; }
.dal-type__sample { margin: 4px 0 0; font-size: 26px; line-height: 1.15; color: var(--paper-ink); }
.dal-case__tray { display: flex; flex-direction: column; gap: 18px; padding: 24px 28px 28px; background: linear-gradient(145deg, #1a1a1a, #070707); }
.dal-sw { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 20px 14px; }
.dal-sw .th-swatch { gap: 0; align-items: center; text-align: center; }
.dal-sw .th-swatch__chip { width: min(100%, 112px); aspect-ratio: 1; margin: 0 auto 10px; border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .34), transparent 40%), repeating-radial-gradient(circle at 50% 50%, rgba(0, 0, 0, .05) 0 1px, transparent 1px 3px), var(--sw);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 0 0 5px #262626, 0 0 0 6px #4a4a4a, 0 14px 18px -10px rgba(0, 0, 0, .9); }
.dal-sw .th-swatch__name { font-family: var(--f-disp); font-weight: 400; font-size: 20px; line-height: 1.1; color: var(--chalk); }
.dal-sw .th-swatch__hex { font: 500 12px/1.3 var(--mono); letter-spacing: .04em; color: #b6b2a8; }
@media (hover: hover) { .dal-sw .th-swatch:hover .th-swatch__chip { transform: translateY(-4px) rotate(-3deg); } }

.dal-brushset { display: flex; flex-direction: column; gap: 6px; }
.dal-bs__h { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 56px; margin: 0; padding: 0 12px 0 0; border: 0; border-radius: 0; background: transparent; color: var(--chalk); font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-align: left; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.dal-bs__brush { position: relative; flex: 0 0 min(46%, 230px); height: 14px; border-radius: 7px 3px 3px 7px; background: linear-gradient(180deg, #c58f58, #7c4f2a 60%, #5a3a22); box-shadow: 0 5px 8px -4px rgba(0, 0, 0, .8); transition: transform .3s var(--ease); transform-origin: 0 50%; }
.dal-bs__brush::before { content: ""; position: absolute; right: -2px; top: -5px; width: 46px; height: 24px; border-radius: 4px 50% 50% 4px / 4px 70% 70% 4px; background: radial-gradient(ellipse at 60% 30%, #f6efe0, #d8cdb5 62%, #9c8f78); }
.dal-bs__brush::after { content: ""; position: absolute; right: 40px; top: -2px; width: 22px; height: 18px; border-radius: 2px; background: linear-gradient(180deg, #f1cd7a, #a67d2e); }
.dal-bs__h[aria-expanded="true"] .dal-bs__brush { transform: rotate(-2.2deg) translateY(-2px); }
.dal-bs__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s var(--ease), visibility 0s linear .4s; }
.dal-bs.is-open .dal-bs__panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .4s var(--ease), visibility 0s; }
.dal-bs__in { min-height: 0; overflow: hidden; }
.dal-bs__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 18px 22px 20px; margin-bottom: 8px; border-radius: 14px; background: rgba(243, 238, 230, .06); box-shadow: inset 0 0 0 1px var(--line); }
.dal-b { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; font: 500 15px/1 var(--f-ui); letter-spacing: .02em; border-radius: 0; }
.dal-b--fill { color: var(--ink); background: var(--bulb); }
.dal-b--line { color: var(--chalk); box-shadow: inset 0 0 0 1.5px var(--chalk); }
.dal-chip { min-width: 44px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 0; font: 500 15px/1 var(--f-ui); color: var(--chalk); background: transparent; box-shadow: inset 0 0 0 1px rgba(243, 238, 230, .4); cursor: pointer; touch-action: manipulation; }
.dal-chip[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--bulb); }
.dal-chip__p { margin-left: 8px; color: #cfcabf; font-weight: 400; }
.dal-price { font: 500 30px/1 var(--f-ui); letter-spacing: -.01em; }
.dal-price__note { font-size: 15px; color: #cfcabf; }
.dal-compact .th-toast { position: absolute; z-index: 5; font-family: var(--f-ui); background: var(--bulb); color: var(--ink); }

/* =====================================================================================================================
   Tests: three nights' notes on the call sheet, pinned to the wall of the empty dressing room
   ===================================================================================================================== */
.dir-alta-a .dal-tests { background: var(--ink-3); }
.dal-tests__room { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.dal-tests::after { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(180deg, rgba(14, 22, 19, .86), rgba(14, 22, 19, .3) 55%, rgba(14, 22, 19, .6)); pointer-events: none; }
.dal-tests > .th-hd, .dal-tests > .dal-nights { position: relative; z-index: 1; }
.dir-alta-a .dal-nights { list-style: none; margin: 0; padding: 14px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; gap: clamp(16px, 2vw, 28px); }
.dir-alta-a .th-test.dal-night { position: relative; display: flex; flex-direction: column; grid-row: auto; grid-template-rows: none; padding: 38px 0 0; border-radius: 3px 3px 12px 3px; color: var(--paper-ink); overflow: visible; rotate: var(--t, 0deg);
  background: linear-gradient(180deg, rgba(27, 36, 32, .06) 1px, transparent 1px) 0 0 / 100% 34px, var(--paper); box-shadow: 0 30px 44px -24px rgba(0, 0, 0, .85), 0 0 0 1px rgba(27, 36, 32, .08); }
.dir-alta-a .th-test.dal-night:hover { background: linear-gradient(180deg, rgba(27, 36, 32, .06) 1px, transparent 1px) 0 0 / 100% 34px, var(--paper); }
.dal-night__pin { position: absolute; top: -9px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fbebb8, #c9922c 70%); box-shadow: 0 4px 6px rgba(0, 0, 0, .55); }
.dir-alta-a .dal-night .dal-night__no { display: flex; justify-content: space-between; margin: 0 clamp(22px, 2.4vw, 30px); padding: 0 0 8px; border-bottom: 2px solid var(--paper-ink); font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.dal-night__no span:last-child { color: #8c2a1a; }
.dal-night__rows { flex: 1; margin: 0; padding: 6px clamp(22px, 2.4vw, 30px) clamp(20px, 2.4vw, 28px); }
.dal-night__row { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-top: 1px dashed rgba(27, 36, 32, .3); }
.dal-night__row:first-child { border-top: 0; }
.dir-alta-a .dal-night dt { font: 500 12px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8c2a1a; }
.dir-alta-a .dal-night__row--why dt { color: var(--paper-mut); }
.dir-alta-a .dal-night dd { margin: 0; text-wrap: pretty; }
.dal-night__row dd { font-family: var(--f-disp); font-weight: 500; font-size: clamp(20px, 1.7vw, 23px); line-height: 1.26; letter-spacing: -.005em; }
.dal-night__row--why dd { font-family: var(--f-ui); font-weight: 400; font-size: 16px; line-height: 1.5; color: var(--paper-mut); letter-spacing: 0; }
.dal-night__foot { min-height: 112px; display: grid; grid-template-columns: 1fr 1fr; margin: 0; background: rgba(27, 36, 32, .07); border-top: 2px solid var(--paper-ink); border-radius: 0 0 12px 3px; }
.dal-night__foot > div { display: flex; flex-direction: column; gap: 6px; padding: 14px clamp(22px, 2.4vw, 30px) 18px; }
.dal-night__foot > div + div { border-left: 1px dashed rgba(27, 36, 32, .3); }
.dal-night__foot dd { font-size: 15px; line-height: 1.4; color: var(--paper-ink); }

@media (max-height: 599px) {
  .dal-opt__grid { grid-template-columns: minmax(0, 470px) minmax(0, 1fr); }
  .dal-mirror { padding: 38px 36px 52px; }
}

/* ---------- reveals ---------- */
.th-js .dir-alta-a [data-dir-reveal] { opacity: 0; translate: 0 22px; transition: opacity .6s ease, translate .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.th-js .dir-alta-a [data-dir-reveal].dal-in { opacity: 1; translate: 0 0; }
.th-js .dir-alta-a .th-test.dal-night[data-dir-reveal] { rotate: var(--t, 0deg); }

/* =====================================================================================================================
   Widths
   ===================================================================================================================== */
@media (max-width: 1099px) {
  .dal-frame__glass { gap: 14px; }
  .dir-alta-a .dal-nights { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 959px) {
  .dal-call { grid-template-columns: minmax(0, 1fr); }
  .dal-call__goal, .dal-call__lab { grid-column: 1; }
  .dal-call__cues { grid-column: 1; grid-row: auto; margin-top: 10px; }
  .dal-opt__grid { grid-template-columns: minmax(0, 1fr); }
  .dal-mirror { width: min(100%, 560px); margin-inline: auto; }
  .dal-dec { position: static; }
  .dal-case { grid-template-columns: minmax(0, 1fr); }
  .dal-case__hinge { display: none; }
}
@media (max-width: 859px) {
  .dal-frame__glass { grid-template-columns: minmax(0, 1fr); max-width: 340px; margin-inline: auto; width: 100%; }
}
@media (max-width: 699px) {
  .dal-legend { display: none; }
  .dal-legend2__bar { display: none; }
  .dal-legend2 { flex-direction: column; align-items: flex-start; gap: 4px; }
  .dal-still { height: clamp(300px, 90vw, 380px); }
  .dal-still .dal-hd { bottom: 96px; }
  .dal-call { margin-inline: 12px; padding: 34px 20px 22px; }
  .dal-call__cues li { grid-template-columns: 52px minmax(0, 1fr); }
  .dal-frame { padding: 30px 22px 36px; }
  .dal-frame__b--t { left: 24px; right: 24px; }
  .dal-frame__b--l, .dal-frame__b--r { top: 24px; bottom: 24px; }
  .dal-mirror { padding: 36px 24px 50px; }
  .dal-pin { margin-left: -36px; }   /* the kiss pins sit 12px further in, so none hangs over the frame's edge or the bulbs */
  .dal-bf--t, .dal-bf--b { left: 24px; right: 24px; }
  .dal-bf--l, .dal-bf--r { top: 30px; bottom: 30px; }
  .dal-bf--l { left: 5px; }
  .dal-bf--r { right: 5px; }
  .dal-dec__body > p { padding-left: 54px; }
  .dal-case__lid, .dal-case__tray { padding: 18px 16px 22px; }
  .dal-sw { gap: 16px 8px; }
  .dal-sw .th-swatch__name { font-size: 17px; }
  .dal-bs__brush { flex-basis: 96px; }
  .dal-night__foot { grid-template-columns: 1fr; }
  .dal-night__foot > div + div { border-left: 0; border-top: 1px dashed rgba(27, 36, 32, .3); }
}

/* =====================================================================================================================
   Calm: reduced motion, or a screen under 600px tall. Every finished state, static: the Polaroids sit straight, the bulbs are all lit, the roll is
   a stack of open pockets, nothing is pinned, nothing animates.
   ===================================================================================================================== */
@media (prefers-reduced-motion: reduce), (max-height: 599px) {
  .dir-alta-a [data-dir-reveal] { opacity: 1 !important; translate: none !important; transition: none !important; }
  .dir-alta-a *, .dir-alta-a *::before, .dir-alta-a *::after { animation: none !important; }
  .dal-pol__btn, .dal-pol__card, .dal-dec__body, .dal-bs__panel, .dal-bs__brush, .dal-pin, .dal-hl, .dal-hand__vid { transition: none !important; }
  .th-js .dal-pol { --p: 1; }
  .th-js .dal-card { --lit: 1; }
}
