/* ============================================================
   WERX STUDIO — main.css v3.1
   Based on _tw (Underscores + Tailwind) starter framework
   Design system: Navy / Teal / Inter + Playfair Display
   ============================================================ */

/* ── Reset & Base ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #1a2332;
  color: #fff;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: rgba(45, 212, 191, .28); color: #fff; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ── CSS Custom Properties ───────────────────────── */
:root {
  --navy:         #1a2332;
  --navy-light:   #1e2a3a;
  --teal:         #2dd4bf;
  --teal-dark:    #14b8a6;
  --slate-300:    #cbd5e1;
  --slate-400:    #94a3b8;
  --slate-500:    #64748b;
  --slate-600:    #475569;
  --light-bg:     #f1f5f9;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-teal:    0 0 30px rgba(45, 212, 191, .3);
  --shadow-teal-lg: 0 0 40px rgba(45, 212, 191, .4);

  --ease-out-expo: cubic-bezier(.22, 1, .36, 1);
  --transition: .3s ease;
}

/* ── Accessibility ───────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border-width: 0;
}

/* ── Utilities ────────────────────────────────────── */
.diagonal-lines {
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,.03) 0,
    rgba(255,255,255,.03) 1px,
    transparent 1px,
    transparent 16px
  );
}
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .875rem 2rem; font-size: 1rem; font-weight: 500;
  border: none; border-radius: var(--radius-sm); cursor: pointer;
  white-space: nowrap; transition: background var(--transition), box-shadow var(--transition), color var(--transition), transform var(--transition);
}
.btn-teal { color: var(--navy); background: var(--teal); }
.btn-teal:hover { background: #fff; box-shadow: var(--shadow-teal); transform: translateY(-1px); }
.btn-lg { padding: 1.1rem 2.75rem; font-size: 1.1rem; }
.btn-outline {
  background: transparent; color: #fff;
  border: 1.5px solid var(--teal); border-radius: var(--radius-sm);
}
.btn-outline:hover { background: var(--teal); color: var(--navy); }
.btn-ghost { background: rgba(255,255,255,.05); color: #fff; border-radius: var(--radius-lg); border: none; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-icon { width: 1.1rem; height: 1.1rem; flex-shrink: 0; stroke-width: 2; }

/* ── Scroll Reveal ───────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);
}
.reveal--left  { transform: translateX(-28px); }
.reveal--right { transform: translateX(28px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Section headers (shared) ────────────────────── */
.section-header { text-align: center; margin-bottom: 5rem; max-width: 820px; margin-inline: auto; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 1.25rem;
}
.eyebrow--dark { color: var(--teal); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400; line-height: 1.12; margin-bottom: 1.5rem;
}
.section-title--light { color: #fff; }
.section-title--dark  { color: var(--navy); }
.section-body { font-size: 1.05rem; line-height: 1.8; font-weight: 300; }
.section-body--light { color: var(--slate-400); }
.section-body--dark  { color: var(--slate-600); }


/* ═══════════════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════════════ */
#masthead {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.nav-container { max-width: 1280px; margin-inline: auto; padding-inline: clamp(1.5rem, 5vw, 3rem); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 1.5rem;
  transition: padding var(--transition);
}
#masthead.is-scrolled .nav-inner { padding-block: .875rem; }
#masthead.is-scrolled {
  background: rgba(26,35,50,.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0,0,0,.15);
}

/* Logo */
.nav-logo { display: flex; align-items: center; font-size: 1.15rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; z-index: 50; }
.nav-logo-teal { color: var(--teal); }
.nav-logo-white { color: #fff; }

/* Desktop nav links */
.nav-links {
  display: none; list-style: none; align-items: center; gap: 2rem;
}
.nav-links a {
  font-size: .875rem; font-weight: 500; color: var(--slate-300);
  transition: color .2s;
}
.nav-links a:hover { color: var(--teal); }
.nav-contact-text {
  background: none; border: none; cursor: pointer;
  font-size: .875rem; font-weight: 500; color: var(--slate-300);
  transition: color .2s; padding: 0;
}
.nav-contact-text:hover { color: var(--teal); }
.nav-cta {
  background: transparent; color: #fff; cursor: pointer;
  border: 1.5px solid var(--teal); border-radius: var(--radius-sm);
  padding: .45rem 1.1rem; font-size: .875rem; font-weight: 500;
  transition: background .2s, color .2s;
}
.nav-cta:hover { background: var(--teal); color: var(--navy); }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .hamburger { display: none !important; }
}

/* Hamburger */
.hamburger {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px; padding: .25rem; z-index: 210;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: #fff;
  border-radius: 2px; transition: transform .35s, opacity .35s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Full-screen mobile menu */
.mobile-menu {
  position: fixed; inset: 0; background: var(--navy); z-index: 190;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  transform: translateX(100%);
  transition: transform .45s var(--ease-out-expo);
}
.mobile-menu:not([hidden]) { transform: translateX(0); }
.mobile-menu[hidden] { display: flex !important; } /* override [hidden] so transform still works */
.mobile-link {
  font-family: var(--font-display); font-size: 1.8rem; color: #fff;
  transition: color .2s; background: none; border: none; cursor: pointer;
}
.mobile-link:hover { color: var(--teal); }


/* ═══════════════════════════════════════════════════
   HERO SLIDER
═══════════════════════════════════════════════════ */
#hero {
  position: relative; height: 100vh; min-height: 640px;
  overflow: hidden; background: var(--navy);
}
.hero-texture { position: absolute; inset: 0; pointer-events: none; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; }
.hero-glow-tr { top: 25%; right: -25%; width: 800px; height: 800px; background: rgba(45,212,191,.05); }
.hero-glow-bl { bottom: -25%; left: -25%; width: 600px; height: 600px; background: rgba(45,212,191,.05); }

.hero-slider { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; padding-top: 5.5rem;
  padding-bottom: 6rem; /* clearance for .hero-controls on mobile */
  opacity: 0; pointer-events: none;
  transform: translateX(60px);
  transition: opacity .85s var(--ease-out-expo), transform .85s var(--ease-out-expo);
}
@media (min-width: 768px) {
  .hero-slide { padding-bottom: 0; }
}
.hero-slide.is-active  { opacity: 1; transform: translateX(0); pointer-events: auto; }
.hero-slide.is-exiting { opacity: 0; transform: translateX(-60px); }

.hero-content { max-width: 900px; position: relative; z-index: 10; }
.hero-eyebrow {
  display: inline-block; color: var(--teal); font-size: .875rem;
  font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 5.75rem);
  font-weight: 300; line-height: 1.06; letter-spacing: -.02em;
  color: #fff; margin-bottom: 2rem;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--teal); font-style: italic; }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--slate-400); max-width: 42rem;
  line-height: 1.75; font-weight: 300; margin-bottom: 2.75rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* Slider controls */
.hero-controls {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 20; display: flex; align-items: center; gap: 1rem;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.3); border: none; cursor: pointer; padding: 0;
  transition: background .3s, transform .3s;
}
.hero-dot.is-active { background: var(--teal); transform: scale(1.5); }
.hero-arrow {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2); background: transparent;
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .25s, background .25s;
}
.hero-arrow:hover { border-color: var(--teal); background: rgba(45,212,191,.1); }
.hero-arrow svg { width: 1rem; height: 1rem; stroke-width: 2; }
.hero-progress {
  position: absolute; bottom: 0; left: 0;
  height: 2px; background: var(--teal);
  width: 0; z-index: 20;
}


/* ═══════════════════════════════════════════════════
   PODS SECTION
═══════════════════════════════════════════════════ */
#pods {
  position: relative;
  padding-block: clamp(4rem, 9vw, 8rem);
  background: var(--navy); overflow: hidden;
}
.pods-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(45,212,191,.1); pointer-events: none;
}
.pods-ring-top { top: 0; left: 25%; width: 800px; height: 800px; transform: translateY(-50%); }
.pods-ring-bottom { bottom: 0; right: 25%; width: 600px; height: 600px; transform: translateY(50%); }

.pods-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  max-width: 1100px; margin-inline: auto; position: relative; z-index: 5;
}
@media (min-width: 768px) { .pods-grid { grid-template-columns: repeat(3, 1fr); } }

.pod-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: transform .3s;
}
.pod-card:hover { transform: translateY(-6px); }
.pod-icon {
  width: 6rem; height: 6rem; border-radius: 50%;
  background: rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2rem;
  transition: background .3s, transform .3s;
}
.pod-card:hover .pod-icon { background: rgba(255,255,255,.1); transform: scale(1.1); }
.pod-icon svg { width: 2rem; height: 2rem; stroke: var(--teal); fill: none; }
.pod-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--teal); margin-bottom: 1rem; font-weight: 400; }
.pod-desc { color: var(--slate-400); line-height: 1.75; font-weight: 300; font-size: .95rem; }


/* ═══════════════════════════════════════════════════
   HOW WE WORK
═══════════════════════════════════════════════════ */
#how-we-work {
  padding-block: clamp(4rem, 9vw, 8rem);
  background: var(--light-bg); overflow: hidden;
}
.how-steps { display: flex; flex-direction: column; gap: clamp(4rem, 9vw, 7rem); }
.how-step {
  display: flex; flex-direction: column; align-items: center; gap: 3rem;
}
@media (min-width: 768px) {
  .how-step         { flex-direction: row; gap: 6rem; }
  .how-step--reverse { flex-direction: row-reverse; }
}
.how-step-num { flex: 1; display: flex; align-items: center; justify-content: center; }
.how-step-num span {
  font-family: var(--font-display);
  font-size: clamp(7rem, 16vw, 12rem);
  line-height: 1; color: var(--teal); opacity: .2;
  font-weight: 700; user-select: none;
}
.how-step-content { flex: 1; }
.how-step-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--teal); margin-bottom: 1.25rem; font-weight: 400;
}
.how-step-desc { font-size: 1rem; color: var(--slate-600); line-height: 1.8; font-weight: 300; }


/* ═══════════════════════════════════════════════════
   CAPABILITIES
═══════════════════════════════════════════════════ */
#capabilities {
  position: relative;
  padding-block: clamp(4rem, 9vw, 8rem);
  background: var(--navy); overflow: hidden;
}
.cap-texture { position: absolute; inset: 0; opacity: .2; pointer-events: none; }
.cap-ring {
  position: absolute; top: 50%; left: 0;
  width: 1000px; height: 1000px;
  border: 1px solid rgba(45,212,191,.1); border-radius: 50%;
  transform: translate(-50%, -50%); pointer-events: none;
}
.cap-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem 2.5rem;
  max-width: 1100px; margin-inline: auto; position: relative; z-index: 5;
}
@media (min-width: 900px) { .cap-grid { grid-template-columns: repeat(3, 1fr); } }

.cap-item { display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform .3s; }
.cap-item:hover { transform: translateY(-4px); }
.cap-icon {
  width: 4rem; height: 4rem; border-radius: 50%;
  background: var(--navy-light); border: 1px solid rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; transition: border-color .3s, transform .3s;
}
.cap-item:hover .cap-icon { border-color: rgba(45,212,191,.35); transform: scale(1.1); }
.cap-icon svg { width: 1.5rem; height: 1.5rem; stroke: var(--teal); fill: none; }
.cap-title { font-family: var(--font-display); font-size: 1.15rem; color: var(--teal); margin-bottom: .875rem; font-weight: 400; }
.cap-desc { color: var(--slate-400); line-height: 1.75; font-weight: 300; font-size: .9rem; }


/* ═══════════════════════════════════════════════════
   NEARSHORE
═══════════════════════════════════════════════════ */
#nearshore {
  position: relative;
  padding-block: clamp(4rem, 9vw, 8rem);
  background: var(--navy-light); overflow: hidden;
}
.nearshore-gradient { position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy-light), var(--navy)); pointer-events: none; }
.nearshore-glow { position: absolute; top: 0; right: 0; width: 600px; height: 600px; background: rgba(45,212,191,.05); border-radius: 50%; filter: blur(120px); pointer-events: none; }
.nearshore-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; position: relative; z-index: 10; }
@media (min-width: 1024px) { .nearshore-grid { grid-template-columns: 1fr 1fr; gap: 6rem; } }
.nearshore-title { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 3rem); color: #fff; line-height: 1.2; margin-bottom: 1.75rem; font-weight: 400; }
.nearshore-desc { font-size: 1.05rem; color: var(--slate-400); line-height: 1.8; font-weight: 300; }

/* Animated Globe */
.globe-wrap { position: relative; height: 400px; display: flex; align-items: center; justify-content: center; }
.globe-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(45,212,191,.2); }
.globe-ring--cw  { animation: spin-cw  60s linear infinite; }
.globe-ring--ccw { animation: spin-ccw 40s linear infinite; }
.globe-ring--lg { width: 300px; height: 300px; }
.globe-ring--sm { width: 200px; height: 200px; }
@media (min-width: 768px) { .globe-ring--lg { width: 400px; height: 400px; } .globe-ring--sm { width: 280px; height: 280px; } }
@keyframes spin-cw  { to { transform: rotate(360deg); } }
@keyframes spin-ccw { to { transform: rotate(-360deg); } }
.globe-center { position: relative; z-index: 20; }
.globe-pulse {
  width: 4rem; height: 4rem; background: rgba(45,212,191,.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: pulse 2.5s ease-in-out infinite;
}
.globe-pulse svg { width: 2rem; height: 2rem; stroke: var(--teal); fill: none; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(.93); } }
.globe-orbiting { position: absolute; width: 100%; height: 100%; }
.globe-pin { position: absolute; }
.globe-pin svg { stroke: var(--teal); fill: none; }
.globe-pin-1 { top: 15%; left: 20%; } .globe-pin-1 svg { width: 1.5rem; height: 1.5rem; opacity: .6; }
.globe-pin-2 { bottom: 20%; right: 15%; } .globe-pin-2 svg { width: 1.25rem; height: 1.25rem; opacity: .4; }
.globe-pin-3 { top: 40%; right: 10%; } .globe-pin-3 svg { width: 1.75rem; height: 1.75rem; opacity: .8; }


/* ═══════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════ */
#stats {
  padding-block: clamp(3rem, 6vw, 6rem);
  background: var(--navy); position: relative; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.stats-texture { position: absolute; inset: 0; opacity: .2; pointer-events: none; }
.stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
  text-align: center; position: relative; z-index: 5;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--teal); line-height: 1; margin-bottom: .5rem;
}
.stat-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-400); font-weight: 500; }


/* ═══════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════ */
#contact {
  position: relative;
  padding-block: clamp(4rem, 9vw, 8rem);
  background: var(--navy); text-align: center; overflow: hidden;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 600px; background: rgba(45,212,191,.05);
  border-radius: 50%; filter: blur(120px); pointer-events: none;
}
.cta-inner { position: relative; z-index: 5; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  color: #fff; line-height: 1.12; margin-bottom: 1.75rem; font-weight: 400;
}
.cta-accent { color: var(--teal); font-style: italic; }
.cta-desc {
  font-size: 1.1rem; color: var(--slate-400);
  max-width: 40rem; margin: 0 auto 2.75rem;
  line-height: 1.75; font-weight: 300;
}


/* ═══════════════════════════════════════════════════
   CONTACT MODAL
═══════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.modal-backdrop.is-open { opacity: 1; visibility: visible; }
.modal-backdrop[aria-hidden="true"] { pointer-events: none; }

.modal {
  position: relative; width: 100%; max-width: 32rem;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 80px rgba(0,0,0,.5);
  overflow: hidden;
  transform: scale(.95) translateY(20px);
  transition: transform .35s var(--ease-out-expo), opacity .35s ease;
  opacity: 0;
}
.modal-backdrop.is-open .modal { transform: scale(1) translateY(0); opacity: 1; }

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.05);
}
.modal-title { font-family: var(--font-display); font-size: 1.5rem; color: #fff; font-weight: 400; }
.modal-close {
  background: none; border: none; cursor: pointer;
  color: var(--slate-400); padding: .25rem; border-radius: .375rem;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s, background .2s;
}
.modal-close:hover { color: #fff; background: rgba(255,255,255,.05); }
.modal-close svg { width: 1.25rem; height: 1.25rem; stroke-width: 2; }

.modal-body { padding: 1.5rem; }
.modal-intro { color: var(--slate-400); font-weight: 300; line-height: 1.7; margin-bottom: 1.75rem; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: .375rem; }
.form-field label { font-size: .875rem; font-weight: 500; color: var(--slate-400); }
.form-field .required { color: var(--teal); }
.form-field input,
.form-field textarea {
  width: 100%; background: var(--navy);
  border: 1px solid rgba(255,255,255,.1); border-radius: .5rem;
  padding: .75rem 1rem; color: #fff;
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--slate-500); }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(45,212,191,.15);
}
.form-field textarea { resize: vertical; min-height: 6rem; }
.form-status { font-size: .875rem; min-height: 1.25rem; }
.form-status.is-error { color: #f87171; }
.form-submit {
  width: 100%; padding: .9rem; background: var(--teal); color: var(--navy);
  font-weight: 600; font-size: 1rem; border: none; border-radius: .5rem;
  cursor: pointer; transition: background var(--transition), box-shadow var(--transition);
}
.form-submit:hover { background: #fff; box-shadow: var(--shadow-teal); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; }

/* Success state */
.modal-success {
  display: none; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 3rem 1.5rem;
}
.modal-success:not([hidden]) { display: flex; }
.success-icon {
  width: 4rem; height: 4rem; border-radius: 50%;
  background: rgba(45,212,191,.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.success-icon svg { width: 2rem; height: 2rem; stroke: var(--teal); fill: none; }
.modal-success h3 { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: .75rem; }
.modal-success p { color: var(--slate-400); font-weight: 300; line-height: 1.7; margin-bottom: 2rem; }
.modal-close-btn {
  margin-top: 2rem; padding: .75rem 2rem; background: rgba(255,255,255,.05);
  border: none; border-radius: .5rem; color: #fff; font-weight: 500;
  cursor: pointer; transition: background .2s; font-family: var(--font-body); font-size: 1rem;
}
.modal-close-btn:hover { background: rgba(255,255,255,.1); }


/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
#colophon {
  background: var(--navy-light);
  padding-block: 3rem;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-inner {
  max-width: 1280px; margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 3rem);
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-logo { display: flex; align-items: center; font-size: 1.1rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.footer-logo-teal { color: var(--teal); }
.footer-logo-white { color: #fff; }
.footer-copy { font-size: .875rem; color: var(--slate-500); }
.footer-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; justify-content: center; }
.footer-links a,
.footer-links button {
  font-size: .875rem; color: var(--slate-400);
  transition: color .2s; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); padding: 0;
}
.footer-links a:hover,
.footer-links button:hover { color: var(--teal); }


/* ═══════════════════════════════════════════════════
   PRIVACY PAGE
═══════════════════════════════════════════════════ */
.privacy-hero {
  position: relative;
  padding-top: clamp(8rem, 15vw, 12rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--navy); overflow: hidden; text-align: center;
}
.privacy-hero__texture { position: absolute; inset: 0; pointer-events: none; }
.privacy-hero__glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; background: rgba(45,212,191,.05);
  border-radius: 50%; filter: blur(120px); pointer-events: none;
}
.privacy-hero__inner { position: relative; z-index: 5; max-width: 800px; }
.privacy-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: #fff; margin-bottom: 1.25rem; font-weight: 400;
}
.privacy-hero__bar { width: 5rem; height: 3px; background: var(--teal); margin: 0 auto 1.5rem; }
.privacy-hero__subtitle { font-size: 1.1rem; color: var(--slate-400); font-weight: 300; }

.privacy-content {
  max-width: 48rem; margin-inline: auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 3rem);
}
.privacy-intro { font-size: 1.1rem; color: var(--slate-400); line-height: 1.8; font-weight: 300; margin-bottom: 3rem; }
.privacy-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff; margin-top: 3.5rem; margin-bottom: 1.25rem;
  padding-bottom: .875rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.privacy-content h3 { font-size: 1.1rem; font-weight: 600; color: #fff; margin-top: 2rem; margin-bottom: .875rem; }
.privacy-content p { color: var(--slate-400); line-height: 1.8; font-weight: 300; margin-bottom: 1.25rem; }
.privacy-content em { color: var(--teal); font-style: italic; }
.privacy-content a { color: var(--teal); transition: color .2s; }
.privacy-content a:hover { color: #fff; }

.privacy-list { list-style: none; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .75rem; }
.privacy-list li {
  position: relative; padding-left: 1.5rem;
  color: var(--slate-400); line-height: 1.75; font-weight: 300;
}
.privacy-list li::before {
  content: ''; position: absolute; left: 0; top: .65rem;
  width: .45rem; height: .45rem; background: var(--teal); border-radius: 50%;
}
.privacy-modal-link {
  background: none; border: none; cursor: pointer; padding: 0;
  color: var(--teal); font-style: italic; transition: color .2s;
  font-family: var(--font-body); font-size: inherit;
}
.privacy-modal-link:hover { color: #fff; }
.privacy-footer {
  margin-top: 3rem; padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.05);
}
.privacy-back-link {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--teal); font-weight: 500; transition: color .2s;
}
.privacy-back-link:hover { color: #fff; }
.privacy-back-link svg { width: 1rem; height: 1rem; stroke-width: 2; }


/* ═══════════════════════════════════════════════════
   WP CONTENT (blog/pages fallback)
═══════════════════════════════════════════════════ */
.entry-header { margin-bottom: 2rem; }
.entry-title { font-family: var(--font-display); font-size: 2rem; color: #fff; }
.entry-content { color: var(--slate-400); line-height: 1.8; }
.entry-content h2, .entry-content h3 { font-family: var(--font-display); color: #fff; margin: 1.5rem 0 .75rem; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content a { color: var(--teal); }


/* ═══════════════════════════════════════════════════
   POD CAROUSEL (LinkedIn-style slide deck)
═══════════════════════════════════════════════════ */
#pod-carousel {
  position: relative;
  padding-block: clamp(4rem, 9vw, 8rem);
  background: var(--navy-light);
  overflow: hidden;
}
.pod-carousel-bg { position: absolute; inset: 0; pointer-events: none; }
.pod-carousel-glow {
  position: absolute; border-radius: 50%;
  filter: blur(120px); pointer-events: none;
  background: rgba(45,212,191,.05);
  width: 600px; height: 600px;
}
.pod-carousel-glow--tr { top: -10%; right: -10%; }
.pod-carousel-glow--bl { bottom: -10%; left: -10%; }

.pod-carousel-container { position: relative; z-index: 2; }

/* Carousel shell — fixed 4:5 aspect, max 460px wide, centred */
.lk-carousel {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto 2rem;
}
.lk-track {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1.25rem;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}

/* Individual slides */
.lk-slide {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transform: translateX(50px);
  transition: opacity .5s ease, transform .5s ease;
}
.lk-slide.is-active {
  opacity: 1; pointer-events: auto;
  transform: translateX(0);
}
.lk-slide.is-exiting {
  opacity: 0;
  transform: translateX(-50px);
}

/* Slide inner shell — dark bg, dot grid, glows */
.lk-slide-inner {
  position: relative;
  width: 100%; height: 100%;
  background: #0B1A2E;
  padding: 1.75rem 2rem;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.lk-slide-inner::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(45,212,191,.15) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  opacity: .6;
}
.lk-slide-inner::after {
  content: '';
  position: absolute; top: -6rem; right: -6rem;
  width: 18rem; height: 18rem; border-radius: 50%;
  background: rgba(45,212,191,.08); filter: blur(80px);
  pointer-events: none;
}

/* Slide header badge (WERX + counter) — injected by JS */
.lk-badge-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.25rem; flex-shrink: 0; position: relative; z-index: 2;
}
.lk-brand {
  display: flex; align-items: center; gap: .5rem;
}
.lk-brand-diamond {
  width: 8px; height: 8px; background: var(--teal);
  transform: rotate(45deg); border-radius: 1px;
}
.lk-brand-name {
  color: var(--teal); font-weight: 700;
  letter-spacing: .2em; font-size: .75rem; text-transform: uppercase;
}
.lk-counter {
  color: rgba(203,213,225,.5);
  font-family: var(--font-body); font-size: .7rem;
  letter-spacing: .1em; font-variant-numeric: tabular-nums;
}

/* Slide content helpers */
.lk-flex-col   { display: flex; flex-direction: column; position: relative; z-index: 2; }
.lk-h-full     { height: 100%; }
.lk-justify-center { justify-content: center; }
.lk-items-center   { align-items: center; }
.lk-text-center    { text-align: center; }
.lk-mt-auto    { margin-top: auto; }
.lk-mb5        { margin-bottom: 1.25rem; }
.lk-mb6        { margin-bottom: 1.5rem; }
.lk-mb8        { margin-bottom: 2rem; }
.lk-pt4        { padding-top: 1rem; }

.lk-h1 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 1.75rem);
  font-weight: 700; color: #fff;
  line-height: 1.2; margin-bottom: 1rem; letter-spacing: -.01em;
}
.lk-h2-teal {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vw, 1.35rem);
  color: var(--teal); font-weight: 500;
}
.lk-body { color: var(--slate-400); font-size: 1rem; line-height: 1.65; }
.lk-track-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 700; color: #fff;
  letter-spacing: .15em; text-transform: uppercase;
}
.lk-slide-heading { margin-bottom: 1.25rem; margin-top: .25rem; }
.lk-emoji { font-size: 2rem; display: block; margin-bottom: .5rem; }

.lk-stanza {
  display: flex; flex-direction: column; gap: .875rem;
  color: var(--slate-400); font-size: .95rem; line-height: 1.7;
  margin-bottom: 1.25rem;
}
.lk-amber { color: #F59E0B !important; opacity: 1 !important; }
.lk-teal  { color: var(--teal); }

.lk-callout {
  border-left: 4px solid var(--teal);
  background: linear-gradient(to right, rgba(45,212,191,.1), transparent);
  padding: 1rem 1rem 1rem 1.25rem;
  border-radius: 0 .75rem .75rem 0;
  margin-bottom: 1rem;
}
.lk-callout-label { color: #fff; font-weight: 500; font-size: .95rem; margin-bottom: .375rem; }
.lk-callout-value { color: var(--teal); font-weight: 700; font-size: 1.05rem; line-height: 1.35; }

.lk-mono {
  font-size: .65rem; color: rgba(203,213,225,.4);
  font-family: var(--font-body); font-weight: 400;
  text-transform: uppercase; letter-spacing: .18em;
}

/* Pillar rows (hook slide) */
.lk-pillars { display: flex; flex-direction: column; gap: .625rem; }
.lk-pillar {
  border-left: 4px solid var(--teal);
  background: rgba(255,255,255,.03);
  padding: .75rem 1rem;
  border-radius: 0 .75rem .75rem 0;
  display: flex; align-items: center; gap: .75rem;
}
.lk-pillar-icon { font-size: 1.25rem; }
.lk-pillar-label {
  color: #fff; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; font-size: .95rem;
}

/* Closing slide specific */
.lk-closing-soft { font-size: 1.25rem; color: var(--slate-400); font-weight: 300; margin-bottom: .375rem; }
.lk-closing-bold { font-size: 1.5rem; color: #fff; font-weight: 700; letter-spacing: .05em; }
.lk-closing-card {
  position: relative; overflow: hidden;
  background: linear-gradient(to bottom, rgba(45,212,191,.1), transparent);
  border: 1px solid rgba(45,212,191,.25);
  border-radius: 1rem; padding: 1.5rem;
  margin-bottom: 1.5rem; width: 100%;
}
.lk-closing-card-rule {
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--teal), transparent);
}
.lk-closing-card-text { color: #fff; font-size: 1rem; font-weight: 500; line-height: 1.6; }
.lk-badge {
  display: inline-flex; align-items: center; gap: .625rem;
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: 999px; padding: .5rem 1.125rem;
  margin-bottom: 1.5rem;
}
.lk-badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #F59E0B;
  flex-shrink: 0;
}
.lk-badge-text { color: #F59E0B; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .15em; }
.lk-closing-q1 { color: var(--slate-400); font-size: .95rem; margin-bottom: .375rem; }
.lk-closing-q2 { color: #fff; font-size: 1.2rem; font-weight: 700; }

/* Arrows */
.lk-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.4); backdrop-filter: blur(8px);
  color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10;
  transition: border-color .2s, color .2s, background .2s, opacity .2s;
}
.lk-arrow:hover { border-color: var(--teal); color: #fff; background: rgba(45,212,191,.1); }
.lk-arrow:disabled { opacity: 0; pointer-events: none; }
.lk-arrow--prev { left: .625rem; }
.lk-arrow--next { right: .625rem; }

/* Dots */
.lk-dots {
  display: flex; align-items: center; justify-content: center; gap: .625rem;
  margin-bottom: 2.5rem;
}
.lk-dot {
  border: none; cursor: pointer; border-radius: 999px; padding: 0;
  background: rgba(203,213,225,.2);
  width: 8px; height: 8px;
  transition: width .3s ease, background .3s ease;
}
.lk-dot.is-active { width: 28px; background: var(--teal); }

/* CTA row */
.lk-cta {
  display: flex; justify-content: center;
  margin-top: .5rem;
}


/* ═══════════════════════════════════════════════════
   POD TRACKS — 3-column diagnostic section
═══════════════════════════════════════════════════ */
#pod-tracks {
  position: relative;
  padding-block: clamp(4rem, 9vw, 8rem);
  background: var(--navy);
  overflow: hidden;
}

/* Decorative rings — mirrors the removed pods section */
#pod-tracks::before,
#pod-tracks::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(45,212,191,.08);
  pointer-events: none;
}
#pod-tracks::before { top: 0; left: 25%; width: 800px; height: 800px; transform: translateY(-50%); }
#pod-tracks::after  { bottom: 0; right: 25%; width: 600px; height: 600px; transform: translateY(50%); }

/* Grid — matches .pods-grid breakpoint and max-width */
.tracks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) {
  .tracks-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

/* Card base */
.track-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  transition: transform .3s var(--ease-out-expo), border-color .3s, background .3s;
  position: relative;
  overflow: hidden;
}
.track-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(to bottom, var(--teal), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.track-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45,212,191,.2);
  background: rgba(45,212,191,.03);
}
.track-card:hover::before { opacity: 1; }

/* Accent variant — middle card slightly elevated by default */
.track-card--accent {
  border-color: rgba(45,212,191,.18);
  background: rgba(45,212,191,.04);
}
.track-card--accent::before { opacity: 1; }

/* Icon — inherits .pod-icon sizing/shape but smaller for the card context */
.track-card__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}
.track-card__icon {
  width: 3.25rem; height: 3.25rem;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: background .3s, transform .3s;
}
.track-card:hover .track-card__icon {
  background: rgba(45,212,191,.12);
  transform: scale(1.08);
}
.track-card__icon svg {
  width: 1.4rem; height: 1.4rem;
  stroke: var(--teal); fill: none;
}

/* Title — matches .pod-title */
.track-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--teal);
  font-weight: 400;
  margin-bottom: .375rem;
  line-height: 1.2;
}

/* Tag line */
.track-card__tag {
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--slate-500);
}

/* Situation block */
.track-card__situation {
  margin-bottom: 1.5rem;
  flex: 1; /* pushes outcome to bottom of card */
}
.track-card__cue-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--slate-500);
  margin-bottom: .75rem;
  font-weight: 500;
}
.track-card__cues {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.track-card__cues li {
  font-size: .9rem;
  color: var(--slate-400);
  font-weight: 300;
  line-height: 1.6;
  padding-left: 1rem;
  position: relative;
}
.track-card__cues li::before {
  content: '';
  position: absolute;
  left: 0; top: .6em;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--slate-500);
}
.track-card__cues li.is-amber {
  color: #F59E0B;
  font-style: italic;
}
.track-card__cues li.is-amber::before { background: #F59E0B; }

/* Outcome callout — left-border accent matching the carousel slides */
.track-card__outcome {
  border-left: 2px solid var(--teal);
  padding: .875rem 1rem;
  margin-bottom: 1rem;
  background: rgba(45,212,191,.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.track-card__outcome-label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--slate-500);
  margin-bottom: .375rem;
  font-weight: 500;
}
.track-card__outcome-value {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--teal);
  font-weight: 400;
  line-height: 1.4;
}

/* Mono tagline at bottom */
.track-card__mono {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--slate-500);
  font-weight: 400;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid rgba(255,255,255,.05);
}

/* Footer closing row */
.tracks-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  margin-top: 4.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .tracks-footer { flex-direction: row; justify-content: center; gap: 2.5rem; }
}
.tracks-footer__statement {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--slate-300);
  font-weight: 300;
}
.tracks-footer__statement em {
  color: var(--teal);
  font-style: italic;
}
