:root {
  color-scheme: light;
  --ink: #172025;
  --muted: #586169;
  --paper: #f7f5ef;
  --panel: #ffffff;
  --line: rgba(23, 32, 37, 0.12);
  --teal: #0e6e68;
  --teal-dark: #0a4c48;
  --amber: #c8892e;
  --rose: #a84c67;
  --shadow: 0 20px 60px rgba(23, 32, 37, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: #ffffff;
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 245, 239, 0.9);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 10px;
  font-weight: 750;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.site-nav {
  gap: clamp(14px, 2vw, 30px);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: min(78vh, 760px);
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 120px clamp(20px, 5vw, 64px) 64px;
  color: #ffffff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 20, 24, 0.78), rgba(6, 20, 24, 0.3) 54%, rgba(6, 20, 24, 0.14)),
    linear-gradient(0deg, rgba(6, 20, 24, 0.58), rgba(6, 20, 24, 0.08) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.split-section h2,
.contact-band h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1;
}

.hero h1 {
  font-size: clamp(2.4rem, 8.4vw, 6.7rem);
  max-width: 100%;
  white-space: nowrap;
}

.hero-copy {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  line-height: 1.55;
}

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

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.button-primary {
  background: var(--teal);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.54);
  color: currentColor;
  background: rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled .button-secondary,
.contact-band .button-secondary {
  border-color: var(--line);
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.intro > div {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px clamp(20px, 5vw, 64px);
  border-right: 1px solid var(--line);
}

.intro > div:last-child {
  border-right: 0;
}

.stat-value {
  color: var(--rose);
  font-size: 1.7rem;
  font-weight: 820;
}

.stat-label {
  color: var(--muted);
  line-height: 1.45;
}

.section,
.split-section,
.contact-band {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 64px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section h2,
.split-section h2,
.contact-band h2 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(23, 32, 37, 0.06);
}

.project-card h3,
.note-list h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.project-card p,
.note-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.project-card a {
  width: fit-content;
  color: var(--teal);
  font-weight: 760;
}

.card-kicker {
  width: fit-content;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 780;
  text-transform: uppercase;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  background: #e9eee8;
}

.note-list {
  display: grid;
  gap: 16px;
}

.note-list article {
  border-top: 1px solid rgba(23, 32, 37, 0.16);
  padding-top: 22px;
}

.note-list time {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 760;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--ink);
  color: #ffffff;
}

.contact-band h2 {
  max-width: 680px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 64px);
  color: var(--muted);
  background: #ffffff;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero {
    min-height: 82vh;
    padding-top: 150px;
  }

  .intro,
  .project-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .intro > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro > div:last-child {
    border-bottom: 0;
  }

  .contact-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 78vh;
    padding-bottom: 46px;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }
}
