/* =============================================================================
   Stratecs — site styles ("Prairie Night"). Tokens: spec §5.
   ============================================================================= */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations"),
       url("/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #061223;
  --navy-900: #081729;
  --navy-800: #0B1F3A;
  --blue-700: #0C54CC;
  --blue-600: #1570DC;
  --blue-500: #1890F0;
  --cyan-400: #00C0FC;
  --silver-300: #B4C0CC;
  --ink: #0B1F3A;
  --ink-2: #45556C;
  --ink-3: #5A6A80;
  --mist: #B9C7DD;
  --surface: #FFFFFF;
  --surface-tint: #F3F6FB;
  --line: #E3E8F0;
  --tile: #E8F1FE;
  --radius: 14px;
  --radius-lg: 18px;
  --container: 1160px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .08);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--surface); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul[class], ol[class], .site-nav ul, .site-footer ul { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--blue-600); }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; border-radius: 4px; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.tel { white-space: nowrap; }
.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: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--cyan-400); color: var(--navy-900); font-weight: 700; border-radius: 8px; }
.skip-link:focus { top: 12px; color: var(--navy-900); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .container { padding: 0 40px; } }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-700); margin-bottom: .75rem; }
.section-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); line-height: 1.15; font-weight: 800; letter-spacing: -.015em; margin-bottom: .6rem; }
.section-lead { font-size: 1.05rem; color: var(--ink-2); max-width: 44rem; margin-bottom: 2rem; }
.lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.15rem); line-height: 1.65; }
.panel-title { font-size: 1rem; font-weight: 800; margin-bottom: .75rem; }

/* ============================================================
   DARK BANDS (hero, page hero, proof, CTA)
   ============================================================ */
.band-dark { position: relative; overflow: hidden; color: #EAF2FF; background: radial-gradient(900px 380px at 85% -10%, rgba(0, 192, 252, .20), transparent 60%), linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%); }
.band-dark .eyebrow { color: var(--cyan-400); }
.band-dark .lead, .band-dark .section-lead { color: var(--mist); }
.band-dark a:not(.btn) { color: #FFFFFF; }
.bridge { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; width: 100%; height: clamp(90px, 60px + 6vw, 150px); color: rgba(0, 192, 252, .28); pointer-events: none; }
.hero-title em, .page-hero h1 em, .story-stat { font-style: normal; background: linear-gradient(90deg, var(--cyan-400), var(--blue-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-size: .95rem; font-weight: 700; line-height: 1.2; padding: .85rem 1.35rem; border-radius: 10px; border: 1px solid transparent; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(90deg, var(--blue-700), var(--blue-600)); color: #FFFFFF; box-shadow: 0 8px 22px rgba(12, 84, 204, .35); }
.btn-primary:hover { color: #FFFFFF; box-shadow: 0 10px 26px rgba(12, 84, 204, .45); }
.band-dark a.btn-primary { color: #FFFFFF; }
.btn-ghost { border-color: rgba(255, 255, 255, .3); color: #FFFFFF; }
.btn-ghost:hover { color: #FFFFFF; background: rgba(255, 255, 255, .08); }
.btn-outline { border-color: #C9D3E1; color: var(--ink); }
.btn-outline:hover { color: var(--ink); background: var(--surface-tint); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 23, 41, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; margin-right: auto; color: #FFFFFF; text-decoration: none; }
.brand:hover { color: #FFFFFF; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { font-size: 1.02rem; font-weight: 800; letter-spacing: .14em; }
.site-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.site-nav a { display: block; padding: .5rem .75rem; border-radius: 8px; color: var(--mist); font-size: .92rem; font-weight: 600; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #FFFFFF; }
.site-nav a[aria-current="page"] { background: rgba(255, 255, 255, .07); }
.site-nav .nav-cta { margin-left: .5rem; padding: .5rem 1rem; border-radius: 999px; color: #FFFFFF; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
.nav-toggle { display: none; }

@media (max-width: 859px) {
  html:not(.js) .site-header { position: static; }
  .header-inner { flex-wrap: wrap; padding-top: .6rem; padding-bottom: .6rem; }
  .site-nav { width: 100%; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: .8rem .75rem; font-size: 1rem; }
  .site-nav .nav-cta { margin: .5rem 0 0; text-align: center; }
  .js .site-nav { display: none; }
  .js .site-header.is-open .site-nav { display: block; padding-bottom: 1rem; }
  .js .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: #FFFFFF; cursor: pointer; }
  .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, background-color .2s ease; }
  .nav-toggle .bars { position: relative; }
  .nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle .bars::before { top: -6px; }
  .nav-toggle .bars::after { top: 6px; }
  .is-open .nav-toggle .bars { background: transparent; }
  .is-open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
  .is-open .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }
}

/* ============================================================
   HERO & PAGE HERO
   ============================================================ */
.hero { padding: clamp(3rem, 2rem + 5vw, 6.5rem) 0 clamp(8.5rem, 7rem + 6vw, 12rem); }
.hero-inner { position: relative; z-index: 2; max-width: 46rem; }
.hero-title { font-size: clamp(2.5rem, 1.6rem + 4.2vw, 4.25rem); line-height: 1.02; font-weight: 800; letter-spacing: -.025em; margin-bottom: 1.1rem; }
.hero .lead { color: var(--mist); max-width: 38rem; margin-bottom: 1.75rem; }
.trust-strip { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.75rem; color: var(--mist); font-size: .85rem; font-weight: 600; }
.trust-strip li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .5rem; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 10px var(--cyan-400); vertical-align: 1px; }
.page-hero { padding: clamp(3rem, 2rem + 4vw, 5rem) 0 clamp(3rem, 2rem + 3vw, 4.5rem); }
.page-hero h1 { max-width: 50rem; margin-bottom: 1rem; font-size: clamp(2.1rem, 1.5rem + 3vw, 3.25rem); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.page-hero .lead { color: var(--mist); max-width: 42rem; }

/* ============================================================
   SECTIONS & CARDS
   ============================================================ */
.section { padding: clamp(3.5rem, 2.5rem + 4vw, 6rem) 0; }
.section-tint { background: var(--surface-tint); }
.card-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } .card-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.card h3 { margin: .9rem 0 .35rem; font-size: 1.05rem; font-weight: 700; }
.card p { color: var(--ink-3); font-size: .93rem; }
.icon-tile { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--tile); color: var(--blue-700); }
.icon { width: 22px; height: 22px; }
.offer { position: relative; overflow: hidden; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.offer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--blue-700), var(--cyan-400)); }
.offer h3 { margin: 1rem 0 .4rem; font-size: 1.45rem; font-weight: 800; }
.offer p { margin-bottom: 1rem; color: var(--ink-2); }
.check-list li { position: relative; margin: .45rem 0; padding-left: 1.6rem; color: #26364D; font-size: .95rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 13px; height: 7px; border-left: 2.5px solid var(--blue-500); border-bottom: 2.5px solid var(--blue-500); transform: rotate(-45deg); }
.more-link { display: inline-flex; margin-top: 1.1rem; font-weight: 700; text-decoration: none; }
.more-link::after { content: "→"; margin-left: .4rem; transition: transform .15s ease; }
.more-link:hover::after { transform: translateX(3px); }
.story { padding: 1.6rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); background: rgba(255, 255, 255, .04); }
.story-stat { display: inline-block; font-size: 2.6rem; font-weight: 800; line-height: 1; }
.story h3 { margin: .6rem 0 .4rem; color: #FFFFFF; font-size: 1.05rem; }
.story p { color: var(--mist); font-size: .93rem; }
.proof-footer { margin-top: 1.75rem; }
.steps { display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 1.25rem; border-left: 3px solid var(--blue-500); border-radius: 0 10px 10px 0; background: var(--surface); }
.step h3 { margin-bottom: .3rem; font-size: 1.02rem; }
.step h3::before { counter-increment: step; content: "0" counter(step) "  "; color: var(--blue-700); }
.step p { color: var(--ink-3); font-size: .92rem; }
.partners { padding: 1.6rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 2.25rem; }
.partners-label { color: var(--ink-3); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.partners-list { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 2.25rem; }
.partners-list li { color: var(--ink-3); font-size: 1rem; font-weight: 700; }

/* ============================================================
   SERVICE PAGES
   ============================================================ */
.feature { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .feature { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; } }
.feature .section-lead { margin-bottom: 1.5rem; }
.feature-panel { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.service { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.service h3 { margin: 1rem 0 .5rem; font-size: 1.2rem; font-weight: 800; }
.service p { color: var(--ink-2); font-size: .97rem; }
.service .check-list { margin-top: 1rem; }
.highlight { padding: clamp(3rem, 2rem + 4vw, 5rem) 0; }
.highlight-inner { max-width: 46rem; }
.highlight .lead { margin-bottom: 1.5rem; }

/* ============================================================
   OUR WORK
   ============================================================ */
.case-list { display: grid; gap: 1.5rem; }
.case { display: grid; gap: 1.25rem; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
@media (min-width: 900px) { .case { grid-template-columns: 220px 1fr; gap: 2.5rem; padding: 2.25rem; } }
.case-tag { display: inline-block; padding: .3rem .6rem; border-radius: 6px; background: var(--tile); color: var(--blue-700); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.case-stat { margin-top: 1rem; color: var(--blue-700); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.case-stat-label { margin-top: .35rem; color: var(--ink-3); font-size: .9rem; }
.case h2 { margin-bottom: .5rem; font-size: 1.35rem; font-weight: 800; line-height: 1.25; }
.case h3 { margin: 1.1rem 0 .35rem; color: var(--ink-3); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.case p { color: var(--ink-2); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.3fr 1fr; gap: 4rem; } }
.about-story p { margin-bottom: 1rem; color: var(--ink-2); font-size: 1.05rem; }
.fact-list { display: grid; gap: 1rem; }
.fact-list dt { color: var(--ink-3); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.fact-list dd { font-weight: 700; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.4fr 1fr; } }
.form-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.form-card h2, .book-card h2 { margin-bottom: .5rem; font-size: 1.3rem; font-weight: 800; }
.form-card > p { margin-bottom: 1rem; color: var(--ink-2); }
.form-frame { display: block; width: 100%; height: 1200px; border: 0; border-radius: 10px; background: var(--surface-tint); }
.form-fallback { margin-top: .75rem; color: var(--ink-3); font-size: .9rem; }
.contact-side { display: grid; gap: 1.25rem; }
.book-card { padding: 1.75rem; border-radius: var(--radius-lg); color: #EAF2FF; background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); }
.book-card p { margin-bottom: 1.25rem; color: var(--mist); }
.contact-facts { padding: 1.5rem 1.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.contact-facts dt { margin-top: .9rem; color: var(--ink-3); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-facts dt:first-child { margin-top: 0; }
.contact-facts dd { font-weight: 600; }

/* ============================================================
   PROSE (privacy, 404)
   ============================================================ */
.prose { max-width: 46rem; }
.prose h2 { margin: 2rem 0 .5rem; font-size: 1.25rem; font-weight: 800; }
.prose p, .prose ul { margin-bottom: 1rem; color: var(--ink-2); }
.prose ul { padding-left: 1.2rem; }

/* ============================================================
   CTA & FOOTER
   ============================================================ */
.cta { padding: clamp(3.5rem, 2.5rem + 4vw, 5.5rem) 0 clamp(8rem, 6rem + 6vw, 11rem); }
.cta-inner { position: relative; z-index: 2; }
.cta .lead { max-width: 40rem; margin-bottom: 1.5rem; color: var(--mist); }
.cta-facts { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 2rem; color: var(--mist); font-size: .95rem; }
.cta-facts dt { margin-bottom: .2rem; color: #FFFFFF; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.site-footer { padding: 3rem 0 1.5rem; background: var(--navy-950); color: #8193AD; font-size: .92rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1.4fr; } }
.footer-brand p { max-width: 22rem; margin-top: .9rem; }
.footer-heading { margin-bottom: .75rem; color: #FFFFFF; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.site-footer ul li { margin: .35rem 0; }
.site-footer a { color: #C9D6EA; text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }

/* ============================================================
   MOTION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .more-link::after, .reveal { transition: none; }
  .reveal { opacity: 1; transform: none; }
}
