/* designs.khuta.ae: the Live Wall.
   Brand: kit/brand only. Cream paper, navy ink, one calm blue (#4B8ED5).
   The K mark is built from pixel steps with a hard navy offset shadow: every screen is one of those pixels. */

@font-face { font-family: "Lora"; src: url(fonts/Lora-Variable-latin.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(fonts/IBMPlexSans-Variable-latin.woff2) format("woff2"); font-weight: 100 700; font-display: swap; }

:root {
  --navy: #013E88;
  --navy-hover: #013575;
  --navy-pressed: #012E65;
  --navy-shadow: #012E65; /* pressed navy from the kit, used for the pixel-step shadow */
  --blue: #0A5AB8;
  --accent: #4B8ED5;
  --cream: #FAF7F1;
  --white: #FFFFFF;
  --sunken: #EFECE8;
  --tint: #F1ECE3;
  --ink: #1A2433;
  --ink-2: #404A5C;
  --muted: #5A6675;
  --on-navy: #B8C9DE;
  --foot-body: #C7D6EA;
  --border: #D9D2C6;
  --wa: #25D366;
  --wa-ink: #0B3D22;
  --serif: "Lora", Georgia, serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(.2, 0, .38, .9);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --fast: 120ms;
  --base: 200ms;
  --step: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body { background: var(--cream); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 80; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.eyebrow { margin: 0; font: 600 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 8px;
  font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1px solid transparent;
  transition: background var(--base) var(--ease), transform var(--fast) var(--ease), box-shadow var(--base) var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--navy); color: var(--white); box-shadow: 4px 4px 0 var(--navy-shadow); }
.btn--primary:hover { background: var(--navy-hover); }
.btn--primary:active, .btn--wa:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--navy-shadow); }
.btn--wa { background: var(--wa); color: var(--wa-ink); box-shadow: 4px 4px 0 var(--navy-shadow); }
.btn--wa:hover { background: #2fe072; }
.btn--ghost { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--tint); }
.btn--line { background: transparent; color: var(--cream); border-color: rgba(250, 247, 241, .5); }
.btn--line:hover { background: rgba(250, 247, 241, .1); }
.btn--lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn--sm { height: 40px; padding: 0 14px; font-size: 14px; box-shadow: 3px 3px 0 var(--navy-shadow); }

/* ================= Desktop: the room ================= */
.reel-wrap { display: none; }
.room { display: flex; flex-direction: column; height: 100svh; min-height: 660px; }

.bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 14px 28px 12px; }
.bar__logo img { height: 40px; width: auto; }
.bar__title { min-width: 0; }
.bar__h1 { margin: 4px 0 0; font: 600 clamp(24px, 2.2vw, 34px)/1.05 var(--serif); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__sub { margin: 4px 0 0; font-size: 15px; line-height: 1.35; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar__end { display: flex; align-items: center; gap: 14px; }
.clock { margin: 0 6px 0 0; font: 500 14px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.clock__tag { font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }

.stage { position: relative; flex: 1; min-height: 0; display: grid; grid-template-rows: 1fr auto; gap: 14px; padding: 0 28px 18px; }

.wall {
  --cols: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  --rows: 1fr 1fr 1fr 1fr 1fr 1fr;
  position: relative; min-height: 0;
  display: grid; grid-template-columns: var(--cols); grid-template-rows: var(--rows); gap: 14px;
  padding: 18px 22px 22px 18px;
  background-color: var(--navy);
  background-image: linear-gradient(rgba(250, 247, 241, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(250, 247, 241, .045) 1px, transparent 1px);
  background-size: 24px 24px; background-position: 18px 18px;
  border-radius: 12px;
  cursor: none;
}
.wall.no-lens { cursor: default; }

.screen[data-area="a"] { grid-column: 1 / 7;  grid-row: 1 / 5; }
.screen[data-area="b"] { grid-column: 7 / 10; grid-row: 1 / 4; }
.screen[data-area="c"] { grid-column: 10 / 13; grid-row: 1 / 3; }
.screen[data-area="d"] { grid-column: 10 / 13; grid-row: 3 / 5; }
.screen[data-area="e"] { grid-column: 4 / 10; grid-row: 5 / 7; }
.screen[data-area="f"] { grid-column: 1 / 4;  grid-row: 5 / 7; }
.screen[data-area="g"] { grid-column: 10 / 13; grid-row: 5 / 7; }
.tile[data-area="t"]   { grid-column: 7 / 10; grid-row: 4 / 5; }

.screen {
  position: relative; min-width: 0; min-height: 0; padding: 4px;
  background: var(--cream); border: 0; border-radius: 8px;
  box-shadow: var(--step) var(--step) 0 var(--navy-shadow);
  cursor: inherit; text-align: left;
  transition: box-shadow var(--base) var(--ease), translate var(--base) var(--ease), opacity 400ms var(--ease);
}
.screen__glass { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 5px; background: var(--navy-pressed); }
.screen video, .screen .screen__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter 500ms var(--ease), opacity 400ms var(--ease); }
.screen video { opacity: 0; }
.screen.is-playing video { opacity: 1; }

/* the logo's one light-blue square, off the top-right corner */
.screen__pip { position: absolute; top: -7px; right: -7px; width: 16px; height: 16px; border-radius: 4px; background: var(--cream); box-shadow: 3px 3px 0 var(--navy-shadow); transition: background var(--base) var(--ease), transform var(--base) var(--ease-out); z-index: 3; }
.screen.is-hot .screen__pip { background: var(--accent); transform: scale(1.35); }
.screen.is-hot { box-shadow: 10px 10px 0 var(--navy-shadow); translate: -2px -2px; z-index: 2; }

.screen__label { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; pointer-events: none; }
.screen__name {
  display: inline-grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: baseline; column-gap: 9px; min-width: 0; max-width: 100%;
  padding: 8px 12px 8px 10px; border-radius: 6px; background: var(--cream); color: var(--ink); box-shadow: 3px 3px 0 var(--navy-shadow);
}
.screen__dot { width: 9px; height: 9px; border-radius: 2px; background: var(--accent); align-self: center; }
.screen[data-status="proto"] .screen__dot { background: transparent; box-shadow: inset 0 0 0 2px var(--navy); }
.screen__num { font: 700 15px/1 var(--serif); color: var(--navy); }
.screen__title { font: 600 14px/1.15 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen__title small { font: 600 12px/1 var(--sans); color: var(--muted); letter-spacing: .04em; margin-left: 6px; }
.screen__line { grid-column: 1 / -1; display: block; contain: inline-size; min-width: 26ch; font: 400 13px/1.35 var(--sans); color: var(--ink-2); max-height: 0; overflow: hidden; opacity: 0; transition: max-height 300ms var(--ease), opacity 300ms var(--ease), margin 300ms var(--ease); }
.screen.is-hot .screen__line { max-height: 76px; opacity: 1; margin-top: 6px; }
.screen__scope { flex: none; padding: 7px 9px; border-radius: 4px; background: var(--navy); color: var(--cream); font: 600 12px/1 var(--sans); letter-spacing: .02em; box-shadow: 3px 3px 0 var(--navy-shadow); white-space: nowrap; }
.screen.is-small .screen__scope { display: none; }

.screen.is-standby video, .screen.is-standby .screen__poster { filter: grayscale(1) brightness(.5) contrast(.9); }
.screen.is-standby { box-shadow: 3px 3px 0 var(--navy-shadow); }
.screen.is-standby .screen__name { opacity: .75; }
.screen.is-match { box-shadow: 10px 10px 0 var(--navy-shadow); }
.screen.is-match .screen__pip { background: var(--accent); }

.tile { position: relative; min-width: 0; min-height: 0; overflow: hidden; border-radius: 8px; padding: 14px 16px; background: var(--navy-pressed); box-shadow: inset 0 0 0 1px rgba(250, 247, 241, .12); color: var(--cream); display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.tile__big { margin: 0; font: 600 clamp(20px, 1.9vw, 30px)/1 var(--serif); }
.tile__big span { color: var(--accent); }
.tile__small { margin: 0; font: 400 13px/1.4 var(--sans); color: var(--on-navy); max-width: calc(100% - 84px); min-height: 2.8em; }
.tile__steps { position: absolute; right: 14px; bottom: 12px; width: 70px; height: 54px; }
.tile__steps i { position: absolute; width: 14px; height: 14px; border-radius: 3px; background: var(--cream); box-shadow: 2px 2px 0 var(--navy-shadow); }
.tile__steps i:nth-child(1) { left: 0; bottom: 0; }
.tile__steps i:nth-child(2) { left: 14px; bottom: 12px; }
.tile__steps i:nth-child(3) { left: 28px; bottom: 24px; }
.tile__steps i:nth-child(4) { left: 42px; bottom: 36px; }
.tile__steps i:nth-child(5) { left: 56px; bottom: 44px; background: var(--accent); width: 12px; height: 12px; }

/* entry: the screens step in (posters are visible from the first frame) */
.wall.is-booting .screen { translate: var(--step) var(--step); box-shadow: 0 0 0 var(--navy-shadow); }
.wall.is-booting .screen.is-built { translate: 0 0; box-shadow: var(--step) var(--step) 0 var(--navy-shadow); transition: translate 520ms var(--ease-out), box-shadow 520ms var(--ease-out); }

/* mixer */
.mixer { display: flex; align-items: center; gap: 18px; min-height: 52px; }
.mixer__label { white-space: nowrap; margin: 0; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mixer__bus { display: flex; gap: 8px; }
.key { white-space: nowrap; min-width: 48px; height: 44px; padding: 0 12px; border-radius: 8px; cursor: pointer; border: 1.5px solid var(--navy); background: var(--white); color: var(--navy); font: 600 14px/1 var(--sans); letter-spacing: .02em; box-shadow: 3px 3px 0 var(--navy-shadow); transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background var(--base) var(--ease); }
.key:hover { background: var(--tint); }
.key:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--navy-shadow); }
.key.is-on { background: var(--navy); color: var(--cream); }
.mixer__readout { margin: 0; flex: 1; font-size: 14px; color: var(--ink-2); }
.mixer__cta { font: 600 15px/1 var(--sans); color: var(--navy); text-decoration: none; padding: 10px 0; border-bottom: 2px solid var(--accent); white-space: nowrap; }

/* lens */
.lens { position: fixed; left: 0; top: 0; z-index: 20; pointer-events: none; width: 0; height: 0; opacity: 0; transition: opacity var(--base) var(--ease); }
.lens::before { content: ""; position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--accent); background: rgba(75, 142, 213, .14); box-shadow: 3px 3px 0 var(--navy-shadow); }
.lens.is-on { opacity: 1; }
.lens__tags { position: absolute; left: 30px; top: -16px; display: flex; }
.lens.is-flip .lens__tags { left: auto; right: 30px; }
.lens__label, .lens__cue { padding: 8px 10px; border-radius: 6px; white-space: nowrap; font: 600 13px/1 var(--sans); }
.lens__label { background: var(--cream); color: var(--ink); box-shadow: 3px 3px 0 var(--navy-shadow); }
.lens__cue { background: var(--navy); color: var(--cream); margin-left: -4px; box-shadow: 3px 3px 0 var(--navy-shadow); }
.lens:not(.has-target) .lens__tags { display: none; }

/* ---------- the close: four kinds of site, the price, the calls ---------- */
.close { padding: 80px 28px 80px; max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: end; }
.close h2 { margin: 12px 0 0; font: 600 clamp(36px, 3.6vw, 54px)/1.05 var(--serif); letter-spacing: -.015em; }
.close__support { margin: 18px 0 0; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 42ch; }
.price { margin: 22px 0 0; display: inline-block; padding: 10px 14px; border-radius: 8px; background: var(--white); border: 1px solid var(--border); font: 600 17px/1.35 var(--sans); color: var(--navy); box-shadow: 3px 3px 0 var(--navy-shadow); }
.close__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px 18px 18px; border-radius: 12px; background: var(--white); border: 1px solid var(--border); box-shadow: var(--step) var(--step) 0 var(--navy-shadow); }
.step:nth-child(1) { margin-top: 96px; }
.step:nth-child(2) { margin-top: 64px; }
.step:nth-child(3) { margin-top: 32px; }
.step:nth-child(4) { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.step::before { content: ""; width: 14px; height: 14px; border-radius: 3px; background: var(--navy); box-shadow: 2px 2px 0 var(--navy-shadow); }
.step:nth-child(4)::before { background: var(--accent); }
.step__name { margin: 0; font: 600 19px/1.2 var(--sans); }
.step__get { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.step:nth-child(4) .step__get { color: var(--on-navy); }
.step__works { display: grid; gap: 8px; margin-top: auto; padding-top: 6px; }
.step__work { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px; border-radius: 8px; cursor: pointer; text-align: left; border: 1px solid var(--border); background: var(--cream); color: var(--ink); font: 600 13px/1.2 var(--sans); transition: background var(--base) var(--ease); }
.step__work:hover { background: var(--tint); }
.step__work img { width: 56px; height: 35px; object-fit: cover; border-radius: 4px; flex: none; }
.step:nth-child(4) .step__work { background: var(--navy-pressed); color: var(--cream); border-color: rgba(250, 247, 241, .25); }

.foot { background: var(--navy); color: var(--foot-body); padding: 40px 28px 44px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot img { height: 40px; width: auto; }
.foot p { margin: 0; font-size: 15px; }
.foot a { color: #E6EEF8; }
.foot__small { color: #9DB6D6; font-size: 13px !important; margin-left: auto !important; }

/* ---------- step inside: the player ---------- */
.player { position: fixed; inset: 0; z-index: 60; }
.player[hidden] { display: none; }
.player__veil { position: absolute; inset: 0; background: rgba(1, 30, 70, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity 400ms var(--ease); }
.player.is-in .player__veil { opacity: 1; }
.player__media { position: absolute; overflow: hidden; border-radius: 10px; background: var(--navy-pressed); padding: 0; box-shadow: 10px 10px 0 #00183a; outline: 4px solid var(--cream); }
.player__media video, .player__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__media video { opacity: 0; transition: opacity 300ms var(--ease); }
.player__media video.is-ready { opacity: 1; }
.player__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: 52px; padding: 0 22px; border-radius: 8px; border: 0; background: var(--cream); color: var(--navy); font: 600 16px/1 var(--sans); cursor: pointer; box-shadow: 4px 4px 0 var(--navy-shadow); }
.player__text { position: absolute; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(250, 247, 241, .35) transparent; container-type: inline-size; padding-right: 8px; color: var(--cream); opacity: 0; transform: translateY(14px); transition: opacity 400ms var(--ease) 180ms, transform 500ms var(--ease-out) 180ms; }
.player.is-in .player__text { opacity: 1; transform: none; }
.player__num { margin: 0; display: flex; gap: 10px; align-items: baseline; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy); }
.player__num span:first-child { font: 700 26px/1 var(--serif); letter-spacing: 0; color: var(--accent); }
.player__text h2 { margin: 12px 0 14px; font: 600 clamp(32px, 3.4vw, 52px)/1.03 var(--serif); letter-spacing: -.01em; }
.player__story { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(250, 247, 241, .88); max-width: 34em; }
.player__hook { margin: 0 0 10px; font: 500 19px/1.45 var(--serif); color: var(--cream); max-width: 32em; }
.player__scope { margin: 20px 0 22px; padding: 16px 18px; border-radius: 10px; background: rgba(250, 247, 241, .08); border: 1px solid rgba(250, 247, 241, .16); display: grid; gap: 8px; }
.player__scopename { margin: 0; justify-self: start; padding: 6px 10px; border-radius: 4px; background: var(--cream); color: var(--navy); font: 600 14px/1 var(--sans); }
.player__get { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(250, 247, 241, .9); }
.player__get span:first-child { font-weight: 600; color: var(--cream); margin-right: 4px; }
.player__get span:first-child::after { content: "."; }
.player__hint { margin: 0; font-size: 13px; color: var(--on-navy); }
.player__foot { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.player__text::-webkit-scrollbar { width: 6px; }
.player__text::-webkit-scrollbar-thumb { background: rgba(250, 247, 241, .35); border-radius: 3px; }
@media (min-width: 761px) and (max-height: 860px) {
  .player__text h2 { margin: 8px 0 10px; font-size: clamp(28px, 3vw, 44px); }
  .player__hook { margin-bottom: 6px; font-size: 17px; }
  .player__story { font-size: 15.5px; line-height: 1.5; }
  .player__scope { margin: 14px 0 16px; padding: 12px 14px; }
  .player__go { gap: 10px; }
}
@media (min-width: 761px) and (max-height: 760px) {
  .player__text h2 { font-size: 28px; margin: 6px 0 8px; }
  .player__hook { font-size: 16px; }
  .player__story { font-size: 14.5px; }
  .player__scope { margin: 10px 0 12px; padding: 10px 12px; gap: 6px; }
  .player__get { font-size: 14px; line-height: 1.45; }
  .player__go { gap: 8px; }
  .player__go .btn { min-height: 44px; padding: 10px 20px; }
  .player__foot { padding-top: 10px; }
  .player__linknote { margin-top: 8px; }
}
.player__go { display: grid; grid-template-columns: minmax(0, max-content); justify-content: start; gap: 12px; }
.player__go .btn { width: 100%; height: auto; min-height: 48px; padding: 12px 22px; white-space: normal; text-align: center; }
@container (min-width: 900px) { .player__go { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; } }
.player__go .btn--ghost { background: transparent; color: var(--cream); border-color: rgba(250, 247, 241, .6); }
.player__go .btn--ghost:hover { background: rgba(250, 247, 241, .1); }
.player__go .btn--primary { background: var(--cream); color: var(--navy); }
.player__linknote { margin: 12px 0 0; font-size: 13px; color: var(--on-navy); }
.player__linknote:empty { display: none; }
.player__close { position: absolute; top: 18px; right: 22px; z-index: 3; width: 48px; height: 48px; border-radius: 10px; border: 1px solid rgba(250, 247, 241, .5); background: rgba(1, 30, 70, .4); cursor: pointer; }
.player__close span { position: absolute; left: 14px; top: 23px; width: 20px; height: 2px; background: var(--cream); border-radius: 1px; transform: rotate(45deg); }
.player__close span + span { transform: rotate(-45deg); }
.player__nav { display: flex; gap: 10px; padding-bottom: 4px; }

@media (max-width: 1100px) {
  .bar { gap: 18px; padding: 12px 20px 10px; }
  .bar__logo img { height: 34px; }
  .clock { display: none; }
  .bar__end .btn--wa { width: 48px; padding: 0; font-size: 0; gap: 0; }
  .stage { padding: 0 20px 16px; }
  .mixer__readout { display: none; }
  .mixer { gap: 12px; }
  .mixer__bus { gap: 6px; }
  .key { padding: 0 10px; font-size: 13px; }
  .mixer__cta { display: none; }
  .screen.is-small .screen__title { white-space: normal; }
  .wall { gap: 10px; }
  .tile__small { display: none; }
  .tile__steps { transform: scale(.7); transform-origin: right bottom; }
  .close { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(n) { margin-top: 0; }
}

/* ---------- crawlable fallback content (shown only without JavaScript) ---------- */
html.js [data-static] { display: none; }
html:not(.js) .stage, html:not(.js) .lens, html:not(.js) .reel-wrap, html:not(.js) .mixer { display: none; }
html:not(.js) body { display: flex; flex-direction: column; }
html:not(.js) .desk { display: contents; }
html:not(.js) .room { order: 0; }
html:not(.js) [data-static] { order: 1; width: 100%; }
html:not(.js) .close { order: 2; }
html:not(.js) .foot { order: 3; }
html:not(.js) .clock { display: none; }
html:not(.js) .room { height: auto; min-height: 0; }
.static { max-width: 1120px; margin: 0 auto; padding: 48px 28px 64px; }
.static h1 { margin: 10px 0 0; font: 600 clamp(36px, 4vw, 56px)/1.05 var(--serif); letter-spacing: -.015em; }
.static h2 { margin: 40px 0 12px; font: 600 clamp(26px, 2.6vw, 36px)/1.1 var(--serif); }
.static p { max-width: 62ch; }
.static__intro, .static__lead { font-size: 18px; color: var(--ink-2); }
.static__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.static__item { display: grid; gap: 6px; align-content: start; }
.static__item p { margin: 0; }
.static__thumb img { width: 100%; height: auto; border-radius: 8px; box-shadow: 4px 4px 0 var(--navy-shadow); }
.static__title { margin: 8px 0 0; font: 600 22px/1.2 var(--serif); }
.static__title a, .static__list--others a, .static__crumbs a { color: var(--navy); }
.static__meta { font: 600 13px/1.3 var(--sans); color: var(--blue); }
.static__hook { font: 500 18px/1.45 var(--serif); }
.static__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.static__figure { margin: 24px 0; }
.static__figure img, .static__video { width: 100%; height: auto; border-radius: 10px; box-shadow: 6px 6px 0 var(--navy-shadow); }
.static__figure figcaption { margin-top: 10px; font: 600 13px/1.3 var(--sans); color: var(--blue); }
.static__scope { margin: 20px 0; padding: 16px 18px; border: 1px solid var(--border); border-radius: 10px; background: var(--white); }
.static__scope p { margin: 0; }
.static__scopename { font-weight: 600; color: var(--navy); margin-bottom: 6px !important; }
.static__crumbs { font-size: 14px; color: var(--muted); }
.static__price { font-weight: 600; color: var(--navy); }
.static__note { font-size: 14px; color: var(--muted); }
.static__list--others { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 24px; }
.static__list--others li span { display: block; font-size: 13px; color: var(--muted); }
.nf__logo { height: 40px; width: auto; margin-bottom: 24px; }

/* ================= Phone: the reel ================= */
@media (max-width: 760px) {
  .desk { display: none; }
  .reel-wrap { display: block; position: relative; height: 100svh; overflow: hidden; background: var(--cream); }
  .reel { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
  .reel::-webkit-scrollbar { display: none; }
  .reel-top { position: absolute; left: 0; right: 0; top: 0; z-index: 10; padding: calc(env(safe-area-inset-top) + 8px) 12px 8px; background: var(--cream); box-shadow: 0 1px 0 var(--border); }
  .reel-wrap.is-dark .reel-top { background: var(--navy); box-shadow: none; }
  .reel-progress { display: flex; gap: 4px; height: 4px; }
  .reel-progress i { position: relative; flex: 1; border-radius: 2px; background: rgba(26, 36, 51, .14); overflow: hidden; }
  .reel-progress i b { position: absolute; inset: 0; width: 100%; background: var(--navy); transform-origin: left; transform: scaleX(0); }
  .reel-wrap.is-dark .reel-progress i { background: rgba(250, 247, 241, .2); }
  .reel-wrap.is-dark .reel-progress i b { background: var(--cream); }
  .reel-head { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
  .reel-head img { height: 32px; width: auto; margin-right: auto; }
  .reel-head .logo-dark { display: none; }
  .reel-wrap.is-dark .logo-light { display: none; }
  .reel-wrap.is-dark .logo-dark { display: block; }
  .reel-head .btn--sm svg { width: 18px; height: 18px; }

  .slide { position: relative; height: 100svh; scroll-snap-align: start; scroll-snap-stop: always; display: flex; flex-direction: column; padding: calc(env(safe-area-inset-top) + 74px) 10px calc(env(safe-area-inset-bottom) + 12px); overflow: hidden; }
  .slide__frame { position: relative; flex: 1 1 auto; min-height: 0; padding: 4px; border-radius: 14px; background: var(--cream); box-shadow: var(--step) var(--step) 0 var(--navy-shadow); border: 1px solid var(--border); margin-right: 6px; cursor: pointer; }
  .slide__glass { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 10px; background: var(--navy-pressed); }
  .slide__glass video, .slide__glass img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
  .slide__glass video { opacity: 0; transition: opacity 300ms var(--ease); }
  .slide__glass video.is-on { opacity: 1; }
  .slide__frame .screen__pip { top: -7px; right: -7px; background: var(--accent); }
  .slide__tag { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 6px 9px; border-radius: 4px; background: var(--cream); color: var(--navy); font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; box-shadow: 2px 2px 0 var(--navy-shadow); }
  .slide__body { position: absolute; left: 18px; right: 24px; bottom: calc(env(safe-area-inset-bottom) + 22px); z-index: 4; display: grid; gap: 7px; padding: 14px 16px 16px; background: var(--cream); border-radius: 10px; box-shadow: 4px 4px 0 var(--navy-shadow); }
  .slide__num { margin: 0; display: flex; gap: 8px; align-items: baseline; font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
  .slide__num span:first-child { font: 700 20px/1 var(--serif); letter-spacing: 0; color: var(--navy); }
  .slide__title { margin: 0; font: 600 26px/1.05 var(--serif); letter-spacing: -.01em; }
  .slide__hook { margin: 0; font: 500 15px/1.4 var(--serif); color: var(--ink); }
  .slide__scope { margin: 2px 0 0; justify-self: start; padding: 5px 8px; border-radius: 4px; background: var(--navy); color: var(--cream); font: 600 12px/1 var(--sans); letter-spacing: .02em; }
  .slide__get { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
  .slide__note { margin: 2px 0 0; font-size: 12px; line-height: 1.4; color: var(--muted); }
  .slide__actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 4px; }
  .slide__actions .btn { height: 46px; padding: 0 16px; font-size: 15px; }

  .tapzone { position: absolute; top: 74px; bottom: 52%; width: 30%; z-index: 3; border: 0; background: transparent; padding: 0; }
  .tapzone--prev { left: 0; }
  .tapzone--next { right: 0; }

  .slide--intro { padding-top: calc(env(safe-area-inset-top) + 86px); }
  .slide--intro h1 { margin: 10px 0 0; font: 600 38px/1.05 var(--serif); letter-spacing: -.015em; }
  .slide--intro h1 span { color: var(--navy); }
  .slide--intro .lead { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
  .miniwall { margin-top: 18px; flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(5, 1fr); gap: 7px; padding: 10px; border-radius: 12px; background: var(--navy); }
  .mw { position: relative; border: 0; padding: 0; border-radius: 5px; overflow: hidden; background: var(--navy-pressed); box-shadow: 3px 3px 0 var(--navy-shadow); outline: 2px solid var(--cream); outline-offset: -2px; cursor: pointer; }
  .mw img, .mw video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .mw video { opacity: 0; transition: opacity 400ms var(--ease); }
  .mw.is-live video { opacity: 1; }
  .mw.is-live { outline-color: var(--accent); }
  .mw.is-live::after { content: ""; position: absolute; top: 6px; left: 6px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
  .mw:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 3; }
  .mw:nth-child(2) { grid-column: 5 / 7; grid-row: 1 / 2; }
  .mw:nth-child(3) { grid-column: 5 / 7; grid-row: 2 / 3; }
  .mw:nth-child(4) { grid-column: 1 / 3; grid-row: 3 / 5; }
  .mw:nth-child(5) { grid-column: 3 / 7; grid-row: 3 / 5; }
  .mw:nth-child(6) { grid-column: 1 / 4; grid-row: 5 / 6; }
  .mw:nth-child(7) { grid-column: 4 / 7; grid-row: 5 / 6; }
  .swipe-cue { margin: 14px 0 0; display: flex; align-items: center; gap: 10px; font: 600 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); }
  .swipe-cue i { width: 10px; height: 10px; border-radius: 2px; background: var(--accent); animation: cue 1.6s var(--ease) infinite; }
  @keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

  /* the last story: the close */
  /* the close fits the screen; only its own content scrolls, so the footer and disclaimer are always reachable */
  .slide--close { height: 100svh; overflow-y: auto; overscroll-behavior-y: auto; -webkit-overflow-scrolling: touch; background: var(--navy); color: var(--cream); padding-bottom: calc(env(safe-area-inset-bottom) + 28px); }
  .slide--close > * { flex: none; }
  .slide--close { scrollbar-width: none; }
  .slide--close::-webkit-scrollbar { display: none; }
  .slide--close h2 { margin: 8px 0 0; font: 600 34px/1.05 var(--serif); letter-spacing: -.01em; }
  .slide--close .eyebrow { color: var(--on-navy); }
  .slide--close .lead { margin: 12px 0 0; font-size: 16px; line-height: 1.5; color: var(--on-navy); }
  .slide--close .price { margin-top: 18px; display: block; background: var(--cream); border-color: var(--cream); box-shadow: 3px 3px 0 #00183a; font-size: 16px; }
  .slide--close .close__actions { margin-top: 18px; display: grid; gap: 12px; }
  .slide--close .close__actions .btn { width: 100%; }
  .slide--close .btn--primary { background: var(--cream); color: var(--navy); }
  .psteps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 8px; }
  .pstep { display: grid; gap: 3px; padding: 11px 14px; border-radius: 10px; background: rgba(250, 247, 241, .1); border: 1px solid rgba(250, 247, 241, .18); }
  .pstep:nth-child(1) { margin-right: 36px; }
  .pstep:nth-child(2) { margin-right: 24px; margin-left: 12px; }
  .pstep:nth-child(3) { margin-right: 12px; margin-left: 24px; }
  .pstep:nth-child(4) { margin-left: 36px; background: var(--accent); border-color: var(--accent); }
  .pstep__name { font: 600 15px/1.2 var(--sans); color: var(--cream); }
  .pstep__works { font-size: 13px; color: var(--on-navy); }
  .pstep:nth-child(4) .pstep__works { color: var(--white); }
  .slide--close .note { margin: 18px 0 0; font-size: 13px; line-height: 1.45; color: var(--on-navy); }
  .slide--close .note--small { margin-top: 6px; font-size: 12px; color: #9DB6D6; }

  /* phone player */
  .player__veil { background: rgba(1, 30, 70, .97); }
  .player__text { overflow-y: auto; padding-bottom: calc(env(safe-area-inset-bottom) + 16px); }
  .player__text h2 { font-size: 30px; margin: 8px 0 10px; }
  .player__story { font-size: 15px; }
  .player__scope { margin: 12px 0 14px; padding: 12px 14px; }
  .player__hook { font-size: 16px; }
  .player__hint { display: none; }
  .player__go .btn--wa { grid-column: 1 / -1; }
  .player__go { display: grid; grid-template-columns: 1fr; }
  .player__go .btn--primary { grid-column: 1 / -1; }
  .player__nav { display: none; }
  .player__close { top: 10px; right: 12px; width: 44px; height: 44px; }
  .player__close span { left: 12px; top: 21px; }
}

/* ================= Reduced motion: calm and complete ================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .wall { cursor: default; }
  .lens { display: none; }
}
