/* ==========================================================================
   Global Abiliti: design system layer
   Tailwind (CDN) handles layout utilities; this file defines the reusable
   components, typography scale, motion language and accessibility states.
   ========================================================================== */

:root {
  --ink: #172321;
  --forest: #1f3833;
  --ivory: #f6f4ee;
  --paper: #fbfaf6;
  --sage: #a7b8a5;
  --teal: #719b96;
  --teal-deep: #3e6863;
  --sand: #d9ccb9;
  --clay: #c98370;
  --clay-deep: #8a4633;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.2, 1);
  --nav-h: 5.5rem;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-feature-settings: "ss01", "cv11"; overflow-x: clip; }
::selection { background: var(--sand); color: var(--ink); }
main:focus { outline: none; }
section[id], [id].eco-card { scroll-margin-top: 4.5rem; }
img { max-width: 100%; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.section { padding-block: clamp(5.5rem, 11vw, 10.5rem); }

/* ---------- Typography ---------- */
.display-xl,
.display-lg,
.statement,
.vision-quote {
  font-family: Fraunces, Georgia, serif;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.display-xl {
  font-size: clamp(2.65rem, 6.1vw, 6.1rem);
  font-weight: 320;
  line-height: 1.01;
  letter-spacing: -0.022em;
  word-spacing: 0.02em;
}
.display-lg {
  font-size: clamp(2.2rem, 4.4vw, 4.35rem);
  font-weight: 320;
  line-height: 1.05;
  letter-spacing: -0.024em;
}
.display-xl em,
.display-lg em { font-style: italic; font-weight: 300; }
.hero .display-xl em { color: #e9c9bb; }

.statement {
  font-size: clamp(1.45rem, 2.55vw, 2.45rem);
  font-weight: 300;
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: rgb(23 35 33 / 0.78);
  text-wrap: pretty;
}
.statement mark {
  background: linear-gradient(transparent 62%, rgb(201 131 112 / 0.32) 62%, rgb(201 131 112 / 0.32) 92%, transparent 92%) no-repeat 0 0 / 0% 100%;
  color: var(--ink);
  font-style: italic;
  transition: background-size 1.1s var(--ease-out);
}
.statement mark:nth-of-type(2) { transition-delay: 0.12s; }
.statement mark:nth-of-type(3) { transition-delay: 0.24s; }
.statement mark:nth-of-type(4) { transition-delay: 0.36s; }
.statement mark:nth-of-type(5) { transition-delay: 0.48s; }
.no-js .statement mark,
.statement.is-in mark { background-size: 100% 100%; }

.body-lg {
  font-size: clamp(1.075rem, 1.3vw, 1.225rem);
  line-height: 1.7;
  color: rgb(23 35 33 / 0.76);
  text-wrap: pretty;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(23 35 33 / 0.72);
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow.justify-center::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow-index { color: var(--clay-deep); font-variant-numeric: tabular-nums; }
.eyebrow-light { color: rgb(246 244 238 / 0.78); }
.eyebrow-light .eyebrow-index { color: var(--clay); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 3.25rem;
  padding: 0.95rem 1.65rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.btn-arrow {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease-out);
}
.btn:hover .btn-arrow,
.btn:focus-visible .btn-arrow,
.insight-card:hover .btn-arrow,
.insight-card:focus-visible .btn-arrow { transform: translateX(4px); }
.btn-light { background: var(--ivory); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: var(--forest); }
.btn-outline { border-color: rgb(23 35 33 / 0.28); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: rgb(23 35 33 / 0.04); }

.link-underline {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-block: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.link-underline:hover::after { transform: scaleX(0.35); transform-origin: left; }

/* ---------- Focus & skip link ---------- */
:focus-visible {
  outline: 2px solid var(--clay-deep);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible { border-radius: 999px; }
[data-nav-dark] :focus-visible,
.footer :focus-visible,
.mobile-menu :focus-visible,
.site-nav:not(.is-scrolled) :focus-visible { outline-color: var(--sand); }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.8rem 1.2rem;
  background: var(--ink);
  color: var(--ivory);
  font-weight: 600;
  border-radius: 999px;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--ivory);
  transition: color 0.4s var(--ease-out);
}
.site-nav > .wrap {
  position: relative;
  z-index: 2;
  height: var(--nav-h);
  transition: height 0.5s var(--ease-out);
}
.site-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(246 244 238 / 0.9);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgb(23 35 33 / 0.08);
  opacity: 0;
  transition: opacity 0.45s var(--ease-out);
}
.site-nav.is-scrolled { color: var(--ink); }
.site-nav.is-scrolled::before { opacity: 1; }
.site-nav.is-scrolled > .wrap { height: 4.4rem; }
.site-nav.is-menu-open { color: var(--ivory); }
.site-nav.is-menu-open::before { opacity: 0; }

.nav-logo {
  position: relative;
  display: block;
  width: clamp(138px, 13vw, 178px);
  transition: width 0.5s var(--ease-out);
}
.is-scrolled .nav-logo { width: clamp(124px, 11vw, 148px); }
.nav-logo img { display: block; width: 100%; height: auto; transition: opacity 0.4s var(--ease-out); }
.nav-logo .logo-dark { position: absolute; inset: 0; opacity: 0; }
.site-nav.is-scrolled:not(.is-menu-open) .logo-dark { opacity: 1; }
.site-nav.is-scrolled:not(.is-menu-open) .logo-light { opacity: 0; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.6rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 500;
  opacity: 0.88;
  transition: opacity 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.35rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.nav-link:hover,
.nav-link[aria-current="true"] { opacity: 1; }
.nav-link:hover::after,
.nav-link[aria-current="true"]::after { transform: scaleX(1); }

.btn-nav {
  min-height: 2.75rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  border-color: rgb(246 244 238 / 0.45);
  color: var(--ivory);
}
.btn-nav:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.is-scrolled:not(.is-menu-open) .btn-nav { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.is-scrolled:not(.is-menu-open) .btn-nav:hover { background: var(--forest); }

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 40%, transparent);
}
.menu-toggle-bars { display: grid; gap: 6px; width: 18px; }
.menu-toggle-bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--forest);
  color: var(--ivory);
  overflow-y: auto;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition: opacity 0.4s var(--ease-out), clip-path 0.6s var(--ease-in-out);
}
.mobile-menu.is-open { opacity: 1; clip-path: inset(0 0 0 0); }
.mobile-link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid rgb(246 244 238 / 0.12);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2rem, 8.5vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.mobile-link span {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--clay);
}
body.menu-locked { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  color: var(--ivory);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  animation: heroReveal 2.2s var(--ease-out) both;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgb(23 35 33 / 0.96) 0%, rgb(23 35 33 / 0.78) 38%, rgb(23 35 33 / 0.1) 72%),
    linear-gradient(180deg, rgb(23 35 33 / 0.55) 0%, transparent 22%);
}
@media (min-width: 1024px) {
  .hero-shade {
    background:
      linear-gradient(90deg, rgb(23 35 33 / 0.92) 0%, rgb(23 35 33 / 0.72) 34%, rgb(23 35 33 / 0.18) 62%, rgb(23 35 33 / 0) 80%),
      linear-gradient(0deg, rgb(23 35 33 / 0.6) 0%, transparent 30%),
      linear-gradient(180deg, rgb(23 35 33 / 0.45) 0%, transparent 18%);
  }
}
.display-xl .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.display-xl .line > span { display: inline-block; }
.hero-in { animation: fadeUp 1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms + 350ms); }
.line > .hero-in { animation-name: lineUp; animation-duration: 1.15s; }

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgb(246 244 238 / 0.72);
}
.scroll-cue-line {
  position: relative;
  width: 1px;
  height: 3.25rem;
  background: rgb(246 244 238 / 0.22);
  overflow: hidden;
}
.scroll-cue-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ivory);
  transform: translateY(-100%);
  animation: cue 2.4s var(--ease-in-out) 1.6s infinite;
}

/* ---------- Philosophy triad ---------- */
.triad-item { padding-block: 2.25rem; }
.triad-item + .triad-item { border-top: 1px solid rgb(23 35 33 / 0.1); }
.triad-item p { margin-top: 0.8rem; max-width: 30ch; color: rgb(23 35 33 / 0.7); line-height: 1.65; }
.triad-num { font-family: Fraunces, serif; font-style: italic; color: var(--clay-deep); font-size: 1.05rem; }
.triad-title { margin-top: 1rem; font-family: Fraunces, serif; font-weight: 350; font-size: clamp(1.9rem, 2.6vw, 2.5rem); letter-spacing: -0.02em; line-height: 1.05; }
@media (min-width: 1024px) {
  .triad-item { padding: 3rem 2.5rem 3.25rem; }
  .triad-item:first-child { padding-left: 0; }
  .triad-item + .triad-item { border-top: 0; border-left: 1px solid rgb(23 35 33 / 0.1); }
}

/* ---------- Images ---------- */
.img-frame {
  position: relative;
  overflow: hidden;
  background: rgb(217 204 185 / 0.45);
}
.img-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-frame img[data-parallax] { inset: -7% 0; height: 114%; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.js .img-frame img { opacity: 0; transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.js .img-frame img[data-parallax] { transition: opacity 0.9s var(--ease-out); }
.js .img-frame img.is-loaded { opacity: 1; }
.caption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgb(23 35 33 / 0.72);
}
.caption::before { content: ""; width: 1.5rem; height: 1px; background: currentColor; }

/* ---------- Why: fragmented → connected ---------- */
.fragments {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid rgb(23 35 33 / 0.08);
  background:
    radial-gradient(circle at 1px 1px, rgb(23 35 33 / 0.12) 1px, transparent 1.4px) 0 0 / 22px 22px,
    linear-gradient(180deg, #f1ede4, #f6f3ec);
  overflow: hidden;
}
@media (min-width: 640px) { .fragments { aspect-ratio: 6 / 5; } }
.fragments-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.fragments-lines line {
  stroke: var(--teal-deep);
  stroke-width: 1;
  stroke-linecap: butt;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0.55;
  transition: stroke-dashoffset 1.2s var(--ease-in-out);
  transition-delay: var(--ld, 0ms);
}
.fragments-lines line.is-ring { stroke: var(--clay); opacity: 0.6; }
.is-connected .fragments-lines line { stroke-dashoffset: 0; }

.frag {
  position: absolute;
  left: calc(var(--fx) * 100%);
  top: calc(var(--fy) * 100%);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.95rem;
  border: 1px dashed rgb(23 35 33 / 0.28);
  background: rgb(251 250 246 / 0.7);
  font-size: clamp(0.72rem, 1.1vw, 0.95rem);
  font-weight: 500;
  color: rgb(23 35 33 / 0.72);
  white-space: nowrap;
  border-radius: 3px;
  transform: rotate(var(--sr, 0deg));
}
.frag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgb(23 35 33 / 0.3); transition: background 0.6s; }
@media (max-width: 639px) { .frag { padding: 0.45rem 0.7rem; gap: 0.4rem; } }
.js .fragments.is-ready .frag {
  left: 0;
  top: 0;
  transform: translate3d(var(--sx), var(--sy), 0) rotate(var(--sr, 0deg));
  transition:
    transform 1.5s var(--ease-in-out) var(--fd, 0ms),
    background 0.8s var(--ease-out) var(--fd, 0ms),
    border-color 0.8s var(--ease-out) var(--fd, 0ms),
    color 0.8s var(--ease-out) var(--fd, 0ms),
    box-shadow 0.8s var(--ease-out) var(--fd, 0ms);
}
.js .fragments.is-connected .frag {
  transform: translate3d(var(--cx), var(--cy), 0) rotate(0deg);
  border-style: solid;
  border-color: rgb(62 104 99 / 0.45);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 30px -18px rgb(23 35 33 / 0.45);
}
.is-connected .frag::before { background: var(--teal-deep); }
.fragments-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: clamp(92px, 17%, 132px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ivory);
  text-align: center;
  font-family: Fraunces, serif;
  font-size: clamp(0.85rem, 1.3vw, 1.05rem);
  line-height: 1.1;
  transform: translate(-50%, -50%) scale(0.2);
  opacity: 0;
  transition: transform 1s var(--ease-out) 0.9s, opacity 0.6s var(--ease-out) 0.9s;
  box-shadow: 0 0 0 10px rgb(23 35 33 / 0.06), 0 0 0 22px rgb(23 35 33 / 0.03);
}
.no-js .fragments-core,
.is-connected .fragments-core { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.no-js .fragments-core { opacity: 0; }

/* ---------- Ecosystem ---------- */
.ecosystem { position: relative; overflow: hidden; }
.ecosystem::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 80%;
  background: radial-gradient(closest-side, rgb(113 155 150 / 0.16), transparent);
  pointer-events: none;
}
.eco-stage { display: none; }
@media (min-width: 1024px) {
  .eco-stage:not([hidden]) {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(2.5rem, 5vw, 5.5rem);
    align-items: center;
  }
  .eco-ready .eco-list { display: none; }
}

.eco-map {
  position: relative;
  width: 100%;
  max-width: 660px;
  aspect-ratio: 1;
  margin-inline: auto;
}
.eco-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* Map strokes use viewBox units (100 ≈ map width), so 0.17 ≈ 1px at full size. */
.eco-ring { fill: none; stroke: rgb(246 244 238 / 0.14); stroke-width: 0.17; stroke-dasharray: 0.4 0.8; }
.eco-ring-inner { stroke: rgb(246 244 238 / 0.08); stroke-dasharray: none; }
.eco-spoke {
  stroke: rgb(246 244 238 / 0.16);
  stroke-width: 0.17;
  transition: stroke 0.45s var(--ease-out), opacity 0.45s;
}
.eco-spoke.is-active { stroke: var(--clay); stroke-width: 0.26; stroke-dasharray: 0.6 0.6; animation: flow 1.2s linear infinite; }
.eco-chord {
  fill: none;
  stroke: var(--sage);
  stroke-width: 0.2;
  opacity: 0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: opacity 0.4s, stroke-dashoffset 0.9s var(--ease-in-out);
}
.eco-chord.is-active { opacity: 0.75; stroke-dashoffset: 0; }

.eco-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 27%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a4a44, var(--forest) 60%, #172d29);
  box-shadow: 0 0 0 1px rgb(246 244 238 / 0.14), 0 30px 80px -30px rgb(0 0 0 / 0.6);
}
.eco-core-label {
  font-family: Fraunces, serif;
  font-size: clamp(1rem, 1.6vw, 1.45rem);
  line-height: 1.05;
  text-align: center;
  letter-spacing: 0.01em;
  color: var(--ivory);
}
.eco-core-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgb(201 131 112 / 0.5);
  animation: pulse 4.5s var(--ease-out) infinite;
}

.eco-node {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: -1.375rem 0 0 -1.375rem;
  border-radius: 50%;
  color: var(--ivory);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.6s var(--ease-out) var(--nd, 0ms), transform 0.6s var(--ease-out) var(--nd, 0ms);
}
.eco-map.is-in .eco-node { opacity: 1; transform: none; }
.eco-node-dot {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  border: 1.5px solid var(--sage);
  background: var(--ink);
  transition: transform 0.45s var(--ease-out), background 0.45s, border-color 0.45s, box-shadow 0.45s;
}
.eco-node-label {
  position: absolute;
  white-space: nowrap;
  font-size: clamp(0.8rem, 0.95vw, 0.92rem);
  font-weight: 500;
  color: rgb(246 244 238 / 0.72);
  transition: color 0.35s, transform 0.45s var(--ease-out);
  pointer-events: none;
}
.eco-node-label small { display: block; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgb(246 244 238 / 0.45); font-weight: 600; margin-bottom: 0.15rem; }
.eco-node[data-side="right"] .eco-node-label { left: calc(100% + 0.1rem); text-align: left; }
.eco-node[data-side="left"] .eco-node-label { right: calc(100% + 0.1rem); text-align: right; }
.eco-node[data-side="top"] .eco-node-label { bottom: calc(100% + 0.1rem); text-align: center; }
.eco-node[data-side="bottom"] .eco-node-label { top: calc(100% + 0.1rem); text-align: center; }
.eco-node:hover .eco-node-dot,
.eco-node.is-active .eco-node-dot {
  transform: scale(1.65);
  background: var(--clay);
  border-color: var(--clay);
  box-shadow: 0 0 0 6px rgb(201 131 112 / 0.18);
}
.eco-node.is-related .eco-node-dot { border-color: var(--ivory); background: var(--forest); }
.eco-node:hover .eco-node-label,
.eco-node.is-active .eco-node-label { color: var(--ivory); }
.eco-node.is-active[data-side="right"] .eco-node-label { transform: translateX(6px); }
.eco-node.is-active[data-side="left"] .eco-node-label { transform: translateX(-6px); }
.eco-node.is-active[data-side="top"] .eco-node-label { transform: translateY(-6px); }
.eco-node.is-active[data-side="bottom"] .eco-node-label { transform: translateY(6px); }
.eco-node.is-related .eco-node-label { color: rgb(246 244 238 / 0.9); }
.eco-node:focus-visible { outline-offset: 2px; border-radius: 50%; }

.eco-panel { max-width: 30rem; }
.eco-panel-media img { transition: opacity 0.45s var(--ease-out), transform 1.2s var(--ease-out); }
.eco-panel.is-swapping .eco-panel-media img,
.eco-panel.is-swapping [data-eco-panel-title],
.eco-panel.is-swapping [data-eco-panel-desc] { opacity: 0; }
.eco-panel [data-eco-panel-title],
.eco-panel [data-eco-panel-desc] { transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out); }
.eco-panel.is-swapping [data-eco-panel-title] { transform: translateY(8px); }

/* Cards (mobile, no-JS) */
.eco-card {
  position: relative;
  display: grid;
  align-content: start;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem;
  padding: 1rem;
  border: 1px solid rgb(246 244 238 / 0.1);
  background: rgb(246 244 238 / 0.03);
  border-radius: 4px;
  transition: border-color 0.4s, background 0.4s;
}
.eco-card:hover { border-color: rgb(246 244 238 / 0.28); background: rgb(246 244 238 / 0.06); }
.eco-card-media { aspect-ratio: 1; border-radius: 2px; }
.eco-card-media img { transition: transform 0.8s var(--ease-out), opacity 0.9s var(--ease-out); }
.eco-card:hover .eco-card-media img { transform: scale(1.03); }
.eco-card-cat { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); }
.eco-card-title { margin-top: 0.4rem; font-family: Fraunces, serif; font-weight: 350; font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.01em; color: var(--ivory); transition: transform 0.4s var(--ease-out); }
.eco-card:hover .eco-card-title { transform: translateX(5px); }
.eco-card-desc { margin-top: 0.5rem; font-size: 0.95rem; line-height: 1.55; color: rgb(246 244 238 / 0.72); }
.eco-card.is-targeted { border-color: var(--clay); }
@media (min-width: 640px) and (max-width: 1023px) {
  .eco-card { grid-template-columns: 1fr; padding: 0 0 1.5rem; }
  .eco-card-media { aspect-ratio: 16 / 10; border-radius: 3px 3px 0 0; }
  .eco-card-body { padding-inline: 1.25rem; }
}
@media (min-width: 1024px) {
  .no-js .eco-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Journey ---------- */
.journey { position: relative; padding-left: 2.75rem; }
.journey::before,
.journey::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: rgb(23 35 33 / 0.14);
  z-index: 0;
}
.journey::after {
  background: linear-gradient(180deg, var(--teal-deep), var(--clay));
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 2.2s var(--ease-in-out);
}
.journey.is-in::after,
.no-js .journey::after { transform: none; }
.journey-step { position: relative; padding-bottom: 2.4rem; }
.journey-step:last-child { padding-bottom: 0; }
/* Stop the vertical line at the final milestone. */
.journey-step:last-child::after {
  content: "";
  position: absolute;
  left: -2.75rem;
  top: 1.5rem;
  bottom: -0.5rem;
  width: 1.2rem;
  background: var(--ivory);
  z-index: 1;
}
.journey-dot {
  position: absolute;
  z-index: 2;
  left: -2.75rem;
  top: 0.35rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 1px solid rgb(23 35 33 / 0.35);
  background: var(--ivory);
  transition: background 0.5s, border-color 0.5s;
  transition-delay: calc(var(--n) * 170ms + 300ms);
}
.journey-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--teal-deep); transform: scale(0); transition: transform 0.5s var(--ease-out); transition-delay: inherit; }
.journey.is-in .journey-dot,
.no-js .journey-dot { border-color: var(--teal-deep); }
.journey.is-in .journey-dot::after,
.no-js .journey-dot::after { transform: none; }
.journey-num { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; color: var(--clay-deep); }
.journey-verb { margin-top: 0.25rem; font-family: Fraunces, serif; font-weight: 330; font-size: clamp(1.9rem, 2.2vw, 2.25rem); letter-spacing: -0.02em; line-height: 1.05; }
.journey-life { margin-top: 0.4rem; font-size: 0.9rem; color: rgb(23 35 33 / 0.72); }
.js .journey-step > :not(.journey-dot) {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--n) * 170ms + 250ms);
}
.js .journey.is-in .journey-step > :not(.journey-dot) { opacity: 1; transform: none; }

@media (min-width: 1024px) {
  .journey {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr)) minmax(0, 0.6fr);
    height: 21rem;
    padding-left: 0;
  }
  .journey::before,
  .journey::after { left: 0; right: 0; top: 50%; bottom: auto; width: auto; height: 1px; }
  .journey::after { background: linear-gradient(90deg, var(--teal-deep), var(--clay)); transform-origin: left; transform: scaleX(0); }
  .journey-step { display: flex; flex-direction: column; padding: 0; white-space: nowrap; }
  .journey-step:last-child::after { content: none; }
  .journey-step:nth-child(odd) { justify-content: flex-start; padding-top: calc(10.5rem + 2rem); }
  .journey-step:nth-child(even) { justify-content: flex-end; padding-bottom: calc(10.5rem + 2rem); }
  .journey-step::before {
    content: "";
    position: absolute;
    left: 0.55rem;
    width: 1px;
    height: 1.4rem;
    background: rgb(23 35 33 / 0.2);
  }
  .journey-step:nth-child(odd)::before { top: calc(10.5rem + 0.4rem); }
  .journey-step:nth-child(even)::before { bottom: calc(10.5rem + 0.4rem); }
  .journey-dot { left: 0; top: calc(50% - 0.575rem); }
  .journey-verb { font-size: clamp(1.5rem, 1.95vw, 2.1rem); }
  .journey-life { font-size: 0.85rem; white-space: normal; width: max-content; max-width: 10rem; }
}

/* ---------- Principles ---------- */
.principles { border-top: 1px solid rgb(23 35 33 / 0.14); }
.principle {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding-block: 2.5rem;
  border-bottom: 1px solid rgb(23 35 33 / 0.14);
  transition: border-color 0.4s;
}
.principle:hover { border-bottom-color: rgb(23 35 33 / 0.4); }
.principle-num { font-family: Fraunces, serif; font-style: italic; font-size: 1.15rem; color: var(--clay-deep); padding-top: 0.55rem; }
.principle-title { font-family: Fraunces, serif; font-weight: 330; font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing: -0.022em; line-height: 1.05; transition: transform 0.5s var(--ease-out); }
.principle:hover .principle-title { transform: translateX(6px); }
.principle-body p { margin-top: 1rem; max-width: 46ch; font-size: 1.05rem; line-height: 1.7; color: rgb(23 35 33 / 0.72); }
.principle-glyph {
  display: none;
  width: 4.5rem;
  height: 4.5rem;
  fill: none;
  stroke: var(--teal-deep);
  stroke-width: 1.1;
  opacity: 0.6;
  transition: transform 0.8s var(--ease-out), opacity 0.4s, stroke 0.4s;
}
.principle:hover .principle-glyph { transform: scale(1.03) rotate(-6deg); opacity: 1; stroke: var(--clay-deep); }
@media (min-width: 640px) {
  .principle { grid-template-columns: 4.5rem 1fr 5rem; padding-block: 3rem; }
  .principle-glyph { display: block; justify-self: end; }
}

/* ---------- Ambition ---------- */
.ambition { position: relative; overflow: hidden; background: var(--ink); }
.ambition-media { position: absolute; inset: 0; }
.ambition-media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: center 40%; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.ambition-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(23 35 33 / 0.9) 0%, rgb(23 35 33 / 0.62) 55%, rgb(23 35 33 / 0.45) 100%),
    linear-gradient(0deg, rgb(23 35 33 / 0.95) 0%, transparent 45%);
}
.ambition .display-xl { font-size: clamp(2.5rem, 5.4vw, 5.4rem); }
.build-path {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.25rem;
}
@media (min-width: 768px) { .build-path { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .build-path { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 1rem; } }
.build-path li {
  position: relative;
  padding-top: 1.25rem;
  font-family: Fraunces, serif;
  font-size: 1.15rem;
  font-weight: 350;
  line-height: 1.2;
  color: var(--ivory);
}
.build-path li::before,
.build-path li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgb(246 244 238 / 0.22); }
.build-path li::after { background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease-out); }
.build-path.is-in li::after,
.no-js .build-path li::after { transform: none; }
.build-path li:nth-child(2)::after { transition-delay: 0.12s; }
.build-path li:nth-child(3)::after { transition-delay: 0.24s; }
.build-path li:nth-child(4)::after { transition-delay: 0.36s; }
.build-path li:nth-child(5)::after { transition-delay: 0.48s; }
.build-path li:nth-child(6)::after { transition-delay: 0.6s; }
.build-path li:nth-child(7)::after { transition-delay: 0.72s; }
.build-path li:nth-child(8)::after { transition-delay: 0.84s; }
.build-path li span { display: block; margin-bottom: 0.5rem; font-family: "Inter Tight", sans-serif; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; color: var(--sand); }

/* ---------- Insights ---------- */
.insight-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 15rem;
  padding: 2rem;
  background: var(--ivory);
  transition: background 0.4s;
}
.insight-card:hover { background: var(--paper); }
.insight-kicker { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--clay-deep); }
.insight-title { font-family: Fraunces, serif; font-size: 1.45rem; font-weight: 330; line-height: 1.25; letter-spacing: -0.01em; transition: transform 0.45s var(--ease-out); }
.insight-card:hover .insight-title { transform: translateX(5px); }
.insight-foot { margin-top: auto; display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; font-weight: 500; color: rgb(23 35 33 / 0.72); }

/* ---------- Partnership ---------- */
.perspectives {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2em 0;
  padding-top: 2.5rem;
  border-top: 1px solid rgb(23 35 33 / 0.15);
  font-family: Fraunces, serif;
  font-size: clamp(1.55rem, 3.3vw, 3.1rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.perspectives li { margin-right: 0.9em; }
.perspectives li::before {
  content: "";
  display: inline-block;
  width: 0.22em;
  height: 0.22em;
  margin-right: 0.4em;
  border-radius: 50%;
  background: var(--clay);
  vertical-align: 0.28em;
}

/* ---------- Advisory ---------- */
.stage-track { max-width: 26rem; }
.stage-track li {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  padding: 0.5rem 0 0.5rem 1.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgb(23 35 33 / 0.72);
}
.stage-track li::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  top: 50%;
  width: 0.72rem;
  height: 0.72rem;
  margin-top: -0.36rem;
  border-radius: 50%;
  border: 1.5px solid rgb(23 35 33 / 0.3);
  background: var(--ivory);
}
.stage-track li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(0.36rem - 0.5px);
  top: 50%;
  height: 100%;
  width: 1px;
  background: rgb(23 35 33 / 0.15);
}
.stage-track li.is-done { color: var(--ink); }
.stage-track li.is-done::before { background: var(--ink); border-color: var(--ink); }
.stage-track li.is-done:not(.is-current)::after { background: var(--ink); }
.stage-track li.is-current::before { background: var(--clay-deep); border-color: var(--clay-deep); box-shadow: 0 0 0 4px rgb(154 83 64 / 0.16); }
.stage-now {
  padding: 0.15rem 0.5rem;
  border: 1px solid rgb(154 83 64 / 0.35);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-deep);
}

.profile-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid rgb(23 35 33 / 0.1);
  background: var(--paper);
  border-radius: 4px;
  transition: border-color 0.4s;
}
.profile-card:hover { border-color: rgb(23 35 33 / 0.25); }
.profile-mark { display: flex; margin-bottom: 2rem; }
.profile-mark span {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgb(23 35 33 / 0.18);
  background: var(--ivory);
}
.profile-mark span + span { margin-left: -0.7rem; }
.profile-mark span:nth-child(2) { background: rgb(167 184 165 / 0.45); }
.profile-mark span:nth-child(3) { background: rgb(217 204 185 / 0.8); }
.profile-mark span:nth-child(4) { background: rgb(201 131 112 / 0.35); }
.profile-title { font-family: Fraunces, serif; font-size: 1.75rem; font-weight: 350; letter-spacing: -0.015em; }
.profile-note { margin-top: 0.6rem; font-size: 0.98rem; line-height: 1.6; color: rgb(23 35 33 / 0.72); }
.profile-card .link-underline { align-self: flex-start; }

/* ---------- Vision ---------- */
.vision { position: relative; overflow: hidden; background: var(--ink); isolation: isolate; }
.vision-globe {
  position: absolute;
  z-index: -1;
  right: -12%;
  top: 50%;
  width: min(1100px, 130vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  opacity: 0.85;
}
.vision-glow {
  position: absolute;
  z-index: -1;
  inset: -20%;
  background:
    radial-gradient(35% 40% at 70% 45%, rgb(113 155 150 / 0.2), transparent 70%),
    radial-gradient(30% 35% at 20% 80%, rgb(201 131 112 / 0.1), transparent 70%);
  animation: drift 26s ease-in-out infinite alternate;
}
.vision-quote p {
  max-width: 24ch;
  font-size: clamp(2.05rem, 5.1vw, 5.4rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.024em;
  text-wrap: pretty;
}
.vision-quote em { font-style: italic; color: var(--sand); }
.js .vision-quote .w { opacity: 0.14; transition: opacity 0.7s var(--ease-out); transition-delay: calc(var(--w) * 38ms); }
.js .vision-quote.is-in .w { opacity: 1; }

/* ---------- CTA ---------- */
.cta-banner {
  padding-block: clamp(1rem, 4vw, 3rem);
  text-align: center;
}

/* ---------- Footer ---------- */
.footer-head { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgb(246 244 238 / 0.62); }
.footer-list { margin-top: 1.25rem; display: grid; gap: 0.75rem; font-size: 0.98rem; }
.footer-list a { color: rgb(246 244 238 / 0.88); transition: color 0.3s; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size 0.4s var(--ease-out), color 0.3s; padding-bottom: 2px; }
.footer-list a:hover { color: var(--ivory); background-size: 100% 1px; }
.footer-soon { color: rgb(246 244 238 / 0.62); }
.footer-soon em {
  margin-left: 0.4rem;
  padding: 0.1rem 0.35rem;
  border: 1px solid rgb(246 244 238 / 0.22);
  border-radius: 3px;
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: 0.15em;
}

/* ---------- Scroll reveal ---------- */
.js [data-reveal]:not([data-reveal="group"]) {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.9s var(--ease-out) var(--d, 0ms), transform 1.1s var(--ease-out) var(--d, 0ms);
}
.js .editorial-frame[data-reveal],
.js .eco-card[data-reveal],
.js .profile-card[data-reveal] { transform: translate3d(0, 26px, 0) scale(0.97); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes heroReveal { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes cue { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(1.55); opacity: 0; } }
@keyframes flow { to { stroke-dashoffset: -2.4; } }
@keyframes drift { from { transform: translate3d(-3%, -2%, 0); } to { transform: translate3d(3%, 2%, 0); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal],
  .js .journey-step > * { opacity: 1 !important; transform: none !important; }
  .eco-core-pulse,
  .scroll-cue-line::after { display: none; }
  .img-frame img[data-parallax],
  .ambition-media img { transform: none !important; }
  .js .vision-quote .w { opacity: 1; }
}
