/* =========================================================================
   SYLC — Senergy Young Leaders Club
   Layout concept: "the open ring". The Senergy mark is a ring left open on
   one side; sections open with that arc as their marker, the hero assembles
   the ring over a living teal cloud, and content sits in a left-aligned
   editorial grid. Dark-first, single look (the cloud owns the hero).
   Palette sampled from the Senergy logo: deep teal #004755 -> teal #00A99D.
   ========================================================================= */

@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url(../assets/fonts/jost-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url(../assets/fonts/jost-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-style: normal; font-display: swap; src: url(../assets/fonts/jost-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url(../assets/fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap; src: url(../assets/fonts/source-sans-3-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url(../assets/fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url(../assets/fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  /* colour — from the Senergy mark */
  --ink: #06110f;          /* page ground, green-black */
  --ink-2: #091916;        /* deep sections */
  --panel: #0d211d;        /* raised surfaces */
  --panel-2: #112925;
  --line: rgba(143, 216, 197, .16);
  --line-strong: rgba(143, 216, 197, .32);
  --ivory: #eef4f1;        /* text */
  --muted: #9cb4ae;        /* secondary text */
  --teal: #00a99d;         /* Senergy teal: buttons, markers */
  --teal-l: #3fd3c4;       /* hover, links */
  --mint: #8fd8c5;         /* eyebrows, numerals */
  --deep: #004755;         /* Senergy deep teal */
  --on-teal: #031311;
  /* type */
  --f-display: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --f-body: "Source Sans 3", "Myriad Pro", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  /* scale */
  --step--1: .875rem; --step-0: 1.0625rem; --step-1: 1.25rem; --step-2: 1.5rem;
  --step-3: clamp(1.6rem, 3.2vw, 2.25rem); --step-4: clamp(2rem, 4.6vw, 3.1rem);
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
  --radius: 14px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--ivory);
  font-family: var(--f-body); font-size: var(--step-0); line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-l); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s ease, color .2s; }
a:hover { background-size: 100% 1px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: .01em; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: var(--on-teal); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 12px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; background: var(--ink); }
.section.flush { padding-top: 0; }
.section.deep { background: var(--ink-2); }
.section.panelled { background: linear-gradient(180deg, var(--ink-2), var(--ink)); border-top: 1px solid var(--line); }
.stack { display: grid; gap: 18px; }
.prose { max-width: 66ch; display: grid; gap: 16px; color: #d7e3df; }
.prose strong { color: var(--ivory); font-weight: 600; }
.lead { font-size: var(--step-1); color: #dbe7e3; max-width: 62ch; line-height: 1.6; }
.muted { color: var(--muted); }

/* ---- eyebrow: the open-ring marker ---- */
.eyebrow {
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--mint); display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--teal); border-right-color: transparent; transform: rotate(-12deg);
  flex: none;
}
.head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 820px; }

/* ---- header ---- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .no-hero .site-header { background: rgba(6, 17, 15, .86); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ivory); background: none; }
.brand img { height: 46px; width: auto; }
.brand .bar { width: 1px; height: 36px; background: var(--line-strong); }
.brand .name { display: grid; line-height: 1; gap: 6px; }
.brand .name b { font-family: var(--f-body); font-weight: 600; letter-spacing: .22em; font-size: 1.15rem; color: var(--ivory); }
.brand .name small { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--mint); }
.menu { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 28px); list-style: none; }
.menu a { color: #cfdcd8; font-family: var(--f-display); font-size: .98rem; letter-spacing: .03em; }
.menu a[aria-current="page"] { color: var(--ivory); background-size: 100% 1px; }
.menu .btn[aria-current="page"] { color: var(--on-teal); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px;
  font-family: var(--f-display); font-weight: 500; font-size: 1rem; letter-spacing: .02em;
  background: var(--teal); color: var(--on-teal); border: 1px solid var(--teal);
  transition: background .25s, color .25s, transform .25s; cursor: pointer;
}
.btn:hover { background: var(--teal-l); border-color: var(--teal-l); background-size: auto; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ivory); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(3px); }
.menu .btn { padding: 9px 18px; color: var(--on-teal); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--ivory); border-radius: 10px; padding: 8px 12px; font: 500 .9rem var(--f-display); cursor: pointer; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; order: 2; }
  .menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px;
          background: rgba(6, 17, 15, .97); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 22px; display: none; }
  .menu.open { display: flex; }
  .menu li { width: 100%; }
  .menu a { display: block; padding: 10px 0; font-size: 1.1rem; }
  .menu .btn { display: inline-flex; margin-top: 8px; }
  .brand .name small { display: none; }
  .brand img { height: 38px; }
}

/* ---- hero with the living cloud ---- */
#cloud { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -2; display: block; background: var(--ink); filter: brightness(.62); }
html:not(.js) #cloud, .no-webgl #cloud { background: var(--ink) url(../assets/img/fluid-fallback.jpg) center / cover no-repeat; }
.hero > .wrap, .page-hero > .wrap { position: relative; z-index: 1; }
.cloud-fade { position: absolute; inset: auto 0 0 0; height: 220px; background: linear-gradient(180deg, rgba(6,17,15,0), var(--ink)); pointer-events: none; }
.hero { position: relative; padding-top: calc(120px + env(safe-area-inset-top, 0px)); padding-bottom: clamp(64px, 9vw, 110px); text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 { display: grid; gap: 10px; }
.hero h1 .kicker { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--mint); font-weight: 500; }
.hero h1 .line { font-size: clamp(2.1rem, 4.8vw, 3.5rem); font-weight: 500; letter-spacing: .005em; }
.hero h1 .line em { font-style: normal; color: var(--mint); }
.hero .strap { font-size: var(--step-1); color: #dbe7e3; max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* the assembled lockup (Senergy original artwork + SYLC) */
.lockup { position: relative; width: min(100%, 360px); margin-inline: auto; text-align: center; text-shadow: none; }
.lockup .mark { position: relative; width: 100%; aspect-ratio: 560 / 538; max-width: 100%; }
.lockup .mark img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lockup .glow { position: absolute; left: 49%; top: 34%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 169, 157, .30), rgba(0, 169, 157, 0) 60%); pointer-events: none; }
.lockup .rule { width: 26%; height: 2px; margin: 26px auto 22px; background: linear-gradient(90deg, transparent, var(--teal), var(--mint), transparent); }
.lockup .sylc { font-family: var(--f-body); font-weight: 600; font-size: clamp(3.2rem, 7vw, 4.6rem); letter-spacing: .2em; line-height: 1; padding-left: .2em;
  background: linear-gradient(180deg, #f6fffd, #c8ece6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lockup .desc { margin-top: 14px; font-family: var(--f-body); font-weight: 600; font-size: .78rem; letter-spacing: .42em; padding-left: .42em; color: var(--mint); text-transform: uppercase; }
.lockup button.replay { position: absolute; inset: 0; background: none; border: 0; cursor: pointer; border-radius: 12px; }

/* assembly animation — runs only with JS and full motion; resting state is the finished logo */
.js .lockup.play .arc-top { animation: spinTop 1.6s cubic-bezier(.16, 1, .3, 1) .15s both; transform-origin: 49.013% 34.177%; }
.js .lockup.play .arc-bot { animation: spinBot 1.6s cubic-bezier(.16, 1, .3, 1) .3s both; transform-origin: 49.013% 34.177%; }
.js .lockup.play .wordmark { animation: rise .8s cubic-bezier(.2, .8, .2, 1) 1.05s both; }
.js .lockup.play .rule { animation: grow .6s ease-out 1.75s both; }
.js .lockup.play .sylc { animation: rise .9s cubic-bezier(.2, .8, .2, 1) 1.95s both; }
.js .lockup.play .desc { animation: track 1s ease-out 2.6s both; }
.js .lockup.play .glow { animation: pulse 2.4s ease-in-out .9s both; }
@keyframes spinTop { from { transform: rotate(-220deg) scale(.86); opacity: 0; } 30% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes spinBot { from { transform: rotate(-140deg) scale(.86); opacity: 0; } 30% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes track { from { letter-spacing: .7em; opacity: 0; } to { letter-spacing: .42em; opacity: 1; } }
@keyframes pulse { 0% { opacity: .4; } 45% { opacity: 1; } 100% { opacity: .75; } }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .lockup { order: -1; width: min(70%, 260px); }
  .lockup .sylc { font-size: 3rem; }
}

/* page hero (inner pages) */
.page-hero { padding-top: calc(150px + env(safe-area-inset-top, 0px)); padding-bottom: clamp(48px, 7vw, 84px); position: relative; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.page-hero .wrap { display: grid; gap: 20px; }
.page-hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); max-width: 18ch; }
.page-hero .lead { max-width: 64ch; }

/* ---- stat band ---- */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 26px 20px; display: grid; gap: 6px; align-content: start; border-left: 1px solid var(--line); min-width: 0; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-family: var(--f-mono); font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--mint); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat .lbl { color: var(--muted); font-size: .95rem; line-height: 1.45; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; } .stat:nth-child(-n+2) { border-top: 0; } }

/* ---- grids ---- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.split.wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .split, .split.wide-left, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---- cards ---- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); display: grid; gap: 12px; align-content: start; min-width: 0; transition: border-color .3s, transform .3s; }
.card:hover { border-color: var(--line-strong); }
.card h3 { font-size: 1.32rem; }
.card p { color: #cbd9d4; }
.card .tag { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mint); }
.card ul, .ticks { list-style: none; display: grid; gap: 8px; }
.ticks li { padding-left: 22px; position: relative; color: #cbd9d4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--teal); border-right-color: transparent; }

/* research fact */
.fact { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); padding-block: 30px; border-top: 1px solid var(--line); }
.fact:last-child { border-bottom: 1px solid var(--line); }
.fact .figure { font-family: var(--f-mono); color: var(--mint); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.fact .figure small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.fact h3 { font-size: 1.35rem; margin-bottom: 8px; }
.fact .body { display: grid; gap: 10px; color: #d2dfdb; }
.fact .practice { border-left: 2px solid var(--teal); padding-left: 14px; color: var(--ivory); }
.fact .practice b { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mint); display: block; margin-bottom: 2px; font-weight: 500; }
.cite { font-size: .85rem; color: var(--muted); }
@media (max-width: 680px) { .fact { grid-template-columns: 1fr; } }

/* photo blocks */
.photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.photo:hover img { transform: scale(1.03); }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; font-size: .84rem; color: #cbd9d4; background: rgba(6,17,15,.88); }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 16 / 10; }

/* project feature */
.project { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--line); }
.project:first-of-type { border-top: 0; }
.project.flip .photo { order: 2; }
.project .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 11px; }
.chip.live { color: var(--on-teal); background: var(--mint); border-color: var(--mint); }
@media (max-width: 860px) { .project { grid-template-columns: 1fr; } .project.flip .photo { order: 0; } }

/* ecosystem strip */
.eco { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.eco > div { padding: 22px 20px; border-left: 1px solid var(--line); display: grid; gap: 6px; align-content: start; min-width: 0; }
.eco > div:first-child { border-left: 0; }
.eco b { font-family: var(--f-display); font-weight: 500; font-size: 1.12rem; }
.eco span { color: var(--muted); font-size: .92rem; line-height: 1.45; }
@media (max-width: 960px) { .eco { grid-template-columns: repeat(2, minmax(0, 1fr)); } .eco > div { border-left: 0; border-top: 1px solid var(--line); } .eco > div:nth-child(-n+2) { border-top: 0; } .eco > div:nth-child(2n) { border-left: 1px solid var(--line); } }

/* ticker */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 16px; }
.ticker .track { display: flex; gap: 48px; width: max-content; animation: tick 48s linear infinite; font-family: var(--f-display); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-size: .95rem; }
.ticker .track span::after { content: "◜"; color: var(--teal); margin-left: 48px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* people */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.person { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.person .mono { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 500; font-size: 1.15rem; letter-spacing: .06em; color: var(--ivory);
  background: radial-gradient(circle at 30% 30%, rgba(63, 211, 196, .22), rgba(0, 71, 85, .5)); position: relative; }
.person .mono::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--teal); border-right-color: transparent; transform: rotate(-12deg); }
.person h3 { font-size: 1.12rem; }
.person .role { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); margin: 4px 0 8px; }
.person p { color: #c3d3ce; font-size: .95rem; line-height: 1.55; }
.person.lead-card { grid-template-columns: 84px minmax(0, 1fr); padding: 26px; }
.person.lead-card .mono { width: 84px; height: 84px; font-size: 1.45rem; }

/* timeline */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.timeline li { list-style: none; padding: 26px 22px 6px 0; border-top: 2px solid var(--line-strong); position: relative; display: grid; gap: 8px; align-content: start; min-width: 0; }
.timeline li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 2px solid var(--teal); }
.timeline li.now { border-top-color: var(--teal); }
.timeline li.now::before { background: var(--mint); border-color: var(--mint); box-shadow: 0 0 0 6px rgba(143, 216, 197, .16); }
.timeline time, .timeline .when { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.timeline b { font-family: var(--f-display); font-weight: 500; font-size: 1.12rem; }
.timeline span { color: var(--muted); font-size: .95rem; line-height: 1.5; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; } .timeline li { border-top: 0; border-left: 2px solid var(--line-strong); padding: 0 0 26px 24px; } .timeline li.now { border-left-color: var(--teal); } .timeline li::before { left: -8px; top: 4px; } }

/* ladder (a real sequence) */
.ladder { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; counter-reset: rung; }
.ladder li { list-style: none; counter-increment: rung; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 14px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.ladder li::before { content: counter(rung, decimal-leading-zero); font-family: var(--f-mono); color: var(--teal); font-size: .8rem; }
.ladder b { font-family: var(--f-display); font-weight: 500; }
.ladder span { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.ladder li.top { background: linear-gradient(160deg, rgba(0,169,157,.22), var(--panel)); border-color: var(--line-strong); }
@media (max-width: 960px) { .ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* PIE donut */
.donut-wrap { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.donut { width: 100%; max-width: 280px; aspect-ratio: 1; }
.donut circle { fill: none; stroke-width: 22; transform: rotate(-90deg); transform-origin: 50% 50%; }
.donut .bg { stroke: var(--panel-2); }
.donut text { font-family: var(--f-mono); fill: var(--ivory); }
.donut .big { font-size: 26px; fill: var(--mint); }
.donut .small { font-size: 9px; letter-spacing: 2px; fill: var(--muted); }
.legend { display: grid; gap: 14px; list-style: none; }
.legend li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.legend .pct { font-family: var(--f-mono); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.legend b { font-family: var(--f-display); font-weight: 500; display: block; }
.legend span { color: var(--muted); font-size: .95rem; }
.js .donut.play .seg { animation: draw 1.6s cubic-bezier(.2, .8, .2, 1) both; }
.js .donut.play .seg:nth-of-type(3) { animation-delay: .25s; }
.js .donut.play .seg:nth-of-type(4) { animation-delay: .5s; }
@keyframes draw { from { stroke-dasharray: 0 999; } }
@media (max-width: 680px) { .donut-wrap { grid-template-columns: 1fr; } .donut { margin-inline: auto; } }

/* 70-20-10 bar */
.bar70 { display: flex; height: 44px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); font-family: var(--f-mono); font-size: .8rem; }
.bar70 > div { display: flex; align-items: center; padding-inline: 12px; white-space: nowrap; overflow: hidden; min-width: 0; }
.bar70 .a { flex: 70; background: var(--teal); color: var(--on-teal); }
.bar70 .b { flex: 20; background: var(--deep); color: var(--ivory); }
.bar70 .c { flex: 10; background: var(--panel-2); color: var(--muted); }
.bar70-key { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; margin-top: 10px; font-size: .9rem; color: var(--muted); }
.bar70-key div { padding-right: 10px; min-width: 0; }
@media (max-width: 640px) { .bar70-key { grid-template-columns: 1fr; gap: 6px; } }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 640px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); font-weight: 500; background: var(--panel); }
td { color: #d0ddd9; }
tr:last-child td { border-bottom: 0; }
td b { color: var(--ivory); font-weight: 600; }

/* quote */
.pull { font-family: var(--f-display); font-size: var(--step-3); line-height: 1.3; max-width: 30ch; color: var(--ivory); }
.pull::before { content: ""; display: block; width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--teal); border-right-color: transparent; margin-bottom: 20px; transform: rotate(-12deg); }

/* band with photo */
.band { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .55; }
.band .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 25%, rgba(6,17,15,.55) 70%, rgba(6,17,15,.3)); }
.band .wrap { position: relative; }

/* cell diagram */
.cell-figure { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.cell-figure svg { width: 100%; height: auto; display: block; }
.cell-figure svg text { font-family: var(--f-mono); font-size: 11px; fill: var(--muted); }
.cell-figure .membrane { fill: rgba(0, 169, 157, .10); stroke: var(--teal-l); stroke-width: 2; }
.cell-figure .nucleus { fill: rgba(143, 216, 197, .25); stroke: var(--mint); stroke-width: 1.2; }
.cell-figure .guide { stroke: var(--line-strong); stroke-dasharray: 4 4; fill: none; }
.js .cell-figure.play .split-l { animation: splitL 4s ease-in-out infinite alternate; }
.js .cell-figure.play .split-r { animation: splitR 4s ease-in-out infinite alternate; }
@keyframes splitL { from { transform: translateX(14px); } to { transform: translateX(-10px); } }
@keyframes splitR { from { transform: translateX(-14px); } to { transform: translateX(10px); } }

/* form */
form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
label, legend { font-family: var(--f-display); font-size: .95rem; color: #d9e5e1; }
input[type="text"], input[type="email"], textarea, select {
  width: 100%; background: var(--panel); border: 1px solid #5f8a80; border-radius: 10px; color: var(--ivory);
  padding: 12px 14px; font: inherit; font-size: 1rem; }
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 16px; margin: 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.checks label { display: flex; gap: 10px; align-items: center; font-family: var(--f-body); color: #cbd9d4; }
.checks input { accent-color: var(--teal); width: 18px; height: 18px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-family: var(--f-body); font-size: .93rem; color: var(--muted); }
.consent input { accent-color: var(--teal); width: 18px; height: 18px; margin-top: 4px; flex: none; }
.form-note { font-size: .92rem; color: var(--muted); }
.form-status { border: 1px solid var(--line-strong); border-radius: 10px; padding: 14px 16px; background: var(--panel); display: grid; gap: 10px; }
.form-status pre { white-space: pre-wrap; font-family: var(--f-mono); font-size: .8rem; color: #cbd9d4; margin: 0; max-height: 220px; overflow: auto; }
.error { color: #ffb4a8; font-size: .9rem; }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }

/* sources */
.sources { display: grid; gap: 10px; list-style: none; counter-reset: src; }
.sources li { counter-increment: src; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.sources li::before { content: "[" counter(src) "]"; font-family: var(--f-mono); color: var(--teal); font-size: .8rem; padding-top: 2px; }
.sources a { word-break: break-word; }

/* downloads */
.downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.downloads a { display: grid; gap: 10px; padding: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; color: var(--ivory); }
.downloads a:hover { border-color: var(--teal); background-size: 0 0; }
.downloads .thumb { aspect-ratio: 4 / 3; border-radius: 8px; display: grid; place-items: center; overflow: hidden; }
.downloads .thumb.light { background: #fff; }
.downloads .thumb.dark { background: var(--ink); border: 1px solid var(--line); }
.downloads .thumb img { max-height: 88%; width: auto; }
.downloads small { color: var(--muted); font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }

/* CTA band */
.cta-band { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line-strong); border-radius: 22px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(0, 169, 157, .22), rgba(0, 71, 85, .18) 40%, var(--panel) 75%); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-2); padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot .foot-h { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mint); font-weight: 500; margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 8px; color: var(--muted); }
.foot a { color: #cbd9d4; }
.foot p { color: var(--muted); font-size: .95rem; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .88rem; }
@media (max-width: 860px) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot > div:first-child { grid-column: 1 / -1; } }

/* subtle reveal: movement only, never hidden at rest */
.js .reveal { transform: translateY(14px); transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.visible { transform: none; }

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

/* ---- utilities & additions ---- */
.mt { margin-top: 28px; }
.narrow { max-width: 640px; }
a.card { color: inherit; }
a.card:hover { border-color: var(--teal); transform: translateY(-2px); }
a.card h3 { color: var(--ivory); }
.band { padding-block: clamp(80px, 11vw, 140px); }
.cta-band h2 { font-size: var(--step-3); }
.stats.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .stats.three { grid-template-columns: 1fr; } .stats.three .stat:nth-child(2) { border-top: 1px solid var(--line); } }
.note { border: 1px dashed var(--line-strong); border-radius: 12px; padding: 14px 16px; color: var(--muted); font-size: .93rem; }
.contact-card { display: grid; gap: 8px; }
.contact-card .addr { font-family: var(--f-mono); font-size: 1rem; color: var(--ivory); user-select: all; word-break: break-all; }
.unis { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.pull.sm { font-size: var(--step-1); max-width: 46ch; }
.h-sm { font-size: var(--step-3); }
.mt-lg { margin-top: clamp(48px, 7vw, 80px); }
.people.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.people.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .people.cols-3, .people.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .people.cols-3, .people.cols-4 { grid-template-columns: 1fr; } }

/* ---- review fixes ---- */
.prose a, .cite a, .muted a, .sources a, .ticks a, .lead a, .form-note a, .note a, .card p a, .legal a { text-decoration: underline; text-underline-offset: 3px; background-image: none; }
.chip, .card .tag, .person .role, .downloads small { font-size: .75rem; }
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }
.pause-motion { margin-top: 6px; padding: 8px 14px; font-size: .9rem; }
@media (max-width: 960px) {
  html:not(.js) .menu-toggle { display: none; }
  html:not(.js) .menu { display: flex; position: static; flex-direction: row; flex-wrap: wrap; background: none; border: 0; padding: 0; gap: 4px 16px; }
  html:not(.js) .nav { flex-wrap: wrap; }
}
@media (max-width: 860px) {
  .hero .lockup { width: min(52%, 200px); }
  .lockup .sylc { font-size: 2.3rem; }
  .lockup .desc { font-size: .62rem; letter-spacing: .3em; padding-left: .3em; }
  .lockup .rule { margin: 14px auto 12px; }
}
.legal { line-height: 1.6; }
.legal span { max-width: 100%; }
.page-text { max-width: 72ch; display: grid; gap: 16px; color: #d7e3df; }
.page-text h2 { font-size: var(--step-2); margin-top: 18px; }
.page-text ul { list-style: none; display: grid; gap: 8px; }
.page-text li { padding-left: 22px; position: relative; }
.page-text li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--teal); border-right-color: transparent; }
