/* ==========================================================================
   Neuma Labs — design system
   Quiet type, one burgundy accent, disciplined spacing.
   ========================================================================== */

:root {
  --bg: #f8f8f8;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --ink-2: #444444;
  --ink-3: #666666;
  --ink-unlit: #999999;
  --line: rgba(0, 0, 0, 0.08);

  --night: #0f0a0c;
  --panel-dark: #150d11;

  --accent: #7d1d3f;          /* burgundy */
  --accent-hover: #64162f;
  --accent-soft: rgba(125, 29, 63, 0.08);
  --rose: #c2496b;
  --copper: #e08a6d;
  --champagne: #f0c9a8;

  --wrap: 1224px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 9vw, 120px);
  --radius: 12px;
  --radius-s: 8px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.4; letter-spacing: -0.03em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(125, 29, 63, 0.18); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.section { padding: var(--section) 0; }
.white { background: var(--surface); }

/* Section titles — letters fill from grey to ink as you scroll (lead line stays ink) */
.title {
  font-size: clamp(30px, 2.8vw, 40px); line-height: 1.2; letter-spacing: -0.075em; font-weight: 400;
  color: var(--ink-unlit);
}
.title .word { display: inline-block; white-space: nowrap; }
.title .ch { color: var(--ink-unlit); transition: color 0.18s linear; }
.title .ch.lead, .title .ch.lit { color: var(--ink); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: var(--radius-s);
  font-size: 16px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.btn svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-light, .btn-white { background: #fff; color: var(--ink); }
.btn-light:hover, .btn-white:hover { background: #f1eef0; }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.btn-ghost-light:hover { border-color: #fff; }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav { position: fixed; inset: 16px 0 auto; z-index: 100; padding: 0 var(--gutter); pointer-events: none; }
.nav-bar {
  pointer-events: auto; position: relative;
  max-width: var(--wrap); margin: 0 auto; height: 56px; padding: 0 8px 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav-left { display: flex; align-items: center; gap: 36px; }
.nav-logo { position: relative; display: block; width: 104px; height: 16px; flex: none; }
.nav-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity 0.3s; }
.nav-logo .logo-white { opacity: 0; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 6px; font-size: 15px; color: var(--ink-3); transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

.nav.on-dark .nav-bar {
  background: rgba(36, 10, 22, 0.38); border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px -12px rgba(0, 0, 0, 0.4);
}
.nav.on-dark .logo-black { opacity: 0; }
.nav.on-dark .logo-white { opacity: 1; }
.nav.on-dark .nav-links a { color: rgba(255, 255, 255, 0.72); }
.nav.on-dark .nav-links a:hover, .nav.on-dark .nav-links a[aria-current="page"] { color: #fff; }
.nav.on-dark .nav-toggle { color: #fff; }

.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 0.35s var(--ease); }
.nav-toggle span { position: relative; transform: translateY(-3px); }
.nav-toggle span::before { content: ""; position: absolute; top: 6px; }
.nav.open .nav-toggle span { transform: rotate(45deg); }
.nav.open .nav-toggle span::before { transform: translateY(-6px) rotate(-90deg); }

.nav-sheet {
  pointer-events: auto; max-width: var(--wrap); margin: 8px auto 0; padding: 8px;
  border-radius: var(--radius); background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.06); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; transform: translateY(-6px); visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s;
}
.nav-sheet a:not(.btn) { display: block; padding: 14px 12px; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav-sheet .btn { width: 100%; margin-top: 10px; }
.nav.open .nav-sheet { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }

@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 761px) { .nav-sheet { display: none; } }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(640px, 100svh, 960px);
  display: flex; flex-direction: column; justify-content: center;
  color: #fff; background: #1a0a12;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; transform: scale(1.04); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(24, 7, 15, 0.94) 0%, rgba(56, 13, 31, 0.82) 30%, rgba(96, 25, 50, 0.38) 58%, rgba(60, 16, 34, 0.06) 82%),
    linear-gradient(180deg, rgba(15, 6, 10, 0.55) 0%, rgba(15, 6, 10, 0) 22%, rgba(15, 6, 10, 0) 70%, rgba(15, 6, 10, 0.7) 100%);
}
.hero-shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(120, 26, 56, 0.32), rgba(120, 26, 56, 0.1) 70%); mix-blend-mode: multiply; }
.hero-inner { padding-top: 120px; padding-bottom: 96px; }
.hero-title { max-width: 820px; font-size: clamp(42px, 4.8vw, 69px); line-height: 1; letter-spacing: -0.03em; font-weight: 500; }
.hero-lead { max-width: 600px; margin-top: 24px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.82); letter-spacing: -0.01em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-foot {
  position: absolute; left: 0; right: 0; bottom: 32px;
  display: flex; align-items: center; gap: 14px;
  font-size: 15px; color: rgba(255, 255, 255, 0.62);
}
.hero-foot::before { content: ""; width: 28px; height: 1px; background: rgba(255, 255, 255, 0.4); }

.rise { opacity: 0; transform: translateY(24px); animation: rise 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 700px) {
  .hero-shade { background: linear-gradient(180deg, rgba(24, 7, 15, 0.78) 0%, rgba(56, 13, 31, 0.6) 45%, rgba(20, 6, 12, 0.92) 100%); }
  .hero-media img { object-position: 30% 50%; }
}

/* --------------------------------------------------------------------------
   Services — tabs + panel
   -------------------------------------------------------------------------- */

.tabs { display: flex; margin-top: 40px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: none; padding: 14px 20px; font-size: 16px; color: var(--ink-3); white-space: nowrap; transition: color 0.2s; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform 0.35s var(--ease); }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--accent); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }

.panels { margin-top: 24px; }
.panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: 16px; background: var(--surface); border-radius: var(--radius);
}
.panel[hidden] { display: none; }
.panel.in .panel-body > * { animation: fadeUp 0.6s var(--ease) both; }
.panel.in .panel-body > :nth-child(2) { animation-delay: 0.05s; }
.panel.in .panel-body > :nth-child(3) { animation-delay: 0.1s; }
.panel.in .panel-body > :nth-child(4) { animation-delay: 0.15s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.panel-viz {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 420px; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-s);
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(110% 80% at 10% 0%, rgba(150, 34, 72, 0.4), transparent 55%),
    radial-gradient(90% 70% at 100% 100%, rgba(224, 138, 109, 0.16), transparent 60%),
    var(--panel-dark);
}
.panel-viz::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}
.panel-viz > .viz { width: 100%; max-width: 440px; }
.panel-viz > .v-vr { position: absolute; inset: 0; height: auto; border-radius: 0; background: radial-gradient(ellipse at 50% 120%, rgba(194, 73, 107, 0.32), transparent 60%); }
.panel-viz .cube { top: 36%; }

.panel-body { padding: 16px 32px 16px 0; }
.panel-body h3 { font-size: clamp(22px, 1.8vw, 24px); line-height: 1.25; letter-spacing: -0.04em; max-width: 420px; }
.panel-body p { margin-top: 14px; color: var(--ink-3); line-height: 1.45; max-width: 480px; }
.checklist { margin: 24px 0 32px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.3; color: var(--ink-3); }
.checklist li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}

@media (max-width: 900px) {
  .panel { grid-template-columns: 1fr; }
  .panel-viz { min-height: 300px; }
  .panel-body { padding: 8px 8px 16px; }
}

/* --------------------------------------------------------------------------
   Service visuals — dark panels, burgundy / rose / champagne
   -------------------------------------------------------------------------- */

.viz { position: relative; }
.viz svg { width: 100%; height: auto; overflow: visible; }

.v-flow .node { fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0.16); }
.v-flow .node.on { fill: var(--accent); stroke: var(--rose); }
.v-flow text { font: 500 12px var(--font); fill: rgba(255, 255, 255, 0.75); letter-spacing: -0.02em; }
.v-flow text.on { fill: #fff; }
.v-flow .edge { stroke: rgba(230, 150, 170, 0.5); stroke-width: 1.5; fill: none; stroke-dasharray: 4 5; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }

.v-web { border-radius: 12px; overflow: hidden; background: #1b1216; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.7); }
.v-web .bar { height: 26px; display: flex; gap: 5px; align-items: center; padding: 0 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.v-web .bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.v-web .pg { padding: 18px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: center; }
.v-web .blk { border-radius: 5px; background: rgba(255, 255, 255, 0.1); height: 8px; }
.v-web .blk.h { height: 14px; width: 90%; background: rgba(255, 255, 255, 0.92); }
.v-web .blk.h2 { height: 14px; width: 64%; background: rgba(255, 255, 255, 0.92); margin-top: 6px; }
.v-web .blk.s { width: 80%; margin-top: 12px; }
.v-web .blk.s2 { width: 60%; margin-top: 6px; }
.v-web .cta { width: 64px; height: 20px; border-radius: 5px; background: var(--rose); margin-top: 14px; }
.v-web .img { aspect-ratio: 4 / 3; border-radius: 8px; background: linear-gradient(135deg, rgba(194, 73, 107, 0.22), rgba(224, 138, 109, 0.16) 50%, rgba(240, 201, 168, 0.14)); position: relative; overflow: hidden; }
.v-web .img::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: linear-gradient(120deg, var(--rose), var(--copper), var(--champagne)); filter: blur(6px); opacity: 0.85; animation: breathe 5s var(--ease-in-out) infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: 1; } }
.v-web .row3 { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.v-web .row3 i { height: 40px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); }
.viz .cursor { position: absolute; width: 18px; height: 18px; left: 58%; top: 50%; animation: cursor 6s var(--ease-in-out) infinite; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)); }
.cursor path { fill: #fff; stroke: #0a0a0f; }
@keyframes cursor { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(-120px, 10px); } 45% { transform: translate(-120px, 10px) scale(0.85); } 55% { transform: translate(-120px, 10px); } 80% { transform: translate(30px, 60px); } }

.v-saas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v-saas .card { padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); }
.v-saas small { display: block; font-size: 11px; color: rgba(255, 255, 255, 0.45); }
.v-saas strong { display: block; margin-top: 4px; font-size: 21px; font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.v-saas .bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 12px; }
.v-saas .bars i { flex: 1; border-radius: 3px 3px 1px 1px; background: rgba(255, 255, 255, 0.12); transform-origin: bottom; transform: scaleY(0.2); transition: transform 1.2s var(--ease); }
.v-saas .bars i:last-child { background: linear-gradient(180deg, var(--champagne), var(--rose)); }
.in .v-saas .bars i { transform: scaleY(1); }
.v-saas .tenants { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; }
.v-saas .tenant { display: flex; align-items: center; gap: 10px; font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.v-saas .tenant b { width: 22px; height: 22px; border-radius: 6px; flex: none; }
.v-saas .tenant .meter { flex: 1; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.v-saas .tenant .meter i { display: block; height: 100%; border-radius: inherit; background: rgba(255, 255, 255, 0.5); transform-origin: left; transform: scaleX(0); transition: transform 1.4s 0.3s var(--ease); }
.in .v-saas .tenant .meter i { transform: scaleX(1); }
.v-saas .status { font-size: 11px; color: #9fe3bd; display: inline-flex; align-items: center; gap: 6px; }
.v-saas .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }

.v-consult { display: flex; align-items: center; justify-content: center; gap: 28px; }
.ring { position: relative; width: 132px; height: 132px; flex: none; }
.ring svg { transform: rotate(-90deg); }
.ring .track { stroke: rgba(255, 255, 255, 0.08); }
.ring .val { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 302; stroke-dashoffset: 302; transition: stroke-dashoffset 1.8s 0.2s var(--ease); }
.in .ring .val { stroke-dashoffset: 42; }
.ring strong { position: absolute; inset: 0; display: grid; place-items: center; font-size: 28px; font-weight: 600; letter-spacing: -0.04em; color: #fff; }
.checks { display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.checks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }

.v-vr { position: relative; height: 190px; perspective: 700px; overflow: hidden; }
.v-vr .floor {
  position: absolute; left: -50%; right: -50%; bottom: -40%; height: 120%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 34px 34px; transform: rotateX(72deg); animation: floor 4s linear infinite;
  mask-image: linear-gradient(to top, #000 10%, transparent 80%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 80%);
}
@keyframes floor { to { background-position: 0 34px; } }
.cube { position: absolute; left: 50%; top: 32%; width: 72px; height: 72px; margin-left: -36px; transform-style: preserve-3d; animation: cube 14s linear infinite; }
.cube i { position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, 0.5); background: linear-gradient(135deg, rgba(194, 73, 107, 0.38), rgba(224, 138, 109, 0.15)); }
.cube i:nth-child(1) { transform: translateZ(36px); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(36px); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(36px); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(36px); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(36px); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(36px); }
@keyframes cube { from { transform: rotateX(-22deg) rotateY(0deg); } 50% { transform: rotateX(-22deg) rotateY(180deg) translateY(-10px); } to { transform: rotateX(-22deg) rotateY(360deg); } }
.v-vr .shadow { position: absolute; left: 50%; top: 72%; width: 100px; height: 16px; margin-left: -50px; border-radius: 50%; background: rgba(194, 73, 107, 0.45); filter: blur(10px); }

.v-ai { display: flex; flex-direction: column; gap: 10px; }
.v-ai .q, .v-ai .a { max-width: 90%; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; letter-spacing: -0.02em; }
.v-ai .q { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.v-ai .a { align-self: flex-start; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.75); border-bottom-left-radius: 4px; }
.v-ai .a b { color: #fff; font-weight: 600; }
.v-ai .src { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.v-ai .src span { font-size: 11px; padding: 3px 8px; border-radius: 99px; background: rgba(194, 73, 107, 0.22); color: #f4c6d2; }
.v-ai .meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.orb { width: 18px; height: 18px; border-radius: 50%; flex: none; background: conic-gradient(from 0deg, var(--rose), var(--copper), var(--champagne), var(--rose)); animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   Why Neuma — photo per reason + cycling list
   -------------------------------------------------------------------------- */

.why {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: stretch;
  margin-top: 40px; padding: 16px; background: var(--bg); border-radius: var(--radius);
}
.why-visual { position: relative; overflow: hidden; border-radius: var(--radius-s); min-height: 460px; background: #e9e4e6; }
.why-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity 0.8s var(--ease), transform 1.4s var(--ease);
}
.why-img.is-active { opacity: 1; transform: none; }

.why-list { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 32px 32px 32px 0; }
.why-items { display: grid; gap: 8px; }
.why-item {
  text-align: left; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.3; letter-spacing: -0.05em; font-weight: 400;
  color: var(--ink-unlit); transition: color 0.35s var(--ease);
}
.why-item:hover { color: var(--ink-3); }
.why-item.is-active { color: var(--ink); }
.why-detail { position: relative; max-width: 440px; }
.why-text { display: none; color: var(--ink-3); line-height: 1.45; }
.why-text.is-active { display: block; animation: fadeUp 0.5s var(--ease) both; }
.why-progress { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.why-progress .seg { height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.why-progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.why-progress i.done { transform: scaleX(1); }
.why-progress i.run { animation: progress var(--cycle, 4s) linear forwards; }
.is-paused .why-progress i.run { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

@media (max-width: 900px) {
  .why { grid-template-columns: 1fr; }
  .why-visual { min-height: 0; aspect-ratio: 4 / 3; }
  .why-list { padding: 8px 8px 16px; gap: 28px; }
}

/* --------------------------------------------------------------------------
   CTA band + footer
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: clamp(80px, 10vw, 128px) 0;
  background:
    radial-gradient(70% 120% at 15% 0%, rgba(224, 120, 140, 0.32), transparent 60%),
    linear-gradient(115deg, #2a0915 0%, #5e1530 42%, #8a2346 76%, #a9435d 100%);
}
.cta-inner { position: relative; }
.cta-band h2 { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.2; letter-spacing: -0.05em; max-width: 620px; margin: 0 auto; }
.cta-band p { margin: 16px auto 0; max-width: 520px; color: rgba(255, 255, 255, 0.8); line-height: 1.45; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

.footer { background: var(--night); color: rgba(255, 255, 255, 0.6); font-size: 15px; padding: 48px 0 32px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo { width: 116px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; font-size: 13px; color: rgba(255, 255, 255, 0.4); }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, 0.08); }
.footer-bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.page-head {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(160px, 20vh, 210px) 0 clamp(72px, 9vw, 112px);
  background:
    radial-gradient(70% 90% at 85% 0%, rgba(150, 34, 72, 0.45), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(224, 138, 109, 0.12), transparent 60%),
    linear-gradient(180deg, #140a0e 0%, #1c0d14 100%);
}
.page-head .kicker { font-size: 15px; color: #e48aa3; font-weight: 500; }
.page-head h1 { margin-top: 16px; max-width: 760px; font-size: clamp(40px, 4.8vw, 69px); line-height: 1; letter-spacing: -0.03em; }
.page-head p { margin-top: 24px; max-width: 600px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.75); letter-spacing: -0.01em; }

.story { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.story-body p { line-height: 1.6; color: var(--ink-3); }
.story-body p + p { margin-top: 18px; }
.story-body a { color: var(--accent); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

.founders { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.founder { padding: 12px 12px 20px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.portrait {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-s); overflow: hidden;
  display: grid; place-items: center;
  background: radial-gradient(100% 80% at 20% 0%, var(--c1, #7d1d3f), transparent 65%), radial-gradient(100% 80% at 100% 100%, var(--c2, #5a2a1c), transparent 60%), var(--panel-dark);
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 0.8s var(--ease); }
.founder:hover .portrait img { transform: scale(1.03); }
.founder .info { padding: 18px 8px 0; }
.founder .role { font-size: 13px; color: var(--accent); font-weight: 500; }
.founder h3 { margin-top: 4px; font-size: 19px; letter-spacing: -0.04em; }
.founder .edu { margin-top: 14px; display: grid; gap: 10px; }
.founder .edu li { display: flex; flex-direction: column; font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.founder .edu .inst { font-size: 13px; color: var(--ink-3); }
@media (max-width: 1020px) { .founders { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .founders { grid-template-columns: 1fr; } .portrait { aspect-ratio: 16 / 10; } }

/* --------------------------------------------------------------------------
   Reveal — fade up 24px on entry
   -------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .rise { opacity: 1; transform: none; animation: none; }
.no-js .title { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .rise { opacity: 1; transform: none; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav-bar { background: rgba(255, 255, 255, 0.96); }
  .nav.on-dark .nav-bar { background: rgba(40, 12, 24, 0.92); }
}
