/* ============================================================
   Ollo Partnerships - Dark Design-Studio Stylesheet
   Black canvas · bold display type · image-led sections
   Type: Space Grotesk (display) + Inter (body)
   ============================================================ */

:root {
  --black:      #000000;
  --bg:         #050507;
  --surface:    #0d0d11;
  --surface-2:  #131318;
  --white:      #ffffff;
  --muted:      #8b8b93;
  --muted-2:    #5e5e66;
  --line:       rgba(255, 255, 255, 0.10);
  --line-soft:  rgba(255, 255, 255, 0.06);

  --accent:     #5b8cff;
  --accent-2:   #9d6bff;
  --grad: linear-gradient(120deg, #5b8cff 0%, #9d6bff 100%);

  --font-display: "Space Grotesk", "Inter", -apple-system, sans-serif;
  --font-body:    "Inter", -apple-system, "Segoe UI", sans-serif;

  --container: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--white);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Layout ---------- */

.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.section { padding: 140px 0; position: relative; }
.section--tight { padding: 96px 0; }
.section--flush { padding: 0; }

/* ---------- Typography ---------- */

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--grad);
}

.h-hero { font-size: clamp(52px, 9vw, 150px); letter-spacing: -0.04em; }
.h-xl   { font-size: clamp(44px, 7vw, 104px); letter-spacing: -0.04em; }
.h-lg   { font-size: clamp(36px, 5.2vw, 76px); }
.h-md   { font-size: clamp(26px, 3vw, 40px); }
.h-sm   { font-size: clamp(21px, 2vw, 26px); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lede {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.65;
  color: var(--muted);
  max-width: 620px;
}
.measure { max-width: 760px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 34px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.btn--solid { background: var(--white); color: var(--black); }
.btn--solid:hover { transform: translateY(-2px); }

.btn--grad { background: var(--grad); color: #fff; background-size: 160% 160%; }
.btn--grad:hover { transform: translateY(-2px); background-position: 100% 100%; }

.btn--ghost { border-color: var(--line); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.04); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
  transition: gap 0.35s var(--ease), color 0.35s var(--ease);
}
.text-link .arrow { color: var(--accent); transition: transform 0.35s var(--ease); }
.text-link:hover { gap: 16px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
              border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(5, 5, 7, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}

.nav { display: flex; align-items: center; justify-content: space-between; height: 92px; }

.logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.logo span {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links { display: flex; align-items: center; gap: 44px; }
.nav-links a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav-links a:not(.btn):hover,
.nav-links a.is-active { color: var(--white); }
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:not(.btn):hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }
.nav .btn { padding: 13px 26px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 8px; z-index: 110;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -10% 0 0 0;
  z-index: 0;
  will-change: transform;
  background:
    radial-gradient(80% 80% at 75% 20%, rgba(91,140,255,0.22), transparent 60%),
    radial-gradient(70% 70% at 20% 80%, rgba(157,107,255,0.18), transparent 60%),
    var(--bg);
}
.hero-bg img { width: 100%; height: 120%; object-fit: cover; opacity: 0.55; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(5,5,7,0.35), rgba(5,5,7,0.9) 70%),
    linear-gradient(180deg, rgba(5,5,7,0.4) 0%, rgba(5,5,7,0.95) 92%);
}
.hero-inner { position: relative; z-index: 2; max-width: 1100px; }
.hero h1 { margin-bottom: 36px; }
.hero .lede { margin-bottom: 48px; font-size: clamp(18px, 1.7vw, 23px); max-width: 680px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  left: 40px; bottom: 40px;
  z-index: 2;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted-2);
  display: flex; align-items: center; gap: 12px;
}
.scroll-cue::after { content: ""; width: 48px; height: 1px; background: var(--line); }

/* ---------- Page hero (inner) ---------- */

.page-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  padding: 200px 0 90px;
  overflow: hidden;
}
.page-hero .hero-bg img { opacity: 0.5; }
.page-hero-inner { position: relative; z-index: 2; width: 100%; }
.page-hero .h-hero { margin-bottom: 28px; max-width: 14ch; }
.page-hero .lede { margin-bottom: 0; }
.page-hero-meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; flex-wrap: wrap;
}

/* ---------- Marquee strip ---------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 56px;
  animation: marquee 28s linear infinite;
  will-change: transform;
}
.marquee span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 38px);
  letter-spacing: -0.02em;
  color: var(--muted-2);
  display: inline-flex; align-items: center; gap: 56px;
}
.marquee span::after { content: "✦"; color: var(--accent); font-size: 0.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Intro / stats ---------- */

.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 100px; align-items: start; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--bg); padding: 40px 34px; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 4vw, 58px); line-height: 1; margin-bottom: 12px; }
.stat .num span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .label { font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }

/* ---------- Section headers ---------- */

.section-head { margin-bottom: 80px; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; flex-wrap: wrap; }

/* ---------- Service rows (home) ---------- */

.service-rows { border-top: 1px solid var(--line); }
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.5s var(--ease);
}
.service-row .index { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--muted-2); }
.service-row h3 { font-size: clamp(30px, 4vw, 56px); transition: transform 0.5s var(--ease); }
.service-row:hover h3 { transform: translateX(14px); }
.service-row:hover h3 .grad-text { transition: none; }
.service-row .row-meta { display: flex; flex-direction: column; gap: 22px; }
.service-row .row-meta p { color: var(--muted); font-size: 15.5px; max-width: 460px; }
.service-row .row-thumb {
  position: absolute;
  right: 96px; top: 50%;
  transform: translateY(-50%) scale(0.9);
  width: 360px; height: 220px;
  border-radius: 10px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
  z-index: 3;
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
}
.service-row .row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-row:hover .row-thumb { opacity: 1; transform: translateY(-50%) scale(1); }

/* ---------- Why Ollo ---------- */

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why-item { background: var(--bg); padding: 52px 44px; transition: background 0.4s var(--ease); }
.why-item:hover { background: var(--surface); }
.why-item .tick {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--accent); margin-bottom: 28px; display: inline-block;
}
.why-item h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 16px; }
.why-item p { color: var(--muted); font-size: 15.5px; }

/* ---------- Process ---------- */

.process-list { border-top: 1px solid var(--line); }
.process-step {
  display: grid; grid-template-columns: 160px 1fr 1.4fr; gap: 48px;
  padding: 52px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.process-step .num { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--muted-2); }
.process-step h3 { font-size: clamp(26px, 3vw, 40px); }
.process-step p { color: var(--muted); font-size: 16px; }

/* ---------- Image feature band ---------- */

.feature {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.feature-bg {
  position: absolute; inset: -10% 0 0 0; z-index: 0; will-change: transform;
  background:
    radial-gradient(70% 70% at 70% 30%, rgba(91,140,255,0.20), transparent 60%),
    radial-gradient(60% 60% at 25% 75%, rgba(157,107,255,0.16), transparent 60%),
    var(--surface);
}
.feature-bg img { width: 100%; height: 120%; object-fit: cover; }
.feature-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,5,7,0.92) 0%, rgba(5,5,7,0.7) 45%, rgba(5,5,7,0.25) 100%);
}
.feature--right .feature-bg::after {
  background: linear-gradient(270deg, rgba(5,5,7,0.92) 0%, rgba(5,5,7,0.7) 45%, rgba(5,5,7,0.25) 100%);
}
.feature-inner { position: relative; z-index: 2; max-width: 620px; }
.feature--right .feature-inner { margin-left: auto; text-align: right; }
.feature--right .feature-inner .eyebrow { flex-direction: row-reverse; }
.feature--right .feature-inner .eyebrow::before { background: var(--grad); }
.feature-inner h2 { margin-bottom: 24px; }
.feature-inner p { color: #c6c6cc; margin-bottom: 32px; font-size: 17px; }

/* ---------- Detail list (service pages) ---------- */

.detail-list { border-top: 1px solid var(--line); }
.detail-row {
  display: grid; grid-template-columns: 90px 1fr 1.5fr; gap: 48px;
  align-items: baseline; padding: 56px 0; border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}
.detail-row:hover { background: var(--surface); }
.detail-row .num { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--muted-2); }
.detail-row h3 { font-size: clamp(24px, 3vw, 38px); }
.detail-row p { color: var(--muted); font-size: 16px; max-width: 560px; }

/* ---------- CTA ---------- */

.cta { position: relative; overflow: hidden; text-align: center; }
.cta .h-xl { max-width: 18ch; margin: 0 auto 28px; }
.cta .lede { margin: 0 auto 48px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-glow {
  position: absolute; width: 900px; height: 900px; border-radius: 50%;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(91,140,255,0.16), rgba(157,107,255,0.08) 40%, transparent 68%);
  pointer-events: none; z-index: 0;
}
.cta .container { position: relative; z-index: 2; }

/* ---------- Footer ---------- */

.site-footer { background: var(--black); padding: 110px 0 40px; border-top: 1px solid var(--line); }
.footer-cta { margin-bottom: 90px; }
.footer-cta h2 { font-size: clamp(40px, 7vw, 110px); letter-spacing: -0.04em; max-width: 16ch; }
.footer-cta .text-link { margin-top: 36px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.site-footer .logo { margin-bottom: 20px; display: inline-block; }
.footer-tag { color: var(--muted); font-size: 15px; max-width: 320px; }
.footer-col h4 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 22px; }
.footer-col li { margin-bottom: 14px; }
.footer-col a { font-size: 15px; color: var(--muted); transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 32px; font-size: 13px; color: var(--muted-2); }

/* ---------- Scroll progress bar ---------- */

.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 200;
  pointer-events: none;
}
.scroll-progress .bar {
  height: 100%;
  background: var(--grad);
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

/* ---------- Split-text headline animation ---------- */

.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  /* breathing room so the mask never clips ink: right + left absorb the
     slanted italic overhang (top-right and bottom-left lean), top + bottom
     absorb tall caps and descenders at line-height 0.98. Negative margins
     cancel the layout shift. The reveal slides vertically (translateY 160%),
     so this horizontal room can't expose the word before it animates. */
  padding: 0.2em 0.5em 0.34em 0.45em;
  margin: -0.2em -0.5em -0.34em -0.45em;
}
.split .wi {
  display: inline-block;
  transform: translateY(160%);
  transition: transform 1s var(--ease);
  transition-delay: var(--wd, 0s);
  will-change: transform;
}
.split.is-visible .wi { transform: none; }
.wi-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Image zoom-on-reveal ---------- */

.hero-bg img, .feature-bg img {
  transform: scale(1.14);
  transition: transform 2.4s var(--ease), opacity 1.6s var(--ease);
  will-change: transform;
}
.hero-bg.in-view img, .feature-bg.in-view img { transform: scale(1); }

/* ---------- Header hide/reveal on scroll ---------- */

.site-header { transform: translateY(0); transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }

/* ---------- Hero content exit (scroll-linked) ---------- */

.hero-inner, .page-hero-inner { will-change: transform, opacity; }

/* ---------- Magnetic buttons ---------- */

.btn { will-change: transform; }

/* ============================================================
   PAGE THEMES - each service page carries its own identity.
   The accent variables cascade into buttons, gradients,
   eyebrows, underlines and glows automatically.
   ============================================================ */

/* Themed pages: lighter hero overlay so the artwork shows through,
   kept darkest on the left where the headline sits */
.theme-ai .page-hero .hero-bg::after,
.theme-marketing .page-hero .hero-bg::after,
.theme-fundraising .page-hero .hero-bg::after {
  background:
    linear-gradient(90deg, rgba(5,5,7,0.82) 0%, rgba(5,5,7,0.5) 45%, rgba(5,5,7,0.12) 100%),
    linear-gradient(180deg, transparent 55%, rgba(5,5,7,0.88) 100%);
}

/* ----- Theme: AI & Automation - electric blue, swirling code ----- */

.theme-ai {
  --accent: #38bdf8;
  --accent-2: #6366f1;
  --grad: linear-gradient(120deg, #38bdf8 0%, #6366f1 100%);
}
.theme-ai .page-hero .hero-bg {
  background:
    radial-gradient(85% 85% at 72% 35%, rgba(56, 189, 248, 0.16), transparent 60%),
    radial-gradient(70% 70% at 25% 80%, rgba(99, 102, 241, 0.14), transparent 60%),
    var(--bg);
}
.ai-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.theme-ai .feature-bg {
  background:
    radial-gradient(70% 90% at 70% 30%, rgba(56, 189, 248, 0.22), transparent 62%),
    radial-gradient(60% 60% at 20% 80%, rgba(99, 102, 241, 0.18), transparent 60%),
    repeating-linear-gradient(110deg, rgba(56, 189, 248, 0.05) 0 2px, transparent 2px 80px),
    var(--surface);
}
.theme-ai .cta-glow { background: radial-gradient(circle, rgba(56,189,248,0.16), rgba(99,102,241,0.08) 40%, transparent 68%); }

/* ----- Theme: Marketing - red, bold, sports-advert energy ----- */

.theme-marketing {
  --accent: #ff2d3a;
  --accent-2: #ff6a3d;
  --grad: linear-gradient(120deg, #ff2d3a 0%, #ff6a3d 100%);
}
.theme-marketing .page-hero h1,
.theme-marketing .footer-cta h2,
.theme-marketing .cta .h-xl {
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.045em;
}
/* The italic headline is prone to a Blink background-clip:text bug that paints
   a word as a solid red block (swallowing letters like the "B" in "Web"),
   only cleared by selecting the text. Render these letters as a solid colour
   instead - there is no background box to mis-clip, so it can never block out. */
.theme-marketing .grad-text,
.theme-marketing .wi-grad {
  background: none;
  -webkit-text-fill-color: #ff4a3a;
  color: #ff4a3a;
}
/* Uppercase italic sets ~12% wider than the default headline style,
   so step the hero size down to keep it clear of the viewport edge */
.theme-marketing .page-hero h1 { font-size: clamp(44px, 7.8vw, 128px); max-width: none; }
.theme-marketing .page-hero .hero-bg {
  background:
    radial-gradient(80% 80% at 80% 25%, rgba(255, 45, 58, 0.14), transparent 60%),
    var(--bg);
}
/* Confined to the right portion of the hero (and clipped) so the diagonal
   bars can never wash over the left-aligned headline at any width. */
.mk-slash { position: absolute; inset: 0 0 0 62%; overflow: hidden; pointer-events: none; }
.mk-slash span {
  position: absolute;
  top: -25%;
  height: 150%;
  background: var(--grad);
  transform: skewX(-22deg);
  will-change: transform;
}
.mk-slash span:nth-child(1) { right: 4%;  width: 13vw; opacity: 0.72; animation: mk-slide 9s ease-in-out infinite alternate; }
.mk-slash span:nth-child(2) { right: 22%; width: 4vw;  opacity: 0.55; filter: blur(2px); animation: mk-slide 11s ease-in-out infinite alternate-reverse; }
.mk-slash span:nth-child(3) { right: 30%; width: 1.5vw; opacity: 0.35; filter: blur(4px); animation: mk-slide 13s ease-in-out infinite alternate; }
@keyframes mk-slide { from { transform: skewX(-22deg) translateX(0); } to { transform: skewX(-22deg) translateX(-7vw); } }
.mk-word {
  position: absolute;
  right: -2%;
  bottom: 2%;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(120px, 26vw, 360px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 45, 58, 0.30);
  user-select: none;
  pointer-events: none;
  animation: mk-drift 14s ease-in-out infinite alternate;
}
@keyframes mk-drift { from { transform: translateX(0); } to { transform: translateX(-5%); } }
.theme-marketing .feature-bg {
  background:
    linear-gradient(110deg, transparent 0 55%, rgba(255, 45, 58, 0.85) 55% 70%, rgba(255, 106, 61, 0.9) 70% 73%, transparent 73%),
    radial-gradient(70% 90% at 75% 30%, rgba(255, 45, 58, 0.25), transparent 62%),
    var(--surface);
}
.theme-marketing .cta-glow { background: radial-gradient(circle, rgba(255,45,58,0.16), rgba(255,106,61,0.08) 40%, transparent 68%); }

/* ----- Theme: Fundraising - silver & wood, rising skyscraper ----- */

.theme-fundraising {
  --accent: #e3c894;
  --accent-2: #b08a5a;
  --grad: linear-gradient(120deg, #f2f4f7 0%, #e3c894 45%, #b08a5a 100%);
}
.theme-fundraising .page-hero .hero-bg {
  background:
    radial-gradient(90% 70% at 78% 16%, rgba(226, 232, 240, 0.16), transparent 60%),
    radial-gradient(75% 55% at 68% 100%, rgba(214, 168, 105, 0.30), transparent 65%),
    radial-gradient(50% 50% at 22% 75%, rgba(176, 138, 90, 0.16), transparent 60%),
    var(--bg);
}
.theme-fundraising .eyebrow { color: #d3a96f; }
.theme-fundraising .detail-row .num { color: #c89a62; }
.theme-fundraising .detail-row:hover { background: rgba(176, 138, 90, 0.07); }
.theme-fundraising .text-link .arrow { color: #d3a96f; }
.fr-tower {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 2vw;
  padding-right: 7vw;
  pointer-events: none;
}
.fr-tower span {
  display: block;
  width: 6.5vw;
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  background:
    repeating-linear-gradient(180deg, rgba(255, 232, 196, 0.14) 0 1.5px, transparent 1.5px 16px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 12px),
    linear-gradient(180deg, #eef1f5 0%, #a9b1bd 32%, #9a7c54 66%, #503d28 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    0 0 60px rgba(214, 168, 105, 0.14);
  opacity: 0.72;
  animation: fr-rise 1.8s var(--ease) both;
}
.fr-tower span:nth-child(1) { height: 36vh; animation-delay: 0.15s; }
.fr-tower span:nth-child(2) { height: 58vh; animation-delay: 0.3s; }
.fr-tower span:nth-child(3) { height: 76vh; animation-delay: 0.45s; opacity: 0.85; }
.fr-tower span:nth-child(4) { height: 50vh; animation-delay: 0.6s; }
.fr-tower span:nth-child(5) { height: 66vh; animation-delay: 0.75s; opacity: 0.78; }
@keyframes fr-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
/* warm construction-light glow along the skyline */
.fr-tower::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(214, 168, 105, 0.20), transparent 75%);
}
.fr-tower::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 236, 205, 0.09) 48%, transparent 60%);
  background-size: 250% 100%;
  animation: fr-shimmer 7s ease-in-out infinite;
}
@keyframes fr-shimmer { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
.theme-fundraising .feature-bg {
  background:
    radial-gradient(70% 90% at 72% 30%, rgba(226, 232, 240, 0.16), transparent 62%),
    radial-gradient(60% 65% at 22% 78%, rgba(214, 168, 105, 0.26), transparent 62%),
    repeating-linear-gradient(0deg, rgba(255, 236, 205, 0.05) 0 1.5px, transparent 1.5px 22px),
    linear-gradient(160deg, #11100d 0%, #16130e 100%);
}
.theme-fundraising .cta-glow { background: radial-gradient(circle, rgba(226,232,240,0.13), rgba(214,168,105,0.16) 40%, transparent 68%); }
.theme-fundraising .btn--grad { color: #14110d; }

/* ---------- Scroll reveal & parallax ---------- */

.reveal { opacity: 0; transform: translateY(44px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-fade { opacity: 0; transition: opacity 1.3s var(--ease); transition-delay: var(--d, 0s); }
.reveal-fade.is-visible { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-fade { opacity: 1; transform: none; transition: none; }
  .hero-bg, .feature-bg { transform: none !important; }
  .marquee-track { animation: none; }
  .split .wi { transform: none; transition: none; }
  .hero-bg img, .feature-bg img { transform: none; transition: none; }
  .site-header.is-hidden { transform: none; }
  .mk-slash span, .mk-word, .fr-tower span, .fr-tower::after { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .section { padding: 100px 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 56px; }
  .why-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 56px 1fr; row-gap: 18px; }
  .service-row .row-meta { grid-column: 2; }
  .service-row .row-thumb { display: none; }
  .process-step { grid-template-columns: 80px 1fr; }
  .process-step p { grid-column: 2; }
  .detail-row { grid-template-columns: 56px 1fr; row-gap: 14px; }
  .detail-row p { grid-column: 2; }
  .feature-inner, .feature--right .feature-inner { max-width: none; text-align: left; }
  .feature--right .feature-inner .eyebrow { flex-direction: row; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Headline takes the full width here, so the decorative marketing slashes
     and oversized word would sit over the text - drop them on smaller screens. */
  .mk-slash, .mk-word { display: none; }
}

@media (max-width: 720px) {
  .container { padding: 0 24px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0; background: var(--bg);
    flex-direction: column; justify-content: center; gap: 36px;
    opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease);
  }
  .nav-links.is-open { opacity: 1; pointer-events: auto; }
  .nav-links a:not(.btn) { font-size: 24px; color: var(--white); }
  .hero { min-height: 0; padding: 150px 0 90px; }
  .page-hero { min-height: 0; padding: 150px 0 70px; }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .scroll-cue { display: none; }
  .feature { min-height: 0; padding: 90px 0; }
  .feature-bg::after { background: linear-gradient(180deg, rgba(5,5,7,0.7), rgba(5,5,7,0.92)); }
}
