/* LBC Revival — green resistance system */
:root{
  --green-deep:#061a14;
  --green-void:#04120e;
  --green-base:#0b3d2e;
  --green-mid:#0f4f3b;
  --green-live:#1f8f5f;
  --green-bright:#3ddb84;
  --green-mist:rgba(61,219,132,.12);
  --green-line:rgba(61,219,132,.22);
  --text:#f3faf6;
  --muted:rgba(243,250,246,.58);
  --muted-2:rgba(243,250,246,.38);
  --white:#ffffff;
  --danger-soft:#e8c27a;
  --max:44rem;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(48rem 32rem at 50% -10%, rgba(31,143,95,.28), transparent 60%),
    radial-gradient(30rem 24rem at 90% 90%, rgba(11,61,46,.55), transparent 55%),
    linear-gradient(180deg, var(--green-void) 0%, var(--green-deep) 45%, #051611 100%);
  min-height:100vh;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
/* Readable text links (not buttons / brand / card mains) */
.page a:not(.btn):not(.brand):not(.project-card-main),
.site-footer a,
.footer-slim a,
.disclaimer a,
.project-footnote a,
.project-forge-link,
.project-site-link{
  color:var(--green-bright);
  text-decoration:underline;
  text-underline-offset:.18em;
  text-decoration-thickness:1.5px;
  text-decoration-color:rgba(61,219,132,.65);
}
.page a:not(.btn):not(.brand):not(.project-card-main):hover,
.site-footer a:hover,
.footer-slim a:hover,
.disclaimer a:hover,
.project-footnote a:hover,
.project-forge-link:hover,
.project-site-link:hover{
  color:#9af5c4;
  text-decoration-color:rgba(154,245,196,.95);
}
.back{
  color:var(--green-bright) !important;
  text-decoration:underline !important;
  text-underline-offset:.18em;
  text-decoration-thickness:1.5px;
  text-decoration-color:rgba(61,219,132,.55);
}
.back:hover{
  color:#9af5c4 !important;
  text-decoration-color:rgba(154,245,196,.95);
}
img{display:block;max-width:100%;height:auto}
button{font:inherit}

::selection{background:rgba(61,219,132,.28);color:var(--white)}

/* Staging ribbon — thin, unobtrusive */
.staging-banner{
  position:fixed;top:0;left:0;right:0;z-index:100;
  background:rgba(232,194,122,.95);
  color:#1a1408;
  text-align:center;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:.4rem .75rem;
}
.staging-banner a{text-decoration:underline;text-underline-offset:2px}
body.has-staging{padding-top:1.65rem}

/* Shell */
.shell{
  min-height:calc(100vh - 1.65rem);
  display:flex;
  flex-direction:column;
  position:relative;
}

/* Landing: cinematic atmosphere (still + video) */
.landing-bg{
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  overflow:hidden;
  background:#04120e;
}
.landing-bg-still,
.landing-bg-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}
.landing-bg-still{
  z-index:0;
}
.landing-bg-video{
  z-index:1;
  opacity:0;
  transition:opacity .8s ease;
}
.landing-bg-video.is-ready{
  opacity:1;
}
.landing-bg-veil{
  position:absolute;
  inset:0;
  z-index:2;
  background:
    linear-gradient(180deg, rgba(4,18,14,.55) 0%, rgba(4,18,14,.28) 35%, rgba(4,18,14,.45) 70%, rgba(4,18,14,.72) 100%),
    radial-gradient(ellipse 70% 55% at 50% 42%, transparent 0%, rgba(4,18,14,.35) 100%);
}
/* Reduced motion: keep still only */
@media (prefers-reduced-motion: reduce){
  .landing-bg-video{display:none}
}
body.is-landing{
  background:#04120e;
}

/* Design picker (staging) */
.design-switch{
  display:flex;
  gap:.35rem;
  align-items:center;
}
.design-switch a{
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  padding:.28rem .55rem;
  border-radius:.45rem;
  color:var(--muted-2);
  border:1px solid transparent;
}
.design-switch a:hover{color:var(--text);border-color:var(--green-line)}
.design-switch a.is-active{
  color:#04120e;
  background:var(--green-bright);
  border-color:var(--green-bright);
}

/* ——— Variant A: Free pages (warm manuscript) ——— */
body.design-a .landing-bg-veil{
  background:
    linear-gradient(180deg, rgba(8,18,12,.5) 0%, rgba(8,18,12,.22) 40%, rgba(8,18,12,.5) 75%, rgba(4,14,10,.78) 100%),
    radial-gradient(ellipse 75% 60% at 55% 40%, transparent 0%, rgba(4,14,10,.4) 100%);
}
body.design-a .landing-brand-word span{color:#c8e6a0}
body.design-a .eyebrow{color:#c8e6a0}
body.design-a .choice{
  background:rgba(12,22,16,.58);
  border-color:rgba(200,230,160,.18);
}
body.design-a .choice:hover{
  border-color:rgba(200,230,160,.45);
  background:rgba(20,36,24,.72);
}
body.design-a .choice-num{color:#c8e6a0}
body.design-a .question .q-line.q-accent,
body.design-a .question .q-accent{color:#c8e6a0}

/* ——— Variant B: Media streams (vivid glass) ——— */
body.design-b .landing-bg-veil{
  background:
    linear-gradient(180deg, rgba(2,16,12,.62) 0%, rgba(2,16,12,.18) 38%, rgba(2,16,12,.42) 70%, rgba(2,12,10,.82) 100%),
    radial-gradient(ellipse 80% 50% at 50% 30%, transparent 0%, rgba(2,12,10,.45) 100%);
}
body.design-b .stage{
  width:min(100%, 40rem);
  margin-inline:auto;
  align-items:center;
  text-align:center;
}
body.design-b .landing-brand{align-items:center}
body.design-b .question{
  max-width:16ch;
  margin-inline:auto;
}
body.design-b .choices{
  width:100%;
  max-width:26rem;
}
body.design-b .choice{
  text-align:left;
  background:rgba(4,28,22,.45);
  border-color:rgba(61,219,132,.28);
  box-shadow:0 0 40px rgba(61,219,132,.06);
}
body.design-b .choice:hover{
  background:rgba(8,40,32,.65);
  border-color:rgba(61,219,132,.65);
  box-shadow:0 0 48px rgba(61,219,132,.12);
}
body.design-b .landing-brand-mark{
  border-radius:50%;
  box-shadow:
    0 0 0 1px rgba(61,219,132,.4),
    0 0 60px rgba(61,219,132,.25),
    0 24px 60px rgba(0,0,0,.45);
}

/* ——— Hybrid: B center + C tech eyebrow + content constellation ——— */
body.design-hybrid .landing-bg-veil{
  background:
    linear-gradient(180deg, rgba(2,12,10,.68) 0%, rgba(2,12,10,.28) 38%, rgba(2,12,10,.48) 70%, rgba(2,10,8,.84) 100%),
    radial-gradient(ellipse 85% 55% at 50% 45%, transparent 0%, rgba(2,10,8,.5) 100%);
}
body.design-hybrid .stage{
  width:min(100%, 40rem);
  margin-inline:auto;
  align-items:center;
  text-align:center;
}
body.design-hybrid .landing-brand{align-items:center}
body.design-hybrid .hero-copy{
  max-width:34rem;
  padding:2.6rem 2.4rem 2.3rem;
}
body.design-hybrid .hero-copy::before{
  width:min(155%, 46rem);
  height:min(185%, 30rem);
  filter:blur(36px);
  background:
    radial-gradient(
      ellipse 50% 46% at 50% 48%,
      rgba(0,0,0,.99) 0%,
      rgba(0,0,0,.78) 26%,
      rgba(0,0,0,.39) 50%,
      rgba(0,0,0,.115) 70%,
      rgba(0,0,0,0) 100%
    );
}
body.design-hybrid .hero-copy::after{
  width:min(190%, 56rem);
  height:min(220%, 38rem);
  filter:blur(56px);
}
body.design-hybrid .question{
  max-width:16ch;
  margin-inline:auto;
  color:#fff;
}
body.design-hybrid .question .q-line:not(.q-accent){
  color:#f7fbf8;
}
body.design-hybrid .choices{
  width:100%;
  max-width:26rem;
}
body.design-hybrid .choice{
  text-align:left;
  background:rgba(0,14,12,.72);
  border-color:rgba(61,219,132,.26);
  box-shadow:0 0 40px rgba(61,219,132,.06);
  border-radius:.55rem;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
body.design-hybrid .choice:hover{
  background:rgba(4,28,22,.82);
  border-color:rgba(61,219,132,.6);
  box-shadow:0 0 48px rgba(61,219,132,.12);
}
body.design-hybrid .eyebrow{
  letter-spacing:.22em;
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size:.7rem;
  color:var(--green-bright);
}
body.design-hybrid .landing-brand-mark{
  border-radius:50%;
  box-shadow:
    0 0 0 1px rgba(61,219,132,.4),
    0 0 60px rgba(61,219,132,.22),
    0 24px 60px rgba(0,0,0,.45);
}
body.design-hybrid .landing-brand-word{
  letter-spacing:.08em;
  color:#fff;
}
body.design-hybrid .choice-num{
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size:.78rem;
}

/* ——— Variant C: Network nodes (stark tech) ——— */
body.design-c .landing-bg-veil{
  background:
    linear-gradient(180deg, rgba(2,10,8,.7) 0%, rgba(2,10,8,.35) 40%, rgba(2,10,8,.55) 100%),
    radial-gradient(ellipse 90% 70% at 50% 50%, transparent 10%, rgba(2,8,6,.55) 100%);
}
body.design-c .eyebrow{
  letter-spacing:.22em;
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size:.7rem;
}
body.design-c .question{
  font-weight:650;
  letter-spacing:-.04em;
  max-width:14ch;
}
body.design-c .landing-brand-word{
  letter-spacing:.12em;
  font-size:clamp(1.35rem, 4vw, 2rem);
}
body.design-c .choice{
  border-radius:.45rem;
  padding:.85rem 1rem;
  background:rgba(0,12,10,.72);
  border-color:rgba(61,219,132,.2);
  backdrop-filter:blur(6px);
}
body.design-c .choice:hover{
  border-color:var(--green-bright);
  background:rgba(0,20,16,.85);
  transform:none;
}
body.design-c .choice-num{
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size:.78rem;
}
body.design-c .landing-brand-mark{
  border-radius:.55rem;
  box-shadow:
    0 0 0 1px rgba(61,219,132,.5),
    0 0 40px rgba(61,219,132,.2);
}
body.design-c .choice-hint{color:rgba(243,250,246,.45)}

body.is-landing .shell{
  z-index:1;
  min-height:100vh;
}
body.is-landing.has-staging .shell{
  min-height:calc(100vh - 1.65rem);
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:1.1rem clamp(1.1rem,4vw,2.2rem);
  position:relative;
  z-index:2;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:.7rem;
  min-width:0;
}
.brand-mark{
  width:2.35rem;
  height:2.35rem;
  border-radius:.7rem;
  object-fit:cover;
  box-shadow:0 0 0 1px var(--green-line), 0 10px 30px rgba(0,0,0,.35);
  flex:0 0 auto;
}
.brand-word{
  font-weight:750;
  font-size:.95rem;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.brand-word span{color:var(--green-bright)}
.top-meta{
  color:var(--muted-2);
  font-size:.78rem;
  letter-spacing:.12em;
  text-transform:uppercase;
}

/* Hero copy — soft vignette glow (no card edges) */
.hero-copy{
  position:relative;
  z-index:2;
  width:100%;
  max-width:32rem;
  margin:0 auto 1.75rem;
  padding:2.4rem 2.2rem 2.1rem;
  isolation:isolate;
}
/* Large soft black bloom behind text — fades to transparent, no border/box */
.hero-copy::before{
  content:"";
  position:absolute;
  z-index:-1;
  left:50%;
  top:48%;
  transform:translate(-50%, -50%);
  width:min(140%, 42rem);
  height:min(170%, 28rem);
  border-radius:50%;
  background:
    radial-gradient(
      ellipse 52% 48% at 50% 48%,
      rgba(0,0,0,.94) 0%,
      rgba(0,0,0,.71) 28%,
      rgba(0,0,0,.37) 52%,
      rgba(0,0,0,.115) 72%,
      rgba(0,0,0,0) 100%
    );
  filter:blur(28px);
  pointer-events:none;
}
/* Extra outer haze layer for even softer falloff */
.hero-copy::after{
  content:"";
  position:absolute;
  z-index:-2;
  left:50%;
  top:48%;
  transform:translate(-50%, -50%);
  width:min(170%, 50rem);
  height:min(200%, 34rem);
  border-radius:50%;
  background:
    radial-gradient(
      ellipse 55% 50% at 50% 48%,
      rgba(0,0,0,.52) 0%,
      rgba(0,0,0,.21) 45%,
      rgba(0,0,0,0) 78%
    );
  filter:blur(48px);
  pointer-events:none;
}
.hero-copy .landing-brand{
  margin-bottom:1.15rem;
}
.hero-copy .eyebrow{
  margin-bottom:.85rem;
  text-shadow:
    0 0 20px rgba(0,0,0,.9),
    0 1px 12px rgba(0,0,0,.85);
}
.hero-copy .question{
  margin-bottom:0;
  text-shadow:
    0 0 24px rgba(0,0,0,.95),
    0 2px 8px rgba(0,0,0,.9),
    0 12px 40px rgba(0,0,0,.7);
}
.hero-copy .landing-brand-word{
  text-shadow:
    0 0 24px rgba(0,0,0,.95),
    0 2px 8px rgba(0,0,0,.9),
    0 12px 36px rgba(0,0,0,.65);
}

/* Landing: oversized brand mark in flow */
.landing-brand{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.85rem;
  margin:0 0 1.75rem;
  position:relative;
  z-index:2;
}
.landing-brand-mark{
  width:clamp(4.5rem, 12vw, 6.5rem);
  height:clamp(4.5rem, 12vw, 6.5rem);
  border-radius:1.25rem;
  object-fit:cover;
  box-shadow:
    0 0 0 1px rgba(61,219,132,.28),
    0 24px 60px rgba(0,0,0,.45),
    0 0 80px rgba(61,219,132,.12);
}
.landing-brand-word{
  margin:0;
  font-size:clamp(1.65rem, 5.5vw, 2.75rem);
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase;
  line-height:1;
  color:var(--white);
  text-shadow:0 2px 40px rgba(0,0,0,.55);
}
.landing-brand-word span{
  color:var(--green-bright);
}

/* Landing center stage */
.stage{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:1.25rem clamp(1.1rem,5vw,2.5rem) 2.5rem;
  width:min(100%, 52rem);
  margin-inline:auto;
  position:relative;
  z-index:2;
}

.eyebrow{
  color:var(--green-bright);
  font-size:.75rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  margin:0 0 1.1rem;
}

.question{
  margin:0 0 2.25rem;
  font-family:var(--display);
  font-weight:700;
  font-size:clamp(1.85rem, 5.2vw, 3rem);
  line-height:1.12;
  letter-spacing:-.03em;
  max-width:18ch;
  text-wrap:balance;
  min-height:2.6em; /* reduce jump when questions cycle length differs */
}

.question em,
.question .q-accent{
  font-style:normal;
  color:var(--green-bright);
}

/* Two-line questions */
.question .q-line{
  display:block;
}
.question .q-line + .q-line{
  margin-top:.2em;
  font-weight:650;
  font-size:.88em;
  color:var(--muted);
  letter-spacing:-.02em;
}
.question .q-line + .q-line .q-accent{
  color:var(--green-bright);
  font-weight:750;
}

/* Landing video teaser thumbnail (above choice cards) */
.video-thumb{
  appearance:none;
  border:1px solid rgba(61,219,132,.35);
  background:rgba(0,10,8,.55);
  padding:0;
  margin:0 0 1rem;
  height:100px;
  width:auto;
  aspect-ratio:16 / 9;
  border-radius:.55rem;
  overflow:hidden;
  position:relative;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 28px rgba(0,0,0,.35);
  transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.video-thumb:hover,
.video-thumb:focus-visible{
  border-color:rgba(61,219,132,.75);
  transform:translateY(-1px);
  box-shadow:0 0 0 1px rgba(61,219,132,.25), 0 12px 32px rgba(0,0,0,.4);
  outline:none;
}
.video-thumb-img{
  display:block;
  height:100px;
  width:auto;
  object-fit:cover;
}
.video-thumb-play{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  pointer-events:none;
}
.video-thumb-play svg{
  width:30px;
  height:30px;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,.55));
}
body.design-hybrid .video-thumb{
  margin-inline:auto;
}

/* Video popup modal */
.video-modal[hidden]{display:none}
.video-modal{
  position:fixed;
  inset:0;
  z-index:80;
  display:grid;
  place-items:center;
  padding:1rem;
}
.video-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(2,10,8,.78);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
}
.video-modal-panel{
  position:relative;
  z-index:1;
  width:min(920px, 100%);
  border:1px solid rgba(61,219,132,.28);
  border-radius:1rem;
  background:rgba(4,18,14,.96);
  box-shadow:0 24px 64px rgba(0,0,0,.55);
  overflow:hidden;
}
.video-modal-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.7rem 1rem;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.video-modal-top strong{
  font-size:.9rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--green-bright);
}
.video-modal-close{
  appearance:none;
  border:0;
  background:transparent;
  color:var(--text);
  font-size:1.5rem;
  line-height:1;
  cursor:pointer;
  width:2rem;
  height:2rem;
  border-radius:.4rem;
}
.video-modal-close:hover,
.video-modal-close:focus-visible{
  background:rgba(255,255,255,.08);
  outline:none;
}
.video-modal-player{
  display:block;
  width:100%;
  max-height:min(70vh, 520px);
  background:#000;
  vertical-align:middle;
}
body.video-modal-open{
  overflow:hidden;
}

/* Choices — sparse */
.choices{
  display:flex;
  flex-direction:column;
  gap:.55rem;
  max-width:28rem;
  margin:0;
  padding:0;
  list-style:none;
}

.choice{
  display:flex;
  align-items:center;
  gap:1rem;
  padding:1rem 1.1rem;
  border:1px solid var(--green-line);
  border-radius:1rem;
  background:rgba(6,26,20,.62);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  color:var(--text);
  transition:border-color .15s ease, background .15s ease, transform .15s ease;
}
.choice:hover,
.choice:focus-visible{
  border-color:rgba(61,219,132,.55);
  background:rgba(31,143,95,.18);
  transform:translateY(-1px);
  outline:none;
}
.choice-num{
  font-variant-numeric:tabular-nums;
  font-weight:700;
  font-size:.85rem;
  letter-spacing:.08em;
  color:var(--green-bright);
  width:1.5rem;
  flex:0 0 auto;
}
.choice-label{
  font-size:1.05rem;
  font-weight:600;
  letter-spacing:-.01em;
}
.choice-hint{
  display:block;
  margin-top:.15rem;
  font-size:.82rem;
  font-weight:450;
  color:var(--muted);
}

/* Soft market link under landing choice cards */
.market-nudge{
  margin:1.1rem 0 0;
  max-width:26rem;
  width:100%;
  text-align:center;
}
.market-nudge a{
  font-size:.88rem;
  font-weight:500;
  letter-spacing:.02em;
  color:var(--muted);
  text-decoration:none;
  border-bottom:1px solid transparent;
  transition:color .15s ease, border-color .15s ease;
}
.market-nudge a:hover,
.market-nudge a:focus-visible{
  color:var(--green-bright);
  border-bottom-color:rgba(61,219,132,.45);
  outline:none;
}
.market-nudge-sep{
  color:var(--muted-2);
  margin:0 .15rem;
}
body.design-hybrid .market-nudge{
  max-width:26rem;
}

/* Layout B: even more sparse — text links */
.stage-b{
  width:min(100%, 40rem);
}
.stage-b .question{
  max-width:16ch;
  margin-bottom:2.75rem;
}
.choices-b{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:1.35rem;
}
.choices-b a{
  display:block;
  font-size:clamp(1.15rem, 2.8vw, 1.45rem);
  font-weight:650;
  letter-spacing:-.02em;
  color:var(--text);
  border-bottom:1px solid transparent;
  width:fit-content;
  padding-bottom:.15rem;
  transition:color .15s ease, border-color .15s ease;
}
.choices-b a:hover,
.choices-b a:focus-visible{
  color:var(--green-bright);
  border-bottom-color:rgba(61,219,132,.5);
  outline:none;
}
.choices-b a small{
  display:block;
  margin-top:.25rem;
  font-size:.8rem;
  font-weight:500;
  letter-spacing:.02em;
  color:var(--muted);
}

.footer-slim{
  padding:0 clamp(1.1rem,4vw,2.2rem) 1.4rem;
  color:var(--muted-2);
  font-size:.75rem;
  letter-spacing:.04em;
  display:flex;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
  position:relative;
  z-index:2;
}


/* Inner pages — still minimal */
.page{
  width:min(100%, var(--max));
  margin:0 auto;
  padding:2rem clamp(1.1rem,4vw,2rem) 3.5rem;
}
.page-wide{
  width:min(100%, 72rem);
}

/* Project overview grid */
.project-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:1rem 1.25rem;
  margin:0 0 1.4rem;
  padding-bottom:1rem;
  border-bottom:1px solid var(--green-line);
}
.project-toolbar label{
  display:grid;
  gap:.35rem;
  font-size:.72rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--muted-2);
  font-weight:700;
}
.project-toolbar select{
  appearance:none;
  background:rgba(0,14,12,.72);
  color:var(--text);
  border:1px solid var(--green-line);
  border-radius:.55rem;
  padding:.55rem .85rem;
  font:inherit;
  font-size:.92rem;
  min-width:11rem;
  letter-spacing:0;
  text-transform:none;
  font-weight:500;
}
.project-meta{
  margin:0 0 0 auto;
  font-size:.82rem;
  color:var(--muted-2);
}

.project-grid{
  display:grid;
  /* Target 5 columns on wide screens */
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:.75rem;
}
@media (max-width:1100px){
  .project-grid{grid-template-columns:repeat(4, minmax(0, 1fr))}
}
@media (max-width:860px){
  .project-grid{grid-template-columns:repeat(3, minmax(0, 1fr))}
}
@media (max-width:560px){
  .project-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}
}
.project-card{
  border:1px solid var(--green-line);
  border-radius:.85rem;
  background:rgba(0,14,12,.55);
  overflow:hidden;
  transition:border-color .15s ease, transform .15s ease, background .15s ease;
}
.project-card:hover{
  border-color:rgba(61,219,132,.45);
  background:rgba(4,28,22,.72);
  transform:translateY(-2px);
}
.project-card{
  display:flex;
  flex-direction:column;
}
.project-card-main{
  display:grid;
  grid-template-rows:auto 1fr;
  flex:1;
  color:inherit;
  min-height:0;
}
.project-card-footer{
  display:flex;
  flex-wrap:wrap;
  gap:.35rem .75rem;
  padding:.45rem .75rem .65rem;
  border-top:1px solid var(--green-line);
  background:rgba(0,8,6,.35);
}
.project-forge-link,
.project-site-link{
  font-size:.72rem;
  font-weight:650;
}
.community-links{
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.4rem;
  border-radius:.85rem;
  padding:.72rem 1.05rem;
  font-weight:650;
  font-size:.92rem;
  border:1px solid transparent;
  text-decoration:none !important;
  line-height:1.2;
  transition:background .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary{
  background:linear-gradient(160deg, rgba(61,219,132,.95), rgba(31,143,95,.92));
  color:#04120e !important;
  box-shadow:0 12px 28px rgba(31,143,95,.22);
}
.btn-primary:hover{
  filter:brightness(1.06);
  color:#04120e !important;
}
.btn-secondary{
  background:rgba(255,255,255,.04);
  border-color:rgba(61,219,132,.35);
  color:var(--green-bright) !important;
}
.btn-secondary:hover{
  background:rgba(61,219,132,.12);
  border-color:rgba(61,219,132,.6);
  color:#9af5c4 !important;
}
/* Landing footer socials */
.footer-socials{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem 1.1rem;
  justify-content:flex-end;
}
.project-logo-wrap{
  position:relative;
  aspect-ratio:1 / 1;
  background:#04120e;
  overflow:hidden;
}
.project-logo-ph{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size:1.45rem;
  font-weight:800;
  letter-spacing:.06em;
  color:rgba(243,250,246,.55);
  text-transform:uppercase;
}
.project-logo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  background:#0a1f18;
}
.project-body{
  display:flex;
  flex-direction:column;
  gap:.3rem;
  padding:.7rem .75rem .8rem;
  min-height:0;
}
.project-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:.35rem;
}
.project-body h3{
  margin:0;
  font-size:.92rem;
  letter-spacing:-.01em;
  line-height:1.25;
}
.project-cat{
  flex:0 0 auto;
  font-size:.58rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--green-bright);
  border:1px solid var(--green-line);
  border-radius:999px;
  padding:.12rem .35rem;
  white-space:nowrap;
}
.project-body p{
  margin:0;
  font-size:.78rem;
  color:var(--muted);
  line-height:1.4;
  flex:1;
}
.project-dates{
  display:grid;
  gap:.2rem;
  font-size:.68rem;
  color:var(--muted);
  font-variant-numeric:tabular-nums;
  line-height:1.35;
  margin-top:.15rem;
}
.project-date-label{
  color:var(--muted-2);
  font-weight:650;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-size:.6rem;
  margin-right:.25rem;
}
.project-date-rel{
  color:var(--muted-2);
}
.project-stats{
  display:flex;
  flex-wrap:wrap;
  gap:.25rem .5rem;
  font-size:.68rem;
  color:var(--muted-2);
  font-variant-numeric:tabular-nums;
}

/* Pulse activity feed */
.pulse-feed-section{
  border-top:1px solid var(--green-line);
  padding-top:1.4rem;
  margin-top:.5rem;
}
.pulse-feed-head{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1rem;
}
.pulse-feed-head h2{
  margin:0 0 .35rem;
  border:none;
  padding:0;
}
.pulse-meta{
  margin:0;
  font-size:.85rem;
  color:var(--muted-2);
}
.pulse-controls{
  display:flex;
  flex-wrap:wrap;
  gap:.85rem 1.25rem;
  align-items:flex-end;
  margin-bottom:1.1rem;
  padding-bottom:.9rem;
  border-bottom:1px solid var(--green-line);
}
.pulse-filters{
  display:flex;
  flex-wrap:wrap;
  gap:.4rem;
  align-items:center;
}
.pulse-control-label,
.pulse-sort-label{
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--muted-2);
}
.pulse-sort-label{
  display:grid;
  gap:.35rem;
}
.pulse-sort-label select{
  appearance:none;
  background:rgba(0,14,12,.72);
  color:var(--text);
  border:1px solid var(--green-line);
  border-radius:.55rem;
  padding:.45rem .75rem;
  font:inherit;
  font-size:.88rem;
  min-width:11rem;
  text-transform:none;
  letter-spacing:0;
  font-weight:500;
}
.pulse-filter,
.pulse-range{
  appearance:none;
  border:1px solid var(--green-line);
  background:rgba(0,14,12,.55);
  color:var(--muted);
  border-radius:999px;
  padding:.4rem .85rem;
  font:inherit;
  font-size:.82rem;
  font-weight:650;
  cursor:pointer;
}
.pulse-filter:hover,
.pulse-range:hover{
  color:var(--text);
  border-color:rgba(61,219,132,.45);
}
.pulse-filter.is-active,
.pulse-range.is-active{
  color:#04120e;
  background:var(--green-bright);
  border-color:var(--green-bright);
}
.pulse-feed{
  display:grid;
  gap:.65rem;
}
.pulse-item{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:.75rem 1rem;
  align-items:start;
  padding:1rem 1.05rem;
  border:1px solid var(--green-line);
  border-radius:.9rem;
  background:rgba(0,14,12,.5);
}
.pulse-avatar-wrap{
  flex:0 0 auto;
  padding-top:.1rem;
}
.pulse-avatar{
  width:2.5rem;
  height:2.5rem;
  border-radius:50%;
  object-fit:cover;
  display:block;
  border:1px solid rgba(61,219,132,.28);
  background:rgba(255,255,255,.06);
}
.pulse-avatar.is-broken{display:none}
.pulse-avatar-fallback{
  width:2.5rem;
  height:2.5rem;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:.95rem;
  font-weight:700;
  color:var(--green-bright);
  background:rgba(61,219,132,.12);
  border:1px solid rgba(61,219,132,.28);
}
.pulse-item-top{
  display:flex;
  flex-wrap:wrap;
  gap:.35rem .55rem;
  align-items:center;
  margin-bottom:.4rem;
}
.pulse-media{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:.45rem;
  margin-top:.7rem;
}
.pulse-media.is-single{
  grid-template-columns:1fr;
  max-width:22rem;
}
.pulse-media-cell{
  position:relative;
  display:block;
  border-radius:.7rem;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.1);
  background:rgba(0,0,0,.28);
  aspect-ratio:16 / 10;
}
.pulse-media.is-single .pulse-media-cell{
  aspect-ratio:16 / 10;
}
.pulse-media-cell img,
.pulse-media-video-el{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  vertical-align:middle;
}
.pulse-media-video-el{
  background:#000;
  object-fit:contain;
}
.pulse-media-badge{
  position:absolute;
  left:.45rem;
  bottom:.45rem;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:.2rem .45rem;
  border-radius:.4rem;
  background:rgba(0,0,0,.72);
  color:#fff;
  pointer-events:none;
}
.pulse-source{
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  border-radius:999px;
  padding:.15rem .5rem;
  border:1px solid var(--green-line);
  color:var(--green-bright);
}
.pulse-source-forum{border-color:rgba(111,211,255,.35);color:#9ed8ff}
.pulse-source-x{border-color:rgba(255,255,255,.2);color:var(--text)}
.pulse-author,
.pulse-ref{
  font-size:.78rem;
  color:var(--muted-2);
}
.pulse-item-title{
  display:block;
  font-size:1.02rem;
  font-weight:650;
  letter-spacing:-.01em;
  line-height:1.3;
  color:var(--text) !important;
  text-decoration:none !important;
}
.pulse-item-title:hover{
  color:var(--green-bright) !important;
  text-decoration:underline !important;
}
.pulse-summary{
  margin:.4rem 0 0;
  font-size:.88rem;
  color:var(--muted);
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.pulse-time{
  font-size:.78rem;
  color:var(--muted-2);
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
  text-align:right;
  padding-top:.15rem;
}
.pulse-more{
  width:100%;
  margin-top:.35rem;
}
@media (max-width:560px){
  .pulse-item{
    grid-template-columns:auto 1fr;
  }
  .pulse-time{
    grid-column:2;
    text-align:left;
  }
  .pulse-media{
    grid-template-columns:1fr;
  }
  .pulse-media.is-single{max-width:none}
}

.project-footnote{
  margin-top:2.2rem;
  padding-top:1.2rem;
  border-top:1px solid var(--green-line);
}
.project-footnote h2{
  margin:0 0 .45rem;
  font-size:.85rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--green-bright);
}
.page h1{
  margin:0 0 1rem;
  font-size:clamp(1.6rem, 3.5vw, 2.2rem);
  letter-spacing:-.025em;
  line-height:1.15;
}
.page .lede{
  color:var(--muted);
  font-size:1.05rem;
  margin:0 0 2rem;
  max-width:36rem;
}
.page section{
  border-top:1px solid var(--green-line);
  padding:1.4rem 0;
}
.page h2{
  margin:0 0 .5rem;
  font-size:1rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--green-bright);
  font-weight:700;
}
.page p{color:var(--muted);margin:0 0 .8rem}
.page ul{margin:0;padding-left:1.1rem;color:var(--muted)}
.page li+li{margin-top:.35rem}
.back{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  color:var(--muted);
  font-size:.85rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-bottom:1.6rem;
}
.back:hover{color:var(--green-bright)}

.card-list{display:grid;gap:.7rem}
.card{
  border:1px solid var(--green-line);
  border-radius:.9rem;
  padding:1rem 1.05rem;
  background:rgba(11,61,46,.22);
}
.card h3{margin:0 0 .35rem;font-size:1rem;color:var(--text)}
.card p{margin:0;font-size:.92rem}
.tag{
  display:inline-block;
  margin-top:.55rem;
  font-size:.7rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--green-bright);
  border:1px solid var(--green-line);
  border-radius:999px;
  padding:.15rem .5rem;
}

.disclaimer{
  margin-top:1.5rem;
  font-size:.8rem;
  color:var(--muted-2);
}

@media (max-width:520px){
  .brand-word{display:none}
  .choice{padding:.9rem 1rem}
}
