/* Enhanced Value Fund
   Layout: one long navy page. Centred section heads, left-aligned reading columns,
   a full-bleed Singapore hero whose headline holds still while the city scrolls under it.
   Square corners, flat colour, no shadows. Cyan only on buttons, links and key figures. */

:root {
  color-scheme: dark;

  /* colour */
  --navy: #15263B;          /* brand ground */
  --navy-low: #101E2F;      /* alternate band */
  --panel: #12304B;         /* navy-mid at 28% over navy */
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.28);
  --ink: #FFFFFF;
  --ink-2: #C9D5E0;         /* body copy */
  --ink-3: #93A8BA;         /* captions, sources */
  --cyan: #1DB4D7;
  --cyan-press: #15A3C4;
  --neg: #E05555;
  --black: #000000;
  --overlay: rgba(21, 38, 59, 0.70);
  --header-glass: rgba(21, 38, 59, 0.80);

  /* type */
  --font-display: 'Barlow', 'Aktiv Grotesk Ex', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --step-hero: clamp(2.6rem, 0.9rem + 7.4vw, 7.6rem);
  --step-h2: clamp(1.95rem, 1.15rem + 3vw, 3.6rem);
  --step-h3: clamp(1.3rem, 1.05rem + 0.9vw, 1.85rem);
  --step-lead: clamp(1.08rem, 0.98rem + 0.45vw, 1.35rem);
  --step-body: 1.0625rem;
  --step-small: 0.875rem;
  --step-tiny: 0.75rem;

  /* space */
  --gutter: clamp(16px, 5vw, 72px);
  --section-pad: clamp(84px, 10vw, 150px);
  --header-h: 72px;
  --wrap: 1200px;
  --measure: 64ch;

  /* curved top edge on each section; it overlaps the section above */
  --edge: clamp(24px, 3.2vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* paint the band above a fixed header on phones with a notch */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--navy);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--cyan-press); }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: max(16px, env(safe-area-inset-left, 0px));
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--cyan);
  color: var(--navy);
  font: 700 var(--step-small)/1 var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- fonts, served from this site ---------- */

@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/barlow-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-tight-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-tight-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-tight-latin-600-normal.woff2") format("woff2"); }

/* ---------- shared type ---------- */

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step-tiny);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  line-height: 1.3;
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  text-wrap: balance;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-h2);
  text-transform: uppercase;
  letter-spacing: 0.015em;
  line-height: 1.02;
  text-wrap: balance;
}

.lines {
  display: grid;
  gap: 0.4em;
  font-size: var(--step-lead);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 44rem;
  text-wrap: pretty;
}

.text-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 44px;
}
.text-link svg { width: 18px; height: 18px; flex: none; transition: transform 0.2s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0 26px;
  border: 1.5px solid var(--cyan);
  background: var(--cyan);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: 999px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--cyan-press); border-color: var(--cyan-press); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(255, 255, 255, 0.7); }
.btn--ghost:hover { background: var(--ink); color: var(--navy); border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- layout ---------- */

.wrap { max-width: var(--wrap); margin-inline: auto; }

.section {
  position: relative;
  margin-top: calc(var(--edge) * -1);
  padding-block: var(--section-pad);
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  background: var(--navy);
  border-radius: var(--edge) var(--edge) 0 0;
}
.section--low { background: var(--navy-low); }
.section--flush { padding-top: 0; margin-top: 0; }

.section-head {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto clamp(48px, 6vw, 84px);
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  background: transparent;
  transition: background-color 0.3s ease;
}
.site-header.is-scrolled,
.site-header.is-solid { background: var(--header-glass); }

.site-header__bar {
  height: var(--header-h);
  max-width: 1320px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.brand img { height: 36px; width: auto; }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-link {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  transition: color 0.2s ease;
}
.icon-link:hover { color: var(--cyan); }
.icon-link svg { width: 24px; height: 24px; }

.header-investors {
  margin-left: 10px;
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.85rem;
  border-color: rgba(255, 255, 255, 0.7);
}

.menu-toggle {
  margin-left: 6px;
  width: 48px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.menu-toggle__bars { position: relative; width: 26px; height: 14px; }
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: 12px; }
.menu-open .menu-toggle__bars::before { top: 6px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars::after { top: 6px; transform: rotate(-45deg); }

/* full-screen menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--navy);
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px);
  padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.menu__inner { max-width: 1320px; width: 100%; margin-inline: auto; display: grid; gap: 40px; }
.menu__list { list-style: none; display: grid; gap: 2px; }
.menu__list a {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 1rem + 4.2vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding-block: 4px;
}
.menu__list a:hover { color: var(--cyan); }
.menu__list a.menu__investors { color: var(--cyan); }
.menu__meta { display: grid; gap: 6px; color: var(--ink-3); font-size: var(--step-small); }
.menu__meta a { color: var(--ink-2); text-decoration: none; }
html.menu-open { overflow: hidden; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  height: 142svh;
  min-height: 720px;
  background: var(--navy);
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 60%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: var(--overlay); }

.hero__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 560px;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-bottom: 48px;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.hero__content { display: grid; justify-items: center; gap: clamp(22px, 3vw, 34px); max-width: 1100px; }
.hero__title {
  font-size: var(--step-hero);
  color: var(--ink);
}
.hero__title .w { display: inline-block; }
.hero__lead {
  font-size: var(--step-lead);
  color: var(--ink);
  max-width: 36rem;
  line-height: 1.45;
  text-wrap: balance;
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- the fund ---------- */

.kinds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  max-width: 1040px;
  margin-inline: auto;
}
.kind {
  background: var(--panel);
  padding: clamp(28px, 3.4vw, 44px);
  border-top: 3px solid var(--cyan);
  display: grid;
  gap: 14px;
  align-content: start;
}
.kind + .kind { border-top-color: rgba(29, 180, 215, 0.55); }
.kind h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-h3);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.kind p:not(.eyebrow) { font-size: var(--step-lead); line-height: 1.45; color: var(--ink-2); }
.kind .eyebrow { color: var(--ink-3); }

.fund-note {
  max-width: 44rem;
  margin: clamp(36px, 4vw, 52px) auto 0;
  text-align: center;
  color: var(--ink-2);
}

.facts {
  max-width: 1040px;
  margin: clamp(56px, 7vw, 96px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.fact { padding: 28px 24px 0 0; display: grid; gap: 8px; align-content: start; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 1.6rem + 2.6vw, 4rem);
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.fact__label { color: var(--ink-2); font-size: var(--step-body); line-height: 1.45; max-width: 22rem; }

/* ---------- how we invest ---------- */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
}
.step {
  background: var(--panel);
  padding: clamp(24px, 2.4vw, 34px) clamp(20px, 2vw, 28px) clamp(28px, 3vw, 40px);
  border-top: 3px solid var(--cyan);
  display: grid;
  gap: 14px;
  align-content: start;
}
.step:nth-child(2) { border-top-color: rgba(29, 180, 215, 0.75); }
.step:nth-child(3) { border-top-color: rgba(29, 180, 215, 0.5); }
.step:nth-child(4) { border-top-color: rgba(29, 180, 215, 0.3); }
.step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}
.step p:not(.step__num) { font-size: 1rem; line-height: 1.55; }
.process-note {
  margin-top: clamp(36px, 4vw, 52px);
  text-align: center;
  color: var(--ink-2);
}
.process-note strong { color: var(--ink); font-weight: 600; }

/* ---------- case studies ---------- */

.byline { color: var(--ink-3); font-size: var(--step-small); letter-spacing: 0.02em; }

.case-group {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-size: var(--step-tiny);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.case-group::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.case-group--results { margin-top: clamp(72px, 9vw, 120px); }

.case { display: grid; gap: 0; }
.case + .case { margin-top: clamp(40px, 5vw, 64px); }

.case__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem);
  text-transform: uppercase;
  letter-spacing: 0.015em;
  line-height: 0.98;
}
.case__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: var(--step-small);
  color: var(--ink-3);
}
.case__meta span { white-space: nowrap; }
.case__status { color: var(--ink-2); }

/* the mistake uses the result layout with a red rule on top */
.case--loss { border-top: 3px solid var(--neg); }

.tag {
  justify-self: start;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px 4px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
}
.tag--neg { color: var(--neg); }
.tag--pos { color: var(--cyan); }

.case h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.case p { font-size: 1rem; line-height: 1.58; }
.case .tag { font-size: 0.8rem; line-height: 1.2; }
.case .case__meta { font-size: var(--step-small); line-height: 1.4; }

.stat { display: grid; gap: 4px; }
.stat .stat__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 1.7rem + 2vw, 3.4rem);
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.005em;
}
.stat .stat__value small { font-size: 0.42em; font-weight: 700; letter-spacing: 0.06em; margin-left: 0.2em; }
.stat.stat--neg .stat__value { color: var(--neg); }
.stat .stat__label { font-size: var(--step-small); color: var(--ink-3); line-height: 1.45; }

.rule-quote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.02rem + 0.6vw, 1.45rem);
  line-height: 1.3;
  color: var(--ink);
  text-wrap: pretty;
}

/* results */
.case--result {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2px;
}
.case__figure {
  margin: 0;
  background: var(--panel);
  padding: clamp(22px, 2.8vw, 40px);
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
}
.case__figure .case__head { display: grid; gap: 10px; }
.case__body {
  background: var(--panel);
  padding: clamp(22px, 2.8vw, 40px);
  display: grid;
  gap: 26px;
  align-content: start;
  min-width: 0;
}
.case__body section { display: grid; gap: 10px; }
.case__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  margin-top: 6px;
}
.chart-key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: var(--step-tiny);
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.chart-key span { display: inline-flex; align-items: center; gap: 8px; }
.key-line { width: 18px; height: 2px; background: var(--ink); display: inline-block; }
.key-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); display: inline-block; }
.key-ring { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); display: inline-block; }
.key-dash { width: 18px; height: 0; border-top: 2px dashed var(--ink-3); display: inline-block; }
.key-band { width: 14px; height: 12px; background: rgba(29, 180, 215, 0.22); display: inline-block; }
.source { font-size: var(--step-tiny); color: var(--ink-3); line-height: 1.5; }

.cases-note {
  margin-top: clamp(40px, 5vw, 60px);
  max-width: 52rem;
  color: var(--ink-3);
  font-size: var(--step-small);
  line-height: 1.6;
}

/* charts */
.chart { position: relative; touch-action: pan-y; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart--compact { display: none; }
.c-grid { stroke: rgba(255, 255, 255, 0.09); stroke-width: 1; fill: none; }
.c-axis { stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; fill: none; }
.c-tick { fill: var(--ink-3); font-family: var(--font-body); font-size: 12px; font-variant-numeric: tabular-nums; }
.c-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.c-buy { fill: var(--cyan); stroke: var(--panel); stroke-width: 2; }
.c-buy--small { stroke-width: 1.2; }
.c-sell { fill: var(--panel); stroke: var(--ink); stroke-width: 2; }
.c-end { fill: var(--ink); stroke: var(--panel); stroke-width: 2; }
.c-ref { stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 5 4; fill: none; }
.c-avg { stroke: var(--cyan); stroke-width: 2; fill: none; }
.c-band { fill: rgba(29, 180, 215, 0.14); }
.c-event { stroke: rgba(255, 255, 255, 0.35); stroke-width: 1; stroke-dasharray: 2 3; fill: none; }
.c-note { fill: var(--ink-2); font-family: var(--font-body); font-size: 12px; paint-order: stroke; stroke: var(--panel); stroke-width: 4px; stroke-linejoin: round; }
.c-note--strong { fill: var(--ink); font-weight: 600; }
.c-note--cyan { fill: var(--cyan); font-weight: 600; }
.c-bracket { stroke: var(--cyan); stroke-width: 1.5; fill: none; }
.c-hover-line { stroke: rgba(255, 255, 255, 0.5); stroke-width: 1; }
.c-hover-dot { fill: var(--navy); stroke: var(--ink); stroke-width: 2; }
.c-hit { fill: transparent; }

.chart-tip {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  background: var(--navy);
  border: 1px solid var(--line-strong);
  padding: 8px 10px;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--ink-2);
  white-space: nowrap;
  transform: translate(-50%, calc(-100% - 14px));
  z-index: 2;
}
.chart-tip strong { color: var(--ink); font-weight: 600; display: block; }
.chart-tip em { font-style: normal; color: var(--cyan); font-weight: 600; }

/* ---------- story ---------- */

.story-title { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4.3rem); color: var(--ink); max-width: 1000px; }

.story-intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  max-width: 1120px;
  margin-inline: auto;
}
.story-intro__text { display: grid; gap: 18px; }
.story-intro__text .lead { font-size: var(--step-lead); color: var(--ink); line-height: 1.5; }
.path-list { list-style: none; margin: -4px 0 0; padding: 0; display: grid; gap: 12px; }
.path-list li { position: relative; padding-left: 20px; line-height: 1.5; }
.path-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 2px;
  background: var(--cyan);
}
.path-list strong { color: var(--ink); font-weight: 600; }

.photo { margin: 0; display: grid; gap: 10px; min-width: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; background: var(--panel); }
.photo--portrait img { aspect-ratio: 4 / 5; }
.photo--land img { aspect-ratio: 4 / 3; }
.photo figcaption {
  font-size: var(--step-tiny);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.chapters {
  list-style: none;
  max-width: 1120px;
  margin: clamp(80px, 10vw, 140px) auto 0;
  display: grid;
  gap: clamp(64px, 8vw, 120px);
  position: relative;
  overflow-x: clip;
}
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.chapter:nth-child(even) .chapter__text { order: 2; }
.chapter__text { display: grid; gap: 14px; max-width: 34rem; }
.chapter__when {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}
.chapter h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-h3);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.chapter p { line-height: 1.65; }
.chapter .chapter__thread {
  margin-top: 4px;
  padding-left: 16px;
  border-left: 2px solid var(--cyan);
  color: var(--cyan);
  font-weight: 500;
  line-height: 1.55;
  text-wrap: pretty;
}
.chapter--text { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.chapter--text .chapter__text { max-width: 44rem; justify-items: center; }

.principles {
  max-width: 1120px;
  margin: clamp(88px, 10vw, 140px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}
.principle {
  background: var(--panel);
  border-top: 3px solid var(--cyan);
  padding: clamp(24px, 2.6vw, 36px);
  display: grid;
  gap: 12px;
  align-content: start;
}
.principle h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.55rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.story-close {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}
.story-close p { font-size: var(--step-lead); color: var(--ink); }

/* ---------- insights ---------- */

.insights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  max-width: 1120px;
  margin-inline: auto;
}
.insight {
  background: var(--panel);
  padding: clamp(28px, 3.4vw, 48px);
  display: grid;
  gap: 20px;
  align-content: start;
  min-width: 0;
}
.insight__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-h3);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.cotm-logo { width: min(100%, 420px); height: auto; }
.cotm-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.subscribe { display: grid; gap: 10px; }
.subscribe__row { display: flex; gap: 10px; }
.subscribe label { font-size: var(--step-small); color: var(--ink-2); }
.subscribe input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 20px;
  border: 1.5px solid var(--line-strong);
  background: var(--navy);
  color: var(--ink);
  font: 400 1rem var(--font-body);
  border-radius: 999px;
}
.subscribe input[type="email"]::placeholder { color: var(--ink-3); }
.subscribe input[type="email"]:focus-visible { outline-offset: 2px; }
.subscribe .btn { flex: none; }
.subscribe-embed { width: 100%; max-width: 480px; }
.subscribe-embed iframe { display: block; width: 100%; border: 0; background: transparent; }
.subscribe__fine { font-size: var(--step-tiny); color: var(--ink-3); }

.episodes { list-style: none; display: grid; }
.episode { border-top: 1px solid var(--line); }
.episode:last-child { border-bottom: 1px solid var(--line); }
.episode a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: center;
  padding: 16px 0;
  text-decoration: none;
  color: var(--ink);
}
.episode__title { font-weight: 500; font-size: 1.02rem; line-height: 1.35; }
.episode__show { grid-column: 1; font-size: var(--step-tiny); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.episode__go {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.episode__go svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.episode a:hover .episode__title { color: var(--cyan); }
.episode a:hover .episode__go svg { transform: translateX(3px); }

/* ---------- contact ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(36px, 6vw, 96px);
  max-width: 1120px;
  margin-inline: auto;
  align-items: start;
}
.contact__lead { display: grid; gap: 22px; justify-items: start; }
.contact__lead .section-title { text-align: left; }
.contact__text { font-size: var(--step-lead); color: var(--ink-2); max-width: 32rem; line-height: 1.5; }
.contact__list { display: grid; gap: 0; margin: 0; }
.contact__item { position: relative; display: grid; gap: 4px; padding: 18px 0 18px 64px; border-top: 1px solid var(--line); }
/* cyan icon in a thin ring, level with the label and value */
.contact__icon {
  position: absolute;
  left: 0;
  top: 18px;
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  border: 1px solid rgba(29, 180, 215, 0.45);
  border-radius: 50%;
  background: rgba(29, 180, 215, 0.08);
  color: var(--cyan);
}
.contact__icon svg { width: 20px; height: 20px; display: block; }
/* below 1080px the side-by-side columns get too narrow for the address to stay on one line */
@media (max-width: 1080px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.contact__item:last-child { border-bottom: 1px solid var(--line); }
.contact__item dt { font-size: var(--step-tiny); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.contact__item dd { margin: 0; color: var(--ink); font-size: 1.05rem; line-height: 1.5; }
.contact__item dd a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.contact__item dd a:hover { color: var(--cyan); border-color: var(--cyan); }
.contact__item .sep { color: var(--ink-3); padding-inline: 6px; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--black);
  color: var(--ink-3);
  padding-top: clamp(80px, 9vw, 128px);
  padding-bottom: calc(clamp(56px, 6vw, 80px) + env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  border-radius: var(--edge) var(--edge) 0 0;
  margin-top: calc(var(--edge) * -1);
  position: relative;
}
.footer__inner { max-width: 960px; margin-inline: auto; display: grid; justify-items: center; gap: 40px; text-align: center; }
.footer__brand { --logo-w: 220px; width: var(--logo-w); display: grid; gap: 18px; }
.footer__brand img { width: var(--logo-w); height: auto; }
/* the icon row starts at the logo's left edge and ends under the right edge of its F */
.footer__icons { width: calc(var(--logo-w) * 0.8675); display: flex; justify-content: space-between; }
.footer__icons .icon-link { width: 40px; height: 40px; }
.footer__icons .icon-link:first-child { justify-items: start; }
.footer__icons .icon-link:last-child { justify-items: end; }
.footer__contact { font-style: normal; display: grid; gap: 6px; font-size: 0.95rem; color: var(--ink-2); line-height: 1.55; }
.footer__contact a { color: var(--ink-2); text-decoration: none; }
.footer__contact a:hover { color: var(--cyan); }
.footer__legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; list-style: none; }
.footer__legal-links a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
  padding: 10px 0;
}
.footer__legal-links a:hover { color: var(--cyan); }
.footer__small { font-size: var(--step-tiny); line-height: 1.7; max-width: 46rem; color: var(--ink-3); }

/* ---------- inner pages: investors and legal ---------- */

.page-top {
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(36px, 5vw, 64px);
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.page-top__inner { max-width: 960px; margin-inline: auto; display: grid; gap: 18px; }
.page-title { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.4rem); color: var(--ink); }

.gate {
  max-width: 760px;
  margin-left: max(0px, calc((100% - 960px) / 2));
  margin-right: auto;
  background: var(--panel);
  border-top: 3px solid var(--cyan);
  padding: clamp(26px, 4vw, 48px);
  display: grid;
  gap: 20px;
}
.gate h2 { font-family: var(--font-display); font-weight: 800; font-size: var(--step-h3); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05; }
.gate__check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; font-size: 1rem; color: var(--ink); line-height: 1.5; cursor: pointer; }
.gate__check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--cyan); }
.gate__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }

.terms {
  max-width: 960px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
  display: grid;
  margin-block: 0;
}
.terms div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 8px 32px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.terms dt { color: var(--ink-3); font-size: 0.95rem; }
.terms dd { margin: 0; color: var(--ink); }

.block { max-width: 960px; margin-inline: auto; display: grid; gap: 22px; }
.block + .block { margin-top: clamp(64px, 8vw, 104px); }
.block h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.02; }
.numbered { list-style: none; counter-reset: n; display: grid; gap: 2px; }
.numbered li { counter-increment: n; background: var(--panel); padding: 22px 24px 22px 72px; position: relative; }
.numbered li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 21px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.08em;
}
.numbered strong { color: var(--ink); font-weight: 600; }
.panel-note { background: var(--panel); border-left: 3px solid var(--cyan); padding: 18px 22px; }

.legal { max-width: 760px; margin-left: max(0px, calc((100% - 960px) / 2)); margin-right: auto; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; list-style: none; margin-bottom: clamp(40px, 6vw, 72px); }
.legal-nav a { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; display: inline-block; padding: 10px 0; }
.legal section + section { margin-top: clamp(64px, 8vw, 104px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.legal h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.6rem); text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.02; margin-bottom: 24px; }
.legal h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 34px 0 10px; }
.legal p, .legal li { line-height: 1.7; }
.legal p + p { margin-top: 14px; }
.legal ul:not(.legal-nav) { padding-left: 1.2em; display: grid; gap: 8px; margin-top: 12px; }
.legal .updated { color: var(--ink-3); font-size: var(--step-small); }

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

@keyframes rise { from { transform: translateY(0.35em); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes settle { from { transform: translateY(28px); } to { transform: none; } }
@keyframes slide-l { from { transform: translateX(-36px); } to { transform: none; } }
@keyframes slide-r { from { transform: translateX(36px); } to { transform: none; } }

.hero__title .w { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero__title .w:nth-child(2) { animation-delay: 0.08s; }
.hero__title .w:nth-child(3) { animation-delay: 0.16s; }
.hero__title .w:nth-child(4) { animation-delay: 0.24s; }
.hero__lead, .hero__actions { animation: rise 0.9s 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

/* scroll effects start from a readable resting state and only move */
.js .reveal.is-pending { transform: translateY(28px); }
.js .reveal.is-in { animation: settle 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.js .chapter .photo.is-pending { transform: translateX(36px); }
.js .chapter:nth-child(even) .photo.is-pending { transform: translateX(-36px); }
.js .chapter .photo.is-in { animation: slide-r 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.js .chapter:nth-child(even) .photo.is-in { animation-name: slide-l; }

/* story path list: the four steps rise one after another, once, when the list comes into view */
@keyframes path-rise { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.js .path-list.is-pending li { opacity: 0; }
.js .path-list.is-in li { animation: path-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.js .path-list.is-in li:nth-child(1) { animation-delay: 0.6s; }
.js .path-list.is-in li:nth-child(2) { animation-delay: 1.1s; }
.js .path-list.is-in li:nth-child(3) { animation-delay: 1.6s; }
.js .path-list.is-in li:nth-child(4) { animation-delay: 2.1s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal.is-pending, .js .chapter .photo.is-pending { transform: none !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case--result { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .js .chapter .photo.is-pending,
  .js .chapter:nth-child(even) .photo.is-pending { transform: translateY(28px); }
  .js .chapter .photo.is-in,
  .js .chapter:nth-child(even) .photo.is-in { animation-name: settle; }
  .story-intro { grid-template-columns: minmax(0, 1fr); }
  .story-intro .photo { max-width: 420px; justify-self: center; }
  .chapter { grid-template-columns: minmax(0, 1fr); }
  .chapter:nth-child(even) .chapter__text { order: 0; }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .insights { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .fact + .fact { padding-left: 0; border-left: 0; }
  .kinds { grid-template-columns: minmax(0, 1fr); }
  .terms div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .brand img { height: 26px; }
  .header-investors { display: none; }
  .icon-link { width: 40px; }
  .icon-link svg { width: 22px; height: 22px; }
  .menu-toggle { margin-left: 2px; width: 44px; }
  .hero { height: 128svh; min-height: 640px; }
  .hero__actions { flex-direction: column; align-items: stretch; width: min(100%, 340px); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .chart--wide { display: none; }
  .chart--compact { display: block; }
  .case__stats { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .subscribe__row { flex-direction: column; gap: 10px; }
  .numbered li { padding-left: 60px; }
  .numbered li::before { left: 18px; }
  .footer__brand { --logo-w: 200px; }
}

@media (max-width: 380px) {
  .brand img { height: 22px; }
  .icon-link { width: 36px; }
}

/* ---------- one page: story, investor section, declaration ---------- */

/* desktop logo: footer width at the top of the page, compact once the page scrolls */
@media (min-width: 641px) {
  .site-header__bar {
    height: auto;
    min-height: var(--header-h);
    padding-block: 14px;
    transition: padding-block 0.3s ease;
  }
  .brand img { height: auto; width: 220px; transition: width 0.3s ease; }
  .site-header.is-scrolled .site-header__bar { padding-block: 0; }
  .site-header.is-scrolled .brand img { width: 118px; }
  .menu { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 56px); }
}

/* menu: the investor sections sit under Investors */
.menu__list .menu__sub {
  list-style: none;
  display: grid;
  margin: 2px 0 10px;
  padding-left: clamp(18px, 2.4vw, 32px);
  border-left: 1px solid var(--line);
}
.menu__list .menu__sub a {
  font-size: clamp(1.15rem, 0.85rem + 1.2vw, 1.75rem);
  font-weight: 700;
  color: var(--ink-2);
  padding-block: 3px;
}
.menu__list .menu__sub a:hover { color: var(--cyan); }

/* story */
.story-intro__text .story-toggle { justify-self: start; margin-top: 8px; }

/* investor section, closed: four tiles show what sits behind the declaration */
.inv-teaser { padding-block: clamp(76px, 9vw, 128px); }
.inv-teaser .section-head { margin-bottom: 0; gap: 18px; }
.inv-teaser__lead { font-size: var(--step-lead); line-height: 1.45; color: var(--ink-2); max-width: 40rem; text-wrap: balance; }
.inv-tiles {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  max-width: 1120px;
  margin: clamp(40px, 5vw, 64px) auto 0;
}
.inv-tiles > li { display: grid; }
.inv-tile {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(20px, 2.2vw, 30px);
  background: var(--panel);
  border-top: 3px solid var(--cyan);
  color: var(--ink-2);
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.inv-tiles > li:nth-child(2) .inv-tile { border-top-color: rgba(29, 180, 215, 0.75); }
.inv-tiles > li:nth-child(3) .inv-tile { border-top-color: rgba(29, 180, 215, 0.5); }
.inv-tiles > li:nth-child(4) .inv-tile { border-top-color: rgba(29, 180, 215, 0.3); }
.inv-tile:hover { background: #17395A; color: var(--ink-2); }
.inv-tile:hover .inv-tile__title { color: var(--cyan); }
/* same cyan ring as the contact icons */
.inv-tile__icon {
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  margin-bottom: 6px;
  border: 1px solid rgba(29, 180, 215, 0.45);
  border-radius: 50%;
  background: rgba(29, 180, 215, 0.08);
  color: var(--cyan);
  transition: background-color 0.2s ease;
}
.inv-tile__icon svg { width: 20px; height: 20px; display: block; }
.inv-tile:hover .inv-tile__icon { background: rgba(29, 180, 215, 0.16); }
.inv-tile__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--ink);
  transition: color 0.2s ease;
}
.inv-tile__text { font-size: 0.98rem; line-height: 1.5; }
.inv-teaser__actions {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: clamp(36px, 4vw, 52px);
  text-align: center;
}
.inv-teaser__note { color: var(--ink-3); font-size: var(--step-small); letter-spacing: 0.02em; max-width: 34rem; }
.inv-teaser.is-open .inv-teaser__note { display: none; }
@media (max-width: 1080px) { .inv-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .inv-tiles { grid-template-columns: minmax(0, 1fr); } }

/* desktop eyebrow labels: larger than the mobile size, which already looks proportionate */
@media (min-width: 861px) {
  .eyebrow { font-size: 1rem; letter-spacing: 0.12em; }
}

/* investor section, open */
.inv-open { max-width: 980px; margin: 0 auto; display: grid; gap: 22px; justify-items: center; text-align: center; }
.inv-open__objective {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.65rem, 1.05rem + 2.5vw, 3rem);
  line-height: 1.12;
  color: var(--ink);
  text-wrap: balance;
}
.inv-open__line { font-size: var(--step-lead); line-height: 1.45; color: var(--ink-2); max-width: 40rem; text-wrap: balance; }
.inv-open + .principles { margin-top: clamp(48px, 6vw, 80px); }
.principles + .section-head { margin-top: clamp(88px, 10vw, 140px); }

.block h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.02;
}

/* newsletter */
.insight > .btn { justify-self: start; }

/* the declaration */
.gate-dialog {
  padding: 0;
  border: 0;
  margin: auto;
  background: transparent;
  color: var(--ink-2);
  width: min(760px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  overscroll-behavior: contain;
}
.gate-dialog::backdrop { background: rgba(8, 15, 25, 0.84); }
.gate-dialog .gate { margin: 0; max-width: none; }
.gate-dialog .gate p { line-height: 1.6; }
.gate__error { color: #FF9C9C; font-size: var(--step-small); }
.gate__error a { color: inherit; }
