:root {
  --black: #070809;
  --graphite: #111419;
  --panel: #181c22;
  --panel-soft: #20252c;
  --silver: #c9cdd2;
  --white: #f4f5f6;
  --muted: #a5abb3;
  --line: rgba(255, 255, 255, .13);
  --accent: #d8dde2;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(255,255,255,.08), transparent 24rem),
    linear-gradient(145deg, var(--black), var(--graphite) 55%, #090a0c);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 100vh;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.shell { width: min(var(--max), calc(100% - 3rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 9, .86);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  font-size: .83rem;
  font-weight: 720;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.wordmark img { width: 3.4rem; height: 2.4rem; object-fit: contain; }

.nav { display: flex; gap: clamp(.8rem, 2vw, 1.7rem); align-items: center; }
.nav a {
  color: var(--muted);
  font-size: .88rem;
  text-decoration: none;
  transition: color .2s ease;
}
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] { color: var(--white); }

.hero {
  min-height: calc(100vh - 5.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, .85fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  padding-block: clamp(4rem, 9vw, 8rem);
}

.kicker {
  color: var(--silver);
  font-size: .78rem;
  font-weight: 760;
  letter-spacing: .19em;
  text-transform: uppercase;
}

h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1 {
  max-width: 12ch;
  margin-bottom: 1.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 7.4vw, 7.2rem);
  font-weight: 400;
  letter-spacing: -.055em;
}
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -.035em;
}
h3 { font-size: 1.15rem; }

.hero-copy { color: #d1d4d8; max-width: 44rem; font-size: clamp(1.08rem, 1.7vw, 1.3rem); }
.hero-logo { position: relative; }
.hero-logo::before {
  content: "";
  position: absolute;
  inset: 18% 8%;
  background: rgba(255,255,255,.12);
  filter: blur(70px);
  border-radius: 50%;
}
.hero-logo img { position: relative; filter: drop-shadow(0 2rem 2.5rem rgba(0,0,0,.55)); }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .72rem 1.2rem;
  border: 1px solid var(--silver);
  color: var(--black);
  background: var(--silver);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--white); }
.button.secondary { color: var(--white); background: transparent; border-color: var(--line); }
.button.secondary:hover { background: rgba(255,255,255,.06); }

.section { padding-block: clamp(4.5rem, 9vw, 8rem); border-top: 1px solid var(--line); }
.section-intro { max-width: 48rem; color: var(--muted); font-size: 1.08rem; }
.section-head { margin-bottom: 3rem; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--graphite); padding: clamp(1.6rem, 3vw, 2.5rem); }
.card .number { display: block; margin-bottom: 2rem; color: #747b84; font-family: Georgia, serif; font-size: 1.1rem; }
.card p { color: var(--muted); margin-bottom: 0; }
.card a { text-decoration-color: #737a83; text-underline-offset: .25em; }

.quote {
  max-width: 62rem;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  line-height: 1.25;
  letter-spacing: -.025em;
}
.quote em { color: var(--silver); }

.page-hero { padding-block: clamp(5rem, 10vw, 9rem) clamp(3rem, 7vw, 6rem); }
.page-hero h1 { max-width: 14ch; font-size: clamp(3.1rem, 6.8vw, 6.4rem); }
.page-hero p { max-width: 46rem; color: var(--muted); font-size: 1.18rem; }

.prose { max-width: 49rem; }
.prose p { color: #c6cad0; font-size: 1.08rem; }
.prose p + p { margin-top: 1.5rem; }
.prose .lead { color: var(--white); font-family: Georgia, serif; font-size: 1.5rem; }

.split { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 8vw, 8rem); align-items: start; }
.side-label { color: var(--muted); font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; }

.project { display: grid; grid-template-columns: 8rem 1fr; gap: 2rem; align-items: start; }
.project + .project { margin-top: 4rem; padding-top: 4rem; border-top: 1px solid var(--line); }
.project-tag { color: var(--muted); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.project h2 { font-size: clamp(2rem, 4vw, 3.6rem); margin-bottom: 1rem; }
.project p { max-width: 46rem; color: var(--muted); }

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.contact-panel > div { background: var(--graphite); padding: clamp(2rem, 5vw, 4rem); }
.contact-panel p { color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding-block: 2rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; align-items: center; font-size: .84rem; }
.footer-inner span:last-child { font-family: Georgia, serif; font-style: italic; color: var(--silver); }

@media (max-width: 850px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 1rem; gap: .8rem; }
  .site-header { position: static; }
  .nav { width: 100%; overflow-x: auto; padding-bottom: .2rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-logo { grid-row: 1; max-width: 28rem; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 2rem, var(--max)); }
  .wordmark { font-size: .75rem; }
  .nav { gap: 1.2rem; }
  .nav a { white-space: nowrap; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .project { grid-template-columns: 1fr; gap: .8rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero > *, .page-hero > * { animation: reveal .7s ease-out both; }
  .hero > *:last-child { animation-delay: .08s; }
  @keyframes reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}

