/* =========================================================
   MicroTalent — v3 dark design system on top of Bootstrap 5
   Load order: bootstrap.min.css  ->  this file
   ========================================================= */

:root {
  /* Palette */
  --ink-950: #05080F;
  --ink-900: #070C17;
  --ink-850: #0B1222;
  --ink-800: #101A30;
  --blue-600: #2563EB;
  --blue-500: #3B76F0;
  --blue-400: #5B8DF5;
  --cyan-400: #22D3EE;
  --violet-500: #7C5CFC;
  --slate-400: #94A3B8;
  --white: #FFFFFF;

  --panel: rgba(255, 255, 255, .035);
  --panel-strong: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);

  --text-body: rgba(226, 232, 244, .72);
  --text-dim: rgba(148, 163, 184, .85);

  --grad-brand: linear-gradient(95deg, #5B8DF5 0%, #3B76F0 40%, #22D3EE 100%);

  --font-head: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Bootstrap re-pointing */
  --bs-primary: var(--blue-600);
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--text-body);
  --bs-body-bg: var(--ink-900);
  --bs-link-color: var(--blue-400);
  --bs-link-hover-color: var(--cyan-400);
}

html {
  scroll-behavior: smooth;
}

section[id],
[id="roles"] {
  scroll-margin-top: 92px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--ink-900);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.65;
  overflow-x: clip;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.08;
  color: var(--white);
}

::selection {
  background: rgba(59, 118, 240, .4);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: 1290px;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

/* Gradient accent text used in headings */
.accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--blue-500);
}

.accent-u {
  text-decoration: underline;
  text-decoration-color: var(--blue-500);
  text-decoration-thickness: 3px;
  text-underline-offset: clamp(6px, .12em, 12px);
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .02em;
  border-radius: 12px;
  padding: .85rem 1.5rem;
  transition: background-color .22s var(--ease), border-color .22s var(--ease),
    color .22s var(--ease), box-shadow .3s var(--ease), transform .22s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 16px;
  height: 16px;
  margin-left: 6px;
  vertical-align: -3px;
  transition: transform .25s var(--ease-out);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-brand {
  position: relative;
  background: linear-gradient(180deg, #4A82F2, var(--blue-600));
  border: 1px solid rgba(91, 141, 245, .8);
  color: var(--white);
  box-shadow: 0 0 0 1px rgba(59, 118, 240, .2), 0 10px 30px -10px rgba(37, 99, 235, .7),
    inset 0 1px 0 rgba(255, 255, 255, .25);
}

.btn-brand:hover,
.btn-brand:focus {
  background: linear-gradient(180deg, #5B8DF5, #2b6aec);
  border-color: rgba(122, 165, 248, .9);
  color: var(--white);
  box-shadow: 0 0 24px rgba(59, 118, 240, .45), 0 16px 40px -12px rgba(37, 99, 235, .8),
    inset 0 1px 0 rgba(255, 255, 255, .25);
  transform: translateY(-2px);
}

.btn-brand:active {
  transform: translateY(0);
}

.btn-brand-outline {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line-strong);
  color: rgba(255, 255, 255, .92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  backdrop-filter: blur(6px);
}

.btn-brand-outline:hover,
.btn-brand-outline:focus {
  border-color: rgba(91, 141, 245, .7);
  background: rgba(59, 118, 240, .12);
  color: var(--white);
  box-shadow: 0 0 20px rgba(59, 118, 240, .2);
  transform: translateY(-2px);
}

.btn-brand-outline svg {
  margin-left: 0;
}

.btn-brand-outline:hover svg {
  transform: none;
}

.btn-lg-cta {
  padding: 1rem 1.7rem;
  font-size: 15px;
}

/* ---------- Navbar ---------- */
.site-header {
  background: rgba(7, 12, 23, .6) !important;
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  padding-block: 18px;
  transition: padding .3s var(--ease), background-color .3s var(--ease),
    border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(7, 12, 23, .88) !important;
  border-bottom-color: var(--line);
  padding-block: 10px;
  box-shadow: 0 16px 48px -24px rgba(0, 0, 0, .9);
}

.navbar-brand img {
  transition: transform .3s var(--ease);
}

.navbar-brand:hover img {
  transform: scale(1.03);
}

.navbar-nav .nav-link {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(226, 232, 244, .72) !important;
  position: relative;
  transition: color .2s var(--ease);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .5rem;
  right: .5rem;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease-out);
}

.navbar-nav .nav-link:hover {
  color: var(--white) !important;
}

.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border-color: var(--line);
  box-shadow: none !important;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink-950);
  color: var(--white);
  overflow: clip;
  padding-block: clamp(96px, 13vw, 150px) 0;
}

/* Static photo — fallback layer, fades out once WebGL takes over */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url(assets/hero-bg.webp);
  background-size: cover;
  background-position: right center;
  opacity: .75;
  animation: hero-drift 30s var(--ease) both;
  transition: opacity 1.2s var(--ease);
}

.hero.has-webgl .hero-bg {
  opacity: 0;
}

@keyframes hero-drift {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1);
  }
}

/* Three.js particle wave */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

.hero.has-webgl .hero-canvas {
  opacity: 1;
}

/* Legibility gradient over photo or canvas */
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, .9) 0%, rgba(5, 8, 15, .62) 42%, rgba(5, 8, 15, .16) 72%, rgba(5, 8, 15, 0) 100%),
    linear-gradient(180deg, rgba(5, 8, 15, .42) 0%, transparent 22%, transparent 70%, rgba(5, 8, 15, .45) 100%);
  pointer-events: none;
}

/* Aurora wash */
.hero-aurora {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(38% 45% at 18% 22%, rgba(37, 99, 235, .28), transparent 65%),
    radial-gradient(30% 38% at 55% 8%, rgba(124, 92, 252, .16), transparent 65%),
    radial-gradient(26% 34% at 38% 78%, rgba(34, 211, 238, .1), transparent 65%);
  filter: blur(40px);
  animation: aurora-float 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes aurora-float {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }

  to {
    transform: translate3d(2%, 2%, 0) scale(1.06);
  }
}

/* Faint grid lines with radial mask */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(75% 60% at 30% 35%, #000 0%, transparent 100%);
  mask-image: radial-gradient(75% 60% at 30% 35%, #000 0%, transparent 100%);
  pointer-events: none;
}

.hero .row {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  max-width: 17ch;
  letter-spacing: -.03em;
}

.hero-copy p {
  margin-top: 26px;
  max-width: 48ch;
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--text-body);
}

.hero-actions {
  margin-top: 38px;
}

/* Hero entrance stagger */
[data-hero-stagger] {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-rise 1s var(--ease-out) forwards;
}

.hero-copy h1[data-hero-stagger] { animation-delay: .05s; }
.hero-copy p[data-hero-stagger] { animation-delay: .18s; }
.hero-actions[data-hero-stagger] { animation-delay: .32s; }
.hero-marquee[data-hero-stagger] { animation-delay: .5s; }

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Practice-area marquee ---------- */
.hero-marquee {
  position: relative;
  z-index: 1;
  margin-top: clamp(64px, 8vw, 96px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .015);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 46s linear infinite;
}

.hero-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 18px 17px;
  white-space: nowrap;
}

.marquee-group span {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(226, 232, 244, .55);
}

.marquee-group .tick {
  color: var(--blue-500);
  font-size: 11px;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- Expertise ---------- */
.expertise {
  position: relative;
  padding-block: clamp(88px, 11vw, 128px);
  background:
    radial-gradient(60% 40% at 85% 0%, rgba(37, 99, 235, .1), transparent 60%),
    radial-gradient(50% 40% at 0% 100%, rgba(124, 92, 252, .07), transparent 60%),
    var(--ink-900);
}

.section-head {
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(30px, 3.6vw, 46px);
}

.section-head p {
  color: var(--text-dim);
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 46ch;
}

.expertise-grid {
  counter-reset: practice;
}

/* Glass cards with cursor spotlight */
.expertise-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--panel);
  border-radius: 18px !important;
  padding: 26px 22px;
  border: 1px solid var(--line) !important;
  overflow: hidden;
  transition: transform .35s var(--ease-out), border-color .35s var(--ease-out),
    background-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.expertise-card::before {
  /* cursor spotlight — --mx/--my set from JS */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%),
      rgba(91, 141, 245, .14), transparent 65%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}

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

.expertise-card::after {
  /* numbered index */
  counter-increment: practice;
  content: counter(practice, decimal-leading-zero);
  position: absolute;
  top: 20px;
  right: 18px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(148, 163, 184, .4);
  transition: color .3s var(--ease);
}

.expertise-card:hover {
  transform: translateY(-6px);
  background: var(--panel-strong);
  border-color: rgba(91, 141, 245, .45) !important;
  box-shadow: 0 24px 48px -20px rgba(2, 6, 23, .9), 0 0 40px -18px rgba(59, 118, 240, .5);
}

.expertise-card:hover::after {
  color: var(--blue-400);
}

.card-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: rgba(59, 118, 240, .12);
  border: 1px solid rgba(59, 118, 240, .25);
  color: var(--blue-400);
  margin-bottom: 18px;
  align-self: flex-start;
  transition: background-color .3s var(--ease), color .3s var(--ease),
    border-color .3s var(--ease), transform .3s var(--ease-out), box-shadow .3s var(--ease);
}

.expertise-card:hover .card-icon {
  background: var(--blue-600);
  border-color: var(--blue-500);
  color: var(--white);
  transform: scale(1.07);
  box-shadow: 0 0 24px rgba(59, 118, 240, .5);
}

.card-icon svg {
  width: 25px;
  height: 25px;
}

.expertise-card h3 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  text-align: left;
  position: relative;
}

.expertise-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.expertise-card ul li {
  font-size: 13.5px;
  color: var(--text-dim);
  padding-left: 15px;
  position: relative;
  margin-bottom: 7px;
}

.expertise-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
}

.expertise-card ul li:last-child {
  margin-bottom: 0;
}

/* Staggered reveal inside the grid */
.expertise-grid > [data-reveal]:nth-child(5n+2) { transition-delay: .07s; }
.expertise-grid > [data-reveal]:nth-child(5n+3) { transition-delay: .14s; }
.expertise-grid > [data-reveal]:nth-child(5n+4) { transition-delay: .21s; }
.expertise-grid > [data-reveal]:nth-child(5n)   { transition-delay: .28s; }

/* Role banner / CTA */
.role-banner {
  position: relative;
  margin-top: 32px;
  background:
    linear-gradient(var(--ink-850), var(--ink-850)) padding-box,
    linear-gradient(110deg, rgba(91, 141, 245, .5), rgba(34, 211, 238, .35), rgba(124, 92, 252, .4)) border-box;
  border: 1px solid transparent;
  border-radius: 18px;
  padding: 28px 30px;
  overflow: hidden;
  transition: box-shadow .35s var(--ease-out);
}

.role-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 90% at 85% 10%, rgba(37, 99, 235, .14), transparent 65%);
  pointer-events: none;
}

.role-banner:hover {
  box-shadow: 0 24px 60px -24px rgba(2, 6, 23, .9), 0 0 50px -20px rgba(59, 118, 240, .45);
}

.role-banner > * {
  position: relative;
}

.role-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: 50px;
  background: rgba(59, 118, 240, .12);
  border: 1px solid rgba(59, 118, 240, .3);
  color: var(--blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-banner-icon svg {
  width: 22px;
  height: 22px;
}

.role-banner-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.role-banner-text p {
  font-size: 13.5px;
  color: var(--text-dim);
  max-width: 46ch;
  margin: 0;
}

.role-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.role-type-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(59, 118, 240, .1);
  border: 1px solid rgba(59, 118, 240, .22);
  color: var(--blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .25s var(--ease), color .25s var(--ease),
    border-color .25s var(--ease), transform .25s var(--ease-out), box-shadow .25s var(--ease);
}

.role-type:hover .role-type-icon {
  background: var(--blue-600);
  border-color: var(--blue-500);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(59, 118, 240, .45);
}

.role-type-icon svg {
  width: 21px;
  height: 21px;
}

.role-type span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(226, 232, 244, .85);
  text-align: center;
}

.role-banner-cta small {
  font-size: 12px;
  color: var(--text-dim);
}

/* ---------- About ---------- */
.about {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(55% 60% at 0% 20%, rgba(37, 99, 235, .1), transparent 60%),
    radial-gradient(45% 50% at 100% 90%, rgba(124, 92, 252, .08), transparent 60%),
    var(--ink-950);
  padding-block: clamp(80px, 10vw, 112px);
}

.about h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}

.about-lede {
  margin-top: 18px;
  font-size: 16.5px;
  line-height: 1.75;
  color: rgba(226, 232, 244, .85);
  max-width: 56ch;
}

.about-copy p:not(.about-lede) {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 60ch;
}

.skill-chips {
  margin-top: 26px;
}

.skill-chips span {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .05em;
  color: rgba(226, 232, 244, .85);
  background: rgba(59, 118, 240, .1);
  border: 1px solid rgba(59, 118, 240, .3);
  border-radius: 999px;
  padding: 8px 16px;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease-out);
}

.skill-chips span:hover {
  background: rgba(59, 118, 240, .22);
  border-color: rgba(91, 141, 245, .6);
  transform: translateY(-2px);
}

/* Founder portrait */
.founder-figure {
  max-width: 290px;
  margin: 0 auto;
}

.founder-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(var(--ink-850), var(--ink-850)) padding-box,
    linear-gradient(150deg, rgba(91, 141, 245, .6), rgba(255, 255, 255, .1) 45%, rgba(34, 211, 238, .45)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 34px 70px -35px rgba(0, 0, 0, .9), 0 0 60px -28px rgba(59, 118, 240, .5);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-monogram {
  display: none;
}

.founder-photo.no-photo img {
  display: none;
}

.founder-photo.no-photo .founder-monogram {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 72px;
  letter-spacing: .06em;
  color: rgba(226, 232, 244, .9);
  background:
    radial-gradient(70% 60% at 30% 25%, rgba(37, 99, 235, .5), transparent 70%),
    radial-gradient(60% 55% at 80% 85%, rgba(34, 211, 238, .28), transparent 70%),
    var(--ink-800);
}

.founder-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 16px 6px 0;
}

.founder-meta strong {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
}

.founder-meta span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.founder-li {
  flex: none;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--blue-400);
  background: rgba(59, 118, 240, .1);
  border: 1px solid rgba(59, 118, 240, .3);
  transition: background-color .25s var(--ease), color .25s var(--ease),
    border-color .25s var(--ease), transform .25s var(--ease-out), box-shadow .25s var(--ease);
}

.founder-li:hover {
  background: var(--blue-600);
  border-color: var(--blue-500);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(59, 118, 240, .45);
}

.founder-li svg {
  width: 19px;
  height: 19px;
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(70% 55% at 85% 0%, rgba(37, 99, 235, .16), transparent 60%),
    radial-gradient(45% 45% at 5% 90%, rgba(124, 92, 252, .08), transparent 60%),
    var(--ink-950);
  color: var(--white);
  padding-block: clamp(88px, 11vw, 120px) 0;
}

.contact-row {
  border-bottom: 1px solid var(--line);
}

.contact-info h2 {
  font-size: clamp(30px, 3.6vw, 44px);
}

.contact-info>p {
  margin-top: 18px;
  color: var(--text-body);
  max-width: 40ch;
  font-size: 15.5px;
  line-height: 1.75;
}

.contact-links {
  margin-top: 32px;
}

.contact-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(226, 232, 244, .88);
  width: fit-content;
  transition: color .2s var(--ease), transform .25s var(--ease-out);
}

.contact-links a:hover {
  color: var(--cyan-400);
  transform: translateX(3px);
}

.contact-links a.schedule-inline:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.contact-links a svg {
  width: 19px;
  height: 19px;
  color: var(--blue-400);
  flex: none;
  margin: 0;
}

.li-icon {
  width: 19px;
  height: 19px;
  color: var(--blue-400);
}

.contact-links .schedule-inline {
  width: fit-content;
  margin-top: 6px;
}

/* Form — glass panel */
.contact-form {
  position: relative;
  background:
    linear-gradient(var(--ink-850), var(--ink-850)) padding-box,
    linear-gradient(140deg, rgba(91, 141, 245, .45), rgba(255, 255, 255, .08) 40%, rgba(34, 211, 238, .3)) border-box;
  border: 1px solid transparent;
  border-radius: 22px;
  padding: clamp(26px, 3vw, 38px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}

.contact-form .form-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: .04em;
  margin-bottom: 8px;
}

.contact-form .form-control,
.contact-form .form-select {
  background-color: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--white);
  padding: 12px 14px;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.contact-form .form-control::placeholder {
  color: rgba(148, 163, 184, .5);
}

.contact-form .form-control:hover,
.contact-form .form-select:hover {
  border-color: var(--line-strong);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background-color: rgba(255, 255, 255, .07);
  border-color: var(--blue-500);
  box-shadow: 0 0 0 .2rem rgba(59, 118, 240, .22), 0 0 20px rgba(59, 118, 240, .15);
  color: var(--white);
}

.contact-form .form-select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2394A3B8' stroke-width='2' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}

.contact-form .form-select option {
  color: var(--ink-900);
  background: var(--white);
}

.field-error {
  font-size: 12px;
  color: #FCA5A5;
  min-height: 14px;
  margin-top: 4px;
}

.contact-form .is-invalid {
  border-color: #F87171 !important;
}

.form-status {
  font-size: 13px;
  color: var(--text-dim);
}

.form-status[data-state="success"] {
  color: #6EE7B7;
}

.form-status[data-state="error"] {
  color: #FCA5A5;
}

.footer-border {
  border-color: var(--line) !important;
}

.footer-brand span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: rgba(226, 232, 244, .85);
}

.footer-bottom .footer-links a {
  font-size: 12.5px;
  color: var(--text-dim);
  transition: color .2s var(--ease);
}

.footer-bottom .footer-links a:hover {
  color: var(--white);
}

/* ---------- Booking modal ---------- */
.modal-content {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--ink-850);
  color: var(--text-body);
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid var(--line);
  padding: 18px 22px;
  align-items: flex-start;
}

.modal-header .modal-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--white);
}

.modal-header p {
  font-size: 12.5px;
  color: var(--text-dim);
  margin: 2px 0 0;
}

.modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

#bookingModalBody {
  min-height: 60vh;
  background: var(--ink-900);
}

.modal-fallback {
  padding: 40px 22px;
  text-align: center;
}

.modal-fallback p {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 16px;
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: inherit;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 767.98px) {
  .header-schedule-btn {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .role-banner-cta {
    align-items: flex-start !important;
    margin-left: 0 !important;
  }

  .role-types {
    justify-content: space-between;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start !important;
  }
}
