:root {
  --bg: #f7f6f1;
  --surface: #ffffff;
  --surface-soft: #efeee8;
  --ink: #151515;
  --muted: #68665f;
  --line: #dedbd0;
  --green: #16704a;
  --blue: #2457d6;
  --blue-soft: #e8eefc;
  --mint-soft: #e8f6ee;
  --coral-soft: #fff0e9;
  --shadow: 0 18px 45px rgba(21, 21, 21, 0.08);
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: calc(var(--max) + 48px);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  background: rgba(247, 246, 241, 0.88);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.site-nav a {
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav .nav-cta {
  background: var(--ink);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  width: 1.05rem;
  height: 2px;
  margin: 0.2rem auto;
  background: var(--ink);
}

main {
  overflow: clip;
}

.hero,
.section-pad,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 1.5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  min-height: auto;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.4rem, 4.4vw, 3.9rem);
  font-weight: 820;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 span {
  display: inline;
}

.hero-lede {
  max-width: 620px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  font-size: 0.95rem;
  font-weight: 800;
}

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

.button-secondary {
  background: transparent;
}

.hero-portrait {
  position: relative;
  margin: 0;
}

.hero-portrait img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-portrait figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: min(260px, calc(100% - 2rem));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.9rem;
  box-shadow: 0 12px 28px rgba(21, 21, 21, 0.12);
}

.hero-portrait span,
.hero-portrait strong {
  display: block;
}

.hero-portrait span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-portrait strong {
  margin-top: 0.2rem;
  font-size: 0.95rem;
  line-height: 1.35;
}

.ticker {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  overflow: visible;
  background: transparent;
  color: var(--ink);
  border: 0;
}

.ticker div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  width: auto;
  animation: none;
}

.ticker span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 0.45rem 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  white-space: nowrap;
}

.ticker span:nth-child(n) {
  color: var(--muted);
}

.section-pad {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.intro {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 500;
  line-height: 1.7;
}

.section-heading {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  margin-bottom: 1.75rem;
}

.section-heading h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 780;
  line-height: 1.18;
}

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

.project-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(1.1rem, 2vw, 1.5rem);
  box-shadow: none;
}

.project-card-large {
  min-height: 240px;
  background: var(--blue-soft);
}

.accent-mint {
  background: var(--mint-soft);
}

.accent-coral {
  background: var(--coral-soft);
}

.accent-ink {
  background: #202126;
  color: #fff;
}

.project-kicker {
  margin: 0 0 0.55rem;
  color: currentColor;
  font-size: 0.74rem;
  font-weight: 850;
  opacity: 0.68;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.15;
}

.project-card p:not(.project-kicker) {
  max-width: 40rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.accent-ink p:not(.project-kicker) {
  color: rgba(255, 255, 255, 0.76);
}

.project-card a {
  width: max-content;
  max-width: 100%;
  margin-top: 1.5rem;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.32rem 0.58rem;
  font-size: 0.78rem;
  font-weight: 750;
  opacity: 0.78;
}

.story {
  border-top: 1px solid var(--line);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.story-copy p {
  max-width: 720px;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.stat-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.stat-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1rem;
  box-shadow: none;
}

.stat-list dt {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 780;
  line-height: 1.05;
}

.stat-list dd {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.process {
  max-width: none;
  background: var(--surface-soft);
  border-block: 1px solid var(--line);
}

.process > * {
  max-width: var(--max);
  margin-inline: auto;
}

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

.process-steps article {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.15rem;
}

.process-steps span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
}

.process-steps h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.18;
}

.process-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.contact {
  max-width: none;
  margin: 0;
  background: #1f2932;
  color: #eef2f6;
}

.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
}

.contact h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  font-weight: 780;
  line-height: 1.16;
}

.contact-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.4rem, 4vw, 2.4rem);
  margin-top: clamp(1.8rem, 4vw, 2.5rem);
}

.contact-icons a {
  display: inline-grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 8px;
  transition: transform 160ms ease, background 160ms ease;
}

.contact-icons a:hover,
.contact-icons a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.contact-icons img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding-block: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
}

@media (max-width: 920px) {
  .hero,
  .story-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-portrait {
    max-width: 420px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

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

  .project-card,
  .project-card-large {
    min-height: 260px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0.8rem 1rem;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 12;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    justify-content: center;
    border: 0;
    border-radius: 0;
    background: var(--ink);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    color: #fff;
    font-size: clamp(2rem, 13vw, 4.5rem);
    line-height: 1;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav .nav-cta {
    background: #fff;
    color: var(--ink);
  }

  .hero,
  .section-pad,
  .site-footer,
  .ticker {
    padding-inline: 1rem;
  }

  .contact-inner {
    padding-inline: 1rem;
  }

  .contact-icons {
    gap: 0.8rem;
  }

  .contact-icons a {
    width: 64px;
    height: 64px;
  }

  .contact-icons img {
    width: 54px;
    height: 54px;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  h1 span {
    display: block;
  }

  .hero-lede {
    font-size: 1.02rem;
  }

  .button {
    flex: 1 1 11rem;
  }

  .hero-portrait img {
    height: 320px;
  }

  .hero-portrait figcaption {
    position: static;
    width: 100%;
    margin-top: 0.75rem;
  }

  .intro p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .section-heading h2,
  .contact h2 {
    line-height: 1.12;
  }

  .site-footer {
    flex-direction: column;
  }
}
