@font-face {
  font-family: "Geist";
  src: url("/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* One dark theme for the whole site. */
:root {
  color-scheme: dark;
  --bg: #0b0c0f;
  --bg-2: #121419;
  --ink: #eceae6;
  --ink-2: #b9bcc4;
  --muted: #8a8f9a;
  --line: rgba(236, 234, 230, 0.12);
  --accent: #c9d3e6;
  --radius: 4px;
  --font: "Geist", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.05; font-weight: 500; }
p { margin: 0; }
ul, dl, dd { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 760px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 12, 15, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.wordmark { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.1rem; letter-spacing: 0.32em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 32px; }
.nav-link { color: var(--ink-2); text-decoration: none; font-size: 0.92rem; }
.nav-link:hover { color: var(--ink); }
.nav-cta { color: var(--ink); text-decoration: none; font-size: 0.92rem; padding: 8px 18px; border: 1px solid rgba(236, 234, 230, 0.4); border-radius: 999px; }
.nav-cta:hover { background: var(--ink); color: var(--bg); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; white-space: nowrap;
  background: var(--ink); color: var(--bg); text-decoration: none;
  font-weight: 500; font-size: 0.98rem; padding: 15px 30px; border-radius: 999px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s;
}
.button:hover { background: #ffffff; }
.button:active, .nav-cta:active { transform: translateY(1px) scale(0.98); }

/* Hero */
.hero { position: relative; min-height: calc(100dvh - 68px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.35) saturate(0.9); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11, 12, 15, 0.92) 0%, rgba(11, 12, 15, 0.35) 50%, rgba(11, 12, 15, 0.05) 100%);
}
.hero-copy { position: relative; z-index: 1; width: 100%; padding-bottom: 96px; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); max-width: 13ch; }
.lead { font-size: 1.25rem; color: var(--ink-2); max-width: 30em; margin: 28px 0 40px; }

/* About */
.about { padding: 140px 0; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.about-statement { font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.18; letter-spacing: -0.025em; max-width: 24ch; font-weight: 400; }
.about-body { font-size: 1.15rem; color: var(--muted); max-width: 36em; margin-left: auto; }

/* Sectors */
.sectors { padding: 0 0 140px; }
.sectors-title { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 18ch; margin-bottom: 56px; }
.bento { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 340px 340px; gap: 16px; }
.tile { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); filter: saturate(0.75); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 9, 12, 0.94) 0%, rgba(8, 9, 12, 0.6) 40%, rgba(8, 9, 12, 0.05) 80%); }
.tile figcaption { position: absolute; left: 32px; right: 32px; bottom: 28px; z-index: 1; }
.tile h3 { font-size: 1.6rem; }
.tile p { color: var(--ink-2); margin-top: 8px; max-width: 28em; }
.tile-a { grid-row: 1 / 3; }
.tile-c img { filter: grayscale(1) contrast(1.1); }
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } .tile:hover img { transform: none; } }

/* Vision */
.vision { position: relative; padding: 160px 0; overflow: hidden; }
.vision-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vision::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11, 12, 15, 0.85), rgba(11, 12, 15, 0.45) 50%, rgba(11, 12, 15, 0.9)); }
.vision-inner { position: relative; z-index: 1; }
.vision h2 { font-size: clamp(2.8rem, 6vw, 5rem); }
.vision-lead { font-size: 1.3rem; color: var(--ink-2); margin-top: 18px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 96px; }
.pillars div { border-top: 1px solid rgba(236, 234, 230, 0.35); padding-top: 20px; }
.pillars dt { font-size: 1.1rem; font-weight: 500; }
.pillars dd { color: var(--ink-2); margin-top: 6px; }

/* Contact */
.contact { padding: 140px 0; border-top: 1px solid var(--line); }
.contact-inner { display: grid; justify-items: start; gap: 28px; }
.contact h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.contact-email { color: var(--ink); font-size: clamp(1.3rem, 2.4vw, 1.8rem); text-decoration: none; border-bottom: 1px solid rgba(236, 234, 230, 0.35); }
.contact-email:hover { border-color: var(--ink); }

/* Privacy */
.section { padding: 80px 0; }
.prose h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 12px; }
.prose h2 { font-size: 1.3rem; margin: 2.2em 0 0.6em; letter-spacing: -0.015em; }
.prose p { color: var(--ink-2); margin-bottom: 1em; }
.muted { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0; font-size: 0.92rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.footer-name { color: var(--ink); font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; margin-bottom: 6px; }
.footer-links { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; text-align: right; }
.footer-links a { color: var(--ink-2); }
.footer-links p { margin: 0; }

/* Tablet */
@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 420px 300px; }
  .tile-a { grid-row: auto; grid-column: 1 / 3; }
}

/* Mobile */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header-row { height: 60px; }
  .nav-link { display: none; }
  .hero { min-height: calc(100dvh - 60px); }
  .hero-copy { padding-bottom: 56px; }
  .lead { font-size: 1.1rem; margin: 20px 0 32px; }
  .about, .contact { padding: 88px 0; }
  .about-body { margin-left: 0; }
  .sectors { padding-bottom: 88px; }
  .sectors-title { margin-bottom: 36px; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 360px; gap: 12px; }
  .tile-a { grid-column: auto; }
  .tile figcaption { left: 20px; right: 20px; bottom: 20px; }
  .vision { padding: 104px 0; }
  .pillars { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { align-items: flex-start; text-align: left; }
}
