/* RoofPH — corporate landing. Light, institutional theme. */

@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-latin-wght-italic.woff2') format('woff2');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fbfaf7;
  --stone: #f3efe8;
  --sand: #e7e1d7;
  --line: #e0d9ce;
  --ink: #0b2e44;
  --ink-2: #123f5c;
  --text: #1f2b33;
  --muted: #55626b;
  --blue: #1275a5;
  --blue-ink: #0e6390;
  --orange: #e94e1a;
  --orange-ink: #b53b0f;
  --sage: #2c5a52;
  --serif: 'Newsreader', 'Iowan Old Style', Palatino, Georgia, serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 clamp(16px, 0.25vw + 15px, 17.5px) / 1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: var(--blue-ink);
  text-underline-offset: 3px;
}
abbr {
  text-decoration: none;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.i {
  width: 22px;
  height: 22px;
  flex: none;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 600 15.5px/1.2 var(--sans);
  letter-spacing: 0.005em;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn .i {
  width: 18px;
  height: 18px;
}
.btn:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(11, 46, 68, 0.28);
}
.btn-ghost:hover {
  background: rgba(11, 46, 68, 0.05);
  border-color: var(--ink);
}
.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-light:hover {
  background: var(--stone);
}
.btn-small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14.5px;
}

/* ── Header ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}
.bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}
.brand {
  display: block;
  margin-right: auto;
  border-radius: 6px;
}
.logo {
  height: 40px;
  width: auto;
}
.nav ul {
  display: flex;
  gap: 4px;
}
.nav ul a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.nav ul a:hover,
.nav ul a[aria-current='true'] {
  background: rgba(11, 46, 68, 0.06);
  color: var(--ink);
}
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-extra {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
}
.lang:hover {
  background: rgba(11, 46, 68, 0.06);
}
.lang-bar,
.menu-btn {
  display: none;
}
.menu-btn {
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn .i-close {
  display: none;
}
.menu-btn[aria-expanded='true'] .i-open {
  display: none;
}
.menu-btn[aria-expanded='true'] .i-close {
  display: block;
}

@media (max-width: 1060px) {
  .bar {
    height: 68px;
    gap: 8px;
  }
  .logo {
    height: 34px;
  }
  .lang-bar,
  .menu-btn {
    display: inline-flex;
  }
  .nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(11, 46, 68, 0.25);
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  }
  .nav.open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav ul {
    flex-direction: column;
    gap: 0;
  }
  .nav ul a {
    padding: 14px 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
    font-family: var(--serif);
  }
  .nav ul a:hover {
    background: none;
  }
  .nav-extra {
    flex-direction: column;
    align-items: stretch;
    padding-top: 18px;
  }
  .nav-extra .lang {
    display: none;
  }
  .nav-extra .btn {
    justify-content: center;
    min-height: 48px;
  }
}

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 104px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.eyebrow,
.kicker {
  font: 600 12.5px/1.4 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-ink);
}
.hero h1 {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.hero h1 em {
  display: block;
  font-style: italic;
  color: var(--blue-ink);
}
.hero-lead {
  margin-top: 24px;
  max-width: 34em;
  font-size: clamp(17px, 0.5vw + 15px, 20px);
  line-height: 1.6;
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.actions-center {
  justify-content: center;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted);
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(233, 78, 26, 0.15);
}
/* Discreet pointer to the AAL-Nexus section: present, never the protagonist. */
.hero-nexus {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 6px 14px 6px 6px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(#fff, #fff) padding-box, var(--nx-grad) border-box;
  font-size: 13.5px;
  line-height: 1.3;
  color: var(--nx-navy);
  text-decoration: none;
  box-shadow: 0 6px 18px -12px rgba(0, 79, 143, 0.5);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.hero-nexus img {
  flex: none;
  width: 20px;
  height: 20px;
}
.hn-brand {
  flex: none;
  padding-right: 10px;
  border-right: 1px solid #d3dde7;
  font-weight: 600;
  color: var(--nx-blue);
}
.hero-nexus .i {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--nx-blue);
  transition: transform 0.2s ease;
}
.hero-nexus:hover {
  box-shadow: 0 10px 24px -12px rgba(0, 79, 143, 0.6);
}
.hero-nexus:hover .i {
  transform: translateX(3px);
}
@media (max-width: 600px) {
  .hero-nexus {
    gap: 8px;
    padding-right: 12px;
    font-size: 12.5px;
  }
  .hn-brand {
    padding-right: 8px;
  }
}
.hero-visual {
  position: relative;
  border-radius: 28px 28px 200px 28px;
  overflow: hidden;
  aspect-ratio: 1 / 1.05;
  box-shadow: 0 40px 80px -48px rgba(11, 46, 68, 0.45);
}
.hero-art {
  width: 100%;
  height: 100%;
}

/* ── Sections ────────────────────────────────────────────────────────── */
.sec {
  padding: clamp(72px, 10vw, 136px) 0;
}
.sec-head {
  max-width: 760px;
}
.sec-head h2,
.final h2 {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.sec-head .lead,
.final .lead {
  margin-top: 20px;
  font-size: clamp(17px, 0.35vw + 15.5px, 19px);
  color: var(--muted);
  max-width: 40em;
}
.sec-head-center {
  margin: 0 auto;
  text-align: center;
}
.sec-head-center .lead {
  margin-left: auto;
  margin-right: auto;
}
h3 {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.2;
}
.num {
  font: 500 13px/1 var(--sans);
  letter-spacing: 0.08em;
  color: var(--orange-ink);
  font-variant-numeric: tabular-nums;
}

/* Reality */
.reality {
  background: var(--stone);
}
.duties {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.duties li {
  padding: 28px 24px 8px 0;
}
.duties li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.duties .i {
  width: 28px;
  height: 28px;
  color: var(--blue);
}
.duties h3 {
  margin-top: 18px;
}
.duties p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15.5px;
}
.scatter {
  margin-top: 64px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--paper);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: 32px;
  align-items: start;
}
.scatter h3 {
  font-size: 26px;
}
.scatter dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 40px;
}
.scatter dt {
  font-weight: 600;
  color: var(--ink);
}
.scatter dd {
  color: var(--muted);
  font-size: 15.5px;
}

/* Clarity */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.points {
  margin-top: 40px;
}
.points li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.points .num {
  padding-top: 6px;
}
.points h3 {
  font-size: 21px;
}
.points p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15.5px;
}
.tree {
  margin: 0;
  padding: clamp(24px, 4vw, 44px);
  background: var(--stone);
  border-radius: 24px;
  display: grid;
  gap: 18px;
  position: relative;
}
.tree figcaption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
}
.node .i {
  color: var(--blue);
}
.node-community {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.node-community .i {
  color: #8cc8e8;
}
.branch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
}
.branch::before {
  content: '';
  position: absolute;
  left: 25%;
  right: 25%;
  top: -18px;
  height: 18px;
  border: 1.5px solid #b9c8d2;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}
.node-building {
  flex-wrap: wrap;
}
.node-building > span {
  flex: 1;
}
.units {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
}
.units span {
  height: 22px;
  border-radius: 5px;
  background: #e5edf2;
  transition: background-color 0.3s;
}
.units span.on {
  background: var(--orange);
}
.node-people {
  flex-direction: column;
  align-items: stretch;
  border-style: dashed;
  border-color: #b9c8d2;
}
.node-people::before {
  content: '';
  position: absolute;
  left: 25%;
  top: -19px;
  height: 18px;
  border-left: 1.5px dashed var(--orange);
}
.np-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.node-people ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.node-people li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--stone);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
}

/* Roles */
.roles {
  background: var(--ink);
  color: #d9e4ea;
}
.roles h2,
.roles h3 {
  color: #fff;
}
.roles .kicker {
  color: #f5a07f;
}
.roles .lead {
  color: #b9cad5;
}
.role-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
}
.role-list li {
  padding: 28px 28px 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.role-list li + li {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.role-list .num {
  color: #f5a07f;
}
.role-list h3 {
  margin-top: 14px;
}
.role-list p {
  margin-top: 10px;
  font-size: 15.5px;
}
.role-list .tag {
  margin-top: 16px;
  font-size: 13px;
  color: #8cc8e8;
  letter-spacing: 0.02em;
}

/* Capabilities */
.caps-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 56px;
  align-items: start;
}
.caps-label {
  font-family: var(--sans);
  font-size: 15px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge .i {
  width: 16px;
  height: 16px;
}
.badge-built {
  background: rgba(18, 117, 165, 0.1);
  color: var(--blue-ink);
}
.badge-planned {
  background: rgba(181, 59, 15, 0.08);
  color: var(--orange-ink);
}
.caps-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}
.caps-built ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  margin-top: 20px;
}
.caps-built li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.caps-built .i {
  color: var(--blue);
  margin-top: 2px;
}
.caps-built h4 {
  font: 600 16px/1.35 var(--sans);
}
.caps-built p {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}
.caps-planned {
  padding: clamp(24px, 3vw, 36px);
  background: var(--stone);
  border-radius: var(--radius);
}
.caps-planned ul {
  margin-top: 20px;
}
.caps-planned li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px dashed #cfc6b8;
  font-weight: 500;
  color: var(--ink);
}
.caps-planned li::before {
  content: '';
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--orange-ink);
  border-radius: 50%;
  flex: none;
}
.caps-finance {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #cfc6b8;
  font-size: 14px;
  color: var(--muted);
}

/* Trust */
.trust {
  background: var(--stone);
}
.split-trust {
  align-items: start;
}
.principles div {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.principles div:last-child {
  border-bottom: 1px solid var(--line);
}
.principles dt {
  font: 500 24px/1.2 var(--serif);
  color: var(--ink);
}
.principles dd {
  margin-top: 8px;
  color: var(--muted);
}
.fineprint {
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--muted);
}

/* Community */
.community {
  background: var(--ink);
  color: #d9e4ea;
  padding-bottom: 0;
  overflow: hidden;
}
.community h2,
.community h3 {
  color: #fff;
}
.community .kicker {
  color: #f5a07f;
}
.community .lead {
  color: #b9cad5;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 980px;
  margin: 56px auto 0;
  text-align: center;
}
.pillars li {
  padding: 8px 28px;
}
.pillars li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.pillars h3 {
  font-size: 28px;
  font-style: italic;
}
.pillars p {
  margin-top: 8px;
  font-size: 15.5px;
}
.panorama {
  width: 100%;
  height: clamp(140px, 18vw, 260px);
  margin-top: clamp(48px, 7vw, 88px);
}

/* AAL-Nexus — guest section. Official Nexus tokens (web-nexus/src/assets/css/site.css) used as accents only. */
.nexus,
.hero-nexus {
  --nx-navy: #071d49;
  --nx-blue: #004f8f;
  --nx-teal: #00b8b0;
  --nx-grad: linear-gradient(100deg, #004f8f 0%, #0f6fb4 45%, #00807a 100%);
  position: relative;
  background: #f4f7fa;
}
.nexus::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--nx-grad);
}
.nexus .kicker {
  color: var(--nx-blue);
}
.nexus-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  margin-bottom: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid #dde5ec;
}
.nexus-logo {
  width: clamp(180px, 20vw, 240px);
  height: auto;
}
.nexus-platform {
  margin-top: 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #44506a;
}
.badge-nexus {
  background: #e6f1fb;
  color: #0b5c99;
}
.nexus-split {
  align-items: center;
}
.nexus-quote {
  margin-top: 28px;
  padding-left: 18px;
  border-left: 2px solid var(--nx-teal);
  font: italic 400 clamp(20px, 1.4vw + 12px, 24px) / 1.35 var(--serif);
  color: var(--nx-navy);
}
.flow {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: clamp(22px, 3vw, 36px);
  background: #fff;
  border: 1px solid #dde5ec;
  border-radius: 24px;
}
.flow figcaption {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.flow-h {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--nx-navy);
}
.flow-h .i {
  color: var(--nx-blue);
}
.flow-people ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.flow-people li {
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef3f8;
  font-size: 13.5px;
  font-weight: 500;
  color: #233047;
}
.flow-link {
  justify-self: center;
  width: 2px;
  height: 30px;
  margin: 10px 0;
  background: var(--nx-grad);
  border-radius: 2px;
}
.flow-link-planned {
  background: repeating-linear-gradient(to bottom, var(--nx-teal) 0 4px, transparent 4px 9px);
}
.flow-node {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 14px;
}
.flow-node img {
  justify-self: center;
  width: 40px;
  height: auto;
}
.flow-node p {
  font-size: 14.5px;
  line-height: 1.45;
}
.flow-name {
  font-weight: 700;
  font-size: 15.5px !important;
}
.flow-nexus {
  background: #f4f7fa;
  border: 1px solid #cfdcea;
  color: #233047;
}
.flow-nexus .flow-name {
  color: var(--nx-navy);
}
.flow-roofph {
  background: var(--ink);
  color: #d9e4ea;
}
.flow-roofph img {
  width: 30px;
}
.flow-roofph .flow-name {
  color: #fff;
}
.nexus-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(48px, 6vw, 72px);
}
.nexus-points li {
  padding: 24px 28px 4px 0;
  border-top: 1px solid #dde5ec;
}
.nexus-points li + li {
  padding-left: 28px;
  border-left: 1px solid #dde5ec;
}
.nexus-points h3 {
  font-size: 21px;
}
.nexus-points p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}
.nexus-foot {
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid #dde5ec;
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 16px 32px;
  align-items: start;
}
.nexus-micro {
  font-weight: 600;
  color: var(--nx-navy);
}
.nexus-note {
  font-size: 13.5px;
  color: var(--muted);
}
.nexus-signoff {
  font: italic 500 17px/1.3 var(--serif);
  color: var(--nx-blue);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .nexus-points,
  .nexus-foot {
    grid-template-columns: 1fr;
  }
  .nexus-points li,
  .nexus-points li + li {
    padding: 20px 0 14px;
    border-left: 0;
  }
  .nexus-signoff {
    white-space: normal;
  }
}

/* Ecosystem */
.eco .split {
  align-items: start;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow .i {
  width: 16px;
  height: 16px;
}
.family li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.family h3 {
  font-size: 22px;
}
.family p {
  grid-column: 1;
  color: var(--muted);
  font-size: 15px;
}
.family .tag {
  grid-row: 1;
  grid-column: 2;
  align-self: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.family li.current h3 {
  color: var(--orange-ink);
}
.family h3 a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
.family h3 a .i {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.family h3 a:hover {
  color: var(--blue-ink);
  text-decoration: underline;
}
.nexus-foot .link-arrow {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0;
  color: var(--nx-blue);
}
.aal-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--stone);
  border-radius: var(--radius);
}
.aal-card img {
  width: 64px;
  height: 64px;
}
.aal-card p {
  font-weight: 600;
  color: #463120;
}

/* Final CTA */
.final {
  background: linear-gradient(160deg, var(--ink) 0%, #0e3a56 60%, #12476a 100%);
  color: #d9e4ea;
  padding: clamp(80px, 11vw, 140px) 0;
  text-align: center;
}
.final-inner {
  max-width: 820px;
}
.final-mark {
  margin: 0 auto 28px;
  width: 52px;
  height: auto;
}
.final h2 {
  color: #fff;
  font-size: clamp(38px, 4.6vw, 64px);
}
.final .lead {
  margin-left: auto;
  margin-right: auto;
  color: #b9cad5;
}
.final .actions {
  margin-top: 40px;
}
.final-mail {
  margin-top: 22px;
  font-size: 14.5px;
  color: #b9cad5;
}
.final-mail a {
  color: #fff;
}

/* Footer */
.site-footer {
  background: var(--stone);
  padding: 72px 0 28px;
  font-size: 15px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.logo-foot {
  height: 36px;
}
.foot-brand p {
  margin-top: 16px;
  color: var(--muted);
  max-width: 30em;
}
.foot-brand .foot-note {
  font-size: 13.5px;
}
.foot-h {
  font: 600 12.5px/1.4 var(--sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.site-footer ul li + li {
  margin-top: 8px;
}
.site-footer ul a {
  color: var(--text);
  text-decoration: none;
}
.site-footer ul a:hover {
  color: var(--blue-ink);
  text-decoration: underline;
}
.foot-aal {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #463120;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.3;
}
.foot-aal small {
  font-weight: 400;
  color: #6b5a4b;
}
.foot-aal img {
  width: 64px;
  height: 64px;
}
.foot-aal:hover span {
  text-decoration: underline;
}
.foot-legal {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

/* 404 */
.nf-inner {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  text-align: center;
}
.nf h1 {
  font: 400 44px/1.1 var(--serif);
  margin-top: 24px;
}

/* ── Motion ──────────────────────────────────────────────────────────── */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .duties,
  .role-list {
    grid-template-columns: 1fr 1fr;
  }
  .duties li:nth-child(3),
  .role-list li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .caps-grid {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
  }
  .hero-visual {
    aspect-ratio: 0.8 / 1;
    border-radius: 22px 22px 110px 22px;
  }
  .scatter {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    aspect-ratio: 1 / 0.92;
    max-width: 560px;
  }
}
@media (max-width: 600px) {
  .duties,
  .role-list,
  .caps-built ul,
  .scatter dl,
  .pillars,
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .duties li,
  .duties li + li,
  .role-list li,
  .role-list li + li {
    padding: 22px 0 18px;
    border-left: 0;
  }
  .duties li + li {
    border-top: 1px solid var(--line);
  }
  .pillars li + li {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
  .pillars li {
    padding: 22px 0;
  }
  .actions .btn {
    width: 100%;
    justify-content: center;
  }
  .branch {
    grid-template-columns: 1fr;
  }
  .branch::before {
    display: none;
  }
}
