/* Terra corporate website (terrasofthq.com). Speaks as Terra, the company.
   People first: real photos carry the colour; Deep Blue, cream and ink hold the page; pink is a touch, never a field.
   Each brand keeps its own look where it appears: Terra Enterprise on Deep Blue, Terra GO on lime, Terra Foundation on lavender.
   Motion: Lenis smooth scroll + GSAP ScrollTrigger (site.js), as on the Terra GO site. */

@font-face { font-family: Outfit; src: url('../assets/fonts/Outfit.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }

:root {
  --blue: #2F388D;        /* Terra Deep Blue */
  --blue-deep: #262D78;
  --ink: #16174A;
  --pink: #E7128B;        /* the logo's "e" */
  --pink-action: #E00C87; /* behind white text */
  --pink-deep: #C30A73;   /* pink text under 44 px on light */
  --pale-pink: #FDE6F2;
  --cream: #FBFAF5;
  --white: #FFFFFF;
  --lav-pale: #E9E9FB;
  --lav: #DAD9F7;
  --grey: #5A5F82;
  --lime: #D1F057;        /* Terra GO only */
  --line: rgba(22, 23, 74, .1);
  --max: 1240px;
  --pad: clamp(20px, 4vw, 56px);
  --sec: clamp(88px, 10vw, 150px);
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 34px 70px -36px rgba(22, 23, 74, .45);
  --shadow-soft: 0 14px 34px -22px rgba(22, 23, 74, .4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font-family: Outfit, system-ui, sans-serif; background: var(--cream); color: var(--ink); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- type ---------- */
.eyebrow { display: block; font-weight: 700; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--pink-deep); }
.on-blue .eyebrow, .on-ink .eyebrow { color: var(--pale-pink); }
.on-lime .eyebrow { color: var(--ink); }
.display { font-weight: 800; font-size: clamp(46px, 7vw, 108px); line-height: .95; letter-spacing: -.045em; text-wrap: balance; }
.h2 { font-weight: 800; font-size: clamp(34px, 4.4vw, 68px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.h3 { font-weight: 800; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -.025em; }
.lede { font-size: clamp(18px, 1.35vw, 21px); color: var(--grey); max-width: 50ch; }
.on-blue .lede, .on-ink .lede { color: var(--lav); }
.on-lime .lede { color: rgba(22, 23, 74, .78); }
.pink { color: var(--pink); }
/* headline lines slide up from behind a mask */
.ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.ln > span { display: inline-block; will-change: transform; }
.ln.lnw { display: inline-block; vertical-align: top; }
/* the one pink word: a solid underline drawn left to right */
.hl { position: relative; color: var(--pink); white-space: nowrap; }
.hl::after { content: ''; position: absolute; left: .02em; right: .02em; bottom: .02em; height: .09em; border-radius: 99px; background: var(--pink); transform: scaleX(var(--hl, 1)); transform-origin: 0 50%; }

/* ---------- buttons and links ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 16px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn-pink { background: var(--pink-action); color: var(--white); box-shadow: 0 14px 28px -14px rgba(224, 12, 135, .7); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn i { font-style: normal; transition: transform .35s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.link i { font-style: normal; transition: transform .35s var(--ease); }
.link:hover i { transform: translateX(4px); }
.on-blue .link, .on-ink .link { color: var(--white); }
.on-lime .link { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 36px; }
.arrow-dot { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--ink); font-style: normal; font-weight: 700; transition: transform .45s var(--ease), background-color .3s, color .3s; }

/* ---------- colour fields, with the band pattern (white, faint) ---------- */
.pat { position: relative; isolation: isolate; }
.pat::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background-color: #fff; -webkit-mask: url('../assets/img/pattern-mask.png') repeat 0 0 / 560px; mask: url('../assets/img/pattern-mask.png') repeat 0 0 / 560px; opacity: var(--pat, .03); }
.on-blue { background: var(--blue); color: var(--white); --pat: .03; }
.on-ink { background: var(--ink); color: var(--white); --pat: .025; }
.on-lav { background: var(--lav-pale); color: var(--ink); --pat: .35; }
.on-lime { background: var(--lime); color: var(--ink); --pat: .22; }

/* ---------- loader (first visit in a session): the pink "e" appears, "t" and "rra" unfold out of it,
   then site.js flies the logo into its place in the menu. The logo only, no line under it. ---------- */
.loader { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: var(--cream); transition: background-color .7s var(--ease) .15s; }
.loading .loader { display: grid; }
.loading body { overflow: hidden; }
.loading .nav-logo { opacity: 0; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.loader-mark { width: clamp(190px, 22vw, 260px); height: auto; overflow: visible; will-change: transform; }
.loader .tl { fill: var(--blue); opacity: 0; transform-box: fill-box; animation: tl-out .9s cubic-bezier(.16,1,.3,1) forwards; }
.loader .tl-t { --x: 34px; animation-delay: .74s; }
.loader .tl-r1 { --x: -38px; animation-delay: .78s; }
.loader .tl-r2 { --x: -78px; animation-delay: .84s; }
.loader .tl-a { --x: -118px; animation-delay: .9s; }
@keyframes tl-out { from { opacity: 0; transform: translateX(var(--x)) scale(.92); } 30% { opacity: 1; } to { opacity: 1; transform: none; } }
.loader .tl-e { fill: var(--pink); transform-box: fill-box; transform-origin: 50% 50%; transform: translateX(48px) scale(0) rotate(-140deg); animation: tl-e 1.35s .12s forwards; }
/* the "e" pops in at the centre, then glides to its place as the word unfolds out of it */
@keyframes tl-e { 0% { transform: translateX(48px) scale(0) rotate(-140deg); animation-timing-function: cubic-bezier(.34,1.56,.64,1); }
  45% { transform: translateX(48px) scale(1) rotate(0deg); animation-timing-function: cubic-bezier(.7,0,.2,1); }
  100% { transform: none; } }
.loader.lift { background-color: rgba(251, 250, 245, 0); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .loader * { animation-duration: .01s !important; animation-delay: 0s !important; } }

/* scroll progress, a thin pink line */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--pink); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); transition: background-color .4s, box-shadow .4s, transform .5s var(--ease); }
.nav.scrolled { background: rgba(251, 250, 245, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav-in { height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 34px; width: auto; }
.nav-logo .logo-light { display: none; }
/* over a dark hero (the Terra Enterprise page) the menu reads in white until you scroll */
.dark-top .nav:not(.scrolled) .logo-dark { display: none; }
.dark-top .nav:not(.scrolled) .logo-light { display: block; }
.dark-top .nav:not(.scrolled) .nav-links > a, .dark-top .nav:not(.scrolled) .nav-top { color: var(--white); }
.dark-top .nav:not(.scrolled) .nav-menu { background: var(--white); }
.dark-top .nav:not(.scrolled) .nav-menu span { background: var(--blue); }
.menu-open .nav .logo-dark { display: block !important; }
.menu-open .nav .logo-light { display: none !important; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a, .nav-links .nav-top { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; font-weight: 600; font-size: 15px; }
.nav-links > a::after, .nav-links .nav-top::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--pink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.nav-links > a:hover::after, .nav-links > a[aria-current="page"]::after, .has-menu:hover .nav-top::after, .has-menu.current .nav-top::after { transform: scaleX(1); }
.nav-links > a[aria-current="page"], .has-menu.current .nav-top { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { height: 44px; padding: 0 20px; font-size: 15px; }
.nav-menu { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); position: relative; }
.nav-menu span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-menu span:first-child { top: 17px; } .nav-menu span:last-child { top: 25px; }
.menu-open .nav-menu span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav-menu span:last-child { top: 21px; transform: rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 40; background: var(--cream); padding: calc(var(--nav-h) + 24px) var(--pad) 40px; display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; overflow-y: auto; }
.menu-open .sheet { opacity: 1; visibility: visible; }
.sheet a { font-weight: 800; font-size: 32px; letter-spacing: -.03em; padding: 7px 0; border-bottom: 1px solid var(--line); }
.sheet .btn { margin-top: 26px; font-size: 18px; justify-content: center; border: 0; }
.menu-open .nav { transform: none; }
@media (max-width: 1000px) { .nav-links { display: none; } .nav-menu { display: block; } .nav-cta .btn { display: none; } }

/* our brands drop-down (as on the Terra GO site's Products menu) */
.chev { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.has-menu { position: relative; }
.has-menu:hover .chev, .has-menu.open .chev { transform: rotate(180deg); }
.menu-panel { position: absolute; top: calc(100% + 14px); left: 50%; z-index: 5; width: 640px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px;
  background: var(--white); border-radius: 24px; padding: 12px; box-shadow: 0 30px 60px -24px rgba(22,23,74,.35), 0 0 0 1px rgba(22,23,74,.05);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s var(--ease), transform .4s var(--ease), visibility .25s; }
.menu-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-menu:hover .menu-panel, .has-menu:focus-within .menu-panel, .has-menu.open .menu-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu-col { display: flex; flex-direction: column; gap: 2px; }
.menu-label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); padding: 6px 10px 8px; }
.menu-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; transition: background-color .25s; }
.menu-item:hover, .menu-item[aria-current="page"] { background: var(--lav-pale); }
.menu-item b { display: block; font-weight: 800; font-size: 15px; letter-spacing: -.01em; }
.menu-item small { display: block; font-size: 13px; color: var(--grey); line-height: 1.35; }
.mi-thumb { width: 58px; height: 58px; flex: none; border-radius: 15px; display: grid; place-items: center; overflow: hidden; }
.mi-thumb img { max-width: 78%; max-height: 64%; }
.mi-ent { background: var(--blue); } .mi-go { background: var(--lime); } .mi-go img { max-height: 84%; }
.menu-feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; border-radius: 18px; overflow: hidden; padding: 16px; color: var(--white); isolation: isolate; }
.menu-feature img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.menu-feature::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(22,23,74,.9), rgba(22,23,74,.05) 70%); }
.menu-feature:hover img { transform: scale(1.05); }
.menu-feature b { font-weight: 800; font-size: 16px; }
.menu-feature small { font-size: 13px; color: var(--lav); }
.menu-foot { display: block; padding: 10px; font-weight: 700; font-size: 14px; color: var(--blue); border-radius: 12px; }
.menu-foot:hover { background: var(--lav-pale); }
.sheet-label { margin-top: 18px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); }
.sheet a.sub { font-size: 24px; padding-left: 14px; }

/* ---------- home: hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + 40px) 0 90px; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero .display { color: var(--blue); font-size: clamp(41px, 5.4vw, 87px); }
.hero .lede { margin-top: 30px; }
.hero-art { position: relative; aspect-ratio: 1 / 1.08; }
.ha { position: absolute; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); }
.ha img { width: 100%; height: 100%; object-fit: cover; }
.ha-main { inset: 0 0 10% 12%; }
.ha-main img { object-position: 48% 40%; }
.ha-a { left: 0; bottom: 0; width: 40%; aspect-ratio: 1; border-radius: 26px; }
.ha-a img { object-position: 50% 30%; }
.ha-b { right: -4%; top: 6%; width: 31%; aspect-ratio: .8; border-radius: 26px; }
.ha-b img { object-position: 30% 50%; }
.scroll-cue { position: absolute; left: var(--pad); bottom: 28px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); }
.scroll-cue i { position: relative; width: 1.5px; height: 40px; background: var(--line); overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: var(--pink); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
@media (max-width: 960px) {
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 28px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 540px; width: 100%; margin: 14px auto 0; }
  .scroll-cue { display: none; }
}

/* ---------- home: the photo moment (words light up as you scroll) ---------- */
.moment { position: relative; height: 150vh; background: var(--ink); }
.moment-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: flex-end; }
.moment-media { position: absolute; inset: 0; }
.moment-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; will-change: transform; }
.moment-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,23,74,.9) 0%, rgba(22,23,74,.55) 38%, rgba(22,23,74,.05) 75%); }
.moment-copy { position: relative; z-index: 2; width: 100%; padding-bottom: 12vh; color: var(--white); }
.moment-line { font-weight: 800; font-size: clamp(32px, 4.4vw, 70px); line-height: 1.04; letter-spacing: -.035em; max-width: 20ch; }
.moment-line .w { opacity: .2; }
.moment-copy .eyebrow { color: var(--pale-pink); margin-bottom: 22px; }

/* ---------- home: our brands, cards that stack as you scroll ---------- */
.brands { padding: var(--sec) 0 calc(var(--sec) * .6); }
.sec-head { display: grid; gap: 18px; max-width: 820px; }
.sec-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.bstack { margin-top: 56px; padding-bottom: 4vh; }
.bcard { position: sticky; top: calc(var(--nav-h) + 16px); height: clamp(540px, calc(100svh - var(--nav-h) - 52px), 740px); margin-bottom: 26px;
  border-radius: 38px; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; transform-origin: 50% 0; will-change: transform;
  box-shadow: 0 -24px 60px -34px rgba(22,23,74,.55); }
.bcard:nth-child(2) { top: calc(var(--nav-h) + 30px); }
.bcard:nth-child(3) { top: calc(var(--nav-h) + 44px); margin-bottom: 0; }
.bc-copy { position: relative; z-index: 1; padding: clamp(30px, 4vw, 60px); display: flex; flex-direction: column; }
.bc-top { display: flex; align-items: flex-start; gap: 16px; }
.bc-logo { height: 62px; width: auto; }
.bc-go .bc-logo { height: 86px; }
.bc-num { margin-left: auto; font-weight: 700; font-size: 14px; letter-spacing: .14em; opacity: .65; }
.bc-copy h3 { margin-top: auto; font-weight: 800; font-size: clamp(32px, 3.4vw, 54px); line-height: 1.02; letter-spacing: -.035em; max-width: 13ch; }
.bc-copy p { margin-top: 16px; font-size: clamp(17px, 1.3vw, 20px); max-width: 34ch; }
.bc-ent p { color: var(--lav); }
.bc-go p, .bc-fdn p { color: rgba(22, 23, 74, .78); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; list-style: none; }
.chips li { font-weight: 700; font-size: 13.5px; padding: 8px 14px; border-radius: 999px; }
.bc-ent .chips li { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.bc-go .chips li { background: var(--ink); color: var(--white); }
.bc-go .chips li.soon { background: var(--white); color: var(--ink); }
.chips li small { font-weight: 800; margin-left: 4px; font-size: 12px; color: var(--pink-deep); }
.bc-fdn .chips li { background: var(--white); color: var(--blue); }
.bc-go-to { display: inline-flex; align-items: center; gap: 14px; margin-top: 30px; font-weight: 700; align-self: flex-start; }
.bc-go-to:hover .arrow-dot { transform: rotate(-45deg); background: var(--pink-action); color: var(--white); }
.bc-ent .arrow-dot { background: var(--white); color: var(--blue); }
.bc-go .arrow-dot, .bc-fdn .arrow-dot { background: var(--ink); color: var(--white); }
.bc-photo { position: relative; overflow: hidden; margin: 14px 14px 14px 0; border-radius: 28px; }
.bc-photo img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.bc-shade { position: absolute; inset: 0; z-index: 5; background: var(--ink); opacity: 0; pointer-events: none; }
.lockup { display: inline-flex; flex-direction: column; align-items: flex-end; }
.lockup img { height: 48px; width: auto; }
.lockup span { font-weight: 600; font-size: 17px; letter-spacing: .02em; color: var(--blue); margin-top: -2px; line-height: 1; }
.lockup.on-dark span { color: var(--white); }
.lockup.big img { height: 66px; }
.lockup.big span { font-size: 23px; }
@media (max-width: 900px) {
  .bcard { position: relative; top: auto !important; height: auto; grid-template-columns: 1fr; margin-bottom: 18px; }
  .bc-copy h3 { margin-top: 34px; }
  .bc-photo { height: 260px; margin: 0 14px 14px; }
}

/* ---------- home: what it adds up to (the number follows the photo) ---------- */
.adds { padding: var(--sec) 0; }
.adds-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 100px); }
.adds-sticky { position: sticky; top: calc(var(--nav-h) + 8vh); align-self: start; }
.adds-stat { margin-top: 44px; min-height: 290px; display: flex; flex-direction: column; }
.adds-num { display: block; font-weight: 800; font-size: clamp(68px, 8.4vw, 136px); line-height: .92; letter-spacing: -.055em; color: var(--blue); font-variant-numeric: tabular-nums; }
.adds-label { display: block; margin-top: 18px; font-weight: 600; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.35; max-width: 24ch; }
.adds-stat .tag { margin-top: 20px; }
.adds-dots { display: flex; gap: 8px; margin-top: 24px; }
.adds-dots i { width: 26px; height: 4px; border-radius: 4px; background: var(--lav); transition: width .5s var(--ease), background-color .4s; }
.adds-dots i.on { width: 52px; background: var(--pink); }
.adds-sticky .actions { margin-top: 30px; }
.adds-photos { display: grid; gap: 14vh; padding: 2vh 0 6vh; }
.adds-photo { position: relative; border-radius: 34px; overflow: hidden; aspect-ratio: 1 / 1.05; box-shadow: var(--shadow); }
.adds-photo img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.adds-photo figcaption { display: none; }
.tag { display: inline-flex; align-self: flex-start; font-weight: 700; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; }
.tag-ent { background: var(--blue); color: var(--white); }
.tag-go { background: var(--lime); color: var(--ink); }
.tag-fdn { background: var(--lav-pale); color: var(--blue); }
.source { margin-top: 18px; font-size: 13px; color: var(--grey); }
@media (max-width: 900px) {
  .adds-grid { grid-template-columns: 1fr; }
  .adds-sticky { position: static; }
  .adds-stat, .adds-dots { display: none; }
  .adds-photos { gap: 18px; padding: 10px 0 0; }
  .adds-photo { aspect-ratio: 4 / 5; }
  .adds-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,23,74,.88), rgba(22,23,74,0) 60%); }
  .adds-photo figcaption { display: grid; gap: 8px; position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; color: var(--white); }
  .adds-photo figcaption b { font-weight: 800; font-size: 54px; line-height: 1; letter-spacing: -.04em; }
  .adds-photo figcaption span { font-weight: 600; }
  .adds-photo figcaption .tag { justify-self: start; }
}

/* ---------- home: the story, moving sideways as you scroll ---------- */
.story { position: relative; overflow: hidden; }
.story-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 30px) 0 60px; }
.story-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; }
.story-head .lede { margin-top: 14px; }
.story-track { display: flex; gap: 18px; margin-top: 52px; width: max-content; will-change: transform;
  padding: 0 max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
.yr-card { flex: none; width: clamp(290px, 25vw, 360px); min-height: 340px; border-radius: 30px; padding: 30px; display: flex; flex-direction: column; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.13); }
.yr-card .yr { font-weight: 800; font-size: clamp(60px, 5.6vw, 88px); line-height: .95; letter-spacing: -.05em; }
.yr-card h3 { margin-top: auto; font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.yr-card p { margin-top: 8px; color: var(--lav); font-size: 16px; line-height: 1.45; }
.yr-card.turn { background: var(--ink); box-shadow: inset 0 4px 0 var(--pink); width: clamp(320px, 30vw, 440px); }
.yr-card.yr-photo { padding: 0; overflow: hidden; position: relative; width: clamp(420px, 40vw, 600px); background: var(--ink); }
.yr-card.yr-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.yr-card.yr-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,23,74,.9), rgba(22,23,74,0) 55%); }
.yr-card.yr-photo > div { position: relative; z-index: 1; margin-top: auto; padding: 30px; }
.yr-card.belief { width: clamp(380px, 40vw, 600px); background: var(--cream); color: var(--ink); justify-content: space-between; gap: 24px; }
.yr-card.belief .eyebrow { color: var(--pink-deep); }
.yr-card.belief q { quotes: none; font-weight: 800; font-size: clamp(30px, 2.8vw, 44px); line-height: 1.08; letter-spacing: -.03em; color: var(--blue); }
.yr-card.belief .link { color: var(--blue); }
.story-bar { margin: 40px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))) 0; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; }
.story-bar span { display: block; height: 100%; background: var(--pink); transform: scaleX(0); transform-origin: 0 50%; }
@media (max-width: 960px) {
  .story-pin { min-height: 0; padding: var(--sec) 0; }
  .story-track { width: auto; flex-direction: column; padding: 0 var(--pad); }
  .yr-card, .yr-card.turn, .yr-card.belief { width: 100%; min-height: 0; }
  .yr-card h3 { margin-top: 26px; }
  .yr-card.yr-photo { width: 100%; height: 360px; }
  .story-bar { display: none; }
}

/* ---------- partners: logos by themselves, gliding past ---------- */
.partners { padding: var(--sec) 0; }
.marquee { margin-top: 48px; overflow: hidden; }
.mq-track { display: flex; width: max-content; animation: mq 46s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-set { display: flex; align-items: center; gap: clamp(56px, 7vw, 110px); padding-right: clamp(56px, 7vw, 110px); }
.mq-set img { height: 58px; width: auto; max-width: 180px; object-fit: contain; mix-blend-mode: multiply; }
.mq-set img.sq { height: 76px; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mq-track { animation: none; } }

/* ---------- footer: three ways to work with Terra, then the details ---------- */
.footer { padding: 0 0 30px; overflow: hidden; }
.paths { padding: clamp(72px, 8vw, 120px) 0 70px; }
.paths-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.paths-head .h2 { max-width: 16ch; margin-top: 16px; }
.paths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.path { position: relative; height: clamp(320px, 30vw, 440px); border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: var(--white); isolation: isolate; }
.path img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.path::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(22,23,74,.92) 0%, rgba(22,23,74,.35) 50%, rgba(22,23,74,.05) 100%); }
.path .k { font-weight: 700; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--pale-pink); }
.path b { margin-top: 8px; font-weight: 800; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.08; letter-spacing: -.025em; }
.path .arrow-dot { position: absolute; top: 22px; right: 22px; }
.path:hover img { transform: scale(1.06); }
.path:hover .arrow-dot { transform: rotate(-45deg); background: var(--pink-action); color: var(--white); }
.foot-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.25fr; gap: 40px; padding-top: 56px; border-top: 1px solid rgba(255,255,255,.14); }
.foot-brand img { height: 38px; width: auto; }
.foot-brand p { margin-top: 18px; font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -.02em; max-width: 16ch; }
.footer h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--pale-pink); font-weight: 700; margin-bottom: 14px; }
.footer nav { display: grid; gap: 8px; }
.footer nav a, .foot-contact a, .foot-contact span { color: var(--lav); font-size: 15px; transition: color .25s; }
.footer nav a:hover, .foot-contact a:hover { color: var(--white); }
.foot-contact { display: grid; gap: 8px; font-style: normal; }
.foot-mark { display: none; }
.foot-mark img { width: 100%; height: auto; }
.foot-base { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--lav); font-size: 13.5px; }
.footer .foot-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer .foot-legal a { font-size: 13.5px; }
.ext::after { content: ' ↗'; font-size: .85em; }
@media (max-width: 960px) { .paths-grid { grid-template-columns: 1fr; } .path { height: 280px; } .foot-top { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- inner pages ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(60px, 8vw, 110px)) 0 clamp(50px, 6vw, 80px); }
.page-hero .display { color: var(--blue); margin-top: 22px; font-size: clamp(46px, 6.6vw, 104px); max-width: 14ch; }
.page-hero .lede { margin-top: 28px; }
.ph-row { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 5vw, 72px); align-items: end; }
.photo-band { margin: 0 var(--pad); height: clamp(360px, 72vh, 760px); border-radius: 38px; overflow: hidden; position: relative; }
.photo-band img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.section { padding: var(--sec) 0; }
.section-tight { padding: 0 0 var(--sec); }
/* legal pages: long-form reading text in the site's type scale */
.legal-body { max-width: 760px; }
.legal-body > * + * { margin-top: 18px; }
.legal-body h2 { margin-top: 56px; color: var(--blue); font-weight: 800; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -.025em; }
.legal-body h3 { margin-top: 36px; font-weight: 800; font-size: 21px; line-height: 1.2; letter-spacing: -.015em; }
.legal-body h4 { margin-top: 26px; font-weight: 700; font-size: 18px; line-height: 1.25; }
.legal-body h2 + *, .legal-body h3 + *, .legal-body h4 + * { margin-top: 12px; }
.legal-body ul { padding-left: 1.3em; display: grid; gap: 8px; }
.legal-body li::marker { color: var(--pink); }
.legal-body a { color: var(--pink-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--blue); }
.vision-card { border-radius: 32px; padding: clamp(28px, 3vw, 44px); }
.vision-card q { quotes: none; display: block; margin-top: 16px; font-weight: 800; font-size: clamp(30px, 3vw, 46px); line-height: 1.04; letter-spacing: -.03em; }
@media (max-width: 900px) { .ph-row { grid-template-columns: 1fr; } .photo-band { height: 340px; border-radius: 28px; } }

/* about: the story, year by year */
.story-full { list-style: none; margin-top: 50px; }
.story-full li { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 36px 0; border-top: 1px solid var(--line); align-items: baseline; }
.story-full li:last-child { border-bottom: 1px solid var(--line); }
.story-full .yr { white-space: nowrap; font-weight: 800; font-size: clamp(44px, 4.6vw, 72px); line-height: 1; letter-spacing: -.05em; color: var(--blue); }
.story-full li.turn .yr { color: var(--pink); }
.story-full h3 { font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1.2; }
.story-full p { margin-top: 6px; color: var(--grey); max-width: 56ch; font-size: 18px; }
@media (max-width: 700px) { .story-full li { grid-template-columns: 1fr; gap: 8px; } }
.belief-band { padding: clamp(80px, 9vw, 130px) 0; }
.belief-band q { quotes: none; display: block; margin-top: 18px; font-weight: 800; font-size: clamp(36px, 4.6vw, 72px); line-height: 1.02; letter-spacing: -.04em; max-width: 18ch; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.value { position: relative; background: var(--white); border-radius: 28px; padding: 30px; box-shadow: var(--shadow-soft); min-height: 260px; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value .vn { font-weight: 700; font-size: 14px; letter-spacing: .14em; color: var(--pink-deep); }
.value h3 { margin-top: 70px; font-weight: 800; font-size: 30px; letter-spacing: -.03em; color: var(--blue); }
.value p { margin-top: 8px; color: var(--grey); font-size: 16px; }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } .value { min-height: 0; } .value h3 { margin-top: 30px; } }

.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; margin-top: 44px; border-top: 1px solid var(--line); }
.person { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.person .av { width: 52px; height: 52px; border-radius: 50%; background: var(--lav-pale); color: var(--blue); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.person .av img { width: 52px; height: 52px; border-radius: inherit; object-fit: cover; object-position: center 25%; }
.person.lead .av { background: var(--blue); color: var(--white); }
.person b { display: block; font-weight: 800; font-size: 18px; letter-spacing: -.01em; line-height: 1.2; }
.person span { color: var(--grey); font-size: 14.5px; }
.person-linked { position: relative; padding-right: 30px; }
.person-linked:hover b { color: var(--pink-deep); }
.person .profile-link { position: absolute; right: 0; font-weight: 700; color: var(--blue); font-size: 12px; }
.about-story .yr-card .yr { letter-spacing: 0; font-size: 60px; }
@media (max-width: 960px) {
  .about-story .story-track { flex-direction: row; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; }
  .about-story .yr-card, .about-story .yr-card.turn { width: min(82vw, 360px); min-height: 320px; scroll-snap-align: center; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 961px) {
  .about-story .story-track { width: 100%; overflow-x: auto; }
}
.people-sub { margin-top: 56px; }
.advisors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 1000px) { .people { grid-template-columns: 1fr 1fr; } .advisors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .people, .advisors { grid-template-columns: 1fr; } }

.recog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.recog div { border-radius: 28px; padding: 30px; background: var(--white); box-shadow: var(--shadow-soft); display: grid; gap: 6px; align-content: start; }
.recog .ry { font-weight: 800; font-size: 48px; line-height: 1; letter-spacing: -.045em; color: var(--blue); margin-bottom: 14px; }
.recog b { font-weight: 800; font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.recog span { color: var(--grey); font-size: 15px; }
@media (max-width: 800px) { .recog { grid-template-columns: 1fr; } }

/* brands page: each brand as its own chapter */
.brand-sec { padding: var(--sec) 0; overflow: hidden; }
.brand-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.brand-head .logo { height: 72px; width: auto; }
.brand-sec.on-lime .brand-head .logo { height: 100px; }
.brand-head .h2 { margin-top: 28px; }
.brand-head .lede { margin: 0; }
.work { display: grid; gap: 18px; margin-top: 56px; }
.work-row { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: 32px; overflow: hidden; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); min-height: 400px; }
.work-row:nth-child(even) { grid-template-columns: .9fr 1.1fr; }
.work-row:nth-child(even) .work-photo { order: 2; }
.work-photo { position: relative; overflow: hidden; }
.work-photo img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.work-body { padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; }
.work-body .k { font-weight: 700; font-size: 13px; letter-spacing: .16em; color: var(--pale-pink); }
.work-body h3 { margin-top: 14px; font-weight: 800; font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -.03em; line-height: 1.05; }
.work-body p { margin-top: 12px; color: var(--lav); max-width: 38ch; }
.work-stat { margin-top: auto; padding-top: 28px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.work-stat b { font-weight: 800; font-size: clamp(44px, 4.4vw, 68px); letter-spacing: -.05em; line-height: 1; }
.work-stat span { color: var(--lav); font-weight: 600; }
.logo-chip { height: 56px; width: auto; background: var(--white); border-radius: 14px; padding: 10px 14px; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 52px; }
.mode { position: relative; border-radius: 32px; overflow: hidden; min-height: 540px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); isolation: isolate; }
.mode img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.mode::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(22,23,74,.92) 0%, rgba(22,23,74,.4) 45%, rgba(22,23,74,0) 75%); }
.mode:hover img { transform: scale(1.05); }
.mode-body { padding: 30px; display: grid; gap: 10px; }
.mode-body .pill { justify-self: start; background: var(--lime); color: var(--ink); font-weight: 700; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; }
.mode-body h3 { font-weight: 800; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.025em; line-height: 1.05; }
.mode-body p { color: var(--lav); max-width: 36ch; }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.product { background: var(--white); border-radius: 28px; padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; transition: transform .5s var(--ease); }
.product:hover { transform: translateY(-6px) rotate(-1deg); }
.product img { height: 150px; width: auto; max-width: 100%; object-fit: contain; }
.product b { font-weight: 800; font-size: 18px; }
.product small { font-weight: 800; color: var(--pink-deep); font-size: 12.5px; }
.product.soon { background: var(--ink); color: var(--white); justify-content: center; min-height: 230px; }
.product.soon b { font-size: 24px; }
.product.soon small { color: var(--lime); }
.go-stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px; margin-top: 16px; background: var(--ink); color: var(--white); border-radius: 28px; padding: 26px 32px; }
.go-stat b { font-weight: 800; font-size: clamp(48px, 5vw, 76px); color: var(--lime); letter-spacing: -.05em; line-height: 1; }
.go-stat span { color: var(--lav); font-weight: 600; font-size: 18px; }
.fdn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 52px; }
.fdn-photo { position: relative; border-radius: 32px; overflow: hidden; min-height: 420px; }
.fdn-photo img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.fdn-card { background: var(--white); border-radius: 32px; padding: clamp(28px, 3.4vw, 52px); display: flex; flex-direction: column; }
.fdn-card h3 { font-weight: 800; font-size: clamp(32px, 3.2vw, 50px); line-height: 1.02; letter-spacing: -.035em; color: var(--blue); }
.fdn-card p { margin-top: 14px; color: var(--grey); max-width: 38ch; }
.fdn-card .actions { margin-top: auto; padding-top: 30px; }
.both-note { padding: 46px 0; text-align: center; color: var(--grey); font-size: 15px; }
@media (max-width: 900px) {
  .brand-head, .modes, .work-row, .work-row:nth-child(even), .fdn-row { grid-template-columns: 1fr; }
  .work-row:nth-child(even) .work-photo { order: 0; }
  .work-photo { height: 260px; }
  .mode { min-height: 440px; }
  .products { grid-template-columns: 1fr 1fr; }
  .fdn-photo { min-height: 300px; }
}

/* impact page: chapters, each a full-screen photo with its number */
.chapter { position: relative; height: 175vh; background: var(--ink); }
.ch-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: flex-end; }
.ch-media { position: absolute; inset: 0; }
.ch-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.ch-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,23,74,.92) 0%, rgba(22,23,74,.55) 40%, rgba(22,23,74,.08) 78%); }
.ch-copy { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 11vh; color: var(--white); }
.ch-copy .tag { margin-bottom: 22px; }
.ch-num { display: block; font-weight: 800; font-size: clamp(76px, 12vw, 190px); line-height: .88; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.ch-label { display: block; margin-top: 18px; font-weight: 600; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.3; max-width: 26ch; }
.ch-label::before { content: ''; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--pink); margin-bottom: 18px; }
.ch-more { display: flex; flex-wrap: wrap; gap: 20px 56px; margin-top: 34px; }
.ch-more div { display: grid; gap: 4px; }
.ch-more b { font-weight: 800; font-size: clamp(36px, 3.6vw, 56px); line-height: 1; letter-spacing: -.045em; }
.ch-more span { color: var(--lav); font-weight: 600; font-size: 15px; }
.ch-copy .link { color: var(--white); margin-top: 30px; }
@media (max-width: 700px) { .chapter { height: 130vh; } }

/* quotes: one at a time, with progress tabs */
.quotes { margin-top: 48px; }
.q-stage { display: grid; min-height: 250px; }
.q-item { grid-area: 1 / 1; opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .9s var(--ease); pointer-events: none; }
.q-item.on { opacity: 1; transform: none; pointer-events: auto; }
.q-item p { font-weight: 700; font-size: clamp(26px, 2.9vw, 46px); line-height: 1.18; letter-spacing: -.025em; color: var(--blue); max-width: 30ch; }
.q-item p::before { content: '“'; color: var(--pink); }
.q-item p::after { content: '”'; color: var(--pink); }
.q-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.q-tab { position: relative; text-align: left; padding-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; opacity: .5; transition: opacity .4s; }
.q-tab.on, .q-tab:hover { opacity: 1; }
.q-tab::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: var(--lav); }
.q-tab .bar { position: absolute; left: 0; top: 0; height: 3px; border-radius: 3px; background: var(--pink); width: 100%; transform: scaleX(0); transform-origin: 0 50%; }
.q-tab img { grid-row: span 2; height: 42px; width: 66px; object-fit: contain; mix-blend-mode: multiply; }
.q-tab b { font-weight: 800; font-size: 15.5px; }
.q-tab span { color: var(--grey); font-size: 13.5px; }
@media (max-width: 900px) { .q-tabs { grid-template-columns: 1fr 1fr; } .q-stage { min-height: 320px; } }

/* foundation */
.focus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.focus-card { background: var(--white); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.focus-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.focus-photo { position: relative; height: 260px; overflow: hidden; }
.focus-photo img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.focus-body { padding: 26px 28px 30px; display: grid; gap: 8px; }
.focus-body .vn { font-weight: 700; font-size: 14px; letter-spacing: .14em; color: var(--pink-deep); }
.focus-body h3 { font-weight: 800; font-size: 26px; letter-spacing: -.025em; line-height: 1.1; color: var(--blue); }
.focus-body p { color: var(--grey); }
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
@media (max-width: 900px) { .focus, .ways { grid-template-columns: 1fr; } .focus-photo { height: 220px; } }

/* recognition: Muriuki's photo, and each award with its mark and a link to the real page */
.recog-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 16px; margin-top: 46px; }
.recog-person { position: relative; margin: 0; border-radius: 32px; overflow: hidden; min-height: 540px; background: #EDEDED; }
.recog-person img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.recog-person::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,23,74,.85), rgba(22,23,74,0) 45%); }
.recog-person figcaption { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 1; color: var(--white); }
.recog-person figcaption b { display: block; font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.recog-person figcaption span { color: var(--lav); }
.awards { display: grid; gap: 14px; }
.award { display: grid; grid-template-columns: 200px 1fr; border-radius: 28px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-soft); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.award:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.award-mark { display: grid; place-items: center; padding: 22px; min-height: 160px; }
.award-mark img { max-width: 100%; max-height: 96px; object-fit: contain; transition: transform .8s var(--ease); }
.award:hover .award-mark img { transform: scale(1.06); }
.am-abh { background: var(--ink); }
.am-bd { background: #F3F5F8; }
.am-seed { background: var(--cream); }
.award-body { padding: 24px 28px; display: grid; gap: 4px; align-content: center; }
.award-body .ry { font-weight: 800; font-size: 15px; letter-spacing: .12em; color: var(--pink-deep); }
.award-body b { font-weight: 800; font-size: 23px; letter-spacing: -.02em; line-height: 1.15; color: var(--blue); }
.award-body span { color: var(--grey); }
.award-body .go { margin-top: 10px; font-weight: 700; color: var(--blue); display: inline-flex; gap: 8px; }
.award:hover .go i { transform: translate(2px, -2px); }
.award-body .go i { font-style: normal; transition: transform .35s var(--ease); }
@media (max-width: 900px) { .recog-wrap { grid-template-columns: 1fr; } .recog-person { min-height: 420px; } }
@media (max-width: 560px) { .award { grid-template-columns: 1fr; } .award-mark { min-height: 120px; } }

/* brand pages (Terra Enterprise, Terra GO): a full-colour hero in the brand's own colours */
.bhero { padding: calc(var(--nav-h) + clamp(44px, 6vw, 90px)) 0 clamp(64px, 7vw, 110px); }
.bhero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.bhero .logo { height: 72px; width: auto; }
.bhero.on-lime .logo { height: 104px; }
.bhero .display { margin-top: 30px; font-size: clamp(44px, 5.8vw, 92px); }
.bhero .lede { margin-top: 26px; }
.bhero .hero-art { aspect-ratio: 1 / 1.02; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(50px, 6vw, 80px); border-top: 1px solid rgba(255,255,255,.18); }
.on-lime .stat-strip { border-top-color: rgba(22,23,74,.18); }
.stat-strip div { padding: 26px 22px 0 0; display: grid; gap: 6px; align-content: start; }
.stat-strip b { font-weight: 800; font-size: clamp(40px, 4.2vw, 66px); line-height: 1; letter-spacing: -.05em; }
.stat-strip span { font-weight: 600; font-size: 15px; color: var(--lav); }
.on-lime .stat-strip span { color: rgba(22,23,74,.72); }
@media (max-width: 960px) { .bhero-grid { grid-template-columns: 1fr; } .stat-strip { grid-template-columns: 1fr 1fr; gap: 0 16px; } }

/* how it works, step by step, beside a photo that stays in view */
.steps-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 5vw, 80px); align-items: start; margin-top: 52px; }
.steps-photo { position: sticky; top: calc(var(--nav-h) + 30px); border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow); }
.steps-photo img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; display: grid; gap: 16px; }
.step { background: var(--white); border-radius: 28px; padding: 32px; box-shadow: var(--shadow-soft); display: grid; grid-template-columns: 58px 1fr; gap: 20px; min-height: 20vh; align-content: start; }
.step .n { width: 58px; height: 58px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 22px; }
.step h3 { font-weight: 800; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.025em; line-height: 1.1; color: var(--blue); margin-top: 10px; }
.step p { margin-top: 8px; color: var(--grey); }
.steps .step-note { font-weight: 700; color: var(--blue); padding: 6px 4px; font-size: 18px; }
@media (max-width: 900px) { .steps-grid { grid-template-columns: 1fr; } .steps-photo { position: relative; top: auto; aspect-ratio: 4 / 3; } .step { min-height: 0; } }

/* brands overview: three tall doors */
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bcol { position: relative; border-radius: 34px; overflow: hidden; min-height: 640px; display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.bcol:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -36px rgba(22,23,74,.55); }
.bcol-top { padding: 32px 32px 0; display: flex; flex-direction: column; }
.bcol .logo, .bcol .lockup { height: 58px; width: auto; align-self: flex-start; }
.bcol .lockup { height: auto; }
.bcol.on-lime .logo { height: 82px; }
.bcol h3 { margin-top: 30px; font-weight: 800; font-size: clamp(26px, 2.3vw, 36px); line-height: 1.04; letter-spacing: -.03em; }
.bcol p { margin-top: 12px; }
.bcol.on-blue p { color: var(--lav); }
.bcol.on-lime p, .bcol.on-lav p { color: rgba(22,23,74,.78); }
.bcol .bc-go-to { margin-top: 22px; }
.bcol.on-blue .arrow-dot { background: var(--white); color: var(--blue); }
.bcol.on-lime .arrow-dot, .bcol.on-lav .arrow-dot { background: var(--ink); color: var(--white); }
.bcol:hover .arrow-dot { transform: rotate(-45deg); background: var(--pink-action); color: var(--white); }
.bcol-photo { position: relative; margin: auto 12px 12px; height: 300px; border-radius: 26px; overflow: hidden; }
.bcol-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bcol:hover .bcol-photo img { transform: scale(1.05); }
@media (max-width: 1000px) { .bgrid { grid-template-columns: 1fr; } .bcol { min-height: 0; } .bcol-photo { margin-top: 28px; height: 260px; } }

/* forms */
.form-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 72px); align-items: start; }
.form-grid > div > .h2 { margin-top: 16px; }
.form-grid > div > .lede { margin-top: 18px; }
.form { background: var(--white); border-radius: 32px; padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); display: grid; gap: 18px; position: relative; }
.field { display: grid; gap: 7px; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 14px; }
.field small { font-weight: 500; color: var(--grey); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input:not([type=radio]), .form textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--cream); border: 1.5px solid var(--lav); border-radius: 14px; padding: 13px 15px; width: 100%; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--lav-pale); }
.form .invalid { border-color: var(--pink-action) !important; box-shadow: 0 0 0 4px var(--pale-pink) !important; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.choice label { cursor: pointer; position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border-radius: 999px; background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--lav); font-weight: 600; font-size: 14.5px; transition: background-color .2s, color .2s; }
.choice input:checked + span { background: var(--blue); color: var(--white); box-shadow: none; }
.choice input:focus-visible + span { outline: 2.5px solid var(--pink); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form button[disabled] { opacity: .6; pointer-events: none; }
.form-note { font-size: 14px; color: var(--grey); min-height: 1.2em; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form.done { place-items: center; text-align: center; min-height: 360px; }
.thanks { display: grid; justify-items: center; gap: 10px; max-width: 40ch; outline: none; }
.thanks i { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; margin-bottom: 6px; }
.thanks i svg { width: 30px; fill: none; stroke: var(--white); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.thanks h3 { font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.thanks p { color: var(--grey); }
.contact-page { padding-bottom: var(--sec); }
.contact-cards { display: grid; gap: 12px; margin-top: 34px; }
.ccard { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; background: var(--white); border-radius: 20px; padding: 16px 18px; box-shadow: var(--shadow-soft); transition: transform .3s var(--ease); }
a.ccard:hover { transform: translateY(-2px); }
.ccard .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--lav-pale); display: grid; place-items: center; }
.ccard .ic svg { width: 22px; fill: none; stroke: var(--blue); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ccard b { display: block; font-weight: 800; }
.ccard span { color: var(--grey); font-size: 15px; }
.parent-note { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin-top: 22px; background: var(--lime); border-radius: 20px; padding: 16px 20px; transition: transform .3s var(--ease); }
.parent-note:hover { transform: translateY(-2px); }
.parent-note img { height: 46px; width: auto; }
.parent-note b { display: block; font-weight: 800; }
.parent-note span span { color: rgba(22, 23, 74, .78); font-size: 15px; }
.roles-empty { margin-top: 34px; background: var(--white); box-shadow: var(--shadow-soft); border-radius: 22px; padding: 22px 24px; }
.roles-empty b { display: block; font-weight: 800; font-size: 18px; }
.roles-empty span { color: var(--grey); }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
