:root {
  --paper: #f4f2ec;
  --ink: #171714;
  --muted: #68675f;
  --line: #c9c6bc;
  --red: #ed513f;
  --green: #c7ef45;
  --white: #fffefa;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0;
}

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

.page-shell {
  width: min(calc(100% - 64px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 64px), var(--max));
  min-height: 84px;
  margin-inline: auto;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.wordmark span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 650;
}

.site-header nav a:not(.contact-link):hover,
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.contact-link {
  padding: 9px 15px;
  background: var(--ink);
  color: var(--paper);
}

.hero {
  min-height: min(780px, calc(100vh - 84px));
  padding: 84px 0 62px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kicker,
.section-number,
.project-index,
.quote-source {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.kicker {
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 1140px;
  margin: 34px 0 60px;
  font-size: clamp(56px, 8.4vw, 122px);
  line-height: 0.93;
  font-weight: 780;
}

.hero h1 em {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.hero-copy {
  max-width: 680px;
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
}

.round-link {
  display: grid;
  flex: 0 0 auto;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 28px;
  transition: background 160ms, color 160ms;
}

.round-link:hover {
  background: var(--ink);
  color: var(--paper);
}

.work-section {
  padding-top: 112px;
  background: var(--ink);
  color: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding-bottom: 64px;
}

.section-number {
  padding-top: 8px;
  color: var(--muted);
}

.section-heading h2 {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
}

.project {
  display: grid;
  width: min(calc(100% - 64px), var(--max));
  margin-inline: auto;
  border-top: 1px solid #45453f;
}

.project-destiny {
  grid-template-columns: 0.85fr 1.15fr;
  padding: 72px 0 112px;
}

.project-copy {
  padding-right: 64px;
}

.project-index {
  margin-bottom: 22px;
  color: #a5a49e;
}

.project h3 {
  margin: 0 0 22px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.98;
}

.project-lede {
  max-width: 580px;
  margin: 0;
  color: #d5d3ca;
  font-size: 19px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 7px 11px;
  border: 1px solid #57564f;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.destiny-visual {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: var(--green);
  color: var(--ink);
}

.signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  min-height: 480px;
}

.signal-grid span {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid rgb(23 23 20 / 24%);
  font-size: clamp(23px, 3vw, 43px);
  font-weight: 850;
  line-height: 1;
  overflow-wrap: anywhere;
}

.signal-grid span:nth-child(2),
.signal-grid span:nth-child(3) {
  align-items: flex-end;
  justify-content: flex-end;
}

.archive-note {
  position: absolute;
  inset: auto 22px 22px auto;
  width: min(280px, calc(100% - 44px));
  padding: 18px;
  background: var(--ink);
  color: var(--white);
}

.archive-note span,
.archive-note strong {
  display: block;
}

.archive-note span {
  margin-bottom: 4px;
  color: #aaa9a3;
  font-size: 11px;
  text-transform: uppercase;
}

.project-facts {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #45453f;
}

.project-facts p {
  margin: 0;
  padding: 18px 16px 18px 0;
  color: #d5d3ca;
  font-size: 13px;
}

.project-facts span {
  display: block;
  margin-bottom: 5px;
  color: #86857e;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-kana {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  padding: 112px 0;
}

.kana-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #dfe3e6;
}

.kana-visual img {
  position: absolute;
  width: 45%;
  border: 8px solid var(--ink);
  border-radius: 34px;
  box-shadow: 0 24px 60px rgb(0 0 0 / 22%);
}

.kana-visual img:first-child {
  top: 54px;
  left: 14%;
  z-index: 2;
  transform: rotate(-4deg);
}

.kana-visual img:last-child {
  right: 12%;
  bottom: -90px;
  transform: rotate(5deg);
}

.project-kana .project-copy {
  padding: 32px 0 32px 72px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-weight: 750;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.text-link span {
  transition: transform 160ms;
}

.more-work {
  padding: 56px 0 120px;
  border-top: 1px solid #45453f;
}

.future-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 30px;
  background: #45453f;
  border: 1px solid #45453f;
}

.future-projects div {
  display: grid;
  min-height: 180px;
  padding: 24px;
  background: var(--ink);
}

.future-projects span,
.future-projects small {
  color: #8c8b84;
  font-size: 11px;
  text-transform: uppercase;
}

.future-projects strong {
  align-self: center;
  max-width: 360px;
  font-size: 25px;
  line-height: 1.15;
}

.future-projects small {
  align-self: end;
}

.practice,
.about {
  padding-top: 120px;
  padding-bottom: 120px;
}

.compact-heading {
  border-bottom: 1px solid var(--line);
}

.practice-list {
  margin-left: 112px;
}

.practice-list article {
  display: grid;
  grid-template-columns: 54px 0.75fr 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.practice-list article > span {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
}

.practice-list h3 {
  margin: 0;
  font-size: 29px;
}

.practice-list p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
}

.quotes-section {
  padding: 112px 0;
  background: var(--red);
}

.quotes-layout {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 48px;
}

.quotes-layout .section-number {
  color: rgb(23 23 20 / 58%);
}

blockquote {
  margin: 28px 0 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
}

.quote-source {
  color: rgb(23 23 20 / 70%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  margin: 56px 0 0 112px;
}

.about-copy p {
  margin: 0 0 22px;
  font-size: 20px;
}

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

.timeline > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.timeline time,
.timeline span {
  color: var(--muted);
  font-size: 12px;
}

.timeline p,
.timeline strong,
.timeline span {
  display: block;
  margin: 0;
}

.contact-section {
  padding: 104px 0;
  background: var(--green);
}

.contact-section a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  font-size: clamp(44px, 7vw, 98px);
  font-weight: 800;
  line-height: 1;
}

.contact-section a span {
  font-size: 0.7em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 850px) {
  .page-shell,
  .site-header,
  .project {
    width: min(calc(100% - 40px), var(--max));
  }

  .site-header nav {
    gap: 16px;
  }

  .site-header nav a:not(.contact-link) {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 84px);
    padding-top: 54px;
  }

  .hero h1 {
    font-size: clamp(50px, 15vw, 76px);
  }

  .hero-bottom,
  .project-destiny,
  .project-kana,
  .quotes-layout,
  .about-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .round-link {
    width: 54px;
    height: 54px;
  }

  .section-heading {
    grid-template-columns: 45px 1fr;
    gap: 12px;
  }

  .project-destiny,
  .project-kana {
    gap: 42px;
    padding: 62px 0 80px;
  }

  .project-copy,
  .project-kana .project-copy {
    padding: 0;
  }

  .destiny-visual {
    min-height: 390px;
  }

  .signal-grid {
    min-height: 390px;
  }

  .project-facts {
    grid-column: auto;
  }

  .kana-visual {
    grid-row: 2;
    min-height: 500px;
  }

  .future-projects {
    grid-template-columns: 1fr;
  }

  .practice-list,
  .about-grid {
    margin-left: 0;
  }

  .practice-list article {
    grid-template-columns: 40px 1fr;
  }

  .practice-list article p {
    grid-column: 2;
  }

  .quotes-layout {
    gap: 54px;
  }

  .quotes-layout > div + div {
    padding-top: 44px;
    border-top: 1px solid rgb(23 23 20 / 25%);
  }

  .about-grid {
    gap: 56px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .page-shell,
  .site-header,
  .project {
    width: calc(100% - 28px);
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero h1 {
    margin-top: 26px;
    font-size: 47px;
  }

  .section-heading h2 {
    font-size: 38px;
  }

  .project h3 {
    font-size: 48px;
  }

  .project-facts {
    grid-template-columns: 1fr;
  }

  .kana-visual {
    min-height: 410px;
  }

  .kana-visual img {
    width: 56%;
    border-width: 5px;
    border-radius: 25px;
  }

  .kana-visual img:first-child {
    left: 4%;
  }

  .kana-visual img:last-child {
    right: 2%;
  }

  .contact-section a {
    align-items: flex-end;
    font-size: 43px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
