/* AldisLamps site. Gallery direction.
   Layout: a gallery wall. Pale stone ground, the lamp photos hung large on a 12-column grid,
   museum-label captions, and one full-bleed photo per act (day hero, night band, inside). */
:root {
  --wall: #E8E6E2;
  --wall-deep: #DCD9D4;
  --ink: #1C1B1A;
  --ink-soft: #64605B;
  --paper: #F4F3F0;
  --dark: #151413;          /* the "inside" section */
  --glow: #D64FB0;          /* selected lamp color, set by script */
  --night-bg: #130407;      /* night photo's own backdrop, set by script */
  --day-bg: #5A5958;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --t-label: 0.75rem;
  --t-small: 0.875rem;
  --t-body: 1.0625rem;
  --t-lead: clamp(1.375rem, 2.2vw, 1.75rem);
  --t-h2: clamp(2rem, 4.4vw, 3.5rem);
  --t-h1: clamp(2.5rem, 5.6vw, 4.75rem);

  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --section: clamp(5rem, 11vw, 10rem);
  color-scheme: light;
}
@media (min-width: 900px) {
  :root { --gutter: max(48px, env(safe-area-inset-left, 0px)); --gutter-r: max(48px, env(safe-area-inset-right, 0px)); }
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: color-mix(in srgb, var(--glow) 4%, var(--wall));
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-body);
  font-weight: 350;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 1.2s ease;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { padding-left: var(--gutter); padding-right: var(--gutter-r); }
.inner { max-width: 1320px; margin-inline: auto; }

.label { font-size: var(--t-label); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; margin: 0; }
.ul {
  display: inline-block; font-size: var(--t-small); font-weight: 450; letter-spacing: 0.04em;
  text-decoration: none; padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .4s ease;
}
.ul:hover { background-size: 40% 1px; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }

/* ---------- photo stages: the whole lamp always shows ----------
   Each shot is the photo at full stage height, centred. On wide screens its edges fade into a
   blurred copy of itself, so the lamp is never cropped; on tall screens the sides crop instead. */
.stage { position: absolute; inset: 0; overflow: hidden; }
.shot { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.shot.is-on { opacity: 1; }
.shot-fill { position: absolute; inset: -60px; background-size: cover; background-position: center; filter: blur(30px); }
.shot-img {
  position: absolute; top: 0; left: 50%; height: 100%; width: auto; max-width: none; aspect-ratio: 3 / 2;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%);
}

/* ---------- header ---------- */
.top {
  position: absolute; z-index: 5; inset: 0 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-top: 22px; color: var(--paper);
}
.top--solid { position: relative; color: var(--ink); padding-block: 22px; }
.top a { text-decoration: none; }
.top nav { display: flex; gap: 28px; align-items: center; }
.top .nav-r { justify-self: end; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand svg { width: 18px; height: 18px; fill: currentColor; }
.brand span { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.34em; margin-right: -0.34em; }

/* ---------- color dots + meaning ---------- */
.dots { display: flex; gap: 6px; flex-wrap: wrap; --ring: var(--paper); --gap-c: var(--day-bg); }
.dots--ink { --ring: var(--ink); --gap-c: var(--wall); }
.dot { width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: transparent; display: grid; place-items: center; color: inherit; }
.dot i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(255,255,255,.45); transition: transform .35s ease, box-shadow .35s ease; }
.dot:hover i { transform: scale(1.18); }
.dot[aria-pressed="true"] i { transform: scale(1.18); box-shadow: 0 0 0 2px var(--gap-c), 0 0 0 3.5px var(--ring), 0 0 18px 3px var(--c); }
.meaning { font-family: var(--display); font-style: italic; font-size: 1.0625rem; margin: 0; min-height: 1.6em; }
.meaning b { font-family: var(--body); font-style: normal; font-weight: 500; font-size: var(--t-label); letter-spacing: 0.18em; text-transform: uppercase; margin-right: 10px; }

/* ---------- hero (home) ---------- */
.hero { position: relative; height: clamp(560px, 62.5vw, 92vh); background: var(--day-bg); color: var(--paper); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(18,18,18,.38) 0%, rgba(18,18,18,0) 40%), linear-gradient(0deg, rgba(18,18,18,.30) 0%, rgba(18,18,18,0) 22%);
}
.hero .stage { will-change: transform; }
.hero-copy { position: absolute; z-index: 2; left: var(--gutter); top: 50%; transform: translateY(-45%); max-width: min(24rem, 27vw); display: grid; gap: 22px; justify-items: start; }
.hero-copy h1 { font-size: var(--t-h1); }
.hero-pick { position: absolute; z-index: 2; left: 50%; bottom: clamp(16px, 3vh, 32px); transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; }
.hero-pick .meaning { text-align: center; }

/* ---------- intro ---------- */
.intro { padding-block: var(--section); }
/* full-width photo of the lamp at home (img/bedside-*.jpg, from DSC02276) */
.scene { margin: 0 0 var(--section); }
.scene img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 48% 58%; }
.scene figcaption { padding-top: 14px; font-size: var(--t-small); color: var(--ink-soft); }
.intro .inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.intro .label { grid-column: 1 / span 3; color: var(--ink-soft); padding-top: 0.9em; }
.intro .lead { grid-column: 4 / span 8; min-width: 0; }
.intro h2 { font-size: var(--t-h2); }
.intro p { max-width: 36rem; color: var(--ink-soft); margin: 28px 0 0; }

/* ---------- see it: three clips, phone then both lamps ---------- */
.seeit { padding-bottom: var(--section); }
.seeit-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
.seeit-head .label { color: var(--ink-soft); }
.seeit-head h2 { font-size: var(--t-h2); }
/* video/see-it.mp4 is one 1440x1440 frame: the phone across the top half, the two lamps as squares below
   (graded by tools/grade-slog3.swift from the raw S-Log3 clips) */
.seeit .inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 36px 24px; align-items: center; }
.seeit-head { grid-column: 1 / span 4; margin-bottom: 0; }
.seeit-head p:not(.label) { margin: 0; color: var(--ink-soft); max-width: 24rem; }
.quad { --sg: clamp(8px, 1.2vw, 14px); --pad: clamp(8px, 1.6vw, 16px); grid-column: 6 / span 7; margin: 0; position: relative; aspect-ratio: 1; overflow: hidden; background: var(--wall); }
.quad video { position: absolute; top: -1px; left: -1px; width: calc(100% + 2px); height: calc(100% + 2px); display: block; object-fit: cover; }
.quad-gap { position: absolute; background: var(--wall); }
.quad-gap--h { left: 0; right: 0; top: 50%; height: var(--sg); transform: translateY(-50%); }
.quad-gap--v { top: 50%; bottom: 0; left: 50%; width: var(--sg); transform: translateX(-50%); }
.quad figcaption { position: absolute; inset: 0; pointer-events: none; }
.quad-cap { position: absolute; font-size: var(--t-label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2; color: var(--paper);
  background: rgba(20, 19, 18, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 6px 10px; white-space: nowrap; }
.quad-cap--top { left: var(--pad); top: var(--pad); }
.quad-cap--bl { left: var(--pad); bottom: var(--pad); }
.quad-cap--br { left: calc(50% + var(--sg) / 2 + var(--pad)); bottom: var(--pad); }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--section); border-top: 1px solid var(--wall-deep); }
.faq .inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; align-items: start; }
.faq-head { grid-column: 1 / span 4; display: grid; gap: 14px; }
.faq-head .label { color: var(--ink-soft); }
.faq-head h2 { font-size: var(--t-h2); }
.faq-list { grid-column: 6 / span 7; border-top: 1px solid var(--ink); min-width: 0; }
.faq-list details { border-bottom: 1px solid var(--wall-deep); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--display); font-size: 1.25rem; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--body); font-weight: 300; font-size: 1.5rem; line-height: 1; flex: none; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { margin: 0 0 22px; color: var(--ink-soft); max-width: 36rem; }

/* ---------- palette wall ---------- */
.wall { padding-bottom: var(--section); }
.wall-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 48px; margin-bottom: clamp(32px, 5vw, 64px); }
.wall-head h2 { font-size: var(--t-lead); }
.wall-head p { margin: 0; color: var(--ink-soft); font-size: var(--t-small); max-width: 26rem; }
.wall-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(14px, 2.2vw, 32px); }
.piece { display: grid; gap: 14px; min-width: 0; }
.piece figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--day-bg); }
.piece img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.cap { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: baseline; }
.cap .no { font-family: var(--display); font-style: italic; font-size: 0.9375rem; color: var(--ink-soft); grid-row: span 2; font-variant-numeric: tabular-nums; }
.cap .nm { display: flex; align-items: center; gap: 8px; }
.cap .nm::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.cap .mn { font-family: var(--display); font-size: 1.0625rem; }

/* ---------- how it works + phone ---------- */
.how { padding-block: var(--section); border-top: 1px solid var(--wall-deep); }
.how .inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 24px; align-items: center; }
.how-text { grid-column: 1 / span 6; min-width: 0; }
.how .phone { grid-column: 7 / span 6; }
.how .label { color: var(--ink-soft); margin-bottom: clamp(32px, 4vw, 56px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(32px, 4vw, 48px); }
.steps li { display: grid; grid-template-columns: 3.25rem 1fr; gap: 6px 20px; min-width: 0; }
.steps .n { font-family: var(--display); font-style: italic; font-size: 2.5rem; line-height: 1; color: var(--ink-soft); grid-row: span 2; }
.steps h3 { margin: 0; font-size: 1.1875rem; font-weight: 500; letter-spacing: 0.01em; }
.steps p { margin: 0; color: var(--ink-soft); max-width: 26rem; }

.phone { margin: 0; display: grid; gap: 14px; justify-items: center; }
.phone-frame { width: min(100%, 300px); border-radius: 46px; padding: 9px; background: #0A0A0B; box-shadow: 0 0 0 1px #2A2A2C inset, 0 40px 80px -30px rgba(28,27,26,.45), 0 0 60px -10px color-mix(in srgb, var(--glow) 35%, transparent); transition: box-shadow 1.2s ease; }
.phone-screen { border-radius: 38px; overflow: hidden; background: #0A0A0C; }
.phone-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 40px; padding: 0 24px; color: #fff; font-size: 0.8125rem; font-weight: 500; }
.phone-bar .island { width: 84px; height: 24px; border-radius: 12px; background: #000; }
.phone-bar svg { justify-self: end; width: 58px; height: 12px; fill: #fff; }
.phone-screen img { width: 100%; height: auto; }
.phone figcaption { font-size: var(--t-small); color: var(--ink-soft); }

/* ---------- night band ---------- */
.night { position: relative; height: clamp(520px, 56vw, 92vh); background: var(--night-bg); color: var(--paper); overflow: hidden; transition: background-color 1.1s ease; }
.night::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 42%); }
.night-copy { position: absolute; z-index: 2; left: var(--gutter); top: 50%; transform: translateY(-50%); max-width: min(23rem, 27vw); display: grid; gap: 18px; }
.night-copy h2 { font-size: var(--t-h2); }
.night-copy p { margin: 0; opacity: .86; }

/* ---------- story teaser ---------- */
.story { padding-block: var(--section); }
.story .inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.story figure { grid-column: 1 / span 7; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.story figure img { width: 100%; height: 100%; object-fit: cover; }
.story .txt { grid-column: 9 / span 4; display: grid; gap: 22px; justify-items: start; min-width: 0; }
.story .label { color: var(--ink-soft); }
.story h2 { font-size: var(--t-lead); line-height: 1.2; }
.story p { margin: 0; color: var(--ink-soft); }
.sig { font-family: var(--display); font-style: italic; color: var(--ink) !important; }

/* ---------- waitlist ---------- */
.waitlist { padding-block: var(--section); border-top: 1px solid var(--wall-deep); }
.waitlist .inner { max-width: 44rem; display: grid; gap: 22px; }
.waitlist h2 { font-size: var(--t-h2); }
.waitlist .inner > p { margin: 0; color: var(--ink-soft); max-width: 32rem; }
.signup { display: flex; gap: 12px; align-items: stretch; }
.signup[hidden] { display: none; }
/* after joining: only the "Almost there" message is left (site.js showJoined) */
.wl-txt.is-joined > :not(.joined), .waitlist .inner.is-joined > :not(.joined) { display: none; }
.joined { display: grid; gap: 10px; }
.joined p { margin: 0; color: var(--ink-soft); }
.joined .joined-h { font-family: var(--display); font-size: clamp(1.875rem, 3.2vw, 2.625rem); line-height: 1.1; color: var(--ink); }
.joined .joined-note { font-size: var(--t-small); }
.signup button:disabled { opacity: .6; cursor: progress; }
.signup label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.signup input { flex: 1; min-width: 0; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 14px 2px; }
.signup input::placeholder { color: var(--ink-soft); }
.signup input:focus { outline: none; border-bottom-color: var(--glow); box-shadow: 0 1px 0 0 var(--glow); }
.signup button, .wl-go { font: inherit; font-size: var(--t-label); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wall); background: var(--ink); border: 0; padding: 0 26px; min-height: 52px; cursor: pointer; transition: background-color .3s ease; }
.signup button:hover, .wl-go:hover { background: #000; }
.fine { font-size: var(--t-small); color: var(--ink-soft); margin: 0; }
.status { font-size: var(--t-small); margin: 0; min-height: 1.5em; }

/* ---------- footer ---------- */
footer { padding-block: 56px 40px; border-top: 1px solid var(--wall-deep); font-size: var(--t-small); color: var(--ink-soft); }
footer .inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; }
footer .brand { color: var(--ink); }
footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
footer p { margin: 6px 0 0; }
.preview-note { flex-basis: 100%; font-size: var(--t-label); letter-spacing: 0.08em; }

/* ---------- product page ---------- */
.pdp { padding-block: 8px var(--section); }
.pdp .inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; align-items: start; }
.pdp-media { grid-column: 1 / span 7; display: grid; gap: 16px; min-width: 0; }
.pdp-stage { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--day-bg); transition: background-color .8s ease; }
.pdp-stage[data-mode="night"] { background: var(--night-bg); }
.pdp-stage .stage { position: absolute; }
.mode { display: flex; gap: 24px; }
.mode button { all: unset; cursor: pointer; font-size: var(--t-small); color: var(--ink-soft); padding-bottom: 3px; }
.mode button[aria-pressed="true"] { color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.mode button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.pdp-info { grid-column: 9 / span 4; position: sticky; top: 32px; display: grid; gap: 22px; min-width: 0; }
.pdp-info h1 { font-size: clamp(2.5rem, 4.4vw, 3.75rem); }
.pdp-info .label { color: var(--ink-soft); }
.lede { margin: 0; color: var(--ink-soft); }
.pdp-color { display: grid; gap: 10px; padding-block: 22px; border-block: 1px solid var(--wall-deep); }
.pdp-color .label span { color: var(--ink); margin-left: 8px; }
.pdp-info .signup { flex-direction: column; }
.pdp-info .signup button { width: 100%; }
.specs { border-top: 1px solid var(--wall-deep); }
.specs details { border-bottom: 1px solid var(--wall-deep); }
.specs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: var(--t-small); font-weight: 500; letter-spacing: 0.04em; }
.specs summary::-webkit-details-marker { display: none; }
.specs summary::after { content: "+"; font-weight: 300; font-size: 1.25rem; line-height: 1; }
.specs details[open] summary::after { content: "–"; }
.specs dl { margin: 0 0 18px; display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; font-size: var(--t-small); }
.specs dt { color: var(--ink-soft); }
.specs dd { margin: 0; font-variant-numeric: tabular-nums; }
.specs p { margin: 0 0 18px; font-size: var(--t-small); color: var(--ink-soft); }

/* ---------- inside: exploded view with hotspots ---------- */
.inside { position: relative; height: clamp(640px, 100svh, 940px); background: var(--dark); color: var(--paper); overflow: hidden; }
.inside canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.inside-copy { position: absolute; z-index: 2; top: clamp(28px, 7vh, 80px); left: 0; right: 0; pointer-events: none; }
.inside-copy .inner { display: grid; gap: 16px; }
.inside-copy h2 { font-size: var(--t-h2); max-width: 11em; }
.inside-copy p { margin: 0; opacity: .7; font-size: var(--t-small); }
.inside .label { opacity: .7; }
.spots { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.spot { pointer-events: auto; position: absolute; left: 0; top: 0; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--paper); opacity: 0; transition: opacity .6s ease; }
.spot.is-ready { opacity: 1; }
.spot i { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 4px rgba(244,243,240,.16); transition: background-color .3s ease; }
.spot i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(244,243,240,.6); animation: spot-pulse 2.4s ease-out infinite; }
.spot[aria-expanded="true"] i { background: var(--glow); }
@keyframes spot-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.spot-card { position: absolute; z-index: 4; left: 0; top: 0; width: min(17rem, calc(100% - 32px)); padding: 14px 16px; display: grid; gap: 4px; pointer-events: none;
  background: rgba(21,20,19,.88); border: 1px solid rgba(244,243,240,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.spot-card b { font-size: var(--t-label); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.spot-card span { font-size: var(--t-small); opacity: .8; line-height: 1.5; }
.inside-fallback { position: absolute; inset: auto 0 10vh; text-align: center; opacity: .7; font-size: var(--t-small); }

/* ---------- product: the app ---------- */
.appsec { padding-block: var(--section); }
.appsec .inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 24px; align-items: center; }
.appsec .phone { grid-column: 1 / span 6; }
.appsec .txt { grid-column: 7 / span 5; display: grid; gap: 22px; min-width: 0; }
.appsec h2 { font-size: var(--t-h2); }
.appsec .label { color: var(--ink-soft); }
.appsec .txt p { margin: 0; color: var(--ink-soft); max-width: 30rem; }   /* not the app screen beside it: its meaning stays white */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--wall-deep); }
.ticks li { padding: 14px 0; border-bottom: 1px solid var(--wall-deep); }

/* ---------- waitlist popup (built by site.js after 10 seconds on the site) ---------- */
.wl-pop { width: min(780px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; overflow: auto;
  background: var(--wall); color: var(--ink); box-shadow: 0 40px 100px rgba(10, 9, 8, .4); }
.wl-pop::backdrop { background: rgba(20, 19, 18, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.wl-pop[open] { animation: wl-in .6s cubic-bezier(.2, .7, .2, 1); }
.wl-pop[open]::backdrop { animation: wl-fade .6s ease; }
@keyframes wl-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes wl-up { from { transform: translateY(100%); } }
@keyframes wl-fade { from { opacity: 0; } }
.wl-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.wl-media { position: relative; background: var(--night-bg); }
.wl-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.wl-txt { padding: clamp(28px, 4vw, 48px); display: grid; gap: 16px; align-content: center; }
.wl-txt .label { color: var(--ink-soft); }
.wl-txt h2 { font-size: clamp(1.875rem, 3.2vw, 2.625rem); }
.wl-lede { margin: 0; color: var(--ink-soft); }
.wl-pop .signup { flex-direction: column; }
.wl-pop .signup button { min-height: 50px; }
.wl-not { justify-self: start; padding: 0; background: none; border: 0; font: inherit; font-size: var(--t-small); color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wl-not:hover { color: var(--ink); }
.wl-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; padding: 0;
  background: rgba(232, 230, 226, .88); border: 0; border-radius: 50%; cursor: pointer; }
.wl-x svg { width: 14px; height: 14px; stroke: var(--ink); stroke-width: 1.5; fill: none; }
.wl-x:focus:not(:focus-visible) { outline: none; }
html.wl-open { overflow: hidden; }
@media (max-width: 899px) {
  .wl-pop { width: 100%; max-height: 90vh; margin: auto 0 0; }
  .wl-pop[open] { animation-name: wl-up; }
  .wl-body { grid-template-columns: minmax(0, 1fr); }
  .wl-media { aspect-ratio: 16 / 7; }
  .wl-img { object-position: 50% 45%; }
  .wl-txt { padding: 22px 20px calc(24px + env(safe-area-inset-bottom, 0px)); gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .wl-pop[open], .wl-pop[open]::backdrop { animation: none; } }

/* ---------- phone widths ---------- */
@media (max-width: 899px) {
  .top { grid-template-columns: 1fr auto; grid-template-areas: "brand navr" "navl navl"; row-gap: 16px; }
  .top .brand { grid-area: brand; justify-self: start; }
  .top .nav-l { grid-area: navl; justify-content: space-between; gap: 12px; }
  .top .nav-r { grid-area: navr; gap: 18px; }
  .brand span { font-size: 0.75rem; letter-spacing: 0.28em; margin-right: -0.28em; }
  .hero { height: auto; display: flex; flex-direction: column; }
  .hero::after { display: none; }
  .hero .stage { position: relative; inset: auto; aspect-ratio: 4 / 5; max-height: 74svh; width: 100%; }
  .hero .stage::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(0deg, var(--day-bg), rgba(90,89,88,0)); }
  .hero-pick { position: relative; left: auto; bottom: auto; transform: none; margin-top: -64px; padding-bottom: 8px; }
  .hero-copy { position: static; transform: none; max-width: none; padding: 28px var(--gutter-r) 44px var(--gutter); }
  .hero-copy h1 { font-size: clamp(2.25rem, 10vw, 3rem); }
  .dot { width: 36px; height: 36px; }
  .intro .label, .intro .lead { grid-column: 1 / -1; }
  .seeit-head, .quad { grid-column: 1 / -1; }
  .scene img { aspect-ratio: 4 / 5; }
  .quad { --sg: 6px; --pad: 8px; }
  .quad-cap { font-size: 0.5625rem; letter-spacing: 0.1em; padding: 4px 7px; }
  .quad-more { display: none; }
  .faq-head, .faq-list { grid-column: 1 / -1; }
  .wall-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 10px; }
  .piece { gap: 8px; }
  .cap { grid-template-columns: minmax(0, 1fr); }
  .cap .no { display: none; }
  .cap .nm { font-size: 0.625rem; letter-spacing: 0.12em; gap: 5px; }
  .cap .nm::after { width: 5px; height: 5px; }
  .cap .mn { font-size: 0.8125rem; line-height: 1.3; }
  .how-text, .how .phone { grid-column: 1 / -1; }
  .night { height: auto; display: flex; flex-direction: column; }
  .night::after { display: none; }
  .night .stage { position: relative; inset: auto; aspect-ratio: 4 / 5; max-height: 74svh; width: 100%; }
  .night .stage::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(0deg, var(--night-bg), transparent); }
  .night-copy { position: static; transform: none; max-width: none; padding: 8px var(--gutter-r) 56px var(--gutter); }
  .story figure, .story .txt { grid-column: 1 / -1; }
  .story .txt { padding-top: 12px; }
  .pdp-media, .pdp-info { grid-column: 1 / -1; }
  .pdp-info { position: static; }
  .appsec .phone, .appsec .txt { grid-column: 1 / -1; }
  .appsec .phone { order: 2; }
}
@media (max-width: 520px) {
  .signup { flex-direction: column; }
  .signup button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .spot i::after { animation: none; }
}
