/* iklabs.ai — brand site */
:root {
  --ink: #0b0c0b;
  --ink-2: #131512;
  --ink-3: #1c1f1b;
  --line: #2a2e28;
  --lime: #a9fc26;
  --lime-dim: #7fbd1c;
  --white: #ffffff;
  --mute: #a3a89f;
  --mute-2: #6f746b;

  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Instrument Sans", "Avenir Next", system-ui, sans-serif;
  --ar: "Geeza Pro", "Noto Sans Arabic", "SF Arabic", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius-lg: 28px;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.ar { font-family: var(--ar); direction: rtl; unicode-bidi: isolate; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--lime); color: var(--ink); padding: 8px 14px; border-radius: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 16px/1 var(--body);
  padding: 16px 22px; border-radius: 999px;
  text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #bcff52; }
.btn-ghost { border-color: var(--line); color: var(--white); }
.btn-ghost:hover { border-color: var(--mute-2); }
.btn-sm { padding: 11px 16px; font-size: 15px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 12, 11, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo img { height: 26px; width: auto; }
.nav ul { display: flex; gap: 28px; list-style: none; }
.nav ul a { text-decoration: none; color: var(--mute); font-size: 15px; font-weight: 500; }
.nav ul a:hover { color: var(--white); }
@media (max-width: 760px) { .nav ul { display: none; } }
@media (max-width: 1000px) { .nav ul { gap: 20px; } }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.02; text-wrap: balance; }
.lede, .svc p { text-wrap: pretty; }
h2 { font-size: clamp(36px, 5.2vw, 64px); max-width: 18ch; }
h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.12; }
.lede { color: var(--mute); font-size: clamp(17px, 1.6vw, 19px); max-width: 56ch; margin-top: 20px; }
.darija { font-family: var(--ar); direction: rtl; text-align: left; color: var(--lime); font-size: 19px; line-height: 1.7; margin-top: 14px; }
section { padding-block: clamp(80px, 11vw, 140px); }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head .darija { margin: 0; text-align: right; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } .sec-head .darija { text-align: left; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(100svh, 980px); display: flex; align-items: center; padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 110px); overflow: hidden; }
.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; z-index: -1; background: linear-gradient(to top, var(--ink), transparent); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .95fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--mute); border: 1px solid var(--line); background: rgba(19,21,18,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 999px; }
.status b { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; }
.status .sep { width: 1px; height: 14px; background: var(--line); }
.hero h1 { font-size: clamp(48px, 5.7vw, 84px); line-height: .94; letter-spacing: -.035em; margin-top: 26px; }
.hero h1 .w { display: inline-block; white-space: nowrap; }
.hero h1 .ch { position: relative; }
.hero h1 .ch.scr { color: transparent; }
.hero h1 .ch.scr::after { content: attr(data-g); position: absolute; left: 50%; top: 0; transform: translateX(-50%); color: var(--lime); }
.hero-copy { min-width: 0; }
.hero .lede { margin-top: 26px; }
.hero .darija { font-size: 21px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(169,252,38,.55); } 70% { box-shadow: 0 0 0 9px rgba(169,252,38,0); } 100% { box-shadow: 0 0 0 0 rgba(169,252,38,0); } }

/* orbit: the team around one brain */
.orbit-wrap { display: grid; justify-items: center; gap: 44px; }
.orbit { --size: min(540px, 44vw); --r: calc(var(--size) * .4); --node: clamp(54px, 5.4vw, 72px); position: relative; width: var(--size); aspect-ratio: 1; }
.halo { position: absolute; border-radius: 50%; inset: 10%; border: 1px dashed rgba(169,252,38,.22); }
.halo.h1 { inset: 0; border-style: solid; border-color: rgba(255,255,255,.05); animation: spin 120s linear infinite reverse; }
.halo.h2 { inset: 10%; animation: spin 90s linear infinite; }
.halo.h3 { inset: 30%; border-color: rgba(169,252,38,.12); background: radial-gradient(circle, rgba(169,252,38,.10), transparent 70%); }
.ring { position: absolute; inset: 0; animation: spin 70s linear infinite; }
.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.links .base line { stroke: rgba(169,252,38,.18); stroke-width: .25; }
.links .hex { fill: none; stroke: rgba(255,255,255,.07); stroke-width: .25; }
.links .pulse line { stroke: var(--lime); stroke-width: .7; stroke-linecap: round; stroke-dasharray: 6 94; animation: flow 3.2s linear infinite; filter: drop-shadow(0 0 1.5px var(--lime)); }
.links .pulse line:nth-child(2) { animation-delay: -.6s; } .links .pulse line:nth-child(3) { animation-delay: -1.9s; }
.links .pulse line:nth-child(4) { animation-delay: -1.1s; } .links .pulse line:nth-child(5) { animation-delay: -2.5s; } .links .pulse line:nth-child(6) { animation-delay: -.3s; }
@keyframes flow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
.node { position: absolute; left: 50%; top: 50%; width: var(--node); height: var(--node); margin: calc(var(--node) / -2) 0 0 calc(var(--node) / -2); transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a))); text-decoration: none; z-index: 2; }
.ni { display: block; width: 100%; height: 100%; animation: spin 70s linear infinite reverse; }
.node img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 15%; border: 2px solid var(--ink); box-shadow: 0 0 0 1.5px rgba(169,252,38,.35), 0 10px 30px rgba(0,0,0,.6); transition: box-shadow .3s, transform .3s; }
.node b { position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); font: 600 13px/1 var(--body); background: rgba(11,12,11,.85); border: 1px solid var(--line); padding: 4px 9px; border-radius: 999px; white-space: nowrap; transition: color .2s, background-color .2s, border-color .2s; }
.node.active img, .node:hover img, .node:focus-visible img { box-shadow: 0 0 0 2.5px var(--lime), 0 0 34px 4px rgba(169,252,38,.55); transform: scale(1.1); }
.node.active b, .node:hover b { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.core { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #1d2418, #0b0c0b 70%); box-shadow: 0 0 0 1px rgba(169,252,38,.3), 0 0 80px rgba(169,252,38,.28), inset 0 0 40px rgba(169,252,38,.12); z-index: 1; overflow: hidden; }
.core-spin { position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(169,252,38,.55) 85%, transparent 100%); animation: spin 4s linear infinite; mix-blend-mode: screen; }
.core::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #182014, #0b0c0b 72%); }
.core img { position: relative; z-index: 1; width: 72%; height: auto; }
.feed { display: flex; align-items: center; gap: 12px; max-width: 100%; background: rgba(19,21,18,.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 999px; padding: 6px 18px 6px 6px; font-size: 14.5px; min-height: 48px; }
.feed img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; flex: none; }
.feed p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed b { color: var(--lime); font-weight: 600; margin-right: 4px; }
.feed span::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--lime); margin-left: 3px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { max-width: 12ch; }
  .orbit { --size: min(520px, 86vw); }
  .orbit-wrap { margin-top: 12px; }
}
@media (max-width: 520px) {
  .orbit { --node: 50px; }
  .node b { font-size: 11.5px; padding: 3px 7px; }
  .feed { font-size: 13.5px; }
  .status { font-size: 13px; }
}

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding-block: 22px; background: var(--ink); }
.track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 40s linear infinite; font: 700 clamp(30px, 4vw, 52px)/1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.track span { color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.55); }
.track span.ar { font-family: var(--ar); -webkit-text-stroke: 0; color: var(--lime); font-weight: 700; font-size: .8em; }
.track i { font-style: normal; color: var(--lime); font-size: .5em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- ask the team console ---------- */
.ask { position: relative; }
.console { position: relative; max-width: 880px; margin-inline: auto; border-radius: var(--radius-lg); background: linear-gradient(var(--ink-2), var(--ink-2)) padding-box, conic-gradient(from var(--ang, 0deg), rgba(169,252,38,.9), rgba(169,252,38,.05) 25%, rgba(169,252,38,.05) 60%, rgba(169,252,38,.9)) border-box; border: 1.5px solid transparent; box-shadow: 0 40px 140px -50px rgba(169,252,38,.35); animation: ang 6s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ang { to { --ang: 360deg; } }
.console-top { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--mute); }
.lights { display: flex; gap: 6px; } .lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); } .lights i:first-child { background: var(--lime); }
.console-note { margin-left: auto; font-size: 12.5px; color: var(--mute-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.log { padding: 22px 20px 8px; display: grid; gap: 16px; max-height: 460px; min-height: 160px; overflow-y: auto; }
.msg { display: flex; gap: 12px; align-items: flex-start; max-width: 92%; animation: pop .35s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.msg img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; flex: none; }
.msg b { font-size: 13.5px; color: var(--lime); font-weight: 600; }
.msg p, .msg li { font-size: 15.5px; line-height: 1.55; }
.msg p { margin-top: 2px; }
.msg ul { list-style: none; margin-top: 8px; display: grid; gap: 4px; }
.msg li { padding-left: 18px; position: relative; color: var(--mute); }
.msg li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--lime); }
.msg.me { margin-left: auto; flex-direction: row-reverse; }
.msg.me p { background: var(--lime); color: var(--ink); padding: 10px 14px; border-radius: 16px 16px 4px 16px; font-weight: 500; }
.msg.sys { max-width: none; justify-content: center; font-size: 13px; color: var(--mute-2); gap: 8px; align-items: center; }
.msg.sys .dot { width: 6px; height: 6px; }
.msg .btn { margin-top: 12px; }
.typing { display: inline-flex; gap: 4px; padding: 6px 0; } .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); animation: bob 1s infinite; } .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 50% { transform: translateY(-4px); opacity: .5; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 20px 16px; }
.chips button { font: 500 14px/1.2 var(--body); color: var(--white); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.chips button.ar { font-family: var(--ar); }
.chips button:hover { border-color: var(--lime); background: rgba(169,252,38,.08); }
.ask-form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.ask-form input { flex: 1; min-width: 0; font: 400 16px/1.2 var(--body); color: var(--white); background: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 14px 18px; }
.ask-form input::placeholder { color: var(--mute-2); }
.ask-form input:focus { outline: none; border-color: var(--lime); }
@media (max-width: 520px) { .console-top span:nth-child(2) { display: none; } .ask-form .btn { padding-inline: 16px; } .log { padding-inline: 14px; } .chips { padding-inline: 14px; } }

/* ---------- intro + cursor glow ---------- */
.intro { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: grid; place-items: center; pointer-events: none; animation: introOut .5s ease 1.25s forwards; }
.intro img { width: min(300px, 60vw); clip-path: inset(0 100% 0 0); animation: introLogo .9s cubic-bezier(.7,0,.2,1) .15s forwards; }
.intro-line { position: absolute; top: 50%; left: 0; height: 2px; width: 100%; background: var(--lime); box-shadow: 0 0 24px var(--lime); transform: scaleX(0); transform-origin: left; animation: introLine 1.1s cubic-bezier(.7,0,.2,1) forwards; }
@keyframes introLogo { to { clip-path: inset(0 0 0 0); } }
@keyframes introLine { 60% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
.seen .intro { display: none; }
.glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(169,252,38,.07), transparent 65%); pointer-events: none; z-index: -1; opacity: 0; transition: opacity .4s; will-change: transform; }
@media (pointer: fine) { .glow.on { opacity: 1; } }

/* heading reveal: a lime scan line uncovers each section title */
.reveal { clip-path: inset(0 100% 0 0); position: relative; }
.reveal.in { animation: uncover 1s cubic-bezier(.7,0,.2,1) forwards; }
@keyframes uncover { to { clip-path: inset(0 0 0 0); } }

/* ---------- services ---------- */
.services { border-top: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.svc-photo { position: sticky; top: 104px; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); }
.svc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.svc-photo img.on { opacity: 1; }
.svc-photo figcaption {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(11,12,11,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 14px; padding: 12px 16px; font-size: 14px;
}
.svc-photo figcaption strong { font-family: var(--display); font-size: 18px; }
.svc-photo figcaption span { color: var(--lime); }
.svc-list { list-style: none; }
.svc { padding-block: 40px; border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc-head { display: flex; align-items: center; gap: 16px; }
.svc-head img { display: none; width: 64px; height: 64px; border-radius: 16px; object-fit: cover; object-position: 50% 18%; flex: none; }
.svc .by { font-size: 15px; color: var(--mute); margin-top: 6px; }
.svc .by b { color: var(--lime); font-weight: 600; }
.svc p { color: var(--mute); margin-top: 16px; max-width: 58ch; }
.svc ul { list-style: none; margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; max-width: 640px; }
.svc ul li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.45; }
.svc ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 2px; background: var(--lime); }
.svc .talk { display: inline-block; margin-top: 22px; font-weight: 600; font-size: 15px; color: var(--lime); text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
@media (max-width: 960px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-photo { display: none; }
  .svc-head img { display: block; }
}
@media (max-width: 560px) { .svc ul { grid-template-columns: 1fr; } }

/* ---------- method ---------- */
.method { background: var(--ink-2); border-block: 1px solid var(--line); }
.legend { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--mute); margin-bottom: 28px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; line-height: 1.2; }
.tag-ai { background: var(--lime); color: var(--ink); }
.tag-human { border: 1.5px solid var(--white); color: var(--white); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; padding: 28px 24px 8px 0; position: relative; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(s); font: 700 56px/1 var(--display); color: var(--line); display: block; margin-bottom: 20px; letter-spacing: -.03em; }
.steps li.ai::before { color: var(--lime-dim); }
.steps h3 { font-size: 22px; margin: 14px 0 10px; }
.steps p { font-size: 15.5px; color: var(--mute); }
@media (max-width: 1100px) {
  .steps { grid-template-columns: 1fr 1fr; border-top: 0; gap: 0 32px; }
  .steps li, .steps li + li { padding: 28px 0; border-left: 0; border-top: 1px solid var(--line); }
  .steps li::before { font-size: 44px; margin-bottom: 14px; }
}
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* ---------- proof (placeholders) ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.slot {
  border: 1.5px dashed var(--line); border-radius: var(--radius-lg);
  padding: 28px; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.018) 14px 15px);
}
.slot .ph { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--ink); background: #ffd84d; padding: 5px 11px; border-radius: 999px; }
.slot h3 { font-size: 22px; }
.slot p { color: var(--mute); font-size: 15px; margin-top: 8px; }
.slot .metric { font: 700 44px/1 var(--display); color: var(--mute-2); letter-spacing: -.02em; }
.proof-note { margin-top: 28px; color: var(--mute); max-width: 62ch; }
@media (max-width: 960px) { .proof-grid { grid-template-columns: 1fr 1fr; } .slot:last-child { grid-column: span 2; min-height: 220px; } }
@media (max-width: 600px) { .proof-grid { grid-template-columns: 1fr; } .slot:last-child { grid-column: auto; } .slot { min-height: 230px; } }

/* ---------- team ---------- */
.team { border-top: 1px solid var(--line); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); list-style: none; }
.member figure { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); }
.member img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.member:hover img { transform: scale(1.03); }
.member figure::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(11,12,11,.92), transparent); }
.member figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.member figcaption strong { font: 700 clamp(26px, 2.8vw, 34px)/1 var(--display); letter-spacing: -.02em; display: block; }
.member figcaption span { color: var(--lime); font-size: 15px; font-weight: 600; display: block; margin-top: 6px; }
.member .quote { font-family: var(--ar); direction: rtl; color: var(--mute); font-size: 17px; line-height: 1.7; margin-top: 14px; padding-inline: 4px; }
.team-note { margin-top: 40px; padding: 22px 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--line); color: var(--mute); max-width: 760px; font-size: 15.5px; }
.team-note b { color: var(--white); }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) {
  .member figcaption { left: 14px; right: 14px; bottom: 14px; }
  .member figcaption strong { font-size: 22px; }
  .member figcaption span { font-size: 13px; }
  .member .quote { font-size: 15px; }
}

/* ---------- guide band ---------- */
.band { padding-block: 0 clamp(80px, 10vw, 120px); }
.band-card {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px 56px;
  background: var(--lime); color: var(--ink); border-radius: 36px; padding: clamp(32px, 5vw, 64px);
  overflow: hidden; position: relative;
}
.band-card h2 { color: var(--ink); max-width: 14ch; }
.band-card p { margin-top: 16px; font-size: 18px; max-width: 46ch; color: #24301a; }
.band-card .ar { font-size: 20px; margin-top: 10px; display: block; }
.band-card .btn { background: var(--ink); color: var(--white); margin-top: 28px; }
.band-card .btn:hover { background: #222; }
.band-card img { width: clamp(170px, 20vw, 240px); border-radius: 18px; transform: rotate(4deg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
@media (max-width: 760px) { .band-card { grid-template-columns: 1fr; } .band-card img { width: 180px; transform: rotate(3deg); } }

/* ---------- contact ---------- */
.contact { text-align: center; border-top: 1px solid var(--line); }
.contact h2 { font-size: clamp(44px, 8vw, 112px); max-width: none; line-height: .95; letter-spacing: -.04em; }
.contact .darija { font-size: 22px; margin-top: 22px; }
.contact .lede { margin-inline: auto; }
.contact .cta-row { justify-content: center; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding-block: 48px 40px; font-size: 14px; color: var(--mute); }
.foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-top .logo img { height: 28px; }
.foot-top p { margin-top: 12px; max-width: 34ch; }
.foot-links { display: flex; gap: 48px; flex-wrap: wrap; }
.foot-links ul { list-style: none; display: grid; gap: 8px; }
.foot-links h4 { color: var(--white); font: 600 14px/1.4 var(--body); margin-bottom: 10px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--white); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--mute-2); font-size: 13px; }

/* ---------- guide page ---------- */
.g-hero { padding-top: clamp(40px, 6vw, 80px); position: relative; isolation: isolate; overflow: hidden; }
.g-hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.g-from { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: var(--mute); }
.g-from img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.g-from b { color: var(--white); font-weight: 600; }
.g-hero h1 { font-size: clamp(52px, 8vw, 110px); line-height: .92; letter-spacing: -.04em; margin-top: 24px; }
.g-hero h1 .x { color: var(--lime); }
.g-hero .ar-title { font-family: var(--ar); direction: rtl; font-size: clamp(24px, 3vw, 34px); line-height: 1.5; font-weight: 700; margin-top: 18px; text-align: left; }
.g-hero .ar-title span { color: var(--lime); }
.g-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.g-meta span { font-size: 14px; color: var(--mute); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.g-cover { position: relative; justify-self: center; }
.g-cover { perspective: 1000px; }
.g-cover img { animation: float 7s ease-in-out infinite; width: min(380px, 100%); border-radius: 22px; box-shadow: 0 50px 120px -30px rgba(169,252,38,.28), 0 0 0 1px var(--line); }
.g-hero .btn-lime { font-size: 17px; padding: 18px 26px; }
.toc { list-style: none; counter-reset: c; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; direction: rtl; }
.toc li { counter-increment: c; font-family: var(--ar); font-size: 19px; line-height: 1.6; padding: 18px 0; border-top: 1px solid var(--line); display: flex; gap: 18px; align-items: baseline; }
.toc li::before { content: counter(c, decimal-leading-zero); font: 700 15px/1 var(--display); color: var(--lime); direction: ltr; flex: none; min-width: 26px; }
.g-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; counter-reset: g; }
.g-steps li { counter-increment: g; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.g-steps li::before { content: counter(g); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--lime); color: var(--ink); font: 700 15px/1 var(--display); margin-bottom: 18px; }
.g-steps h3 { font-size: 20px; }
.g-steps p { color: var(--mute); font-size: 15px; margin-top: 8px; }
.safe { margin-top: 18px; font-size: 14px; color: var(--mute-2); }
@media (max-width: 960px) {
  .g-hero .wrap { grid-template-columns: 1fr; }
  .g-cover { justify-self: start; }
  .g-cover img { width: min(300px, 80vw); }
}
@media (max-width: 760px) { .toc { grid-template-columns: 1fr; } .g-steps { grid-template-columns: 1fr; } }

/* alignment of Darija lines inside left/center layouts */
.contact .darija { text-align: center; }
.band-card .ar { text-align: left; }

/* ---------- magic layer ---------- */
/* services: portrait swaps with a scan wipe */
.svc-photo img { opacity: 1; clip-path: inset(0 0 100% 0); transition: clip-path .8s cubic-bezier(.7,0,.2,1); z-index: 0; }
.svc-photo img.prev { clip-path: inset(0); z-index: 1; transition: none; }
.svc-photo img.on { clip-path: inset(0); z-index: 2; }
.svc-photo .scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--lime); box-shadow: 0 0 18px 3px rgba(169,252,38,.7); z-index: 3; opacity: 0; }
.svc-photo .scan.go { animation: scan .8s cubic-bezier(.7,0,.2,1); }
@keyframes scan { 0% { top: 0; opacity: 1; } 95% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.svc-photo::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(to bottom, rgba(0,0,0,.12) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }
.svc-photo figcaption { z-index: 4; }
.svc { position: relative; transition: opacity .4s; }
@media (min-width: 961px) { .svc-list:hover .svc:not(:hover) { opacity: .45; } }

/* method: a signal runs through the steps */
@media (min-width: 1101px) {
  .steps { position: relative; }
  .steps::after { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 18%; background: linear-gradient(90deg, transparent, var(--lime), transparent); box-shadow: 0 0 14px var(--lime); animation: signal 4.5s cubic-bezier(.6,0,.4,1) infinite; }
}
@keyframes signal { from { transform: translateX(-100%); } to { transform: translateX(560%); } }
.steps li.ai::before { text-shadow: 0 0 24px rgba(169,252,38,.5); color: var(--lime); }

/* team: holographic cards */
.member figure { transform-style: preserve-3d; transition: transform .25s ease, box-shadow .3s; will-change: transform; }
.member figure::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(169,252,38,.28), transparent 45%), linear-gradient(115deg, transparent 35%, rgba(255,255,255,.12) 48%, transparent 60%); mix-blend-mode: screen; }
.member:hover figure { box-shadow: 0 30px 80px -30px rgba(169,252,38,.45), 0 0 0 1px rgba(169,252,38,.5); }
.member:hover figure::before { opacity: 1; }
.member .tag-id { position: absolute; top: 16px; left: 16px; z-index: 3; font: 600 12px/1 var(--body); color: var(--ink); background: var(--lime); padding: 5px 9px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.member .tag-id::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.member .tag-id.paused { background: rgba(11,12,11,.75); color: var(--mute); border: 1px solid var(--line); }
.member .tag-id.paused::before { background: var(--mute); }

/* contact: the big line glows */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 50%; top: 55%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(169,252,38,.13), transparent 60%); pointer-events: none; z-index: -1; }
.contact h2 { background: linear-gradient(100deg, #fff 30%, var(--lime) 50%, #fff 70%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s ease-in-out infinite; }
@keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .ring, .ni, .halo, .core-spin, .links .pulse line, .track, .console, .steps::after, .contact h2, .dot, .feed span::after { animation: none !important; }
  .reveal { clip-path: none; }
  .svc-photo img { transition: none; }
}

@keyframes float { 0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); } 50% { transform: rotateY(-2deg) rotateX(1deg) translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .g-cover img { animation: none; } }
