/* ============================================================
   PURE LINE CLINIC — 2026 DESIGN SYSTEM
   ============================================================ */

/* --- DESIGN TOKENS --- */
:root {
  /* Brand Identity (unchanged) */
  --blue-cobalt:     #1A56DB;
  --teal:            #00C9A7;
  --emerald:         #00E5A0;

  /* Light Theme Backgrounds */
  --obsidian:        #F4F7FF;   /* replaces dark bg — ice-blue white */
  --bg-champagne:    #FAF8F4;   /* warm ivory accent bg */
  --bg-card:         #FFFFFF;

  /* Dark Accent (kept for philosophy / card hovers) */
  --blue-deep:       #0B1340;
  --bg-dark-deep:    #07091A;

  /* Surfaces */
  --slate-white:     #FFFFFF;
  --off-white:       #FAF8F4;

  /* Typography */
  --text-primary:    #0A1628;
  --text-secondary:  #4A5568;
  --text-muted:      #8896A8;
  --text-light:      rgba(255,255,255,0.82);   /* on dark sections */
  --text-dim:        rgba(255,255,255,0.42);   /* on dark sections */

  /* Gradients */
  --gradient-hero:   linear-gradient(135deg, #07091A 0%, #0B1340 55%, #0D2060 100%); /* kept for card hovers */
  --gradient-cta:    linear-gradient(90deg, #00C9A7 0%, #1A56DB 100%);
  --gradient-teal:   linear-gradient(135deg, #00C9A7 0%, #00E5A0 100%);

  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:     cubic-bezier(0.87, 0, 0.13, 1);

  --font-display:    'Syne', 'Inter', sans-serif;
  --font-body:       'Inter', sans-serif;

  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  32px;
  --space-lg:  64px;
  --space-xl:  128px;

  --max-width: 1280px;
  --nav-height: 80px;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--obsidian);
  color: var(--text-primary);
  overflow-x: hidden;
  cursor: none;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
button { cursor: none; border: none; background: none; font-family: inherit; }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
#cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s var(--ease-out), width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
  mix-blend-mode: normal;
}

#cursor-ring {
  position: fixed;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(0,201,167,0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s var(--ease-out), width 0.4s var(--ease-spring), height 0.4s var(--ease-spring), border-color 0.3s, border-radius 0.4s var(--ease-spring);
}

body.cursor-hover #cursor-dot  { width: 12px; height: 12px; background: white; }
body.cursor-hover #cursor-ring { width: 64px; height: 64px; border-color: rgba(0,201,167,0.4); }
body.cursor-active #cursor-dot { width: 6px; height: 6px; }
body.cursor-active #cursor-ring{ width: 32px; height: 32px; }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--obsidian);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 32px;
}

#preloader.hidden {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}

.preloader-diamond {
  width: 72px;
  height: 90px;
  position: relative;
}

.preloader-diamond svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.preloader-diamond .facet {
  opacity: 0;
  transform-origin: center;
}

.preloader-progress {
  width: 200px;
  height: 1px;
  background: rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.preloader-progress-bar {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 0%;
  background: var(--gradient-cta);
  transition: width 0.1s linear;
}

.preloader-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: background 0.6s var(--ease-out), backdrop-filter 0.6s, border-color 0.6s;
}

#navbar.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(26,86,219,0.12);
  box-shadow: 0 4px 24px rgba(10,22,40,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(-12px);
}

.nav-logo svg { width: 32px; height: 40px; }

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text span:first-child {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.nav-logo-text span:last-child {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  opacity: 0;
  transform: translateY(-12px);
}

.nav-links a {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 100%;
  height: 1px;
  background: var(--teal);
  transition: right 0.4s var(--ease-out);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { right: 0; }

.nav-cta {
  opacity: 0;
  transform: translateY(-12px);
}

.btn-nav {
  padding: 10px 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--gradient-teal);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.btn-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-out);
}

.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,201,167,0.35); }
.btn-nav:hover::before { transform: translateX(101%); }
.btn-nav span { position: relative; z-index: 1; }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--obsidian);
}

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

.hero-gradient-mesh {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 70% 50%, rgba(26,86,219,0.10) 0%, transparent 60%),
              radial-gradient(ellipse 60% 80% at 20% 80%, rgba(0,201,167,0.09) 0%, transparent 50%),
              radial-gradient(ellipse 50% 50% at 85% 15%, rgba(26,86,219,0.07) 0%, transparent 70%),
              var(--obsidian);
  animation: meshBreath 8s ease-in-out infinite alternate;
}

@keyframes meshBreath {
  0%   { opacity: 0.8; }
  100% { opacity: 1; }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,86,219,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,86,219,0.055) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}

.hero-grid.visible { opacity: 1; }

/* Diamond geometry decorations */
.hero-diamond-bg {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  opacity: 0;
}

.hero-diamond-bg svg { width: 100%; height: 100%; }

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding-top: var(--nav-height);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--teal);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 7.5vw, 108px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 32px;
  max-width: 780px;
}

.hero-headline .line {
  display: block;
  overflow: hidden;
}

.hero-headline .line-inner {
  display: block;
  transform: translateY(110%);
  opacity: 0;
}

.hero-headline .accent {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub { /* light theme: secondary dark text */
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(24px);
}

.hero-sub strong {
  color: var(--text-primary);
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 0;
  transform: translateY(24px);
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 48px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--gradient-cta);
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(0,201,167,0.4), 0 4px 16px rgba(26,86,219,0.3);
}

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

.btn-primary .arrow {
  position: relative;
  z-index: 1;
  display: flex;
  transition: transform 0.3s var(--ease-out);
}

.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-primary .btn-text { position: relative; z-index: 1; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.btn-ghost:hover { color: var(--text-primary); }
.btn-ghost .scroll-icon { animation: scrollBounce 2s ease-in-out infinite; }

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* Hero stats bar */
.hero-stats {
  position: absolute;
  bottom: 48px;
  left: 0; right: 0;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 64px;
  opacity: 0;
  transform: translateY(16px);
  z-index: 2;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-stat-number .unit {
  font-size: 16px;
  color: var(--teal);
}

.hero-stat-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(10,22,40,0.12);
}

/* ============================================================
   SECTION — ONE PATIENT A DAY (STATEMENT)
   ============================================================ */
#statement {
  position: relative;
  background: var(--obsidian);
  padding: 160px 48px;
  overflow: hidden;
}

.statement-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.statement-number {
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 240px);
  font-weight: 200;
  line-height: 0.85;
  letter-spacing: -0.05em;
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}

.statement-left {
  position: relative;
  z-index: 1;
}

.statement-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
}

.statement-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--teal);
}

.statement-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  /* light theme override below */
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.statement-headline .line {
  display: block;
  overflow: hidden;
}
.statement-headline .line-inner {
  display: block;
  transform: translateY(105%);
}

.statement-body {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-secondary);
  max-width: 440px;
  opacity: 0;
  transform: translateY(20px);
}

.statement-right {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.statement-card {
  padding: 32px 36px;
  border-left: 2px solid rgba(26,86,219,0.12);
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
  opacity: 0;
  transform: translateX(32px);
  cursor: default;
  background: var(--bg-card);
  border-radius: 0 4px 4px 0;
}

.statement-card:hover {
  border-left-color: var(--teal);
  background: rgba(0,201,167,0.04);
  box-shadow: 0 4px 24px rgba(10,22,40,0.06);
}

.statement-card-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--teal);
  margin-bottom: 10px;
}

.statement-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.statement-card-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============================================================
   SECTION — THE METHOD (SERVICES)
   ============================================================ */
#services {
  background: var(--obsidian);
  padding: 140px 48px;
  overflow: hidden;
}

.section-header {
  max-width: var(--max-width);
  margin: 0 auto 80px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-cobalt);
  margin-bottom: 16px;
}
.section-tag::before { content: ''; width: 24px; height: 1px; background: var(--blue-cobalt); }

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-primary);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-cobalt);
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  transition: gap 0.3s var(--ease-out);
  white-space: nowrap;
  margin-bottom: 8px;
}
.section-link:hover { gap: 14px; }

.services-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  padding: 48px 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s;
  opacity: 0;
  transform: translateY(40px);
  box-shadow: 0 2px 12px rgba(10,22,40,0.04);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-cta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(10,22,40,0.10); }

.service-card-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0;
  transition: opacity 0.5s;
}

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

.service-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 40px;
  height: 40px;
  transition: transform 0.5s var(--ease-spring);
}

.service-card:hover .service-icon svg { transform: scale(1.15) rotate(8deg); }

.service-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  transition: color 0.4s;
  line-height: 1.3;
}

.service-card:hover .service-label { color: white; }

.service-desc {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  transition: color 0.4s;
}

.service-card:hover .service-desc { color: rgba(255,255,255,0.55); }

.service-arrow {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}

.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }

/* ============================================================
   SECTION — UNIQUE TECHNIQUES
   ============================================================ */
#techniques {
  background: var(--bg-champagne);
  padding: 140px 48px;
  overflow: hidden;
}

.techniques-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.technique-card {
  background: var(--bg-card);
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(32px);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s;
  box-shadow: 0 2px 16px rgba(10,22,40,0.06);
}

.technique-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(10,22,40,0.12);
  z-index: 1;
}

.technique-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--slate-white);
  overflow: hidden;
  position: relative;
}

.technique-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  background: linear-gradient(135deg, #f0f4ff, #e8f8f5);
}

.technique-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-cta);
  opacity: 0;
  transition: opacity 0.5s;
  mix-blend-mode: overlay;
}

.technique-card:hover .technique-img::after { opacity: 0.3; }

.technique-content {
  padding: 36px 32px 40px;
}

.technique-tag {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.technique-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.25;
  transition: color 0.3s;
}

.technique-card:hover .technique-title { color: var(--blue-cobalt); }

.technique-desc {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============================================================
   SECTION — PHILOSOPHY TEASER (DARK)
   ============================================================ */
#philosophy {
  position: relative;
  background: var(--blue-deep);
  padding: 180px 48px;
  overflow: hidden;
}

.philosophy-bg-diamond {
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 50vw;
  max-width: 600px;
  opacity: 0.06;
  pointer-events: none;
}

.philosophy-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
}

.philosophy-left {}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 200;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(32px);
}

.philosophy-quote em {
  font-style: normal;
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.philosophy-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(24px);
}

.philosophy-cta {
  opacity: 0;
  transform: translateY(16px);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease-spring);
}

.btn-outline-light::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-cta);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease-out);
}

.btn-outline-light:hover {
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-outline-light:hover::before { transform: translateX(0); }
.btn-outline-light span { position: relative; z-index: 1; }

.philosophy-right {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.philosophy-pillar {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: flex-start;
  gap: 24px;
  opacity: 0;
  transform: translateX(24px);
  cursor: default;
  transition: background 0.3s;
}

.philosophy-pillar:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.philosophy-pillar:hover { background: rgba(255,255,255,0.03); padding-left: 16px; }

.pillar-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--teal);
  min-width: 28px;
  margin-top: 3px;
}

.pillar-content {}

.pillar-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: white;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.pillar-desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   SECTION — USP STRIP
   ============================================================ */
#usp {
  background: var(--obsidian);
  padding: 80px 48px;
  overflow: hidden;
}

.usp-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.usp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 16px;
  gap: 14px;
  background: var(--bg-card);
  opacity: 0;
  transform: translateY(20px);
  transition: background 0.3s, transform 0.4s var(--ease-spring), box-shadow 0.3s;
  box-shadow: 0 2px 12px rgba(10,22,40,0.04);
}

.usp-item:hover { background: var(--gradient-hero); box-shadow: 0 8px 32px rgba(10,22,40,0.12); }

.usp-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,201,167,0.1);
  transition: background 0.3s;
}

.usp-item:hover .usp-icon { background: rgba(255,255,255,0.12); }

.usp-icon svg { width: 22px; height: 22px; }

.usp-label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--text-primary);
  line-height: 1.4;
  transition: color 0.3s;
}

.usp-item:hover .usp-label { color: rgba(255,255,255,0.8); }

/* ============================================================
   SECTION — JOURNAL (BLOG)
   ============================================================ */
#journal {
  background: var(--bg-champagne);
  padding: 140px 48px;
  overflow: hidden;
}

.journal-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.journal-card {
  background: var(--bg-card);
  overflow: hidden;
  opacity: 0;
  transform: translateY(32px);
  cursor: pointer;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s;
  box-shadow: 0 2px 16px rgba(10,22,40,0.06);
}

.journal-card:hover { transform: translateY(-6px); box-shadow: 0 20px 56px rgba(10,22,40,0.12); }

.journal-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-cobalt));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.journal-card-img-placeholder {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 24px;
  line-height: 1.4;
}

.journal-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-cta);
  opacity: 0;
  transition: opacity 0.5s;
  mix-blend-mode: overlay;
}

.journal-card:hover .journal-card-img::after { opacity: 0.4; }

.journal-card-content {
  padding: 28px 28px 32px;
}

.journal-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.journal-card-date {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
}

.journal-card-cat {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.journal-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 10px;
  transition: color 0.3s;
}

.journal-card:hover .journal-card-title { color: var(--blue-cobalt); }

.journal-card-excerpt {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ============================================================
   SECTION — CONSULTATION CTA BAND
   ============================================================ */
#consult-band {
  background: var(--bg-card);
  padding: 140px 48px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(26,86,219,0.08);
  border-bottom: 1px solid rgba(26,86,219,0.08);
}

.consult-band-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,201,167,0.06) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 10% 90%, rgba(26,86,219,0.05) 0%, transparent 60%);
}

.consult-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.consult-text {}

.consult-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(24px);
}

.consult-sub {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(20px);
}

.consult-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(24px);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-field {
  position: relative;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 16px 0 12px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(10,22,40,0.18);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s;
  cursor: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-field input::placeholder { color: var(--text-muted); font-size: 13px; }

.form-field input:focus {
  border-bottom-color: var(--teal);
}

.form-field label {
  position: absolute;
  bottom: 14px;
  left: 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  pointer-events: none;
  transition: bottom 0.3s var(--ease-out), font-size 0.3s, color 0.3s;
}

.form-field input:focus ~ label,
.form-field input:not(:placeholder-shown) ~ label {
  bottom: 44px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--teal);
  text-transform: uppercase;
}

.form-field input:placeholder-shown { }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  appearance: none;
  border: 1px solid rgba(10,22,40,0.22);
  background: transparent;
  cursor: pointer;
  position: relative;
  margin-top: 2px;
  transition: border-color 0.3s, background 0.3s;
}

.form-checkbox input[type="checkbox"]:checked {
  background: var(--teal);
  border-color: var(--teal);
}

.form-checkbox input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px; left: 4px;
  width: 5px; height: 8px;
  border: 2px solid white;
  border-top: none; border-left: none;
  transform: rotate(45deg);
}

.form-checkbox label {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  cursor: pointer;
}

.form-checkbox label a { color: var(--teal); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.form-checkbox label a:hover { border-bottom-color: var(--teal); }

.btn-submit {
  width: 100%;
  padding: 18px;
  background: var(--gradient-cta);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--obsidian);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0,201,167,0.4);
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--bg-champagne);
  padding: 80px 48px 40px;
  border-top: 1px solid rgba(26,86,219,0.12);
}

.footer-top {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(10,22,40,0.08);
  margin-bottom: 32px;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo svg { width: 28px; height: 34px; }

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.2;
}
.footer-logo-text span { display: block; font-size: 8px; color: var(--teal); letter-spacing: 0.2em; }

.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(10,22,40,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 13px;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.footer-social a:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(0,201,167,0.08);
}

.footer-col-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-secondary);
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width 0.3s var(--ease-out);
}

.footer-links a:hover { color: var(--text-primary); }
.footer-links a:hover::before { width: 12px; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-bottom-links a {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-bottom-links a:hover { color: var(--text-secondary); }

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--gradient-cta);
  z-index: 9997;
  width: 0%;
  transition: width 0.1s linear;
}

/* ============================================================
   FLOATING CONSULTATION BUTTON
   ============================================================ */
#float-cta {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 500;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-spring);
}

#float-cta.visible { opacity: 1; transform: translateY(0) scale(1); }

.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--gradient-cta);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--obsidian);
  box-shadow: 0 8px 32px rgba(0,201,167,0.4);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}

.float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,201,167,0.5);
}

.float-btn-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--obsidian);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.6); opacity: 0.5; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .usp-inner { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  :root { --nav-height: 64px; }
  #navbar { padding: 0 24px; }
  .nav-links { display: none; }
  .hero-content { padding: 0 24px; padding-top: var(--nav-height); }
  .hero-headline { font-size: clamp(40px, 9vw, 72px); }
  .hero-stats { padding: 0 24px; gap: 32px; }
  .hero-stats .hero-stat-divider:last-of-type { display: none; }
  .statement-inner { grid-template-columns: 1fr; gap: 48px; }
  .statement-number { font-size: 100px; right: 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .techniques-grid { grid-template-columns: 1fr; }
  .philosophy-inner { grid-template-columns: 1fr; gap: 60px; }
  .consult-inner { grid-template-columns: 1fr; gap: 48px; }
  .usp-inner { grid-template-columns: repeat(3, 1fr); }
  .journal-grid { grid-template-columns: 1fr; }
  #services,#techniques,#philosophy,#usp,#journal,#consult-band { padding: 80px 24px; }
  #statement { padding: 80px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .usp-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
  .hero-stats { flex-wrap: wrap; gap: 24px 40px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
