@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --color-bg: #0a0a0a;
  --color-surface: #1e1e1e;
  --color-surface-strong: #131313;
  --color-accent: #c45fa0;
  --color-accent-soft: rgba(196, 95, 160, 0.18);
  --color-text: #f0f0f0;
  --color-text-muted: #888888;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-white-soft: rgba(240, 240, 240, 0.9);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: min(1120px, calc(100% - 2rem));
  --header-height: 86px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: 'Inter', sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(196, 95, 160, 0.14), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(196, 95, 160, 0.08), transparent 22%),
    linear-gradient(180deg, #0b0b0d 0%, #090909 100%);
  line-height: 1.6;
  cursor: none;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 3px 3px, 4px 4px;
  mix-blend-mode: soft-light;
}

.container {
  width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section {
  padding: 5.5rem 0;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-tag,
.eyebrow {
  margin: 0 0 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-accent);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3.8rem, 14vw, 7.4rem);
}

h2 {
  font-size: clamp(2.2rem, 7vw, 4.4rem);
  max-width: 10ch;
}

h3 {
  font-size: 1.4rem;
  line-height: 1.1;
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.brand img {
  width: 138px;
  height: auto;
}

.site-nav {
  position: fixed;
  top: calc(var(--header-height) + 1.4rem);
  right: 1rem;
  left: 1rem;
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: rgba(16, 16, 16, 0.95);
  backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.site-nav a {
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--color-white-soft);
  transition: color 0.25s ease, background-color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-text);
  background: var(--color-accent-soft);
  outline: none;
}

.site-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.34rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.03);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 2rem);
  padding: 3rem 0 5rem;
}

.hero-content {
  display: grid;
  gap: 1.3rem;
}

.hero-copy {
  max-width: 20ch;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--color-white-soft);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 220px;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #c45fa0 0%, #d57bb3 100%);
  color: #110b10;
  font-weight: 800;
  box-shadow: 0 18px 44px rgba(196, 95, 160, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(196, 95, 160, 0.36);
  outline: none;
}

.hero-blobs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 95, 160, 0.48) 0%, rgba(196, 95, 160, 0.08) 55%, transparent 72%);
  filter: blur(30px);
  animation: drift 14s ease-in-out infinite alternate;
}

.blob-one {
  top: 10%;
  left: -8%;
  width: 260px;
  height: 260px;
}

.blob-two {
  top: 52%;
  right: -10%;
  width: 320px;
  height: 320px;
  animation-duration: 17s;
}

.blob-three {
  bottom: 8%;
  left: 36%;
  width: 220px;
  height: 220px;
  animation-duration: 19s;
}

.services-grid {
  display: grid;
  gap: 1rem;
}

.service-card,
.contact-panel,
.contact-aside,
.stat-card,
.visual-frame {
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(30, 30, 30, 0.84), rgba(15, 15, 15, 0.94));
  box-shadow: var(--shadow-soft);
}

.service-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(196, 95, 160, 0.58);
  box-shadow: 0 26px 80px rgba(196, 95, 160, 0.09);
}

.service-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(196, 95, 160, 0.12);
  font-size: 1.4rem;
}

.service-card p {
  margin-top: 0.85rem;
  color: var(--color-text-muted);
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.about-copy p {
  max-width: 58ch;
  color: var(--color-white-soft);
}

.stats {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 1.35rem;
  border-radius: var(--radius-sm);
}

.stat-number {
  display: block;
  margin-bottom: 0.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  color: var(--color-accent);
}

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

.about-visual {
  display: flex;
}

.visual-frame {
  position: relative;
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.visual-frame::after {
  content: '';
  position: absolute;
  inset: auto -20% -18% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(196, 95, 160, 0.16);
  filter: blur(10px);
}

.visual-frame img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 24px;
}

.contact-panel,
.contact-aside {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.5rem;
}

.form-row label {
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--color-text);
  background: var(--color-surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.budget-row {
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(196, 95, 160, 0.1), transparent 36%),
    rgba(255, 255, 255, 0.025);
}

.budget-slider {
  display: grid;
  gap: 0.8rem;
}

.budget-row.is-custom .budget-slider {
  display: none;
}

.budget-label,
.budget-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.budget-label label {
  margin: 0;
}

.budget-label output {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  color: #110b10;
  background: var(--color-accent);
  font-weight: 800;
}

.budget-scale {
  color: var(--color-text-muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.form-row input[type="range"] {
  width: 100%;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.form-row input[type="range"]:focus {
  outline: none;
  box-shadow: none;
}

.form-row input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent), rgba(255, 255, 255, 0.16));
}

.form-row input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  margin-top: -8px;
  border: 3px solid #110b10;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(196, 95, 160, 0.22);
  appearance: none;
}

.form-row input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent), rgba(255, 255, 255, 0.16));
}

.form-row input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid #110b10;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(196, 95, 160, 0.22);
}

.checkbox-row {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  color: var(--color-white-soft);
  cursor: pointer;
}

.checkbox-row input {
  width: 1.15rem;
  height: 1.15rem;
  padding: 0;
  border: 1px solid rgba(196, 95, 160, 0.5);
  border-radius: 5px;
  accent-color: var(--color-accent);
}

.custom-budget-row {
  display: grid;
  gap: 0.5rem;
}

[hidden] {
  display: none !important;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(196, 95, 160, 0.12);
  background: #232323;
}

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

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-button {
  margin-top: 0.25rem;
}

.form-status {
  min-height: 1.5rem;
  color: var(--color-text-muted);
}

.form-status.is-success {
  color: #e7a9cb;
}

.form-status.is-error {
  color: #ff8d8d;
}

.contact-aside {
  display: grid;
  align-content: center;
  gap: 1rem;
  background:
    radial-gradient(circle at top right, rgba(196, 95, 160, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(30, 30, 30, 0.9), rgba(14, 14, 14, 0.96));
}

.contact-kicker {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 5vw, 2.6rem);
  line-height: 1.02;
}

.contact-mail {
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  font-weight: 700;
  color: var(--color-accent);
  word-break: break-word;
}

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

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-content {
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-content p,
.footer-content small {
  color: var(--color-text-muted);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-links a:hover,
.social-links a:focus-visible {
  border-color: rgba(196, 95, 160, 0.55);
  color: var(--color-accent);
  transform: translateY(-2px);
  outline: none;
}

#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(196, 95, 160, 0.72);
  box-shadow: 0 0 26px rgba(196, 95, 160, 0.55);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

#custom-cursor.is-hidden {
  opacity: 0;
}

#custom-cursor.is-active {
  width: 34px;
  height: 34px;
  background: rgba(196, 95, 160, 0.24);
  border: 1px solid rgba(196, 95, 160, 0.8);
}

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

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

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(18px, -26px, 0) scale(1.08);
  }
}

@media (min-width: 768px) {
  .section {
    padding: 7rem 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .container {
    width: min(1180px, calc(100% - 4rem));
  }

  .nav-shell {
    padding-inline: 1.5rem;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1.35fr 0.85fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  body {
    cursor: auto;
  }

  #custom-cursor {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
