/* The Shores Fund. Golden Hour, third pass: sand first.
   The fund's own paper and sand, driftwood type, and one vermilion sun.
   Built to be light on the machine: three small frosted surfaces over the hero and nothing else
   that blurs, no filters on pictures, and nothing that moves while the page sits still except
   the hero water and the marquee, which both stop off screen. */

:root {
  --paper: #f5efe6;
  --paper-hi: #fbf7f0;
  --paper-2: #ede4d6;
  --sand-2: #e0c59c;
  --sand: #c6a173;
  --sand-deep: #93734b;
  --ink: #1c1713;
  --ink-2: #3b332c;
  --ink-soft: #655a4f;
  --accent: #e2532b;
  --accent-hover: #ec6a45;
  --accent-deep: #b03e1a;
  --deep: #2a1e16;
  --line: rgba(28, 23, 19, 0.12);
  --line-strong: rgba(28, 23, 19, 0.24);
  --lift: 0 26px 48px -36px rgba(74, 52, 28, 0.45);

  --display: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(20px, 4.4vw, 72px);
  --maxw: 1600px;
  --edge: calc((100% - min(100% - 2 * var(--gutter), var(--maxw) - 2 * var(--gutter))) / 2);
  --pm: clamp(8px, 0.9vw, 14px);
  --r: 28px;
  --section-y: clamp(88px, 14vh, 176px);

  /* shared kit, themed to this page */
  --sk-bg: #f5efe6;
  --sk-ink: #1c1713;
  --sk-soft: #655a4f;
  --sk-line: rgba(28, 23, 19, 0.22);
  --sk-field: #fffdf9;
  --sk-accent: #e2532b;
  --sk-accent-hover: #ec6a45;
  --sk-on-accent: #1c1713;
  --sk-accent-text: #b03e1a;
  --sk-tint: rgba(28, 23, 19, 0.06);
  --sk-scrim: rgba(42, 30, 22, 0.42);
  --sk-radius: 24px;
  --sk-ctl-radius: 14px;
  --sk-font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sk-display: 'Instrument Sans', system-ui, sans-serif;
  --sk-display-weight: 600;
  --sk-display-tracking: -0.03em;
  --sk-title-size: clamp(2rem, 3.8vw, 2.7rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--sand) var(--paper);
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
dt,
figure {
  margin: 0;
  padding: 0;
  font-weight: inherit;
}
ul,
ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--sand-2);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--maxw) - 2 * var(--gutter));
  margin-inline: auto;
}

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 999px;
  transition: top 0.3s var(--ease);
}
.skip:focus {
  top: 16px;
}

/* ---------- Type: a calm grotesque, with one phrase per headline set in the serif italic ---------- */
.h2,
.hero__title,
.close__title {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(2.4rem, 5.2vw, 5.2rem);
}
.h2--col {
  font-size: clamp(2.15rem, 4vw, 4.1rem);
}
em {
  font-style: normal;
}
.h2 em,
.hero__title em,
.close__title em {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  line-height: 0.92;
  letter-spacing: -0.015em;
}
.h2 em,
.close__title em {
  color: var(--accent-deep);
}

/* line masks from SplitText: padded so descenders and the italic's lean are never sliced, then released.
   The headings carry the same side padding, so a mask never reaches past its heading's own box. */
.sline-mask {
  padding: 0.12em 0.16em 0.22em;
  margin: -0.12em -0.16em -0.22em;
}
.is-set .sline-mask {
  overflow: visible !important;
}
.h2,
.hero__title,
.close__title {
  padding-inline: 0.16em;
  margin-inline: -0.16em;
}

/* ---------- Grounds: paper and sand with a little grain; nothing here moves ---------- */
.field {
  position: relative;
  isolation: isolate;
}
.field::before,
.foot::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2  0 0 0 0 .14  0 0 0 0 .08  0 0 0 .3 -.09'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}
.field--a {
  background: linear-gradient(180deg, #f9f4ec 0%, var(--paper) 34%, #f0e7d8 100%);
}
.field--b {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 62%, var(--paper-2) 100%);
  padding-bottom: calc(var(--r) + var(--section-y));
}

/* ---------- Surfaces ---------- */
/* raised paper: solid, so it costs nothing to draw */
.pane {
  background: var(--paper-hi);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--lift);
}
/* frosted paper: only the nav and the two hero panels, which sit over the photograph */
.frost {
  background: rgba(251, 247, 240, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--ink);
  --btn-bloom: var(--accent-hover);
  --btn-bd: transparent;
  --btn-bd-hover: transparent;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 0.4s ease,
    scale 0.4s var(--ease);
}
.btn:hover,
.btn:focus-visible {
  border-color: var(--btn-bd-hover);
}
.btn:active {
  scale: 0.97;
}
.no-js .btn:hover {
  background: var(--btn-bloom);
}
/* the fill follows the cursor: main.js adds .btn__bg and feeds it --mx and --my */
.btn__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}
.btn__bg::before {
  content: '';
  position: absolute;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  width: 250%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--btn-bloom);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.75s var(--ease);
}
.btn:hover .btn__bg::before,
.btn:focus-visible .btn__bg::before,
.path:hover .path__btn .btn__bg::before {
  transform: translate(-50%, -50%) scale(1);
}
.btn__arrow {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn:hover .btn__arrow,
.path:hover .path__btn .btn__arrow {
  animation: arrow-through 0.6s var(--ease);
}
@keyframes arrow-through {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  45% {
    transform: translateX(110%);
    opacity: 0;
  }
  46% {
    transform: translateX(-110%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
.btn--sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 14.5px;
  gap: 10px;
}
/* ink label on the sun colour, ink label on paper, paper label on ink: each holds in every state */
.btn--primary {
  --btn-bg: var(--accent);
  --btn-fg: var(--ink);
  --btn-bloom: var(--accent-hover);
}
.btn--ink {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper-hi);
  --btn-bloom: var(--ink-2);
}
.btn--quiet {
  --btn-bg: var(--paper-hi);
  --btn-fg: var(--ink);
  --btn-bloom: #ffffff;
  --btn-bd: rgba(28, 23, 19, 0.5);
  --btn-bd-hover: var(--ink);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px max(10px, calc(var(--gutter) - 16px)) 0;
  pointer-events: none;
  transition: transform 0.7s var(--ease);
}
.nav.is-hidden {
  transform: translateY(-130%);
}
.nav__bar {
  pointer-events: auto;
  max-width: calc(var(--maxw) - 2 * var(--gutter) + 32px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 8px 7px 16px;
  border-radius: 999px;
  box-shadow: 0 14px 30px -22px rgba(42, 30, 22, 0.55);
}
.menu-open .nav__bar {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.brand__mark {
  width: 26px;
  height: 26px;
  transition: transform 1s var(--ease);
}
.brand:hover .brand__mark {
  transform: rotate(180deg);
}
.brand__word {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18.5px;
  line-height: 1;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.nav__links {
  display: flex;
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__cta {
  margin-left: 10px;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 clamp(8px, 0.95vw, 14px);
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: clamp(8px, 0.95vw, 14px);
  right: clamp(8px, 0.95vw, 14px);
  bottom: 9px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}
.nav__burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: 8px;
  border-radius: 50%;
  border: 1px solid rgba(28, 23, 19, 0.5);
  background: var(--paper-hi);
  cursor: pointer;
  transition: border-color 0.3s ease;
}
.nav__burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.6s var(--ease),
    top 0.6s var(--ease);
}
.nav__burger span:nth-child(1) {
  top: 17px;
}
.nav__burger span:nth-child(2) {
  top: 25px;
}
.menu-open .nav__burger {
  border-color: var(--ink);
}
.menu-open .nav__burger span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.menu-open .nav__burger span:nth-child(2) {
  top: 21px;
  transform: rotate(-45deg);
}

/* ---------- Full-screen menu: one sheet of paper ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  visibility: hidden;
  pointer-events: none;
  color: var(--ink);
}
.menu.is-open {
  visibility: visible;
  pointer-events: auto;
}
.menu__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(170deg, var(--paper-hi), var(--paper-2));
}
.js:not(.reduced) .menu__bg {
  clip-path: circle(0px at calc(100% - 44px) 42px);
}
.menu__sun {
  position: absolute;
  right: -9vw;
  bottom: -5vw;
  width: 50vw;
  max-width: 300px;
  height: auto;
  aspect-ratio: 1;
}
.menu__inner {
  position: relative;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 104px var(--gutter) calc(48px + env(safe-area-inset-bottom));
}
.menu__links {
  display: flex;
  flex-direction: column;
}
.menu__links a {
  display: block;
  overflow: hidden;
  padding: 0.14em 0 0.2em;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.2rem, 9.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.menu__links a span {
  display: block;
}
.menu__foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.menu__text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.menu__text svg {
  width: 18px;
  height: 18px;
}
.menu__cta {
  margin-top: 12px;
}

/* ---------- Hero: the living water fills the first screen; paper floats on it ---------- */
.hero {
  position: relative;
  z-index: 1;
  background: var(--deep);
  color: var(--paper-hi);
  --sun-d: clamp(120px, min(19vw, 26svh), 280px);
}
.hero__track {
  position: relative;
}
.hero__stage {
  position: relative;
  min-height: 100svh;
}
.hero__media {
  position: absolute;
  inset: 0;
  transform-origin: 50% 60%;
}
.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
@media (orientation: landscape) {
  .hero__img {
    object-position: 50% 48%;
  }
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero__canvas.is-ready {
  opacity: 1;
}
.js:not(.reduced) .hero__media picture,
.js:not(.reduced) .hero__canvas {
  animation: hero-settle 2.8s var(--ease) both;
}
@keyframes hero-settle {
  from {
    transform: scale(1.07);
  }
  to {
    transform: none;
  }
}
/* a warm scrim under the headline, and a lighter one under the dock */
.hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(42, 30, 22, 0.74) 0px,
      rgba(42, 30, 22, 0.62) 250px,
      rgba(42, 30, 22, 0.32) 420px,
      rgba(42, 30, 22, 0) 610px
    ),
    linear-gradient(0deg, rgba(42, 30, 22, 0.3) 0px, rgba(42, 30, 22, 0) 240px);
}
@media (min-width: 641px) and (orientation: landscape) {
  .hero__scrim {
    background:
      linear-gradient(
        180deg,
        rgba(42, 30, 22, 0.6) 0px,
        rgba(42, 30, 22, 0.48) 250px,
        rgba(42, 30, 22, 0.22) 420px,
        rgba(42, 30, 22, 0) 600px
      ),
      linear-gradient(0deg, rgba(42, 30, 22, 0.26) 0px, rgba(42, 30, 22, 0) 240px);
  }
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: var(--deep);
  opacity: 0;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto minmax(24px, 1fr) auto;
  min-height: 100svh;
  padding-block: clamp(92px, 12.4svh, 122px) clamp(36px, 6.4svh, 64px);
}
.hero__title {
  grid-row: 1;
  font-size: clamp(2.8rem, min(6.6vw, 11svh), 7rem);
  line-height: 0.98;
  color: var(--paper-hi);
  text-shadow: 0 2px 30px rgba(42, 30, 22, 0.45);
}
.br-wide {
  display: none;
}
.hero__panel {
  grid-row: 2;
  justify-self: start;
  z-index: 1;
  width: min(100%, 520px);
  margin-top: clamp(16px, 2.8svh, 30px);
  padding: 22px 24px 16px;
  border-radius: 24px;
  color: var(--ink);
  box-shadow: 0 30px 60px -34px rgba(42, 30, 22, 0.7);
}
.hero__lede {
  max-width: 31ch;
  font-size: clamp(1.08rem, 1.4vw, 1.24rem);
  line-height: 1.36;
  font-weight: 500;
}
.hero__ctas {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__notice {
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid rgba(28, 23, 19, 0.16);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink);
}
.hero__notice:empty {
  display: none;
}
/* the sun shares the dock's grid row and rises behind it, so its light passes through the frosted paper */
.hero__sun {
  grid-row: 4;
  grid-column: 1;
  justify-self: center;
  align-self: start;
  position: relative;
  z-index: 0;
  pointer-events: none;
  width: var(--sun-d);
  height: var(--sun-d);
  margin-top: calc(var(--sun-d) * -0.62);
}
.hero__disc {
  position: relative;
  width: 100%;
  height: 100%;
}
/* on short laptop screens the sun rises to the right of the panel instead of behind it */
@media (min-width: 641px) and (max-height: 820px) {
  .hero__sun {
    left: clamp(0px, 14vw, 220px);
  }
}
.hero__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 240%;
  height: 240%;
  margin: -120% 0 0 -120%;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(255, 226, 190, 0.5),
    rgba(255, 214, 170, 0.2) 40%,
    rgba(255, 214, 170, 0) 72%
  );
}
.hero__dock {
  grid-row: 4;
  grid-column: 1;
  z-index: 1;
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 6px;
  border-radius: 24px;
  color: var(--ink);
  box-shadow: 0 30px 60px -34px rgba(42, 30, 22, 0.7);
}
.stat {
  padding: 15px clamp(14px, 1.8vw, 26px) 15px;
  border-left: 1px solid rgba(28, 23, 19, 0.12);
}
.stat:first-child {
  border-left: 0;
}
.stat__num {
  font-family: var(--display);
  font-weight: 600;
  font-size: min(4cqi, 3.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  font-variant-numeric: lining-nums;
}
.stat__label {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- Credo ---------- */
.field--a {
  z-index: 2;
  margin-top: calc(var(--r) * -1);
  border-radius: var(--r) var(--r) 0 0;
}
.credo {
  position: relative;
  padding: clamp(104px, 19vh, 220px) 0 clamp(72px, 12vh, 150px);
}
.credo__wrap {
  container-type: inline-size;
}
.credo__text {
  font-family: var(--display);
  font-weight: 600;
  font-size: min(9.5cqi, 9rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.credo__line {
  display: block;
  white-space: nowrap;
}
/* the second half of each line answers in the serif italic; the last line answers in the sun colour */
.credo__line > span + span,
.credo__line > span + span .cword {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.credo__line > span + span {
  font-size: 1.08em;
  line-height: 0.92;
  color: var(--sand-deep);
}
.credo__line--hl > span + span {
  color: var(--accent-deep);
}

/* with motion on a laptop: the hero stage sticks while the next sheet slides over it */
@media (min-width: 641px) and (min-height: 560px) {
  .js:not(.reduced) .hero__track {
    height: 200vh;
    height: 200lvh;
  }
  .js:not(.reduced) .hero__stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100lvh;
    min-height: 0;
  }
  .js:not(.reduced) .hero__inner {
    height: 100svh;
    min-height: 0;
  }
  .js:not(.reduced) .field--a {
    margin-top: -100vh;
    margin-top: -100lvh;
  }
}

/* ---------- The gap: a headline, then the shoreline ---------- */
.gap {
  position: relative;
  padding: clamp(20px, 4vh, 60px) 0 var(--section-y);
}
.gap__figure {
  display: flex;
  flex-direction: column-reverse;
  gap: clamp(26px, 5vh, 56px);
}
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--sand-2);
}
.frame img {
  position: absolute;
  left: 0;
  top: -12%;
  width: 100%;
  height: 124%;
  object-fit: cover;
}
.gap__frame {
  aspect-ratio: 21 / 9.6;
}
.gap__frame img {
  object-position: 40% 62%;
}

/* ---------- The $17B sequence, on a field of sand ---------- */
.stage {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #f0e7d8 0%, var(--paper) 100%);
}
.stage__pin {
  position: relative;
  height: 100svh;
  min-height: 540px;
  padding: var(--pm);
}
.stage__panel {
  position: relative;
  height: 100%;
  border-radius: var(--r);
  overflow: hidden;
  container-type: inline-size;
  color: var(--ink);
  background: linear-gradient(180deg, #ecddc2 0%, #e3cba3 100%);
}
.stage__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(62% 58% at 50% 104%, rgba(255, 250, 240, 0.6), rgba(255, 250, 240, 0) 72%);
}
.stage__scene {
  --f: min(38cqi, 48svh);
  --z: min(46svh, 96cqi);
  --d: min(40svh, 54cqi);
  --hy: 60%;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--gutter);
}
.stage__num {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--f);
  line-height: 0.84;
  letter-spacing: -0.06em;
  white-space: nowrap;
  font-variant-numeric: lining-nums;
}
.stage__cap {
  margin-top: calc(var(--f) * 0.1);
  max-width: 24ch;
  font-weight: 500;
  font-size: clamp(1.15rem, 2cqi, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink-2);
  text-wrap: balance;
}
/* the zero is an empty outline */
.stage__zero {
  height: var(--z);
  width: auto;
  aspect-ratio: 640 / 800;
  overflow: visible;
}
.stage__zero text {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1000px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 6;
  stroke-linejoin: round;
}
.stage__scene--b .stage__cap {
  margin-top: calc(var(--z) * 0.07);
}
.stage__scene--c {
  display: block;
  padding: 0;
}
.stage__bloom {
  position: absolute;
  left: 50%;
  top: calc(var(--hy) - var(--d) * 0.5);
  width: calc(var(--d) * 2.6);
  height: calc(var(--d) * 2.6);
  margin: calc(var(--d) * -1.3) 0 0 calc(var(--d) * -1.3);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    closest-side,
    rgba(255, 249, 236, 0.95) 0%,
    rgba(255, 244, 224, 0.5) 42%,
    rgba(255, 244, 224, 0) 72%
  );
}
/* only the disc is clipped, at the horizon; the light around it sits outside this box */
.stage__sunclip {
  position: absolute;
  left: 50%;
  top: calc(var(--hy) - var(--d));
  width: var(--d);
  height: var(--d);
  margin-left: calc(var(--d) / -2);
  overflow: hidden;
}
.stage__sun {
  width: var(--d);
  height: var(--d);
}
.stage__horizon {
  position: absolute;
  left: 6%;
  right: 6%;
  top: var(--hy);
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}
.stage__until {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--hy) + clamp(26px, 5svh, 56px));
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.2rem, 9.4cqi, 8.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stage__until em {
  display: inline-block;
  font-style: inherit;
  padding: 0 0.08em;
}

/* ---------- Thesis: the field of opportunities, then who we back ---------- */
.thesis {
  position: relative;
  padding: var(--section-y) 0 clamp(64px, 9vh, 110px);
}
.oppfield {
  margin-top: clamp(28px, 5vh, 56px);
  padding: clamp(18px, 2.6vw, 40px);
}
/* 931 dots: 49 across and 19 down on a laptop */
.dots {
  display: grid;
  grid-template-columns: repeat(49, minmax(0, 1fr));
  gap: clamp(2px, 0.5vw, 8px);
}
.dots i {
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sand-2);
}
.dots i.on {
  background: var(--accent);
  scale: 1.3;
}
.js:not(.reduced) .dots i.on {
  background: var(--sand-2);
  scale: 1;
  transition:
    background-color 0.5s ease calc(var(--k) * 55ms + 0.5s),
    scale 0.6s var(--ease) calc(var(--k) * 55ms + 0.5s);
}
.js:not(.reduced) .oppfield.is-in .dots i.on {
  background: var(--accent);
  scale: 1.3;
}
.dots__legend {
  margin-top: clamp(16px, 2.4vw, 28px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.dots__legend p {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dots__legend p::before {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sand-2);
}
.dots__legend p.on::before {
  background: var(--accent);
}
.dots__legend b {
  font-weight: 600;
  color: var(--ink);
}
.thesis__grid {
  margin-top: clamp(44px, 8vh, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.thesis__dna {
  max-width: 19em;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.1vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.thesis__dna em {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  line-height: 0.92;
  letter-spacing: -0.015em;
  color: var(--accent-deep);
}
.dna {
  margin-top: clamp(20px, 3.2vh, 34px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dna li {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--paper-hi);
  border: 1px solid var(--line-strong);
  font-size: 15px;
  font-weight: 500;
}
.thesis__open {
  margin-top: clamp(20px, 3.2vh, 34px);
  max-width: 36ch;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.thesis__figure {
  aspect-ratio: 5 / 4;
}
.thesis__figure img {
  object-position: 62% 50%;
}

/* ---------- Marquee: a grotesque row and a serif row drift apart ---------- */
.marquee-block {
  position: relative;
  padding-bottom: clamp(56px, 9vh, 120px);
}
.marquee {
  padding: clamp(18px, 3vh, 34px) 0;
  overflow-x: clip;
}
.marquee__row + .marquee__row {
  margin-top: clamp(2px, 0.8vh, 10px);
}
.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee__list {
  display: flex;
  flex: none;
}
.marquee__list li {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding-right: 0.5em;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.8vw, 3.8rem);
  line-height: 1.24;
  letter-spacing: -0.035em;
}
.marquee__row--light li {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.05rem, 4.1vw, 4.1rem);
  letter-spacing: -0.012em;
  color: var(--sand-deep);
}
.marquee__list li .mark {
  width: 0.3em;
  height: 0.3em;
  flex: none;
}
.marquee__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- Model: the number on its own, and three lines straight to the programs ---------- */
.model {
  position: relative;
}
.model__panel {
  padding: clamp(28px, 5vw, 84px) clamp(22px, 4.6vw, 76px);
}
.model__lede {
  margin-top: clamp(14px, 2.2vh, 24px);
  max-width: 44ch;
  font-size: 1.12rem;
  color: var(--ink-soft);
}
.model__flow {
  margin-top: clamp(30px, 5.5vh, 64px);
  display: grid;
  grid-template-columns: auto minmax(110px, 0.9fr) minmax(0, 1.25fr);
  align-items: stretch;
}
.model__fig {
  align-self: center;
  padding-right: clamp(12px, 1.8vw, 28px);
}
.model__num {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(6.4rem, 15vw, 15rem);
  line-height: 0.8;
  letter-spacing: -0.065em;
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}
.model__sub {
  margin-top: clamp(14px, 1.8vw, 24px);
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.model__lines {
  position: relative;
}
.flowlines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.flowlines path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.model__tag {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  padding: 2px 10px;
  background: var(--paper-hi);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--accent-deep);
}
.flows {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
}
.flows li {
  position: relative;
  display: grid;
  gap: 6px;
  align-content: center;
  padding: clamp(18px, 2.2vw, 30px) 0 clamp(18px, 2.2vw, 30px) 28px;
  border-top: 1px solid var(--line);
}
.flows li:first-child {
  border-top: 0;
}
.flows li::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--accent);
}
.flows h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.flows p {
  font-size: 16px;
  color: var(--ink-soft);
}
.model__note {
  margin-top: clamp(28px, 4.5vh, 52px);
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
  font-size: 15.5px;
  color: var(--ink-soft);
}
/* the lines are wiped in from the number once the panel is in view, then the three ends land */
.js:not(.reduced) .model__lines {
  clip-path: inset(-12px 100% -12px 0);
  transition: clip-path 1.3s var(--ease-io) 0.4s;
}
.js:not(.reduced) .model__panel.is-in .model__lines {
  clip-path: inset(-12px 0 -12px 0);
}
.js:not(.reduced) .flows li::before {
  opacity: 0;
  transition: opacity 0.5s ease 1.5s;
}
.js:not(.reduced) .model__panel.is-in .flows li::before {
  opacity: 1;
}

/* ---------- Ecosystem ---------- */
.eco {
  position: relative;
  padding: var(--section-y) 0 clamp(40px, 6vh, 80px);
}
.eco__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  flex-wrap: wrap;
}
.eco__progress {
  flex: none;
  width: clamp(140px, 18vw, 260px);
  height: 2px;
  margin-bottom: 0.9em;
  border-radius: 2px;
  background: var(--line-strong);
}
.eco__progress i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0.16);
}
.eco__viewport {
  margin: clamp(10px, 3vh, 34px) 0 -36px;
  padding: 20px 0 36px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.eco__viewport::-webkit-scrollbar {
  display: none;
}
.eco__track {
  display: flex;
  align-items: stretch;
  gap: clamp(12px, 1.5vw, 22px);
  width: max-content;
  padding: 0 var(--gutter);
}
.card {
  flex: none;
  width: min(82vw, 400px);
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper-hi);
  border: 1px solid var(--line);
  scroll-snap-align: center;
}
.card--wide {
  width: min(86vw, 560px);
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand-2);
}
.card__zoom {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -7%;
  right: -7%;
  transition: scale 1.4s var(--ease);
}
.card__zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card:hover .card__zoom {
  scale: 1.04;
}
.card__body {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: clamp(20px, 2vw, 28px);
}
.card__kind {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-deep);
}
.card__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 1.8vw, 1.8rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.card__line {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.card__action {
  margin-top: 8px;
}
.card__figs {
  container-type: inline-size;
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}
.card__figs div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
}
.card__figs dd {
  font-family: var(--display);
  font-weight: 600;
  font-size: min(10.6cqi, 2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  font-variant-numeric: lining-nums;
}
.card__figs dt {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--ink-soft);
}
@media (min-width: 560px) {
  .card__figs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
  .card__figs dd {
    font-size: min(6.2cqi, 2rem);
  }
}

/* laptops: the row is pinned and travels sideways (main.js matches this query) */
@media (min-width: 1000px) and (min-height: 680px) {
  .js:not(.reduced) .eco {
    padding: 0;
  }
  .js:not(.reduced) .eco__pin {
    height: 100svh;
    display: flex;
    flex-direction: column;
    padding: clamp(80px, 11svh, 118px) 0 clamp(60px, 8.5svh, 84px);
  }
  .js:not(.reduced) .eco__title {
    font-size: min(clamp(2.4rem, 5.2vw, 5.2rem), 10svh);
  }
  .js:not(.reduced) .eco__head {
    flex-wrap: nowrap;
  }
  .js:not(.reduced) .eco__viewport {
    flex: 1 1 0;
    min-height: 0;
    margin: clamp(22px, 4svh, 44px) 0 0;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }
  .js:not(.reduced) .eco__track {
    height: 100%;
    padding: 0 var(--edge);
    will-change: transform;
  }
  .js:not(.reduced) .card {
    height: 100%;
    width: clamp(320px, 27vw, 430px);
  }
  .js:not(.reduced) .card--wide {
    width: clamp(500px, 42vw, 660px);
  }
  .js:not(.reduced) .card__media {
    aspect-ratio: auto;
    flex: 1 1 0;
    min-height: 96px;
  }
  .js:not(.reduced) .card__body {
    flex: none;
  }
  .js:not(.reduced) .card--wide .card__body {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    column-gap: clamp(20px, 2vw, 32px);
    row-gap: 9px;
    align-content: start;
  }
  .js:not(.reduced) .card--wide .card__body > * {
    grid-column: 1;
  }
  .js:not(.reduced) .card--wide .card__figs {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: start;
    margin-top: 0;
    padding: 2px 0 0 clamp(18px, 1.8vw, 28px);
    border-top: 0;
    border-left: 1px solid var(--line-strong);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
  }
  .js:not(.reduced) .card--wide .card__figs dd {
    font-size: min(11.4cqi, 2rem);
  }
  @supports (grid-template-rows: subgrid) {
    .js:not(.reduced) .eco__track {
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: max-content;
      grid-template-rows: minmax(96px, 1fr) auto;
      row-gap: 0;
    }
    .js:not(.reduced) .card {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: 1 / span 2;
    }
    .js:not(.reduced) .card__media {
      min-height: 0;
    }
  }
}

/* ---------- Partners: four cards ---------- */
.team {
  position: relative;
  padding: var(--section-y) 0;
}
.people {
  margin-top: clamp(30px, 6vh, 64px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
}
.person {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 2vw, 30px);
  border-radius: 24px;
  background: var(--paper-hi);
  border: 1px solid var(--line);
  box-shadow: var(--lift);
}
/* monogram seals: a disc of sand for each partner */
.person__seal {
  position: relative;
  width: 58px;
  height: 58px;
  margin: 6px 0 clamp(26px, 5vh, 54px) 6px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--sand-2);
}
.person__seal::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(28, 23, 19, 0.38);
}
.person__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 1.9vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.person__role {
  margin-top: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent-deep);
}
.person__bio {
  flex: 1 0 auto;
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.person__bio--lead {
  flex: 0 0 auto;
}
.person__note {
  flex: 1 0 auto;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--ink);
}
.person__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
}
.person__link svg {
  width: 17px;
  height: 17px;
  transition: transform 0.5s var(--ease);
}
.person__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.person__link:hover::after,
.person__link:focus-visible::after {
  transform: scaleX(1);
}
.person__link:hover svg {
  transform: translate(2px, -2px);
}
@media (hover: hover) {
  .person:hover {
    translate: 0 -4px;
    border-color: var(--line-strong);
  }
}

/* ---------- Get involved: four open rows ---------- */
.join {
  position: relative;
  padding: 0;
}
.paths {
  margin-top: clamp(28px, 5vh, 60px);
  border-top: 1px solid var(--line-strong);
}
.path {
  position: relative;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr) 286px;
  gap: clamp(18px, 3vw, 48px);
  align-items: center;
  padding: clamp(22px, 3vw, 38px) 0;
  border-bottom: 1px solid var(--line-strong);
}
.path::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease);
}
.path__who {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  transition: translate 0.8s var(--ease);
}
.path__line {
  max-width: 40ch;
  color: var(--ink-soft);
}
.path__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.path__quiet {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.3s ease;
}
.path__quiet:hover {
  text-decoration-color: var(--accent-deep);
}
@media (hover: hover) {
  .path:hover::after {
    transform: scaleX(1);
  }
  .path:hover .path__who {
    translate: 12px 0;
  }
}

/* the photograph that follows the cursor over the four rows */
.float {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  width: clamp(200px, 18vw, 290px);
  aspect-ratio: 4 / 5;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  border-radius: 20px;
  box-shadow: 0 30px 56px -30px rgba(42, 30, 22, 0.6);
}
.float__clip {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: var(--sand-2);
}
.float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Close: the pier printed in sand, and one last sheet of paper ---------- */
.close {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  margin-top: calc(var(--r) * -1);
  border-radius: var(--r) var(--r) 0 0;
  background: var(--sand-2);
  color: var(--ink);
}
.close__media {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}
.close__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 56%;
}
@media (orientation: portrait) {
  .close__img {
    object-position: 30% 56%;
  }
}
.close__inner {
  position: relative;
  padding: 26svh 0 calc(var(--r) + clamp(52px, 8vh, 92px));
}
.close__panel {
  padding: clamp(24px, 3.6vw, 56px);
  box-shadow: 0 34px 70px -40px rgba(42, 30, 22, 0.7);
}
.close__title {
  max-width: 14em;
  font-size: clamp(2.3rem, 5vw, 5.2rem);
}
.close__row {
  margin-top: clamp(26px, 4.4vh, 46px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
}
.close__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.news {
  position: relative;
  width: min(100%, 440px);
}
.news label {
  display: block;
  margin-bottom: 10px;
  font-size: 14.5px;
  font-weight: 600;
}
.news__field {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(28, 23, 19, 0.5);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.news__field:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(198, 161, 115, 0.45);
}
.news input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: none;
}
.news input::placeholder {
  color: var(--ink-soft);
}
.news__msg {
  position: absolute;
  left: 4px;
  top: 100%;
  margin-top: 8px;
  font-size: 14.5px;
  font-weight: 500;
}

/* ---------- Footer: sand ---------- */
.foot {
  position: relative;
  z-index: 3;
  isolation: isolate;
  margin-top: calc(var(--r) * -1);
  border-radius: var(--r) var(--r) 0 0;
  padding: clamp(60px, 9vh, 104px) 0 48px;
  background: linear-gradient(180deg, #e9d8ba 0%, #dfc69d 100%);
}
.foot__top {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr);
  gap: 40px;
}
.foot__mark {
  width: 60px;
  height: 60px;
}
.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.foot__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.foot__h {
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.foot__col a,
.foot__col button {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--ink-2);
  text-align: left;
  transition: color 0.3s ease;
}
.foot__col a::after,
.foot__col button::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.foot__col a:hover,
.foot__col button:hover {
  color: var(--ink);
}
.foot__col a:hover::after,
.foot__col button:hover::after {
  transform: scaleX(1);
}
.foot__plain {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 16px;
  color: var(--ink-2);
}
.foot__wordwrap {
  container-type: inline-size;
  margin: clamp(48px, 8vh, 96px) 0 clamp(26px, 5vh, 46px);
}
.foot__word {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13.4cqi;
  line-height: 0.92;
  letter-spacing: -0.055em;
  white-space: nowrap;
  color: var(--ink);
}
.foot__word .wchar {
  display: inline-block;
}
.foot__legal {
  display: grid;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid rgba(28, 23, 19, 0.3);
}
.foot__legal p {
  max-width: 118ch;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}
.foot__legal a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.foot__base {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 40px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}
.foot__credits {
  max-width: 82ch;
}

/* ---------- Motion helpers ---------- */
.js:not(.reduced) [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
}
.js:not(.reduced) [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 1s ease var(--rd, 0s),
    transform 1.25s var(--ease) var(--rd, 0s),
    translate 0.6s var(--ease),
    border-color 0.4s ease;
}
.js:not(.reduced) [data-split],
.js:not(.reduced) [data-hero-title] {
  opacity: 0;
}
.js:not(.reduced) [data-hero-in] {
  opacity: 0;
}
.js:not(.reduced) .hero__sun {
  visibility: hidden;
}
.js:not(.reduced) [data-unveil] {
  clip-path: inset(0 0 100% 0 round var(--r));
}
.js:not(.reduced) [data-unveil].is-in {
  clip-path: inset(0 0 0% 0 round var(--r));
  transition: clip-path 1.5s var(--ease-io);
}
.js:not(.reduced) [data-unveil] img {
  scale: 1.12;
  transition: scale 2.4s var(--ease);
}
.js:not(.reduced) [data-unveil].is-in img {
  scale: 1;
}
img.fade {
  opacity: 0;
  transition: opacity 0.9s ease;
}
img.fade.is-loaded {
  opacity: 1;
}
html.lenis,
html.lenis body {
  height: auto;
}

/* without motion (no JavaScript, or reduced motion): everything sits in place */
.no-js .stage__pin,
.reduced .stage__pin {
  height: auto;
  min-height: 0;
}
.no-js .stage__scene,
.reduced .stage__scene {
  position: relative;
  inset: auto;
  min-height: 74svh;
  --f: min(38cqi, 44svh);
  --z: min(40svh, 90cqi);
}
.no-js .stage__scene--c,
.reduced .stage__scene--c {
  min-height: 92svh;
}
.no-js .marquee__track,
.reduced .marquee__track {
  display: block;
  width: auto;
}
.no-js .marquee__list,
.reduced .marquee__list {
  width: auto;
  flex-wrap: wrap;
}
.no-js .marquee,
.reduced .marquee {
  padding-inline: var(--gutter);
}
.no-js .marquee__list li,
.reduced .marquee__list li {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
}
.no-js .nav__burger {
  display: none;
}

/* frosted paper falls back to plain paper where it cannot blur, or where transparency is turned down */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .frost {
    background: rgba(251, 247, 240, 0.96);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .frost {
    background: var(--paper-hi);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* ---------- Responsive ---------- */
@media (min-width: 572px) {
  .br-wide {
    display: inline;
  }
}

@media (max-width: 1120px) {
  .nav__links,
  .nav__link--btn {
    display: none;
  }
  .nav__burger {
    display: block;
  }
  .people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .thesis__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  /* the lines become a trunk down the side of the list, with a branch to each program */
  .model__flow {
    grid-template-columns: minmax(0, 1fr);
  }
  .model__lines {
    display: none;
  }
  .flows {
    margin: 26px 0 0 5px;
  }
  .flows li {
    padding-left: 38px;
    background: linear-gradient(var(--accent), var(--accent)) 0 0 / 2px 100% no-repeat;
  }
  .flows li:last-child {
    background-size: 2px 50%;
  }
  .flows li::before {
    left: 20px;
  }
  .flows li::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 22px;
    height: 2px;
    margin-top: -1px;
    background: var(--accent);
  }
  .path {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .path__actions {
    align-items: flex-start;
    margin-top: 6px;
  }
  .foot__top {
    grid-template-columns: minmax(0, 1fr);
  }
  .close__row {
    align-items: flex-start;
    flex-direction: column;
  }
  .gap__frame {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16.5px;
  }
  .hero__inner {
    grid-template-rows: auto auto auto;
    padding-block: 92px 56px;
  }
  .hero__panel {
    width: 100%;
    padding: 18px 18px 14px;
  }
  .hero__ctas .btn {
    flex: 1 1 auto;
    padding: 0 20px;
  }
  .hero__sun,
  .hero__dock {
    grid-row: 3;
  }
  .hero__dock {
    margin-top: clamp(96px, 14svh, 124px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero__sun {
    margin-top: calc(clamp(96px, 14svh, 124px) - var(--sun-d) * 0.62);
  }
  .stat {
    padding: 14px 14px 15px;
  }
  .stat:nth-child(3) {
    border-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid rgba(28, 23, 19, 0.12);
  }
  .stat__num {
    font-size: min(10.6cqi, 2.7rem);
  }
  .credo__text {
    font-size: 17cqi;
    line-height: 1;
  }
  .credo__line > span {
    display: block;
  }
  .credo__line + .credo__line {
    margin-top: 0.22em;
  }
  .gap__frame {
    aspect-ratio: 4 / 5;
  }
  .gap__frame img {
    object-position: 32% 62%;
  }
  .stage__scene {
    --d: min(38svh, 60cqi);
    --hy: 57%;
  }
  .dots {
    grid-template-columns: repeat(27, minmax(0, 1fr));
    gap: 2px;
  }
  .eco__progress {
    width: 100%;
    margin-bottom: 0;
  }
  .card__body {
    padding: 20px;
  }
  .people {
    grid-template-columns: minmax(0, 1fr);
  }
  .person__seal {
    margin-bottom: 22px;
  }
  .path__btn {
    width: 100%;
    justify-content: space-between;
  }
  .path__actions {
    align-items: stretch;
  }
  .path__quiet {
    justify-content: center;
  }
  .close__inner {
    padding-top: 30svh;
  }
  .close__panel {
    padding: 22px 18px 26px;
  }
  .close__ctas {
    width: 100%;
    flex-direction: column;
  }
  .close__ctas .btn {
    width: 100%;
  }
  .foot__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
  .foot__col a,
  .foot__col button,
  .foot__plain {
    min-height: 44px;
  }
  .foot__base {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .nav__cta {
    display: none;
  }
}

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

@media print {
  .nav,
  .menu,
  .float {
    display: none !important;
  }
}
