:root {
  --navy: #34495e;
  --navy-deep: #213244;
  --navy-ink: #172433;
  --teal: #008b8b;
  --teal-dark: #006d70;
  --mustard: #dfaf2c;
  --mustard-dark: #b98908;
  --paper: #f4f1e9;
  --paper-light: #fbfaf6;
  --mist: #d8e4e8;
  --mist-light: #edf2f3;
  --white: #fff;
  --text: #25313d;
  --muted: #61707c;
  --border: rgba(52, 73, 94, 0.16);
  --shadow: 0 20px 55px rgba(33, 50, 68, 0.12);
  --radius: 1.4rem;
  --shell: 1180px;
  --header-height: 76px;
  color-scheme: light;
}

@property --section-hero-bg {
  syntax: "<color>";
  inherits: true;
  initial-value: #34495e;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper-light);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main.is-page-leaving,
main.is-page-entering {
  will-change: opacity;
}

main.is-page-leaving {
  animation: page-opacity-out 150ms ease-in both;
}

main.is-page-entering {
  animation: page-opacity-in 220ms ease-out both;
}

@keyframes page-opacity-out {
  to { opacity: 0; }
}

@keyframes page-opacity-in {
  from { opacity: 0; }
}

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

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.18em;
}

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

h1,
h2,
h3 {
  color: var(--navy-deep);
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.65rem, 6vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

::selection {
  background: rgba(223, 175, 44, 0.45);
  color: var(--navy-ink);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 0.55rem;
  background: var(--white);
  color: var(--navy-deep);
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.shell {
  width: min(calc(100% - 2.5rem), var(--shell));
  margin-inline: auto;
}

.shell--narrow {
  max-width: 850px;
}

.shell--article {
  max-width: 1060px;
}

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button--primary {
  background: var(--teal);
  color: var(--white);
}

.button--primary:hover {
  background: var(--teal-dark);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.button--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(33, 50, 68, 0.97);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand__mark {
  width: 42px;
  height: auto;
  border-radius: 50%;
}

.brand__name {
  width: 142px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.8vw, 1.55rem);
}

.site-nav a {
  position: relative;
  padding-block: 0.65rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 2px;
  background: var(--mustard);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav .site-nav__contact {
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: var(--teal);
  color: var(--white);
}

.site-nav .site-nav__contact::after {
  display: none;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--white);
}

/* Hero */
.hero,
.section-hero,
.simple-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero__grid-overlay,
.section-hero__grid,
.simple-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(216, 228, 232, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 228, 232, 0.09) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black 15%, transparent 100%);
}

.hero--home {
  isolation: isolate;
}

.hero--home [data-home-transition-part] {
  will-change: opacity, transform;
}

.hero--home.is-home-leaving-up [data-home-transition-part] {
  animation: home-content-leave-up 340ms cubic-bezier(0.55, 0, 0.85, 0.45) both;
}

.hero--home.is-home-entering-from-top [data-home-transition-part] {
  animation: home-content-enter-from-top 420ms cubic-bezier(0.2, 0.8, 0.25, 1) both;
}

.hero--home.is-home-entry-pending [data-home-transition-part] {
  opacity: 0;
  transform: translateY(-12vh);
}

.hero--home.is-home-leaving-up .hero__symbol,
.hero--home.is-home-entering-from-top .hero__symbol {
  animation-delay: 45ms;
}

[data-home-page-content].is-home-leaving-down,
[data-home-page-content].is-home-entering-from-bottom,
[data-domain-page-content].is-domain-leaving-left,
[data-domain-page-content].is-domain-leaving-right,
[data-domain-page-content].is-domain-entering-left,
[data-domain-page-content].is-domain-entering-right {
  will-change: opacity, transform;
}

[data-home-page-content].is-home-leaving-down {
  animation: home-page-leave-down 340ms cubic-bezier(0.55, 0, 0.85, 0.45) both;
}

[data-home-page-content].is-home-entering-from-bottom {
  animation: home-page-enter-from-bottom 420ms cubic-bezier(0.2, 0.8, 0.25, 1) both;
}

[data-home-page-content].is-home-entry-pending {
  opacity: 0;
  transform: translateY(12vh);
}

@keyframes home-content-leave-up {
  to { opacity: 0; transform: translateY(-12vh); }
}

@keyframes home-content-enter-from-top {
  from { opacity: 0; transform: translateY(-12vh); }
}

@keyframes home-page-leave-down {
  to { opacity: 0; transform: translateY(12vh); }
}

@keyframes home-page-enter-from-bottom {
  from { opacity: 0; transform: translateY(12vh); }
}

.hero__ecosystem {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: min(1120px, 88vw);
  opacity: 0.88;
  transform: translate(-20%, -49%);
  pointer-events: none;
}

.hero__veil {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(23, 36, 51, 0.66);
  pointer-events: none;
}

.hero--home .hero__grid-overlay {
  z-index: 2;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: min(730px, calc(100vh - var(--header-height)));
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: clamp(2rem, 5vw, 6rem);
  padding-block: clamp(4rem, 10vw, 8rem);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__eyebrow,
.section-hero__eyebrow {
  margin-bottom: 1.25rem;
  color: var(--mist);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-hero h1,
.simple-hero h1 {
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
}

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

.hero__lead,
.section-hero__lead,
.simple-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  font-weight: 450;
}

.hero__symbol {
  position: relative;
  display: grid;
  min-height: 470px;
  place-items: center;
}

.hero__emblem {
  position: relative;
  width: min(76%, 420px);
  aspect-ratio: 859 / 865;
  border-radius: 50%;
  filter: drop-shadow(0 28px 38px rgba(13, 24, 36, 0.28));
}

.hero__emblem img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
}

.hero__emblem::before {
  position: absolute;
  z-index: 0;
  inset: -8%;
  border: 1px solid rgba(216, 228, 232, 0.17);
  border-radius: 50%;
  content: "";
}

.hero__symbol::after {
  position: absolute;
  z-index: 0;
  width: min(92%, 510px);
  aspect-ratio: 1;
  border: 1px solid rgba(216, 228, 232, 0.08);
  border-radius: 50%;
  content: "";
}

/* Generic sections */
.section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section--paper {
  background: var(--paper-light);
}

.section--mist {
  background: var(--mist-light);
}

.section--cta {
  background: var(--paper-light);
  padding-top: 1rem;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 2.7rem;
}

.section-heading h2 {
  margin-bottom: 1rem;
}

.section-heading > p:last-child,
.prose {
  color: var(--muted);
}

.section-heading--compact {
  margin-bottom: 0;
}

.section-heading--row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
}

.split-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 8vw, 7.5rem);
}

.split-layout--top {
  align-items: start;
}

/* Domain cards */
.domain-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.domain-card {
  --card-accent: var(--navy);
  position: relative;
  display: flex;
  min-height: 370px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  background: var(--white);
  box-shadow: 0 8px 0 rgba(52, 73, 94, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.domain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(33, 50, 68, 0.12);
}

.domain-card--habitat { --card-accent: var(--teal); }
.domain-card--agriculture { --card-accent: var(--mustard); }

.domain-card__line {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 8px;
  background: var(--card-accent);
}

.domain-card__status {
  align-self: flex-start;
  margin-bottom: 2.2rem;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: color-mix(in srgb, var(--card-accent) 14%, white);
  color: var(--card-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.domain-card h3 {
  margin-bottom: 1rem;
  font-size: 1.65rem;
}

.domain-card > p:not(.domain-card__status) {
  color: var(--muted);
}

.domain-card > a {
  margin-top: auto;
  color: var(--card-accent);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

/* Method */
.method-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-list li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 1.2rem;
  border-top: 1px solid rgba(52, 73, 94, 0.18);
  padding-block: 1.35rem;
}

.method-list li:last-child {
  border-bottom: 1px solid rgba(52, 73, 94, 0.18);
}

.method-list > li > span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.method-list h3 {
  margin-bottom: 0.35rem;
}

.method-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(1.7rem, 4vw, 2.75rem);
}

.cta-panel .eyebrow {
  color: var(--mustard);
}

/* Domain page */
.section-hero {
  --section-hero-bg: var(--navy);
  --section-hero-veil: rgba(52, 73, 94, 0.66);
  --section-copy-bottom: 430px;
  --section-carousel-drop: min(280px, 34vw);
  position: relative;
  isolation: isolate;
  min-height: calc(var(--section-copy-bottom) + var(--section-carousel-drop) + clamp(1rem, 3vw, 2rem));
  background-color: var(--section-hero-bg);
  transition:
    --section-hero-bg 480ms ease,
    background-color 480ms ease;
}

.section-hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  align-content: start;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: clamp(3rem, 8vw, 7.5rem);
  padding-block: clamp(2.8rem, 5vw, 4.4rem) 0;
}

.section-hero__grid {
  z-index: 2;
  pointer-events: none;
}

.section-hero__veil {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: min(
    100%,
    calc(var(--section-copy-bottom) + clamp(3rem, 7vw, 6rem))
  );
  background: linear-gradient(
    to bottom,
    var(--section-hero-veil) 0,
    var(--section-hero-veil) calc(var(--section-copy-bottom) - clamp(4rem, 8vw, 7rem)),
    transparent 100%
  );
  pointer-events: none;
  transition: height 220ms ease;
}

.section-hero__measure {
  position: absolute;
  z-index: -1;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.section-hero__measure-row {
  position: absolute;
  top: 0;
  left: 50%;
  margin-inline: 0;
  transform: translateX(-50%);
}

.section-hero [data-domain-transition-part] {
  will-change: opacity, transform;
}

.section-hero.is-domain-leaving-left [data-domain-transition-part] {
  animation: domain-content-leave-left 300ms cubic-bezier(0.55, 0, 0.85, 0.45) both;
}

.section-hero.is-domain-leaving-right [data-domain-transition-part] {
  animation: domain-content-leave-right 300ms cubic-bezier(0.55, 0, 0.85, 0.45) both;
}

.section-hero.is-domain-entering-left [data-domain-transition-part] {
  animation: domain-content-enter-left 380ms cubic-bezier(0.2, 0.8, 0.25, 1) both;
}

.section-hero.is-domain-entering-right [data-domain-transition-part] {
  animation: domain-content-enter-right 380ms cubic-bezier(0.2, 0.8, 0.25, 1) both;
}

.section-hero.is-domain-leaving-left .section-hero__copy,
.section-hero.is-domain-leaving-right .section-hero__copy,
.section-hero.is-domain-entering-left .section-hero__copy,
.section-hero.is-domain-entering-right .section-hero__copy {
  animation-delay: 45ms;
}

[data-domain-page-content].is-domain-leaving-left {
  animation: domain-content-leave-left 300ms cubic-bezier(0.55, 0, 0.85, 0.45) both;
}

[data-domain-page-content].is-domain-leaving-right {
  animation: domain-content-leave-right 300ms cubic-bezier(0.55, 0, 0.85, 0.45) both;
}

[data-domain-page-content].is-domain-entering-left {
  animation: domain-content-enter-left 380ms cubic-bezier(0.2, 0.8, 0.25, 1) both;
}

[data-domain-page-content].is-domain-entering-right {
  animation: domain-content-enter-right 380ms cubic-bezier(0.2, 0.8, 0.25, 1) both;
}

@keyframes domain-content-leave-left {
  to { opacity: 0; transform: translateX(-11vw); }
}

@keyframes domain-content-leave-right {
  to { opacity: 0; transform: translateX(11vw); }
}

@keyframes domain-content-enter-left {
  from { opacity: 0; transform: translateX(-11vw); }
}

@keyframes domain-content-enter-right {
  from { opacity: 0; transform: translateX(11vw); }
}

.section-hero__title h1 {
  margin-bottom: 0;
}

.section-hero__copy {
  padding-top: 0.25rem;
}

.section-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  margin-bottom: 1.35rem;
}

.section-hero__status {
  display: inline-flex;
  margin-bottom: 0;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  color: var(--mist);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-hero__eyebrow {
  margin-bottom: 0;
}

.section-hero h1 {
  max-width: 800px;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
}

.section-hero--industry {
  --section-hero-bg: var(--navy);
  --section-hero-veil: rgba(52, 73, 94, 0.66);
}

.section-hero--habitat {
  --section-hero-bg: #176d76;
  --section-hero-veil: rgba(23, 109, 118, 0.66);
}

.section-hero--agriculture {
  --section-hero-bg: #66541f;
  --section-hero-veil: rgba(102, 84, 31, 0.66);
}

.section-hero--habitat .button--primary { background: var(--navy-deep); }
.section-hero--agriculture .button--primary { background: var(--mustard); color: var(--navy-ink); }

.section-hero__ecosystem.domain-carousel {
  position: absolute;
  z-index: 0;
  top: var(--section-copy-bottom);
  left: 50%;
  width: min(620px, 76vw);
  margin: 0;
  opacity: 0.96;
  transform: translate(-50%, -50%);
  -webkit-mask-image: radial-gradient(ellipse 78% 88% at 50% 56%, black 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 88% at 50% 56%, black 62%, transparent 100%);
  pointer-events: auto;
  transition: top 220ms ease;
}

.section-hero__ecosystem.domain-carousel.is-webgl-ready {
  width: min(820px, 88vw);
}

.section-hero__ecosystem picture,
.section-hero__ecosystem img {
  width: 100%;
}

.service-list {
  --service-accent: var(--navy);
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
}

.service-list--habitat { --service-accent: var(--teal); }
.service-list--agriculture { --service-accent: var(--mustard); }

.service-list li {
  position: relative;
  min-height: 128px;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.6rem 1.4rem 1.4rem 1.7rem;
  background: var(--white);
  font-weight: 700;
}

.service-list li::before {
  position: absolute;
  top: 1.6rem;
  bottom: 1.6rem;
  left: 0;
  width: 5px;
  border-radius: 0 4px 4px 0;
  background: var(--service-accent);
  content: "";
}

.empty-state {
  max-width: 760px;
  border: 1px dashed rgba(52, 73, 94, 0.3);
  border-radius: var(--radius);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
}

.empty-state p:last-child { margin-bottom: 0; }

/* Articles */
.article-card {
  --article-accent: var(--navy);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(33, 50, 68, 0.07);
}

.article-card--habitat { --article-accent: var(--teal); }
.article-card--agriculture { --article-accent: var(--mustard); }

.article-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-card__body {
  border-top: 5px solid var(--article-accent);
  padding: 1.6rem;
}

.article-card__meta {
  margin-bottom: 0.8rem;
  color: var(--article-accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-card h3 a {
  text-decoration: none;
}

.article-card h3 a:hover {
  color: var(--article-accent);
}

.article-card__body > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.article-header {
  padding-block: clamp(4.5rem, 9vw, 8rem);
  background: var(--navy);
  color: var(--white);
}

.article-page--habitat .article-header { background: #176d76; }
.article-page--agriculture .article-header { background: #66541f; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.article-header .eyebrow { color: var(--mustard); }

.article-header h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.article-header__summary {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.article-header__meta {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.85rem;
}

.article-cover {
  margin-top: -3rem;
}

.article-cover img {
  width: 100%;
  max-height: 650px;
  border: 8px solid var(--paper-light);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.article-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}

/* Entêtes Habitat : conserver la scène entière, quelle que soit la largeur. */
.article-page--habitat .article-cover img {
  height: auto;
  max-height: none;
  object-fit: contain;
}

.article-series {
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 1.6rem;
}

.article-series__label {
  font-weight: 800;
}

.article-series__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.article-series__links a {
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 1rem;
  background: var(--white);
  color: var(--navy-deep);
  text-decoration: none;
}

.article-series__links a:hover {
  border-color: var(--teal);
}

.article-series__links span,
.article-series__links strong {
  display: block;
}

.article-series__links span {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.article-series__next {
  grid-column: 2;
  text-align: right;
}

.article-series__index {
  color: var(--teal);
  font-weight: 750;
}

.article-content {
  min-width: 0;
  font-size: 1.05rem;
}

.article-content h2 {
  margin-top: 2.7rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.article-content h3 {
  margin-top: 2rem;
}

.article-content p,
.article-content ul,
.article-content ol {
  color: #43515d;
}

.article-content img {
  width: 100%;
  height: auto;
  margin-block: 2rem;
  border-radius: 1rem;
}

/* Illustrations éditoriales du récit : format compact et ratio réservé. */
.article-content .rex-illustration {
  max-width: 36rem;
  margin: 1.5rem auto 2rem;
}

.article-content .rex-illustration img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.article-content .rex-illustration--pixel img {
  image-rendering: pixelated;
}

.article-content blockquote {
  margin: 2rem 0;
  border-left: 5px solid var(--teal);
  padding: 1rem 1.5rem;
  background: var(--mist-light);
  color: var(--navy-deep);
}

.article-content pre {
  overflow-x: auto;
  border-radius: 0.8rem;
  padding: 1.2rem;
  background: var(--navy-ink);
  color: var(--mist-light);
}

.article-aside {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.6rem;
  background: var(--white);
}

.article-aside h2 {
  font-size: 1.55rem;
}

.article-aside p:not(.eyebrow) {
  color: var(--muted);
}

/* Static pages */
.simple-hero {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.simple-hero .shell {
  position: relative;
}

.simple-hero h1 {
  max-width: 900px;
  font-size: clamp(2.7rem, 6vw, 5rem);
}

.simple-hero .eyebrow {
  color: var(--mustard);
}

.simple-hero .button {
  margin-top: 1rem;
}

/* Workspace experience */
.workspace-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(650px, calc(100svh - var(--header-height)), 840px);
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}

.workspace-hero--contact {
  background: #1b2b3c;
}

.workspace-hero__scene.domain-carousel {
  position: absolute;
  z-index: 0;
  top: 0;
  right: -2vw;
  width: min(1120px, 74vw);
  height: 100%;
  aspect-ratio: auto;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 88% 84% at 55% 52%, black 64%, transparent 100%);
  mask-image: radial-gradient(ellipse 88% 84% at 55% 52%, black 64%, transparent 100%);
}

/* Une fois la scène plafonnée à 1120 px, elle suit le conteneur de texte au
   lieu de continuer à dériver avec le bord droit des écrans ultrawide. */
@media (min-width: 2000px) {
  .workspace-hero__scene.domain-carousel {
    right: auto;
    left: calc(50% - 120px);
  }
}

.workspace-hero__scene .domain-carousel__canvas {
  cursor: default;
  filter: drop-shadow(0 28px 34px rgba(13, 24, 36, 0.24));
}

.workspace-hero__scene .domain-carousel__fallback img {
  object-fit: contain;
}

.workspace-hero__veil {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 36, 51, 0.97) 0%, rgba(23, 36, 51, 0.91) 29%, rgba(23, 36, 51, 0.56) 48%, transparent 75%),
    linear-gradient(to top, rgba(23, 36, 51, 0.42), transparent 38%);
  pointer-events: none;
}

.workspace-hero--contact .workspace-hero__veil {
  background:
    linear-gradient(90deg, rgba(23, 36, 51, 0.98) 0%, rgba(23, 36, 51, 0.92) 31%, rgba(23, 36, 51, 0.5) 50%, transparent 76%),
    linear-gradient(to top, rgba(23, 36, 51, 0.48), transparent 42%);
}

.workspace-hero__grid {
  position: absolute;
  z-index: 2;
  inset: 0;
  opacity: 0.46;
  background-image:
    linear-gradient(rgba(216, 228, 232, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 228, 232, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, black, transparent 86%);
  pointer-events: none;
}

.workspace-hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: inherit;
  align-items: center;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1.14fr);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.workspace-hero__copy {
  max-width: 650px;
}

.workspace-hero__eyebrow {
  margin-bottom: 1.2rem;
  color: var(--mustard);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.workspace-hero h1 {
  max-width: 700px;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: clamp(2.8rem, 4.9vw, 4.8rem);
}

.workspace-hero__lead {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.05rem, 1.65vw, 1.22rem);
}

.workspace-hero .button {
  margin-top: 1rem;
}

.workspace-hero [data-workspace-transition-part],
[data-workspace-page-content] {
  will-change: opacity, transform;
}

.workspace-hero.is-workspace-leaving-left [data-workspace-transition-part],
[data-workspace-page-content].is-workspace-leaving-left {
  animation: workspace-content-leave-left 320ms cubic-bezier(0.55, 0, 0.85, 0.45) both;
}

.workspace-hero.is-workspace-leaving-right [data-workspace-transition-part],
[data-workspace-page-content].is-workspace-leaving-right {
  animation: workspace-content-leave-right 320ms cubic-bezier(0.55, 0, 0.85, 0.45) both;
}

.workspace-hero.is-workspace-entering-left [data-workspace-transition-part],
[data-workspace-page-content].is-workspace-entering-left {
  animation: workspace-content-enter-left 420ms cubic-bezier(0.2, 0.8, 0.25, 1) both;
  animation-delay: var(--workspace-entry-delay, 0ms);
}

.workspace-hero.is-workspace-entering-right [data-workspace-transition-part],
[data-workspace-page-content].is-workspace-entering-right {
  animation: workspace-content-enter-right 420ms cubic-bezier(0.2, 0.8, 0.25, 1) both;
  animation-delay: var(--workspace-entry-delay, 0ms);
}

@keyframes workspace-content-leave-left {
  to { opacity: 0; transform: translateX(-10vw); }
}

@keyframes workspace-content-leave-right {
  to { opacity: 0; transform: translateX(10vw); }
}

@keyframes workspace-content-enter-left {
  from { opacity: 0; transform: translateX(-10vw); }
}

@keyframes workspace-content-enter-right {
  from { opacity: 0; transform: translateX(10vw); }
}

.prose h2 {
  margin-top: 2.5rem;
  font-size: 1.65rem;
}

.prose h2:first-child {
  margin-top: 0;
}

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

.principle-grid article {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  background: var(--white);
}

.principle-grid h3 { margin-bottom: 0.5rem; }
.principle-grid p { margin-bottom: 0; color: var(--muted); }

.legal-content {
  color: var(--muted);
}

.legal-content a { color: var(--teal-dark); }

/* Contact */
.contact-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(230px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(3rem, 8vw, 7rem);
}

.contact-details {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.contact-details a {
  color: var(--teal-dark);
  font-weight: 700;
}

.contact-details__profiles-title {
  margin: 1.6rem 0 0.7rem;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-links {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.contact-details .profile-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.contact-details .profile-link:hover,
.contact-details .profile-link:focus-visible {
  border-color: rgba(18, 105, 111, 0.45);
  box-shadow: 0 12px 26px rgba(14, 42, 53, 0.09);
  transform: translateY(-2px);
}

.profile-link__badge {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9px;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1;
}

.profile-link__badge--linkedin { background: #0a66c2; }
.profile-link__badge--malt { background: #fc5757; }

.profile-link strong,
.profile-link small {
  display: block;
}

.profile-link small {
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 500;
}

.profile-link__arrow {
  color: var(--teal);
}

.contact-details__note {
  border-left: 4px solid var(--mustard);
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 2.4rem);
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field label {
  color: var(--navy-deep);
  font-size: 0.84rem;
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(52, 73, 94, 0.24);
  border-radius: 0.65rem;
  padding: 0.85rem 0.95rem;
  background: var(--paper-light);
  color: var(--text);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 139, 139, 0.12);
}

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

.form-field--hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.contact-form__footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.contact-form button {
  cursor: pointer;
}

.form-status {
  margin-bottom: 1.2rem;
  border-radius: 0.8rem;
  padding: 1rem 1.2rem;
  font-weight: 700;
}

.form-status--success {
  border: 1px solid rgba(0, 139, 139, 0.35);
  background: rgba(0, 139, 139, 0.1);
  color: var(--teal-dark);
}

.form-status--error {
  border: 1px solid rgba(139, 56, 42, 0.3);
  background: rgba(139, 56, 42, 0.08);
  color: #843b30;
}

/* Domain model */
.domain-model-section {
  overflow: hidden;
  border-top: 1px solid var(--border);
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background:
    linear-gradient(rgba(52, 73, 94, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 73, 94, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
}

.domain-model-section__grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.domain-model-section__copy h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.domain-model-section__copy > p:not(.eyebrow) {
  color: var(--muted);
}

.domain-model-section__note {
  border-left: 4px solid var(--mustard);
  padding-left: 1rem;
  font-size: 0.87rem;
}

.domain-model {
  --preview-color: var(--navy);
}

.domain-model[data-preview="habitat"] { --preview-color: var(--teal); }
.domain-model[data-preview="agriculture"] { --preview-color: var(--mustard); }

.domain-model__stage {
  position: relative;
  isolation: isolate;
  border-radius: 50%;
  transition: filter 220ms ease, transform 220ms ease;
}

.domain-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

.domain-carousel__canvas,
.domain-carousel__fallback {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  transition: opacity 240ms ease;
}

.domain-carousel__canvas {
  z-index: 1;
  opacity: 0;
  cursor: grab;
  filter: drop-shadow(0 26px 30px rgba(33, 50, 68, 0.16));
  touch-action: pan-y;
}

.domain-carousel__fallback {
  z-index: 0;
  opacity: 1;
}

.has-js .domain-carousel__fallback {
  opacity: 0;
}

.has-js .domain-carousel.is-webgl-fallback .domain-carousel__fallback {
  opacity: 1;
}

.domain-carousel__fallback img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.domain-carousel.is-webgl-ready .domain-carousel__canvas {
  opacity: 1;
}

.domain-carousel.is-webgl-ready .domain-carousel__fallback {
  opacity: 0;
  pointer-events: none;
}

.domain-carousel.is-dragging .domain-carousel__canvas {
  cursor: grabbing;
}

.domain-carousel.is-reanchoring {
  transition: none !important;
}

.domain-carousel.is-scene-crossing {
  overflow: visible;
  transition: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.domain-carousel.is-scene-crossing .domain-carousel__canvas {
  filter: none;
}

.domain-model__stage::after {
  position: absolute;
  z-index: 2;
  inset: 6.5%;
  border: 3px solid color-mix(in srgb, var(--preview-color) 70%, transparent);
  border-radius: 50%;
  content: "";
  opacity: 0.38;
  pointer-events: none;
  transition: border-color 220ms ease, opacity 220ms ease;
}

.domain-model[data-preview="overview"] .domain-model__stage::after {
  border-color: rgba(52, 73, 94, 0.2);
  opacity: 0.2;
}

.domain-model__stage .domain-carousel__fallback img {
  border-radius: 2rem;
  mix-blend-mode: multiply;
}

.domain-model__controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.domain-model__controls button {
  --control-color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.65);
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.domain-model__controls button[data-domain-control="habitat"] { --control-color: var(--teal); }
.domain-model__controls button[data-domain-control="agriculture"] { --control-color: var(--mustard); }

.domain-model__controls button:hover,
.domain-model__controls button:focus-visible,
.domain-model__controls button[aria-pressed="true"] {
  border-color: var(--control-color);
  background: var(--white);
  color: var(--control-color);
}

.domain-model__control-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--control-color);
}

.domain-model__discover {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 0.45rem;
  margin: 1rem auto 0;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.domain-model__discover:hover,
.domain-model__discover:focus-visible {
  color: var(--preview-color);
}

/* Footer */
.site-footer {
  background: var(--navy-ink);
  color: rgba(255, 255, 255, 0.68);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 3rem;
  padding-block: 4rem 3rem;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}

.site-footer__brand img {
  width: 54px;
  height: auto;
  border-radius: 50%;
}

.site-footer h2 {
  margin-bottom: 0.8rem;
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.site-footer .site-footer__social-link {
  display: grid;
  align-items: center;
  justify-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.7rem;
  color: var(--white);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.13);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.site-footer__social-link--linkedin { background: #0a66c2; }
.site-footer__social-link--malt { background: #fc5757; }

.site-footer .site-footer__social-link:hover,
.site-footer .site-footer__social-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.4rem;
  font-size: 0.75rem;
}

.site-footer__bottom p {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
  }

  .nav-toggle__label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .nav-toggle__icon,
  .nav-toggle__icon::before,
  .nav-toggle__icon::after {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-toggle__icon {
    position: relative;
  }

  .nav-toggle__icon::before { position: absolute; top: -7px; }
  .nav-toggle__icon::after { position: absolute; top: 7px; }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { top: 0; transform: rotate(-45deg); }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.25rem 1.5rem;
    background: var(--navy-deep);
    box-shadow: 0 18px 36px rgba(13, 24, 36, 0.24);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open { transform: translateY(0); }

  .site-nav a {
    padding: 0.9rem 0.25rem;
  }

  .site-nav .site-nav__contact {
    justify-self: start;
    margin-top: 0.6rem;
    padding-inline: 1rem;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  }

  .hero__symbol { min-height: 380px; }

  .hero__ecosystem {
    transform: translate(-15%, -49%);
  }

  .workspace-hero__scene.domain-carousel {
    right: -10vw;
    width: 88vw;
  }

  .workspace-hero__inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  }

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

  .domain-grid .domain-card:last-child,
  .article-grid .article-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .domain-model-section__grid {
    grid-template-columns: 1fr;
  }

  .domain-model-section__copy {
    max-width: 760px;
  }

  .domain-model {
    width: min(100%, 760px);
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  :root { --header-height: 68px; }

  .shell { width: min(calc(100% - 1.5rem), var(--shell)); }

  .brand__mark { width: 38px; height: auto; }
  .brand__name { width: 122px; }

  .hero__inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 4rem 3rem;
  }

  .hero__symbol {
    min-height: 340px;
    order: -1;
  }

  .hero__emblem { width: min(68%, 320px); }

  .hero__ecosystem {
    top: calc(4rem + 170px);
    left: 50%;
    width: min(680px, 145vw);
    transform: translate(-50%, -50%);
  }

  .workspace-hero {
    min-height: 850px;
  }

  .workspace-hero__scene.domain-carousel {
    top: -1rem;
    right: -25vw;
    width: 150vw;
    height: 60%;
    -webkit-mask-image: radial-gradient(ellipse 83% 78% at 50% 48%, black 58%, transparent 100%);
    mask-image: radial-gradient(ellipse 83% 78% at 50% 48%, black 58%, transparent 100%);
  }

  .workspace-hero__veil,
  .workspace-hero--contact .workspace-hero__veil {
    background:
      linear-gradient(to bottom, transparent 0%, rgba(23, 36, 51, 0.24) 35%, rgba(23, 36, 51, 0.94) 55%, rgba(23, 36, 51, 1) 72%),
      linear-gradient(90deg, rgba(23, 36, 51, 0.4), transparent 80%);
  }

  .workspace-hero__grid {
    mask-image: linear-gradient(to bottom, black, transparent 86%);
  }

  .workspace-hero__inner {
    min-height: 850px;
    align-items: end;
    grid-template-columns: 1fr;
    padding-block: 28rem 3.5rem;
  }

  .workspace-hero h1 {
    font-size: clamp(2.5rem, 10.8vw, 3.7rem);
  }

  .split-layout,
  .contact-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .section-heading--compact { margin-bottom: 2rem; }

  .domain-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .domain-grid .domain-card:last-child,
  .article-grid .article-card:last-child {
    grid-column: auto;
  }

  .domain-card { min-height: 330px; }

  .section-hero__inner {
    grid-template-columns: 1fr;
    gap: 1.7rem;
    padding-block: 3.6rem 0;
  }

  .section-hero {
    --section-copy-bottom: 520px;
    --section-carousel-drop: min(280px, 34vw);
  }

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

  .section-hero__ecosystem.domain-carousel {
    width: min(560px, 76vw);
  }

  .section-hero__ecosystem.domain-carousel.is-webgl-ready {
    width: min(680px, 100vw);
  }

  .service-list,
  .principle-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .article-aside,
  .contact-details {
    position: static;
  }

  .article-aside { order: 2; }

  .article-series__links {
    grid-template-columns: 1fr;
  }

  .article-series__next {
    grid-column: auto;
    text-align: left;
  }

  .cta-panel,
  .contact-form__footer,
  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .site-footer__grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2.45rem; }
  h2 { font-size: 2rem; }

  .nav-toggle__label { display: none; }

  .hero__symbol { min-height: 270px; }
  .hero__emblem { width: 72%; }

  .hero__ecosystem {
    top: calc(4rem + 135px);
  }

  .workspace-hero,
  .workspace-hero__inner {
    min-height: 820px;
  }

  .workspace-hero__scene.domain-carousel {
    right: -31vw;
    width: 164vw;
    height: 56%;
  }

  .workspace-hero__inner {
    padding-block: 24rem 3rem;
  }

  .button-row,
  .button-row .button,
  .cta-panel .button {
    width: 100%;
  }

  .domain-card { min-height: 300px; padding: 1.7rem; }

  .section-hero__inner {
    padding-block: 3rem 0;
  }

  .section-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.15rem);
  }

  .section-hero__meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .method-list li { grid-template-columns: 46px 1fr; }

  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__grid > div:first-child { grid-column: auto; }

  .domain-model__controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .domain-model__controls button { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
