:root {
  --void: #07040d;
  --velvet: #12081c;
  --plum: #2a1238;
  --magenta: #9b2d7a;
  --magenta-soft: #c45a9a;
  --indigo: #3d3a7a;
  --indigo-deep: #1e1a3a;
  --star: #f2ecff;
  --star-dim: #a89bb8;
  --mist: rgba(196, 90, 154, 0.12);
  --haze: rgba(61, 58, 122, 0.35);
  --text: #e8e0f2;
  --text-muted: #a89bb8;
  --line: rgba(242, 236, 255, 0.08);
  --radius: 2px;
  --font: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--void);
  line-height: 1.65;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(155, 45, 122, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(61, 58, 122, 0.35), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(42, 18, 56, 0.6), transparent 40%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Ccircle cx='12' cy='40' r='0.8' fill='%23f2ecff' opacity='0.5'/%3E%3Ccircle cx='80' cy='20' r='0.5' fill='%23f2ecff' opacity='0.4'/%3E%3Ccircle cx='160' cy='60' r='0.6' fill='%23f2ecff' opacity='0.35'/%3E%3Ccircle cx='40' cy='120' r='0.4' fill='%23f2ecff' opacity='0.45'/%3E%3Ccircle cx='130' cy='150' r='0.7' fill='%23f2ecff' opacity='0.3'/%3E%3Ccircle cx='190' cy='100' r='0.5' fill='%23f2ecff' opacity='0.4'/%3E%3C/svg%3E");
  background-attachment: fixed;
}

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

a {
  color: var(--magenta-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--star);
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--star);
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.shell {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(7, 4, 13, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

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

.brand-mark {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 65% 35%, var(--magenta-soft), transparent 45%),
    radial-gradient(circle at 30% 70%, var(--indigo), transparent 50%),
    var(--plum);
  box-shadow: 0 0 20px rgba(155, 45, 122, 0.35);
  animation: nebula-pulse 6s ease-in-out infinite;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 450;
}

.site-nav a:hover {
  color: var(--star);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(196, 90, 154, 0.45);
  background: linear-gradient(135deg, rgba(155, 45, 122, 0.35), rgba(61, 58, 122, 0.25));
  color: var(--star) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--star);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(145deg, var(--magenta), #6b1f5a 60%, var(--indigo));
  color: var(--star);
  box-shadow: 0 8px 28px rgba(155, 45, 122, 0.35);
}

.btn-primary:hover {
  color: var(--star);
  box-shadow: 0 10px 36px rgba(196, 90, 154, 0.45);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(242, 236, 255, 0.35), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(196, 90, 154, 0.5);
  color: var(--star);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Hero — full-bleed visual plane */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.45);
  animation: slow-drift 28s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 4, 13, 0.35) 0%, rgba(7, 4, 13, 0.55) 40%, rgba(7, 4, 13, 0.92) 100%),
    radial-gradient(ellipse at 30% 70%, rgba(155, 45, 122, 0.25), transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0 5rem;
  max-width: 36rem;
  animation: rise-in 0.9s var(--ease) both;
}

.hero-brand {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--star);
  text-shadow: 0 0 40px rgba(155, 45, 122, 0.4);
}

.hero-title {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  color: var(--star);
  margin: 0 0 0.75rem;
  max-width: 28rem;
  line-height: 1.35;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 28rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0 0 0.75rem;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
}

.panel {
  background: linear-gradient(160deg, rgba(18, 8, 28, 0.9), rgba(30, 26, 58, 0.55));
  border: 1px solid var(--line);
  padding: 1.75rem;
}

.panel + .panel {
  margin-top: 1rem;
}

/* Service preview — list, not card grid */
.service-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: start;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.service-row:hover {
  padding-left: 0.5rem;
  background: var(--mist);
}

.service-row h3 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.service-row p {
  margin: 0;
  color: var(--text-muted);
  max-width: 40rem;
}

.service-price {
  font-size: 0.9rem;
  color: var(--magenta-soft);
  white-space: nowrap;
  padding-top: 0.25rem;
}

/* Evidence / quote */
.evidence {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.evidence-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.evidence-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.7);
}

.evidence-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(7, 4, 13, 0.5));
}

.quote {
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--star);
  margin: 0 0 1rem;
  font-weight: 450;
}

.quote-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(155, 45, 122, 0.18), transparent 45%),
    radial-gradient(ellipse at 100% 50%, rgba(61, 58, 122, 0.2), transparent 40%);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem;
}

.page-hero p {
  max-width: 36rem;
  color: var(--text-muted);
  margin: 0;
}

/* Split feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-media {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.65);
}

.split-copy h2 {
  margin-top: 0;
}

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

/* Blog */
.journal-list {
  display: grid;
  gap: 2.5rem;
}

.journal-item {
  display: grid;
  grid-template-columns: minmax(0, 240px) 1fr;
  gap: 1.75rem;
  text-decoration: none;
  color: inherit;
  align-items: start;
}

.journal-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.7);
}

.journal-item h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.journal-item p {
  color: var(--text-muted);
  margin: 0;
}

.journal-meta {
  font-size: 0.85rem;
  color: var(--star-dim);
  margin-bottom: 0.4rem;
}

.prose {
  max-width: 40rem;
}

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

.cover-bleed {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin: 2rem 0;
  filter: saturate(0.7) brightness(0.65);
}

/* Services detail */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.feature-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--magenta-soft);
  box-shadow: 0 0 8px var(--magenta);
}

.price-note {
  color: var(--magenta-soft);
  font-size: 0.95rem;
}

/* Insights custom page */
.insight-timeline {
  display: grid;
  gap: 0;
  margin-top: 2rem;
}

.insight-step {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.insight-num {
  font-size: 1.5rem;
  color: var(--magenta-soft);
  font-weight: 600;
}

.insight-step h3 {
  margin: 0 0 0.4rem;
}

.insight-step p {
  margin: 0;
  color: var(--text-muted);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-strip figure {
  margin: 0;
}

.gallery-strip img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.6);
}

.gallery-strip figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Forms */
.form {
  max-width: 32rem;
  display: grid;
  gap: 1.1rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form input,
.form select,
.form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  background: rgba(18, 8, 28, 0.85);
  border: 1px solid var(--line);
  color: var(--star);
  outline: none;
  transition: border-color 0.25s;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: rgba(196, 90, 154, 0.6);
}

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

.field-error {
  color: #e8a0c0;
  font-size: 0.85rem;
  min-height: 1.1em;
}

.form-status {
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  display: none;
}

.form-status.is-success {
  display: block;
  border-color: rgba(196, 90, 154, 0.5);
  background: var(--mist);
  color: var(--star);
}

.form-status.is-error {
  display: block;
  border-color: rgba(232, 160, 192, 0.4);
  color: #e8a0c0;
}

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

.contact-aside a {
  color: var(--magenta-soft);
}

/* Legal */
.legal {
  max-width: 42rem;
}

.legal h2 {
  margin-top: 2.5rem;
  font-size: 1.35rem;
}

.legal p,
.legal li {
  color: var(--text-muted);
}

/* 404 */
.not-found {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 4rem 1rem;
}

.not-found h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin: 0;
  background: linear-gradient(135deg, var(--magenta-soft), var(--indigo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(12, 6, 22, 0.95);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  padding: 1.1rem 0;
  animation: rise-in 0.5s var(--ease);
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 16rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.cookie-error {
  text-align: center;
  color: #e8a0c0;
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(18, 8, 28, 0.8));
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--star);
  margin: 0 0 0.4rem;
}

.footer-tag {
  color: var(--text-muted);
  margin: 0;
}

.footer-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--magenta-soft);
  margin: 0 0 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a,
.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover,
.site-footer a:hover {
  color: var(--star);
}

.footer-base {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  color: var(--star-dim);
  font-size: 0.85rem;
}

.footer-base p {
  margin: 0;
}

/* Animations */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nebula-pulse {
  0%, 100% { box-shadow: 0 0 16px rgba(155, 45, 122, 0.3); }
  50% { box-shadow: 0 0 28px rgba(196, 90, 154, 0.55); }
}

@keyframes slow-drift {
  from { transform: scale(1.05) translate(0, 0); }
  to { transform: scale(1.12) translate(-2%, 1%); }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .evidence,
  .split,
  .footer-grid,
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .journal-item {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 4, 13, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }

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

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .hero {
    min-height: 85vh;
  }
}
