:root {
  --carbon: #151a1b;
  --green: #4c8b68;
  --green-light: #78ab8d;
  --ivory: #f7f4ec;
  --mist: #dce5de;
  --slate: #68716d;
  --white: #ffffff;
  --line: rgba(21, 26, 27, 0.16);
  --shell: min(1280px, calc(100vw - 96px));
  --font: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--carbon);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--green);
  color: var(--white);
}

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

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

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

h1,
h2,
h3 {
  line-height: 1.06;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--white);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(21, 26, 27, 0.12);
  background: rgba(247, 244, 236, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  width: 204px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.desktop-nav a,
.header-contact,
.text-link {
  position: relative;
}

.desktop-nav a::after,
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 11px 15px;
  border: 1px solid var(--carbon);
  font-size: 12px;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease;
}

.header-contact:hover,
.header-contact:focus-visible {
  background: var(--carbon);
  color: var(--ivory);
}

.mobile-menu {
  display: none;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 820px;
  padding: 178px max(48px, calc((100vw - 1280px) / 2)) 58px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.07fr 0.93fr;
  grid-template-rows: 1fr auto;
  gap: 56px 64px;
  align-items: center;
}

.hero-grid,
.contact-grid {
  position: absolute;
  inset: 84px 0 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(21, 26, 27, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 26, 27, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.hero-copy,
.hero-system,
.hero-index {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 32px;
  font-size: clamp(68px, 8.2vw, 124px);
  font-weight: 700;
  letter-spacing: -0.065em;
}

.hero h1 span {
  display: block;
  color: var(--green);
  font-weight: 500;
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 34px;
  color: #39403e;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.55;
}

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

.button {
  min-height: 52px;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.button-primary {
  background: var(--carbon);
  color: var(--ivory);
  border: 1px solid var(--carbon);
  transition: background 180ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green);
  border-color: var(--green);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}

.hero-system {
  min-height: 390px;
  display: grid;
  grid-template-columns: 1fr 68px 1fr;
  align-items: center;
}

.system-node {
  position: relative;
  height: 218px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 2px solid var(--carbon);
  background: rgba(247, 244, 236, 0.72);
}

.system-node-left {
  border-right: 0;
}

.system-node-right {
  border-left: 0;
}

.system-node-left::after,
.system-node-right::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 34px;
  height: 2px;
  background: var(--carbon);
}

.system-node-left::after {
  right: -34px;
}

.system-node-right::before {
  left: -34px;
}

.system-node span {
  margin-bottom: 5px;
  color: var(--slate);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.system-node strong {
  font-size: 18px;
}

.system-axis {
  position: relative;
  z-index: 2;
  height: 290px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
}

.system-axis span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.hero-index {
  grid-column: 1 / -1;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 36px;
  color: var(--slate);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 60px 1fr;
  color: var(--slate);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker p {
  margin: 0;
}

.section-kicker-light {
  border-color: rgba(247, 244, 236, 0.22);
  color: var(--green-light);
}

.about {
  padding-block: 108px 126px;
}

.about-content {
  padding-top: 82px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 100px;
  align-items: center;
}

.about-symbol {
  min-height: 360px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(21, 26, 27, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 26, 27, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
}

.about-symbol img {
  width: 220px;
}

.about-copy h2,
.services-intro h2,
.principles-layout h2 {
  margin-bottom: 30px;
  font-size: clamp(42px, 5vw, 74px);
  letter-spacing: -0.055em;
}

.about-copy h2 span,
.services-intro h2 span,
.principles-layout h2 span {
  display: block;
  color: var(--green);
  font-weight: 500;
}

.about-copy > p {
  max-width: 720px;
  color: #3d4542;
  font-size: 18px;
  line-height: 1.75;
}

.acting,
.method {
  padding-block: 104px 112px;
  background: var(--carbon);
  color: var(--ivory);
}

.acting-heading {
  padding-block: 74px 82px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: end;
}

.acting-heading h2 {
  margin: 0;
  font-size: clamp(54px, 7.2vw, 102px);
  letter-spacing: -0.06em;
}

.acting-heading h2 span {
  display: block;
  color: var(--green-light);
  font-weight: 500;
}

.acting-heading p {
  margin: 0;
  color: #bcc7c0;
  font-size: 17px;
  line-height: 1.7;
}

.acting-map {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid rgba(247, 244, 236, 0.2);
}

.acting-map article {
  min-height: 230px;
  padding: 32px 26px;
  border-right: 1px solid rgba(247, 244, 236, 0.2);
}

.acting-map article:last-child {
  border-right: 0;
}

.acting-map span {
  display: block;
  margin-bottom: 82px;
  color: var(--green-light);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.acting-map p {
  margin: 0;
  color: #c6cec9;
  font-size: 14px;
}

.services {
  padding-block: 108px 126px;
}

.services-intro {
  padding-block: 74px 84px;
  display: grid;
  grid-template-columns: 1.1fr 0.6fr;
  gap: 120px;
  align-items: end;
}

.services-intro h2 {
  margin: 0;
}

.services-intro p {
  margin: 0;
  color: var(--slate);
}

.service-list {
  border-top: 1px solid var(--carbon);
}

.service-row {
  min-height: 130px;
  padding: 32px 0;
  display: grid;
  grid-template-columns: 70px 1fr 1.1fr 36px;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: padding 200ms ease, background 200ms ease;
}

.service-row:hover {
  padding-inline: 18px;
  background: rgba(220, 229, 222, 0.32);
}

.service-number {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.service-row h3 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 36px);
  letter-spacing: -0.035em;
}

.service-row p {
  margin: 0;
  color: var(--slate);
  font-size: 14px;
}

.service-arrow {
  justify-self: end;
  color: var(--green);
  font-size: 22px;
}

.presence {
  min-height: 730px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--mist);
}

.presence-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 86px 1fr;
  align-items: center;
  background:
    linear-gradient(rgba(21, 26, 27, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 26, 27, 0.07) 1px, transparent 1px),
    var(--ivory);
  background-size: 54px 54px;
}

.bracket {
  width: 68%;
  height: 310px;
  border: 38px solid var(--carbon);
}

.bracket-left {
  justify-self: end;
  border-right: 0;
}

.bracket-right {
  justify-self: start;
  border-left: 0;
  border-color: var(--green);
}

.bridge-line {
  position: relative;
  z-index: 2;
  height: 390px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
}

.bridge-line span {
  writing-mode: vertical-rl;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.presence-copy {
  padding: 96px max(48px, calc((100vw - 1280px) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.presence-copy h2 {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: clamp(44px, 5vw, 72px);
  letter-spacing: -0.055em;
}

.presence-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: #46504c;
  font-size: 17px;
  line-height: 1.75;
}

.presence-copy ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(21, 26, 27, 0.15);
}

.presence-copy li {
  padding: 15px 0 15px 24px;
  border-bottom: 1px solid rgba(21, 26, 27, 0.15);
  position: relative;
  font-size: 14px;
}

.presence-copy li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--green);
}

.method {
  background: #1d2423;
}

.method-heading {
  padding-block: 70px 72px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
}

.method-heading h2 {
  margin: 0;
  font-size: clamp(50px, 6.8vw, 92px);
  letter-spacing: -0.06em;
}

.method-heading p {
  max-width: 360px;
  margin: 0;
  color: #bcc7c0;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(247, 244, 236, 0.22);
}

.method-grid article {
  min-height: 300px;
  padding: 32px 32px 40px;
  border-right: 1px solid rgba(247, 244, 236, 0.22);
}

.method-grid article:last-child {
  border-right: 0;
}

.method-grid span {
  color: var(--green-light);
  font-size: 11px;
  font-weight: 800;
}

.method-grid h3 {
  margin: 112px 0 14px;
  font-size: 32px;
}

.method-grid p {
  max-width: 290px;
  margin: 0;
  color: #bac4be;
}

.principles {
  padding-block: 112px 128px;
}

.principles-layout {
  padding-top: 78px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 120px;
}

.principles-layout > div > p {
  max-width: 620px;
  color: var(--slate);
  font-size: 17px;
}

.principles-layout ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--carbon);
}

.principles-layout li {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 600;
}

.principles-layout li span {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
}

.contact {
  position: relative;
  overflow: hidden;
  padding-block: 116px 128px;
  background: var(--green);
  color: var(--white);
}

.contact-grid {
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.34) 1px, transparent 1px);
  mask-image: none;
}

.contact-content {
  position: relative;
  z-index: 1;
}

.contact .eyebrow {
  color: var(--ivory);
}

.contact h2 {
  margin-bottom: 28px;
  font-size: clamp(58px, 8vw, 112px);
  letter-spacing: -0.065em;
}

.contact h2 span {
  display: block;
  font-weight: 400;
}

.contact-content > p:not(.eyebrow) {
  max-width: 580px;
  margin-bottom: 44px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.contact-email {
  padding-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.8);
  font-size: clamp(18px, 2.3vw, 30px);
  font-weight: 700;
}

.site-footer {
  padding: 70px 48px 28px;
  background: var(--carbon);
  color: var(--ivory);
}

.footer-main {
  padding-bottom: 68px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 48px;
}

.footer-main img {
  width: 255px;
}

.footer-main p {
  margin: 0;
  color: var(--green-light);
  font-size: 18px;
}

.footer-main nav {
  display: flex;
  gap: 24px;
  color: #c5cec8;
  font-size: 12px;
}

.footer-legal-trigger {
  appearance: none;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}

.footer-legal-trigger:hover,
.footer-legal-trigger:focus-visible {
  border-bottom-color: var(--green-light);
  color: var(--ivory);
}

.footer-meta {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(247, 244, 236, 0.18);
  color: #98a39d;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-dialog {
  width: min(calc(100% - 40px), 680px);
  max-height: min(80vh, 720px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(21, 26, 27, 0.18);
  background: var(--ivory);
  color: var(--carbon);
  box-shadow: 0 26px 80px rgba(21, 26, 27, 0.28);
}

.legal-dialog::backdrop {
  background: rgba(21, 26, 27, 0.76);
  backdrop-filter: blur(4px);
}

.legal-dialog-panel {
  position: relative;
  padding: 56px 60px 60px;
  border-top: 5px solid var(--green);
}

.legal-dialog-kicker {
  margin: 0 0 26px;
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-dialog h2 {
  margin: 0 64px 22px 0;
  font-size: clamp(38px, 6vw, 62px);
  letter-spacing: -0.055em;
}

.legal-dialog-panel > p:last-child {
  max-width: 550px;
  margin: 0;
  color: var(--slate);
  font-size: 16px;
  line-height: 1.7;
}

.legal-dialog-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--carbon);
  background: transparent;
  color: var(--carbon);
  cursor: pointer;
  font: 400 28px/1 var(--font);
}

.legal-dialog-close:hover,
.legal-dialog-close:focus-visible {
  background: var(--carbon);
  color: var(--ivory);
}

html.has-legal-dialog,
html.has-legal-dialog body {
  overflow: hidden;
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 48px, 760px);
  }

  .site-header {
    height: 74px;
    padding-inline: 24px;
    grid-template-columns: 1fr auto;
  }

  .brand {
    width: 180px;
  }

  .desktop-nav,
  .header-contact {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu summary {
    cursor: pointer;
    list-style: none;
    padding: 9px 12px;
    border: 1px solid var(--carbon);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    padding: 10px;
    display: grid;
    background: var(--ivory);
    border: 1px solid var(--carbon);
    box-shadow: 0 18px 40px rgba(21, 26, 27, 0.14);
  }

  .mobile-menu nav a {
    padding: 11px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    font-weight: 700;
  }

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

  .hero {
    min-height: auto;
    padding: 140px 24px 46px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 46px;
  }

  .hero h1 {
    font-size: clamp(62px, 14vw, 96px);
  }

  .hero-system {
    min-height: 310px;
  }

  .hero-index {
    grid-column: 1;
    flex-wrap: wrap;
  }

  .about-content,
  .acting-heading,
  .services-intro,
  .principles-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-symbol {
    min-height: 300px;
  }

  .acting-map {
    grid-template-columns: 1fr 1fr;
  }

  .acting-map article:nth-child(2) {
    border-right: 0;
  }

  .acting-map article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(247, 244, 236, 0.2);
  }

  .service-row {
    grid-template-columns: 54px 1fr 36px;
  }

  .service-row p {
    grid-column: 2 / -1;
  }

  .service-arrow {
    grid-column: 3;
    grid-row: 1;
  }

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

  .presence-visual {
    min-height: 480px;
  }

  .presence-copy {
    padding: 80px 24px;
  }

  .method-heading {
    align-items: start;
    flex-direction: column;
  }

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

  .method-grid article {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid rgba(247, 244, 236, 0.22);
  }

  .method-grid h3 {
    margin-top: 70px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main nav {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 36px);
  }

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

  .hero-system {
    min-height: 240px;
    grid-template-columns: 1fr 48px 1fr;
  }

  .system-node {
    height: 160px;
    padding: 15px;
  }

  .system-node strong {
    font-size: 13px;
  }

  .system-node-left::after,
  .system-node-right::before {
    width: 24px;
  }

  .system-node-left::after {
    right: -24px;
  }

  .system-node-right::before {
    left: -24px;
  }

  .system-axis {
    height: 210px;
  }

  .hero-index {
    gap: 15px 24px;
  }

  .about,
  .services,
  .principles {
    padding-block: 82px 90px;
  }

  .about-content,
  .services-intro,
  .principles-layout {
    padding-top: 56px;
  }

  .about-symbol img {
    width: 170px;
  }

  .acting,
  .method {
    padding-block: 82px 90px;
  }

  .acting-heading {
    padding-block: 58px;
  }

  .acting-map {
    grid-template-columns: 1fr;
  }

  .acting-map article {
    min-height: 175px;
    border-right: 0;
    border-bottom: 1px solid rgba(247, 244, 236, 0.2);
  }

  .acting-map span {
    margin-bottom: 48px;
  }

  .service-row {
    grid-template-columns: 36px 1fr 24px;
    gap: 16px;
  }

  .presence-visual {
    min-height: 350px;
    grid-template-columns: 1fr 58px 1fr;
  }

  .bracket {
    height: 210px;
    border-width: 26px;
  }

  .bridge-line {
    height: 270px;
  }

  .site-footer {
    padding-inline: 20px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-main nav {
    grid-column: auto;
    flex-direction: column;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .legal-dialog-panel {
    padding: 42px 28px 36px;
  }

  .legal-dialog-close {
    top: 20px;
    right: 20px;
  }
}

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

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