:root {
  --paper: #f1f0eb;
  --paper-soft: #e8e7e1;
  --ink: #1b2421;
  --ink-soft: #4a5551;
  --moss: #536653;
  --moss-dark: #34453d;
  --earth: #a2694f;
  --blue-grey: #839290;
  --line: rgba(27, 36, 33, 0.18);
  --light-line: rgba(241, 240, 235, 0.25);
  --mono: "DM Mono", monospace;
  --sans: "Manrope", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(100% - 64px, 1360px);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background-color 250ms ease, border-color 250ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(241, 240, 235, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  width: min(100% - 64px, 1360px);
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.logo-mark {
  display: flex;
  width: 27px;
  height: 27px;
  align-items: end;
  gap: 3px;
  border: 1px solid var(--ink);
  padding: 4px;
}

.logo-mark span {
  display: block;
  width: 4px;
  background: var(--ink);
}

.logo-mark span:nth-child(1) {
  height: 45%;
}

.logo-mark span:nth-child(2) {
  height: 100%;
}

.logo-mark span:nth-child(3) {
  height: 70%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  transition: color 180ms ease;
}

.main-nav a:not(.nav-contact)::after {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--earth);
  content: "";
  transition: width 180ms ease;
}

.main-nav a:hover {
  color: var(--earth);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-contact {
  border: 1px solid var(--ink);
  padding: 9px 15px;
}

.nav-contact:hover {
  border-color: var(--earth);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 900px;
  padding-top: 170px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 30%, rgba(131, 146, 144, 0.2), transparent 22%),
    var(--paper);
}

.hero::after {
  position: absolute;
  right: -120px;
  bottom: -250px;
  width: 580px;
  height: 580px;
  border: 1px solid rgba(83, 102, 83, 0.18);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  gap: 75px;
}

.eyebrow,
.section-number,
.section-note,
.visual-caption,
.visual-foot,
.item-label,
.status {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  margin-bottom: 34px;
  gap: 18px;
  color: var(--moss);
}

.eyebrow span {
  color: var(--blue-grey);
}

h1 {
  max-width: 850px;
  margin-bottom: 29px;
  font-size: clamp(58px, 6.2vw, 96px);
  font-weight: 500;
  letter-spacing: -0.085em;
  line-height: 0.98;
}

em {
  color: var(--moss);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.07em;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 37px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-block;
  border: 1px solid var(--moss-dark);
  padding: 14px 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--moss-dark);
  color: var(--paper);
}

.button-primary:hover {
  background: var(--earth);
  border-color: var(--earth);
}

.text-link {
  color: var(--moss-dark);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link span {
  display: inline-block;
  margin-left: 6px;
  color: var(--earth);
  font-size: 16px;
  transition: transform 180ms ease;
}

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

.hero-visual {
  align-self: center;
  margin-top: 20px;
}

.visual-caption,
.visual-foot {
  display: flex;
  justify-content: space-between;
  color: var(--moss);
}

.visual-caption {
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.visual-frame {
  position: relative;
  height: 390px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.visual-frame::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  border-top: 1px dashed var(--line);
  content: "";
}

.visual-frame p {
  position: absolute;
  right: 25px;
  bottom: 18px;
  margin: 0;
  color: var(--earth);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.8;
  text-align: right;
  text-transform: uppercase;
}

.visual-orbit {
  position: absolute;
  border: 1px solid var(--moss);
  border-radius: 50%;
}

.visual-orbit-large {
  top: 39px;
  left: 25%;
  width: 310px;
  height: 310px;
}

.visual-orbit-small {
  top: 100px;
  left: calc(25% + 61px);
  width: 188px;
  height: 188px;
  border-color: var(--earth);
}

.visual-axis {
  position: absolute;
  top: 19px;
  left: calc(25% + 154px);
  height: 350px;
  border-left: 1px dashed var(--moss);
  transform: rotate(38deg);
}

.visual-core {
  position: absolute;
  top: 180px;
  left: calc(25% + 139px);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--earth);
}

.visual-foot {
  padding-top: 12px;
  color: var(--blue-grey);
}

.hero-index {
  position: absolute;
  right: 0;
  bottom: 31px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--blue-grey);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.index-line {
  width: 95px;
  border-top: 1px solid var(--blue-grey);
}

.section {
  padding: 120px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 68px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.section-number,
.section-note {
  margin: 0;
}

.section-number {
  color: var(--moss);
}

.section-note {
  color: var(--blue-grey);
  line-height: 1.7;
  text-align: right;
}

.display-heading {
  margin-bottom: 0;
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 1.02;
}

.intro-grid,
.collab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.7fr);
  gap: 100px;
}

.intro-copy,
.collab-copy {
  max-width: 670px;
}

.intro-copy p {
  color: var(--ink-soft);
}

.lead,
.large-copy {
  color: var(--ink) !important;
  font-size: 22px;
  line-height: 1.55;
}

.statement {
  display: grid;
  margin-top: 43px;
  padding: 22px 20px 5px 0;
  border-top: 1px solid var(--earth);
  grid-template-columns: 42px 1fr;
}

.statement-mark {
  color: var(--earth);
  font-size: 30px;
  line-height: 0.85;
}

.statement p {
  margin-bottom: 0;
  color: var(--moss-dark);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.45;
}

.work-lines {
  background: var(--moss-dark);
  color: var(--paper);
}

.work-lines .section-heading {
  border-color: var(--light-line);
}

.work-lines .section-number,
.work-lines em {
  color: #a8b7a4;
}

.work-lines .section-note {
  color: #a8b7a4;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 55px;
}

.section-title-row p {
  max-width: 370px;
  margin-bottom: 0;
  color: rgba(241, 240, 235, 0.7);
}

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

.work-card {
  min-height: 460px;
  padding: 25px 28px 30px;
  border: 1px solid var(--light-line);
  border-right: 0;
  transition: background-color 250ms ease, transform 250ms ease;
}

.work-card:last-child {
  border-right: 1px solid var(--light-line);
}

.work-card:hover {
  background: rgba(241, 240, 235, 0.07);
  transform: translateY(-6px);
}

.card-top {
  display: flex;
  justify-content: space-between;
  color: #a8b7a4;
  font-family: var(--mono);
  font-size: 10px;
}

.card-symbol {
  color: var(--earth);
  font-size: 24px;
  line-height: 0.6;
}

.work-card h3 {
  margin: 66px 0 31px;
  font-size: 33px;
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 1.1;
}

.work-card ul {
  padding: 0;
  color: rgba(241, 240, 235, 0.76);
  font-size: 14px;
  list-style: none;
}

.work-card li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 15px;
}

.work-card li::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  border-top: 1px solid var(--earth);
  content: "";
}

.residences {
  background: var(--paper-soft);
}

.residences-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1fr);
  gap: 100px;
}

.residences-title {
  display: flex;
  min-height: 550px;
  flex-direction: column;
  justify-content: space-between;
}

.residence-graphic {
  display: flex;
  width: 240px;
  height: 190px;
  align-items: end;
  gap: 10px;
}

.residence-graphic span {
  display: block;
  flex: 1;
  border: 1px solid var(--moss);
  border-bottom: 4px solid var(--moss);
}

.residence-graphic span:first-child {
  height: 75%;
}

.residence-graphic span:nth-child(2) {
  height: 100%;
  background: rgba(83, 102, 83, 0.1);
}

.residence-graphic span:last-child {
  height: 60%;
}

.residence-item {
  padding: 0 0 45px;
  border-bottom: 1px solid var(--line);
}

.residence-item + .residence-item {
  padding-top: 41px;
}

.item-label {
  display: flex;
  margin-bottom: 17px;
  gap: 18px;
  color: var(--earth);
}

.residence-item h3 {
  margin-bottom: 15px;
  font-size: 37px;
  font-weight: 500;
  letter-spacing: -0.07em;
}

.residence-item p {
  margin-bottom: 19px;
  color: var(--ink-soft);
}

.status {
  display: inline-block;
  border: 1px solid var(--moss);
  padding: 6px 9px;
  color: var(--moss);
}

.research {
  background: var(--earth);
  color: var(--paper);
}

.research .section-heading {
  border-color: var(--light-line);
}

.research .section-number,
.research .section-note {
  color: var(--paper);
}

.research-grid {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 95px;
}

.research-side {
  display: grid;
  align-content: start;
  grid-template-columns: 1fr 1fr;
  color: rgba(241, 240, 235, 0.78);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 2;
  text-transform: uppercase;
}

.research-side p {
  grid-column: 1 / -1;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--light-line);
  color: var(--paper);
}

.research-content .large-copy {
  max-width: 970px;
  color: var(--paper) !important;
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.research-content > p:last-child {
  max-width: 560px;
  margin: 29px 0 0 auto;
  padding-top: 15px;
  border-top: 1px solid var(--light-line);
  color: rgba(241, 240, 235, 0.85);
}

.territory {
  background: var(--paper);
}

.territory-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1fr);
  align-items: center;
  gap: 95px;
}

.territory-copy .section-number {
  margin-bottom: 65px;
}

.territory-copy .display-heading {
  margin-bottom: 44px;
}

.territory-copy > p:not(.section-number) {
  max-width: 710px;
  color: var(--ink-soft);
}

.territory-map {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(83, 102, 83, 0.06);
}

.map-label {
  position: absolute;
  z-index: 2;
  color: var(--moss);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.label-north {
  top: 20px;
  left: 20px;
}

.label-east {
  top: 20px;
  right: 20px;
}

.label-south {
  right: 20px;
  bottom: 20px;
  color: var(--earth);
}

.contour {
  position: absolute;
  border: 1px solid rgba(83, 102, 83, 0.45);
  border-radius: 46% 54% 68% 32% / 60% 41% 59% 40%;
  transform: rotate(-13deg);
}

.contour-one {
  inset: 70px -10px 20px 80px;
}

.contour-two {
  inset: 110px 35px 65px 120px;
}

.contour-three {
  inset: 150px 82px 112px 160px;
}

.contour-four {
  inset: 193px 130px 158px 202px;
}

.map-point {
  position: absolute;
  top: 49%;
  left: 58%;
  display: grid;
  width: 68px;
  height: 68px;
  border: 1px solid var(--earth);
  border-radius: 50%;
  place-items: center;
}

.map-point span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--earth);
}

.collaborations {
  background: #dfe2dd;
}

.collab-copy .large-copy {
  margin-bottom: 35px;
}

.site-footer {
  padding: 67px 0 29px;
  background: var(--ink);
  color: var(--paper);
}

.site-footer .section-number {
  color: #a8b7a4;
}

.footer-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding-bottom: 61px;
}

.footer-title {
  display: inline-block;
  margin-top: 35px;
  font-family: var(--serif);
  font-size: clamp(72px, 10vw, 142px);
  letter-spacing: -0.09em;
  line-height: 0.8;
  transition: color 180ms ease;
}

.footer-title span {
  color: var(--earth);
}

.footer-title:hover {
  color: #a8b7a4;
}

.footer-mark {
  display: grid;
  width: 100px;
  height: 100px;
  border: 1px solid var(--light-line);
  grid-template-columns: 1fr 1fr;
  place-items: center;
  color: #a8b7a4;
  font-family: var(--mono);
  font-size: 21px;
}

.footer-mark span:first-child {
  align-self: start;
  padding-top: 14px;
}

.footer-mark span:last-child {
  align-self: end;
  padding-bottom: 11px;
}

.footer-bottom {
  display: grid;
  padding-top: 18px;
  border-top: 1px solid var(--light-line);
  grid-template-columns: 0.75fr 1fr 1fr;
  color: rgba(241, 240, 235, 0.7);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  line-height: 2;
  text-transform: uppercase;
}

.footer-bottom div {
  display: flex;
  flex-direction: column;
}

.footer-bottom a {
  transition: color 180ms ease;
}

.footer-bottom a:hover {
  color: var(--earth);
}

.footer-bottom p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .hero {
    min-height: auto;
    padding-bottom: 120px;
  }

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

  .hero-visual {
    width: min(620px, 100%);
    margin-top: 14px;
  }

  .intro-grid,
  .collab-grid,
  .residences-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .residences-title {
    min-height: auto;
  }

  .residence-graphic {
    display: none;
  }

  .territory-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .territory-map {
    min-height: 460px;
  }
}

@media (max-width: 760px) {
  .container,
  .header-inner {
    width: min(100% - 36px, 1360px);
  }

  .header-inner {
    min-height: 69px;
  }

  .menu-toggle {
    position: relative;
    z-index: 22;
    display: grid;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    place-content: center;
    gap: 7px;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    border-top: 1px solid var(--ink);
    transition: transform 180ms ease;
  }

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

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

  .main-nav {
    position: fixed;
    inset: 0;
    display: flex;
    visibility: hidden;
    align-items: start;
    flex-direction: column;
    justify-content: center;
    padding: 45px 26px;
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
  }

  .main-nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    font-family: var(--sans);
    font-size: 29px;
    font-weight: 500;
    letter-spacing: -0.06em;
    text-transform: none;
  }

  .nav-contact {
    margin-top: 10px;
    padding: 9px 18px;
  }

  .hero {
    padding-top: 138px;
    padding-bottom: 93px;
  }

  h1 {
    font-size: clamp(58px, 16vw, 78px);
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }

  .visual-frame {
    height: 270px;
  }

  .visual-orbit-large {
    top: 25px;
    left: calc(50% - 110px);
    width: 220px;
    height: 220px;
  }

  .visual-orbit-small {
    top: 69px;
    left: calc(50% - 66px);
    width: 132px;
    height: 132px;
  }

  .visual-axis {
    top: 10px;
    left: 50%;
    height: 248px;
  }

  .visual-core {
    top: 125px;
    left: calc(50% - 12px);
    width: 24px;
    height: 24px;
  }

  .section {
    padding: 85px 0;
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .section-note {
    display: none;
  }

  .display-heading {
    font-size: clamp(44px, 13vw, 64px);
  }

  .lead,
  .large-copy {
    font-size: 19px;
  }

  .section-title-row {
    display: block;
  }

  .section-title-row p {
    margin-top: 20px;
  }

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

  .work-card {
    min-height: auto;
    border-right: 1px solid var(--light-line);
    border-bottom: 0;
  }

  .work-card:last-child {
    border-bottom: 1px solid var(--light-line);
  }

  .work-card h3 {
    margin-top: 45px;
  }

  .residence-item h3 {
    font-size: 32px;
  }

  .research-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .research-content .large-copy {
    font-size: 32px;
  }

  .territory-copy .section-number {
    margin-bottom: 44px;
  }

  .territory-map {
    min-height: 340px;
  }

  .contour-one {
    inset: 46px -51px 14px 37px;
  }

  .contour-two {
    inset: 79px -10px 49px 77px;
  }

  .contour-three {
    inset: 112px 27px 83px 115px;
  }

  .contour-four {
    inset: 143px 66px 118px 153px;
  }

  .footer-top {
    padding-bottom: 54px;
  }

  .footer-title {
    font-size: 90px;
  }

  .footer-mark {
    width: 65px;
    height: 65px;
    font-size: 14px;
  }

  .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
}

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

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