/* Aevitas360 — "360 Orbit" design system */
:root {
  --accent: #0a7f9e;
  --accent-dark: #086a84;
  --accent-tint: #e6f4f7;
  --accent-pale: #cdeef6;
  --slate: #545a62;
  --slate-raised: #646a72;
  --ink: #1d2329;
  --muted: #545a62;
  --line: #dfe3e6;
  --bg: #ffffff;
  --bg-soft: #f6f8f9;
  --radius: 10px;
  --radius-lg: 20px;
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; }
p { margin: 0; }
:focus-visible { outline: 3px solid #f0b43f; outline-offset: 2px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
}
.h2 { font-size: clamp(32px, 3.8vw, 50px); font-weight: 800; line-height: 1.08; }
.lead { font-size: 18px; line-height: 1.65; color: var(--muted); }
.head-row {
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: space-between; align-items: end;
}
.head-row .h2 { max-width: 660px; }
.head-row .lead { max-width: 440px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 28px; border-radius: var(--radius);
  font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-white { background: #fff; color: var(--accent); }
.btn-white:hover { background: var(--accent-tint); color: var(--accent-dark); }
.btn-ghost { border: 2px solid rgba(255,255,255,.6); color: #fff; padding: 12px 26px; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header / nav */
.site-header { position: relative; z-index: 50; color: #fff; }
.header-bar {
  max-width: var(--max); margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo-chip { background: #fff; padding: 8px 14px; border-radius: var(--radius); display: inline-flex; }
.logo-chip img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.nav > a, .nav-item > a { color: #fff; padding: 10px 12px; border-radius: 8px; display: inline-block; }
.nav > a:hover, .nav-item > a:hover { color: #fff; background: rgba(255,255,255,.12); }
.nav .btn-white { margin-left: 8px; padding: 12px 22px; }
.nav-item { position: relative; }
.nav-item > a::after { content: " ▾"; font-size: 11px; opacity: .8; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 250px; padding: 8px;
  background: #fff; border-radius: 14px; box-shadow: 0 18px 50px -12px rgba(16,24,32,.35);
  display: none; flex-direction: column;
}
.dropdown a { color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.dropdown a:hover { background: var(--accent-tint); color: var(--accent-dark); }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: flex; }
.nav-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,.5); align-items: center; justify-content: center; cursor: pointer;
}
.mobile-nav { display: none; }

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-toggle-input:focus-visible + .header-bar .nav-toggle { outline: 3px solid #f0b43f; }
  .nav-toggle-input:checked ~ .mobile-nav { display: block; }
  .mobile-nav { background: #fff; color: var(--ink); margin: 0 16px 16px; border-radius: 16px; padding: 12px 20px 20px; box-shadow: 0 18px 50px -12px rgba(16,24,32,.35); }
  .mobile-nav p { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 14px 0 4px; }
  .mobile-nav a { display: block; color: var(--ink); padding: 10px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { display: flex; margin-top: 16px; color: #fff; border: 0; }
}

/* Hero */
.hero { background: var(--accent); color: #fff; overflow: hidden; padding-bottom: 96px; }
.hero-grid {
  padding-top: 64px; display: grid; gap: 48px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
}
.hero .eyebrow { color: var(--accent-pale); }
.hero h1 { margin-top: 20px; font-size: clamp(44px, 6.4vw, 84px); line-height: 1; letter-spacing: -0.035em; font-weight: 800; }
.hero .hero-lead { margin-top: 26px; font-size: 19px; line-height: 1.6; color: #e3f5fa; max-width: 560px; }
.hero .btn-row { margin-top: 38px; }
.hero-sub h1 { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.04; }
.breadcrumb { font-size: 14px; font-weight: 600; color: var(--accent-pale); }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--accent-pale); }

/* Orbit */
.orbit { position: relative; width: min(100%, 480px); aspect-ratio: 1 / 1; margin: 24px auto; }
.orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgba(255,255,255,.45); }
.orbit-core {
  position: absolute; inset: 22%; border-radius: 50%; background: #fff; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.orbit-core strong { font-size: clamp(40px, 5vw, 64px); font-weight: 800; letter-spacing: -0.04em; color: var(--slate); line-height: 1; }
.orbit-core span { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; }
.orbit-node {
  position: absolute; background: var(--slate); color: #fff; padding: 12px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 700; white-space: nowrap; transition: background .15s;
}
.orbit-node:hover { background: var(--ink); color: #fff; }
.orbit-node.n { top: 0; left: 50%; transform: translate(-50%, -50%); }
.orbit-node.e { top: 50%; right: 0; transform: translate(35%, -50%); }
.orbit-node.s { bottom: 0; left: 50%; transform: translate(-50%, 50%); }
.orbit-node.w { top: 50%; left: 0; transform: translate(-35%, -50%); }
@media (max-width: 560px) {
  .orbit { width: 82%; }
  .orbit-node { font-size: 12px; padding: 9px 12px; }
  .orbit-node.e { transform: translate(15%, -50%); }
  .orbit-node.w { transform: translate(-15%, -50%); }
}

/* Hero side panel (sub pages) */
.hero-panel { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-lg); padding: 32px; }
.hero-panel h2 { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-pale); }
.hero-panel ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.hero-panel li { display: flex; gap: 12px; font-size: 17px; font-weight: 600; line-height: 1.45; }
.hero-panel li::before { content: ""; flex: 0 0 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: #fff; }

/* Discipline grid */
.disc-grid {
  margin-top: 52px; display: grid; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}
.disc { padding: 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 -1px -1px 0; color: var(--ink); display: block; transition: background .15s; }
a.disc:hover { background: var(--bg-soft); color: var(--ink); }
.disc .num { font-size: 44px; font-weight: 800; color: #b8dfe9; line-height: 1.1; }
.disc h3 { margin-top: 10px; font-size: 21px; font-weight: 800; }
.disc p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.disc .more { margin-top: 18px; display: inline-block; font-size: 15px; font-weight: 700; color: var(--accent); }

/* Slate band + tiles */
.band { background: var(--slate); color: #fff; }
.band .eyebrow { color: var(--accent-pale); }
.band .lead { color: #e1e4e7; }
.tile-grid { margin-top: 48px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.tile { background: var(--slate-raised); color: #fff; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: background .15s, transform .15s; }
.tile:hover { background: #70767e; color: #fff; transform: translateY(-2px); }
.tile strong { font-size: 20px; font-weight: 800; }
.tile span { font-size: 15px; color: #e1e4e7; line-height: 1.5; }
.tile.accent { background: var(--accent); justify-content: space-between; }
.tile.accent:hover { background: var(--accent-dark); }
.tile.accent span { color: #fff; }

/* Cards */
.card-grid { margin-top: 48px; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 30px; background: #fff; }
.card h3 { font-size: 19px; font-weight: 800; }
.card p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.card .tag { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; display: block; }
a.card { color: var(--ink); transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--ink); }
.card .more { margin-top: 16px; display: inline-block; font-size: 15px; font-weight: 700; color: var(--accent); }

/* Steps */
.steps { margin-top: 52px; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.step { border-top: 3px solid var(--accent); padding-top: 18px; }
.step .num { font-size: 14px; font-weight: 800; color: var(--accent); }
.step h3 { margin-top: 8px; font-size: 20px; font-weight: 800; }
.step p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Challenge list */
.check-list { margin-top: 40px; list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.check-list li { display: flex; gap: 16px; padding: 24px; border-radius: 16px; background: var(--bg-soft); }
.check-list svg { flex: 0 0 26px; margin-top: 2px; }
.check-list strong { display: block; font-size: 18px; font-weight: 800; }
.check-list span { display: block; margin-top: 6px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Chips */
.chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--line); color: var(--ink); padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: border-color .15s, color .15s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* Partners */
.partners { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.partner-row { margin-top: 32px; display: grid; gap: 32px 40px; align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.partner-row div { height: 56px; display: flex; align-items: center; justify-content: center; }
.partner-row img { max-height: 48px; width: auto; filter: grayscale(1); opacity: .6; transition: opacity .2s, filter .2s; }
.partner-row img:hover { filter: none; opacity: 1; }

/* CTA */
.cta { text-align: center; }
.cta .h2 { font-size: clamp(36px, 4.6vw, 62px); letter-spacing: -0.03em; max-width: 900px; margin: 0 auto; }
.cta .lead { margin: 20px auto 0; max-width: 620px; }
.cta .btn-row { margin-top: 36px; justify-content: center; }

/* Prose (about) */
.split { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); align-items: start; }
.prose p { font-size: 18px; line-height: 1.7; color: var(--muted); }
.prose p + p { margin-top: 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: #fff; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--muted); max-width: 280px; }
.footer-col h2 { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer-col ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--ink); font-size: 15px; font-weight: 500; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 14px; color: var(--muted); }
.nav > a.btn-white, .nav > a.btn-white:hover { color: var(--accent); background: #fff; }
.nav > a.btn-white:hover { background: var(--accent-tint); color: var(--accent-dark); }
.card-grid.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
