
:root {
  --navy-main: #0d1a4a;
  --navy-soft: #132457;
  --navy-lighter: #e6ebff;
  --electric-yellow: #ffd900;
  --neon-green: #39ff14;
  --soft-white: #f7f9ff;
  --ink: #0a1030;
  --max-width: 1120px;
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Open Sans", sans-serif;
  background-color: var(--soft-white);
  color: var(--ink);
}

body {
  line-height: 1.6;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--navy-main), #132a76);
  box-shadow: 0 0 18px rgba(0,0,0,0.45);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.9rem;
  gap: 0.25rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 140px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(0,0,0,0.7));
}

.main-nav {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  position: relative;
  padding-bottom: 0.12rem;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--electric-yellow);
  transition: width 0.18s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--electric-yellow);
}

.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 3px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
}

/* Layout */
main {
  padding-top: 110px;
}

.section {
  padding: 4rem 1.25rem;
  background: #ffffff;
}

.section-alt-light {
  padding: 4rem 1.25rem;
  background: var(--navy-lighter);
}

.section-navy {
  padding: 4rem 1.25rem;
  background: var(--navy-main);
  color: #ffffff;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: 1.9rem;
  margin-bottom: 1rem;
  position: relative;
}

.section-title.yellow {
  color: #ffffff;
}

.section-title.navy {
  color: var(--electric-yellow);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--electric-yellow), var(--neon-green));
}

.section-navy .section-title::after {
  background: linear-gradient(90deg, var(--electric-yellow), #ffffff);
}

.section-intro {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-navy .section-intro {
  color: #fefefe;
}

.section-alt-light .section-intro,
.section-alt-light .navy-text {
  color: var(--ink);
}

/* Hero */


.hero-home .hero-media,
.hero-home .hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-gradient-navy {
  background: radial-gradient(circle at top left, #3556b6, var(--navy-main));
  color: #ffffff;
}



.hero-tagline {
  max-width: 520px;
  margin-bottom: 1.25rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  opacity: 0.9;
  margin-bottom: 0.6rem;
}

.eyebrow.yellow {
  color: #ffffff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.btn.primary {
  background: var(--electric-yellow);
  color: var(--navy-main);
  box-shadow: 0 0 20px rgba(255,217,0,0.55);
}

.btn.primary:hover {
  background: var(--neon-green);
  color: #021021;
  box-shadow: 0 0 24px rgba(57,255,20,0.55);
  transform: translateY(-1px);
}

/* Two-column layouts */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.25rem;
}

.top-align {
  align-items: flex-start;
}

/* Feature list */
.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.45rem;
}

.feature-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: #ffffff;
}

.section-alt-light .feature-list li::before,
.section .feature-list li::before {
  color: var(--navy-main);
}

/* Image / video frames */
.image-frame,
.video-thumb {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.image-frame img,
.video-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.video-frame {
  border-radius: 20px;
  background: #020c2a;
  padding: 0.2rem;
  box-shadow: 0 18px 44px rgba(0,0,0,0.4);
}

.play-icon {
  position: absolute;
  right: 1.1rem;
  bottom: 0.9rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  border: 2px solid var(--electric-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
}

/* Pillars & cards */
.pillars-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.pillar-card,
.card {
  border-radius: 18px;
  padding: 1.5rem 1.5rem 1.35rem;
  border: 1px solid rgba(8,16,48,0.08);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15,25,70,0.08);
  display: flex;
  flex-direction: column;
}


.section-navy .pillar-card {
  background: #141f54;
  color: #ffffff;
  border-color: rgba(255,255,255,0.12);
}

.card.featured {
  border-color: var(--navy-main);
  box-shadow: 0 16px 40px rgba(13,26,74,0.2);
}

.pillar-icon {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

/* Galleries */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 16px;
  padding: 0.5rem;
  background: #ffffff;
  border: 1px solid rgba(8,16,48,0.08);
  box-shadow: 0 10px 24px rgba(15,25,70,0.08);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.navy-card {
  background: #141f54;
  border-color: rgba(255,255,255,0.16);
}

.section-navy .gallery-item {
  color: #ffffff;
}

/* Headshot hover scaling */
.headshot-grid .gallery-item {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.headshot-grid .gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

/* Contact form */
.contact-form {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 12px 28px rgba(15,25,70,0.08);
  border: 1px solid rgba(8,16,48,0.08);
}

.contact-form .form-row {
  margin-bottom: 0.9rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #ccd2f1;
  font-size: 0.9rem;
  font-family: inherit;
}

.contact-form textarea {
  resize: vertical;
}

/* Booking placeholder */
.calendly-embed-wrapper {
  margin-top: 1.5rem;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  border: 2px dashed rgba(12,40,110,0.45);
  background: rgba(230,236,255,0.9);
}

/* Footer */
.site-footer {
  background: linear-gradient(90deg, var(--navy-main), #132a76);
  color: #ffffff;
  padding: 2.5rem 1.25rem 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
}

.footer-brand {
  max-width: 420px;
}

.footer-logo {
  margin-bottom: 0.5rem;
  overflow: visible;
}

.footer-info p {
  margin: 0.2rem 0;
}

.footer-info a {
  color: #ffffff;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  
  .hero-home .hero-media {
    order: 2;
  }
  .hero-home .hero-content {
    order: 1;
  }
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--navy-main);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1rem 0.9rem;
    gap: 0.6rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  }
  .main-nav.nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 500px) {
  
  .section,
  .section-alt-light,
  .section-navy {
    padding: 3rem 1rem;
  }
}

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

@media (max-width: 900px) {
  .headshot-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

.section-title.nav-underline::after {
  background: var(--electric-yellow);
  height: 2px;
}



.card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.hero-content {
  max-width: 520px;
}



.hero-reel {
  max-width: 720px;
  margin: 0 auto;
}

.hero-reel .video-thumb img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
}



/* Keep the reel compact */
.hero-reel {
  max-width: 720px;
  margin: 0 auto;
}

.hero-reel .video-thumb img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
}




.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem;
  padding: 1.5rem 1.25rem 3rem; /* tighter top padding to bring video up */
}

/* --- V9k: Keep reel in normal flow (no aggressive negative margins) --- */
.section.highlight-reel {
  margin-top: 0;
  padding-top: 2.25rem;
}


/* --- V9l: Balance hero text vs hero video --- */
.hero-content h1 {
  font-size: 2.2rem;        /* reduced so text does not overpower video */
  line-height: 1.25;
  letter-spacing: 0.01em;
  max-width: 420px;
}

@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 1.9rem;
  }
}


/* --- Drone thumbnails --- */
.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.thumb {
  padding: 0;
  border: 2px solid rgba(255,217,0,0.35);
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease;
}

.thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.thumb:hover {
  transform: translateY(-1px);
  border-color: rgba(57,255,20,0.6);
}

@media (max-width: 900px) {
  .thumb-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}





/* --- V9s: Tighten nav so all links fit (CONTACT visible) --- */
.logo-img {
  height: 112px; /* reduce logo to free space for nav */
}

.header-inner {
  padding: 0.2rem 0.75rem;
  gap: 0.3rem;
}

.main-nav {
  gap: 0.55rem;
}

.nav-link {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding-bottom: 0.12rem;
}

@media (max-width: 1200px) {
  .logo-img { height: 104px; }
  .main-nav { gap: 0.45rem; }
  .nav-link { font-size: 0.70rem; letter-spacing: 0.04em; }
}

/* Safety: allow wrap on narrower screens */
@media (max-width: 980px) {
  .main-nav { flex-wrap: wrap; row-gap: 0.35rem; }
}


/* --- V9s: Footer wordmark straight + fully visible --- */
.site-footer,
.footer-inner,
.footer-brand,
.footer-logo {
  overflow: visible;
}

.footer-brand {
  max-width: 560px;
}

.footer-wordmark {
  display: block;
  height: 78px;        /* larger presence */
  width: auto;
  max-width: 100%;
  object-fit: contain; /* no distortion */
}

@media (max-width: 900px) {
  .footer-wordmark { height: 62px; }
}




/* --- V9u: Centered footer typography, brand-accurate colors --- */
.footer-type-logo {
  display: flex;
  flex-direction: column;
  align-items: center; /* centers JABBER DOG over STUDIOS */
  text-align: center;
  gap: 0.35rem;
}

.footer-jabber {
  color: var(--electric-green);
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 1.65rem;
  line-height: 1;
  text-transform: uppercase;
}

.footer-studios {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: var(--electric-yellow);
  font-weight: 800;
  letter-spacing: 0.25em;
  font-size: 1.05rem;
  line-height: 1;
  text-transform: uppercase;
}

.footer-dash {
  display: inline-block;
  width: 52px;
  height: 6px;
  border-radius: 999px;
  background: var(--electric-yellow);
}

@media (max-width: 900px) {
  .footer-jabber {
  color: var(--electric-green);
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 1.65rem;
  line-height: 1;
  text-transform: uppercase;
}
  .footer-studios { font-size: 0.95rem; gap: 0.55rem; }
  .footer-dash { width: 44px; height: 6px; }
}


/* --- V9w: Force footer JABBER DOG to logo green (override global footer rules) --- */
.site-footer .footer-jabber {
  color: var(--electric-green) !important;
}


/* --- V9x: Bulletproof footer JABBER DOG green --- */
.site-footer .footer-type-logo .footer-jabber,
.site-footer .footer-jabber,
.site-footer .footer-logo .footer-jabber {
  color: #01C612 !important;
}


/* --- V9y: Footer green dog icon above wordmark --- */
.footer-dog-icon {
  width: 54px;
  height: auto;
  margin-bottom: 0.35rem;
  display: block;
}

.site-footer .footer-type-logo {
  align-items: center;
}


/* --- V9z: Footer all-white lettering --- */
.site-footer,
.site-footer * {
  color: #ffffff !important;
}

.site-footer .footer-dash {
  background: #ffffff !important;
}

.site-footer img.footer-dog-icon {
  filter: grayscale(1) brightness(3);
}

/* --- V10: Booking embed + service quick links (Acuity + Stripe) --- */
.booking-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0 1.25rem;
}

.embed-wrap {
  margin-top: 1rem;
}

.booking-services {
  margin-top: 2rem;
}

.subhead {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.service-card {
  display: block;
  padding: 0.95rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(6, 26, 86, 0.55);
  text-decoration: none;
}

.service-card:hover {
  transform: translateY(-1px);
}

.service-title {
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.service-meta {
  opacity: 0.85;
  font-size: 0.92rem;
}

.section-cta {
  margin: 0.75rem 0 1rem;
}

@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* --- V10: Dropdown menus (keep current design, add submenus) --- */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.caret {
  font-size: 0.8em;
  opacity: 0.9;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 0.65rem;
  border-radius: 16px;
  background: rgba(6, 26, 86, 0.92);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 45px rgba(0,0,0,0.25);
  display: none;
  z-index: 999;
}

.dropdown-link {
  display: block;
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
}

.dropdown-link:hover {
  background: rgba(255,255,255,0.08);
}

@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .dropdown-menu {
    display: block;
  }
}

@media (max-width: 980px) {
  .main-nav {
    flex-wrap: wrap;
  }
  .nav-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 0.35rem;
    display: none;
  }
  .nav-dropdown.open .dropdown-menu {
    display: block;
  }
}

/* --- V10: Media grids for category pages --- */
.media-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.media-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.media-tile {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(6, 26, 86, 0.55);
  overflow: hidden;
}

.media-tile .tile-inner {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.media-tile .tile-meta {
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

@media (max-width: 1100px) {
  .media-grid-4, .media-grid-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .media-grid-4, .media-grid-8 { grid-template-columns: 1fr; }
}

/* --- V10c: Dropdown thumbnails + Overview item --- */
.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.dd-thumb {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.18);
  flex: 0 0 auto;
  background: rgba(255,255,255,0.10);
}

.dd-text {
  display: inline-block;
}

.thumb-overview {
  background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.08));
}

.thumb-headshots {
  background: linear-gradient(135deg, var(--electric-yellow), rgba(255,255,255,0.12));
}

.thumb-event {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.95), rgba(255,255,255,0.12));
}

.thumb-drone {
  background: linear-gradient(135deg, var(--electric-green), rgba(255,255,255,0.12));
}

/* --- V10d: Dropdown stays open on click + supports scrolling --- */
.nav-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu {
  max-height: 70vh;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}


.nav-dropdown:hover > .dropdown-trigger {
    opacity: 1;
  }
}

/* --- V10f: Nav alignment + dropdown hover bridge without shifting layout --- */
.main-nav {
  gap: 1.05rem;
}

.nav-link {
  padding: 0.35rem 0.15rem;
  white-space: nowrap;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 0; /* don't affect baseline */
}

/* Invisible hover bridge below trigger so cursor can move into menu without collapse */
.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

.dropdown-menu {
  top: 100% !important;
  margin-top: 0 !important;
}

/* Desktop hover still works */
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .dropdown-menu { display: block; }
}

/* --- V10g: Dropdown visual cleanup (no bullets, centered, no surrounding box) --- */
.dd-thumb { display: none !important; }

.dropdown-menu {
  left: 50% !important;
  transform: translateX(-50%) !important;
  min-width: 220px;
  padding: 0.25rem 0;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.dropdown-link {
  justify-content: center;
  text-align: center;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.55rem 0.75rem;
  color: #fff;
  border-radius: 14px;
}

.dropdown-link:hover {
  background: rgba(255,255,255,0.08);
}

@media (max-width: 980px) {
  .dropdown-menu {
    left: 0 !important;
    transform: none !important;
    background: rgba(6, 26, 86, 0.92) !important; /* mobile needs a panel */
    border: 1px solid rgba(255,255,255,0.14) !important;
    border-radius: 16px;
    padding: 0.55rem;
  }
  .dropdown-link { justify-content: flex-start; text-align: left; }
}

/* --- V10h: Restore dropdown box for contrast + add yellow dash under each item --- */
.dropdown-menu {
  background: rgba(6, 26, 86, 0.92) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.25) !important;
  padding: 0.55rem !important;
}

.dropdown-link {
  position: relative;
  padding: 0.6rem 0.85rem 0.85rem !important; /* extra bottom space for dash */
}

.dropdown-link::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.35rem;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: var(--electric-yellow);
  opacity: 0.95;
}

.dropdown-link:hover::after {
  width: 64px;
}

/* --- V10i: Match dropdown font to navigator exactly --- */
.dropdown-link {
  font-family: var(--nav-font, inherit);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* --- V10j: Dropdown font matches nav weight (not bold) --- */
.dropdown-link {
  font-family: var(--nav-font, inherit);
  font-weight: 400; /* match nav, remove bold */
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* --- V10k: Narrow dropdown + green border + rounded edges --- */
.dropdown-menu {
  min-width: 190px !important;
  max-width: 220px !important;
  border: 1.5px solid var(--electric-green) !important;
  border-radius: 18px !important;
}

.dropdown-link {
  padding-left: 0.6rem;
  padding-right: 0.6rem;
}

/* --- V10l: Increase dropdown border thickness for visibility --- */
.dropdown-menu {
  border-width: 3px !important; /* noticeably thicker */
}

/* === FINAL: Dropdown border + premium green glow (logo-matched) === */
.dropdown-menu {
  border: 4px solid #2DFF00 !important;          /* exact dog logo green */
  border-radius: 20px !important;
  background: rgba(6, 26, 86, 0.96) !important;

  box-shadow:
    0 0 0 1px rgba(45, 255, 0, 0.35),
    0 0 18px rgba(45, 255, 0, 0.45),
    0 22px 55px rgba(0, 0, 0, 0.45) !important;
}

/* === V10n: Refined dropdown green border (less dominant) === */
.dropdown-menu {
  border-width: 2px !important;   /* refined, not overpowering */
  box-shadow:
    0 0 0 1px rgba(45, 255, 0, 0.28),
    0 0 12px rgba(45, 255, 0, 0.35),
    0 18px 45px rgba(0, 0, 0, 0.45) !important;
}

/* === V10o: Narrow dropdown width + tighter side padding === */
.dropdown-menu {
  min-width: 160px !important;
  max-width: 185px !important;
  padding-left: 0.35rem !important;
  padding-right: 0.35rem !important;
}

.dropdown-link {
  padding-left: 0.45rem !important;
  padding-right: 0.45rem !important;
}

/* === V10r: Glass-style translucent dropdown border (no green) === */
.dropdown-menu {
  border: 1.5px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 18px !important;
  background: rgba(6, 26, 86, 0.82) !important;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.10),
    0 20px 50px rgba(0,0,0,0.45) !important;
}

/* === V10s: Glass hover effect for site boxes (matches dropdown glass) === */
:root {
  --glass-border: rgba(255, 255, 255, 0.28);
  --glass-border-soft: rgba(255, 255, 255, 0.18);
  --glass-bg: rgba(6, 26, 86, 0.82);
  --glass-bg-hover: rgba(6, 26, 86, 0.70);
  --glass-inset: rgba(255,255,255,0.10);
  --glass-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

/* Targets: cards/tiles across the site */
.service-card,
.media-tile {
  transition: transform 160ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, filter 180ms ease;
  border: 1px solid var(--glass-border-soft);
}

/* Hover = frosted glass panel */
.service-card:hover,
.media-tile:hover {
  background: var(--glass-bg-hover) !important;
  border-color: var(--glass-border) !important;
  box-shadow:
    inset 0 0 0 1px var(--glass-inset),
    var(--glass-shadow) !important;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transform: translateY(-2px);
}

/* Make inner placeholder panes feel like glass on hover */
.media-tile:hover .tile-inner {
  filter: brightness(1.08);
}

/* Optional: keep tap feedback on touch devices without 'hover sticking' */
@media (hover: none) {
  .service-card:active,
  .media-tile:active {
    background: var(--glass-bg-hover) !important;
    border-color: var(--glass-border) !important;
  }
}

/* === V10v: Compact dropdown (smaller text + tighter box) === */
.dropdown-menu {
  min-width: 150px !important;
  max-width: 175px !important;
  padding: 0.35rem 0.3rem !important;
}

.dropdown-link {
  font-size: 0.72rem !important;   /* smaller than nav */
  padding: 0.35rem 0.4rem !important;
  letter-spacing: 0.06em;
}

/* === V10w: Ultra-compact dropdown (maximum truncation) === */
.dropdown-menu {
  min-width: 135px !important;
  max-width: 155px !important;
  padding: 0.25rem 0.2rem !important;
}

.dropdown-link {
  font-size: 0.66rem !important;
  padding: 0.25rem 0.3rem !important;
  letter-spacing: 0.05em;
}

/* === V10x: Dropdown fade-in animation + remove yellow dashes === */

/* Remove dash under dropdown items */
.dropdown-link::after {
  content: none !important;
  display: none !important;
}

/* Fade/slide in dropdown menu */
.dropdown-menu {
  opacity: 0;
  transform: translateX(-50%) translateY(6px) scale(0.98);
  transition: opacity 160ms ease, transform 180ms ease;
  pointer-events: none;
}

/* Show states */
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
  }
}

/* Click-open state (JS toggles .open) */
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

/* Mobile: menu is static (no translateX centering), keep fade but adjust transform */
@media (max-width: 980px) {
  .dropdown-menu {
    transform: translateY(6px) scale(0.98);
  }
  .nav-dropdown.open .dropdown-menu {
    transform: translateY(0) scale(1);
  }
}

/* === V10y: Ensure dropdown fade+slide actually animates (override display toggles) === */
.dropdown-menu {
  display: block !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px) scale(0.98);
  transition: opacity 180ms ease, transform 220ms ease, visibility 0s linear 220ms;
}

@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
    transition: opacity 180ms ease, transform 220ms ease, visibility 0s;
  }
}

.nav-dropdown.open .dropdown-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
  transition: opacity 180ms ease, transform 220ms ease, visibility 0s;
}

@media (max-width: 980px) {
  .dropdown-menu {
    transform: translateY(8px) scale(0.98);
  }
  .nav-dropdown.open .dropdown-menu {
    transform: translateY(0) scale(1);
  }
}

/* === V10z: Guaranteed visible fade+slide using keyframe animation (no layout changes) === */
@keyframes dropdownIn {
  from { opacity: 0; transform: translateX(-50%) translateY(12px) scale(0.985); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

/* Base hidden state (keep rendered so we can animate) */
.dropdown-menu {
  display: block !important;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px) scale(0.985);
  will-change: opacity, transform;
}

/* Shown states trigger animation */
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .dropdown-menu {
    visibility: visible;
    pointer-events: auto;
    animation: dropdownIn 240ms ease both;
  }
}

.nav-dropdown.open .dropdown-menu {
  visibility: visible;
  pointer-events: auto;
  animation: dropdownIn 240ms ease both;
}

/* Mobile: no translateX centering in your menu rules; keep slide-up only */
@media (max-width: 980px) {
  @keyframes dropdownInMobile {
    from { opacity: 0; transform: translateY(12px) scale(0.985); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }
  .dropdown-menu {
    transform: translateY(12px) scale(0.985);
  }
  .nav-dropdown.open .dropdown-menu {
    animation: dropdownInMobile 240ms ease both;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown.open .dropdown-menu {
    animation: none !important;
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0) scale(1) !important;
  }
}

/* === V10ab2: Dropdown animation EVEN slower (no layout changes) === */
@keyframes dropdownIn {
  from { opacity: 0; transform: translateX(-50%) translateY(14px) scale(0.985); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .dropdown-menu {
    animation: dropdownIn 520ms cubic-bezier(.16, 1, .3, 1) both !important;
  }
}

.nav-dropdown.open .dropdown-menu {
  animation: dropdownIn 520ms cubic-bezier(.16, 1, .3, 1) both !important;
}

@media (max-width: 980px) {
  @keyframes dropdownInMobile {
    from { opacity: 0; transform: translateY(14px) scale(0.985); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }
  .nav-dropdown.open .dropdown-menu {
    animation: dropdownInMobile 520ms cubic-bezier(.16, 1, .3, 1) both !important;
  }
}

/* === V10ac: Reduce slide distance so it stays within rounded edges === */
@keyframes dropdownIn {
  from { opacity: 0; transform: translateX(-50%) translateY(6px) scale(0.99); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .dropdown-menu {
    animation: dropdownIn 520ms cubic-bezier(.16, 1, .3, 1) both !important;
  }
}

.nav-dropdown.open .dropdown-menu {
  animation: dropdownIn 520ms cubic-bezier(.16, 1, .3, 1) both !important;
}

@media (max-width: 980px) {
  @keyframes dropdownInMobile {
    from { opacity: 0; transform: translateY(6px) scale(0.99); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }
  .nav-dropdown.open .dropdown-menu {
    animation: dropdownInMobile 520ms cubic-bezier(.16, 1, .3, 1) both !important;
  }
}

/* === V10af: Hover dropdown (revert click behavior) + remove Overview only === */
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown:hover .dropdown-menu {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
  }
}

/* === V10ag: Hover rollover opens dropdown (no layout changes) === */
@media (hover: hover) and (pointer: fine) {
  .nav-dropdown { position: relative; }
  .nav-dropdown:hover > .dropdown-menu,
  .nav-dropdown:focus-within > .dropdown-menu {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) scale(1) !important;
    animation: none !important; /* keep current look; no new animation */
    display: block !important;
  }
}
