:root {
  --paper: #f5f3ed;
  --white: #fbfaf6;
  --ink: #10130f;
  --muted: #4b5249;
  --line: rgb(16 19 15 / 12%);
  --green: #0c3a2d;
  --accent: #00634f;
  --dark: #101511;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

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

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding-inline: clamp(22px, 4vw, 64px);
  border-bottom: 1px solid rgb(16 19 15 / 10%);
  background: rgb(245 243 237 / 86%);
  backdrop-filter: blur(16px);
}

.brand {
  width: max-content;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 28px;
  color: #343a34;
  font-size: 0.88rem;
  font-weight: 500;
}

.header-cta {
  justify-self: end;
  border-radius: 999px;
  background: var(--green);
  color: white;
  padding: 13px 19px;
  font-size: 0.88rem;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 112px clamp(24px, 8vw, 132px) 72px;
}

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

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

.hero-scrim {
  background: linear-gradient(90deg, rgb(245 243 237 / 98%) 0%, rgb(245 243 237 / 86%) 34%, rgb(245 243 237 / 34%) 62%, rgb(245 243 237 / 4%) 100%);
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}

h1 {
  margin: 20px 0 0;
  font-size: clamp(4.8rem, 9.2vw, 9.8rem);
  line-height: 0.84;
  letter-spacing: -0.045em;
}

h2 {
  margin: 16px 0 0;
  font-size: clamp(2.8rem, 5.8vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

h3 {
  margin: 0;
  font-size: clamp(1.65rem, 2.3vw, 2.25rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 30px 0 0;
  color: #303830;
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.65;
  font-weight: 450;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding-inline: 22px;
  font-weight: 750;
}

.button.primary {
  background: var(--green);
  color: white;
}

.button.secondary {
  border: 1px solid rgb(16 19 15 / 22%);
  background: rgb(255 255 255 / 70%);
}

.hero-mark {
  position: absolute;
  right: clamp(24px, 4vw, 64px);
  bottom: clamp(24px, 4vw, 64px);
  display: grid;
  justify-items: end;
  color: rgb(16 19 15 / 72%);
  text-transform: uppercase;
}

.hero-mark span {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
}

.hero-mark strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 3.4rem);
  letter-spacing: -0.03em;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--dark);
  color: white;
  border-block: 1px solid rgb(255 255 255 / 14%);
}

.ticker span {
  min-height: 72px;
  display: flex;
  align-items: center;
  border-right: 1px solid rgb(255 255 255 / 14%);
  padding-inline: 22px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
  padding-block: 104px;
}

.intro,
.split,
.studio {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: 72px;
  align-items: start;
}

.intro > p,
.studio p {
  margin: 0;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.75;
}

.section-head {
  max-width: 840px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 54px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  padding: 28px;
}

.service-card span,
.capability-table strong,
.process span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-card h3 {
  margin-top: auto;
}

.service-card p,
.capability-table span,
.process p {
  color: var(--muted);
  line-height: 1.65;
}

.dark {
  width: 100%;
  max-width: none;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  background: var(--dark);
  color: white;
}

.dark .eyebrow {
  color: #8ed7b4;
}

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

.project-grid article {
  min-height: 300px;
  display: grid;
  align-content: end;
  border: 1px solid rgb(255 255 255 / 16%);
  background: linear-gradient(180deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 1%));
  padding: 28px;
}

.project-grid p {
  margin: 0 0 16px;
  color: #8ed7b4;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-grid span {
  margin-top: 18px;
  color: rgb(255 255 255 / 62%);
}

.capability-table {
  display: grid;
  border-top: 1px solid var(--line);
}

.capability-table div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding-block: 22px;
}

.process ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.process li {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  background: var(--white);
  padding: 26px;
}

.process strong {
  display: block;
  margin-top: 36px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
}

.studio aside {
  display: grid;
  gap: 12px;
  border-left: 1px solid var(--line);
  padding-left: 32px;
  color: var(--muted);
}

.studio aside strong {
  color: var(--ink);
  font-size: 1.25rem;
}

.contact {
  padding: 96px clamp(24px, 8vw, 132px);
  background: #dfe7dd;
}

.contact h2 {
  max-width: 860px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(24px, 4vw, 64px);
  background: var(--dark);
  color: rgb(255 255 255 / 66%);
  font-size: 0.86rem;
}

.page {
  padding-top: 72px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.56fr);
  gap: 72px;
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
  padding-block: 96px 70px;
}

.page-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.7;
}

.page-panel {
  align-self: end;
  border-left: 1px solid var(--line);
  padding-left: 30px;
}

.page-panel strong,
.page-panel span {
  display: block;
}

.page-panel strong {
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.page-panel span {
  color: var(--muted);
  line-height: 1.7;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.detail-grid article {
  min-height: 230px;
  background: var(--white);
  padding: 28px;
}

.detail-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.mini-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.mini-nav a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 62%);
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .ticker,
  .intro,
  .split,
  .studio,
  .page-hero,
  .service-grid,
  .project-grid,
  .detail-grid,
  .process ol {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    display: none;
  }

  .section {
    padding-block: 74px;
  }

  .capability-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 64px;
    padding-inline: 18px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-inline: 20px;
  }

  h1 {
    font-size: clamp(4rem, 18vw, 5.8rem);
  }

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