@font-face {
  font-family: "Cabinet Grotesk";
  src: url("../fonts/cabinet-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cabinet Grotesk";
  src: url("../fonts/cabinet-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cabinet Grotesk";
  src: url("../fonts/cabinet-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "General Sans";
  src: url("../fonts/generalsans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "General Sans";
  src: url("../fonts/generalsans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "General Sans";
  src: url("../fonts/generalsans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f2ee;
  --surface: #e7ebe8;
  --ink: #2c3b4a;
  --accent: #6f9f28;
  --slate: #3a4f63;
  --sage: #8b9a8c;
  --silver: #c9d0d4;
  --night: #1a242e;
  --cream: #f4f2ee;
  --font-display: "Cabinet Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "General Sans", "Avenir Next", "Segoe UI", sans-serif;
  --radius: 4px;
  --radius-sm: 2px;
  --space: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;
  --content: 1120px;
  --pad: clamp(20px, 4vw, 48px);
  --header: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:where(html) {
  -webkit-text-size-adjust: 100%;
}

:where(body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol) {
  margin: 0;
}

:where(ul, ol) {
  padding: 0;
  list-style: none;
}

:where(img, svg, video) {
  display: block;
  max-width: 100%;
  height: auto;
}

:where(button, input, textarea, select) {
  font: inherit;
  color: inherit;
}

html {
  scroll-behavior: smooth;
}

html.no-js .reveal {
  opacity: 1;
  transform: none;
}

body.lokdown {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}

body.lokdown.nav-open,
body.lokdown.contact-open {
  overflow: hidden;
}

:where(h1, h2, h3, h4) {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

a {
  color: inherit;
}

p + p {
  margin-top: 1em;
}

.wrap {
  width: min(var(--content), calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

.measure {
  max-width: 38rem;
}

.skip {
  position: absolute;
  left: var(--pad);
  top: 0;
  transform: translateY(-120%);
  background: var(--accent);
  color: var(--night);
  padding: 8px 14px;
  border-radius: var(--radius);
  z-index: 100;
}

.skip:focus {
  transform: translateY(12px);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(26 36 46 / 0.92);
  color: var(--cream);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(201 208 212 / 0.12);
}

.site-header__inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand__mark {
  width: 40px;
  height: 40px;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream);
}

.site-nav a:not(.btn):hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cream);
  border-radius: 1px;
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--accent {
  background: var(--accent);
  color: var(--night);
}

.btn--accent:hover {
  filter: brightness(1.08);
}

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgb(201 208 212 / 0.45);
}

.btn--ghost:hover {
  border-color: var(--cream);
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--slate);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.text-link:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
  padding: calc(var(--header) + 48px) 0 80px;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(26 36 46 / 0.92) 0%, rgb(26 36 46 / 0.72) 42%, rgb(26 36 46 / 0.18) 78%),
    linear-gradient(180deg, rgb(26 36 46 / 0.35) 0%, transparent 28%, rgb(26 36 46 / 0.55) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin-left: max(var(--pad), calc((100% - var(--content)) / 2));
  margin-right: auto;
  width: min(36rem, calc(100% - (var(--pad) * 2)));
}

.hero h1 {
  color: var(--cream);
}

.hero__lede {
  margin-top: 18px;
  max-width: 28rem;
  color: rgb(244 242 238 / 0.86);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-hero {
  position: relative;
  padding: calc(var(--header) + 56px) 0 64px;
}

.page-hero--photo {
  min-height: 62svh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
}

.page-hero--night {
  background: var(--night);
  color: var(--cream);
}

.page-hero--night h1,
.page-hero--photo h1 {
  color: var(--cream);
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(26 36 46 / 0.88) 0%, rgb(26 36 46 / 0.45) 60%, rgb(26 36 46 / 0.2) 100%);
}

.page-hero__content,
.page-hero--plain .wrap,
.page-hero--night .wrap {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.page-hero--plain .wrap,
.page-hero--night .wrap {
  max-width: var(--content);
}

.page-hero--plain .wrap > *:not(h1),
.page-hero--night .wrap > *:not(h1),
.page-hero__lede {
  max-width: 32rem;
}

.crumbs {
  padding: 18px 0 0;
  font-size: 0.88rem;
  color: var(--slate);
}

.crumbs a {
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.crumbs a:hover {
  color: var(--ink);
}

.page-hero__lede {
  margin-top: 16px;
  color: var(--slate);
  font-size: 1.08rem;
}

.page-hero--photo .page-hero__lede,
.page-hero--night .page-hero__lede {
  color: rgb(244 242 238 / 0.82);
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section--flush {
  padding-bottom: 0;
}

.section--surface {
  background: var(--surface);
}

.section--night {
  background: var(--night);
  color: var(--cream);
}

.section--night h2,
.section--night h3 {
  color: var(--cream);
}

.section--cta {
  padding-top: 0;
}

.lead {
  font-size: 1.2rem;
  color: var(--slate);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0;
  align-items: center;
}

.split__copy {
  padding: clamp(48px, 7vw, 96px) var(--pad) clamp(48px, 7vw, 96px) max(var(--pad), calc((100% - var(--content)) / 2));
}

.split__media img {
  width: 100%;
  height: min(640px, 78vw);
  object-fit: cover;
}

.split__media--break {
  margin-right: 0;
}

.practices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
  margin-top: 40px;
}

.practice {
  padding: 36px 0;
  border-top: 1px solid rgb(58 79 99 / 0.16);
}

.practice h3 {
  margin-bottom: 12px;
}

.manifesto {
  position: relative;
  overflow: hidden;
}

.manifesto__media {
  position: absolute;
  inset: 0;
}

.manifesto__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.manifesto__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(26 36 46 / 0.7), rgb(26 36 46 / 0.88));
}

.manifesto__inner {
  position: relative;
  z-index: 1;
}

.manifesto__intro {
  max-width: 36rem;
  margin: 18px 0 40px;
  color: rgb(244 242 238 / 0.82);
}

.pillars {
  display: grid;
  gap: 0;
  margin-bottom: 36px;
}

.pillar {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid rgb(201 208 212 / 0.18);
}

.pillar h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

.bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 540px;
  margin-top: 36px;
}

.bento__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  text-decoration: none;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 200px;
}

.bento__cell--image {
  grid-row: 1 / -1;
  color: var(--cream);
}

.bento__cell--image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento__cell--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgb(26 36 46 / 0.88));
}

.bento__copy {
  position: relative;
  z-index: 1;
}

.bento__cell--sage {
  background: var(--surface);
  border: 1px solid rgb(58 79 99 / 0.08);
}

.bento__cell--night {
  background: var(--night);
  color: var(--cream);
}

.bento__cell--night h3,
.bento__cell--image h3 {
  color: var(--cream);
}

.bento__cell p {
  margin-top: 8px;
  max-width: 28rem;
}

.bento__cell:hover h3 {
  color: var(--accent);
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 40px 0 0;
  border-top: 1px solid var(--silver);
}

.cta-band p {
  margin-top: 8px;
  color: var(--slate);
}

.story {
  display: grid;
  gap: 0;
}

.story__block {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid rgb(58 79 99 / 0.14);
}

.stack-article {
  border-top: 1px solid var(--silver);
}

.stack-article__row {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--silver);
}

.path-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0;
}

.path-row__item {
  padding: 8px 36px 8px 0;
  text-decoration: none;
  border-right: 1px solid rgb(58 79 99 / 0.14);
}

.path-row__item:first-child {
  padding-right: 48px;
}

.path-row__item:last-child {
  border-right: 0;
  padding-left: 36px;
  padding-right: 0;
}

.path-row__item:nth-child(2) {
  padding-left: 36px;
}

.path-row__item h3 {
  margin-bottom: 10px;
}

.path-row__item:hover h3 {
  color: var(--accent);
}

.bleed-photo {
  width: min(100%, calc(var(--content) + 18vw));
  margin-left: auto;
}

.bleed-photo img,
.bleed-photo--offset img {
  width: 100%;
  height: min(520px, 70vw);
  object-fit: cover;
}

.bleed-photo--offset {
  width: min(92%, calc(var(--content) + 8vw));
  margin-left: var(--pad);
}

.split-prose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.follow {
  margin-top: var(--space-xl);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.contact-phone {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.contact-phone a,
.contact-grid__info a {
  text-decoration: none;
}

.contact-phone a:hover,
.contact-grid__info a:hover {
  color: var(--slate);
}

.contact-meta {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}

.contact-meta dt {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 6px;
}

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

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.contact-modal.is-open {
  display: grid;
  place-items: center;
  padding: var(--pad);
}

.contact-modal[hidden] {
  display: none !important;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(26 36 46 / 0.72);
}

.contact-modal__panel {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: min(90svh, 840px);
  overflow: auto;
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
}

.contact-modal__title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  margin-bottom: 8px;
}

.contact-modal__lede {
  color: var(--slate);
  margin-bottom: 20px;
}

.contact-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--slate);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.contact-modal__close:hover {
  color: var(--ink);
}

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

.contact-form span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--slate);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgb(58 79 99 / 0.22);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 12px 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(111 159 40 / 0.25);
}

.contact-form .cf-turnstile {
  margin: 4px 0 2px;
}

.contact-form .btn {
  justify-self: start;
  margin-top: 4px;
}

.form-note {
  padding: 12px 14px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.form-note--ok {
  background: rgb(111 159 40 / 0.16);
}

.form-note--err {
  background: rgb(58 79 99 / 0.12);
}

.site-footer {
  background: var(--night);
  color: rgb(244 242 238 / 0.86);
  padding: 72px 0 28px;
}

.site-footer a {
  color: var(--cream);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgb(201 208 212 / 0.12);
}

.site-footer__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin: 14px 0 8px;
}

.site-footer__tag {
  max-width: 16rem;
  color: rgb(201 208 212 / 0.8);
}

.site-footer__label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}

.site-footer__base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  font-size: 0.9rem;
  color: rgb(201 208 212 / 0.7);
}

.site-footer__col .btn {
  margin-top: 16px;
}

.site-footer__base nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-footer__base button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--cream);
  cursor: pointer;
  font: inherit;
}

.site-footer__base button:hover {
  color: var(--accent);
}

button.text-link {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .split,
  .practices,
  .story__block,
  .stack-article__row,
  .split-prose,
  .contact-grid,
  .site-footer__inner,
  .path-row {
    grid-template-columns: 1fr;
  }

  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }

  .bento__cell--image {
    grid-row: auto;
    min-height: 320px;
  }

  .pillar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .path-row__item,
  .path-row__item:first-child,
  .path-row__item:nth-child(2),
  .path-row__item:last-child {
    border-right: 0;
    border-bottom: 1px solid rgb(58 79 99 / 0.14);
    padding: 24px 0;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .split__copy {
    padding: 56px var(--pad);
  }

  .hero__content {
    margin-left: var(--pad);
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: var(--night);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px var(--pad) 28px;
    gap: 16px;
    border-bottom: 1px solid rgb(201 208 212 / 0.12);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-footer__base {
    flex-direction: column;
  }
}

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

  .js .reveal,
  .js .reveal.is-in,
  .btn {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
