:root {
  --forest: #445043;
  --forest-surface: #556251;
  --paper: #f8f7f3;
  --paper-surface: #f1f0ea;
  --header-white: #fffefa;
  --stone: #8d958b;
  --border: #d8ddd5;
  --white-warm: #fffefa;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", Arial, sans-serif;
  --container: min(100% - 80px, 1360px);
  --narrow-container: min(100% - 80px, 1180px);
  --measure: 690px;
  --measure-narrow: 600px;
  --space-xs: 12px;
  --space-s: 20px;
  --space-m: 40px;
  --space-l: 72px;
  --space-xl: 116px;
  --h1: clamp(44px, 5.6vw, 82px);
  --h2: clamp(32px, 4.2vw, 60px);
  --h3: clamp(20px, 2vw, 28px);
  --body: clamp(16px, 1.3vw, 20px);
  --label: 12px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--forest);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--forest);
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.58;
  overflow-x: clip;
}

body.has-open-menu {
  overflow: hidden;
}

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

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

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

h1,
h2,
h3,
.m-brand {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  max-width: 1120px;
  font-size: var(--h1);
  line-height: 0.96;
}

h2 {
  font-size: var(--h2);
  line-height: 1.05;
}

.m-display-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 500;
  letter-spacing: 0.07em;
  line-height: 1.12;
  text-transform: uppercase;
}

.m-section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.12;
  text-transform: uppercase;
}

h3 {
  font-size: var(--h3);
  line-height: 1.18;
}

.m-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: 100%;
  padding: 28px 40px;
  color: var(--header-white);
  text-shadow: 0 1px 18px rgba(20, 28, 19, 0.32);
}

.m-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(33, 42, 32, 0.28), rgba(33, 42, 32, 0));
}

.m-brand {
  justify-self: start;
  max-width: min(42vw, 360px);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.08;
  text-wrap: balance;
}

.custom-logo {
  width: auto;
  max-height: 42px;
}

.m-nav__list {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.m-nav__list a,
.m-menu-button,
.m-button,
.m-project-card p,
.m-footer p,
.m-form label,
.m-form__note,
.m-project-hero dt,
.m-project-hero dd {
  font-family: var(--font-body);
  font-size: var(--label);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.m-menu-button {
  justify-self: end;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  color: var(--header-white);
}

.m-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 19;
  display: grid;
  align-items: center;
  justify-items: end;
  background: var(--forest);
  color: var(--paper);
  padding: 96px clamp(44px, 7vw, 112px);
}

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

.m-mobile-menu .m-nav__list {
  display: grid;
  gap: clamp(18px, 2.4vw, 32px);
  text-align: right;
  justify-items: end;
}

.m-mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 42px);
  letter-spacing: 0.055em;
  line-height: 0.95;
  text-transform: uppercase;
}

.m-language-switcher {
  position: absolute;
  right: clamp(44px, 7vw, 112px);
  bottom: 46px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.m-language-switcher a {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
}

.m-language-switcher a:not(.is-active) {
  opacity: 0.48;
}

.m-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--forest);
  color: var(--paper-surface);
}

.m-hero--compact {
  min-height: 76svh;
}

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

.m-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(33, 42, 32, 0.18);
}

.m-hero--compact img {
  filter: brightness(0.9) saturate(0.96);
}

.m-hero--compact::after {
  background:
    linear-gradient(180deg, rgba(68, 80, 67, 0.22) 0%, rgba(68, 80, 67, 0.04) 44%, rgba(68, 80, 67, 0.24) 100%),
    linear-gradient(90deg, rgba(68, 80, 67, 0.38) 0%, rgba(68, 80, 67, 0.12) 54%, rgba(68, 80, 67, 0.06) 100%);
}

.m-hero__content {
  position: relative;
  z-index: 1;
  width: var(--narrow-container);
  margin: 0 auto;
  padding: 0 0 70px;
  text-shadow: 0 2px 22px rgba(68, 80, 67, 0.42);
}

.m-hero--compact .m-hero__content {
  padding-bottom: clamp(70px, 8vw, 108px);
}

.m-hero--compact h1 {
  max-width: 920px;
  font-size: clamp(42px, 4.9vw, 68px);
  line-height: 1.02;
}

.m-kicker {
  margin-bottom: 18px;
}

.m-kicker,
.m-section__label {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.15;
  text-transform: uppercase;
}

.m-section {
  width: var(--narrow-container);
  margin: 0 auto;
  padding: 108px 0;
}

.m-intro {
  display: grid;
  grid-template-columns: minmax(180px, 0.44fr) minmax(420px, 0.62fr);
  gap: clamp(56px, 12vw, 180px);
  align-items: start;
}

.m-intro__text {
  max-width: var(--measure-narrow);
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.68;
}

.m-intro__text p + p,
.m-section__heading p + p,
.m-statement p + p {
  margin-top: 18px;
}

.m-intro__text .m-button {
  margin-top: 34px;
}

.m-section__label {
  color: var(--forest);
  max-width: 320px;
}

.m-section__heading {
  display: grid;
  grid-template-columns: minmax(560px, 0.9fr) minmax(340px, 0.5fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
  margin-bottom: var(--space-l);
}

.m-section__heading--stacked {
  grid-template-columns: minmax(620px, 0.9fr) minmax(340px, 0.48fr);
}

.m-section__heading--stacked .m-section__label {
  grid-column: 1 / -1;
}

.m-section__heading--single {
  display: block;
}

.m-section__heading p,
.m-statement > p,
.m-contact-cta p,
.m-content,
.m-intro__text {
  color: var(--forest);
}

.m-practice__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.m-practice-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(44px, 4.8vw, 76px);
  padding: 34px 28px 38px;
  border-right: 1px solid var(--border);
  transition: color 240ms ease, border-color 240ms ease;
}

.m-practice-card:last-child {
  border-right: 0;
}

.m-practice-card p {
  max-width: 330px;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--stone);
}

.m-practice-card:hover {
  color: var(--forest-surface);
  border-color: var(--forest);
}

.m-practice-card:hover p {
  color: var(--forest);
}

.m-button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: var(--space-m);
  padding: 0 0 4px;
  border: 1px solid currentColor;
  border-width: 0 0 1px;
  color: var(--forest);
  transition: background 220ms ease, color 220ms ease;
}

.m-button:hover {
  background: transparent;
  color: var(--stone);
}

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

.m-project-card img {
  width: 100%;
  aspect-ratio: 1.12 / 1;
  object-fit: cover;
  background: var(--paper-surface);
}

.m-project-card h3 {
  margin-top: 18px;
}

.m-project-card p {
  margin-top: 6px;
  color: var(--stone);
}

.m-process {
  display: grid;
  border-top: 1px solid var(--border);
}

.m-process article {
  display: grid;
  grid-template-columns: minmax(260px, 0.4fr) minmax(320px, 0.8fr);
  gap: var(--space-m);
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}

.m-process p {
  max-width: var(--measure);
}

.m-statement {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(320px, 0.52fr);
  gap: clamp(48px, 9vw, 120px);
  align-items: start;
}

.m-statement--with-image {
  grid-template-columns: 1fr;
  width: 100%;
  justify-items: stretch;
  text-align: left;
  gap: 64px;
  padding-bottom: 0;
}

.m-statement--with-image img {
  width: 100vw;
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.m-statement__copy {
  display: grid;
  grid-template-columns: minmax(420px, 0.68fr) minmax(320px, 0.42fr);
  align-items: end;
  width: var(--narrow-container);
  margin: 0 auto;
  gap: clamp(48px, 8vw, 120px);
}

.m-statement__copy > p {
  max-width: var(--measure-narrow);
  margin: 28px 0 0;
}

.m-statement__copy .m-section-title,
.m-statement__copy > p {
  grid-column: 1;
}

.m-territory {
  display: grid;
  grid-template-columns: 1fr;
  grid-column: 2;
  grid-row: 1 / span 2;
  gap: 26px;
  align-items: start;
  width: 100%;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.m-territory__item {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.m-territory__item strong {
  display: block;
  color: var(--forest);
  font: 600 clamp(15px, 1vw, 18px) / 1.25 var(--font-body);
}

.m-territory__item span {
  display: block;
  color: var(--stone);
  font: 400 clamp(16px, 1.15vw, 20px) / 1.45 var(--font-body);
}

.m-contact-cta {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(360px, 0.58fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: stretch;
  width: var(--narrow-container);
  margin: 0 auto;
  padding: var(--space-xl) 0;
}

.m-contact-cta img {
  width: 100%;
  max-width: 420px;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.m-contact-cta > div {
  display: grid;
  grid-template-rows: auto 1fr auto;
  max-width: 620px;
  height: 100%;
  padding-bottom: 0;
}

.m-contact-cta h2 + p {
  align-self: center;
  margin-top: 0;
}

.m-contact-cta .m-button {
  align-self: end;
  margin-top: 0;
}

.m-service-cover {
  position: relative;
  display: grid;
  align-items: end;
  width: 100vw;
  min-height: clamp(560px, 76svh, 780px);
  margin: 0 calc(50% - 50vw);
  overflow: hidden;
  background: var(--forest);
  color: var(--paper);
}

.m-service-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) saturate(0.96);
}

.m-service-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(68, 80, 67, 0.22) 0%, rgba(68, 80, 67, 0.04) 44%, rgba(68, 80, 67, 0.24) 100%),
    linear-gradient(90deg, rgba(68, 80, 67, 0.38) 0%, rgba(68, 80, 67, 0.12) 54%, rgba(68, 80, 67, 0.06) 100%);
}

.m-service-cover__content {
  position: relative;
  z-index: 1;
  width: var(--narrow-container);
  margin: 0 auto;
  padding: 0 0 76px;
  text-shadow: 0 2px 22px rgba(68, 80, 67, 0.42);
}

.m-service-cover__content h1 {
  max-width: 920px;
  font-size: clamp(42px, 4.9vw, 68px);
  line-height: 1.02;
}

.m-service-intro {
  padding-top: 108px;
  padding-bottom: 108px;
}

.m-service-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(420px, 0.58fr);
  gap: clamp(56px, 9vw, 128px);
  align-items: start;
  width: var(--narrow-container);
  margin: 0 auto;
  padding: 0 0 var(--space-xl);
}

.m-service-feature img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-surface);
}

.m-service-feature > div {
  display: grid;
  gap: 52px;
  padding-top: 10px;
}

.m-service-feature h2 {
  max-width: 760px;
}

.m-service-feature p {
  max-width: var(--measure);
  color: var(--forest);
}

.m-service-cta {
  padding-top: 88px;
}

.m-studio-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(420px, 0.58fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
  width: var(--narrow-container);
  margin: 0 auto;
  padding: var(--space-xl) 0 72px;
}

.m-studio-story img {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-surface);
}

.m-studio-story__copy {
  max-width: var(--measure);
  padding-top: 8px;
}

.m-studio-story__copy p {
  color: var(--forest);
  font-size: clamp(16px, 1vw, 18px);
  line-height: 1.72;
}

.m-studio-story__copy p + p {
  margin-top: 18px;
}

.m-studio-story__copy .m-section-title {
  margin-bottom: 28px;
}

.m-studio-story__copy .m-button {
  margin-top: 26px;
}

.m-studio-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: var(--narrow-container);
  margin: 0 auto;
  padding: 0 0 var(--space-xl);
}

.m-studio-metrics div {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 24px 18px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.m-studio-metrics strong {
  color: var(--forest);
  font-family: var(--font-display);
  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.m-studio-metrics span {
  margin-top: 10px;
  color: var(--stone);
  font: 500 10px / 1.55 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.m-team {
  width: var(--narrow-container);
  margin: 0 auto;
  padding: 0 0 var(--space-xl);
}

.m-team__intro {
  display: block;
  max-width: var(--measure);
  padding: 0 0 72px;
}

.m-team__intro p {
  max-width: var(--measure);
  margin-top: 34px;
  color: var(--forest);
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.68;
}

.m-founder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 44px);
}

.m-founder-card img,
.m-founder-card .m-team-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  background: var(--paper-surface);
}

.m-team-placeholder {
  border: 1px solid var(--border);
}

.m-founder-card h3 {
  margin-top: 18px;
  min-height: 2.36em;
}

.m-team-role,
.m-founder-card > p,
.m-employee-card__overlay p {
  color: var(--stone);
  font-family: var(--font-body);
}

.m-team-role {
  margin-top: 8px;
  min-height: 2.9em;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-transform: uppercase;
}

.m-founder-card > p:not(.m-team-role) {
  margin-top: 8px;
  max-width: var(--measure-narrow);
  font-size: clamp(15px, 0.95vw, 17px);
  line-height: 1.72;
}

.m-employee-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 84px;
}

.m-employee-card {
  position: relative;
  overflow: hidden;
  background: var(--paper-surface);
}

.m-employee-card img,
.m-employee-card .m-team-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1);
}

.m-employee-card__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  justify-items: center;
  padding: 28px 24px 42px;
  background: rgba(68, 80, 67, 0.82);
  color: var(--paper);
  text-align: center;
  opacity: 0;
  transition: opacity 240ms ease;
}

.m-employee-card:hover .m-employee-card__overlay,
.m-employee-card:focus-within .m-employee-card__overlay {
  opacity: 1;
}

.m-employee-card__overlay h3 {
  color: var(--paper);
}

.m-employee-card__overlay p {
  margin-top: 8px;
  color: var(--paper-surface);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
}

.m-employee-card__overlay h3 + p + p {
  margin-top: 18px;
}

.m-footer {
  width: var(--narrow-container);
  margin: 0 auto;
  padding: 72px 0 40px;
  border-top: 1px solid var(--border);
}

.m-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: space-between;
  gap: 32px;
  width: 100%;
}

.m-footer h2 {
  margin-bottom: 20px;
  font-size: 26px;
}

.m-footer p + p {
  margin-top: 12px;
}

.m-footer__bottom {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 72px;
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.m-footer__bottom a {
  color: inherit;
}

.m-page,
.m-project-single {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 100px;
}

.m-page-hero,
.m-project-hero {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(240px, 0.35fr);
  gap: var(--space-l);
  align-items: end;
  margin-bottom: var(--space-l);
}

.m-project-single .m-project-hero {
  width: var(--narrow-container);
  margin: 86px auto var(--space-l);
}

.m-project-hero dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.m-project-hero dt {
  color: var(--stone);
}

.m-project-hero dd {
  margin: 4px 0 0;
}

.m-legal {
  width: var(--narrow-container);
  margin: 0 auto;
  padding: 96px 0 120px;
}

.m-legal__header {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: var(--space-l);
  align-items: end;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.m-legal__header h1 {
  max-width: 760px;
  font-size: clamp(42px, 6.2vw, 96px);
}

.m-legal__content {
  max-width: 840px;
  margin-left: auto;
  padding-top: 64px;
}

.m-legal__content h2 {
  margin: 48px 0 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.m-legal__content p {
  color: var(--forest);
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.75;
}

.m-legal__content .m-legal-note {
  color: var(--stone);
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.m-not-found {
  min-height: 84svh;
  display: grid;
  align-items: center;
  width: var(--narrow-container);
  margin: 0 auto;
  padding: 132px 0 88px;
}

.m-not-found__inner {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(0, 1fr);
  column-gap: var(--space-l);
  align-items: start;
  padding-top: 42px;
  border-top: 1px solid var(--border);
}

.m-not-found__aside {
  color: var(--stone);
  font-family: var(--font-display);
  font-size: clamp(54px, 7vw, 118px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 0.95;
}

.m-not-found__content {
  max-width: 820px;
}

.m-not-found__content h1 {
  max-width: 760px;
  margin-top: 22px;
  font-size: clamp(38px, 4.5vw, 72px);
  line-height: 1.02;
}

.m-not-found__content > p:not(.m-kicker) {
  max-width: 620px;
  margin-top: 44px;
  color: var(--forest);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.6;
}

.m-not-found__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin-top: 58px;
}

.m-button--quiet {
  color: var(--stone);
}

.m-featured-image {
  width: 100vw;
  max-width: none;
  margin: 0 calc(50% - 50vw);
}

.m-featured-image img {
  width: 100%;
  max-height: 78svh;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.m-project-intro {
  width: var(--narrow-container);
  max-width: none;
  margin: 86px auto 0;
  color: var(--forest);
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 500;
  line-height: 1.58;
}

.m-project-intro p {
  max-width: var(--measure);
}

.m-project-intro + .m-content {
  margin-top: 86px;
}

.m-project-gallery {
  width: var(--narrow-container);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: var(--space-xl) auto 0;
}

.m-project-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-surface);
}

.m-project-gallery img:nth-child(3n + 1) {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.m-content {
  width: var(--narrow-container);
  max-width: none;
  margin: 0 auto;
}

.m-content > * {
  max-width: var(--measure);
}

.m-content p + p {
  margin-top: 1.4em;
}

.m-content strong,
.m-content b {
  color: var(--forest);
  font-weight: 600;
}

.m-credits {
  width: var(--narrow-container);
  max-width: none;
  margin: 14px auto 0;
  color: var(--stone);
  font-size: 12px;
  line-height: 1.5;
}

.m-credits span {
  color: var(--forest);
  font-weight: 600;
}

.m-contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.48fr) minmax(420px, 0.62fr);
  gap: clamp(64px, 10vw, 150px);
  align-items: start;
}

.m-contact-copy {
  max-width: 460px;
}

.m-contact-copy > p {
  margin-top: 34px;
  color: var(--forest);
  font-size: clamp(17px, 1.15vw, 19px);
  line-height: 1.68;
}

.m-contact-details {
  display: grid;
  gap: 18px;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.m-contact-details p {
  display: grid;
  gap: 7px;
  color: var(--forest);
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.45;
}

.m-contact-details span {
  color: var(--stone);
  font: 500 10px / 1.4 var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.m-form {
  display: grid;
  gap: 24px;
  padding-top: 2px;
}

.m-form label {
  display: grid;
  gap: 10px;
  color: var(--forest);
}

.m-form input,
.m-form textarea,
.m-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
  color: var(--forest);
  font: 400 17px/1.5 var(--font-body);
  padding: 0 0 13px;
  transition: border-color 180ms ease;
}

.m-form textarea {
  min-height: 150px;
  resize: vertical;
}

.m-form input:focus,
.m-form textarea:focus,
.m-form select:focus {
  outline: 0;
  border-color: var(--forest);
}

.m-form ::placeholder {
  color: rgba(141, 149, 139, 0.68);
}

.m-form-message {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--forest);
  font: 700 12px / 1.6 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.m-form-message--error {
  color: #7d4b42;
}

.m-checkbox {
  display: inline-grid;
  grid-template-columns: 15px auto;
  align-items: baseline;
  justify-content: start;
  justify-self: start;
  column-gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin-top: 8px;
  color: var(--forest);
  font: 700 12px / 1.5 var(--font-body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.m-checkbox input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--forest);
  transform: translateY(2px);
}

.m-checkbox a {
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.m-form__note {
  color: var(--stone);
  max-width: 460px;
}

.m-form button.m-button {
  justify-self: start;
  width: auto;
  border-color: currentColor;
  background: transparent;
  cursor: pointer;
  appearance: none;
}

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

.m-reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

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

  .m-reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  :root {
    --container: min(100% - 48px, 920px);
    --narrow-container: min(100% - 48px, 920px);
    --h1: clamp(44px, 8.2vw, 68px);
    --h2: clamp(34px, 6vw, 52px);
    --space-xl: 84px;
  }

  .m-header {
    grid-template-columns: 1fr auto;
    padding: 24px;
  }

  .m-intro,
  .m-section__heading,
  .m-statement,
  .m-contact-cta,
  .m-service-feature,
  .m-studio-story,
  .m-team__intro,
  .m-contact-layout,
  .m-page-hero,
  .m-project-hero,
  .m-legal__header,
  .m-not-found__inner {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .m-section {
    padding: 88px 0;
  }

  .m-section__heading--stacked .m-section__label {
    grid-column: auto;
  }

  .m-practice__grid,
  .m-process article {
    grid-template-columns: 1fr;
  }

  .m-project-grid,
  .m-project-gallery,
  .m-studio-metrics,
  .m-founder-grid,
  .m-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .m-footer__grid {
    justify-content: stretch;
    column-gap: 64px;
    row-gap: 44px;
  }

  .m-employee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .m-project-gallery img:nth-child(3n + 1) {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  .m-practice-card {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .m-practice-card:last-child {
    border-bottom: 0;
  }

  .m-studio-story img {
    max-width: none;
  }

  .m-contact-cta img {
    max-width: none;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .m-contact-cta > div {
    display: block;
  }

  .m-contact-cta h2 + p,
  .m-contact-cta .m-button {
    margin-top: 34px;
  }

  .m-territory {
    grid-template-columns: 1fr;
    grid-column: auto;
    grid-row: auto;
  }

  .m-statement__copy {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .m-statement__copy .m-section-title,
  .m-statement__copy > p {
    grid-column: auto;
  }

  .m-featured-image img {
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .m-project-single .m-project-hero,
  .m-project-intro,
  .m-project-intro + .m-content {
    margin-top: 72px;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100% - 32px, 560px);
    --narrow-container: min(100% - 32px, 560px);
    --h1: clamp(38px, 11.5vw, 54px);
    --h2: clamp(30px, 9.2vw, 42px);
    --space-xl: 72px;
  }

  .m-display-title {
    font-size: clamp(32px, 8.4vw, 42px);
  }

  .m-section-title,
  .m-kicker,
  .m-section__label {
    font-size: clamp(21px, 5.8vw, 26px);
  }

  .m-header {
    padding: 20px 16px;
  }

  .m-mobile-menu {
    padding: 88px 24px 48px;
  }

  .m-mobile-menu a {
    font-size: clamp(22px, 6.2vw, 30px);
  }

  .m-language-switcher {
    right: 24px;
    bottom: 28px;
    font-size: 10px;
  }

  .m-language-switcher a {
    font-size: inherit;
  }

  .m-brand {
    max-width: 190px;
    font-size: 17px;
    line-height: 1.08;
  }

  .m-hero,
  .m-hero--compact {
    min-height: 78svh;
  }

  .m-hero__content {
    padding-bottom: 48px;
  }

  .m-hero--compact h1,
  .m-service-cover__content h1 {
    font-size: clamp(38px, 10.8vw, 50px);
    line-height: 1.04;
  }

  .m-section,
  .m-contact-cta {
    padding: 72px 0;
  }

  .m-section__heading {
    margin-bottom: 48px;
  }

  .m-section__heading p,
  .m-intro__text,
  .m-team__intro p,
  .m-contact-copy > p,
  .m-project-intro {
    font-size: 17px;
    line-height: 1.65;
  }

  .m-contact-cta img {
    max-width: 100%;
    height: auto;
    aspect-ratio: 5 / 4;
  }

  .m-service-cover {
    min-height: 74svh;
  }

  .m-service-cover__content {
    padding-bottom: 54px;
  }

  .m-service-feature {
    padding-bottom: 72px;
  }

  .m-service-feature img {
    aspect-ratio: 5 / 4;
  }

  .m-service-feature > div {
    gap: 28px;
    padding-top: 0;
  }

  .m-employee-grid {
    grid-template-columns: 1fr;
    margin-top: 56px;
  }

  .m-practice-card {
    padding: 26px 0;
  }

  .m-statement--with-image {
    gap: 48px;
  }

  .m-statement--with-image img {
    aspect-ratio: 4 / 3;
  }

  .m-studio-story,
  .m-service-intro {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .m-studio-metrics,
  .m-founder-grid,
  .m-project-grid,
  .m-project-gallery,
  .m-footer__grid {
    grid-template-columns: 1fr;
  }

  .m-founder-card h3 {
    min-height: 0;
    overflow-wrap: break-word;
  }

  .m-team-role {
    min-height: 0;
  }

  .m-project-title {
    overflow-wrap: break-word;
  }

  .m-project-single .m-project-hero {
    margin-top: 56px;
  }

  .m-legal {
    padding-top: 72px;
    padding-bottom: 88px;
  }

  .m-legal__header {
    padding-bottom: 48px;
  }

  .m-legal__content {
    max-width: none;
    padding-top: 48px;
  }

  .m-not-found {
    min-height: 86svh;
    padding-top: 120px;
    padding-bottom: 72px;
  }

  .m-not-found__inner {
    padding-top: 32px;
  }

  .m-not-found__content h1 {
    margin-top: 18px;
    font-size: clamp(34px, 10vw, 48px);
  }

  .m-not-found__content > p:not(.m-kicker) {
    margin-top: 34px;
  }

  .m-not-found__actions {
    margin-top: 42px;
  }

  .m-project-intro,
  .m-project-intro + .m-content,
  .m-project-gallery {
    margin-top: 56px;
  }

  .m-contact-details {
    margin-top: 48px;
  }

  .m-footer {
    padding-top: 56px;
  }

  .m-footer__grid {
    gap: 32px;
  }

  .m-footer h2 {
    margin-bottom: 14px;
    font-size: 24px;
  }
}
