/* alijonebukhari.com: navy and white, Apple-style type. No gold.
   html.motion (set before paint, skipped for reduced motion) turns on the intro, the scroll effects and the light motes. */

:root {
  --navy-0: #050b17;
  --navy: #081428;
  --navy-2: #0f2244;
  --white: #ffffff;
  --off: #f4f5f7;
  --ink: #0a1830;
  --mute: rgba(255, 255, 255, .6);
  --mute-l: #6b7487;
  --line-d: rgba(255, 255, 255, .12);
  --line-l: rgba(10, 24, 48, .12);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter Tight", "Segoe UI", system-ui, sans-serif;
  --serif: "Bodoni Moda", "Bodoni 72", Didot, serif;   /* only for the small Nº 14 */
  --gut: max(24px, 4vw);
  --out: cubic-bezier(.16, 1, .3, 1);
  --io: cubic-bezier(.76, 0, .24, 1);
  --d0: 1.2s;
}
.seen { --d0: .05s; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--navy-0); scroll-behavior: smooth; color-scheme: dark; }   /* the page is already dark: browsers must not darken it again */
body { background: var(--navy-0); color: var(--white); font-family: var(--sans); font-size: 17px; line-height: 1.5; letter-spacing: -.011em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
a { color: inherit; }
img { display: block; max-width: 100%; }
ol, ul { list-style: none; }
button { font: inherit; }
::selection { background: var(--white); color: var(--navy); }
:focus-visible { outline: 2px solid #6ea0ff; outline-offset: 4px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 999px; font-size: 14px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
[id] { scroll-margin-top: 72px; }
[tabindex="-1"]:focus { outline: none; }

.kicker { font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); }
.light .kicker { color: var(--mute-l); }
.no { font-family: var(--serif); font-weight: 400; letter-spacing: .02em; text-transform: none; color: var(--white); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--white); color: var(--navy); font-size: 15px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: transform .5s var(--out), box-shadow .5s var(--out), background .3s, color .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .28); }
.btn.ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--white); transform: none; }
.btn.ink { background: var(--ink); color: var(--white); }
.btn.ok { background: #e9f1ff; color: var(--navy); }

/* ---------- Curtain (first visit only) ---------- */
.curtain { display: none; }
.motion:not(.seen) .curtain {
  position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(60vmax 50vmax at 50% 50%, var(--navy-2), var(--navy-0) 72%);
  font-weight: 600; font-size: clamp(64px, 11vw, 160px); letter-spacing: -.06em;
  animation: lift 1.05s var(--io) .95s forwards;
}
.motion:not(.seen) .curtain span { opacity: 0; transform: translateY(.18em); animation: up .9s var(--out) forwards; }
.curtain span:nth-child(2) { animation-delay: .08s !important; }
.curtain span:nth-child(3) { animation-delay: .16s !important; }
@keyframes lift { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes up { to { opacity: 1; transform: none; } }

/* ---------- Rail ---------- */
.rail {
  position: fixed; inset: 0 0 auto; z-index: 100; height: 64px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gut);
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--white);
  transition: color .5s var(--out);
}
.rail::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s var(--out), background .5s;
  background: rgba(8, 20, 40, .72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line-d); }
.rail.scrolled::before { opacity: 1; }
.rail.on-light { color: var(--ink); }
.rail.on-light .no { color: var(--ink); }
.rail.on-light::before { background: rgba(244, 245, 247, .78); border-color: var(--line-l); }
.rail a { text-decoration: none; }
.rail-no { justify-self: start; font-size: 17px; transition: color .5s var(--out); }
.rail-name { justify-self: center; font-weight: 600; }
.rail-nav { justify-self: end; display: flex; gap: 32px; }
.rail-nav a { opacity: .7; transition: opacity .3s; }
.rail-nav a:hover, .rail-nav a[aria-current] { opacity: 1; }
.motion .home .rail { opacity: 0; animation: up 1s var(--out) calc(var(--d0) + .9s) forwards; }

/* ---------- I. Cover ---------- */
.cover { position: sticky; top: 0; z-index: 0; height: 100svh; min-height: 600px; overflow: hidden; background: var(--navy-0); }
.cover-light {
  position: absolute; inset: 0;
  background:
    radial-gradient(30vmax 30vmax at var(--sx, 50%) var(--sy, 34%), rgba(120, 160, 230, .08), transparent 70%),
    radial-gradient(22vmax 22vmax at 50% 30%, rgba(110, 150, 220, .32), transparent 70%),
    radial-gradient(50vmax 42vmax at 50% 40%, rgba(32, 66, 128, .85), transparent 70%),
    radial-gradient(90vmax 60vmax at 50% 112%, rgba(14, 32, 64, .9), transparent 70%),
    linear-gradient(180deg, var(--navy), var(--navy-0));
}
.cover::after { content: ""; position: absolute; inset: 0; z-index: 9; background: var(--navy-0); opacity: calc(var(--p, 0) * .7); pointer-events: none; }
.masthead {
  position: absolute; left: 0; right: 0; top: calc(74px + 6svh); z-index: 1;
  display: flex; justify-content: center;
  font-weight: 700; font-size: min(28vw, 36svh); line-height: .8; letter-spacing: -.065em;
  transform: translate3d(0, calc(var(--p, 0) * -14svh), 0);
}
.masthead span {
  display: inline-block; padding: 0 .14em; margin: 0 -.12em;   /* room for each letter's edge, so the gradient never clips the B */
  background: linear-gradient(180deg, #ffffff 0%, #eef2f8 45%, #b9c5da 100%);   /* a cool, brushed-metal white */
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.motion .masthead span { opacity: 0; transform: translateY(12%); animation: up 1.5s var(--out) forwards; }
.motion .masthead span:nth-child(1) { animation-delay: var(--d0); }
.motion .masthead span:nth-child(2) { animation-delay: calc(var(--d0) + .08s); }
.motion .masthead span:nth-child(3) { animation-delay: calc(var(--d0) + .16s); }
.dust { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.motion .dust { opacity: 0; animation: up 2s var(--out) calc(var(--d0) + .6s) forwards; }

.portrait {
  position: absolute; left: 50%; bottom: 0; z-index: 3;
  height: min(68svh, 90vw); aspect-ratio: 1;
  transform: translate3d(-50%, calc(var(--p, 0) * 4svh), 0) scale(calc(1 + var(--p, 0) * .06));
  transform-origin: 50% 100%;
}
.portrait img {
  width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%;
  filter: drop-shadow(0 26px 46px rgba(0, 0, 0, .5)) drop-shadow(0 4px 10px rgba(0, 0, 0, .3));
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.motion .portrait img { opacity: 0; transform: translateY(5%) scale(1.04); animation: portrait 1.9s var(--out) calc(var(--d0) + .15s) forwards; }
@keyframes portrait { to { opacity: 1; transform: none; } }
.cover-fade { position: absolute; inset: auto 0 0; height: 42%; z-index: 4; pointer-events: none; background: linear-gradient(0deg, var(--navy-0) 0%, rgba(5, 11, 23, .82) 22%, rgba(5, 11, 23, 0) 100%); }

.grain { position: absolute; inset: -50%; z-index: 5; pointer-events: none; background: url("/assets/img/grain.png"); mix-blend-mode: overlay; opacity: .12; }
.motion .grain { animation: grain .9s steps(5) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); } 40% { transform: translate(5%, -7%); } 60% { transform: translate(-3%, -4%); } 80% { transform: translate(7%, 5%); } 100% { transform: translate(0, 0); } }

.cl { position: absolute; z-index: 6; }
.motion .cl { opacity: 0; animation: up 1.2s var(--out) calc(var(--d0) + .75s) forwards; }
.cl-left { left: var(--gut); bottom: 8svh; }
.cl-left .kicker { margin-bottom: 16px; }
.cl-name { font-weight: 600; font-size: clamp(34px, 3.6vw, 60px); line-height: 1.02; letter-spacing: -.035em; }
.cl-right { right: var(--gut); bottom: 8svh; text-align: right; }
.cl-right .no { font-size: clamp(20px, 1.8vw, 28px); margin-bottom: 6px; }
.cl-roman { font-size: 12px; font-weight: 500; letter-spacing: .3em; color: var(--mute); }
.cl-cue { left: 50%; bottom: 22px; width: 1px; height: 56px; translate: -50% 0; overflow: hidden; }
.cl-cue i { position: absolute; inset: 0; background: linear-gradient(rgba(255, 255, 255, .8), transparent); animation: cue 2.6s var(--io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

.glow { position: absolute; inset: 0; pointer-events: none; }

/* ---------- II. Introduction (pinned; the words light up as you scroll) ---------- */
.intro { position: relative; z-index: 2; background: var(--navy-0); box-shadow: 0 -40px 90px rgba(0, 0, 0, .55); }
.pin { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 100px var(--gut); }
.motion .intro { height: 240vh; }
.motion .intro .pin { position: sticky; top: 0; height: 100svh; }
.intro .glow { background: radial-gradient(44vmax 30vmax at 50% 64%, rgba(60, 100, 180, .2), transparent 70%), radial-gradient(70vmax 50vmax at 50% 50%, rgba(15, 34, 68, .8), transparent 72%); }
.intro .kicker { position: relative; margin-bottom: 5vh; }
.statement { position: relative; max-width: 27ch; text-align: center; font-weight: 600; font-size: clamp(30px, 3.9vw, 66px); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
.statement .w { opacity: .16; }

/* ---------- III. Contents (white page) ---------- */
.contents { position: relative; z-index: 2; padding: 20svh 0 18svh; background: var(--off); color: var(--ink); }
.c-head { padding: 0 var(--gut) 7svh; display: flex; flex-direction: column; gap: 18px; }
.c-head h2 { font-weight: 600; font-size: clamp(72px, 11vw, 190px); line-height: .95; letter-spacing: -.06em; }
.c-list { margin: 0 var(--gut); border-top: 1px solid var(--ink); }
.c-list li { border-bottom: 1px solid var(--line-l); }
.c-row {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 70px 1fr auto 56px; align-items: center; gap: 24px;
  padding: clamp(22px, 3.4svh, 40px) 18px; text-decoration: none; color: var(--ink);
}
a.c-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .7s var(--io); }
a.c-row:hover::before, a.c-row:focus-visible::before { transform: scaleY(1); transform-origin: 50% 0; }
a.c-row { transition: color .5s var(--io); }
a.c-row:hover, a.c-row:focus-visible { color: var(--white); }
.c-n { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--mute-l); transition: color .5s; }
a.c-row:hover .c-n { color: rgba(255, 255, 255, .6); }
.c-name { font-weight: 600; font-size: clamp(32px, 5vw, 84px); line-height: 1.04; letter-spacing: -.045em; transition: transform .8s var(--out); }
a.c-row:hover .c-name { transform: translateX(1vw); }
.c-kind { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mute-l); transition: color .5s; }
a.c-row:hover .c-kind { color: rgba(255, 255, 255, .65); }
.c-go { font-size: 28px; font-weight: 300; justify-self: end; transition: transform .7s var(--out); }
a.c-row:hover .c-go { transform: translateY(4px); }
a.c-row[href^="http"]:hover .c-go { transform: translate(4px, -4px); }

/* ---------- IV. Features: one panel per venture, stacking as you scroll ---------- */
.features { position: relative; z-index: 2; background: var(--navy-0); padding: 12svh var(--gut) 8svh; }
.feature {
  --k: 0;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: 4vw;
  min-height: calc(100svh - 120px); margin-bottom: 3vh; padding: clamp(32px, 4.6vw, 84px);
  border-radius: 34px; border: 1px solid rgba(255, 255, 255, .08);
  background: var(--bg); transform-origin: 50% 0;
}
.feature::after { content: ""; position: absolute; inset: 0; z-index: 9; border-radius: inherit; background: #02060e; opacity: calc(var(--k) * .62); pointer-events: none; }
.f1 { --bg: radial-gradient(60% 70% at 84% 34%, rgba(70, 120, 220, .42), transparent 70%), linear-gradient(155deg, #0e2350, #081530 70%); }
.f2 { --bg: radial-gradient(60% 70% at 80% 66%, rgba(80, 140, 210, .32), transparent 70%), linear-gradient(155deg, #0b1d3c, #06122a 70%); }
.f3 { --bg: radial-gradient(60% 70% at 84% 40%, rgba(108, 112, 232, .34), transparent 70%), linear-gradient(155deg, #121944, #090e2a 70%); }
.f4 { --bg: radial-gradient(70% 70% at 80% 50%, rgba(170, 190, 230, .2), transparent 70%), linear-gradient(155deg, #0c1830, #050b17 70%); }

.f-top { display: flex; align-items: center; gap: 16px; }
.f-n { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--mute); }
.f-name { font-weight: 600; font-size: clamp(46px, 6.2vw, 108px); line-height: .98; letter-spacing: -.055em; margin: 22px 0 20px; padding-bottom: .04em;
  background: linear-gradient(180deg, #ffffff 40%, #c3cee2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.f-name.long { font-size: clamp(40px, 4.6vw, 80px); }
.f-lede { font-size: clamp(21px, 1.9vw, 30px); font-weight: 500; line-height: 1.2; letter-spacing: -.025em; max-width: 24ch; }
.f-body { margin-top: 18px; max-width: 46ch; font-size: clamp(16px, 1.15vw, 18px); color: rgba(255, 255, 255, .66); }
.f-facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 30px 0 32px; padding-top: 22px; border-top: 1px solid var(--line-d); max-width: 560px; }
.f-facts dt { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.f-facts dd { font-size: 16px; font-weight: 500; }

/* the pictures: EduSentra as the product itself, in a window set at a slight angle;
   Batool and Ponder as their websites on a phone that rises from the bottom edge of the panel */
.shot { --tilt: perspective(2200px) rotateY(-8deg) rotateX(2deg); position: relative; margin: 0; justify-self: start; width: 112%; transform: var(--tilt); transform-origin: 0 50%; transition: transform 1.2s var(--out); }
.shot img { width: 100%; height: auto; }
.browser { border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 60px 110px -30px rgba(0, 0, 0, .7), 0 0 120px rgba(90, 140, 240, .16); }
.browser .bar { position: relative; display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; background: #eef0f3; border-bottom: 1px solid rgba(10, 24, 48, .08); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3d7de; }
.browser .bar span { position: absolute; left: 50%; translate: -50% 0; width: 42%; padding: 3px 0; border-radius: 7px; background: #fff; text-align: center; font-size: 11px; font-weight: 500; letter-spacing: 0; color: #6b7487; }

.phone { --tilt: none; justify-self: center; align-self: end; width: min(60%, 330px); margin-bottom: calc(-1 * clamp(32px, 4.6vw, 84px)); container-type: inline-size; filter: drop-shadow(0 30px 70px rgba(0, 0, 0, .55)); }
.phone.batool { --top: #041f1c; }
.phone.ponder { --top: #111113; }
.phone .screen { position: relative; overflow: hidden; border: 3.4cqw solid #111216; border-bottom: 0; border-radius: 15cqw 15cqw 0 0; background: var(--top);
  box-shadow: 0 0 0 1.5px #50545e, 0 0 0 3px #15171b, 0 -30px 90px rgba(90, 140, 240, .18); }
.phone .status { position: relative; display: flex; align-items: center; justify-content: space-between; height: 11.5cqw; padding: 0 7cqw 0 9cqw; color: #fff; font-size: 4.1cqw; font-weight: 600; letter-spacing: 0; }
.phone .island { position: absolute; left: 50%; top: 2.4cqw; translate: -50% 0; width: 28cqw; height: 8cqw; border-radius: 99px; background: #000; }
.phone .status svg { width: 18cqw; height: auto; fill: currentColor; }

.motion .shot { opacity: 0; transform: perspective(2200px) rotateY(-20deg) rotateX(6deg) translate3d(70px, 40px, 0) scale(.94); transition: opacity 1.2s var(--out) .15s, transform 1.9s var(--out) .15s; }
.motion .shot.phone { transform: translate3d(0, 90px, 0); }
.motion .feature.in .shot { opacity: 1; transform: var(--tilt); }
@media (hover: hover) and (min-width: 901px) {
  .feature:hover .shot.browser { transform: perspective(2200px) rotateY(-3deg) rotateX(1deg); transition-delay: 0s; }
  .feature:hover .shot.phone { transform: translate3d(0, -12px, 0); transition-delay: 0s; }
}

/* Bukhari Ventures has no product to show yet, so its words fill the panel */
.feature.solo { align-items: center; }
.solo .f-name { font-size: clamp(56px, 7.6vw, 136px); }
.solo .f-more .f-body { margin-top: 0; }

/* ---------- V. Work together ---------- */
.together { position: relative; z-index: 2; overflow: hidden; background: var(--navy-0); padding: 10svh var(--gut) 4svh; }
.together .glow { background: radial-gradient(50vmax 36vmax at 84% 30%, rgba(60, 100, 190, .2), transparent 70%); }
.t-head { position: relative; }
.t-head h2 { font-weight: 600; font-size: clamp(56px, 8vw, 140px); line-height: .96; letter-spacing: -.055em; margin: 20px 0 24px; }
.t-lead { font-size: clamp(18px, 1.5vw, 23px); color: var(--mute); max-width: 44ch; }
.t-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 8svh; }
.desk h3 { font-weight: 600; font-size: clamp(30px, 2.8vw, 46px); line-height: 1.05; letter-spacing: -.04em; margin: 26px 0 14px; }
.d-actions.end { margin-top: auto; padding-top: 34px; }
.t-note { position: relative; margin-top: 28px; font-size: 15px; color: var(--mute); }
.t-note a { color: var(--white); text-decoration: none; border-bottom: 1px solid var(--line-d); }
.t-note a:hover { border-color: var(--white); }

/* ---------- VI. Press (white page) ---------- */
.press { position: relative; z-index: 2; background: var(--off); color: var(--ink); padding: 20svh 0 16svh; }
.press-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 6vw; padding: 0 var(--gut); border-top: 1px solid var(--ink); margin: 0 var(--gut); padding: 44px 0 0; }
.bio { font-size: clamp(20px, 1.75vw, 28px); line-height: 1.42; letter-spacing: -.02em; margin-top: 18px; max-width: 40ch; }
.press-facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-l); }
.press-facts > div:first-child { padding-top: 0; }
.press-facts dt { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--mute-l); padding-top: 4px; }
.press-facts dd { font-size: 17px; font-weight: 500; }
.press-facts a { text-decoration: none; border-bottom: 1px solid var(--line-l); }
.press-facts a:hover { border-color: var(--ink); }

/* ---------- VII. Contact ---------- */
.cta { position: relative; z-index: 2; overflow: hidden; text-align: center; padding: 24svh var(--gut) 26svh; background: var(--navy-0); }
.cta .glow { background: radial-gradient(50vmax 36vmax at 50% 100%, rgba(60, 100, 180, .26), transparent 70%), radial-gradient(70vmax 40vmax at 50% 0%, rgba(15, 34, 68, .7), transparent 70%); }
.cta > * { position: relative; }
.cta h2 { font-weight: 600; font-size: clamp(64px, 10vw, 170px); line-height: 1; letter-spacing: -.06em; margin: 22px 0 22px; }
.cta-sub { font-size: clamp(18px, 1.5vw, 22px); color: var(--mute); }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 34px; margin-top: 44px; }
.mail { position: relative; font-size: clamp(18px, 1.6vw, 24px); font-weight: 400; letter-spacing: -.02em; text-decoration: none; color: var(--white); padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .8s var(--out); overflow-wrap: anywhere; }
.mail:hover { background-size: 100% 1px; }

/* ---------- Contact page ---------- */
.c-hero { position: relative; overflow: hidden; padding: calc(64px + 17svh) var(--gut) 12svh; background: var(--navy-0); }
.c-hero .glow { background: radial-gradient(40vmax 30vmax at 78% 20%, rgba(70, 115, 210, .34), transparent 70%), linear-gradient(180deg, var(--navy) 0%, var(--navy-0) 85%); }
.c-hero > :not(.glow):not(.grain) { position: relative; z-index: 6; }
.c-hero h1 { font-weight: 600; font-size: clamp(66px, 11.5vw, 200px); line-height: .94; letter-spacing: -.06em; margin: 22px 0 30px; }
.lead { font-size: clamp(19px, 1.6vw, 24px); color: var(--mute); max-width: 36ch; }
.desks { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 0 var(--gut) 16svh; background: var(--navy-0); }
.desk {
  position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 380px; padding: clamp(28px, 3vw, 46px);
  border-radius: 30px; border: 1px solid rgba(255, 255, 255, .08);
  background: radial-gradient(70% 80% at 100% 0%, rgba(70, 115, 210, .22), transparent 70%), linear-gradient(155deg, #0d1f42, #071228 75%);
  transition: transform .7s var(--out), border-color .5s;
}
.desk:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .18); }
.desk h2 { font-weight: 600; font-size: clamp(30px, 2.8vw, 46px); line-height: 1.05; letter-spacing: -.04em; margin: 26px 0 14px; }
.desk > p:not(.f-top):not(.d-mail) { color: var(--mute); max-width: 42ch; }
.d-mail { margin-top: auto; padding-top: 40px; font-size: clamp(18px, 1.5vw, 23px); letter-spacing: -.02em; overflow-wrap: anywhere; }
.d-mail a { text-decoration: none; }
.d-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* ---------- Press page ---------- */
.c-hero + .press { padding-top: 12svh; }
.press-desk { padding-top: 14svh; }
.d-links { margin-top: auto; padding-top: 34px; }
.d-links li { border-top: 1px solid var(--line-d); }
.d-links li:last-child { border-bottom: 1px solid var(--line-d); }
.d-links a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; text-decoration: none; font-size: 17px; font-weight: 500; letter-spacing: -.015em; }
.d-links a span { color: var(--mute); transition: transform .5s var(--out), color .3s; }
.d-links a:hover span { transform: translate(3px, -3px); color: var(--white); }

/* ---------- Footer ---------- */
.foot { position: relative; z-index: 2; background: var(--navy-0); color: var(--mute); display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 20px 48px; padding: 30px var(--gut) max(34px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line-d); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.foot-mast { font-size: 24px; font-weight: 700; letter-spacing: -.05em; text-transform: none; color: var(--white); text-decoration: none; }
.foot-nav { display: flex; gap: 28px; }
.foot-nav a { text-decoration: none; transition: color .3s; }
.foot-nav a:hover { color: var(--white); }
.foot .no { font-size: 17px; }

/* ---------- 404 ---------- */
.lost { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; padding: 40px var(--gut); background: var(--navy-0); }
.lost-inner { position: relative; z-index: 6; }
.lost h1 { font-weight: 600; font-size: clamp(44px, 7vw, 110px); line-height: 1.02; letter-spacing: -.05em; margin: 24px 0 40px; }
.lost h1 em { font-style: normal; color: var(--mute); }
.lost .mail { display: inline-block; }

/* ---------- The card (ajb.me.uk) ---------- */
.card-page { min-height: 100svh; display: grid; place-items: center; padding: 40px 16px;
  background: radial-gradient(60vmax 50vmax at 50% 20%, rgba(32, 66, 128, .45), transparent 70%), var(--navy-0); }
.vcard { position: relative; isolation: isolate; width: min(100%, 420px); overflow: hidden; border-radius: 36px; border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, #0c1d3d 0%, #081530 42%, #050b17 100%); box-shadow: 0 70px 140px -40px rgba(0, 0, 0, .85); }
.vc-light { position: absolute; inset: 0 0 auto; height: 420px; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 30%, rgba(110, 150, 220, .38), transparent 70%); }
.vcard .grain { z-index: 1; }
.vc-top { position: absolute; top: 20px; left: 24px; right: 24px; z-index: 6; display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.vc-top .no { font-size: 16px; letter-spacing: .02em; }
.vc-top a { text-decoration: none; transition: color .3s; }
.vc-top a:hover { color: var(--white); }
.vc-hero { position: relative; height: 340px; overflow: hidden; }
.vc-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; z-index: 4; background: linear-gradient(0deg, #091631 4%, rgba(9, 22, 49, 0)); }
.vc-mast { position: absolute; top: 58px; left: 0; right: 0; z-index: 1; text-align: center; font-weight: 700; font-size: 152px; line-height: .8; letter-spacing: -.065em;
  background: linear-gradient(180deg, #ffffff 0%, #eef2f8 45%, #b9c5da 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vc-portrait { position: absolute; left: 50%; bottom: -6px; z-index: 3; width: 340px; translate: -50% 0; }
.vc-portrait img { width: 100%; height: auto; filter: drop-shadow(0 20px 34px rgba(0, 0, 0, .5)); }
.vc-body { position: relative; z-index: 5; padding: 0 24px 26px; text-align: center; }
.vc-name { font-weight: 600; font-size: 34px; line-height: 1.05; letter-spacing: -.035em; margin-top: -4px; }
.vc-role { margin: 12px 0 26px; }
.vc-save { width: 100%; justify-content: center; height: 54px; font-size: 16px; }
.vc-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.vc-actions .btn { justify-content: center; height: 46px; padding: 0; font-size: 14px; }
.vc-list { margin-top: 28px; border-top: 1px solid var(--line-d); text-align: left; }
.vc-list a, .vc-list li > div { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; padding: 15px 4px; border-bottom: 1px solid var(--line-d); text-decoration: none; }
.vc-list span { font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.vc-list em { grid-row: 2; font-style: normal; font-size: 13px; color: var(--mute); }
.vc-list i { grid-row: 1 / 3; grid-column: 2; font-style: normal; font-size: 18px; color: var(--mute); transition: transform .5s var(--out), color .3s; }
.vc-list a:hover i { transform: translate(3px, -3px); color: var(--white); }
.motion .vc-top, .motion .vc-mast, .motion .vc-portrait img, .motion .vc-body > * { opacity: 0; transform: translateY(16px); animation: up 1.1s var(--out) forwards; }
.motion .vc-mast { animation-delay: .05s; }
.motion .vc-portrait img { animation-duration: 1.6s; animation-delay: .15s; }
.motion .vc-top { animation-delay: .5s; }
.motion .vc-body > :nth-child(1) { animation-delay: .35s; }
.motion .vc-body > :nth-child(2) { animation-delay: .42s; }
.motion .vc-body > :nth-child(3) { animation-delay: .5s; }
.motion .vc-body > :nth-child(4) { animation-delay: .56s; }
.motion .vc-body > :nth-child(5) { animation-delay: .64s; }
.motion .vc-body > :nth-child(6) { animation-delay: .72s; }
@media (max-width: 500px) {
  .card-page { padding: 0; place-items: start stretch; background: var(--navy-0); }
  .vcard { width: 100%; min-height: 100svh; border: 0; border-radius: 0; box-shadow: none; }
  .vc-body { padding-bottom: max(26px, env(safe-area-inset-bottom)); }
}

/* ---------- Reveal ---------- */
.motion .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.3s var(--out), transform 1.5s var(--out); }
.motion .reveal.in { opacity: 1; transform: none; }

/* ---------- Large screens: the venture panels pin and stack ---------- */
@media (min-width: 901px) and (min-height: 760px) {
  .motion .feature { position: sticky; top: 88px; height: calc(100svh - 112px); min-height: 0; margin-bottom: 0; transform: scale(calc(1 - var(--k) * .05)); }
  .motion .feature + .feature { margin-top: 12vh; }
}

/* ---------- Tablets ---------- */
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 10px; min-height: 0; padding: 40px 32px 44px; }
  .shot { order: -1; justify-self: stretch; width: 100%; margin-bottom: 26px; --tilt: none; }
  .shot.phone { justify-self: center; align-self: auto; width: min(66%, 290px); margin: -4px 0 26px; -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, #000 86%, transparent 100%); }
  .feature.solo { align-items: start; }
  .t-grid { grid-template-columns: 1fr; }
  .press-grid { grid-template-columns: 1fr; gap: 50px; }
  .desks { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr auto; }
  .foot-nav { grid-column: 1 / -1; grid-row: 2; }
  .foot-c { grid-row: 3; }
  .foot .no { grid-row: 3; justify-self: end; }
}

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  .rail { height: 56px; grid-template-columns: auto 1fr; padding: 0 20px; letter-spacing: .14em; font-size: 11px; }
  .rail-name { display: none; }
  .rail-nav { gap: 18px; }
  .masthead { font-size: min(36vw, 30svh); top: calc(56px + 26svh); }
  .portrait { height: min(58svh, 124vw); }
  .portrait img { -webkit-mask-image: none; mask-image: none; }
  .cl-left { left: 0; right: 0; bottom: 6svh; text-align: center; }
  .cl-left .kicker { display: none; }
  .cl-name { font-size: clamp(34px, 10vw, 52px); text-shadow: 0 2px 30px rgba(0, 0, 0, .55); }
  .cl-right, .cl-cue { display: none; }
  .statement { font-size: clamp(28px, 7.6vw, 40px); }
  .c-row { grid-template-columns: 34px 1fr 24px; gap: 12px; padding-left: 4px; padding-right: 4px; }
  .c-kind { grid-column: 2; grid-row: 2; margin-top: -2px; }
  .c-go { grid-column: 3; grid-row: 1; font-size: 22px; }
  .features { padding: 10svh 14px 6svh; }
  .feature { padding: 30px 22px 34px; border-radius: 26px; margin-bottom: 14px; }
  .browser .bar { height: 24px; gap: 5px; padding: 0 10px; }
  .browser .bar i { width: 7px; height: 7px; }
  .browser .bar span { font-size: 9px; padding: 2px 0; }
  .f-name { margin: 16px 0 14px; }
  .f-facts { gap: 14px 28px; }
  .press-facts > div { grid-template-columns: 1fr; gap: 4px; }
  .desk { min-height: 0; border-radius: 26px; }
  .foot-nav { gap: 22px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cover { position: relative; }
}
