/* ============================================================
   Traibe.Tech — V2 consolidated pass
   Luminous blue-purple direction · floating pill navbar
   ============================================================
   TODO (later, not in this pass): metrics stack
   1. Microsoft Clarity  — heatmaps, session recordings, scroll
      behaviour, rage clicks, form abandonment
   2. Google Analytics 4 — traffic sources, funnels, conversions
   3. Google Tag Manager — central tracking management
   ============================================================ */

:root {
  --deep-purple: #1C0047;
  --dark-violet: #2C0066;
  --royal-purple: #39007D;
  --electric-purple: #5000A8;
  --bright-violet: #6700D2;
  --neon-violet: #7200E8;
  --soft-white: #F6F3FF;
  --text-main: #F8F4FF;
  --text-muted: rgba(248, 244, 255, 0.74);
  --lavender-100: #EDE7FF;
  --lavender-300: #C9B8FF;
  --accent-magenta: #D83AC6;
  --accent-pink: #E83BD1;
  --accent-violet: #B51CFF;
  --cyan-blue: #28C7FF;
  --off-white: #F4F1F8;
  --line: rgba(237, 231, 255, 0.36);

  --font-display: "Orbitron", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1160px;
  --pad-x: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --nav-clearance: 132px; /* floating navbar + breathing room */
}

/* ---------- Reset / base ---------- */

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-main);
  background:
    radial-gradient(circle at 10% 18%, rgba(114, 0, 232, 0.55), transparent 34%),
    radial-gradient(circle at 75% 16%, rgba(80, 0, 168, 0.35), transparent 38%),
    linear-gradient(115deg, #2C0066 0%, #39007D 28%, #24305B 62%, #17264A 100%);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
}

/* Subtle noise texture over the gradient */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.05;
  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='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, footer { position: relative; z-index: 1; }

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.18;
  font-weight: 600;
  margin: 0 0 1rem;
}

h1 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.15rem); }
h3 { font-size: clamp(0.98rem, 1.6vw, 1.15rem); letter-spacing: 0.1em; }

p { margin: 0 0 1rem; }

.muted { color: var(--text-muted); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan-blue);
  outline-offset: 3px;
}

/* ---------- Layout helpers ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.section-title {
  text-align: center;
  margin-bottom: clamp(2.2rem, 5vw, 3.6rem);
}

.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0 auto;
  max-width: var(--container);
  width: calc(100% - 2 * var(--pad-x));
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-magenta);
  margin-bottom: 1.1rem;
}

/* Reserved-content placeholder (intentional, subtle) */
.reserved-note {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--lavender-300);
  border: 1px dashed rgba(201, 184, 255, 0.4);
  padding: 0.55rem 1rem;
  margin-top: 1.4rem;
}

/* ---------- Floating pill navbar ---------- */

.nav-shell {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92vw, 1380px);
  min-height: 72px;
  padding: 0 28px;
  border-radius: 999px;
  background: rgba(32, 24, 54, 0.72);
  border: 1px solid rgba(237, 231, 255, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text-main);
  padding: 0.6rem 0;
}

.brand__mark {
  width: 40px;
  height: 40px;
  color: var(--lavender-100);
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav a {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-main);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover { color: var(--lavender-300); background: rgba(237, 231, 255, 0.06); }

.nav a[aria-current="page"] { color: var(--accent-magenta); }

/* Future language dropdown slot reserved here:
   between the Contact link and .nav-cta (do not render yet). */

.nav-cta {
  background: linear-gradient(90deg, #D83AC6 0%, #B51CFF 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover { filter: brightness(1.12); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  cursor: pointer;
}

/* ---------- Breadcrumbs (subpages only) ---------- */

.breadcrumbs {
  font-family: var(--font-display);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lavender-300);
  margin-bottom: 1.6rem;
}

.breadcrumbs a {
  color: var(--lavender-300);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover { color: var(--accent-magenta); }

.breadcrumbs span[aria-current="page"] { color: var(--accent-magenta); }

.breadcrumbs .sep { margin: 0 0.5rem; opacity: 0.6; }

/* ---------- Buttons ---------- */

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 2rem;
  background: linear-gradient(90deg, #D83AC6 0%, #B51CFF 100%);
  color: var(--white, #FFFFFF);
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.cta-button:hover { filter: brightness(1.12); transform: translateY(-1px); }
.cta-button:active { transform: translateY(0); }

/* ---------- Hero (Home) ---------- */

.hero {
  padding-top: var(--nav-clearance);
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero__title { margin-bottom: 1.25rem; }

.hero__subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 2.2rem;
}

/* Hero visual: transparent-alpha WebM floats directly on the gradient —
   no box, no panel. A soft radial glow sits behind the object. */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%,
    rgba(181, 28, 255, 0.28) 0%,
    rgba(114, 0, 232, 0.15) 42%,
    transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}

.hero__visual video,
.hero__visual img {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

/* Sub-page hero */
.page-hero {
  padding-top: var(--nav-clearance);
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.page-hero--split .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.page-hero--center { text-align: center; }

.page-hero--center .breadcrumbs { text-align: center; }

.page-hero--center .muted { margin-inline: auto; }

/* ---------- Split sections ---------- */

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split-section--text-cols { align-items: start; }

.split-section__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.split-section__visual::before {
  content: "";
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(114, 0, 232, 0.22) 0%,
    transparent 68%);
  pointer-events: none;
}

.split-section__visual img { position: relative; width: min(100%, 420px); }

.split-subtitle {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-magenta);
  margin-bottom: 1rem;
}

.qa-line {
  border-left: 2px solid var(--accent-violet);
  padding-left: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 1.3rem 0 1.6rem;
}

.qa-line strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lavender-300);
  margin-bottom: 0.35rem;
}

/* Glass panel for visuals that need an intentional frame */
.glass-panel {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(237, 231, 255, 0.22);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(237, 231, 255, 0.08), rgba(114, 0, 232, 0.10));
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.glass-panel img { width: min(80%, 300px); }

/* Floating secondary 3D visual */
.visual-object {
  display: flex;
  justify-content: center;
}

.visual-object img { width: min(100%, 280px); }

.visual-object--right {
  justify-content: flex-end;
  padding-right: clamp(0rem, 6vw, 5rem);
}

@media (prefers-reduced-motion: no-preference) {
  .visual-object--float img {
    animation: floaty 7s ease-in-out infinite;
  }
  @keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
  }
}

/* ---------- Cards ---------- */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.service-card {
  background: var(--off-white);
  color: #201733;
  border-radius: 10px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  color: var(--accent-magenta);
  margin-bottom: 1rem;
}

.service-card p { color: #3c3350; font-size: 0.95rem; flex-grow: 1; }

.card-link {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--electric-purple);
  text-decoration: none;
  margin-top: 0.8rem;
  transition: color 0.2s ease;
}

.card-link:hover { color: var(--accent-magenta); }

/* Outline cards (vision / mission / methodology) */
.outline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.outline-grid--three { grid-template-columns: repeat(3, 1fr); }

.outline-card {
  border: 1px solid rgba(237, 231, 255, 0.36);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}

.outline-card h3 { color: var(--accent-magenta); }
.outline-card p { color: var(--text-muted); font-size: 0.95rem; }

.step-number {
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: var(--cyan-blue);
  display: block;
  margin-bottom: 0.6rem;
}

/* ---------- Proof & final CTA ---------- */

.proof-block { text-align: center; }

.proof-block p {
  max-width: 44rem;
  margin-inline: auto;
  color: var(--text-muted);
}

.final-cta { text-align: center; }

.final-cta p {
  color: var(--text-muted);
  max-width: 40rem;
  margin: 0 auto 2.2rem;
}

/* ---------- Contact footer block ---------- */

.contact-block {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.contact-block .container {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.contact-block h2 { margin-bottom: 2rem; }

.contact-block__links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 360px;
}

.contact-block__links .cta-button { width: 100%; }

.contact-line {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 1.2rem;
  border: 1px solid rgba(237, 231, 255, 0.36);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.92rem;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-line:hover {
  border-color: var(--lavender-300);
  background: rgba(255, 255, 255, 0.06);
}

.contact-block__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.contact-block__visual::before {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(181, 28, 255, 0.22) 0%,
    transparent 66%);
  pointer-events: none;
}

.contact-block__visual img { position: relative; width: min(100%, 400px); }

.site-footer {
  border-top: 1px solid rgba(237, 231, 255, 0.12);
  padding: 1.4rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Contact page ---------- */

.contact-form-section .container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.form-card {
  background: #FFFFFF;
  color: #201733;
  border: 1px solid var(--accent-magenta);
  border-radius: 14px;
  box-shadow: 0 0 42px rgba(216, 58, 198, 0.35);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  max-width: 460px;
  width: 100%;
}

.form-card h2 {
  font-size: 1.1rem;
  color: var(--electric-purple);
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 1.6rem;
}

.form-field { margin-bottom: 1.15rem; }

.form-field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-magenta);
  margin-bottom: 0.45rem;
}

.form-field label .optional {
  color: #8a7fa5;
  text-transform: none;
  letter-spacing: 0.04em;
  font-family: var(--font-body);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(80, 0, 168, 0.4);
  border-radius: 8px;
  padding: 0.65rem 0.8rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #201733;
  background: #FFFFFF;
}

.form-field textarea { min-height: 110px; resize: vertical; }

.form-card .cta-button { width: 100%; margin-top: 0.4rem; }

.privacy-note {
  font-size: 0.76rem;
  color: #6f6588;
  text-align: center;
  margin: 0.9rem 0 0;
}

.contact-aside h2 { margin-bottom: 1.4rem; }

.contact-aside p { color: var(--text-muted); max-width: 30rem; }

/* ---------- Founder / story (About) ---------- */

.founder-quote {
  font-size: 0.98rem;
  color: var(--text-muted);
  border: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.founder-name {
  font-weight: 600;
  color: var(--accent-magenta);
  font-size: 0.9rem;
}

/* Reserved portrait slot: professional founder image added later */
.portrait-slot {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 4 / 5;
  border: 1px dashed rgba(201, 184, 255, 0.45);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(237, 231, 255, 0.06), rgba(114, 0, 232, 0.10));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.4rem;
  text-align: center;
}

.portrait-slot img { width: 55%; opacity: 0.9; }

.portrait-slot span {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lavender-300);
}

.story-body {
  max-width: 46rem;
  margin-inline: auto;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Scroll-to-top button ---------- */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(237, 231, 255, 0.3);
  background: rgba(32, 24, 54, 0.6);
  backdrop-filter: blur(10px);
  color: var(--lavender-100);
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover { background: rgba(80, 0, 168, 0.55); }

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
  .nav a { padding: 0.7rem 0.7rem; }
  .nav-cta { padding: 12px 16px; }
}

@media (max-width: 900px) {
  :root { --nav-clearance: 118px; }

  .hero .container,
  .page-hero--split .container,
  .split-section,
  .contact-block .container,
  .contact-form-section .container,
  .outline-grid,
  .outline-grid--three {
    grid-template-columns: 1fr;
  }

  .hero { min-height: auto; }
  .hero .container { gap: 2.5rem; }
  .hero__visual { order: 2; }
  .hero__copy { order: 1; }

  .split-section__visual { order: 2; }
  .split-section__copy { order: 1; }

  .cards-grid { grid-template-columns: 1fr; }

  .contact-block__visual { order: 2; }

  .form-card { max-width: 100%; }

  .cta-button { width: 100%; max-width: 420px; }

  /* Pill navbar collapse */
  .nav-shell {
    flex-wrap: wrap;
    border-radius: 26px;
    padding: 10px 18px;
    row-gap: 0;
  }

  .nav-toggle { display: inline-flex; margin-left: auto; }

  .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    margin: 0.4rem 0 0.6rem;
    gap: 0.15rem;
  }

  .nav.is-open { display: flex; }

  .nav a { border-radius: 12px; padding: 0.8rem 0.9rem; }

  .nav-cta {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    margin-bottom: 0.5rem;
    display: none;
  }

  .nav.is-open ~ .nav-cta,
  .nav-shell.is-open .nav-cta { display: inline-flex; }

  .to-top { right: 14px; bottom: 14px; }
}

/* ---------- Reduced motion ---------- */

@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;
  }
}

/* Secondary (outline) CTA — added for the two-button hero */
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 2rem;
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(237, 231, 255, 0.45);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cta-secondary:hover { border-color: var(--lavender-300); background: rgba(255,255,255,0.05); }
.hero__cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; }
@media (max-width: 900px) { .hero__cta-row { flex-direction: column; } .cta-secondary { width: 100%; max-width: 420px; } }


/* Core Problem & Solution beats */
.beat { margin-bottom: 2.6rem; }
.beat-lead {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  letter-spacing: 0.04em;
  color: var(--text-main);
  margin-bottom: 0.9rem;
}

/* Service card sublines */
.card-subline {
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--electric-purple);
  margin: -0.4rem 0 0.9rem;
}

/* ============================================================
   Homepage refinement pass (index.html only)
   ============================================================ */

/* Hero: two-color headline (accent = nav hover lilac) */
.accent { color: var(--lavender-300); }

/* Hero: secondary CTA as text link */
.hero-textlink {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-magenta);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.hero-textlink:hover { color: var(--accent-pink); border-bottom-color: var(--accent-pink); }

/* Problem/Solution: two-column visual section */
.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3.5vw, 2.5rem);
  margin-top: 2.4rem;
  align-items: start;
}
.ps-col { display: flex; flex-direction: column; gap: clamp(1.5rem, 3.5vw, 2.5rem); }
.ps-block {
  border: 1px solid rgba(237, 231, 255, 0.22);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(237, 231, 255, 0.05), rgba(114, 0, 232, 0.08));
  padding: clamp(1.4rem, 2.6vw, 2rem);
}
.ps-block--solution {
  border-color: rgba(216, 58, 198, 0.45);
  background: linear-gradient(150deg, rgba(216, 58, 198, 0.10), rgba(114, 0, 232, 0.12));
}
.ps-visual {
  border: 1px solid rgba(237, 231, 255, 0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(114, 0, 232, 0.30), transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(216, 58, 198, 0.18), transparent 55%),
    rgba(255, 255, 255, 0.02);
  min-height: 220px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}
.ps-visual img { width: min(70%, 260px); }
@media (prefers-reduced-motion: no-preference) {
  .ps-visual img { animation: floaty 7s ease-in-out infinite; }
}

/* Service cards: premium hover lift + aligned sublines */
.service-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(28, 0, 71, 0.35), 0 0 30px rgba(216, 58, 198, 0.16);
}
.cards-grid .service-card h3 { min-height: 3.4em; display: flex; align-items: flex-end; }

/* Case study: disclaimer, quotes block, numbered steps */
.case-disclaimer {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 2.8rem;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-muted);
}
.leader-quotes {
  position: relative;
  max-width: 46rem;
  margin: 0 auto 3.4rem;
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.6rem, 4vw, 3rem);
}
.leader-quotes::before {
  content: "\201C";
  position: absolute;
  top: -0.35em;
  left: 0;
  font-family: Georgia, serif;
  font-size: 6.5rem;
  line-height: 1;
  color: rgba(201, 184, 255, 0.28);
  pointer-events: none;
}
.leader-quotes__title {
  text-align: center;
  margin-bottom: 2rem;
}
.leader-quote p:first-child {
  font-size: 1.02rem;
  color: var(--text-main);
  margin-bottom: 0.8rem;
}
.leader-quotes__sep {
  border: none;
  border-top: 1px solid var(--line);
  margin: 1.8rem 0;
}
.case-steps {
  max-width: 46rem;
  margin: 0 auto;
  counter-reset: casestep;
}
.case-step {
  counter-increment: casestep;
  position: relative;
  padding: 0 0 2rem 3.4rem;
  border-left: 1px solid rgba(237, 231, 255, 0.22);
  margin-left: 1rem;
}
.case-step:last-child { padding-bottom: 0.4rem; }
.case-step::before {
  content: "0" counter(casestep);
  position: absolute;
  left: -1.05rem;
  top: -0.1rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-magenta), var(--accent-violet));
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-step h3 { margin-bottom: 0.7rem; }

/* Strong footer (intentional closing section) */
.site-footer--strong {
  border-top: 1px solid rgba(237, 231, 255, 0.18);
  background: linear-gradient(180deg, rgba(28, 0, 71, 0.35), rgba(28, 0, 71, 0.6));
  padding: clamp(2.4rem, 5vw, 3.6rem) 0 1.2rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(237, 231, 255, 0.12);
}
.footer-nav { display: flex; gap: 1.4rem; }
.footer-nav a, .footer-contact a {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--lavender-300); }
.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.82rem; color: var(--text-muted); }
.footer-cta .cta-button { min-height: 46px; padding: 0 1.4rem; font-size: 0.7rem; }
.footer-bottom { padding-top: 1.1rem; font-size: 0.78rem; color: var(--text-muted); }
@media (max-width: 900px) {
  .ps-grid { grid-template-columns: 1fr; }
  .cards-grid .service-card h3 { min-height: 0; display: block; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-cta .cta-button { width: 100%; max-width: 420px; }
}

/* ============================================================
   Focused update: footer 1/3–2/3, language switcher, legal pages
   ============================================================ */

/* Semantic headline accent (movable for future translations) */
.headline-accent { color: var(--lavender-300); }

/* Language switcher placeholder */
.lang-switch {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.lang-switch:hover { color: var(--lavender-300); background: rgba(237, 231, 255, 0.06); }

/* Footer: left 1/3 brand, right 2/3 four link columns */
.site-footer--strong .footer-main {
  display: block;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(237, 231, 255, 0.12);
}
.footer-brand-col .brand { margin-bottom: 1rem; }
.footer-positioning {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin: 0.4rem 0 0.6rem;
}
.footer-supporting {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 24rem;
  margin-bottom: 1.1rem;
}
.footer-social { display: flex; gap: 1.2rem; }
.footer-social a {
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-social a:hover { color: var(--lavender-300); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 3vw, 2.2rem);
}
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col h4 {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--lavender-300);
  margin-bottom: 0.5rem;
}
.footer-col a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--lavender-300); }
.footer-col .footer-cta-link { color: var(--accent-magenta); }
.footer-col .footer-cta-link:hover { color: var(--accent-pink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 1.1rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Legal placeholder pages */
.legal-page { min-height: 46vh; }
.legal-placeholder { max-width: 34rem; }

@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .lang-switch { order: 1; margin-left: auto; }
  .nav-toggle { margin-left: 0; order: 2; }
}
@media (max-width: 520px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* ============================================================
   Consolidated update: nav separator, footer v2, placeholders,
   mission/vision editorial, WHAT YOU GET, required fields
   ============================================================ */

/* Nav separator before language switcher */
.nav-sep { color: rgba(237, 231, 255, 0.28); font-size: 0.85rem; user-select: none; }

/* Footer v2 */
.footer-brand-col .footer-cta-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-magenta);
  text-decoration: none;
  margin-bottom: 1.2rem;
  transition: color 0.2s ease;
}
.footer-brand-col .footer-cta-link:hover { color: var(--accent-pink); }
.footer-social { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-social a:hover { color: var(--lavender-300); }
.footer-social svg { flex-shrink: 0; }
/* Horizontal divider above the sitemap grid */
.footer-cols {
  border-top: 1px solid rgba(237, 231, 255, 0.14);
  margin-top: 36px;
  padding-top: 36px;
}
.footer-location { display: inline-flex; align-items: center; gap: 0.4rem; }

/* Premium image placeholders (no grey boxes) */
.img-placeholder {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(237, 231, 255, 0.2);
  background:
    radial-gradient(circle at 25% 20%, rgba(114, 0, 232, 0.4), transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(216, 58, 198, 0.28), transparent 50%),
    radial-gradient(circle at 60% 40%, rgba(40, 199, 255, 0.12), transparent 45%),
    linear-gradient(150deg, rgba(44, 0, 102, 0.55), rgba(23, 38, 74, 0.7));
}
.img-placeholder--tall { min-height: 340px; height: 100%; }
.img-placeholder--full { min-height: 440px; height: 100%; }

/* Services hero: full background image area */
.services-hero {
  position: relative;
  background:
    radial-gradient(circle at 20% 25%, rgba(114, 0, 232, 0.45), transparent 45%),
    radial-gradient(circle at 80% 65%, rgba(216, 58, 198, 0.25), transparent 50%),
    linear-gradient(160deg, rgba(44, 0, 102, 0.5), rgba(23, 38, 74, 0.65));
  /* Replace later: background-image: url('assets/services-hero.jpg'); background-size: cover; */
}
.services-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 0, 71, 0.25), rgba(28, 0, 71, 0.05) 40%, rgba(28, 0, 71, 0.3));
  pointer-events: none;
}
.services-hero .container { position: relative; z-index: 1; }

/* WHAT YOU GET label */
.what-you-get {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--lavender-300);
  margin: 1.4rem 0 0.4rem;
}

/* Mission & Vision: editorial columns, no cards */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 2.4rem;
}
.mv-col { padding: 0 clamp(1.5rem, 4vw, 3rem); }
.mv-col:first-child { padding-left: 0; }
.mv-col + .mv-col { border-left: 1px solid rgba(237, 231, 255, 0.24); }
.mv-col h3 { color: var(--accent-magenta); margin-bottom: 1rem; }
.mv-col p { color: var(--text-muted); font-size: 0.95rem; }

/* Founder quotes: distinct treatment */
.founder-quote {
  position: relative;
  border-left: 2px solid var(--accent-violet);
  padding: 0.4rem 0 0.4rem 1.3rem;
  margin: 1.4rem 0;
}
.founder-quote::before {
  content: "\201C";
  position: absolute;
  left: -0.55rem;
  top: -0.5rem;
  font-family: Georgia, serif;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--accent-violet);
  background: transparent;
}
.founder-quote p {
  color: var(--lavender-100);
  font-size: 1rem;
}

/* Required field indicators */
.req { color: var(--accent-magenta); }
.req-note {
  font-size: 0.76rem;
  color: #6f6588;
  margin: 0.2rem 0 0.9rem;
}

@media (max-width: 900px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .mv-grid { grid-template-columns: 1fr; }
  .mv-col { padding: 0; }
  .mv-col + .mv-col { border-left: none; border-top: 1px solid rgba(237, 231, 255, 0.24); margin-top: 1.6rem; padding-top: 1.6rem; }
  .img-placeholder--tall, .img-placeholder--full { min-height: 260px; }
}

/* New logo mark: dark baked-in background blends away on dark surfaces */
.brand__mark { mix-blend-mode: screen; border-radius: 6px; }

/* Contact form: honeypot, feedback states */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  color: #B3261E;
  background: rgba(179, 38, 30, 0.08);
  border: 1px solid rgba(179, 38, 30, 0.35);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  margin: 0 0 1rem;
}
.form-success { text-align: center; padding: 1.4rem 0.6rem; }
.form-success__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--electric-purple);
  margin-bottom: 0.7rem;
}
.form-success p:last-child { color: #3c3350; font-size: 0.92rem; margin: 0; }

/* Footer icons row: full-width band with divider above, spread on desktop, icons-only on mobile */
.site-footer--strong .footer-social {
  border-top: 1px solid rgba(237, 231, 255, 0.14);
  margin-top: 36px;
  padding-top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
@media (max-width: 640px) {
  .site-footer--strong .footer-social span { display: none; }
  .site-footer--strong .footer-social a { padding: 0.3rem; }
  .site-footer--strong .footer-social svg { width: 22px; height: 22px; }
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 1100;
  width: min(92vw, 380px);
  background: rgba(32, 24, 54, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(237, 231, 255, 0.24);
  border-radius: 14px;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}
.cookie-banner__text { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.cookie-banner__text a { color: var(--lavender-300); }
.cookie-banner__actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.cookie-banner__actions .cta-button,
.cookie-banner__actions .cta-secondary { min-height: 44px; padding: 0 1.1rem; font-size: 0.68rem; flex: 1; }
@media (max-width: 640px) {
  .cookie-banner { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 14px 14px 0 0; }
}
