:root {
  --bg: #ffffff; /* main light */
  --bg-alt: #e8e8ee; /* soft alt */
  --brand-dark: #ffffff;
  --surface: rgba(0,0,0,0.02);
  --surface-strong: rgba(0,0,0,0.05);
  --text: #0d2745; /* blue contrast */
  --text-gradient: linear-gradient(135deg, #0d2745 0%, #1a4766 50%, #a70548 100%);
  --muted: rgba(13,39,69,0.68);
  --muted-light: rgba(13,39,69,0.45);
  --accent: #a70548; /* red */
  --accent-600: #7a0535;
  --accent-gradient: linear-gradient(135deg, #a70548 0%, #d63384 100%);
  --primary-gradient: linear-gradient(135deg, #0d2745 0%, #1e3a8a 100%);
  --border: rgba(13,39,69,0.12);
  --border-light: rgba(13,39,69,0.08);
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-colored: 0 10px 40px rgba(13,39,69,0.12);
}

/* ===== ENHANCED COLOR APPLICATIONS ===== */

/* Gradient Text for Key Headings */
.text-gradient {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtle Background Variations */
.bg-gradient-subtle {
  background: linear-gradient(180deg, 
    rgba(255,255,255,1) 0%, 
    rgba(240,248,255,0.3) 50%, 
    rgba(255,255,255,1) 100%);
}

.bg-gradient-warm {
  background: linear-gradient(135deg, 
    rgba(255,255,255,1) 0%, 
    rgba(255,245,245,0.4) 100%);
}

/* Interactive Color States */
.interactive-blue {
  transition: color 300ms ease;
}

.interactive-blue:hover {
  color: #1e3a8a;
}

.interactive-red {
  transition: color 300ms ease;
}

.interactive-red:hover {
  color: var(--accent);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  line-height: 1.65;
  scroll-behavior: smooth;
  overflow-x: hidden;
  /* Remove padding-top - use margin-top on first section instead */
}

/* ===== REVOLUTIONARY BACKGROUND SYSTEMS ===== */

/* Base Background System */
.bg-system {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 800ms ease;
  overflow: hidden;
}

.bg-system.active {
  opacity: 1;
}

/* ===== V1: MINIMAL - Apple-Inspired Elegance ===== */
.bg-minimal {
  background: linear-gradient(180deg, #ffffff 0%, #f0f8ff 30%, #e6f3ff 70%, #ffffff 100%);
}

.minimal-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(13,39,69,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,39,69,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  animation: minimalGridFloat 20s ease-in-out infinite;
}

@keyframes minimalGridFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, -5px); }
}

.minimal-gradients {
  position: absolute;
  inset: 0;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.08;
  animation: minimalFloat 25s ease-in-out infinite;
}

.gradient-1 {
  width: 800px;
  height: 600px;
  top: 10%;
  left: -20%;
  background: radial-gradient(circle, rgba(13,39,69,0.6) 0%, transparent 70%);
  animation-delay: 0s;
}

.gradient-2 {
  width: 600px;
  height: 800px;
  top: 50%;
  right: -15%;
  background: radial-gradient(circle, rgba(167,5,72,0.4) 0%, transparent 70%);
  animation-delay: 8s;
}

.gradient-3 {
  width: 400px;
  height: 400px;
  bottom: 20%;
  left: 30%;
  background: radial-gradient(circle, rgba(13,39,69,0.3) 0%, transparent 70%);
  animation-delay: 15s;
}

@keyframes minimalFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.1); }
  66% { transform: translate(-15px, 20px) scale(0.9); }
}



.container { width: min(1160px, 92vw); margin: 0 auto; }

/* ===== REFINED TYPOGRAPHY HIERARCHY ===== */
h1, h2 { 
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, Inter, sans-serif; 
  letter-spacing: -0.02em; 
  color: var(--text);
  font-weight: 400;
}

h1 { 
  font-size: clamp(48px, 8vw, 84px); 
  line-height: 1.08; 
  margin: 0 0 24px; 
  font-weight: 300;
  letter-spacing: -0.03em;
}

h2 { 
  font-size: clamp(32px, 5vw, 52px); 
  line-height: 1.15; 
  margin: 0 0 24px;
  font-weight: 400;
}

h3 { 
  font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, Inter, sans-serif; 
  font-size: clamp(20px, 2.8vw, 28px); 
  line-height: 1.3;
  margin: 0 0 16px; 
  letter-spacing: -0.01em; 
  color: var(--text);
  font-weight: 500;
}

.lead { 
  font-size: clamp(19px, 2.6vw, 26px); 
  line-height: 1.6;
  color: var(--muted); 
  margin: 0 0 32px;
  font-weight: 400;
}

/* Body Text Hierarchy */
p { 
  margin: 0 0 20px; 
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.text-large { 
  font-size: 20px; 
  line-height: 1.65; 
}

.text-small { 
  font-size: 16px; 
  line-height: 1.6; 
}
.accent { color: var(--accent); }

p { margin: 0 0 16px; color: var(--muted); }
.prose p + p { margin-top: 12px; }

/* Buttons */
.btn { display: inline-block; padding: 13px 20px; border-radius: 14px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0)); color: var(--text); font-weight: 600; box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 10px 30px rgba(0,0,0,0.06); transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 2px 0 rgba(255,255,255,0.8) inset, 0 18px 44px rgba(0,0,0,0.08); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(180deg, var(--accent), var(--accent-600)); border: none; color: #fff; }
.sheen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.45) 15%, transparent 30%); transform: translateX(-120%); transition: transform 600ms ease; }
.sheen:hover::after { transform: translateX(120%); }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 200; backdrop-filter: saturate(180%) blur(10px); background: color-mix(in oklab, var(--bg) 88%, transparent); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; transition: padding 200ms ease; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { height: 30px; width: auto; display: block; }
@media (min-width: 900px) { .brand-logo { height: 32px; } }

.site-nav { display: none; gap: 20px; align-items: center; }
.site-nav a { color: rgba(13,39,69,0.72); font-weight: 600; font-family: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, Inter, sans-serif; text-transform: uppercase; letter-spacing: 0.06em; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: currentColor; opacity: 0.35; transition: right 160ms ease, opacity 160ms ease; }
.site-nav a:hover::after { right: 0; opacity: 0.7; }

.nav-toggle { position: relative; z-index: 301; display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: 6px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 200ms ease, opacity 200ms ease, background-color 200ms ease; transform-origin: center; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Simple mobile dropdown */
.site-header .site-nav { display: none; }
@media (min-width: 900px) { .site-header .site-nav { display: flex; } }

.mobile-nav { position: fixed; top: var(--header-bottom, 64px); left: 0; right: 0; display: none; background: rgba(255,255,255,0.98); border-bottom: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 250; }
.mobile-nav.open { display: block; }
.mobile-nav .container { padding: 12px 20px; display: grid; gap: 10px; }
.mobile-nav a { display: block; padding: 12px 4px; font-family: "Space Grotesk"; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }
.mobile-nav a:hover { color: var(--primary); }
.nav-close:hover { background: rgba(255,255,255,0.95); }

@media (min-width: 900px) { .site-nav { display: flex; } .nav-toggle { display: none; } .nav-drawer { display: none !important; } }

/* Hero - Editorial luxury design with premium micro-interactions */
.hero { position: relative; padding: clamp(110px, 18vh, 220px) 0 clamp(80px, 12vh, 160px); overflow: hidden; background: transparent; margin-top: 68px; /* offset for fixed header - moved from body */ }
.hero-inner { position: relative; }
.link-muted { color: rgba(13,39,69,0.6); position: relative; transition: color 240ms ease; }

/* Smart hover state for secondary link */
.hero .link-muted::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -2px; height: 1px; background: currentColor; transition: left 240ms ease, right 240ms ease; }
.hero .link-muted:hover::after { left: 0; right: 0; }
.hero .link-muted:hover { color: rgba(13,39,69,0.85); }

.hero .editorial-stage { position: relative; padding: 60px 0; transition: filter 300ms ease; }
.hero .editorial-stage:hover { filter: brightness(1.01); }

/* Particle Background System */
.bg-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particle { position: absolute; width: 6px; height: 6px; border-radius: 50%; will-change: transform; box-shadow: 0 0 12px currentColor; transition: all 200ms ease; }
.particle.blue { background: rgba(13,39,69,0.8); color: rgba(13,39,69,0.4); }
.particle.red { background: rgba(167,5,72,0.8); color: rgba(167,5,72,0.4); }

/* Depth & Parallax Effects */
.hero .editorial-stage { transition: transform 100ms ease-out; transform-style: preserve-3d; }
.hero .center-stage { transition: transform 100ms ease-out; }
.hero .cta-group { transition: transform 200ms ease-out; }

/* AI Section - Editorial Luxury Design */
#ai-changes {
  background: transparent;
  padding: 200px 0;
  position: relative;
}

#ai-changes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="0.5" fill="%23000" opacity="0.02"/><circle cx="80" cy="40" r="0.3" fill="%23000" opacity="0.01"/><circle cx="40" cy="80" r="0.4" fill="%23000" opacity="0.015"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

#ai-changes h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 80px;
  color: var(--text);
  position: relative;
  z-index: 2;
}

#ai-changes .cards-grid {
  display: flex;
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Mobile layout: stack cards vertically */
@media (max-width: 768px) {
  #ai-changes .cards-grid { 
    flex-direction: column; 
    gap: 16px; 
  }
}

#ai-changes .card {
  flex: 1;
}

#ai-changes .card {
  background: #ffffff;
  border: 1px solid rgba(13,39,69,0.08);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all 600ms cubic-bezier(0.23, 1, 0.32, 1);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#ai-changes .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(167,5,72,0.03), transparent);
  transition: left 800ms ease;
}

#ai-changes .card:hover::before {
  left: 100%;
}

#ai-changes .card:hover {
  transform: scale(1.01);
  box-shadow: 0 30px 60px rgba(13,39,69,0.08);
  border-color: rgba(167,5,72,0.2);
}

#ai-changes .card h3 {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--text);
  position: relative;
  z-index: 2;
}

#ai-changes .card p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(13,39,69,0.75);
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Intelligent Hover Micro-Interactions */
#ai-changes .card {
  transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

#ai-changes .card.dimmed {
  opacity: 0.6;
  transform: scale(0.98);
}

#ai-changes .card.magnetic {
  transform: translateX(var(--magnetic-x, 0)) translateY(var(--magnetic-y, 0)) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
}

/* Content Hierarchy & Flow */
#ai-changes .card-number {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: "Space Grotesk";
  font-size: 14px;
  font-weight: 600;
  color: rgba(167,5,72,0.6);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

#ai-changes .card:hover .card-number {
  opacity: 1;
  transform: translateY(0);
}

#ai-changes .card[data-priority="primary"] h3 {
  font-size: 36px;
  font-weight: 600;
}

#ai-changes .card[data-priority="secondary"] h3 {
  font-size: 28px;
  font-weight: 500;
}

#ai-changes .card[data-priority="tertiary"] h3 {
  font-size: 24px;
  font-weight: 400;
}

/* Opportunity Section - Luxury Editorial Design */
.opportunity-v3 {
  background: transparent;
  padding: 240px 0;
  position: relative;
}

.opportunity-v3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="luxuryGrain" width="200" height="200" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.8" fill="%23000" opacity="0.015"/><circle cx="150" cy="100" r="0.6" fill="%23000" opacity="0.01"/><circle cx="100" cy="150" r="0.7" fill="%23000" opacity="0.012"/><circle cx="25" cy="175" r="0.5" fill="%23000" opacity="0.008"/></pattern></defs><rect width="200" height="200" fill="url(%23luxuryGrain)"/></svg>');
  opacity: 0.4;
  pointer-events: none;
}

.opportunity-v3 .container {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.opportunity-v3 h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 80px;
  text-align: center;
  color: var(--text);
  position: relative;
}

.opportunity-v3 h2::before {
  content: 'Our Thesis';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: "Space Grotesk";
}

.opportunity-v3 h2::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.opportunity-v3 p {
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 48px;
  color: rgba(13,39,69,0.85);
  position: relative;
  padding-left: 60px;
}

.opportunity-v3 p::before {
  content: counter(thesis-counter, decimal-leading-zero);
  counter-increment: thesis-counter;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(167,5,72,0.6);
  font-family: "Space Grotesk";
}

.opportunity-v3 .container {
  counter-reset: thesis-counter;
}

.opportunity-v3 p:first-of-type {
  font-size: 32px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 80px;
  text-align: center;
  padding-left: 0;
  line-height: 1.4;
}

.opportunity-v3 p:first-of-type::before {
  display: none;
}



/* Opportunity Section - Micro-Interactions */
.opportunity-v3[data-mode="micro"] .thesis-paragraph {
  opacity: 0;
  transform: translateY(30px);
  animation: staggerReveal 800ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.opportunity-v3[data-mode="micro"] .thesis-paragraph:nth-child(3) { animation-delay: 0.1s; }
.opportunity-v3[data-mode="micro"] .thesis-paragraph:nth-child(4) { animation-delay: 0.2s; }
.opportunity-v3[data-mode="micro"] .thesis-paragraph:nth-child(5) { animation-delay: 0.3s; }
.opportunity-v3[data-mode="micro"] .thesis-paragraph:nth-child(6) { animation-delay: 0.4s; }
.opportunity-v3[data-mode="micro"] .thesis-paragraph:nth-child(7) { animation-delay: 0.5s; }
.opportunity-v3[data-mode="micro"] .thesis-paragraph:nth-child(8) { animation-delay: 0.6s; }

@keyframes staggerReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.opportunity-v3[data-mode="micro"] .thesis-paragraph::before {
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
}

.opportunity-v3[data-mode="micro"] .thesis-paragraph:hover::before {
  color: var(--accent);
  transform: scale(1.1);
  text-shadow: 0 0 8px rgba(167,5,72,0.3);
}

.opportunity-v3[data-mode="micro"] .thesis-paragraph {
  position: relative;
  cursor: default;
}

.opportunity-v3[data-mode="micro"] .thesis-paragraph:hover {
  transform: translateX(8px);
  transition: transform 200ms ease;
}

/* What We Do Section - Enhanced Design */
#what-we-do {
  background: transparent;
  padding: 200px 0;
  position: relative;
  overflow: hidden;
}

#what-we-do h2 {
  text-align: center;
  margin-bottom: 120px;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.pillars-grid {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  perspective: 1200px;
  position: relative;
  z-index: 2;
}

.service-pillar {
  flex: 1;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .pillars-grid {
    flex-direction: column;
    gap: 24px;
  }
}

/* ===== OPTIMIZED CONTENT DENSITY ===== */

.service-pillar {
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  padding: 48px 32px 56px;
  position: relative;
  transform: translateY(0);
  transition: all 800ms cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(13,39,69,0.08);
  box-shadow: 0 12px 48px rgba(13,39,69,0.08);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Balanced AI Cards */
.ai-card-balanced {
  padding: 40px 32px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ai-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Thesis Section Optimization */
.thesis-paragraph {
  margin-bottom: 40px;
  padding-left: 48px;
  position: relative;
}

.thesis-paragraph:last-child {
  margin-bottom: 0;
}

/* Contact Form Density */
.luxury-interface {
  max-width: 1000px;
  margin: 0 auto;
}

.interface-panel {
  padding: 32px;
  margin-bottom: 24px;
}

/* Improved Content Hierarchy */
.content-section {
  margin-bottom: 48px;
}

.content-section:last-child {
  margin-bottom: 0;
}

.section-intro {
  margin-bottom: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.service-pillar:hover {
  transform: translateY(-20px) rotateX(8deg) scale(1.02);
  box-shadow: 0 32px 80px rgba(13,39,69,0.15);
}

/* Status Indicators */
.service-status {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 32px;
}

.status-indicator {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
  font-family: "Space Grotesk";
}

.status-indicator.active {
  background: #0d2745;
  color: white;
}

.status-indicator.strategic {
  background: #a70548;
  color: white;
}

.status-indicator.selective {
  background: #000000;
  color: white;
}

/* Header */
.pillar-header {
  margin-bottom: 32px;
}

.pillar-header h3 {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 500;
  color: var(--text);
  margin: 0 0 16px;
}

/* Enhanced Content */
.pillar-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pillar-content p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(13,39,69,0.8);
  margin: 0;
}



/* Floating Background Shapes */
.background-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}







/* Contact Section - Luxury Cinematic Experience */
#contact {
  background: transparent;
  padding: 240px 0;
  position: relative;
  overflow: hidden;
}

/* ===== MINIMAL HEADER DESIGN ===== */

/* Base Header Styling - Override existing */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 200 !important;
  backdrop-filter: blur(20px) !important;
  background: rgba(255,255,255,0.98) !important;
}

.header-minimal .header-inner {
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-minimal .brand-logo {
  height: 32px;
  transition: all 300ms ease;
}

.header-minimal .brand:hover .brand-logo {
  transform: scale(1.05);
}

.header-minimal .site-nav { display: none; }
@media (min-width: 900px) {
  .header-minimal .site-nav { display: flex; gap: 48px; align-items: center; }
}

.header-minimal .site-nav a {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--primary);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: all 300ms ease;
}

.header-minimal .site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 300ms ease;
}

.header-minimal .site-nav a:hover::after {
  width: 100%;
}

/* ===== PREMIUM MICRO-INTERACTIONS ===== */

/* 3. Anticipatory Nav States */
.header-minimal .site-nav a {
  transform: scale(1);
  opacity: 1;
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.header-minimal .site-nav a.approaching {
  transform: scale(1.02);
  opacity: 0.9;
}

.header-minimal .site-nav a.hovering {
  transform: scale(1.05);
  opacity: 1;
}

/* 4. Contextual Scroll Shadow */
.site-header {
  box-shadow: 0 0 0 rgba(13,39,69,0) !important;
  border-bottom: none !important;
  transition: 
    box-shadow 400ms cubic-bezier(0.23, 1, 0.32, 1),
    border-bottom 400ms cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.site-header.scrolled-light {
  box-shadow: 0 2px 8px rgba(13,39,69,0.04) !important;
  border-bottom: 1px solid rgba(13,39,69,0.08) !important;
}

.site-header.scrolled-medium {
  box-shadow: 0 4px 16px rgba(13,39,69,0.08) !important;
  border-bottom: 1px solid rgba(13,39,69,0.08) !important;
}

.site-header.scrolled-heavy {
  box-shadow: 0 8px 32px rgba(13,39,69,0.12) !important;
  border-bottom: 1px solid rgba(13,39,69,0.08) !important;
}

/* 5. Smart Section Highlighting */
.header-minimal .site-nav a.section-active {
  position: relative;
  color: var(--primary);
}

.header-minimal .site-nav a.section-active::before {
  content: '';
  position: absolute;
  inset: -8px -12px;
  background: radial-gradient(ellipse, rgba(167,5,72,0.08) 0%, transparent 70%);
  border-radius: 12px;
  opacity: 0;
  animation: sectionGlow 2s ease-in-out infinite;
  z-index: -1;
}

.header-minimal .site-nav a.section-active::after {
  width: 100%;
  background: linear-gradient(90deg, var(--accent), rgba(167,5,72,0.6));
  box-shadow: 0 0 8px rgba(167,5,72,0.3);
}

@keyframes sectionGlow {
  0%, 100% { 
    opacity: 0; 
    transform: scale(0.95); 
  }
  50% { 
    opacity: 1; 
    transform: scale(1.02); 
  }
}

/* ===== CONTACT BACKGROUND - DATA STREAMS ===== */

.data-streams {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.data-line {
  position: absolute;
  width: 1px;
  height: 100%;
  background: transparent;
}

.line-1 { left: 20%; }
.line-2 { left: 40%; }
.line-3 { left: 65%; }
.line-4 { left: 85%; }

.data-packet {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(13,39,69,0.7);
  border-radius: 1px;
  animation: dataFlow 8s ease-in-out infinite;
  box-shadow: 0 0 4px rgba(13,39,69,0.3);
}

.packet-1 { animation-delay: 0s; }
.packet-2 { animation-delay: 2s; }
.packet-3 { animation-delay: 4s; }
.packet-4 { animation-delay: 6s; }

@keyframes dataFlow {
  0% { 
    top: 100%; 
    opacity: 0; 
  }
  10% { 
    opacity: 0.8; 
  }
  90% { 
    opacity: 0.8; 
  }
  100% { 
    top: -10px; 
    opacity: 0; 
  }
}

/* Staggered Panel Reveals */
.interface-panel {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 800ms cubic-bezier(0.23, 1, 0.32, 1);
}

.panel-form {
  transform: translateX(100px);
}

.interface-divider {
  opacity: 0;
  transition: opacity 600ms ease 400ms;
}

#contact.is-visible .interface-panel {
  opacity: 1;
  transform: translateX(0);
}

#contact.is-visible .panel-linkedin {
  transition-delay: 200ms;
}

#contact.is-visible .panel-form {
  transition-delay: 400ms;
}

#contact.is-visible .interface-divider {
  opacity: 1;
}

.luxury-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}



.luxury-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-masthead {
  text-align: center;
  margin-bottom: 120px;
}

.masthead-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}

.section-code {
  font-size: 12px;
  font-weight: 600;
  color: rgba(13,39,69,0.5);
  letter-spacing: 0.1em;
  font-family: "Space Grotesk";
}

.section-status {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  background: rgba(167,5,72,0.1);
  border-radius: 20px;
  font-family: "Space Grotesk";
}

.contact-masthead h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  color: var(--text);
  position: relative;
}

.contact-masthead h2::before {
  content: 'Contact';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: "Space Grotesk";
}

.contact-masthead p {
  font-size: 24px;
  line-height: 1.6;
  color: rgba(13,39,69,0.8);
  max-width: 700px;
  margin: 0 auto;
}

.luxury-interface {
  max-width: 900px;
  margin: 0 auto;
}

.interface-panel {
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 32px;
  box-shadow: 0 16px 64px rgba(13,39,69,0.08);
  border: 1px solid rgba(13,39,69,0.05);
  backdrop-filter: blur(20px);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  margin-left: -68px; /* Align text with form content */
}

.panel-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-shape {
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 4px;
}

.form-icon {
  border-radius: 50%;
}

.panel-info {
  flex: 1;
}

.panel-info h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.panel-desc {
  font-size: 14px;
  color: rgba(13,39,69,0.6);
}

.panel-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot.active {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.4);
  animation: statusPulse 2s ease-in-out infinite;
}

.status-dot.secure {
  background: var(--accent);
  box-shadow: 0 0 8px rgba(167,5,72,0.4);
  animation: statusPulseRed 2.5s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 0 0 8px rgba(34,197,94,0.4);
  }
  50% { 
    transform: scale(1.2); 
    box-shadow: 0 0 16px rgba(34,197,94,0.6);
  }
}

@keyframes statusPulseRed {
  0%, 100% { 
    transform: scale(1); 
    box-shadow: 0 0 8px rgba(167,5,72,0.4);
  }
  50% {
    transform: scale(1.2); 
    box-shadow: 0 0 16px rgba(167,5,72,0.6);
  }
}






.status-text {
  font-size: 12px;
  font-weight: 600;
  color: rgba(13,39,69,0.7);
}

.luxury-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 400ms ease;
  box-shadow: 0 8px 24px rgba(13,39,69,0.2);
}

.luxury-link:hover {
  background: #0a1f3a;
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(13,39,69,0.3);
  text-decoration: none;
}

.link-icon {
  font-size: 18px;
  transition: transform 300ms ease;
}

.luxury-link:hover .link-icon {
  transform: translate(2px, -2px);
}

.panel-action {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.panel-action .luxury-link {
  flex: 1;
  min-width: 180px;
  justify-content: center;
}

.interface-divider {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 48px 0;
}



.divider-label {
  font-size: 14px;
  color: rgba(13,39,69,0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: "Space Grotesk";
  text-align: center;
  display: block;
  width: 100%;
}

.luxury-form {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.luxury-fields {
  margin-bottom: 40px;
  width: 100%;
  box-sizing: border-box;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
  width: 100%;
  box-sizing: border-box;
}

.luxury-field {
  position: relative;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  width: 100%;
  box-sizing: border-box;
}

.luxury-field.field-focused {
  z-index: 10;
}

.luxury-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: "Space Grotesk";
}

.luxury-field input,
.luxury-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 20px 16px;
  border: none;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 18px;
  color: var(--text);
  transition: all 400ms ease;
}

.luxury-field input:focus,
.luxury-field textarea:focus {
  outline: none;
  box-shadow: 
    0 0 20px rgba(13,39,69,0.15),
    0 0 40px rgba(167,5,72,0.08),
    0 8px 32px rgba(13,39,69,0.12);
  transform: translateY(-2px);
}



.luxury-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.luxury-submit {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 40px;
  background: linear-gradient(135deg, var(--text), #333);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 400ms ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: "Space Grotesk";
}

.luxury-submit:hover {
  background: linear-gradient(135deg, #000, var(--text));
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(13,39,69,0.3);
}

.submit-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.indicator-dot {
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: indicatorPulse 2s ease-in-out infinite;
}

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

.luxury-hint {
  flex: 1;
  font-size: 14px;
  color: rgba(13,39,69,0.6);
}

.hero .luxury-grid { display: grid; grid-template-columns: 60px 1fr 60px; gap: 40px; align-items: center; }
.hero .left-rail, .hero .right-rail { display: flex; justify-content: center; transition: opacity 300ms ease; }
.hero:hover .left-rail, .hero:hover .right-rail { opacity: 1.1; }

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

/* Hero eyebrow text */
.hero-eyebrow {
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  text-align: center;
}

/* Typography with breathing animation and word reveals */
.hero h1 { 
  font-size: clamp(52px, 7.2vw, 92px); line-height: 1.02; font-weight: 300; 
  letter-spacing: -0.04em; margin-bottom: 24px; color: var(--text); 
}
.hero h1 .word { 
  display: inline-block; opacity: 0; transform: translateY(12px); 
  animation: breathe 6s ease-in-out infinite;
  will-change: transform;
}
.hero h1 .word.revealed { 
  animation: word-reveal 400ms cubic-bezier(0.16, 1, 0.3, 1) forwards, 
             breathe 6s ease-in-out infinite 500ms; 
}
@keyframes word-reveal { to { opacity: 1; transform: translateY(0); } }
@keyframes breathe { 
  0%, 100% { transform: scale(1) translateY(0); } 
  50% { transform: scale(1.002) translateY(0); } 
}

.hero .lead { 
  font-size: clamp(18px, 2.3vw, 23px); font-weight: 400; line-height: 1.6; 
  margin: 0 auto 36px; max-width: 680px; color: var(--muted); 
  opacity: 0; transform: translateY(10px);
  transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1) 100ms, transform 400ms cubic-bezier(0.16, 1, 0.3, 1) 100ms;
}
.hero .lead.revealed { opacity: 1; transform: translateY(0); }

/* Enhanced CTA with smart hover */
.hero .cta-group { 
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  opacity: 0; transform: translateY(10px);
  transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1) 200ms, transform 400ms cubic-bezier(0.16, 1, 0.3, 1) 200ms;
}
.hero .cta-group.revealed { opacity: 1; transform: translateY(0); }

.hero .btn-primary { 
  padding: 16px 32px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  background: var(--text); color: #ffffff; border: none; border-radius: 8px;
  box-shadow: 0 2px 8px rgba(13,39,69,0.12), 0 1px 2px rgba(13,39,69,0.08);
  transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; overflow: hidden;
}
.hero .btn-primary:hover { 
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(13,39,69,0.16), 0 4px 8px rgba(13,39,69,0.12);
  background: rgba(13,39,69,0.95);
}
.hero .btn-primary:active { 
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(13,39,69,0.12);
}

/* Spotlight cursor with enhanced pulse */
.hero .spotlight-cursor { 
  width: 8px; height: 8px; border-radius: 50%; 
  background: radial-gradient(circle, rgba(167,5,72,0.8), transparent 70%); 
  box-shadow: 0 0 20px rgba(167,5,72,0.4); 
  animation: pulse-spotlight 3s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes pulse-spotlight { 
  0%, 100% { opacity: 0.6; transform: scale(1); } 
  50% { opacity: 1; transform: scale(1.2); } 
}

@media (max-width: 900px) { 
  .hero .luxury-grid { grid-template-columns: 1fr; gap: 20px; } 
  .hero .left-rail, .hero .right-rail { display: none; }
  .hero .floating-accent { right: 10%; font-size: 80px; }
}

/* Hero variants */
.hero-variants { position: relative; }
.hero-variant { display: none; }
.hero-variant.active { display: block; }

/* Minimal hero */
.hero-minimal .eyebrow { font-family: "Space Grotesk"; text-transform: uppercase; letter-spacing: 0.18em; font-size: 12px; color: rgba(13,39,69,0.6); margin-bottom: 12px; }
.hero-minimal h1 { margin-top: 0; }
.hero-minimal .link-muted { color: rgba(13,39,69,0.7); text-decoration: underline; text-underline-offset: 4px; }

/* Experimental hero (light) */
.hero-experimental .hero-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: end; }
.hero-experimental .thin { font-weight: 400; opacity: 0.9; }
.hero-experimental .heavy { font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.hero-experimental .axis { width: 1px; height: 140px; background: linear-gradient(180deg, rgba(167,5,72,0), rgba(167,5,72,0.4), rgba(167,5,72,0)); margin: 0 0 16px auto; opacity: 0.7; }
.hero-experimental .ticker { position: relative; border: 1px solid var(--border); border-radius: 12px; padding: 10px; background: rgba(0,0,0,0.02); overflow: hidden; }
.hero-experimental .ticker-track { display: grid; gap: 10px; animation: ticker-swap 8s linear infinite; }
.hero-experimental .ticker-track span { color: rgba(13,39,69,0.86); font-weight: 600; }
@keyframes ticker-swap { 0%, 15% { transform: translateY(0); } 33% { transform: translateY(-24px); } 48% { transform: translateY(-24px); } 66% { transform: translateY(-48px); } 81% { transform: translateY(-48px); } 100% { transform: translateY(0); } }
@media (max-width: 900px) { .hero-experimental .hero-grid { grid-template-columns: 1fr; } .hero-experimental .axis { margin-right: 0; } }

/* Extreme hero */
.hero-extreme .extreme-stage { position: relative; padding: 40px 0 10px; text-align: center; }
.hero-extreme h1 { font-size: clamp(56px, 8vw, 110px); line-height: 1.02; margin: 0 0 12px; letter-spacing: -0.02em; }
.hero-extreme .spotlight { position: absolute; inset: -10% -10% auto -10%; height: 70vh; background:
  radial-gradient(50% 50% at 30% 30%, rgba(167,5,72,0.22), rgba(167,5,72,0)),
  radial-gradient(40% 40% at 70% 30%, rgba(13,39,69,0.18), rgba(13,39,69,0));
  filter: blur(40px); pointer-events: none; }
.hero-extreme .lead { max-width: 760px; margin: 0 auto 18px; }
.hero-extreme .cta-group { justify-content: center; }

/* Playful hero (light) */
.hero-playful .capsule { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0)); box-shadow: 0 6px 18px rgba(0,0,0,0.06) inset; }
.hero-playful .hero-chips { display: flex; gap: 12px; flex-wrap: wrap; padding: 0; margin: 16px 0 20px; list-style: none; }
.hero-playful .hero-chips button { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border); background: rgba(0,0,0,0.02); color: var(--text); font-family: "Space Grotesk"; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; transition: transform 160ms ease, background 160ms ease; }
.hero-playful .hero-chips button:hover { transform: translateY(-1px); background: rgba(0,0,0,0.04); }

/* Hero toggle */
.hero-variant-toggle { position: absolute; right: 16px; top: 12px; display: grid; gap: 8px; }
.hero-variant-toggle button { padding: 6px 8px; border-radius: 10px; border: 1px solid var(--border); background: rgba(0,0,0,0.04); color: var(--text); font-family: "Space Grotesk"; text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; }
.hero-variant-toggle button:hover { background: rgba(0,0,0,0.08); }

/* ===== HARMONIZED SECTION SPACING ===== */
.section { 
  position: relative; 
  padding: clamp(80px, 12vh, 160px) 0; 
}

.section.alt { 
  background: transparent; 
}

.section-large {
  padding: clamp(120px, 16vh, 200px) 0;
}

.section-small {
  padding: clamp(60px, 8vh, 120px) 0;
}

/* Content Spacing Modular Scale */
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }
.mb-96 { margin-bottom: 96px; }

.mt-24 { margin-top: 24px; }
.mt-48 { margin-top: 48px; }
.mt-96 { margin-top: 96px; }

/* Consistent Masthead Spacing */
.section-masthead {
  margin-bottom: 80px;
  text-align: center;
}

.grid { display: grid; gap: 22px; }
.cards-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }



/* ===== ENHANCED MICRO-ANIMATIONS ===== */

/* Cards with Organic Motion */
.card { 
  border-radius: 18px; 
  padding: 22px; 
  background: #fff; 
  border: 1px solid var(--border); 
  box-shadow: var(--shadow); 
  transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
  transform: translateY(0) rotateX(0) scale(1);
}

.card:hover { 
  transform: translateY(-8px) rotateX(2deg) scale(1.02); 
  background: #fff; 
  border-color: rgba(13,39,69,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* Service Pillars Enhanced */
.service-pillar {
  transition: all 600ms cubic-bezier(0.23, 1, 0.32, 1);
}

.service-pillar:hover {
  transform: translateY(-12px) rotateX(4deg) rotateY(-2deg) scale(1.02);
  box-shadow: 0 24px 80px rgba(13,39,69,0.12);
}

/* Button Magnetic Effects */
.btn {
  transition: all 300ms cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.fancy { position: relative; overflow: hidden; }
.fancy::before { content: ""; position: absolute; inset: -1px; border-radius: 18px; padding: 1px; background: linear-gradient(120deg, rgba(167,5,72,0.25), rgba(13,39,69,0.1), rgba(167,5,72,0.25)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0.6; }
.glass { background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0)); backdrop-filter: blur(6px); }

/* Contact */
.contact-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 8px 0 24px; }
.contact-link { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.contact-link.luxury-link { text-decoration: none !important; }
.contact-form { display: grid; gap: 16px; }
.form-field { display: grid; gap: 8px; }
label { color: var(--text); font-weight: 600; }
input, textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: rgba(0,0,0,0.02); color: var(--text); outline: none; box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset; }
input:focus, textarea:focus { border-color: rgba(13,39,69,0.25); box-shadow: 0 0 0 3px rgba(13,39,69,0.12); }
.form-hint { min-height: 20px; margin-top: 6px; color: var(--muted); }

/* Footer - Minimal & Narrow */
.footer-experimental-v2 {
  background: linear-gradient(135deg, #fafbfc 0%, #ffffff 50%, #f8f9fa 100%);
  border-top: 1px solid rgba(13,39,69,0.05);
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer-experimental-v2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="experimentalGrid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="%23000" stroke-width="0.5" opacity="0.02"/></pattern></defs><rect width="60" height="60" fill="url(%23experimentalGrid)"/></svg>');
  pointer-events: none;
}

.experimental-v2-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-grid-system {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}

.copyright-text {
  font-size: 14px;
  color: rgba(13,39,69,0.5);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.grid-cell {
  position: relative;
}

.logo-container {
  position: relative;
  display: inline-block;
}

.experimental-logo {
  height: 42px;
  transition: all 500ms cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
  position: relative;
}

.logo-field {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(13,39,69,0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: all 600ms cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0;
}

.logo-container:hover .logo-field {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.logo-container:hover .experimental-logo {
  transform: scale(1.05);
}

.legal-cluster-simple {
  position: relative;
  margin-top: 24px;
  text-align: left;
}

.link-nodes-simple {
  display: flex;
  justify-content: flex-start;
  gap: 32px;
}

.simple-link {
  font-size: 14px;
  color: rgba(13,39,69,0.7);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 300ms ease;
  position: relative;
}

.simple-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 300ms ease;
}

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

.simple-link:hover::after {
  width: 100%;
}

.legal-cluster {
  position: relative;
}

.link-nodes {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.node-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
  padding: 8px 0;
}

.node-id {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: "Space Grotesk";
  width: 24px;
  height: 24px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
}

.node-text {
  font-size: 14px;
  color: rgba(13,39,69,0.7);
  font-weight: 500;
  transition: all 300ms ease;
}

.node-link:hover .node-id {
  background: var(--accent);
  color: white;
  transform: scale(1.1);
}

.node-link:hover .node-text {
  color: var(--text);
  transform: translateX(4px);
}

.connection-web {
  position: absolute;
  top: 0;
  left: -20px;
  width: 100px;
  height: 100%;
  pointer-events: none;
}

.web-line {
  position: absolute;
  background: linear-gradient(45deg, transparent, var(--accent), transparent);
  height: 1px;
  opacity: 0.2;
  animation: webPulse 4s ease-in-out infinite;
}

.line-1 {
  top: 20px;
  left: 0;
  width: 40px;
  transform: rotate(15deg);
}

.line-2 {
  bottom: 20px;
  right: 0;
  width: 35px;
  transform: rotate(-25deg);
  animation-delay: 2s;
}

@keyframes webPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.6; }
}

.copyright-module {
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(13,39,69,0.06);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(10px);
}



/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-experimental-v2 {
    padding: 40px 0 30px;
  }
  
  .footer-grid-system {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  
  .link-nodes-simple {
    flex-direction: column;
    gap: 12px;
    justify-content: center;
  }
  
  .legal-cluster-simple {
    text-align: center;
  }
}

/* ===== IMPRINT PAGE ===== */
.imprint-page {
  padding: 120px 0 80px;
  background: transparent;
  min-height: 100vh;
}

.imprint-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-header {
  text-align: center;
  margin-bottom: 80px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(42px, 5vw, 56px);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
}

.legal-section {
  margin-bottom: 60px;
}

.legal-section h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.legal-section h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 32px 0 16px 0;
}

.legal-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.info-block {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 300ms ease;
}

.info-block:hover {
  background: rgba(255,255,255,0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.info-block h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 12px 0;
  font-family: "Space Grotesk", sans-serif;
}

.info-block p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

.registration-details p,
.responsibility-info p {
  background: rgba(13,39,69,0.02);
  border-left: 3px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 12px;
}

.back-navigation {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.btn-secondary {
  background: transparent !important;
  color: #0d2745 !important;
  border: none !important;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 300ms ease !important;
}

.btn-secondary::before {
  display: none !important;
}

.btn-secondary:hover {
  background: #0d2745 !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(13,39,69,0.2) !important;
}

/* Mobile adjustments for imprint */
@media (max-width: 768px) {
  .imprint-page {
    padding: 100px 0 60px;
  }
  
  .page-header {
    margin-bottom: 60px;
    padding-bottom: 30px;
  }
  
  .legal-section {
    margin-bottom: 40px;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .back-navigation {
    margin-top: 60px;
    padding-top: 30px;
  }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Utilities */
a { color: var(--text); text-decoration: none; }
a:hover { opacity: 0.9; }
