/* ============================================================
   EGIL — Public Site Design System
   Source: EGIL Brand Guide v1.0 + Look & Feel Direction Memo (2026-07-06)
   Doctrine: dark, institutional, quietly powerful. Color as signal.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

@font-face {
  font-family: 'Eudoxus Sans';
  src: url('fonts/EudoxusSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Eudoxus Sans';
  src: url('fonts/EudoxusSans-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Eudoxus Sans';
  src: url('fonts/EudoxusSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Eudoxus Sans';
  src: url('fonts/EudoxusSans-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --egil-blue: #1E5A82;
  --steel-blue: #3A607C;
  --ice-blue: #93B4CD;
  /* Shell */
  --bg: #0D0E10;
  --card: #1D1E21;
  --inset: #121314;
  --border: #2A2B2F;
  /* Text */
  --text: #FFFFFF;
  --text-2: #B1B6BD;
  --text-3: #7A8088;
  /* Type */
  --display: 'Eudoxus Sans', 'Inter', system-ui, -apple-system, sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
  /* Rhythm */
  --max: 1160px;
  --pad: clamp(20px, 4vw, 40px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- Ambient grid geometry (abstracted transmission field) ---------- */
.field {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(147,180,205,0.030) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(147,180,205,0.022) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 0%, transparent 75%);
}

main, header.nav, footer { position: relative; z-index: 1; }

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

/* ---------- Navigation ---------- */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(13, 14, 16, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 16px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand-lockup {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  width: clamp(128px, 13vw, 178px);
  height: auto;
  object-fit: contain;
}
.brand-tag {
  font-family: var(--body);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
  line-height: 1.15;
}
.wordmark {
  font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: 0.16em;
  color: var(--text); text-decoration: none; display: flex; align-items: baseline; gap: 12px;
}
.wordmark .mark-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ice-blue); box-shadow: 0 0 0 3px rgba(147,180,205,0.15);
  align-self: center;
}
.wordmark small {
  font-family: var(--body); font-weight: 500; font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-3);
}
nav.links { display: flex; gap: 30px; align-items: center; }
nav.links a {
  color: var(--text-2); text-decoration: none; font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.02em; transition: color .2s ease;
}
nav.links a:hover, nav.links a:focus-visible { color: var(--text); }
nav.links a[aria-current="page"] { color: var(--text); }
nav.links a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: 3px;
  background: var(--steel-blue); border-radius: 1px;
}
.nav-cta {
  font-size: 13px; font-weight: 600; color: var(--text) !important; text-decoration: none;
  border: 1px solid var(--steel-blue); padding: 9px 18px; border-radius: 8px;
  transition: background .2s ease, border-color .2s ease;
}
.nav-cta:hover, .nav-cta:focus-visible { background: var(--steel-blue); }

/* Mobile nav */
.menu-btn {
  display: none; background: none; border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); width: 42px; height: 42px; font-size: 18px; cursor: pointer;
}
@media (max-width: 960px) {
  nav.links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 16px var(--pad) 24px;
  }
  nav.links.open { display: flex; }
  nav.links a { padding: 10px 0; font-size: 15px; }
  .menu-btn { display: block; }
  .brand-logo { width: clamp(116px, 34vw, 156px); }
  .brand-tag { font-size: 9.5px; letter-spacing: 0.14em; }
}

/* ---------- Meridian (signature element) ---------- */
.meridian {
  width: 1px; margin: 0 auto; position: relative;
  background: linear-gradient(to bottom, transparent, rgba(147,180,205,0.55) 30%, rgba(147,180,205,0.55) 70%, transparent);
}
.meridian::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ice-blue); box-shadow: 0 0 0 4px rgba(147,180,205,0.12);
}
.meridian.h56 { height: 56px; }
.meridian.h88 { height: 88px; }

/* ---------- Hero ---------- */
.hero { padding-top: 152px; padding-bottom: 80px; text-align: center; }
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr);
  gap: clamp(28px, 4.8vw, 72px);
  align-items: center;
  text-align: left;
}
.hero-split .eyebrow {
  justify-self: start;
}
.hero-split h1.display,
.hero-split .sub,
.hero-split .support {
  margin-left: 0;
  margin-right: 0;
}
.hero-split .cta-row {
  justify-content: flex-start;
}
.hero-copy {
  min-width: 0;
}
.hero-visual {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-visual .asset-frame {
  margin-top: 0;
}
.hero .eyebrow { margin-bottom: 28px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ice-blue);
}
.eyebrow::before, .eyebrow::after {
  content: ""; width: 26px; height: 1px; background: rgba(147,180,205,0.35);
}
h1.display {
  font-family: var(--display); font-weight: 700; color: var(--text);
  font-size: clamp(34px, 5.1vw, 60px); line-height: 1.08; letter-spacing: -0.018em;
  max-width: 17ch; margin: 0 auto;
}
.hero .sub {
  max-width: 62ch; margin: 28px auto 0; font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6; color: var(--text-2);
}
.hero .support { max-width: 58ch; margin: 16px auto 0; font-size: 15px; color: var(--text-3); }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .hero-split .eyebrow {
    justify-self: center;
  }
  .hero-split h1.display,
  .hero-split .sub,
  .hero-split .support {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-split .cta-row {
    justify-content: center;
  }
}

.btn {
  display: inline-block; text-decoration: none; font-family: var(--body);
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.01em;
  padding: 14px 28px; border-radius: 9px; transition: all .2s ease;
}
.btn-primary { background: var(--steel-blue); color: var(--text); border: 1px solid var(--steel-blue); }
.btn-primary:hover, .btn-primary:focus-visible { background: #4A708C; border-color: #4A708C; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--steel-blue); }
.tint-blue { color: var(--ice-blue); }

/* ---------- Sections ---------- */
section.block { padding-top: 88px; padding-bottom: 88px; }
section.block.tight { padding-top: 72px; padding-bottom: 72px; }
section.block + section.block { border-top: 1px solid rgba(42,43,47,0.6); }

.kicker {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ice-blue); margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: rgba(147,180,205,0.4); }

h2.headline {
  font-family: var(--display); font-weight: 700; color: var(--text);
  font-size: clamp(27px, 3.6vw, 40px); line-height: 1.16; letter-spacing: -0.01em;
  max-width: 24ch;
}
.lede { max-width: 66ch; margin-top: 22px; font-size: 16.5px; }
.lede + .lede { margin-top: 14px; }

.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Asset integration ---------- */
.asset-showcase {
  padding-top: 52px;
  padding-bottom: 52px;
}
.asset-showcase.compact {
  padding-top: 40px;
  padding-bottom: 40px;
}
.asset-showcase .asset-frame {
  margin-top: 20px;
}
.asset-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.asset-split.reverse {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.asset-meta {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ice-blue);
  margin-bottom: 16px;
}
.asset-frame {
  position: relative;
  isolation: isolate;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  overflow: visible;
}
.asset-frame::before {
  content: "";
  position: absolute;
  inset: 12% 6% 14% 6%;
  z-index: 0;
  background:
    radial-gradient(circle at 72% 28%, rgba(147,180,205,0.18), transparent 0 28%),
    radial-gradient(circle at 28% 72%, rgba(58,96,124,0.12), transparent 0 30%),
    linear-gradient(180deg, rgba(29,30,33,0.12), rgba(13,14,16,0));
  filter: blur(18px);
}
.asset-frame::after {
  content: "";
  position: absolute;
  inset: 10% 2% 12% 2%;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(147,180,205,0.042) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(147,180,205,0.028) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 84%);
  -webkit-mask-image: radial-gradient(circle at center, black 38%, transparent 84%);
  opacity: 0.45;
}
.asset-frame img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  border-radius: 0;
  border: 0;
  background: transparent;
}
.asset-caption {
  margin-top: 10px;
  max-width: 42ch;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(160, 161, 165, 0.88);
}
.asset-frame-hero {
  width: min(760px, 100%);
  margin-left: auto;
}
.asset-frame-hero::before {
  inset: 10% 4% 18% 8%;
}
.asset-frame-hero::after {
  inset: 10% 0 12% 4%;
  opacity: 0.35;
}
.asset-frame-hero img {
  width: 108%;
  max-width: none;
  transform: translateX(-4%);
}
.asset-frame-stack,
.asset-frame-ecosystem,
.asset-frame-deployment,
.asset-frame-featured {
  width: 100%;
}
.asset-frame-stack img,
.asset-frame-ecosystem img,
.asset-frame-deployment img,
.asset-frame-featured img {
  width: 100%;
  max-width: none;
  transform: none;
}
.asset-frame-stack::before,
.asset-frame-ecosystem::before,
.asset-frame-deployment::before,
.asset-frame-featured::before {
  inset: 12% 6% 14% 6%;
}
.asset-frame-stack::after,
.asset-frame-ecosystem::after,
.asset-frame-deployment::after,
.asset-frame-featured::after {
  inset: 10% 2% 12% 2%;
}
.asset-frame-featured img {
  width: 100%;
}
.asset-frame-deployment img {
  width: 100%;
}
.insight-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}
.insight-card {
  background: rgba(29,30,33,0.8);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}
.insight-card-native {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  position: relative;
}
.insight-card-native::before {
  content: "";
  display: block;
  width: 54px;
  height: 1px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--ice-blue), rgba(147,180,205,0));
}
.insight-visual {
  position: relative;
  margin-bottom: 18px;
}
.insight-visual::before {
  content: "";
  position: absolute;
  inset: 10% 2% 12% 2%;
  z-index: 0;
  background:
    radial-gradient(circle at 72% 28%, rgba(147,180,205,0.2), transparent 0 30%),
    linear-gradient(180deg, rgba(29,30,33,0.12), rgba(13,14,16,0));
  filter: blur(18px);
}
.insight-card img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  border-radius: 0;
  border: 0;
  background: transparent;
}
.insight-card h3 {
  font-family: var(--display);
  font-size: 19px;
  color: var(--text);
  margin: 16px 0 8px;
}
.insight-card p {
  font-size: 14.5px;
  color: var(--text-2);
}
@media (max-width: 980px) {
  .asset-split,
  .asset-split.reverse,
  .insight-gallery {
    grid-template-columns: 1fr;
  }
  .asset-frame-hero img,
  .asset-frame-stack img,
  .asset-frame-ecosystem img,
  .asset-frame-deployment img,
  .asset-frame-featured img {
    width: 100%;
    transform: none;
  }
  .hero-visual .asset-caption {
    padding-left: 0;
  }
}

/* ---------- Proof tiles ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
@media (max-width: 760px) { .tile-grid { grid-template-columns: 1fr; } }
.tile {
  background: rgba(24, 26, 30, 0.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 30px 28px; transition: border-color .25s ease, transform .25s ease;
}
.tile:hover { border-color: var(--steel-blue); transform: translateY(-2px); }
.tile .t-rule { width: 26px; height: 2px; background: var(--egil-blue); border-radius: 1px; margin-bottom: 20px; }
.tile h3 { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--text); margin-bottom: 10px; letter-spacing: 0; }
.tile p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); }

/* ---------- Outcome / statement lists ---------- */
.line-list { margin-top: 40px; border-top: 1px solid var(--border); }
.line-list li {
  list-style: none; display: flex; gap: 20px; align-items: baseline;
  padding: 20px 4px; border-bottom: 1px solid var(--border);
  font-size: 16px; color: var(--text-2);
}
.line-list li::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: transparent; border: 1.5px solid var(--ice-blue);
  transform: translateY(-1px);
}
.line-list li strong { color: var(--text); font-weight: 600; }

.impact-band {
  margin-top: 28px;
  padding: 28px 30px;
  border-top: 1px solid rgba(147,180,205,0.35);
  border-bottom: 1px solid rgba(147,180,205,0.18);
  background: linear-gradient(180deg, rgba(24,34,44,0.42), rgba(13,14,16,0.08) 78%);
}

.impact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(220px, 4fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.impact-copy {
  min-width: 0;
}

.impact-band h3 {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--text);
}

.impact-band p {
  margin-top: 14px;
  max-width: 68ch;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.72;
}

.impact-signals {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: center;
  padding-top: 46px;
}

.impact-signal {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 10px 14px;
  border-top: 1px solid rgba(147,180,205,0.32);
  border-bottom: 1px solid rgba(147,180,205,0.16);
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(18px, 2.1vw, 26px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.05;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgba(147,180,205,0.08), rgba(147,180,205,0));
}

@media (max-width: 960px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .impact-signals {
    padding-top: 8px;
    gap: 10px;
  }

  .impact-signal {
    font-size: 18px;
    letter-spacing: 0.05em;
  }
}

/* ---------- Statement band ---------- */
.band {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(30,90,130,0.07), rgba(13,14,16,0) 70%);
  padding-top: 80px; padding-bottom: 80px; text-align: center;
}
.band .quote {
  font-family: var(--display); font-weight: 700; color: var(--text);
  font-size: clamp(23px, 3.2vw, 34px); line-height: 1.28; max-width: 26ch; margin: 0 auto;
}
.band .quote em { font-style: normal; color: var(--ice-blue); }
.band .attrib { margin-top: 22px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }

/* ---------- Final CTA ---------- */
.final-cta { padding-top: 100px; padding-bottom: 108px; text-align: center; }
.final-cta h2 {
  font-family: var(--display); font-weight: 700; color: var(--text);
  font-size: clamp(30px, 4.4vw, 48px); line-height: 1.12; max-width: 20ch; margin: 0 auto;
}
.final-cta p { max-width: 58ch; margin: 24px auto 0; }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-top: 148px; padding-bottom: 56px; }
.page-hero h1 {
  font-family: var(--display); font-weight: 700; color: var(--text);
  font-size: clamp(33px, 5vw, 54px); line-height: 1.1; letter-spacing: -0.012em; max-width: 18ch;
}
.page-hero .sub { max-width: 60ch; margin-top: 24px; font-size: 17px; }

/* ---------- Alternating logic sections ---------- */
.logic { display: grid; grid-template-columns: 64px 1fr; gap: clamp(24px, 4vw, 48px); padding: 56px 0; }
.logic + .logic { border-top: 1px solid rgba(42,43,47,0.6); }
.logic .rail { position: relative; }
.logic .rail::before {
  content: ""; position: absolute; left: 50%; top: 8px; bottom: -72px; width: 1px;
  background: linear-gradient(to bottom, rgba(147,180,205,0.4), rgba(147,180,205,0.06));
}
.logic:last-of-type .rail::before { bottom: 8px; }
.logic .rail .node {
  position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 50%;
  margin: 4px auto 0; background: var(--inset); border: 1.5px solid var(--ice-blue);
}
.logic h2 {
  font-family: var(--display); font-weight: 700; color: var(--text);
  font-size: clamp(22px, 2.8vw, 30px); line-height: 1.2; margin-bottom: 16px;
}
.logic p { max-width: 64ch; font-size: 16px; }
.logic p + p { margin-top: 12px; }
@media (max-width: 640px) { .logic { grid-template-columns: 28px 1fr; } }

/* ---------- Pillar cards (Insights) ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: rgba(24,26,30,0.9); border: 1px solid var(--border); border-radius: 12px;
  padding: 0;
  overflow: hidden;
}
.pillar .p-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ice-blue); margin-bottom: 14px;
}
.pillar h3 { font-family: var(--display); font-size: 18px; color: var(--text); margin-bottom: 10px; }
.pillar p { font-size: 14.5px; color: var(--text-2); }
.pillar-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 30px 28px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  text-align: left;
  cursor: pointer;
}
.pillar-head {
  min-width: 0;
}
.pillar-summary {
  margin: 0;
}
.pillar-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(147,180,205,0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ice-blue);
  font-size: 24px;
  line-height: 1;
  margin-top: 2px;
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease;
}
.pillar-detail {
  padding: 0 28px 28px;
  border-top: 1px solid rgba(42,43,47,0.7);
}
.pillar-detail p {
  margin: 16px 0 0;
  max-width: 58ch;
  color: #b8bdc4;
}
.pillar.open {
  background: rgba(19,22,27,0.94);
  border-color: rgba(58,96,124,0.52);
}
.pillar.open .pillar-icon {
  transform: rotate(45deg);
  background: rgba(30,90,130,0.14);
  border-color: rgba(147,180,205,0.52);
}
@media (hover: hover) and (pointer: fine) {
  .pillar-toggle:hover .pillar-icon {
    background: rgba(30,90,130,0.12);
    border-color: rgba(147,180,205,0.46);
  }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.inquiry-types { border-top: 1px solid var(--border); margin-top: 34px; }
.inquiry-types div {
  padding: 18px 4px; border-bottom: 1px solid var(--border);
  font-size: 15px; color: var(--text-2); display: flex; gap: 16px; align-items: baseline;
}
.inquiry-types div::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%;
  border: 1.5px solid var(--ice-blue); transform: translateY(-1px);
}

form.inquiry {
  background: rgba(29,30,33,0.8); border: 1px solid var(--border); border-radius: 12px;
  padding: 34px 32px;
}
form.inquiry label {
  display: block; font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-3); margin: 22px 0 8px;
}
form.inquiry label:first-of-type { margin-top: 0; }
form.inquiry input, form.inquiry select, form.inquiry textarea {
  width: 100%; background: var(--inset); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-family: var(--body); font-size: 15px; padding: 13px 14px;
  outline: none; transition: border-color .2s ease;
}
form.inquiry input:focus, form.inquiry select:focus, form.inquiry textarea:focus { border-color: var(--steel-blue); }
form.inquiry textarea { min-height: 130px; resize: vertical; }
form.inquiry .btn { width: 100%; margin-top: 28px; border: none; cursor: pointer; }
form.inquiry .form-note { margin-top: 16px; font-size: 12.5px; color: var(--text-3); line-height: 1.5; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 72px 0 48px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr)); gap: 40px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.foot-logo {
  display: block;
  width: 74px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}
.foot-logo-full {
  display: block;
  width: clamp(180px, 20vw, 240px);
  height: auto;
}
.foot-brand-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 3vw, 40px);
  letter-spacing: 0.08em;
  line-height: 0.95;
  color: var(--text);
}
.foot-brand p { margin-top: 18px; font-size: 13.5px; color: var(--text-3); max-width: 40ch; line-height: 1.6; }
.foot-col h4 { font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--text-2); text-decoration: none; font-size: 14px; padding: 5px 0; transition: color .2s ease; }
.foot-col a:hover, .foot-col a:focus-visible { color: var(--text); }
.foot-base {
    margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    font-size: 12.5px; color: var(--text-3);
  }
@media (max-width: 760px) {
  .foot-logo-link { gap: 12px; }
  .foot-logo { width: 62px; }
  .foot-brand-word { font-size: 28px; }
  .foot-logo-full { width: 190px; }
}

/* ---------- Reveal motion ---------- */
.reveal { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .tile, .btn, nav.links a { transition: none; }
}

/* ---------- Native figures (inline SVG, no frames) ---------- */
.figure-native { position: relative; }
.figure-native picture { display: block; }
.figure-native svg,
.figure-native img { display: block; width: 100%; height: auto; }
.figure-native svg text { font-family: var(--display); }
.figure-caption {
  margin-top: 16px; font-size: 12.5px; letter-spacing: 0.02em;
  color: var(--text-3); max-width: 52ch;
}
.figure-row { margin-top: 48px; }

/* Hero figure: authored into the hero, bleeds softly right */
.hero-figure { position: relative; }
.hero-figure svg,
.hero-figure img { width: 128%; max-width: none; transform: translateX(-9%); }
.hero-figure::before {
  content: ""; position: absolute; inset: 6% 0 10% 10%; z-index: -1;
  background:
    radial-gradient(circle at 68% 34%, rgba(30,90,130,0.16), transparent 60%),
    radial-gradient(circle at 30% 78%, rgba(58,96,124,0.10), transparent 55%);
  filter: blur(28px);
}
@media (max-width: 960px) {
  .hero-figure svg,
  .hero-figure img { width: 100%; transform: none; }
}
@media (max-width: 640px) {
  .nav-inner {
    gap: 12px;
    padding-left: 18px;
    padding-right: 18px;
  }
  .wordmark {
    gap: 8px;
    font-size: 17px;
    letter-spacing: 0.12em;
  }
  .wordmark small {
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .hero {
    padding-top: 128px;
    padding-bottom: 56px;
  }
  .hero .eyebrow {
    max-width: 100%;
    margin-bottom: 20px;
    font-size: 10px;
    letter-spacing: 0.14em;
    gap: 8px;
  }
  .eyebrow::before,
  .eyebrow::after {
    width: 18px;
  }
  h1.display {
    font-size: clamp(28px, 10.5vw, 46px);
    max-width: 10.5ch;
  }
  .hero .sub,
  .hero .support {
    max-width: 31ch;
  }
  .hero .sub {
    font-size: 15px;
  }
  .hero .support {
    font-size: 13.5px;
  }
  .cta-row {
    width: 100%;
  }
  .cta-row .btn {
    width: min(100%, 320px);
    text-align: center;
  }
}
@media (max-width: 560px) {
  .wordmark small {
    display: none;
  }
}

/* ---------- Stack rail (platform stack as page architecture) ---------- */
.stack-rail { position: relative; padding-left: 28px; }
.stack-rail::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px;
  background: linear-gradient(to bottom, rgba(147,180,205,0.5), rgba(147,180,205,0.08));
}
.stack-rail ol { list-style: none; border-top: 1px solid var(--border); }
.s-row {
  display: grid; grid-template-columns: 52px 1fr auto; gap: 18px; align-items: baseline;
  padding: 19px 12px 19px 0; border-bottom: 1px solid var(--border);
}
.s-num {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em; color: var(--steel-blue);
}
.s-row h3 {
  font-family: var(--display); font-weight: 700; font-size: 17px;
  color: var(--text); letter-spacing: 0;
}
.s-desc { font-size: 13px; color: var(--text-3); text-align: right; }
.s-row.is-first {
  background: linear-gradient(90deg, rgba(30,90,130,0.12), transparent 65%);
}
.s-row.is-first .s-num { color: var(--ice-blue); }
.s-row.is-last {
  background: linear-gradient(90deg, rgba(147,180,205,0.08), transparent 65%);
  border-bottom: 1px solid rgba(147,180,205,0.4);
}
.s-row.is-last .s-num { color: var(--ice-blue); }
.s-row.is-last .s-desc { color: var(--ice-blue); }
@media (max-width: 640px) {
  .s-row { grid-template-columns: 40px 1fr; }
  .s-desc { grid-column: 2; text-align: left; }
}

/* ---------- Insight editorial entries ---------- */
.insight-entry {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: 56px 0;
}
.insight-entry + .insight-entry { border-top: 1px solid rgba(42,43,47,0.6); }
.insight-entry .e-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ice-blue); margin-bottom: 14px; display: flex; align-items: center; gap: 12px;
}
.insight-entry .e-label::before { content: ""; width: 22px; height: 1px; background: rgba(147,180,205,0.4); }
.insight-entry h3 {
  font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.4vw, 26px);
  color: var(--text); line-height: 1.22; margin-bottom: 12px;
}
.insight-entry p { font-size: 15px; color: var(--text-2); max-width: 44ch; }
.insight-entry-open-models {
  align-items: center;
}
.figure-native-open-models {
  padding-top: 0;
}
.insight-entry-agentic {
  align-items: start;
}
.figure-native-agentic {
  margin-top: -24px;
  padding-top: 0;
}
.figure-native-agentic picture,
.figure-native-agentic img {
  display: block;
}
.figure-native-agentic img {
  width: 108%;
  max-width: none;
  transform: translateX(-2%);
}
.figure-native-agentic .figure-caption {
  max-width: 46ch;
}
.logic-figure {
  margin-left: calc(64px + clamp(24px, 4vw, 48px));
  padding: 4px 0 56px;
  max-width: 880px;
}
@media (max-width: 640px) { .logic-figure { margin-left: calc(28px + clamp(24px, 4vw, 48px)); } }
@media (max-width: 900px) {
  .insight-entry { grid-template-columns: 1fr; gap: 28px; }
  .figure-native-open-models {
    padding-top: 0;
  }
  .figure-native-agentic {
    margin-top: 0;
    padding-top: 0;
  }
  .figure-native-agentic img {
    width: 100%;
    transform: none;
  }
}

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ice-blue); outline-offset: 2px;
}
