/* ============================================================
   YARD Law — Quastels-inspired dark theme
   #070d0a base · emerald green glow · bold sans-serif
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500&display=swap');

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

:root {
  --bg:          #070d0a;
  --bg-black:    #030505;
  --white:       #ffffff;
  --gray:        #9ca3af;
  --gray-dim:    #4b5563;
  --green:       #4ade80;
  --green-mid:   #2ecc8a;
  --green-dim:   rgba(74, 222, 128, 0.15);
  --green-border:rgba(74, 222, 128, 0.25);
  --line:        rgba(255,255,255,0.08);

  --font-head:   'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:   'Inter', system-ui, sans-serif;

  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --spring:      cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--gray);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── Utility ──────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 1.25rem;
}

.section-heading {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

hr.thin {
  border: none;
  border-top: 1px solid var(--line);
}

/* ── Scroll reveal ────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--spring), transform 0.7s var(--spring);
}
[data-reveal].visible {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] { transition-delay: 100ms; }
[data-reveal-delay="2"] { transition-delay: 200ms; }
[data-reveal-delay="3"] { transition-delay: 300ms; }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2.5rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* Logo + nav items grouped left */
.nav-left {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav--solid {
  background: rgba(7, 13, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
}

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

.nav-center a {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color 0.25s;
}
.nav-center a:hover { color: var(--green); }

.nav-btn {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 0.55rem 1.4rem;
  transition: all 0.25s;
  background: transparent;
  white-space: nowrap;
}
.nav-btn:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-dim);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.25s;
}

/* ── Nav dropdown ─────────────────────────────────────────── */
.nav-item {
  position: relative;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-arrow {
  font-size: 0.6rem;
  color: var(--green);
  opacity: 1;
  transition: transform 0.22s;
  line-height: 1;
  margin-top: 1px;
}
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: rgba(7,13,10,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem;
  padding-top: 1.2rem; /* visual gap, but hover is seamless */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 200;
}

/* Invisible bridge covers the gap between trigger and dropdown */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -10px;
  right: -10px;
  height: 20px;
  background: transparent;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 6px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: rgba(255,255,255,0.12);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gray);
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown a:hover {
  background: var(--green-dim);
  color: var(--white);
}

.nav-dropdown-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0.4rem 0;
}

/* ── Nav mega-menu ────────────────────────────────────────────────────────── */
.nav-mega {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(3,5,5,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  z-index: 150;
}
.nav-mega.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-mega-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  min-height: 380px;
}

/* Mega sidebar */
.mega-sidebar {
  width: 250px;
  flex-shrink: 0;
  padding: 2.5rem 2rem 2.5rem 0;
  border-right: 1px solid var(--line);
}

.mega-sidebar-title {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem;
  padding-left: 0.85rem;
}

.mega-tabs {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-tab {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 0.85rem;
  border-radius: 7px;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.18s;
  color: var(--gray);
}
.mega-tab:hover { background: rgba(255,255,255,0.04); color: var(--white); }
.mega-tab.active {
  background: rgba(255,255,255,0.07);
  color: var(--white);
}

.mega-tab-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  opacity: 0.55;
}
.mega-tab.active .mega-tab-icon { opacity: 1; color: var(--green); }

.mega-tab-label {
  flex: 1;
  font-family: var(--font-head);
  font-size: 0.83rem;
  font-weight: 600;
}

.mega-tab-arrow {
  font-size: 0.6rem;
  color: var(--green);
  opacity: 0;
  transition: opacity 0.18s;
}
.mega-tab.active .mega-tab-arrow,
.mega-tab:hover .mega-tab-arrow { opacity: 1; }

/* Mega right content */
.mega-content {
  flex: 1;
  padding: 2.5rem 0 2.5rem 3rem;
  display: flex;
  flex-direction: column;
}

.mega-content-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.mega-tagline {
  font-size: 0.83rem;
  color: var(--gray-dim);
  line-height: 1.5;
}

.mega-view-all {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 0.42rem 1rem;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 2rem;
  transition: all 0.2s;
}
.mega-view-all:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-dim);
}

.mega-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin-bottom: 1.75rem;
}

.mega-panel { display: none; }
.mega-panel.active { display: block; }

.mega-areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem 2.5rem;
}

.mega-area {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  text-decoration: none;
  transition: opacity 0.18s;
}
.mega-area:hover { opacity: 0.75; }

.mega-area-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--green);
  opacity: 0.7;
  margin-top: 2px;
}

.mega-area-title {
  font-family: var(--font-head);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
  transition: color 0.18s;
}
.mega-area:hover .mega-area-title { color: var(--green); }

.mega-area-desc {
  font-size: 0.74rem;
  color: var(--gray-dim);
  line-height: 1.5;
}

/* Insights mega */
.mega-insights-wrap {
  padding: 2.5rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mega-insights-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.mega-insights-label {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.mega-insights-grid {
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2.5rem;
}

.mega-insight {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem;
  border-radius: 8px;
  transition: background 0.18s;
  text-decoration: none;
}
.mega-insight:hover { background: rgba(255,255,255,0.04); }

.mega-insight-tag {
  font-family: var(--font-head);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.1rem;
}

.mega-insight-title {
  font-family: var(--font-head);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}

.mega-insight-desc {
  font-size: 0.74rem;
  color: var(--gray-dim);
  line-height: 1.5;
}

/* ── Expertise section ────────────────────────────────────── */
.expertise {
  background: var(--bg-black);
  border-bottom: 1px solid var(--line);
}

.expertise-layout {
  display: flex;
  min-height: 480px;
}

/* Left sidebar */
.expertise-sidebar {
  width: 280px;
  flex-shrink: 0;
  padding: 3.5rem 2rem 3.5rem 0;
  border-right: 1px solid var(--line);
}

.expertise-sidebar-title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2rem;
  padding-left: 1rem;
}

.expertise-tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.expertise-tab {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.2s;
  color: var(--gray);
}
.expertise-tab:hover { background: rgba(255,255,255,0.04); color: var(--white); }
.expertise-tab.active {
  background: rgba(255,255,255,0.07);
  color: var(--white);
}

.expertise-tab-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  opacity: 0.7;
}
.expertise-tab.active .expertise-tab-icon { opacity: 1; color: var(--green); }

.expertise-tab-label {
  flex: 1;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: inherit;
}

.expertise-tab-arrow {
  font-size: 0.7rem;
  color: var(--green);
  opacity: 0;
  transition: opacity 0.2s;
}
.expertise-tab.active .expertise-tab-arrow,
.expertise-tab:hover .expertise-tab-arrow { opacity: 1; }

/* Right content */
.expertise-content {
  flex: 1;
  padding: 3.5rem 0 3.5rem 3.5rem;
  display: flex;
  flex-direction: column;
}

.expertise-content-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.expertise-tagline {
  font-size: 0.9rem;
  color: var(--gray-dim);
  max-width: 400px;
  line-height: 1.5;
}

.expertise-view-all {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 0.55rem 1.4rem;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 2rem;
  transition: all 0.25s;
}
.expertise-view-all:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-dim);
}

.expertise-panel {
  display: none;
  flex-direction: column;
  flex: 1;
}
.expertise-panel.active { display: flex; }

.expertise-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin-bottom: 2rem;
}

.expertise-areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
  align-content: start;
}

.expertise-area {
  display: block;
  transition: opacity 0.2s;
}
.expertise-area:hover { opacity: 0.8; }

.expertise-area-title {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
  transition: color 0.2s;
}
.expertise-area:hover .expertise-area-title { color: var(--green); }

.expertise-area-desc {
  font-size: 0.8rem;
  color: var(--gray-dim);
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .expertise-areas { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .expertise-layout { flex-direction: column; }
  .expertise-sidebar {
    width: 100%;
    padding: 2rem 0 1rem;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .expertise-content { padding: 2rem 0; }
  .expertise-areas { grid-template-columns: 1fr; }
  .expertise-content-top { flex-direction: column; gap: 1rem; }
}

/* ── Text reveal (gray → white on scroll) ─────────────────── */
[data-text-reveal] {
  transition: color 0.9s var(--spring);
}
[data-text-reveal]:not(.visible) {
  color: var(--gray-dim) !important;
}
[data-text-reveal].visible {
  color: var(--gray);
}

/* ── SVG draw animation ───────────────────────────────────── */
svg[data-svg-draw] circle,
svg[data-svg-draw] ellipse,
svg[data-svg-draw] line,
svg[data-svg-draw] polyline,
svg[data-svg-draw] path,
svg[data-svg-draw] polygon,
svg[data-svg-draw] rect {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 2.2s var(--ease);
}
svg[data-svg-draw].drawing circle,
svg[data-svg-draw].drawing ellipse,
svg[data-svg-draw].drawing line,
svg[data-svg-draw].drawing polyline,
svg[data-svg-draw].drawing path,
svg[data-svg-draw].drawing polygon,
svg[data-svg-draw].drawing rect {
  stroke-dashoffset: 0;
}

/* stagger children so they draw one after another */
svg[data-svg-draw] *:nth-child(2) { transition-delay: 0.15s; }
svg[data-svg-draw] *:nth-child(3) { transition-delay: 0.3s; }
svg[data-svg-draw] *:nth-child(4) { transition-delay: 0.45s; }
svg[data-svg-draw] *:nth-child(5) { transition-delay: 0.6s; }
svg[data-svg-draw] *:nth-child(6) { transition-delay: 0.75s; }
svg[data-svg-draw] *:nth-child(n+7) { transition-delay: 0.9s; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 100px 2rem 80px;
}

/* The defining green glow — radiates from center-bottom (brighter + bigger) */
.hero-glow {
  position: absolute;
  bottom: -5%;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 900px;
  background: radial-gradient(ellipse at center bottom,
    rgba(25, 110, 60, 0.9) 0%,
    rgba(15, 70, 38, 0.55) 30%,
    rgba(8, 40, 22, 0.25) 55%,
    transparent 72%);
  pointer-events: none;
  z-index: 0;
}

/* Secondary glow behind heading (brighter) */
.hero-glow-2 {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 560px;
  background: radial-gradient(ellipse at center,
    rgba(25, 110, 60, 0.5) 0%,
    rgba(15, 70, 38, 0.2) 45%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Hero Y graphic (Quastels-style letter parallax) ──────── */
.hero-y-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-y-back {
  position: absolute;
  left: -30%;
  top: -25%;
  width: 1100px;
  height: 1600px;
  will-change: transform;
}

.hero-y-front {
  position: absolute;
  left: -22%;
  top: -15%;
  width: 800px;
  height: 1200px;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--green);
  opacity: 0.5;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 0.2rem;
}

/* Animated cycling line */
.hero-animated-wrap {
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  height: 2.4em;
  position: relative;
  margin-bottom: 2rem;
  overflow: hidden;
}

.hero-phrase {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-phrase.active { opacity: 1; }

.hero-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 0.75rem 2rem;
  background: transparent;
  transition: all 0.25s;
  margin-bottom: 3.5rem;
}
.hero-btn:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-dim);
}

/* Badge row */
.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.35;
  cursor: default;
  transition: opacity 0.3s, color 0.3s;
  color: var(--white);
}
.badge-item:hover {
  opacity: 0.85;
  color: var(--green);
}
.badge-icon { width: 52px; height: 52px; }
.badge-label {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: currentColor;
  text-align: center;
  line-height: 1.3;
}

/* ── Why YARD Law ─────────────────────────────────────────── */
.why {
  background: var(--bg-black);
  padding: 120px 0;
}

.why-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}

.why-top-left .eyebrow { margin-bottom: 1.5rem; }

.why-top-left .section-heading {
  margin-bottom: 2.5rem;
}

.why-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.why-nav a {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.2);
  text-underline-offset: 4px;
  transition: color 0.25s, text-decoration-color 0.25s;
}
.why-nav a:hover {
  color: var(--green);
  text-decoration-color: var(--green);
}

.why-top-right {
  padding-top: 2rem;
}

.why-top-right p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray);
  max-width: 460px;
}

/* Why panels */
.why-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.why-panel--glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(20,80,45,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.why-panel-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
  display: block;
}

.why-panel h3 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.why-panel p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--gray);
}

.why-panel-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  opacity: 0.15;
}

/* ── Practice Areas ───────────────────────────────────────── */
.practice {
  background: var(--bg-black);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Planet-horizon glow — rises from bottom center */
.practice-glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse at center bottom,
    rgba(20, 80, 45, 0.65) 0%,
    rgba(10, 50, 28, 0.3) 40%,
    transparent 70%);
  pointer-events: none;
}

.practice-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.practice-content .eyebrow {
  display: block;
  text-align: center;
  margin-bottom: 1.5rem;
}

.practice-content .section-heading {
  margin-bottom: 1.25rem;
}

.practice-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray);
  margin-bottom: 2.5rem;
}

.practice-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  padding: 0.75rem 2rem;
  background: transparent;
  transition: all 0.25s;
  margin-bottom: 4rem;
}
.practice-btn:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-dim);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}

.practice-card {
  background: var(--bg);
  padding: 2rem 1.75rem;
  transition: background 0.25s;
  position: relative;
}
.practice-card:hover { background: rgba(20,80,45,0.12); }

.practice-card-num {
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 0.75rem;
  display: block;
}

.practice-card h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.practice-card p {
  font-size: 0.82rem;
  color: var(--gray-dim);
  line-height: 1.6;
}

.practice-card-arrow {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  font-size: 0.7rem;
  color: var(--green);
  opacity: 0;
  transition: opacity 0.25s;
}
.practice-card:hover .practice-card-arrow { opacity: 1; }

/* ── Stats section ────────────────────────────────────────── */
.stats {
  padding: 100px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
}

.stat-block {
  background: var(--bg);
  padding: 3rem 2rem;
  text-align: center;
}

.stat-block-value {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.stat-block-label {
  font-size: 0.8rem;
  color: var(--gray-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-head);
}

/* ── Team section ─────────────────────────────────────────── */
.team {
  padding: 120px 0;
  background: var(--bg-black);
}

.team-header {
  margin-bottom: 4rem;
}

.team-header .eyebrow { margin-bottom: 1rem; }

.team-header .section-heading { margin-bottom: 1rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
  background: var(--bg);
}
.team-card:hover {
  border-color: var(--green-border);
  transform: translateY(-4px);
}

.team-photo-area {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, rgba(20,80,45,0.15), rgba(7,13,10,0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-photo-area::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(20,80,45,0.4) 0%, transparent 70%);
}

.team-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(0.68);
}

/* Gradient overlay — dark at bottom for legibility */
.team-photo-area::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    transparent 30%,
    rgba(3,5,5,0.55) 65%,
    rgba(3,5,5,0.92) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Name + role overlaid at bottom of photo */
.team-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.4rem 1.4rem 1.1rem;
  z-index: 2;
}

.team-initials {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(74,222,128,0.3);
  position: relative;
  z-index: 1;
}

.team-info {
  padding: 1.1rem 1.4rem 1.4rem;
  border-top: 1px solid var(--line);
}

.team-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.62rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

/* Contact rows */
.team-contact-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.team-contact-row + .team-contact-row {
  border-top: none;
  margin-top: 0.35rem;
  padding-top: 0;
}

.team-contact-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: var(--gray-dim);
  text-decoration: none;
  transition: color 0.2s;
  min-width: 0;
}
.team-contact-item svg { flex-shrink: 0; }
a.team-contact-item:hover { color: var(--green); }

.team-contact-linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--gray-dim);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.team-contact-linkedin:hover { border-color: var(--green); color: var(--green); }

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.9rem;
}

.team-tag {
  font-size: 0.68rem;
  padding: 2px 8px;
  border: 1px solid var(--green-border);
  border-radius: 4px;
  color: var(--green);
  background: rgba(20,80,45,0.12);
}

.team-position {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-dim);
  margin-bottom: 0.1rem;
}

/* ── Articles section ─────────────────────────────────────── */
.articles {
  padding: 120px 0;
}

.articles-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.articles-header .section-heading { margin-top: 0.75rem; }

.articles-all {
  font-size: 0.82rem;
  color: var(--green);
  font-family: var(--font-head);
  font-weight: 600;
  transition: opacity 0.2s;
}
.articles-all:hover { opacity: 0.7; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.articles-carousel { position: relative; overflow: hidden; }
.articles-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.articles-track .article-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 0;
}
.articles-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}
.articles-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.articles-dot.active {
  background: var(--green);
  transform: scale(1.3);
}
.articles-arrow {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.articles-arrow:hover:not(:disabled) {
  border-color: var(--green);
  color: var(--green);
}
.articles-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
.articles-page-indicator {
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gray-dim);
  min-width: 3rem;
  text-align: center;
  line-height: 40px;
}

.article-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2rem;
  background: var(--bg);
  transition: border-color 0.25s, background 0.25s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  border-color: var(--green-border);
  background: rgba(20,80,45,0.06);
}

.article-tag {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--green-border);
  background: var(--green-dim);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.article-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 0.75rem;
  flex: 1;
}

.article-excerpt {
  font-size: 0.85rem;
  color: var(--gray-dim);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.article-read {
  font-size: 0.78rem;
  color: var(--green);
  font-family: var(--font-head);
  font-weight: 600;
  transition: opacity 0.2s;
}
.article-read:hover { opacity: 0.7; }

/* ── Contact section ──────────────────────────────────────── */
.contact {
  padding: 120px 0;
  background: var(--bg-black);
  position: relative;
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center top,
    rgba(20,80,45,0.45) 0%,
    transparent 65%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-left .eyebrow { margin-bottom: 1.25rem; }

.contact-left .section-heading { margin-bottom: 2rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-row {
  display: flex;
  gap: 1.5rem;
}

.contact-row-label {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  min-width: 64px;
  padding-top: 2px;
}

.contact-row-val {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}
.contact-row-val a {
  color: var(--gray);
  transition: color 0.2s;
}
.contact-row-val a:hover { color: var(--green); }
.contact-map-link {
  text-decoration: none;
  border-bottom: 1px dashed var(--line);
  transition: color 0.2s, border-color 0.2s;
}
.contact-map-link:hover { color: var(--green) !important; border-color: var(--green); }
.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact-phones a {
  display: inline;
}
.contact-phone-name {
  font-size: 0.75rem;
  color: var(--gray-dim);
  margin-left: 0.5rem;
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

.form-label {
  font-size: 0.72rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gray-dim);
  text-transform: uppercase;
}

.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--green-border);
  background: rgba(74,222,128,0.03);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-dim); }
.form-select { appearance: none; cursor: pointer; color: var(--gray); }
.form-select option { background: #0d1a12; }
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--green);
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2rem;
  cursor: pointer;
  transition: all 0.25s;
  align-self: flex-start;
}
.form-submit:hover {
  background: #22c55e;
  transform: translateY(-1px);
}

.form-note {
  font-size: 0.72rem;
  color: var(--gray-dim);
  line-height: 1.5;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  padding: 4rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.footer-logo-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.footer-logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.footer-tagline {
  font-size: 0.82rem;
  color: var(--gray-dim);
}

.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-link {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-dim);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--green); }

.footer-partner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  margin-bottom: 0.5rem;
}
.footer-partner-label {
  font-size: 0.68rem;
  font-family: var(--font-head);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-dim);
  white-space: nowrap;
}
.footer-partner-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  transition: border-color 0.2s;
}
.footer-partner-link:hover { border-color: var(--green); }
.footer-partner-name {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.05em;
}
.footer-partner-desc {
  font-size: 0.7rem;
  color: var(--gray-dim);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--gray-dim);
}
.footer-reg {
  font-size: 0.68rem;
  color: var(--gray-dim);
  letter-spacing: 0.06em;
}

/* ── Floating Enquire button ──────────────────────────────── */
.float-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(7,13,10,0.95);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 0.65rem 1.2rem 0.65rem 1.4rem;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  transition: all 0.25s;
}
.float-btn:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}
.float-btn-icon {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: border-color 0.25s;
}
.float-btn:hover .float-btn-icon { border-color: var(--green); }

/* ── Language switcher ────────────────────────────────────── */
.nav-lang {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-lang-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem 0.2rem;
  transition: color 0.2s;
}
.nav-lang-btn:hover { color: var(--green); }

.nav-lang-globe {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  flex-shrink: 0;
}

.nav-lang-code {
  letter-spacing: 0.1em;
}

.nav-lang-arrow {
  font-size: 0.5rem;
  color: var(--green);
  transition: transform 0.2s;
  opacity: 0.8;
}
.nav-lang.open .nav-lang-arrow { transform: rotate(180deg); }

.nav-lang-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 150px;
  background: rgba(7,13,10,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 200;
}
.nav-lang.open .nav-lang-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--gray);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-lang-option:hover {
  background: var(--green-dim);
  color: var(--white);
}
.nav-lang-option.active {
  color: var(--green);
}
.nav-lang-option.active::after {
  content: '✓';
  font-size: 0.65rem;
  color: var(--green);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-top { grid-template-columns: 1fr; gap: 2rem; }
  .why-panel { grid-template-columns: 1fr; gap: 2rem; }
  .why-panel-deco { display: none; }
}

@media (max-width: 768px) {
  .nav-center, .nav-btn { display: none; }
  .nav-hamburger { display: flex; }

  .hero-title, .hero-animated-wrap { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .hero-badges { gap: 1rem; }

  .practice-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .articles-track .article-card { flex: 0 0 100%; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .articles-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ── Why panel SVG hover animations ──────────────────────────── */

/* Panel 1 — crosshair rotates 45° on hover */
/* Panel 1 — bars fill green sequentially on hover (bottom to top) */
@keyframes depth-bar-fill {
  from { stroke: rgba(34, 197, 94, 0.12); }
  to   { stroke: #22c55e; }
}
.why-panel-deco:hover .why-svg-depth line:nth-child(5) { animation: depth-bar-fill 0.35s ease forwards 0s; }
.why-panel-deco:hover .why-svg-depth line:nth-child(4) { animation: depth-bar-fill 0.35s ease forwards 0.09s; }
.why-panel-deco:hover .why-svg-depth line:nth-child(3) { animation: depth-bar-fill 0.35s ease forwards 0.18s; }
.why-panel-deco:hover .why-svg-depth line:nth-child(2) { animation: depth-bar-fill 0.35s ease forwards 0.27s; }
.why-panel-deco:hover .why-svg-depth line:nth-child(1) { animation: depth-bar-fill 0.35s ease forwards 0.36s; }
.why-panel-deco:hover .why-svg-depth circle { stroke: #22c55e; transition: stroke 0.25s 0.45s; }

/* Panel 2 — extra branches appear on hover */
.why-branch-extra {
  opacity: 0;
  transition: opacity 0.35s ease;
}
.why-branch-extra-1 { transition-delay: 0.12s; }
.why-branch-extra-2 { transition-delay: 0.24s; }
.why-panel-deco:hover .why-branch-extra { opacity: 1; }

/* Panel 3 — check brightens and circles pulse on hover */
.why-svg-results circle {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-box: fill-box;
  transform-origin: center;
}
.why-panel-deco:hover .why-svg-results circle:first-child { transform: scale(1.06); }
.why-panel-deco:hover .why-svg-results circle:nth-child(2) { transform: scale(1.04); transition-delay: 0.06s; }
.why-check {
  transition: stroke 0.3s ease 0.15s;
}
.why-panel-deco:hover .why-check {
  stroke: #22c55e;
}
