/* ==========================================================================
   Mila Agency — design system
   Dark editorial layout, electric-lime accent, system-native typography.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #08050f;
  --ink-2: #0d0819;
  --plum: #150b27;
  --plum-2: #1d1033;

  --text: #f6f2ff;
  --muted: #b3a6cd;
  --muted-2: #82759c;

  --lime: #e6ff66;
  --lime-soft: #f2ffa6;
  --violet: #8b5cf6;
  --violet-deep: #5b2bd0;

  --line: rgba(246, 242, 255, 0.1);
  --line-strong: rgba(246, 242, 255, 0.2);
  --card: rgba(255, 255, 255, 0.035);

  --radius: 24px;
  --radius-sm: 14px;
  --header-h: 78px;
  --wrap: 1240px;

  --font-display: "Segoe UI Variable Display", "Segoe UI", Bahnschrift, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Mono", "Cascadia Code", Consolas, "SF Mono", ui-monospace, monospace;
  --font-serif: "Sitka Display", "Sitka Text", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, 0.8);
  --glow: 0 0 0 1px rgba(230, 255, 102, 0.35), 0 20px 60px -20px rgba(230, 255, 102, 0.25);

  color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

body.menu-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; background: none; border: 0; }

ul, ol { list-style: none; padding: 0; }

::selection { background: var(--lime); color: #0a0712; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(72px, 9vw, 132px);
}

.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;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--lime);
  color: #0a0712;
  border-radius: 999px;
  font-weight: 650;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* Film grain + ambient light */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 78% -10%, rgba(139, 92, 246, 0.18), transparent 65%),
    radial-gradient(800px 500px at 0% 30%, rgba(91, 43, 208, 0.14), transparent 60%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-header,
main,
.site-footer { position: relative; z-index: 1; }

/* ---------- Typography utilities ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.688rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.7;
  max-width: 58ch;
}

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  max-width: 20ch;
}
.section-head .lead { margin-top: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.938rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }

.btn-primary {
  background: var(--lime);
  color: #0a0712;
  border-color: var(--lime);
}
.btn-primary:hover {
  background: var(--lime-soft);
  border-color: var(--lime-soft);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -14px rgba(230, 255, 102, 0.55);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-2px);
}

.btn-sm { padding: 12px 20px; font-size: 0.875rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-size: 0.938rem;
  color: var(--text);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--lime); border-color: var(--lime); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  z-index: 140;
  background: transparent;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--violet), var(--lime));
  box-shadow: 0 0 10px rgba(230, 255, 102, 0.35);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease), height 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(8, 5, 15, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

body.menu-open .site-header {
  background: rgba(8, 5, 15, 0.98);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(100% - 48px, 1360px);
  margin-inline: auto;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
}

.brand-dot { color: var(--lime); }

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 12px;
  border-left: 1px solid var(--line-strong);
  line-height: 1.2;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.nav a.is-active { color: var(--text); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--lime);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Language switch */
.lang {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.lang button {
  padding: 6px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.688rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.lang button[aria-pressed="true"] {
  background: var(--lime);
  color: #0a0712;
  font-weight: 600;
}

.lang button:not([aria-pressed="true"]):hover { color: var(--text); }

/* Theme switch */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
    background 0.25s var(--ease), transform 0.25s var(--ease);
}

.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-moon { display: none; }

html[data-theme="light"] .theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.theme-toggle:hover {
  color: var(--lime);
  border-color: rgba(230, 255, 102, 0.6);
  transform: translateY(-1px);
}

html[data-theme="light"] .theme-toggle:hover {
  color: var(--violet);
  border-color: rgba(109, 63, 224, 0.45);
}

/* Menu button */
.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 92px));
  padding-bottom: clamp(48px, 7vw, 96px);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(246, 242, 255, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(246, 242, 255, 0.055) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(ellipse 75% 65% at 55% 25%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 55% 25%, #000 10%, transparent 72%);
  opacity: 0.8;
}

.hero-orb {
  position: absolute;
  width: 640px;
  height: 640px;
  right: -160px;
  top: -120px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #5b2bd0, #8b5cf6, #e6ff66, #5b2bd0);
  filter: blur(90px);
  opacity: 0.28;
  animation: spin 40s linear infinite;
}

.hero-orb--2 {
  width: 420px;
  height: 420px;
  right: auto;
  left: -180px;
  top: 40%;
  background: conic-gradient(from 40deg, #8b5cf6, #5b2bd0, #e6ff66, #8b5cf6);
  opacity: 0.16;
  animation-duration: 55s;
  animation-direction: reverse;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.688rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--lime);
  animation: pulse 2.4s var(--ease) infinite;
}

.hero-title {
  font-size: clamp(3.6rem, 9.2vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  margin-bottom: 26px;
}

.hero-title .line { display: block; }
.hero-title .accent {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(230, 255, 102, 0.85);
  position: relative;
}
.hero-title .accent::after {
  content: "Agency";
  position: absolute;
  inset: 0;
  color: var(--lime);
  -webkit-text-stroke: 0;
  clip-path: inset(0 0 0 0);
  opacity: 0.06;
}

.hero-lead {
  font-family: var(--font-display);
  font-size: clamp(1.32rem, 2.4vw, 1.85rem);
  line-height: 1.24;
  letter-spacing: -0.025em;
  max-width: 22ch;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 560px;
}

.hero-stats li {
  flex: 1 1 120px;
  padding-right: 18px;
}
.hero-stats li + li {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--lime);
  line-height: 1.1;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--muted-2);
  line-height: 1.4;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  width: min(112%, 560px);
  aspect-ratio: 1;
  border: 1px dashed rgba(246, 242, 255, 0.16);
  border-radius: 50%;
  animation: spin 46s linear infinite;
}
.orbit::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 20px rgba(230, 255, 102, 0.9);
}
.orbit--inner {
  width: min(84%, 420px);
  animation-direction: reverse;
  animation-duration: 34s;
  border-color: rgba(139, 92, 246, 0.35);
}
.orbit--inner::before {
  background: var(--violet);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.9);
}

.panel {
  position: relative;
  width: min(100%, 430px);
  padding: 20px;
  border-radius: 26px;
  border: 1px solid rgba(246, 242, 255, 0.14);
  color: var(--text);
  background:
    linear-gradient(155deg, rgba(38, 22, 64, 0.92), rgba(14, 9, 26, 0.94));
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  transform: rotate(-1.6deg);
  transition: transform 0.6s var(--ease);
}
.hero-visual:hover .panel { transform: rotate(0deg) translateY(-4px); }

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(230, 255, 102, 0.9);
}

.dots { color: var(--muted-2); letter-spacing: 2px; font-size: 0.75rem; }

.panel-metric {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 0 8px;
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2.9rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}
.metric-value em { font-style: normal; color: var(--lime); font-size: 0.62em; vertical-align: 0.18em; }

.metric-label {
  display: block;
  margin-top: 7px;
  font-size: 0.75rem;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

.chip-up {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(230, 255, 102, 0.12);
  border: 1px solid rgba(230, 255, 102, 0.28);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.688rem;
}

.chart { width: 100%; height: auto; margin: 6px 0 16px; overflow: visible; }
.chart-line {
  fill: none;
  stroke: var(--lime);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 640;
  stroke-dashoffset: 640;
  filter: drop-shadow(0 0 7px rgba(230, 255, 102, 0.45));
  transition: stroke-dashoffset 2.2s var(--ease) 0.25s;
}
.chart-area { fill: url(#areaGrad); opacity: 0; transition: opacity 1s ease 1.1s; }
.chart-dot { opacity: 0; transition: opacity 0.5s ease 1.9s; }
.chart-grid line { stroke: rgba(246, 242, 255, 0.09); stroke-dasharray: 2 6; }
.is-inview .chart-line { stroke-dashoffset: 0; }
.is-inview .chart-area { opacity: 1; }
.is-inview .chart-dot { opacity: 1; }

.panel-channels { display: grid; gap: 10px; }
.chan {
  display: grid;
  grid-template-columns: 52px 1fr 34px;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--muted);
}
.chan .bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.chan .bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--lime));
  transition: width 1.4s var(--ease) 0.5s;
}
.is-inview .chan .bar i { width: var(--v); }
.chan span:last-child { text-align: right; font-family: var(--font-mono); font-size: 0.688rem; }

/* Scroll cue */
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100% - 48px, var(--wrap));
  margin: 54px auto 0;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.scroll-cue span { display: block; width: 1px; height: 34px; background: linear-gradient(var(--lime), transparent); animation: drop 2.6s var(--ease) infinite; }

/* ---------- Marquee ---------- */
.marquee-section {
  padding-block: 34px;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  overflow: hidden;
}

.marquee-label {
  width: min(100% - 48px, var(--wrap));
  margin: 0 auto 22px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  flex-shrink: 0;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(246, 242, 255, 0.42);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.marquee-track span:hover { color: var(--text); }
.marquee-track span i { font-style: normal; color: var(--lime); opacity: 0.6; margin-left: 56px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.about-media {
  position: relative;
  padding: 14px 14px 0 0;
}

.photo {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 8 / 9;
  border: 1px solid var(--line-strong);
  background: var(--plum);
  box-shadow: var(--shadow-lg);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% 62%;
  filter: saturate(0.92) contrast(1.04) brightness(0.96);
  transition: transform 1.2s var(--ease), filter 0.8s var(--ease);
}
.photo:hover img { transform: scale(1.03); filter: saturate(1) contrast(1.02) brightness(1); }
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 5, 15, 0.05) 0%, transparent 35%, rgba(8, 5, 15, 0.55) 100%),
    linear-gradient(140deg, rgba(139, 92, 246, 0.22), transparent 60%);
  pointer-events: none;
}

.photo-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(246, 242, 255, 0.2);
  background: rgba(8, 5, 15, 0.55);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.photo-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }

.about-media::before {
  content: "";
  position: absolute;
  inset: 32px -2px 14px 28px;
  border: 1px solid rgba(230, 255, 102, 0.35);
  border-radius: 26px;
  z-index: -1;
}

.stamp {
  position: absolute;
  right: -22px;
  bottom: 76px;
  width: 112px;
  height: 112px;
  z-index: 3;
  border-radius: 50%;
  background: rgba(8, 5, 15, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(230, 255, 102, 0.3);
  display: grid;
  place-items: center;
  animation: spin 28s linear infinite;
}
.stamp text { font-family: var(--font-mono); font-size: 7.8px; letter-spacing: 2.2px; fill: var(--lime); text-transform: uppercase; }
.stamp .stamp-core { position: absolute; inset: 0; display: grid; place-items: center; animation: spin 28s linear infinite reverse; }
.stamp .stamp-core svg { width: 26px; height: 26px; color: var(--lime); }

.float-card {
  position: absolute;
  top: 44px;
  left: -26px;
  z-index: 3;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(17, 10, 31, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
  animation: float 8s ease-in-out infinite;
}
.float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--lime);
}
.float-card span { display: block; margin-top: 4px; font-size: 0.75rem; color: var(--muted); }

.about-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  max-width: 18ch;
  margin-bottom: 24px;
}
.about-copy p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 56ch;
}
.about-copy p strong { color: var(--text); font-weight: 600; }
.about-copy .eyebrow { color: var(--lime); }

.checks { display: grid; gap: 12px; margin: 26px 0 32px; }
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.938rem;
  color: var(--text);
  line-height: 1.5;
}
.checks svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--lime);
}

.about-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

.signature {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.938rem;
  color: var(--muted-2);
  padding-left: 20px;
  border-left: 1px solid var(--line);
  line-height: 1.5;
}

/* ---------- Stats strip ---------- */
.stats-strip {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  padding-block: clamp(34px, 4vw, 52px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.stat { position: relative; padding-left: 22px; }
.stat::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 1px; height: 34px;
  background: linear-gradient(var(--lime), transparent);
}
.stat:first-child { padding-left: 0; }
.stat:first-child::before { display: none; }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--text);
}
.stat-num em { font-style: normal; color: var(--lime); }
.stat-label { display: block; margin-top: 8px; font-size: 0.813rem; color: var(--muted-2); line-height: 1.4; }

/* ---------- Services ---------- */
.services { border-bottom: 1px solid var(--line); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012) 55%);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease), background 0.45s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  top: -1px; left: 24px; right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230, 255, 102, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 255, 102, 0.28);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015) 55%);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.service-card:hover::before { opacity: 1; }

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  color: var(--lime);
  background: linear-gradient(150deg, rgba(230, 255, 102, 0.16), rgba(139, 92, 246, 0.14));
  border: 1px solid rgba(230, 255, 102, 0.18);
  transition: transform 0.45s var(--ease), background 0.45s var(--ease);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card:hover .service-icon {
  transform: rotate(-6deg) scale(1.06);
  background: linear-gradient(150deg, rgba(230, 255, 102, 0.26), rgba(139, 92, 246, 0.2));
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.688rem;
  letter-spacing: 0.16em;
  color: var(--muted-2);
}

.service-card h3 {
  font-size: 1.38rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 14px;
  max-width: 16ch;
}

.service-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.66;
  margin-bottom: 22px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  margin-bottom: 22px;
}
.tags li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--lime);
  text-align: left;
  padding: 0;
  transition: gap 0.3s var(--ease);
}
.service-link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.service-link:hover { gap: 12px; }
.service-link:hover svg { transform: translate(2px, -2px); }

/* Secondary services */
.service-more {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.018);
  padding: 8px 8px;
}

.service-more-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px 12px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mini-service {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.mini-service:hover { background: rgba(255, 255, 255, 0.04); border-color: var(--line); }
.mini-service svg { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; transition: color 0.3s var(--ease); }
.mini-service:hover svg { color: var(--lime); }
.mini-service strong { display: block; font-size: 0.938rem; font-weight: 600; letter-spacing: -0.01em; }
.mini-service span { display: block; font-size: 0.75rem; color: var(--muted-2); margin-top: 2px; }
.mini-service .arrow { margin-left: auto; color: var(--muted-2); transition: transform 0.3s var(--ease), color 0.3s var(--ease); }
.mini-service:hover .arrow { transform: translate(3px, -3px); color: var(--lime); }

/* ---------- Process ---------- */
.process { overflow: hidden; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  position: relative;
  padding: 30px 26px 8px 0;
  border-right: 1px solid var(--line);
}
.step:last-child { border-right: 0; }
.step:not(:first-child) { padding-left: 26px; }

.step-num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.688rem;
  letter-spacing: 0.16em;
  color: var(--lime);
  margin-bottom: 18px;
}
.step-num::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px rgba(230, 255, 102, 0.7);
}

.step h3 { font-size: 1.16rem; margin-bottom: 10px; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 0.875rem; line-height: 1.65; max-width: 30ch; }

/* ---------- Results ---------- */
.results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}
.results-head h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); max-width: 16ch; margin-top: 0; }
.results-head .eyebrow { margin-bottom: 18px; }
.results-note { font-family: var(--font-mono); font-size: 0.688rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.quote {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
}
.quote:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.04);
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 3.4rem;
  line-height: 0.7;
  color: var(--lime);
  opacity: 0.7;
  margin-bottom: 12px;
}

.quote blockquote {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 26px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.avatar {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(140deg, #eaff80, #a78bfa);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0a0712;
  flex-shrink: 0;
}

img.avatar {
  display: block;
  object-fit: cover;
  object-position: center 32%;
  border: 1px solid rgba(246, 242, 255, 0.22);
  background: var(--plum);
}
.quote-author strong { display: block; font-size: 0.875rem; font-weight: 600; }
.quote-author .author-meta span { display: block; font-size: 0.75rem; color: var(--muted-2); margin-top: 1px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  margin-block: clamp(40px, 6vw, 80px);
  padding-block: clamp(56px, 8vw, 100px);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--text);
  background:
    radial-gradient(120% 160% at 88% 0%, rgba(139, 92, 246, 0.5), transparent 60%),
    radial-gradient(80% 120% at 4% 105%, rgba(91, 43, 208, 0.38), transparent 66%),
    linear-gradient(160deg, #241340, #0e0819 78%);
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(246, 242, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(246, 242, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 100% at 80% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(70% 100% at 80% 0%, #000, transparent 70%);
  opacity: 0.7;
  z-index: -1;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -90px; bottom: -220px;
  border-radius: 50%;
  border: 1px solid rgba(230, 255, 102, 0.25);
  z-index: -1;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.cta-copy { max-width: 640px; }
.cta-inner h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}
.cta-inner .lead { max-width: 46ch; margin-bottom: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Contact ---------- */
.contact { padding-top: clamp(40px, 5vw, 64px); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.contact-copy h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); margin-bottom: 20px; max-width: 14ch; }
.contact-copy .lead { margin-bottom: 36px; }

.contact-list { display: grid; gap: 4px; margin-bottom: 34px; }

.contact-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:first-child { border-top: 1px solid var(--line); }
.contact-item svg { width: 18px; height: 18px; color: var(--lime); flex-shrink: 0; margin-top: 4px; }
.contact-item .ci-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 5px;
}
.contact-item p, .contact-item a { font-size: 0.938rem; line-height: 1.5; color: var(--text); }
.contact-item a { transition: color 0.25s var(--ease); }
.contact-item a:hover { color: var(--lime); }

/* Form */
.form-card {
  position: relative;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015) 60%),
    rgba(13, 8, 25, 0.6);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.form-head h3 { font-size: 1.05rem; letter-spacing: -0.02em; }
.form-head span { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }

.form-grid { display: grid; gap: 20px 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }

.field label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label .req { color: var(--lime); }

.field input,
.field textarea {
  width: 100%;
  padding: 11px 2px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  font-size: 0.938rem;
  color: var(--text);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.field textarea { resize: vertical; min-height: 96px; line-height: 1.6; }

.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); opacity: 0.75; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--lime);
  background: linear-gradient(180deg, transparent 70%, rgba(230, 255, 102, 0.05));
}

.field.has-error input,
.field.has-error textarea { border-bottom-color: #ff7a7a; }

.error-msg {
  font-size: 0.75rem;
  color: #ff9d9d;
  min-height: 0;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.field.has-error .error-msg { opacity: 1; transform: none; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.813rem;
  color: var(--muted);
  line-height: 1.55;
}

.field label.consent {
  font-family: var(--font-body);
  font-size: 0.813rem;
  letter-spacing: normal;
  text-transform: none;
  color: var(--muted);
  line-height: 1.55;
}
.consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  border: 1px solid rgba(246, 242, 255, 0.28);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
  position: relative;
}
.consent input:checked { background: var(--lime); border-color: var(--lime); }
.consent input:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 2px;
  width: 5px; height: 9px;
  border: solid #0a0712;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}
.consent input:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.consent a { color: var(--text); text-decoration: underline; text-decoration-color: var(--muted-2); text-underline-offset: 3px; }
.consent a:hover { color: var(--lime); }
.consent.has-error { color: #ff9d9d; }
.field label.consent.has-error { color: #ff9d9d; }
.consent.has-error input { border-color: #ff7a7a; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.form-actions .btn { flex: 1 1 220px; }
.form-note { font-size: 0.75rem; color: var(--muted-2); max-width: 24ch; line-height: 1.45; }

.honeypot {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Submission feedback */
.form-status {
  margin-top: 16px;
  font-size: 0.813rem;
  color: #ff9d9d;
  min-height: 1.2em;
}
.form-status:empty { display: none; }

.form-success {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 16px;
  min-height: 420px;
  padding: 12px;
  animation: fadeUp 0.6s var(--ease) both;
}
.success-icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(230, 255, 102, 0.12);
  border: 1px solid rgba(230, 255, 102, 0.4);
  color: var(--lime);
}
.success-icon svg { width: 26px; height: 26px; }
.form-success h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.03em; }
.form-success p { color: var(--muted); max-width: 42ch; line-height: 1.7; }
.form-success .btn { margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 40%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1.1fr;
  gap: 40px;
  padding-block: clamp(48px, 6vw, 76px) clamp(32px, 4vw, 48px);
}

.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 34ch;
  margin-bottom: 22px;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.footer-email svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.footer-email:hover { color: var(--lime); border-color: var(--lime); }
.footer-email:hover svg { transform: translate(2px, -2px); }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
}

.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col li {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.25s var(--ease);
  line-height: 1.5;
}
.footer-col a:hover { color: var(--lime); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.footer-legal p { font-size: 0.75rem; color: var(--muted-2); line-height: 1.6; }
.footer-legal .entity { color: var(--muted); }

.footer-legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.footer-legal-links a, .footer-legal-links button {
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0;
  transition: color 0.25s var(--ease);
}
.footer-legal-links a:hover, .footer-legal-links button:hover { color: var(--lime); }

/* Floating back-to-top */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(13, 8, 25, 0.8);
  backdrop-filter: blur(10px);
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s,
    border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.to-top svg { width: 17px; height: 17px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--lime); color: var(--lime); }

/* ---------- Legal / privacy page ---------- */
.legal-hero {
  padding-top: calc(var(--header-h) + clamp(48px, 6vw, 84px));
  padding-bottom: clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.legal-hero::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -120px; top: -220px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.35), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.legal-hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}
.legal-hero .lead { max-width: 60ch; }
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 0.688rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.legal-meta span { display: inline-flex; align-items: center; gap: 8px; }
.legal-meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); }

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-block: clamp(40px, 5vw, 64px) 20px;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.legal-toc h2 {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}
.legal-toc ol { display: grid; gap: 9px; counter-reset: toc; }
.legal-toc a {
  display: block;
  font-size: 0.813rem;
  line-height: 1.45;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.legal-toc a:hover, .legal-toc a.is-active { color: var(--lime); }

.legal-body { max-width: 72ch; }
.legal-body section { padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 30px); }
.legal-body section:last-of-type { border-bottom: 0; }

.legal-body h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.legal-body h2 .h-num {
  font-family: var(--font-mono);
  font-size: 0.688rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--lime);
  flex-shrink: 0;
}
.legal-body h3 { font-size: 1rem; margin: 22px 0 8px; letter-spacing: -0.01em; }
.legal-body p { color: var(--muted); line-height: 1.78; margin-bottom: 14px; font-size: 0.938rem; }
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body ul { display: grid; gap: 9px; margin: 6px 0 16px; }
.legal-body ul li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.938rem;
  line-height: 1.65;
}
.legal-body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 7px; height: 1px;
  background: var(--lime);
}

.legal-callout {
  border: 1px solid rgba(230, 255, 102, 0.28);
  background: rgba(230, 255, 102, 0.05);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 22px 0;
}
.legal-callout p { margin-bottom: 0; color: var(--text); }
.legal-callout a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }

.legal-contact-card {
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 24px;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.025);
}
.legal-contact-card p { margin-bottom: 6px; }
.legal-contact-card a { color: var(--text); }

/* ---------- Reveal animations ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
html.js .reveal.is-inview { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse {
  0% { transform: scale(0.7); opacity: 0.9; }
  70%, 100% { transform: scale(2.1); opacity: 0; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header-inner { gap: 18px; }
  .nav a { padding: 10px 11px; font-size: 0.862rem; }
  .brand-tag { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { min-height: 0; margin-top: 12px; }
  .panel { transform: none; }
  .hero-lead { max-width: 26ch; }
  .about-grid { grid-template-columns: 1fr; gap: 64px; }
  .about-media { max-width: 520px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / -1; }
  .legal-layout { grid-template-columns: 200px 1fr; }
}

@media (max-width: 1000px) {
  :root { --header-h: 68px; }

  .menu-btn { display: flex; }
  .header-cta { display: none; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    margin: 0;
    display: grid;
    gap: 0;
    padding: 10px 24px 26px;
    background: var(--ink);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a {
    padding: 16px 2px;
    font-size: 1.35rem;
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .nav a:hover { background: transparent; }
  .nav a.is-active { color: var(--lime); }
  .nav a.is-active::after { display: none; }

  .header-actions { margin-left: auto; }
  .lang { padding: 2px; }

  .service-grid { grid-template-columns: 1fr; }
  .service-card h3 { max-width: none; }
  .mini-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 24px 26px 0; }
  .step:not(:first-child) { padding-left: 24px; }
  .step:nth-child(2n) { border-right: 0; padding-right: 0; }
  .step:nth-child(odd) { padding-left: 0; }
  .step:nth-child(even) { border-left: 1px solid var(--line); }
  .step:nth-last-child(-n+2) { border-bottom: 0; }
  .quote-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(3)::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy h2 { max-width: 20ch; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; min-width: 0; border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
  .legal-toc h2 { margin-bottom: 10px; }
  .legal-toc ol {
    display: flex;
    gap: 8px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .legal-toc ol::-webkit-scrollbar { display: none; }
  .legal-toc li { flex: 0 0 auto; }
  .legal-toc a {
    display: block;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.75rem;
    white-space: nowrap;
  }
  .legal-toc a:hover, .legal-toc a.is-active { border-color: rgba(230, 255, 102, 0.4); }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 36px, var(--wrap)); }
  .header-inner, .marquee-label, .scroll-cue { width: min(100% - 36px, 1360px); }
  .marquee-label { width: min(100% - 36px, var(--wrap)); }

  .hero { padding-top: calc(var(--header-h) + 42px); }
  .hero-title { font-size: clamp(3.2rem, 17vw, 4.6rem); }
  .hero-title .accent::after { display: none; }
  .hero-lead { font-size: 1.25rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-stats li { flex: 1 1 100%; padding: 12px 0; }
  .hero-stats li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero-stats strong { font-size: 1.25rem; }
  .hero-stats span { display: inline; margin-left: 8px; }
  .hero-stats li { display: flex; align-items: baseline; gap: 10px; }
  .hero-stats { gap: 0; }

  .panel { padding: 18px; }
  .orbit { display: none; }

  .marquee-track { gap: 36px; padding-right: 36px; }
  .marquee-track span { font-size: 1.05rem; }
  .marquee-track span i { margin-left: 36px; }

  .about-media { padding: 0; max-width: none; }
  .about-media::before { display: none; }
  .float-card { left: 12px; top: 12px; padding: 12px 14px; }
  .float-card strong { font-size: 1.45rem; }
  .stamp { display: none; }
  .about-foot { gap: 16px; }
  .signature { padding-left: 0; border-left: 0; }

  .photo { aspect-ratio: 4 / 3.4; }

  .field-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-legal { flex-direction: column; align-items: flex-start; }

  .to-top { right: 16px; bottom: 16px; }

  .cta-band { border-radius: 24px; }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .header-inner { width: min(100% - 32px, 1360px); }
  .marquee-label { width: min(100% - 32px, var(--wrap)); }
  .brand-word { font-size: 1.4rem; }
  .nav { padding-inline: 18px; }
  .eyebrow { font-size: 0.625rem; letter-spacing: 0.14em; }
  .section-head h2 { font-size: clamp(1.85rem, 8.6vw, 2.5rem); }
  .service-card { padding: 24px 22px; }
  .quote { padding: 24px 22px; }
  .form-card { padding: 22px 18px; border-radius: 22px; }
  .form-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col:last-child { grid-column: auto; }
  .intro-stats { gap: 12px; }
}

/* ---------- Motion preferences ---------- */
@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;
    scroll-behavior: auto !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .chart-line { stroke-dashoffset: 0; }
  .chart-area, .chart-dot { opacity: 1; }
  .chan .bar i { width: var(--v); }
}

/* ==========================================================================
   Light theme
   Dark remains the default; everything below only applies when the
   <html data-theme="light"> attribute is present.
   ========================================================================== */

html[data-theme="light"] {
  --ink: #f7f3ea;
  --ink-2: #f1ebdd;
  --plum: #eae2d3;
  --plum-2: #e0d6c4;

  --text: #1a1026;
  --muted: #5b506f;
  --muted-2: #736780;

  --lime: #dff25a;
  --lime-soft: #edf9a4;
  --lime-text: #5c6e00;
  --violet: #6d3fe0;
  --violet-deep: #5226bf;

  --line: rgba(26, 16, 38, 0.12);
  --line-strong: rgba(26, 16, 38, 0.24);
  --card: #fffdf7;

  --shadow-lg: 0 34px 80px -40px rgba(48, 30, 78, 0.35);

  color-scheme: light;
}

html[data-theme="light"] body {
  background: var(--ink);
  color: var(--text);
}

html[data-theme="light"] body::before {
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(109, 63, 224, 0.12), transparent 65%),
    radial-gradient(800px 500px at 0% 30%, rgba(223, 242, 90, 0.18), transparent 60%);
}

html[data-theme="light"] body::after { opacity: 0.018; }

html[data-theme="light"] ::selection { background: var(--violet); color: #fff; }

html[data-theme="light"] :focus-visible { outline-color: var(--violet); }

/* Header */
html[data-theme="light"] .site-header.is-scrolled,
html[data-theme="light"] .site-header.is-solid {
  background: rgba(247, 243, 234, 0.84);
}

html[data-theme="light"] body.menu-open .site-header {
  background: rgba(247, 243, 234, 0.98);
}

html[data-theme="light"] .nav a:hover { background: rgba(26, 16, 38, 0.05); }
html[data-theme="light"] .nav a.is-active { color: var(--lime-text); }
html[data-theme="light"] .nav a.is-active::after { background: var(--lime-text); }
html[data-theme="light"] .lang { background: rgba(26, 16, 38, 0.04); }
html[data-theme="light"] .theme-toggle { background: rgba(26, 16, 38, 0.04); }
html[data-theme="light"] .brand-dot { color: var(--lime-text); }

/* Hero */
html[data-theme="light"] .hero-grid-lines {
  background-image:
    linear-gradient(90deg, rgba(26, 16, 38, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(26, 16, 38, 0.06) 1px, transparent 1px);
}

html[data-theme="light"] .hero-orb { opacity: 0.2; }
html[data-theme="light"] .hero-orb--2 { opacity: 0.12; }

html[data-theme="light"] .hero-pill {
  background: rgba(255, 253, 247, 0.65);
  border-color: var(--line-strong);
}

html[data-theme="light"] .pulse { background: var(--lime-text); }
html[data-theme="light"] .pulse::after { border-color: var(--lime-text); }

html[data-theme="light"] .hero-title .accent { -webkit-text-stroke: 1.4px rgba(109, 63, 224, 0.72); }
html[data-theme="light"] .hero-title .accent::after { color: var(--violet); opacity: 0.05; }

html[data-theme="light"] .eyebrow,
html[data-theme="light"] .about-copy .eyebrow { color: var(--lime-text); }

html[data-theme="light"] .hero-stats strong { color: var(--text); }
html[data-theme="light"] .scroll-cue span { background: linear-gradient(var(--violet), transparent); }

html[data-theme="light"] .orbit { border-color: rgba(26, 16, 38, 0.18); }
html[data-theme="light"] .orbit--inner { border-color: rgba(109, 63, 224, 0.3); }

html[data-theme="light"] .panel {
  --text: #f6f2ff;
  --muted: #b3a6cd;
  --muted-2: #82759c;
  --line: rgba(246, 242, 255, 0.1);
  --line-strong: rgba(246, 242, 255, 0.2);
  box-shadow: 0 50px 100px -50px rgba(30, 15, 60, 0.55);
}

/* Marquee */
html[data-theme="light"] .marquee-section { background: rgba(255, 255, 255, 0.42); }
html[data-theme="light"] .marquee-track span { color: rgba(26, 16, 38, 0.52); }
html[data-theme="light"] .marquee-track span i { color: var(--lime-text); opacity: 0.75; }

/* About */
html[data-theme="light"] .about-media::before { border-color: rgba(109, 63, 224, 0.32); }

html[data-theme="light"] .photo img { filter: saturate(0.95) contrast(1.03) brightness(1); }
html[data-theme="light"] .photo:hover img { filter: saturate(1) contrast(1.02) brightness(1); }
html[data-theme="light"] .photo::after {
  background:
    linear-gradient(180deg, rgba(247, 243, 234, 0.02) 0%, transparent 40%, rgba(26, 16, 38, 0.45) 100%),
    linear-gradient(140deg, rgba(109, 63, 224, 0.1), transparent 60%);
}

html[data-theme="light"] .float-card {
  background: rgba(255, 253, 247, 0.92);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px -28px rgba(45, 28, 75, 0.35);
}
html[data-theme="light"] .float-card strong { color: var(--lime-text); }
html[data-theme="light"] .float-card span { color: var(--muted); }
html[data-theme="light"] .photo-tag { color: #f6f2ff; }

html[data-theme="light"] .checks svg { color: var(--lime-text); }
html[data-theme="light"] .signature { color: var(--muted-2); }

/* Stats */
html[data-theme="light"] .stats-strip {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0));
}
html[data-theme="light"] .stat-num { color: var(--text); }
html[data-theme="light"] .stat-num em { color: var(--lime-text); }
html[data-theme="light"] .stat::before { background: linear-gradient(var(--violet), transparent); }

/* Services */
html[data-theme="light"] .service-card {
  background: linear-gradient(170deg, #fffdf7, #f7f1e5 58%);
  border-color: var(--line);
  box-shadow: 0 22px 50px -40px rgba(50, 32, 82, 0.35);
}
html[data-theme="light"] .service-card:hover {
  background: #fffdf7;
  border-color: rgba(109, 63, 224, 0.32);
  box-shadow: 0 32px 64px -36px rgba(50, 32, 82, 0.4);
}
html[data-theme="light"] .service-card::before {
  background: linear-gradient(90deg, transparent, rgba(109, 63, 224, 0.45), transparent);
}
html[data-theme="light"] .service-icon {
  color: var(--lime-text);
  background: linear-gradient(150deg, rgba(223, 242, 90, 0.6), rgba(109, 63, 224, 0.1));
  border-color: rgba(92, 110, 0, 0.22);
}
html[data-theme="light"] .service-card:hover .service-icon {
  background: linear-gradient(150deg, rgba(223, 242, 90, 0.8), rgba(109, 63, 224, 0.14));
}
html[data-theme="light"] .service-link { color: var(--lime-text); }
html[data-theme="light"] .service-more {
  background: rgba(255, 253, 247, 0.72);
  border-color: var(--line);
}
html[data-theme="light"] .mini-service:hover { background: rgba(255, 255, 255, 0.75); }
html[data-theme="light"] .mini-service:hover svg { color: var(--lime-text); }
html[data-theme="light"] .mini-service:hover .arrow { color: var(--lime-text); }

/* Process */
html[data-theme="light"] .step-num { color: var(--lime-text); }
html[data-theme="light"] .step-num::before { box-shadow: none; }

/* Results */
html[data-theme="light"] .quote {
  background: #fffdf7;
  border-color: var(--line);
  box-shadow: 0 24px 50px -44px rgba(50, 32, 82, 0.35);
}
html[data-theme="light"] .quote:hover { background: #fff; border-color: var(--line-strong); }
html[data-theme="light"] .quote-mark { color: var(--violet); opacity: 0.55; }
html[data-theme="light"] .quote-author { border-color: var(--line); }
html[data-theme="light"] img.avatar { border-color: rgba(26, 16, 38, 0.18); }

/* CTA band stays dark on purpose */
html[data-theme="light"] .cta-band {
  --text: #f6f2ff;
  --muted: #b3a6cd;
  --muted-2: #82759c;
  --line: rgba(246, 242, 255, 0.1);
  --line-strong: rgba(246, 242, 255, 0.22);
  box-shadow: 0 50px 90px -58px rgba(45, 25, 80, 0.55);
}

html[data-theme="light"] .cta-band .eyebrow { color: var(--lime); }

html[data-theme="light"] .cta-band .btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(246, 242, 255, 0.26);
  color: #f6f2ff;
}

html[data-theme="light"] .cta-band .btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

/* Contact */
html[data-theme="light"] .contact-item svg { color: var(--lime-text); }
html[data-theme="light"] .contact-item a:hover { color: var(--lime-text); }

html[data-theme="light"] .form-card {
  background:
    linear-gradient(165deg, rgba(255, 253, 247, 0.96), rgba(247, 241, 229, 0.96) 60%),
    #fffdf7;
  border-color: var(--line-strong);
  box-shadow: 0 40px 80px -52px rgba(50, 30, 80, 0.35);
}
html[data-theme="light"] .form-head { border-color: var(--line); }
html[data-theme="light"] .field input:focus,
html[data-theme="light"] .field textarea:focus {
  border-bottom-color: var(--violet);
  background: linear-gradient(180deg, transparent 70%, rgba(109, 63, 224, 0.06));
}
html[data-theme="light"] .consent input:focus-visible { outline-color: var(--violet); }
html[data-theme="light"] .success-icon {
  background: rgba(223, 242, 90, 0.35);
  border-color: rgba(92, 110, 0, 0.35);
  color: var(--lime-text);
}

/* Footer */
html[data-theme="light"] .site-footer {
  background: linear-gradient(180deg, #f5f0e5, #efe7d7);
}
html[data-theme="light"] .footer-email:hover { color: var(--lime-text); }
html[data-theme="light"] .footer-col a:hover { color: var(--lime-text); }
html[data-theme="light"] .footer-legal-links a:hover,
html[data-theme="light"] .footer-legal-links button:hover { color: var(--lime-text); }
html[data-theme="light"] .to-top {
  background: rgba(255, 253, 247, 0.9);
  border-color: var(--line-strong);
  color: var(--text);
}
html[data-theme="light"] .to-top:hover { border-color: var(--violet); color: var(--violet); }

/* Legal page */
html[data-theme="light"] .legal-hero::before {
  background: radial-gradient(circle, rgba(109, 63, 224, 0.16), transparent 65%);
}
html[data-theme="light"] .legal-meta span::before { background: var(--lime-text); }
html[data-theme="light"] .legal-body h2 .h-num { color: var(--lime-text); }
html[data-theme="light"] .legal-body ul li::before { background: var(--lime-text); }
html[data-theme="light"] .legal-callout {
  border-color: rgba(92, 110, 0, 0.3);
  background: rgba(223, 242, 90, 0.16);
}
html[data-theme="light"] .legal-callout a { color: var(--lime-text); }
html[data-theme="light"] .legal-contact-card {
  background: #fffdf7;
  border-color: var(--line-strong);
}
html[data-theme="light"] .legal-toc a:hover,
html[data-theme="light"] .legal-toc a.is-active { color: var(--lime-text); }

/* Buttons and links */
html[data-theme="light"] .btn-ghost {
  background: rgba(255, 253, 247, 0.6);
  border-color: var(--line-strong);
}
html[data-theme="light"] .btn-ghost:hover { border-color: var(--violet); color: var(--violet); }
html[data-theme="light"] .btn-primary:hover { box-shadow: 0 14px 34px -16px rgba(92, 110, 0, 0.45); }
html[data-theme="light"] .link-arrow:hover { color: var(--violet); border-color: var(--violet); }
html[data-theme="light"] .progress span {
  background: linear-gradient(90deg, var(--violet), var(--lime-text));
  box-shadow: none;
}

@media (max-width: 1180px) {
  .header-cta { display: none; }
}

/* ---------- Print ---------- */
@media print {
  body { background: #fff; color: #111; }
  .site-header, .to-top, .progress, .hero-bg, .marquee-section, .cta-band, .site-footer { display: none; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-body p, .legal-body ul li { color: #333; }
  a { color: #111; text-decoration: underline; }
}
