:root {
  --navy-950: #070e1a;
  --navy-900: #0b1424;
  --navy-850: #0f1a2e;
  --navy-800: #142238;
  --line: rgba(160, 180, 210, 0.14);
  --line-strong: rgba(160, 180, 210, 0.28);
  --text: #e6ebf2;
  --muted: #9aa8bc;
  --faint: #66768d;
  --accent: #c8a96a;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "IBM Plex Serif", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }

.wrap { width: min(1160px, 100% - 3rem); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 20, 36, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 600; letter-spacing: .22em; font-size: .95rem; }
.mark { width: 24px; height: 24px; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 2rem; font-size: .88rem; color: var(--muted); }
.nav a { transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav-cta { border: 1px solid var(--line-strong); padding: .45rem 1rem; color: var(--text) !important; }
.nav-cta:hover { border-color: var(--accent); }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 75% 30%, #000 10%, transparent 70%);
  opacity: .55;
}
.hero-inner { position: relative; padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 6rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
h1 {
  margin-top: 1.75rem; max-width: 17ch;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.08; letter-spacing: -0.015em;
}
.lede { margin-top: 1.75rem; max-width: 60ch; font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted); font-weight: 300; }
.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.5rem; font-size: .92rem; font-weight: 500; transition: background .2s, border-color .2s, color .2s; }
.btn-primary { background: var(--text); color: var(--navy-900); }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); }
.hero-meta {
  margin: 4.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.hero-meta div { padding: 1.25rem 1.5rem 0 0; }
.hero-meta div + div { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.hero-meta dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.hero-meta dd { margin: .35rem 0 0; font-size: .95rem; }

/* Sections */
.section { padding: clamp(4.5rem, 10vw, 7.5rem) 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--navy-850); }
.section-head { max-width: 640px; margin-bottom: 3.5rem; }
.kicker { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
h2 { margin-top: 1rem; font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.15; letter-spacing: -0.01em; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.card { padding: 2.5rem 2rem; transition: background .25s; }
.card + .card { border-left: 1px solid var(--line); }
.card:hover { background: var(--navy-850); }
.card-num { font-family: var(--mono); font-size: .75rem; color: var(--faint); }
.card h3 { margin-top: 2.5rem; font-size: 1.3rem; font-weight: 500; }
.card p { margin-top: 1rem; color: var(--muted); font-size: .95rem; }
.card ul { list-style: none; margin: 1.75rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); }
.card li { position: relative; padding-left: 1.1rem; font-size: .88rem; color: var(--text); line-height: 2; }
.card li::before { content: ""; position: absolute; left: 0; top: .95em; width: 6px; height: 1px; background: var(--accent); }

.approach { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.approach .section-head { margin-bottom: 0; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; counter-reset: p; }
.principles li { counter-increment: p; border-top: 1px solid var(--line-strong); padding-top: 1.25rem; }
.principles h4 { font-size: 1.05rem; font-weight: 500; }
.principles h4::before { content: counter(p, decimal-leading-zero) "  "; font-family: var(--mono); font-size: .75rem; color: var(--accent); white-space: pre; }
.principles p { margin-top: .5rem; color: var(--muted); font-size: .93rem; }

/* Contact */
.contact { background: var(--navy-950); text-align: center; }
.contact-inner { display: flex; flex-direction: column; align-items: center; }
.contact-copy { margin-top: 1.25rem; color: var(--muted); max-width: 48ch; }
.email {
  margin-top: 2.75rem; display: inline-flex; align-items: baseline; gap: .6rem;
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 4.5vw, 3rem);
  border-bottom: 1px solid var(--line-strong); padding-bottom: .4rem;
  transition: border-color .2s, color .2s;
}
.email span { font-size: .55em; color: var(--accent); }
.email:hover { color: #fff; border-color: var(--accent); }
.contact-note { margin-top: 1.5rem; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; color: var(--faint); }

/* Footer */
.site-footer { background: var(--navy-950); border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; padding: 1.75rem 0; font-size: .8rem; color: var(--faint); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .card + .card { border-left: 0; border-top: 1px solid var(--line); }
  .approach { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 640px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta div, .hero-meta div + div { padding: 1rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .principles { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
