/* ==========================================================================
   VECTORA VENTURES — style.css  (v2.1 light theme)
   Palette sampled from hero image: maze blue #5392AC / #5AACD1, ball orange
   #FE5133. Light surfaces throughout; hero carries the dark maze image.
   Type: Archivo (display) · Inter (body) · IBM Plex Mono (data/labels)
   ========================================================================== */

:root {
  /* surfaces */
  --bg: #ffffff;
  --panel: #f4f7f9;
  --panel-2: #e9eff3;
  --line: #dfe7ec;

  /* text */
  --ink: #14202a;
  --grey: #55656f;
  --grey-dim: #86959f;

  /* brand — from the image */
  --blue: #33718f;        /* text-safe blue */
  --blue-deep: #235a75;
  --blue-soft: #5392ac;   /* maze wall */
  --blue-bright: #5aacd1;
  --orange: #f0512f;      /* ball */
  --orange-deep: #d8431f;

  /* hero (image is dark) */
  --hero-ink: #f5f7f8;
  --hero-grey: #c3ccd2;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange-deep); }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

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

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(39, 39, 39, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav__links a {
  color: #f5f7f8; font-size: 0.95rem; font-weight: 500;
  letter-spacing: 0.01em;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #fe5133; }
.nav__toggle {
  display: none; background: none; border: 1px solid rgba(255, 255, 255, 0.3);
  color: #f5f7f8; padding: 0.45rem 0.7rem; border-radius: 4px;
  font-family: var(--font-mono); font-size: 0.8rem; cursor: pointer;
}

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--orange);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--orange-deep); border-color: var(--orange-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue-soft); }
.btn--ghost:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------------------------------------------------------------- hero */
.hero { border-bottom: 1px solid var(--line); }
.hero__inner {
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  max-width: 720px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 5.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero__sub {
  margin-top: 1.5rem;
  color: var(--grey);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 56ch;
}
.hero__cta { margin-top: 2.25rem; }

/* Home hero: the maze image (dark) with light type over the empty left half */
.hero--maze {
  background: #272727 url("/assets/img/hero-maze.jpg") no-repeat center right / cover;
  border-bottom: none;
}
.hero--maze .hero__inner {
  padding-top: clamp(5rem, 12vw, 9rem);
  padding-bottom: clamp(5rem, 12vw, 9rem);
}
.hero--maze h1 { color: var(--hero-ink); }
.hero--maze h1 em { color: var(--blue-bright); }
.hero--maze .hero__sub { color: var(--hero-grey); }
/* compact maze hero for subpages */
.hero--maze.hero--compact .hero__inner {
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

@media (max-width: 900px) {
  .hero--maze {
    background-position: 78% center;
    background-color: #272727;
  }
  .hero--maze .hero__inner {
    background: linear-gradient(90deg, rgba(30,30,30,0.82) 55%, rgba(30,30,30,0.35));
    border-radius: 6px;
    padding-left: 1.1rem; padding-right: 1.1rem;
    margin-left: -1.1rem;
  }
}

/* ------------------------------------------------------------ stat bar */
.stats { border-bottom: 1px solid var(--line); background: var(--panel); }
.stats__row {
  display: grid;
  grid-template-columns: 150px repeat(5, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.75rem 0;
}
.stats__row + .stats__row { border-top: 1px dashed var(--line); }
.stats__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-dim);
  padding-top: 0.55rem;
}
.stat b {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  letter-spacing: -0.01em;
}
.stats__row--threat .stat b { color: var(--blue-deep); }
.stats__row--record .stat b { color: var(--orange-deep); }
.stat span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--grey);
}

/* ------------------------------------------------------------ sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--panel { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 1rem;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  max-width: 24ch;
  color: var(--ink);
}
.section__lede { margin-top: 1.1rem; color: var(--grey); max-width: 62ch; }

/* -------------------------------------------------------------- pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.pillar {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2rem 1.9rem 1.7rem;
  display: flex; flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pillar:hover { border-color: var(--blue-soft); box-shadow: 0 6px 22px rgba(35, 90, 117, 0.08); }
.pillar__num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 1.2rem;
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--blue-deep);
}
.pillar p { margin-top: 0.75rem; color: var(--grey); font-size: 0.98rem; flex: 1; }
.pillar a {
  margin-top: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------- model */
.model p {
  margin-top: 1.25rem;
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  line-height: 1.6;
  color: var(--ink);
  max-width: 62ch;
}
.model p strong { color: var(--blue-deep); font-weight: 600; }

/* --------------------------------------------------------- experience */
.logowall {
  margin-top: 3rem;
  display: flex; flex-wrap: wrap;
  gap: 1rem 3.25rem;
  align-items: baseline;
}
.logowall .mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-dim);
  transition: color 0.15s ease;
  white-space: nowrap;
}
.logowall .mark:hover { color: var(--blue-deep); }
.counterparties { margin-top: 2.75rem; border-top: 1px dashed var(--line); padding-top: 1.5rem; }
.counterparties .stats__label { padding-top: 0; margin-bottom: 0.8rem; }
.counterparties p {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--grey);
  letter-spacing: 0.02em;
}
.counterparties p b { color: var(--blue-deep); font-weight: 500; }

/* ------------------------------------------------------------ vignettes */
.vignettes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.vignette { border-top: 3px solid var(--orange); padding-top: 1.4rem; }
.vignette b {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  color: var(--blue-deep);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.vignette p { margin-top: 0.8rem; color: var(--grey); font-size: 0.95rem; }

/* --------------------------------------------------------------- CTA */
.cta { background: var(--panel); border-top: 1px solid var(--line); }
.cta__inner { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.cta h2 { max-width: 30ch; }
.cta h2 em { font-style: normal; color: var(--orange); }

/* form */
.form { margin-top: 2.5rem; max-width: 640px; display: grid; gap: 1rem; }
.form label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  display: block;
  margin-bottom: 0.4rem;
}
.form input, .form select, .form textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 0.9rem;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--blue);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__status { font-family: var(--font-mono); font-size: 0.85rem; color: var(--blue-deep); min-height: 1.2em; }

/* -------------------------------------------------------------- footer */
.footer { border-top: 1px solid rgba(255, 255, 255, 0.08); background: #272727; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 3rem;
}
.footer h4 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  margin-bottom: 0.9rem; color: #f5f7f8;
}
.footer p, .footer a { color: #c3ccd2; font-size: 0.92rem; }
.footer a:hover { color: #fe5133; }
.footer__logo img { height: 42px; width: auto; margin-top: 1.75rem; }
.footer__base {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem 0 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--grey-dim);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}

/* ---------------------------------------------------- services page */
.svc { border-top: 1px solid var(--line); }
.svc__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}
.svc__num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--orange-deep);
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.svc h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.svc__desc { margin-top: 1.1rem; color: var(--grey); }
.svc__proof {
  margin-top: 1.75rem;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  padding: 1rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--blue-deep);
  max-width: 46rem;
}
.section--panel .svc__proof { background: #ffffff; }
.svc aside {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.6rem 1.5rem 1.5rem;
  align-self: start;
}
.section--panel .svc__grid aside { background: #ffffff; }
.svc aside h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 1.1rem;
}
.svc aside ul { list-style: none; display: grid; gap: 0.7rem; }
.svc aside li {
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 5px;
  padding: 0.85rem 1rem;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.svc aside li:hover { border-color: var(--blue-soft); border-left-color: var(--orange); box-shadow: 0 4px 14px rgba(35, 90, 117, 0.08); }
.section--panel .svc__grid aside li { background: var(--panel); }

.engage { margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.engage .pillar h3 { font-size: 1.1rem; color: var(--orange-deep); }
.engage-note { margin-top: 2.5rem; color: var(--grey); max-width: 72ch; }
.engage-note b { color: var(--ink); font-weight: 600; }

/* ----------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* -------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .pillars, .vignettes, .engage { grid-template-columns: 1fr; }
  .stats__row { grid-template-columns: 1fr 1fr; }
  .stats__label { grid-column: 1 / -1; padding-top: 0; }
  .svc__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 720px) {
  .nav__links {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    background: #272727;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column; align-items: flex-start;
    padding: 1.25rem var(--pad); gap: 1.1rem;
  }
  .nav__links.open { display: flex; }
  .nav__toggle { display: block; }
  .form__row { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------- contact */
.contact-embed { max-width: 720px; margin-top: 2.5rem; }
.contact-embed .hs-form-frame { min-height: 420px; }
