:root {
  --bg:        #FAFAFC;
  --bg-2:      #F2F2F7;
  --bg-3:      #ECECF3;
  --ink:       #0B0B12;
  --ink-2:     #2A2A33;
  --ink-3:     #585866;
  --ink-4:     #8A8A98;
  --rule:      #E2E2EA;
  --rule-soft: #ECECF1;

  --blue:    #3D5BCC;
  --blue-2:  #4A6BDD;
  --violet:  #6E58E0;
  --violet-2:#8C76EC;
  --grad:      linear-gradient(135deg, #3D5BCC 0%, #6E58E0 100%);
  --grad-soft: linear-gradient(135deg, rgba(61,91,204,0.10) 0%, rgba(110,88,224,0.10) 100%);
  --grad-dark: linear-gradient(135deg, #6E84F2 0%, #B0A0FF 100%);

  --display: "Geist", "Inter", system-ui, -apple-system, sans-serif;
  --serif:   "Geist", "Inter", system-ui, -apple-system, sans-serif;
  --sans:    "Inter", system-ui, -apple-system, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --max:    1200px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

::selection { background: var(--ink); color: #fff; }

/* ==================== NAV ==================== */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250, 250, 252, 0.85);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--rule); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em;
  color: var(--ink);
}
.brand img { width: 30px; height: 26px; object-fit: contain; }
.brand-name { font-weight: 600; }
.brand-name .pty { color: var(--ink-3); font-weight: 400; font-size: 0.92rem; margin-left: 2px; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 0.92rem; font-weight: 500; color: var(--ink-2);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.btn { color: #fff; }
.nav-links a.btn:hover { color: #fff; }

/* Cyréna link — the WORD glows hard, with halo behind, gradient that drifts */
.nav-cyrena,
.nav-links a.nav-cyrena {
  font-weight: 700;
  font-size: 1.0rem;
  background: linear-gradient(110deg, #6E58E0 0%, #B0A0FF 50%, #8B7FE8 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.005em;
  position: relative;
  padding: 4px 8px;
  animation:
    cyr-word-glow    2.0s ease-in-out infinite,
    cyr-grad-shift   3.4s linear        infinite;
}
.nav-cyrena::before,
.nav-links a.nav-cyrena::before {
  content: '';
  position: absolute;
  inset: -2px -10px;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(110,88,224,0.28), transparent 72%);
  z-index: -1;
  pointer-events: none;
  animation: cyr-halo 2.0s ease-in-out infinite;
}
@keyframes cyr-word-glow {
  0%, 100% {
    filter: drop-shadow(0 0 9px  rgba(110,88,224,0.55))
            drop-shadow(0 0 20px rgba(140,118,236,0.28));
  }
  50% {
    filter: drop-shadow(0 0 13px rgba(110,88,224,0.75))
            drop-shadow(0 0 26px rgba(140,118,236,0.40));
  }
}
@keyframes cyr-grad-shift {
  0%   { background-position:   0% 50%; }
  100% { background-position: 220% 50%; }
}
@keyframes cyr-halo {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50%      { opacity: 0.82; transform: scale(1.04); }
}
.nav-cyrena:hover,
.nav-links a.nav-cyrena:hover {
  filter: drop-shadow(0 0 16px rgba(110,88,224,0.85))
          drop-shadow(0 0 32px rgba(176,160,255,0.40));
}
@media (prefers-reduced-motion: reduce) {
  .nav-cyrena,
  .nav-links a.nav-cyrena {
    animation: none;
  }
  .nav-cyrena::before,
  .nav-links a.nav-cyrena::before {
    animation: none;
  }
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 500; font-size: 0.95rem;
  padding: 13px 22px; border-radius: 999px;
  background: var(--ink); color: #fff;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); background: var(--violet); border-color: var(--violet); }
.btn .arrow { width: 14px; height: 10px; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn.lg { font-size: 1rem; padding: 16px 28px; }
.btn.ghost {
  background: transparent; color: var(--ink); border-color: var(--rule);
}
.btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--rule); border-radius: 999px;
  padding: 8px 14px; font-size: 0.85rem; font-weight: 500; cursor: pointer;
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    padding: 22px var(--gutter) 28px; gap: 18px;
  }
  .nav-links.is-open .btn { width: 100%; justify-content: center; }
  .nav-toggle { display: inline-flex; }
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  padding: clamp(60px, 11vh, 130px) 0 clamp(70px, 11vh, 130px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(11,11,18,0.08) 1px, transparent 1.4px);
  background-size: 22px 22px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 90%);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  top: -260px; right: -260px;
  width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(110,88,224,0.11), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.hero .blob-2 {
  position: absolute;
  bottom: -200px; left: -220px;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(61,91,204,0.09), transparent 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.04em;
  color: var(--ink-3);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 7px 14px 7px 8px;
  margin-bottom: 32px;
}
.eyebrow .dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad);
  display: inline-block;
}

h1.title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 16ch;
}
h1.title em {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  padding-right: 0.08em;
  margin-right: -0.04em;
}

.subtitle {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
  margin: 0 0 36px;
}

.hero-cta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.hero-cta .meta {
  font-size: 0.88rem; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-cta .meta::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #2ec27e;
  box-shadow: 0 0 0 4px rgba(46, 194, 126, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(46,194,126,0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(46,194,126,0.06); }
}

.hero-mark {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 900px) {
  .hero-mark {
    aspect-ratio: 1 / 1;     /* keep square so rings stay circular */
    max-width: 340px;
    margin: 0 auto;
  }
}

.hero-mark .ring {
  position: absolute; inset: 6%;
  border-radius: 50%;
  border: 1px dashed rgba(11,11,18,0.10);
}
.hero-mark .ring.r2 { inset: 18%; border-style: solid; border-color: rgba(11,11,18,0.06); }
.hero-mark .ring.r3 { inset: 30%; }

.hero-mark .orbit {
  position: absolute; inset: 6%;
  border-radius: 50%;
  pointer-events: none;
  animation: spin 22s linear infinite;
}
.hero-mark .orbit .dot {
  position: absolute;
  top: -5px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 14px rgba(110,88,224,0.55), 0 0 0 3px rgba(255,255,255,0.7);
}
.hero-mark .orbit.r2 { inset: 18%; animation-duration: 32s; animation-direction: reverse; }
.hero-mark .orbit.r2 .dot {
  background: var(--blue);
  box-shadow: 0 0 14px rgba(61,91,204,0.55), 0 0 0 3px rgba(255,255,255,0.7);
  width: 8px; height: 8px;
}
.hero-mark .orbit.r3 { inset: 30%; animation-duration: 16s; }
.hero-mark .orbit.r3 .dot {
  background: var(--violet-2);
  box-shadow: 0 0 12px rgba(140,118,236,0.55), 0 0 0 3px rgba(255,255,255,0.7);
  width: 7px; height: 7px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-mark .logo-big {
  position: relative; z-index: 2;
  width: 72%;
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 24px 48px rgba(110,88,224,0.18));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.hero-mark .chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 8px 14px 8px 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 24px -10px rgba(11,11,18,0.10);
  z-index: 3;
  white-space: nowrap;
}
.hero-mark .chip .pin {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 3px rgba(110,88,224,0.18);
}
.hero-mark .chip.c1 { top: 8%;  left: 4%;  }
.hero-mark .chip.c2 { top: 24%; right: 0%; }
.hero-mark .chip.c3 { bottom: 18%; left: 8%; }
.hero-mark .chip.c4 { bottom: 6%; right: 6%; }
.hero-mark .chip.c2 .pin { background: var(--blue); box-shadow: 0 0 0 3px rgba(61,91,204,0.18); }
.hero-mark .chip.c4 .pin { background: var(--blue); box-shadow: 0 0 0 3px rgba(61,91,204,0.18); }

@media (max-width: 600px) {
  .hero-mark .chip { font-size: 0.65rem; padding: 6px 10px 6px 8px; }
  .hero-mark .chip.c2, .hero-mark .chip.c4 { display: none; }
}

.hero-foot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  margin-top: clamp(50px, 8vw, 80px);
  border-top: 1px solid var(--rule);
}
.hero-foot .l, .hero-foot .r {
  font-size: 0.82rem; color: var(--ink-3); font-weight: 500;
  letter-spacing: 0.02em;
}
.hero-foot .line { height: 1px; background: var(--rule); }
@media (max-width: 700px) {
  .hero-foot { grid-template-columns: 1fr; gap: 8px; text-align: left; }
  .hero-foot .line { display: none; }
}

/* ==================== WHAT WE DO ==================== */
.what {
  padding: clamp(80px, 12vh, 140px) 0;
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 70px);
}
.section-head .lead {
  padding-top: 32px;
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .section-head .lead { padding-top: 0; }
}

.section-head .label {
  font-family: var(--mono);
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.section-head .label::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet);
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 18ch;
}
.section-head h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-3);
}
.section-head .lead {
  font-size: 1.08rem; line-height: 1.55; color: var(--ink-2);
  max-width: 50ch;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 28px 26px 28px;
  position: relative;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(110,88,224,0.4);
  box-shadow: 0 14px 40px -22px rgba(11, 11, 18, 0.18);
}
.card .num {
  font-family: var(--mono);
  font-size: 0.7rem; letter-spacing: 0.16em;
  color: var(--ink-4);
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 12px;
}
.card .num::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(to right, var(--rule), transparent);
}
.card .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-soft);
  color: var(--violet);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.card .ico svg { width: 22px; height: 22px; }
.card h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.01em;
  margin: 0 0 8px; color: var(--ink);
}
.card p {
  font-size: 0.96rem; line-height: 1.55; color: var(--ink-2);
  margin: 0;
}

/* ==================== SPECIMEN ==================== */
.specimen {
  padding: clamp(20px, 4vw, 40px) 0 clamp(80px, 12vh, 140px);
  position: relative;
}
.specimen .wrap { max-width: 1100px; }
.specimen-card {
  background: #0B0B12;
  border-radius: 22px;
  padding: 0;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 30px 60px -30px rgba(11,11,18,0.30);
}
.specimen-card::before {
  content: "";
  position: absolute;
  top: -180px; right: -160px;
  width: 480px; height: 480px;
  background: radial-gradient(closest-side, rgba(110,88,224,0.32), transparent 70%);
  pointer-events: none;
}

.specimen-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.specimen-bar .dots { display: flex; gap: 7px; }
.specimen-bar .dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
}
.specimen-bar .file {
  font-family: var(--mono); font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
  margin-left: 8px;
}
.specimen-bar .tag {
  margin-left: auto;
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.5); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.specimen-bar .tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2ec27e;
  box-shadow: 0 0 0 3px rgba(46,194,126,0.20);
}

.specimen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 0;
  position: relative;
}
@media (max-width: 900px) { .specimen-grid { grid-template-columns: 1fr; } }

.specimen-code {
  padding: 32px 30px 32px 22px;
  font-family: var(--mono);
  font-size: 0.86rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.85);
  border-right: 1px solid rgba(255,255,255,0.06);
  overflow-x: auto;
}
@media (max-width: 900px) {
  .specimen-code { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.78rem; }
}
.specimen-code .ln { display: grid; grid-template-columns: 28px 1fr; gap: 6px; }
.specimen-code .ln .n { color: rgba(255,255,255,0.25); user-select: none; text-align: right; }
.specimen-code .k { color: #B0A0FF; }
.specimen-code .s { color: #6E84F2; }
.specimen-code .c { color: rgba(255,255,255,0.4); }
.specimen-code .a {
  display: inline-block;
  font-size: 0.72rem;
  padding: 1px 8px;
  border-radius: 4px;
  margin-left: 8px;
  background: rgba(245, 158, 66, 0.10);
  color: #F5A95C;
  border: 1px solid rgba(245, 158, 66, 0.22);
  letter-spacing: 0.04em;
}
.specimen-code .a.dup { background: rgba(239, 95, 95, 0.10); color: #FF8E8E; border-color: rgba(239,95,95,0.25); }
.specimen-code .a.drift { background: rgba(110, 132, 242, 0.12); color: #99AEFF; border-color: rgba(110,132,242,0.25); }
.specimen-code .a.ok { background: rgba(46, 194, 126, 0.10); color: #6FDDA9; border-color: rgba(46,194,126,0.25); }

.specimen-side {
  padding: 32px 30px;
  display: flex; flex-direction: column; gap: 18px;
}
.specimen-side h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.7rem; line-height: 1.15; letter-spacing: -0.015em;
  color: #fff; margin: 0;
}
.specimen-side h3 em {
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
}
.specimen-side p {
  font-size: 0.95rem; line-height: 1.6; color: rgba(255,255,255,0.62); margin: 0;
}
.specimen-key {
  margin-top: auto;
  display: grid; gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.specimen-key .row {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 0.74rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
}
.specimen-key .row .swatch {
  width: 10px; height: 10px; border-radius: 3px;
  flex: none;
}
.specimen-key .row.dup .swatch    { background: #FF8E8E; }
.specimen-key .row.drift .swatch  { background: #99AEFF; }
.specimen-key .row.over .swatch   { background: #F5A95C; }

/* ==================== HOW WE WORK ==================== */
.howwework {
  padding: clamp(80px, 12vh, 140px) 0;
  background: var(--bg);
  border-top: 1px solid var(--rule-soft);
  position: relative;
}
.howwework .wrap { max-width: 1100px; }

.phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.phase {
  padding: 36px 26px 36px;
  border-right: 1px solid var(--rule);
  position: relative;
  transition: background .2s ease;
}
.phase:last-child { border-right: none; }
.phase:hover { background: rgba(255,255,255,0.55); }

.phase .num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--violet);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.phase .num::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(to right, var(--rule), transparent);
}
.phase h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--ink);
}
.phase p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

@media (max-width: 1000px) {
  .phases { grid-template-columns: repeat(2, 1fr); }
  .phase:nth-child(2n) { border-right: none; }
  .phase { border-bottom: 1px solid var(--rule); }
  .phase:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 600px) {
  .phases { grid-template-columns: 1fr; }
  .phase { border-right: none; border-bottom: 1px solid var(--rule); }
  .phase:last-child { border-bottom: none; }
}

/* ==================== STRANDS (transformation visual) ==================== */
.strands {
  padding: clamp(20px, 4vw, 40px) 0 clamp(80px, 12vh, 140px);
  position: relative;
}
.strands .wrap { max-width: 1100px; }
.strands .section-head { margin-bottom: clamp(36px, 6vw, 56px); }
.strands .section-head .label::before { background: var(--violet); }
.strands .strand-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.strands .strand-head h2 { max-width: 14ch; }
@media (max-width: 800px) { .strands .strand-head { grid-template-columns: 1fr; } }

.strands-card {
  background: #0B0B12;
  border-radius: 22px;
  padding: 28px 26px 22px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 30px 60px -30px rgba(11,11,18,0.30);
}
.strands-card::before {
  content: "";
  position: absolute;
  top: -180px; right: -160px;
  width: 480px; height: 480px;
  background: radial-gradient(closest-side, rgba(110,88,224,0.20), transparent 70%);
  pointer-events: none;
}

.strands-svg {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
}

/* Tangled strands — dashed flow, faster + falling support */
.strands-svg .tangle .s {
  stroke-dasharray: 14 280;
  animation: flow 3s linear infinite;
  opacity: 0.92;
  transition: opacity 0.9s ease, transform 1.3s cubic-bezier(.55,.2,.7,1);
}
.strands-svg .tangle .s1 { animation-duration: 2.4s; }
.strands-svg .tangle .s2 { animation-duration: 2.7s; animation-direction: reverse; }
.strands-svg .tangle .s3 { animation-duration: 3.1s; }
.strands-svg .tangle .s4 { animation-duration: 2.6s; animation-direction: reverse; }
.strands-svg .tangle .s5 { animation-duration: 2.2s; }
.strands-svg .tangle .s6 { animation-duration: 3.3s; animation-direction: reverse; }
.strands-svg .tangle .s7 { animation-duration: 2.5s; }
.strands-svg .tangle .s8 { animation-duration: 2.9s; animation-direction: reverse; }
@keyframes flow {
  to { stroke-dashoffset: -294; }
}

/* Background strands — slightly slower */
.strands-svg .tangle-bg .b {
  stroke-dasharray: 12 220;
  animation: flow-bg 4s linear infinite;
  transition: opacity 0.9s ease, transform 1.3s cubic-bezier(.55,.2,.7,1);
}
.strands-svg .tangle-bg .b:nth-child(2n) { animation-direction: reverse; animation-duration: 4.6s; }
.strands-svg .tangle-bg .b:nth-child(3n) { animation-duration: 5s; }
.strands-svg .tangle-bg .b:nth-child(4n) { animation-direction: reverse; animation-duration: 3.6s; }
@keyframes flow-bg {
  to { stroke-dashoffset: -232; }
}

/* Falling strand effect — applied via JS periodically */
.strands-svg .tangle .s.falling,
.strands-svg .tangle-bg .b.falling {
  opacity: 0;
  transform: translate(0, 80px);
}

@media (prefers-reduced-motion: reduce) {
  .strands-svg .tangle .s,
  .strands-svg .tangle-bg .b { animation: none; transition: none; }
}
.strands-svg .tangle .s1 { animation-duration: 4.8s; }
.strands-svg .tangle .s2 { animation-duration: 5.2s; animation-direction: reverse; }
.strands-svg .tangle .s3 { animation-duration: 6.0s; }
.strands-svg .tangle .s4 { animation-duration: 5.5s; animation-direction: reverse; }
.strands-svg .tangle .s5 { animation-duration: 4.4s; }
.strands-svg .tangle .s6 { animation-duration: 6.4s; animation-direction: reverse; }
.strands-svg .tangle .s7 { animation-duration: 5.0s; }
.strands-svg .tangle .s8 { animation-duration: 5.8s; animation-direction: reverse; }

/* Clean strands — sync flow (original) */
.strands-svg .clean .c {
  stroke-dasharray: 22 200;
  animation: flow-clean 4.5s linear infinite;
  opacity: 0.95;
}
.strands-svg .clean .c2 { animation-delay: -1.5s; }
.strands-svg .clean .c3 { animation-delay: -3.0s; }

@keyframes flow {
  to { stroke-dashoffset: -310; }
}
@keyframes flow-clean {
  to { stroke-dashoffset: -220; }
}

/* Pinch ring pulse */
.strands-svg .pinch-ring {
  transform-origin: 400px 200px;
  animation: pinch-pulse 3s ease-in-out infinite;
}
@keyframes pinch-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.12); opacity: 0.85; }
}

/* Strands footer key */
.strands-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 700px) {
  .strands-foot { justify-content: flex-start; gap: 12px 24px; }
}
.strands-foot .key {
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: inline-flex; align-items: center; gap: 8px;
}
.strands-foot .key .dot {
  width: 9px; height: 9px; border-radius: 50%;
  flex: none;
}
.strands-foot .key .dot.tangled {
  background: linear-gradient(135deg, #FF8E8E 0%, #F5A95C 50%, #6FDDA9 100%);
}
.strands-foot .key .dot.vn      { background: #B0A0FF; box-shadow: 0 0 0 3px rgba(176,160,255,0.18); }
.strands-foot .key .dot.clear   { background: linear-gradient(135deg, #6E84F2 0%, #B0A0FF 100%); }

@media (max-width: 700px) {
  .strands-card { padding: 16px 12px 16px; }
  .strands-svg .lbl-left text { font-size: 9px; }
  .strands-svg .lbl-right text { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .strands-svg .tangle .s,
  .strands-svg .tangle-bg .b,
  .strands-svg .clean .c,
  .strands-svg .pinch-ring { animation: none; }
}

/* ==================== STATEMENT ==================== */
.statement {
  background: var(--ink);
  color: #fff;
  padding: clamp(80px, 14vh, 160px) 0;
  position: relative;
  overflow: hidden;
}
.statement::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 80% 30%, rgba(110,88,224,0.28), transparent 60%),
    radial-gradient(ellipse 500px 350px at 20% 70%, rgba(61,91,204,0.26), transparent 60%);
  pointer-events: none;
}
.statement::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}
/* Mobile: portrait becomes the atmospheric background of the thesis */
@media (max-width: 900px) {
  .statement {
    background:
      linear-gradient(180deg,
        rgba(11,11,18,0.72) 0%,
        rgba(11,11,18,0.85) 55%,
        rgba(11,11,18,0.94) 100%),
      url('assets/portrait.jpg') 65% 25% / cover no-repeat,
      var(--ink);
  }
}
.statement .wrap { position: relative; }
.statement-body {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.statement-body .label {
  font-family: var(--mono);
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); font-weight: 500;
  margin-bottom: 24px;
}
.statement-body h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  color: #fff;
}
.statement-body h2 em {
  font-style: italic;
  background: var(--grad-dark);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==================== FLAGSHIP (Cyréna home block) ==================== */
.flagship {
  padding: clamp(80px, 14vh, 160px) 0;
  position: relative;
  overflow: hidden;
}
.flagship::before {
  content: "";
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(110,88,224,0.14), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.flagship .wrap { position: relative; }

.flagship-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 1000px) { .flagship-grid { grid-template-columns: 1fr; } }

.flagship .label {
  font-family: var(--mono);
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.flagship .label::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet);
}

.cyr-head {
  display: flex; align-items: center; gap: 18px;
  margin: 18px 0 22px;
}
.cyr-head .cyr-mark {
  width: 60px; height: 60px; border-radius: 16px;
  background: #0B0B12;
  overflow: hidden; flex: none;
  box-shadow: 0 14px 30px -16px rgba(110,88,224,0.45);
}
.cyr-head .cyr-mark img { width: 60px; height: 60px; object-fit: cover; }
.cyr-head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  line-height: 1; letter-spacing: -0.02em;
  margin: 0; color: var(--ink);
}
.cyr-head h2 em {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cyr-head .cyr-sub {
  font-family: var(--mono);
  font-size: 0.78rem; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--ink-3); margin: 6px 0 0;
}

.cyr-lede {
  font-size: 1.12rem; line-height: 1.55; color: var(--ink-2);
  max-width: 50ch; margin: 0 0 18px;
}
.cyr-tie {
  font-size: 0.98rem; line-height: 1.6; color: var(--ink-3);
  max-width: 50ch; margin: 0 0 30px;
  padding-left: 14px; border-left: 2px solid var(--violet);
}

.features {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 18px;
}
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

.features li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}
.features li svg {
  width: 18px; height: 18px;
  color: var(--violet);
  margin-top: 2px;
}
.features li strong {
  display: block;
  font-size: 0.95rem; font-weight: 600; color: var(--ink);
  margin-bottom: 2px;
}
.features li span {
  display: block;
  font-size: 0.85rem; color: var(--ink-3); line-height: 1.4;
}

.cyr-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* agent panel mock */
.agent-panel {
  background: #0B0B12;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 30px 60px -30px rgba(11,11,18,0.30);
  position: relative;
}
.agent-panel::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(closest-side, rgba(110,88,224,0.32), transparent 70%);
  pointer-events: none;
}
.agent-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: var(--mono); font-size: 0.74rem;
  position: relative;
}
.agent-bar .dots { display: flex; gap: 6px; }
.agent-bar .dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
}
.agent-bar .path {
  color: rgba(255,255,255,0.6);
  margin-left: 6px;
}
.agent-bar .state {
  margin-left: auto;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.16em; text-transform: uppercase;
  font-size: 0.66rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.agent-bar .state::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #2ec27e;
  box-shadow: 0 0 0 3px rgba(46,194,126,0.20);
}

.agent-body {
  padding: 22px 22px 26px;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.85);
  position: relative;
}
.agent-body .row { display: block; }
.agent-body .prompt { color: var(--violet-2); }
.agent-body .out    { color: rgba(255,255,255,0.78); }
.agent-body .ok     { color: #6FDDA9; }
.agent-body .add    { color: #6FDDA9; }
.agent-body .rem    { color: #FF8E8E; }
.agent-body .info   { color: rgba(255,255,255,0.5); }
.agent-body .file   { color: #B0A0FF; }
.agent-body .adr    { color: #99AEFF; }
.agent-body .hr     {
  display: block; height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 14px 0;
}
.agent-body .pills  {
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px;
}
.agent-body .pill {
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.7);
}
.agent-body .pill.ok { color: #6FDDA9; border-color: rgba(46,194,126,0.30); background: rgba(46,194,126,0.06); }
.agent-body .cursor {
  display: inline-block; width: 8px; height: 1em;
  background: var(--violet-2);
  vertical-align: -2px;
  animation: blink 1.1s steps(1) infinite;
  margin-left: 4px;
}
@keyframes blink {
  0%, 50%   { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Animated agent-panel cycle */
.agent-body.agent-fading {
  opacity: 0.4;
  transition: opacity .22s ease;
}
.agent-body .agent-fade-in {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .22s ease, transform .22s ease;
}
.agent-body .agent-fade-in.agent-fade-in-go {
  opacity: 1;
  transform: translateY(0);
}
.agent-body .agent-fade-in.hr,
.agent-body .agent-fade-in.pills {
  /* Element-specific overrides if needed */
}
.agent-body .pills.agent-fade-in.agent-fade-in-go { /* Inherited */ }
.agent-body .ok    { color: #6FDDA9; }
.agent-bar .state {
  transition: color .3s ease;
}

/* ==================== ABOUT ==================== */
.about {
  padding: clamp(80px, 12vh, 140px) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--rule-soft);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

/* Mobile: hide the portrait so it doesn't stack awkwardly above the About text.
   The portrait moves to the thesis section as atmospheric background instead
   (see .statement mobile override below). */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about .portrait { display: none; }
}

.portrait {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 4/5;
  max-width: 420px;
}
.portrait img {
  width: 100%; height: 100%; object-fit: cover;
}
.portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11, 11, 18, 0.18) 100%);
}

.about h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.about h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-3);
}
.about p {
  font-size: 1.05rem; line-height: 1.6; color: var(--ink-2);
  margin: 0 0 16px; max-width: 56ch;
}
.about .signoff {
  margin-top: 28px;
  display: flex; align-items: center; gap: 16px;
}
.about .signoff .name {
  font-family: var(--serif); font-weight: 500; font-size: 1.15rem; color: var(--ink);
}
.about .signoff .role {
  font-family: var(--mono);
  font-size: 0.74rem; color: var(--ink-3);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.about .signoff .div { width: 1px; height: 28px; background: var(--rule); }

/* ==================== CONTACT ==================== */
.contact {
  background: var(--ink);
  color: #fff;
  padding: clamp(80px, 12vh, 140px) 0 clamp(70px, 10vh, 110px);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  top: -150px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(closest-side, rgba(110,88,224,0.28), transparent 70%);
  pointer-events: none;
}
.contact .wrap { position: relative; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact h1,
.contact h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1; letter-spacing: -0.02em;
  margin: 12px 0 18px; color: #fff;
  max-width: 14ch;
}
.contact h1 em,
.contact h2 em {
  font-style: italic;
  background: var(--grad-dark);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact .label {
  font-family: var(--mono);
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); font-weight: 500;
}
.contact .lead {
  color: rgba(255,255,255,0.75); font-size: 1.05rem;
  max-width: 42ch; margin: 0 0 28px;
}
.contact a.email {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: #fff; padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  transition: border-color .15s ease, color .15s ease;
}
.contact a.email:hover { color: #B0A0FF; border-color: #B0A0FF; }

.contact-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px;
  margin-top: 32px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
@media (max-width: 600px) { .contact-meta { grid-template-columns: 1fr; } }
.contact-meta .k {
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.10em; color: rgba(255,255,255,0.5);
  text-transform: uppercase; margin-bottom: 6px;
}
.contact-meta .v {
  font-size: 0.95rem; color: #fff;
}

.contact .socials { display: flex; gap: 10px; margin-top: 28px; }
.contact .socials a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.contact .socials a:hover { background: var(--violet); border-color: var(--violet); color: #fff; }
.contact .socials svg { width: 16px; height: 16px; }

.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form .field { display: grid; gap: 6px; }
.form label {
  font-family: var(--mono);
  font-size: 0.72rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.6); font-weight: 500;
  text-transform: uppercase;
}
.form input, .form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  padding: 12px 14px;
  font-family: var(--sans); font-size: 0.98rem;
  border-radius: 10px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.form input:focus, .form textarea:focus {
  border-color: rgba(110,88,224,0.7);
  background: rgba(255,255,255,0.06);
}
.form ::placeholder { color: rgba(255,255,255,0.3); }
.form textarea { min-height: 90px; resize: vertical; }
.form .submit {
  background: #fff; color: var(--ink); border-color: #fff;
  justify-self: start;
}
.form .submit:hover { background: var(--violet); color: #fff; border-color: var(--violet); }

/* ==================== CLOSER (home page mini contact CTA) ==================== */
.closer {
  background: var(--ink);
  color: #fff;
  padding: clamp(70px, 10vh, 110px) 0;
  position: relative;
  overflow: hidden;
}
.closer::before {
  content: "";
  position: absolute;
  top: -150px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(closest-side, rgba(110,88,224,0.28), transparent 70%);
  pointer-events: none;
}
.closer .wrap { position: relative; }
.closer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}
@media (max-width: 800px) { .closer-inner { grid-template-columns: 1fr; } }

.closer .label {
  font-family: var(--mono);
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); font-weight: 500;
  margin-bottom: 14px;
}
.closer h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 12px; color: #fff;
  max-width: 14ch;
}
.closer h2 em {
  font-style: italic;
  background: var(--grad-dark);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.closer p {
  color: rgba(255,255,255,0.7);
  font-size: 1.0rem;
  margin: 0;
  max-width: 42ch;
}
.closer .btn {
  background: #fff; color: var(--ink); border-color: #fff;
}
.closer .btn:hover { background: var(--violet); color: #fff; border-color: var(--violet); }

/* ==================== FOOTER ==================== */
.foot {
  background: var(--ink);
  color: rgba(255,255,255,0.55);
  padding: 0 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.84rem;
}
.foot-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.foot-cta .lhs {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}
.foot-cta .arrow-link {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .15s ease;
}
.foot-cta .arrow-link:hover { color: #B0A0FF; }
.foot-cta .arrow-link svg { width: 14px; height: 10px; transition: transform .2s ease; }
.foot-cta .arrow-link:hover svg { transform: translateX(3px); }
.foot-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap;
  padding-top: 26px;
}
.foot a { color: rgba(255,255,255,0.55); }
.foot a:hover { color: #fff; }

/* ==================== reveal ==================== */
.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-mark .logo-big { animation: none; }
  .hero-cta .meta::before { animation: none; }
  .hero-mark .orbit { animation: none; }
}

/* ============================================================ */
/* ==================== PROJECTS PAGE ========================= */
/* ============================================================ */

/* page hero */
.page-hero {
  padding: clamp(80px, 12vh, 130px) 0 clamp(50px, 8vh, 80px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(11,11,18,0.06) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 90%);
  z-index: 0;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(110,88,224,0.10), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.page-hero .wrap { position: relative; z-index: 1; max-width: 1100px; }

.page-hero .crumbs {
  font-family: var(--mono); font-size: 0.74rem;
  letter-spacing: 0.10em; color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 8px;
}
.page-hero .crumbs a { color: var(--ink-3); }
.page-hero .crumbs a:hover { color: var(--ink); }
.page-hero .crumbs .sep { color: var(--ink-4); }

.page-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.0; letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 22px;
  max-width: 14ch;
}
.cyr-hero-row {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 28px);
  margin-bottom: 22px;
}
.cyr-hero-row .cyr-hero-logo {
  width: clamp(60px, 8vw, 92px);
  height: clamp(60px, 8vw, 92px);
  border-radius: clamp(14px, 1.6vw, 20px);
  background: #0B0B12;
  overflow: hidden;
  flex: none;
  box-shadow: 0 16px 36px -14px rgba(110,88,224,0.5);
}
.cyr-hero-row .cyr-hero-logo img {
  width: 100%; height: 100%; object-fit: cover;
}
.cyr-hero-row h1 { margin: 0; }
.page-hero h1 em {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero p.lede {
  font-size: 1.12rem; line-height: 1.55; color: var(--ink-2);
  max-width: 56ch; margin: 0 0 36px;
}

.page-toc {
  display: flex; gap: 10px; flex-wrap: wrap;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
}
.page-toc a {
  font-family: var(--mono);
  font-size: 0.74rem; letter-spacing: 0.10em;
  color: var(--ink-2); font-weight: 500;
  padding: 9px 14px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 999px;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.page-toc a:hover {
  border-color: var(--violet);
  transform: translateY(-1px);
}
.page-toc a .pin {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--violet);
}
.page-toc a.urm .pin { background: var(--blue); }

/* project detail blocks */
.proj-detail {
  padding: clamp(70px, 10vh, 120px) 0;
  position: relative;
  overflow: hidden;
}
.proj-detail.is-cyrena { background: var(--bg); border-top: 1px solid var(--rule-soft); }
.proj-detail.is-urm    { background: var(--bg-2); border-top: 1px solid var(--rule-soft); }
.proj-detail .wrap { position: relative; max-width: 1100px; }

.proj-detail .head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: clamp(36px, 6vw, 56px);
}
@media (max-width: 600px) {
  .proj-detail .head { grid-template-columns: 64px 1fr; gap: 16px; }
}

.proj-detail .head .ico {
  width: 80px; height: 80px;
  border-radius: 18px;
  background: #0B0B12;
  overflow: hidden;
  box-shadow: 0 18px 36px -18px rgba(110,88,224,0.45);
  flex: none;
}
.proj-detail .head .ico img { width: 80px; height: 80px; object-fit: cover; }
@media (max-width: 600px) {
  .proj-detail .head .ico { width: 64px; height: 64px; border-radius: 14px; }
  .proj-detail .head .ico img { width: 64px; height: 64px; }
}
.proj-detail .head .kicker {
  font-family: var(--mono); font-size: 0.74rem;
  letter-spacing: 0.16em; color: var(--violet);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: inline-flex; align-items: center; gap: 8px;
}
.proj-detail .head .kicker::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet);
}
.proj-detail.is-urm .head .kicker { color: var(--blue); }
.proj-detail.is-urm .head .kicker::before { background: var(--blue); }

.proj-detail .head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1; letter-spacing: -0.025em;
  margin: 0; color: var(--ink);
}
.proj-detail .head .tagline {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.45; color: var(--ink-2);
  margin: 12px 0 0;
  max-width: 60ch;
}

.proj-detail h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 14px;
}

.proj-detail p {
  font-size: 1.0rem; line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 14px;
  max-width: 64ch;
}

.proj-detail .body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 64px);
  margin-bottom: clamp(36px, 6vw, 56px);
}
@media (max-width: 900px) { .proj-detail .body-grid { grid-template-columns: 1fr; } }

/* feature grid (2x3) */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: clamp(36px, 6vw, 56px);
}
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }

.feat {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 22px 22px 22px;
  transition: border-color .15s ease, transform .15s ease;
}
.feat:hover { border-color: rgba(110,88,224,0.35); transform: translateY(-2px); }

.feat .num {
  font-family: var(--mono); font-size: 0.66rem;
  letter-spacing: 0.16em; color: var(--ink-4);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.feat strong {
  display: block;
  font-family: var(--serif); font-weight: 500;
  font-size: 1.1rem; line-height: 1.2;
  color: var(--ink); margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.feat span {
  display: block;
  font-size: 0.92rem; line-height: 1.5;
  color: var(--ink-3);
}

/* concept cards (URM) */
.concepts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: clamp(36px, 6vw, 56px);
}
@media (max-width: 700px) { .concepts { grid-template-columns: 1fr; } }
.concept {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 24px;
  transition: border-color .15s ease;
}
.concept:hover { border-color: rgba(61,91,204,0.4); }
.concept .sym {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--blue);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.concept strong {
  display: block;
  font-family: var(--serif); font-weight: 500;
  font-size: 1.15rem; color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.concept span {
  display: block;
  font-size: 0.94rem; line-height: 1.55;
  color: var(--ink-2);
}

/* tech stack pills */
.stack {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: clamp(20px, 4vw, 32px);
}
.stack-pill {
  font-family: var(--mono);
  font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 6px 12px;
}

/* meta strip */
.meta-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  margin-bottom: clamp(28px, 5vw, 44px);
  overflow: hidden;
}
@media (max-width: 700px) { .meta-strip { grid-template-columns: repeat(2, 1fr); } }
.meta-strip > div {
  padding: 18px 20px;
  border-right: 1px solid var(--rule);
}
.meta-strip > div:last-child { border-right: none; }
@media (max-width: 700px) {
  .meta-strip > div { border-right: none; border-bottom: 1px solid var(--rule); }
  .meta-strip > div:last-child, .meta-strip > div:nth-last-child(2) { border-bottom: none; }
  .meta-strip > div:nth-child(odd) { border-right: 1px solid var(--rule); }
}
.meta-strip .k {
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.10em; color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.meta-strip .v {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.1rem; color: var(--ink);
  letter-spacing: -0.01em;
}
.meta-strip .v.mono {
  font-family: var(--mono);
  font-size: 0.92rem;
  font-weight: 400;
}

/* URM dimensional emergence visual */
.urm-viz {
  background: #0B0B12;
  border-radius: 18px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 30px 60px -30px rgba(11,11,18,0.30);
  margin-bottom: clamp(28px, 5vw, 44px);
}
.urm-viz::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(closest-side, rgba(61,91,204,0.32), transparent 70%);
  pointer-events: none;
}
.urm-viz .viz-head {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; gap: 16px;
}
.urm-viz .viz-head .lbl {
  font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.16em; color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
.urm-viz .viz-head .formula {
  font-family: var(--serif); font-style: italic;
  color: rgba(255,255,255,0.85);
  font-size: 1.0rem;
}
.urm-viz .viz-head .formula em {
  color: #99AEFF; font-style: italic;
}
.urm-viz svg { width: 100%; height: auto; display: block; position: relative; }
.urm-viz .axis-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  margin-top: 10px;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  position: relative;
}
.urm-viz .axis-row .arrow {
  margin: 0 12px;
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0.25), rgba(110,132,242,0.55));
}

/* BEC simulation embed */
.urm-viz .viz-head .formula em {
  color: #99AEFF;
  font-style: italic;
}
.bec-stage {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(110,132,242,0.06) 0%, transparent 60%);
}
.bec-stage canvas {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  background: transparent;
}
.bec-overlay-corner {
  position: absolute;
  bottom: 12px; left: 14px;
  font-family: var(--mono); font-size: 0.66rem;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  pointer-events: none;
}
.bec-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; gap: 16px; flex-wrap: wrap;
}
.bec-status {
  font-family: var(--mono); font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.10em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.bec-status .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #FF5C5C;
  box-shadow: 0 0 10px rgba(255,92,92,0.6);
  animation: bec-pulse 1.5s ease-in-out infinite;
}
@keyframes bec-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 0.5;  transform: scale(0.85); }
}
.bec-launch {
  font-family: var(--mono); font-size: 0.72rem;
  color: #99AEFF;
  letter-spacing: 0.06em; text-transform: uppercase;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .15s ease;
}
.bec-launch:hover { color: #B0A0FF; }
.bec-launch svg { width: 14px; height: 9px; }
.bec-launch:hover svg { transform: translateX(3px); transition: transform .15s ease; }

@media (prefers-reduced-motion: reduce) {
  .bec-status .dot { animation: none; }
}

/* papers list */
.papers {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 6px 0;
  margin-bottom: clamp(28px, 5vw, 44px);
}
.papers .row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px; align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--rule-soft);
}
.papers .row:last-child { border-bottom: none; }
.papers .row .num {
  font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.10em; color: var(--ink-4);
  text-transform: uppercase;
}
.papers .row .name {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.0rem; color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.papers .row .name small {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.10em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-top: 4px;
}
.papers .row .ext {
  font-family: var(--mono); font-size: 0.7rem;
  color: var(--ink-3); font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.papers .row .ext a {
  color: var(--blue);
  transition: color .15s ease;
}
.papers .row .ext a:hover { color: var(--violet); }

@media (max-width: 600px) {
  .papers .row { grid-template-columns: 1fr auto; padding: 14px 18px; }
  .papers .row .num { display: none; }
}

/* =====================================================================
   ENGINEERING REPOSITIONING (homepage v2)
   New sections layered on top of the existing design system.
   ===================================================================== */

/* ---------- Hero: secondary meta line + ghost CTA ---------- */
.hero-eng .subtitle-meta {
  font-family: var(--mono);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin: -18px 0 30px;
}
.demo-video {
  display: block;
  width: 100%;
  height: auto;
  background: #0B0B12;
}
.demo-bar-link {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  transition: color .15s ease;
}
.demo-bar-link:hover { color: #B0A0FF; }

/* ============================================
   Homepage — engineering repositioning extras
   ============================================ */

/* Killer-line highlight (homepage hero + cyrena page hero) */
.hero-v2 .subtitle strong,
.page-hero .lede strong {
  color: var(--ink);
  font-weight: 600;
  background: linear-gradient(180deg, transparent 62%, rgba(110,88,224,0.18) 62%);
  padding: 0 2px;
}

/* V2 hero video frame replacing orbit */
.hero-video-wrap {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #0B0B12;
  border: 1px solid rgba(11,11,18,0.08);
  box-shadow:
    0 32px 70px -32px rgba(11,11,18,0.36),
    0 8px 24px -10px rgba(110,88,224,0.18);
  isolation: isolate;
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
  transform-origin: center;
  transition: transform .4s ease;
}
.hero-video-wrap:hover { transform: perspective(1400px) rotateY(-1deg) rotateX(0.5deg); }
@media (max-width: 900px) {
  .hero-video-wrap { transform: none; max-width: 560px; margin: 0 auto; }
  .hero-video-wrap:hover { transform: none; }
}
.hero-video-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.hero-video-bar .cyr-dots span { background: rgba(255,255,255,0.16); }
.hero-video-bar .cyr-dots span:nth-child(1) { background: #FF8E8E; }
.hero-video-bar .cyr-dots span:nth-child(2) { background: #F5C457; }
.hero-video-bar .cyr-dots span:nth-child(3) { background: #6FDDA9; }
.hero-video-label {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.01em;
}
.hero-video-link {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  transition: color .15s ease;
}
.hero-video-link:hover { color: #B0A0FF; }
.hero-video {
  display: block;
  width: 100%;
  height: auto;
  background: #0B0B12;
}

/* V2 Meet Cyréna: 6-card grid (3x2) */
.feat-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1000px) { .feat-grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .feat-grid-6 { grid-template-columns: 1fr; } }

/* V2 merged "Different + Is NOT" banner */
.diff-merged .diff-banner {
  margin-top: clamp(36px, 5vw, 56px);
  padding: 28px 32px;
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  border-radius: 14px;
  display: flex; gap: 22px; align-items: flex-start;
  position: relative;
  overflow: hidden;
}
.diff-merged .diff-banner::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: radial-gradient(closest-side, rgba(110,88,224,0.22), transparent 70%);
  pointer-events: none;
}
.diff-merged .diff-banner-tag {
  flex: none;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B0A0FF;
  padding: 6px 12px;
  background: rgba(110,88,224,0.18);
  border-radius: 999px;
  align-self: center;
  position: relative; z-index: 1;
}
.diff-merged .diff-banner p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.55;
  letter-spacing: -0.005em;
  position: relative; z-index: 1;
}
.diff-merged .diff-banner p strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-weight: 500;
  background: linear-gradient(110deg, #B0A0FF, #8C76EC);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@media (max-width: 700px) {
  .diff-merged .diff-banner { flex-direction: column; gap: 14px; padding: 24px 22px; }
  .diff-merged .diff-banner-tag { align-self: flex-start; }
}

/* ---------- Cyréna desktop UI mock (hero visual) ---------- */
.cyr-window {
  position: relative;
  background: #0B0B12;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 32px 70px -32px rgba(11,11,18,0.40),
    0 8px 24px -10px rgba(110,88,224,0.15);
  overflow: hidden;
  font-family: var(--mono);
  color: rgba(255,255,255,0.85);
  isolation: isolate;
  transform: perspective(1400px) rotateY(-3deg) rotateX(2deg);
  transform-origin: center;
  transition: transform .4s ease;
}
.cyr-window::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 80%; height: 90%;
  background: radial-gradient(closest-side, rgba(110,88,224,0.32), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.cyr-window:hover { transform: perspective(1400px) rotateY(-1.5deg) rotateX(1deg); }
@media (max-width: 900px) {
  .cyr-window { transform: none; max-width: 540px; margin: 0 auto; }
  .cyr-window:hover { transform: none; }
}

.cyr-bar {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.cyr-dots { display: flex; gap: 6px; }
.cyr-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,0.16);
}
.cyr-dots span:nth-child(1) { background: #FF8E8E; }
.cyr-dots span:nth-child(2) { background: #F5C457; }
.cyr-dots span:nth-child(3) { background: #6FDDA9; }
.cyr-path {
  font-size: 0.74rem; color: rgba(255,255,255,0.55);
  letter-spacing: 0.01em;
}
.cyr-state {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.cyr-state .led {
  width: 7px; height: 7px; border-radius: 50%;
  background: #6FDDA9;
  box-shadow: 0 0 0 3px rgba(111,221,169,0.18);
  animation: cyrPulse 2.6s ease-in-out infinite;
}
@keyframes cyrPulse { 50% { box-shadow: 0 0 0 6px rgba(111,221,169,0.06); } }

.cyr-body {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  min-height: 360px;
}
@media (max-width: 600px) { .cyr-body { grid-template-columns: 1fr; min-height: 0; } }

.cyr-side {
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 18px 14px;
  display: flex; flex-direction: column; gap: 14px;
  background: rgba(255,255,255,0.015);
}
@media (max-width: 600px) { .cyr-side { display: none; } }

.cyr-side-h {
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding: 0 6px;
  margin-top: 4px;
}
.cyr-projects, .cyr-memory {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.cyr-projects li {
  display: grid; grid-template-columns: 16px 1fr auto;
  align-items: center; gap: 8px;
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.65);
  cursor: default;
  transition: background .15s ease, color .15s ease;
}
.cyr-projects li:hover { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.85); }
.cyr-projects li.is-active {
  background: rgba(110,88,224,0.18);
  color: #fff;
  box-shadow: inset 2px 0 0 #B0A0FF;
}
.cyr-projects li .meta {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}
.cyr-projects li .ico {
  width: 12px; height: 12px; border-radius: 3px;
  background: rgba(255,255,255,0.15);
}
.cyr-projects li .ico.ico-net { background: #6E84F2; }
.cyr-projects li .ico.ico-mcu { background: #F5A95C; }
.cyr-projects li .ico.ico-web { background: #6FDDA9; }
.cyr-projects li .ico.ico-doc { background: #B0A0FF; }

.cyr-memory li {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
}
.cyr-memory li .tag {
  font-size: 0.58rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(110,88,224,0.18);
  color: #B0A0FF;
}

.cyr-main {
  padding: 18px 22px 16px;
  display: flex; flex-direction: column; gap: 14px;
  min-width: 0;
}

.cyr-prompt {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  font-size: 0.78rem;
  line-height: 1.5;
  display: flex; flex-direction: column; gap: 6px;
}
.cyr-prompt-label {
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: #B0A0FF;
}
.cyr-prompt-text { color: rgba(255,255,255,0.85); }
.cyr-prompt-text code {
  background: rgba(110,88,224,0.18);
  padding: 1px 6px;
  border-radius: 3px;
  color: #fff;
  font-size: 0.74rem;
}
.cursor {
  display: inline-block; width: 7px; height: 13px;
  background: #B0A0FF;
  margin-left: 4px;
  vertical-align: -2px;
  animation: cyrBlink 1s steps(2) infinite;
}
@keyframes cyrBlink { 50% { opacity: 0; } }

.cyr-code {
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  flex: 1;
  overflow: hidden;
}
.cyr-code .ln {
  display: grid; grid-template-columns: 28px 1fr; gap: 10px;
  padding: 0 4px;
  border-radius: 3px;
}
.cyr-code .ln .n { color: rgba(255,255,255,0.25); text-align: right; user-select: none; }
.cyr-code .ln.add {
  background: rgba(111,221,169,0.10);
  box-shadow: inset 2px 0 0 #6FDDA9;
}
.cyr-code .ln.add .n { color: #6FDDA9; font-weight: 500; }
.cyr-code .k { color: #B0A0FF; }
.cyr-code .t { color: #6E84F2; }
.cyr-code .f { color: #F5C457; }
.cyr-code .s { color: #6FDDA9; }

.cyr-status {
  display: flex; align-items: center; gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.66rem;
  flex-wrap: wrap;
}
.cyr-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}
.cyr-pill .d { width: 6px; height: 6px; border-radius: 50%; background: #B0A0FF; }
.cyr-pill .d.g { background: #6FDDA9; }
.cyr-spacer { flex: 1; }
.cyr-meta {
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
  font-size: 0.64rem;
  text-align: right;
}
@media (max-width: 600px) { .cyr-meta { display: none; } }

/* ---------- "What we actually do" two-column body ---------- */
.actually-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
@media (max-width: 900px) { .actually-grid { grid-template-columns: 1fr; } }

.actually-body p {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 18px;
  max-width: 56ch;
}
.actually-body p:last-child { margin-bottom: 0; color: var(--ink); font-weight: 500; }

.actually-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 26px 26px 22px;
  position: relative;
  overflow: hidden;
}
.actually-card::before {
  content: "";
  position: absolute; inset: 0 auto 0 0;
  width: 3px;
  background: var(--grad);
}
.actually-card-h {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 16px;
}
.actually-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.actually-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.97rem;
  color: var(--ink-2);
  line-height: 1.45;
}
.actually-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--grad);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* ---------- Meet Cyréna: feature grid 2x2 ---------- */
.meet {
  padding: clamp(80px, 12vh, 140px) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 800px) { .feat-grid { grid-template-columns: 1fr; } }

.feat {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 30px 28px 28px;
  position: relative;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column; gap: 14px;
}
.feat:hover {
  transform: translateY(-3px);
  border-color: rgba(110,88,224,0.4);
  box-shadow: 0 14px 40px -22px rgba(11,11,18,0.18);
}
.feat-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--violet);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.feat-num::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(to right, var(--rule), transparent);
}
.feat h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.01em;
  margin: 0; color: var(--ink);
}
.feat p {
  font-size: 0.96rem; line-height: 1.55; color: var(--ink-2);
  margin: 0;
  flex: 1;
}
.feat-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: 4px;
}
.feat-tags span {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.10em;
  color: var(--ink-3);
  background: var(--bg-3);
  border: 1px solid var(--rule);
  padding: 4px 9px;
  border-radius: 999px;
  text-transform: lowercase;
}

/* ---------- Why we built it ---------- */
.why { padding: clamp(80px, 12vh, 140px) 0; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 800px) { .why-grid { grid-template-columns: 1fr; } }

.why-col {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px 26px;
}
.why-h {
  font-family: var(--mono);
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.why-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.why-list li {
  position: relative;
  padding-left: 30px;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.why-list.good li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(111,221,169,0.18);
  border: 1px solid rgba(46,194,126,0.45);
}
.why-list.good li::after {
  content: "";
  position: absolute; left: 5px; top: 11px;
  width: 8px; height: 4px;
  border-left: 1.6px solid #2a8e63;
  border-bottom: 1.6px solid #2a8e63;
  transform: rotate(-45deg);
}
.why-list.bad li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,142,142,0.16);
  border: 1px solid rgba(239,95,95,0.4);
}
.why-list.bad li::after {
  content: "×";
  position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: #c44;
}
.why-close {
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
}

/* ---------- "How we use it" — 5-column phases override ---------- */
.phases-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) {
  .phases-5 { grid-template-columns: repeat(2, 1fr); }
  .phases-5 .phase:nth-child(2n) { border-right: none; }
  .phases-5 .phase { border-bottom: 1px solid var(--rule); }
  .phases-5 .phase:nth-last-child(-n+1):nth-child(odd) { border-bottom: none; }
}
@media (max-width: 600px) {
  .phases-5 { grid-template-columns: 1fr; }
  .phases-5 .phase { border-right: none; border-bottom: 1px solid var(--rule); }
  .phases-5 .phase:last-child { border-bottom: none; }
}

/* ---------- "Different" 6-card grid ---------- */
.diff {
  padding: clamp(80px, 12vh, 140px) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .diff-grid { grid-template-columns: 1fr; } }

.diff-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 26px 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.diff-card:hover {
  transform: translateY(-3px);
  border-color: rgba(110,88,224,0.4);
  box-shadow: 0 12px 32px -22px rgba(11,11,18,0.18);
}
.diff-ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--grad-soft);
  color: var(--violet);
  display: inline-flex; align-items: center; justify-content: center;
}
.diff-ico svg { width: 19px; height: 19px; }
.diff-card h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.18rem; line-height: 1.25; letter-spacing: -0.01em;
  margin: 0; color: var(--ink);
}
.diff-card p {
  font-size: 0.93rem; line-height: 1.55; color: var(--ink-2);
  margin: 0;
}

/* ---------- "What Cyréna is NOT" ---------- */
.isnot {
  padding: clamp(80px, 12vh, 140px) 0;
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.isnot::before {
  content: "";
  position: absolute;
  top: -200px; left: -160px;
  width: 600px; height: 600px;
  background: radial-gradient(closest-side, rgba(110,88,224,0.18), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.isnot::after {
  content: "";
  position: absolute;
  bottom: -200px; right: -160px;
  width: 540px; height: 540px;
  background: radial-gradient(closest-side, rgba(61,91,204,0.14), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.isnot .wrap { position: relative; z-index: 1; }
.isnot-head { margin-bottom: clamp(40px, 6vw, 64px); }
.isnot-head .label { color: rgba(255,255,255,0.5); }
.isnot-head .label::before { background: #B0A0FF; }
.isnot-head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05; letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}
.isnot-head h2 em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(110deg, #B0A0FF, #8C76EC);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.isnot-list {
  list-style: none; padding: 0;
  margin: 0 0 clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 700px) { .isnot-list { grid-template-columns: 1fr; } }

.isnot-list li {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--serif);
  font-size: 1.18rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.01em;
  transition: color .2s ease, transform .2s ease;
}
.isnot-list li:hover { color: #fff; transform: translateX(4px); }
.isnot-list li:hover .x {
  background: rgba(239, 95, 95, 0.18);
  border-color: rgba(239,95,95,0.5);
  color: #FF8E8E;
}
.isnot-list li .x {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.55);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 1.1rem;
  flex: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.isnot-close {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.35;
  color: rgba(255,255,255,0.92);
  margin: 0;
  max-width: 56ch;
  border-left: 2px solid #B0A0FF;
  padding-left: 22px;
}

/* ---------- Vision (statement override) ---------- */
.vision .vision-sub {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch;
  margin: clamp(28px, 4vw, 40px) 0 0;
}

/* ---------- Technology domains ---------- */
.domains { padding: clamp(80px, 12vh, 140px) 0; }
.domain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .domain-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .domain-grid { grid-template-columns: 1fr; } }

.domain-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 26px 24px 22px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.domain-card:hover {
  transform: translateY(-3px);
  border-color: rgba(110,88,224,0.4);
  box-shadow: 0 12px 32px -22px rgba(11,11,18,0.18);
}
.domain-h { display: flex; flex-direction: column; gap: 12px; }
.domain-tag {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  background: var(--grad-soft);
  padding: 4px 10px;
  border-radius: 4px;
  align-self: flex-start;
}
.domain-card h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.18rem; line-height: 1.2;
  margin: 0; color: var(--ink);
  letter-spacing: -0.01em;
}
.domain-card ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  border-top: 1px solid var(--rule-soft);
  padding-top: 14px;
}
.domain-card ul li {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}

/* ---------- Demos placeholder ---------- */
.demos {
  padding: clamp(80px, 12vh, 140px) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}
.demo-frame {
  background: #0B0B12;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(11,11,18,0.30);
}
.demo-embed {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #0B0B12;
}
.demo-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.demo-label {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: rgba(255,255,255,0.55);
}
.demo-stage {
  position: relative;
  aspect-ratio: 16 / 8;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(110,88,224,0.15), transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(61,91,204,0.12), transparent 60%),
    #0B0B12;
}
.demo-play {
  width: 76px; height: 76px;
  border-radius: 50%;
  border: 1.5px solid rgba(176,160,255,0.5);
  background: rgba(110,88,224,0.18);
  color: #B0A0FF;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 12px rgba(110,88,224,0.06);
  animation: demoPulse 2.6s ease-in-out infinite;
}
.demo-play svg { width: 30px; height: 30px; transform: translateX(2px); }
@keyframes demoPulse {
  50% { box-shadow: 0 0 0 18px rgba(110,88,224,0.03); }
}
.demo-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
}
.demo-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  max-width: 580px;
}
.demo-list li {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Philosophy (statement override) ---------- */
.philo .philo-list {
  list-style: none; padding: 0;
  margin: clamp(32px, 4vw, 44px) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 28px;
  max-width: 760px;
}
@media (max-width: 800px) { .philo .philo-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .philo .philo-list { grid-template-columns: 1fr; } }
.philo .philo-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.45;
}
.philo .philo-list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--violet);
}

/* ---------- Final CTA ---------- */
.final-cta { padding: clamp(80px, 12vh, 140px) 0; }
.final-cta-card {
  background: var(--ink);
  color: #fff;
  border-radius: 22px;
  padding: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.final-cta-card::before {
  content: "";
  position: absolute;
  top: -160px; right: -160px;
  width: 480px; height: 480px;
  background: radial-gradient(closest-side, rgba(110,88,224,0.32), transparent 70%);
  pointer-events: none;
}
.final-cta-card::after {
  content: "";
  position: absolute;
  bottom: -160px; left: -160px;
  width: 420px; height: 420px;
  background: radial-gradient(closest-side, rgba(61,91,204,0.18), transparent 70%);
  pointer-events: none;
}
@media (max-width: 900px) { .final-cta-card { grid-template-columns: 1fr; } }

.final-cta-body { position: relative; z-index: 1; }
.final-cta-body .label {
  font-family: var(--mono);
  font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); font-weight: 500;
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
}
.final-cta-body .label::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #B0A0FF;
}
.final-cta-body h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05; letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 18px;
  max-width: 18ch;
}
.final-cta-body h2 em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(110deg, #B0A0FF, #8C76EC);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.final-cta-body p {
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 0;
  max-width: 50ch;
}
.final-cta-actions {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 12px; align-items: stretch;
}
.final-cta-actions .btn {
  justify-content: center;
}
.final-cta-actions .btn.ghost {
  background: transparent;
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.18);
}
.final-cta-actions .btn.ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.final-cta-actions .btn:not(.ghost) {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.final-cta-actions .btn:not(.ghost):hover {
  background: var(--violet-2);
  border-color: var(--violet-2);
  color: #fff;
}

/* ---------- Engineering footer ---------- */
.foot-eng {
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  padding: clamp(50px, 8vw, 80px) 0 28px;
}
.foot-eng .foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 56px);
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 22px;
}
@media (max-width: 900px) { .foot-eng .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot-eng .foot-grid { grid-template-columns: 1fr; gap: 32px; } }

.foot-brand .foot-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-weight: 500; font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 14px;
}
.foot-brand .foot-logo img { width: 26px; height: 22px; object-fit: contain; }
.foot-brand p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 36ch;
}
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col .foot-h {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.foot-col a {
  font-size: 0.95rem;
  color: var(--ink-2);
  transition: color .15s ease;
}
.foot-col a:hover { color: var(--violet); }
.foot-col .nav-cyrena {
  padding-left: 0;
  padding-right: 0;
  align-self: flex-start;
}

.foot-eng .foot-base {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink-3);
}
@media (max-width: 600px) { .foot-eng .foot-base { flex-direction: column; align-items: flex-start; gap: 10px; } }

.foot-eng .lekker-link {
  color: #E07A3A;
  font-weight: 600;
  transition: color .15s ease;
}
.foot-eng .lekker-link:hover {
  color: #C56528;
  text-decoration: underline;
}

/* All dark sections on the homepage share the workstation parallax —
   page scrolls over a fixed background image. Overlay strength varies
   per section based on text density / readability needs. */
.statement {
  background:
    linear-gradient(rgba(11,11,18,0.62), rgba(11,11,18,0.78)),
    url('images/MAIN.jpg') center/cover no-repeat,
    var(--ink);
  background-attachment: fixed;
}
.diff-merged .diff-banner {
  background:
    linear-gradient(rgba(11,11,18,0.74), rgba(11,11,18,0.85)),
    url('images/MAIN.jpg') center/cover no-repeat,
    var(--ink);
  background-attachment: fixed;
}
.final-cta-card {
  background:
    linear-gradient(rgba(11,11,18,0.80), rgba(11,11,18,0.88)),
    url('images/MAIN.jpg') center/cover no-repeat,
    var(--ink);
  background-attachment: fixed;
}
/* iOS Safari renders fixed-attachment poorly — fall back gracefully */
@media (max-width: 700px) {
  .statement,
  .diff-merged .diff-banner,
  .final-cta-card { background-attachment: scroll; }
}

/* "In the wild" proof — fixed-attachment parallax band, page scrolls over the image */
.proof {
  position: relative;
  padding: clamp(80px, 13vh, 150px) 0;
  background-image:
    linear-gradient(rgba(11,11,18,0.60), rgba(11,11,18,0.72)),
    url('images/MAIN.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.proof-content {
  max-width: 720px;
  margin: 0 auto;
}
.proof-content .label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}
.proof-content h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}
.proof-content h2 em {
  font-style: italic;
  background: linear-gradient(110deg, #B0A0FF, #8C76EC);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  padding: 0 0.10em;
  margin: 0 -0.05em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* iOS Safari can't render fixed-attachment correctly — fall back gracefully */
@media (max-width: 700px) {
  .proof { background-attachment: scroll; }
}

/* Cyréna page — "On your hardware" 3-up image grid */
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 800px) { .hardware-grid { grid-template-columns: 1fr; } }
.hardware-grid figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #0B0B12;
  border: 1px solid var(--rule);
  position: relative;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.hardware-grid figure:hover {
  transform: translateY(-3px);
  border-color: rgba(110,88,224,0.4);
  box-shadow: 0 14px 40px -22px rgba(11,11,18,0.30);
}
.hardware-grid figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.hardware-grid figcaption {
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: #fff;
  border-top: 1px solid var(--rule-soft);
}
