:root {
  --page-bg: #f3f6f8;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --ink: #14202b;
  --muted: #4d5f70;
  --accent: #6b7c8f;
  --line: rgba(20, 32, 43, 0.12);
  --display-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino,
    "URW Palladio L", Georgia, serif;
  --body-font: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Helvetica,
    Arial, sans-serif;
  --max-width: 1120px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--body-font);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(118, 142, 168, 0.18), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(243, 246, 248, 0.92)),
    var(--page-bg);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(to right, rgba(20, 32, 43, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 32, 43, 0.05) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 72%);
  pointer-events: none;
}

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

a:hover {
  color: var(--ink);
}

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

::selection {
  background: rgba(107, 124, 143, 0.24);
}

.site-shell {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 2rem;
  position: relative;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  pointer-events: none;
}

.site-shell::after {
  inset: 1rem;
  border-color: rgba(20, 32, 43, 0.08);
}

.masthead,
.site-footer,
.section,
.hero {
  padding-left: clamp(1.35rem, 3vw, 2.75rem);
  padding-right: clamp(1.35rem, 3vw, 2.75rem);
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 5rem;
}

.section-label,
.capability-card h3,
.masthead-link {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wordmark {
  font-size: 0.8rem;
  font-weight: 700;
}

.masthead-link {
  font-size: 0.72rem;
  color: var(--muted);
}

.hero {
  padding-top: clamp(4.25rem, 10vw, 8rem);
  padding-bottom: clamp(3.5rem, 8vw, 5.75rem);
}

.hero-copy {
  max-width: 52rem;
}

.section-label {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.1rem, 9vw, 6.25rem);
  line-height: 0.96;
}

.hero-intro {
  margin: 1.5rem 0 0;
  max-width: 38rem;
  font-size: clamp(1.1rem, 2.6vw, 1.36rem);
  line-height: 1.7;
  color: var(--muted);
}

.section {
  padding-top: clamp(2rem, 5vw, 3.2rem);
  padding-bottom: clamp(2rem, 5vw, 3.2rem);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.04;
}

.capability-grid {
  display: grid;
  gap: 1rem;
}

.capability-card {
  padding: 1.35rem;
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--line);
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.capability-card h3 {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.capability-card p,
.section-body p,
.site-footer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.section-split {
  display: grid;
  gap: 1.5rem;
}

.section-body {
  max-width: 34rem;
}

.contact-section .section-body {
  display: grid;
  gap: 1.2rem;
}

.contact-link {
  width: fit-content;
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  border-bottom: 1px solid rgba(20, 32, 43, 0.3);
  padding-bottom: 0.15rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand-wordmark {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

.brand-symbol {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-1px);
}

.brand-symbol svg {
  display: block;
  width: 100%;
  height: 100%;
}

.masthead-link,
.section-label,
.capability-card h3 {
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  padding-top: clamp(4.6rem, 10vw, 8.3rem);
  padding-bottom: clamp(3.5rem, 8vw, 5.75rem);
}

.hero-copy {
  max-width: 58rem;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(3.1rem, 9vw, 6.25rem);
  line-height: 0.95;
}


.brand-symbol {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.monolith-c {
  width: 100%;
  height: 100%;
  fill: #0A0A0A;
}


@media (min-width: 760px) {
  .capability-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 920px) {
  .section-split {
    grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
    align-items: start;
  }

  .section-split .section-heading {
    margin-bottom: 0;
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(var(--max-width), calc(100% - 1rem));
    padding-top: 0.5rem;
  }

  .site-shell::after {
    inset: 0.5rem;
  }

  .masthead {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 0.75rem;
  }

  .hero {
    padding-top: 3.5rem;
  }
}
