/* APT Corporations — editorial US institutional theme */

:root {
  /* Palette: warm off-white, midnight ink, restrained antique gold */
  --paper:      #FBFAF6;   /* main background — warm ivory, not pure white */
  --paper-alt:  #F3EFE6;   /* alternate section band */
  --ink:        #0E1621;   /* near-black midnight */
  --ink-2:      #1B2532;
  --text:       #2A3441;
  --muted:      #6B7280;
  --muted-2:    #8A8478;
  --line:       #E1DCCF;   /* warm hairline */
  --line-2:     #CFC8B6;
  --accent:     #9A7B3A;   /* antique gold — used sparingly */
  --accent-2:   #7A5F26;
  --deep:       #0B1119;   /* footer / stats band */
  --deep-2:     #141C27;

  --shadow-sm: 0 1px 0 rgba(14, 22, 33, .04);
  --shadow-md: 0 1px 0 rgba(14, 22, 33, .06), 0 12px 30px rgba(14, 22, 33, .05);

  --radius: 2px;         /* squarer, editorial */
  --radius-lg: 3px;

  --container: 1240px;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Source Serif 4", "Source Serif Pro", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
a:hover { border-bottom-color: var(--accent); }

/* Editorial serif display type */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0 0 .55em;
}
h1 { font-size: clamp(2.4rem, 4.2vw + .6rem, 4.4rem); font-weight: 400; }
h2 { font-size: clamp(1.85rem, 2.4vw + .6rem, 2.8rem); }
h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; }
p  { margin: 0 0 1em; color: var(--text); }

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

/* ── Kickers / editorial labels ────────── */
.kicker, .eyebrow, .badge, .trust-label {
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Top bar ───────────────────────────── */
.topbar {
  background: var(--deep);
  color: #B8B0A0;
  font-size: .78rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 16px;
  flex-wrap: wrap;
  letter-spacing: .04em;
}
.topbar a { color: #D9D2C0; border: none; }
.topbar a:hover { color: #fff; }
.topbar .tb-left span { margin-right: 22px; }
.topbar .tb-right a { margin-left: 18px; }

/* ── Header / Nav ──────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  color: var(--ink); border: none;
}
.brand-img {
  height: 52px; width: auto; display: block;
  transition: height .35s ease;
}
.site-header.is-scrolled .brand-img { height: 44px; }
.site-footer .brand-img {
  height: 66px;
  /* Logo has dark navy elements — brighten slightly and add subtle glow so it
     reads on the dark footer without losing brand color. */
  filter: brightness(1.15) contrast(1.05) drop-shadow(0 0 6px rgba(255,255,255,.15));
}
.brand-mark {
  width: 42px; height: 42px; border-radius: 0;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-weight: 500; font-size: 1.02rem; letter-spacing: .02em;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.1;
}
.brand small {
  display: block;
  font-family: var(--font-sans);
  color: var(--muted-2); font-weight: 500;
  font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  color: var(--ink); font-weight: 500; font-size: .92rem;
  padding: 8px 0; border: none;
  letter-spacing: .01em;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  padding: 9px 11px; border-radius: 0; cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 1px; background: var(--ink); margin: 5px 0; }

/* ── Buttons ───────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; font-weight: 500; font-size: .88rem;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer; transition: all .2s ease;
  white-space: nowrap;
  letter-spacing: .05em;
  font-family: var(--font-sans);
}
.btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover { background: transparent; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--accent); }
.btn-navy { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-navy:hover { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: .8rem; }

/* Underline-link (editorial) */
.link-u {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 500; font-size: .88rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding-bottom: 3px; border-bottom: 1px solid var(--ink);
  transition: all .2s;
}
.link-u:hover { color: var(--accent); border-color: var(--accent); }

/* ── Hero ──────────────────────────────── */
.hero {
  position: relative;
  padding: 130px 0 110px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 90px; align-items: end;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent);
  margin-bottom: 28px;
}
.eyebrow .rule { display: inline-block; width: 32px; height: 1px; background: var(--accent); }
.hero p.lead {
  font-size: 1.22rem;
  color: var(--text);
  max-width: 620px;
  line-height: 1.55;
  font-weight: 400;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 60px; padding-top: 32px; border-top: 1px solid var(--line);
  max-width: 640px;
}
.hero-stats .stat { padding-right: 24px; }
.hero-stats .stat + .stat { border-left: 1px solid var(--line); padding-left: 24px; padding-right: 12px; }
.stat .num {
  font-family: var(--font-serif);
  font-size: 2.1rem; font-weight: 400; color: var(--ink);
  letter-spacing: -0.02em; line-height: 1;
}
.stat .label { color: var(--muted); font-size: .82rem; margin-top: 8px; letter-spacing: .02em; }

/* Editorial hero panel — no cartoon tiles */
.hero-panel {
  position: relative;
  border: 1px solid var(--line);
  padding: 44px 40px 40px;
  background: var(--paper);
}
.hero-panel::before {
  content: ""; position: absolute; top: -1px; left: -1px; right: -1px;
  height: 3px; background: var(--accent);
}
.hero-panel .panel-eyebrow {
  font-family: var(--font-sans);
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.hero-panel .panel-lead {
  font-family: var(--font-serif);
  font-size: 1.55rem; line-height: 1.35; color: var(--ink);
  letter-spacing: -0.01em; margin-bottom: 28px;
}
.hero-panel .panel-rows { display: grid; gap: 0; }
.hero-panel .panel-row {
  display: grid; grid-template-columns: 90px 1fr auto;
  align-items: baseline; gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: .92rem;
}
.hero-panel .panel-row:last-child { border-bottom: 1px solid var(--line); }
.hero-panel .panel-row .k {
  font-family: var(--font-sans);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.hero-panel .panel-row .v { color: var(--ink); font-weight: 500; }
.hero-panel .panel-row .n {
  font-family: var(--font-serif); font-size: 1.1rem;
  color: var(--accent); font-variant-numeric: tabular-nums;
}
.hero-panel .panel-foot {
  margin-top: 22px; font-size: .78rem; letter-spacing: .05em;
  color: var(--muted); font-family: var(--font-sans);
}

/* ── Trust bar ─────────────────────────── */
.trust {
  padding: 26px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.trust-label { color: var(--muted); }
.trust-logos {
  display: flex; gap: 46px; flex-wrap: wrap; align-items: center;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: .82rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase;
}
.trust-logos span { opacity: .55; }

/* ── Section base ──────────────────────── */
.section { padding: 120px 0; }
.section.tight { padding: 90px 0; }
.section.alt { background: var(--paper-alt); }
.section-head { max-width: 760px; margin: 0 auto 72px; text-align: center; }
.section-head.left { margin: 0 0 48px; text-align: left; max-width: 640px; }
.section-head .kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.section-head .kicker .rule { display: inline-block; width: 26px; height: 1px; background: var(--accent); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-top: 12px; line-height: 1.6; }

/* ── Service pillars (editorial numbered) ─ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.pillar {
  background: transparent;
  border-top: 1px solid var(--ink);
  padding: 34px 32px 40px 0;
  transition: none;
  position: relative;
}
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar .p-num {
  font-family: var(--font-serif); font-size: .95rem;
  color: var(--accent); letter-spacing: .06em;
  display: block; margin-bottom: 20px;
}
.pillar h3 { font-size: 1.55rem; margin-bottom: 14px; }
.pillar p { color: var(--muted); font-size: .96rem; }
.pillar ul { list-style: none; padding: 0; margin: 20px 0 26px; border-top: 1px solid var(--line); }
.pillar ul li {
  padding: 12px 0 12px 0;
  color: var(--text); font-size: .92rem;
  border-bottom: 1px solid var(--line);
}
.pillar .link-u { margin-top: 10px; }

/* ── Feature split ─────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
  border: 1px solid var(--line);
  padding: 56px 44px; aspect-ratio: 4/3;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--paper);
  position: relative;
}
.split-media::before {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 60px; height: 3px; background: var(--accent);
}
.split-media .sm-eyebrow {
  font-family: var(--font-sans); font-size: .7rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.split-media .sm-headline {
  font-family: var(--font-serif); font-size: 2rem; line-height: 1.2;
  color: var(--ink); letter-spacing: -0.015em;
  margin-top: 24px;
}
.split-media .sm-meta {
  border-top: 1px solid var(--line);
  padding-top: 18px; margin-top: 24px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
.split-media .sm-meta div { font-size: .84rem; }
.split-media .sm-meta strong {
  display: block; font-family: var(--font-serif);
  font-size: 1.4rem; color: var(--ink); font-weight: 400; margin-bottom: 4px;
}
.split-media .sm-meta span { color: var(--muted); font-size: .76rem; letter-spacing: .04em; }
.split p { color: var(--muted); font-size: 1.02rem; line-height: 1.65; }
.check-list { list-style: none; padding: 0; margin: 26px 0; border-top: 1px solid var(--line); }
.check-list li {
  padding: 14px 0 14px 32px; position: relative;
  color: var(--text); font-size: .95rem;
  border-bottom: 1px solid var(--line);
}
.check-list li::before {
  content: "—"; position: absolute; left: 0; top: 14px;
  color: var(--accent); font-family: var(--font-serif); font-size: 1.1rem;
}

/* ── Industries (editorial list) ───────── */
.industries {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.industry {
  padding: 26px 20px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: background .2s;
  display: flex; align-items: baseline; gap: 14px;
}
.industry:nth-child(4n) { border-right: none; }
.industry:hover { background: var(--paper-alt); }
.industry .ind-num {
  font-family: var(--font-serif); color: var(--accent);
  font-size: .82rem; letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.industry .name { font-weight: 500; color: var(--ink); font-size: .98rem; }

/* ── Partners (editorial wordmark cards) ─ */
.partners-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.partner {
  padding: 40px 26px;
  border-right: 1px solid var(--line);
  text-align: left;
  transition: background .2s;
}
.partner:last-child { border-right: none; }
.partner:hover { background: var(--paper-alt); }
.partner-mark {
  display: inline-block;
  font-family: var(--font-serif); font-size: .8rem;
  color: var(--accent); letter-spacing: .12em;
  margin-bottom: 24px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent);
}
.partner-name {
  font-family: var(--font-serif);
  font-weight: 500; color: var(--ink);
  font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.005em;
  margin-bottom: 8px;
}
.partner-role {
  color: var(--muted); font-size: .78rem;
  letter-spacing: .06em; text-transform: uppercase;
}

/* ── Stats band (dark, editorial) ──────── */
.stats-band {
  background: var(--deep);
  color: var(--paper);
  padding: 100px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.stats-band .container { position: relative; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.stats-grid > div {
  padding: 40px 26px 10px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stats-grid > div:last-child { border-right: none; }
.stats-grid .num {
  font-family: var(--font-serif);
  font-size: 3rem; font-weight: 400; color: var(--paper);
  letter-spacing: -0.02em; line-height: 1;
}
.stats-grid .label {
  color: #8A8778; font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; margin-top: 14px;
}

/* ── Quote (editorial pull-quote) ──────── */
.quote-wrap {
  max-width: 940px; margin: 0 auto; text-align: left;
  padding-left: 40px; border-left: 2px solid var(--accent);
}
.quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2vw + .5rem, 2.05rem);
  line-height: 1.35; color: var(--ink); font-weight: 400;
  letter-spacing: -0.01em; font-style: italic;
}
.quote-meta {
  margin-top: 30px; color: var(--muted);
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  font-family: var(--font-sans);
}
.quote-meta strong { color: var(--ink); font-weight: 600; }

/* ── CTA band ──────────────────────────── */
.cta-band {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 72px 56px;
  text-align: center;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p {
  color: var(--muted);
  max-width: 640px; margin: 0 auto 32px;
  font-size: 1.05rem; line-height: 1.6;
}
.cta-band .btns { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ── Footer ────────────────────────────── */
.site-footer {
  background: var(--deep); color: #A9A395; padding: 88px 0 28px;
  border-top: 3px solid var(--accent);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-footer h4 {
  color: var(--paper); font-family: var(--font-sans);
  font-size: .74rem; text-transform: uppercase; letter-spacing: .18em;
  font-weight: 600; margin-bottom: 22px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 12px; }
.site-footer ul li a { color: #B8B0A0; font-size: .88rem; border: none; }
.site-footer ul li a:hover { color: var(--paper); }
.site-footer .brand { color: var(--paper); }
.site-footer .brand .brand-mark { background: var(--paper); color: var(--deep); }
.site-footer .brand .brand-name { color: var(--paper); }
.site-footer .brand small { color: #8A8478; }
.site-footer p.tag {
  color: #B8B0A0; margin: 20px 0 24px; max-width: 380px;
  font-size: .9rem; line-height: 1.65;
}
.footer-contact { color: #B8B0A0; font-size: .86rem; line-height: 1.8; }
.footer-contact div { margin-bottom: 4px; }
.footer-bottom {
  padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: #7A7466; font-size: .78rem; letter-spacing: .04em;
}
.footer-bottom a { color: #A9A395; margin-left: 22px; border: none; }
.footer-bottom a:hover { color: var(--paper); }

/* ── Page hero (inner) ─────────────────── */
.page-hero {
  padding: 110px 0 80px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero .breadcrumb {
  color: var(--muted); font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 24px;
}
.page-hero .breadcrumb a { color: var(--muted); border: none; }
.page-hero .breadcrumb a:hover { color: var(--accent); }
.page-hero h1 { font-size: clamp(2.4rem, 3.2vw + 1rem, 3.8rem); max-width: 900px; }
.page-hero p {
  color: var(--muted); font-size: 1.12rem; max-width: 740px;
  margin-top: 22px; line-height: 1.6;
}

/* ── Cards / general (editorial) ───────── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.cards-grid .card {
  background: transparent;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 36px 32px 40px;
  transition: background .2s;
}
.cards-grid .card:nth-child(3n) { border-right: none; }
.cards-grid .card:hover { background: var(--paper-alt); transform: none; box-shadow: none; }
.card .badge {
  display: inline-block; padding: 0; background: transparent;
  color: var(--accent); border-radius: 0; font-size: .72rem;
  font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  border-bottom: 1px solid var(--accent); padding-bottom: 3px;
}
.card h3 { margin: 20px 0 10px; font-size: 1.35rem; }
.card p { color: var(--muted); font-size: .93rem; line-height: 1.65; }
.card ul { list-style: none; padding: 0; margin: 14px 0 0; }
.card ul li {
  padding: 8px 0 8px 20px; position: relative;
  color: var(--text); font-size: .88rem;
  border-top: 1px solid var(--line);
}
.card ul li::before {
  content: "—"; position: absolute; left: 0; top: 8px;
  color: var(--accent); font-family: var(--font-serif);
}

/* Info panel (editorial sidebar) */
.info-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px 36px;
  position: relative;
}
.info-panel::before {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 60px; height: 3px; background: var(--accent);
}
.info-panel h3 { margin-bottom: 8px; font-size: 1.4rem; }
.info-panel .meta { color: var(--muted); font-size: .88rem; margin-bottom: 4px; }

/* ── Forms ─────────────────────────────── */
.form { display: grid; gap: 20px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label {
  font-size: .74rem; font-weight: 600;
  color: var(--muted); letter-spacing: .12em; text-transform: uppercase;
  display: block; margin-bottom: 8px;
}
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 0; font: inherit; color: var(--ink);
  border: none; border-bottom: 1px solid var(--line-2);
  border-radius: 0; background: transparent;
  transition: border-color .2s;
  font-family: var(--font-sans);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--accent);
}
.form textarea { resize: vertical; min-height: 130px; }
.form .actions { margin-top: 20px; }

/* ── Utility ───────────────────────────── */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

/* Legend for CEO avatar (monochrome initials in serif) */
.avatar {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--paper-alt);
  border: 1px solid var(--line-2);
  color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 400; font-size: 1.7rem;
  letter-spacing: -0.02em;
}
.avatar.sm { width: 64px; height: 64px; font-size: 1.35rem; }

/* Editorial diagram placeholders — quiet, monochrome */
.diagram {
  width: 100%; aspect-ratio: 4/3;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--paper);
  border: 1px solid var(--line);
  position: relative;
}
.diagram::before {
  content: ""; position: absolute; top: -1px; left: -1px;
  width: 60px; height: 3px; background: var(--accent);
}

/* ── Editorial imagery — data-center treatment ────────── */
/* Reusable photo backdrop layer (goes on ::before of a positioned parent) */
@keyframes kenBurns {
  0%   { transform: scale(1.02) translate3d(0,0,0); }
  50%  { transform: scale(1.12) translate3d(-1.2%,1%,0); }
  100% { transform: scale(1.02) translate3d(0,0,0); }
}
@keyframes fadeInPhoto {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Image-backed split-media panel */
.split-media.has-image {
  padding: 0;
  border-color: var(--ink);
  background: var(--ink);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.split-media.has-image::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  animation: fadeInPhoto 1.1s ease .05s both, kenBurns 26s ease-in-out 1.5s infinite;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.split-media.has-image::after { /* accent gold tab kept intact */
  content: ""; position: absolute; top: 0; left: 0;
  width: 60px; height: 3px; background: var(--accent); z-index: 3;
}
.split-media.has-image .sm-inner {
  position: relative;
  z-index: 2;
  width: 100%; height: 100%;
  padding: 56px 44px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(11,17,25,.32) 0%, rgba(11,17,25,.55) 55%, rgba(11,17,25,.88) 100%);
}
.split-media.has-image .sm-eyebrow { color: rgba(251,250,246,.72); }
.split-media.has-image .sm-headline { color: var(--paper); }
.split-media.has-image .sm-meta { border-top-color: rgba(255,255,255,.20); }
.split-media.has-image .sm-meta strong { color: var(--paper); }
.split-media.has-image .sm-meta span { color: rgba(251,250,246,.62); }

/* Full-width editorial image band */
.image-band {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 130px 0;
  overflow: hidden;
  isolation: isolate;
}
.image-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  animation: fadeInPhoto 1.2s ease .05s both, kenBurns 30s ease-in-out 1.5s infinite;
  will-change: transform;
}
.image-band::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(1200px 500px at 20% 20%, rgba(154,123,58,.10), transparent 70%),
    linear-gradient(180deg, rgba(11,17,25,.55) 0%, rgba(11,17,25,.82) 100%);
}
.image-band > * { position: relative; z-index: 2; }
.image-band .ib-eyebrow {
  font-family: var(--font-sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 12px;
}
.image-band .ib-eyebrow .rule { display: inline-block; width: 32px; height: 1px; background: var(--accent); }
.image-band h2 {
  color: var(--paper); font-size: clamp(1.9rem, 2.6vw + .5rem, 2.9rem);
  max-width: 820px; margin: 0 0 22px;
}
.image-band .ib-lead {
  color: rgba(251,250,246,.85); font-size: 1.08rem;
  max-width: 720px; line-height: 1.6; margin: 0;
}
.image-band .ib-tags {
  margin-top: 34px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; gap: 14px 36px;
  font-family: var(--font-sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(251,250,246,.78);
}
.image-band .ib-tags span { display: inline-flex; align-items: center; gap: 10px; }
.image-band .ib-tags span::before {
  content: ""; width: 6px; height: 6px; background: var(--accent);
  display: inline-block;
}

/* Stats band with subtle photographic underlay */
.stats-band.has-image {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.stats-band.has-image::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  opacity: .35;
  animation: kenBurns 34s ease-in-out infinite;
  will-change: transform;
}
.stats-band.has-image::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,17,25,.86) 0%, rgba(11,17,25,.94) 100%);
}
.stats-band.has-image > .container { position: relative; z-index: 2; }

/* Inner page hero with data-center imagery */
.page-hero.has-image {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  border-bottom: none;
  overflow: hidden;
  isolation: isolate;
}
.page-hero.has-image::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  animation: fadeInPhoto 1.2s ease both, kenBurns 32s ease-in-out 1.5s infinite;
  will-change: transform;
}
.page-hero.has-image::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(900px 400px at 15% 30%, rgba(154,123,58,.08), transparent 70%),
    linear-gradient(180deg, rgba(11,17,25,.70) 0%, rgba(11,17,25,.90) 100%);
}
.page-hero.has-image > .container { position: relative; z-index: 2; }
.page-hero.has-image h1 { color: var(--paper); }
.page-hero.has-image p { color: rgba(251,250,246,.85); }
.page-hero.has-image .breadcrumb,
.page-hero.has-image .breadcrumb a { color: rgba(251,250,246,.62); }
.page-hero.has-image .breadcrumb a:hover { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .split-media.has-image::before,
  .image-band::before,
  .stats-band.has-image::before,
  .page-hero.has-image::before { animation: none; transform: none; }
}

/* ── Motion primitives ──────────────────────────────── */
.reveal, [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity .95s cubic-bezier(.2,.7,.2,1),
    transform 1.05s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.is-in, [data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="right"]   { transform: translate3d(36px, 0, 0); }
[data-reveal="left"]    { transform: translate3d(-36px, 0, 0); }
[data-reveal="scale"]   { transform: scale(.96) translate3d(0, 24px, 0); }
[data-reveal].is-in     { transform: none; }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }
[data-delay="5"] { transition-delay: .40s; }
[data-delay="6"] { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, [data-reveal] {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* Sticky header — compress + shadow on scroll */
.site-header { transition: box-shadow .35s ease, background .35s ease, border-color .35s ease; }
.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line), 0 12px 30px rgba(14,22,33,.06);
  background: rgba(251,250,246,.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: transparent;
}
.site-header.is-scrolled .nav { height: 66px; transition: height .35s ease; }
.site-header .nav { transition: height .35s ease; }

/* Micro-interactions: pillar / industry / partner / card */
.pillar { transition: transform .5s cubic-bezier(.2,.7,.2,1), border-top-color .3s ease; }
.pillar:hover { transform: translateY(-4px); border-top-color: var(--accent); }
.pillar h3 { transition: color .25s ease; }
.pillar:hover h3 { color: var(--accent-2); }
.industry { transition: background .3s ease, transform .3s ease; }
.industry:hover { transform: translateY(-2px); }
.partner { transition: background .3s ease, transform .35s ease; }
.partner:hover { transform: translateY(-3px); }
.partner-mark { transition: border-color .25s ease, color .25s ease, letter-spacing .3s ease; }
.partner:hover .partner-mark { letter-spacing: .18em; }
.cards-grid .card { transition: background .3s ease, transform .4s cubic-bezier(.2,.7,.2,1); }
.cards-grid .card:hover { transform: translateY(-3px); }

/* Button micro-interaction */
.btn { position: relative; overflow: hidden; }
.btn-primary { transition: background .3s ease, color .3s ease, transform .25s ease, border-color .3s ease; }
.btn-primary:hover { transform: translateY(-1px); }
.btn-outline { transition: background .3s ease, color .3s ease, transform .25s ease; }
.btn-outline:hover { transform: translateY(-1px); }

/* Link-u animated underline */
.link-u { position: relative; padding-bottom: 4px; border-bottom-color: transparent !important; }
.link-u::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--ink);
  transform-origin: right;
  transform: scaleX(1);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), background .3s ease;
}
.link-u:hover::after {
  transform-origin: left;
  animation: linkUnderline .7s cubic-bezier(.2,.7,.2,1);
  background: var(--accent);
}
@keyframes linkUnderline {
  0%   { transform: scaleX(1);  transform-origin: right; }
  49%  { transform: scaleX(0);  transform-origin: right; }
  51%  { transform: scaleX(0);  transform-origin: left;  }
  100% { transform: scaleX(1);  transform-origin: left;  }
}

/* ── Vendor logo marquee ─────────────────────────────── */
.trust {
  padding: 44px 0 42px;
}
.trust-inner { display: block; }
.trust-label {
  color: var(--muted); font-size: .74rem; letter-spacing: .2em;
  text-align: center; display: block;
}
.trust-marquee {
  margin-top: 30px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.trust-track {
  display: inline-flex;
  align-items: center;
  gap: 68px;
  padding-right: 68px;
  animation: marquee 42s linear infinite;
  will-change: transform;
}
.trust-marquee:hover .trust-track { animation-play-state: paused; }
.trust-track .v-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 160px; height: 60px; padding: 4px 8px;
  flex: 0 0 auto;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.trust-track .v-logo img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  display: block;
  object-fit: contain;
}
.trust-track .v-logo:hover {
  transform: translateY(-3px) scale(1.04);
}
@keyframes marquee {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .trust-track { animation: none; }
}

/* Nudge hero: subtle character without breaking editorial feel */
.hero { position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: auto -20% -40% auto;
  width: 620px; height: 620px; z-index: 0;
  background:
    radial-gradient(closest-side, rgba(154,123,58,.10), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

/* Better stat number rhythm */
.stat .num, .stats-grid .num { font-variant-numeric: tabular-nums; }

/* ── Responsive ────────────────────────── */
@media (max-width: 1000px) {
  .hero { padding: 90px 0 80px; }
  .hero-grid, .split, .grid-2 { grid-template-columns: 1fr; gap: 60px; }
  .split.reverse .split-media { order: 0; }
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { padding-left: 0; border-left: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid .card { border-right: none; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .industry:nth-child(4n) { border-right: 1px solid var(--line); }
  .industry:nth-child(2n) { border-right: none; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); border: 1px solid var(--ink); }
  .partner { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .partner:nth-child(2n) { border-right: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 78px; left: 0; right: 0; background: var(--paper);
    padding: 22px 32px; border-bottom: 1px solid var(--line);
    gap: 14px;
  }
  .nav-toggle { display: block; }
  .nav-cta .btn:not(.nav-toggle) { display: none; }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
  .hero-stats .stat + .stat { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 20px; }
  .cta-band { padding: 48px 28px; }
  .form .row { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .quote-wrap { padding-left: 24px; }
}
@media (max-width: 560px) {
  .partners-grid { grid-template-columns: 1fr; }
  .partner { border-right: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid > div { border-right: none; }
  .industries { grid-template-columns: 1fr; }
  .industry { border-right: none; }
  .topbar { display: none; }
  .container { padding: 0 22px; }
}
