/* ============================================================
   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); }
