/* Keep the shared palette and components; enhance only the homepage. */
.trident-homepage {
  --home-ease: cubic-bezier(.22, 1, .36, 1);
  --home-midnight: #0b101c;
  --home-indigo: #16182c;
  background: var(--trident-near-black);
}
.home-welcome {
  padding: 32px 8% 26px;
  margin: 0;
  background: linear-gradient(180deg, #080b13, var(--home-midnight));
}
.home-welcome-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1200px;
  margin: auto;
}
.home-logo { width: 112px; height: 112px; object-fit: contain; flex-shrink: 0; }
.home-wordmark { margin: 0 0 6px; color: var(--trident-white); font-size: 1rem; letter-spacing: .22em; font-weight: 700; }
.home-welcome-line { margin: 0; color: var(--trident-blue); font-size: clamp(.9rem, 1.6vw, 1.15rem); }
.trident-homepage .trident-hero {
  min-height: min(800px, calc(100svh - 226px));
  padding: 70px 8% 100px;
  background:
    radial-gradient(ellipse at 78% 38%, rgba(105,105,179,.15), transparent 52%),
    radial-gradient(ellipse at 18% 80%, rgba(83,58,123,.10), transparent 60%),
    linear-gradient(180deg, var(--home-midnight), var(--home-indigo) 58%, var(--trident-near-black));
}
.trident-homepage .trident-hero::before,
.trident-homepage .trident-final::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 78% 45%, rgba(152,193,217,.08), transparent 48%);
  transform-origin: 78% 45%;
}
.trident-homepage .trident-final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 76% 46%, rgba(105,105,179,.18), transparent 53%),
    radial-gradient(ellipse at 18% 60%, rgba(83,58,123,.16), transparent 55%),
    linear-gradient(180deg, #000, var(--home-midnight) 35%, #0c0d18 75%, #000);
}
.trident-homepage .trident-final::before {
  background:
    radial-gradient(ellipse at 80% 58%, transparent 28%, rgba(152,193,217,.035) 28.3%, transparent 28.7%),
    radial-gradient(ellipse at 80% 58%, transparent 36%, rgba(105,105,179,.05) 36.3%, transparent 36.7%),
    radial-gradient(ellipse at 74% 55%, rgba(152,193,217,.07), transparent 52%);
}
.trident-homepage .trident-hero-content { width: 62%; max-width: 790px; }
.trident-homepage .trident-hero h1 { font-size: clamp(4rem, 10.5vw, 10rem); }
.trident-homepage .trident-acronym { max-width: 650px; line-height: 1.7; }
.trident-homepage .trident-tagline { max-width: 530px; }
.home-vesicle { position: absolute; right: 7%; top: 18%; width: min(29vw, 420px); aspect-ratio: 1; }
.trident-homepage .trident-orb {
  inset: 0; width: 100%; transform: none;
  background: radial-gradient(circle at 32% 26%, rgba(152,193,217,.85), rgba(105,105,179,.6) 35%, rgba(83,58,123,.85) 65%, var(--trident-dark-purple));
  border: 1px solid rgba(152,193,217,.4);
  box-shadow: inset -18px -24px 50px rgba(37,23,26,.45), inset 5px 7px 24px rgba(152,193,217,.2), 0 0 65px rgba(105,105,179,.25);
  animation: home-suspension 10s ease-in-out infinite;
}
.trident-homepage .trident-orb::before { inset: 8px; border: 1px solid rgba(152,193,217,.35); }
.trident-homepage .trident-orb::after { inset: -28px; animation: home-breathe 8s ease-in-out infinite; }
.home-membrane { position: absolute; inset: 15px; border-radius: 50%; border: 1px dashed rgba(152,193,217,.28); animation: home-rotate 100s linear infinite; }
.trident-homepage .trident-orb-inner { left: 27%; top: 31%; width: 44%; height: 40%; background: rgba(37,23,26,.12); transform: rotate(-22deg); border-radius: 46% 54% 58% 42%; animation: home-cargo 12s ease-in-out infinite; }
.trident-orb-inner span { position: absolute; left: 24%; top: 28%; width: 53%; height: 10%; border-radius: 999px; background: var(--trident-blue); opacity: .65; transform: rotate(-20deg); }
.trident-orb-inner span:nth-child(2) { top: 46%; transform: rotate(20deg); }
.trident-orb-inner span:nth-child(3) { top: 64%; transform: rotate(-20deg); }
.home-ligands { position: absolute; inset: -13px; animation: home-rotate 120s linear infinite; }
.home-ligands i { position: absolute; left: calc(50% - 2px); top: 0; width: 4px; height: 17px; border-radius: 3px; background: var(--trident-blue); transform-origin: 2px calc(min(29vw, 420px) / 2 + 13px); }
.home-ligands i::after { content: ''; position: absolute; left: -4px; top: -3px; width: 12px; height: 6px; border-radius: 8px; background: var(--trident-blue); }
.home-ligands i:nth-child(2) { transform: rotate(45deg); }.home-ligands i:nth-child(3) { transform: rotate(90deg); }.home-ligands i:nth-child(4) { transform: rotate(135deg); }.home-ligands i:nth-child(5) { transform: rotate(180deg); }.home-ligands i:nth-child(6) { transform: rotate(225deg); }.home-ligands i:nth-child(7) { transform: rotate(270deg); }.home-ligands i:nth-child(8) { transform: rotate(315deg); }
.home-diffusion { position: absolute; inset: -18%; }
.home-diffusion i { position: absolute; left: 10%; top: 25%; width: 5px; height: 5px; border-radius: 50%; background: var(--trident-blue); opacity: .35; animation: home-diffuse 11s ease-in-out infinite alternate; }
.home-diffusion i:nth-child(2) { left: 80%; top: 12%; animation-delay: -3s; }.home-diffusion i:nth-child(3) { left: 95%; top: 65%; animation-delay: -6s; }.home-diffusion i:nth-child(4) { left: 25%; top: 90%; animation-delay: -8s; }.home-diffusion i:nth-child(5) { left: 65%; top: 95%; animation-delay: -4s; }.home-diffusion i:nth-child(6) { left: 0; top: 60%; animation-delay: -1s; }
.trident-homepage .trident-section { background: var(--trident-near-black); }
.trident-homepage .trident-framework { background: linear-gradient(var(--trident-dark-purple), #000); }
.trident-homepage .trident-science h2, .trident-homepage .trident-framework h2 { font-size: clamp(2.2rem, 4.5vw, 4.5rem); line-height: 1.1; max-width: 850px; }
.trident-homepage .trident-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.trident-homepage .trident-card { min-width: 0; padding: 28px 24px; }
.trident-homepage .trident-card h3 { font-size: 1.7rem; }
.trident-homepage .trident-framework-grid > div { transition: background .3s ease, border-color .3s ease; }
.home-video { display: block; width: 100%; max-width: 720px; aspect-ratio: 3 / 2; height: auto; margin: 24px auto 0; border: 1px solid rgba(152,193,217,.2); border-radius: 16px; background: #000; }
.trident-homepage #overview { scroll-margin-top: 80px; }
.trident-homepage .trident-button { transition: transform .3s var(--home-ease), box-shadow .3s ease, background .3s ease, border-color .3s ease; }
.trident-homepage a:focus-visible { outline: 2px solid var(--trident-blue); outline-offset: 6px; }
.trident-homepage .trident-button:active { transform: translateY(0) scale(.98); }
.trident-homepage .trident-card { transition: transform .4s var(--home-ease), border-color .3s ease, background .3s ease; }
.trident-homepage .trident-card:focus-within { border-color: var(--trident-blue); }
@media (hover: hover) {
  .trident-homepage .trident-card:hover { transform: translateY(-6px); }
  .trident-homepage .trident-framework-grid > div:hover { background: rgba(105,105,179,.16); border-color: rgba(152,193,217,.35); }
}
.home-motion .home-reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease var(--reveal-delay), transform .9s var(--home-ease) var(--reveal-delay); }
.home-motion .home-reveal.is-visible,
.home-motion .home-reveal:focus-within { opacity: 1; transform: none; }
.home-motion .trident-card.is-visible { transition: opacity .75s ease var(--reveal-delay), transform .75s var(--home-ease) var(--reveal-delay), border-color .3s ease, background .3s ease; }
@media (hover: hover) {
  .home-motion .trident-card.is-visible:hover,
  .home-motion .trident-card.is-visible:focus-within {
    transform: translateY(-6px);
    transition-delay: 0s;
  }
  .trident-homepage .trident-button.secondary:hover { border-color: var(--trident-blue); box-shadow: 0 6px 22px rgba(105,105,179,.12); }
}
@keyframes home-illumination { 0%,100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06) translate(-1%, 1%); } }
@keyframes home-scene-enter { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes home-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes home-suspension { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
@keyframes home-breathe { 0%,100% { transform: scale(.98); opacity: .35; } 50% { transform: scale(1.04); opacity: .65; } }
@keyframes home-cargo { 0%,100% { transform: rotate(-22deg) translateY(0); } 50% { transform: rotate(-12deg) translateY(7px); } }
@keyframes home-rotate { to { transform: rotate(360deg); } }
@keyframes home-diffuse { to { transform: translate(12px, -20px); opacity: .65; } }
@media (prefers-reduced-motion: no-preference) {
  .trident-homepage .trident-hero::before,
  .trident-homepage .trident-final::before { animation: home-illumination 16s ease-in-out infinite; }
  .home-vesicle { animation: home-scene-enter 1.4s var(--home-ease) .3s both; }
  .home-logo, .home-welcome-inner > div { animation: home-enter .9s var(--home-ease) both; }
  .home-welcome-inner > div { animation-delay: .1s; }
  .trident-homepage .trident-hero-content > * { animation: home-enter 1s var(--home-ease) both; animation-delay: .15s; }
  .trident-homepage .trident-hero-content > h1 { animation-delay: .23s; }
  .trident-homepage .trident-acronym { animation-delay: .31s; }
  .trident-homepage .trident-tagline { animation-delay: .39s; }
  .trident-homepage .trident-buttons { animation-delay: .47s; }
  .home-motion .home-vesicle:not(.is-in-view) *, .home-motion .home-vesicle:not(.is-in-view) *::after { animation-play-state: paused; }
  .home-motion .home-light-field:not(.is-in-view)::before { animation-play-state: paused; }
}
@media (max-width: 1100px) {
  .trident-homepage .trident-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .trident-homepage .trident-hero { min-height: auto; padding: 54px 7% 70px; }
  .trident-homepage .trident-hero-content { width: 100%; }
  .trident-homepage .trident-hero h1 { font-size: clamp(3.5rem, 13vw, 7rem); }
  .home-vesicle { position: relative; right: auto; top: auto; width: min(58vw, 320px); margin: 75px auto 25px; }
  .trident-homepage .trident-orb { position: absolute; margin: 0; }
  .home-ligands i { transform-origin: 2px calc(min(58vw, 320px) / 2 + 13px); }
  .trident-homepage .trident-section, .trident-homepage .trident-science, .trident-homepage .trident-framework { padding: 72px 7%; }
}
@media (max-width: 540px) {
  .home-welcome { padding: 24px 7%; }
  .home-welcome-inner { gap: 16px; }
  .home-logo { width: 72px; height: 72px; }
  .home-welcome-line { line-height: 1.6; }
  .trident-homepage .trident-cards { grid-template-columns: 1fr; }
  .trident-homepage .trident-card { min-height: 210px; }
  .trident-homepage .trident-card h3 { margin-top: 28px; }
  .trident-homepage .trident-framework-grid > div { padding: 28px; }
  .trident-homepage .trident-buttons { gap: 12px; }
  .trident-homepage .trident-button { padding: 13px 20px; }
}
/* ---------- EV scroll hero (driven by js/ev-hero.js) ---------- */
/* The section is taller than the screen; that extra height is the scroll runway for the effect. */
.ev-scroll { height: 210vh; position: relative; background: var(--home-midnight); }
.ev-stage {
  --p: 0;
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 8%;
  background:
    radial-gradient(ellipse at 18% 80%, rgba(83,58,123,.12), transparent 60%),
    linear-gradient(180deg, var(--home-midnight), var(--home-indigo) 58%, var(--home-midnight));
}
/* Confocal image (BxPC-3 cells with EVs) under the halo, dimmed; it zooms and fades out as the halo floods the screen. */
.ev-bg {
  position: absolute;
  inset: -4%;
  background: url("https://static.igem.wiki/teams/6315/wiki/images/con-40-bxpc-evs.avif") center / cover no-repeat;
  opacity: calc(.55 * (1 - var(--p)));
  transform: scale(calc(1 + var(--p) * .12));
  pointer-events: none;
}
/* Darkens the image behind the text so it stays readable; lighter on the EV side. */
.ev-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,16,28,.95) 0%, rgba(11,16,28,.82) 38%, rgba(11,16,28,.35) 62%, rgba(11,16,28,.55) 100%);
  pointer-events: none;
}
/* Halo is drawn in code so it can grow independently of the EV image; screen blend makes it glow over the cells. */
.ev-halo {
  position: absolute;
  /* Starts on the EV, drifts to the screen centre as it floods out */
  top: calc(var(--ev-y, 50%) + (50% - var(--ev-y, 50%)) * var(--e, 0));
  left: calc(var(--ev-x, 72%) + (50% - var(--ev-x, 72%)) * var(--e, 0));
  width: 115vmin;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(105,105,179,.7) 0%, rgba(83,58,123,.5) 26%, rgba(152,193,217,.12) 50%, transparent 70%);
  transform: translate(-50%, -50%) scale(calc(1 + var(--e, 0) * 3.5));
  mix-blend-mode: screen;
  opacity: calc(.9 + var(--p) * .1);
  pointer-events: none;
  will-change: transform;
}
/* Solid colour that fades in at the end so the hero hands off to the next section. */
.ev-wash { position: absolute; inset: 0; background: #1f1d3a; opacity: calc(var(--e, 0) * var(--e, 0)); pointer-events: none; }
/* --ev-x / --ev-y / --ev-w are set by js/ev-hero.js to fit the free space next to (or above) the text;
   the fallbacks are used until the script runs. */
.ev-object {
  position: absolute;
  left: var(--ev-x, 72%);
  top: var(--ev-y, 50%);
  width: var(--ev-w, min(70vw, 1150px));
  transform: translate(-50%, -50%) scale(calc(1 - var(--p) * .45)) rotate(calc(var(--p) * 25deg));
  opacity: calc(1 - var(--p) * 1.5);
  pointer-events: none;
  will-change: transform, opacity;
}
.ev-object img { display: block; width: 100%; height: auto; animation: home-suspension 7s ease-in-out infinite; }
/* Text column stops at half the screen so it never runs under the EV (which starts at ~60%). */
.ev-text { position: relative; z-index: 2; max-width: min(620px, 50vw); transform: translateY(calc(var(--p) * -90px)); opacity: calc(1 - var(--p) * 1.8); }
.ev-logo { display: block; width: 190px; max-width: 60%; margin-bottom: 26px; }
.ev-text h1 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 8.5rem);
  line-height: .88;
  font-weight: 800;
  letter-spacing: -.06em;
  background: linear-gradient(90deg, var(--trident-white), var(--trident-blue), var(--trident-periwinkle));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ev-text .trident-acronym { color: var(--trident-blue); }
.ev-text .trident-tagline { color: rgba(247,247,247,.85); }
.ev-hint {
  position: absolute; left: 50%; bottom: 28px; z-index: 2;
  transform: translateX(-50%);
  color: rgba(152,193,217,.7); font-size: .75rem; letter-spacing: .25em; text-transform: uppercase;
  opacity: calc(1 - var(--p) * 4);
}
/* The next section starts in the wash colour, so the hand-off is seamless. */
.ev-scroll + .container .trident-section { background: linear-gradient(180deg, #1f1d3a, var(--trident-near-black) 45%); }
@media (prefers-reduced-motion: no-preference) {
  .ev-in { animation: home-enter 1s var(--home-ease) both; }
  .ev-in:nth-child(2) { animation-delay: .15s; }
  .ev-in:nth-child(3) { animation-delay: .3s; }
  .ev-in:nth-child(4) { animation-delay: .45s; }
  .ev-in:nth-child(5) { animation-delay: .6s; }
  .ev-in:nth-child(6) { animation-delay: .75s; }
}
/* Short landscape screens (laptops, landscape phones): tighten the text so it fits the screen height. */
@media (orientation: landscape) and (max-height: 720px) {
  .ev-logo { width: 120px; margin-bottom: 12px; }
  .ev-text .trident-eyebrow { margin-bottom: 10px; }
  .ev-text h1 { font-size: min(10vw, 8.5rem, 16vh); }
  .ev-text .trident-acronym { margin-top: 14px; font-size: clamp(.85rem, 1.6vw, 1.15rem); }
  .ev-text .trident-tagline { margin-top: 8px; font-size: 1rem; line-height: 1.5; }
  .ev-text .trident-buttons { margin-top: 16px; }
}
/* Very short screens (phones held sideways): drop the logo, tagline and scroll hint so the buttons still fit. */
@media (orientation: landscape) and (max-height: 480px) {
  .ev-logo, .ev-text .trident-tagline, .ev-hint { display: none; }
  .ev-text h1 { font-size: min(10vw, 18vh); }
}
/* Portrait screens (phones, tablets, vertical monitors): EV on top, text underneath. */
@media (orientation: portrait) {
  .ev-scroll { height: 200vh; }
  .ev-stage { flex-direction: column; justify-content: flex-end; padding: 0 6% 12vh; }
  .ev-object { left: var(--ev-x, 50%); top: var(--ev-y, 24%); width: var(--ev-w, min(105vw, 55vh)); }
  .ev-halo {
    top: calc(var(--ev-y, 24%) + (50% - var(--ev-y, 24%)) * var(--e, 0));
    left: calc(var(--ev-x, 50%) + (50% - var(--ev-x, 50%)) * var(--e, 0));
  }
  .ev-text { max-width: min(760px, 100%); }
  .ev-shade { background: linear-gradient(180deg, rgba(11,16,28,.45) 0%, rgba(11,16,28,.3) 30%, rgba(11,16,28,.85) 55%, rgba(11,16,28,.95) 100%); }
  .ev-logo { width: 140px; margin-bottom: 18px; }
}

/* =========================================================
   PROBLEM STORY  (driven by js/story.js)
   --q overall progress, --z zoom, --inside cell internals,
   --fade drawing out, --conf confocal in
   ========================================================= */

.cell-scroll {
  height: 460vh;
  position: relative;
  background: #04060c;
}

.cell-stage {
  --q: 0; --z: 0; --fade: 0; --conf: 0;

  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* the drawing: a field of cells that zooms into one of them */
.cell-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: calc(1 - var(--fade));
  pointer-events: none;
}

/* The zoom is done by narrowing the SVG's viewBox in js/story.js, not by scaling the
   element. A CSS transform would rasterise the drawing once and then magnify the
   pixels; moving the viewBox re-renders it as vectors, so it stays sharp at any depth. */
.cell-art svg {
  width: 100%;
  height: 100%;
}

.c-healthy { fill: none; stroke: #5fd3a0; stroke-width: 1.6; }
.c-healthy-n { fill: rgba(95, 211, 160, .28); }

.c-cancer { fill: rgba(105, 105, 179, .14); stroke: #8c8cd4; stroke-width: 1.6; }
.c-cancer-n { fill: rgba(140, 140, 212, .45); }

.c-endo { fill: none; stroke: rgba(247, 247, 247, .5); stroke-width: 1.1; stroke-dasharray: 3 3; }
.c-cargo { fill: #d85a30; }

/* internals only matter once we are inside the cell */
.cell-inside { opacity: var(--inside, 0); }

.cell-caption {
  position: absolute;
  left: 50%;
  bottom: 11vh;
  transform: translateX(-50%);
  z-index: 3;

  width: min(760px, 86vw);
  margin: 0;

  text-align: center;
  color: var(--trident-white);
  font-size: clamp(1.5rem, 3.4vw, 2.9rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;

  text-shadow: 0 2px 30px rgba(4, 6, 12, .95);
  opacity: 0;
}

.cell-caption em { color: var(--trident-blue); font-style: normal; }

/* the payoff */
.confocal {
  position: absolute;
  inset: 0;
  z-index: 2;

  opacity: var(--conf);
  pointer-events: none;
}

.confocal-img {
  position: absolute;
  inset: 0;
  background: url("https://static.igem.wiki/teams/6315/wiki/images/con-40-bxpc-evs.avif") center / cover no-repeat;
  transform: scale(calc(1.14 - var(--conf) * .14));
  filter: brightness(1.35);
}

/* darkest behind the headline, clearing towards the edges so the cells stay visible */
.confocal-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 48% at 50% 50%,
      rgba(4, 6, 12, .88) 0%,
      rgba(4, 6, 12, .66) 45%,
      rgba(4, 6, 12, .22) 100%);
}

.punchline {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;

  width: min(900px, 88vw);
  text-align: center;
  opacity: 0;
}

.punchline h2 {
  margin: 0;
  color: var(--trident-white);
  font-size: clamp(1.7rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-shadow: 0 2px 30px rgba(4, 6, 12, .9);
}

.punchline .punch-sub {
  max-width: 56ch;
  margin: 22px auto 0;
  color: rgba(247, 247, 247, .8);
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  line-height: 1.7;
}

.punchline .punch-cap {
  max-width: 62ch;
  margin: 26px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(152, 193, 217, .2);

  color: rgba(247, 247, 247, .55);
  font-size: .82rem;
  line-height: 1.6;
}

/* =========================================================
   THREE PRONGS
   ========================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .8s var(--home-ease) var(--d, 0s),
    transform .9s var(--home-ease) var(--d, 0s);
}

[data-reveal].is-in { opacity: 1; transform: none; }

.prongs {
  padding: 120px 8% 130px;
  background: linear-gradient(180deg, #04060c, var(--trident-near-black) 40%, var(--home-midnight));
}

.prongs-inner { max-width: 1100px; margin: 0 auto; }

.prongs h2 {
  max-width: 16ch;
  margin: 16px 0 0;
  color: var(--trident-white);
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.prong-mark { width: 128px; margin: 54px 0 10px; }
.prong-mark svg { display: block; width: 100%; height: auto; }

.prong-mark path,
.prong-mark line {
  stroke: rgba(152, 193, 217, .22);
  stroke-width: 6;
  stroke-linecap: round;
  fill: none;
  transition: stroke .6s ease;
}

.prong-mark .lit { stroke: var(--trident-blue); }

.prong-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.prong {
  padding: 34px 30px 36px;
  border: 1px solid rgba(152, 193, 217, .18);
  border-top: 3px solid rgba(152, 193, 217, .35);
  border-radius: 0 0 16px 16px;
  background: linear-gradient(160deg, rgba(105, 105, 179, .13), rgba(37, 23, 26, .55));
}

.prong-num {
  display: block;
  color: var(--trident-blue);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
}

.prong h3 { margin: 26px 0 14px; color: var(--trident-white); font-size: 1.75rem; letter-spacing: .02em; }
.prong p { margin: 0; color: rgba(247, 247, 247, .82); font-size: 1.02rem; line-height: 1.65; }

.prong .prong-status {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(152, 193, 217, .14);
  color: rgba(247, 247, 247, .58);
  font-size: .9rem;
  line-height: 1.6;
}

.prongs-disclaimer {
  max-width: 70ch;
  margin: 52px 0 0;
  color: rgba(247, 247, 247, .55);
  font-size: .95rem;
  line-height: 1.75;
}

.prongs-cta { margin-top: 42px; }

@media (max-width: 900px) {
  .prong-list { grid-template-columns: 1fr; gap: 18px; }
  .prongs { padding: 90px 7% 100px; }
  .cell-scroll { height: 420vh; }
  .cell-caption { bottom: 9vh; width: 88vw; }
}

@media (orientation: landscape) and (max-height: 560px) {
  .cell-caption { bottom: 6vh; font-size: clamp(1.1rem, 3vw, 1.6rem); }
  .punchline .punch-cap { display: none; }
}

/* Less motion: the story itself still runs, because it only moves while the visitor
   scrolls. Just the prong entrance animations are switched off. */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Reduce-motion visitors keep the scroll-driven EV hero and the EV's gentle float;
   the rule below switches off everything else, including the entrance animations. */
@media (prefers-reduced-motion: reduce) {
  html:has(.trident-homepage) { scroll-behavior: auto; }
  .trident-homepage *, .trident-homepage *::before, .trident-homepage *::after { animation: none !important; transition: none !important; }
  .trident-homepage .ev-object img { animation: home-suspension 7s ease-in-out infinite !important; }
  .trident-homepage .home-reveal { opacity: 1; transform: none; }
  .trident-homepage .trident-button:hover, .trident-homepage .trident-card:hover { transform: none; }
}
