:root {
  --paper: #ffffff;
  --ink: #111111;
  --muted: #656565;
  --soft: #e7e4dd;
  --line: #d9d7d1;
  --panel: #f4f4f2;
  --sans: Inter, "Helvetica Neue", Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  align-items: center;
  min-height: 76px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: var(--ink);
  background: rgba(251, 251, 250, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(251, 251, 250, 0.96);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 600;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid var(--ink);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 17px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.section-label {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
  gap: clamp(36px, 5vw, 82px);
  align-items: end;
  min-height: 100vh;
  padding: 136px clamp(20px, 5vw, 84px) 86px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

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

h1 {
  margin-bottom: 26px;
  font-size: clamp(5rem, 12vw, 11.5rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.045em;
}

h2 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(2.2rem, 5vw, 5.9rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 600;
  line-height: 1.2;
}

p {
  max-width: 680px;
  color: var(--muted);
}

.hero-copy p:not(.section-label) {
  max-width: 520px;
  margin-bottom: 38px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.text-link,
.button,
.contact-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 0 5px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-figure {
  margin: 0;
  width: min(100%, 620px);
  justify-self: end;
}

.hero-figure img {
  width: 100%;
  height: min(74vh, 780px);
  object-fit: cover;
  filter: grayscale(10%);
}

.editorial-section {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 88px);
  padding: clamp(96px, 14vw, 190px) clamp(20px, 5vw, 84px);
  border-top: 1px solid var(--line);
}

.section-index {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.section-body {
  width: min(100%, 1240px);
}

.intro-section {
  padding-top: clamp(110px, 16vw, 210px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: clamp(32px, 7vw, 112px);
  align-items: start;
}

.text-column {
  display: grid;
  gap: 20px;
}

.text-column p,
.section-heading p,
.column-grid p,
.service-list p,
.project-meta p,
.manifesto p,
.contact-section p {
  font-size: 1rem;
  line-height: 1.75;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(42px, 6vw, 84px);
}

.section-heading p:not(.section-label) {
  max-width: 620px;
}

.column-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.column-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.column-grid article {
  min-height: 300px;
  padding: clamp(24px, 3vw, 38px);
  background: var(--paper);
}

.principles-list {
  display: grid;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.principles-list li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.28rem, 2.8vw, 3rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.principles-list span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service-list article {
  min-height: 230px;
  padding: clamp(26px, 4vw, 48px) clamp(20px, 3vw, 42px) clamp(32px, 4vw, 56px) 0;
  border-bottom: 1px solid var(--line);
}

.service-list article:nth-child(odd) {
  padding-right: clamp(34px, 5vw, 82px);
}

.service-list article:nth-child(even) {
  padding-left: clamp(34px, 5vw, 82px);
  border-left: 1px solid var(--line);
}

.projects-section {
  padding-bottom: clamp(96px, 14vw, 180px);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(26px, 4vw, 68px);
}

.project-item {
  grid-column: span 5;
}

.project-item.large {
  grid-column: span 8;
}

.project-item.vertical {
  grid-column: span 4;
}

.project-item:nth-child(5) {
  grid-column: 7 / span 6;
}

.project-item figure {
  margin: 0;
}

.project-item img,
.image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--panel);
}

.project-item.large img {
  aspect-ratio: 16 / 9;
}

.project-item.vertical img {
  aspect-ratio: 3 / 4;
}

.image-placeholder {
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.image-placeholder.tall {
  aspect-ratio: 3 / 4;
}

.project-meta {
  display: grid;
  gap: 4px;
  margin-top: 18px;
}

.project-meta p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-meta h3 {
  margin-bottom: 0;
}

.project-meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

.manifesto {
  padding: clamp(110px, 15vw, 210px) clamp(20px, 8vw, 140px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.manifesto h2 {
  max-width: 1120px;
  margin-bottom: clamp(34px, 5vw, 72px);
}

.manifesto p:not(.section-label) {
  max-width: 760px;
  margin-left: auto;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(36px, 8vw, 128px);
  padding: clamp(96px, 12vw, 170px) clamp(20px, 5vw, 84px);
}

.contact-panel {
  display: grid;
  gap: 14px;
}

.contact-card,
.contact-link {
  display: grid;
  gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.contact-card:last-child,
.contact-link:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-card span,
.contact-link span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card strong,
.contact-link strong {
  font-size: 1.18rem;
  font-weight: 500;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
}

.contact-actions a {
  min-height: 34px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 5vw, 84px);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 0;
    padding: 8px 0;
    background: var(--paper);
    border: 1px solid var(--line);
    transform: translateY(-12px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }

  .site-nav a {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero,
  .intro-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-figure {
    width: 100%;
    justify-self: stretch;
  }

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

  .column-grid.three,
  .service-list {
    grid-template-columns: 1fr;
  }

  .service-list article:nth-child(even),
  .service-list article:nth-child(odd) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .project-item,
  .project-item.large,
  .project-item.vertical,
  .project-item:nth-child(5) {
    grid-column: span 12;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 14px 16px;
  }

  .site-nav {
    top: 68px;
    right: 16px;
    left: 16px;
  }

  .hero {
    min-height: auto;
    padding: 112px 16px 64px;
  }

  h1 {
    font-size: clamp(4rem, 24vw, 7rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
  }

  .hero-figure img {
    height: 62vh;
  }

  .editorial-section,
  .manifesto,
  .contact-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .principles-list li {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
  }
}
