/* Version 7: targeted usability, accessibility and responsive fixes. */

:root {
  --g3: #777;
  --g4: #8a8a8a;
  --red-text: var(--red);
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  background: var(--black);
  color: var(--g5);
  font: 600 11px/1.4 var(--font);
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .18s ease;
}
.site-loader img { width: 150px; filter: brightness(0) invert(1); opacity: .72; }
.site-loader-line { width: 190px; height: 1px; overflow: hidden; background: var(--g2); position: relative; }
.site-loader-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: translateX(-100%);
  animation: siteLoaderMove 1.1s ease-in-out infinite;
}
.is-loading-delayed .site-loader { display: flex; opacity: 1; }
.is-loaded .site-loader { opacity: 0; pointer-events: none; }
@keyframes siteLoaderMove { 50% { transform: translateX(35%); } 100% { transform: translateX(100%); } }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 11000;
  padding: 10px 14px;
  background: var(--white);
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .16s ease;
}
.skip-link:focus { transform: translateY(0); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--white) !important;
  outline-offset: 3px;
}

.nav-link,
.nav-section-label,
.ft-nav a,
.ft-bottom span,
.mob-menu-footer { color: var(--g4); }
.nav-link--ask,
.ndi-num,
.hero-tag,
.ph-eyebrow,
.pg-label,
.sec-label,
.s4-eyebrow,
.web4-eyebrow,
.ai4-eyebrow,
.ld4-label,
.rb4-eyebrow { color: var(--red-text) !important; }
.nav-link[aria-current='page'],
.nav-dd-item[aria-current='page'],
.ft-nav a[aria-current='page'] { color: var(--white); }

.mob-menu { pointer-events: none; }
.mob-menu.open { pointer-events: auto; }
.mob-link,
.mob-link::before { color: var(--g4); }

.burger {
  width: 44px;
  height: 44px;
  padding: 0 9px;
  align-items: stretch;
  justify-content: center;
}

.marquee-strip,
.marquee-outer,
.svc-marquee { max-width: 100%; overflow: hidden; }

.ld4-hero-desc { color: rgba(240,237,232,.68) !important; }
[style*='color:rgba(240,237,232,0.45)'],
[style*='color:rgba(240,237,232,.45)'] { color: rgba(240,237,232,.68) !important; }

/* Keep the founders hero consistent with the full-screen service heroes. */
.ask-hero {
  min-height: 100svh;
  box-sizing: border-box;
  justify-content: center;
  padding-top: 128px;
  padding-bottom: 80px;
}
.ask-hero .pg-cta-btn {
  opacity: 0;
  transform: translateY(16px);
}

.rb4-pain .pain-intro { align-items: start; }

/* Humour is a deliberate accent: quoted, white and consistent. */
.humor-highlight { color: var(--white) !important; font-weight: 700; font-size: calc(1em + 2px); }
.c-dot,
.c-ring {
  will-change: transform, opacity;
}
.about-clock-quote { display: block; margin-top: 24px; color: var(--white) !important; font-style: normal; font-weight: 700; font-size: calc(1em + 2px); }
.ld4-hero-desc .humor-highlight,
.s4-pain-text .humor-highlight,
.ld4-define-callout-text strong.humor-highlight,
.ftp-desc .ftp-em { color: var(--white) !important; font-weight: 700; font-size: calc(1em + 2px); }
.s4-process .s4-section-header { margin-bottom: 18px; }
.s4-process-humor { max-width: 56ch; margin: 0; padding-left: 18px; border-left: 2px solid var(--red); color: var(--white) !important; font-size: clamp(17px,1.55vw,21px); line-height: 1.55; }
.intro-callout--humor .ic-text,
.about-clock-quote,
.s4-process-humor,
.ld4-define-callout-punch,
.rb4-hero .rb4-sub,
.rb4-includes-section .pstep-humor { quotes: "«" "»"; }
.intro-callout--humor .ic-text::before,
.about-clock-quote::before,
.s4-process-humor::before,
.ld4-define-callout-punch::before,
.rb4-hero .rb4-sub::before,
.rb4-includes-section .pstep-humor::before,
.humor-highlight::before,
.ftp-desc .ftp-em::before { content: open-quote; }
.intro-callout--humor .ic-text::after,
.about-clock-quote::after,
.s4-process-humor::after,
.ld4-define-callout-punch::after,
.rb4-hero .rb4-sub::after,
.rb4-includes-section .pstep-humor::after,
.humor-highlight::after,
.ftp-desc .ftp-em::after { content: close-quote; }
.intro-callout--humor .ic-text {
  color: var(--white) !important;
  font-size: calc(1em + 2px);
}
.intro-callout--humor .humor-key,
.ld4-define-callout-punch span {
  color: var(--white) !important;
  font-weight: inherit !important;
}
.rb4-hero .rb4-sub {
  color: var(--white) !important;
  font-size: clamp(17px, 1.55vw, 20px) !important;
  line-height: 1.6 !important;
}
.rb4-includes-section .pstep-humor {
  color: var(--white) !important;
  font-size: calc(1em + 2px) !important;
  line-height: 1.65 !important;
  font-weight: 700 !important;
}

.sp-cases-label,
.drag-section-label {
  display: inline-flex !important;
  align-items: center;
  width: max-content;
  padding: 5px 8px 6px;
  background: #050505;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 4px 4px 0 rgba(204,17,34,.85);
  color: var(--white) !important;
  line-height: 1 !important;
}
.sp-cases-label {
  margin-bottom: 14px;
  font-size: 12px !important;
}
.svc-panel.sp-bg--8 .sp-cases-label {
  background: var(--red);
  border-color: rgba(5,5,5,.42);
  box-shadow: 4px 4px 0 #050505;
}
.drag-section-label {
  margin-bottom: 18px !important;
  font-size: 12px !important;
}

.ai4-case-quote {
  border-left: 0 !important;
  padding-left: 0 !important;
  color: rgba(240,237,232,.62) !important;
  font-size: clamp(16px, 1.35vw, 18px) !important;
  line-height: 1.7 !important;
  font-style: normal !important;
  font-weight: 400 !important;
  max-width: 72ch;
}

/* Leads definition: one clear statement across the full callout. */
.ld4-define-callout {
  display: block;
  padding: clamp(32px, 3vw, 46px);
  background: #100a0b;
  border: 1px solid rgba(204,17,34,.28);
  border-left: 3px solid var(--red);
  border-radius: 8px;
}
.ld4-define-callout-bar { display: none; }
.ld4-define-callout-text { margin: 0; }
.ld4-define-callout-punch {
  margin: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  border: 0;
  color: var(--white);
  font-size: clamp(22px, 2.1vw, 31px);
  line-height: 1.36;
}
.ld4-define-callout-punch span {
  display: inline;
  margin: 0;
  color: var(--white);
}

/* ── IGM visual alignment ────────────────────────────────────────────────
   Shared UI values only.  The editorial compositions and individual hero
   scales stay page-specific by design; these rules keep repeated controls
   from feeling like they came from different sites. */
:root {
  --igm-control-radius: 4px;
  --igm-card-radius: 8px;
  --igm-control-height: 52px;
  --igm-fast: .16s ease-out;
  --igm-section-space: clamp(80px, 11vh, 140px);
}

/* One rhythm for small service labels and readable hero descriptions. */
.ph-eyebrow,
.pg-label,
.s4-eyebrow,
.s4-section-tag,
.web4-eyebrow,
.web4-section-tag,
.ai4-eyebrow,
.ai4-intro-label,
.ai4-section-tag,
.ld4-label,
.ld4-ch-label,
.ld4-proc-card-num,
.ld4-define-label,
.rb4-eyebrow {
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: .18em;
}
.s4-sub,
.web4-sub,
.ai4-sub,
.ld4-hero-desc,
.rb4-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.65;
}

/* Controls share a clear, modest corner radius and immediate feedback. */
.nav-cta,
.pg-cta-btn,
.inline-cta-btn,
.about-pin-cta,
.cf-btn,
.pf-submit,
.quiz-back,
.quiz-next,
.quiz-contact,
.quiz-download,
.lead-gate-submit {
  min-height: var(--igm-control-height);
  border-radius: var(--igm-control-radius);
}
.nav-cta,
.pg-cta-btn,
.inline-cta-btn,
.about-pin-cta,
.cf-btn,
.pf-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.quiz-download { min-height: 68px; }
.pf-field input,
.pf-field textarea,
.pf-field select,
.lead-gate-field {
  border-radius: var(--igm-control-radius);
}

/* Repeated content cards use the same edge treatment.  Pills/tags and the
   deliberately square structural grids are intentionally excluded. */
.s4-vstep,
.s4-pain-card,
.web4-why-card,
.web4-proc-card,
.ai4-terminal,
.ai4-pcard,
.ld4-proc-card,
.ld4-niche-item,
.ld4-define-callout,
.rb4-approach-card {
  border-radius: var(--igm-card-radius);
}
/* The main service sections now share the same vertical cadence, while each
   page keeps its own visual blocks and horizontal composition. */
.s4-pain,
.s4-process,
.web4-why,
.web4-process,
.ai4-intro,
.ai4-proc-pin,
.ld4-channels,
.ld4-econ,
.ld4-niche,
.ld4-define,
.rb4-niche,
.rb4-approach {
  padding-top: var(--igm-section-space);
  padding-bottom: var(--igm-section-space);
}

@media (max-width: 700px) {
  .quiz-download { min-height: 62px; }
}

@media (max-width: 900px) {
  .nav-link--ask { display: none; }
  .nav-cta { display: inline-flex; padding: 9px 11px; font-size: 10px; }
  .ft-nav { width: 100%; flex-wrap: wrap; gap: 12px 22px; }
  .manifesto-text {
    font-size: clamp(26px, 7.2vw, 36px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
  }
  .ask-hero {
    min-height: 100svh;
    justify-content: center;
    padding: 112px 24px 56px;
  }
  .ld4-define-callout-punch {
    font-size: clamp(19px, 5.4vw, 27px);
  }
}

@media print {
  #cursor,
  #cursorPreview,
  .site-loader { display: none !important; }
  [class*='reveal'],
  .ph-word,
  .s4-word,
  .web4-word,
  .ai4-word,
  .rb4-word {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .ask-hero .pg-cta-btn {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: clamp(48px, 13vw, 58px); line-height: .9; letter-spacing: -.05em; }
  .ht-line--sub { padding-left: 0; }
  .s4-title { font-size: 56px !important; line-height: .92 !important; }
  .mob-link { font-size: 42px; line-height: .98; }
  .mob-menu-inner { width: calc(100% - 48px); }
}

@media (hover: none), (pointer: coarse) {
  #cursor,
  #cursorPreview { display: none !important; }
  body,
  button { cursor: auto !important; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  #cursor,
  #cursorPreview { display: none !important; }
  body,
  button { cursor: auto !important; }
  .marquee-track,
  .marquee-inner,
  .svc-marquee-inner,
  .gmq-inner { animation: none !important; transform: none !important; }
  [class*='reveal'],
  .ph-word,
  .s4-word,
  .web4-word,
  .ai4-word,
  .rb4-word {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .ask-hero .pg-cta-btn {
    opacity: 1 !important;
    transform: none !important;
  }
}
