/* ============ ALOFOUQ — Light v2 (original structure, light theme) ============ */
:root {
  --paper:    #FFFFFF;
  --bg:       #F6F4EE;   /* warm cream page bg */
  --bg-alt:   #FBF9F3;   /* lighter alt */
  --line:     #E5DDC9;
  --line-soft:rgba(14,35,72,0.10);

  --navy-900: #0E2348;  /* logo navy */
  --navy-800: #1A3461;
  --navy-700: #2A4A7E;
  --navy-300: #6B7A93;

  --blue-500: #2DA5E0;  /* logo accent */
  --blue-400: #4FB8EA;
  --blue-50:  rgba(45,165,224,0.10);

  --sand-700: #8E5E3A;
  --sand-500: #B5825C;
  --sand-300: #D9B98F;

  --ink-900: #0E2348;
  --ink-700: #324158;
  --ink-500: #5C6B82;
  --ink-400: #8593A8;

  --shadow-card: 0 22px 60px -20px rgba(14,35,72,0.18), 0 2px 6px rgba(14,35,72,0.04);
  --shadow-deep: 0 50px 120px -30px rgba(14,35,72,0.30), 0 12px 40px -10px rgba(14,35,72,0.15);

  --max: 1320px;
  --f-display: "Almarai", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink-900); }
body { font-family: var(--f-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 36px; }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px 0;
  background: transparent;
  transition: background-color .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(246,244,238,0.85);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav .row { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--navy-900); }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand .wm { font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.brand .wm small { display: block; font-family: var(--f-body); font-weight: 400; font-size: 10px; color: var(--ink-500); letter-spacing: .18em; text-transform: uppercase; margin-top: 1px; }

.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--ink-700); font-weight: 500; font-size: 14.5px; display: inline-flex; align-items: center; gap: 4px; transition: color .2s; }
.nav-links a:hover { color: var(--navy-900); }
.nav-links a .chev { width: 10px; height: 10px; opacity: .6; }

.nav-cta { display: flex; gap: 12px; align-items: center; }
.lang-toggle { color: var(--ink-700); font-size: 13px; border: 1px solid var(--line); padding: 7px 12px; border-radius: 999px; font-weight: 500; background: var(--paper); }
.lang-toggle:hover { border-color: var(--navy-900); }

/* ============ Buttons ============ */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 8px; font-weight: 600; font-size: 14.5px; letter-spacing: .01em; border: 1px solid transparent; transition: transform .15s, background-color .2s, border-color .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-800); }
.btn-blue { background: var(--blue-500); color: #fff; box-shadow: 0 10px 30px -10px rgba(45,165,224,0.45); }
.btn-blue:hover { background: var(--blue-400); }
.btn-outline { background: var(--paper); color: var(--navy-900); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy-900); }
.btn-ghost-light { background: rgba(255,255,255,0.85); color: var(--navy-900); border: 1px solid rgba(255,255,255,0.95); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: #fff; }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost-dark:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-sm { padding: 10px 16px; font-size: 13.5px; }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink-900);
  overflow: hidden;
  padding-top: 130px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 12% 20%, rgba(45,165,224,0.10), transparent 60%),
    radial-gradient(50% 50% at 90% 10%, rgba(181,130,92,0.10), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14,35,72,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,35,72,0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 35%, transparent 80%);
  pointer-events: none;
}
.mesh-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55;
  animation: drift 18s ease-in-out infinite;
  pointer-events: none;
}
.mesh-blob.b1 { width: 460px; height: 460px; background: rgba(45,165,224,0.20); top: -140px; left: -100px; }
.mesh-blob.b2 { width: 520px; height: 520px; background: rgba(181,130,92,0.16); bottom: -200px; right: -160px; animation-delay: -6s; }
.mesh-blob.b3 { width: 320px; height: 320px; background: rgba(45,165,224,0.15); top: 40%; right: 30%; animation-delay: -12s; }
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.08); }
  66% { transform: translate(-30px,40px) scale(.95); }
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1.1fr;
  gap: 64px;
  align-items: center;
  flex: 1;
}

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--navy-900);
  padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  margin-bottom: 28px;
  box-shadow: 0 2px 6px rgba(14,35,72,0.04);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 4px rgba(45,165,224,0.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(45,165,224,0.06); } }

.h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  margin: 0 0 24px;
  text-wrap: balance;
  color: var(--navy-900);
}
.h1 .word { display: inline-block; opacity: 0; transform: translateY(20px); }
.h1 .accent { color: var(--blue-500); }
.h1 .accent::after { content: "."; color: var(--sand-500); }

.hero-sub {
  color: var(--ink-500);
  font-size: 18px; line-height: 1.6;
  max-width: 560px;
  margin: 0 0 36px;
  opacity: 0; transform: translateY(10px);
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; transform: translateY(10px); }

.hero-trust { margin-top: 56px; opacity: 0; }
.hero-trust .label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; color: var(--ink-500); text-transform: uppercase; margin-bottom: 16px; }
.hero-trust .logos { display: flex; gap: 36px; align-items: center; opacity: .85; }
.hero-trust .lg { display: flex; align-items: center; gap: 8px; color: var(--ink-700); font-family: var(--f-display); font-weight: 800; font-size: 16px; letter-spacing: .03em; }
.hero-trust .lg .glyph { width: 22px; height: 22px; border-radius: 4px; background: var(--bg-alt); border: 1px solid var(--line); display: grid; place-items: center; font-size: 11px; color: var(--navy-700); }

.revealed .h1 .word { animation: wordIn .7s cubic-bezier(.2,.7,.2,1) forwards; }
.revealed .hero-sub { animation: fadeUp .7s .9s ease forwards; }
.revealed .hero-ctas { animation: fadeUp .7s 1.1s ease forwards; }
.revealed .hero-trust { animation: fadeUp .7s 1.3s ease forwards; }
.revealed .hero-photo { animation: fadeUp .9s 1.0s ease forwards; }
.revealed .mock-card.main { animation: fadeMockIn .9s 1.3s ease forwards, float 6s 2.2s ease-in-out infinite; }
@keyframes wordIn { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeMockIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ============ Hero Photo + Mockup ============ */
.hero-photo-wrap { position: relative; height: 600px; }

.hero-photo {
  position: absolute;
  inset: 0 0 0 30px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-deep);
  opacity: 0; transform: translateY(20px);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14,35,72,0.18) 100%);
  pointer-events: none;
}
.hero-photo .photo-meta {
  position: absolute; left: 24px; bottom: 24px;
  display: flex; gap: 12px; align-items: center;
  color: #fff;
  z-index: 2;
}
.hero-photo .photo-meta .dot { width: 6px; height: 6px; background: var(--blue-400); border-radius: 50%; }
.hero-photo .photo-meta .txt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }

.mock-card {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}
.mock-card.main {
  bottom: -30px;
  left: -50px;
  width: 360px;
  opacity: 0; transform: translateY(20px);
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.chrome .dots { display: flex; gap: 5px; }
.chrome .dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(14,35,72,0.10); }
.chrome .dots span:nth-child(1) { background: #ff5f57; }
.chrome .dots span:nth-child(2) { background: #febc2e; }
.chrome .dots span:nth-child(3) { background: #28c840; }
.chrome .url {
  flex: 1; height: 20px; border-radius: 5px; background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; padding: 0 8px;
  font-family: var(--f-mono); font-size: 10px; color: var(--ink-500);
}

.dash {
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.dash .full { grid-column: span 2; }
.tile {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.tile .lab { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .14em; color: var(--ink-500); text-transform: uppercase; }
.tile .num { font-family: var(--f-display); font-weight: 800; color: var(--navy-900); font-size: 22px; line-height: 1.2; margin-top: 4px; }
.tile .num .blue { color: var(--blue-500); }
.tile .delta { font-size: 10.5px; color: #2BA86A; margin-top: 3px; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 56px; margin-top: 8px; }
.bars .bar { flex: 1; background: linear-gradient(180deg, var(--blue-500), rgba(45,165,224,0.45)); border-radius: 2px 2px 0 0; }

/* ============ Marquee ============ */
.marquee-wrap {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 22px 0;
  overflow: hidden;
  margin-top: 64px;
}
.marquee {
  display: flex; gap: 60px; align-items: center;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee .lg { display: flex; align-items: center; gap: 10px; color: var(--ink-500); font-family: var(--f-display); font-weight: 800; font-size: 19px; letter-spacing: .04em; white-space: nowrap; }
.marquee .lg .gx { width: 26px; height: 26px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; color: var(--navy-700); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ Section base ============ */
section { padding: 120px 0; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .22em; color: var(--blue-500); text-transform: uppercase; margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--blue-500); }
.section-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 18px; text-wrap: balance; color: var(--navy-900); }
.section-sub { font-size: 18px; color: var(--ink-500); max-width: 640px; line-height: 1.6; margin: 0; text-wrap: pretty; }
.section-head { display: flex; flex-direction: column; margin-bottom: 64px; }
.section-head.split { flex-direction: row; align-items: end; justify-content: space-between; gap: 40px; }
.section-head.split .left { max-width: 720px; }

/* ============ Stats bar ============ */
.stats {
  background: var(--paper);
  padding: 90px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 0 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .n { font-family: var(--f-display); font-weight: 800; color: var(--navy-900); font-size: clamp(46px, 5vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.stat .n .unit { color: var(--blue-500); }
.stat .lab { color: var(--ink-500); font-size: 14.5px; margin-top: 10px; max-width: 240px; line-height: 1.45; }

/* ============ Services ============ */
.services { background: var(--bg); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
}
.svc:hover { transform: translateY(-4px); border-color: var(--blue-400); box-shadow: var(--shadow-card); }
.svc .ix {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  display: grid; place-items: center; color: #fff;
  margin-bottom: 22px; position: relative;
}
.svc .ix::after { content: ""; position: absolute; inset: -2px; border-radius: 14px; background: linear-gradient(135deg, var(--blue-500), transparent 60%); opacity: .25; z-index: -1; filter: blur(6px); }
.svc h3 { font-family: var(--f-display); font-weight: 800; font-size: 22px; margin: 0 0 10px; color: var(--navy-900); letter-spacing: -.01em; }
.svc p { color: var(--ink-500); margin: 0 0 18px; font-size: 15px; line-height: 1.55; }
.svc .meta { font-family: var(--f-mono); font-size: 11px; color: var(--blue-500); letter-spacing: .15em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.svc .meta .arrow-r { transition: transform .2s; }
.svc:hover .meta .arrow-r { transform: translateX(4px); }

.svc.featured {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  border-color: transparent;
}
.svc.featured h3 { color: #fff; }
.svc.featured p { color: rgba(255,255,255,0.7); }
.svc.featured .ix { background: linear-gradient(135deg, var(--blue-500), var(--blue-400)); }
.svc.featured .meta { color: var(--blue-400); }

/* ============ Boardroom band ============ */
.boardroom-band {
  padding: 0;
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.boardroom-band .photo {
  position: absolute; inset: 0;
}
.boardroom-band .photo img { width: 100%; height: 100%; object-fit: cover; }
.boardroom-band .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,35,72,0.92) 0%, rgba(14,35,72,0.72) 38%, rgba(14,35,72,0.15) 75%, rgba(14,35,72,0.05) 100%);
}
.boardroom-band .container {
  position: relative; z-index: 2;
  align-self: center;
  padding-top: 100px; padding-bottom: 100px;
  color: #fff;
  max-width: var(--max);
}
.boardroom-band .eyebrow { color: var(--blue-400); }
.boardroom-band .eyebrow::before { background: var(--blue-400); }
.boardroom-band h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(36px, 4.4vw, 56px); line-height: 1.08;
  letter-spacing: -.015em;
  margin: 24px 0 24px;
  max-width: 680px;
  text-wrap: balance;
}
.boardroom-band p { color: rgba(255,255,255,0.78); font-size: 18px; line-height: 1.55; max-width: 520px; margin: 0 0 32px; }
.boardroom-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.boardroom-band .signature {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.18);
  max-width: 520px;
  display: flex; gap: 16px; align-items: center;
}
.boardroom-band .signature .who { font-family: var(--f-display); font-weight: 800; color: #fff; font-size: 15px; }
.boardroom-band .signature .role { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 2px; font-family: var(--f-mono); letter-spacing: .04em; }
.boardroom-band .signature .seal {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.22);
  display: grid; place-items: center; color: var(--blue-400);
  font-family: var(--f-display); font-weight: 800;
}

/* ============ Industries ============ */
.industries { background: var(--paper); }
.ind-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}
.ind-card {
  position: relative; overflow: hidden;
  border-radius: 18px;
  background: var(--bg-alt);
  color: #fff;
  cursor: pointer;
  transition: transform .35s ease;
  border: 1px solid var(--line);
}
.ind-card:hover { transform: translateY(-4px); }
.ind-card image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.ind-card img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ind-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,35,72,0.10) 0%, rgba(14,35,72,0.35) 45%, rgba(14,35,72,0.88) 100%);
  z-index: 1;
  pointer-events: none;
}
.ind-card .content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px; z-index: 2; pointer-events: none;
}
.ind-card .tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-400); margin-bottom: 8px; }
.ind-card h4 { font-family: var(--f-display); font-weight: 800; font-size: 22px; margin: 0; letter-spacing: -.005em; color: #fff; }
.ind-card .arrowi {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(8px);
  display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
  transition: background-color .2s, transform .2s;
}
.ind-card:hover .arrowi { background: var(--blue-500); transform: rotate(-45deg); border-color: var(--blue-500); }
.ind-card.size-lg { grid-column: span 3; grid-row: span 2; }
.ind-card.size-md { grid-column: span 2; }
.ind-card.size-sm { grid-column: span 2; }

.photo-ph {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(14,35,72,0.04) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, var(--bg-alt), #E8E0CB);
}
.photo-ph .label {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-500);
  letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255,255,255,0.6); padding: 4px 8px; border-radius: 3px;
  z-index: 2;
}

/* ============ Methodology ============ */
.method { background: var(--bg); position: relative; }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid; grid-template-columns: 80px 1fr; gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  position: relative;
  cursor: pointer;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .num { font-family: var(--f-display); font-weight: 800; color: var(--blue-500); font-size: 20px; letter-spacing: .04em; }
.step h4 { font-family: var(--f-display); font-weight: 800; font-size: 22px; margin: 0 0 6px; color: var(--navy-900); }
.step p { color: var(--ink-500); margin: 0; font-size: 15px; max-height: 0; overflow: hidden; transition: max-height .35s ease, margin-top .25s, opacity .3s; opacity: 0; }
.step.open p { max-height: 200px; margin-top: 6px; opacity: 1; }
.step .toggle { position: absolute; right: 0; top: 32px; color: var(--ink-500); transition: transform .25s, color .25s; }
.step.open .toggle { transform: rotate(45deg); color: var(--blue-500); }

.method-aside {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  position: sticky; top: 100px;
  box-shadow: var(--shadow-card);
}
.method-aside .badge { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--blue-500); text-transform: uppercase; margin-bottom: 14px; }
.method-aside h5 { font-family: var(--f-display); font-size: 24px; font-weight: 800; margin: 0 0 14px; line-height: 1.2; color: var(--navy-900); }
.method-aside p { color: var(--ink-500); font-size: 15px; margin: 0 0 22px; }
.method-aside ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 12px; }
.method-aside li { display: flex; gap: 10px; color: var(--ink-700); font-size: 14.5px; }
.method-aside li::before { content: "→"; color: var(--blue-500); }

/* ============ Cases ============ */
.cases { background: var(--paper); border-top: 1px solid var(--line); }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.case {
  background: var(--bg-alt);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.case .photo { aspect-ratio: 16/9; position: relative; background: var(--bg-alt); overflow: hidden; }
.case .photo image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.case .photo img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case .meta-row {
  position: absolute; top: 16px; left: 16px; right: 16px; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
}
.case .chip {
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--navy-900); padding: 6px 10px; border-radius: 999px; font-weight: 600;
}
.case .duration { color: #fff; font-family: var(--f-mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.case .body { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; background: var(--paper); }
.case h3 { font-family: var(--f-display); font-weight: 800; font-size: 22px; margin: 0; color: var(--navy-900); letter-spacing: -.01em; }
.case .quote { color: var(--ink-700); font-size: 15.5px; line-height: 1.55; margin: 0; font-style: italic; }
.case .results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); margin-top: auto; }
.case .results .k { font-family: var(--f-display); font-weight: 800; font-size: 24px; color: var(--blue-500); letter-spacing: -.01em; }
.case .results .l { font-size: 12px; color: var(--ink-500); line-height: 1.3; margin-top: 2px; }

/* ============ Testimonials ============ */
.testi { background: var(--bg); }
.testi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  display: flex; flex-direction: column; gap: 24px;
}
.quote-card.feature {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff;
  border-color: transparent;
  grid-row: span 2;
  position: relative; overflow: hidden;
}
.quote-card.feature::after {
  content: ""; position: absolute; right: -100px; top: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45,165,224,0.28), transparent 70%);
  pointer-events: none;
}
.quote-card .mark {
  font-family: var(--f-display); font-weight: 800; font-size: 60px; line-height: .8; color: var(--blue-500);
}
.quote-card.feature .mark { color: var(--blue-400); }
.quote-card blockquote {
  margin: 0; font-family: var(--f-display); font-weight: 800;
  font-size: 19px; line-height: 1.4; color: var(--navy-900);
  letter-spacing: -.005em; text-wrap: pretty;
}
.quote-card.feature blockquote { color: #fff; font-size: 26px; }
.quote-card .who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote-card .avatar-fallback { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-700), var(--blue-500)); display: grid; place-items: center; color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 16px; flex-shrink: 0; }
.quote-card.feature .avatar-fallback { background: linear-gradient(135deg, var(--blue-500), var(--sand-300)); }
.quote-card .name { font-weight: 600; font-size: 15px; color: var(--navy-900); }
.quote-card.feature .name { color: #fff; }
.quote-card .role { font-size: 13px; color: var(--ink-500); margin-top: 2px; }
.quote-card.feature .role { color: rgba(255,255,255,0.65); }

/* ============ CTA ============ */
.cta-banner { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 100% at 90% 50%, rgba(45,165,224,0.28), transparent 60%),
    radial-gradient(50% 80% at 10% 50%, rgba(181,130,92,0.22), transparent 60%);
}
.cta-banner .container { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; }
.cta-banner h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -.018em; text-wrap: balance; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 18px; margin: 0 0 28px; max-width: 540px; }
.cta-banner .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-stat {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 28px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
}
.cta-stat .label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--blue-400); text-transform: uppercase; margin-bottom: 18px; }
.cta-stat .field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.cta-stat .field input { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.18); border-radius: 8px; padding: 14px 16px; color: #fff; font-family: inherit; font-size: 15px; outline: none; transition: border-color .2s; }
.cta-stat .field input::placeholder { color: rgba(255,255,255,0.4); }
.cta-stat .field input:focus { border-color: var(--blue-400); }
.cta-stat .btn { width: 100%; justify-content: center; }
.cta-stat .small { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 12px; text-align: center; }

/* ============ Footer ============ */
.footer { background: var(--bg); color: var(--ink-700); padding: 80px 0 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer .brand { color: var(--navy-900); margin-bottom: 18px; }
.footer .tagline { color: var(--ink-500); font-size: 14.5px; line-height: 1.6; max-width: 320px; margin-bottom: 22px; }
.footer .socials { display: flex; gap: 10px; }
.footer .socials a {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--paper); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-700);
  transition: background-color .2s, color .2s, border-color .2s;
}
.footer .socials a:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.footer h6 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-500); margin: 0 0 16px; font-weight: 500; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer li a { color: var(--ink-700); font-size: 14.5px; transition: color .2s; }
.footer li a:hover { color: var(--blue-500); }
.footer .legal { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-500); }
.footer .legal .links { display: flex; gap: 22px; }

/* ============ Reveal on scroll (keyframe-based to survive iframe throttling) ============ */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; }
.reveal.in { animation: revealUp .8s ease forwards; }
.reveal.in.d1 { animation-delay: .08s; }
.reveal.in.d2 { animation-delay: .16s; }
.reveal.in.d3 { animation-delay: .24s; }
.reveal.in.d4 { animation-delay: .32s; }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo-wrap { height: 480px; }
  .ind-grid { grid-template-columns: repeat(4, 1fr); }
  .ind-card.size-lg { grid-column: span 4; grid-row: span 2; }
  .ind-card.size-md, .ind-card.size-sm { grid-column: span 2; }
  .cta-banner .container { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 740px) {
  .container { padding: 0 20px; }
  section { padding: 80px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .stat { padding: 0 16px; border-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: 0; padding-top: 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .ind-card.size-lg { grid-column: span 2; }
  .case-grid, .testi-row { grid-template-columns: 1fr; }
  .quote-card.feature { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mock-card.main { left: 10px; width: 280px; }
  .hero-photo { inset: 0; }
  .boardroom-band .scrim { background: linear-gradient(180deg, rgba(14,35,72,0.85), rgba(14,35,72,0.75)); }
}
