/* ============================================================
   GLASH MANAGEMENT CONSULTING - DESIGN SYSTEM
   Deep Navy #0B132B · Electric Cyan #00B8FF · Graphite #586470
   ============================================================ */

:root {
  --navy: #0B132B;
  --navy-2: #101B3D;
  --navy-3: #16224A;
  --cyan: #00B8FF;
  --cyan-soft: rgba(0, 184, 255, .12);
  --cyan-line: rgba(0, 184, 255, .35);
  --graphite: #586470;
  --ink: #1C2541;
  --white: #FFFFFF;
  --paper: #F5F8FC;
  --line: #E2E8F0;
  --line-dark: rgba(255, 255, 255, .09);
  --text-dark: rgba(255, 255, 255, .72);
  --ease-pop: cubic-bezier(.785, .135, .15, .01);
  --shadow-md: 0 18px 48px -18px rgba(11, 19, 43, .22);
  --radius: 14px;
  --font-sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a { color: var(--cyan); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(0, 184, 255, .45);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection { background: var(--cyan); color: var(--navy); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.container-wide { max-width: 1320px; margin: 0 auto; padding: 0 28px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--cyan); color: var(--navy);
  padding: 10px 18px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Section markers & headings ---------- */
.marker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--graphite); margin-bottom: 26px;
}
.marker::before { content: ""; width: 30px; height: 2px; background: var(--cyan); }
.section-dark .marker { color: rgba(255,255,255,.55); }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; color: var(--navy); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.h-section { font-size: clamp(30px, 4.2vw, 48px); margin-bottom: 20px; }
.lede { font-size: 19px; color: var(--graphite); max-width: 760px; }
.section-dark .lede { color: var(--text-dark); }

section { padding: 108px 0; position: relative; }
.section-dark { background: var(--navy); color: var(--text-dark); }
.section-paper { background: var(--paper); }

/* Oversized ghost numerals anchoring dark sections */
.ghost-index {
  position: absolute; top: 34px; right: 4vw;
  font-family: var(--font-mono); font-size: clamp(70px, 9vw, 130px);
  font-weight: 500; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.08);
  pointer-events: none; user-select: none; line-height: 1;
}
.section-paper .ghost-index, .section-light .ghost-index {
  -webkit-text-stroke: 1px rgba(11,19,43,.07);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: #000C27;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(255,255,255,.08);
}
.nav-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 28px;
  height: auto; display: flex; align-items: center; gap: 18px;
}
.nav-logo { display: flex; align-items: center; gap: 0; }
.nav-logo img { height: 92px; width: auto; }
@media (max-width: 768px) {
  .nav-logo img { height: auto; max-height: 64px; max-width: 120px; width: auto; }
}
.nav-links { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,.78); font-size: 14.5px; font-weight: 500;
  padding: 8px 13px; border-radius: 999px;
  transition: color .3s, background .3s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active { color: var(--cyan); }
.nav-cta {
  margin-left: 10px; padding: 10px 22px !important;
  background: var(--cyan); color: var(--navy) !important;
  font-weight: 700; border-radius: 999px;
  transition: background .2s !important;
}
.nav-cta:hover { background: #3FC9FF !important; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0;
  width: 44px; height: 44px; cursor: pointer; position: relative; z-index: 110;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; margin: 5px auto;
  background: #fff; transition: .3s var(--ease-pop);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15.5px; letter-spacing: .01em;
  padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer;
  position: relative; overflow: hidden;
  transition: background .2s, transform .16s, box-shadow .16s, color .2s;
}
.btn .arrow { display: inline-block; transition: transform .16s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { background: #3FC9FF; }
.btn-ghost {
  background: transparent; color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,.06); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); }
.btn-sm { padding: 11px 22px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 82% -8%, rgba(0,184,255,.16), transparent 62%),
    radial-gradient(700px 420px at 8% 108%, rgba(0,184,255,.09), transparent 60%),
    var(--navy);
  color: var(--text-dark);
  padding: 176px 0 0; text-align: center; overflow: hidden;
}
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: .26em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 76px); color: #fff;
  max-width: 1000px; margin: 0 auto 30px; letter-spacing: -0.03em;
}
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero .lede { margin: 0 auto 44px; max-width: 820px; font-size: 18.5px; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 76px; }
.hero-frame {
  max-width: 1080px; margin: 0 auto; padding: 0 28px;
  position: relative;
}
.hero-frame img {
  border-radius: 18px 18px 0 0;
  border: 1px solid var(--line-dark); border-bottom: 0;
  box-shadow: 0 -30px 120px -30px rgba(0,184,255,.35);
}
.pillars {
  border-top: 1px solid var(--line-dark);
  background: rgba(255,255,255,.02);
}

/* ---------- Choice (Human vs Agentic) ---------- */
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 54px; }
.choice-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 38px; background: #fff;
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.choice-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #CBD5E1; }
.choice-card .tag {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--cyan); display: block; margin-bottom: 16px;
}
.choice-card h3 { font-size: 26px; margin-bottom: 14px; }
.choice-card p { color: var(--graphite); }
.choice-points { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 44px; }
.choice-points li {
  list-style: none; padding-left: 30px; position: relative; color: var(--graphite);
}
.choice-points li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 14px; height: 2px; background: var(--cyan);
}
.choice-close {
  margin-top: 46px; font-size: 19px; font-weight: 600; color: var(--navy);
  border-left: 3px solid var(--cyan); padding-left: 22px; max-width: 900px;
}

/* ---------- HITL feature panel ---------- */
.hitl-panel {
  background: #fff; border: 1px solid var(--line);
  border-top: 4px solid var(--cyan);
  border-radius: var(--radius); padding: 56px;
  display: grid; grid-template-columns: 340px 1fr; gap: 56px;
  box-shadow: var(--shadow-md);
}
.hitl-price .amount {
  font-size: clamp(44px, 5vw, 62px); font-weight: 800; color: var(--navy);
  letter-spacing: -0.03em; line-height: 1;
}
.hitl-price .amount small { font-size: 20px; font-weight: 600; color: var(--graphite); letter-spacing: 0; }
.hitl-price .per { font-family: var(--font-mono); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-top: 10px; }
.hitl-price p { margin-top: 22px; color: var(--graphite); font-size: 16px; }
.hitl-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 36px; }
.hitl-list li {
  list-style: none; padding: 14px 0 14px 28px; position: relative;
  border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--ink);
}
.hitl-list li::before {
  content: ""; position: absolute; left: 0; top: 24px;
  width: 12px; height: 2px; background: var(--cyan);
}
.hitl-list li strong { display: block; color: var(--navy); font-size: 15.5px; }
.hitl-list li span { color: var(--graphite); font-size: 14.5px; }

/* ---------- Agent cards (dark) ---------- */
.agent-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px;
}
.agent-card {
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 30px 28px; background: rgba(255,255,255,.025);
  transition: transform .16s, border-color .16s, background .16s;
  display: flex; flex-direction: column;
}
.agent-card:hover {
  transform: translateY(-3px); border-color: var(--cyan-line);
  background: rgba(0,184,255,.05);
}
.agent-card .role {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 12px;
}
.agent-card p { font-size: 15px; color: var(--text-dark); flex: 1; }
.agent-card .rate {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono); font-size: 15px; color: #fff;
}
.agent-card .rate small { color: rgba(255,255,255,.45); font-size: 12px; }
.note-banner {
  margin-top: 40px; border: 1px solid var(--cyan-line);
  background: var(--cyan-soft); border-radius: 10px;
  padding: 18px 24px; font-size: 15px; color: rgba(255,255,255,.85);
  display: flex; gap: 14px; align-items: baseline;
}
.note-banner::before { content: "//"; font-family: var(--font-mono); color: var(--cyan); }
.section-paper .note-banner, .section-light .note-banner { color: var(--ink); }

/* ---------- Rate tables ---------- */
.rate-table { margin-top: 50px; border-top: 1px solid var(--line); }
.rate-row {
  display: grid; grid-template-columns: 300px 1fr 130px; gap: 30px;
  padding: 26px 8px; border-bottom: 1px solid var(--line);
  align-items: baseline; transition: background .16s;
}
.rate-row:hover { background: rgba(0,184,255,.04); }
.rate-row .r-role { font-weight: 700; color: var(--navy); font-size: 17px; }
.rate-row .r-role small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
.rate-row .r-desc { color: var(--graphite); font-size: 15.5px; }
.rate-row .r-rate { font-family: var(--font-mono); font-size: 17px; color: var(--navy); text-align: right; white-space: nowrap; }
.section-dark .rate-table { border-top-color: var(--line-dark); }
.section-dark .rate-row { border-bottom-color: var(--line-dark); }
.section-dark .rate-row:hover { background: rgba(0,184,255,.05); }
.section-dark .rate-row .r-role { color: #fff; }
.section-dark .rate-row .r-desc { color: var(--text-dark); }
.section-dark .rate-row .r-rate { color: var(--cyan); }

/* ---------- Project pricing cards ---------- */
.project-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px;
}
.project-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; display: flex; flex-direction: column;
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #CBD5E1; }
.project-card h3 { font-size: 21px; margin-bottom: 6px; }
.project-card .from {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--graphite); margin-bottom: 4px;
}
.project-card .price { font-size: 34px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 16px; }
.project-card .blurb { color: var(--graphite); font-size: 15px; margin-bottom: 20px; }
.project-card ul { margin-top: auto; }
.project-card li {
  list-style: none; padding: 7px 0 7px 24px; position: relative;
  font-size: 14px; color: var(--graphite); border-top: 1px solid var(--line);
}
.project-card li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 10px; height: 2px; background: var(--cyan);
}
.section-dark .project-card { background: rgba(255,255,255,.03); border-color: var(--line-dark); }
.section-dark .project-card:hover { border-color: var(--cyan-line); }
.section-dark .project-card h3, .section-dark .project-card .price { color: #fff; }
.section-dark .project-card .blurb, .section-dark .project-card li { color: var(--text-dark); }
.section-dark .project-card li { border-top-color: var(--line-dark); }

/* ---------- Split section (talent story) ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: start; }
.split-visual {
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--navy); padding: 46px 40px; color: var(--text-dark);
  position: sticky; top: 110px;
}
.split-visual .prism-img { width: 92px; margin-bottom: 28px; filter: drop-shadow(0 8px 24px rgba(0,184,255,.45)); }
.split-visual h3 { color: #fff; font-size: 24px; margin-bottom: 18px; }
.split-visual ul { margin-top: 8px; }
.split-visual li {
  list-style: none; padding: 12px 0 12px 30px; position: relative;
  border-bottom: 1px solid var(--line-dark); font-size: 15px;
}
.split-visual li::before {
  content: ""; position: absolute; left: 0; top: 20px;
  width: 14px; height: 2px; background: var(--cyan);
}
.split-copy p { color: var(--graphite); margin-bottom: 22px; }
.split-copy p strong { color: var(--navy); }
.split-copy .result {
  font-weight: 700; color: var(--navy); border-left: 3px solid var(--cyan);
  padding-left: 20px; font-size: 18px;
}

/* ---------- Stats / pedigree ---------- */
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.stat {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; background: #fff;
}
.stat .num { font-size: 46px; font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.stat .num em { font-style: normal; color: var(--cyan); }
.stat .lbl { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--graphite); margin-top: 12px; }

/* ---------- Case study placeholders ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.case-card {
  border: 1px dashed #B9C4D1; border-radius: var(--radius); padding: 34px 30px;
  background: rgba(0,184,255,.02);
}
.case-card .tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.case-card h3 { font-size: 19px; margin: 12px 0 8px; }
.case-card p { font-size: 14.5px; color: var(--graphite); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; margin-top: 54px; align-items: start; }
.form-card {
  background: rgba(255,255,255,.03); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 42px;
}
.form-card.light { background: #fff; border-color: var(--line); box-shadow: var(--shadow-md); }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: 9px;
}
.form-card.light .field label { color: var(--graphite); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 15.5px;
  color: #fff; background: rgba(255,255,255,.05);
  border: 1px solid var(--line-dark); border-radius: 8px;
  transition: border-color .2s, box-shadow .2s;
}
.form-card.light .field input, .form-card.light .field select, .form-card.light .field textarea {
  color: var(--ink); background: #fff; border-color: var(--line);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,184,255,.18); outline: none;
}
.field .err { display: none; color: #FF7A90; font-size: 13px; margin-top: 6px; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #FF7A90; }
.field select option { color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-success {
  display: none; text-align: center; padding: 60px 30px;
}
.form-success.show { display: block; }
.form-success .check {
  width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%;
  border: 2px solid var(--cyan); display: flex; align-items: center; justify-content: center;
}
.form-success .check svg { width: 30px; height: 30px; }
.form-success .check path {
  stroke: var(--cyan); stroke-width: 3; fill: none;
  stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: draw .6s var(--ease-pop) .1s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: 24px; margin-bottom: 10px; }
.contact-side .c-block { border-bottom: 1px solid var(--line-dark); padding: 26px 0; }
.contact-side .c-block:first-child { padding-top: 0; }
.contact-side .lbl { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.contact-side .val { font-size: 20px; color: #fff; font-weight: 600; }
.contact-side p { color: var(--text-dark); font-size: 15px; margin-top: 8px; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark); margin-top: 30px; }
.map-frame iframe { width: 100%; height: 280px; border: 0; display: block; filter: grayscale(.3) contrast(1.05); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background:
    radial-gradient(800px 400px at 85% -10%, rgba(0,184,255,.15), transparent 60%),
    var(--navy);
  color: var(--text-dark); padding: 170px 0 90px;
}
.page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 60px); max-width: 860px; }
.page-hero .lede { margin-top: 22px; }

/* ---------- Agent profile page ---------- */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.profile-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 40px; transition: transform .16s, box-shadow .16s;
}
.profile-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.profile-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.profile-head h3 { font-size: 24px; }
.profile-head .rate { font-family: var(--font-mono); color: var(--cyan); white-space: nowrap; font-size: 15px; }
.profile-card .persona { font-size: 16px; color: var(--ink); font-weight: 600; margin-bottom: 14px; }
.profile-card .bio { color: var(--graphite); font-size: 15px; margin-bottom: 20px; }
.profile-card h4 {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--graphite); margin: 18px 0 10px;
}
.profile-card .caps { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-card .caps span {
  font-size: 12.5px; padding: 6px 12px; border-radius: 6px;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
}
.profile-card .sample {
  font-family: var(--font-mono); font-size: 13.5px; color: var(--graphite);
  background: var(--navy); color: rgba(255,255,255,.78);
  border-radius: 8px; padding: 16px 18px; margin-top: 6px;
}
.profile-card .sample b { color: var(--cyan); font-weight: 500; }

/* ---------- Services detail ---------- */
.service-block { border-top: 1px solid var(--line); padding: 64px 0; }
.service-block:first-of-type { border-top: 0; }
.service-block .svc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.service-block h2 { font-size: clamp(26px, 3vw, 36px); }
.service-block .svc-price { font-family: var(--font-mono); color: var(--cyan); font-size: 17px; white-space: nowrap; }
.service-block .svc-body { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; margin-top: 26px; }
.service-block .svc-body p { color: var(--graphite); margin-bottom: 16px; }
.service-block .covers li {
  list-style: none; padding: 8px 0 8px 26px; position: relative;
  font-size: 14.5px; color: var(--ink); border-bottom: 1px solid var(--line);
}
.service-block .covers li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 12px; height: 2px; background: var(--cyan);
}
.process-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.process-strip .step { border: 1px solid var(--line-dark); border-radius: 10px; padding: 24px; }
.process-strip .step .n { font-family: var(--font-mono); color: var(--cyan); font-size: 13px; letter-spacing: .15em; }
.process-strip .step h3 { font-size: 17px; margin: 10px 0 6px; }
.process-strip .step p { font-size: 13.5px; color: var(--text-dark); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; text-align: left; cursor: pointer;
  padding: 24px 40px 24px 4px; font: inherit; font-weight: 700; font-size: 17.5px;
  color: var(--navy); position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 22px; color: var(--cyan); transition: transform .24s;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .24s ease; }
.faq-a p { padding: 0 4px 24px; color: var(--graphite); max-width: 820px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 380px at 88% 10%, rgba(0,184,255,.18), transparent 62%),
    var(--navy);
  text-align: center; color: var(--text-dark);
}
.cta-band h2 { color: #fff; font-size: clamp(30px, 4vw, 50px); max-width: 800px; margin: 0 auto 18px; }
.cta-band p { max-width: 640px; margin: 0 auto 40px; }

/* ---------- Footer ---------- */
.site-footer { background: #000C27; color: var(--text-dark); padding: 70px 0 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; padding-bottom: 54px; }
.footer-grid img { height: 92px; width: auto; margin-bottom: 22px; }
.footer-grid p { font-size: 14.5px; max-width: 320px; }
.footer-grid h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid li a { color: var(--text-dark); font-size: 15px; transition: color .2s; }
.footer-grid li a:hover { color: var(--cyan); }
.sub-footer {
  border-top: 1px solid var(--line-dark); padding: 24px 0;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em;
  color: rgba(255,255,255,.4); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.sub-footer a { color: rgba(255,255,255,.55); }

/* ---------- Visual media & motion toys ---------- */

/* Hero: generated art layer + particle canvas */
.hero-art {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.hero-art img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .42; mix-blend-mode: screen;
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.02) translateY(0); }
  to   { transform: scale(1.08) translateY(-14px); }
}
.hero-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,19,43,.72) 0%, rgba(11,19,43,.38) 45%, rgba(11,19,43,.88) 100%);
}
#hero-particles {
  position: absolute; inset: 0; pointer-events: none;
}
.hero > .container, .hero .hero-frame { position: relative; z-index: 2; }
.hero .pillars { position: relative; z-index: 2; }

/* Pillars: infinite marquee */
.pillars { overflow: hidden; padding: 22px 0; }
.pillars .marquee-track {
  display: flex; width: max-content;
  animation: marquee 36s linear infinite;
}
.pillars:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.6); padding: 4px 42px;
  border-left: 1px solid var(--cyan-line); white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Card imagery with ken-burns hover */
.card-media {
  border-radius: 10px; overflow: hidden; margin-bottom: 24px;
  aspect-ratio: 3 / 2; background: var(--navy);
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 6s ease-out;
}
.choice-card:hover .card-media img { transform: scale(1.07); }

/* Human-in-the-loop: rotating gradient frame (the differentiator) */
.hitl-wrap { position: relative; border-radius: calc(var(--radius) + 3px); padding: 3px; margin-top: 50px; }
.hitl-wrap::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: conic-gradient(from var(--a, 0deg),
    var(--cyan) 0%, rgba(0,184,255,.06) 28%, rgba(0,184,255,.06) 62%, #7DD8FF 82%, var(--cyan) 100%);
  animation: spinBorder 7s linear infinite;
}
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spinBorder { to { --a: 360deg; } }
.hitl-wrap .hitl-panel { margin-top: 0; border: 0; border-top: 0; position: relative; }
@supports not (background: conic-gradient(from var(--a, 0deg), red, blue)) {
  .hitl-wrap::before { animation: none; background: linear-gradient(120deg, var(--cyan), rgba(0,184,255,.15), var(--cyan)); }
}

/* Prism float + glow pulse */
.prism-float { animation: prismFloat 7s ease-in-out infinite; }
@keyframes prismFloat {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 8px 24px rgba(0,184,255,.45)); }
  50%      { transform: translateY(-9px); filter: drop-shadow(0 16px 34px rgba(0,184,255,.65)); }
}

/* Full-bleed image band with slow drift */
.media-band {
  border-radius: var(--radius); overflow: hidden; position: relative;
  border: 1px solid var(--line);
}
.media-band img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  animation: heroDrift 22s ease-in-out infinite alternate;
}
.media-band .cap {
  position: absolute; left: 22px; bottom: 18px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.85);
  background: rgba(11,19,43,.55); backdrop-filter: blur(8px);
  padding: 8px 14px; border-radius: 6px; border: 1px solid var(--line-dark);
}
.section-dark .media-band { border-color: var(--line-dark); }

/* Split visual with image header */
.split-visual .visual-img {
  margin: -46px -40px 30px; border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden; aspect-ratio: 16/10;
}
.split-visual .visual-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 6s ease-out;
}
.split-visual:hover .visual-img img { transform: scale(1.06); }

/* Stat counter animation helper */
.stat .num span { display: inline-block; }

/* Primary CTA shine sweep */
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%;
  left: -60%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg); transition: none;
}
.btn-primary:hover::after { animation: shine .8s var(--ease-pop); }
@keyframes shine { to { left: 130%; } }

/* Page hero background art */
.page-hero { position: relative; overflow: hidden; }
.page-hero .hero-art img { opacity: .3; }
.page-hero .container { position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .hero-art img, .media-band img, .pillars .marquee-track,
  .hitl-wrap::before, .prism-float, .btn-primary:hover::after { animation: none !important; }
  #hero-particles { display: none; }
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(26px); filter: blur(5px);
  transition: opacity .7s var(--ease-pop), transform .7s var(--ease-pop), filter .7s var(--ease-pop);
  transition-delay: var(--d, 0ms);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .agent-grid, .project-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .hitl-panel { grid-template-columns: 1fr; gap: 36px; padding: 42px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-visual { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-block .svc-body { grid-template-columns: 1fr; gap: 30px; }
  .process-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 76px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0; background: rgba(11,19,43,.98);
    flex-direction: column; justify-content: center; gap: 10px;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 20px; }
  .nav-cta { margin: 14px 0 0; }
  .hero { padding-top: 140px; }
  .choice-grid, .choice-points, .hitl-list, .agent-grid, .project-grid,
  .case-grid, .stat-band, .profile-grid, .form-row { grid-template-columns: 1fr; }
  .rate-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 4px; }
  .rate-row .r-rate { text-align: left; }
  .process-strip { grid-template-columns: 1fr; }
  .hitl-panel { padding: 32px 26px; }
  .form-card { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .marquee-track span { padding: 4px 24px; letter-spacing: .18em; }
  .ghost-index { display: none; }
}

/* ---------- Corrections V2 additions ---------- */
.agent-scope {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cyan); margin-top: 8px;
}
.agent-tasks {
  margin-top: 14px; padding-left: 0; list-style: none;
  font-size: 13.5px; color: var(--text-dark); line-height: 1.55;
}
.agent-tasks li {
  padding: 4px 0 4px 18px; position: relative;
}
.agent-tasks li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 8px; height: 2px; background: var(--cyan);
}
.section-light .agent-tasks { color: var(--graphite); }

/* ---------- Subtle motion additions ---------- */
@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-art img {
  animation: heroGradient 18s ease-in-out infinite;
  background-size: 200% 200%;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.split-visual .prism-img,
.agent-card .role::before {
  animation: gentleFloat 6s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,184,255,.25); }
  50% { box-shadow: 0 0 0 8px rgba(0,184,255,0); }
}
.btn-primary {
  animation: ctaPulse 2.8s ease-in-out infinite;
}

.agent-card,
.project-card,
.rate-row,
.case-card,
.profile-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.agent-card:hover,
.project-card:hover,
.case-card:hover,
.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(2,12,45,.18);
}
.rate-row:hover {
  background: rgba(0,184,255,.04);
}

.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; left: 50%; bottom: 6px;
  width: 0; height: 2px; background: var(--cyan);
  transition: width .25s ease, left .25s ease;
}
.nav-links a:hover::after {
  width: calc(100% - 26px); left: 13px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-art img, .split-visual .prism-img, .btn-primary, .agent-card .role::before {
    animation: none;
  }
  .agent-card:hover, .project-card:hover, .case-card:hover, .profile-card:hover {
    transform: none;
  }
}

/* ---------- Mobile touch & readability improvements ---------- */
@media (max-width: 768px) {
  .nav-links a {
    padding: 14px 20px;
    font-size: 22px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav-links .nav-cta {
    margin-top: 20px;
    padding: 14px 26px !important;
  }
  input, textarea, select {
    font-size: 16px;
    min-height: 44px;
  }
  .hero h1 {
    font-size: clamp(32px, 10vw, 48px);
    line-height: 1.1;
  }
  .hero .lede {
    font-size: 17px;
  }
  .agent-card, .profile-card, .project-card, .choice-card {
    word-wrap: break-word;
  }
}
