/* Deep Leaf Infra — static marketing site
   No JS, no framework. Tabs use CSS-only radios; FAQ uses native <details>. */

:root {
  --bg: #08081a;
  --bg-band: #0b0b21;
  --surface: #10102a;
  --accent: #ae78ff;
  --accent-soft: #c9a4ff;
  --accent-pale: #dcc6ff;
  --ink: #f2f0fa;
  --ink-2: #e6e4f2;
  --ink-3: #b4b2cc;
  --ink-4: #a5a3bf;
  --ink-5: #8785a3;
  --ink-6: #6e6c8a;
  --ink-7: #77758f;
  --hair: rgba(255, 255, 255, 0.07);
  --hair-2: rgba(255, 255, 255, 0.09);
  --hair-3: rgba(255, 255, 255, 0.12);
  --sans: "Instrument Sans", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1200px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-soft);
}
::selection {
  background: rgba(174, 120, 255, 0.35);
}
@keyframes dlPulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}
.wrap-narrow {
  max-width: 900px;
}
.section {
  padding: 104px 0;
}
.band {
  background: var(--bg-band);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 104px 0;
}
.bordered-top {
  border-top: 1px solid var(--hair);
}
.accent {
  color: var(--accent);
}

/* ---------- type ---------- */
.h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 600;
  max-width: 24ch;
  text-wrap: pretty;
}
.h2-lg {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 22ch;
}
.h2-wide {
  max-width: 26ch;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.h2-sm {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.026em;
  max-width: 26ch;
}
.h2-narrow {
  max-width: 20ch;
}
.h3 {
  margin: 20px 0 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.h3-lg {
  margin: 0;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.lead {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-3);
  max-width: 56ch;
  text-wrap: pretty;
}
.body {
  margin: 12px 0 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-4);
  text-wrap: pretty;
}
.body-light {
  color: #c4c2d8;
  max-width: 46ch;
}
.fine {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-7);
}
.eyebrow-mono {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-5);
}
.eyebrow-accent {
  color: var(--accent-soft);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}
.btn-sm {
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 13.5px;
}
.btn-block {
  width: 100%;
  padding: 15px;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: #12042a;
  border: none;
}
.btn-primary:hover {
  background: var(--accent-soft);
  color: #12042a;
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-weight: 500;
}
.btn-ghost:hover {
  border-color: rgba(174, 120, 255, 0.5);
  color: var(--ink);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 26, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
  padding: 0 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}
.logo:hover {
  color: var(--ink);
}
.logo-mark {
  height: 50px;
  border-radius: 6px;
  object-fit: contain;
  display: block;
}
.logo-mark-flat {
  opacity: 0.9;
}
.logo-word {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 13.5px;
}
.nav a {
  color: #9c9ab8;
}
.nav a:hover {
  color: var(--ink);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--hair);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(8, 8, 26, 0.82) 0%,
    rgba(8, 8, 26, 0.6) 48%,
    rgba(8, 8, 26, 0.22) 100%
  );
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(174, 120, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174, 120, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(80% 60% at 20% 40%, #000, transparent);
  mask-image: radial-gradient(80% 60% at 20% 40%, #000, transparent);
}
.hero-content {
  position: relative;
  width: 100%;
  padding-top: 110px;
  padding-bottom: 96px;
}
.status-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #9c9ab8;
}
.status-line-accent {
  font-size: 11.5px;
  color: var(--accent-pale);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: dlPulse 2.4s ease-in-out infinite;
}
.hero-title {
  margin: 22px 0 0;
  font-size: 76px;
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
  max-width: 15ch;
  text-wrap: balance;
}
.hero-sub {
  margin: 26px 0 0;
  max-width: 52ch;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-3);
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 64px 0 0;
  padding: 26px 0 0;
  list-style: none;
  border-top: 1px solid var(--hair-2);
  max-width: 900px;
}
.trust-strip li {
  flex: 1 1 150px;
  padding-right: 24px;
}
.stat {
  display: block;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-5);
}

/* ---------- partners ---------- */
.partners {
  padding: 88px 0 96px;
}
.partners-head {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 24px;
  margin-bottom: 8px;
}
.partners-head .h2 {
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}
.partners-head .lead {
  margin: 0;
  max-width: 44ch;
  text-align: right;
}
.partner-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px 80px;
  margin: 40px 0 0;
  padding: 26px 0 0;
  list-style: none;
  border-top: 1px solid var(--hair-2);
}
.partner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}
.partner:hover {
  opacity: 1;
}
.partner a {
  display: inline-flex;
  align-items: center;
}
.partner img {
  height: 60px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}
.partner-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 26px;
  border: 1px dashed var(--hair-3);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-5);
}

/* ---------- Faust partner text wordmark ---------- */
@font-face {
  font-family: "Evangelion Brand";
  src: url("/assets/fonts/faust-evangelion.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Renders a partner's name in its own brand font (see client.partners[].textLogo) */
.partner-wordmark {
  font-family: "Evangelion Brand", Arial, sans-serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  font-size: 45px;
  line-height: 1;
  padding: 0 10px;
  border-color: transparent;
  color: #a9a9a9;
  text-shadow:
    1px 1px 2px rgba(255, 0, 0, 0.5),
    -1px -1px 2px rgba(0, 0, 255, 0.5);
}

/* ---------- two-column blocks ---------- */
.two-col {
  display: grid;
  gap: 64px;
  align-items: center;
}
.two-col-intro {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}
.two-col-reliability {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
}
.two-col-contact {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}
.frame {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--hair-2);
  background: var(--surface);
}
.frame-intro {
  height: 420px;
}
.frame-intro img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- problem ---------- */
.problem-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.62fr);
  align-items: stretch;
}
.problem-copy {
  padding: 104px 64px 104px 32px;
}
.statements {
  display: flex;
  flex-direction: column;
  margin-top: 44px;
}
.statement {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.statement-last {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.statement-head {
  margin: 0;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.018em;
  max-width: 30ch;
}
.statement-sub {
  margin: 9px 0 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-5);
  max-width: 56ch;
}
.problem-figure {
  position: relative;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
}
.problem-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- cards ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.card {
  padding: 28px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.card-accent {
  padding: 32px;
  border-color: rgba(174, 120, 255, 0.18);
  background: linear-gradient(
    180deg,
    rgba(174, 120, 255, 0.07),
    rgba(174, 120, 255, 0)
  );
}
.card-grow {
  flex: 1;
}

/* ---------- comparison matrix ---------- */
.matrix {
  width: 100%;
  margin-top: 44px;
  border-collapse: collapse;
  font-size: 14px;
  text-align: center;
}
.matrix th,
.matrix td {
  padding: 18px 12px;
  border-bottom: 1px solid var(--hair);
}
.matrix thead th {
  padding: 0 12px 16px;
  font-weight: 500;
  color: var(--ink-5);
}
.matrix thead th.col-own {
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid rgba(174, 120, 255, 0.5);
}
.matrix thead th:not(.col-own) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.matrix tbody th {
  text-align: left;
  padding-left: 0;
  font-weight: 400;
  color: var(--ink-2);
  width: 34%;
}
.matrix tbody tr:last-child th,
.matrix tbody tr:last-child td {
  border-bottom: none;
}
.cell-own {
  background: rgba(174, 120, 255, 0.06);
  color: var(--accent);
  font-weight: 600;
}
.cell-mid {
  color: var(--ink-5);
}
.cell-no {
  color: var(--ink-6);
}

/* ---------- capabilities (CSS-only tabs) ---------- */
.cap-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.caps-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.segmented {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.segmented label {
  padding: 10px 18px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-3);
  cursor: pointer;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.segmented label:hover {
  color: var(--ink);
}
#cap-training:checked ~ .caps-head .segmented label[data-for="cap-training"],
#cap-tuning:checked ~ .caps-head .segmented label[data-for="cap-tuning"],
#cap-inference:checked ~ .caps-head .segmented label[data-for="cap-inference"] {
  background: var(--accent);
  color: #12042a;
}
.cap-panels {
  margin-top: 40px;
}
.cap-panel {
  display: none;
}
#cap-training:checked ~ .cap-panels .cap-panel[data-panel="cap-training"],
#cap-tuning:checked ~ .cap-panels .cap-panel[data-panel="cap-tuning"],
#cap-inference:checked ~ .cap-panels .cap-panel[data-panel="cap-inference"] {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.85fr);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--hair-2);
  background: var(--surface);
}
.cap-copy {
  padding: 46px;
}
.cap-copy .lead {
  max-width: 46ch;
  font-size: 16.5px;
  margin-top: 16px;
}
.cap-meta {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  margin: 34px 0 0;
}
.cap-meta dt,
.contact-meta dt,
.ops-grid dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-5);
}
.cap-meta dd {
  margin: 7px 0 0;
  font-size: 15px;
  color: var(--ink-2);
}
.cap-figure {
  position: relative;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: var(--bg-band);
}
.cap-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- facilities ---------- */
.fac-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  margin-top: 44px;
  align-items: stretch;
}
.fac-hero {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(174, 120, 255, 0.22);
  min-height: 440px;
  background: var(--surface);
}
.fac-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fac-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(8, 8, 26, 0.95) 12%,
    rgba(8, 8, 26, 0.15) 62%
  );
}
.fac-hero figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px;
}
.fac-hero figcaption .h3-lg {
  margin-top: 14px;
  font-size: 30px;
}
.fac-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.site-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
.site-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 16px;
  font-weight: 500;
}
.site-list li:last-child {
  border-bottom: none;
}
.mono-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-5);
}
.bullets {
  list-style: none;
  margin: 15px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.bullets li {
  position: relative;
  padding-left: 15px;
  font-size: 15px;
  line-height: 1.5;
  color: #dad8e8;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- 24/7 ---------- */
.big-numeral {
  margin: 0;
  font-size: 150px;
  line-height: 0.86;
  font-weight: 600;
  letter-spacing: -0.05em;
  background: linear-gradient(160deg, #f2f0fa 20%, #ae78ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.big-numeral-label {
  margin: 16px 0 0;
  font-size: 16px;
  color: #9c9ab8;
}
.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--hair-2);
}
.ops-grid dt {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.ops-grid dd {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-5);
}

/* ---------- team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.person {
  display: flex;
  gap: 26px;
  padding: 30px;
  border-radius: 18px;
}
.headshot {
  width: 132px;
  height: 158px;
  flex: none;
  object-fit: cover;
  border-radius: 14px;
  background: var(--bg-band);
}
.role {
  margin: 0;
  font-size: 14px;
  color: var(--ink-5);
}
.person .h3 {
  margin-top: 10px;
  font-size: 23px;
  letter-spacing: -0.018em;
}
.person .body {
  margin-top: 11px;
  font-size: 15px;
  line-height: 1.58;
}
.link-out {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
}

/* ---------- contact ---------- */
.contact-meta {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--hair-2);
}
.contact-meta div {
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.contact-meta dt {
  width: 96px;
  flex: none;
}
.contact-meta dd {
  margin: 0;
  font-size: 15px;
  color: #dad8e8;
}
.form {
  display: grid;
  gap: 18px;
  padding: 36px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--hair-2);
}
.form label {
  display: block;
}
.field-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-5);
}
.form input,
.form textarea {
  margin-top: 8px;
  width: 100%;
  padding: 13px 14px;
  border-radius: 11px;
  border: 1px solid var(--hair-3);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  outline: none;
}
.form textarea {
  resize: vertical;
}
.form input:focus,
.form textarea:focus {
  border-color: var(--accent);
}
.form input::placeholder,
.form textarea::placeholder {
  color: var(--ink-6);
}
.form .fine {
  margin: 0;
  font-size: 13px;
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: 36px;
  border-top: 1px solid var(--hair-2);
}
.faq details {
  border-bottom: 1px solid var(--hair-2);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.012em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 20px;
  color: var(--accent);
  flex: none;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq p {
  margin: 0;
  padding: 0 0 26px;
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-4);
  max-width: 66ch;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--hair);
  background: var(--bg);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 56px 32px 44px;
}
.tagline {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
}
.legal {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-7);
  max-width: 44ch;
}
.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-cols > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-cols a {
  font-size: 14px;
  color: var(--ink-3);
}
.footer-cols a:hover {
  color: var(--ink);
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-title {
    font-size: 60px;
  }
  .big-numeral {
    font-size: 120px;
  }
}
@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .section,
  .band {
    padding: 72px 0;
  }
  .partners {
    padding: 72px 0;
  }
  .partners-head {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .partners-head .lead {
    text-align: left;
  }
  .partner-strip {
    gap: 24px 40px;
  }
  .wrap {
    padding: 0 24px;
  }
  .hero {
    min-height: 0;
  }
  .hero-content {
    padding-top: 80px;
    padding-bottom: 64px;
  }
  .trust-strip {
    margin-top: 44px;
  }
  .two-col,
  .two-col-intro,
  .two-col-reliability,
  .two-col-contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .problem-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .problem-copy {
    padding: 72px 32px;
  }
  .problem-figure {
    height: 320px;
  }
  .cards-3,
  .team-grid,
  .fac-grid,
  .ops-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  #cap-training:checked ~ .cap-panels .cap-panel[data-panel="cap-training"],
  #cap-tuning:checked ~ .cap-panels .cap-panel[data-panel="cap-tuning"],
  #cap-inference:checked ~ .cap-panels .cap-panel[data-panel="cap-inference"] {
    grid-template-columns: minmax(0, 1fr);
  }
  .cap-figure {
    height: 280px;
  }
  .cap-copy {
    padding: 32px;
  }
  .form {
    padding: 28px;
  }
  .h2,
  .h2-lg,
  .h2-wide,
  .h2-sm {
    font-size: 30px;
    line-height: 1.15;
    max-width: 100%;
  }
  .hero-title {
    font-size: 46px;
    max-width: 100%;
  }
  .statement-head {
    font-size: 21px;
    max-width: 100%;
  }
  .big-numeral {
    font-size: 96px;
  }
  .fac-hero {
    min-height: 340px;
  }
  .matrix {
    font-size: 13px;
  }
  .matrix th,
  .matrix td {
    padding: 14px 8px;
  }
}
@media (max-width: 560px) {
  .wrap {
    padding: 0 20px;
  }
  .hero-title {
    font-size: 38px;
    letter-spacing: -0.03em;
  }
  .trust-strip li {
    flex-basis: 45%;
    padding-bottom: 14px;
  }
  .person {
    flex-direction: column;
    gap: 18px;
  }
  .headshot {
    width: 120px;
    height: 144px;
  }
  .segmented {
    width: 100%;
  }
  .segmented label {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    font-size: 13px;
  }
}

/* ============================================
   TASTEFUL ANIMATIONS
   ============================================ */

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Reveal items - base state */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
}
.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for children */
.reveal-stagger > *:nth-child(1) {
  transition-delay: 0s;
}
.reveal-stagger > *:nth-child(2) {
  transition-delay: 0.1s;
}
.reveal-stagger > *:nth-child(3) {
  transition-delay: 0.2s;
}
.reveal-stagger > *:nth-child(4) {
  transition-delay: 0.3s;
}
.reveal-stagger > *:nth-child(5) {
  transition-delay: 0.4s;
}
.reveal-stagger > *:nth-child(6) {
  transition-delay: 0.5s;
}
.reveal-stagger > *:nth-child(7) {
  transition-delay: 0.6s;
}
.reveal-stagger > *:nth-child(8) {
  transition-delay: 0.7s;
}

/* Table cell animations */
.matrix tbody tr:nth-child(1) .reveal-item {
  transition-delay: 0s;
}
.matrix tbody tr:nth-child(2) .reveal-item {
  transition-delay: 0.08s;
}
.matrix tbody tr:nth-child(3) .reveal-item {
  transition-delay: 0.16s;
}
.matrix tbody tr:nth-child(4) .reveal-item {
  transition-delay: 0.24s;
}
.matrix tbody tr:nth-child(5) .reveal-item {
  transition-delay: 0.32s;
}

/* Hero entrance */
.hero-content .status-line {
  animation: fadeSlideIn 0.5s ease-out 0.1s both;
}
.hero-content .hero-title {
  animation: fadeSlideIn 0.5s ease-out 0.25s both;
}
.hero-content .hero-sub {
  animation: fadeSlideIn 0.5s ease-out 0.4s both;
}
.hero-content .btn-row {
  animation: fadeSlideIn 0.5s ease-out 0.55s both;
}
.hero-content .trust-strip {
  animation: fadeSlideIn 0.5s ease-out 0.7s both;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button hovers */
.btn {
  transition:
    transform 0.15s ease-out,
    box-shadow 0.15s ease-out,
    background 0.15s ease-out;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(174, 120, 255, 0.4);
}
.btn-ghost:hover {
  box-shadow: 0 2px 12px rgba(174, 120, 255, 0.2);
}

/* Nav link underlines */
.nav a {
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s ease-out;
}
.nav a:hover::after {
  width: 100%;
}

/* Card lifts */
.card {
  transition:
    transform 0.2s ease-out,
    box-shadow 0.2s ease-out;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
}

/* Logo subtle scale */
.logo {
  transition: transform 0.15s ease-out;
}
.logo:hover {
  transform: scale(1.02);
}

/* FAQ - rotate plus to X */
.faq summary {
  position: relative;
}
.faq summary::after {
  transition: transform 0.25s ease-out !important;
}

/* Link-out hover */
.link-out {
  transition: color 0.15s ease-out;
}
.link-out:hover {
  color: var(--accent-soft);
}

/* Statement cards - extra pop */
.statement {
  transition:
    transform 0.2s ease-out,
    box-shadow 0.2s ease-out,
    opacity 0.5s ease-out;
}
.statement:hover {
  transform: translateX(4px);
  box-shadow: -4px 0 0 var(--accent);
}
