/* BASIRAH site stylesheet (from approved prototype home-v2).
   Layout: the homepage answers the decision maker's five questions in order; one vermilion dot per surface marks what Basirah sees. */
:root {
  --paper: #F7F6F2;
  --ink: #121212;
  --graphite: #53504A;
  --line: #8A857B;          /* hairlines and marks only, never text */
  --hair: #DDDAD2;
  --wash: #EFEDE7;
  --dot: #D2452A;           /* non-text marks and large type only */
  --dot-text: #B83A22;      /* when the dot colour must carry text */
  --band: #121212;          /* closing band */
  --on-band: #F7F6F2;
  --on-band-soft: #A6A29A;
  --band-line: #3A3936;
  --ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --la: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --w: 1200px;
  --gut: clamp(16px, 5vw, 64px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121212; --ink: #F2F0EA; --graphite: #A6A29A; --line: #6F6B63; --hair: #2B2A28; --wash: #1C1B19;
    --dot: #FF6B4A; --dot-text: #FF8466; --band: #1F1E1B; --on-band: #F2F0EA; --on-band-soft: #A6A29A; --band-line: #3A3936;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121212; --ink: #F2F0EA; --graphite: #A6A29A; --line: #6F6B63; --hair: #2B2A28; --wash: #1C1B19;
  --dot: #FF6B4A; --dot-text: #FF8466; --band: #1F1E1B; --on-band: #F2F0EA; --on-band-soft: #A6A29A; --band-line: #3A3936;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { direction: rtl; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--ar); font-size: 1.125rem; line-height: 1.85; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@media (max-width: 700px) { body { font-size: 1.0625rem; } }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; line-height: 1.3; text-wrap: balance; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--dot); outline-offset: 3px; }
.la { font-family: var(--la); direction: ltr; unicode-bidi: isolate; }
.wrap {
  width: 100%; max-width: calc(var(--w) + 2 * var(--gut)); margin-inline: auto;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: calc(10px + env(safe-area-inset-top, 0px)); }
.label { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 500; color: var(--graphite); }
.label::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--line); flex: none; }
.sec { padding-block: clamp(72px, 10vw, 136px); border-top: 1px solid var(--hair); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.h2 { font-size: clamp(2rem, 1.35rem + 2.5vw, 3.25rem); line-height: 1.25; }
.sub { color: var(--graphite); max-width: 46ch; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1.5px solid var(--ink); transition: background .18s ease, color .18s ease;
}
.btn.solid { background: var(--ink); color: var(--paper); }
.btn.solid:hover { background: transparent; color: var(--ink); }
.btn.line { background: transparent; color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--paper); }

/* ---------- logo: the approved stencil wordmark; its five diamond dots are their own layer ---------- */
.logo { display: block; color: inherit; text-decoration: none; flex: none; }
.logo svg { display: block; height: 46px; width: auto; fill: currentColor; }
.js .logo.reveal .ijam { animation: ijam .8s cubic-bezier(.2,.7,.2,1) .5s both; }
@keyframes ijam { from { opacity: 0; transform: translateY(-36px); } to { opacity: 1; transform: none; } }

/* ---------- header ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--paper); border-bottom: 1px solid var(--hair);
}
.top-in { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); min-height: 72px; }
@media (max-width: 860px) { .top .logo svg { height: 38px; } }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); margin-inline-start: auto; }
.nav a { text-decoration: none; font-size: 1rem; color: var(--graphite); padding-block: 8px; position: relative; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); }
.nav a[aria-current="true"]::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1.5px; background: var(--ink); }
.tools { display: flex; align-items: center; gap: 18px; }
.tools .btn { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.lang { text-decoration: none; font-size: .95rem; color: var(--graphite); }
.lang:hover { color: var(--ink); }
.menu-btn, .mob-cta { display: none; }
.menu-btn { font: inherit; font-size: 1rem; font-weight: 500; background: none; border: 0; color: var(--ink); min-height: 44px; padding: 0 4px; cursor: pointer; }
.sheet { display: none; }
@media (max-width: 860px) {
  .nav, .tools .btn.solid, .tools .lang { display: none; }
  .tools { margin-inline-start: auto; }
  .tools .btn.solid.mob-cta { display: inline-flex; min-height: 40px; padding: 0 16px; font-size: .95rem; }
  .menu-btn { display: block; }
  .sheet:not([hidden]) {
    display: block; position: fixed; z-index: 49; inset-inline: 0;
    top: calc(73px + env(safe-area-inset-top, 0px));
    max-height: calc(100dvh - 73px - env(safe-area-inset-top, 0px));
    overflow-y: auto; overscroll-behavior: contain;
    background: var(--paper); border-bottom: 1px solid var(--hair);
  }
  .sheet ul { padding-block: 8px 20px; }
  .sheet li a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--hair); text-decoration: none; font-size: 1.25rem; font-weight: 500; }
  .sheet .sheet-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-block: 18px 24px; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.6rem); line-height: 1.18; max-width: 11ch; }
.hero-side { display: grid; gap: 24px; padding-bottom: 10px; }
.hero-line { font-size: clamp(1.15rem, 1.02rem + .5vw, 1.375rem); line-height: 1.75; color: var(--graphite); max-width: 30ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.slogan { font-size: .95rem; color: var(--graphite); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero h1 { max-width: 12ch; } }

/* the second look: the place, plus one mark of what Basirah sees */
.look { position: relative; margin-top: clamp(40px, 6vw, 72px); background: #2a2622; overflow: hidden; --dx: 35.5%; --dy: 60%; }
.look img { width: 100%; height: auto; aspect-ratio: 2.2 / 1; object-fit: cover; object-position: 50% 60%; }
.look .layer { position: absolute; inset: 0; pointer-events: none; }
.look svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.look .pt {
  position: absolute; left: var(--dx); top: var(--dy); width: 16px; height: 16px; margin: -8px 0 0 -8px; transform: rotate(45deg);
  background: #E0512F; box-shadow: 0 0 0 3px #F7F6F2, 0 0 0 4px rgba(18,18,18,.55);
}
.look .tag {
  position: absolute; left: calc(var(--dx) + 26px); top: calc(var(--dy) - 22%);
  max-width: 34%; background: #F7F6F2; color: #121212; padding: 8px 14px; line-height: 1.5;
  font-size: clamp(.8rem, .7rem + .35vw, 1rem); font-weight: 500; box-shadow: 0 0 0 1px rgba(18,18,18,.12);
}
.look-cap { margin-top: 12px; font-size: .875rem; color: var(--graphite); }
@media (max-width: 700px) {
  .look img { aspect-ratio: 3 / 2; object-position: 50% 50%; }
  .look .tag { top: calc(var(--dy) - 30%); max-width: 46%; }
  .look .pt { width: 12px; height: 12px; margin: -6px 0 0 -6px; }
}

/* wide documentary images, and the evidence marks read over one of them */
.wide { margin: clamp(36px, 5vw, 64px) 0 0; overflow: hidden; background: var(--wash); }
.wide img { width: 100%; height: auto; aspect-ratio: 2.4 / 1; object-fit: cover; }
.read { position: relative; margin: 0 0 22px; background: var(--wash); }
.read img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.mk { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.mk.obs { width: 18px; height: 18px; background: #121212; box-shadow: 0 0 0 3px #F7F6F2; }
.mk.heard { width: 28px; height: 4px; background: #121212; box-shadow: 0 0 0 3px #F7F6F2; }
.mk.asm { width: 20px; height: 20px; border-radius: 50%; border: 3px solid #121212; box-shadow: 0 0 0 3px #F7F6F2, inset 0 0 0 3px #F7F6F2; }
.mk.tbv { width: 18px; height: 18px; border-radius: 50%; background: #121212; box-shadow: 0 0 0 3px #F7F6F2; }
@media (max-width: 700px) {
  .wide img { aspect-ratio: 3 / 2; }
  .mk.obs, .mk.tbv { width: 14px; height: 14px; }
  .mk.asm { width: 16px; height: 16px; }
  .mk.heard { width: 22px; }
}

/* ---------- services: three alternatives, all visible ---------- */
.rows { border-top: 1px solid var(--ink); }
.row {
  display: grid; grid-template-columns: 96px minmax(0, 4fr) minmax(0, 5fr) minmax(0, 6fr) 32px; gap: 8px 32px; align-items: center;
  padding-block: 28px; border-bottom: 1px solid var(--hair); text-decoration: none; color: inherit; position: relative;
  transition: background .18s ease;
}
.row .stage { font-size: .9375rem; font-weight: 500; color: var(--graphite); display: flex; align-items: center; gap: 10px; }
.row .stage::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); border: 1.5px solid var(--line); flex: none; transition: all .18s ease; }
.row .name { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); font-weight: 600; line-height: 1.35; }
.row .q { color: var(--graphite); }
.row .thumb { width: 96px; aspect-ratio: 4 / 5; background: var(--wash); }
.row .go { justify-self: end; font-size: 1.25rem; transition: transform .18s ease; }
.row:hover, .row:focus-visible { background: var(--wash); }
.row:hover .stage::before, .row:focus-visible .stage::before { background: var(--dot); border-color: var(--dot); }
.row:hover .go, .row:focus-visible .go { transform: translateX(-4px); }
@media (max-width: 860px) {
  .row { grid-template-columns: 76px minmax(0, 1fr) 24px; gap: 4px 16px; padding-block: 20px; align-items: start; }
  .row .thumb { grid-column: 1; grid-row: 1 / span 3; width: 76px; }
  .row .stage, .row .name, .row .q { grid-column: 2; }
  .row .go { grid-column: 3; grid-row: 1 / span 3; align-self: center; }
}

/* ---------- between strategy and experience ---------- */
.between { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 96px); align-items: center; }
.between p.body { font-size: clamp(1.15rem, 1.02rem + .5vw, 1.375rem); line-height: 1.8; max-width: 34ch; }
.axis { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding-block: 56px 20px; }
.axis .end { font-weight: 600; font-size: 1.1rem; }
.axis .rule { height: 1.5px; position: relative; }
.axis .rule::before { content: ""; position: absolute; inset: 0; background: var(--ink); }
.axis .rule i { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; transform: rotate(45deg); background: var(--dot); }
.axis .rule b { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: 1.05rem; font-weight: 600; white-space: nowrap; }
.not { margin-top: 18px; font-size: .9375rem; color: var(--graphite); }
@media (max-width: 860px) { .between { grid-template-columns: 1fr; } }

/* ---------- the lens: five layers read together ---------- */
.lens { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.lens::before { content: ""; position: absolute; inset-inline: 0; top: 7px; height: 1px; background: var(--line); }
.lens li { display: grid; gap: 10px; padding-inline-end: 20px; position: relative; }
.lens li::before { content: ""; width: 15px; height: 15px; border-radius: 50%; background: var(--ink); margin-bottom: 14px; }
.lens h3 { font-size: 1.35rem; }
.lens p { color: var(--graphite); font-size: 1rem; line-height: 1.75; }
@media (max-width: 860px) {
  .lens { grid-template-columns: 1fr; }
  .lens::before { inset-inline: 7px auto; width: 1px; height: auto; top: 10px; bottom: 10px; }
  .lens li { grid-template-columns: 15px minmax(0, 1fr); column-gap: 20px; row-gap: 2px; padding-block: 12px; }
  .lens li::before { grid-row: span 2; margin: 10px 0 0; }
}

/* ---------- the way: the one place with a direction ---------- */
.way { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; counter-reset: w; }
.way::before { content: ""; position: absolute; inset-inline: 0 4px; top: 1.05rem; height: 1.5px; background: var(--ink); }
.way::after { content: ""; position: absolute; left: 0; top: calc(1.05rem - 5px); border: 6px solid transparent; border-right: 9px solid var(--ink); border-left: 0; }
.way li { display: grid; gap: 8px; padding-inline-end: 20px; position: relative; }
.way .v { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 600; line-height: 1.1; background: var(--paper); width: fit-content; padding-inline-end: 12px; position: relative; }
.way li:last-child .v::after { content: ""; display: inline-block; width: .22em; height: .22em; transform: rotate(45deg); background: var(--dot); margin-inline-start: .25em; vertical-align: .6em; }
.way p { color: var(--graphite); font-size: 1rem; line-height: 1.7; margin-top: 10px; }
@media (max-width: 860px) {
  .way { grid-template-columns: 1fr; gap: 26px; }
  .way::before, .way::after { display: none; }
  .way li { border-inline-start: 1.5px solid var(--ink); padding-inline-start: 20px; }
  .way p { margin-top: 0; }
}

/* ---------- evidence signature ---------- */
.ev { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--ink); }
.ev li { display: flex; align-items: center; gap: 14px; padding: 26px 0; font-size: 1.25rem; font-weight: 600; }
.ev li + li { border-inline-start: 1px solid var(--hair); padding-inline-start: 24px; }
.m { flex: none; display: inline-block; }
.m.obs { width: 13px; height: 13px; background: var(--ink); }
.m.heard { width: 18px; height: 2px; background: var(--ink); }
.m.asm { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--ink); }
.m.tbv { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }
.ev-line { margin-top: 22px; color: var(--graphite); max-width: 52ch; }
@media (max-width: 700px) {
  .ev { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev li { padding: 18px 0; font-size: 1.1rem; }
  .ev li + li { border-inline-start: 0; padding-inline-start: 0; }
  .ev li:nth-child(even) { border-inline-start: 1px solid var(--hair); padding-inline-start: 18px; }
  .ev li:nth-child(n+3) { border-top: 1px solid var(--hair); }
}

/* ---------- sectors ---------- */
.sectors { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 0; font-size: clamp(1.2rem, 1rem + .9vw, 1.75rem); font-weight: 600; line-height: 1.5; }
.sectors li:not(:last-child)::after { content: "·"; color: var(--line); margin-inline: .55em; font-weight: 400; }

/* ---------- close + contact ---------- */
.close { background: var(--band); color: var(--on-band); border-top: 1px solid var(--band-line); padding-block: clamp(80px, 11vw, 150px); }
.close .h2 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4rem); max-width: 16ch; }
.close .sub { color: var(--on-band-soft); margin-top: 18px; font-size: 1.2rem; }
.close-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(32px, 6vw, 96px); align-items: end; }
.close .btn.solid { background: var(--on-band); color: var(--band); border-color: var(--on-band); }
.close .btn.solid:hover { background: transparent; color: var(--on-band); }
.cta-wrap { display: grid; gap: 12px; margin-top: 32px; }
.cta-note { font-size: .9375rem; color: var(--on-band-soft); }
.subject { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .9375rem; color: var(--on-band); }
.subject[hidden] { display: none; }
.subject button { font: inherit; font-size: .875rem; color: var(--on-band-soft); background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 6px 2px; }
.subject::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); background: var(--dot); }
.contact { display: grid; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 28px; }
.pair img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--band-line); }
.c-row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; gap: 12px 16px; align-items: center; padding-block: 16px; border-top: 1px solid var(--band-line); }
.c-row:last-child { border-bottom: 1px solid var(--band-line); }
.c-row .k { font-size: .9375rem; color: var(--on-band-soft); }
.c-row .v { font-size: clamp(1.02rem, .9rem + .5vw, 1.2rem); text-decoration: none; color: var(--on-band); min-width: 0; }
.c-row .v.la { text-align: right; }
.copy { font: inherit; font-size: .875rem; min-height: 36px; padding: 0 14px; border-radius: 999px; background: none; color: var(--on-band); border: 1px solid var(--band-line); cursor: pointer; }
.copy:hover { border-color: var(--on-band); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 860px) { .close-grid { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .c-row { grid-template-columns: minmax(0, 1fr) auto; } .c-row .k { grid-column: 1 / -1; } }

/* ---------- footer ---------- */
.foot { padding-block: 44px 56px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: end; }
.lockup svg { display: block; height: 76px; width: auto; fill: currentColor; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a { text-decoration: none; color: var(--graphite); }
.foot nav a:hover { color: var(--ink); }
.foot small { display: block; width: 100%; font-size: .875rem; color: var(--graphite); }

/* ---------- motion: each move happens once, eases out, and carries meaning; reduced motion shows the final state ---------- */
:root { --ease: cubic-bezier(.2, .7, .2, 1); }

/* arrival: the headline and the place, then the second look marks one point */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes settle-in { from { opacity: .35; } to { opacity: 1; } }
@keyframes pop { 0% { transform: rotate(45deg) scale(0); } 70% { transform: rotate(45deg) scale(1.3); } 100% { transform: rotate(45deg) scale(1); } }
@keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.js .hero h1 { animation: rise .8s var(--ease) both; }
.js .hero-side { animation: rise .8s var(--ease) .15s both; }
.js .look img { animation: settle-in 1s var(--ease) .2s both; }
.js .look .pt { animation: pop .5s var(--ease) 1.1s both; }
.js .look line { stroke-dasharray: 100; animation: draw .6s var(--ease) 1.45s both; }
.js .look .tag { animation: rise .5s var(--ease) 1.85s both; }

/* header settles into a compact bar once the visitor starts reading (desktop) */
.top-in { transition: min-height .25s var(--ease); }
.top .logo svg { transition: height .25s var(--ease); }
@media (min-width: 861px) {
  .top.compact .top-in { min-height: 60px; }
  .top.compact .logo svg { height: 38px; }
}

/* content rises into place as it is reached; only what starts below the fold waits */
.js .rv { transition: opacity .55s var(--ease) var(--d, 0ms), transform .55s var(--ease) var(--d, 0ms); }
.js .row.rv { transition: background .18s ease, opacity .55s var(--ease) var(--d, 0ms), transform .55s var(--ease) var(--d, 0ms); }
.js .rv.pre { opacity: 0; transform: translateY(18px); }

/* services: the place comes closer when you point at it */
.row .thumb { display: block; overflow: hidden; }
.row .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.row:hover .thumb img, .row:focus-visible .thumb img { transform: scale(1.07); }

/* between: Basirah lands in the middle, then connects strategy to experience */
.axis .rule::before { transition: transform .7s var(--ease) .35s; }
.axis .rule i { transition: transform .45s var(--ease); }
.axis .rule b, .axis .end { transition: opacity .45s var(--ease) .9s; }
.js .axis.pre .rule::before { transform: scaleX(0); }
.js .axis.pre .rule i { transform: rotate(45deg) scale(0); }
.js .axis.pre .rule b, .js .axis.pre .end { opacity: 0; }

/* the lens: one thread, five layers that arrive together */
.lens::before { transform-origin: right center; transition: transform .8s var(--ease); }
.lens li::before { transition: transform .4s var(--ease) var(--d, 0ms); }
.lens li h3, .lens li p { transition: opacity .5s var(--ease) calc(var(--d, 0ms) + 120ms), transform .5s var(--ease) calc(var(--d, 0ms) + 120ms); }
.js .lens.pre::before { transform: scaleX(0); }
.js .lens.pre li::before { transform: scale(0); }
.js .lens.pre li h3, .js .lens.pre li p { opacity: 0; transform: translateY(10px); }
@media (max-width: 860px) {
  .lens::before { transform-origin: center top; }
  .js .lens.pre::before { transform: scaleY(0); }
}

/* the way: the only sequence, so the line travels and the steps follow it */
.way::before { transform-origin: right center; transition: transform .9s var(--ease); }
.way::after { transition: opacity .3s var(--ease) .85s; }
.way li { transition: opacity .5s var(--ease) var(--d, 0ms), transform .5s var(--ease) var(--d, 0ms); }
.way li:last-child .v::after { transition: transform .45s var(--ease) 1.1s; }
.js .way.pre::before { transform: scaleX(0); }
.js .way.pre::after { opacity: 0; }
.js .way.pre li { opacity: 0; transform: translateX(14px); }
.js .way.pre li:last-child .v::after { transform: rotate(45deg) scale(0); }

/* evidence: the marks appear one by one; pointing at a state shows where it sits in the place */
.read .mk { transition: transform .4s var(--ease) var(--d, 0ms), opacity .25s ease; }
.js .read.pre .mk { transform: translate(-50%, -50%) scale(0); }
.read.focus .mk { opacity: .2; }
.read.focus .mk.on { opacity: 1; transform: translate(-50%, -50%) scale(1.5); transition-delay: 0ms; }
.ev li { cursor: pointer; transition: background .2s ease; }
.ev li:hover, .ev li.on { background: var(--wash); }
.ev li:focus-visible { outline: 2px solid var(--dot); outline-offset: -2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .logo.reveal .ijam { animation: none; }
  .row, .row .go, .row .stage::before, .btn { transition: none; }
  .js .hero h1, .js .hero-side, .js .look img, .js .look .pt, .js .look line, .js .look .tag { animation: none !important; }
  .js .rv, .js .rv.pre { transition: none !important; opacity: 1 !important; transform: none !important; }
  .row .thumb img, .axis .rule::before, .axis .rule i, .axis .rule b, .axis .end, .lens::before, .lens li::before, .lens li h3, .lens li p,
  .way::before, .way::after, .way li, .way li:last-child .v::after, .read .mk, .top-in, .top .logo svg { transition: none !important; }
}

/* ---------- service pages ---------- */
.crumb { padding-top: clamp(24px, 3.5vw, 40px); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.svc { padding-block: clamp(20px, 3vw, 36px) clamp(56px, 8vw, 104px); }
.svc-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 6vw, 96px); align-items: center; }
.svc-name { font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 18px; }
.svc h1 { font-size: clamp(2.1rem, 1.1rem + 3.6vw, 3.75rem); line-height: 1.22; max-width: 15ch; }
.svc-for { margin-top: 24px; font-size: clamp(1.1rem, 1.02rem + .4vw, 1.3rem); line-height: 1.8; color: var(--graphite); max-width: 44ch; }
.svc .actions { margin-top: 32px; }
.svc-fig { background: var(--wash); aspect-ratio: 4 / 5; overflow: hidden; }
.svc-fig img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-fig { width: 100%; max-width: 360px; }
}
.sec.tight { padding-block: clamp(56px, 7vw, 96px); }
.dur { color: var(--ink); font-weight: 500; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px clamp(32px, 6vw, 96px); align-items: start; }
.col-h { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 20px; }
.ticks { border-top: 1px solid var(--ink); }
.ticks li { display: flex; align-items: flex-start; gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--hair); }
.ticks li::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--line); flex: none; margin-top: .8em; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.alts { border-top: 1px solid var(--ink); }
.alt {
  display: grid; grid-template-columns: 11rem minmax(0, 4fr) minmax(0, 5fr); gap: 6px 32px; align-items: center;
  padding-block: 26px; border-bottom: 1px solid var(--hair); text-decoration: none; color: inherit; transition: background .18s ease;
}
.alt .stage { font-size: .9375rem; font-weight: 500; color: var(--graphite); display: flex; align-items: center; gap: 10px; }
.alt .stage::before { content: ""; width: 8px; height: 8px; transform: rotate(45deg); border: 1.5px solid var(--line); flex: none; transition: all .18s ease; }
.alt .name { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); font-weight: 600; line-height: 1.35; }
.alt .q { color: var(--graphite); }
.alt:hover, .alt:focus-visible { background: var(--wash); }
.alt:hover .stage::before, .alt:focus-visible .stage::before { background: var(--dot); border-color: var(--dot); }
@media (max-width: 860px) { .alt { grid-template-columns: minmax(0, 1fr); padding-block: 20px; } }
.js .svc-copy { animation: rise .8s var(--ease) both; }
.js .svc-fig { animation: rise .8s var(--ease) .15s both; }
.nf { padding-block: clamp(72px, 10vw, 136px); }
.nf h1 { font-size: clamp(2.1rem, 1.1rem + 3.6vw, 3.75rem); line-height: 1.22; max-width: 15ch; margin-top: 18px; }
.nf p.sub { margin-top: 22px; font-size: 1.2rem; }
.nf .actions { margin-top: 32px; }
@media (prefers-reduced-motion: reduce) {
  .alt { transition: none; }
  .alt .stage::before { transition: none; }
  .js .svc-copy, .js .svc-fig { animation: none !important; }
}

/* Article (insights): one reading column, same type scale as the service pages. */
.post { padding-block: clamp(28px, 4vw, 48px) clamp(72px, 10vw, 128px); }
.post-head { display: grid; gap: 14px; max-width: 34ch; margin-bottom: clamp(36px, 5vw, 64px); }
.post-head h1 { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 4rem); line-height: 1.2; }
.post-meta { color: var(--graphite); font-size: .9375rem; }
.prose { max-width: 66ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 2.2em; }
.prose .lede { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.7; }
.prose .lede + .lede { margin-top: .6em; }
.prose strong { font-weight: 600; }
.prose .steps { display: grid; gap: 14px; }
.prose .steps li { position: relative; padding-inline-start: 22px; }
.prose .steps li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .8em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--line); }
.states { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--ink); margin-block: 1.4em; }
.states div { padding: 18px 0; }
.states div:nth-child(even) { border-inline-start: 1px solid var(--hair); padding-inline-start: 20px; }
.states div:nth-child(n+3) { border-top: 1px solid var(--hair); }
.states dt { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.states dd { margin: 4px 0 0; color: var(--graphite); font-size: 1rem; }
.recap { margin-top: 2.6em; padding: clamp(22px, 3vw, 32px); background: var(--wash); border-inline-start: 3px solid var(--ink); }
.recap h2 { margin-top: 0; font-size: 1.25rem; }
.recap ol { list-style: decimal; padding-inline-start: 1.4em; display: grid; gap: 8px; margin-top: 14px; }
.prose .final { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); font-weight: 600; line-height: 1.6; }
.prose .final::before { content: ""; display: inline-block; width: 9px; height: 9px; transform: rotate(45deg); background: var(--dot); margin-inline-end: 12px; vertical-align: .2em; }
.read-more { display: inline-block; margin-top: 18px; font-weight: 500; text-underline-offset: 5px; }
.read-more:hover { color: var(--dot-text); }
