/* =========================================================
   SYTE  |  Design System Stylesheet
   Dark, data-driven. Electric blue accent. Mobile-first.
   Token reference and rationale: see DESIGN-SYSTEM.md
   ========================================================= */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Surfaces (near-black base) */
  --bg:            #0A0A0F;
  --bg-1:          #101017;
  --surface:       #121219;
  --surface-2:     #16161F;
  --surface-3:     #1C1C27;
  --border:        rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.16);

  /* Accent (electric blue) */
  --accent:        #4E81EE;  /* the brand blue, used throughout */
  --accent-strong: #4E81EE;
  --accent-bright: #6E97F2;  /* lighter blue: hover / highlight */
  --accent-glow:   rgba(78,129,238,.45);
  --signal:        #26F0F1;  /* electric cyan: positive deltas, live signals */

  /* Text */
  --text:          #F5F5F7;
  --text-2:        #ABABB8;  /* secondary, AA on --bg */
  --text-3:        #71717F;  /* muted, decorative / large text only */

  /* Type (Geist + Geist Mono, matching ozgur.design's Geist; its mono is the
     paid Cartograph CF, so Geist Mono stands in as the free companion) */
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Fluid type scale (1.25 ratio, clamped) */
  --fs-display: clamp(2.75rem, 5.4vw + 1rem, 5rem);
  --fs-h2:      clamp(2.4rem, 4.6vw, 4.8rem);
  --fs-h3:      clamp(1.3rem, 1vw + 1rem, 1.6rem);
  --fs-lead:    clamp(1.05rem, .5vw + .95rem, 1.25rem);
  --fs-body:    1rem;
  --fs-sm:      .9rem;
  --fs-xs:      .78rem;

  /* Spacing scale (4px base) */
  --s-1: .25rem; --s-2: .5rem;  --s-3: .75rem; --s-4: 1rem;
  --s-6: 1.5rem; --s-8: 2rem;   --s-10: 2.5rem; --s-12: 3rem;
  --s-16: 4rem;  --s-20: 5rem;  --s-24: 6rem;

  /* Geometry */
  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --container: 1240px;
  --section-y: clamp(4rem, 8vw, 8rem);

  /* Effects */
  --shadow:      0 24px 60px -20px rgba(0,0,0,.7);
  --shadow-cta:  0 10px 34px -8px var(--accent-glow);
  --ease:        cubic-bezier(.22,.61,.36,1);
  --ease-soft:   cubic-bezier(.16,1,.3,1);   /* gentle settle, ozgur-style reveals */
  --t-fast:      .18s var(--ease);
  --t:           .32s var(--ease);
}

/* ---------- 2. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; }  /* Lenis handles smooth scrolling */

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: #07080f;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Dark-blue to black radial gradient backdrop, fixed behind the whole page */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 125% 92% at 50% 14%, #1f3268 0%, #0e1633 42%, #07080f 82%);
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; }
input, select, textarea { font: inherit; }

h1, h2, h3 { line-height: 1.1; font-weight: 700; letter-spacing: -.02em; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Lenis smooth scroll: neutralises native scroll while Lenis drives it */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- 2b. LIGHT SECTION (token override) ----------
   Add `section--light` next to `section` to flip a single section to a
   white-background palette. All children that read from CSS custom
   properties (text, borders, surfaces) auto-adapt. */
.section--light {
  background: #FFFFFF;
  color: #0A0A0F;
  /* Override the tokens locally for this section's subtree */
  --text:          #0A0A0F;
  --text-2:        #3F3F4A;
  --text-3:        #7A7A85;
  --border:        rgba(10,10,15,.10);
  --border-strong: rgba(10,10,15,.22);
  --bg:            #FFFFFF;
  --bg-1:          #FAFAFA;
  --surface:       #F6F6F8;
  --surface-2:     #F0F0F3;
  --surface-3:     #E8E8EE;
  --shadow:        0 18px 50px -18px rgba(10,10,30,.18);
  /* lift this section above the body radial gradient backdrop */
  position: relative;
  z-index: 1;
}
/* Top hairline so we get a clean transition from the dark section above */
.section--light + .section,
.section + .section--light {
  border-top: 1px solid rgba(10,10,15,.06);
}
/* Selection inside light sections (keep brand colour on white) */
.section--light ::selection { background: var(--accent); color: #fff; }
/* Cyan signal is too pale on white; nudge to a deeper teal in light sections */
.section--light { --signal: #0EBFC0; }
/* The "bright" accent is washed out on white, swap to standard accent */
.section--light { --accent-bright: var(--accent); }
/* Service list-row hover background: a soft tint instead of the dark surface */
.section--light .row::before { background: rgba(78,129,238,.045); }
/* Service list-row thumbnails: don't grey them out on light bg */
.section--light .row__thumb img { filter: none; opacity: .92; }
.section--light .row__thumb { background: #F0F0F3; }
/* Client logos are white-filled SVGs; invert them to dark on light bg */
.section--light .client-logo {
  filter: invert(1) brightness(.2);
  opacity: .55;
}
.section--light .client-logo:hover {
  filter: invert(1) brightness(0);
  opacity: 1;
}

/* ---------- 2c. SIDE-NAV ON LIGHT SECTIONS ----------
   When the active section is `.section--light`, JS adds
   `.sidenav--on-light` to the side nav, flipping its colours. */
.sidenav--on-light .sidenav__item { color: rgba(10,10,15,.55); }
.sidenav--on-light .sidenav__item:hover,
.sidenav--on-light .sidenav__item.is-active { color: #0A0A0F; }
.sidenav--on-light .sidenav__tick { background: rgba(10,10,15,.3); }
.sidenav--on-light .sidenav__item.is-active .sidenav__tick { background: var(--accent); }

/* ---------- 3. UTILITIES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.section { padding-block: var(--section-y); }
.anchor { display: block; height: 0; scroll-margin-top: 120px; }
section[id] { scroll-margin-top: 100px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  background: var(--accent-strong); color: #fff;
  padding: .6rem 1rem; border-radius: var(--radius-sm);
  transform: translateY(-200%); transition: transform var(--t-fast);
}
.skip-link:focus { transform: translateY(0); }

.text-accent { color: var(--accent); }
.text-strike { color: rgba(245,245,247,.82); text-decoration: line-through;
  text-decoration-color: var(--accent); text-decoration-thickness: .055em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
}

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--accent-glow); }
  70%  { box-shadow: 0 0 0 10px rgba(78,129,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(78,129,238,0); }
}

/* Icons (sprite) */
.icon {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}
.icon--sm { width: 18px; height: 18px; }
.icon--xs { width: 14px; height: 14px; stroke-width: 2; }

/* Tags / pills */
.tag {
  font-family: var(--mono);
  font-size: .65rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .2rem .5rem; border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-2);
}
.tag--accent {
  color: var(--accent-bright);
  border-color: rgba(78,129,238,.4);
  background: rgba(78,129,238,.1);
}
.tag--live {
  color: var(--signal);
  border-color: rgba(38,240,241,.35);
  background: rgba(38,240,241,.08);
}

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono);
  font-size: var(--fs-sm); font-weight: 500;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--text);
  padding: 0 0 .4rem;
  background: none; border: 0;
  border-bottom: 1px solid var(--border-strong);
  white-space: nowrap;
  transition: gap var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn .icon { color: var(--accent); }
.btn:hover { gap: 1rem; color: var(--accent-bright); border-bottom-color: var(--accent-bright); }
.btn:hover .icon { color: var(--accent-bright); }

.btn--primary { border-bottom-color: var(--accent); }
.btn--ghost { color: var(--text-2); }
.btn--lg { font-size: 1rem; padding-bottom: .5rem; }
.btn--sm { font-size: var(--fs-xs); padding-bottom: .3rem; }
.btn--block { width: 100%; justify-content: space-between; }

/* ---------- 5. ANNOUNCEMENT BAR ---------- */
.announce {
  background: linear-gradient(90deg, var(--bg-1), var(--surface-2), var(--bg-1));
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
}
.announce[hidden] { display: none; }
.announce__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; padding-block: .6rem;
}
.announce__text {
  display: flex; align-items: center; gap: .5rem;
  flex-wrap: wrap; justify-content: center;
  color: var(--text-2);
}
.announce__text strong { color: var(--text); }
.announce__link {
  display: inline-flex; align-items: center; gap: .3rem;
  color: var(--accent-bright); font-weight: 600;
}
.announce__link:hover { color: var(--accent); }
.announce__close {
  position: absolute; right: clamp(1rem, 4vw, 2.5rem);
  color: var(--text-3); padding: .25rem;
  transition: color var(--t-fast);
}
.announce__close:hover { color: var(--text); }

/* ---------- 6. HEADER / NAV ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), backdrop-filter var(--t);
}
.header.scrolled {
  background: rgba(10,10,15,.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .85rem;
}

.brand { display: inline-flex; align-items: center; }
.brand__logo {
  height: 28px; width: auto;
  fill: currentColor;
  color: var(--text);
  transition: color var(--t-fast);
}
.brand:hover .brand__logo { color: var(--accent-bright); }
.footer__brand .brand__logo { height: 32px; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: .15rem; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .7rem;
  font-size: var(--fs-sm); font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover, .nav__link[aria-expanded="true"] {
  color: var(--text); background: rgba(255,255,255,.04);
}
.nav__link.is-active { color: var(--accent-bright); }
.nav__caret { transition: transform var(--t-fast); }
.nav__link[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

/* Mega-menu + dropdown */
.nav__item { position: relative; }
.mega, .dropdown {
  position: absolute; top: calc(100% + 14px);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 50;
}
.mega { left: 50%; transform: translate(-50%, 8px); width: min(880px, 90vw); padding: 1.6rem; }
.dropdown { left: 0; min-width: 230px; padding: .6rem; }

.has-mega:hover .mega,
.has-mega:focus-within .mega,
.mega.open {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.dropdown.open {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.mega__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.mega__head {
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3);
  padding-bottom: .5rem; margin-bottom: .3rem;
  border-bottom: 1px solid var(--border);
}
.mega__link, .dropdown__link {
  display: flex; align-items: center; gap: .55rem;
  padding: .5rem .55rem; border-radius: var(--radius-sm);
  font-size: var(--fs-sm); color: var(--text-2);
  transition: color var(--t-fast), background var(--t-fast);
}
.mega__link .icon, .dropdown__link .icon { width: 18px; height: 18px; color: var(--accent); }
.mega__link:hover, .dropdown__link:hover {
  color: var(--text); background: rgba(78,129,238,.08);
}
.mega__link--feature { color: var(--text); font-weight: 600; }
.mega__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  margin-top: 1.3rem; padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  font-size: var(--fs-sm); color: var(--text-2);
}

.header__actions { display: flex; align-items: center; gap: .6rem; }
.header__cta { display: none; }

.hamburger {
  display: inline-flex; padding: .5rem;
  color: var(--text); border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
}
.hamburger:hover { border-color: var(--accent); }

/* ---------- 7. MOBILE MENU ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10,10,15,.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* Push items well below the sticky header AND any iOS notch safe area */
  padding: calc(env(safe-area-inset-top, 0px) + 5.5rem) clamp(1.25rem,5vw,2rem) 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
  /* iOS Safari scroll behaviour: needs explicit scroll + momentum +
     hardware acceleration for fixed elements with overflow content. */
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transform: translateZ(0);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu__inner { display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem .25rem;
  font-size: 1.35rem; font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-menu__link:hover { color: var(--accent-bright); }
.mobile-menu .btn { margin-top: 1.4rem; }

/* Expandable dropdown group (Services with sub-items) */
.mobile-menu__group { border-bottom: 1px solid var(--border); }
.mobile-menu__group .mobile-menu__sum {
  border-bottom: 0;
  list-style: none;
  cursor: pointer;
}
.mobile-menu__group .mobile-menu__sum::-webkit-details-marker { display: none; }
.mobile-menu__chev {
  width: 22px; height: 22px;
  color: var(--text-3);
  transition: transform var(--t-fast);
}
.mobile-menu__group[open] .mobile-menu__chev { transform: rotate(180deg); color: var(--accent); }
.mobile-menu__sublink {
  display: block;
  padding: .7rem .25rem .7rem 1.25rem;
  font-family: var(--mono);
  font-size: 1rem; font-weight: 500;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.mobile-menu__sublink:last-child { border-bottom: 0; padding-bottom: 1rem; }
.mobile-menu__sublink:hover { color: var(--accent-bright); }

/* ---------- 8. HERO (ozgur-style: one giant statement, restrained) ---------- */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: 86vh; min-height: 86svh;
  padding-block: clamp(5rem, 13vh, 9rem) clamp(2.5rem, 7vh, 5rem);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
/* Portrait video files often need a different anchor point so faces/key
   content stay in frame on tall mobile viewports. Tweak this per video. */
@media (max-aspect-ratio: 3/4) {
  .hero__bg { object-position: 60% center; }
}
.hero__overlay {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,8,15,.38) 0%, rgba(7,8,15,.55) 75%, rgba(7,8,15,.7) 100%),
    linear-gradient(90deg, rgba(7,8,15,.3) 0%, rgba(7,8,15,0) 60%);
}
/* Stronger overlay on portrait mobile so the headline always reads */
@media (max-width: 640px) {
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(7,8,15,.55) 0%, rgba(7,8,15,.78) 100%);
  }
  .hero { min-height: 78svh; }

  /* ---- Mobile touch targets (Apple HIG / Material both recommend 44x44 min) ---- */
  .hamburger { padding: .7rem; }                  /* 22px icon + 22px padding = 44px square */
  .field__input { padding: 1rem; }                /* taller inputs, easier to tap */
  .btn,
  .hero__cta { padding-block: .65rem .55rem; }    /* more vertical hit area on underline buttons */
  .mobile-menu__link { padding: 1rem .25rem; }    /* slightly bigger menu rows */

  /* ---- Make sure no element bleeds horizontally ---- */
  .container { overflow-wrap: anywhere; }

  /* Submit button wraps instead of overflowing on tiny screens */
  .form .btn--block,
  .btn--block { white-space: normal; line-height: 1.3; }

  /* The floating "Book a free strategy call" overlay is too wide for
     narrow phones and the contact form is one scroll away anyway. */
  .float-cta { display: none; }
}
.hero__base-right {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 1.1rem;
}
.hero__live {
  display: flex; flex-direction: column; align-items: flex-end; gap: .25rem;
  text-align: right;
}
.hero__live-val {
  font-family: var(--mono);
  font-size: clamp(1.05rem, 1.3vw, 1.55rem);
  color: var(--text);
}
.hero__live-label {
  display: flex; align-items: center; gap: .4rem;
  font-family: var(--mono); font-size: var(--fs-xs);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text);
}
.hero__live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal); flex: none;
}
.hero__inner {
  position: relative; z-index: 1;
  width: 100%;
  display: flex; flex-direction: column;
  gap: clamp(2rem, 6vh, 4rem);
}
.hero__index {
  font-family: var(--mono);
  font-size: var(--fs-sm);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-3);
}
.hero__title {
  font-size: clamp(2.4rem, 9vw, 9rem);
  font-weight: 600;
  line-height: .97;
  letter-spacing: -.035em;
  max-width: 16ch;
}
.hero__base {
  display: flex; flex-wrap: wrap;
  align-items: flex-end; justify-content: space-between;
  gap: 1.5rem 3rem;
  padding-top: clamp(1.5rem, 4vh, 2.5rem);
  border-top: 1px solid var(--border);
}
/* On stacked (mobile) layout, align everything left so the right column
   does not look orphaned hanging on the right edge. */
@media (max-width: 720px) {
  .hero__base { align-items: flex-start; }
  .hero__base-right { align-items: flex-start; }
  .hero__live { align-items: flex-start; text-align: left; }
  .hero__cta { white-space: normal; line-height: 1.3; }
}
.hero__note {
  font-family: var(--mono);
  font-size: var(--fs-sm); line-height: 1.7;
  color: var(--text);
  max-width: 46ch;
}
.hero__cta {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: var(--fs-sm);
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--text);
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--accent);
  white-space: nowrap;
  transition: gap var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.hero__cta:hover { gap: .95rem; color: var(--accent-bright); border-color: var(--accent-bright); }
.hero__cta .icon { color: var(--accent); }
/* Section side-nav: fixed edge index, ozgur-style */
.sidenav {
  position: fixed; z-index: 70;
  right: clamp(.7rem, 1.6vw, 1.4rem); top: 50%;
  transform: translateY(-50%);
  display: none; flex-direction: column; gap: .55rem;
}
.sidenav__item {
  display: flex; align-items: center; justify-content: flex-end; gap: .55rem;
  font-family: var(--mono);
  font-size: .62rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--text-3);
  transition: color var(--t-fast);
}
.sidenav__name {
  opacity: 0; transform: translateX(5px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.sidenav:hover .sidenav__name,
.sidenav__item.is-active .sidenav__name { opacity: 1; transform: none; }
.sidenav__tick {
  width: 16px; height: 1px; background: currentColor; flex: none;
  transition: width var(--t-fast), background var(--t-fast);
}
.sidenav__item:hover { color: var(--text); }
.sidenav__item.is-active { color: var(--text); }
.sidenav__item.is-active .sidenav__tick { width: 32px; background: var(--accent); }


/* ---------- 9. TRUST BAR ---------- */
.trust { border-block: 1px solid var(--border); }
.trust__badges {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1rem clamp(1.5rem, 5vw, 3.5rem);
  padding-block: 1.5rem;
}
.trust__badge {
  display: flex; align-items: center; gap: .6rem;
  font-size: var(--fs-sm); font-weight: 500; color: var(--text-2);
}
.trust__badge .icon { color: var(--accent); }
.trust__badge img { width: 34px; height: 34px; object-fit: contain; }

/* ---------- 10. CLIENT LOGO MARQUEE ---------- */
.logos { padding-block: clamp(2.5rem, 5vw, 4rem); }
.logos__label {
  text-align: center; font-size: var(--fs-sm);
  color: var(--text-3); margin-bottom: 1.6rem;
}
.marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex; align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  width: max-content;
  animation: scroll 42s linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 38s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

.marquee__item { flex: none; }
.client-logo {
  height: 30px; width: auto;
  opacity: .55; filter: grayscale(1) brightness(1.6);
  transition: opacity var(--t-fast), filter var(--t-fast);
}
.client-logo:hover { opacity: 1; filter: none; }
/* JS text fallback when logo image is missing */
.client-fallback {
  font-family: var(--mono); font-weight: 700;
  font-size: .95rem; letter-spacing: .04em;
  color: var(--text-3); white-space: nowrap;
  transition: color var(--t-fast);
}
.client-fallback:hover { color: var(--text); }

/* ---------- 11. SECTION HEADINGS ---------- */
.section__head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__title { font-size: var(--fs-h2); margin: .8rem 0; line-height: 1.04; letter-spacing: -.03em; }
.section__lead { font-size: var(--fs-lead); color: var(--text-2); }

/* ---------- 12. DIFFERENTIATOR ---------- */
.differ__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.differ__head .section__head { margin-bottom: 0; max-width: none; }
.differ__media {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 16 / 10;
  width: 100%;
  max-width: 640px;
  justify-self: center;
  box-shadow: 0 20px 50px -22px rgba(0,0,0,.65);
}
.differ__media::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,8,15,0) 70%, rgba(7,8,15,.28) 100%),
    linear-gradient(135deg, rgba(78,129,238,.18) 0%, rgba(78,129,238,.05) 60%, rgba(78,129,238,0) 100%);
}
.differ__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 900px) {
  .differ__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: clamp(2rem, 4vw, 4rem);
  }
  .differ__head .section__head { max-width: 28rem; }
  .differ__media { justify-self: stretch; max-width: none; }
}

.pillars {
  display: grid; gap: 1.2rem;
  grid-template-columns: 1fr;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.pillar:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.pillar__icon {
  display: inline-flex; padding: .7rem;
  border-radius: var(--radius-sm);
  background: rgba(78,129,238,.1);
  color: var(--accent-bright);
  margin-bottom: 1rem;
}
.pillar__title { font-size: var(--fs-h3); margin-bottom: .5rem; }
.pillar__text { color: var(--text-2); font-size: var(--fs-sm); }

.banner {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.4rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at 0% 0%, rgba(78,129,238,.14), transparent 55%),
    var(--surface-2);
}
.banner__text { font-size: var(--fs-lead); color: var(--text-2); max-width: 46ch; }
.banner__text strong { color: var(--text); display: block; }

/* ---------- 13b. LIST ROWS (ozgur-style project list) ---------- */
.rows { border-top: 1px solid var(--border); }
.row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .5rem 1.4rem;
  padding: clamp(1.5rem, 3.4vw, 2.5rem) 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left var(--t-fast);
}
.row::before {
  content: ""; position: absolute; z-index: -1;
  inset: 0 calc(-1 * clamp(1rem, 2.5vw, 2rem));
  background: var(--surface);
  opacity: 0; transition: opacity var(--t-fast);
}
.row:hover::before { opacity: 1; }
.row:hover { padding-left: clamp(.5rem, 1.4vw, 1.1rem); }
.row__index {
  font-family: var(--mono); font-size: var(--fs-sm);
  color: var(--text-3); padding-top: .2rem;
}
.row__thumb {
  display: block; flex: none;
  width: clamp(86px, 22vw, 134px);
  aspect-ratio: 3 / 2;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
}
.row__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) brightness(.8) contrast(1.04);
  opacity: .82;
  transition: filter var(--t), opacity var(--t), transform var(--t);
}
.row:hover .row__thumb img { filter: none; opacity: 1; transform: scale(1.05); }
.row__thumb--empty {
  background:
    radial-gradient(circle at 30% 28%, rgba(78,129,238,.28), transparent 70%),
    var(--surface-2);
}
.row__meta {
  font-family: var(--mono); font-size: var(--fs-xs);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-3);
}
.row__main { grid-column: 2; display: flex; flex-direction: column; gap: .5rem; }
.row__title {
  display: flex; align-items: center; flex-wrap: wrap; gap: .25rem .7rem;
  font-size: clamp(1.45rem, 1.1vw + 1.2rem, 2.5rem);
  font-weight: 600; letter-spacing: -.02em; line-height: 1.08;
}
.row__ico {
  width: 26px; height: 26px; flex: none;
  color: var(--text-3); transition: color var(--t-fast);
}
.row:hover .row__ico { color: var(--accent-bright); }
.row__stat { font-family: var(--mono); color: var(--signal); }
.row__cross {
  color: var(--accent);
  opacity: 0; transform: scale(.5);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.row:hover .row__cross { opacity: 1; transform: none; }
.row__desc {
  font-family: var(--mono); font-size: var(--fs-sm);
  line-height: 1.6; color: var(--text-2); max-width: 64ch;
}
.row__tag {
  grid-column: 2;
  font-family: var(--mono); font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--text-3);
  transition: color var(--t-fast);
}
@media (min-width: 760px) { .row__tag { white-space: nowrap; } }
.row:hover .row__tag { color: var(--accent-bright); }
@media (min-width: 760px) {
  .row { grid-template-columns: auto 1fr auto; align-items: center; gap: 0 2.4rem; }
  .row__tag { grid-column: 3; }
}

/* ---------- 14. AEO SPOTLIGHT ---------- */
.aeo { position: relative; overflow: hidden; }
.aeo__glow {
  position: absolute; pointer-events: none;
  width: 60vw; height: 60vw; max-width: 700px; max-height: 700px;
  right: -15%; top: -10%;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  opacity: .4; filter: blur(40px);
}
.aeo__inner {
  position: relative;
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.check-list { display: flex; flex-direction: column; gap: .7rem; margin: 1.6rem 0; }
.check-list li {
  display: flex; align-items: center; gap: .6rem;
  color: var(--text-2);
}
.check-list .icon { color: var(--signal); }
.aeo__cta { display: flex; flex-wrap: wrap; gap: .8rem; }

/* AI answer card */
.ai-card {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.ai-card__bar {
  display: flex; align-items: center; gap: .4rem;
  padding: .7rem 1rem;
  background: var(--surface-3);
  border-bottom: 1px solid var(--border);
}
.ai-card__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.ai-card__url {
  margin-left: .6rem; font-family: var(--mono);
  font-size: var(--fs-xs); color: var(--text-3);
}
.ai-card__body { padding: 1.4rem; display: flex; flex-direction: column; gap: 1.1rem; }
.ai-card__role {
  display: inline-block; margin-bottom: .4rem;
  font-family: var(--mono); font-size: .62rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .15rem .45rem; border-radius: 4px;
  background: rgba(255,255,255,.06); color: var(--text-3);
}
.ai-card__role--ai { background: rgba(78,129,238,.16); color: var(--accent-bright); }
.ai-card__query { font-size: var(--fs-sm); color: var(--text-2); }
.ai-card__answer {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1.1rem;
}
.ai-card__answer p { font-size: var(--fs-sm); }
.ai-card__answer mark {
  background: rgba(78,129,238,.22); color: var(--accent-bright);
  font-weight: 700; padding: 0 .25rem; border-radius: 3px;
}
/* Scroll-typed AEO answer */
.ai-card__answer .ch { visibility: hidden; }
.ai-card__answer .ch.on { visibility: visible; }
.ai-card__answer .ch.cursor { position: relative; }
.ai-card__answer .ch.cursor::after {
  content: ""; position: absolute; left: 100%; top: .1em;
  width: 2px; height: .95em;
  background: var(--accent-bright);
  animation: caretblink 1s steps(1) infinite;
}
@keyframes caretblink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
.ai-card__cite {
  display: flex; align-items: center; gap: .4rem;
  margin-top: .8rem; padding-top: .8rem;
  border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: var(--fs-xs);
  color: var(--text-3);
}
.ai-card__flag {
  position: absolute; right: 14px; bottom: 14px;
  font-family: var(--mono); font-size: .6rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .25rem .55rem; border-radius: 999px;
  background: var(--accent-strong); color: #fff;
}

/* ---------- 15. INDUSTRIES ---------- */
.ind-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.ind-card {
  position: relative; overflow: hidden;
  padding: 1.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.ind-card::after {
  content: ""; position: absolute; left: 0; top: 0;
  width: 3px; height: 100%;
  background: linear-gradient(var(--accent), var(--signal));
  transform: scaleY(0); transform-origin: top;
  transition: transform var(--t);
}
.ind-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.ind-card:hover::after { transform: scaleY(1); }
.ind-card__title { font-size: var(--fs-h3); margin-bottom: .5rem; }
.ind-card__text { font-size: var(--fs-sm); color: var(--text-2); margin-bottom: 1rem; }
.ind-card__tag {
  font-family: var(--mono); font-size: var(--fs-xs);
  color: var(--text-3);
}

/* Industry card media: full-colour image thumbnail, soft hover lift */
.ind-card__media {
  display: block;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  overflow: hidden;
  margin-bottom: 1.4rem;
  aspect-ratio: 16 / 10;
  position: relative;
}
.ind-card__media img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t), filter var(--t);
}
.ind-card:hover .ind-card__media img {
  transform: scale(1.04);
  filter: brightness(1.06) saturate(1.05);
}

/* ---------- 16. RESULTS TICKER ---------- */
.ticker-sec {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-block: 1px solid var(--border);
}
.ticker-sec__label {
  display: flex; align-items: center; gap: .5rem;
  justify-content: center;
  font-family: var(--mono); font-size: var(--fs-xs);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 1.5rem;
}
.ticker { gap: 1rem; }
.ticker__item {
  display: flex; align-items: baseline; gap: .5rem;
  flex: none;
  padding: .7rem 1.3rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: var(--fs-sm); color: var(--text-2);
}
.ticker__num {
  font-family: var(--mono); font-weight: 700;
  font-size: 1.05rem; color: var(--signal);
}
.ticker__who {
  font-family: var(--mono); font-size: var(--fs-xs);
  color: var(--text-3);
}
.ticker__who::before { content: "// "; }

/* ---------- 17. CASE STUDIES ---------- */
.cases__cta { margin-top: 2.5rem; text-align: center; }

/* ---------- 18. ABOUT / CREDIBILITY ---------- */
.about__inner {
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.about__text { color: var(--text-2); margin-bottom: 1.1rem; }
.quote {
  margin: 1.6rem 0;
  padding: 1.3rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.quote p { font-size: var(--fs-lead); font-style: italic; }
.quote cite {
  display: block; margin-top: .6rem;
  font-family: var(--mono); font-size: var(--fs-xs);
  font-style: normal; color: var(--text-3);
}
.about__stats {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .about__stats { grid-template-columns: 1fr 1fr; }
}
.stat-block {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.stat-block--wide { grid-column: 1 / -1; }
.stat-block__num {
  font-family: var(--mono); font-weight: 700;
  font-size: clamp(1.5rem, 2vw + 1rem, 2.4rem);
  color: var(--accent-bright);
  display: block; line-height: 1.15;
}
.stat-block--wide .stat-block__num { font-size: 1.15rem; color: var(--text); }
.stat-block__label {
  font-size: var(--fs-xs); color: var(--text-2);
  margin-top: .4rem; display: block;
}

/* ---------- 19. LEARNING CENTRE ---------- */
.learn-grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: 1fr;
}
.learn-card {
  display: flex; flex-direction: column;
  padding: 1.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.learn-card:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.learn-card__icon {
  display: inline-flex; padding: .7rem; margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(78,129,238,.1); color: var(--accent-bright);
}
.learn-card__title {
  font-size: var(--fs-h3); margin-bottom: .5rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
}
.learn-card__text { font-size: var(--fs-sm); color: var(--text-2); }
.learn-card__go {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.2rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--accent-bright);
}
.learn-card__go .icon { transition: transform var(--t-fast); }
.learn-card:hover .learn-card__go .icon { transform: translateX(4px); }
.learn-card--feature {
  border-color: rgba(78,129,238,.4);
  background:
    radial-gradient(circle at 100% 0%, rgba(78,129,238,.14), transparent 55%),
    var(--surface);
}

/* ---------- 20. FINAL CTA + FORM ---------- */
.cta { position: relative; overflow: hidden; }
.cta__glow {
  position: absolute; pointer-events: none;
  width: 70vw; height: 70vw; max-width: 800px; max-height: 800px;
  left: -15%; bottom: -30%;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  opacity: .4; filter: blur(40px);
}
.cta__inner {
  position: relative;
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.cta__points { display: flex; flex-direction: column; gap: .6rem; margin: 1.5rem 0; }
.cta__points li { display: flex; align-items: center; gap: .6rem; color: var(--text-2); }
.cta__points .icon { color: var(--signal); }
.cta__contact {
  display: flex; flex-direction: column; gap: .7rem;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
}
.cta__contact li { display: flex; align-items: center; gap: .6rem; color: var(--text-2); font-size: var(--fs-sm); }
.cta__contact .icon { color: var(--accent); }
.cta__contact a:hover { color: var(--accent-bright); }

/* Form */
.form {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
}
.form__row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field__label {
  font-size: var(--fs-xs); font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase; letter-spacing: .05em;
}
.field__input {
  width: 100%; max-width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: .8rem .9rem;
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field__input::placeholder { color: var(--text-3); }
.field__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(78,129,238,.18);
}
.field__input:user-invalid { border-color: #f87171; }
textarea.field__input { resize: vertical; min-height: 84px; }
.form__note {
  text-align: center; font-size: var(--fs-xs);
  color: var(--text-3); margin-top: .9rem;
}
.form__success {
  display: flex; align-items: center; gap: .5rem;
  justify-content: center;
  margin-top: 1rem; padding: .9rem;
  border-radius: var(--radius-sm);
  background: rgba(38,240,241,.1);
  border: 1px solid rgba(38,240,241,.35);
  color: var(--signal); font-size: var(--fs-sm); font-weight: 500;
}

/* ---------- 21. FOOTER ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding-top: clamp(3rem, 6vw, 5rem);
}
.footer__inner {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 3rem;
}
.footer__brand { max-width: 340px; }
.footer__blurb {
  margin: 1rem 0 1.2rem;
  font-size: var(--fs-sm); color: var(--text-2);
}
.footer__badges { display: flex; gap: .8rem; }
.footer__badges img {
  width: 36px; height: 36px;
  padding: 4px; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.footer__head {
  font-family: var(--mono); font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-3); margin-bottom: 1rem;
}
.footer__col { display: flex; flex-direction: column; gap: .6rem; }
.footer__col a { font-size: var(--fs-sm); color: var(--text-2); transition: color var(--t-fast); }
.footer__col a:hover { color: var(--accent-bright); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  padding-block: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: var(--fs-xs); color: var(--text-3);
}
.footer__legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--text); }

/* ---------- 22. FLOATING CTA ---------- */
.float-cta {
  position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 80;
  display: flex; align-items: center; gap: .55rem;
  padding: .8rem 1.1rem;
  border: 1px solid var(--accent);
  background: var(--bg-1);
  color: var(--text);
  font-family: var(--mono); font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: .08em;
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(16px);
  pointer-events: none;
  transition: opacity var(--t), transform var(--t), color var(--t-fast), border-color var(--t-fast);
}
.float-cta .icon { color: var(--accent); }
.float-cta.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-cta:hover { color: var(--accent-bright); border-color: var(--accent-bright); }

/* Reduced-motion notice (ozgur-style) */
.rm-notice {
  position: fixed; z-index: 80;
  left: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem);
  display: flex; align-items: center; gap: .6rem;
  max-width: 310px;
  padding: .7rem .8rem .7rem .95rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  font-family: var(--mono); font-size: var(--fs-xs);
  color: var(--text-2);
}
.rm-notice[hidden] { display: none; }
.rm-notice__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-bright); flex: none;
}
.rm-notice__close { color: var(--text-3); padding: .15rem; flex: none; }
.rm-notice__close:hover { color: var(--text); }

/* ---------- 23. SCROLL REVEAL ---------- */
.js .reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft);
}
.js .reveal.in-view { opacity: 1; transform: none; }
/* stagger children inside rows and grids */
.js .rows .reveal.in-view,
.js .learn-grid .reveal.in-view { transition-delay: var(--d, 0s); }

/* ---------- 23b. BLOG POST (prose) ---------- */
.post__head, .post__body, .post__foot { max-width: 760px; margin-inline: auto; }
.post__meta {
  font-family: var(--mono); font-size: var(--fs-sm);
  color: var(--text-3); margin-top: 1rem;
}
.post__body {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-2);
  font-size: 1.05rem; line-height: 1.8;
}
.post__body > * + * { margin-top: 1.25rem; }
.post__body h1, .post__body h2 {
  color: var(--text); font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -.02em; line-height: 1.2; margin-top: 2.6rem;
}
.post__body h3 {
  color: var(--text); font-size: clamp(1.2rem, 2vw, 1.5rem); margin-top: 2rem;
}
.post__body h4 { color: var(--text); font-size: 1.1rem; margin-top: 1.6rem; }
.post__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.post__body a:hover { color: var(--accent-bright); }
.post__body strong, .post__body b { color: var(--text); }
.post__body img {
  width: 100%; height: auto;
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-block: 1.6rem;
}
.post__body ul, .post__body ol { padding-left: 1.5rem; }
.post__body li { margin-top: .5rem; }
.post__body blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 1.3rem; margin-left: 0;
  color: var(--text); font-style: italic;
}
.post__body figure { margin: 1.6rem 0; }
.post__body figcaption {
  font-family: var(--mono); font-size: var(--fs-xs);
  color: var(--text-3); margin-top: .5rem; text-align: center;
}
.post__body table {
  width: 100%; border-collapse: collapse;
  font-size: var(--fs-sm); margin-block: 1.6rem;
}
.post__body th, .post__body td {
  border: 1px solid var(--border); padding: .6rem .8rem; text-align: left;
}
.post__body th { color: var(--text); background: var(--surface); }
.post__body code {
  font-family: var(--mono); font-size: .9em;
  background: var(--surface-2); padding: .1rem .35rem; border-radius: 4px;
}
.post__body iframe {
  width: 100%; max-width: 100%; border: 0;
  border-radius: var(--radius); margin-block: 1.6rem; aspect-ratio: 16 / 9;
}
.post__foot {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.6rem; border-top: 1px solid var(--border);
}

/* ---------- 23e. INNER PAGE HERO + TIMELINE + CTA ---------- */

/* Compact page hero for inner pages (About, Services, etc.) */
.page-hero {
  position: relative;
  padding-block: clamp(7rem, 18vh, 11rem) clamp(3rem, 7vh, 5rem);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero__inner {
  display: flex; flex-direction: column;
  gap: clamp(1.5rem, 4vh, 2.5rem);
  max-width: 920px;
}
.page-hero__index {
  font-family: var(--mono);
  font-size: var(--fs-sm);
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-3);
}
.page-hero__title {
  font-size: clamp(2.2rem, 6vw, 5.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.03em;
  max-width: 18ch;
}
.page-hero__lead {
  font-size: var(--fs-lead);
  color: var(--text-2);
  max-width: 60ch;
  line-height: 1.55;
}

/* Page hero with media (image to the right of the headline) */
.page-hero--with-media .page-hero__inner {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}
.page-hero__text {
  display: flex; flex-direction: column;
  gap: clamp(1.5rem, 4vh, 2.5rem);
  max-width: 60ch;
}
.page-hero__media {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  width: 100%;
  justify-self: center;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px -22px rgba(0,0,0,.65);
}
.page-hero__media::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,8,15,0) 60%, rgba(7,8,15,.4) 100%),
    linear-gradient(135deg, rgba(78,129,238,.18) 0%, rgba(78,129,238,0) 60%);
}
.page-hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 900px) {
  .page-hero--with-media .page-hero__inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
  .page-hero__media { justify-self: end; max-width: none; }
}

/* Full-bleed image break between sections */
.image-break {
  position: relative;
  padding: 0;
  border-block: 1px solid var(--border);
  background: var(--bg);
}
/* When directly under the page hero, drop the top border so the image
   reads as a continuation of the hero, not a separate block. */
.image-break--lead {
  border-top: 0;
  margin-top: -1px;
}
.image-break__media {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  max-height: 70svh;
}
.image-break--lead .image-break__media { aspect-ratio: 16 / 7; max-height: 78svh; }
.image-break__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.78) saturate(.9);
}
.image-break__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, rgba(7,8,15,0) 0%, rgba(7,8,15,.75) 70%, rgba(7,8,15,.92) 100%);
  display: flex; flex-direction: column; gap: .35rem;
  color: var(--text);
}
.image-break__eyebrow {
  font-family: var(--mono); font-size: var(--fs-xs);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-2);
}
.image-break__line {
  font-size: clamp(1rem, 1vw + .85rem, 1.4rem);
  font-weight: 500;
  max-width: 60ch;
}

/* Vertical timeline component */
.timeline {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.timeline__item {
  position: relative;
  display: grid;
  gap: .9rem 2.5rem;
  grid-template-columns: 1fr;
  padding: clamp(1.4rem, 2.5vw, 2rem) 0;
  border-bottom: 1px solid var(--border);
}
.timeline__item:last-child { border-bottom: 0; }
.timeline__year {
  font-family: var(--mono); font-weight: 500;
  font-size: clamp(1rem, 1vw + .8rem, 1.4rem);
  color: var(--accent);
  letter-spacing: .02em;
  white-space: nowrap;
}
.timeline__body { display: flex; flex-direction: column; gap: .6rem; }
.timeline__title {
  font-size: clamp(1.3rem, 1vw + 1rem, 1.8rem);
  font-weight: 600; line-height: 1.15;
  letter-spacing: -.02em;
}
.timeline__text {
  color: var(--text-2);
  max-width: 60ch;
  line-height: 1.6;
}
@media (min-width: 760px) {
  .timeline__item { grid-template-columns: 180px 1fr; align-items: baseline; }
}

/* Closing CTA panel for inner pages */
.about-cta__inner {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 1.6rem;
  max-width: 880px;
}
.about-cta__inner .section__title { margin: 0; max-width: 22ch; }

/* Inline pill list (used for sectors-served on service pages) */
.stat-row {
  display: flex; flex-wrap: wrap; gap: .7rem 1rem;
  list-style: none; padding: 0; margin: 0;
}
.stat-row__item {
  font-family: var(--mono); font-size: var(--fs-sm);
  letter-spacing: .04em;
  padding: .55rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
}

/* Make .row elements work as links (clickable cards) */
a.row { color: inherit; }
a.row:hover .row__title { color: var(--accent-bright); }

/* Case study grid (used on case-studies.html) */
.case-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1.2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .case-grid { grid-template-columns: 1fr 1fr 1fr; } }
.case-card {
  position: relative; overflow: hidden;
  padding: clamp(1.4rem, 2vw, 1.8rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex; flex-direction: column; gap: .55rem;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.case-card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.case-card__num {
  font-family: var(--mono); font-weight: 600;
  font-size: clamp(1.6rem, 1.4vw + 1rem, 2.4rem);
  color: var(--signal);
  letter-spacing: -.01em;
  line-height: 1.1;
}
.case-card__title {
  font-size: clamp(1.15rem, .8vw + .9rem, 1.45rem);
  font-weight: 600; letter-spacing: -.02em;
  margin-top: .25rem;
}
.case-card__text {
  color: var(--text-2);
  font-size: var(--fs-sm);
  line-height: 1.55;
  flex: 1;
}
.case-card__tag {
  font-family: var(--mono); font-size: var(--fs-xs);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-3);
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.case-grid__note {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-family: var(--mono);
  font-size: var(--fs-sm);
  color: var(--text-3);
  text-align: center;
}

/* ---------- 23c. INTRO LOADER ---------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--bg);
}
.intro-done .loader { display: none; }
.loader.is-out {
  transform: translateY(-101%);
  transition: transform .8s var(--ease-soft);
}
.loader__word {
  font-size: clamp(3rem, 13vw, 9rem);
  font-weight: 600; letter-spacing: -.03em; line-height: 1;
  color: var(--text);
}
.loader__foot {
  position: absolute; left: 0; right: 0;
  bottom: clamp(2.2rem, 7vh, 4.5rem);
  display: flex; flex-direction: column;
  align-items: center; gap: .9rem;
}
.loader__count {
  font-family: var(--mono); font-size: var(--fs-sm);
  letter-spacing: .28em; color: var(--text-3); padding-left: .28em;
}
.loader__bar {
  width: min(260px, 56vw); height: 1px;
  background: var(--border-strong); overflow: hidden;
}
.loader__fill { display: block; height: 100%; width: 0; background: var(--accent); }

/* ---------- 24. RESPONSIVE ---------- */
@media (min-width: 600px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .pillars  { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 760px) {
  .learn-grid { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1.6fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .nav { display: block; }
  .hamburger { display: none; }
  .header__cta { display: inline-flex; }
  .sidenav { display: flex; }
  .aeo__inner { grid-template-columns: 1fr 1fr; }
  .about__inner { grid-template-columns: 1.1fr .9fr; }
  .cta__inner { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: repeat(4, 1fr); }
  .learn-grid { grid-template-columns: repeat(3, 1fr); }
  .ind-grid { grid-template-columns: repeat(4, 1fr); }
  .footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
}

/* ---------- 25. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .pulse-dot { animation: none; }
}

/* ---------- 27. WORDPRESS / GRAVITY FORMS GLUE ---------- */
/* Editor placeholder shown when Gravity Forms is not installed yet. */
.gform-placeholder {
	margin: var(--s-6) 0;
	padding: var(--s-6);
	border: 1px dashed var(--border-strong);
	border-radius: var(--radius);
	background: var(--surface-2);
	color: var(--text-2);
	font-size: var(--fs-sm);
}
.section--light .gform-placeholder {
	background: rgba(0,0,0,.04);
	color: inherit;
}

/* Light-touch Gravity Forms styling so the form inherits the Syte look. */
.cta__inner .gform_wrapper form,
.cta__inner .gform_wrapper {
	width: 100%;
}
.gform_wrapper .gfield_label {
	font-family: var(--mono);
	font-size: var(--fs-xs);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--text-2);
}
.gform_wrapper input[type=text],
.gform_wrapper input[type=email],
.gform_wrapper input[type=tel],
.gform_wrapper input[type=url],
.gform_wrapper input[type=number],
.gform_wrapper select,
.gform_wrapper textarea {
	width: 100%;
	background: var(--surface-2);
	color: var(--text);
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	padding: .8rem 1rem;
	font: inherit;
}
.section--light .gform_wrapper input[type=text],
.section--light .gform_wrapper input[type=email],
.section--light .gform_wrapper input[type=tel],
.section--light .gform_wrapper input[type=url],
.section--light .gform_wrapper input[type=number],
.section--light .gform_wrapper select,
.section--light .gform_wrapper textarea {
	background: #fff;
	border-color: rgba(0,0,0,.14);
}
.gform_wrapper input[type=submit],
.gform_wrapper .gform_button {
	background: var(--accent-strong);
	color: #fff;
	border: 0;
	padding: .9rem 1.4rem;
	border-radius: 999px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: var(--shadow-cta);
}
.gform_wrapper input[type=submit]:hover,
.gform_wrapper .gform_button:hover {
	background: var(--accent-bright);
}

/* WP "alignfull / alignwide" inside blog post content. */
.post__body .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.post__body .alignwide { margin-inline: calc(-1 * (var(--container) / 12)); }
.post__body img,
.post__body figure { margin: var(--s-6) 0; border-radius: var(--radius); }
.post__body h2 { font-size: var(--fs-h2); margin: var(--s-12) 0 var(--s-4); }
.post__body h3 { font-size: var(--fs-h3); margin: var(--s-8) 0 var(--s-3); }
.post__body p,
.post__body ul,
.post__body ol,
.post__body blockquote { margin: var(--s-4) 0; }
.post__body a { color: var(--accent-bright); text-decoration: underline; }
.post__body blockquote {
	padding: var(--s-6);
	border-left: 3px solid var(--accent);
	background: var(--surface);
	border-radius: var(--radius);
	font-size: var(--fs-lead);
}

/* WP comments block, kept minimal. */
.wp-comments { margin: var(--s-12) 0; }
.wp-comments .comment-list { list-style: none; padding: 0; }
.wp-comments .comment-body { padding: var(--s-4) 0; border-bottom: 1px solid var(--border); }

/* WP search results / 404 page-hero re-use. */
.page-hero--search .page-hero__title { font-size: clamp(2rem, 4vw, 3rem); }
