/* CropNow, About: the story as a seed's journey, from the soil to the sky.
 *
 * The page's own colour travels with the story: warm soil at the top, the
 * site's chalk in the middle, open sky at the foot. Each chapter opens with the
 * stage of the crop in Devanagari (बीज, मिट्टी, अंकुर, फसल, आकाश), large and
 * quiet. A vine grows down the page as it is read. Drawings are code, photos
 * are CropNow's own, and nothing is boxed in.
 */

body.page-about {
  --soil: #efe4d2;
  --sky: #e6eff0;
  --ink-soft: rgb(13 59 9 / .78);
  --deva: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;
  --w: min(64rem, 100vw - 2 * var(--gutter));
  background: linear-gradient(180deg, var(--soil) 0, #f4efe6 18%, var(--chalk) 42%, var(--chalk) 64%, #eef4f1 82%, var(--sky) 100%);
}

@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  body.page-about {
    --w: min(62rem, 100vw - 26rem);
  }
}

.ab-kicker {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: 0;
  color: var(--green);
  font: 600 .8rem/1.2 var(--font-text);
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* -- Code-drawn scenes ------------------------------------------------------------- */

.art svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* The family farm: walls of lime-washed mud, a tiled roof, and rows that
 * sprout again when the chapter is read. */
.art .g-top { fill: #d8c4a4; }
.art .g-left { fill: #b99c76; }
.art .g-right { fill: #a3865f; }
.art .furrow { stroke: #a3865f; stroke-width: 3; stroke-linecap: round; }
.art .sprout { fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; opacity: 0; transition: opacity .6s var(--ease); transition-delay: calc(var(--k) * 30ms + .4s); }
.art .wall-l { fill: #eadfcc; }
.art .wall-r { fill: #f6efe2; }
.art .roof-l { fill: #9b583b; }
.art .roof-r { fill: var(--clay); }
.art .tiles { stroke: rgb(0 0 0 / .18); stroke-width: 2; }
.art .door { fill: #5b3a24; }
.art .trunk { fill: none; stroke: #7a5434; stroke-width: 5; stroke-linecap: round; }
.art .frond { fill: none; stroke: #3f8a3b; stroke-width: 4; stroke-linecap: round; }
.art .well-top { fill: #c4b8a6; }
.art .well-side { fill: #d9cfbf; stroke: #a99c88; stroke-width: 1; }
.art .well-water { fill: #5b8ea0; }

.farm.is-in .sprout,
html:not(.js) .farm .sprout {
  opacity: 1;
}

/* -- The hero: a cross-section of the land ----------------------------------------
 * Sky above, a field of crops on the horizon, and the soil below, stratum by
 * stratum, with the facts found at each depth.
 */

/* Behind the field is the sky's last light; behind the final wave under the
 * bedrock, the page's own soil colour. The strata cover everything between. */
.land-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #f4e4c4 0 50%, var(--soil) 50%);
}

.land-hero__sky {
  position: relative;
  padding: calc(var(--header-h) + clamp(2rem, 8vh, 5rem)) var(--gutter) 0;
  background:
    radial-gradient(60% 90% at 80% 100%, rgb(240 207 134 / .55), transparent 70%),
    linear-gradient(180deg, #e7efee 0%, #f1ede1 55%, #f4e4c4 100%);
}

/* The sun rises behind the field as the page opens. */
.land-hero__sun {
  position: absolute;
  right: 14%;
  bottom: -3rem;
  width: clamp(7rem, 14vw, 13rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #f6d27c 0 55%, rgb(246 210 124 / .35) 56% 70%, transparent 71%);
  box-shadow: 0 0 6rem 2rem rgb(246 210 124 / .35);
}

.js .land-hero__sun {
  translate: 0 60%;
  animation: sunrise 3.2s var(--ease) .2s forwards;
}

@keyframes sunrise {
  to { translate: 0 0; }
}


.land-hero__text {
  position: relative;
  width: min(72rem, 100%);
  margin: 0 auto;
  padding-bottom: clamp(5.5rem, 13vh, 8.5rem);
}

.land-hero__quote {
  margin: 1.1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 1.2rem + 6.4vw, 7.4rem);
  font-weight: 900;
  line-height: .92;
  letter-spacing: -.006em;
}

.land-hero__line {
  display: block;
}

.land-hero__line--green {
  color: var(--green);
}

/* Each word rises out of the ground in turn, like a crop breaking through. */
.rise {
  display: inline-block;
  /* Hides each word below its baseline until it rises, but lets anything
   * growing out of the top of a word show. */
  clip-path: inset(-1.4em -.3em 0 -.3em);
  padding-bottom: .08em;
  margin-bottom: -.08em;
  vertical-align: top;
}

.rise > span {
  display: inline-block;
}

.js .rise > span {
  translate: 0 105%;
  animation: rise-up 1.1s var(--ease) forwards;
  animation-delay: calc(var(--w) * 90ms + .25s);
}

@keyframes rise-up {
  to { translate: 0 0; }
}


.land-hero__by {
  margin: 1.4rem 0 0;
  color: var(--forest);
  font-weight: 700;
}

.land-hero__lead {
  max-width: 36rem;
  margin: .7rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, .95rem + .35vw, 1.25rem);
  line-height: 1.6;
}

/* The field stands on the horizon; its canvas reaches up into the sky so
 * the tallest stalks overlap it. */
.land-hero__field {
  position: relative;
  height: clamp(7rem, 16vh, 11rem);
  margin-top: calc(-1 * clamp(4rem, 9vh, 6.5rem));
}

.land-hero__crops {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
}

.land-hero__hint {
  position: absolute;
  top: -1.6rem;
  right: var(--gutter);
  z-index: 1;
  margin: 0;
  color: rgb(13 59 9 / .6);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  pointer-events: none;
}

@media (hover: none), (max-width: 700px) {
  .land-hero__hint {
    display: none;
  }
}

/* -- The soil ---------------------------------------------------------------------- */

.land-hero__soil {
  position: relative;
  color: var(--chalk);
}

.land-hero__roots {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.land-hero__roots .root {
  fill: none;
  stroke: #f3e6cf;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: calc(1 - var(--dig, 1));
  vector-effect: non-scaling-stroke;
}

.land-hero__roots .root--2 { stroke-width: 2.2; stroke-opacity: .55; }
.land-hero__roots .root--1 { stroke-width: 1.3; stroke-opacity: .4; }

.stratum {
  position: relative;
  padding: clamp(1.6rem, 4vh, 2.6rem) var(--gutter) clamp(2rem, 5vh, 3.2rem);
  background-color: var(--layer);
  background-image:
    radial-gradient(circle at 12% 30%, rgb(255 255 255 / .1) 0 3px, transparent 4px),
    radial-gradient(circle at 64% 70%, rgb(0 0 0 / .14) 0 4px, transparent 5px),
    radial-gradient(circle at 38% 55%, rgb(255 255 255 / .08) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 24%, rgb(0 0 0 / .1) 0 3px, transparent 4px);
  background-size: 230px 140px, 310px 170px, 170px 110px, 270px 150px;
}

.stratum--topsoil { --layer: #4a3324; }
.stratum--subsoil { --layer: #6e4c32; }
.stratum--clay { --layer: #93683f; }
.stratum--rock { --layer: #6f6a60; }

/* Each layer's top is an irregular wave, overlapping the layer above. */
.stratum__edge {
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: clamp(1.2rem, 3vw, 2.4rem);
  fill: var(--layer);
}

.stratum__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem 2rem;
  width: min(72rem, 100%);
  margin: 0 auto;
}

/* The finds sit at different places across each layer, as they would. */
@media (min-width: 900px) {
  .stratum__inner--2 { padding-left: 34%; }
  .stratum__inner--3 { padding-left: 14%; }
}

.stratum__depth {
  flex: 0 0 100%;
  margin: 0;
  color: rgb(248 250 247 / .6);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.stratum__depth span {
  color: rgb(248 250 247 / .9);
}

.stratum__find {
  text-shadow: 0 0 1.2rem var(--layer), 0 0 .4rem var(--layer);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .2rem 1rem;
  margin: .3rem 0 0;
}

.stratum__find b {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 2rem + 4vw, 6rem);
  font-weight: 900;
  line-height: .9;
}

.stratum__find span {
  max-width: 16rem;
  color: rgb(248 250 247 / .85);
  font-size: clamp(1rem, .9rem + .3vw, 1.2rem);
  line-height: 1.35;
}

/* -- The chapters, at the bedrock -------------------------------------------------- */

.ab-path {
  flex: 0 0 100%;
  margin-top: clamp(1.6rem, 4vh, 2.6rem);
}

.ab-path__lead {
  margin: 0 0 1rem;
  color: rgb(248 250 247 / .85);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
  font-weight: 900;
}

.ab-path ol {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ab-path li {
  display: flex;
  align-items: center;
}

.ab-path li + li::before {
  content: "";
  width: clamp(1rem, 3vw, 3rem);
  height: 2px;
  margin: 0 .8rem;
  background: repeating-linear-gradient(90deg, rgb(248 250 247 / .6) 0 4px, transparent 4px 8px);
}

.ab-path a {
  display: grid;
  gap: .1rem;
  color: var(--chalk);
  text-decoration: none;
}

.ab-path__word {
  font-family: var(--deva);
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.3rem);
  line-height: 1.1;
  transition: color .3s var(--ease);
}

.ab-path__say {
  color: rgb(248 250 247 / .7);
  font-size: .75rem;
  letter-spacing: .04em;
}

.ab-path a:hover .ab-path__word,
.ab-path a:focus-visible .ab-path__word {
  color: #c9e6b4;
}

/* The bedrock gives way to the page, with one more wave. */
.land-hero::after {
  content: "";
  display: block;
  height: clamp(1.4rem, 3vw, 2.6rem);
  margin-top: -1px;
  background: #6f6a60;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L1440 0 L1440 22 C1400 16 1340 12 1260 18 C1060 32 860 10 620 20 C380 30 220 6 0 18 Z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L1440 0 L1440 22 C1400 16 1340 12 1260 18 C1060 32 860 10 620 20 C380 30 220 6 0 18 Z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
}

[data-motion="paused"] .rise > span,
[data-motion="paused"] .land-hero__sun {
  animation: none !important;
  translate: none !important;
}

/* -- The story and its vine ---------------------------------------------------------- */

.story {
  position: relative;
  width: var(--w);
  margin: 0 auto;
  padding-left: clamp(2.2rem, 6vw, 5.5rem);
}

.vine {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(2.2rem, 6vw, 5rem);
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.vine__shadow,
.vine__line {
  fill: none;
  stroke-linecap: round;
}

.vine__shadow {
  stroke: rgb(13 59 9 / .1);
  stroke-width: 2;
  stroke-dasharray: 2 6;
}

.vine__line {
  stroke: var(--green);
  stroke-width: 2.6;
}

.vine__leaf {
  fill: var(--green);
  transform-box: fill-box;
  scale: 0;
  transition: scale .9s var(--ease);
}

.vine__leaf.is-on {
  scale: 1;
}

.vine__bud {
  fill: var(--chalk);
  stroke: var(--green);
  stroke-width: 2.5;
  transition: fill .6s var(--ease);
}

.vine__bud.is-on {
  fill: var(--green);
}

/* -- Chapters ------------------------------------------------------------------------ */

.ch {
  position: relative;
  padding: clamp(4rem, 14vh, 9rem) 0 0;
  container-type: inline-size;
}

.ch__head {
  position: relative;
}

/* The stage of the crop, in Devanagari, large and quiet behind the title. */
.ch__word {
  margin: 0 0 -.18em -.04em;
  color: rgb(185 110 76 / .2);
  font-family: var(--deva);
  font-size: clamp(5.5rem, 3rem + 10vw, 12rem);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.ch--akash .ch__word { color: rgb(92 150 175 / .22); }
.ch--ankur .ch__word,
.ch--fasal .ch__word { color: rgb(66 146 62 / .18); }

.ch__meta {
  margin: 0;
  color: var(--green);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ch__meta span {
  font-size: 1.15em;
  letter-spacing: 0;
}

.ch__title {
  margin: .7rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.4rem + 3.6vw, 4.8rem);
  font-weight: 900;
  line-height: .95;
  text-wrap: balance;
}

.ch__h3 {
  margin: clamp(3rem, 8vh, 5rem) 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
}

.ch__text {
  margin-top: 2rem;
}

.ch__text p {
  max-width: 38rem;
  margin: 0 0 1.1rem;
  font-size: clamp(1.05rem, .92rem + .4vw, 1.25rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.ch__text--wide p {
  max-width: 44rem;
}

.ch__note {
  max-width: 44rem;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.6;
}

.ch__sources {
  margin: clamp(2.5rem, 6vh, 3.5rem) 0 0;
  color: rgb(13 59 9 / .55);
  font-size: .8rem;
}

.ch__sources a {
  color: inherit;
  text-underline-offset: .2em;
}

.ch__sources a:hover {
  color: var(--green);
}

.ch__split {
  display: grid;
  gap: 2.5rem 3.5rem;
}

   
  @container (min-width: 46rem) {
  .ch__split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }

  .ch__split--photo {
    align-items: end;
  }
}


.farm {
  margin: 0;
}

/* A large pull quote, set in the display face with a clay rule. */
.pull {
  margin: 2rem 0;
  padding-left: 1.3rem;
  border-left: 3px solid var(--clay);
}

.pull p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.9rem);
  font-weight: 900;
  line-height: 1.02;
}

.pull cite {
  display: block;
  margin-top: .7rem;
  color: var(--green);
  font-size: .85rem;
  font-style: normal;
  font-weight: 600;
}

/* -- Mitti: a hundred plants per field ----------------------------------------------- */

.losses {
  display: grid;
  gap: 2.4rem 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

   
  @container (min-width: 46rem) {
  .losses {
    grid-template-columns: 1fr 1fr;
  }
}

@container (min-width: 52rem) {
  .losses {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Three across: each field above its words. */
  .losses:not(.losses--overall) .loss {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .losses:not(.losses--overall) .loss__field {
    max-width: 9rem;
  }
}

/* The overall loss, kept apart from the kinds of loss above it. */
.losses--overall {
  max-width: 34rem;
}

@container (min-width: 46rem) {
  .losses.losses--overall {
    grid-template-columns: 1fr;
  }
}


.loss {
  display: grid;
  grid-template-columns: clamp(6.5rem, 22cqi, 9rem) minmax(0, 1fr);
  gap: 1.3rem;
  align-items: center;
}

.loss__field {
  width: 100%;
  height: auto;
}

.plant {
  fill: var(--green);
  transition: fill .5s var(--ease), r .5s var(--ease), opacity .5s var(--ease);
  transition-delay: calc(var(--n) * 6ms + .3s);
}

/* Once read, the lost plants go back to bare soil. */
.loss.is-in .plant--lost,
html:not(.js) .plant--lost {
  fill: #c9a27d;
  r: 2;
}

.loss.is-in .plant--maybe,
html:not(.js) .plant--maybe {
  fill: #d8bfa2;
  r: 2.6;
}

.loss__figure {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.8rem + 2.4vw, 3.8rem);
  font-weight: 900;
  line-height: .9;
  color: var(--clay);
}

.loss__figure span {
  display: block;
  margin-top: .3rem;
  color: var(--ink-soft);
  font-family: var(--font-text);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.loss__words {
  margin: .7rem 0 0;
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.55;
}

.gaps {
  display: grid;
  gap: .7rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: gap;
}

.gaps li {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  counter-increment: gap;
  font-size: 1.05rem;
  line-height: 1.5;
}

.gaps li::before {
  content: counter(gap, decimal-leading-zero);
  color: var(--clay);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.9;
}

.reach {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 1.5rem 3rem;
  margin-top: clamp(3rem, 8vh, 4.5rem);
}

.reach__nums {
  display: flex;
  gap: 2.4rem;
  margin: 0;
}

.reach__nums div {
  display: flex;
  flex-direction: column;
}

.reach__nums dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 1.8vw, 3.8rem);
  font-weight: 900;
  line-height: 1;
}

.reach__nums dt {
  color: var(--ink-soft);
  font-size: .85rem;
}

.reach__states {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reach__states li {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--forest);
}

.reach__states li + li::before {
  content: "·";
  margin-right: 1.4rem;
  color: var(--green);
}

/* -- Photos, with torn edges -------------------------------------------------------- */

.ph {
  margin: 0;
}

.ph img {
  height: auto;
}

.ph figcaption {
  margin-top: .6rem;
  color: var(--ink-soft);
  font-size: .85rem;
}

.photo-edge > img,
.photo-edge > video {
  width: 100%;
  object-fit: cover;
  filter: saturate(.92) sepia(.05);
  -webkit-mask: var(--edge) center / 100% 100% no-repeat;
  mask: var(--edge) center / 100% 100% no-repeat;
}

/* The figure's caption sits outside the mask. */
.photo-edge > figcaption {
  display: block;
}

/* -- Ankur: the team film, the three products, the field -------------------------------- */

/* The team film: on its poster with a play button until asked; while
 * playing, a thin green line marks its progress. */
.film {
  margin: clamp(2rem, 5vh, 3rem) 0 0;
}

.film__frame {
  position: relative;
  overflow: hidden;
  border-radius: clamp(1rem, 2.4vw, 1.8rem);
  background: #2f2118;
  box-shadow: 0 2rem 4rem -1.5rem rgb(47 33 24 / .45);
}

.film__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  cursor: pointer;
}

.film__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding: .55rem 1.4rem .55rem .55rem;
  border: 0;
  border-radius: 999px;
  background: rgb(248 250 247 / .92);
  color: var(--forest);
  font: 700 1rem/1 var(--font-text);
  cursor: pointer;
  translate: -50% -50%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1rem 2.4rem rgb(0 0 0 / .25);
  transition: opacity .4s var(--ease), scale .4s var(--ease);
}

.film__play:hover {
  scale: 1.05;
}

.film__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--green);
}

.film__icon::before {
  content: "";
  margin-left: .2rem;
  border-style: solid;
  border-width: .55rem 0 .55rem .9rem;
  border-color: transparent transparent transparent var(--chalk);
}

/* A soft ring that breathes, inviting the click. */
.film__icon::after {
  content: "";
  position: absolute;
  inset: -.35rem;
  border: 2px solid rgb(66 146 62 / .5);
  border-radius: 50%;
  animation: film-ring 2.4s ease-out infinite;
}

  
  @keyframes film-ring {
  from { scale: 1; opacity: 1; }
  to { scale: 1.45; opacity: 0; }
}


.film__time {
  margin-left: .4rem;
  color: rgb(13 59 9 / .55);
  font-weight: 600;
}

/* While it plays the button steps aside; a click on the film pauses it. */
.film.is-playing .film__play {
  opacity: 0;
  scale: .9;
  pointer-events: none;
}

.film__progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgb(248 250 247 / .25);
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.film.is-started .film__progress {
  opacity: 1;
}

.film__progress i {
  display: block;
  height: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
}

.film figcaption {
  max-width: 40rem;
  margin-top: .8rem;
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .film__label {
    display: none;
  }

  .film__play {
    padding: .5rem;
  }
}

[data-motion="paused"] .film__icon::after {
  animation: none;
  opacity: 0;
}

.trio {
  display: grid;
  gap: 1rem 2.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

   
  @container (min-width: 46rem) {
  .trio {
    grid-template-columns: repeat(3, 1fr);
  }
}


.trio a {
  display: block;
  padding-top: 1rem;
  border-top: 2px solid rgb(66 146 62 / .35);
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.55;
  text-decoration: none;
  transition: border-color .3s var(--ease);
}

.trio a:hover {
  border-top-color: var(--green);
}

.trio b {
  display: block;
  margin-bottom: .3rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

/* -- Photographs on a jute line --------------------------------------------------------
 * Each chapter hangs its photographs from a rope with wooden pegs. The line
 * runs on past the right edge of the window and scrolls sideways; the photos
 * keep their own proportions and torn edges, tilt a little on their pegs, and
 * sway when the line moves (about.js). Choosing one opens it large.
 */
.line {
  --hang-h: clamp(13rem, 10rem + 10vw, 20rem);
  --jute: #a8834f;
  margin: clamp(3rem, 8vh, 5rem) calc(-1 * var(--bleed, 0px)) 0 0;
}

.line__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem 1rem;
  padding-right: var(--bleed, 0px);
}

.line__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.1vw, 2.2rem);
  font-weight: 900;
  line-height: 1;
}

.line__count {
  color: var(--ink-soft);
  font-size: .85rem;
}

.line__nav {
  display: flex;
  gap: .45rem;
  margin-left: auto;
}

.line__nav[hidden] {
  display: none;
}

.line__step {
  width: 2.6rem;
  height: 2.6rem;
  border: 1.5px solid rgb(13 59 9 / .28);
  border-radius: 50%;
  background: transparent;
  color: var(--forest);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), opacity .25s;
}

.line__step:hover:not(:disabled) {
  background: var(--forest);
  color: var(--chalk);
}

.line__step:disabled {
  opacity: .3;
  cursor: default;
}

.line__track {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2.6rem 0 1.4rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  cursor: grab;
  -webkit-mask: linear-gradient(90deg, #000 calc(100% - 5rem), transparent);
  mask: linear-gradient(90deg, #000 calc(100% - 5rem), transparent);
}

.line__track::-webkit-scrollbar {
  display: none;
}

.line__track.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

.line__track:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}

.line__rope {
  position: absolute;
  top: 0;
  left: 0;
  height: 4rem;
  overflow: visible;
  pointer-events: none;
}

.line__rope path {
  fill: none;
  stroke-width: 3.2;
}

.line__rope-base {
  stroke: var(--jute);
  stroke-linecap: round;
}

/* Short dark dashes along the rope, for its twist. */
.line__rope-twist {
  stroke: #6b4f2e;
  stroke-dasharray: 1.6 4.4;
  opacity: .65;
}

.line__photos {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  align-items: flex-start;
  width: max-content;
  margin: 0;
  padding: 0 6rem 0 .6rem;
  list-style: none;
}

.hang {
  position: relative;
  flex: none;
  width: min-content;
  scroll-snap-align: start;
  transform-origin: 50% -1.4rem;
  rotate: calc(var(--tilt, 0deg) + var(--sway, 0deg));
}

/* A wooden clothes peg with its steel spring. */
.hang__peg {
  position: absolute;
  z-index: 1;
  top: -1.75rem;
  left: 50%;
  width: .62rem;
  height: 2.4rem;
  border-radius: .22rem .22rem .3rem .3rem;
  background: linear-gradient(90deg, #8a6038, #cf9d66 45%, #96693e);
  box-shadow: 0 1px 2px rgb(40 25 10 / .3);
  translate: -50% 0;
}

.hang__peg::after {
  position: absolute;
  top: 38%;
  right: -.14rem;
  left: -.14rem;
  height: .26rem;
  border-radius: .1rem;
  background: #858a88;
  content: "";
}

.hang__photo {
  display: block;
  height: var(--hang-h);
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  filter: drop-shadow(0 .7rem .9rem rgb(40 25 10 / .2));
}

.line .hang__photo > img {
  width: auto;
  max-width: none;
  height: 100%;
  transition: scale .5s var(--ease);
}

.hang__photo:hover > img,
.hang__photo:focus-visible > img {
  scale: 1.025;
}

.hang__photo:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

/* As the line comes into view, the photos are pegged on one by one. */
.line.is-armed .hang {
  opacity: 0;
  translate: 0 -1.4rem;
  transition: opacity .7s var(--ease), translate 1s var(--ease);
  transition-delay: calc(.15s + var(--i) * 90ms);
}

.line.is-in .hang {
  opacity: 1;
  translate: 0 0;
}

html[data-motion="paused"] .line .hang {
  transition: none;
}

/* On a phone the line is swiped, and the next photograph peeks in. */
@media (max-width: 640px) {
  .line {
    --hang-h: clamp(11rem, 46vw, 15rem);
  }

  .line__nav:not([hidden]) {
    display: none;
  }
}

/* Every photograph on the page opens large. */
.ph img[role="button"] {
  cursor: zoom-in;
}

/* -- The photograph viewer -------------------------------------------------------------- */

.zoom {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgb(9 28 7 / .94);
  color: var(--chalk);
}

.zoom[open] {
  display: grid;
  place-items: center;
}

.zoom::backdrop {
  background: rgb(9 28 7 / .5);
}

.zoom__figure {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin: 0;
  padding: 4.5rem 1rem 2rem;
}

.zoom__img {
  width: auto;
  max-width: min(88vw, 1400px);
  height: auto;
  max-height: calc(100dvh - 10rem);
  -webkit-mask: url("../masks/photo-edge-2.svg") center / 100% 100% no-repeat;
  mask: url("../masks/photo-edge-2.svg") center / 100% 100% no-repeat;
  animation: zoom-in .5s var(--ease);
}

  
  @keyframes zoom-in {
  from { opacity: 0; scale: .95; }
}


.zoom__btn {
  position: fixed;
  width: 3rem;
  height: 3rem;
  border: 1.5px solid rgb(248 250 247 / .35);
  border-radius: 50%;
  background: transparent;
  color: var(--chalk);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}

.zoom__btn:hover {
  background: var(--chalk);
  color: var(--forest);
}

.zoom__btn--prev { top: 50%; left: var(--gutter); translate: 0 -50%; }
.zoom__btn--next { top: 50%; right: var(--gutter); translate: 0 -50%; }
.zoom__btn--close { top: 1rem; right: var(--gutter); }

@media (max-width: 640px) {
  .zoom__btn--prev,
  .zoom__btn--next {
    top: auto;
    bottom: 1rem;
    translate: none;
  }
}

html[data-motion="paused"] .zoom__img {
  animation: none;
}

.promise {
  max-width: 40rem;
  margin: clamp(2.5rem, 6vh, 3.5rem) 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--forest);
}


.trophy {
  display: grid;
  grid-template-columns: 1.3fr .6fr 1fr;
  gap: clamp(.8rem, 3cqi, 2rem);
  align-items: end;
  margin-top: clamp(2.5rem, 6vh, 3.5rem);
}

.honours {
  display: grid;
  gap: 1.1rem 3rem;
  margin: 0;
}

   
  @container (min-width: 46rem) {
  .honours {
    grid-template-columns: 1fr 1fr;
  }
}


.honours dt {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.05;
}

.honours dd {
  margin: .25rem 0 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.logos {
  margin-top: clamp(2.5rem, 6vh, 3.5rem);
}

.logos__label {
  margin: 1.4rem 0 .8rem;
  color: var(--ink-soft);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.logos ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 2.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.logos img {
  width: auto;
  height: 2.6rem;
  filter: grayscale(1);
  opacity: .75;
  mix-blend-mode: multiply;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}

.logos li:hover img {
  filter: none;
  opacity: 1;
}

/* -- Akash: goals, the six ventures, beliefs ------------------------------------------ */

.goals5 {
  display: grid;
  gap: 2rem 2.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

   
  @container (min-width: 40rem) {
  .goals5 {
    grid-template-columns: repeat(2, 1fr);
  }
}


   
  @container (min-width: 60rem) {
  .goals5 {
    grid-template-columns: repeat(5, 1fr);
  }
}


.goals5 li {
  display: grid;
  gap: .3rem;
  padding-top: 1rem;
  border-top: 2px solid rgb(92 150 175 / .45);
}

.goals5 b {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 1.6vw, 3.4rem);
  font-weight: 900;
  line-height: .9;
}

.goals5__what {
  font-weight: 700;
}

.goals5__note {
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.45;
}

.sky {
  display: grid;
  gap: 2rem 3rem;
  align-items: center;
}

   
  @container (min-width: 46rem) {
  .sky {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}


.sky__map {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.sky__links path {
  fill: none;
  stroke: rgb(13 59 9 / .25);
  stroke-width: 1.2;
  stroke-dasharray: 3 5;
  animation: links-flow 6s linear infinite;
}

   @keyframes links-flow { to { stroke-dashoffset: -32; } } 

.star__glow {
  fill: rgb(240 207 134 / .35);
  transition: fill .3s var(--ease), r .3s var(--ease);
}

.star__core {
  fill: #d9a441;
}

.star--us .star__glow {
  fill: rgb(66 146 62 / .25);
}

.star--us .star__core {
  fill: var(--green);
}

.star__name {
  fill: var(--forest);
  font: 700 13px var(--font-text);
}

.star.is-lit .star__glow {
  fill: rgb(240 207 134 / .7);
}

.star--us.is-lit .star__glow {
  fill: rgb(66 146 62 / .45);
}

.sky__list {
  display: grid;
  gap: .9rem;
  margin: 0;
}

.sky__list div {
  padding-left: .9rem;
  border-left: 2px solid transparent;
  outline: none;
  transition: border-color .3s var(--ease);
}

.sky__list div:hover,
.sky__list div:focus-visible,
.sky__list div.is-lit {
  border-left-color: #d9a441;
}

.sky__list dt {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
}

.sky__list dd {
  margin: .25rem 0 0;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* -- Visit ------------------------------------------------------------------------------- */

.visit {
  position: relative;
  width: var(--w);
  margin: 0 auto;
  padding: clamp(5rem, 16vh, 10rem) 0 clamp(4rem, 12vh, 7rem);
  text-align: center;
}

.visit .ab-kicker {
  justify-content: center;
}

.visit__title {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 1.6rem + 5vw, 6.5rem);
  font-weight: 900;
  line-height: .92;
}

.visit__address {
  margin: 1.6rem 0 0;
  color: var(--ink-soft);
  font-style: normal;
  line-height: 1.7;
}

.visit__address a {
  color: var(--forest);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: 2rem;
  font: 600 1.05rem/1.2 var(--font-text);
  text-decoration: none;
}

.cta--solid {
  padding: .7rem .7rem .7rem 1.7rem;
  border-radius: 999px;
  background: var(--forest);
  color: var(--chalk);
  transition: background-color .3s var(--ease);
}

.cta--solid:hover {
  background: #0a2e07;
}

.cta__arrow {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--chalk);
  transition: transform .4s var(--ease);
}

.cta:hover .cta__arrow {
  transform: translateX(.4rem);
}

.sources {
  max-width: 40rem;
  margin: 2.5rem auto 0;
  color: var(--ink-soft);
  font-size: .9rem;
  text-align: left;
}

.sources summary {
  cursor: pointer;
  text-align: center;
  font-weight: 600;
}

.sources ul {
  display: grid;
  gap: .5rem;
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.sources a {
  color: var(--forest);
}

.visit .band--bottom {
  margin-top: clamp(3rem, 8vh, 5rem);
}

/* -- Reveal ------------------------------------------------------------------------------ */

[data-reveal].is-armed {
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * .12s);
}

[data-reveal].is-armed:not(.is-in) {
  opacity: 0;
  transform: translateY(1.75rem);
}

/* -- Narrow screens -------------------------------------------------------------------- */

@media (max-width: 640px) {
  .trophy {
    grid-template-columns: 1fr 1fr;
  }

  .trophy .ph:first-child {
    grid-column: 1 / -1;
  }

  .ab-path li + li::before {
    width: .8rem;
    margin: 0 .5rem;
  }
}

/* -- Paused motion ---------------------------------------------------------------------- */

[data-motion="paused"] .page-about * {
  animation-duration: .001s !important;
  animation-iteration-count: 1 !important;
  animation-delay: 0s !important;
}

[data-motion="paused"] [data-reveal].is-armed:not(.is-in) {
  transform: none;
}

[data-motion="paused"] .sky__links path {
  animation: none !important;
}

/* The village along the edges paints its own pale paper; let the page's
 * changing colour show through it instead. */
.page-about .edge,
.page-about .band {
  mix-blend-mode: multiply;
}

/* -- Four languages ------------------------------------------------------------
 * Each stage of the crop is written in Hindi, Kannada, Telugu and Tamil, each
 * in its own Tiro face so they share one voice. In the large chapter words and
 * the chapter path they take turns, three seconds each, rising into place;
 * with motion paused, Hindi stays.
 */

[lang="hi"] { font-family: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif; }
[lang="kn"] { font-family: "Tiro Kannada", "Noto Serif Kannada", serif; }
[lang="te"] { font-family: "Tiro Telugu", "Noto Serif Telugu", serif; }
[lang="ta"] { font-family: "Tiro Tamil", "Noto Serif Tamil", serif; }

.multi {
  display: inline-grid;
}

.multi > span {
  grid-area: 1 / 1;
  white-space: nowrap;
  animation: lang-turn 12s var(--ease) infinite both;
  animation-delay: calc(var(--x) * 3s);
}

.multi > span:not(:first-child) {
  opacity: 0;
}

  
  @keyframes lang-turn {
  0% { opacity: 0; transform: translateY(.18em); }
  4%, 22% { opacity: 1; transform: none; }
  26%, 100% { opacity: 0; transform: translateY(-.12em); }
}


/* Tamil and Telugu words run longer; keep the large ones within the column. */
/* Sized to the chapter's width too, so the longest of the four words
 * (Tamil, for the harvest) still fits on a phone. */
.ch__word.multi {
  max-width: 100%;
  font-size: min(clamp(4.2rem, 2.4rem + 7.5vw, 10rem), 16cqi);
}

.ch__meta [lang] {
  letter-spacing: 0;
  text-transform: none;
  font-size: 1.15em;
}

[data-motion="paused"] .multi > span {
  animation: none !important;
}

/* -- The headline acts out what it says ---------------------------------------
 * The first line, the roots, sits in soil brown. The second line leads, and
 * "Growing" fills with green from the root up, like sap rising, then puts out
 * a sprout from the dot of its "i". A word marked to be struck through gets a
 * clay pen stroke instead.
 */

.land-hero__line:first-child {
  color: #6b4a32;
  font-size: .6em;
  line-height: .98;
}

/* Room above the second line for the sprout to grow into. */
.land-hero__line--green {
  margin-top: .42em;
}

.rise--strike > span,
.rise--grow > span {
  position: relative;
}

.strike {
  position: absolute;
  inset: 0 -.06em;
  width: calc(100% + .12em);
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.strike path {
  fill: none;
  stroke: var(--clay);
  stroke-width: .07em;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 0;
}

.strike path + path {
  stroke-width: .045em;
  opacity: .8;
}

.js .strike path {
  stroke-dashoffset: 1;
  animation: draw .7s var(--ease) forwards;
  animation-delay: calc(var(--w) * 90ms + 1.5s);
}

.js .strike path + path {
  animation-delay: calc(var(--w) * 90ms + 1.85s);
}

/* The struck word fades as the pen goes through it. */
.js .rise--strike > span {
  animation: rise-up 1.1s var(--ease) forwards, strike-fade .9s ease forwards;
  animation-delay: calc(var(--w) * 90ms + .25s), calc(var(--w) * 90ms + 1.6s);
}

  
  @keyframes strike-fade {
  to { color: rgb(107 74 50 / .5); }
}


/* "revive": green rising through the letters from the bottom. */
.js .rise--grow > span {
  color: transparent;
  background: linear-gradient(0deg, var(--green) 50%, rgb(66 146 62 / .22) 50%) 0 0 / 100% 200% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  animation: rise-up 1.1s var(--ease) forwards, sap 1.6s cubic-bezier(.5, 0, .3, 1) forwards;
  animation-delay: calc(var(--w) * 90ms + .25s), calc(var(--w) * 90ms + 1.2s);
}

  
  @keyframes sap {
  to { background-position: 0 100%; }
}


/* The sprout grows from the dot of the word's "i". */
.i-dot {
  position: relative;
}

.sprout-up {
  position: absolute;
  bottom: 86%;
  left: 50%;
  margin-left: -.21em;
  max-width: none; /* Wider than the "i" it stands on. */
  width: .42em;
  height: .56em;
  overflow: visible;
  pointer-events: none;
}

.sprout-up__stem {
  fill: none;
  stroke: var(--green);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
}

.sprout-up__leaf {
  fill: var(--green);
  transform-box: fill-box;
}

.sprout-up__leaf--l { transform-origin: 100% 100%; }
.sprout-up__leaf--r { transform-origin: 0 100%; }

.js .sprout-up__stem {
  stroke-dashoffset: 1;
  animation: draw 1s var(--ease) forwards;
  animation-delay: calc(var(--w) * 90ms + 2.4s);
}

.js .sprout-up__leaf {
  scale: 0;
  animation: open .9s var(--ease) forwards;
  animation-delay: calc(var(--w) * 90ms + 3s);
}

.js .sprout-up__leaf--r {
  animation-delay: calc(var(--w) * 90ms + 3.3s);
}

/* The leaves keep moving a little in the breeze. */
.sprout-up {
  transform-origin: 50% 100%;
}

.js .sprout-up {
  animation: sway 5s ease-in-out calc(var(--w) * 90ms + 4.2s) infinite alternate;
}

  
  @keyframes sway {
  from { rotate: -3deg; }
  to { rotate: 4deg; }
}


   @keyframes draw { to { stroke-dashoffset: 0; } } 
   @keyframes open { to { scale: 1; } } 

/* Paused motion, or reduced motion: shown finished and still. */
[data-motion="paused"] .strike path {
  animation: none !important;
  stroke-dashoffset: 0;
}

[data-motion="paused"] .rise--strike > span {
  animation: none !important;
  color: rgb(107 74 50 / .5);
}

[data-motion="paused"] .rise--grow > span {
  animation: none !important;
  background-position: 0 100%;
}

[data-motion="paused"] .sprout-up,
[data-motion="paused"] .sprout-up__stem,
[data-motion="paused"] .sprout-up__leaf {
  animation: none !important;
  stroke-dashoffset: 0;
  scale: 1;
}

/* -- The people: the founder, the team's rings, the advisors ----------------------------------- */

/* A face waiting for its photograph: the same soft silhouette everywhere. */
.person-empty {
  position: absolute;
  inset: 0;
  display: block;
  background:
    radial-gradient(circle at 50% 38%, rgb(107 74 50 / .28) 0 17%, transparent 17.5%),
    radial-gradient(ellipse 46% 32% at 50% 88%, rgb(107 74 50 / .28) 0 99%, transparent 100%),
    linear-gradient(165deg, #f4e7cf, #d6b78b);
}

/* -- The founder ------------------------------------------------------------------------
 * A portrait in front of faint growth rings (the heart the team's rings grow
 * from), and his story beside it.
 */
.founder {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
  width: var(--w);
  margin: 0 auto;
  padding: clamp(6rem, 16vh, 10rem) 0 clamp(3rem, 8vh, 5rem);
}

.founder__portrait {
  position: sticky;
  top: 8vh;
  margin: 0;
}

.founder__rings {
  position: absolute;
  inset: -14% -18%;
  z-index: -1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 46%, transparent 0 15px, rgb(138 96 56 / .14) 15px 16.5px);
  -webkit-mask: radial-gradient(circle at 50% 46%, #000 30%, transparent 70%);
  mask: radial-gradient(circle at 50% 46%, #000 30%, transparent 70%);
}

.founder__photo {
  display: block;
  aspect-ratio: 1359 / 1600;
  max-height: 78vh;
  margin: 0 auto;
}

.founder__name {
  margin: .6rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 1.6rem + 6vw, 7.6rem);
  font-weight: 900;
  line-height: .86;
}

.founder__name span {
  display: block;
  color: var(--green);
  font-size: .42em;
  line-height: 1.1;
}

.founder__lead {
  margin: 1.6rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem);
  font-weight: 900;
  line-height: 1.08;
}

.founder__story p {
  margin: 1.1rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, .95rem + .25vw, 1.12rem);
  line-height: 1.7;
}

.founder__quote {
  margin: 2rem 0 0;
  padding-left: 1.3rem;
  border-left: 3px solid var(--clay);
}

.founder__quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.1rem);
  font-weight: 900;
  line-height: 1.1;
}

/* The marks along the way: a line that grows, with a node at each. */
.founder__marks {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.4rem 0 0;
  padding: 1.6rem 0 0;
  list-style: none;
}

.founder__marks::before {
  position: absolute;
  top: .3rem;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--green);
  transform-origin: left;
  transition: scale 1.4s var(--ease) .2s;
  content: "";
}

.founder__marks.is-armed:not(.is-in)::before {
  scale: 0 1;
}

.founder__marks li {
  position: relative;
  font-size: .85rem;
  line-height: 1.35;
}

.founder__marks li::before {
  position: absolute;
  top: -1.6rem;
  left: 0;
  width: .7rem;
  height: .7rem;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: var(--chalk);
  content: "";
}

.founder__marks li:last-child::before {
  background: var(--green);
}

.founder__marks b {
  display: block;
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
}

.founder__marks span {
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .founder {
    grid-template-columns: 1fr;
  }

  .founder__portrait {
    position: relative;
    top: 0;
    width: min(70%, 18rem);
    margin: 0 auto;
  }

  .founder__marks {
    grid-template-columns: 1fr 1fr;
    row-gap: 2.6rem;
  }
}

/* -- The team: growth rings ----------------------------------------------------------------
 * A cross-section of a trunk, from the founder at the heart outwards, a ring
 * for each group. Without rings.js it is full grown, with every ring's people
 * listed beside it. rings.js adds .is-live: the stage pins, the trunk grows
 * ring by ring with the scroll, and one ring's people show at a time.
 */
.rings {
  position: relative;
  padding: clamp(4rem, 12vh, 8rem) var(--gutter);
}

.rings__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: min(72rem, 100%);
  margin: 0 auto;
}

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

.trunk__wood {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 1.6rem 2.2rem rgb(60 40 20 / .3));
}

.trunk__ring--heartwood { fill: #a26f45; }
.trunk__ring--sapwood { fill: #d6ac78; }
.trunk__ring--cambium { fill: #c9bd84; }
.trunk__ring--bark { fill: #5a3d27; }

.trunk__lines,
.trunk__rays,
.trunk__edge,
.trunk__crack {
  fill: none;
  stroke-linecap: round;
}

.trunk__lines { stroke: rgb(70 45 25 / .22); stroke-width: 1.4; }
.trunk__rays { stroke: rgb(70 45 25 / .1); stroke-width: 1; }
.trunk__edge { stroke: rgb(60 38 20 / .45); stroke-width: 2.2; }
.trunk__crack { stroke: #2e1d10; stroke-width: 3.5; }
.trunk__pith { fill: #5e3e24; }

.trunk__bark-names {
  fill: #f3e6cf;
  font: 600 22px/1 var(--font-text);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* The founder at the heart, and each person as a knot in the wood. */
.trunk__heart,
.knot {
  position: absolute;
  overflow: hidden;
  padding: 0;
  border: 3px solid #f6ead6;
  border-radius: 50%;
  background: #e9d6b8;
  box-shadow: 0 .4rem .9rem rgb(40 25 10 / .35);
  translate: -50% -50%;
}

.trunk__heart {
  top: 50%;
  left: 50%;
  width: 23%;
  aspect-ratio: 1;
}

.trunk__heart img,
.knot img,
.rpanel__face img,
.advisor__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}

.knot {
  top: var(--y);
  left: var(--x);
  width: 14%;
  aspect-ratio: 1;
  cursor: pointer;
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease);
}

.knot.is-active {
  border-color: #fff;
  box-shadow: 0 0 0 .3rem rgb(66 146 62 / .55), 0 .5rem 1rem rgb(40 25 10 / .35);
}

.rings__head .ab-kicker {
  margin: 0;
}

.rings__title {
  margin: .5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.6rem);
  font-weight: 900;
  line-height: .92;
}

.rings__title span {
  color: var(--green);
}

.rings__lead {
  max-width: 28rem;
  margin: .8rem 0 0;
  color: var(--ink-soft);
}

.rings__panels {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.rpanel__layer {
  margin: 0;
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
}

.rpanel__note {
  margin: .3rem 0 0;
  color: var(--ink-soft);
  font-size: .92rem;
}

.rpanel__people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: .9rem 1.4rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.rpanel__people li {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.rpanel__people b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.05;
}

.rpanel__people small {
  display: block;
  margin-top: .2rem;
  color: var(--green);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rpanel__face {
  position: relative;
  flex: none;
  overflow: hidden;
  width: 5.4rem;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #f6ead6, 0 0 0 3.5px rgb(138 96 56 / .4);
}

.rpanel__blank {
  display: block;
  width: 7rem;
  height: .75rem;
  border-radius: 1rem;
  background: rgb(122 86 52 / .2);
}

.rpanel__blank--role {
  width: 4.5rem;
  height: .55rem;
  margin-top: .45rem;
  background: rgb(66 146 62 / .28);
}

.rpanel--names .rpanel__people {
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
}

.rpanel--names .rpanel__people b {
  font-size: 1.5rem;
  letter-spacing: .02em;
}

.rings__soon {
  margin: 2rem 0 0;
  color: var(--clay);
  font-size: .9rem;
  font-weight: 600;
}

@media (max-width: 760px) {
  .rings__stage {
    grid-template-columns: 1fr;
  }

  .trunk {
    width: min(100%, 26rem);
    margin: 0 auto;
  }
}

/* Live: pinned, grown with the scroll, one ring's people at a time. */
.rings.is-live {
  height: var(--rings-h, 600vh);
  padding-block: 0;
}

.rings.is-live .rings__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  align-content: center;
}

.rings.is-live .trunk {
  width: min(100%, 90vh);
  justify-self: center;
}

.rings.is-live .rings__panels {
  display: grid;
}

.rings.is-live .rpanel {
  grid-area: 1 / 1;
  opacity: 0;
  translate: 0 1rem;
  visibility: hidden;
  transition: opacity .5s var(--ease), translate .6s var(--ease), visibility 0s .6s;
}

.rings.is-live .rpanel.is-shown {
  opacity: 1;
  translate: 0 0;
  visibility: visible;
  transition: opacity .5s var(--ease) .1s, translate .6s var(--ease) .1s, visibility 0s;
}

.rings.is-live .knot {
  scale: var(--pop, 1);
  opacity: var(--pop, 1);
}

@media (max-width: 760px) {
  .rings.is-live .rings__stage {
    grid-template-rows: auto 1fr;
    gap: 1rem;
    align-content: start;
    padding-top: 1.2rem;
  }

  .rings.is-live .trunk {
    width: min(100%, 46vh);
  }

  .rings.is-live .rings__head {
    display: none;
  }

  .rings.is-live .rings__panels {
    margin-top: 0;
  }
}

/* -- The advisors ------------------------------------------------------------------------
 * A plain card each: a portrait above the advisor's name and role.
 */
.advisors {
  width: min(72rem, 100% - 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 8rem) 0 clamp(4rem, 10vh, 6rem);
}

@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  .advisors {
    width: min(72rem, 100vw - 26rem);
  }
}

.advisors__head {
  max-width: 40rem;
}

.advisors__head .ab-kicker {
  margin: 0;
}

.advisors__title {
  margin: .5rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.6rem);
  font-weight: 900;
  line-height: .92;
}

.advisors__title span {
  color: var(--green);
}

.advisors__lead {
  margin: .9rem 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.advisor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.4vw, 2rem);
  margin: clamp(2.5rem, 6vh, 4rem) 0 0;
  padding: 0;
  list-style: none;
}

.advisor {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(22 40 28 / .1);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(22 40 28 / .05);
  transition: box-shadow .4s var(--ease), translate .4s var(--ease);
}

.advisor:hover {
  translate: 0 -.25rem;
  box-shadow: 0 1rem 2rem -1.2rem rgb(22 40 28 / .35);
}

.advisor__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: #eef0ee;
}

.advisor__photo img {
  transition: scale .6s var(--ease);
}

.advisor:hover .advisor__photo img {
  scale: 1.03;
}

.advisor__body {
  display: grid;
  flex: 1;
  align-content: start;
  gap: .35rem;
  padding: 1.1rem 1.2rem 1.3rem;
  border-top: 1px solid rgb(22 40 28 / .08);
}

.advisor__name {
  margin: 0;
  color: var(--ink);
  font: 700 clamp(1.02rem, .92rem + .4vw, 1.2rem)/1.25 var(--font-text);
  letter-spacing: -.01em;
}

.advisor__role {
  margin: 0;
  color: var(--ink-soft);
  font-size: .88rem;
  line-height: 1.45;
}

/* Brought in one after another as they come into view. */
.advisor.is-armed {
  transition: opacity .6s var(--ease), translate .6s var(--ease), box-shadow .4s var(--ease);
  transition-delay: calc(var(--i) * 70ms);
}

.advisor.is-armed:not(.is-in) {
  opacity: 0;
  translate: 0 1.2rem;
}

.advisor.is-armed.is-in:hover {
  transition-delay: 0s;
}

@media (max-width: 900px) {
  .advisor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* On a phone the cards are a row to swipe through. */
@media (max-width: 560px) {
  .advisor-grid {
    display: flex;
    gap: 1rem;
    margin-inline: calc(-1 * var(--gutter));
    padding: .5rem var(--gutter) 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .advisor {
    flex: 0 0 78%;
    scroll-snap-align: center;
  }
}


/* A way to the Gallery, after the introduction. */
.gallery-link {
  display: flex;
  justify-content: center;
  margin: clamp(1.5rem, 5vh, 3rem) auto 0;
  padding-inline: var(--gutter);
}

.gallery-link .cta {
  margin-top: 0;
  color: var(--forest);
}

/* -- The departments ------------------------------------------------------------------- */

.canopy {
  width: min(76rem, 100% - 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(2rem, 6vh, 4rem) 0 clamp(3rem, 8vh, 5rem);
}


/* Emails beside the rings. */
.rpanel__mail {
  display: block;
  margin-top: .25rem;
  color: var(--ink-soft);
  font-size: .78rem;
  text-decoration: underline;
  text-decoration-color: rgb(66 146 62 / .4);
  text-underline-offset: .2em;
}

.rpanel__mail:hover {
  color: var(--green);
}

.rpanel__people {
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.2rem 1.6rem;
}

.rpanel--names .rpanel__people {
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
}

.rpanel--names .rpanel__people b {
  font-size: 1.35rem;
}

@media (max-width: 760px) {
  .rpanel__face {
    width: 4.4rem;
  }
}

/* -- Every team, side by side ------------------------------------------------------------- */

.teams {
  position: relative;
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
}

.teams__track {
  display: flex;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  margin-inline: calc(50% - 50vw);
  padding: .5rem max(var(--gutter), calc(50vw - 38rem)) 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: max(var(--gutter), calc(50vw - 38rem));
  scrollbar-width: thin;
  scrollbar-color: rgb(66 146 62 / .5) transparent;
  cursor: grab;
  overscroll-behavior-x: contain;
}

.teams__track.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

.teams__track:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: -2px;
}

.team-col {
  flex: none;
  scroll-snap-align: start;
}

/* A thin line of new growth between one team and the next. */
.team-col + .team-col {
  padding-left: clamp(2.5rem, 5vw, 4.5rem);
  border-left: 2px solid rgb(66 146 62 / .18);
}

.team-col__head {
  max-width: 30rem;
}

.team-col__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem);
  font-weight: 900;
  line-height: .95;
}

.team-col__line {
  margin: .5rem 0 0;
  color: var(--ink-soft);
}

.team-col__people {
  display: flex;
  gap: 1.4rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.member {
  display: grid;
  align-content: start;
  gap: .25rem;
  width: clamp(14rem, 20vw, 17rem);
}

.member__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  margin-bottom: .6rem;
  border-radius: 1.4rem 1.4rem 1.4rem .3rem;
  object-fit: cover;
  background: #e9e1cf;
  box-shadow: 0 1rem 2rem -1.4rem rgb(13 59 9 / .55);
  -webkit-user-drag: none;
}

/* Someone shown by name only: their name, large, on green. */
.member__photo--name {
  display: grid;
  align-items: end;
  padding: 1.2rem;
  background: linear-gradient(160deg, #cfe5c3, #7fb06f);
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: .95;
}

.member__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.05;
}

.member__role {
  color: var(--green);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.member__mail {
  margin-top: .2rem;
  color: var(--ink-soft);
  font-size: .82rem;
  text-decoration: underline;
  text-decoration-color: rgb(66 146 62 / .4);
  text-underline-offset: .2em;
}

.member__mail:hover {
  color: var(--green);
}

.team-col__soon {
  display: grid;
  place-items: center;
  width: clamp(14rem, 20vw, 17rem);
  aspect-ratio: 4 / 5;
  margin: 1.4rem 0 0;
  border: 2px dashed rgb(66 146 62 / .35);
  border-radius: 1.4rem;
  color: var(--ink-soft);
  font-style: italic;
  text-align: center;
  padding: 1.5rem;
}

.teams__nav {
  display: flex;
  justify-content: flex-end;
  gap: .6rem;
  margin: .4rem 0 0;
}

.teams__step {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1.5px solid rgb(13 59 9 / .25);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background .25s var(--ease);
}

.teams__step svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: var(--forest);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.teams__step:hover {
  background: var(--forest);
}

.teams__step:hover svg {
  stroke: var(--chalk);
}

@media (max-width: 760px) {
  .member,
  .team-col__soon {
    width: 72vw;
  }

  .team-col__people {
    gap: 1rem;
  }

  .team-col__head {
    max-width: 72vw;
  }
}

/* -- The strip, pinned: scrolling down carries it across every team ---------------------- */

.teams__bar {
  display: none;
}

.teams.is-pinned {
  margin-inline: calc(50% - 50vw);
}

.teams.is-pinned .teams__stage {
  position: sticky;
  z-index: 2;
  top: 0;
  background: var(--chalk);
  display: grid;
  align-content: center;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.teams.is-pinned .teams__track {
  width: max-content;
  margin-inline: 0;
  overflow: visible;
  cursor: auto;
  will-change: transform;
}

.teams.is-pinned .team-col {
  scroll-snap-align: none;
}

.teams.is-pinned .teams__nav {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1rem, 4vh, 2rem);
  margin: 0;
}

.teams.is-pinned .teams__bar {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(2.4rem, 5vh, 3.4rem);
  display: block;
  width: min(18rem, 40vw);
  height: 3px;
  border-radius: 3px;
  background: rgb(66 146 62 / .18);
  overflow: hidden;
}

.teams__bar i {
  position: absolute;
  inset: 0;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
}

/* On a short window the portraits shrink so a whole team fits in height. */
@media (max-height: 820px) {
  .teams.is-pinned .member,
  .teams.is-pinned .team-col__soon {
    width: min(14rem, 34vh);
  }
}

.member__photo--name span {
  min-width: 0;
  overflow-wrap: break-word;
}

@media (max-width: 760px) {
  .member__photo--name {
    font-size: 1.9rem;
  }
}

/* People without a photograph: just their names, in a column beside the portraits. */
.team-col__names {
  display: grid;
  gap: 1rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.team-col__people + .team-col__names {
  margin-top: 1.6rem;
}

.team-col__names li {
  display: grid;
  gap: .2rem;
}

.team-col__names b {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}

.team-col__names small {
  color: var(--green);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.team-col__hiring {
  margin: 1.4rem 0 0;
}

.team-col__hiring a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  max-width: 22rem;
  padding: .7rem 1.1rem;
  border: 2px dashed rgb(66 146 62 / .5);
  border-radius: 1rem;
  color: var(--forest);
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background .3s var(--ease);
}

.team-col__hiring a:hover {
  background: rgb(66 146 62 / .1);
}

.team-col--join {
  align-self: center;
  max-width: 22rem;
}
