:root {
  --navy-950: #081a2f;
  --navy-900: #0b2741;
  --navy-800: #103a61;
  --navy-700: #1d4f7f;
  --slate-900: #23323f;
  --slate-700: #4d5e6e;
  --slate-400: #8da1b3;
  --slate-200: #d7e0e8;
  --paper: #f6f8fb;
  --white: #ffffff;
  --gold: #c4a56a;
  --shadow: 0 24px 60px rgba(6, 22, 38, 0.18);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1440px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(196, 165, 106, 0.12), transparent 28%),
    linear-gradient(180deg, #eff4f9 0%, #edf2f7 34%, #f8fafc 100%);
  color: var(--navy-950);
  font-family: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto auto 8% -12%;
  width: 36rem;
  height: 36rem;
  border: 42px solid rgba(16, 58, 97, 0.06);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.site-shell::after {
  inset: 8% -14% auto auto;
  width: 42rem;
  height: 42rem;
  border-color: rgba(196, 165, 106, 0.12);
}

main,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 3rem), var(--max-width));
  z-index: 1000;
  padding: 1.1rem 1.6rem;
  border-radius: 999px;
  background: rgba(11, 39, 65, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.35rem;
}

.brand span,
.brand small {
  display: block;
  color: var(--white);
}

.brand span {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.brand small {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.25rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transform: translateY(-1px);
}

/* Drawer hidden by default on desktop — mobile media query overrides */
.drawer {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 280ms ease, opacity 280ms ease, width 280ms ease;
  transform-origin: center;
}

/* Animate to X when open */
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
  padding: 6rem 0 4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
  padding: 4rem 0 3rem;
}

.hero-copy h1,
.section-heading h2,
.split-copy h2,
.contact-cta h3 {
  font-family: "Playfair Display", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1.45rem;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  line-height: 1.05;
  max-width: 14ch;
}

.hero-text {
  margin: 1.3rem 0 0;
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 58ch;
  color: var(--slate-900);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--white);
  box-shadow: 0 18px 32px rgba(16, 58, 97, 0.22);
}

.button-secondary {
  border: 1px solid rgba(16, 58, 97, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-meta div {
  padding: 1.1rem 1.2rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 58, 97, 0.08);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-meta strong,
.hero-meta span {
  display: block;
}

.hero-meta strong {
  font-size: 1rem;
}

.hero-meta span {
  margin-top: 0.35rem;
  color: var(--slate-700);
  font-size: 0.84rem;
}

/* ── Hero visual animations — EXTREME ────────────────────────────── */

@keyframes spin-glow {
  to { transform: rotate(360deg); }
}

@keyframes float-frame {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25%  { transform: translateY(-18px) rotate(0.4deg); }
  50%  { transform: translateY(-10px) rotate(-0.3deg); }
  75%  { transform: translateY(-22px) rotate(0.2deg); }
}

@keyframes shine-sweep {
  0%   { left: -120%; opacity: 0; }
  8%   { opacity: 1; }
  55%  { left: 150%; opacity: 0.5; }
  100% { left: 150%; opacity: 0; }
}

@keyframes sparkle-rise {
  0%   { transform: translateY(0) scale(0) rotate(0deg);   opacity: 0; }
  15%  { transform: translateY(-15px) scale(1) rotate(45deg); opacity: 1; }
  80%  { opacity: 0.6; }
  100% { transform: translateY(-90px) scale(0) rotate(180deg); opacity: 0; }
}

@keyframes badge-levitate {
  0%, 100% { transform: translateY(0) translateX(0) rotate(-1deg); }
  33%  { transform: translateY(-8px) translateX(3px) rotate(0deg); }
  66%  { transform: translateY(5px) translateX(-2px) rotate(-2deg); }
}

@keyframes ambient-glow {
  0%, 100% { opacity: 0.5; transform: scale(1) rotate(0deg); }
  50%  { opacity: 0.9; transform: scale(1.08) rotate(180deg); }
}

/* Outer tilt wrapper — JS drives 3D transform here */
.hero-visual {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Rotating gold glow ring behind the card */
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 42px;
  background: conic-gradient(
    from 0deg,
    #c8a761 0%,
    #0b2741 20%,
    #ffffff22 35%,
    #0b2741 50%,
    #c8a761 65%,
    #0b2741 80%,
    #c8a761 100%
  );
  animation: spin-glow 3s linear infinite;
  filter: blur(6px);
  opacity: 0.85;
  z-index: -1;
}

/* Ambient radial glow behind everything */
.hero-visual::after {
  content: '';
  position: absolute;
  inset: -40px;
  border-radius: 80px;
  background: radial-gradient(ellipse at 50% 60%, rgba(200,167,97,0.35) 0%, rgba(11,39,65,0.2) 50%, transparent 75%);
  animation: ambient-glow 5s ease-in-out infinite;
  z-index: -2;
  pointer-events: none;
}

/* Card — float animation lives here so JS tilt on parent doesn't conflict */
.hero-frame {
  overflow: hidden;
  border-radius: 36px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  padding: 0.9rem;
  box-shadow: var(--shadow);
  position: relative;
  animation: float-frame 7s ease-in-out infinite;
  will-change: transform;
}

/* Shine sweep */
.hero-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255,255,255,0.06) 30%,
    rgba(255,255,255,0.28) 50%,
    rgba(200,167,97,0.12) 65%,
    transparent 100%
  );
  animation: shine-sweep 5s ease-in-out infinite;
  pointer-events: none;
  border-radius: 36px;
  z-index: 2;
}

/* Spotlight overlay — JS sets --mx and --my via CSS custom props */
.hero-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 36px;
  background: radial-gradient(
    circle 180px at var(--mx, 50%) var(--my, 50%),
    rgba(255,255,255,0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-frame.spotlight-on::before {
  opacity: 1;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  border-radius: 28px;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  z-index: 1;
}

/* Sparkle particles injected by JS */
.sparkle-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
  animation: sparkle-rise var(--dur, 3s) ease-out forwards;
  box-shadow: 0 0 8px 2px currentColor;
}

.hero-badge {
  position: absolute;
  right: -1rem;
  bottom: 2.2rem;
  background: rgba(255, 255, 255, 0.94);
  animation: badge-levitate 5s ease-in-out infinite;
  border-radius: 24px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
}

.hero-badge span,
.hero-badge strong {
  display: block;
}

.hero-badge span {
  color: var(--slate-700);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-badge strong {
  margin-top: 0.3rem;
  font-size: 1.25rem;
}

.overview,
.contact-layout,
.team-grid {
  display: grid;
  gap: 1.2rem;
}

.overview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.overview-card,
.about-panel,
.practice-card,
.team-card,
.contact-card,
.contact-cta,
.split-copy {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(16, 58, 97, 0.08);
  box-shadow: var(--shadow);
}

.overview-card {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
}

.overview-kicker {
  display: inline-block;
  color: var(--navy-700);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.overview-card p {
  margin: 0;
  color: var(--slate-900);
  line-height: 1.75;
}

.section {
  padding: 5rem 0 1rem;
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.02;
}

.about-layout,
.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 1.3rem;
  align-items: stretch;
}

.about-panel {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-panel-main {
  padding: 2rem;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: var(--white);
}

.about-panel-main p {
  margin: 0 0 1.2rem;
  line-height: 1.85;
  font-size: 1.04rem;
}

.about-panel-main p:last-child {
  margin-bottom: 0;
}

.about-panel-image {
  position: relative;
  min-height: 420px;
}

.about-panel-image img,
.split-media img,
.team-background-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-overlay {
  position: absolute;
  inset: auto 1.4rem 1.4rem 1.4rem;
  padding: 1.2rem 1.3rem;
  border-radius: 22px;
  background: rgba(8, 26, 47, 0.75);
  color: var(--white);
}

.about-overlay strong,
.about-overlay span {
  display: block;
}

.about-overlay span {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.8);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.practice-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  padding: 1.6rem 1.6rem 1.7rem;
}

.practice-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: linear-gradient(180deg, var(--gold), rgba(196, 165, 106, 0.1));
}

.practice-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--white);
  font-weight: 800;
}

.practice-card h3 {
  margin: 0 0 0.9rem;
  font-size: 1.45rem;
  line-height: 1.18;
}

.practice-card p {
  margin: 0;
  color: var(--slate-900);
  line-height: 1.8;
}

.split-band {
  align-items: center;
}

.split-media {
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.split-copy {
  border-radius: var(--radius-xl);
  padding: 2.2rem;
}

.split-copy h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.02;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.3rem;
  line-height: 1.8;
  color: var(--slate-900);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.76rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.team-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: start;
}

.team-grid-solo {
  grid-template-columns: minmax(0, 1fr);
}

.team-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 1.6rem;
}

.team-card-featured {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 1.2rem;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: var(--white);
}

.team-card-featured p,
.team-card-featured li {
  color: rgba(255, 255, 255, 0.84);
}

.team-card-photo {
  min-height: 100%;
  overflow: hidden;
  border-radius: 22px;
}

.team-card-photo img {
  height: 100%;
  object-fit: cover;
}

.team-role {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(16, 58, 97, 0.1);
  color: var(--navy-700);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-card-featured .team-role {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.team-card h3 {
  margin: 1rem 0 0.8rem;
  font-size: 1.7rem;
}

.team-card p {
  margin: 0;
  line-height: 1.8;
  color: var(--slate-900);
}

.team-card ul {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.team-card li {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 700;
}

.team-card-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.team-card-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.team-card-meta {
  margin-top: auto;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(16, 58, 97, 0.1);
}

.team-card-admission {
  margin: 0 0 0.4rem;
  font-size: 0.84rem;
  color: var(--slate-700);
  line-height: 1.6;
}

.team-card-admission:last-child {
  margin-bottom: 0;
}

.contact-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card {
  border-radius: 30px;
  padding: 1.5rem;
  background: linear-gradient(155deg, var(--navy-800), var(--slate-900));
  color: var(--white);
}

.contact-card-wide {
  grid-column: 1 / -1;
}

.contact-card span,
.contact-card strong {
  display: block;
}

.contact-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-card strong {
  line-height: 1.65;
  font-size: 1.35rem;
}

.contact-cta {
  margin-top: 1.2rem;
  border-radius: 32px;
  padding: 1.6rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
}

.contact-cta h3 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
  max-width: 14ch;
}

.footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 1rem auto 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(16, 58, 97, 0.12);
  display: flex;
  justify-content: space-between;
  color: var(--slate-700);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero,
  .about-layout,
  .split-band,
  .team-grid,
  .overview,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .team-card-featured,
  .team-card-split {
    grid-template-columns: 1fr;
  }

  .team-slider {
    height: 480px;
  }

  .hero-frame img,
  .split-media {
    min-height: 420px;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  /* Hide desktop nav links on mobile — drawer takes over */
  .site-nav > a {
    display: none;
  }

  /* ── Drawer ── */
  .drawer {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 1100;
    background: var(--navy-950);
    display: flex;
    flex-direction: column;
    padding: 0;
    transform: translateX(-100%);
    transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 8px 0 40px rgba(6, 22, 38, 0.5);
  }

  .drawer.is-open {
    transform: translateX(0);
  }

  .drawer-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.4rem 1.2rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .drawer-header img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.3rem;
    flex-shrink: 0;
  }

  .drawer-header strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
  }

  .drawer-header small {
    display: block;
    color: var(--gold);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 0.2rem;
  }

  .drawer-close {
    margin-left: auto;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
  }

  .drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 1rem 0.8rem;
    gap: 0.2rem;
    flex: 1;
  }

  .drawer-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1rem;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    font-weight: 600;
    transition: background 180ms ease, color 180ms ease;
  }

  .drawer-link svg {
    color: var(--gold);
    flex-shrink: 0;
  }

  .drawer-link:hover,
  .drawer-link:active {
    background: rgba(255, 255, 255, 0.07);
    color: var(--white);
  }

  .drawer-cta {
    margin: 0 0.8rem 1rem;
    padding: 1rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
    color: var(--white);
    font-weight: 700;
    text-align: center;
    font-size: 0.95rem;
    border: 1px solid rgba(196, 165, 106, 0.3);
  }

  .drawer-footer {
    padding: 1rem 1.2rem 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }

  .drawer-footer small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem;
  }

  /* ── Backdrop ── */
  .drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1099;
    background: rgba(6, 22, 38, 0.6);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 320ms ease;
  }

  .drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    position: static;
    margin-top: 1rem;
  }

  .contact-cta,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-band {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }

  .stat-sep {
    display: none;
  }

  .contact-bottom {
    grid-template-columns: 1fr !important;
  }

  .contact-map {
    order: 2;
  }

  .contact-form {
    order: 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ── Animated Background Orbs ───────────────────── */

.bg-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  will-change: transform;
}

.bg-orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(16, 58, 97, 0.22), transparent 70%);
  top: -8%;
  left: -6%;
  animation: orbDrift1 22s ease-in-out infinite alternate;
}

.bg-orb-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(196, 165, 106, 0.18), transparent 70%);
  top: 30%;
  right: -8%;
  animation: orbDrift2 28s ease-in-out infinite alternate;
}

.bg-orb-3 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(16, 58, 97, 0.14), transparent 70%);
  bottom: 15%;
  left: 5%;
  animation: orbDrift3 18s ease-in-out infinite alternate;
}

.bg-orb-4 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(196, 165, 106, 0.12), transparent 70%);
  bottom: -5%;
  right: 15%;
  animation: orbDrift4 24s ease-in-out infinite alternate;
}

@keyframes orbDrift1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 80px) scale(1.12); }
}

@keyframes orbDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-80px, -60px) scale(1.1); }
}

@keyframes orbDrift3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, -70px) scale(1.08); }
}

@keyframes orbDrift4 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 60px) scale(1.15); }
}

/* ── Card hover lifts ────────────────────────────── */

.practice-card,
.overview-card,
.team-card,
.contact-card {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.practice-card:hover,
.overview-card:hover,
.team-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 72px rgba(6, 22, 38, 0.24);
}

/* ── Trust Band ─────────────────────────────────── */

.trust-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 0.5rem;
  margin: 1.4rem 0;
  padding: 1.1rem 1.6rem;
  border-radius: 999px;
  background: rgba(16, 58, 97, 0.06);
  border: 1px solid rgba(16, 58, 97, 0.1);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-800);
}

.trust-sep {
  color: var(--gold);
  font-weight: 400;
}

/* ── Team Photo Slider ───────────────────────────── */

.team-slider {
  position: relative;
  margin-top: 0;
  height: 100%;
  min-height: 480px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--navy-950);
}

.slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  opacity: 0;
  transition: opacity 800ms ease;
  pointer-events: none;
}

.slider-img.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slider-dots {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 250ms ease, transform 250ms ease;
}

.slider-dot.is-active {
  background: var(--gold);
  transform: scale(1.35);
}

/* ── Typewriter ──────────────────────────────────── */

.typewriter-cursor {
  display: inline-block;
  margin-left: 1px;
  animation: blink 0.75s step-end infinite;
  color: var(--gold);
  font-weight: 400;
}

.typewriter-cursor.done {
  display: none;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Sticky CTA ──────────────────────────────────── */

.sticky-cta {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 28px rgba(11, 39, 65, 0.36);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms ease, transform 400ms ease, box-shadow 200ms ease;
  pointer-events: none;
}

.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta:hover {
  box-shadow: 0 12px 36px rgba(11, 39, 65, 0.48);
  transform: translateY(-2px);
}

/* ── Stats / Counters Band ───────────────────────── */

.stats-band {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  margin: 1.8rem 0 0;
  padding: 2rem 2.4rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  box-shadow: var(--shadow);
}

.stat-item {
  text-align: center;
  padding: 0 1rem;
}

.stat-number {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.stat-sep {
  width: 1px;
  height: 52px;
  background: rgba(255, 255, 255, 0.15);
}

/* ── Contact Form + Map ──────────────────────────── */

.contact-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.4rem;
  margin: 1.4rem 0;
  align-items: stretch;
}

.contact-form {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(16, 58, 97, 0.08);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.contact-form h3 {
  margin: 0 0 1.4rem;
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: var(--navy-900);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-800);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(16, 58, 97, 0.15);
  border-radius: 14px;
  font-size: 0.95rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-950);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(16, 58, 97, 0.1);
}

.form-submit {
  width: 100%;
  min-height: 52px;
  font-size: 1rem;
}

.form-note {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  color: var(--slate-700);
  text-align: center;
  line-height: 1.6;
}

.contact-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

/* ── WhatsApp Button ─────────────────────────────── */

.whatsapp-btn {
  position: fixed;
  bottom: 5.6rem;
  right: 1.8rem;
  z-index: 101;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.44);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.54);
}

/* ── Footer ──────────────────────────────────────── */

.footer a {
  color: var(--slate-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer a:hover {
  color: var(--navy-800);
}

@media (max-width: 560px) {
  main {
    width: min(calc(100% - 1rem), var(--max-width));
    padding: 5rem 0 3rem;
  }

  .topbar {
    width: min(calc(100% - 1rem), var(--max-width));
    padding: 0.75rem 1rem;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand span {
    font-size: 0.72rem;
    white-space: normal;
    line-height: 1.2;
  }

  .brand small {
    display: none;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.1;
  }

  .hero-frame img {
    min-height: 280px;
  }

  /* Practice: one column on phones */
  .practice-grid {
    grid-template-columns: 1fr;
  }

  /* Stats band: 2x2, compact */
  .stats-band {
    grid-template-columns: 1fr 1fr;
    padding: 1.4rem 1rem;
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  /* Trust band: stack neatly */
  .trust-band {
    font-size: 0.72rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-lg);
  }

  /* Eyebrow: much smaller on mobile */
  .eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }

  /* Section headings: tighter */
  .section-heading h2 {
    font-size: 1.7rem;
  }

  .split-copy h2 {
    font-size: 1.7rem;
  }

  /* Team slider: shorter on phone */
  .team-slider {
    min-height: 320px;
  }

  /* Contact form: tighter */
  .contact-form {
    padding: 1.4rem;
  }

  .contact-form h3 {
    font-size: 1.3rem;
  }

  .contact-map {
    min-height: 280px;
  }

  .contact-map iframe {
    min-height: 280px;
  }

  /* Float buttons: smaller gap from edge */
  .whatsapp-btn {
    bottom: 5rem;
    right: 1rem;
    width: 48px;
    height: 48px;
  }

  .sticky-cta {
    bottom: 1rem;
    right: 1rem;
    font-size: 0.8rem;
    padding: 0.7rem 1rem;
  }

  .practice-card,
  .team-card,
  .overview-card,
  .split-copy,
  .contact-card,
  .contact-cta {
    padding: 1.2rem;
  }
}
