/* ===========================================================
   LabVentures — dark / technical theme
   =========================================================== */

:root {
  --bg:        #05080d;
  --bg-soft:   #0a0f17;
  --panel:     #0d141f;
  --panel-2:   #111a27;
  --line:      #2d4058;
  --line-soft: #141d2b;

  --text:      #e6edf6;
  --text-dim:  #9fb0c3;
  --text-mute: #5e6f84;

  --accent:    #35f0c0;  /* mint/teal */
  --accent-2:  #7aa2ff;  /* electric blue */
  --accent-d:  #1bbf96;

  --radius:    14px;
  --radius-sm: 9px;
  --maxw:      1140px;

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

/* Background canvas */
#bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 80% -5%, rgba(53,240,192,0.08), transparent 60%),
    radial-gradient(800px 600px at 0% 30%, rgba(122,162,255,0.07), transparent 55%);
}

/* ===== Shared ===== */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 110px 24px;
}
.section__head { max-width: 720px; margin-bottom: 56px; }
.kicker {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.section h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); }
.lead {
  margin-top: 18px;
  color: var(--text-dim);
  font-size: 1.08rem;
  max-width: 640px;
}
.grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hl { color: var(--accent); font-weight: 600; }
.muted { color: var(--text-mute); font-weight: 400; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  backdrop-filter: blur(10px);
}
.nav::after {
  content: "";
  position: absolute;
  left: 24px; right: 24px; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); }
.brand__mark { width: 28px; height: 28px; }
.brand__name { font-size: 1.15rem; color: var(--text); font-weight: 500; letter-spacing: -0.01em; }
.brand__name strong { color: var(--accent); font-weight: 700; }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { color: var(--text-dim); font-size: 0.95rem; transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text) !important;
  background: var(--panel);
  transition: border-color .2s, background .2s;
}
.nav__cta:hover { border-color: var(--accent); background: rgba(53,240,192,0.08); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* right-side cluster: links + language switch + mobile toggle */
.nav__end { display: flex; align-items: center; gap: 18px; }

/* ===== Language switch (EN / DE) ===== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}
.lang-opt {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--text-dim);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 6px 11px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.lang-opt:hover { color: var(--text); background: rgba(53,240,192,0.08); }
.lang-opt[aria-pressed="true"] {
  color: #03110d;
  background: var(--accent);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .25s, background .25s, border-color .25s;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(100deg, var(--accent), var(--accent-d));
  color: #03110d;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(53,240,192,0.22);
}
.btn--primary:hover { box-shadow: 0 10px 38px rgba(53,240,192,0.38); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent-2); color: #fff; }
.btn--full { width: 100%; }

/* ===== Hero ===== */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 70px 24px 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  min-height: 78vh;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(53,240,192,0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(53,240,192,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(53,240,192,0); }
  100% { box-shadow: 0 0 0 0 rgba(53,240,192,0); }
}
.hero__title { font-size: clamp(2.3rem, 5.6vw, 4.1rem); font-weight: 700; }
.hero__sub {
  margin-top: 26px;
  max-width: 520px;
  color: var(--text-dim);
  font-size: 1.12rem;
}
.hero__actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  margin: 52px 0 0;
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
}
.hero__stats div { display: flex; flex-direction: column; gap: 4px; }
.hero__stats dt { font-size: 0.8rem; color: var(--text-mute); font-family: var(--mono); }
.hero__stats dd { margin: 0; font-size: 1.5rem; font-weight: 600; color: var(--text); }

.hero__art { display: flex; justify-content: center; }
.art-pipeline { width: 100%; max-width: 420px; height: auto; }

/* hero animation */
.ring--1 { transform-origin: 210px 210px; animation: spin 40s linear infinite; }
.ring--2 { transform-origin: 210px 210px; animation: spin 28s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.flask { transform-origin: 210px 210px; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.bubble { animation: rise 3s ease-in infinite; }
.bubble--2 { animation-delay: .8s; }
.bubble--3 { animation-delay: 1.5s; }
@keyframes rise { 0% { opacity: 0; transform: translateY(8px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-22px); } }
.node { transform-origin: 210px 210px; }
.node--a { animation: orbit 16s linear infinite; }
.node--b { animation: orbit 22s linear infinite; }
.node--c { animation: orbit 30s linear infinite reverse; }
.node--a circle { transform: translate(150px, 210px); }
.node--b circle { transform: translate(110px, 210px); }
.node--c circle { transform: translate(150px, 210px); }
@keyframes orbit { to { transform: rotate(360deg); } }

/* ===== Strip ===== */
.strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 18px 0;
}
.strip__track {
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--mono);
  font-size: 0.92rem;
  color: var(--text-dim);
}
.strip__track i { color: var(--accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Cards (model) ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative;
  padding: 30px 26px;
  background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(53,240,192,0.4); }
.card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0; transition: opacity .25s;
}
.card:hover::before { opacity: 1; }
.card__num {
  font-family: var(--mono);
  font-size: 0.85rem;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--accent);
  margin-bottom: 20px;
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 0.98rem; }

/* ===== Focus ===== */
.section--focus { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); max-width: none; }
.focus {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--text-dim);
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 16px; height: 9px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.focus__viz { display: flex; flex-direction: column; gap: 16px; }
.rd { display: flex; flex-direction: column; gap: 16px; }
.rd__bar {
  position: relative;
  border-radius: var(--radius-sm);
  padding: 22px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  border: 1px solid var(--line);
  overflow: hidden;
}
.rd__bar::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
}
.rd__bar--r { width: 46%; min-width: 180px; background: var(--panel); color: var(--text-dim); }
.rd__bar--d {
  width: 100%;
  background: linear-gradient(100deg, rgba(53,240,192,0.16), rgba(122,162,255,0.1));
  border-color: rgba(53,240,192,0.4);
  color: var(--text);
}
.rd__label { font-size: 0.95rem; }
.rd__val { font-weight: 700; font-size: 1.2rem; color: var(--accent); }
.rd__bar--r .rd__val { color: var(--text-dim); }
.rd__note { font-family: var(--mono); font-size: 0.82rem; color: var(--text-mute); }

/* ===== Ventures ===== */
.ventures-wrap { display: grid; gap: 60px; }

/* group header (status grouping makes the ordering obvious) */
.venture-group__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.venture-group__title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 600;
}
.venture-group__dot { width: 9px; height: 9px; border-radius: 50%; }
.venture-group--live  .venture-group__dot { background: var(--accent); box-shadow: 0 0 14px 1px rgba(53,240,192,0.7); }
.venture-group--build .venture-group__dot { background: #f2c879;       box-shadow: 0 0 14px 1px rgba(242,200,121,0.6); }
.venture-group__sub { font-family: var(--mono); font-size: 0.86rem; color: var(--text-mute); }
.venture-group__count {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}

.ventures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.venture {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  /* lighter, layered surface so cards lift off the dark background */
  background:
    radial-gradient(130% 80% at 50% -20%, rgba(122,162,255,0.07), transparent 55%),
    linear-gradient(180deg, #141d2c 0%, #0b1019 100%);
  border: 1px solid #243650;
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 16px 40px -26px rgba(0,0,0,0.9);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
/* status rail — color-codes the card by stage (mint = live, amber = building) */
.venture::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.venture--live::before  { background: linear-gradient(90deg, var(--accent), rgba(53,240,192,0)); }
.venture--build::before { background: linear-gradient(90deg, #f2c879, rgba(242,200,121,0)); }
.venture:hover {
  transform: translateY(-5px);
  border-color: rgba(122,162,255,0.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 28px 54px -24px rgba(0,0,0,0.95);
}

.venture__top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.venture__mono {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
}
.venture--live  .venture__mono { color: var(--accent); background: rgba(53,240,192,0.1);  border: 1px solid rgba(53,240,192,0.32); }
.venture--build .venture__mono { color: #f2c879;        background: rgba(242,200,121,0.1); border: 1px solid rgba(242,200,121,0.32); }
/* real brand icon/logo in the chip slot (overrides the letter monogram) */
.venture__logo {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255,255,255,0.1);
}
/* custom inline glyph inside a mono chip (e.g. algo-workshop candlesticks) */
.venture__glyph { width: 24px; height: 24px; display: block; }
.venture__id { min-width: 0; }
.venture__id h3 { font-size: 1.3rem; margin-bottom: 3px; letter-spacing: -0.01em; }
.venture__from { font-family: var(--mono); font-size: 0.76rem; color: var(--text-mute); letter-spacing: 0.02em; }

.venture__one { color: var(--text); font-weight: 500; font-size: 1.02rem; margin-bottom: 11px; }
.venture__desc { color: var(--text-dim); font-size: 0.95rem; flex: 1; }

.venture__actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.venture__visit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(53,240,192,0.5);
  background: rgba(53,240,192,0.1);
  color: var(--accent);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  text-decoration: none;
  transition: border-color .25s, background .25s;
}
.venture__visit:hover { border-color: var(--accent); background: rgba(53,240,192,0.18); }
.venture__toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  padding: 10px 16px;
  cursor: pointer;
  transition: border-color .25s, color .25s, background .25s;
}
.venture__toggle:hover { border-color: var(--accent-2); color: var(--accent-2); background: rgba(122,162,255,0.08); }

.venture__details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .35s ease, opacity .35s ease;
}
.venture__details.open { max-height: 1200px; opacity: 1; }
.venture__detail {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
}
.venture__detail__label {
  display: block;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
}
.venture--build .venture__detail__label { color: #f2c879; }
.venture__detail p { margin: 0; color: var(--text-dim); font-size: 0.92rem; line-height: 1.7; }
.venture__detail a { color: var(--accent); }
.venture--build .venture__detail a { color: #f2c879; }

.venture__meta { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.venture__meta span {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text-mute);
  padding: 3px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
}
.venture__legend {
  margin-top: 18px;
  color: var(--text-mute);
  font-size: 0.95rem;
  line-height: 1.7;
}
.venture__legend strong {
  color: var(--text);
  font-weight: 600;
}

/* ===== Process timeline ===== */
.section--process { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); max-width: none; }
.section--process .section__head { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.timeline {
  max-width: var(--maxw);
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 7px; left: 6%; right: 6%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.4;
}
.step { padding: 0 16px; position: relative; }
.step__dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
}
.step__body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step__body p { color: var(--text-dim); font-size: 0.95rem; }
.step__when {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
}

/* ===== Contact ===== */
.section--contact { padding-bottom: 130px; }
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px;
}
.contact__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__k {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-mute);
  width: 64px;
  text-transform: uppercase;
}
.contact__list a:hover { color: var(--accent); }
.contact__reply { margin: 18px 0 0; font-size: 0.9rem; color: var(--text-mute); }

.field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 0.85rem; color: var(--text-dim); font-family: var(--mono); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.98rem;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(53,240,192,0.12);
}
.form__note { margin-top: 12px; font-size: 0.88rem; min-height: 1.2em; font-family: var(--mono); }
.form__note.ok  { color: var(--accent); }
.form__note.err { color: #ff7a7a; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-soft); }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 24px 30px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer__brand p { color: var(--text-mute); margin-top: 12px; max-width: 320px; font-size: 0.92rem; }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer__nav a { color: var(--text-dim); font-size: 0.92rem; }
.footer__nav a:hover { color: var(--accent); }
.footer__bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-mute);
  border-top: 1px solid var(--line-soft);
}
.footer__legal { display: inline-flex; align-items: center; gap: 18px; }
.footer__legal a { color: var(--text-dim); }
.footer__legal a:hover { color: var(--accent); }

/* ===== Impressum / legal ===== */
.legal.section { max-width: 840px; padding-top: 64px; }
.legal .section__head { margin-bottom: 40px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }

.legal__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-soft));
  overflow: hidden;
}
.legal__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 24px 30px;
  border-top: 1px solid var(--line-soft);
}
.legal__row:first-child { border-top: 0; }
.legal__row-label {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  padding-top: 3px;
  line-height: 1.5;
}
.legal__row-val { color: var(--text); line-height: 1.7; }
.legal__row-val strong { font-weight: 600; }
.legal__row-val a { color: var(--text); border-bottom: 1px solid var(--line); transition: color .2s, border-color .2s; }
.legal__row-val a:hover { color: var(--accent); border-color: var(--accent); }
.legal__row-note {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-mute);
}

.legal__fine { margin-top: 38px; }
.legal__fine h2 {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin: 26px 0 10px;
}
.legal__fine h2:first-child { margin-top: 0; }
.legal__fine p { color: var(--text-mute); font-size: 0.92rem; line-height: 1.75; }

.legal__back { margin-top: 40px; }
.legal__back a { color: var(--text-dim); font-family: var(--mono); font-size: 0.9rem; transition: color .2s; }
.legal__back a:hover { color: var(--accent); }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
    transform: translateY(-130%);
    transition: transform .3s ease;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav__cta { width: max-content; margin-top: 12px; }
  .nav__toggle { display: flex; }
  .nav__end { gap: 14px; }

  .hero { grid-template-columns: 1fr; padding-top: 40px; min-height: auto; }
  .hero__art { order: -1; max-width: 320px; margin: 0 auto; }
  .cards, .ventures { grid-template-columns: 1fr; }
  .legal__row { grid-template-columns: 1fr; gap: 8px; padding: 20px 22px; }
  .legal__row-label { padding-top: 0; }
  .focus { grid-template-columns: 1fr; gap: 36px; }
  .timeline { grid-template-columns: 1fr; gap: 30px; }
  .timeline::before { display: none; }
  .contact { grid-template-columns: 1fr; padding: 32px 24px; gap: 36px; }
}

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

  /* Gentle decorative motion kept on by design — subtle enough to retain. */
  .strip__track { animation: marquee 32s linear infinite !important; }
  .ring--1 { animation: spin 40s linear infinite !important; }
  .ring--2 { animation: spin 28s linear infinite reverse !important; }
  .flask  { animation: float 6s ease-in-out infinite !important; }
  .bubble { animation: rise 3s ease-in infinite !important; }
  .bubble--2 { animation-delay: .8s !important; }
  .bubble--3 { animation-delay: 1.5s !important; }
  .node--a { animation: orbit 16s linear infinite !important; }
  .node--b { animation: orbit 22s linear infinite !important; }
  .node--c { animation: orbit 30s linear infinite reverse !important; }
}
