/* ============================================================
   AI TRIDENT GROUP — style.css
   Professional light theme drawn from the brand logo:
   white / ice backgrounds, slate headings, royal blue + cyan.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --white: #FFFFFF;
  --ice: #F2F7FC;          /* alternate section background */
  --ice-deep: #E7F0F9;
  --border: #DCE7F2;
  --navy: #0A1628;          /* footer / impact band anchor */
  --abyss: #102A4C;
  --royal: #1E5BC6;         /* the "AI" blue — primary accent */
  --royal-dark: #16439A;
  --cyan: #34C6F4;          /* energy highlights */
  --plasma: #BFE9FF;
  --slate: #2E3440;         /* headings */
  --text: #46566A;          /* body */
  --text-dim: #64748B;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --nav-h: 78px;
  --radius: 12px;
  --maxw: 1200px;
  --shadow-sm: 0 1px 2px rgba(16, 42, 76, 0.06), 0 4px 14px -6px rgba(16, 42, 76, 0.08);
  --shadow-md: 0 2px 6px rgba(16, 42, 76, 0.06), 0 14px 34px -14px rgba(16, 42, 76, 0.18);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: rgba(52, 198, 244, 0.3); color: var(--slate); }

/* Trident cursor — brand mark as the pointer */
body,
a, button, input, select, textarea, label,
.quiz-opt, .pillar, [role="button"] {
  cursor: url("../images/cursor-trident.png") 8 0, auto;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--slate);
  letter-spacing: -0.015em;
}

.container { width: min(var(--maxw), 90vw); margin-inline: auto; }

/* Eyebrow labels — mirrors the G R O U P letterspacing of the logo */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--royal);
}
.eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--cyan); }
.eyebrow.has-line::after { content: ""; width: 36px; height: 2px; background: var(--cyan); }

.section { position: relative; padding: clamp(52px, 7vh, 84px) 0; }
.section.alt { background: var(--ice); border-block: 1px solid var(--border); }
.section-head { max-width: 700px; margin-bottom: clamp(26px, 4vh, 40px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin: 16px 0 14px; }
.section-head p { color: var(--text-dim); font-size: 18px; }

/* Scroll reveals — subtle, professional */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="2"].is-in { transition-delay: 0.1s; }
[data-reveal="3"].is-in { transition-delay: 0.2s; }
[data-reveal="4"].is-in { transition-delay: 0.3s; }

/* ============================================================
   NAV — clean white bar
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.nav.is-scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.nav-inner {
  width: min(1320px, 94vw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 46px; width: auto; }
.nav-logo .wordmark {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: 0.02em; color: var(--slate); white-space: nowrap; line-height: 1.2;
}
.nav-logo .wordmark b { color: var(--royal); font-weight: 800; }
.nav-logo .wordmark small {
  display: block; font-size: 8.5px; font-weight: 600;
  letter-spacing: 0.5em; color: var(--text-dim); margin-top: 1px;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  position: relative;
  font-size: 15px; font-weight: 600; color: var(--text);
  transition: color .25s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--royal); }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -7px;
  height: 2px; background: var(--royal);
  transition: right .3s var(--ease-out);
}
.nav-links a:not(.btn):hover::after, .nav-links a.is-active:not(.btn)::after { right: 0; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; z-index: 1001; }
.nav-toggle span {
  width: 24px; height: 2px; background: var(--slate);
  border-radius: 2px; transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   BUTTONS — structured, corporate
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  border-radius: 8px;
  transition: background .25s, color .25s, box-shadow .25s, transform .25s, border-color .25s;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #fff;
  background: var(--royal);
  box-shadow: 0 6px 18px -8px rgba(30, 91, 198, 0.55);
}
.btn-primary:hover { background: var(--royal-dark); box-shadow: 0 10px 24px -8px rgba(30, 91, 198, 0.6); }
.btn-ghost {
  color: var(--royal);
  border: 1.5px solid rgba(30, 91, 198, 0.35);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--royal); background: rgba(30, 91, 198, 0.05); }
.btn-sm { padding: 11px 22px; font-size: 13.5px; }
.btn-on-dark { background: #fff; color: var(--royal); box-shadow: 0 8px 22px -10px rgba(4, 12, 24, 0.5); }
.btn-on-dark:hover { background: var(--plasma); }
.btn-ghost-dark { color: #fff; border: 1.5px solid rgba(255,255,255,0.45); background: transparent; }
.btn-ghost-dark:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ============================================================
   HERO — real ocean, structured layout
   ============================================================ */
.hero {
  position: relative;
  min-height: max(520px, 76vh);
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: linear-gradient(180deg, #EAF3FB, #D9EAF8);
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-media video, .hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
/* white wash from the left so text sits on a clean field */
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 30%, rgba(255,255,255,0.45) 58%, rgba(255,255,255,0.05) 85%),
    linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 30%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 640px;
  padding: 56px 0;
}
.hero h1 {
  font-size: clamp(38px, 5.6vw, 64px);
  margin: 24px 0 20px;
}
.hero h1 .accent { color: var(--royal); }
.hero-sub {
  max-width: 540px;
  color: var(--text);
  font-size: clamp(16.5px, 1.8vw, 19px);
  margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
/* ============================================================
   INTRO — the untapped ocean (structured, light)
   ============================================================ */
.intro-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start;
}
.intro-grid h2 { font-size: clamp(28px, 3.8vw, 42px); margin-top: 16px; }
.intro-grid h2 em { font-style: normal; color: var(--royal); }
.intro-copy p { margin-bottom: 18px; color: var(--text); font-size: 17.5px; }
.pain-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pain-chips span {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  color: var(--abyss);
  background: var(--ice);
  border: 1px solid var(--border);
  padding: 9px 16px; border-radius: 30px;
}

/* ============================================================
   THREE PILLARS — The Prongs
   ============================================================ */
.pillar-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top: 3px solid var(--royal);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 34px 30px 30px;
  transition: box-shadow .3s, transform .3s var(--ease-out), border-color .3s;
  text-align: left;
  display: block; width: 100%;
}
.pillar:hover, .pillar:focus-visible, .pillar.is-open {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 91, 198, 0.35);
  border-top-color: var(--cyan);
}
.pillar-num {
  font-family: var(--font-display); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.34em; color: var(--royal); text-transform: uppercase;
}
.pillar h3 { font-size: 24px; margin: 12px 0 6px; }
.pillar .tagline { color: var(--text-dim); font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.pillar ul { display: grid; gap: 10px; color: var(--text); font-size: 15px; }
.pillar ul li { padding-left: 22px; position: relative; }
.pillar ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 10px; height: 2.5px; background: var(--cyan); border-radius: 2px;
}
.pillar-stat {
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
  display: flex; align-items: baseline; gap: 10px;
}
.pillar-stat b { font-size: 28px; color: var(--royal); font-weight: 800; }
.pillar-stat span { font-size: 13px; color: var(--text-dim); line-height: 1.35; }
.pillar-more {
  margin-top: 16px;
  font-family: var(--font-display); font-size: 13.5px; font-weight: 700;
  color: var(--royal);
  display: inline-flex; align-items: center; gap: 8px;
}
.pillar-detail {
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease-out), margin .5s;
  color: var(--text); font-size: 14.5px;
}
.pillar.is-open .pillar-detail { max-height: 480px; margin-top: 16px; }
.pillar-detail .vignette {
  margin-top: 12px; padding: 14px 16px;
  border-left: 3px solid var(--cyan);
  background: var(--ice);
  border-radius: 0 8px 8px 0;
  font-size: 13.5px;
}
.pillars-closer {
  margin-top: 34px; text-align: center;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 24px); font-weight: 600;
  color: var(--slate);
}
.pillars-closer em { color: var(--royal); font-style: normal; }

/* ============================================================
   METHODOLOGY — How the Current Flows
   ============================================================ */
.method-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.method-track::before {
  content: ""; position: absolute; top: 22px; left: 7%; right: 7%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--royal), var(--cyan));
  opacity: 0.35;
}
.method-step { position: relative; padding-top: 72px; }
.method-step .orb {
  position: absolute; top: 0; left: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
  color: #fff;
  background: var(--royal);
  box-shadow: 0 6px 16px -6px rgba(30, 91, 198, 0.55);
  z-index: 1;
}
.method-step .phase {
  font-family: var(--font-display); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.3em; color: var(--royal); text-transform: uppercase;
}
.method-step h3 { font-size: 22px; margin: 10px 0 10px; }
.method-step p { color: var(--text); font-size: 15.5px; }
.method-step .deliverable {
  margin-top: 16px; font-size: 13.5px;
  color: var(--abyss);
  padding: 11px 14px; border-radius: 8px;
  background: var(--ice);
  border: 1px solid var(--border);
  display: inline-block;
}
.method-step .deliverable b { color: var(--royal); font-weight: 700; }

/* ============================================================
   FULL ARSENAL — expanded services grid
   ============================================================ */
.arsenal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.arsenal-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pillar ul li strong { color: var(--slate); }
.arsenal-card {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s var(--ease-out), border-color .3s;
}
.arsenal-card:hover {
  border-color: rgba(30, 91, 198, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.arsenal-card .glyph {
  width: 36px; height: 36px; margin-bottom: 14px;
  color: var(--royal);
}
.arsenal-card h3 { font-size: 16.5px; margin-bottom: 8px; line-height: 1.3; }
.arsenal-card p { font-size: 13.5px; color: var(--text-dim); }
.arsenal-card .tag {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-display); font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; background: var(--royal);
  padding: 4px 9px; border-radius: 20px;
}

/* ============================================================
   IMPACT BAND — brand navy/royal accent band
   ============================================================ */
.impact {
  background: linear-gradient(115deg, var(--navy) 0%, var(--abyss) 55%, #15396B 100%);
}
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.impact-item .num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 4.2vw, 50px); color: #fff;
  font-variant-numeric: tabular-nums;
}
.impact-item .num b { color: var(--cyan); font-weight: 800; }
.impact-item p { color: #A9C3DC; font-size: 14.5px; margin-top: 8px; }

/* ============================================================
   CASE VIGNETTES
   ============================================================ */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 30px 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: box-shadow .3s, transform .3s var(--ease-out);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-card .sector {
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--royal);
}
.case-card dl { display: grid; gap: 13px; }
.case-card dt {
  font-family: var(--font-display); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 3px;
}
.case-card dd { font-size: 14.5px; color: var(--text); }
.case-metric {
  margin-top: auto; padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--font-display);
}
.case-metric b { font-size: 32px; font-weight: 800; color: var(--royal); display: block; }
.case-metric span { font-size: 13px; color: var(--text-dim); }

/* ============================================================
   FOUNDER
   ============================================================ */
.founder-layout {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center;
}
.founder-portrait {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: linear-gradient(195deg, var(--ice-deep), #CFE3F5 70%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.founder-portrait svg { width: 70%; opacity: 0.9; }
.founder-portrait.has-photo { aspect-ratio: 4/3; background: none; box-shadow: var(--shadow-md); }
.founder-portrait.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-copy h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 16px 0 16px; }
.founder-copy p { color: var(--text); margin-bottom: 15px; }
.founder-creds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.founder-creds li {
  font-size: 14px; color: var(--slate); font-weight: 600;
  padding: 13px 16px; border-radius: 8px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; gap: 10px; align-items: center;
}
.founder-creds li::before {
  content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
}

/* ============================================================
   TECH STRIP
   ============================================================ */
.tech-strip { padding: 40px 0; border-block: 1px solid var(--border); background: #fff; }
.tech-strip .label {
  text-align: center; margin-bottom: 26px;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.38em; text-transform: uppercase; color: var(--text-dim);
}
.tech-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.tech-logos span {
  font-family: var(--font-display); font-size: 16.5px; font-weight: 700;
  color: #9DB1C5;
  letter-spacing: 0.03em;
  transition: color .25s;
  padding: 6px 4px;
}
.tech-logos span:hover { color: var(--royal); }

/* ============================================================
   FINAL CTA — golden-cyan dawn over brand blue
   ============================================================ */
.cta-final {
  position: relative;
  padding: clamp(64px, 9vh, 104px) 0;
  text-align: center;
  background:
    linear-gradient(rgba(13, 35, 64, 0.82), rgba(16, 42, 76, 0.88)),
    url("../images/ocean-dawn.jpg") center 60% / cover no-repeat,
    linear-gradient(115deg, var(--navy), var(--abyss));
}
.cta-final h2 { font-size: clamp(28px, 4.2vw, 48px); max-width: 22ch; margin: 0 auto 16px; color: #fff; }
.cta-final .sub { color: #C2D8EC; max-width: 560px; margin: 0 auto 36px; font-size: 18px; }
.cta-final .sub em { color: var(--plasma); font-style: normal; }

/* Contact form */
.contact-form {
  max-width: 680px; margin: 38px auto 0;
  text-align: left;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 38px;
  box-shadow: 0 24px 60px -24px rgba(4, 12, 24, 0.5);
}
.contact-form h3 { font-size: 20px; margin-bottom: 8px; }
.form-intro { font-size: 14.5px; color: var(--text-dim); margin-bottom: 22px; }

/* Service picker — instant estimate */
.svc-picker { border: 0; margin-bottom: 20px; }
.svc-picker legend {
  font-family: var(--font-display); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 10px;
}
.svc-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.svc-opt {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.svc-opt:hover { border-color: var(--royal); box-shadow: var(--shadow-sm); }
.svc-opt input {
  margin-top: 3px;
  width: 16px; height: 16px; flex: 0 0 16px;
  accent-color: var(--royal);
}
.svc-opt:has(input:checked) { border-color: var(--royal); background: rgba(30, 91, 198, 0.05); }
.svc-opt b { display: block; font-family: var(--font-display); font-size: 13.5px; color: var(--slate); line-height: 1.3; }
.svc-opt small { font-size: 12px; color: var(--text-dim); line-height: 1.4; display: block; margin-top: 2px; }
.svc-opt .svc-price {
  display: block; margin-top: 5px;
  font-style: normal; font-family: var(--font-display);
  font-size: 11.5px; font-weight: 700; color: var(--royal);
}

.estimate-box {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 22px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: linear-gradient(115deg, var(--abyss), var(--royal-dark));
  border: 1px solid rgba(52, 198, 244, 0.35);
}
.estimate-box .est-label {
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--cyan);
}
.estimate-box b { font-family: var(--font-display); font-size: clamp(20px, 3vw, 28px); font-weight: 800; color: #fff; }
.estimate-box small { font-size: 12.5px; color: #A9C3DC; line-height: 1.5; }
@media (max-width: 600px) { .svc-options { grid-template-columns: 1fr; } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-display); font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; color: var(--slate);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 15px;
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--royal);
  box-shadow: 0 0 0 3px rgba(30, 91, 198, 0.14);
}
.field textarea { min-height: 120px; resize: vertical; }
.field .err { display: none; color: #C53030; font-size: 12.5px; margin-top: 6px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #C53030; }
.field.has-error .err { display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: 13px; color: var(--text-dim); margin-top: 14px; }
.calendar-link { margin-top: 24px; text-align: center; font-size: 14.5px; color: #C2D8EC; }
.calendar-link a { color: var(--cyan); font-weight: 700; border-bottom: 1px solid rgba(52,198,244,0.5); }

/* ============================================================
   FOOTER — brand navy anchor
   ============================================================ */
.footer {
  background: var(--navy);
  color: #A9C3DC;
  padding: 54px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(169, 195, 220, 0.18);
}
.footer-brand img { height: 52px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; max-width: 280px; }
.footer h4 {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: #fff; margin-bottom: 16px;
}
.footer-links { display: grid; gap: 11px; }
.footer-links a { font-size: 14.5px; color: #A9C3DC; transition: color .25s; }
.footer-links a:hover { color: var(--cyan); }
.newsletter p { font-size: 14px; margin-bottom: 14px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  flex: 1; font: inherit; font-size: 14px; color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(169, 195, 220, 0.3);
  border-radius: 8px; padding: 11px 15px;
}
.newsletter-form input::placeholder { color: #7E97AF; }
.newsletter-form input:focus { outline: none; border-color: var(--cyan); }
.newsletter-form .btn { border-color: rgba(255,255,255,0.4); color: #fff; background: transparent; }
.newsletter-form .btn:hover { border-color: var(--cyan); color: var(--cyan); }
.footer-base {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding-top: 28px; flex-wrap: wrap;
  font-size: 13px; color: #7E97AF;
}
.footer-base .legal { display: flex; gap: 22px; }
.footer-base a:hover { color: var(--cyan); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 44px) 0 44px;
  text-align: center;
  background: linear-gradient(180deg, var(--ice), #fff);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); margin: 20px auto 14px; max-width: 18ch; }
.page-hero .sub { color: var(--text-dim); max-width: 620px; margin: 0 auto; font-size: 18px; }

/* ============================================================
   ASSESSMENT — quiz
   ============================================================ */
.quiz-shell {
  max-width: 760px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 5vw, 48px);
}
.quiz-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.quiz-progress .bar { flex: 1; height: 6px; background: var(--ice-deep); border-radius: 6px; overflow: hidden; }
.quiz-progress .bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--royal), var(--cyan)); transition: width .45s var(--ease-out); }
.quiz-progress .count { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--text-dim); white-space: nowrap; }
.quiz-q h2 { font-size: clamp(20px, 2.8vw, 26px); margin-bottom: 6px; }
.quiz-q .dim { font-size: 11.5px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--royal); font-family: var(--font-display); }
.quiz-opts { display: grid; gap: 12px; margin-top: 24px; }
.quiz-opt {
  text-align: left;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 15.5px; color: var(--text);
  transition: border-color .2s, background .2s, box-shadow .2s;
  display: flex; gap: 14px; align-items: center;
}
.quiz-opt:hover { border-color: var(--royal); background: rgba(30, 91, 198, 0.04); box-shadow: var(--shadow-sm); }
.quiz-opt .dot { flex: 0 0 16px; height: 16px; border-radius: 50%; border: 2px solid #B7C7D8; transition: all .2s; }
.quiz-opt:hover .dot { border-color: var(--royal); }
.quiz-back { margin-top: 22px; font-size: 13.5px; color: var(--text-dim); font-weight: 600; }
.quiz-back:hover { color: var(--royal); }

/* results */
.score-viz { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 10px 0 24px; }
.score-viz .trident-score { width: 140px; }
.trident-score .prong-path { opacity: 0.15; transition: opacity .8s ease; }
.trident-score .prong-path.lit { opacity: 1; }
.score-num { font-family: var(--font-display); font-size: 52px; font-weight: 800; color: var(--slate); }
.score-num small { font-size: 0.4em; color: var(--royal); }
.score-label { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--royal); }
.score-bars { display: grid; gap: 16px; margin: 28px 0; }
.score-bar-row { display: grid; grid-template-columns: 150px 1fr 48px; align-items: center; gap: 16px; font-size: 14px; }
.score-bar-row .t { font-family: var(--font-display); font-weight: 600; color: var(--text); }
.score-bar-row .bar { height: 9px; border-radius: 6px; background: var(--ice-deep); overflow: hidden; }
.score-bar-row .bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--royal), var(--cyan)); transition: width 1.1s var(--ease-out) .3s; }
.score-bar-row .v { font-family: var(--font-display); font-weight: 700; color: var(--royal); text-align: right; }
.gate-box { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.gate-box h3 { font-size: 20px; margin-bottom: 8px; }
.gate-box > p { color: var(--text); font-size: 15px; margin-bottom: 20px; }

/* ============================================================
   INNER PAGES (services / about)
   ============================================================ */
.svc-block { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 44px; align-items: start; padding: 42px 0; border-bottom: 1px solid var(--border); }
.svc-block:last-of-type { border-bottom: 0; }
.svc-block h2 { font-size: clamp(25px, 3.2vw, 36px); margin: 12px 0 10px; }
.svc-block .lead { color: var(--royal); font-weight: 700; font-size: 17px; }
.svc-block .body p { color: var(--text); margin-bottom: 14px; }
.svc-list { display: grid; gap: 12px; margin-top: 8px; }
.svc-list li {
  padding: 15px 18px; border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 15px; color: var(--text);
}
.svc-list li b { color: var(--slate); display: block; margin-bottom: 3px; font-family: var(--font-display); font-size: 15px; }
.svc-list li span { color: var(--text-dim); font-size: 14px; }

.prose { max-width: 760px; }
.prose p { color: var(--text); margin-bottom: 18px; font-size: 17px; }
.prose p strong { color: var(--slate); }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin: 42px 0 16px; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.value-card {
  padding: 26px 24px; border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top: 3px solid var(--royal);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.value-card h3 { font-size: 17.5px; margin-bottom: 10px; }
.value-card p { font-size: 14.5px; color: var(--text); }

/* CTA band on inner pages */
.cta-band {
  text-align: center;
  padding: 60px 0;
  background: linear-gradient(115deg, var(--navy), var(--abyss) 60%, #15396B);
}
.cta-band h2 { font-size: clamp(25px, 3.6vw, 38px); max-width: 24ch; margin: 0 auto 14px; color: #fff; }
.cta-band p { color: #A9C3DC; margin-bottom: 30px; }
.cta-band .hero-ctas { justify-content: center; }

/* ============================================================
   THANK YOU / 404
   ============================================================ */
.statics-page {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 40px 6vw;
  background: linear-gradient(180deg, var(--ice), #fff 60%);
}
.statics-page .trident-mark { width: 90px; margin-bottom: 30px; }
.statics-page h1 { font-size: clamp(30px, 5vw, 52px); margin-bottom: 14px; }
.statics-page p { color: var(--text); max-width: 520px; margin-bottom: 32px; font-size: 17px; }
.statics-page .code {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(80px, 15vw, 150px);
  line-height: 1;
  background: linear-gradient(180deg, var(--cyan), var(--royal));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.statics-page .hero-ctas { justify-content: center; }

/* circuit pulse on trident marks (loader-style accent, used subtly) */
.trident-mark .circuit {
  stroke-dasharray: 6 16;
  animation: circuitPulse 1.8s linear infinite;
}
@keyframes circuitPulse { to { stroke-dashoffset: -44; } }
.trident-mark .node { animation: nodeBlink 2.6s ease-in-out infinite; }
@keyframes nodeBlink { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .arsenal-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .pillar-grid, .method-track, .case-grid { grid-template-columns: 1fr; }
  .method-track::before { display: none; }
  .method-step { padding-top: 0; padding-left: 60px; }
  .method-step .orb { top: 0; }
  .founder-layout { grid-template-columns: 1fr; gap: 38px; }
  .founder-portrait { max-width: 380px; }
  .svc-block { grid-template-columns: 1fr; gap: 24px; }
  .value-grid { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.88) 45%, rgba(255,255,255,0.3) 80%, rgba(255,255,255,0.05) 100%);
  }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 28px;
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-102%);
    visibility: hidden;
    transition: transform .5s var(--ease-out), visibility 0s .5s;
    z-index: 1000;
  }
  .nav-links.is-open { transform: translateY(0); visibility: visible; transition: transform .5s var(--ease-out); }
  .nav-links a { font-size: 21px; font-family: var(--font-display); }
  .nav-links .btn { margin-top: 8px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .founder-creds { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .arsenal-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .score-bar-row { grid-template-columns: 105px 1fr 42px; font-size: 13px; }
  .hero { min-height: 0; }
  .hero-content { padding: 60px 0; }
  .hero-trust { gap: 22px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
