/* ============================================================
   ART BIOCHEM — Shared Stylesheet
   Editorial / research-lab system: tight monumental type,
   flat white + deep-blue/near-black bands, coral taxonomy,
   rounded media cards, hairline borders instead of shadows.
   ============================================================ */

:root {
  /* Brand & accent */
  --color-black: #17171c;        /* near-black — primary CTA, footer, dark cards */
  --color-ink: #212121;          /* default body / heading text on light bg */
  --color-green: #004e8c;        /* deep Windows blue — dark bands */
  --color-green-light: #0078d4;
  --color-navy: #071829;         /* alt dark band */
  --color-blue: #1863dc;         /* editorial links */
  --color-coral: #ff7759;        /* taxonomy chips / warm accents */
  --color-coral-soft: #ffad9b;
  --color-coral-wash: #fff1ec;

  /* Surface */
  --color-canvas: #ffffff;
  --color-stone: #eeece7;
  --color-green-wash: #eaf4fc;
  --color-blue-wash: #f1f5ff;
  --color-card-border: #f2f2f2;

  /* Text & rules */
  --color-muted: #6c6c80;
  --color-slate: #75758a;
  --color-hairline: #d9d9dd;
  --color-border-light: #e5e7eb;

  /* Semantic */
  --color-focus: #4c6ee6;

  /* Compatibility aliases used throughout markup/inline-styles */
  --color-primary: var(--color-green);
  --color-primary-dark: var(--color-black);
  --color-accent: var(--color-coral);
  --color-accent-dark: #e85f42;
  --color-accent-light: var(--color-coral-wash);
  --color-bg: var(--color-canvas);
  --color-bg-alt: var(--color-stone);
  --color-bg-deep: var(--color-green-wash);
  --color-text: var(--color-ink);
  --color-text-light: var(--color-slate);
  --color-text-faint: var(--color-muted);
  --color-border: var(--color-hairline);

  --font-display: "Space Grotesk", "CohereText", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-base: "Inter", "Unica77 Cohere Web", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "CohereMono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --shadow-sm: 0 1px 2px rgba(23, 23, 28, 0.06);
  --shadow-md: 0 6px 20px rgba(23, 23, 28, 0.08);
  --shadow-lg: 0 16px 40px rgba(23, 23, 28, 0.12);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 32px;
  --radius: var(--radius-md);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-ink);
  background: var(--color-canvas);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -0.025em; }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0; color: var(--color-slate); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-coral);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--color-coral);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-base);
  font-weight: 500;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--color-black); color: #fff; }
.btn-primary:hover { opacity: 0.85; }
.btn-outline {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-black);
}
.btn-outline:hover { background: var(--color-black); color: #fff; }
.btn-white { background: #fff; color: var(--color-black); }
.btn-white:hover { opacity: 0.88; }
.btn-ghost-light {
  background: none;
  color: #fff;
  border: none;
  border-radius: 0;
  padding: 13px 4px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn-ghost-light:hover { opacity: 0.8; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-hairline);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--color-ink);
}
.brand-mark {
  height: 38px;
  width: auto;
  flex-shrink: 0;
  border-radius: var(--radius-xs);
}
.brand-name strong { color: var(--color-black); font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-slate);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-ink);
  border-bottom-color: var(--color-coral);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  border-radius: var(--radius-xs);
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--color-ink); border-radius: 2px; }

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--color-hairline);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.open { max-height: 480px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; padding: 16px 24px; border-bottom: 1px solid var(--color-card-border); border-radius: 0; }
  .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn { padding: 8px 16px; font-size: 0.8rem; }
}
@media (max-width: 380px) {
  .nav-cta .btn { padding: 7px 12px; font-size: 0.75rem; }
  .brand-mark { height: 32px; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--color-canvas);
  color: var(--color-ink);
  padding: 88px 0 72px;
  overflow: hidden;
  position: relative;
}
.hero-photo {
  background:
    linear-gradient(120deg, rgba(0,24,48,0.92) 0%, rgba(0,78,140,0.88) 45%, rgba(0,120,212,0.6) 100%),
    var(--hero-img) center/cover no-repeat;
  color: #fff;
  padding: 108px 0 92px;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero.hero-simple .hero-inner { grid-template-columns: 1fr; max-width: 780px; }
.hero-eyebrow { color: var(--color-coral-soft); }
.hero-eyebrow::before { background: var(--color-coral-soft); }
.hero h1 { color: inherit; }
.hero p.lead { color: rgba(255,255,255,0.82); font-size: 1.1rem; margin-top: 20px; max-width: 560px; font-family: var(--font-base); }
.hero:not(.hero-photo) p.lead { color: var(--color-slate); }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: #fff; }
.hero-stats div span { font-family: var(--font-mono); font-size: 0.76rem; color: rgba(255,255,255,0.68); text-transform: uppercase; letter-spacing: 0.08em; }

.hero-visual {
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 420px;
  margin: 0 auto;
}

.breadcrumb { font-family: var(--font-mono); color: rgba(255,255,255,0.6); font-size: 0.8rem; margin-bottom: 20px; letter-spacing: 0.02em; }
.breadcrumb a:hover { color: #fff; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--color-stone); }
.section-deep { background: var(--color-green-wash); }
.section-dark {
  background: var(--color-green);
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.75); }
.section-dark .eyebrow { color: var(--color-coral-soft); }
.section-dark .eyebrow::before { background: var(--color-coral-soft); }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.05rem; }

/* ---------- Capability Strip ---------- */
.strip {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--color-hairline);
  flex-wrap: wrap;
}
.strip-item { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 180px; }
.strip-item .icon { width: 36px; height: 36px; flex-shrink: 0; color: var(--color-coral); }
.strip-item span { font-weight: 500; font-size: 0.88rem; color: var(--color-ink); }

/* ---------- Grid cards ---------- */
.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
/* 4-up then 3-up centered, all cards identical size (home capabilities) */
.grid-pillars { grid-template-columns: repeat(8, 1fr); grid-auto-rows: 1fr; }
.grid-pillars > * { grid-column: span 2; display: flex; flex-direction: column; }
.grid-pillars .card-link { margin-top: auto; padding-top: 16px; }
.grid-pillars > :nth-child(5) { grid-column: 2 / span 2; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-pillars { grid-template-columns: repeat(2, 1fr); } .grid-pillars > *, .grid-pillars > :nth-child(5) { grid-column: auto; } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4, .grid-pillars { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: border-color 0.2s ease;
}
.card:hover { border-color: var(--color-hairline); }
.card .icon-box {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--color-coral-wash);
  color: var(--color-coral);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.94rem; }
.card .tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-coral-wash);
  color: var(--color-accent-dark);
  border: 1px solid var(--color-coral-soft);
}
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 500; font-size: 0.88rem; color: var(--color-blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Two column feature ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; } .feature-row.reverse { direction: ltr; } }
.feature-visual {
  width: 100%;
  background: var(--color-stone);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.feature-visual.photo {
  padding: 0;
  position: relative;
  border: none;
}
.feature-visual.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.molecule-visual {
  background: radial-gradient(circle at 50% 50%, var(--color-coral-wash) 0%, var(--color-stone) 70%);
}
.molecule-visual canvas { border-radius: var(--radius-lg); }
@media (prefers-reduced-motion: reduce) {
  .molecule-visual { display: flex; align-items: center; justify-content: center; }
}

.feature-visual.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(0,24,48,0.16), transparent 55%);
}
.photo-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(255,255,255,0.95);
  color: var(--color-ink);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  z-index: 1;
}

.card-photo {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  aspect-ratio: 16/10;
  margin: -30px -30px 20px -30px;
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-list { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.feature-list li { display: flex; gap: 12px; font-size: 0.95rem; color: var(--color-ink); align-items: flex-start; }
.feature-list .dot {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-coral-wash); color: var(--color-coral);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.66rem; flex-shrink: 0; margin-top: 2px;
}

/* ---------- Timeline / Journey ---------- */
.timeline { display: flex; justify-content: space-between; gap: 8px; position: relative; margin-top: 44px; flex-wrap: wrap; }
.timeline::before {
  content: "";
  position: absolute;
  top: 22px; left: 0; right: 0;
  height: 1px;
  background: var(--color-hairline);
}
.timeline-step { position: relative; flex: 1; min-width: 140px; text-align: center; padding-top: 0; }
.timeline-dot {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-black);
  color: #fff; font-weight: 600; font-family: var(--font-mono);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; position: relative; z-index: 1;
  border: 4px solid #fff;
}
.timeline-step h4 { font-size: 0.92rem; margin-bottom: 6px; color: var(--color-ink); font-family: var(--font-base); font-weight: 600; letter-spacing: 0; }
.timeline-step p { font-size: 0.84rem; }
@media (max-width: 900px) {
  .timeline { flex-direction: column; align-items: flex-start; gap: 28px; }
  .timeline::before { top: 0; bottom: 0; left: 22px; width: 1px; height: auto; right: auto; }
  .timeline-step { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 2px; text-align: left; align-items: start; width: 100%; min-width: 0; }
  .timeline-dot { margin: 0; grid-row: span 2; }
  .timeline-step h4, .timeline-step p { grid-column: 2; margin: 0; }
  .timeline-step h4 { padding-top: 4px; }
}

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-band .stat strong { display: block; font-family: var(--font-display); font-size: 2.3rem; font-weight: 500; color: var(--color-coral); }
.stats-band .stat span { font-family: var(--font-mono); font-size: 0.78rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 700px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Values ---------- */
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-item .num { font-family: var(--font-mono); font-size: 1.3rem; font-weight: 500; color: var(--color-coral); opacity: 0.85; min-width: 40px; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.avatar {
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--color-green);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; margin: 0 auto 18px;
}
.team-card h4 { margin-bottom: 4px; font-family: var(--font-base); font-weight: 600; letter-spacing: 0; }
.team-card span.role { font-family: var(--font-mono); font-size: 0.78rem; color: var(--color-coral); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.team-card p { font-size: 0.88rem; margin-top: 10px; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--color-hairline); border-radius: var(--radius-md); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 16px 20px; font-size: 0.9rem; border-bottom: 1px solid var(--color-hairline); }
th { background: transparent; color: var(--color-ink); font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.06em; }
tr:last-child td { border-bottom: none; }
td { color: var(--color-slate); }

/* ---------- Product / filter ---------- */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  align-items: center;
}
.search-input {
  flex: 1;
  min-width: 220px;
  padding: 13px 18px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-hairline);
  font-size: 0.95rem;
  font-family: var(--font-base);
  background: #fff;
}
.search-input:focus { outline: none; border-color: var(--color-black); }
.chip {
  padding: 12px 18px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-coral-soft);
  background: var(--color-coral-wash);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--color-accent-dark);
  transition: all 0.15s;
}
.chip:hover { border-color: var(--color-coral); }
.chip.active { background: var(--color-coral); color: #1a0f0a; border-color: var(--color-coral); }

.product-card { display: flex; flex-direction: column; background: var(--color-stone); border-color: var(--color-stone); }
.product-card .cat { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-dark); margin-bottom: 10px; }
.product-card .spec-row { display: flex; justify-content: space-between; font-size: 0.82rem; padding: 8px 0; border-top: 1px solid rgba(0,0,0,0.08); color: var(--color-muted); }
.product-card .spec-row span:last-child { color: var(--color-ink); font-weight: 600; }
.product-card .card-link { margin-top: auto; padding-top: 16px; }
.product-card h3 { margin-bottom: 12px; overflow-wrap: anywhere; hyphens: auto; }
.product-more { display: flex; flex-direction: column; background: var(--color-blue-wash); border-color: var(--color-blue-wash); }
.product-more .cat { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-dark); margin-bottom: 10px; }
.filter-bar .search-input { flex: 1 1 100%; }
.no-results { text-align: center; padding: 60px 20px; color: var(--color-muted); display: none; }
.no-results.show { display: block; }

/* ---------- Insights / cards with meta ---------- */
.insight-card .meta { font-family: var(--font-mono); display: flex; justify-content: space-between; font-size: 0.74rem; color: var(--color-muted); margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--color-card-border); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--color-green);
  border-radius: var(--radius-lg);
  padding: 56px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.85); }
.cta-banner-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid.full { grid-template-columns: 1fr; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; gap: 0; } .form-card { padding: 24px 18px; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-size: 0.83rem; font-weight: 600; color: var(--color-ink); }
.field label .req { color: var(--color-coral); }
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xs);
  font-family: var(--font-base);
  font-size: 0.94rem;
  background: #fff;
  color: var(--color-ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-focus); box-shadow: 0 0 0 3px rgba(76,110,230,0.12); }
.field textarea { resize: vertical; min-height: 110px; }
.field-error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #c4392b;
  font-weight: 500;
}
.field-error:not(:empty) { display: flex; }
.field-error::before { content: "⚠"; font-size: 0.9rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea,
.form-grid.full.invalid textarea {
  border-color: #c4392b;
}
.file-drop {
  border: 1px dashed var(--color-hairline);
  border-radius: var(--radius-sm);
  padding: 28px;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.file-drop:hover, .file-drop.dragover { border-color: var(--color-coral); background: var(--color-coral-wash); }
.file-drop input { display: none; }
.file-name { margin-top: 10px; font-size: 0.85rem; color: var(--color-accent-dark); font-weight: 600; }

.form-success {
  display: none;
  text-align: center;
  padding: 50px 20px;
}
.form-success.show { display: block; }
.form-success .icon-box { margin: 0 auto 20px; }

/* ---------- FAQ ---------- */
.accordion-item { border-bottom: 1px solid var(--color-hairline); }
.accordion-item:first-child { border-top: 1px solid var(--color-hairline); }
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-base);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink);
  cursor: pointer;
}
.accordion-trigger .plus { font-size: 1.3rem; color: var(--color-coral); transition: transform 0.25s; flex-shrink: 0; }
.accordion-item.open .plus { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-panel p { padding: 0 4px 22px; font-size: 0.93rem; }

/* ---------- Contact info / map ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-row { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--color-hairline); }
.info-row:first-child { border-top: 1px solid var(--color-hairline); }
.info-row .icon-box { width: 44px; height: 44px; }
.info-row h4 { margin-bottom: 4px; font-family: var(--font-base); font-weight: 600; letter-spacing: 0; }
.info-row p { font-size: 0.9rem; }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-hairline);
  aspect-ratio: 4/3;
  background: var(--color-stone);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.9rem;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- What happens next ---------- */
.steps-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .steps-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-list { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-black); color: rgba(255,255,255,0.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: #fff; margin-bottom: 14px; }
.footer-brand .brand-mark { height: 34px; width: auto; }
.site-footer h5 { color: #fff; font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; font-weight: 500; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.site-footer a { font-size: 0.9rem; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
}
.footer-legal a { font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-legal a:hover { color: #fff; }

.footer-bottom {
  padding-top: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  font-size: 0.8rem;
  gap: 10px 24px;
  align-items: start;
}
.footer-bottom > span:nth-child(2) { text-align: right; }
.footer-bottom .powered-by {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #fff;
}

/* ---------- Legal content ---------- */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 1.5rem; margin-top: 48px; margin-bottom: 16px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.1rem; margin-top: 28px; margin-bottom: 12px; }
.legal-content p { margin-bottom: 16px; font-size: 0.98rem; line-height: 1.7; }
.legal-content ul, .legal-content ol { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-content li { font-size: 0.98rem; line-height: 1.6; color: var(--color-slate); }
.legal-content a { color: var(--color-blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-content strong { color: var(--color-ink); }
.legal-content .updated { font-family: var(--font-mono); font-size: 0.8rem; color: var(--color-muted); margin-bottom: 36px; }
.legal-notice {
  background: var(--color-coral-wash);
  border: 1px solid var(--color-coral-soft);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 0.9rem;
  color: var(--color-accent-dark);
  margin: 0 0 16px;
}
.legal-notice strong { color: var(--color-accent-dark); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Accessibility: focus visibility ---------- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.card-link:focus-visible,
.chip:focus-visible,
.accordion-trigger:focus-visible,
.nav-toggle:focus-visible,
.file-drop:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

/* ---------- Accessibility: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
.team-photo { margin: -8px 0 18px; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1 / 1; background: var(--color-stone); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

/* ---------- Leadership org tree (tiered rows, no connectors) ---------- */
.org-tree { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.org-tier { display: flex; justify-content: center; gap: 24px; width: 100%; }
.org-tier > .team-card { width: 250px; flex: 0 0 250px; }
@media (max-width: 860px) {
  .org-tier { flex-direction: column; align-items: center; }
  .org-tier > .team-card { width: 100%; max-width: 320px; flex-basis: auto; }
}
.team-photo-placeholder { display: flex; align-items: center; justify-content: center; background: var(--color-blue-wash); color: var(--color-green); font-family: var(--font-display); font-weight: 500; font-size: 3rem; letter-spacing: 0.04em; }
.footer-bottom .powered-by a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: text-shadow 0.25s ease, color 0.25s ease;
}
.footer-bottom .powered-by a:hover,
.footer-bottom .powered-by a:focus-visible {
  text-shadow: 0 0 6px rgba(255,255,255,0.9), 0 0 14px rgba(0,120,212,0.85), 0 0 28px rgba(0,120,212,0.6);
}
@media (max-width: 700px) {
  .footer-bottom { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom > span:nth-child(2) { text-align: center; }
}
.feature-visual.feature-diagram { aspect-ratio: auto; padding: 24px; }
.feature-visual.feature-diagram svg { width: 100%; height: auto; max-width: 440px; margin: 0 auto; display: block; }
