:root {
  --bg: #eee9df;
  --ink: #181815;
  --muted: #69665f;
  --line: rgba(24, 24, 21, 0.16);
  --paper: #f8f4ec;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::selection {
  color: var(--paper);
  background: var(--ink);
}

img {
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

.page-line {
  position: fixed;
  z-index: 20;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line);
  pointer-events: none;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 34px;
  color: var(--paper);
  mix-blend-mode: difference;
}

.brand {
  display: grid;
  gap: 1px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand span {
  font-size: 22px;
}

.brand small,
.site-header nav a,
.label,
.project-meta span,
.service-grid span,
.team-grid span,
.footer {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  gap: 28px;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  padding: 116px 34px 34px;
}

.hero-copy {
  align-self: center;
  padding-right: 7vw;
}

.label {
  margin: 0 0 24px;
  color: var(--muted);
}

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 10vw, 168px);
  line-height: 0.78;
  letter-spacing: -0.08em;
  font-weight: 520;
}

.hero h1 span {
  display: block;
  margin-left: 0.22em;
  font-style: italic;
  font-weight: 300;
}

.hero-image {
  align-self: stretch;
  margin: 0;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  min-height: 72vh;
  object-fit: cover;
}

.hero-note {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}

.hero-note p,
.studio-copy p,
.team-grid p,
.project-meta p,
.service-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.hero-note p {
  max-width: 560px;
}

.hero-note a {
  white-space: nowrap;
  font-weight: 700;
}

.statement {
  padding: 160px 34px;
}

.statement h2 {
  max-width: 1260px;
  margin: 0;
  font-size: clamp(38px, 6vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 420;
}

.work,
.services,
.studio,
.team,
.contact {
  padding: 120px 34px;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head h2,
.studio h2,
.contact h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 430;
}

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

.project {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 1px;
  min-height: 72vh;
  background: var(--ink);
  opacity: 0.45;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.project.in-view {
  opacity: 1;
  transform: translateY(0);
}

.project-meta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  background: var(--bg);
}

.project-meta h3 {
  margin: auto 0 18px;
  font-size: clamp(32px, 5vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  font-weight: 430;
}

.project img {
  width: 100%;
  height: 100%;
  min-height: 72vh;
  object-fit: cover;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.service-grid article {
  min-height: 420px;
  padding: 28px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.service-grid h3 {
  margin: 150px 0 16px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.service-grid strong {
  display: block;
  margin-top: 34px;
  font-size: 22px;
}

.studio,
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}

.studio-copy {
  align-self: end;
}

.studio-copy ul {
  display: grid;
  gap: 0;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.studio-copy li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 40px;
  background: var(--ink);
}

.team-grid article {
  min-height: 260px;
  padding: 26px;
  background: var(--bg);
}

.team-grid p {
  margin-top: 120px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 10px;
}

.contact-form span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 16px 0;
  background: transparent;
  color: var(--ink);
  outline: 0;
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  margin-top: 20px;
  border: 1px solid var(--ink);
  padding: 16px 28px;
  color: var(--bg);
  background: var(--ink);
  cursor: pointer;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 900px) {
  .page-line {
    display: none;
  }

  .site-header {
    padding: 22px 20px;
  }

  .site-header nav {
    display: none;
  }

  .hero,
  .section-head,
  .project,
  .service-grid,
  .studio,
  .team-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero,
  .work,
  .services,
  .studio,
  .team,
  .contact,
  .statement {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero h1 {
    font-size: 72px;
  }

  .hero-note {
    grid-column: auto;
    display: grid;
  }

  .project {
    min-height: auto;
  }

  .project img {
    min-height: 420px;
  }

  .service-grid article,
  .team-grid article {
    min-height: 250px;
  }

  .service-grid h3,
  .team-grid p {
    margin-top: 80px;
  }

  .footer {
    display: grid;
    padding: 26px 20px;
  }
}
