/* ========================================
   Waypoint Management Consulting
   Premium Dark Redesign
   ======================================== */

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

:root {
  --color-bg: #000000;
  --color-bg-elevated: #0a0a0a;
  --color-bg-card: #0f0f0f;
  --color-bg-hover: #161616;
  --color-surface: #080808;
  --color-border: rgba(255,255,255,0.07);
  --color-border-hover: rgba(255,255,255,0.16);
  --color-text: #ffffff;
  --color-text-secondary: rgba(255,255,255,0.5);
  --color-text-tertiary: rgba(255,255,255,0.28);
  --color-accent: #ffffff;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* Cursor glow */
#cursor-glow {
  position: fixed;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.035) 0%, transparent 60%);
  pointer-events: none;
  z-index: 9998;
  top: 0;
  left: 0;
  will-change: transform;
  mix-blend-mode: screen;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--color-text); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.65; }

h1, h2, h3, h4 {
  font-family: var(--font-body);
  color: var(--color-text);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

/* ========================================
   Navigation
   ======================================== */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.nav-logo img { width: 22px; height: auto; }
.nav-logo span { color: var(--color-text-secondary); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  padding: 7px 14px;
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  font-weight: 400;
  transition: color var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--color-text);
  opacity: 1;
}

.nav-links .btn-nav,
.nav-links a.btn-nav.active,
.nav-links a.btn-nav:hover {
  background: var(--color-text);
  color: var(--color-bg) !important;
  padding: 7px 18px;
  border-radius: 4px;
  margin-left: 10px;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--color-text);
  margin: 5px 0;
  transition: all var(--transition);
}

/* ========================================
   Hero
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 60px;
  background: #000;
}

/* CSS orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(24,52,120,0.55) 0%, transparent 70%);
  top: -180px; right: 5%;
  animation: orbFloat1 22s ease-in-out infinite;
}

.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,30,80,0.45) 0%, transparent 70%);
  bottom: -100px; left: 0%;
  animation: orbFloat2 28s ease-in-out infinite;
}

.orb-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(40,20,80,0.3) 0%, transparent 70%);
  top: 20%; left: 35%;
  animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(-90px,70px) scale(1.08); }
  66%     { transform: translate(60px,-50px) scale(0.94); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%     { transform: translate(110px,-70px) scale(1.06); }
  70%     { transform: translate(-50px,50px) scale(0.97); }
}
@keyframes orbFloat3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-70px,-90px) scale(1.12); }
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

/* Edge vignette */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 45%, transparent 35%, rgba(0,0,0,0.75) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Bottom fade */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, #000);
  z-index: 2;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 3; }

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: 28px;
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 0 100px;
}

.hero h1 {
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 28px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  margin-bottom: 44px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
  font-weight: 300;
}

/* Page hero (sub-pages) */
.hero-page {
  min-height: 46vh;
  text-align: center;
  justify-content: center;
}

.hero-page .hero-content { padding: 80px 0 60px; }
.hero-page h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.hero-page p { max-width: 560px; }

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0;
}

.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: rgba(255,255,255,0.88); color: #000; opacity: 1; }

.btn-outline {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}
.btn-outline:hover { border-color: var(--color-border-hover); color: var(--color-text); opacity: 1; }

.btn-group { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ========================================
   Sections
   ======================================== */

.section { padding: 120px 0; border-top: 1px solid var(--color-border); }
.section-alt  { background: var(--color-bg-elevated); }
.section-dark { background: var(--color-surface); }

.section-header {
  max-width: 640px;
  margin-bottom: 72px;
}

.section-header .overline {
  display: inline-block;
  color: var(--color-text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.section-header p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
}

/* ========================================
   Cards
   ======================================== */

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 40px;
  transition: all var(--transition);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  border-color: rgba(255,255,255,0.14);
  background: var(--color-bg-hover);
}

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

/* Flip Cards */
.flip-card { perspective: 1000px; height: 260px; }

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner { transform: translateY(-6px); }
.flip-card:hover .flip-card-front { border-color: rgba(255,255,255,0.18); background: var(--color-bg-hover); }

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
  background: var(--color-bg-hover);
  border-color: rgba(255,255,255,0.12);
}

.flip-card-front h3, .flip-card-back h3 { margin-bottom: 14px; font-size: 1.05rem; }
.flip-card-front p,  .flip-card-back p  { color: var(--color-text-secondary); line-height: 1.7; font-size: 0.92rem; }

.card-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  font-size: 1.4rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
}

.card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.02em; }
.card p  { color: var(--color-text-secondary); font-weight: 300; line-height: 1.7; font-size: 0.92rem; }

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--color-border);
}
.grid-3 > .card { border: none; border-right: 1px solid var(--color-border); }
.grid-3 > .card:last-child { border-right: none; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ========================================
   Testimonials
   ======================================== */

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 48px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  color: rgba(255,255,255,0.05);
  position: absolute;
  top: 16px; left: 32px;
  line-height: 1;
  font-weight: 700;
}

.testimonial-card p {
  font-size: 0.98rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-weight: 300;
  font-style: normal;
}

/* ========================================
   Team
   ======================================== */

.hero-team {
  min-height: 100vh;
  align-items: flex-start;
  padding-bottom: 140px;
}

.hero-team .hero-content {
  padding: 60px 0 48px;
}

.hero-team .container {
  width: 100%;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 968px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

.team-card {
  text-align: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition);
}

.team-card:hover { border-color: var(--color-border-hover); }

.team-card-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  background: var(--color-bg-hover);
  display: block;
}

.team-card-info { padding: 22px; border-top: 1px solid var(--color-border); }

.team-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }

.team-card .social-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--color-text-tertiary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.team-card .social-link:hover { color: var(--color-text-secondary); opacity: 1; }

/* ========================================
   Services Intro
   ======================================== */

.services-intro-section {
  padding-bottom: 80px;
  position: relative;
}

.services-intro-section .container {
  position: relative;
  z-index: 2;
}

#services-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

/* Section ambient orbs */
.section-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.section-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
}

.so-1 {
  width: 1100px; height: 1100px;
  background: radial-gradient(circle, rgba(18,55,110,0.32) 0%, transparent 70%);
  top: -200px; right: -5%;
  animation: slowFloat1 48s ease-in-out infinite;
}

.so-2 {
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(12,28,78,0.26) 0%, transparent 70%);
  bottom: -300px; left: -5%;
  animation: slowFloat2 60s ease-in-out infinite;
}

.so-3 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(40,15,80,0.2) 0%, transparent 70%);
  top: 30%; left: 35%;
  animation: slowFloat3 38s ease-in-out infinite;
}

@keyframes slowFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(-100px, 80px) scale(1.07); }
  66%     { transform: translate(70px, -50px) scale(0.94); }
}
@keyframes slowFloat2 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%     { transform: translate(120px, -80px) scale(1.05); }
  70%     { transform: translate(-60px, 60px) scale(0.96); }
}
@keyframes slowFloat3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-80px, -100px) scale(1.1); }
}

.services-lead {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--color-text);
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

/* Shared base */
.sc-half, .sc-pillar, .sc-full, .sc-belief {
  background: var(--color-bg-card);
  padding: 44px 40px;
}

/* Row 1: two equal halves */
.sc-half  { grid-column: span 2; }

/* Row 2: four equal pillars */
.sc-pillar { grid-column: span 1; }

/* Row 2: Our Process block */
.sc-process {
  grid-column: span 4;
  background: var(--color-bg-card);
  padding: 44px 40px;
}

.sc-process .overline {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: 28px;
}

.sc-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.sc-process-item {
  background: var(--color-bg-elevated);
  padding: 36px 32px;
}

.sc-process-item p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.6;
}

/* Row 3: full width */
.sc-full  { grid-column: span 4; }

/* Overlines */
.sc-half .overline,
.sc-full .overline {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: 20px;
}

/* Body text */
.sc-half p, .sc-full p {
  color: var(--color-text-secondary);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.75;
}

/* Belief card */
.sc-belief {
  background: var(--color-bg-hover);
  display: flex;
  align-items: center;
}
.sc-belief p {
  font-size: 1.15rem !important;
  color: rgba(255,255,255,0.65) !important;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.pillar-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-text-tertiary);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

@media (max-width: 968px) {
  .sc-process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-cards { grid-template-columns: 1fr; }
  .sc-half, .sc-full { grid-column: span 1; }
  .sc-process-grid { grid-template-columns: 1fr; }
}

/* ========================================
   About Split
   ======================================== */

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-mission .overline {
  display: inline-block;
  color: var(--color-text-tertiary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.about-mission h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.about-mission p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-value {
  border-top: 1px solid var(--color-border);
  padding: 28px 0;
}

.about-value:last-child {
  border-bottom: 1px solid var(--color-border);
}

.about-value h4 {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.about-value p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-split { grid-template-columns: 1fr; gap: 48px; }
}

/* ========================================
   Stats
   ======================================== */

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 700px;
  margin: 0 auto;
  border: 1px solid var(--color-border);
}

.stat {
  text-align: center;
  padding: 52px 24px;
  border-right: 1px solid var(--color-border);
}
.stat:last-child { border-right: none; }

.stat-number {
  font-size: 3.2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
  letter-spacing: -0.05em;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-tertiary);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
}

/* ========================================
   Contact
   ======================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 48px;
}
.contact-info-card h3 { font-size: 1.3rem; margin-bottom: 14px; font-weight: 600; }
.contact-info-card p  { color: var(--color-text-secondary); margin-bottom: 36px; font-weight: 300; line-height: 1.7; }

.contact-detail { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }

.contact-detail-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.contact-detail-text { font-size: 0.92rem; color: var(--color-text-secondary); }
.contact-detail-text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}
.contact-detail-text a { color: var(--color-text-secondary); }

.form-card { background: var(--color-bg-card); border: 1px solid var(--color-border); padding: 48px; }

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  color: var(--color-text-tertiary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--color-border);
  background: rgba(255,255,255,0.03);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-text);
  transition: border-color var(--transition);
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(255,255,255,0.25);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-tertiary); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select { appearance: none; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ========================================
   CTA
   ======================================== */

.cta-section {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  text-align: center;
  padding: 120px 0;
}

.cta-section h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.cta-section p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  font-weight: 300;
  max-width: 420px;
  margin: 0 auto 38px;
  line-height: 1.75;
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}

.footer-brand { max-width: 300px; }
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.875rem; color: var(--color-text-tertiary); font-weight: 300; line-height: 1.7; }

.footer h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-tertiary);
  margin-bottom: 18px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--color-text-secondary); font-size: 0.875rem; font-weight: 400; }
.footer-links a:hover { color: var(--color-text); opacity: 1; }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 22px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--color-text-tertiary);
  font-family: var(--font-mono);
}

/* ========================================
   Animations
   ======================================== */

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.stagger > .fade-in:nth-child(1) { transition-delay: 0s; }
.stagger > .fade-in:nth-child(2) { transition-delay: 0.1s; }
.stagger > .fade-in:nth-child(3) { transition-delay: 0.2s; }
.stagger > .fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 968px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }

  .grid-3 { grid-template-columns: 1fr; gap: 0; }
  .grid-3 > .card { border-right: none; border-bottom: 1px solid var(--color-border); }
  .grid-3 > .card:last-child { border-bottom: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }

  /* Services */
  .sc-process-grid { grid-template-columns: repeat(2, 1fr); }

  /* About */
  .about-split { grid-template-columns: 1fr; gap: 48px; }

  /* Services intro */
  .services-intro { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: rgba(0,0,0,0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 12px 24px;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-links.open { display: flex; }
  .nav-links a    { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--color-border); }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links .btn-nav { margin-left: 0; margin-top: 8px; text-align: center; }
  .nav-toggle { display: block; }

  /* Hero */
  .hero { min-height: auto; }
  .hero::after { display: none; }
  .hero::before { background: radial-gradient(ellipse 90% 80% at 50% 40%, transparent 30%, rgba(0,0,0,0.6) 100%); }
  .hero h1 { font-size: 2.6rem; }
  .hero-content { padding: 100px 24px 56px; }
  .hero p { font-size: 1rem; }
  .btn-group { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .hero-page .hero-content { padding: 80px 0 40px; }

  /* Sections */
  .grid-2    { grid-template-columns: 1fr; }
  .section   { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row  { grid-template-columns: 1fr; }

  /* Cards */
  .card { padding: 28px; }
  .flip-card { height: auto; min-height: 200px; }
  .contact-info-card { padding: 28px; }
  .form-card { padding: 28px; }

  /* Services */
  .services-lead { font-size: 1.4rem; }
  .services-cards { grid-template-columns: 1fr; }
  .sc-half, .sc-full, .sc-process { grid-column: span 1; }
  .sc-half, .sc-process, .sc-full { padding: 28px 24px; }
  .sc-process-grid { grid-template-columns: 1fr; }
  .sc-process-item { padding: 24px; }

  /* CTA */
  .cta-section { padding: 64px 0; }
  .cta-section h2 { font-size: 1.6rem; }

  /* Team */
  .hero-team { padding-bottom: 64px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Testimonials */
  .testimonial-card { padding: 28px; }

  /* Footer */
  .footer { padding: 40px 0 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 2rem; }
  .services-lead { font-size: 1.2rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .sc-half p, .sc-full p { font-size: 1rem; }
  .sc-process-item p { font-size: 0.95rem; }
  .section { padding: 48px 0; }
}
