/* ==========================================================================
   Lotus Venture — stylesheet (v6)
   v4's palette and faces, polished: deep lotus-leaf green ink fields, white
   and mist reading sections, lotus gold as the one action accent and leaf
   green as its form on light ground. Each of the seven sectors has its own
   colour, always shown with its name beside it.
   Tiro Devanagari (Latin + Devanagari) for display, Anek Latin for text.
   Surfaces are separated by tone and space, never by rules or resting
   shadows. Himalayan ridge lines are the one ornament.
   ========================================================================== */

:root {
  --ink: #0D291A;
  --ink-2: #143423;
  --ink-3: #1F432F;
  --ink-deep: #071C11;
  --mist: #F1F4F1;
  --mist-2: #E5EBE6;
  --white: #FFFFFF;
  --text: #15261C;
  --muted: #4A5A50;
  --quiet: #77857C;
  --on-ink: #F2F4F1;
  --on-ink-soft: rgba(242, 244, 241, 0.8);
  --on-ink-faint: rgba(242, 244, 241, 0.6);
  --on-ink-tint: rgba(242, 244, 241, 0.12);

  /* The approved logo: a gold-to-marigold lotus over a leaf-green wordmark. */
  --gold: #FCCB2A;
  --gold-hover: #FFDB67;
  --leaf: #0D7134;
  --hydro: #46AAC4;
  --hydro-deep: #1B6C81;
  --marigold: #F8962D;
  --marigold-deep: #9B540C;
  /* One colour per sector, checked with the dataviz palette validator:
     the base steps on the light page, the -d steps on the ink hero. */
  --renewable: #2B9BC4;     --renewable-d: #2B9BC4;
  --manufacturing: #EE8A1F; --manufacturing-d: #D7770A;
  --hospitality: #DB5876;   --hospitality-d: #D0466E;
  --agriculture: #7AAE34;   --agriculture-d: #679B22;
  --it: #6F8EEA;            --it-d: #6F8EEA;
  --finance: #D6A42C;       --finance-d: #B98A14;
  --infrastructure: #A066D3; --infrastructure-d: #A066D3;
  /* Focus ring and nav underline: gold on ink, leaf green on light ground. */
  --accent: var(--leaf);

  --font-display: "Tiro Devanagari Hindi", Georgia, serif;
  --font-text: "Anek Latin", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Seven sizes: display, section, statement, heading, lead, body, small. */
  --fs-display: clamp(2.9rem, 5.4vw, 5.2rem);
  --fs-h2: clamp(2.2rem, 4vw, 3.5rem);
  --fs-statement: clamp(1.5rem, 2.2vw, 2rem);
  --fs-h3: 1.6rem;
  --fs-lead: 1.25rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9rem;

  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2.5rem;
  --sp-5: 4rem;
  --sp-6: 6rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(5rem, 10vw, 9rem);
  --radius: 6px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --masthead-h: 76px;
  /* Room kept clear at the bar's right end for the Notice button. */
  --notice-room: 12rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--masthead-h) + 8px); scrollbar-color: var(--ink-3) var(--mist); }
body {
  margin: 0; background: var(--mist); color: var(--text);
  font-family: var(--font-text); font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(252, 203, 42, 0.42); color: inherit; }

img, canvas, svg { display: block; }
img, video { max-width: 100%; height: auto; }
a { color: var(--leaf); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; margin: 0; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.015em; }

.wrap { max-width: 78rem; margin: 0 auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--gold); color: var(--ink); padding: var(--sp-1) var(--sp-2); }
.skip-link:focus { left: var(--sp-2); }

section { padding-block: var(--section); }
.section-head { max-width: 46rem; margin-bottom: var(--sp-5); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--sp-3) var(--sp-4); }
.section-head--row > div { max-width: 40rem; }
.section-lede { margin-top: var(--sp-3); font-size: var(--fs-lead); line-height: 1.55; color: var(--text); }

/* Buttons: pills. Lotus gold is reserved for the main action. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.7rem 1.6rem; border-radius: 999px; border: 0;
  font-family: var(--font-text); font-size: 1rem; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease, transform 250ms var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
/* The lift moves a button out from under a pointer resting on its bottom
   edge, which drops the hover and makes it flicker. A strip below the
   button keeps it under the pointer while lifted. */
.btn, .btn-notice { position: relative; }
.btn::before, .btn-notice::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 4px; }
.btn-lotus { background: var(--gold); color: var(--ink); }
.btn-lotus:hover { background: var(--gold-hover); color: var(--ink); }
.btn-ghost { background: var(--on-ink-tint); color: var(--on-ink); }
.btn-ghost:hover { background: rgba(242, 244, 241, 0.22); color: var(--on-ink); }
.btn-ink { background: var(--ink); color: var(--on-ink); }
.btn-ink:hover { background: var(--ink-3); color: var(--on-ink); }

/* Role chips: the relationship to Lotus Venture, stated honestly. */
.role {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.25rem 0.75rem 0.2rem; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; line-height: 1.3; white-space: nowrap;
}
.role::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.45; }
.role--operated::before { opacity: 1; }
.role--operated { background: rgba(27, 108, 129, 0.12); color: var(--hydro-deep); }
.role--invested { background: rgba(155, 84, 12, 0.12); color: var(--marigold-deep); }

.tbc {
  display: inline-block; padding: 0.2rem 0.7rem; border-radius: 999px; background: rgba(13, 113, 52, 0.1);
  color: var(--leaf); font-size: 0.85rem; font-weight: 600;
}

/* --------------------------------------------------------------------------
   Masthead: transparent over the landing, solid once you scroll
   -------------------------------------------------------------------------- */

.masthead {
  position: fixed; inset: 0 0 auto; z-index: 30; color: var(--on-ink);
  transition: background-color 250ms ease, color 250ms ease, box-shadow 250ms ease;
}
.masthead, .hero, .contact, .site-footer, .detail-head { --accent: var(--gold); }
.masthead.is-solid, .masthead:has(.site-nav.open) { --accent: var(--leaf); }
/* A sticky bar truly floats over the page, so it may cast a soft shadow. */
.masthead.is-solid { background: var(--white); color: var(--text); box-shadow: 0 10px 30px -12px rgba(13, 41, 26, 0.18); } /* taste-skill-ignore: sticky bar */
.masthead-inner {
  display: flex; align-items: center; gap: var(--sp-3); min-height: var(--masthead-h);
  padding-right: max(var(--gutter), calc(var(--notice-room) - max(0px, (100vw - 78rem) / 2)));
}

.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: inherit; text-decoration: none; margin-right: auto; }
.brand:hover { color: inherit; }
/* The approved lockup: gold lotus beside the wordmark. The wordmark is leaf
   green on light ground and paper white on ink. */
.brand-mark { width: 42px; height: 31px; flex: none; }
.brand-wordmark { width: 57px; height: 23px; flex: none; fill: currentColor; }
.masthead.is-solid .brand-wordmark, .masthead:has(.site-nav.open) .brand-wordmark { fill: var(--leaf); }

/* Notice: pinned to the screen's right edge, set apart from the nav. */
.btn-notice {
  position: absolute; top: calc((var(--masthead-h) - 40px) / 2); right: var(--gutter);
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 40px; padding: 0 0.55rem 0 1.05rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--on-ink-tint); color: inherit; font: 600 0.95rem/1 var(--font-text);
  transition: background-color 200ms ease, transform 250ms var(--ease-out);
}
.btn-notice:hover { background: rgba(242, 244, 241, 0.22); transform: translateY(-1px); }
.btn-notice:active { transform: translateY(1px); }
.masthead.is-solid .btn-notice, .masthead:has(.site-nav.open) .btn-notice { background: var(--mist-2); }
.masthead.is-solid .btn-notice:hover, .masthead:has(.site-nav.open) .btn-notice:hover { background: #D6DED8; }

/* The badge: how many notices are on the board. */
.notice-count {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 0.4rem; border-radius: 999px;
  background: var(--gold); color: var(--ink); font: 700 0.8rem/1 var(--font-text); font-variant-numeric: tabular-nums;
}
.notice-count[hidden] { display: none; }

.site-nav { display: flex; gap: var(--sp-4); }
.site-nav a { position: relative; color: inherit; text-decoration: none; font-weight: 500; font-size: 1rem; padding: 0.4rem 0; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out);
}
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0 1rem; border-radius: 999px;
  border: 0; background: var(--on-ink-tint); color: inherit; cursor: pointer;
  font: 600 0.95rem/1 var(--font-text);
}
.masthead.is-solid .nav-toggle, .masthead:has(.site-nav.open) .nav-toggle { background: var(--mist-2); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 16px; height: 2px; background: currentColor; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

@media (max-width: 980px) {
  .masthead-inner { flex-wrap: wrap; row-gap: 0; gap: var(--sp-2); }
  .nav-toggle { display: inline-flex; order: 2; }
  .site-nav { order: 4; flex-basis: 100%; flex-direction: column; gap: 0; display: none; padding-bottom: var(--sp-3); }
  .site-nav.open { display: flex; }
  .masthead:has(.site-nav.open) { background: var(--white); color: var(--text); }
  .site-nav a { padding: 0.7rem 0; font-family: var(--font-display); font-size: var(--fs-h3); }
  .site-nav a::after { display: none; }
}
@media (max-width: 600px) {
  .brand-mark { width: 38px; height: 28px; }
  .brand-wordmark { width: 50px; height: 20px; }
  .btn-notice { padding: 0 0.45rem 0 0.85rem; }
  .masthead { --notice-room: 8rem; }
}

/* --------------------------------------------------------------------------
   Landing: the seven sectors as the petals of one lotus
   -------------------------------------------------------------------------- */

.hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink);
  min-height: max(680px, 100svh); display: flex; align-items: center;
  padding-block: calc(var(--masthead-h) + var(--sp-4)) var(--sp-5);
}
.ridges { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-4); align-items: center; width: 100%; }

.hero h1 { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.02em; }
.hero h1 .hl { display: block; }
.hero-lede { margin-top: var(--sp-4); max-width: 32rem; font-size: var(--fs-lead); line-height: 1.55; color: var(--on-ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }

.bloom { position: relative; margin: 0; justify-self: center; width: min(100%, 600px); }
.bloom-stage { position: relative; aspect-ratio: 1; }
.bloom-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bloom figcaption { margin-top: var(--sp-2); text-align: center; font-size: var(--fs-small); color: var(--on-ink-faint); }

/* Seven petals open from the heart, one per sector in its colour. */
.petal { transform-box: view-box; transform-origin: 300px 470px; transform: rotate(var(--a)); transition: transform 900ms var(--ease-out), opacity 400ms ease; cursor: pointer; }
.petal-shape {
  fill: color-mix(in oklab, var(--c) 82%, var(--ink)); stroke: var(--ink); stroke-width: 4; stroke-linejoin: round;
  transform-box: view-box; transform-origin: 300px 470px;
}
.bloom.has-active .petal:not(.is-active) { opacity: 0.35; transition-delay: 0s; }
.bloom-heart { fill: var(--ink-2); stroke: var(--ink); stroke-width: 4; }
.bloom-mark { position: absolute; left: 50%; top: 78.3%; width: 11%; aspect-ratio: 62 / 46; transform: translate(-50%, -55%); pointer-events: none; }
.bloom-wordmark { position: absolute; left: 50%; top: 91%; width: 14%; aspect-ratio: 76 / 31; transform: translateX(-50%); fill: var(--on-ink); pointer-events: none; }

/* Each sector's label sits beyond its petal's tip (placed by script.js),
   on a layer the size of the stage. */
.bloom-chips { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 1; pointer-events: none; }
.bloom-chip { pointer-events: auto; }
.bloom-chip { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; }
.bloom-chip a {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1.05rem 0.5rem 0.85rem; border-radius: 999px; white-space: nowrap;
  background: var(--ink-3); color: var(--on-ink); text-decoration: none;
  font-family: var(--font-display); font-size: 1.1rem; line-height: 1.15;
  transition: background-color 200ms ease, color 200ms ease, transform 250ms var(--ease-out), opacity 300ms ease;
}
.bloom-chip a::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.bloom-chip a:hover, .bloom-chip a:focus-visible, .bloom-chip.is-active a { background: var(--c); color: var(--ink-deep); transform: scale(1.06); }
.bloom-chip a:hover::before, .bloom-chip a:focus-visible::before, .bloom-chip.is-active a::before { background: var(--ink-deep); }
.bloom.has-active .bloom-chip:not(.is-active) a { opacity: 0.5; }
/* Without script there are no petals: the labels wrap beneath the heart. */
html:not(.js) .bloom-chips { aspect-ratio: auto; top: 8%; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
html:not(.js) .bloom-chip { position: static; transform: none; }
/* On a phone the flower is too small to ring with labels: they wrap in a
   row beneath it, and still light up with their petal. */
@media (max-width: 600px) {
  .bloom-chips, html:not(.js) .bloom-chips { position: static; aspect-ratio: auto; margin-top: var(--sp-3); display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
  .bloom-chip { position: static; transform: none; }
  .bloom-chip a { font-size: 0.95rem; padding: 0.45rem 0.85rem 0.4rem 0.7rem; gap: 0.4rem; }
  .bloom-chip a::before { width: 8px; height: 8px; }
}

@media (max-width: 900px) {
  .hero { display: block; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
  .bloom { width: min(100%, 540px); }
}
}
@media (max-width: 520px) {
  .hero .ridges { opacity: 0.45; }
}

/* --------------------------------------------------------------------------
   About us: who we are, beside the group's numbers, then why owners choose us
   -------------------------------------------------------------------------- */

.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-5); align-items: start; }
.about-copy .statement { margin-top: var(--sp-3); font-family: var(--font-display); font-size: var(--fs-statement); line-height: 1.3; color: var(--ink); max-width: 30ch; }
.about-copy p:not(.statement) { margin-top: var(--sp-3); max-width: 36rem; }

.metrics { margin: var(--sp-1) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-4); }
.metric { display: flex; flex-direction: column; }
.metric dt { order: 2; margin-top: var(--sp-1); font-weight: 600; color: var(--text); }
.metric dd { margin: 0; }
.metric-val {
  order: 1; font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1;
  color: var(--ink); font-variant-numeric: lining-nums tabular-nums; display: flex; align-items: baseline; gap: 0.15em;
}
.metric-unit { font-size: 0.45em; color: var(--muted); }
.metric-def { order: 3; margin-top: 0.3rem; font-size: var(--fs-small); color: var(--muted); }
/* Vision beside mission, then the five values in a row. */
.purpose {
  margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--mist-2);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--sp-5); align-items: start;
}
.purpose h3, .values-title { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.vision p {
  margin-top: var(--sp-3); padding-left: var(--sp-3); border-left: 3px solid var(--leaf);
  font-family: var(--font-display); font-size: var(--fs-statement); line-height: 1.3; color: var(--ink); max-width: 28ch;
}
/* Mission and how-we-invest: short statements as ruled rows, each with a dot. */
.mission-list, .how-list { list-style: none; margin: var(--sp-3) 0 0; padding: 0; border-bottom: 1px solid var(--mist-2); }
.mission-list li, .how-list li { position: relative; padding: 0.85rem 0 0.85rem 1.6rem; border-top: 1px solid var(--mist-2); }
.mission-list li::before, .how-list li::before {
  content: ""; position: absolute; left: 0.2rem; top: 1.45rem; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf);
}
.values-title { margin-top: var(--sp-5); }
.values { margin: var(--sp-3) 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-3); }
.values div { padding-top: var(--sp-2); border-top: 2px solid var(--leaf); }
.values dt { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.15; color: var(--ink); }
.values dd { margin: var(--sp-1) 0 0; color: var(--muted); }
@media (max-width: 900px) { .purpose { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); } }
@media (max-width: 1000px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .values { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); } }

/* Why owners choose us: the four reasons in a row beneath. */
.why-title { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--mist-2); font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.1; }
.reasons { list-style: none; margin: var(--sp-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-4); }
.reason h4 { font-size: var(--fs-h3); line-height: 1.15; }
.reason p { margin-top: var(--sp-2); }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
}
@media (max-width: 1000px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .reasons { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); } }
@media (max-width: 420px) {
  .metrics { gap: var(--sp-4) var(--sp-3); }
}

/* --------------------------------------------------------------------------
   Investment sectors: the sectors we hold first and large, each with its
   company; then the sectors still open to owners, smaller and quieter
   -------------------------------------------------------------------------- */

.tier-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-1) var(--sp-3); margin-bottom: var(--sp-3); }
.tier-head h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.tier-head p { font-weight: 600; color: var(--muted); }
.tier-head--open { margin-top: var(--sp-6); }
.sector-key { display: inline-block; width: 14px; height: 14px; flex: none; border-radius: 50%; background: var(--c); }

/* Held: a picture, the sector, then its company and figures. */
.held-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.held {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--white);
  border-top: 6px solid var(--c); scroll-margin-top: calc(var(--masthead-h) + var(--sp-3));
}
.held-pic { position: relative; margin: 0; overflow: hidden; }
.held-pic img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 900ms var(--ease-out); }
.held:hover .held-pic img { transform: scale(1.04); }
.held-pic figcaption {
  position: absolute; left: var(--sp-2); bottom: var(--sp-2); padding: 0.25rem 0.7rem; border-radius: 999px;
  background: rgba(13, 41, 26, 0.72); color: var(--on-ink); font-size: 0.8rem;
}
.held-body { flex: 1; display: flex; flex-direction: column; padding: var(--sp-4); }
.held h4 { display: flex; align-items: center; gap: 0.7rem; font-size: var(--fs-statement); }
.held h4 .sector-key { width: 16px; height: 16px; }
.held-desc { margin-top: var(--sp-2); color: var(--muted); }
.held-co { margin-top: auto; padding-top: var(--sp-4); }
.held-co-name { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem; padding-top: var(--sp-3); border-top: 1px solid var(--mist-2); }
.held-co-name a { font-family: var(--font-display); font-size: var(--fs-lead); color: var(--ink); text-decoration-color: rgba(13, 41, 26, 0.3); }
.held-co-name a:hover { color: var(--leaf); text-decoration-color: currentColor; }
.held-figs { margin: var(--sp-3) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-2); }
.held-figs div { display: flex; flex-direction: column; }
.held-figs dt { order: 2; margin-top: 0.2rem; font-size: var(--fs-small); color: var(--muted); }
.held-figs dd { order: 1; margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; color: var(--ink); white-space: nowrap; }
.held-figs dd span { margin-left: 0.15em; font-size: 0.5em; color: var(--muted); }

/* Open: smaller tiles, the picture in grey until pointed at. */
.open-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-3); }
.open-tile { padding: var(--sp-2); border-radius: var(--radius); border: 1px dashed #C9D3CC; scroll-margin-top: calc(var(--masthead-h) + var(--sp-3)); transition: background-color 250ms ease, border-color 250ms ease; }
.open-tile:hover { background: var(--white); border-color: transparent; }
.open-pic { margin: 0 0 var(--sp-2); overflow: hidden; border-radius: calc(var(--radius) - 2px); }
.open-pic img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1) contrast(0.9); opacity: 0.75; transition: filter 500ms ease, opacity 500ms ease; }
.open-pic--tall img { object-position: 50% 30%; }
.open-tile:hover .open-pic img { filter: none; opacity: 1; }
.open-tile h4 { display: flex; align-items: center; gap: 0.55rem; font-size: 1.3rem; }
.open-tile h4 .sector-key { width: 11px; height: 11px; }
.open-tile p { margin-top: var(--sp-1); font-size: var(--fs-small); color: var(--muted); }

.open-cta { margin-top: var(--sp-4); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2) var(--sp-3); padding: var(--sp-3) var(--sp-4); border-radius: var(--radius); background: var(--mist-2); }
.open-cta p { font-family: var(--font-display); font-size: var(--fs-lead); color: var(--ink); }

/* A sector reached from the lotus on the landing is lit for a moment. */
@keyframes lit { 0%, 60% { box-shadow: 0 0 0 4px var(--c); } 100% { box-shadow: 0 0 0 4px transparent; } }
.held:target, .open-tile:target { animation: lit 2400ms ease 300ms both; }
.open-tile:target { background: var(--white); border-color: transparent; }
.open-tile:target .open-pic img { filter: none; opacity: 1; }

@media (max-width: 1200px) { .open-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .open-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .held-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .held-body { padding: var(--sp-3); }
  .held-figs dd { font-size: 1.5rem; }
  .open-grid { gap: var(--sp-2); }
  .open-cta { padding: var(--sp-3); }
}

/* --------------------------------------------------------------------------
   Our approach: the five checks, how we invest, responsible investment
   -------------------------------------------------------------------------- */

.approach { background: var(--white); }
.checks { list-style: none; margin: 0; padding: 0; counter-reset: check; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-2); }
.check { counter-increment: check; padding: var(--sp-3); border-radius: var(--radius); background: var(--mist); }
.check::before {
  content: counter(check, decimal-leading-zero); display: block; margin-bottom: var(--sp-2);
  font-family: var(--font-display); font-size: var(--fs-statement); line-height: 1; color: var(--leaf); font-variant-numeric: lining-nums;
}
.check h3 { font-size: 1.3rem; line-height: 1.15; }
.check p { margin-top: var(--sp-1); font-size: var(--fs-small); color: var(--muted); }

.approach-group {
  margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--mist-2);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--sp-3) var(--sp-5); align-items: start;
}
.approach-group-head h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.approach-group-head p { margin-top: var(--sp-2); max-width: 30rem; }
.modes { list-style: none; margin: var(--sp-3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.modes li {
  padding: 0.35rem 0.95rem 0.3rem; border-radius: 999px; background: rgba(13, 113, 52, 0.1);
  color: var(--leaf); font-size: var(--fs-small); font-weight: 600;
}
.approach-group .how-list { margin-top: 0; }

.esg { margin: 0; border-bottom: 1px solid var(--mist-2); }
.esg div { position: relative; padding: var(--sp-3) 0 var(--sp-3) 4.5rem; border-top: 1px solid var(--mist-2); }
.esg dt { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.15; color: var(--ink); }
.esg-letter {
  position: absolute; left: 0; top: var(--sp-3); width: 3rem; height: 3rem; border-radius: 50%; background: var(--ink); color: var(--gold);
  display: grid; place-items: center; font-size: 1.4rem; line-height: 1; padding-top: 0.15em;
}
.esg dd { margin: 0.3rem 0 0; color: var(--muted); }
@media (max-width: 1100px) { .checks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .approach-group { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) {
  .checks { grid-template-columns: minmax(0, 1fr); }
  .check { padding: var(--sp-2) var(--sp-3); }
  .esg div { padding-left: 3.5rem; }
  .esg-letter { width: 2.5rem; height: 2.5rem; font-size: 1.2rem; }
}

/* --------------------------------------------------------------------------
   Portfolio companies
   -------------------------------------------------------------------------- */

.filter { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--mist-2); }
.filter button {
  min-height: 42px; padding: 0 1.1rem; border: 0; border-radius: 999px; background: transparent; color: var(--text);
  font: 600 0.95rem/1 var(--font-text); cursor: pointer; display: inline-flex; align-items: center; gap: 0.45rem;
  transition: background-color 200ms ease, color 200ms ease;
}
.filter button span { font-size: 0.85rem; color: var(--muted); }
.filter button:hover { background: var(--white); }
.filter button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.filter button[aria-pressed="true"] span { color: var(--on-ink-faint); }

.companies { display: grid; gap: var(--sp-4); }
.company { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.company[hidden] { display: none; }
.company.is-entering { animation: company-in 500ms var(--ease-out) both; }
@keyframes company-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.company-art { position: relative; min-height: 340px; background: var(--ink); }
.company-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.company-art-tag {
  position: absolute; left: var(--sp-3); bottom: var(--sp-3); padding: 0.3rem 0.85rem; border-radius: 999px;
  font-size: var(--fs-small); font-weight: 600; background: rgba(13, 41, 26, 0.8);
}
.company--hydro .company-art-tag { color: var(--hydro); }
.company--mfg .company-art-tag { color: var(--marigold); }
.company-body { padding: var(--sp-4); display: flex; flex-direction: column; align-items: flex-start; }
.company h3 { font-size: var(--fs-statement); }
.company-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; font-size: var(--fs-small); color: var(--muted); }
.company-body .company-meta { margin-top: var(--sp-2); }
.company-desc { margin-top: var(--sp-3); max-width: 38rem; }
.highlights { margin: var(--sp-4) 0; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-2); }
.highlights div { display: flex; flex-direction: column; }
.highlights dt { order: 2; margin-top: 0.3rem; font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.highlights dd { order: 1; margin: 0; font-family: var(--font-display); font-size: var(--fs-statement); line-height: 1.05; color: var(--ink); white-space: nowrap; }
.highlights dd span { font-size: 0.55em; color: var(--muted); margin-left: 0.15em; }
.company-open { margin-top: auto; }
@media (max-width: 900px) {
  .company { grid-template-columns: minmax(0, 1fr); }
  .company-art { min-height: 220px; }
}
@media (max-width: 520px) {
  .company-body { padding: var(--sp-3) var(--sp-2); }
  .highlights { gap: var(--sp-1); }
  .filter { width: 100%; overflow-x: auto; }
  .filter button { padding: 0 0.8rem; white-space: nowrap; }
}

/* --------------------------------------------------------------------------
   Our team: the Board of Directors, then the management team
   -------------------------------------------------------------------------- */

.team { background: var(--white); }
.team-group + .team-group { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--mist-2); }
.team-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-1) var(--sp-4); margin-bottom: var(--sp-4); }
.team-group-head h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.team-group-head p { color: var(--muted); max-width: 30rem; }

.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-4); }
/* A 4:5 portrait over the name, role and a short description. */
.person-photo { overflow: hidden; border-radius: var(--radius); background: var(--mist-2); margin-bottom: var(--sp-3); }
.person-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 700ms var(--ease-out); }
.person:hover .person-photo img { transform: scale(1.04); }
.person h4 { font-size: var(--fs-h3); }
.person-title { margin-top: var(--sp-1); display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; font-weight: 600; color: var(--leaf); }
.person-bio { margin-top: var(--sp-2); }
.person .pending { color: var(--muted); font-style: italic; }
@media (max-width: 1000px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .people { gap: var(--sp-4) var(--sp-2); }
  .person h4 { font-size: 1.3rem; }
  .person-bio { font-size: var(--fs-small); }
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); }
.contact h2 { font-size: var(--fs-display); letter-spacing: -0.02em; }
.contact-lede { margin-top: var(--sp-3); max-width: 36rem; font-size: var(--fs-lead); color: var(--on-ink-soft); }
.contact-inner > p:has(.contact-email) { margin-top: var(--sp-4); }
.contact-email {
  font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.2; overflow-wrap: anywhere;
  color: var(--on-ink); text-decoration: underline 2px var(--gold); text-underline-offset: 0.18em;
  transition: color 200ms ease;
}
.contact-email:hover { color: var(--gold); }
@media (max-width: 520px) { .contact-email { font-size: var(--fs-statement); } }
.contact-address { margin-top: var(--sp-3); font-style: normal; color: var(--on-ink-soft); }
.contact-address a { color: inherit; }
.contact-address a:hover { color: var(--gold); }
.tel-link { display: inline-flex; align-items: center; gap: 0.3em; }
.tel-icon { width: 0.75em; height: 0.75em; flex: none; opacity: 0.85; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--ink-deep); color: var(--on-ink-soft); padding-block: var(--sp-5) var(--sp-4); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: var(--sp-4); }
.footer-brand .brand { flex-direction: column; align-items: flex-start; gap: 0.7rem; color: var(--on-ink); margin: 0; }
.footer-brand .brand-mark { width: 56px; height: 41px; }
.footer-brand .brand-wordmark { width: 65px; height: 26px; }
.footer-brand p { margin-top: var(--sp-2); max-width: 22rem; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; }
.footer-col h2 { font-size: var(--fs-lead); color: var(--on-ink); margin-bottom: 0.3rem; letter-spacing: 0; }
.footer-col a { color: var(--on-ink-soft); text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.footer-address { font-style: normal; color: var(--on-ink-soft); }
.fineprint { grid-column: 1 / -1; max-width: 80ch; font-size: var(--fs-small); color: var(--on-ink-faint); }
.fineprint { margin-top: var(--sp-4); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   Company details dialog
   -------------------------------------------------------------------------- */

.detail {
  width: min(960px, calc(100% - 2rem)); max-height: min(90vh, 900px); padding: 0; border: 0; border-radius: var(--radius);
  background: var(--white); color: var(--text); overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.45); /* taste-skill-ignore: dialog floats */
}
.detail::backdrop { background: rgba(7, 28, 17, 0.72); }
.detail[open] { animation: detail-in 380ms var(--ease-out); }
.detail[open]::backdrop { animation: fade-in 300ms ease; }
@keyframes detail-in { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
html:not(.js) .detail { display: block; position: static; margin: var(--sp-4) auto; }

.detail-head { position: sticky; top: 0; z-index: 1; background: var(--ink); color: var(--on-ink); padding: var(--sp-4) var(--sp-4) var(--sp-3); border-top: 4px solid; }
.detail-head--hydro { border-top-color: var(--hydro); }
.detail-head--mfg { border-top-color: var(--marigold); }
.detail-head .company-meta { color: var(--on-ink-soft); padding-right: 6rem; }
.detail-head .role--operated { background: rgba(70, 170, 196, 0.18); color: var(--hydro); }
.detail-head .role--invested { background: rgba(248, 150, 45, 0.18); color: var(--marigold); }
.detail-head h2 { margin-top: var(--sp-2); font-size: var(--fs-h2); }
.detail-close {
  position: absolute; top: var(--sp-3); right: var(--sp-3); min-height: 40px; padding: 0 1rem; border-radius: 999px;
  border: 0; background: var(--on-ink-tint); color: var(--on-ink); font: 600 0.95rem/1 var(--font-text); cursor: pointer;
}
.detail-close:hover { background: rgba(242, 244, 241, 0.22); }
.detail-body { padding: var(--sp-4); }
.detail-lede { font-size: var(--fs-lead); max-width: 46rem; }
.detail-body h3 { font-size: var(--fs-h3); margin: var(--sp-4) 0 var(--sp-2); }
.detail-figs { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-1); }
.detail-figs div { padding: var(--sp-2); background: var(--mist); border-radius: var(--radius); }
.detail-figs dt { font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.detail-figs dd { margin: 0.25rem 0 0; font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.1; color: var(--ink); }
.detail-figs dd.def { font-family: var(--font-text); font-size: var(--fs-small); line-height: 1.4; color: var(--muted); }
.detail-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 var(--sp-4); }

.stations { list-style: none; margin: 0; padding: 0; }
.stations li { position: relative; padding: 0.55rem 0 0.55rem 1.8rem; }
.stations li::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: rgba(27, 108, 129, 0.25); }
.stations .done::before { background: var(--hydro-deep); }
.stations .now { font-weight: 600; color: var(--hydro-deep); }
.stations .now::before { background: var(--hydro); }
.meter { margin-top: var(--sp-3); }
.meter p { display: flex; justify-content: space-between; margin-bottom: 0.4rem; }
.meter p span:last-child { font-family: var(--font-display); font-size: var(--fs-lead); }
.meter-track { display: block; height: 6px; border-radius: 3px; background: var(--mist-2); overflow: hidden; }
.meter-track span { display: block; height: 100%; width: calc(var(--v) * 100%); background: var(--hydro-deep); border-radius: 3px; transform-origin: left; }
.detail[open] .meter-track span { animation: meter-in 1100ms var(--ease-out) 250ms both; }
@keyframes meter-in { from { transform: scaleX(0); } }

.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--sp-2); padding: 0.6rem 0; }
.facts dt { font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; }
.facts dd span { display: block; margin-top: 0.15rem; font-size: var(--fs-small); color: var(--muted); }
.table-scroll { overflow-x: auto; }
.projections { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.projections th, .projections td { padding: 0.65rem 0 0.65rem 0.8rem; border-bottom: 1px solid rgba(13, 41, 26, 0.1); text-align: right; }
.projections th:first-child { padding-left: 0; text-align: left; }
.projections thead th { font-size: var(--fs-small); font-weight: 600; color: var(--muted); white-space: nowrap; }
.projections tbody th { font-weight: 600; }
.projections tbody th span { display: block; font-size: var(--fs-small); font-weight: 400; color: var(--muted); }
.source-note { margin-top: var(--sp-4); font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 800px) {
  .detail-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .detail { width: 100%; max-height: 100%; height: 100%; max-width: 100%; border-radius: 0; margin: 0; }
  .detail-head, .detail-body { padding-inline: var(--sp-2); }
  .detail-close { top: var(--sp-2); right: var(--sp-2); }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
}

/* --------------------------------------------------------------------------
   Notice board: a carousel over the dimmed page. The notice in the centre
   is raised; its neighbours sit dimmed and smaller on either side.
   -------------------------------------------------------------------------- */

.notice-board {
  --card: min(560px, calc(100vw - 5rem));
  width: 100%; max-width: 100%; height: fit-content; max-height: 100%; margin: auto; padding: var(--sp-4) 0;
  border: 0; background: transparent; color: var(--on-ink); overflow-x: hidden; overflow-y: auto;
  --accent: var(--gold);
}
.notice-board::backdrop { background: rgba(7, 28, 17, 0.84); backdrop-filter: blur(4px); }
.notice-board[open] { animation: fade-in 300ms ease; }
.notice-board[open]::backdrop { animation: fade-in 300ms ease; }
html:not(.js) .notice-board { display: none; }

.notice-bar { width: var(--card); margin: 0 auto var(--sp-3); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }
.notice-bar h2 { font-size: var(--fs-statement); color: var(--on-ink); }
.notice-counter { margin-left: 0.5rem; font-family: var(--font-text); font-size: var(--fs-small); color: var(--on-ink-faint); vertical-align: middle; }
.notice-close {
  min-height: 40px; padding: 0 1rem; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--on-ink-tint); color: var(--on-ink); font: 600 0.95rem/1 var(--font-text);
  transition: background-color 200ms ease;
}
.notice-close:hover { background: rgba(242, 244, 241, 0.22); }

/* Every notice shares one grid cell, so the stage is as tall as the tallest
   and all cards match in height. script.js sets --d, the distance from the
   centre: 0 in the middle, -1 and 1 beside it. */
.notice-stage { display: grid; justify-items: center; touch-action: pan-y; user-select: none; }
.notice-slide {
  grid-area: 1 / 1; position: relative; width: var(--card); display: flex;
  transform: translateX(calc(var(--d, 0) * 84%)) scale(var(--s, 1)); opacity: var(--o, 1); z-index: var(--z, 1);
  transition: transform 650ms var(--ease-out), opacity 450ms ease, box-shadow 450ms ease, visibility 0s;
}
.notice-slide.is-current {
  --s: 1; --o: 1; --z: 3;
  box-shadow: 0 34px 70px -24px rgba(0, 0, 0, 0.65), 0 10px 24px -12px rgba(0, 0, 0, 0.4); /* taste-skill-ignore: raised carousel card */
}
/* Side cards are dimmed with a veil, not made see-through, so the page
   behind never shows through them. */
.notice-slide::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: var(--ink-deep); opacity: var(--veil, 0); transition: opacity 450ms ease;
}
.notice-slide.is-side { --s: 0.86; --veil: 0.6; --z: 2; cursor: pointer; }
.notice-slide.is-side:hover { --veil: 0.45; }
.notice-slide.is-far { --s: 0.72; --o: 0; --z: 1; visibility: hidden; pointer-events: none; transition-delay: 0s, 0s, 0s, 650ms; }
.notice-slide, .notice-card { border-radius: 10px; }

.notice-card { flex: 1; display: flex; flex-direction: column; padding: var(--sp-4); background: var(--white); color: var(--text); --accent: var(--leaf); }
.btn-soft { background: var(--mist-2); color: var(--ink); }
.btn-soft:hover { background: #D6DED8; color: var(--ink); }
.notice-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; font-size: var(--fs-small); color: var(--muted); }
.notice-tag {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.25rem 0.75rem 0.2rem; border-radius: 999px;
  background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--t); font-size: 0.85rem; font-weight: 600;
}
.notice-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.notice-card h3 { margin-top: var(--sp-2); font-size: var(--fs-statement); line-height: 1.15; color: var(--ink); }
.notice-card > p:not(.notice-meta) { margin-top: var(--sp-2); }
.notice-facts { margin: var(--sp-3) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-1); }
.notice-facts div { padding: 0.75rem var(--sp-2); background: var(--mist); border-radius: var(--radius); }
.notice-facts dt { font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.notice-facts dd { margin: 0.35rem 0 0; font-family: var(--font-display); font-size: var(--fs-lead); color: var(--ink); }
/* Buttons sit at the foot of every card, whatever its length. */
.notice-actions { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-2); margin-top: auto; padding-top: var(--sp-4); }

.notice-nav { width: var(--card); margin: var(--sp-4) auto 0; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }
.notice-nav[hidden] { display: none; }
.notice-arrow {
  display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--on-ink-tint); color: var(--on-ink); font: 600 1.15rem/1 var(--font-text);
  transition: background-color 200ms ease, opacity 200ms ease, transform 250ms var(--ease-out);
}
.notice-arrow:hover:not(:disabled) { background: rgba(242, 244, 241, 0.22); }
.notice-arrow:active:not(:disabled) { transform: scale(0.94); }
.notice-arrow:disabled { opacity: 0.3; cursor: default; }
.notice-dots { display: flex; align-items: center; gap: 0.25rem; }
.notice-dot { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.notice-dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(242, 244, 241, 0.35);
  transition: width 300ms var(--ease-out), background-color 200ms ease;
}
.notice-dot:hover::before { background: var(--on-ink-soft); }
.notice-dot[aria-current="true"]::before { width: 24px; background: var(--gold); }

@media (max-width: 600px) {
  .notice-board { --card: calc(100vw - 3.5rem); padding: var(--sp-3) 0; }
  .notice-slide { transform: translateX(calc(var(--d, 0) * 96%)) scale(var(--s, 1)); }
  .notice-slide.is-side { --s: 0.9; }
  .notice-card { padding: var(--sp-3) var(--sp-2); }
  .notice-facts { grid-template-columns: minmax(0, 1fr); }
  .notice-facts div { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); }
  .notice-facts dd { margin: 0; }
}

/* --------------------------------------------------------------------------
   Inquiry and pitch forms
   -------------------------------------------------------------------------- */

.form-detail { width: min(760px, calc(100% - 2rem)); }
.detail-head--form { border-top-color: var(--gold); }

.mail-form { margin-top: var(--sp-4); display: grid; gap: var(--sp-3); }
.mail-form[hidden] { display: none; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-weight: 600; color: var(--text); padding: 0; }
.field legend { margin-bottom: 0.4rem; }
.field-opt { margin-left: 0.3rem; font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem; border: 1px solid #C9D3CC; border-radius: var(--radius);
  background: var(--white); color: var(--text); font: inherit; font-size: 1rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field ::placeholder { color: var(--quiet); opacity: 1; }
/* Keep a field that is focused after a failed send clear of the sticky header. */
.mail-form :is(input, select, textarea) { scroll-margin-top: 13rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--quiet); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(13, 113, 52, 0.18); }
.mail-form.was-tried :is(input, select, textarea):invalid { border-color: #B4372F; }

.choices { display: flex; flex-wrap: wrap; gap: var(--sp-1); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 42px; padding: 0 1rem; border-radius: 999px;
  background: var(--mist); color: var(--text); font-weight: 500;
  transition: background-color 200ms ease, color 200ms ease;
}
.choice[style] span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.choice:hover span { background: var(--mist-2); }
.choice input:checked + span { background: var(--ink); color: var(--on-ink); }
.choice input:focus-visible + span { outline: 2px solid var(--leaf); outline-offset: 2px; }

.consent { display: flex; align-items: flex-start; gap: 0.7rem; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 0.15rem 0 0; accent-color: var(--leaf); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); }
.form-note { flex: 1 1 16rem; font-size: var(--fs-small); color: var(--muted); }

.form-done { margin-top: var(--sp-4); padding: var(--sp-4); background: var(--mist); border-radius: var(--radius); }
.form-done:focus { outline: none; }
.detail-body .form-done h3 { margin: 0; }
.form-done p { margin-top: var(--sp-2); max-width: 40rem; }
.form-done .btn { margin-top: var(--sp-3); }

@media (max-width: 640px) {
  .field-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) { .form-detail { width: 100%; } }

/* --------------------------------------------------------------------------
   Motion. Every pending state is set by script.js, so without it the page
   shows in its final state.
   -------------------------------------------------------------------------- */

/* Landing: the headline rises line by line, then the group is drawn. */
@keyframes rise { from { opacity: 0; transform: translateY(0.45em); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.js .hero h1 .hl { animation: rise 900ms var(--ease-out) both; }
.js .hero h1 .hl:nth-child(2) { animation-delay: 120ms; }
.js .hero-lede { animation: fade-up 800ms var(--ease-out) 380ms both; }
.js .hero-actions { animation: fade-up 800ms var(--ease-out) 500ms both; }
/* The petals open from the heart one by one, then sway; the labels follow. */
.js .petal { transform: rotate(var(--a)) scale(0.15); opacity: 0; transition-delay: calc(var(--i) * 110ms); }
.js .is-live .petal { transform: rotate(var(--a)) scale(1); opacity: 1; }
.js .is-live .petal.is-active { transform: rotate(var(--a)) scale(1.07); transition-delay: 0s; }
@keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
.js .is-live .petal-shape { animation: sway var(--sway, 6s) ease-in-out calc(var(--i) * -1.3s) infinite alternate; }
.js .bloom-heart, .js .bloom-mark, .js .bloom-wordmark { animation: fade-in 900ms ease 150ms both; }
.js .bloom-chip { opacity: 0; transition: opacity 600ms ease; transition-delay: calc(500ms + var(--i, 0) * 80ms); }
.js .is-live .bloom-chip { opacity: 1; }

/* Sections: the parts of each block arrive in turn, once, as it is reached. */
.js [data-stagger] > * { transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-stagger].is-pending > * { opacity: 0; transform: translateY(24px); }
.js .reveal { transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.js .reveal.is-pending { opacity: 0; transform: translateY(24px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .is-live .petal-shape { animation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}
