/* ============================================================================
   SIRAR by stc × DDB — pitch site
   Source of truth: Figma "SIRAR by stc — Pitch" (MKB8TUw3ZEeVuegiPrC3a9),
   pages "Foundations — Sirar (Dark)" + "Home — Sirar (Dark)".
   RULE: literal colors live only in :root; components bind to tokens/roles.
   ============================================================================ */

/* ---- STC Forward (brand font, self-hosted) ---- */
@font-face{font-family:'STC Forward';src:url('../fonts/STCForward-Light.woff') format('woff');font-weight:300;font-display:swap}
@font-face{font-family:'STC Forward';src:url('../fonts/STCForward-Regular.woff') format('woff');font-weight:400;font-display:swap}
@font-face{font-family:'STC Forward';src:url('../fonts/STCForward-Medium.woff') format('woff');font-weight:500;font-display:swap}
@font-face{font-family:'STC Forward';src:url('../fonts/STCForward-Bold.woff') format('woff');font-weight:700;font-display:swap}
@font-face{font-family:'STC Forward';src:url('../fonts/STCForward-ExtraBold.woff') format('woff');font-weight:800;font-display:swap}

:root {
  /* ---- Sirar Tokens (Figma: Sirar Tokens collection) ---- */
  --sirar-purple: #4F008C;
  --sirar-coral: #FF375E;
  --sirar-onyx: #1A2029;
  --sirar-onyx-lift: #263140;
  --sirar-silver: #8E9AA0;
  --sirar-air: #FFFFFF;
  --sirar-border: #3A4650;
  --sirar-sun: #FFDD40;
  --sirar-sunset: #FF6A39;
  --sirar-oasis: #00C48C;
  --sirar-sea: #1BCED8;
  --sirar-moon: #A54EE1;

  /* ---- DDB agency primitives (fixed) ---- */
  --ddb-yellow: #FBD10D;
  --ddb-black: #241F21;

  /* ---- Semantic roles — Sirar Dark mode (Figma: Color (Semantic)) ---- */
  --bg-page: var(--sirar-onyx);
  --bg-surface: var(--sirar-onyx-lift);
  --bg-chip: #141B26;                    /* icon-chip well (Figma chip fill) */
  --text-primary: var(--sirar-air);
  --text-muted: var(--sirar-silver);
  --text-inverse: var(--sirar-onyx);
  --border-default: var(--sirar-border);
  --brand-ddb: var(--ddb-yellow);
  --brand-client: var(--sirar-purple);
  --accent: var(--sirar-coral);
  --on-accent: var(--sirar-air);
  --ring: var(--sirar-coral);

  /* ---- Type ---- */
  --font: 'STC Forward', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-ar: 'STC Forward', 'Cairo', sans-serif;   /* STC Forward covers Arabic */

  /* ---- Space / radius / motion (Figma tokens) ---- */
  --space-xs: 8px; --space-sm: 16px; --space-md: 24px; --space-lg: 40px;
  --space-xl: 64px; --space-2xl: 96px; --space-3xl: 144px;
  --radius-sm: 4px; --radius-md: 12px; --radius-lg: 18px; --radius-xl: 28px; --radius-pill: 999px;
  --dur-fast: 200ms; --dur-med: 400ms; --dur-slow: 700ms;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --container: 1440px;
  --gutter: clamp(24px, 11.12vw, 160px);
  --content: 1120px;

  /* ---- Card system (Foundations spec: card State=Default/Hover) ---- */
  --card-border: color-mix(in srgb, var(--sirar-border) 60%, transparent);
  --card-rim-hover: rgba(217, 191, 255, 0.4);
}

/* ============================================================================
   Reset + base
   ============================================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
html.is-ar body { font-family: var(--font-ar); direction: rtl; }
/* ambient particle bed — behind all content, over the page background (js/bed.js) */
#bedFx { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

.container { width: 100%; padding-inline: var(--gutter); }
.inner { max-width: var(--content); margin-inline: auto; }
.section { padding-block: var(--space-2xl); }

/* ---- Type scale (Figma Sirar Dark) ---- */
.t-eyebrow {
  font-weight: 700; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.t-h2 { font-weight: 800; font-size: clamp(32px, 3.8vw, 54px); line-height: 1.1; letter-spacing: -0.01em; }
.t-h2 .dim { color: var(--text-muted); }
.t-h3 { font-weight: 500; font-size: clamp(22px, 2vw, 27px); line-height: 1.2; }
.t-body { font-size: 16px; line-height: 1.6; color: var(--text-muted); }

.head { max-width: var(--content); margin-inline: auto; }
.head .t-eyebrow { display: block; margin-bottom: var(--space-sm); }

/* ============================================================================
   HERO STAGE — particle scroll-gate (binary swarm: noise → eye → lock → logo)
   All chrome lives inside the section; page scroll is locked while stepping.
   ============================================================================ */
/* scroll-linked hero: the pinned stage (sticky) and the snap steps share one grid
   cell, so scroll progress drives the particle formation while native scroll-snap
   (scroll-snap-stop:always) stops the scroll on each stage — no overshoot, no skip,
   no scroll-jacking. Track height = NST × 100vh, from the steps. */
.hero-track { position: relative; display: grid; grid-template-columns: 1fr; }
.hero-steps { grid-area: 1 / 1; pointer-events: none; }
.hero-step { height: 100vh; height: 100dvh; }   /* scroll length only; stage stepping handled in JS */
@media (prefers-reduced-motion: reduce) {
  .hero-track { display: block; height: 100vh; }
  .hero-steps { display: none; }
}
.hero-stage { grid-area: 1 / 1; align-self: start; position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden;
  background:
    radial-gradient(110% 90% at 74% 45%, color-mix(in srgb, var(--sirar-purple) 30%, transparent), transparent 62%),
    var(--bg-page); }
.hero-stage #fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-stage .gridlines { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(241,234,247,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241,234,247,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(125% 110% at 50% 45%, #000 30%, transparent 84%);
  mask-image: radial-gradient(125% 110% at 50% 45%, #000 30%, transparent 84%); }
.hero-stage #cursorGlow { position: absolute; left: 0; top: 0; width: 640px; height: 640px; z-index: 1; pointer-events: none;
  transform: translate(-50%,-50%); will-change: transform;
  background: radial-gradient(circle, color-mix(in srgb, var(--sirar-moon) 14%, transparent) 0%,
    color-mix(in srgb, var(--sirar-coral) 6%, transparent) 38%, transparent 68%); }
.hero-stage .vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(130% 130% at 50% 50%, transparent 42%, color-mix(in srgb, var(--sirar-onyx) 85%, transparent) 100%); }
.hero-stage .scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none; will-change: opacity;
  background: linear-gradient(90deg, color-mix(in srgb, var(--sirar-onyx) 90%, transparent) 0%,
    color-mix(in srgb, var(--sirar-onyx) 45%, transparent) 34%, transparent 58%); }
html.is-ar .hero-stage .scrim { transform: scaleX(-1); }   /* copy sits right in RTL */

/* hero copy + stage captions (left-aligned, crossfaded per step) */
.hero-copy, .cap {
  position: absolute; left: var(--gutter); top: 50%; z-index: 4; max-width: 680px;
  opacity: 0; transform: translateY(calc(-50% + 22px)); pointer-events: none;
  transition: opacity .55s ease, transform .55s ease; will-change: opacity, transform;
}
html.is-ar .hero-copy, html.is-ar .cap { left: auto; right: var(--gutter); }
.hero-copy.is-in, .cap.is-in { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.85); margin-bottom: 26px;
}
.eyebrow-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 12px 2px var(--accent); }
.hero-copy h1, .cap h2 {
  font-weight: 800; font-size: clamp(40px, 6.6vw, 92px); line-height: 1.0; letter-spacing: -0.02em;
  text-shadow: 0 6px 60px color-mix(in srgb, var(--sirar-purple) 50%, transparent);
}
.hero-copy .accent, .cap .accent, .s4cap .accent {
  background: linear-gradient(90deg, #F1EAF7, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy .sub { margin-top: 24px; max-width: 44ch; font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.6; color: var(--text-muted); }
.cta-row { margin-top: 38px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px;
  border-radius: var(--radius-pill); font-weight: 700; font-size: 14px; letter-spacing: .02em;
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 0 40px -6px color-mix(in srgb, var(--accent) 70%, transparent);
  transition: transform var(--dur-fast), box-shadow var(--dur-med);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 56px -2px color-mix(in srgb, var(--accent) 90%, transparent); }
.btn.light { background: var(--sirar-air); color: var(--text-inverse); box-shadow: none; }
.btn.light:hover { box-shadow: 0 8px 28px rgba(0,0,0,.35); }

/* stage 4 caption — left, like the earlier stages (DDB "B" forms on the right) */
.s4cap { position: absolute; left: var(--gutter); top: 50%; z-index: 4; max-width: 680px; text-align: left;
  opacity: 0; pointer-events: none; transform: translateY(calc(-50% + 22px)); transform-origin: left center;
  transition: opacity .55s ease, transform .55s ease; will-change: opacity, transform, filter; }
html.is-ar .s4cap { left: auto; right: var(--gutter); text-align: right; transform-origin: right center; }
.s4cap.is-in { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.s4cap h2 { font-weight: 800; font-size: clamp(40px, 6.6vw, 92px); line-height: 1.0; letter-spacing: -0.02em;
  text-shadow: 0 6px 60px color-mix(in srgb, var(--sirar-purple) 50%, transparent); }
.s4cap .eyebrow-pill { margin-bottom: 22px; }

/* phase word + rail + scroll cue */
.phase { position: absolute; right: var(--gutter); bottom: 88px; z-index: 4; text-align: right;
  font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.5); }
html.is-ar .phase { right: auto; left: var(--gutter); text-align: left; }
.phase b { display: block; font-size: 15px; letter-spacing: .22em; color: #F1EAF7; margin-top: 6px; transition: opacity .6s; }
.phase b.fade { opacity: 0; }
.rail { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); z-index: 7;
  display: flex; flex-direction: column; gap: 14px; align-items: center; }
html.is-ar .rail { right: auto; left: 26px; }
.rail .d { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2);
  padding: 0; transition: background .35s, transform .35s, box-shadow .35s; }
.rail .d.on { background: var(--accent); transform: scale(1.5); box-shadow: 0 0 12px 1px var(--accent); }
.scrollcue { position: absolute; left: 50%; bottom: 28px; z-index: 5; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.42);
  opacity: 0; transition: opacity .55s ease; }
.scrollcue.is-in { opacity: 1; }
.scrollcue .bar { width: 1px; height: 34px; background: linear-gradient(var(--accent), transparent);
  animation: drop 1.8s ease-in-out infinite; }
@keyframes drop { 0%,100% { opacity:.2; transform:scaleY(.4);} 50% { opacity:1; transform:scaleY(1);} }

/* ============================================================================
   NAV — floating pill (Omer-Health style)
   ============================================================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px var(--gutter); pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav .lockup { display: flex; align-items: center; gap: 14px; }
.nav .lockup img { height: 26px; width: auto; }
.nav .lockup .x { color: var(--text-muted); font-size: 16px; }
.nav-links {
  display: flex; gap: 28px; align-items: center;
  padding: 14px 28px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--bg-chip) 90%, transparent);
  border: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(14px) saturate(1.2);
}
.nav-links a { color: rgba(255,255,255,.72); font-size: 12px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; transition: color var(--dur-fast); }
.nav-links a:hover { color: var(--accent); }
.lang-toggle { display: flex; gap: 6px; align-items: center; padding: 6px;
  border-radius: var(--radius-pill); background: rgba(255,255,255,.08); font-size: 11px; font-weight: 700; }
.lang-toggle .seg { padding: 5px 9px; border-radius: var(--radius-pill); color: var(--text-muted); }
.lang-toggle .seg.on { background: var(--sirar-air); color: var(--text-inverse); }

/* ============================================================================
   CARD SYSTEM — Foundations "card" component (Default / Hover)
   radius/lg · bg-surface · border-default 1px @60% · hover = moon→purple glow
   ============================================================================ */
.card {
  position: relative; border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--card-border);
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  overflow: hidden;
}
.card::before {           /* hover glow layer (Figma: radial moon 85% → purple 45% → 0) */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(140% 120% at 50% 0%,
    color-mix(in srgb, var(--sirar-moon) 85%, transparent) 0%,
    color-mix(in srgb, var(--sirar-purple) 45%, transparent) 40%,
    transparent 100%);
  transition: opacity var(--dur-fast) var(--ease-out);
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: var(--card-rim-hover); transform: translateY(-2px); }
.card::after {             /* HUD corner brackets — techy target-lock on hover */
  --ck: color-mix(in srgb, var(--sirar-moon) 85%, white);
  content: ''; position: absolute; inset: 10px; z-index: 1; pointer-events: none;
  opacity: 0; transform: scale(1.04);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
  background:
    linear-gradient(var(--ck), var(--ck)) left 0 top 0 / 13px 1px,
    linear-gradient(var(--ck), var(--ck)) left 0 top 0 / 1px 13px,
    linear-gradient(var(--ck), var(--ck)) right 0 top 0 / 13px 1px,
    linear-gradient(var(--ck), var(--ck)) right 0 top 0 / 1px 13px,
    linear-gradient(var(--ck), var(--ck)) left 0 bottom 0 / 13px 1px,
    linear-gradient(var(--ck), var(--ck)) left 0 bottom 0 / 1px 13px,
    linear-gradient(var(--ck), var(--ck)) right 0 bottom 0 / 13px 1px,
    linear-gradient(var(--ck), var(--ck)) right 0 bottom 0 / 1px 13px;
  background-repeat: no-repeat;
}
.card:hover::after { opacity: .85; transform: scale(1); }
.card > * { position: relative; z-index: 1; }

.icon-chip {
  width: 46px; height: 46px; border-radius: var(--radius-md);
  background: var(--bg-chip); border: 1px solid rgba(255,255,255,.08);
  display: grid; place-items: center;
}
.icon-chip .glow-dot { width: 14px; height: 14px; border-radius: 50%; }
.glow-dot { box-shadow: 0 0 10px 2px currentColor; background: currentColor; }
.hue-purple { color: var(--sirar-moon); }
.hue-coral  { color: var(--sirar-coral); }
.hue-sun    { color: var(--sirar-sun); }
.hue-sea    { color: var(--sirar-sea); }
.hue-oasis  { color: var(--sirar-oasis); }
.hue-sunset { color: var(--sirar-sunset); }

.badge {
  padding: 5px 11px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  border: 1px solid currentColor;
}
.badge--flagship { color: var(--sirar-moon); background: color-mix(in srgb, var(--sirar-moon) 12%, transparent); }
.badge--new { color: var(--sirar-oasis); background: color-mix(in srgb, var(--sirar-oasis) 12%, transparent); }

/* ============================================================================
   CLIENTS — labelled rows of logo chips (Figma Section / Clients)
   ============================================================================ */
.clients { overflow: hidden; }
.marquee-row { margin-top: var(--space-lg); }
.marquee-label { display: block; padding-inline: var(--gutter); margin-bottom: var(--space-sm);
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.marquee { position: relative; overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; padding-inline: 7px; will-change: transform;
  animation: marquee-scroll 48s linear infinite; }
.marquee-track[data-dir="rtl"] { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-chip { flex: 0 0 auto; width: 168px; height: 60px; display: grid; place-items: center;
  border-radius: var(--radius-md); background: var(--bg-surface); border: 1px solid var(--card-border);
  color: var(--text-muted); font-weight: 500; font-size: 16px;
  transition: color var(--dur-fast), border-color var(--dur-fast); }
.client-chip:hover { color: var(--text-primary); border-color: var(--card-rim-hover); }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============================================================================
   CAPABILITIES — 6-card grid (reference cards)
   ============================================================================ */
.cap-grid { margin-top: var(--space-xl); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cap-card { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.cap-card .chiprow { display: flex; align-items: center; justify-content: space-between; }
.cap-card h3 { font-weight: 500; font-size: 24px; }
.cap-card p { color: var(--text-muted); font-size: 15px; line-height: 1.55; }

/* ============================================================================
   SELECTED WORK — 6 tiles
   ============================================================================ */
.work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-md);
  max-width: var(--content); margin-inline: auto; }
.work-viewall { color: var(--accent); font-weight: 700; font-size: 14px; }
.thumb--ph { display: grid; place-items: center; }
.thumb--ph::after { content: 'SIRAR × DDB'; font-size: 12px; letter-spacing: .12em; color: var(--text-muted); font-weight: 600; }

/* Home Selected Work — featured overlay card + overlay grid (reference layout) */
.work-grid { margin-top: var(--space-xl); display: flex; flex-direction: column; gap: 24px; }
.work-ov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.work-ov { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--card-border); aspect-ratio: 16 / 10; background: var(--bg-surface); }
.work-ov--feat { aspect-ratio: 40 / 15; }
.work-ov-media { position: absolute; inset: 0; }
.work-ov-media img { width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out); }
.work-ov:hover .work-ov-media img { transform: scale(1.05); }
.work-ov::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10,13,18,.94) 0%, rgba(10,13,18,.55) 42%, rgba(10,13,18,.05) 78%); }
.work-ov-body { position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 30px; }
.work-ov--feat .work-ov-body { padding: 44px; gap: 12px; max-width: 640px; }
.work-ov-badge { position: absolute; top: 22px; left: 22px; padding: 7px 14px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.14); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.12);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.work-ov-body h3 { font-weight: 700; color: #fff; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.01em; line-height: 1.12; }
.work-ov--feat .work-ov-body h3 { font-size: clamp(26px, 3.2vw, 42px); }
.work-ov-body p { color: rgba(255,255,255,.74); font-size: 14px; line-height: 1.5; }
.work-ov--feat .work-ov-body p { font-size: 15px; max-width: 46ch; }
.work-ov-cta { margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; display: inline-flex; align-items: center; gap: 8px; transition: color var(--dur-fast); }
.work-ov:hover .work-ov-cta { color: var(--accent); }

/* Work page — horizontal list rows with brief summary (reference layout) */
.work-list { margin-top: var(--space-xl); display: flex; flex-direction: column; }
.work-row { display: grid; grid-template-columns: 360px 1fr; gap: 52px; align-items: center;
  padding: 44px 0; border-top: 1px solid var(--card-border); }
.work-row:first-child { border-top: none; padding-top: 8px; }
.work-row-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 360 / 230;
  border: 1px solid var(--card-border); background: var(--bg-surface); }
.work-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.work-row:hover .work-row-media img { transform: scale(1.05); }
.work-row-badge { position: absolute; left: 16px; bottom: 16px; padding: 8px 16px; border-radius: var(--radius-pill);
  background: rgba(15,19,25,.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.work-row-client { color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.work-row-title { margin-top: 14px; font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.01em;
  transition: color var(--dur-fast); }
.work-row:hover .work-row-title { color: var(--accent); }
.work-row-sum { margin-top: 16px; color: var(--text-muted); font-size: 16px; line-height: 1.6; max-width: 62ch; }

/* Sticky prominent back button (work page) */
.work-back { position: fixed; z-index: 90; top: 88px; inset-inline-start: 26px;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--bg-chip) 92%, transparent); backdrop-filter: blur(12px);
  border: 1px solid var(--card-border); color: var(--text-primary);
  font-size: 13px; font-weight: 700; letter-spacing: .04em; box-shadow: 0 10px 30px rgba(0,0,0,.38);
  transition: border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast) var(--ease-out); }
.work-back:hover { border-color: var(--accent); color: var(--accent); }
.work-back-arrow { transition: transform var(--dur-fast) var(--ease-out); }
.work-back:hover .work-back-arrow { transform: translateX(-3px); }
html.is-ar .work-back-arrow { transform: scaleX(-1); }
html.is-ar .work-back:hover .work-back-arrow { transform: scaleX(-1) translateX(-3px); }

/* ============================================================================
   TESTIMONIALS — 4 cards
   ============================================================================ */
.t-grid { margin-top: var(--space-xl); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.t-card { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.t-card .stars { color: var(--accent); font-size: 13px; letter-spacing: 3px; }
.t-card blockquote { color: var(--text-primary); font-size: 14.5px; line-height: 1.6; flex: 1; }
.t-card .who { display: flex; align-items: center; gap: 12px; }
.t-card .avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: var(--text-inverse); }
.t-card .who b { display: block; font-size: 14px; font-weight: 500; }
.t-card .who span { font-size: 12px; color: var(--text-muted); }
.av-oasis { background: var(--sirar-oasis); }
.av-moon { background: var(--sirar-moon); }
.av-coral { background: var(--sirar-coral); }
.av-sun { background: var(--sirar-sun); }

/* ============================================================================
   PITCH CTA — onyx + purple radial glow + glowing chip (Figma 2034:2)
   ============================================================================ */
.pitch { position: relative; text-align: center; padding-block: var(--space-3xl);
  background:
    radial-gradient(60% 85% at 50% 20%, color-mix(in srgb, var(--sirar-purple) 55%, transparent), transparent 100%),
    var(--bg-page); }
.pitch .icon-chip { margin: 0 auto var(--space-md); width: 52px; height: 52px; border-radius: 14px; }
.pitch .t-eyebrow { display: block; margin-bottom: var(--space-sm); }
.pitch h2 { font-weight: 800; font-size: clamp(34px, 4.4vw, 60px); }
.pitch p { margin: var(--space-md) auto 0; max-width: 52ch; color: var(--text-muted); }
.pitch .btn { margin-top: var(--space-lg); }

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer { border-top: 1px solid var(--card-border); padding-block: var(--space-xl) var(--space-lg); }
.footer-top { display: flex; justify-content: space-between; gap: var(--space-xl); flex-wrap: wrap;
  max-width: var(--content); margin-inline: auto; }
.footer .lockup { font-weight: 800; font-size: 24px; display: flex; gap: 10px; align-items: baseline; }
.footer .lockup .x { color: var(--text-muted); font-weight: 400; }
.footer-cols { display: flex; gap: var(--space-2xl); }
.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col .t-eyebrow { color: var(--text-muted); margin-bottom: 4px; }
.footer-col a, .footer-col span { color: var(--text-muted); font-size: 15px; }
.footer-col a:hover { color: var(--text-primary); }
.footer-divider { height: 1px; background: var(--card-border); max-width: var(--content);
  margin: var(--space-lg) auto; }
.footer-legal { display: flex; justify-content: space-between; gap: var(--space-md);
  max-width: var(--content); margin-inline: auto; color: var(--text-muted); font-size: 13px; }

/* ============================================================================
   Reveal-on-scroll
   ============================================================================ */
.reveal { opacity: 0; transform: translateY(32px) scale(.985); filter: blur(14px);
  transition: opacity .85s cubic-bezier(.22,1,.36,1), transform .85s cubic-bezier(.22,1,.36,1),
              filter .95s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform, filter; }
.reveal.is-in { opacity: 1; transform: none; filter: blur(0); }

/* progressive image sharpen — content images blur-up as they load (site.js tags them) */
.blur-up { filter: blur(18px); transform: scale(1.05); opacity: .6;
  transition: filter .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1),
              opacity .9s ease; will-change: filter, transform, opacity; }
.blur-up.is-sharp { filter: blur(0); transform: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .blur-up { filter: none; transform: none; opacity: 1; transition: none; }
  .scrollcue .bar { animation: none; }
}

/* ============================================================================
   PREMIUM MOTION — page-transition curtain + nav-on-scroll
   ============================================================================ */
/* Staggered slat wipe: 5 vertical panels sweep bottom→top, brand mark flashes
   mid-cover. Slats are injected by site.js (inline animation-delay per slat). */
.page-curtain { position: fixed; inset: 0; z-index: 500; pointer-events: none; }
.page-curtain .pc-slat { position: absolute; top: 0; bottom: 0; width: calc(20% + 1.5px);
  background: linear-gradient(180deg, #2B0650 0%, var(--sirar-purple) 55%, #6314A6 100%);
  transform: translateY(0); animation: slatOut .85s cubic-bezier(.87,0,.13,1) forwards; }
.page-curtain .pc-slat::before,                        /* coral leading/trailing hairlines */
.page-curtain .pc-slat::after { content: ''; position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--sirar-coral), var(--sirar-moon)); }
.page-curtain .pc-slat::before { top: -2px; }
.page-curtain .pc-slat::after { bottom: -2px; }
@keyframes slatOut { 0%, 14% { transform: translateY(0); } 100% { transform: translateY(-101.5%); } }
.page-curtain.cover { pointer-events: all; }
.page-curtain.cover::before { content: ''; position: absolute; inset: 0;   /* dim veil under the slats */
  background: rgba(10, 13, 18, .5); opacity: 0; animation: veilIn .3s ease forwards; }
@keyframes veilIn { to { opacity: 1; } }
.page-curtain.cover .pc-slat { animation: slatIn .5s cubic-bezier(.87,0,.13,1) both; }
@keyframes slatIn { from { transform: translateY(101.5%); } to { transform: translateY(0); } }
.pc-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  text-align: center; color: #fff; z-index: 1;
  opacity: 1; animation: pcMarkOut .4s ease .22s forwards; }
.pc-mark b { display: block; font-weight: 800; font-size: clamp(36px, 4.6vw, 62px); letter-spacing: .08em; }
.pc-mark span { display: block; margin-top: 10px; font-size: 11px; letter-spacing: .38em;
  text-transform: uppercase; color: rgba(255, 255, 255, .55); }
@keyframes pcMarkOut { to { opacity: 0; transform: translate(-50%, -54%); } }
.page-curtain.cover .pc-mark { opacity: 0; animation: pcMarkIn .45s ease .22s forwards; }
@keyframes pcMarkIn { from { opacity: 0; transform: translate(-50%, -44%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@media (prefers-reduced-motion: reduce) { .page-curtain { display: none; } }

/* page-entrance choreography (body.is-entering set by site.js on load) */
body.is-entering .nav { animation: navDrop .8s var(--ease-out) .55s backwards; }
@keyframes navDrop { from { opacity: 0; transform: translateY(-16px); } }
body.is-entering .page-hero .back,
body.is-entering .page-hero .t-eyebrow { animation: riseIn .7s var(--ease-out) .5s backwards; }
body.is-entering .page-hero h1 { animation: riseIn .9s var(--ease-out) .6s backwards; }
body.is-entering .page-hero p { animation: riseIn .9s var(--ease-out) .72s backwards; }
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } }
@media (prefers-reduced-motion: reduce) {
  body.is-entering .nav, body.is-entering .page-hero .back, body.is-entering .page-hero .t-eyebrow,
  body.is-entering .page-hero h1, body.is-entering .page-hero p { animation: none; }
}

/* scroll progress hairline (injected by site.js) */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 510; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--sirar-coral), var(--sirar-moon)); will-change: transform; }
html.is-ar .scroll-progress i { transform-origin: right; }

/* film grain — fixed, drifting fractal noise at 4% (injected by site.js) */
.grain { position: fixed; inset: -60%; z-index: 460; pointer-events: none; opacity: .04;
  mix-blend-mode: overlay;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="280" height="280"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2" stitchTiles="stitch"/></filter><rect width="280" height="280" filter="url(%23n)"/></svg>');
  animation: grainShift 7s steps(8) infinite; }
@keyframes grainShift {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -2%); }
  100% { transform: translate(0, 0); } }
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

.nav { transition: padding var(--dur-med) var(--ease-out); }
.nav.is-scrolled { padding-top: 14px; padding-bottom: 14px; }
.nav.is-scrolled .nav-links { background: color-mix(in srgb, var(--bg-chip) 97%, transparent);
  box-shadow: 0 10px 34px rgba(0,0,0,.4); }
.nav.is-scrolled .lockup { transform: scale(.94); transform-origin: left center; transition: transform var(--dur-med) var(--ease-out); }

/* ============================================================================
   Member/house modal — showreel videos
   ============================================================================ */
.member-vlabel { display: block; margin-top: 24px; font-weight: 700; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-muted); }
.reel-grid { margin-top: 14px; display: grid; gap: 18px; }
.reel-grid--multi { grid-template-columns: 1fr 1fr; }
.reel-label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 13px; color: var(--text-primary); }
.reel .film-frame { margin-top: 0; }
@media (max-width: 640px) { .reel-grid--multi { grid-template-columns: 1fr; } }

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 1000px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .t-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .work-row { grid-template-columns: 300px 1fr; gap: 32px; }
  .work-back { top: 74px; padding: 10px 16px; }
}
@media (max-width: 620px) {
  .cap-grid, .work-ov-grid, .t-grid { grid-template-columns: 1fr; }
  .work-ov { aspect-ratio: 16 / 11; }
  .work-ov--feat { aspect-ratio: 16 / 12; }
  .work-ov--feat .work-ov-body { padding: 24px; }
  .work-row { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .work-row-media { aspect-ratio: 16 / 10; }
  .hero-copy, .cap { left: 20px; right: 20px; max-width: none; }
  .phase, #cursorGlow { display: none; }
  .footer-cols { gap: var(--space-lg); flex-wrap: wrap; }
}

/* ============================================================================
   ABOUT — "The Power to Move" agency intro
   ============================================================================ */
.about { position: relative; }
/* dolly arrival — premium layered motion. The section travels in from FAR on the
   Z axis; travel and focus run on separate curves (motion lands first, focus
   resolves a breath later), and the two inner columns settle with a slight
   Z-parallax stagger. The reveal system is silenced during the arrival so the
   blur-up transitions don't fight the dolly. */
@keyframes sectionDollyMove {
  from { transform: perspective(1000px) translateZ(-2550px); }
  to   { transform: perspective(1000px) translateZ(0); }
}
@keyframes sectionDollyFocus {
  from { filter: blur(34px); opacity: 0; }
  34%  { opacity: 1; }
  to   { filter: blur(0); opacity: 1; }
}
/* arrival waits a beat (.32s) after the bloom, then travels in from deep Z */
.about.about-arrive {
  transform-origin: 50% 44%;
  animation: sectionDollyMove 1.6s cubic-bezier(.16, 1, .3, 1) .32s both,
             sectionDollyFocus 1.35s cubic-bezier(.3, .7, .2, 1) .32s both;
}
/* silence the scroll-reveal while arriving — the dolly owns the motion */
.about.about-arrive .reveal { transition: none; opacity: 1; transform: none; filter: none; }
/* Z-parallax: copy lands, metrics settle a breath behind it */
@keyframes childSettle { from { transform: translateY(26px) scale(.97); } to { transform: none; } }
.about.about-arrive .inner > * { animation: childSettle 1.3s cubic-bezier(.16, 1, .3, 1) .32s both; }
.about.about-arrive .inner > *:nth-child(2) { animation-delay: .46s; }
/* light bloom over the hero→section cut — layered like a real lens flash:
   a hot expanding core + anamorphic streak (::before) inside a wider chroma
   halo (::after) that decays slower; screen-blended so it reads as light on
   the content, not a translucent sheet. Fast attack, long decay. */
.warp-veil { position: fixed; inset: 0; z-index: 130; pointer-events: none; opacity: 0;
  mix-blend-mode: screen; }
.warp-veil.flash { opacity: 1; }
.warp-veil::before, .warp-veil::after { content: ''; position: absolute; inset: 0;
  opacity: 0; will-change: transform, opacity; }
.warp-veil::before {                          /* hot core + horizontal lens streak */
  background:
    radial-gradient(17% 14% at 50% 46%, rgba(255, 252, 255, .95), rgba(228, 200, 255, .42) 55%, transparent 76%),
    radial-gradient(46% 2.2% at 50% 46%, rgba(255, 242, 250, .55), transparent 72%);
  transform: scale(.42); }
.warp-veil::after {                           /* chroma halo: moon → purple → coral edge */
  background: radial-gradient(54% 47% at 50% 46%,
    color-mix(in srgb, var(--sirar-moon) 36%, transparent),
    color-mix(in srgb, var(--sirar-purple) 26%, transparent) 44%,
    color-mix(in srgb, var(--sirar-coral) 13%, transparent) 66%, transparent 82%);
  transform: scale(.66); }
.warp-veil.flash::before { animation: veilCore 1.05s cubic-bezier(.16, 1, .3, 1) both; }
.warp-veil.flash::after  { animation: veilHalo 1.35s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes veilCore {
  0%   { opacity: 0; transform: scale(.42); }
  8%   { opacity: 1; }
  100% { opacity: 0; transform: scale(2.7); } }
@keyframes veilHalo {
  0%   { opacity: 0; transform: scale(.66); }
  13%  { opacity: .95; }
  100% { opacity: 0; transform: scale(1.9); } }
@media (prefers-reduced-motion: reduce) {
  .about.about-arrive, .about.about-arrive .inner > * { animation: none; }
  .warp-veil { display: none; }
}
.about .inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
.about h2 { font-weight: 800; font-size: clamp(40px, 5vw, 76px); line-height: 1.0; letter-spacing: -0.02em; }
.about h2 .accent { background: linear-gradient(90deg, #F1EAF7, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.about .body { color: var(--text-muted); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; }
.about .metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--card-border); border: 1px solid var(--card-border); border-radius: var(--radius-lg); overflow: hidden; }
.about .metric { background: var(--bg-page); padding: 28px 26px; }
.about .metric b { display: block; font-weight: 800; font-size: clamp(30px, 3vw, 44px); color: var(--accent); line-height: 1; }
.about .metric span { display: block; margin-top: 10px; color: var(--text-muted); font-size: 14px; }

/* ============================================================================
   METHODOLOGY — Emotional advantage → commercial (static cards + payoff + conversion)
   ============================================================================ */
.t-h2 .hot { color: var(--accent); }

.mv-grid { margin-top: var(--space-xl); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.mv-card { padding: var(--space-lg); }
.mv-num { display: block; font-weight: 800; font-size: 13px; letter-spacing: .12em; color: var(--accent); }
.mv-card h3 { margin-top: 20px; font-weight: 600; font-size: 22px; line-height: 1.2; }
.mv-card p { margin-top: 14px; color: var(--text-muted); font-size: 15px; line-height: 1.6; }

.mv-payoff { margin-top: var(--space-md); padding: var(--space-lg) var(--space-lg) var(--space-lg) calc(var(--space-lg) - 3px);
  border-inline-start: 3px solid var(--accent); }
.mv-pay-kicker { font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.mv-pay-num { font-weight: 800; }
.mv-pay-title { margin-top: 16px; font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; }
.mv-pay-body { margin-top: 16px; color: var(--text-muted); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; max-width: 92ch; }
.mv-pay-body .em { color: var(--text-primary); font-weight: 600; }

.mv-conv { margin-top: var(--space-2xl); }
.mv-conv-kicker { display: block; font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.mv-conv-intro { margin-top: var(--space-md); color: var(--text-muted); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; max-width: 72ch; }
.mv-conv-list { margin-top: var(--space-lg); border: 1px solid var(--card-border); border-radius: var(--radius-lg);
  background: var(--bg-surface); overflow: hidden; }
.mv-conv-row { display: grid; grid-template-columns: 340px 1fr; gap: var(--space-lg); padding: var(--space-md) var(--space-lg); }
.mv-conv-row + .mv-conv-row { border-top: 1px solid var(--card-border); }
.mv-conv-term { font-weight: 600; font-size: 17px; }
.mv-conv-def { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* ============================================================================
   WAYS OF WORKING — Trello board
   ============================================================================ */
.trello-head { position: relative; }
.trello-logo { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-end: 0; width: 176px; height: 176px; border-radius: 40px;
  display: grid; place-items: center; background: linear-gradient(160deg, #338bff, #1868db);
  box-shadow: 0 32px 72px -14px rgba(24,104,219,.72); }
.trello-chips { margin-top: var(--space-lg); display: flex; flex-wrap: wrap; gap: 12px; }
.trello-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--card-border); background: var(--bg-surface); font-size: 14px; color: var(--text-primary); }
.trello-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px 1px var(--accent); }
.trello-board { margin-top: var(--space-xl); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); align-items: start; }
.trello-col { background: color-mix(in srgb, var(--bg-surface) 55%, transparent); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); padding: var(--space-md); }
.trello-col-head { display: flex; align-items: center; gap: 10px; margin-bottom: var(--space-md); font-weight: 600; font-size: 15px; }
.trello-col-count { color: var(--text-muted); font-size: 13px; font-weight: 500; }
.trello-cards { display: grid; gap: 12px; }
.trello-ticket { background: var(--bg-surface); border: 1px solid var(--card-border); border-radius: var(--radius-md); padding: 14px;
  transition: border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.trello-ticket:hover { border-color: var(--card-rim-hover); transform: translateY(-2px); }
.trello-labels { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.trello-label { font-weight: 700; font-size: 11px; padding: 3px 9px; border-radius: var(--radius-pill); color: #0b0f14; }
.trello-ticket h4 { font-weight: 600; font-size: 15px; line-height: 1.3; }
.trello-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.trello-due { color: var(--text-muted); font-size: 12px; }
.trello-avatar { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 10px; color: #0b0f14; }

/* ============================================================================
   KNOWLEDGE TRANSFER — Jeddah College of Advertising partnership
   ============================================================================ */
.kt-partner { margin-top: var(--space-xl); display: flex; align-items: center; gap: var(--space-lg);
  padding: var(--space-lg); }
.kt-logo { flex: 0 0 auto; display: flex; align-items: center; gap: 16px; padding: 18px 24px; border-radius: var(--radius-md);
  background: #fff; }
.kt-logo-mark { font-weight: 800; font-size: 34px; letter-spacing: .02em; color: #16294e; line-height: 1; }
.kt-logo-div { width: 2px; align-self: stretch; background: #16294e; opacity: .85; }
.kt-logo-name { font-weight: 700; font-size: 15px; line-height: 1.25; color: #16294e; }
.kt-logo-ar { font-weight: 500; font-size: 12px; color: #4a5a78; }
.kt-partner-title { font-weight: 600; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.3; }
.kt-partner-sub { margin-top: 8px; color: var(--text-muted); font-size: 15px; }

@media (max-width: 720px) {
  .kt-partner { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
}

/* ============================================================================
   HOW WE WORK — Scope / SLA launcher cards
   ============================================================================ */
.hww-cards { margin-top: var(--space-xl); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hww-card { padding: 40px; }
.hww-card h3 { font-weight: 500; font-size: 27px; }
.hww-card p { margin-top: var(--space-sm); color: var(--text-muted); max-width: 44ch; line-height: 1.6; }
.hww-open { display: inline-block; margin-top: var(--space-md); font-weight: 700; font-size: 14px; color: var(--accent); }
.hww-open:hover { color: #fff; }

/* ============================================================================
   PEOPLE — department accordion
   ============================================================================ */
.accordion { margin-top: var(--space-xl); border-top: 1px solid var(--card-border); }
.dept { display: flex; align-items: center; justify-content: space-between; padding: var(--space-md) 0;
  border-bottom: 1px solid var(--card-border); transition: padding-inline var(--dur-med); cursor: pointer; }
.dept:hover { padding-inline: 10px; }
.dept-title { font-weight: 500; font-size: clamp(22px, 2vw, 28px); }
.dept-meta { display: inline-flex; align-items: center; gap: 10px; color: var(--text-muted); }
.dept-count { color: var(--text-primary); font-weight: 700; }
.dept-plus { font-size: 24px; color: var(--accent); line-height: 1; }

/* ============================================================================
   CTA BAND
   ============================================================================ */
.cta-band { position: relative; text-align: center; padding-block: var(--space-3xl);
  background: radial-gradient(70% 120% at 50% 100%, color-mix(in srgb, var(--sirar-purple) 45%, transparent), transparent 100%), var(--bg-page); }
.cta-band .t-eyebrow { display: block; margin-bottom: var(--space-sm); }
.cta-band h2 { font-weight: 800; font-size: clamp(38px, 5vw, 76px); line-height: 1.02; letter-spacing: -0.02em; }
.cta-band h2 .accent { background: linear-gradient(90deg, #F1EAF7, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-band .btn { margin-top: var(--space-lg); }

/* ============================================================================
   INNER-PAGE CHROME — page hero + back link
   ============================================================================ */
.page-hero { padding-top: 180px; padding-bottom: var(--space-2xl);
  background: radial-gradient(90% 120% at 80% 0%, color-mix(in srgb, var(--sirar-purple) 26%, transparent), transparent 60%), var(--bg-page); }
.page-hero .back { display: inline-block; margin-bottom: var(--space-lg); color: var(--text-muted); font-size: 13px;
  letter-spacing: .06em; }
.page-hero .back:hover { color: var(--accent); }
.page-hero h1 { font-weight: 800; font-size: clamp(44px, 6vw, 92px); line-height: 1.0; letter-spacing: -0.02em; }
.page-hero h1 .accent { background: linear-gradient(90deg, #F1EAF7, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { margin-top: var(--space-md); max-width: 60ch; color: var(--text-muted); font-size: clamp(16px, 1.4vw, 19px); }
.filters { margin-top: var(--space-lg); display: flex; gap: 10px; flex-wrap: wrap; }
.filter { padding: 9px 18px; border-radius: var(--radius-pill); border: 1px solid var(--card-border);
  background: transparent; color: var(--text-muted); font-size: 13px; font-weight: 600; transition: all var(--dur-fast); }
.filter.is-active, .filter:hover { color: var(--text-primary); border-color: var(--card-rim-hover);
  background: color-mix(in srgb, var(--sirar-moon) 10%, transparent); }

/* ============================================================================
   PITCH PAGE — dark stage, oversized ghosted statement, floating stat cards
   ============================================================================ */
.pitch-page { position: relative; min-height: 100vh; overflow: hidden; padding: 160px var(--gutter) var(--space-3xl);
  background: radial-gradient(80% 80% at 70% 30%, color-mix(in srgb, var(--sirar-purple) 55%, transparent), transparent 70%), var(--bg-page); }
.pitch-page .pp-inner { max-width: var(--content); margin-inline: auto; position: relative; z-index: 2; }
.pitch-page .pp-badge { display: inline-block; padding: 8px 18px; border: 1px solid var(--accent); border-radius: var(--radius-pill);
  color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pitch-page h1 { margin-top: var(--space-lg); font-weight: 800; font-size: clamp(40px, 6.5vw, 108px); line-height: .98; letter-spacing: -.02em; max-width: 16ch; }
.pitch-page .pp-sub { margin-top: var(--space-md); max-width: 46ch; color: var(--text-muted); font-size: clamp(16px, 1.5vw, 20px); }
.pitch-page .pp-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--space-lg); padding: 18px 34px;
  border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 15px;
  box-shadow: 0 0 50px -8px var(--accent); transition: transform var(--dur-fast), box-shadow var(--dur-med); }
.pitch-page .pp-cta:hover { transform: translateY(-2px); box-shadow: 0 0 70px -4px var(--accent); }
.pitch-page .pp-note { margin-top: var(--space-md); color: var(--text-muted); font-size: 13px; letter-spacing: .06em; }
.pitch-page .pp-stats { margin-top: var(--space-3xl); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pp-stat { padding: 28px; }
.pp-stat b { display: block; font-weight: 800; font-size: clamp(36px, 4vw, 56px); color: var(--accent); line-height: 1; }
.pp-stat .l { display: block; margin-top: 12px; font-weight: 600; font-size: 15px; }
.pp-stat .c { display: block; margin-top: 4px; color: var(--text-muted); font-size: 13px; }

@media (max-width: 900px) {
  .about .inner { grid-template-columns: 1fr; gap: var(--space-lg); }
  .hww-cards { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .trello-board { grid-template-columns: 1fr; }
  .mv-conv-row { grid-template-columns: 1fr; gap: 6px; }
  .trello-head { display: flex; flex-direction: column; }
  .trello-logo { position: static; transform: none; order: -1; margin-bottom: var(--space-md); width: 104px; height: 104px; border-radius: 26px; }
  .pp-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .about .metrics { grid-template-columns: 1fr; }
  .pp-stats { grid-template-columns: 1fr; }
}

/* ============================================================================
   WORK TILE — play badge (real cases have Vimeo films)
   ============================================================================ */
.work-tile .thumb { position: relative; display: grid; place-items: center; }
.thumb-play { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 13px;
  backdrop-filter: blur(4px); opacity: 0; transform: scale(.9); transition: opacity var(--dur-fast), transform var(--dur-fast); }
.work-tile:hover .thumb-play { opacity: 1; transform: scale(1); }

/* ============================================================================
   CASE STUDY PAGE
   ============================================================================ */
.case-page { padding: 160px var(--gutter) var(--space-3xl);
  background: radial-gradient(80% 60% at 78% 0%, color-mix(in srgb, var(--sirar-purple) 24%, transparent), transparent 60%), var(--bg-page); }
.case-page .inner { max-width: 900px; margin-inline: auto; }
.case-page .back { display: inline-block; margin-bottom: var(--space-lg); color: var(--text-muted); font-size: 13px; letter-spacing: .06em; }
.case-page .back:hover { color: var(--accent); }
.case-page .cs-title { margin-top: 14px; font-weight: 800; font-size: clamp(34px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.02em; max-width: 20ch; }
.cs-block { margin-top: var(--space-2xl); max-width: 68ch; }
.cs-block--muted { color: var(--text-muted); }
.cs-label { display: block; font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-sm); }
.cs-block p { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.65; color: var(--text-primary); white-space: pre-line; }
.cs-block--muted p { color: var(--text-muted); }
.cs-film { margin-top: var(--space-2xl); }
.film-frame { position: relative; margin-top: var(--space-sm); aspect-ratio: 16 / 9; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--card-border); background: #000; }
.film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============================================================================
   SCOPE / SLA OVERLAYS (full-screen modals)
   ============================================================================ */
body.doc-open { overflow: hidden; }
.doc-overlay { position: fixed; inset: 0; z-index: 200; overflow-y: auto;
  background: radial-gradient(90% 60% at 80% 0%, color-mix(in srgb, var(--sirar-purple) 24%, transparent), transparent 60%), var(--bg-page);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), visibility var(--dur-med); }
.doc-overlay.is-open { opacity: 1; visibility: visible; transform: none; }
.doc-topbar { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; padding-top: 40px; padding-bottom: 24px;
  background: linear-gradient(var(--bg-page) 78%, transparent); }
.doc-topbar .t-eyebrow { display: block; margin-bottom: 12px; }
.doc-title { font-weight: 800; font-size: clamp(30px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.02em; }
.doc-title .accent { background: linear-gradient(90deg, #F1EAF7, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.doc-close { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--card-border); color: var(--text-primary); font-size: 16px; background: var(--bg-surface);
  transition: border-color var(--dur-fast), transform var(--dur-fast); }
.doc-close:hover { border-color: var(--accent); transform: rotate(90deg); }
.doc-body { padding-bottom: 120px; }
.doc-sub { max-width: 60ch; color: var(--text-muted); font-size: clamp(15px, 1.4vw, 18px); margin-bottom: var(--space-lg); }
.doc-body .scope-list, .doc-body .sla-cats { margin-top: var(--space-md); }

/* ============================================================================
   SCOPE OF WORK (docs.js → #docScopeList)
   ============================================================================ */
.scope-list { margin-top: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-2xl); max-width: var(--content); margin-inline: auto; }
.scope-num { font-weight: 800; font-size: 22px; color: var(--acc, var(--accent)); line-height: 1.1; }
/* project scope intro + responsibilities */
.scope-lead { color: var(--text-primary); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; max-width: 76ch; }
.scope-resp { margin-top: var(--space-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; }
.scope-resp li { position: relative; padding-inline-start: 20px; color: var(--text-muted); font-size: 15px; line-height: 1.55; }
.scope-resp li::before { content: ''; position: absolute; inset-inline-start: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
/* complexity tiers */
.scope-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.scope-tier { position: relative; padding: 28px 28px 30px; background: var(--bg-surface);
  border: 1px solid var(--card-border); border-radius: var(--radius-lg); border-inline-start: 3px solid var(--acc, var(--accent)); }
.scope-tier:last-child { grid-column: 1 / -1; }        /* "others" spans full width */
.scope-tier-head { display: flex; align-items: baseline; gap: 14px; }
.scope-tier-title { font-weight: 600; font-size: clamp(20px, 2vw, 27px); letter-spacing: -.01em; }
.scope-tier-desc { margin-top: 14px; color: var(--text-muted); font-size: 15px; line-height: 1.6; max-width: 64ch; }
.scope-deliv-label { display: block; margin-top: 20px; font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--acc, var(--accent)); }
.scope-deliv { margin-top: 12px; display: grid; gap: 9px; }
.scope-tier:last-child .scope-deliv { grid-template-columns: 1fr 1fr; gap: 9px 32px; }
.scope-deliv li { position: relative; padding-inline-start: 20px; color: var(--text-primary); font-size: 14px; line-height: 1.5; }
.scope-deliv li::before { content: ''; position: absolute; inset-inline-start: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--acc, var(--accent)); }

/* ============================================================================
   SLA (docs.js → #docSlaCats)
   ============================================================================ */
.sla-cats { margin-top: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-2xl); max-width: var(--content); margin-inline: auto; }
.sla-cat-head h3 { font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); }
.sla-cat-sub { display: block; margin-top: 6px; color: var(--text-muted); font-size: 15px; }
.sla-grid { margin-top: var(--space-lg); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sla-card { position: relative; background: var(--bg-surface); border: 1px solid var(--card-border);
  border-radius: var(--radius-lg); overflow: hidden; }
.sla-bar { position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
.sla-card-in { padding: 24px 24px 24px 26px; }
.sla-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sla-card-head h4 { font-weight: 600; font-size: 18px; }
.sla-badge { flex: 0 0 auto; padding: 5px 12px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700;
  color: var(--sirar-onyx); background: var(--accent); }
.sla-desc { margin-top: 12px; color: var(--text-muted); font-size: 14px; line-height: 1.55; }
.sla-divider { height: 1px; background: var(--card-border); margin: 18px 0; }
.sla-label { font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.sla-pr { margin-top: 12px; display: grid; gap: 12px; }
.sla-pr-grp { font-weight: 600; font-size: 13px; color: var(--text-primary); }
.sla-steps { display: grid; gap: 6px; }
.sla-steps li { position: relative; padding-inline-start: 16px; color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.sla-steps li::before { content: ''; position: absolute; inset-inline-start: 0; top: 8px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--accent); }

/* ============================================================================
   PEOPLE — department carousels of DDB-"B" photo cards
   ============================================================================ */
.pdept { margin-top: var(--space-2xl); }
.pdept-head { display: flex; align-items: center; gap: 20px; padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--card-border); }
.pdept-num { font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); color: var(--sirar-sea); flex: 0 0 auto; }
.pdept-name { font-weight: 800; font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -0.02em; }
.pdept-count { color: var(--text-muted); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pdept-toggle { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-pill); border: 1px solid var(--card-border);
  color: var(--text-primary); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: border-color var(--dur-fast), color var(--dur-fast); }
.pdept-toggle:hover { border-color: var(--card-rim-hover); color: var(--accent); }
.pdept-toggle .chev { font-size: 12px; transition: transform var(--dur-fast); }
.pdept:not(.is-open) .pdept-toggle .chev { transform: rotate(180deg); }

.pcar { position: relative; overflow: hidden; max-height: 1400px; filter: blur(0);
  transition: max-height var(--dur-slow) var(--ease-out), opacity var(--dur-med),
              margin var(--dur-slow), filter .95s cubic-bezier(.22,1,.36,1); }
.pdept:not(.is-open) .pcar { max-height: 0; opacity: 0; margin-top: 0; filter: blur(16px); }
@media (prefers-reduced-motion: reduce) { .pcar { filter: none !important; transition: none; } }
.pcar-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: var(--space-lg) 2px var(--space-md); scrollbar-width: none; }
.pcar-track::-webkit-scrollbar { display: none; }
.pcard { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start;
  background: var(--bg-surface); border: 1px solid var(--card-border); border-radius: var(--radius-xl);
  padding: 22px; display: flex; flex-direction: column;
  transition: border-color var(--dur-fast), transform var(--dur-fast); }
.pcard:hover { border-color: var(--card-rim-hover); transform: translateY(-4px); }
.pcard-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-chip); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 10px; }
.pcard-photo .ddb-b { width: 100%; height: 100%; }
.pcard-photo--logo { display: grid; place-items: center; }
.pcard-photo--logo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }
.pcard-name { margin-top: 22px; font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.pcard-role { margin-top: 8px; color: var(--accent); font-size: 14px; font-weight: 500; }
.pcard-rule { width: 44px; height: 3px; border-radius: var(--radius-pill); background: var(--sirar-sun); margin: 16px 0; }
.pcard-bio { color: var(--text-muted); font-size: 14px; line-height: 1.55; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-more { margin-top: 18px; align-self: flex-start; color: var(--text-primary);
  font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.pcard-more:hover { color: var(--accent); }
.pcar-nav { display: flex; gap: 10px; }
.pcar-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--card-border);
  color: var(--text-primary); font-size: 20px; line-height: 1; background: var(--bg-surface);
  transition: border-color var(--dur-fast), color var(--dur-fast); }
.pcar-btn:hover { border-color: var(--accent); color: var(--accent); }

/* member / house bio modal */
.member-modal { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 24px;
  background: color-mix(in srgb, var(--sirar-onyx) 82%, transparent); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity var(--dur-med), visibility var(--dur-med); }
.member-modal.is-open { opacity: 1; visibility: visible; }
.member-card { position: relative; display: flex; gap: 28px; width: min(760px, 100%); max-height: 86vh; overflow-y: auto;
  background: var(--bg-surface); border: 1px solid var(--card-border); border-radius: var(--radius-xl); padding: 32px;
  transform: translateY(14px); transition: transform var(--dur-med) var(--ease-out); }
.member-modal.is-open .member-card { transform: none; }
.member-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--card-border); color: var(--text-primary); font-size: 15px; background: var(--bg-page); }
.member-close:hover { border-color: var(--accent); }
.member-photo { flex: 0 0 200px; align-self: flex-start; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-chip); aspect-ratio: 1/1; display: grid; place-items: center; padding: 10px; }
.member-photo .ddb-b { width: 100%; height: 100%; }
.member-photo .pcard-photo--logo { width: 100%; height: 100%; }
.member-photo .pcard-photo--logo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }
.member-name { font-weight: 800; font-size: 28px; letter-spacing: -0.01em; }
.member-role { display: block; margin-top: 6px; color: var(--accent); font-size: 15px; font-weight: 500; }
.member-bio { margin-top: 18px; color: var(--text-muted); font-size: 15px; line-height: 1.65; white-space: pre-line; }

@media (max-width: 1000px) {
  .sla-grid { grid-template-columns: 1fr 1fr; }
  .pcard { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
  .sla-grid { grid-template-columns: 1fr; }
  .scope-resp, .scope-tiers, .scope-tier:last-child .scope-deliv { grid-template-columns: 1fr; }
  .pcard { flex-basis: 86%; }
  .member-card { flex-direction: column; gap: 18px; }
  .member-photo { flex-basis: auto; width: 180px; }
}
