:root {
  --ink: #17201d;
  --muted: #5e6d68;
  --paper: #fbfbf8;
  --surface: #ffffff;
  --line: #dfe6e1;
  --green: #0d6b59;
  --teal: #1b9aaa;
  --coral: #d86f5b;
  --gold: #c4953c;
  --shadow: 0 24px 70px rgba(23, 32, 29, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(251, 251, 248, 0.86);
  border-bottom: 1px solid rgba(223, 230, 225, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.project-controls {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
}

.nav-links {
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(44px, 7vw, 96px) clamp(20px, 5vw, 72px) 32px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.panel-kicker,
.project-type {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 8vw, 6.85rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.18;
}

.hero-lede,
.section-heading p,
.intro p,
.expertise-panel p,
.project-card p,
.proof-list {
  color: var(--muted);
}

.hero-lede {
  max-width: 640px;
  margin-bottom: 30px;
  font-size: clamp(1.05rem, 2vw, 1.38rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: transparent;
}

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

.credential-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  max-width: 660px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.credential-strip div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.8);
}

.credential-strip dt {
  font-size: 1.35rem;
  font-weight: 800;
}

.credential-strip dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.intro {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.intro p {
  max-width: 1100px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.14;
}

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

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

.expertise-panel,
.project-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.expertise-panel {
  padding: 26px;
}

.project-section {
  background: #f4f7f3;
}

.project-controls {
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
}

.filter-button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.project-card {
  overflow: hidden;
  transition: opacity 180ms ease, transform 180ms ease;
}

.project-card.is-hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

.project-card-link {
  transition: opacity 180ms ease, transform 180ms ease;
}

.project-card-link:has(.project-card.is-hidden) {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.project-visual {
  position: relative;
  display: grid;
  min-height: 230px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(13, 107, 89, 0.12), rgba(216, 111, 91, 0.12)),
    #ffffff;
  border-bottom: 1px solid var(--line);
}

.project-content {
  padding: 24px;
}

.visual-bars {
  align-items: end;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
}

.visual-bars span {
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, var(--teal), var(--green));
}

.visual-bars span:nth-child(1) { height: 42%; }
.visual-bars span:nth-child(2) { height: 68%; }
.visual-bars span:nth-child(3) { height: 54%; background: linear-gradient(180deg, var(--coral), var(--gold)); }
.visual-bars span:nth-child(4) { height: 82%; }
.visual-bars span:nth-child(5) { height: 61%; }

.visual-lines {
  align-content: center;
  gap: 20px;
}

.visual-lines span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--teal), var(--coral));
}

.visual-lines span:nth-child(2) {
  width: 76%;
}

.visual-lines span:nth-child(3) {
  width: 58%;
}

.visual-network span {
  position: absolute;
  width: 54px;
  height: 54px;
  border: 12px solid rgba(27, 154, 170, 0.3);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}

.visual-network::before,
.visual-network::after {
  content: "";
  position: absolute;
  height: 3px;
  background: rgba(13, 107, 89, 0.28);
  transform-origin: left;
}

.visual-network::before {
  left: 76px;
  top: 90px;
  width: 180px;
  transform: rotate(18deg);
}

.visual-network::after {
  left: 98px;
  top: 146px;
  width: 230px;
  transform: rotate(-10deg);
}

.visual-network span:nth-child(1) { left: 42px; top: 54px; }
.visual-network span:nth-child(2) { right: 70px; top: 86px; border-color: rgba(216, 111, 91, 0.34); }
.visual-network span:nth-child(3) { left: 92px; bottom: 42px; border-color: rgba(196, 149, 60, 0.34); }
.visual-network span:nth-child(4) { right: 36px; bottom: 58px; }

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  gap: clamp(24px, 5vw, 76px);
  align-items: start;
  background: var(--ink);
  color: var(--paper);
}

.proof .eyebrow {
  color: #83d4c8;
}

.proof-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding-left: 20px;
  color: #dce7e2;
  font-size: 1.05rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(40px, 7vw, 82px) clamp(20px, 5vw, 72px);
  background: var(--surface);
}

.footer h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
}

@media (max-width: 980px) {
  .hero,
  .proof,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .expertise-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    display: grid;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-top: 30px;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.6rem);
  }

  .credential-strip {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    min-height: 310px;
  }

  .project-visual {
    min-height: 190px;
  }

  .button {
    width: 100%;
  }
}
/* Pull quote styling */
.pull-quote {
  position: relative;
  max-width: 900px;
  margin: 4rem auto;
  padding: 3rem 4rem;
  font-style: italic;
}

.pull-quote::before,
.pull-quote::after {
  position: absolute;
  font-size: 8rem;
  line-height: 1;
  color: var(--green);
  opacity: 0.25;
  font-family: Georgia, serif;
}

.pull-quote::before {
  content: '"';
  top: -1rem;
  left: 0;
}

.pull-quote::after {
  content: '"';
  bottom: -3rem;
  right: 0;
}

.pull-quote p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin: 0;
  color: var(--ink);
}
/* Project card link wrapper */
.project-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(23, 32, 29, 0.12);
}

.project-card-link:hover .project-card {
  border-color: var(--green);
}