/* ==========================================================================
   Incolo Systems — main stylesheet
   ========================================================================== */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-300);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-snug);
  color: var(--text-strong);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.container-narrow { max-width: var(--container-narrow); }

.section { padding-block: var(--sp-9); }
.section-tint { background: var(--surface-tint); }
.section-band { background: var(--wash-band); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--fs-100);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

.section-head { max-width: 720px; margin-bottom: var(--sp-7); }
.section-head h2 {
  font-size: var(--fs-700);
  margin-top: var(--sp-3);
}
.section-head p {
  margin-top: var(--sp-4);
  font-size: var(--fs-400);
  color: var(--text-muted);
}

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -60px;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-sm);
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: var(--sp-3); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.85rem 1.5rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--fs-200);
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
  min-height: 44px;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 6px 18px rgba(29, 101, 204, 0.28);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-primary:active { background: var(--accent-press); transform: translateY(0); }
.btn-ghost {
  background: var(--surface);
  color: var(--text-strong);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-ink {
  background: rgba(255,255,255,0.1);
  color: var(--text-on-ink);
  border-color: rgba(255,255,255,0.25);
}
.btn-ink:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.9rem; font-size: var(--fs-300); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  color: var(--accent);
  font-size: var(--fs-200);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 250, 253, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(247, 250, 253, 0.92);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-400);
  color: var(--text-strong);
  letter-spacing: -0.01em;
}
.brand .mark { height: 38px; width: auto; flex: none; }

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  list-style: none;
  padding: 0;
}
.nav-links a {
  font-size: var(--fs-200);
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding-block: var(--sp-2);
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--dur-fast) var(--ease);
}
.nav-links a:hover { color: var(--text-strong); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  color: var(--text-strong);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--sp-9));
  padding-bottom: var(--sp-9);
  background: var(--wash-hero);
  overflow: hidden;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(29,101,204,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(29,101,204,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 60% 30%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 60% 30%, #000 0%, transparent 80%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-lead {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-8);
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: center;
}
.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lift);
  background: #fff;
  animation: hero-float 6s ease-in-out infinite;
}
.hero-glow {
  position: absolute;
  inset: -6% -6% -6% -6%;
  background: radial-gradient(50% 50% at 50% 45%, rgba(59,130,246,0.30) 0%, rgba(59,130,246,0) 68%);
  filter: blur(14px);
  z-index: 0;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual img { animation: none; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-100);
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--data);
  box-shadow: 0 0 0 4px var(--data-soft);
}
.hero-badge strong { color: var(--text-strong); font-weight: 600; }

.hero h1 {
  font-size: var(--fs-900);
  line-height: var(--lh-tight);
  letter-spacing: -0.025em;
  max-width: 15ch;
}
.hero h1 .muted { color: var(--text-faint); }
.hero h1 .accent { color: var(--accent); }

.hero-lede {
  margin-top: var(--sp-5);
  font-size: var(--fs-400);
  color: var(--text-muted);
  max-width: 54ch;
}
.hero-actions {
  margin-top: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.hero-meta {
  margin-top: var(--sp-8);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
  max-width: 640px;
}
.hero-meta .item { border-left: 2px solid var(--accent-soft); padding-left: var(--sp-4); }
.hero-meta .k {
  font-family: var(--font-display);
  font-size: var(--fs-600);
  font-weight: 600;
  color: var(--text-strong);
}
.hero-meta .v {
  font-size: var(--fs-100);
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-mission {
  position: relative;
  margin-top: var(--sp-8);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-5);
  align-items: center;
  background: var(--surface-ink);
  color: var(--text-on-ink);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.hero-mission::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 120% at 90% 0%, rgba(59,130,246,0.35) 0%, transparent 55%);
  pointer-events: none;
}
.hero-mission .tag {
  position: relative;
  align-self: flex-start;
  background: #fff;
  color: var(--text-strong);
  font-weight: 600;
  font-size: var(--fs-100);
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.hero-mission p { position: relative; font-size: var(--fs-400); color: var(--text-on-ink); }


/* ==========================================================================
   What we do — 3 pillars
   ========================================================================== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pillar .ic {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--accent-softer);
  color: var(--accent);
  margin-bottom: var(--sp-5);
}
.pillar .ic svg { width: 26px; height: 26px; }
.pillar h3 { font-size: var(--fs-500); margin-bottom: var(--sp-3); }
.pillar p { color: var(--text-muted); font-size: var(--fs-200); }
.pillar .num {
  font-family: var(--font-mono);
  font-size: var(--fs-100);
  color: var(--text-faint);
  float: right;
}

/* ==========================================================================
   Programs
   ========================================================================== */
.programs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}
.program {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.program:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--accent-soft); }

/* Image banner */
.program-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface-ink);
  overflow: hidden;
}
.program-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.program:hover .program-media img { transform: scale(1.04); }
.program-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,35,64,0) 45%, rgba(11,35,64,0.42) 100%),
    linear-gradient(90deg, rgba(29,101,204,0.10), rgba(29,101,204,0) 40%);
  pointer-events: none;
}
.program-idx {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #fff;
  background: rgba(11,35,64,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  z-index: 2;
}
.program-ic {
  position: absolute;
  left: var(--sp-4);
  bottom: var(--sp-4);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: #fff;
  color: var(--accent);
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.program-ic svg { width: 24px; height: 24px; }

.program-body { padding: var(--sp-6); display: flex; flex-direction: column; flex: 1; }
.program h3 { font-size: var(--fs-500); margin-bottom: var(--sp-2); }
.program .sectors {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.program p { color: var(--text-muted); font-size: var(--fs-200); }
.program .outcomes {
  list-style: none;
  padding: 0;
  margin-top: var(--sp-4);
  display: grid;
  gap: var(--sp-2);
}
.program .outcomes li {
  display: flex;
  gap: var(--sp-2);
  font-size: var(--fs-100);
  color: var(--text);
}
.program .outcomes svg { width: 16px; height: 16px; color: var(--data); flex: none; margin-top: 3px; }

/* ==========================================================================
   Why Incolo — Trust by Design
   ========================================================================== */
.why {
  background: var(--surface-ink);
  color: var(--text-on-ink);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 88% 6%, rgba(59,130,246,0.28) 0%, transparent 55%),
    radial-gradient(46% 50% at 4% 92%, rgba(29,101,204,0.22) 0%, transparent 55%);
  pointer-events: none;
}
.why-inner { position: relative; }
.why .eyebrow { color: var(--accent-bright); }
.why .eyebrow::before { background: var(--accent-bright); }
.why h2 { color: #fff; font-size: var(--fs-700); margin-top: var(--sp-3); max-width: 20ch; }
.why-grid {
  margin-top: var(--sp-7);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.why-item .n {
  font-family: var(--font-mono);
  font-size: var(--fs-100);
  color: var(--accent-bright);
  margin-bottom: var(--sp-3);
}
.why-item h3 { color: #fff; font-size: var(--fs-500); margin-bottom: var(--sp-3); }
.why-item p { color: var(--text-on-ink-muted); font-size: var(--fs-200); }
.why-quote {
  position: relative;
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-5);
  align-items: end;
}
.why-quote blockquote {
  font-family: var(--font-display);
  font-size: var(--fs-500);
  line-height: var(--lh-snug);
  color: #fff;
  max-width: 40ch;
}
.why-quote cite {
  font-style: normal;
  font-size: var(--fs-100);
  color: var(--text-on-ink-muted);
  white-space: nowrap;
}

/* ==========================================================================
   Vision & Values
   ========================================================================== */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-7);
}
.vm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
}
.vm-card .eyebrow { margin-bottom: var(--sp-3); }
.vm-card p { color: var(--text-muted); font-size: var(--fs-400); }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.value {
  padding: var(--sp-5);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.value:hover { border-color: var(--accent-soft); transform: translateY(-3px); }
.value .n {
  font-family: var(--font-mono);
  font-size: var(--fs-100);
  color: var(--accent);
  margin-bottom: var(--sp-2);
}
.value h4 { font-size: var(--fs-400); margin-bottom: var(--sp-2); }
.value p { font-size: var(--fs-100); color: var(--text-muted); }

/* ==========================================================================
   Founder
   ========================================================================== */
.founder {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--sp-8);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-card);
}
.founder-photo {
  position: relative;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--surface-ink), var(--surface-ink-2));
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.founder-photo .initials {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}
.founder-photo .ring {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 30% 20%, rgba(59,130,246,0.4) 0%, transparent 60%);
}
.founder-info .eyebrow { margin-bottom: var(--sp-3); }
.founder-info h3 { font-size: var(--fs-600); }
.founder-info .role {
  font-family: var(--font-mono);
  font-size: var(--fs-100);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.founder-info p { color: var(--text-muted); font-size: var(--fs-300); }
.founder-info p + p { margin-top: var(--sp-4); }
.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  list-style: none;
  padding: 0;
  margin-top: var(--sp-5);
}
.founder-tags li {
  font-size: var(--fs-100);
  color: var(--text-muted);
  background: var(--surface-tint);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.35rem 0.85rem;
}

/* ==========================================================================
   Contact / CTA
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}
.contact-copy h2 { font-size: var(--fs-700); }
.contact-copy p { color: var(--text-muted); font-size: var(--fs-400); margin-top: var(--sp-4); max-width: 46ch; }
.contact-details {
  margin-top: var(--sp-6);
  display: grid;
  gap: var(--sp-4);
}
.contact-details a, .contact-details .cd {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-300);
  color: var(--text);
  transition: color var(--dur-fast) var(--ease);
}
.contact-details a:hover { color: var(--accent); }
.contact-details .ci {
  width: 42px; height: 42px;
  flex: none;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--accent-softer);
  color: var(--accent);
}
.contact-details .ci svg { width: 20px; height: 20px; }
.contact-details .cd-sub { display: block; font-size: var(--fs-100); color: var(--text-faint); }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  box-shadow: var(--shadow-lift);
}
.form-row { margin-bottom: var(--sp-4); }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field label {
  font-size: var(--fs-100);
  font-weight: 600;
  color: var(--text);
}
.field label .req { color: var(--accent); }
.field input, .field textarea {
  font: inherit;
  font-size: var(--fs-200);
  color: var(--text);
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: var(--surface-tint);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  min-height: 44px;
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field .help { font-size: var(--fs-100); color: var(--text-faint); }
.contact-card .btn { width: 100%; margin-top: var(--sp-2); }
.contact-card .fineprint {
  margin-top: var(--sp-4);
  font-size: var(--fs-100);
  color: var(--text-faint);
  text-align: center;
}

/* Honeypot — visually hidden, still in the tab-less flow for bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Submit button states */
#contactSubmit .btn-spin { display: none; }
#contactSubmit .btn-spin { animation: spin 0.8s linear infinite; }
.is-sending #contactSubmit .btn-send { display: none; }
.is-sending #contactSubmit .btn-spin { display: block; }
#contactSubmit:disabled { opacity: 0.7; cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  #contactSubmit .btn-spin { animation: none; }
}

/* Inline status message */
.form-status {
  margin-top: var(--sp-4);
  font-size: var(--fs-200);
  font-weight: 500;
  text-align: center;
  border-radius: var(--r-sm);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.form-status.is-ok, .form-status.is-err {
  max-height: 140px;
  padding: var(--sp-3) var(--sp-4);
}
.form-status.is-ok {
  color: #0a5f55;
  background: var(--data-soft);
  border: 1px solid #b9e4dc;
}
.form-status.is-err {
  color: #9a2020;
  background: var(--danger-soft, #fbe9e9);
  border: 1px solid #f3c9c9;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--surface-ink);
  color: var(--text-on-ink-muted);
  padding-block: var(--sp-8) var(--sp-6);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand { color: #fff; margin-bottom: var(--sp-4); }
.footer-brand p { font-size: var(--fs-200); max-width: 38ch; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-mono);
  font-size: var(--fs-100);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: var(--sp-3); }
.footer-col a { font-size: var(--fs-200); color: var(--text-on-ink-muted); transition: color var(--dur-fast) var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3);
  font-size: var(--fs-100);
}
.footer-bottom .pledge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--text-on-ink);
}
.footer-bottom .pledge svg { width: 16px; height: 16px; color: var(--data); }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .pillars, .why-grid, .values { grid-template-columns: repeat(2, 1fr); }
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 240px; }
  .contact { grid-template-columns: 1fr; }
  .hero-lead { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero-visual img { max-width: 320px; }
}
@media (max-width: 720px) {
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: var(--sp-3);
  }
  .nav.is-open .nav-links a { padding: var(--sp-4); border-radius: var(--r-sm); }
  .nav.is-open .nav-links a:hover { background: var(--surface-tint); }
  .nav.is-open .nav-links a::after { display: none; }

  .pillars, .programs, .why-grid, .values, .vm-grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr; max-width: 320px; gap: var(--sp-4); }
  .hero-mission { grid-template-columns: 1fr; }
  .why { padding: var(--sp-6); }
  .why-quote { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: var(--sp-6); }
  .form-row.two { grid-template-columns: 1fr; }
  .section { padding-block: var(--sp-8); }
}
