:root {
  --bg: #efefed;
  --surface: #f5f5f3;
  --text: #111111;
  --muted: #7f7f7a;
  --line: #d8d8d3;
  --footer: #050505;
  --footer-line: #4a4a46;
  --footer-text: #f2f2f0;
  --footer-muted: #a8a8a2;
  --pad-x: clamp(16px, 2vw, 28px);
  --gap: 16px;
  --hero-size: clamp(4rem, 14vw, 13rem);
  --section-title: clamp(1.4rem, 1.8vw, 2.4rem);
  --body-size: 15px;
  --small-size: 13px;
  --ease: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  font-size: var(--body-size);
  font-weight: 400;
  line-height: 1.5;
}

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

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

.section-shell {
  width: 100%;
  padding-inline: var(--pad-x);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(239, 239, 237, 0.94);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 18px var(--pad-x);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  display: block;
  height: 16px;
  width: auto;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.main-nav a,
.header-cta,
.footer-nav a {
  position: relative;
}

.main-nav a,
.header-cta,
.footer-nav a,
.project-form span,
.project-form button {
  font-size: 14px;
}

.main-nav a::after,
.header-cta::after,
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--ease);
}

.main-nav a:hover::after,
.header-cta:hover::after,
.footer-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  font-weight: 500;
  white-space: nowrap;
}

/* Mobile menu */

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  margin: 5px auto;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  background: var(--bg);
  padding: 0 var(--pad-x) 20px;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
}

.mobile-menu__nav a {
  font-size: 14px;
  line-height: 1.1;
}

/* Discipline */

.discipline {
  padding-bottom: 72px;
}

.discipline__grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(300px, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.discipline__image {
  width: 100%;
}

.discipline__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Shared text */

.section-title {
  margin: 0 0 14px;
  font-size: var(--section-title);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.section-title--stacked {
  line-height: 1.02;
}

.discipline__copy p,
.stage-panel p,
.footer-intro {
  max-width: 50ch;
}

.discipline__copy p + p {
  margin-top: 14px;
}

.tm {
  font-size: 0.56em;
  vertical-align: top;
}

/* Principles */

.principles {
  padding-bottom: 64px;
}

.principles__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.principle-card h3,
.stage-link,
.project-form button,
.footer-wordmark {
  font-weight: 500;
}

.principle-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.15;
}

.principle-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

/* Method */

.method__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  align-items: start;
}

.method__title {
  grid-column: 1 / 2;
}

.method__title .section-title {
  margin-bottom: 0;
}

.method__stages {
  grid-column: 2 / 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.method__panel {
  grid-column: 3 / 5;
  min-height: 120px;
  padding-left: clamp(18px, 2vw, 28px);
  border-left: 1px solid var(--line);
}

.stage-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: #9b9a95;
  padding: 0;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.15;
  cursor: pointer;
  transition: color var(--ease);
}

.stage-link strong {
  display: block;
  font-weight: 500;
}

.stage-link:hover,
.stage-link.is-active {
  color: var(--text);
}

.stage-panel {
  display: none;
}

.stage-panel.is-active {
  display: block;
}

/* Work strip */

.work-strip {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.6fr 1fr 1.4fr;
  gap: 0;
  width: 100%;
  min-height: 180px;
}

.work-strip__item {
  width: 100%;
  height: 100%;
}

/* Footer */

.site-footer {
  background: var(--footer);
  color: var(--footer-text);
  padding: 64px var(--pad-x) 18px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  align-items: start;
}

.site-footer__brand {
  grid-column: 1 / 2;
}

.site-footer__form-wrap {
  grid-column: 2 / 5;
}

.footer-wordmark {
  font-size: clamp(1.6rem, 2.3vw, 2.4rem);
  line-height: 0.86;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a,
.site-footer__bottom p {
  color: var(--footer-muted);
}

.footer-intro {
  margin: 0 0 18px;
}

.project-form__main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-form__left {
  grid-column: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-form__right {
  grid-column: 3 / 4;
}

.project-form label {
  display: block;
}

.project-form span {
  display: block;
  margin-bottom: 8px;
  color: var(--footer-text);
}

.project-form input,
.project-form textarea {
  width: 100%;
  border: 1px solid var(--footer-line);
  background: transparent;
  color: var(--footer-text);
  font: inherit;
  padding: 12px 14px;
  outline: none;
}

.project-form input:focus,
.project-form textarea:focus {
  border-color: #66665f;
}

.project-form textarea {
  min-height: 166px;
  resize: vertical;
}

.project-form__actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 16px;
}

.project-form button {
  border: 1px solid var(--footer-line);
  background: transparent;
  color: var(--footer-text);
  padding: 12px 26px;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.project-form button:hover {
  background: var(--footer-text);
  color: var(--footer);
  border-color: var(--footer-text);
}

.site-footer__bottom {
  margin-top: 64px;
  padding-top: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.social-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-mark img {
  width: 18px;
  height: 18px;
  opacity: 0.9;
  transition: opacity 220ms ease;
}

.social-mark img:hover {
  opacity: 1;
}

.site-footer__bottom p {
  margin: 0;
  font-size: 12px;
}

/* Responsive */

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

  .menu-toggle {
    display: inline-block;
  }

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

  .method__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "title ."
      "stages panel";
    gap: clamp(18px, 2vw, 28px);
    align-items: start;
  }

  .method__title {
    grid-area: title;
  }

  .method__stages {
    grid-area: stages;
  }

  .method__panel {
    grid-area: panel;
    border-left: 1px solid var(--line);
    border-top: 0;
    padding-left: clamp(18px, 2vw, 28px);
    padding-top: 0;
    margin-top: 0;
  }

  .work-strip {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .work-strip__item:nth-child(4),
  .work-strip__item:nth-child(5) {
    display: none;
  }

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

  .site-footer__brand {
    grid-column: 1 / 2;
  }

  .site-footer__form-wrap {
    grid-column: 2 / 3;
  }

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

  .project-form__left,
  .project-form__right {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .discipline__grid,
  .principles__grid,
  .method__grid,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .discipline__image {
    width: 50%;
  }

  .method__grid {
    grid-template-areas:
      "title"
      "stages"
      "panel";
  }

  .method__title,
  .method__stages,
  .method__panel,
  .site-footer__brand,
  .site-footer__form-wrap {
    grid-column: auto;
  }

  .method__panel {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 20px;
  }

  .work-strip {
    grid-template-columns: 1fr 1fr;
  }

  .work-strip__item:nth-child(3) {
    display: none;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-cta {
    font-size: 0.86rem;
  }

.site-footer__form-wrap {
  margin-top: 28px;
}
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}