@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.35s ease both vt-out; }
::view-transition-new(root) { animation: 0.45s ease both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

@property --sv-mx { syntax: "<percentage>"; inherits: false; initial-value: 18%; }
@property --sv-my { syntax: "<percentage>"; inherits: false; initial-value: 28%; }

:root {
  --sv-bg: #0D1117;
  --sv-bg-deep: #090C11;
  --sv-surface: #161B26;
  --sv-surface-alt: #1C2333;
  --sv-line: #2F3A4F;
  --sv-tone: #A78BFA;
  --sv-tone-hover: #C4B5FD;
  --sv-head: #5B21B6;
  --sv-head-deep: #3B1A7A;
  --sv-sky: #7DD3FC;
  --sv-ink: #E6EDF3;
  --sv-muted: #A3ADBB;
  --sv-ink-dark: #0D1117;
  --sv-gradient: linear-gradient(135deg, #5B21B6 0%, #2E1065 48%, #0D1117 100%);
  --sv-glow: rgba(167, 139, 250, 0.35);
  --sv-radius: 16px;
  --sv-radius-sm: 12px;
  --sv-shadow: 0 22px 48px -14px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(167, 139, 250, 0.10);
  --sv-section-pad: 10dvh;
  --font-display: 'Archivo Black', sans-serif;
  --font-body: 'Work Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--sv-bg);
  color: var(--sv-ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--sv-tone); }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.1rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.9rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.sv-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sv-inner-max { max-width: 1200px; margin: 0 auto; }
.sv-pad-block { padding: var(--sv-section-pad) 1.25rem; }

.sv-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sv-tone);
  margin-bottom: 1rem;
}

.sv-lede { font-size: 1.15rem; color: var(--sv-muted); max-width: 42rem; }

/* ---------- Header ---------- */
.sv-hdr-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--sv-head);
  color: #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.sv-hdr-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
}

.sv-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.sv-brand-mark { width: 34px; height: 34px; flex: 0 0 auto; }

.sv-nav-check {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.sv-burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

.sv-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.sv-nav-check:focus-visible + .sv-burger { outline: 2px solid #fff; outline-offset: 2px; }

.sv-nav-links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  background: var(--sv-head-deep);
}

.sv-nav-check:checked ~ .sv-nav-links { display: flex; }

.sv-nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.7rem 0.5rem;
  border-radius: var(--sv-radius-sm);
}

.sv-nav-links a:hover,
.sv-nav-links a:focus-visible,
.sv-nav-links a[aria-current="page"] { background: rgba(255, 255, 255, 0.14); }

.sv-hdr-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--sv-tone);
  transform-origin: 0 50%;
  transform: scaleX(0);
  animation: sv-prog-grow linear both;
  animation-timeline: scroll(root);
  pointer-events: none;
}

@keyframes sv-prog-grow { to { transform: scaleX(1); } }

@media (min-width: 800px) {
  .sv-burger { display: none; }
  .sv-nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 0.4rem;
    padding: 0;
    background: none;
  }
  .sv-nav-links a { padding: 0.5rem 0.9rem; }
}

/* ---------- Footer ---------- */
.sv-foot-wrap {
  background: var(--sv-bg-deep);
  border-top: 1px solid var(--sv-line);
  padding: 2.5rem 1.25rem;
}

.sv-foot-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sv-brand-foot { color: var(--sv-ink); }

.sv-foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.sv-foot-links a { color: var(--sv-ink); }

.sv-disclaimer { color: var(--sv-muted); font-size: 0.92rem; margin: 0; }
.sv-copy { color: var(--sv-muted); font-size: 0.92rem; margin: 0; }

/* ---------- Buttons ---------- */
.sv-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--sv-tone);
  color: var(--sv-ink-dark);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.sv-pill:hover {
  background: var(--sv-tone-hover);
  box-shadow: 0 0 0 6px var(--sv-glow);
  transform: scale(1.03);
}

.sv-pill:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.sv-pill-line {
  background: transparent;
  color: var(--sv-ink);
  box-shadow: inset 0 0 0 2px var(--sv-tone);
}

.sv-pill-line:hover {
  background: var(--sv-tone-soft, rgba(167, 139, 250, 0.16));
  color: var(--sv-ink);
}

.sv-cta-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

/* ---------- Hero (index) ---------- */
.sv-intro-stage {
  position: relative;
  overflow: clip;
  isolation: isolate;
  min-height: 92dvh;
  display: flex;
  align-items: center;
  padding: var(--sv-section-pad) 1.25rem;
  background:
    radial-gradient(circle at var(--sv-mx) var(--sv-my), rgba(167, 139, 250, 0.45), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(91, 33, 182, 0.55), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(125, 211, 252, 0.18), transparent 40%),
    var(--sv-gradient);
  animation: sv-mesh-drift 24s ease-in-out infinite alternate;
}

@keyframes sv-mesh-drift {
  from { --sv-mx: 15%; --sv-my: 25%; }
  to { --sv-mx: 70%; --sv-my: 60%; }
}

.sv-intro-wrap {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .sv-intro-wrap { flex-direction: row; }
  .sv-intro-copy { flex: 1 1 58%; }
  .sv-intro-visual { flex: 0 0 38%; }
}

.sv-ghost-num {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 20rem;
  line-height: 1;
  color: #fff;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.sv-line {
  display: block;
  animation: sv-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--sv-i, 0) * 140ms);
}

@keyframes sv-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.sv-intro-visual { margin: 0; width: 100%; max-width: 420px; pointer-events: none; }

.sv-shape-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  pointer-events: none;
}

.sv-shape-stage::before {
  content: "";
  position: absolute;
  inset: 8% 14% 22% 8%;
  border-radius: 50%;
  background: var(--sv-tone);
  opacity: 0.85;
}

.sv-shape-stage::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 56%;
  height: 46%;
  border-radius: var(--sv-radius);
  background: var(--sv-surface-alt);
  border: 2px solid var(--sv-tone);
}

.sv-shape-orb {
  position: absolute;
  left: 30%;
  top: 40%;
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sv-sky);
  opacity: 0.55;
}

/* ---------- Story band ---------- */
.sv-story-band {
  position: relative;
  overflow: clip;
  isolation: isolate;
  padding: calc(var(--sv-section-pad) * 1.2) 1.25rem;
  background: var(--sv-bg-deep);
  clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
}

.sv-band-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  z-index: -1;
  pointer-events: none;
}

.sv-story-panel {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 2.25rem;
  background: rgba(13, 17, 23, 0.84);
  border-left: 6px solid var(--sv-tone);
  border-radius: var(--sv-radius);
}

/* ---------- Pillars ---------- */
.sv-pillars-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sv-section-pad) 1.25rem;
}

.sv-pillars-track,
.sv-service-track,
.sv-principle-track {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .sv-service-track,
  .sv-principle-track { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .sv-pillars-track { grid-template-columns: repeat(3, 1fr); }
}

.sv-pillar-tile,
.sv-service-tile,
.sv-principle-tile {
  position: relative;
  overflow: hidden;
  background: var(--sv-surface);
  border-radius: var(--sv-radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--sv-shadow);
}

.sv-principle-tile { border-left: 4px solid var(--sv-tone); }

.sv-pillar-ord {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--sv-tone);
  margin-bottom: 0.6rem;
}

.sv-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--sv-radius-sm);
  background: var(--sv-tone);
  color: var(--sv-ink-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

/* ---------- Steps ---------- */
.sv-steps-rail {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.sv-steps-rail::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 8%;
  right: 8%;
  height: 4px;
  border-radius: 4px;
  background: var(--sv-tone);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
  display: none;
}

@media (min-width: 800px) {
  .sv-steps-rail { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .sv-steps-rail::before { display: block; }
  .sv-steps-rail--four { grid-template-columns: repeat(4, 1fr); }
  .sv-steps-rail--four::before { left: 12%; right: 12%; }
}

.sv-step-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sv-step-node {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  background: var(--sv-tone);
  color: var(--sv-ink-dark);
}

.sv-step-node.is-outline {
  background: var(--sv-bg);
  color: var(--sv-tone);
  box-shadow: inset 0 0 0 3px var(--sv-tone);
}

/* ---------- Closing / CTA strip ---------- */
.sv-closing-strip {
  position: relative;
  overflow: clip;
  isolation: isolate;
  background: var(--sv-surface);
  padding: calc(var(--sv-section-pad) * 0.8) 1.25rem;
}

.sv-closing-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
}

.sv-closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 800px) {
  .sv-closing-inner { flex-direction: row; align-items: center; }
}

.sv-closing-inner h2 { margin-bottom: 0.3em; }

/* ---------- Page head (about / reserve) ---------- */
.sv-page-head {
  background: var(--sv-gradient);
  padding: calc(var(--sv-section-pad) * 1.4) 1.25rem var(--sv-section-pad);
}

.sv-page-head--slim { padding-bottom: calc(var(--sv-section-pad) * 0.6); }

.sv-head-inner { max-width: 1200px; margin: 0 auto; }

/* ---------- About ---------- */
.sv-about-split {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sv-section-pad) 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.sv-about-copy { width: 100%; }

.sv-about-figure { margin: 0; width: 100%; }

.sv-about-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow);
}

@media (min-width: 900px) {
  .sv-about-split { flex-direction: row; align-items: center; }
  .sv-about-copy { flex: 0 0 55%; }
  .sv-about-figure { flex: 0 0 45%; }
}

.sv-limits-note {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border: 2px dashed var(--sv-tone);
  border-radius: var(--sv-radius);
  background: var(--sv-surface);
}

.sv-final-band {
  position: relative;
  overflow: clip;
  isolation: isolate;
  min-height: 60dvh;
  display: flex;
  align-items: center;
  padding: var(--sv-section-pad) 1.25rem;
}

.sv-band-img-full {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  z-index: -1;
  pointer-events: none;
}

.sv-final-panel {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(13, 17, 23, 0.88);
  border-radius: var(--sv-radius);
}

/* ---------- Reserve ---------- */
.sv-split {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--sv-section-pad) 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 900px) {
  .sv-split { flex-direction: row; align-items: flex-start; }
  .sv-form-panel { flex: 0 0 60%; }
  .sv-info-rail { flex: 0 0 40%; }
}

.sv-form-panel {
  background: var(--sv-surface);
  border-radius: var(--sv-radius);
  padding: 2rem;
  box-shadow: var(--sv-shadow);
}

.sv-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.sv-field label { font-weight: 600; }

.sv-field input,
.sv-field textarea {
  width: 100%;
  font: inherit;
  color: var(--sv-ink);
  background: var(--sv-bg);
  border: 2px solid var(--sv-line);
  border-radius: var(--sv-radius-sm);
  padding: 0.8rem 1rem;
}

.sv-field input:focus-visible,
.sv-field textarea:focus-visible {
  outline: 3px solid var(--sv-tone);
  outline-offset: 2px;
  border-color: var(--sv-tone);
}

.sv-consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1.25rem 0 1.5rem;
  font-size: 0.95rem;
  color: var(--sv-muted);
}

.sv-consent input {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.3rem;
  accent-color: var(--sv-tone);
}

.sv-consent a { color: var(--sv-tone); }

.sv-info-rail { display: flex; flex-direction: column; gap: 1.25rem; width: 100%; }

.sv-info-card {
  background: var(--sv-surface-alt);
  border: 1px solid var(--sv-line);
  border-radius: var(--sv-radius);
  padding: 1.5rem;
}

.sv-info-card h3 { font-size: 1.05rem; }

.sv-badge-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.sv-badge-list li { display: flex; gap: 0.7rem; align-items: flex-start; }

.sv-dot {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sv-ink-dark);
}

.sv-dot.c1 { background: #A78BFA; }
.sv-dot.c2 { background: #7DD3FC; }
.sv-dot.c3 { background: #F9A8D4; }
.sv-dot.c4 { background: #FCD34D; }

.sv-faq-stack {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--sv-section-pad) 1.25rem;
}

.sv-faq-stack details {
  background: var(--sv-surface);
  border-left: 4px solid var(--sv-tone);
  border-radius: var(--sv-radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.sv-faq-stack summary {
  font-weight: 700;
  cursor: default;
  list-style: none;
}

.sv-faq-stack p { margin: 0.6rem 0 0; color: var(--sv-muted); }

/* ---------- Thank you ---------- */
.sv-thank-stage {
  position: relative;
  overflow: clip;
  isolation: isolate;
  min-height: 70dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sv-section-pad) 1.25rem;
  text-align: center;
}

.sv-thank-panel {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 2.5rem 2rem;
  background: rgba(13, 17, 23, 0.9);
  border-radius: var(--sv-radius);
}

.sv-thank-panel .sv-pill { margin-top: 1rem; }

/* ---------- Legal ---------- */
.sv-legal-main {
  min-height: 100dvh;
  max-width: 860px;
  margin: 0 auto;
  padding: var(--sv-section-pad) 1.25rem;
}

.sv-legal-main section { margin-bottom: 2.5rem; }

.sv-legal-main section[id] { scroll-margin-top: 90px; }

/* ---------- Cookie banner ---------- */
.sv-cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--sv-surface);
  color: var(--sv-ink);
  border-top: 3px solid var(--sv-tone);
  padding: 1rem 1.25rem;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
}

.sv-cookie-bar[hidden] { display: none; }

.sv-cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.sv-cookie-inner p { margin: 0; }

.sv-cookie-inner a { color: var(--sv-tone); }

.sv-cookie-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ---------- Scroll-driven reveals (only when supported; content stays visible otherwise) ---------- */
@supports (animation-timeline: view()) {
  .sv-view-reveal {
    animation: sv-view-in linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 28%;
  }
  .sv-fade-in {
    animation: sv-fade-only linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 25%;
  }
}

@keyframes sv-view-in {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: none; }
}

@keyframes sv-fade-only {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Stagger reveal (JS adds .js on html; content visible without JS) ---------- */
.js .sv-stagger-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .sv-stagger-item.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html { view-transition-name: none; }
}