@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&display=swap");

:root {
  /* ── Dark palette ── */
  --bg: #08080f;
  --bg-elevated: #0e0e1a;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-solid: #131320;
  --text: #e8eaed;
  --text-bright: #ffffff;
  --muted: #8b8fa3;
  --line: rgba(255, 255, 255, 0.07);

  /* ── Accent system ── */
  --primary: #00e8c6;
  --primary-dim: #00c4a7;
  --primary-glow: rgba(0, 232, 198, 0.15);
  --secondary: #8b5cf6;
  --secondary-glow: rgba(139, 92, 246, 0.12);
  /* ── Glow & shadows ── */
  --glow-sm: 0 0 20px var(--primary-glow);
  --glow-md: 0 0 40px var(--primary-glow), 0 0 80px rgba(0, 232, 198, 0.06);
  --glow-card: 0 0 0 1px var(--line), 0 8px 32px -8px rgba(0, 0, 0, 0.6);
  --shadow-elevated: 0 24px 60px -12px rgba(0, 0, 0, 0.7);

  /* ── Radii ── */
  --radius-xl: 1.35rem;
  --radius-lg: 1rem;
  --radius-md: 0.75rem;

  /* ── Layout ── */
  --nav-height: 4.2rem;
  --container: min(72rem, calc(100% - 2.5rem));
}

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

html {
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle noise texture overlay */
body.site-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: 0;
}

/* Ambient gradient orbs */
body.site-body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 600px 400px at 15% 10%, rgba(0, 232, 198, 0.08), transparent),
    radial-gradient(ellipse 500px 500px at 85% 20%, rgba(139, 92, 246, 0.06), transparent),
    radial-gradient(ellipse 400px 300px at 50% 80%, rgba(0, 232, 198, 0.04), transparent);
  z-index: 0;
}

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

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.navbar {
  border-bottom: 1px solid var(--line);
  background-color: rgba(8, 8, 15, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

.nav-container {
  width: var(--container);
  min-height: var(--nav-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1;
}


.brand-logo-text {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-style: normal;
  color: var(--text-bright);
}

.brand-pair-1 {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
}

.brand-pair-2 {
  color: var(--secondary);
  -webkit-text-fill-color: var(--secondary);
}

.brand-pair-3 {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
}

.brand-logo-dot {
  font-weight: 500;
  color: rgba(139, 143, 163, 0.45);
  -webkit-text-fill-color: rgba(139, 143, 163, 0.45);
}

.mobile-menu-toggle {
  display: none;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1000;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-bright);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 220ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text-bright);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

/* ═══════════════════════════════════════════
   MAIN
   ═══════════════════════════════════════════ */

.site-main {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-height);
}

.site-main section {
  scroll-margin-top: calc(var(--nav-height) + 0.9rem);
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */

.hero-section {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  min-height: calc(100svh - var(--nav-height));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2.5rem 1.25rem 3.5rem;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-mouse-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 400ms ease;
}

.hero-section:hover .hero-mouse-glow {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(52rem, 100%);
}

.hero-headline {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: var(--text-bright);
}

.hero-headline .text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease-in-out infinite;
}

@keyframes gradient-shift {

  0%,
  100% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }
}

.hero-subtext {
  margin: 1.5rem auto 0;
  max-width: 38rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted);
  line-height: 1.7;
}

.hero-cta {
  margin-top: 2rem;
}

/* ═══════════════════════════════════════════
   SECTION DIVIDERS
   ═══════════════════════════════════════════ */

.section-divider {
  height: 1px;
  border: none;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--primary-glow) 20%,
      rgba(139, 92, 246, 0.2) 50%,
      var(--primary-glow) 80%,
      transparent 100%);
  margin: 0;
  position: relative;
}

.section-divider::after {
  content: "";
  position: absolute;
  inset: -6px 0;
  background: inherit;
  filter: blur(8px);
  opacity: 0.6;
}

/* ═══════════════════════════════════════════
   SHARED SECTION STYLES
   ═══════════════════════════════════════════ */

.section-container {
  width: var(--container);
  margin: 0 auto;
}

.about-section,
.services-section,
.outcomes-section,
.portfolio-section,
.contact-section,
.stats-section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-title {
  margin: 0 0 0.4rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-bright);
}

.section-subtitle {
  margin: 0 0 2.5rem;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--muted);
  max-width: 36rem;
}

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */

.about-text {
  margin: 0;
  max-width: 52rem;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--muted);
  line-height: 1.75;
}

.about-text+.about-text {
  margin-top: 1rem;
}

.about-text strong {
  color: var(--text);
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   SERVICES — BENTO GRID
   ═══════════════════════════════════════════ */

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

.service-card:last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.service-card {
  position: relative;
  padding: 1.8rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--glow-card);
  overflow: hidden;
  transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 350ms ease,
    box-shadow 350ms ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 300px 200px at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(0, 232, 198, 0.08),
      transparent);
  opacity: 0;
  transition: opacity 350ms ease;
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(0, 232, 198, 0.2);
  box-shadow: var(--glow-card), var(--glow-sm);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

/* ═══════════════════════════════════════════
   OUTCOMES — WHAT YOU GET
   ═══════════════════════════════════════════ */

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

.outcome-card {
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color 300ms ease;
}

.outcome-card:hover {
  border-color: rgba(0, 232, 198, 0.15);
}

.outcome-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
}

.outcome-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.outcome-title {
  margin: 0 0 0.35rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.outcome-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

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

.outcome-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.outcome-list li + li {
  margin-top: 0.25rem;
}

.outcome-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ═══════════════════════════════════════════
   5A. APPROACH SECTION
   ═══════════════════════════════════════════ */
.approach-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.approach-layout {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.approach-text-col {
  flex: 0 0 32%;
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.approach-text-col .section-subtitle {
  margin-bottom: 0;
}

.approach-pills-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.approach-pill {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50px;
  padding: 1.25rem 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.approach-pill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px;
  background: radial-gradient(circle at left center, rgba(0, 232, 198, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.approach-pill:hover::before {
  opacity: 1;
}

.approach-pill:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.pill-title {
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.3rem;
  position: relative;
  z-index: 1;
  letter-spacing: 0.01em;
}

.pill-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 232, 198, 0.12), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(0, 232, 198, 0.15);
  color: var(--primary);
}

.service-icon svg {
  width: 1.3rem;
  height: 1.3rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-bright);
}

.service-description {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   STATS / SOCIAL PROOF
   ═══════════════════════════════════════════ */

.stats-section {
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 300ms ease, box-shadow 300ms ease;
}

.stat-card:hover {
  border-color: rgba(0, 232, 198, 0.2);
  box-shadow: var(--glow-sm);
}

.stat-number {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  margin-top: 0.5rem;
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════ */

.contact-form {
  margin-top: 1.8rem;
  max-width: 38rem;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--glow-card);
}

.form-group+.form-group {
  margin-top: 1.1rem;
}

.form-label {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}

.form-input,
.form-textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.form-textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(139, 143, 163, 0.6);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow), var(--glow-sm);
}

/* ═══════════════════════════════════════════
   CTA BUTTON
   ═══════════════════════════════════════════ */

.submit-button {
  position: relative;
  margin-top: 1.2rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--primary-dim) 0%, var(--primary) 100%);
  color: #0a0a0f;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1.2;
  appearance: none;
  -webkit-appearance: none;
}

.submit-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.28) 50%,
      transparent 100%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0, 232, 198, 0.35), 0 8px 20px -8px rgba(0, 0, 0, 0.5);
}

.submit-button:active {
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.site-footer {
  position: relative;
  z-index: 1;
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 15, 0.8);
}

.footer-container {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 64rem) {
  :root {
    --container: min(72rem, calc(100% - 2rem));
  }

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

  .approach-layout {
    gap: 2rem;
  }

  .service-card:first-child {
    grid-column: span 2;
  }

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

}

@media (max-width: 42rem) {
  :root {
    --nav-height: 5.2rem;
  }

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

  .brand-logo-text {
    font-size: 1.15rem;
  }

  .nav-container {
    padding: 1rem 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Hamburger active state */
  .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(8, 8, 15, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    font-size: 1.5rem;
  }

  .hero-headline {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .approach-layout {
    flex-direction: column;
    gap: 2rem;
  }

  .approach-text-col {
    position: static;
  }

  .service-card:first-child {
    grid-column: span 1;
  }

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

  .contact-form {
    padding: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}