:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --bg-softer: #151515;
  --line: #1f1f1f;
  --line-strong: #2a2a2a;
  --text: #f5f5f0;
  --muted: #ababa4;
  --muted-strong: #cfcfc8;
  --accent: #f5f5f0;
  --max-width: 1120px;
  --radius: 28px;
  --radius-sm: 22px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.03), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 12px;
}

.skip-link:focus {
  top: 12px;
}

.site-header,
.section,
.site-footer {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a,
.button {
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.section {
  padding: 36px 0 54px;
}

.hero {
  padding-top: 88px;
  padding-bottom: 72px;
}

.hero-inner {
  max-width: 820px;
}

.eyebrow,
.section-label,
.process-item span {
  margin: 0 0 18px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
}

h1,
h2,
h3,
p,
ul {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.15rem;
  line-height: 1.15;
}

.hero-copy,
.statement p,
.note-block li,
.card p,
.contact-shell p,
.process-item p,
.section-heading p,
.contact-note,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.hero-copy {
  max-width: 700px;
  font-size: 1.08rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 32px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.panel,
.process-item,
.contact-shell {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-points li {
  padding: 18px;
  border-radius: 18px;
  color: var(--muted-strong);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-weight: 600;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.button-secondary {
  background: transparent;
  color: var(--text);
}

.intro-grid,
.cards,
.process-strip {
  display: grid;
  gap: 18px;
}

.intro-grid {
  grid-template-columns: 1.35fr 0.9fr;
}

.cards.three-up,
.process-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid {
  grid-template-columns: 1.2fr 0.9fr;
}

.panel,
.contact-shell {
  padding: 28px;
  border-radius: var(--radius);
}

.note-block ul {
  margin: 0;
  padding-left: 18px;
}

.note-block li + li {
  margin-top: 10px;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 24px;
}

.section-heading.compact {
  margin-bottom: 20px;
}

.card {
  min-height: 220px;
}

.project-card {
  min-height: 100%;
}

.featured-project {
  border-color: var(--line-strong);
}

.project-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.project-brand-oncall {
  margin-bottom: 14px;
}

.project-brand-propath {
  margin-bottom: 12px;
}

.project-logo {
  display: block;
  flex-shrink: 0;
}

.oncall-logo {
  width: min(100%, 280px);
  height: auto;
}

.propath-logo {
  width: min(100%, 240px);
  height: auto;
  border-radius: 14px;
  background: #ffffff;
}

.project-type {
  margin-bottom: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
}

.project-link {
  margin-top: 18px;
}

.project-link a {
  color: var(--muted-strong);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.soon-note {
  color: var(--muted-strong);
}

.process-item {
  padding: 24px;
  border-radius: var(--radius-sm);
}

.process-item p {
  margin-bottom: 0;
  color: var(--text);
}

.contact-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-actions {
  align-items: flex-start;
  flex-direction: column;
}

.contact-note {
  margin: 0;
}

.site-footer {
  padding: 0 0 48px;
}

.site-footer p {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

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

@media (max-width: 900px) {
  .intro-grid,
  .cards.three-up,
  .process-strip,
  .hero-points,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-shell {
    display: grid;
  }
}

@media (max-width: 700px) {
  .site-nav {
    display: none;
  }

  .site-header,
  .section,
  .site-footer {
    width: min(var(--max-width), calc(100% - 20px));
  }

  .site-header {
    padding: 18px 0;
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 52px;
  }

  .panel,
  .process-item,
  .contact-shell,
  .hero-points li {
    padding: 22px;
    border-radius: 22px;
  }

  h1 {
    max-width: 12ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
