/* ===================== RVMSES — shared styles ===================== */
:root {
  --bg: #0a0a0a;
  --bg-2: #100c10;
  --bg-3: #15101a;
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, 0.68);
  --ink-3: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --orange: #E8650A;
  --pink: #C2185B;
  --orange-soft: rgba(232, 101, 10, 0.18);
  --pink-soft: rgba(194, 24, 91, 0.18);
  --serif: "Cinzel", "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* atmospheric backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(232,101,10,0.08), transparent 60%),
    radial-gradient(50% 50% at 90% 90%, rgba(194,24,91,0.07), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.045 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: overlay;
  z-index: 1;
}

main, nav, footer, section { position: relative; z-index: 2; }

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

/* ===================== NAV ===================== */
nav.top {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(10, 10, 10, 0.62);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 36px; height: 36px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(232,101,10,0.55));
}
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.28em;
  font-size: 15px;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active {
  color: var(--orange);
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: #0a0a0a;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 0 30px rgba(232,101,10,0.45),
    0 8px 24px -10px rgba(232,101,10,0.6);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1) inset,
    0 0 48px rgba(232,101,10,0.65),
    0 12px 32px -12px rgba(232,101,10,0.75);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(255,255,255,0.32);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(255,255,255,0.04);
}
.btn--pink {
  background: transparent;
  color: var(--ink);
  border-color: rgba(194,24,91,0.55);
  box-shadow: 0 0 24px rgba(194,24,91,0.18);
}
.btn--pink:hover {
  border-color: var(--pink);
  box-shadow: 0 0 32px rgba(194,24,91,0.32);
}
.btn--pink-solid {
  background: var(--pink);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 0 30px rgba(194,24,91,0.5),
    0 8px 24px -10px rgba(194,24,91,0.65);
}
.btn--pink-solid:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1) inset,
    0 0 48px rgba(194,24,91,0.7),
    0 12px 32px -12px rgba(194,24,91,0.8);
}

/* ===================== HERO (home) ===================== */
.hero {
  position: relative;
  padding: 120px 0 140px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 38%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background:
    radial-gradient(circle at 50% 45%, rgba(232,101,10,0.42), transparent 38%),
    radial-gradient(circle at 50% 70%, rgba(194,24,91,0.36), transparent 45%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  text-align: center;
  position: relative;
}
.hero-mark {
  width: clamp(220px, 30vw, 360px);
  height: auto;
  display: block;
  margin: 0 auto 8px;
  filter: drop-shadow(0 0 50px rgba(232,101,10,0.45)) drop-shadow(0 0 90px rgba(194,24,91,0.25));
  animation: markpulse 6s ease-in-out infinite;
}
@keyframes markpulse {
  0%, 100% { filter: drop-shadow(0 0 50px rgba(232,101,10,0.45)) drop-shadow(0 0 90px rgba(194,24,91,0.25)); }
  50%      { filter: drop-shadow(0 0 70px rgba(232,101,10,0.6))  drop-shadow(0 0 120px rgba(194,24,91,0.32)); }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 auto;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
}
h1.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 24px 0 18px;
  text-wrap: balance;
}
h1.hero-title .accent {
  color: var(--orange);
  font-style: italic;
  font-weight: 400;
}
h1.hero-title .accent-pink {
  color: var(--pink);
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-2);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.6;
  text-wrap: pretty;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 64px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero-meta span::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--line-2);
}

/* embers */
.embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ember {
  position: absolute;
  bottom: -10px;
  width: 3px; height: 3px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 8px var(--orange);
  opacity: 0;
  animation: rise 14s linear infinite;
}
.ember.pink { background: var(--pink); box-shadow: 0 0 8px var(--pink); }
@keyframes rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  15%  { opacity: 0.7; }
  85%  { opacity: 0.5; }
  100% { transform: translateY(-110vh) translateX(20px); opacity: 0; }
}

/* ===================== PAGE HEAD (sub-pages) ===================== */
.page-head {
  padding: 96px 0 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-head::before {
  content: "";
  position: absolute;
  left: 50%; top: 60%;
  transform: translate(-50%, -50%);
  width: 900px; height: 600px;
  background:
    radial-gradient(circle at 50% 50%, var(--accent-glow, rgba(232,101,10,0.32)), transparent 55%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.page-head--pink { --accent-glow: rgba(194,24,91,0.32); }
.page-head-inner { position: relative; z-index: 1; }
.page-head .eyebrow { margin-bottom: 24px; }
h1.page-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  text-wrap: balance;
}
h1.page-title .accent { color: var(--orange); font-style: italic; font-weight: 400; }
h1.page-title .accent-pink { color: var(--pink); font-style: italic; font-weight: 400; }
.page-sub {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
}

/* ===================== SECTIONS ===================== */
section {
  padding: 120px 0;
}
.section-head {
  text-align: center;
  margin-bottom: 72px;
}
.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.section-eyebrow.pink { color: var(--pink); }
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.section-sub {
  margin: 18px auto 0;
  max-width: 560px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}

/* feature grid */
.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.012);
  transition: border-color .25s, transform .25s, background .25s;
}
.feature:hover {
  border-color: rgba(232,101,10,0.4);
  background: rgba(232,101,10,0.03);
  transform: translateY(-2px);
}
.feature.pink:hover {
  border-color: rgba(194,24,91,0.4);
  background: rgba(194,24,91,0.03);
}
.ficon {
  width: 44px; height: 44px;
  margin-bottom: 24px;
  color: var(--orange);
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--orange-soft);
  box-shadow: 0 0 24px rgba(232,101,10,0.18);
}
.feature.pink .ficon {
  color: var(--pink);
  background: var(--pink-soft);
  box-shadow: 0 0 24px rgba(194,24,91,0.18);
}
.feature h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 12px;
  letter-spacing: 0.01em;
}
.feature p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.65;
}

/* paths */
.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.path {
  position: relative;
  padding: 56px 44px;
  border-radius: 22px;
  background: rgba(255,255,255,0.014);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.path::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(160deg, var(--accent), transparent 60%);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.path::after {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  right: -120px; top: -120px;
  background: radial-gradient(circle, var(--accent-soft), transparent 60%);
  filter: blur(20px);
  z-index: -1;
}
.path--brands { --accent: var(--orange); --accent-soft: rgba(232,101,10,0.22); }
.path--creators { --accent: var(--pink); --accent-soft: rgba(194,24,91,0.22); }
.path-tag {
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--accent);
}
.path h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  margin: 14px 0 18px;
  line-height: 1.12;
}
.path p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 36px;
  max-width: 36ch;
}
.path .btn { align-self: flex-start; }

/* path positives list */
.path-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.path-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
}
.path-list li svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--accent);
  filter: drop-shadow(0 0 6px var(--accent));
}
.path--brands .path-list li svg { color: var(--orange); filter: drop-shadow(0 0 6px rgba(232,101,10,0.6)); }
.path--creators .path-list li svg { color: var(--pink); filter: drop-shadow(0 0 6px rgba(194,24,91,0.6)); }
.path-list li strong {
  color: var(--ink);
  font-weight: 600;
}

/* steps */
.howitworks { background: var(--bg-2); }
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps::before {
  content: "";
  position: absolute;
  left: 8%; right: 8%;
  top: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 10%, var(--line-2) 90%, transparent);
  z-index: 0;
}
.step {
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--orange);
  background: var(--bg-2);
  border: 1px solid rgba(232,101,10,0.35);
  box-shadow: 0 0 24px rgba(232,101,10,0.18);
}
.step h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  margin: 0 0 10px;
  line-height: 1.25;
}
.step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.55;
}

/* niches */
.niches { text-align: center; }
.niche-pills {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.pill {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: 0.02em;
  padding: 18px 36px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.012);
  color: var(--ink);
  transition: all .25s;
}
.pill:nth-child(1) { color: var(--orange); border-color: rgba(232,101,10,0.35); box-shadow: 0 0 26px rgba(232,101,10,0.12) inset; }
.pill:nth-child(2) { color: #fff; }
.pill:nth-child(3) { color: var(--pink); border-color: rgba(194,24,91,0.35); box-shadow: 0 0 26px rgba(194,24,91,0.12) inset; }
.niches-note {
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 13.5px;
  letter-spacing: 0.04em;
}

/* about */
.about {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.012), transparent);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.about h2 { margin-bottom: 0; }
.about-body p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 22px;
}
.about-body p:first-child {
  color: var(--ink);
  font-size: 19px;
  font-weight: 500;
}
.about-body p:last-child { margin-bottom: 0; }

/* contact */
.contact {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding-bottom: 80px;
}
.contact::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  transform: translate(-50%, -10%);
  width: 1100px; height: 700px;
  background:
    radial-gradient(circle at 40% 50%, rgba(232,101,10,0.22), transparent 55%),
    radial-gradient(circle at 65% 60%, rgba(194,24,91,0.22), transparent 55%);
  filter: blur(20px);
  pointer-events: none;
}
.contact-inner { position: relative; }
.contact h2 { font-size: clamp(40px, 5.2vw, 72px); }
.contact-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin: 36px 0 56px;
  flex-wrap: wrap;
}
.emails {
  display: flex;
  gap: 36px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  color: var(--ink-2);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.emails a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.18); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.emails a:hover { color: var(--orange); border-color: var(--orange); }

form.contact-form {
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 36px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(10px);
}
form.contact-form .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14.5px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  outline: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);
  background: rgba(232,101,10,0.04);
  box-shadow: 0 0 0 4px rgba(232,101,10,0.12);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%23ffffff' stroke-opacity='0.5' stroke-width='1.4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ===================== LEGAL / PROSE ===================== */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 0 64px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.75;
}
.prose h2 {
  font-family: var(--serif);
  color: var(--ink);
  font-size: 26px;
  font-weight: 500;
  margin: 56px 0 16px;
  letter-spacing: 0;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--sans);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 28px 0 10px;
}
.prose p { margin: 0 0 14px; }
.prose ul { padding-left: 22px; margin: 0 0 18px; }
.prose ul li { margin-bottom: 8px; }
.prose a { color: var(--orange); text-decoration: none; border-bottom: 1px solid rgba(232,101,10,0.4); }
.prose a:hover { border-color: var(--orange); }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92em;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-2);
  color: var(--ink);
}
.prose .meta {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  margin-bottom: 8px;
}

/* ===================== FOOTER ===================== */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  color: var(--ink-3);
  font-size: 13px;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.foot-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.foot-mark {
  width: 26px; height: 26px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(232,101,10,0.45));
}
.foot-tag {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.foot-links {
  display: flex;
  gap: 24px;
}
.foot-links a { color: var(--ink-3); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
  .three { grid-template-columns: 1fr; }
  .paths { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  section { padding: 88px 0; }
  .hero { padding: 80px 0 100px; }
  .page-head { padding: 64px 0 40px; }
  form.contact-form { grid-template-columns: 1fr; padding: 24px; }
  .hero-meta { gap: 20px; }
}
/* On tablet/mobile, instead of hiding the nav, wrap it below the brand so
   visitors can still reach every page without a hamburger menu. */
@media (max-width: 760px) {
  .nav-inner {
    flex-wrap: wrap;
    height: auto;
    row-gap: 8px;
    padding: 12px 0;
  }
  .nav-links {
    order: 3;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px solid var(--line);
    justify-content: center;
  }
  .nav-links li { list-style: none; }
  .nav-links a { font-size: 14px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .hero-ctas .btn, .contact-ctas .btn { width: 100%; }
  /* iOS Safari zooms inputs whose font-size is below 16px on focus —
     this keeps the page anchored when filling out forms on phones. */
  .field input,
  .field select,
  .field textarea { font-size: 16px; }
  form.contact-form { padding: 20px; }
  .prose { font-size: 15px; }
  .prose h2 { font-size: 22px; margin: 40px 0 12px; }
  footer { padding: 32px 0 40px; }
  .foot-grid { flex-direction: column; align-items: flex-start; gap: 18px; }
  .foot-links { flex-wrap: wrap; }
}

/* ===================== KLARO — DARK THEME OVERRIDES ===================== */
/* Klaro ships with a light theme; map its surfaces to the site's dark palette
   so the consent notice doesn't look bolted on. */
#klaro .cookie-notice,
#klaro .cookie-modal .cm-modal {
  background: rgba(12, 12, 12, 0.96) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
  font-family: var(--sans) !important;
  backdrop-filter: blur(10px);
}
#klaro .cookie-notice p,
#klaro .cookie-modal p,
#klaro .cookie-modal .cm-body,
#klaro .cookie-modal .cm-header h1,
#klaro .cookie-notice .cn-ok,
#klaro .cookie-modal .cm-footer-buttons,
#klaro .cookie-modal .cm-list-title,
#klaro .cookie-modal .cm-list-description { color: var(--ink) !important; }
#klaro .cookie-notice a,
#klaro .cookie-modal a {
  color: var(--orange) !important;
  text-decoration: underline;
}
#klaro .cm-btn {
  background: var(--orange) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
}
#klaro .cm-btn.cm-btn-info,
#klaro .cm-btn.cn-learn-more {
  background: transparent !important;
  color: var(--ink-2) !important;
  border: 1px solid var(--line-2) !important;
}
#klaro .cm-btn:hover { filter: brightness(1.08); }
#klaro .cm-modal .cm-header { border-bottom: 1px solid var(--line) !important; }
#klaro .cm-modal .cm-footer { border-top: 1px solid var(--line) !important; }
#klaro .cookie-modal .cm-services .cm-service {
  border-bottom: 1px solid var(--line) !important;
}
/* Don't ship the cookie banner on the print stylesheet (media-kit). */
@media print { #klaro { display: none !important; } }

/* Cookie-settings reopen link in the footer matches the other foot-links. */
.foot-links a[data-klaro-show] { cursor: pointer; }
