/* LOOKATI v4 — the landing page. Ported from Ed's Claude Design canvas (design/LOOKATI Homepage v3.dc.html,
   design/LOOKATI Start free.dc.html). Mobile first; breakpoints 768px and 1120px only. Logical properties only, so a
   dir="rtl" page mirrors. Colours, fonts and radii come from tokens.css (var(--lk4-*)); scripts/check_site.py fails on
   a literal. The rules: DESIGN.md ("The Boutique Window"). */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  --nav-h: 76px;
  --rail-h: 52px;
  scroll-padding-top: calc(var(--nav-h) + var(--rail-h) + 16px);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-block-size: 100vh; display: flex; flex-direction: column;
  background: var(--lk4-page);
  color: var(--lk4-ink);
  font-family: var(--lk4-text);
  font-size: var(--lk4-body-size);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--lk4-coral);
}
::selection { background: var(--lk4-ink); color: var(--lk4-page); }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lk4-ink); outline-offset: 3px; }
.rail__list a:focus-visible { outline-offset: -4px; }       /* the rail clips anything outside it */
.footer :focus-visible { outline-color: var(--lk4-page); }  /* ink would vanish on the dark band */
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

.sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip {
  position: absolute; inset-block-start: 8px; inset-inline-start: 8px; z-index: 60;
  padding: 12px 16px; background: var(--lk4-ink); color: var(--lk4-page);
  border-radius: var(--lk4-radius-btn); transform: translateY(-160%);
}
.skip:focus-visible { transform: none; }

main { flex: 1 0 auto; }
.overview { padding-block-start: clamp(58px, 9vh, 102px); }
.wrap { max-inline-size: var(--lk4-width); margin-inline: auto; padding-inline: var(--lk4-gutter); }
.section { padding-block-start: var(--lk4-section); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--lk4-display); font-weight: 400; font-size: 11px;
  letter-spacing: var(--lk4-track-caps); text-transform: uppercase; color: var(--lk4-body);
}
.h1, .h2, .statement {
  font-family: var(--lk4-display); font-weight: 400; text-transform: uppercase;
  letter-spacing: var(--lk4-track-head); line-height: 1.2; text-wrap: balance;
}
.h1 { font-size: var(--lk4-h1); line-height: 1.15; }
.h2 { font-size: var(--lk4-h2); }
.statement { font-size: var(--lk4-statement); }
.lede { max-inline-size: 62ch; color: var(--lk4-body); text-wrap: pretty; }
.small-line { margin-block-start: 22px; font-size: var(--lk4-small); color: var(--lk4-body); }
.head { display: flex; flex-direction: column; gap: 16px; max-inline-size: var(--lk4-width-text); }
.head--center { align-items: center; text-align: center; margin-inline: auto; }
.coral { color: var(--lk4-coral); }            /* 24px+ only: "model", "taste", "yours.", "shoot." (Ed's accepted exception) */
@media (max-width: 1007px) {   /* the statement runs under 24px here: its coral words turn ink (Ed 2026-10-16); "taste" stays (bold, 1.12em) */
  .statement .coral:not(.taste) { color: var(--lk4-ink); }
}
.mark-dot {                                    /* the canvas's coral circle that stands in for the full stop */
  display: inline-block; inline-size: .16em; block-size: .16em; margin-inline-start: .1em;
  border-radius: 50%; background: var(--lk4-coral);
}
.arrow { display: inline-block; font-family: var(--lk4-text); }
:dir(rtl) .arrow { transform: scaleX(-1); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-block-size: 44px; padding: 13px 20px; border: 1px solid transparent; border-radius: var(--lk4-radius-btn);
  font-size: 12px; font-weight: 600; line-height: 1; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--lk4-ease), border-color .2s var(--lk4-ease);
}
.btn:hover { text-decoration: none; }
.btn--dark { background: var(--lk4-ink); color: var(--lk4-page); }
.btn--dark[href^="https://wa.me/"] { background: var(--lk4-coral); border-color: var(--lk4-coral); color: var(--lk4-ink); font-weight: 600; }   /* the main button, the WhatsApp door, coral everywhere (Ed 2026-10-29: "in flashy orange") */
.btn .arrow { transition: transform .3s var(--lk4-ease); }
.btn:hover .arrow { transform: translateX(3px); }
:dir(rtl) .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }
.btn--ghost { background: var(--lk4-page); color: var(--lk4-ink); border-color: var(--lk4-border); }
.btn--ghost:hover { border-color: var(--lk4-ink); }
.btn--lg {
  min-block-size: clamp(46px, 2.3vw, 55px); padding: 0 40px; border-radius: var(--lk4-radius-btn-lg);
  font-family: var(--lk4-display); font-weight: 400; font-size: clamp(11.5px, .61vw, 14.5px);
  letter-spacing: .2em; text-transform: uppercase;
}
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn--light { background: var(--lk4-page); color: var(--lk4-ink); border-color: var(--lk4-border); }   /* over the photo (desktop) its edge turns white, as on the canvas */
.btn--light:hover { border-color: var(--lk4-ink); }
.ring { inline-size: 8px; block-size: 8px; border: 1.5px solid currentColor; border-radius: 50%; flex: none; }
.link-step { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; min-block-size: 44px; }
.link-step .arrow { color: var(--lk4-coral); }   /* the mark is coral, the words are ink */

/* ---------- nav ---------- */
.nav { position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 40; padding: 12px 12px 0; pointer-events: none; }
.nav__bar {
  pointer-events: auto; max-inline-size: var(--lk4-width); margin-inline: auto; block-size: 52px;
  display: flex; align-items: center; gap: 22px; padding-inline: 16px 8px;
  background: var(--lk4-page); border: 1px solid var(--lk4-line); border-radius: var(--lk4-radius-bar);
  box-shadow: var(--lk4-shadow-float);
  transition: background-color .4s var(--lk4-ease), border-color .4s var(--lk4-ease), box-shadow .4s var(--lk4-ease);
}
.brand { display: flex; align-items: center; gap: 12px; margin-inline-end: auto; min-block-size: 44px; }
.brand:hover { text-decoration: none; }
.brand img { block-size: 18px; inline-size: auto; }
.brand__ai {
  font-family: var(--lk4-display); font-weight: 300; font-size: 13px; letter-spacing: .32em;
  text-transform: uppercase; color: var(--lk4-muted); line-height: 1;
}
.nav .btn { min-block-size: 44px; padding: 0 14px; font-size: var(--lk4-label); }
.nav__bar { position: relative; }
.nav__burger {
  display: inline-flex; align-items: center; justify-content: center; inline-size: 44px; block-size: 44px;
  background: none; border: 0; border-radius: var(--lk4-radius-btn); cursor: pointer;
}
/* phone: the links live in one sheet under the bar, opened by the burger */
.nav__menu {
  display: none; position: absolute; inset-block-start: calc(100% + 8px); inset-inline: 0;
  flex-direction: column; gap: 12px; padding: 8px 16px 16px; max-block-size: calc(100vh - 96px); overflow: auto;
  background: var(--lk4-page); border: 1px solid var(--lk4-line); border-radius: var(--lk4-radius-panel);
  box-shadow: var(--lk4-shadow-panel);
}
.nav.is-menu-open .nav__menu { display: flex; }
.nav__links { display: flex; flex-direction: column; font-size: var(--lk4-label); font-weight: 600; }
.nav__links > a, .dd__btn { display: flex; align-items: center; gap: 8px; min-block-size: 44px; }
.nav__links > a + a, .nav__links > .dd + a, .nav__links > .dd + .dd { border-block-start: 1px solid var(--lk4-line); }
.nav__login { inline-size: 100%; }
.is-pending { cursor: default; }
.is-pending:hover { text-decoration: none; }

/* the Home + Tutorials menus (Ed's canvas), as disclosures that open under their own button */
.dd__btn { inline-size: 100%; background: none; border: 0; padding: 0; font-weight: 600; cursor: pointer; text-align: start; }
.dd__mark { inline-size: 2px; block-size: 14px; background: var(--lk4-coral); }
.dd__chev { font-size: 11px; transition: transform .2s var(--lk4-ease); }
.dd__btn[aria-expanded="true"] .dd__chev { transform: rotate(180deg); }
.dd__panel { padding-block-end: 12px; font-weight: 400; }
.dd__panel:not([hidden]) { animation: lk-rise .35s var(--lk4-ease) both; }
.dd__label { display: flex; align-items: center; gap: 10px; font-family: var(--lk4-display); font-size: 11px; letter-spacing: var(--lk4-track-caps); text-transform: uppercase; color: var(--lk4-body); }
.dd__steps { list-style: none; margin: 0; padding: 4px 0 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }   /* the five steps as a picture strip (Ed 2026-10-29: images, less text, editorial) */
.dd__steps a { display: flex; flex-direction: column; gap: 8px; }
.dd__steps img { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--lk4-radius-btn); background: var(--lk4-panel); }   /* block-size: auto, or the height attribute wins */
.dd__steps b { font-size: 12.5px; font-weight: 600; }
.dd__steps span { font-size: 12px; line-height: 1.45; color: var(--lk4-body); }
.dd__steps a:hover { text-decoration: none; }
.dd__steps a:hover b { text-decoration: underline; text-underline-offset: .25em; }
.dd__soon { padding-block: 10px 4px; font-size: var(--lk4-small); color: var(--lk4-body); }

/* ---------- hero ---------- */
.hero { position: relative; padding-block-start: var(--nav-h); background: var(--lk4-page); }
.hero__media { background: var(--lk4-hero-ground); }
.hero__media img { inline-size: 100%; block-size: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 0%; }
.hero__scrim { display: none; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; padding: 32px var(--lk4-gutter) 8px; }
.hero__copy > * { animation: lk-rise .85s var(--lk4-ease) backwards; }   /* backwards: the rise ends, then scroll motion owns the copy */
.hero__copy > :nth-child(3) { animation-delay: .12s; }
.hero__copy > :nth-child(4) { animation-delay: .22s; }
.hero__sub { font-size: var(--lk4-body-size); line-height: 1.5; max-inline-size: 60ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__scroll {
  display: none; position: absolute; inset-block-end: 28px; inset-inline: 0; margin-inline: auto;
  inline-size: 44px; block-size: 44px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--lk4-page); border: 1px solid var(--lk4-line); box-shadow: var(--lk4-shadow-float);
}
.hero__scroll svg { animation: lk-nudge 2.2s ease-in-out infinite; }
@keyframes lk-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lk-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- the story: rail + overview + the five step sections (the rail is sticky inside it) ---------- */
.rail { position: sticky; inset-block-start: var(--nav-h); z-index: 30; margin-block-start: 24px; padding-inline: 12px; }
.rail__box {
  position: relative; max-inline-size: var(--lk4-width); margin-inline: auto;
  background: var(--lk4-page); border: 1px solid var(--lk4-line); border-radius: var(--lk4-radius-bar);
  box-shadow: var(--lk4-shadow-float); overflow: hidden;
}
.rail__list { display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.rail__list::-webkit-scrollbar { display: none; }
.rail__list li { flex: 1 0 auto; scroll-snap-align: start; }
.rail__list li + li { border-inline-start: 1px solid var(--lk4-line); }
.rail__list a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-block-size: var(--rail-h); padding-inline: 16px; white-space: nowrap;
}
.rail__list a:hover { text-decoration: none; }
.rail__n { font-family: var(--lk4-display); font-weight: 500; font-size: 13px; letter-spacing: .2em; line-height: 1; }
.rail__t { font-family: var(--lk4-display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.rail__list a:not([aria-current]) .rail__t {   /* phone: only the current label shows; the others stay readable to screen readers */
  position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.rail__list a[aria-current="step"] .rail__n::before {
  content: ""; display: inline-block; inline-size: 6px; block-size: 6px; margin-inline-end: 8px;
  border-radius: 50%; background: var(--lk4-coral); vertical-align: middle;
}
/* the coral fill: each step fills while it is read (the canvas's pulse); ink text on coral is 6.37:1 */
.rail__list a { position: relative; overflow: hidden; }
.rail__fill {
  position: absolute; inset: 0; background: var(--lk4-coral);
  transform-origin: left center; transform: scaleX(var(--f, 0)); transition: transform .5s var(--lk4-ease);
}
:dir(rtl) .rail__fill { transform-origin: right center; }
.rail__n, .rail__t { position: relative; }

/* overview: five cards */
.overview__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.cards { display: grid; grid-template-columns: 1fr; gap: 16px; margin-block-start: clamp(36px, 5vh, 56px); }
.card {   /* restyled after the plan cards (Ed): a bordered card, a faded step number, a bold title, clean rows */
  display: flex; flex-direction: column; background: var(--lk4-page);
  border: 1px solid var(--lk4-line); border-radius: var(--lk4-radius-panel); overflow: hidden;
  transition: border-color .3s var(--lk4-ease);
}
.card:hover { border-color: var(--lk4-ink); }
.card__frame { display: none; aspect-ratio: 4 / 5; margin: 10px 10px 0; border-radius: var(--lk4-radius-btn-lg); background: var(--lk4-panel); }
.card__body { flex: 1; display: flex; flex-direction: column; padding: 22px 24px 18px; }
.card__num { font-family: var(--lk4-display); font-weight: 300; font-size: 44px; line-height: 1; letter-spacing: .02em; opacity: .16; }
.card__title {
  margin-block-start: 14px; font-family: var(--lk4-display); font-weight: 600; font-size: 16px; line-height: 1.25;
  letter-spacing: .1em; text-transform: uppercase; text-wrap: balance;
}
.card__sub { margin-block-start: 10px; font-size: var(--lk4-small); line-height: 1.5; color: var(--lk4-body); text-wrap: pretty; }
.card__steps { display: flex; flex-direction: column; gap: 12px; margin-block-start: 20px; padding-block-start: 18px; border-block-start: 1px solid var(--lk4-line); }
.card__steps li { display: flex; gap: 12px; align-items: baseline; font-size: 14.5px; line-height: 1.45; text-wrap: pretty; }
.card__steps .num { inline-size: 22px; font-size: 11.5px; font-weight: 500; letter-spacing: .12em; color: var(--lk4-body); }
.num { font-family: var(--lk4-display); font-weight: 400; letter-spacing: .2em; color: var(--lk4-ink); flex: none; }
.card .link-step { margin-block-start: auto; padding-block-start: 18px; font-size: 13px; font-weight: 600; }

/* frame sequences (Pick her, Dress her, Style her, a place, We own a shop too) */
.frames {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px;
  margin-block-start: clamp(44px, 6vh, 72px); border-radius: var(--lk4-radius-block); overflow: clip;   /* clip, not hidden: hidden would make it a scroll box and stop its pictures following the page scroll */
}
.frames > .frame:has(.frame__dot):last-child:nth-child(odd) { grid-column: 1 / -1; }   /* the outcome frame */
.frames:not(:has(.frame__dot)) { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }   /* parallel options stay side by side */
.frame { display: flex; flex-direction: column; background: var(--lk4-page); min-inline-size: 0; }
.frame__cap { flex: 1 0 auto; display: flex; align-items: flex-end; gap: 10px; padding: 16px 14px 12px; font-size: 12.5px; }
.frame__cap .frame__dot { align-self: center; }
@media (max-width: 1119px) {   /* two across: a label that wraps keeps its number on its first line and its dot after its last word */
  .frames:has(.frame__dot) .frame__cap { display: block; align-content: end; position: relative; padding-inline-start: 44px; }
  .frames:has(.frame__dot) .frame__cap .num { position: absolute; inset-inline-start: 14px; }
  .frames:has(.frame__dot) .frame__cap .frame__dot { display: inline-block; margin-inline-start: 8px; vertical-align: middle; }
}
.frames:not(:has(.frame__dot)) .frame__cap { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 4px; padding: 12px 10px 10px; }   /* phone, 3 across: number over label */
.frame__cap .num { font-weight: 300; font-size: 11.5px; letter-spacing: .3em; }
.frame__cap b { font-weight: 600; }
.frame__dot { inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--lk4-coral); flex: none; }
.frame__ph, .card__frame, .screen__ph { outline: 1px dashed var(--lk4-border); outline-offset: -1px; }   /* placeholders until the pictures exist */
.frame__ph { aspect-ratio: 4 / 5; background: var(--lk4-panel); }

/* Post her: two screens */
.screens { display: grid; grid-template-columns: 1fr; gap: 24px; margin-block-start: clamp(44px, 6vh, 72px); }
.screen { display: flex; flex-direction: column; gap: 12px; }
.screen b { font-size: 12.5px; font-weight: 600; }
.screen__ph { aspect-ratio: 16 / 10; background: var(--lk4-panel); border: 1px solid var(--lk4-line); border-radius: var(--lk4-radius-panel); }

/* the pictures (design/site-pictures/pictures.json): one hover move per section; a phone gets it as the card scrolls in, and on tap */
.pic { position: relative; overflow: hidden; outline: 0; }
.pic > img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover;
  transition: opacity .45s var(--lk4-ease), transform .7s var(--lk4-ease); }
.card:hover .pic > img, .pic[data-move="none"]:hover > img, .pic[data-move="popout"]:hover > img { transform: scale(1.04); }
/* video: Adriana's film loops muted where a picture was (Pick a place 03, step card 05) */
.pic > video { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }   /* popout: a lift until the cut-outs exist */
/* swap: hover the Dress row and frame 03 turns from her on the bridge to her in the garden */
.pic__hover { opacity: 0; }
.frames:has(.pic[data-move="swap"]):hover .pic__hover, .frames.is-on .pic__hover { opacity: 1; }
/* scrub: the card under the cursor shows */
.pic[data-move="scrub"] > img { transition: none; }
.pic[data-move="scrub"] > img:not(.is-shown) { opacity: 0; }
/* fan: the three faces rest dealt out; the card under the cursor (or tapped) comes forward and grows */
.pic[data-move="fan"] > img { inset: 31%; inline-size: 38%; block-size: 38%; border: 5px solid var(--lk4-page); border-radius: var(--lk4-radius-card); box-shadow: var(--lk4-shadow-panel); cursor: zoom-in; }
.pic[data-move="fan"] > img:nth-child(1) { z-index: 2; transform: translate(-71%, 7%) rotate(-7deg); }
.pic[data-move="fan"] > img:nth-child(2) { z-index: 3; transform: translateY(-7%); }
.pic[data-move="fan"] > img:nth-child(3) { z-index: 1; transform: translate(71%, 7%) rotate(7deg); }
.pic[data-move="fan"] > img:hover, .pic[data-move="fan"] > img.is-zoom { z-index: 5; transform: scale(2.1); }
/* the step card is small: its fan (three ghosts) takes bigger cards and a tighter spread */
.card__frame.pic[data-move="fan"] > img { inset: 26%; inline-size: 48%; block-size: 48%; border-width: 3px; }
.card__frame.pic[data-move="fan"] > img:nth-child(1) { transform: translate(-54%, 6%) rotate(-7deg); }
.card__frame.pic[data-move="fan"] > img:nth-child(3) { transform: translate(54%, 6%) rotate(7deg); }
.card__frame.pic[data-move="fan"] > img:hover, .card__frame.pic[data-move="fan"] > img.is-zoom { transform: scale(1.75); }
/* look: she turns toward the cursor (front, up, down, left, right) */
.pic[data-move="look"] > img { transition: opacity .3s var(--lk4-ease); }
.pic[data-move="look"] > img:not(.is-shown) { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .pic > img { transition: none; } }

/* ---------- Only yours ---------- */
.promises { display: flex; flex-wrap: wrap; margin-block-start: clamp(44px, 6vh, 72px); border: 1px solid var(--lk4-line); border-radius: var(--lk4-radius-block); overflow: hidden; }
.promises ol { flex: 1 1 420px; min-inline-size: 0; padding: 8px 24px; }
.promises li { display: flex; gap: 18px; align-items: baseline; padding-block: 20px; }
.promises li + li { border-block-start: 1px solid var(--lk4-line); }
.promises .num { font-size: 11.5px; letter-spacing: .3em; }
.promises li span:last-child { font-size: 16px; max-inline-size: 56ch; text-wrap: pretty; }
.promises__ar {
  flex: 1 1 100%; display: flex; align-items: flex-end; justify-content: flex-end; padding: 22px 24px;
  border-block-start: 1px solid var(--lk4-line);
  font-family: var(--lk4-arabic); font-weight: 300; font-size: var(--lk4-arabic-display); line-height: .9; color: var(--lk4-border);
  user-select: none;
}

/* ---------- statement bands ---------- */
.band {
  display: flex; flex-direction: column; align-items: center; gap: 26px; text-align: center;
  padding: clamp(48px, 8vh, 96px) var(--lk4-gutter);
  border: 1px solid var(--lk4-line); border-radius: var(--lk4-radius-block);
}
.band .statement { max-inline-size: 26ch; }
/* the proof (Ed 2026-10-16, BRAND's beat 2): right after "none of them yours", every shoot one boutique made, full bleed,
   with the claim on a white band. design/site-pictures/wall/make_wall.py builds the wall. */
.proof { position: relative; display: grid; place-items: center; min-block-size: min(100svh, 900px); padding: clamp(48px, 8vh, 96px) var(--lk4-gutter); overflow: clip; }
.proof__wall, .proof__wall img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.proof__card { position: relative; max-inline-size: 640px; background: var(--lk4-page); }
.proof__card .statement + .statement { margin-block-start: -12px; }
.proof__count { max-inline-size: 46ch; font-size: var(--lk4-small); line-height: 1.65; color: var(--lk4-body); }
.ways { display: flex; flex-direction: column; max-inline-size: 62ch; margin-block-start: 8px; text-align: start; }
.ways p { padding-block: 22px; border-block-start: 1px solid var(--lk4-line); color: var(--lk4-body); text-wrap: pretty; }
.ways p:has(.ways__n) { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: baseline; }
.ways__n { font-family: var(--lk4-display); font-size: 24px; font-weight: 300; letter-spacing: var(--lk4-track-head); color: var(--lk4-coral); }   /* 24px: Ed's coral-text size; the three ways numbered (Ed 2026-10-16) */
.band__ar { font-family: var(--lk4-arabic); font-weight: 300; font-size: clamp(22px, 2.21vw, 30.5px); line-height: 1.3; color: var(--lk4-body); }
.band--line { padding-block: clamp(64px, 10vh, 120px); }
.taste { font-family: var(--lk4-accent); font-style: italic; font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 1.12em; }

/* ---------- pricing ---------- */
.free-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-block-start: clamp(44px, 6vh, 72px);
  padding-block: 20px; border-block: 1px solid var(--lk4-line);
}
.free-row p { flex: 1 1 260px; color: var(--lk4-body); }
.plans-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-block-start: 24px; }
.plan-card {
  display: flex; flex-direction: column; padding: 28px 26px 30px;
  border: 1px solid var(--lk4-line); border-radius: var(--lk4-radius-panel); background: var(--lk4-page);
}
.plan-card__line { margin-block-start: 10px; font-size: var(--lk4-small); color: var(--lk4-body); }
.plan-card__price { margin-block-start: 22px; }
.plan-card__help { margin-block-start: 10px; font-size: var(--lk4-small); color: var(--lk4-body); }
.plan-card > .btn { margin-block-start: 18px; }
.plan-card__groups { display: flex; flex-direction: column; gap: 18px; margin-block-start: 26px; padding-block-start: 22px; border-block-start: 1px solid var(--lk4-line); }
.plan-card__group { display: flex; align-items: center; gap: 8px; font-family: var(--lk4-display); font-weight: 500; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; }
.plan-card__group::before { content: ""; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--lk4-coral); }   /* ink label, coral mark */
.plan-card__groups ul { display: flex; flex-direction: column; gap: 8px; margin-block-start: 8px; }
.plan-card__groups li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--lk4-small); line-height: 1.5; }
.plan-card__groups li::before { content: "✓"; flex: none; inline-size: 14px; font-size: 11px; line-height: 1.8; }
.plan-card--lead { border-color: var(--lk4-ink); }
.plan-card__name { font-family: var(--lk4-display); font-weight: 600; font-size: 18.5px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; }
.plan-card__price { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.plan-card__price b { font-weight: 500; font-size: 32.5px; line-height: 1; letter-spacing: -.02em; }
.plan-card__price span { font-size: var(--lk4-small); color: var(--lk4-body); }
.plan-card .btn { inline-size: 100%; }
.sent .plan-card > .btn { margin-block-start: 18px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-start; }
.faq > .h2 { flex: 0 0 240px; font-size: clamp(20.5px, 2.04vw, 27px); }
.faq__list { flex: 1 1 360px; min-inline-size: 0; padding: 6px 24px; border: 1px solid var(--lk4-line); border-radius: var(--lk4-radius-block); }
.faq details + details { border-block-start: 1px solid var(--lk4-line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; min-block-size: 44px;
  padding-block: 20px; font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--lk4-text); font-weight: 400; font-size: 20px; color: var(--lk4-body); transition: transform .4s var(--lk4-ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-block-end: 22px; max-inline-size: 56ch; color: var(--lk4-body); }

/* ---------- end + footer ---------- */
.end { margin-block-start: var(--lk4-section); padding-block: clamp(96px, 14vh, 168px) clamp(64px, 10vh, 120px); border-block-start: 1px solid var(--lk4-line); }
.end__inner { display: flex; flex-direction: column; gap: 22px; max-inline-size: 720px; }
.end__ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.end .h2 { font-size: clamp(22px, 2.55vw, 35.5px); }
.footer {
  position: relative; overflow: hidden; color: var(--lk4-faint);
  background-color: var(--lk4-footer);
  background-image: radial-gradient(var(--lk4-coral-dots) 1px, transparent 1px); background-size: 22px 22px;
}
.footer__grid {   /* the canvas's footer, fluid: no fixed width, nothing clipped */
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding-block-start: clamp(56px, 8vh, 96px);
}
.footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 22px; }
.footer__brand .brand img { block-size: 30px; }
.footer__brand .brand__ai { font-size: 20px; color: var(--lk4-faint); }
.footer__brand p { max-inline-size: 30ch; font-size: var(--lk4-small); line-height: 1.6; text-wrap: pretty; }
.footer__col { display: flex; flex-direction: column; min-inline-size: 0; font-size: var(--lk4-small); }
.footer__h { font-weight: 600; color: var(--lk4-page); padding-block-end: 6px; }
.footer__col a { display: flex; align-items: center; min-block-size: 40px; }
.footer__col a:not(.is-pending):hover, .footer__social a:not(.is-pending):hover { color: var(--lk4-page); }
.footer__rule { block-size: 1px; margin-block-start: clamp(32px, 5vh, 56px); background: color-mix(in srgb, var(--lk4-page) 14%, transparent); }
.footer__bottom { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-block: 28px clamp(40px, 6vh, 72px); text-align: center; }   /* the footer ends here: the bleeding wordmark is gone (Ed 2026-10-13) */
.footer__social { display: flex; gap: 16px; }
.footer__social a { display: inline-flex; align-items: center; justify-content: center; inline-size: 44px; block-size: 44px; }
.footer__made { font-family: var(--lk4-display); font-size: var(--lk4-label); letter-spacing: .22em; text-transform: uppercase; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; }   /* Privacy · Terms · Data deletion (Ed 2026-10-16) */
.footer__legal a { display: inline-flex; align-items: center; min-block-size: 44px; font-size: var(--lk4-small); }
.footer-line .wrap {   /* the form page's light footer (the canvas's) */
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; padding-block: clamp(48px, 8vh, 96px) 32px;
  font-size: 12.5px; color: var(--lk4-body);
}
.footer-line a { display: inline-flex; align-items: center; min-block-size: 44px; }

/* "Watch 60 seconds": the 60-second film plays in this window */
.watch { inline-size: min(960px, 92vw); max-inline-size: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.watch::backdrop { background: color-mix(in srgb, var(--lk4-ink) 72%, transparent); }
.watch__frame { display: block; inline-size: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--lk4-radius-panel); background: var(--lk4-panel); }
.watch form { display: flex; justify-content: flex-end; margin-block-start: 12px; }

/* ---------- the form page ---------- */
.start { padding-block: calc(var(--nav-h) + clamp(48px, 9vh, 110px)) clamp(64px, 10vh, 120px); }
.start__grid { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-start; }
.start__head { flex: 0 0 260px; display: flex; flex-direction: column; gap: 16px; }
.start__media { display: none; }   /* phones + narrow tablets: the title stacks above the form, nothing between them */
@media (min-width: 900px) {   /* the title runs above; the flat-lay matches the form box top to bottom (Ed 2026-10-14) */
  .start__grid { display: grid; grid-template-columns: clamp(240px, 26vw, 350px) minmax(0, 1fr); gap: 32px 64px; align-items: stretch; }
  .start__head { grid-column: 1 / -1; }
  .start__media { display: block; position: relative; }   /* stretched to the row the form sets */
  .start__media img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
}
.start .h1 { font-size: clamp(22px, 2.38vw, 34px); }

/* ---------- the policy pages: privacy, terms, data deletion (Ed's approved words, 2026-10-16) ---------- */
.legal { padding-block: calc(var(--nav-h) + clamp(48px, 9vh, 110px)) clamp(64px, 10vh, 120px); }
.legal .wrap { max-inline-size: calc(var(--lk4-width-text) + 2 * var(--lk4-gutter)); }
.legal .h1 { font-size: clamp(22px, 2.38vw, 34px); }
.legal__lede { margin-block-start: 16px; max-inline-size: 62ch; color: var(--lk4-body); text-wrap: pretty; }
.legal__s { margin-block-start: 36px; padding-block-start: 24px; border-block-start: 1px solid var(--lk4-line); }
.legal__s h2 { font-family: var(--lk4-display); font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4; }
.legal__s p { margin-block-start: 12px; max-inline-size: 66ch; line-height: 1.65; color: var(--lk4-body); text-wrap: pretty; }
.legal__s a, .legal__lede a { text-decoration: underline; text-underline-offset: 3px; }
.footer-line a[aria-current="page"] { color: var(--lk4-ink); font-weight: 600; }

/* ---------- the Arabic policy pages: right to left, Ed's Lebanese words (2026-10-16) ----------
   Arabic letters join: never track them. Text runs Inter → Cairo (Inter has no Arabic), headings Jost → Alexandria. */
.nav__lang { display: inline-flex; align-items: center; min-block-size: 44px; font-size: var(--lk4-small); font-weight: 600; }
html:lang(ar) .legal .h1, html:lang(ar) .legal__s h2 { letter-spacing: 0; text-transform: none; }
html:lang(ar) .brand { flex-direction: row-reverse; }   /* the lockup never mirrors: LOOKATI, then AI */
html:lang(ar) .legal__s h2 { font-size: 15px; }
html:lang(ar) .legal__lede, html:lang(ar) .legal__s p { line-height: 1.9; }
.start__doors { flex: 1 1 420px; min-inline-size: 0; display: flex; flex-direction: column; gap: 24px; }   /* the two doors, one above the other (Ed 2026-10-29) */
.start__doors > .signup { flex: 0 0 auto; }   /* each panel its own height: .signup's 420px basis is for the row layout, not this column (page review) */
.door__h { font-family: var(--lk4-display); font-weight: 400; font-size: clamp(20px, 2vw, 27px); line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.door .btn { align-self: flex-start; }
.signup { flex: 1 1 420px; min-inline-size: 0; display: flex; flex-direction: column; gap: 24px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--lk4-line); border-radius: var(--lk4-radius-block); }
.signup__fields { display: grid; grid-template-columns: 1fr; gap: 20px 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-family: var(--lk4-display); font-size: var(--lk4-label); letter-spacing: var(--lk4-track-caps); text-transform: uppercase; color: var(--lk4-body); }
.field input {
  inline-size: 100%; min-block-size: 44px; padding: 10px 0; border: 0; border-block-end: 1px solid var(--lk4-border);
  border-radius: 0; background: none; font-size: var(--lk4-body-size);
  border-block-end-color: var(--lk4-muted);   /* the field's only edge: 4.48:1, not the canvas's 1.48:1 */
}
.field input:focus { outline: none; border-block-end-color: var(--lk4-ink); box-shadow: 0 1px 0 0 var(--lk4-ink); }
.field input::placeholder { color: var(--lk4-body); opacity: 1; }
.signup__err { font-size: var(--lk4-small); line-height: 1.65; color: var(--lk4-ink); }
.signup__note a { color: var(--lk4-ink); text-decoration: underline; text-underline-offset: 3px; }
.signup__note, .signup__pay { max-inline-size: 62ch; font-size: var(--lk4-small); line-height: 1.65; color: var(--lk4-body); }
.signup__pay { color: var(--lk4-ink); font-weight: 600; }
.signup__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.picker { border: 1px solid var(--lk4-line); border-radius: var(--lk4-radius-panel); padding: 0; margin: 0; min-inline-size: 0; display: grid; grid-template-columns: 1fr; overflow: hidden; }
.picker legend { padding: 0; }
.picker label { display: flex; align-items: baseline; gap: 10px; padding: 18px 20px; cursor: pointer; }
.picker label + label { border-block-start: 1px solid var(--lk4-line); }
.picker input { accent-color: var(--lk4-ink); inline-size: 18px; block-size: 18px; align-self: center; }
.picker label:has(input:checked) { background: var(--lk4-panel); }
.picker__name { font-family: var(--lk4-display); font-size: 12px; letter-spacing: var(--lk4-track-caps); text-transform: uppercase; margin-inline-end: auto; }
.picker__price { font-family: var(--lk4-display); font-weight: 300; font-size: 26px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }   /* equal-width figures: $129 and $249 line up digit for digit */
.picker__per { font-size: 12.5px; color: var(--lk4-body); white-space: nowrap; }
@media (max-width: 767px) {
  /* phones: "per month" sits under its price, so the widest row (Signature) fits the card down to 320px */
  .picker label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 10px; align-items: center; padding: 16px; }
  .picker input, .picker__name { grid-row: span 2; }
  .picker__name { margin-inline-end: 0; }
  .picker__price, .picker__per { text-align: end; }
  .picker__price { line-height: 1; }
  .field input, .dd__search input { font-size: 16px; }   /* 16px or more: an iPhone does not zoom the page when a field is focused */
}
.sent { display: flex; flex-direction: column; gap: clamp(36px, 5vh, 56px); }
.sent:focus { outline: none; }
.sent__plans { display: grid; grid-template-columns: 1fr; gap: 16px; }

/* ---------- tablet ---------- */
@media (min-width: 768px) {
  html { --nav-h: 76px; }
  .nav__burger { display: none; }
  .nav__menu, .nav.is-menu-open .nav__menu {
    display: flex; position: static; flex-direction: row; align-items: center; gap: 22px; padding: 0; max-block-size: none;
    overflow: visible; background: none; border: 0; border-radius: 0; box-shadow: none;
  }
  .nav__links { flex-direction: row; align-items: center; gap: 22px; }
  .nav__links > a + a, .nav__links > .dd + a, .nav__links > .dd + .dd { border: 0; }
  .nav__login { inline-size: auto; }
  .dd { position: relative; }
  .dd__panel {
    position: absolute; inset-block-start: calc(100% + 14px); inset-inline-start: -18px; z-index: 50;
    inline-size: min(440px, calc(100vw - 32px)); max-block-size: min(70vh, 600px); overflow: auto; padding: 8px 22px 16px;
    background: var(--lk4-page); border: 1px solid var(--lk4-line); border-radius: var(--lk4-radius-panel);
    box-shadow: var(--lk4-shadow-panel);
  }
  .dd + .dd .dd__panel { inset-inline: auto -18px; }   /* Tutorials sits near the right edge: its panel opens leftward from its own end */
  .dd__panel--home { inline-size: min(760px, calc(100vw - 32px)); padding: 14px 24px 20px; }   /* five tiles across */
  .dd__steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .dd__panel--tut { inline-size: auto; white-space: nowrap; padding-inline: 20px; }
  .footer__grid { grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(0, 1fr)); }
  .footer__brand { grid-column: auto; }
  .footer__col a { min-block-size: 32px; }
  .nav__bar { padding-inline: 20px 10px; }
  .hero__media img { aspect-ratio: 16 / 9; object-position: 50% 0%; }
  .hero__copy { padding-block: 40px 8px; }
  .rail { padding-inline: 16px; }
  .rail__list li { flex: 1 1 0; }
  .rail__list a:not([aria-current]) .rail__t { position: static; inline-size: auto; block-size: auto; overflow: visible; clip-path: none; }
  .cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .card { grid-column: span 2; }
  .card:nth-child(n + 4) { grid-column: span 3; }
  .card__frame { display: block; }
  .frames { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frames:not(:has(.frame__dot)) .frame__cap { flex-direction: row; align-items: flex-end; justify-content: flex-start; gap: 10px; padding: 16px 14px 12px; }
  .screens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises__ar { flex: 0 1 320px; border-block-start: 0; border-inline-start: 1px solid var(--lk4-line); }
  .plans-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .signup__fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picker { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .picker label { flex-direction: column; align-items: flex-start; gap: 6px; }
  .picker label + label { border-block-start: 0; border-inline-start: 1px solid var(--lk4-line); }
  .picker input { align-self: flex-start; }
  .sent__plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- desktop: the canvas's hero, copy over the photo ---------- */
@media (min-width: 1120px) {
  .hero { padding-block-start: 0; block-size: min(100vh, 56.25vw); min-block-size: 560px; background: var(--lk4-hero-ground); }
  .hero__media { position: absolute; inset: 0; }
  .hero__media img { inline-size: 100%; block-size: 100%; aspect-ratio: auto; object-position: 70% 0%; }   /* the Arabic page: 30% 0% */
  .hero__scrim { display: block; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to right, color-mix(in srgb, var(--lk4-hero-ground) 55%, transparent) 0%, transparent 44%); }
  :dir(rtl) .hero__scrim { transform: scaleX(-1); }
  .hero__copy {
    position: absolute; inset-block: 0; inset-inline-start: 0; justify-content: center;
    gap: clamp(22px, 1.8vw, 42px); max-inline-size: max(min(620px, 36vw), 540px); padding: 0 clamp(22px, 2.4vw, 56px);   /* never narrower than the two buttons on one row */
  }
  .hero__sub { font-size: clamp(13.5px, .94vw, 22px); }
  .hero__ctas { flex-wrap: nowrap; inline-size: max-content; }   /* the canvas: both buttons on one row */
  .hero .btn--light { border-color: var(--lk4-page); }
  .hero { overflow-x: clip; }
  .hero .h1 {   /* as the hero scrolls away the headline grows and slides off the left edge (Ed, after thenewblack.ai) */
    transform-origin: left center;
    translate: calc(-6vw * var(--h, 0)) 0;
    scale: calc(1 + .5 * var(--h, 0));
  }
  :dir(rtl) .hero .h1 { transform-origin: right center; translate: calc(6vw * var(--h, 0)) 0; }
  .hero__copy > :not(.h1) { opacity: calc(1 - 1.6 * var(--h, 0)); }
  .hero__scroll { display: flex; }
  .cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }   /* the same width as every section below */
  .card, .card:nth-child(n + 4) { grid-column: auto; }
  .card__body { padding: 22px 22px 18px; }
  .card__title { min-block-size: 2.5em; }
  .card__sub { min-block-size: 4.5em; }
  .frames { grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); }
  .frames > .frame:has(.frame__dot):last-child:nth-child(odd) { grid-column: auto; }
}

/* ---------- the canvas's scroll motion (tablet + desktop; phones keep the compact bar) ---------- */
@media (min-width: 768px) {
  html { --hero-gutter: clamp(22px, 2.4vw, 56px); }
  .nav { padding: calc(12px * var(--p, 0)) calc(16px * var(--p, 0)) 0; }
  .nav__bar {   /* top of the page: edge to edge, wordmark far left, menu far right; scrolled: the floating pill */
    max-inline-size: none;
    inline-size: calc(100% + (min(100%, 900px) - 100%) * var(--p, 0));
    block-size: calc(76px - 22px * var(--p, 0));
    padding-inline: calc(var(--hero-gutter) + (18px - var(--hero-gutter)) * var(--p, 0));
    border-radius: calc(var(--lk4-radius-bar) * var(--p, 0));
    background: color-mix(in srgb, var(--lk4-page) calc(var(--p, 0) * 100%), transparent);
    border-color: color-mix(in srgb, var(--lk4-line) calc(var(--p, 0) * 100%), transparent);
    box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--lk4-ink) calc(var(--p, 0) * 35%), transparent);
    transition: none;
  }
  .rail { inset-block-start: 74px; }
  .rail__box {
    inline-size: calc(100% + (min(100%, 900px) - 100%) * var(--q, 0));
    box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--lk4-ink) calc(var(--q, 0) * 25%), transparent);
  }
  .rail__n, .rail__t { font-size: calc(13px - 1.5px * var(--q, 0)); }
}
@media (min-width: 1120px) {
  .story { overflow-x: clip; }   /* full width: the grid's 1.12 start scale never scrolls the page sideways */
  .cards {   /* apart and slightly large as it arrives, settled side by side once it is read */
    gap: calc(min(72px, 5vw) * (1 - var(--s, 1)) + 16px * var(--s, 1));
    transform: scale(calc(1.12 - .12 * var(--s, 1))); transform-origin: 50% 0;
  }
}

/* ---------- desktop: the step bar stands up as an index at the left edge (Ed 2026-10-13) ----------
   Type and a hairline, no box: it shows only while a step is read (lookati.js sets .is-reading), so it never sits
   over the five cards; the coral fill becomes a line that grows down beside each step. It needs the left margin the
   1188px column leaves: numbers from 1380px, labels from 1520px; narrower screens keep the horizontal bar. */
@media (min-width: 1380px) {
  html { --rail-h: 0px; }   /* the bar no longer covers the top, so a jump lands under the header alone */
  .rail {
    position: fixed; inset-block-start: 50%; inset-inline-start: clamp(20px, 2.4vw, 48px); translate: 0 -50%;
    margin: 0; padding: 0; opacity: 0; visibility: hidden;
    transition: opacity .45s var(--lk4-ease), visibility 0s linear .45s;
  }
  .rail.is-reading { opacity: 1; visibility: visible; transition: opacity .45s var(--lk4-ease); }
  .rail__box {
    inline-size: auto; max-inline-size: none; background: none; border: 0; border-radius: 0;
    box-shadow: none; overflow: visible;
  }
  .rail__list { flex-direction: column; overflow: visible; scroll-snap-type: none; }
  .rail__list li { flex: none; }
  .rail__list li + li { border: 0; }
  .rail__list a {
    flex-direction: column; align-items: flex-start; gap: 7px;
    min-block-size: 0; padding: 15px 0 15px 18px; overflow: visible;
    border-inline-start: 1px solid var(--lk4-line); color: var(--lk4-body);
    transition: color .3s var(--lk4-ease);
  }
  .rail__list a:hover, .rail__list a[aria-current="step"] { color: var(--lk4-ink); }
  .rail__n { font-size: 12px; letter-spacing: .22em; }
  .rail__t { font-size: 10.5px; letter-spacing: .18em; }
  .rail__list a[aria-current="step"] .rail__n::before {   /* the current step: a coral bead on the line */
    position: absolute; inset-block-start: 50%; inset-inline-start: -21.5px; translate: 0 -50%; margin: 0;
  }
  .rail__fill {
    inset-block: 0; inset-inline: -1px auto; inline-size: 2px;
    transform-origin: center top; transform: scaleY(var(--f, 0));
  }
  :dir(rtl) .rail__fill { transform-origin: center top; }
}
@media (min-width: 1380px) and (max-width: 1519px) {
  .rail .rail__list a .rail__t {
    position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
}

/* ---------- the rest of the page moves with the scroll too (Ed 2026-10-13) ----------
   Native scroll-linked animation: each piece plays as it comes into view and runs backwards when scrolled back. Heads
   rise in; picture sets rise out of their own frame one by one; the Post-her screens and the plan cards arrive one
   after another; the statement bands grow in. Tablet + desktop only; a browser without it, or reduced motion (the
   block below), shows the end state. */
@keyframes lk-arrive { from { opacity: 0; translate: 0 var(--rise, 40px); } }
@keyframes lk-surface { from { translate: 0 72px; } }
@keyframes lk-grow { from { opacity: 0; scale: .94; } }
@media (min-width: 768px) {
  @supports (animation-timeline: view()) {
    .section > .head, .faq > .h2, .faq__list, .free-row, .end__inner, .promises, .screen, .plan-card {
      animation: lk-arrive linear both; animation-timeline: view(); animation-range: entry 10% cover 28%;
    }
    .frames > .frame {   /* inside the set's rounded frame (overflow hidden): each picture surfaces from below its edge */
      animation: lk-surface linear both; animation-timeline: view(); animation-range: entry 0% cover 30%;
    }
    .frames > .frame:nth-child(2), .screen:nth-child(2), .plan-card:nth-child(2) { animation-range: entry 15% cover 34%; }
    .frames > .frame:nth-child(3), .plan-card:nth-child(3) { animation-range: entry 30% cover 38%; }
    .frames > .frame:nth-child(4) { animation-range: entry 45% cover 42%; }
    .plan-card { --rise: 64px; }
    .band { animation: lk-grow linear both; animation-timeline: view(); animation-range: entry 0% cover 32%; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- the free-list pop-up (Ed 2026-10-16): a quiet shop card; phones get a small card that links to Start free ---------- */
.wl { inline-size: 100%; max-inline-size: none; max-block-size: 85dvh; margin: auto 0 0; padding: 0; border: 0; background: transparent; overscroll-behavior: contain; }
.wl::backdrop { background: color-mix(in srgb, var(--lk4-ink) 45%, transparent); }
.wl__panel {
  position: relative; display: grid; max-block-size: 85dvh; overflow: auto; overscroll-behavior: contain;
  background: var(--lk4-page); border-radius: var(--lk4-radius-panel) var(--lk4-radius-panel) 0 0;
  padding-block-end: env(safe-area-inset-bottom);
}
.wl[open] .wl__panel { animation: lk-rise .45s var(--lk4-ease) both; }
.wl__copy { display: flex; flex-direction: column; gap: 22px; padding: 56px 24px 28px; }
.wl__mark { inline-size: 105px; block-size: auto; }
.wl__count {   /* editorial (Ed 2026-10-20): a hairline above, the number large and light */
  font-family: var(--lk4-display); font-weight: 300; font-size: clamp(22px, 2.21vw, 30px); line-height: 1.2;
  letter-spacing: .04em; text-transform: uppercase; text-wrap: balance;
  padding-block-start: 22px; border-block-start: 1px solid var(--lk4-line);
}
.wl__count b { font-size: 2.1em; font-weight: 300; line-height: 1; letter-spacing: 0; }
.wl__count:focus, .wl__sent:focus { outline: none; }
.wl__lede { color: var(--lk4-body); text-wrap: pretty; }
.wl__form { display: flex; flex-direction: column; gap: 18px; }
.wl__form .btn { align-self: flex-start; }
.wl__fields { display: grid; grid-template-columns: 1fr; gap: 14px 20px; }
/* the join button is coral with ink text, 6.4:1 (Ed 2026-10-20: "white background with orange button and black writing",
   "join the free list bigger"); the one coral-filled button, recorded in DESIGN.md */
.wl .btn--dark { background: var(--lk4-coral); color: var(--lk4-ink); min-block-size: 56px; padding-inline: 28px; font-size: 15px; }
.wl__go { display: none; }
@media not all and (min-width: 768px) and (min-height: 600px) {   /* phones: a card, not a 7-question form (Ed 2026-10-20) */
  .wl__fields, .wl__form > [type="submit"] { display: none; }
  .wl__go { display: inline-flex; }
  .wl__form .wl__go { align-self: stretch; }   /* full width under her thumb */
}
.wl__plan { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-block-size: 44px; font-size: var(--lk4-small); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.wl__sent { display: flex; flex-direction: column; gap: 12px; }
.wl__media { display: none; }
.wl__closeform { display: contents; }
.wl__close {
  position: absolute; inset-block-start: 12px; inset-inline-end: 12px; z-index: 1; display: grid; place-items: center;
  inline-size: 44px; block-size: 44px; border-radius: 50%; border: 1px solid var(--lk4-line);
  background: var(--lk4-page); color: var(--lk4-ink); cursor: pointer;
}
@media (min-width: 768px) and (min-height: 600px) {
  .wl { inline-size: min(880px, 92vw); max-block-size: 90dvh; margin: auto; }
  .wl__panel { grid-template-columns: 1fr 1fr; max-block-size: 90dvh; border-radius: var(--lk4-radius-panel); padding: 0; }
  .wl__copy { justify-content: center; padding: 48px 40px 40px; }
  .wl__fields { grid-template-columns: 1fr 1fr; }   /* seven questions, two to a row beside her */
  .wl__media { display: block; position: relative; min-block-size: 500px; background: var(--lk4-hero-ground); }
  .wl__media img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 30%; }
}
/* ---------- WhatsApp: Ed's number, one round button bottom-right on every page ---------- */
/* the same corner in Arabic too (Ed 2026-10-20: "same side"), so physical right, not inline-end. The green is the
   mark's own, inside its SVG as artwork. Flat, no shadow (the Flat Window Rule); under the nav (40), over the rail (30) */
.wa-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 35; inline-size: 56px; block-size: 56px; border-radius: 50%; }
.wa-fab svg { display: block; inline-size: 100%; block-size: 100%; }
.wa-fab:hover { filter: brightness(.93); }
.footer__bottom, .footer-line .wrap { padding-block-end: 88px; }   /* the last footer line clears the button (16 + 56 + 16) */
/* ---------- the Arabic site (Ed's Lebanese, 2026-10-18): right to left, never tracked, the photo never mirrored ---------- */
html:lang(ar) body * { letter-spacing: 0 !important; }   /* tracking pulls Arabic letters apart and breaks their joins */
/* ---------- phones (Ed 2026-10-20, learned from The New Black's phone page): vertical, the picture first, no numbers ---------- */
@media (max-width: 767px) {
  :root { --lk4-body-size: 16.5px; }                         /* their phone body runs 18px; ours 15.5 → 16.5 */
  .rail { display: none; }                                   /* the 01–05 strip is gone on phones (Ed: "remove the numbering") */
  html { --rail-h: 0px; }                                    /* so anchor jumps land under the nav, not 52px low (review) */
  .card__num, .card__steps .num, .frame__cap .num, .promises .num, .ways__n { display: none; }
  .ways p:has(.ways__n) { grid-template-columns: 1fr; }
  .promises li { gap: 0; }
  .hero__media img { aspect-ratio: 4 / 5; }                 /* taller: she holds the first screen, the words still below her */
  .section { padding-block-start: 72px; }                    /* their air between blocks: 56–82px */
  .end { margin-block-start: 72px; }
  /* the five steps: two to a row on a mist panel, the picture on top, the film full width (their studio mosaic) */
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px; margin-block-start: 28px; background: var(--lk4-panel); border-radius: var(--lk4-radius-block); }
  .card:last-child { grid-column: 1 / -1; }                 /* the film card full width, still 4:5: she shows whole (Ed 2026-10-20) */
  .card__frame { display: block; margin: 0; border-radius: 0; aspect-ratio: 4 / 5; outline: 0; }
  .card__body { padding: 14px 14px 14px; }
  .card__title { font-size: 13.5px; }
  .card__sub { margin-block-start: 6px; font-size: 12.5px; }
  .card__steps { gap: 8px; margin-block-start: 12px; padding-block-start: 12px; }
  .card__steps li { font-size: 12.5px; gap: 0; }
  .card .link-step { padding-block-start: 12px; font-size: 12.5px; }
  /* the step pictures: two to a row in every set (three across was 108px), the odd last one full width */
  .frames, .frames:not(:has(.frame__dot)) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .frames > .frame:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* full width, still 4:5 */
  .frames:not(:has(.frame__dot)) .frame__cap { flex-direction: row; align-items: flex-end; gap: 10px; padding: 14px 12px 10px; }
  .frames:has(.frame__dot) .frame__cap { padding-inline-start: 14px; }
  .frame__ph { outline: 0; }
  /* the quiet blocks: a mist panel instead of a hairline box (their grey panels, radius 14, no border) */
  .promises, .band, .faq__list { border: 0; background: var(--lk4-panel); }
  .promises li + li, .ways p, .faq details + details { border-color: var(--lk4-page); }
  .promises li span:last-child { font-size: 15.5px; }
  .faq__list { padding: 4px 20px; }
  .faq summary { min-block-size: 64px; font-size: 17px; font-weight: 500; }
  .plan-card { padding: 24px 20px 26px; }
  #shoot { display: none; }                                  /* the three ways: all text on a phone (Ed 2026-10-20: "remove this section for phone") */
  #pricing .head .lede { display: none; }
  .pc, #steps .head .lede, #dress .small-line { display: none; }
  .hero__ctas { gap: 8px; }                                  /* both hero buttons on one row from 360px up (Ed 2026-10-21) */
  .hero__ctas .btn { flex: 1 1 auto; min-inline-size: 0; padding-inline: 8px; letter-spacing: .14em; font-size: 11px; }   /* the long main button fits one line at 375 */
  .hero .h1 { white-space: nowrap; font-size: min(8.5vw, 34px); }   /* "Your own model." on one line: the break is hidden, its space stays */
  .hero .h1 br { display: none; }
  .overview__top > .btn { display: none; }                   /* the nav and the hero already offer Start free */
  #proof { margin-block-start: 72px; }                       /* the wall fills its section from the top edge: air after the promises */   /* the phone reads less: one idea a block, the picture says the rest (Ed 2026-10-21; desktop keeps every sentence) */                    /* the price lead: the plan cards say it again (Ed: "less text") */
  .free-row .btn { background: var(--lk4-coral); border-color: var(--lk4-coral); color: var(--lk4-ink); }
  .hero__scroll { display: none; }                           /* no scroll cue on phones (taste-design, Ed 2026-10-20) */
  .overview .head > .eyebrow, .section .head > .eyebrow { display: none; }   /* the section labels go; the hero's line and the proof's "Made with AI" stay */
  .btn { transition: transform .2s var(--lk4-ease); }       /* press feedback on touch (redesign audit, Ed 2026-10-20): a 1px push */
  .btn:active { transform: translateY(1px); }
  /* one authored moment: each block fades up as it arrives (their reveal, 26px) */
  @supports (animation-timeline: view()) {
    .section > .head, .card, .frames, .promises, .band, .plan-card, .faq__list {   /* the set, not each frame: .frames clips; reduced motion is handled above */
      animation: lk-arrive linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; --rise: 26px;
    }
  }
}
