/* Our Team — "The people behind your plan." Sand and ink, arch portraits, editorial numeral. */

/* ---------- 1. Hero (H6 editorial) ---------- */
.thero { padding-top: calc(var(--nav-h) + clamp(28px, 4vw, 56px)); padding-bottom: clamp(56px, 7vw, 110px); overflow: hidden; }
.thero__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: end; gap: clamp(16px, 3vw, 48px); }
.thero__num { line-height: .74; margin-left: -.04em; }
.thero__7 {
  display: block; font-size: clamp(14rem, 40vw, 40rem); font-weight: 600; letter-spacing: -.07em; line-height: .78;
  font-variant-numeric: tabular-nums; color: transparent; -webkit-text-stroke: 2px var(--green-ink);
}
.thero__7.is-in, .thero__7.m-done { animation: t7-fill 1s ease 1s forwards; }
@keyframes t7-fill { to { color: var(--green-ink); } }
html:not(.js-m) .thero__7 { color: var(--green-ink); animation: none; }
.thero__tx { padding-bottom: clamp(8px, 2vw, 32px); }
.thero__h { max-width: 11ch; color: var(--text); }
.thero__lead { margin-top: 22px; max-width: 26ch; }
.avs { display: flex; margin-top: clamp(28px, 4vw, 52px); padding-left: 0; list-style: none; }
.av {
  display: grid; place-items: center; width: clamp(46px, 5vw, 64px); aspect-ratio: 1; border-radius: 50%; margin-left: -12px;
  border: 3px solid var(--sand); font-size: clamp(.85rem, 1.1vw, 1rem); font-weight: 600; letter-spacing: .02em;
}
.av:first-child { margin-left: 0; }
.av--a { background: var(--green-deep); color: var(--on-dark); }
.av--b { background: var(--green-ink); color: #fff; }
.av--c { background: var(--ink); color: var(--on-dark); }
.av--d { background: var(--mint-2); color: var(--text); }
.av--e { background: var(--green-dark); color: var(--on-dark); }
.av--f { background: var(--sand-2); color: var(--text); }
.av--g { background: var(--ink-3); color: var(--on-dark); }
.av:nth-child(even) { translate: 0 10px; }
@media (max-width: 760px) {
  .thero__grid { grid-template-columns: minmax(0, 1fr); }
  .thero__7 { font-size: clamp(11rem, 52vw, 16rem); }
  .thero__num { margin-bottom: 4px; }
  .thero__h { max-width: none; }
}

/* ---------- 2. Founder ---------- */
.tfound__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.tfound__media { position: relative; max-width: 520px; width: 100%; justify-self: center; }
.tfound__arch { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 5; background: var(--ink-3); }
.tfound__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.tfound__ring { position: absolute; inset: -18px -18px 0 -18px; border: 1.5px solid var(--lime-hi); border-radius: 26px 26px 12px 12px; opacity: .85; pointer-events: none; }
.tfound__chip { position: absolute; right: -10px; bottom: 28px; z-index: 2; padding: 10px 18px; font-size: 14px; background: var(--green-deep); color: var(--on-dark); border: 1px solid var(--lime-hi); }
.tfound__eb { color: var(--lime); }
.tfound__name { margin-top: 10px; font-size: clamp(3rem, 7.4vw, 7rem); line-height: .92; }
.tfound__role { margin-top: 14px; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 500; color: var(--lime); }
.tfound__bio { margin-top: 26px; color: var(--on-dark); max-width: 38ch; }
.tfound__rec { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.tfound__act { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
@media (max-width: 860px) {
  .tfound__grid { grid-template-columns: minmax(0, 1fr); }
  .tfound__media { max-width: 380px; }
  .tfound__chip { right: 8px; }
}

/* ---------- 3. Gallery ---------- */
.tgal__head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 72px); }
.tgal__head h2 { margin-top: 12px; }
.tgal__head .body-lg { margin-top: 14px; }
.tgal__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px) clamp(18px, 3vw, 48px); list-style: none; margin: 0; padding: 0; align-items: start; }
.tm:nth-child(3n+2) { margin-top: clamp(40px, 6vw, 96px); }
.tm:nth-child(3n+3) { margin-top: clamp(14px, 2vw, 32px); }
.tm__card { display: block; }
/* portrait frames differ slightly in height and width so the row has rhythm */
.tm--1 { --ar: 4 / 5; }
.tm--2 { --ar: 5 / 7; }
.tm--3 { --ar: 1 / 1.12; }
.tm--4 { --ar: 5 / 6; }
.tm--5 { --ar: 4 / 5.4; }
.tm--6 { --ar: 1 / 1.2; }
.tm--3 .tm__card, .tm--5 .tm__card { width: 92%; margin-inline: auto; }
.tm__arch { position: relative; aspect-ratio: var(--ar, 4 / 5); display: grid; place-items: center; overflow: hidden; border-radius: 12px; }
.tm__arch::before, .tm__arch::after { content: ""; position: absolute; border: 1.5px solid currentColor; border-radius: 6px; opacity: .3; }
.tm__arch::before { inset: 12px; }
.tm__arch::after { inset: 28px; }
/* real headshots: photo fills the frame, decorative inner rules hidden */
.tm__arch--ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.tm__arch--ph::before, .tm__arch--ph::after { display: none; }
.tm__mono { position: relative; font-size: clamp(3.4rem, 7vw, 6.4rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.tm__arch--a { background: var(--green-deep); color: var(--on-dark); }
.tm__arch--b { background: var(--green-ink); color: #fff; }
.tm__arch--c { background: var(--green-dark); color: var(--on-dark); }
.tm__arch--d { background: var(--mint-2); color: var(--text); }
.tm__arch--e { background: var(--ink); color: var(--on-dark); }
.tm__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 18px; }
.tm__name { font-size: clamp(1.2rem, 1.7vw, 1.5rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; color: var(--text); }
.tm__title { margin-top: 4px; font-size: 15px; color: var(--text-2); }
.tm__plus { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--text); background: transparent; color: var(--text); cursor: pointer; transition: background .3s, color .3s, transform .4s; }
.tm__plus:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.tm__plus:focus-visible { outline: 3px solid var(--green-ink); outline-offset: 3px; }
@media (max-width: 900px) {
  .tgal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .tm:nth-child(n) { margin-top: 0; }
  .tm:nth-child(even) { margin-top: 36px; }
  .tm__mono { font-size: 3.4rem; }
  .tm__row { flex-direction: column; gap: 8px; }
}
@media (max-width: 480px) { .tm__arch::after { display: none; } .tm__arch::before { inset: 8px; } }

/* ---------- Bio dialog ---------- */
.bio { width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid rgba(246,248,246,.18); border-radius: 12px; background: var(--ink); color: var(--on-dark); overflow: auto; margin: auto; }
.bio::backdrop { background: rgba(12,19,16,.78); }
.bio[open] { animation: bio-in .45s cubic-bezier(.2,.8,.2,1); }
.bio[open]::backdrop { animation: bio-fade .35s ease; }
@keyframes bio-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes bio-fade { from { opacity: 0; } to { opacity: 1; } }
.bio__in { position: relative; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); padding: clamp(24px, 4vw, 48px); }
.bio__arch { aspect-ratio: 4 / 5; display: grid; place-items: center; position: relative; overflow: hidden; border-radius: 12px; }
.bio__arch .tm__mono { font-size: 3.6rem; }
.bio .eyebrow { color: var(--lime); }
.bio__name { margin-top: 8px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.bio__text { margin-top: 18px; display: grid; gap: 14px; font-size: 16px; line-height: 1.7; color: var(--on-dark-2); }
.bio__x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(246,248,246,.3); background: transparent; color: var(--on-dark); cursor: pointer; transition: background .3s; }
.bio__x:hover { background: var(--green); }
.bio__x:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
@media (max-width: 600px) { .bio__in { grid-template-columns: minmax(0, 1fr); padding-top: 64px; } .bio__side { display: none; } }

/* ---------- 4. Values ---------- */
.tvals__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.tvals__side h2 { margin-top: 14px; }
.tvals__lt { width: min(100%, 300px); margin-top: 24px; }
.tvals__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.val { position: relative; overflow: hidden; padding: clamp(24px, 2.6vw, 38px); border-radius: 8px; min-height: 260px; display: flex; flex-direction: column; background: rgba(246,248,246,.07); border: 1px solid rgba(246,248,246,.18); }
.val--2 { background: var(--green-dark); }
.val--3 { background: var(--ink); }
.val--4 { background: rgba(123,220,134,.14); border-color: rgba(123,220,134,.45); }
.val__l { position: absolute; right: 12px; top: -22px; font-size: 9rem; font-weight: 600; line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(246,248,246,.35); pointer-events: none; }
.val__ico { color: var(--lime-hi); }
.val__t { margin-top: auto; padding-top: 28px; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.04em; color: var(--on-dark); }
.val__p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--on-dark-2); }
.val .key { color: var(--on-dark); }
@media (max-width: 900px) { .tvals__grid { grid-template-columns: minmax(0, 1fr); } .tvals__lt { width: 200px; } }
@media (max-width: 560px) { .tvals__tiles { grid-template-columns: minmax(0, 1fr); } .val { min-height: 0; } }

/* ---------- 5. CTA ---------- */
.tcta { padding-block: clamp(56px, 7vw, 110px); }
.tcta__panel { padding: clamp(36px, 6vw, 96px); border-radius: 14px; background: var(--green-dark); color: var(--on-dark); text-align: center; position: relative; overflow: hidden; }
.tcta__h { font-size: clamp(3rem, 9vw, 8rem); color: var(--on-dark); }
.tcta__p { margin: 18px auto 0; color: var(--on-dark-2); }
.tcta__act { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 32px; margin-top: 34px; }
.tcta__link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--on-dark); text-decoration: underline; text-underline-offset: 5px; }
.tcta__link:hover { color: var(--lime-hi); }
.tcta__link:focus-visible { outline: 3px solid var(--lime-hi); outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  .bio[open], .bio[open]::backdrop { animation: none; }
  .thero__7 { animation: none; color: var(--green-ink); }
  .tm__plus { transition: none; }
}

/* I4: leaf-growth carries dark soil, so on --green-deep it sits in a light rounded chip */
.tvals__lt { padding: clamp(14px, 2vw, 24px); border-radius: 22px; background: var(--mint); box-sizing: border-box; }

/* ---------- 2b. Roster: seven discs close into one arc as you scroll (pin) ---------- */
.tros { --F: clamp(330px, 54vh, 480px); --L: 84px; }
.tros__stage { display: flex; align-items: center; overflow: hidden; }
.tros__in { width: 100%; }
.tros__head { max-width: 640px; margin-bottom: clamp(10px, 2vh, 26px); }
.tros__head h2 { margin-top: 10px; color: var(--text); }
.tros .eyebrow { color: var(--green-ink); }
.tros__fig { position: relative; height: var(--F); max-width: 1120px; margin-inline: auto; }
.tros__arc { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--F) - var(--L) - 40px); width: 100%; color: var(--green-ink); opacity: .55; overflow: visible; }
.tros__list { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.tros__m {
  --k: clamp(0, calc((var(--pin, 1) - var(--d)) / .5), 1);
  --e: calc(var(--k) * (2 - var(--k)));
  position: absolute; top: 0; bottom: 0; left: var(--fx); width: 14%; transform: translateX(-50%);
}
.tros__disc {
  position: absolute; left: 50%; margin-left: calc(var(--s) / -2); width: var(--s); aspect-ratio: 1 / 1.14;
  bottom: calc(var(--L) + 28px + var(--fy) * (var(--F) - var(--L) - 28px - var(--s) * 1.14) / 100);
  display: grid; place-items: center; border-radius: 12px;
  font-size: calc(var(--s) * .3); font-weight: 600; letter-spacing: -.03em;
  transform: translate(calc((1 - var(--e)) * var(--sx)), calc((1 - var(--e)) * var(--sy))) rotate(calc((1 - var(--e)) * var(--sr)));
  box-shadow: 0 14px 28px -16px rgba(1,53,34,.55); z-index: 1;
}
.tros__disc::after { content: ""; position: absolute; inset: 8px; border: 1.5px solid currentColor; border-radius: inherit; opacity: .3; }
.tros__disc--a { background: var(--green-deep); color: var(--on-dark); }
.tros__disc--b { background: var(--green-ink); color: #fff; }
.tros__disc--c { background: var(--ink); color: var(--on-dark); }
.tros__disc--d { background: var(--green-dark); color: var(--on-dark); }
.tros__disc--e { background: #fff; color: var(--text); }
.tros__disc--f { background: var(--green-deep); color: var(--on-dark); }
.tros__disc--g { background: var(--ink-3); color: var(--on-dark); }
.tros__lab { position: absolute; left: 50%; bottom: 0; z-index: 2; transform: translateX(-50%); width: max(100%, 130px); min-height: var(--L); padding: 8px 6px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; background: var(--mint); }
.tros__lab b { font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--text); }
.tros__lab i { font-style: normal; font-size: 13px; font-weight: 500; line-height: 1.25; color: var(--text-2); }
@media (max-width: 899px) {
  .tros { padding-block: clamp(56px, 9vw, 90px); }
  .tros__stage { display: block; overflow: visible; }
  .tros__fig { height: auto; }
  .tros__arc { display: none; }
  .tros__list { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; margin-top: 24px; }
  .tros__m { position: static; width: auto; transform: none; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .tros__disc { position: static; margin: 0; --e: 1; width: calc(var(--s) * .8); transform: none; }
  .tros__lab { position: static; transform: none; width: auto; min-height: 0; background: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .tros__disc { transform: none; }
}
