:root {
  color-scheme: light;
  --bg: #f7f6f1;
  --ink: #111;
  --muted: #6b6760;
  --line: #d8d4cb;
  --paper: #fffdfa;
  --accent: #7a1f1f;
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Helvetica Neue",
    Arial,
    "Hiragino Sans",
    "Yu Gothic",
    sans-serif;
  letter-spacing: 0;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: 100%;
  padding: 22px clamp(18px, 4vw, 56px);
  color: #fff;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 241, 0.94);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-logo {
  width: 24px;
  height: 24px;
  background: #fff;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 2.6vw, 38px);
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding-block: 6px;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 0 clamp(18px, 4vw, 56px) 34px;
  color: #fff;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #222;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.1) 65%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), transparent 42%);
  content: "";
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  width: min(900px, 100%);
  min-height: 100svh;
  padding-top: 120px;
}

.eyebrow,
.section-label {
  margin: 0 0 22px;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1240px;
  margin: 0;
  font-size: clamp(42px, 6.5vw, 92px);
  font-weight: 500;
  line-height: 1.02;
  white-space: nowrap;
}

.hero p:last-child {
  max-width: 760px;
  margin: 28px 0 8vh;
  font-size: clamp(15px, 1.55vw, 19px);
  line-height: 1.9;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.3fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 110px);
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding: clamp(86px, 12vw, 170px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.intro h2,
.section-head h2,
.split h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 500;
  line-height: 1.22;
  text-wrap: balance;
  line-break: strict;
}

.split h2 {
  font-size: clamp(26px, 3vw, 42px);
}

.h2-note {
  display: inline-block;
  margin-left: 14px;
  color: var(--muted);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 400;
  letter-spacing: 0;
  vertical-align: middle;
}

.intro p:last-child,
.split p:last-child {
  max-width: 720px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 2.05;
}

.statement {
  display: grid;
  place-items: center;
  min-height: 58svh;
  padding: 72px clamp(18px, 5vw, 80px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.statement p {
  max-width: 1180px;
  margin: 0;
  font-size: clamp(34px, 7vw, 104px);
  font-weight: 500;
  line-height: 1.02;
  text-align: center;
}

.works,
.projects,
.people {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding: clamp(82px, 11vw, 150px) clamp(18px, 4vw, 56px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(150px, 0.3fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 110px);
  margin-bottom: clamp(42px, 7vw, 86px);
}

.work-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.work-card {
  background: var(--bg);
}

.work-card a {
  display: grid;
  grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
  min-height: clamp(300px, 42vw, 590px);
}

.work-card:nth-child(even) a {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 42%);
}

.work-card:nth-child(even) img {
  order: 2;
}

.work-card div {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(28px, 5vw, 72px);
}

.work-card p {
  margin: 0 0 auto;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.work-card h3 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
}

.work-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

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

.project-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.project-list article {
  display: grid;
  grid-template-columns: minmax(120px, 0.16fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: baseline;
  padding: clamp(28px, 5vw, 58px) 0;
  background: var(--bg);
}

.project-list article > h3,
.project-list article > p {
  grid-column: 2;
}

.project-list article > p {
  margin-top: 18px;
}

.project-list span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.project-list h3 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.35;
  text-wrap: balance;
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.project-list p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.service-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  column-gap: clamp(20px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(24px, 4vw, 46px) 0;
  background: var(--bg);
}

.service-list article > h3,
.service-list article > p {
  grid-column: 2;
}

.service-list article > p {
  margin-top: 14px;
}

.service-list span,
.service-list p,
.people-grid p,
.profile-panel p,
.site-footer {
  color: var(--muted);
}

.service-list h3,
.people-grid h3 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.35;
  text-wrap: balance;
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.service-list p {
  max-width: 820px;
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  min-height: 72svh;
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.split > div {
  align-self: center;
  padding: clamp(44px, 7vw, 96px);
}

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

.people-grid article {
  min-width: 0;
}

.people-grid img {
  aspect-ratio: 3 / 4;
  height: auto;
  margin-bottom: 22px;
  filter: grayscale(1);
}

.people-grid p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

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

.profile-panel dl {
  margin: 0;
}

.profile-panel div {
  display: grid;
  grid-template-columns: minmax(90px, 0.24fr) minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.profile-panel div:first-child {
  border-top: 0;
}

.profile-panel dt,
.profile-panel dd {
  margin: 0;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.8;
}

.profile-panel dt {
  color: var(--muted);
}

.profile-panel dd {
  font-weight: 500;
}

.profile-panel p {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.9;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  font-size: 12px;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer p:nth-child(2) {
  text-align: center;
}

.site-footer p:last-child {
  text-align: right;
}

@media (max-width: 860px) {
  .site-header {
    padding-block: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(18deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-18deg);
  }

  .site-nav {
    position: fixed;
    top: 73px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px 18px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 246, 241, 0.97);
    color: var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px 0;
    border-top: 1px solid var(--line);
  }

  .hero {
    min-height: 92svh;
  }

  .hero-copy {
    min-height: 92svh;
  }

  .hero h1 {
    font-size: clamp(42px, 14vw, 80px);
    white-space: normal;
  }

  .section-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .statement p {
    text-align: left;
  }

  .work-card a,
  .work-card:nth-child(even) a {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .work-card:nth-child(even) img {
    order: 0;
  }

  .work-card img {
    aspect-ratio: 16 / 11;
    height: auto;
  }

  .work-card div {
    min-height: 260px;
  }

  .service-list article {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-list article > h3,
  .service-list article > p {
    grid-column: auto;
    margin-top: 0;
  }

  .project-list article {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .project-list article > h3,
  .project-list article > p {
    grid-column: auto;
    margin-top: 0;
  }

  .h2-note {
    display: block;
    margin: 10px 0 0;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split img {
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .people-grid {
    grid-template-columns: 1fr;
  }

  .profile-panel div {
    grid-template-columns: 1fr;
  }

  .profile-panel div {
    gap: 6px;
    padding: 22px 0;
  }

  .people-grid img {
    aspect-ratio: 16 / 12;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer p,
  .site-footer p:nth-child(2),
  .site-footer p:last-child {
    text-align: left;
  }
}
