:root {
  --forest: #173c29;
  --forest-deep: #0c2418;
  --chlorophyll: #a3cf3a;
  --teal: #227f88;
  --paper: #f3f0e6;
  --paper-strong: #e8e4d8;
  --ink: #0c1b12;
  --muted: #526056;
  --white: #ffffff;
  --line: rgba(12, 27, 18, 0.18);
  --line-light: rgba(255, 255, 255, 0.24);
  --focus: #d5ff68;
  --header-height: 86px;
  --container: 1320px;
  --gutter: clamp(1rem, 4vw, 4.5rem);
  --section-space: clamp(5rem, 10vw, 10rem);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

::selection {
  color: var(--forest-deep);
  background: var(--chlorophyll);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  padding: 0.8rem 1rem;
  color: var(--white);
  background: var(--forest-deep);
  transform: translateY(-180%);
}

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

.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(12, 27, 18, 0.12);
  background: rgba(243, 240, 230, 0.96);
  backdrop-filter: blur(16px);
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 14px 30px rgba(12, 27, 18, 0.08);
}

.page-home .site-header {
  position: fixed;
  inset: 0 0 auto;
  width: 100%;
}

.page-home .site-header:not(.is-scrolled) {
  color: var(--white);
  border-bottom-color: transparent;
  background:
    linear-gradient(90deg, rgba(243, 240, 230, 0.68) 0, rgba(243, 240, 230, 0.3) 160px, rgba(243, 240, 230, 0) 330px),
    rgba(3, 18, 11, 0.3);
  box-shadow: none;
  -webkit-backdrop-filter: blur(8px) saturate(0.92);
  backdrop-filter: blur(8px) saturate(0.92);
}

.page-home .site-header:not(.is-scrolled) .brand-link img {
  filter: none;
}

.page-home .site-header:not(.is-scrolled) .desktop-nav a {
  color: var(--white);
  text-shadow: 0 1px 4px rgba(3, 18, 11, 0.92), 0 0 12px rgba(3, 18, 11, 0.52);
}

.page-home .site-header:not(.is-scrolled) .header-cta {
  color: var(--white);
  border-color: var(--forest-deep);
  background: var(--forest-deep);
  box-shadow: 0 8px 24px rgba(12, 36, 24, 0.16);
}

.page-home .site-header:not(.is-scrolled) .header-cta:hover {
  background: #214d36;
}

.page-home .site-header:not(.is-scrolled) .menu-toggle {
  color: var(--forest-deep);
  border-color: rgba(12, 27, 18, 0.22);
  background: rgba(243, 240, 230, 0.72);
  box-shadow: 0 6px 20px rgba(3, 18, 11, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.page-home.menu-open .site-header:not(.is-scrolled) {
  border-bottom-color: rgba(12, 27, 18, 0.14);
  background: rgba(243, 240, 230, 0.98);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(108px, 140px) 1fr auto;
  align-items: center;
  height: 100%;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.brand-link img {
  width: 96px;
  height: auto;
}

.desktop-nav {
  justify-self: center;
}

.desktop-nav ul,
.footer-nav,
.solution-list,
.method-list,
.footer-meta,
.contact-list,
.detail-index,
.project-factors {
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.2rem);
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #233b2d;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.desktop-nav a::after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  margin-inline-start: 0.45rem;
  background: currentColor;
  transition: width 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  width: 1.35rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.language-switcher {
  position: relative;
}

.language-switcher summary {
  display: inline-flex;
  width: 46px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--forest-deep);
  background: rgba(243, 240, 230, 0.72);
  font-size: 0.74rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  list-style: none;
  cursor: pointer;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher[open] summary {
  border-color: var(--forest);
  color: var(--white);
  background: var(--forest);
}

.language-menu {
  position: absolute;
  z-index: 120;
  inset-block-start: calc(100% + 0.65rem);
  inset-inline-end: 0;
  width: 210px;
  margin: 0;
  padding: 0.45rem;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(243, 240, 230, 0.98);
  box-shadow: 0 18px 45px rgba(3, 18, 11, 0.22);
  list-style: none;
  backdrop-filter: blur(16px);
}

.language-menu a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-inline: 0.8rem;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.language-menu a:hover,
.language-menu a[aria-current="true"] {
  color: var(--white);
  background: var(--forest);
}

.language-menu a span:last-child {
  color: var(--teal);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.language-menu a:hover span:last-child,
.language-menu a[aria-current="true"] span:last-child {
  color: var(--chlorophyll);
}

.page-home .site-header:not(.is-scrolled) .language-switcher summary {
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
  background: rgba(3, 18, 11, 0.34);
  text-shadow: 0 1px 6px rgba(3, 18, 11, 0.88);
}

.page-home .site-header:not(.is-scrolled) .language-switcher[open] summary {
  border-color: var(--paper);
  color: var(--forest-deep);
  background: var(--paper);
  text-shadow: none;
}

.menu-toggle {
  display: none;
  width: 50px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--forest);
  background: transparent;
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  position: fixed;
  z-index: 90;
  inset: var(--header-height) 0 0;
  display: none;
  overflow-y: auto;
  padding: 2rem var(--gutter) max(2rem, env(safe-area-inset-bottom));
  color: var(--white);
  background: var(--forest-deep);
}

.mobile-nav[data-open="true"] {
  display: block;
}

.mobile-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav li {
  border-bottom: 1px solid var(--line-light);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  font-size: clamp(1.15rem, 5vw, 1.55rem);
  font-weight: 650;
  text-decoration: none;
}

.mobile-nav a svg {
  width: 20px;
  height: 20px;
}

.mobile-language-switcher {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
}

.mobile-language-switcher > p {
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-language-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(44px, 1fr));
  gap: 0.55rem;
}

.mobile-nav .mobile-language-grid a {
  min-height: 48px;
  justify-content: center;
  border: 1px solid var(--line-light);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.mobile-nav .mobile-language-grid a[aria-current="true"] {
  border-color: var(--chlorophyll);
  color: var(--forest-deep);
  background: var(--chlorophyll);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 50px;
  padding: 0.82rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button svg,
.text-link svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  transition: transform 180ms ease;
}

.button:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.button:hover svg,
.text-link:hover svg {
  transform: translateX(3px);
}

.button-primary {
  color: var(--forest-deep);
  background: var(--chlorophyll);
}

.button-primary:hover {
  background: #b5df4b;
}

.button-dark {
  color: var(--white);
  background: var(--forest-deep);
}

.button-dark:hover {
  background: #214d36;
}

.button-light {
  color: var(--forest-deep);
  background: var(--white);
}

.button-outline {
  color: inherit;
  border-color: currentColor;
  background: transparent;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-height));
  color: var(--white);
  background: var(--forest-deep);
}

.hero-grid {
  display: block;
  min-height: calc(100svh - var(--header-height));
}

.hero-copy {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: calc(100svh - var(--header-height));
  place-items: center;
  padding: clamp(4rem, 8vw, 8rem) var(--gutter);
  background: var(--forest);
}

.page-home .hero,
.page-home .hero-grid,
.page-home .hero-copy {
  min-height: 100svh;
}

.hero-copy::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(3, 24, 15, 0.78) 0%, rgba(3, 25, 16, 0.63) 42%, rgba(3, 22, 14, 0.34) 74%, rgba(3, 18, 11, 0.24) 100%),
    linear-gradient(180deg, rgba(2, 14, 9, 0.42) 0%, transparent 28%, transparent 68%, rgba(2, 14, 9, 0.54) 100%);
  pointer-events: none;
}

.hero-copy-media {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background-color: var(--forest);
  background-image: var(--hero-poster, none);
  background-position: center 44%;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero-copy-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.015);
}

.hero-copy-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  margin-inline: auto;
  text-align: center;
}

.hero h1 {
  max-width: 940px;
  margin: 0 auto;
  font-size: clamp(3.6rem, 7.2vw, 7.8rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.hero h1 .line {
  display: block;
}

.hero h1 .editorial-line {
  margin-top: 0.16em;
  color: var(--chlorophyll);
  font-family: var(--serif);
  font-size: 0.55em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.hero-intro {
  max-width: 720px;
  margin: clamp(1.6rem, 3vw, 2.5rem) auto 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.section {
  padding-block: var(--section-space);
}

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

.section-dark {
  color: var(--white);
  background: var(--forest-deep);
}

.section-index {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  margin: 0 0 1.4rem;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-index::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

.section-dark .section-index {
  color: var(--chlorophyll);
}

.display-heading {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.5rem, 5.6vw, 6.2rem);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.display-heading em {
  color: var(--teal);
  font-family: var(--serif);
  font-weight: 400;
}

.section-dark .display-heading em {
  color: var(--chlorophyll);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.6fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.manifesto-copy {
  max-width: 520px;
  margin-inline-start: auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.manifesto-copy p {
  margin-top: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease;
}

.image-study {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  min-height: 580px;
}

.image-study-media {
  position: relative;
  min-height: 520px;
}

.image-study-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-study-copy {
  display: flex;
  align-items: center;
  padding: clamp(3rem, 7vw, 7rem);
  color: var(--white);
  background: var(--forest);
}

.image-study-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.solutions-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}

#solutions {
  scroll-margin-top: var(--header-height);
}

.solutions-intro {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.solutions-intro p {
  color: var(--muted);
}

@media (min-width: 1081px) {
  .solutions-intro .display-heading {
    font-size: clamp(3rem, 4.45vw, 4rem);
  }
}

.solution-list {
  border-top: 1px solid var(--line);
}

.solution-list a {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(150px, 0.42fr) 2rem;
  align-items: center;
  min-height: 112px;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, padding 180ms ease;
}

.solution-list a:hover {
  padding-inline: 1rem;
  color: var(--white);
  background: var(--forest);
}

.solution-number {
  color: var(--teal);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
}

.solution-name {
  font-size: clamp(1.3rem, 2.5vw, 2.2rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.solution-category {
  color: var(--muted);
  font-size: 0.92rem;
}

.solution-list a:hover .solution-number,
.solution-list a:hover .solution-category {
  color: var(--chlorophyll);
}

.solution-list svg {
  width: 22px;
  height: 22px;
}

.method-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  min-height: 700px;
}

.method-media {
  min-height: 520px;
}

.method-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.method-content {
  padding: clamp(3rem, 7vw, 7rem);
  color: var(--white);
  background: var(--forest-deep);
}

.method-list {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  counter-reset: method;
}

.method-list li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line-light);
  counter-increment: method;
}

.method-list li::before {
  content: "0" counter(method);
  color: var(--chlorophyll);
  font-family: var(--serif);
  font-style: italic;
}

.method-list h3,
.method-list p {
  margin: 0;
}

.method-list h3 {
  font-size: 1.2rem;
}

.method-list p {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.68);
}

.forest-feature {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: min(840px, 85svh);
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.forest-feature > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.forest-feature::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(12, 36, 24, 0.88) 100%);
}

.forest-feature-content {
  width: min(100%, 820px);
  margin: 0;
  margin-block-end: clamp(3rem, 7vw, 7rem);
  margin-inline-start: var(--gutter);
}

.forest-feature .display-heading {
  max-width: 820px;
}

.forest-feature .display-heading em {
  color: var(--chlorophyll);
  text-shadow: 0 2px 3px rgba(3, 18, 11, 0.92), 0 0 28px rgba(3, 18, 11, 0.82);
}

.forest-feature p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.principles-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 9vw, 9rem);
}

.principles-copy p {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.1rem;
}

.principle-list {
  margin: 0;
}

.principle-list > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.38fr) 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.principle-list dt {
  color: var(--teal);
  font-weight: 760;
}

.principle-list dd {
  margin: 0;
  color: var(--muted);
}

.section-dark .principles-copy p,
.section-dark .principle-list dd {
  color: rgba(255, 255, 255, 0.72);
}

.section-dark .principle-list > div {
  border-top-color: var(--line-light);
}

.section-dark .principle-list dt {
  color: var(--chlorophyll);
}

.contact-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  padding: clamp(3rem, 7vw, 7rem);
  color: var(--white);
  background: var(--forest);
}

.contact-cta .display-heading {
  max-width: 900px;
}

.contact-cta p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
  color: var(--white);
  background: var(--forest-deep);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(180px, 0.5fr) minmax(0, 0.8fr) minmax(180px, 0.5fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.footer-logo-wrap {
  display: inline-flex;
  justify-self: start;
  background: transparent;
}

.footer-logo-wrap img {
  width: 120px;
}

.footer-statement {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
}

.footer-nav {
  display: grid;
  gap: 0.3rem;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 650;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.84rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-meta a {
  min-height: 44px;
}

.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 640px;
  align-items: flex-end;
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
  overflow: hidden;
  color: var(--white);
  background: var(--forest-deep);
}

.page-hero > picture,
.page-hero > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 36, 24, 0.92) 0%, rgba(12, 36, 24, 0.78) 48%, rgba(12, 36, 24, 0.18) 100%);
}

.page-hero-inner {
  width: min(100%, 1040px);
}

.page-hero h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 760;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.page-hero h1 span {
  display: block;
}

.page-hero h1 em {
  color: var(--chlorophyll);
  font-family: var(--serif);
  font-size: 0.58em;
  font-weight: 400;
}

.page-hero p {
  max-width: 680px;
  margin: 1.8rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.detail-index {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-index a {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  border-inline-start: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.detail-index li:first-child a {
  border-inline-start: 0;
}

.detail-index a:hover {
  color: var(--white);
  background: var(--forest);
}

.solution-detail {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(0, 0.82fr) minmax(240px, 0.52fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(4rem, 8vw, 8rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

.solution-detail:first-of-type {
  border-top: 0;
}

.solution-detail-number {
  color: var(--teal);
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-style: italic;
  line-height: 1;
}

.solution-detail h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.solution-detail h3 {
  margin: 0 0 1rem;
  color: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.solution-detail p {
  color: var(--muted);
}

.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.plain-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 650px;
}

.editorial-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-split-copy {
  display: flex;
  align-items: center;
  padding: clamp(3rem, 7vw, 7rem);
}

.editorial-split-copy p {
  max-width: 580px;
  color: var(--muted);
  font-size: 1.08rem;
}

.project-factors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}

.project-factors li {
  min-height: 180px;
  padding: 1.5rem;
  border-inline-end: 1px solid var(--line);
}

.project-factors li:last-child {
  border-inline-end: 0;
}

.project-factors strong {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: start;
}

.profile-mark {
  display: grid;
  width: min(100%, 360px);
  aspect-ratio: 1;
  place-items: center;
  color: var(--forest-deep);
  background: var(--chlorophyll);
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 8rem);
  font-style: italic;
}

.profile-copy p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.contact-intro {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.contact-intro p {
  color: var(--muted);
}

.contact-list {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.contact-list li {
  border-bottom: 1px solid var(--line);
}

.contact-list a,
.contact-list span {
  display: grid;
  grid-template-columns: 7rem 1fr;
  min-height: 64px;
  align-items: center;
  text-decoration: none;
}

.contact-list strong {
  color: var(--teal);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form {
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--white);
  background: var(--forest);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.field {
  display: grid;
  gap: 0.55rem;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.83rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  color: var(--white);
  background: transparent;
}

.field select {
  padding-inline-end: 3rem;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--chlorophyll) 50%), linear-gradient(135deg, var(--chlorophyll) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 15px) 50%;
  background-repeat: no-repeat;
  background-size: 7px 7px, 7px 7px;
}

.field select option {
  color: var(--ink);
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--focus);
  outline: 0;
  box-shadow: 0 2px 0 var(--focus);
}

.form-note {
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.85rem;
}

.form-actions {
  margin-top: 1.8rem;
}

.mail-dialog {
  width: min(calc(100% - 2rem), 620px);
  padding: 0;
  border: 0;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(12, 27, 18, 0.35);
  overscroll-behavior: contain;
}

.mail-dialog::backdrop {
  background: rgba(12, 36, 24, 0.78);
}

.dialog-inner {
  padding: clamp(2rem, 6vw, 4rem);
}

.dialog-inner h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.dialog-inner p {
  color: var(--muted);
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 1080px) {
  .page-home .site-header:not(.is-scrolled) {
    background: rgba(3, 18, 11, 0.42);
  }

  .page-home .site-header:not(.is-scrolled) .brand-link img {
    width: 84px;
  }

  .desktop-nav {
    display: none;
  }

  .language-switcher {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-actions .header-cta {
    display: none;
  }

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

  .solutions-layout,
  .principles-grid,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .principles-grid > *,
  .contact-cta > * {
    min-width: 0;
  }

  .solutions-intro,
  .contact-intro {
    position: static;
  }

  .contact-cta {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 74px;
  }

  .brand-link img {
    width: 80px;
  }

  .hero-grid,
  .manifesto-grid,
  .image-study,
  .method-band,
  .editorial-split,
  .profile-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-grid > *,
  .manifesto-grid > *,
  .image-study > *,
  .method-band > *,
  .editorial-split > *,
  .profile-grid > * {
    min-width: 0;
  }

  .forest-feature-content {
    width: min(calc(100% - (2 * var(--gutter))), 820px);
  }

  .hero-copy {
    min-height: calc(100svh - var(--header-height));
    padding-block: clamp(3.2rem, 8svh, 5rem);
  }

  .hero-copy::before {
    background:
      radial-gradient(ellipse at 50% 48%, rgba(3, 24, 15, 0.8) 0%, rgba(3, 25, 16, 0.65) 46%, rgba(3, 22, 14, 0.38) 78%, rgba(3, 18, 11, 0.28) 100%),
      linear-gradient(180deg, rgba(2, 14, 9, 0.38) 0%, transparent 22%, transparent 68%, rgba(2, 14, 9, 0.58) 100%);
  }

  .hero h1 {
    font-size: clamp(3rem, 13.4vw, 5.8rem);
    line-height: 0.9;
  }

  .hero h1 .editorial-line {
    max-width: none;
    margin-top: 0.28em;
    font-size: clamp(1.22rem, 5.9vw, 2.85rem);
    line-height: 1.08;
    white-space: nowrap;
  }


  .manifesto-copy {
    margin-inline-start: 0;
  }

  .image-study-media,
  .method-media,
  .editorial-split-media {
    min-height: 440px;
  }

  .solution-list a {
    grid-template-columns: 3rem minmax(0, 1fr) 1.5rem;
    min-height: 104px;
  }

  .solution-category {
    grid-column: 2;
  }

  .solution-list svg {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .method-band {
    min-height: 0;
  }

  .forest-feature {
    min-height: 720px;
  }

  .forest-feature-content {
    margin-inline: var(--gutter);
  }

  .principle-list > div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

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

  .page-hero {
    min-height: 580px;
  }

  .detail-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    border: 0;
    background: var(--line);
  }

  .detail-index li {
    min-width: 0;
  }

  .detail-index li:last-child {
    grid-column: 1 / -1;
  }

  .detail-index a {
    min-height: 70px;
    justify-content: flex-start;
    padding: 0.9rem 1.1rem;
    border: 0;
    background: var(--paper);
    text-align: start;
  }

  .solution-detail {
    grid-template-columns: 4rem minmax(0, 1fr);
  }

  .solution-detail-aside {
    grid-column: 2;
  }

  .project-factors {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-factors li:nth-child(2) {
    border-inline-end: 0;
  }

  .project-factors li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

/*
 * Safari iOS affiche ses barres au-dessus de la page. En portrait, la
 * hauteur "small viewport" s'arrête avant cette zone et laisse donc la
 * section suivante apparaître sous la barre inférieure. La grande hauteur
 * garde le média du hero derrière le chrome du navigateur jusqu'au scroll.
 */
@media (max-width: 820px) and (orientation: portrait) {
  .page-home .hero,
  .page-home .hero-grid,
  .page-home .hero-copy {
    min-height: 100vh;
    min-height: 100lvh;
  }
}

@media (max-width: 560px) {
  :root {
    --gutter: 1rem;
  }

  .hero-copy {
    min-height: calc(100svh - var(--header-height));
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13.9vw, 4.7rem);
    letter-spacing: -0.06em;
  }

  .detail-index {
    grid-template-columns: 1fr;
  }

  .detail-index li:last-child {
    grid-column: auto;
  }

  .detail-index a {
    min-height: 60px;
  }

  .hero-actions,
  .dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .dialog-actions .button {
    width: 100%;
  }

  .contact-cta .button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }

  .principle-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }

  .display-heading {
    font-size: clamp(2.35rem, 11vw, 4rem);
    line-height: 0.98;
  }

  html[lang="de"] .display-heading {
    font-size: clamp(2rem, 10vw, 3.6rem);
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  html[lang="de"] .section-index {
    max-width: 100%;
    letter-spacing: 0.08em;
  }

  .image-study-copy,
  .method-content,
  .editorial-split-copy,
  .contact-cta,
  .contact-form {
    padding: 2.1rem 1rem;
  }

  .image-study-media,
  .method-media,
  .editorial-split-media {
    min-height: 360px;
  }

  .solution-list a {
    gap: 0.7rem;
  }

  .solution-name {
    font-size: 1.28rem;
  }

  .forest-feature {
    min-height: 660px;
  }

  .page-hero {
    min-height: 540px;
    padding-bottom: 3.5rem;
  }

  .page-hero h1 {
    font-size: clamp(2.7rem, 13.3vw, 4.8rem);
    line-height: 0.94;
  }

  .solution-detail {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .solution-detail-number,
  .solution-detail-aside {
    grid-column: 1;
  }

  .solution-detail-number {
    font-size: 3rem;
  }

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

  .project-factors li,
  .project-factors li:nth-child(2) {
    border-top: 1px solid var(--line);
    border-inline-end: 0;
  }

  .project-factors li:first-child {
    border-top: 0;
  }

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

  .field-wide {
    grid-column: 1;
  }

  .contact-list a,
  .contact-list span {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    padding-block: 0.8rem;
  }
}

html[dir="rtl"] body {
  font-family: Tahoma, Arial, sans-serif;
}

html[dir="rtl"] .page-hero::after {
  background: linear-gradient(270deg, rgba(12, 36, 24, 0.92) 0%, rgba(12, 36, 24, 0.78) 48%, rgba(12, 36, 24, 0.18) 100%);
}

html[dir="rtl"] .field select {
  background-position: 22px 50%, 15px 50%;
}

html[dir="rtl"] .button svg,
html[dir="rtl"] .text-link svg,
html[dir="rtl"] .mobile-nav > ul svg,
html[dir="rtl"] .solution-list svg {
  transform: scaleX(-1);
}

html[dir="rtl"] .button:hover svg,
html[dir="rtl"] .text-link:hover svg {
  transform: translateX(-3px) scaleX(-1);
}

html[lang="ar"] .hero h1,
html[lang="ar"] .display-heading,
html[lang="ar"] .page-hero h1,
html[lang="ar"] .solution-detail h2 {
  letter-spacing: 0;
  line-height: 1.12;
}

html[lang="ar"] .hero h1 .editorial-line,
html[lang="ar"] .display-heading em,
html[lang="ar"] .page-hero h1 em,
html[lang="ar"] .solution-number,
html[lang="ar"] .solution-detail-number,
html[lang="ar"] .project-factors strong {
  font-family: Tahoma, Arial, sans-serif;
  font-style: normal;
  letter-spacing: 0;
}

html[lang="ar"] .section-index,
html[lang="ar"] .solution-detail h3,
html[lang="ar"] .contact-list strong {
  letter-spacing: 0.03em;
}

@media (max-height: 520px) and (orientation: landscape) {
  :root {
    --header-height: 74px;
  }

  .brand-link img {
    width: 80px;
  }

  .page-home .hero-copy {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 1.5rem;
  }

  .page-home .hero h1 {
    font-size: clamp(2.8rem, 7vw, 3.75rem);
    line-height: 0.88;
  }

  .page-home .hero h1 .editorial-line {
    margin-top: 0.18em;
    font-size: 0.52em;
    line-height: 1;
  }

  .page-home .hero-intro {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .page-home .hero-actions {
    margin-top: 1rem;
  }
}

@media (max-width: 330px) {
  :root {
    --gutter: 0.88rem;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 14.6vw, 3.05rem);
  }

  .hero-intro {
    font-size: 0.98rem;
  }

  .solution-list a {
    grid-template-columns: 2.5rem minmax(0, 1fr) 1.25rem;
  }

  .solution-name {
    font-size: 1.12rem;
  }
}

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

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

  .hero-copy-video {
    transform: none;
  }

  .hero-copy-video {
    display: none;
  }
}
