:root {
  --bg: #edf1ee;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #fdfdfb;
  --ink: #16303a;
  --muted: #5c6a70;
  --accent: #0f6b78;
  --accent-soft: #d7e8e7;
  --line: rgba(22, 48, 58, 0.12);
  --shadow: 0 22px 50px rgba(19, 38, 45, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(215, 232, 231, 0.95), transparent 34%),
    linear-gradient(180deg, #f7f8f5 0%, var(--bg) 56%, #f4f5f1 100%);
  line-height: 1.65;
}

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

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

.page-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(253, 253, 251, 0.7);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 1rem;
  z-index: 10;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

.site-nav a {
  transition: color 180ms ease;
}

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

.hero,
.content-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  padding: clamp(1.75rem, 3vw, 3.25rem);
}

.hero-copy h1,
.section-heading h2,
.project-column h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

.eyebrow,
.section-label,
.card-label,
.metric-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: var(--accent);
  font-weight: 700;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.98;
  margin-bottom: 1rem;
  max-width: 9ch;
}

.subheadline {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  max-width: 34rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.intro,
.section-text,
.project-description,
.project-column p,
.project-column ul,
.project-metric p {
  font-size: 1.02rem;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.85rem 1.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

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

.button.primary {
  background: var(--ink);
  color: #fefefe;
  box-shadow: 0 10px 24px rgba(22, 48, 58, 0.18);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-card,
.detail-card,
.project-metric {
  border-radius: calc(var(--radius-lg) - 8px);
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.hero-card {
  padding: 1.5rem;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.focus-list,
.check-list,
.plain-list {
  padding-left: 1.1rem;
  margin-bottom: 0;
  color: var(--muted);
}

.focus-list li + li,
.check-list li + li,
.plain-list li + li {
  margin-top: 0.65rem;
}

.metric-panel {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(215, 232, 231, 0.95), rgba(255, 255, 255, 0.9));
}

.metric-panel strong,
.project-metric strong {
  display: block;
  font-size: 1.2rem;
  margin-top: 0.4rem;
  line-height: 1.35;
}

.content-section {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  margin-top: 1.4rem;
}

.section-heading {
  margin-bottom: 1.4rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.08;
  margin-bottom: 0;
  max-width: 14ch;
}

.section-intro,
.project-header {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.section-intro {
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.95fr);
}

.project-header {
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.9fr);
}

.section-intro .section-heading,
.project-header .section-heading {
  margin-bottom: 0;
}

.section-body-copy,
.project-body-copy {
  margin: 1.4rem 0 0;
  max-width: 60ch;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.95fr);
  gap: 1.5rem;
  align-items: start;
}

.detail-card {
  padding: 1.35rem;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 0.92rem;
}

.project-card {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.project-metric {
  padding: 1.35rem;
}

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

.project-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-column {
  min-height: 100%;
  padding: 1.3rem;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.project-column h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.project-button {
  margin-top: 1rem;
  width: 100%;
}

.result-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.result-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(22, 48, 58, 0.08);
  background: #ffffff;
  object-fit: contain;
}

.result-card figcaption {
  padding-top: 0.95rem;
}

.result-card strong {
  display: block;
  margin: 0.35rem 0 0.45rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.result-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.accent-card {
  background: linear-gradient(180deg, rgba(215, 232, 231, 0.95), rgba(255, 255, 255, 0.95));
}

.closing-note {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .hero,
  .section-intro,
  .section-grid,
  .project-header,
  .project-details,
  .project-results {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .section-heading h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1rem, 1120px);
    padding-top: 0.5rem;
  }

  .site-header {
    position: static;
    border-radius: 24px;
    padding: 1rem;
  }

  .site-nav {
    gap: 0.75rem;
    font-size: 0.9rem;
  }

  .hero,
  .content-section {
    padding: 1.25rem;
  }

  .button-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
