:root {
  --navy: #13243A;
  --accent: #1E4E8C;
  --ink: #111827;
  --body: #374151;
  --muted: #4B5563;
  --subtle: #6B7280;
  --line: #E5E7EB;
  --line-soft: #EEF0F3;
  --bg: #F5F6F8;
  --chip: #F3F4F6;
  --tint: #E8EEF6;
  --tint-ink: #1E3A5F;
  --hero-text: #D7DEE8;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid #93C5FD; outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero-scene { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 230px; }
.hero-inner { position: relative; padding-top: 24px; padding-bottom: 140px; display: flex; flex-direction: column; gap: 40px; }
.hero-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px; }

.dock { display: flex; flex-wrap: wrap; gap: 14px; }
.dock a { display: flex; flex-direction: column; align-items: center; gap: 7px; color: #E2E8F0; font-size: 13px; font-weight: 500; }
.dock a:hover { text-decoration: none; color: #fff; }
.tile { width: 54px; height: 54px; border-radius: 15px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; transition: background .15s; }
.dock a:hover .tile { background: rgba(255,255,255,0.18); }
.tile svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.status { display: flex; align-items: center; gap: 14px; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 10px 18px 10px 10px; }
.status img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; object-position: 50% 30%; }
.status-name, .status-time { display: flex; flex-direction: column; }
.status-name strong { font-size: 15px; }
.status-name span, .status-time span { font-size: 12px; color: var(--muted); }
.status-time { border-left: 1px solid var(--line); padding-left: 14px; align-items: flex-end; }
.status-time strong { font-size: 22px; font-weight: 700; line-height: 1.2; }

.hero-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.hero-copy { flex: 999 1 520px; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 18px; }
.badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #E2E8F0; border: 1px solid rgba(255,255,255,0.25); padding: 6px 12px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 999px; background: #93C5FD; }
.hero h1 { font-size: 56px; line-height: 1.04; letter-spacing: -0.02em; }
.lede { font-size: 20px; line-height: 1.55; color: var(--hero-text); }
.portrait { flex: 0 1 240px; width: 240px; height: 300px; object-fit: cover; object-position: 50% 25%; border-radius: 22px; border: 4px solid rgba(255,255,255,0.12); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.actions-center { justify-content: center; padding-top: 8px; }
.btn { display: inline-flex; align-items: center; font-weight: 600; font-size: 15px; padding: 13px 20px; border-radius: 999px; min-height: 44px; }
.btn:hover { text-decoration: none; }
.btn-light { background: #fff; color: var(--navy); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-outline { color: var(--navy); border: 1px solid #CBD5E1; background: #fff; }

/* Results */
.results { position: relative; margin-top: -56px; }
.results-row { display: flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.results-row > div { flex: 1 1 220px; padding: 24px 26px; border-right: 1px solid var(--line-soft); }
.results-row > div:last-child { border-right: 0; }
.results-row p:not(.num) { font-size: 14px; color: var(--muted); }
.num { font-size: 32px; font-weight: 700; color: var(--accent); line-height: 1.2; white-space: nowrap; }

/* Sections */
.section { padding-top: 88px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; }
.section-tight { padding-top: 0; gap: 24px; }
.section-head { display: flex; flex-direction: column; gap: 10px; }
.section-head h2, .about-copy h2 { font-size: 36px; }
.section-head p { font-size: 16px; color: var(--muted); }
.rule { display: block; width: 36px; height: 3px; border-radius: 3px; background: var(--accent); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--subtle); }

.featured { display: flex; flex-wrap: wrap; gap: 32px; background: var(--navy); color: #fff; border-radius: 20px; padding: 36px; }
.featured-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.featured-copy .eyebrow { color: #9DB8DE; }
.featured-copy h3 { font-size: 28px; line-height: 1.2; }
.featured-copy p:not(.eyebrow) { font-size: 16px; line-height: 1.6; color: var(--hero-text); }
.featured-copy strong { color: #fff; }
.featured-stats { flex: 0 1 320px; min-width: 260px; display: flex; gap: 12px; align-items: center; }
.featured-stats > div { flex: 1 1 0; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: 14px; padding: 18px; }
.featured-stats .num { color: #fff; font-size: 30px; }
.featured-stats p:not(.num) { font-size: 13px; color: var(--hero-text); }

.cards { display: flex; flex-wrap: wrap; gap: 18px; }
.card { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.card h3 { font-size: 21px; line-height: 1.25; }
.card p { font-size: 15px; line-height: 1.6; color: var(--body); }
.card strong { color: var(--ink); }
.card .muted { color: var(--muted); flex-grow: 1; }
.result { align-self: flex-start; font-size: 13px !important; font-weight: 600; color: var(--tint-ink) !important; background: var(--tint); padding: 6px 10px; border-radius: 8px; }

.project { flex: none; gap: 20px; padding: 30px; }
.project-copy { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.project h3 { font-size: 24px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.steps li { counter-increment: step; flex: 1 1 200px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--bg); display: flex; flex-direction: column; gap: 2px; }
.steps strong { font-size: 14px; }
.steps strong::before { content: counter(step) ". "; }
.steps span { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* About */
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 56px; }
.about-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about-copy p { font-size: 17px; line-height: 1.7; color: var(--body); }
.chips { list-style: none; margin: 0; padding: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; color: var(--body); border: 1px solid var(--line); background: var(--chip); padding: 6px 11px; border-radius: 999px; }
.experience { flex: 1 1 340px; }
.experience h3 { font-size: 19px; margin-bottom: 8px; }
.experience dl { margin: 0; }
.experience dl > div { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.experience dt { font-weight: 600; font-size: 15px; }
.experience dd { margin: 2px 0 0; font-size: 14px; color: var(--subtle); }

/* Contact and footer */
.contact { padding-top: 72px; padding-bottom: 36px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.contact h2 { font-size: 40px; line-height: 1.1; }
.contact > p { font-size: 17px; color: var(--muted); max-width: 640px; }
.fineprint { margin-top: 20px; font-size: 14px; color: var(--subtle); }
.footer { padding-top: 24px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--subtle); border-top: 1px solid var(--line); }
.footer a { color: var(--subtle); }

/* Comfortable tap targets for inline links */
.fineprint a, .footer a { display: inline-block; padding: 12px 0; }

/* Tablets and landscape phones: keep the photo beside the text */
@media (max-width: 980px) {
  .hero-copy { flex-basis: 380px; }
  .portrait { flex: 0 0 170px; width: 170px; height: 212px; }
}

@media (min-width: 761px) and (max-width: 980px) {
  .results-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .results-row > div:nth-child(2n) { border-right: 0; }
  .results-row > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
}

/* Small screens */
@media (max-width: 760px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero-inner { gap: 28px; padding-bottom: 110px; }
  .hero-scene { height: 160px; }
  .hero h1 { font-size: 40px; }
  .lede { font-size: 17px; }
  .portrait { display: none; }
  .status { width: 100%; }
  .status-time { margin-left: auto; }
  .results-row > div { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .results-row > div:last-child { border-bottom: 0; }
  .num { font-size: 30px; }
  .section { padding-top: 64px; padding-bottom: 56px; }
  .section-head h2, .about-copy h2 { font-size: 30px; }
  .featured, .project { padding: 24px; }
  .card { flex-basis: 100%; padding: 22px; }
  .featured-stats { flex: 1 1 100%; min-width: 0; }
  .featured-stats > div { min-width: 0; padding: 14px; }
  .featured-stats .num { font-size: 26px; }
  .contact h2 { font-size: 30px; }
}

/* Narrow phones */
@media (max-width: 400px) {
  .status { gap: 10px; padding: 8px 14px 8px 8px; }
  .status-name strong { font-size: 14px; white-space: nowrap; }
  .status-time { padding-left: 10px; }
  .status-time strong { font-size: 18px; white-space: nowrap; }
  .status-time span { display: none; }
  .hero h1 { font-size: 36px; }
}
