/* ══════════════════════════════════════════════════
   LiTME — Styles
   Colors: Navy #00142c | Teal #0dc9ac | White #ffffff
══════════════════════════════════════════════════ */

:root {
  --navy:   #00142c;
  --teal:   #0dc9ac;
  --white:  #ffffff;
  --navy-light: #012040;
  --navy-mid:   #011828;
  --teal-dark:  #0aab92;
  --teal-glow:  rgba(13, 201, 172, 0.18);
  --teal-glow-soft: rgba(13, 201, 172, 0.08);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 4px 40px rgba(0, 0, 0, 0.34);
  --shadow-glow: 0 0 40px rgba(13, 201, 172, 0.25);
}

/* ─── Skip Link (Accessibility) ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--navy);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
svg { display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 100px 0; }
.section-dark { padding: 100px 0; background: var(--navy-mid); }
.section-teal { padding: 100px 0; background: var(--teal); color: var(--navy); }

/* ─── Reveal Animation ─── */
.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children inside grids */
.services-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.2s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.3s; }
.why-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.why-grid .reveal:nth-child(3) { transition-delay: 0.15s; }
.why-grid .reveal:nth-child(4) { transition-delay: 0.2s; }
.why-grid .reveal:nth-child(5) { transition-delay: 0.25s; }
.why-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

/* ─── Typography ─── */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { font-size: 0.97rem; line-height: 1.75; }

.teal-text  { color: var(--teal); }
.navy-text  { color: var(--navy); }
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}
.eyebrow-navy { color: var(--navy); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-sub { max-width: 560px; margin: 0 auto; opacity: 0.74; }

/* ══════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--teal);
  color: var(--navy);
  box-shadow: 0 0 0 0 var(--teal-glow);
}
.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(13, 201, 172, 0.45);
  filter: brightness(1.08);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--navy); }

.btn-ghost {
  background: rgba(255,255,255,0.07);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); }

.btn-navy {
  background: var(--navy);
  color: var(--teal);
  border: 2px solid var(--navy);
}
.btn-navy:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.35); filter: brightness(1.15); }

.btn-full { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(0, 20, 44, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.8rem 0;
  box-shadow: 0 2px 32px rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(13, 201, 172, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.logo-li  { color: var(--white); }
.logo-tme { color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:not(.btn) { padding: 0.7rem 0; }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links .btn { margin-left: 0.5rem; }
.nav-links .btn::after { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(13,201,172,0.13) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}
@keyframes pulseGlow {
  from { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
  to   { opacity: 1;   transform: translate(-50%,-50%) scale(1.12); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
  max-width: 760px;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.4rem;
}

.hero-title-static { display: block; }
.typed-line { display: block; min-height: 1.1em; }
.typed-text { display: inline-block; white-space: nowrap; }
.cursor {
  display: inline-block;
  color: var(--teal);
  animation: blink 0.85s step-end infinite;
  margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-sub {
  font-size: 1.05rem;
  max-width: 580px;
  opacity: 0.8;
  margin-bottom: 2.4rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 1rem;
}
.badge {
  text-align: center;
}
.badge-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--teal);
  display: inline-block;
}
.badge span { font-size: 1.4rem; font-weight: 800; color: var(--teal); }
.badge p { font-size: 0.72rem; opacity: 0.65; margin-top: 0.1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.badge-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--teal);
  border-radius: 2px;
  animation: scrollBounce 1.6s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.4; }
}

/* ══════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--navy-light);
  border: 1px solid rgba(13, 201, 172, 0.1);
  border-radius: 16px;
  padding: 2.2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,201,172,0.05) 0%, transparent 60%);
  pointer-events: none;  /* the hover glow must not sit on top of the card's link */
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(13, 201, 172, 0.4);
  box-shadow: var(--shadow-card), 0 0 30px rgba(13,201,172,0.08);
}
.service-card:hover::before { opacity: 1; }

.card-icon {
  width: 54px;
  height: 54px;
  background: rgba(13, 201, 172, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  padding: 12px;
  transition: background var(--transition);
}
.service-card:hover .card-icon { background: rgba(13, 201, 172, 0.15); }
.card-icon svg { width: 30px; height: 30px; }

.service-card h3 { margin-bottom: 0.8rem; }
.service-card p { font-size: 0.88rem; opacity: 0.7; margin-bottom: 1.4rem; }

.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0;
  margin: -0.6rem 0;
  transition: gap var(--transition);
}
.card-link:hover { gap: 0.6rem; }
.card-link span { transition: transform var(--transition); }
.card-link:hover span { transform: translateX(3px); }

/* ══════════════════════════════════════════════════
   ABOUT (TEAL SECTION)
══════════════════════════════════════════════════ */
.section-teal h2 { color: var(--navy); }
.section-teal p  { color: var(--navy); opacity: 0.85; }
.section-teal .eyebrow { color: var(--navy); opacity: 0.6; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}

/* Animated ring visual */
.about-visual {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.about-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 20, 44, 0.2);
}
.ring-1 { width: 100%; height: 100%; animation: spin 20s linear infinite; border-style: dashed; }
.ring-2 { width: 75%;  height: 75%; animation: spin 14s linear infinite reverse; }
.ring-3 { width: 50%;  height: 50%; animation: spin 8s linear infinite; border-style: dashed; }
@keyframes spin { to { transform: rotate(360deg); } }

.about-core {
  width: 90px;
  height: 90px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 0 40px rgba(0,20,44,0.4);
}

.float-badge {
  position: absolute;
  background: var(--navy);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  z-index: 2;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.fb-1 { top: 10%; right: -10%; }
.fb-2 { bottom: 15%; left: -5%; }

.about-text h2 { margin-bottom: 1.4rem; }
.about-text p  { margin-bottom: 1rem; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,20,44,0.2);
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  display: inline-block;
}
.stat-unit { font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.stat-item p { font-size: 0.72rem; opacity: 0.65; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.2rem; }

/* ══════════════════════════════════════════════════
   WHY US
══════════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-item {
  padding: 2rem 1.6rem;
  border-radius: 14px;
  border: 1px solid rgba(13, 201, 172, 0.08);
  background: rgba(255,255,255,0.02);
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.why-item:hover {
  border-color: rgba(13, 201, 172, 0.3);
  transform: translateY(-4px);
  background: rgba(13, 201, 172, 0.04);
}

.why-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.2rem;
}
.why-icon svg { width: 100%; height: 100%; }
.why-title { font-size: 1.05rem; line-height: 1.3; margin-bottom: 0.6rem; }
.why-item p { font-size: 0.85rem; opacity: 0.65; }

/* ══════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════ */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(13, 201, 172, 0.12);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(13, 201, 172, 0.3);
  transform: translateY(-4px);
}

.stars { color: var(--teal); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }

.testimonial-card p {
  font-size: 0.92rem;
  opacity: 0.8;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testi-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--teal);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.testi-author strong { display: block; font-size: 0.92rem; }
.testi-author span   { font-size: 0.78rem; opacity: 0.6; }

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background var(--transition);
}
.testi-dot.active { background: var(--teal); }

/* ══════════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════════ */
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-text h2 { color: var(--navy); }
.cta-text p  { color: var(--navy); opacity: 0.75; margin-top: 0.5rem; }

/* ══════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(13, 201, 172, 0.2);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230dc9ac' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}
.form-group select option { background: var(--navy-light); color: var(--white); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background-color: rgba(13, 201, 172, 0.05);   /* colour only, so the dropdown keeps its arrow */
}
.form-group textarea { resize: vertical; min-height: 110px; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(13, 201, 172, 0.1);
  transition: border-color var(--transition);
}
.info-card:hover { border-color: rgba(13, 201, 172, 0.3); }
.info-icon { min-width: 28px; }
.info-icon svg { width: 28px; height: 28px; }
.info-card strong { display: block; font-size: 0.82rem; font-weight: 600; color: rgba(255,255,255,0.6); margin-bottom: 0.2rem; text-transform: uppercase; letter-spacing: 0.05em; }
.info-card span { font-size: 0.92rem; }

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.cert-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  border: 1px solid rgba(13, 201, 172, 0.35);
  border-radius: 9999px;
  padding: 0.3rem 0.85rem;
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
#footer {
  background: var(--navy-mid);
  border-top: 1px solid rgba(13, 201, 172, 0.1);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(13,201,172,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 60px;
}

.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; opacity: 0.6; max-width: 260px; line-height: 1.7; margin-bottom: 1.4rem; }


.footer-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 1.2rem;
}
.footer-links-col a {
  display: block;
  font-size: 0.85rem;
  opacity: 0.72;
  padding: 0.6rem 0;
  transition: opacity var(--transition), color var(--transition);
}
.footer-links-col a:hover { opacity: 1; color: var(--teal); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; opacity: 0.62; }

/* ══════════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--teal);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
  box-shadow: 0 8px 32px rgba(13,201,172,0.4);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { width: 260px; height: 260px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 2rem 2rem;
    background: rgba(0,20,44,0.98);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform var(--transition);
    gap: 0;
    z-index: 999;
    border-left: 1px solid rgba(13,201,172,0.1);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a {
    padding: 0.9rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 0.95rem;
  }
  .nav-links a::after { display: none; }
  .nav-links .btn { margin-left: 0; margin-top: 1rem; width: 100%; text-align: center; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-track { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .hero-badges { gap: 1.2rem; }
  .badge-divider { display: none; }
}

@media (max-width: 480px) {
  .container { padding-inline: 1.2rem; }  /* sides only: a shorthand here wiped the hero's and footer's vertical padding */
  .section { padding: 70px 0; }
  .hero-title { font-size: 2.2rem; }
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════
   HERO IMAGERY (ops-deck illustration + skyline)
══════════════════════════════════════════════════ */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: 3.5rem;
  max-width: 1200px;
}
.hero-visual {
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { max-width: 420px; margin: 3rem auto 0; }
}
@media (max-width: 480px) {
  .hero-visual { max-width: 320px; margin-top: 2.2rem; }
}

@keyframes lb-in {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* ══════════════════════════════════════════════════
   CRYPTIVA-STYLE LAYOUT
   Highlights overlapping the hero, full-bleed photo
   rows, and a facts band. Uses the tokens above.
══════════════════════════════════════════════════ */

/* Three cards that sit over the bottom of the hero */
.highlights {
  position: relative;
  z-index: 3;
  margin-top: -72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-item.highlight {
  background: var(--navy-light);
  border-color: rgba(13, 201, 172, 0.14);
  box-shadow: var(--shadow-card);
}
.why-item.highlight:hover { background: #022a52; }

/* Photo and text side by side; the photo runs to the screen edge */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-top: 110px;
}
.split-media { position: relative; align-self: stretch; min-height: 460px; }
.split-media img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 0 18px 18px 0;
}
.split-flip .split-media img { border-radius: 18px 0 0 18px; }
.split-text { padding: 2.5rem clamp(1.5rem, 6vw, 6rem); max-width: 680px; }
.split-flip .split-text { justify-self: end; }
.split-text h2 { margin-bottom: 1.2rem; }
/* colour, not opacity: the reveal animation ends at opacity 1 and was undoing the softer tone */
.split-text > p:not(.eyebrow) { color: rgba(255, 255, 255, 0.76); margin-bottom: 1rem; }
.split-text .btn { margin-top: 0.5rem; }

/* The original "One Partner / Full Coverage" badges, now on the photo */
.split-media .float-badge { position: absolute; z-index: 1; }
.split-media .fb-1 { top: 1.5rem; right: 1.5rem; }
.split-media .fb-2 { bottom: 1.5rem; left: clamp(1.5rem, 4vw, 3rem); }

.reasons { margin: 1.8rem 0 2rem; display: grid; gap: 1.4rem; }
.reasons li { display: flex; gap: 1.1rem; align-items: flex-start; }
.reasons .why-icon { width: 40px; height: 40px; margin: 0; flex: none; }
.reasons .why-title { font-size: 1rem; margin-bottom: 0.3rem; }
.reasons p { font-size: 0.88rem; opacity: 0.68; }

@media (max-width: 1024px) {
  .highlights { grid-template-columns: 1fr; margin-top: -44px; }
  .split, .split-flip { grid-template-columns: 1fr; margin-top: 80px; }
  .split-flip .split-media { order: -1; }
  .split-media { min-height: 0; padding: 0 2rem; }
  .split-media img, .split-flip .split-media img { aspect-ratio: 3 / 2; height: auto; border-radius: 18px; }
  .split-media .fb-1 { right: 3rem; }
  .split-media .fb-2 { left: 3rem; }
  .split-text, .split-flip .split-text { justify-self: start; padding: 2.5rem 2rem 0; max-width: 760px; }
}
@media (max-width: 480px) {
  .split-media { padding: 0 1.2rem; }
  .split-text, .split-flip .split-text { padding: 2rem 1.2rem 0; }
  .split-media .fb-1 { right: 2rem; top: 1rem; }
  .split-media .fb-2 { left: 2rem; bottom: 1rem; }
}


/* ══════════════════════════════════════════════════
   ACCESSIBILITY AND POLISH
══════════════════════════════════════════════════ */
html { scroll-padding-top: 88px; }  /* anchors land below the fixed header */

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 2px; border-radius: 999px; }
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(13, 201, 172, 0.3); }

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

/* The email address in the contact card is easy to tap */
.info-card a { display: inline-block; padding: 0.5rem 0; margin: -0.5rem 0; }

/* Inline form errors */
.field-error { font-size: 0.8rem; color: #ff8a80; }
.field-error:empty { display: none; }
.form-group [aria-invalid="true"] { border-color: #ff8a80; }

/* Reduced motion: the headline shows its words at once, nothing moves or fades in */
.typed-line.is-static { min-height: 0; }
.typed-line.is-static .typed-text { display: block; white-space: normal; font-size: 0.4em; font-weight: 600; line-height: 1.5; margin-top: 0.4rem; }
.typed-line.is-static .cursor { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .service-card:hover, .why-item:hover { transform: none; }
}

/* Headings break into even lines instead of leaving one word behind */
h1, h2, h3, h4 { text-wrap: balance; }

/* Service cards: the "Talk to us" links line up along the bottom of each row */
.service-card { display: flex; flex-direction: column; align-items: flex-start; }
.service-card .card-link { margin: auto 0 -0.6rem; position: relative; }

/* Paragraphs avoid leaving a single short word on the last line */
p { text-wrap: pretty; }

/* Photo placeholders fill the photo slot and keep its rounded edge */
.split-media { border-radius: 0 18px 18px 0; }
.split-flip .split-media { border-radius: 18px 0 0 18px; }

/* Contact form: sending status, hidden bot trap, click-to-copy email */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }
.form-status:empty { display: none; }
.form-status.is-error { color: #ff8a80; }
.copy-email {
  background: none; border: 0; padding: 0.5rem 0; margin: -0.5rem 0;
  color: inherit; font: inherit; font-weight: inherit; cursor: pointer; text-align: left;
  text-decoration: underline; text-decoration-color: rgba(13, 201, 172, 0.5); text-underline-offset: 0.25em;
}
.copy-email:hover { color: var(--teal); }


/* ══════════════════════════════════════════════════
   PHOTO HERO
   A full-width photo behind the headline. The left
   side fades to navy so the text stays readable.
══════════════════════════════════════════════════ */
.hero-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--navy); }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 72% center;
  animation: hero-drift 30s ease-in-out infinite alternate;
}
@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.08) translate(-1.2%, -0.8%); } }
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 20, 44, 0.96) 0%, rgba(0, 20, 44, 0.88) 34%, rgba(0, 20, 44, 0.4) 66%, rgba(0, 20, 44, 0.18) 100%),
    linear-gradient(0deg, var(--navy) 0%, rgba(0, 20, 44, 0) 13%),
    linear-gradient(180deg, rgba(0, 20, 44, 0.7) 0%, rgba(0, 20, 44, 0) 18%);
}
/* no photo yet: a striped stand-in */
.hero-photo.is-empty {
  background:
    repeating-linear-gradient(135deg, rgba(13, 201, 172, 0.05) 0 16px, transparent 16px 32px),
    radial-gradient(70% 80% at 75% 45%, #02305c, var(--navy) 75%);
}

.hero-ph-card {
  max-width: 440px; margin-left: auto; padding: 1.4rem 1.5rem;
  border: 2px dashed rgba(13, 201, 172, 0.5); border-radius: 16px;
  background: rgba(1, 26, 54, 0.82); backdrop-filter: blur(6px);
}
.hero-ph-title { color: var(--teal); font-weight: 700; font-size: 1rem; }
.hero-ph-meta { margin-top: 0.35rem; font-size: 0.8rem; line-height: 1.6; color: rgba(255, 255, 255, 0.75); }
.hero-ph-meta code { font-family: ui-monospace, Menlo, monospace; color: #ffffff; }
.hero-ph-label { margin-top: 1rem; font-size: 0.75rem; font-weight: 700; color: rgba(255, 255, 255, 0.62); }
.hero-ph-text { margin-top: 0.3rem; font-size: 0.8rem; line-height: 1.6; color: rgba(255, 255, 255, 0.88); }
.hero-ph-text[data-prompt] { user-select: all; max-height: 9.6em; overflow: auto; }
.hero-ph-card .photo-ph-copy {
  margin-top: 0.7rem; padding: 0.55rem 0.95rem; min-height: 40px;
  border: 1px solid rgba(13, 201, 172, 0.5); border-radius: 999px; background: transparent;
  color: var(--teal); font: inherit; font-size: 0.8rem; font-weight: 600; cursor: pointer;
}
.hero-ph-card .photo-ph-copy:hover { background: var(--teal); color: var(--navy); }

@media (max-width: 1024px) {
  /* text spans the full width on small screens, so the whole photo is dimmed */
  .hero-photo::after {
    background:
      linear-gradient(0deg, var(--navy) 0%, rgba(0, 20, 44, 0.8) 30%, rgba(0, 20, 44, 0.8) 100%);
  }
  .hero-ph-card { margin: 2.5rem 0 0; }
  .hero-visual:empty { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hero-photo img { animation: none; } }


/* ══════════════════════════════════════════════════
   SEE-THROUGH SECTIONS
   A photo sits behind the section under a navy (or
   teal) layer that is mostly solid, so the picture
   shows through faintly. Cards on top are glass.
   --backdrop is set on <main> when the photo exists.
══════════════════════════════════════════════════ */
.see-through { position: relative; background-color: var(--navy); background-position: center; background-size: cover; background-repeat: no-repeat; }
#services.see-through {
  background-image:
    linear-gradient(180deg, var(--navy) 0%, rgba(0, 20, 44, 0.86) 22%, rgba(0, 20, 44, 0.86) 78%, var(--navy) 100%),
    var(--backdrop, none);
}
/* Call-to-action band: dark, with the photo showing through; white centred text, teal button */
#cta-banner.see-through {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(0, 20, 44, 0.8), rgba(0, 20, 44, 0.8)),
    var(--backdrop, none);
  padding: 120px 0;
  border-top: 1px solid rgba(13, 201, 172, 0.12);
  border-bottom: 1px solid rgba(13, 201, 172, 0.12);
}
#cta-banner.see-through .cta-inner { flex-direction: column; justify-content: center; text-align: center; gap: 2.2rem; }
#cta-banner.see-through .cta-text h2 { color: var(--white); }
#cta-banner.see-through .cta-text h2 .navy-text { color: var(--teal); }   /* was navy for the old teal band */
#cta-banner.see-through .cta-text p { color: var(--white); opacity: 0.85; max-width: 640px; margin: 1rem auto 0; }
#cta-banner.see-through .btn-navy { background: var(--teal); color: var(--navy); box-shadow: 0 10px 30px rgba(13, 201, 172, 0.25); }
#cta-banner.see-through .btn-navy:hover { background: #2fe0c4; }
/* the picture stays put while the page scrolls over it (desktop only; phones handle this badly) */
@media (hover: hover) and (min-width: 1025px) {
  .see-through { background-attachment: scroll, fixed; }
}

/* glass cards: the layer behind shows through */
.see-through .service-card {
  background: rgba(1, 32, 64, 0.58);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-color: rgba(13, 201, 172, 0.18);
}
.see-through .service-card:hover { background: rgba(2, 42, 82, 0.72); }
.why-item.highlight {
  background: rgba(1, 32, 64, 0.62);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-color: rgba(13, 201, 172, 0.22);
}
.why-item.highlight:hover { background: rgba(2, 42, 82, 0.76); }
/* cards reach further up into the hero photo so more of it shows through them */
.highlights { margin-top: -170px; }
#hero .hero-content { padding-bottom: 210px; }
@media (max-width: 1024px) {
  .highlights { margin-top: -70px; }
  #hero { min-height: 0; }
  #hero .hero-content { padding-bottom: 120px; }
  .scroll-indicator { display: none; }   /* it sat behind the first card */
}

/* Stand-in tag: marks a temporary picture and copies its prompt */
.standin-tag {
  position: absolute; right: 0.9rem; bottom: 0.9rem; z-index: 3;
  display: inline-flex; align-items: center; gap: 0.6rem; max-width: calc(100% - 1.8rem);
  padding: 0.3rem 0.35rem 0.3rem 0.8rem; border-radius: 999px;
  background: rgba(0, 12, 28, 0.82); border: 1px dashed rgba(13, 201, 172, 0.6);
  color: rgba(255, 255, 255, 0.85); font-size: 0.72rem; line-height: 1.3;
}
.standin-tag code { font-family: ui-monospace, Menlo, monospace; color: #ffffff; }
.standin-tag button {
  flex: none; padding: 0.4rem 0.75rem; min-height: 32px; border-radius: 999px;
  border: 1px solid rgba(13, 201, 172, 0.5); background: transparent; color: var(--teal);
  font: inherit; font-weight: 600; cursor: pointer;
}
.standin-tag button:hover { background: var(--teal); color: var(--navy); }
.hero-standin .standin-tag { right: 1.5rem; bottom: 190px; }
.band-standin .standin-tag { right: 1.5rem; bottom: 0.8rem; }
@media (max-width: 1024px) {
  .hero-standin .standin-tag { bottom: auto; top: 96px; right: 1rem; }
  .standin-tag span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}


/* ══════════════════════════════════════════════════
   HOME PAGE STORY SECTIONS
   Numbered steps, the department layout (leadership
   card over the six areas), and coverage lists.
══════════════════════════════════════════════════ */
.steps, .reasons, .chips, .cover-list, .cert-badges { list-style: none; }

/* How it works: big outlined step numbers in place of icons */
.steps .why-item .step-num {
  font-size: 2.8rem; font-weight: 800; line-height: 1; margin-bottom: 1.1rem; opacity: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--teal); letter-spacing: 0.02em;
}
.steps .why-item p:not(.step-num) { font-size: 0.9rem; opacity: 0.78; }
.steps .why-title { font-size: 1.15rem; }

/* The sentence that closes the problem section */
.split-text > p.split-close { color: var(--white); font-weight: 600; font-size: 1.05rem; margin: 0; padding-left: 1rem; border-left: 3px solid var(--teal); }

/* Department: a leadership card on top, joined by a line to the areas below */
.dept-lead {
  position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.5rem; align-items: center;
  padding: 2.4rem 2.4rem; margin-bottom: 2.5rem; border-radius: 16px;
  background: linear-gradient(120deg, rgba(13, 201, 172, 0.16), rgba(1, 32, 64, 0.62) 55%);
  border: 1px solid rgba(13, 201, 172, 0.35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.dept-lead::after {
  content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 2.5rem;
  background: linear-gradient(var(--teal), rgba(13, 201, 172, 0.15));
}
.dept-lead h3 { font-size: 1.5rem; margin-bottom: 0.7rem; }
.dept-lead p:not(.eyebrow) { font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 1.3rem; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.chips li {
  padding: 0.75rem 1rem; border-radius: 10px; font-size: 0.85rem; font-weight: 500; line-height: 1.35;
  background: rgba(0, 20, 44, 0.55); border: 1px solid rgba(13, 201, 172, 0.2);
}

/* What each area includes */
.cover-list { display: grid; gap: 0.5rem; margin-bottom: 1.6rem; width: 100%; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.cover-list li { position: relative; padding-left: 1.3rem; font-size: 0.86rem; line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
.cover-list li::before {
  content: ''; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border-radius: 2px;
  background: var(--teal);
}
.dept .service-card p { margin-bottom: 1.1rem; }

.dept-note { text-align: center; margin-top: 2.5rem; color: rgba(255, 255, 255, 0.8); }
.dept-note a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 0.25em; padding: 0.6rem 0; }

.reasons .cert-badges { margin-top: 0.7rem; }

@media (max-width: 1024px) {
  .dept-lead { grid-template-columns: 1fr; gap: 1.6rem; padding: 2rem 1.6rem; }
}
@media (max-width: 480px) {
  .chips { grid-template-columns: 1fr; }
}
/* Phones: the stand-in tag sits above the hero text, not on it */
@media (max-width: 480px) {
  .hero-standin .standin-tag { top: 76px; }
}
/* Lifecycle stage shown above each area's name */
.stage-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.45rem; }
.dept .service-card p.stage-tag { opacity: 1; margin-bottom: 0.45rem; font-size: 0.72rem; }


/* ══════════════════════════════════════════════════
   CONTACT PANEL
   One card in two halves: what happens next on a
   photo-backed side, the form on the other.
══════════════════════════════════════════════════ */
.contact-panel {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(13, 201, 172, 0.2);
  box-shadow: var(--shadow-card), 0 0 80px rgba(13, 201, 172, 0.06);
  background: var(--navy-light);
}
.contact-aside {
  position: relative; padding: clamp(2rem, 4vw, 3.2rem);
  background-color: #01203f;
  background-image:
    radial-gradient(120% 70% at 0% 0%, rgba(13, 201, 172, 0.26), rgba(13, 201, 172, 0) 60%),
    linear-gradient(rgba(0, 20, 44, 0.72), rgba(0, 20, 44, 0.86)),
    var(--contact-bg, none);
  background-size: cover; background-position: center;
  border-right: 1px solid rgba(13, 201, 172, 0.16);
}
.contact-aside h2 { margin-bottom: 0.9rem; }
.contact-lead { color: rgba(255, 255, 255, 0.82); max-width: 34ch; }

.next-steps { list-style: none; counter-reset: step; margin: 2.2rem 0; display: grid; gap: 1.5rem; }
.next-steps li { counter-increment: step; position: relative; padding-left: 3.2rem; }
.next-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: var(--teal);
  border: 1.5px solid rgba(13, 201, 172, 0.6); background: rgba(0, 20, 44, 0.6);
}
.next-steps li:not(:last-child)::after {
  content: ''; position: absolute; left: 1.1rem; top: 2.4rem; bottom: -1.3rem; width: 1px;
  background: rgba(13, 201, 172, 0.3);
}
.next-steps strong { display: block; font-size: 0.98rem; font-weight: 600; line-height: 1.4; }
.next-steps span { display: block; font-size: 0.85rem; color: rgba(255, 255, 255, 0.68); margin-top: 0.15rem; }

.contact-meta { display: grid; gap: 1.1rem; padding-top: 1.8rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.contact-meta dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.15rem; }
.contact-meta dd { font-size: 0.95rem; }
.contact-meta .copy-email { font-size: 1.05rem; font-weight: 600; }

.contact-panel .contact-form { padding: clamp(1.8rem, 4vw, 3.2rem); justify-content: center; }

/* ══════════════════════════════════════════════════
   RESPONSIVE: in-between widths
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* the three steps stay side by side on tablets */
  .highlights.steps { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .steps .why-item { padding: 1.5rem 1.2rem; }
  /* photos are wide here, so keep them shallower */
  .split-media img, .split-flip .split-media img { aspect-ratio: 16 / 9; }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
  /* the stand-in tag sits above the hero text, not on it */
  .hero-standin .standin-tag { top: 80px; }
}
/* the hero text lines up with the rest of the page at every width */
#hero .hero-content { width: 100%; }
@media (max-width: 900px) {
  .contact-panel { grid-template-columns: 1fr; }
  .contact-aside { border-right: 0; border-bottom: 1px solid rgba(13, 201, 172, 0.16); }
  .contact-lead { max-width: none; }
}
@media (max-width: 760px) {
  .highlights.steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .split-media img, .split-flip .split-media img { aspect-ratio: 3 / 2; }
  .contact-panel { border-radius: 16px; }
}


/* Slim footer: logo, one line, copyright */
#footer.footer-slim { padding: 1.6rem 0; }
.footer-slim-inner { display: flex; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; }
.footer-slim .logo { font-size: 1.3rem; }
.footer-tag { font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); }
.footer-copy { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); margin-left: auto; }
@media (max-width: 640px) {
  .footer-slim-inner { flex-direction: column; text-align: center; gap: 0.5rem; }
  .footer-copy { margin-left: 0; }
}

/* Small-screen fixes from the width audit */
@media (max-width: 900px) { .contact-panel { grid-template-columns: minmax(0, 1fr); } }
.hamburger { padding: 12px 10px; margin-right: -10px; }
@media (max-width: 360px) {
  .contact-aside, .contact-panel .contact-form { padding: 1.4rem 1.1rem; }
  .next-steps li { padding-left: 2.8rem; }
}

/* Footer links (Privacy, Terms) */
.footer-legal { display: flex; gap: 1.4rem; margin-left: auto; }
.footer-legal a { font-size: 0.8rem; color: rgba(255, 255, 255, 0.72); padding: 0.7rem 0; }
.footer-legal a:hover { color: var(--teal); }
.footer-slim .footer-copy { margin-left: 0; }
@media (max-width: 640px) { .footer-legal { margin-left: 0; } }
/* Boardroom photo: keep the presenter and the executives in view when the slot crops it */
#about .split-media img { object-position: 34% center; }

/* ══════════════════════════════════════════════════
   WIDE SCREENS
   The content column grows with the screen, so the
   logo, headline and cards do not sit in a narrow
   strip with a big empty margin beside full-width
   photos.
══════════════════════════════════════════════════ */
:root { --container: clamp(1200px, 84vw, 1600px); }
.container, .hero-grid { max-width: var(--container); }

/* Photo sections: the text lines up with the column's outer edge */
@media (min-width: 1025px) {
  .split .split-text, .split-flip .split-text { max-width: none; justify-self: stretch; }
  .split-flip .split-text { padding-left: max(2rem, calc((100vw - var(--container)) / 2 + 2rem)); padding-right: clamp(2rem, 5vw, 5rem); }
  .split:not(.split-flip) .split-text { padding-right: max(2rem, calc((100vw - var(--container)) / 2 + 2rem)); padding-left: clamp(2rem, 5vw, 5rem); }
  .split-text > p:not(.eyebrow), .split-text .reasons { max-width: 60ch; }
}

/* Hero balance: the photo's bright right side is toned down and the left shows a little
   more of the room, so the picture does not weigh the page to the right. */
@media (min-width: 1025px) {
  .hero-photo::after {
    background:
      linear-gradient(90deg, rgba(0, 20, 44, 0.9) 0%, rgba(0, 20, 44, 0.8) 38%, rgba(0, 20, 44, 0.6) 68%, rgba(0, 20, 44, 0.52) 100%),
      linear-gradient(0deg, var(--navy) 0%, rgba(0, 20, 44, 0) 13%),
      linear-gradient(180deg, rgba(0, 20, 44, 0.7) 0%, rgba(0, 20, 44, 0) 18%);
  }
}

/* Full-width layout on desktop. Content runs edge to edge with a side margin that grows
   with the screen, so wide monitors get more breathing room. To go back to the centred
   column, delete this block. */
@media (min-width: 1025px) {
  :root { --gutter: clamp(2.5rem, 6.5vw, 8.5rem); }
  /* the form would get uncomfortably wide, so the contact panel stops growing */
  .contact-panel { max-width: 1280px; margin-inline: auto; }
  .container, .hero-grid { max-width: none; padding-left: var(--gutter); padding-right: var(--gutter); }
  .split-flip .split-text { padding-left: var(--gutter); }
  .split:not(.split-flip) .split-text { padding-right: var(--gutter); }
}


/* ══════════════════════════════════════════════════
   DAY / NIGHT SWITCH (in the menu)
   The night look is everything above. The day look
   is in theme-day.css.
══════════════════════════════════════════════════ */
.theme-switch {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(0, 20, 44, 0.35);
}
.theme-switch button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 0.6rem; border: 0; border-radius: 999px;
  background: transparent; color: rgba(255, 255, 255, 0.78); cursor: pointer;
  font: inherit; font-size: 0.78rem; font-weight: 600;
  transition: background-color var(--transition), color var(--transition);
}
.theme-switch button:hover { color: var(--white); }
.theme-switch button[aria-pressed="true"] { background: var(--teal); color: var(--navy); }
/* It floats in the bottom-left corner as a small clock showing the visitor's own time.
   The three options slide out beside it on hover, keyboard focus, or a click/tap. */
.theme-float {
  position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 900;
  display: flex; align-items: center; gap: 0.5rem;
}
.theme-clock {
  flex: none; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--white);
  transition: color var(--transition);
}
/* Pure white lines, no disc or border. "difference" on the floating wrapper keeps the white
   clock visible over light and dark parts of the page alike; it is switched off while the
   options are showing so they keep their own colours. */
.theme-float { mix-blend-mode: difference; }
.theme-float.open, .theme-float:has(:focus-visible) { mix-blend-mode: normal; }
@media (hover: hover) { .theme-float:hover { mix-blend-mode: normal; } }
/* hover, focus or open: only the colour changes */
.theme-clock:hover, .theme-clock:focus-visible, .theme-float.open .theme-clock { color: var(--teal); }
@media (hover: hover) { .theme-float:hover .theme-clock { color: var(--teal); } }
.theme-clock svg { width: 58px; height: 58px; }
.theme-clock .clock-hour, .theme-clock .clock-minute { transform-origin: 20px 20px; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.theme-clock .clock-pin { fill: currentColor; }

.theme-float .theme-switch {
  background: rgba(0, 20, 44, 0.86); border-color: rgba(13, 201, 172, 0.3);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  opacity: 0; visibility: hidden; transform: translateX(-10px); pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}
.theme-float:has(:focus-visible) .theme-switch,
.theme-float.open .theme-switch {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}
/* hover opens it only where there is a real pointer; on touch screens a tap does */
@media (hover: hover) {
  .theme-float:hover .theme-switch {
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
  }
}
@media (max-width: 768px) {
  .theme-float { left: 0.9rem; bottom: 0.9rem; }
  .theme-clock { width: 56px; height: 56px; }
  .theme-clock svg { width: 50px; height: 50px; }
  .theme-switch button { min-width: 40px; height: 40px; }
}
@media print { .theme-float { display: none; } }

/* Phone menu: the Contact button keeps its full outline and padding
   (the menu's link rules were overriding them and cutting off its bottom edge) */
@media (max-width: 768px) {
  .nav-links .btn.btn-outline {
    padding: 0.85rem 1.5rem; justify-content: center; margin-top: 1.4rem;
    border: 2px solid var(--teal); border-radius: 9999px; color: var(--teal);
  }
  .nav-links .btn.btn-outline:hover { background: var(--teal); color: var(--navy); }
}
/* colours fade when the visitor switches, and only then */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease !important;
}
/* The menu button stays above the slide-in menu, so it can be closed with the X */
.hamburger { position: relative; z-index: 1001; }

/* Photos with a daytime version: the night one shows by default, theme-day.css swaps them */
.only-day { display: none; }


/* ══════════════════════════════════════════════════
   PUTTING THE CLOCK AWAY
   Drag the clock onto the X at the bottom of the
   screen to hide it. "Day / night" in the footer
   brings it back.
══════════════════════════════════════════════════ */
.theme-clock { touch-action: none; }                 /* lets a finger drag it instead of scrolling */
.theme-float { transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); }
.theme-float.dragging { transition: none; mix-blend-mode: normal; z-index: 1200; }
.theme-float.dragging .theme-clock { color: var(--teal); cursor: grabbing; }
.theme-float.dragging .theme-switch { display: none; }

.clock-dismiss {
  position: fixed; left: 50%; bottom: 2rem; z-index: 1100;
  width: 64px; height: 64px; margin-left: -32px; border-radius: 50%;
  display: grid; place-items: center; pointer-events: none;
  color: var(--white); background: rgba(0, 20, 44, 0.86); border: 2px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
  opacity: 0; transform: translateY(24px) scale(0.85);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.clock-dismiss.show { opacity: 1; transform: none; }
.clock-dismiss.hot { transform: scale(1.22); background: #b3261e; border-color: #ffffff; }

:root[data-clock="hidden"] .theme-float { display: none; }
.clock-restore {
  display: none; background: none; border: 0; padding: 0.7rem 0; cursor: pointer;
  font: inherit; font-size: 0.8rem; color: var(--teal);
  text-decoration: underline; text-underline-offset: 0.25em;
}
:root[data-clock="hidden"] .clock-restore { display: inline-block; }


/* ══════════════════════════════════════════════════
   SERVICE CARDS: icon and whole-card link
══════════════════════════════════════════════════ */
/* The icon stands on its own: no box, no glow, larger, with a soft tint inside its shapes.
   The lifecycle stage sits opposite it as a small pill. */
.dept .card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; margin-bottom: 1rem; }
.dept .card-head h3 { margin: 0; font-size: 1.3rem; line-height: 1.25; }
.dept .card-head .card-icon { flex: none; }
.dept .card-icon {
  position: relative; width: 56px; height: 56px; padding: 0; margin: 0;
  background: none; border-radius: 0; display: block;
}
.dept .card-icon svg { position: relative; width: 56px; height: 56px; stroke-width: 1.6; transition: transform var(--transition); }
.dept .card-icon svg rect, .dept .card-icon svg circle, .dept .card-icon svg path[d$="z"] { fill: rgba(13, 201, 172, 0.14); }
.dept .service-card:hover .card-icon { background: none; }
.dept .service-card:hover .card-icon svg { transform: translateY(-2px) scale(1.05); }
.dept .service-card p.stage-tag {
  margin: 0.2rem 0 0; padding: 0.3rem 0.75rem; border-radius: 999px;
  border: 1px solid rgba(13, 201, 172, 0.35); background: rgba(13, 201, 172, 0.08);
  font-size: 0.68rem; letter-spacing: 0.12em; white-space: nowrap;
}

/* The whole card is the "Talk to us" link: the link's hit area covers the card */
.dept .service-card { cursor: pointer; }
.dept .service-card .card-link { position: static; }
.dept .service-card .card-link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.dept .service-card:hover .card-link { gap: 0.6rem; }
.dept .service-card:hover .card-link span:last-child { transform: translateX(3px); }
.dept .service-card:focus-within { border-color: rgba(13, 201, 172, 0.6); }
.dept .service-card .card-link:focus-visible { outline: none; }
.dept .service-card .card-link:focus-visible::after { outline: 2px solid var(--teal); outline-offset: 3px; }

/* Call-to-action band: no thin lines along its top and bottom edges */
#cta-banner.see-through { border-top: 0; border-bottom: 0; }


/* ══════════════════════════════════════════════════
   HERO VIDEO
   Several short scenes play one after another over
   the hero photo. Each fades in over the one before
   it, so there is no cut and no jump.
══════════════════════════════════════════════════ */
/* the clips stack among themselves only; the dark or light wash (::after) stays on top of them */
.hero-videos { position: absolute; inset: 0; z-index: 0; isolation: isolate; }
.hero-photo::after { z-index: 1; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 72% center;
  opacity: 0; transition: opacity 1.4s ease; pointer-events: none;
}
.hero-video.is-playing { opacity: 1; }
/* the photo holds still under the clips, so the first scene lines up with it */
.hero-photo.has-video img { animation: none; }
/* phones and tablets play the clips too; only visitors who ask for less motion get the photo */
@media (prefers-reduced-motion: reduce) { .hero-videos { display: none; } }

/* ══════════════════════════════════════════════════
   HERO HAS THE FIRST SCREEN TO ITSELF (desktop)
   The hero runs a little taller than the window, and
   the three cards start exactly at the fold: nothing
   sits on the video at first, and the cards slide up
   over its lower edge as you scroll.
══════════════════════════════════════════════════ */
@media (min-width: 1025px) {
  #hero { min-height: calc(100vh + 120px); }
  #hero .hero-content { padding-bottom: 200px; }
  .highlights { margin-top: -120px; }
}

/* ══════════════════════════════════════════════════
   TYPE SCALE
   Larger, easier text: body 17px, card text 16px,
   and a hero that fills its screen-high space.
══════════════════════════════════════════════════ */
p { font-size: 1.0625rem; }                                   /* 17px body */
.section-sub { max-width: 660px; }
.eyebrow { font-size: 0.82rem; }

/* Hero */
.hero-eyebrow { font-size: 0.875rem; margin-bottom: 1.3rem; }
.hero-sub { font-size: 1.25rem; line-height: 1.7; max-width: 660px; opacity: 0.88; margin-bottom: 2.6rem; }
#hero .btn { font-size: 1rem; padding: 1rem 2.3rem; }

/* The three cards under the hero */
.steps .why-title { font-size: 1.25rem; }
.steps .why-item p:not(.step-num) { font-size: 1rem; line-height: 1.7; }

/* Photo sections */
.reasons .why-title { font-size: 1.12rem; }
.reasons p { font-size: 1rem; line-height: 1.65; }
.split-text > p.split-close { font-size: 1.15rem; }
.cert-badge { font-size: 0.8rem; }

/* Services */
.dept-lead p:not(.eyebrow) { font-size: 1.06rem; }
.chips li { font-size: 0.95rem; }
.dept .service-card p { font-size: 1rem; line-height: 1.65; }
.cover-list { gap: 0.7rem; }
.cover-list li { font-size: 0.97rem; line-height: 1.5; padding-left: 1.4rem; }
.cover-list li::before { top: 0.55em; }
.card-link { font-size: 0.95rem; }
.dept-note { font-size: 1.0625rem; }

/* Call to action and contact */
#cta-banner.see-through .cta-text p { font-size: 1.15rem; }
#cta-banner .btn { font-size: 1rem; padding: 1rem 2.3rem; }
.next-steps strong { font-size: 1.06rem; }
.next-steps span { font-size: 0.94rem; }
.contact-meta dd { font-size: 1rem; }
.form-group label { font-size: 0.85rem; }
.contact-form .btn { font-size: 1rem; padding: 1rem 2rem; }

/* Footer */
.footer-tag { font-size: 0.92rem; }
.footer-copy, .footer-legal a, .clock-restore { font-size: 0.86rem; }

@media (max-width: 1024px) {
  .hero-sub { font-size: 1.15rem; }
}
@media (max-width: 480px) {
  .hero-sub { font-size: 1.08rem; margin-bottom: 2rem; }
  .hero-eyebrow { font-size: 0.8rem; }
  #cta-banner.see-through .cta-text p { font-size: 1.05rem; }
}

/* ══════════════════════════════════════════════════
   ANCHOR LANDINGS
   Where the page stops when a menu link or button
   jumps to a section: close under the menu bar, with
   the section's heading or card in view, not a band
   of empty padding.
══════════════════════════════════════════════════ */
#how { scroll-margin-top: 36px; }          /* the three cards get a little air under the menu */
#services { scroll-margin-top: -56px; }    /* skip most of the section's top padding */
#contact { scroll-margin-top: -48px; }
#why-us, #about { scroll-margin-top: 12px; }
@media (max-width: 480px) {
  #services { scroll-margin-top: -30px; }
  #contact { scroll-margin-top: -24px; }
}

/* ══════════════════════════════════════════════════
   FITS MOST SCREENS
   Tuned for the common window sizes: short Windows
   laptops (1366×768, 1536×864), MacBooks (16:10),
   1080p monitors, and large or ultrawide monitors.
══════════════════════════════════════════════════ */
@media (min-width: 1025px) {
  /* Content stops growing at 1760px and centres on very wide monitors, so cards and text
     do not stretch across a 2560px or ultrawide screen. Below that it is full width. */
  :root { --edge: max(var(--gutter), calc((100vw - 1760px) / 2)); }
  .container, .hero-grid { padding-left: var(--edge); padding-right: var(--edge); }
  .split-flip .split-text { padding-left: var(--edge); }
  .split:not(.split-flip) .split-text { padding-right: var(--edge); }

  /* Hero text grows with the screen, so it is not lost on a large monitor */
  .hero-title { font-size: clamp(4.5rem, 4.6vw, 5.5rem); }
  .hero-sub { font-size: clamp(1.2rem, 1.36vw, 1.5rem); max-width: 34em; }
  .hero-eyebrow { font-size: clamp(0.875rem, 0.95vw, 1.05rem); }
}
/* Short windows (a 768px-high laptop with browser bars leaves about 650px):
   a slightly smaller headline and tighter spacing keep the buttons well inside the screen */
@media (min-width: 1025px) and (max-height: 720px) {
  #hero .hero-content { padding-top: 92px; padding-bottom: 170px; }
  .hero-title { font-size: clamp(3.4rem, 4.4vw, 4rem); margin-bottom: 1rem; }
  .hero-eyebrow { margin-bottom: 0.9rem; }
  .hero-sub { font-size: 1.12rem; margin-bottom: 1.8rem; }
}
/* Phones: the cards start below the first screen too, so the hero stands alone */
@media (max-width: 1024px) {
  #hero { min-height: 100svh; }
  .highlights { margin-top: 1.5rem; }
}

/* The clock sits in the bottom-right corner; its options open to the left of it.
   The "message sent" notice moves up so the two never overlap. */
.theme-float { left: auto; right: 1.25rem; flex-direction: row-reverse; }
.theme-float .theme-switch { transform: translateX(10px); }
.theme-float:has(:focus-visible) .theme-switch,
.theme-float.open .theme-switch { transform: none; }
@media (hover: hover) { .theme-float:hover .theme-switch { transform: none; } }
.toast { bottom: 6.2rem; }
@media (max-width: 768px) {
  .theme-float { left: auto; right: 0.9rem; }
  .toast { right: 0.9rem; left: 0.9rem; bottom: 5.4rem; text-align: center; }
}

/* ══════════════════════════════════════════════════
   SERVICE PAGES  (/services/<name>/)
   Built from the home page's own parts: a shorter
   photo hero, photo rows, glass cards and numbered
   steps, plus a list of questions and answers.
══════════════════════════════════════════════════ */
/* Hero: as tall as its words need, not a full screen */
#hero.page-hero { min-height: 0; }
#hero.page-hero .hero-content { max-width: none; padding-top: 150px; padding-bottom: 96px; }
.page-hero-copy { max-width: 880px; }
.page-hero .hero-title { font-size: clamp(2.3rem, 5.4vw, 3.4rem); line-height: 1.12; }
.page-hero .hero-photo img { object-position: center; }
/* No hero photo yet: the placeholder card with its prompt sits to the right of the words */
@media (min-width: 1025px) {
  #hero.page-hero .hero-content.has-ph { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 3rem; align-items: center; }
}
@media (min-width: 1025px) {
  #hero.page-hero .hero-content { padding-top: 160px; padding-bottom: 104px; }
  .page-hero .hero-title { font-size: clamp(3.2rem, 3.7vw, 4.4rem); }
}
@media (min-width: 1025px) and (max-height: 720px) {
  #hero.page-hero .hero-content { padding-top: 124px; padding-bottom: 84px; }
  .page-hero .hero-title { font-size: clamp(2.8rem, 3.4vw, 3.4rem); }
}
@media (max-width: 768px) {
  #hero.page-hero .hero-content { padding-top: 104px; padding-bottom: 48px; }
  .page-hero .hero-sub { font-size: 1.05rem; line-height: 1.65; }
  .crumbs { margin-bottom: 1.1rem; }
  .crumbs ol { font-size: 0.82rem; gap: 0 0.45rem; }
  .crumbs li { gap: 0.45rem; }
}

/* Where am I: Home / What we take on / this page */
.crumbs { margin-bottom: 1.6rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.2rem 0.6rem; font-size: 0.9rem; }
.crumbs li { display: inline-flex; align-items: center; gap: 0.6rem; opacity: 0.72; }
.crumbs li + li::before { content: '/'; opacity: 0.5; }
.crumbs a { padding: 0.55rem 0; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.3em; transition: text-decoration-color var(--transition); }
.crumbs a:hover { text-decoration-color: currentColor; }
.crumbs li[aria-current] { opacity: 1; font-weight: 600; }

/* The band of cards sits over the same faint office photo as the home page's services */
.svc-band.see-through {
  background-image:
    linear-gradient(180deg, var(--navy) 0%, rgba(0, 20, 44, 0.86) 22%, rgba(0, 20, 44, 0.86) 78%, var(--navy) 100%),
    var(--backdrop, none);
}
.svc-grid { grid-template-columns: repeat(2, 1fr); }
.svc-grid .service-card { cursor: default; }
.svc-grid .cover-list { margin-bottom: 0; }
@media (min-width: 1100px) { .svc-grid.n6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1500px) { .svc-grid.n4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .svc-grid { grid-template-columns: 1fr; } }

/* Numbered steps in the page's flow (on the home page they overlap the hero) */
.highlights.steps.flat { margin-top: 0; }
/* A photo row that follows a padded section needs no extra gap above it */
.svc-page .section + .split { margin-top: 0; }
.svc-page .section-header { margin-bottom: 3rem; }

/* Questions and answers: each opens in place */
.faq { max-width: 920px; margin: 0 auto; display: grid; gap: 0.9rem; }
.faq details {
  background: rgba(1, 32, 64, 0.62); border: 1px solid rgba(13, 201, 172, 0.16); border-radius: 14px;
  transition: border-color var(--transition), background var(--transition);
}
.faq details:hover, .faq details[open] { border-color: rgba(13, 201, 172, 0.42); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.25rem 1.5rem; border-radius: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.12rem; font-weight: 600; line-height: 1.4; }
.faq summary::after {
  content: '+'; flex: none; color: var(--teal); font-size: 1.7rem; font-weight: 400; line-height: 1;
  transition: transform var(--transition);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.5rem 1.4rem; max-width: 72ch; font-size: 1rem; line-height: 1.7; color: rgba(255, 255, 255, 0.8); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* The forward deployed engineers block on a service page: the home page's leadership card,
   without the line that joins it to the cards below */
.svc-embed { padding-top: 0; }
.svc-embed .dept-lead { margin-bottom: 0; }
.svc-embed .dept-lead::after { display: none; }
.dept-note-2 { margin-top: 0.6rem; }

/* Links to the other service pages, above the call-to-action band */
.svc-more { padding: 0 0 90px; text-align: center; }
.svc-more .eyebrow { font-size: 0.82rem; margin-bottom: 1.2rem; }
.svc-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; }
.svc-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.55rem 1.15rem; border-radius: 999px;
  font-size: 0.95rem; font-weight: 500;
  background: rgba(1, 32, 64, 0.62); border: 1px solid rgba(13, 201, 172, 0.22);
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.svc-links a:hover { border-color: var(--teal); color: var(--teal); }

/* ══════════════════════════════════════════════════
   SERVICES MENU
   "Services" in the menu bar opens a list of the
   service pages. On phones the list sits open inside
   the slide-in menu.
══════════════════════════════════════════════════ */
.nav-drop { position: relative; }
.nav-drop-top { display: inline-flex; align-items: center; gap: 0.4rem; }
.nav-drop-top svg { transition: transform var(--transition); }
.nav-drop-menu {
  list-style: none; position: absolute; top: 100%; left: -1.2rem; min-width: 270px; padding: 0.6rem;
  background: rgba(0, 20, 44, 0.97); border: 1px solid rgba(13, 201, 172, 0.18); border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop:hover .nav-drop-top svg, .nav-drop:focus-within .nav-drop-top svg { transform: rotate(180deg); }
.nav-links .nav-drop-menu a { display: block; padding: 0.65rem 0.9rem; border-radius: 9px; font-size: 0.9rem; white-space: nowrap; }
.nav-links .nav-drop-menu a::after { display: none; }
.nav-links .nav-drop-menu a:hover { background: rgba(13, 201, 172, 0.12); color: var(--white); }
@media (max-width: 768px) {
  .nav-links { overflow-y: auto; padding-bottom: 6rem; }
  .nav-drop { width: 100%; }
  .nav-drop-top { justify-content: space-between; }
  .nav-drop-top svg { display: none; }
  .nav-drop-menu {
    position: static; min-width: 0; padding: 0.3rem 0 0.5rem 0.9rem; background: none; border: 0; border-radius: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .nav-links .nav-drop-menu a { padding: 0.6rem 0; border-bottom: 0; font-size: 0.88rem; white-space: normal; color: rgba(255, 255, 255, 0.7); }
  .nav-links .nav-drop-menu a:hover { background: none; }
}


/* The forward deployed engineers band under the service cards on the home page: the
   leadership card's look, without the line that joins it to the cards */
.dept-lead.ai-band { margin: 3rem 0 0; }
.dept-lead.ai-band::after { display: none; }

/* Footer: the tagline sits under the logo, left-aligned (centred on phones with the rest) */
.footer-brand-block { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.footer-brand-block .logo { line-height: 1; }
.footer-brand-block .footer-tag { margin: 0; line-height: 1.2; }
@media (max-width: 640px) { .footer-brand-block { align-items: center; } }
