/* ============================================================
   MANZINI GOODMAN & COMPANY — style.css
   Palette: Navy / Charcoal / Gold / Ivory
   Fonts:   Cormorant Garamond (display) · Jost (body)
============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  --navy:        #0b1826;
  --navy-mid:    #13243a;
  --charcoal:    #1e2d3d;
  --gold:        #c9a84c;
  --gold-light:  #e7c977;
  --gold-dark:   #96742c;
  --ember:       #7a3327;
  --ember-light: #9c4936;
  --ivory:       #faf7f0;
  --ivory-warm:  #ede8dc;
  --white:       #ffffff;
  --text-dark:   #16202e;
  --text-mid:    #4a5568;
  --text-light:  #8a9ab0;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', 'Segoe UI', sans-serif;

  --radius-sm:   4px;
  --radius-md:   10px;
  --radius-lg:   18px;

  --shadow-sm:   0 2px 8px rgba(10,20,33,.08);
  --shadow-md:   0 10px 34px rgba(10,20,33,.12);
  --shadow-lg:   0 24px 64px rgba(10,20,33,.16);
  --shadow-gold: 0 6px 24px rgba(201,168,76,.28);

  --transition:  0.3s ease;
  --transition-slow: 0.6s cubic-bezier(.16,1,.3,1);

  --max-width:   1200px;
  --section-pad: clamp(5rem, 8vw, 9rem);
  --container-px: clamp(1.25rem, 5vw, 3rem);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-behavior: smooth;
  overscroll-behavior: none; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

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

ul[role="list"] { list-style: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---- Typography Base ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -.01em;
}

/* ---- Utility ---- */
.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* ============================================================
   NAVIGATION
============================================================ */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.site-header.scrolled {
  background: rgba(13, 27, 42, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 30px rgba(0,0,0,.3);
  padding: .75rem 0;
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: .85rem;
  line-height: 1;
  transition: opacity var(--transition);
}
.nav__logo:hover { opacity: .88; }

.nav__logo-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  transition: transform var(--transition-slow);
}
.nav__logo:hover .nav__logo-mark { transform: rotate(8deg); }

.nav__logo-wordmark {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .015em;
  white-space: nowrap;
}
.nav__logo-sub {
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--gold-light);
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}

.nav__link {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  padding: .55rem .9rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%; height: 1.5px;
  background: var(--gold);
  transition: transform var(--transition);
  transform-origin: center;
}
.nav__link:hover,
.nav__link.active { color: var(--white); }
.nav__link:hover::after,
.nav__link.active::after { transform: translateX(-50%) scaleX(1); }

.nav__link--cta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 600;
  padding: .55rem 1.2rem;
  border-radius: var(--radius-sm);
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--gold-light); }

/* Hamburger */
/* ── Fancy hamburger button ─────────────────────────────── */
.nav__hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1000;
  transition:
    background  .35s ease,
    border-color .35s ease,
    transform   .35s cubic-bezier(.16,1,.3,1),
    box-shadow  .35s ease;
  overflow: hidden;
}

/* Gold ripple on hover */
.nav__hamburger::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(201,168,76,.18) 0%, transparent 70%);
  opacity: 0;
  transform: scale(.5);
  transition: opacity .35s ease, transform .4s ease;
}
.nav__hamburger:hover::before {
  opacity: 1;
  transform: scale(1);
}
.nav__hamburger:hover {
  border-color: rgba(201,168,76,.6);
  background: rgba(201,168,76,.08);
  box-shadow: 0 0 0 4px rgba(201,168,76,.08);
}
.nav__hamburger:active {
  transform: scale(.93);
}

/* The three bars — each a thin gold-tipped line */
.bar {
  display: block;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  position: absolute;
  left: 50%;
  transform-origin: center;
  transition:
    transform  .45s cubic-bezier(.16,1,.3,1),
    opacity    .3s ease,
    width      .35s cubic-bezier(.16,1,.3,1),
    background .3s ease;
}

/* Default state — staggered widths for visual interest */
.bar:nth-child(1) {
  width: 18px;
  transform: translateX(-50%) translateY(-6px);
}
.bar:nth-child(2) {
  width: 24px;
  transform: translateX(-50%) translateY(0);
}
.bar:nth-child(3) {
  width: 14px;
  transform: translateX(-50%) translateY(6px);
}

/* Hover — all bars equalise to same width with gold tint */
.nav__hamburger:hover .bar:nth-child(1) { width: 22px; background: var(--gold-light); }
.nav__hamburger:hover .bar:nth-child(2) { width: 22px; background: var(--gold); }
.nav__hamburger:hover .bar:nth-child(3) { width: 22px; background: var(--gold-light); }

/* Open state — morphs into a gold × */
.nav__hamburger.open {
  background: rgba(201,168,76,.12);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,.1);
}
.nav__hamburger.open .bar {
  width: 20px;
  background: var(--gold);
}
.nav__hamburger.open .bar:nth-child(1) {
  transform: translateX(-50%) translateY(0) rotate(45deg);
}
.nav__hamburger.open .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
}
.nav__hamburger.open .bar:nth-child(3) {
  transform: translateX(-50%) translateY(0) rotate(-45deg);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      160deg,
      rgba(10, 20, 33, 0.88) 0%,
      rgba(13, 27, 42, 0.80) 40%,
      rgba(21, 35, 56, 0.72) 100%
    ),
    url('../images/Background Law.webp') center center / cover no-repeat;
  overflow: hidden;
}

/* Decorative texture overlay */
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 70% at 15% 55%, rgba(10, 20, 33, 0.55) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 85% 50%, rgba(5, 12, 22, 0.45) 0%, transparent 60%),
    linear-gradient(to right, rgba(10, 20, 33, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 60% 35%, rgba(201,168,76,.05) 0%, transparent 65%);
  pointer-events: none;
}

/* Decorative corner ornaments */
.hero__ornament {
  position: absolute;
  width: clamp(120px, 18vw, 260px);
  height: clamp(120px, 18vw, 260px);
  border: 1px solid rgba(201,168,76,.18);
  pointer-events: none;
}
.hero__ornament--tl { top: 5%; left: 3%; border-bottom: none; border-right: none; }
.hero__ornament--br { bottom: 5%; right: 3%; border-top: none; border-left: none; }

/* Signature element: faint oversized seal, anchored to the hero's right edge */
.hero__seal-watermark {
  position: absolute;
  top: 50%;
  right: clamp(-4rem, -2vw, 2rem);
  transform: translateY(-50%);
  width: clamp(360px, 34vw, 560px);
  height: auto;
  opacity: .16;
  pointer-events: none;
  filter: saturate(1.1);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 7rem 5rem;
  max-width: 780px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201,168,76,.4);
  padding: .45rem 1.1rem .45rem .9rem;
  border-radius: 2px;
  margin-bottom: 2rem;
}
.hero__badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.2);
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.2rem;
  line-height: 1.05;
  letter-spacing: -.015em;
  text-shadow: 0 2px 40px rgba(0,0,0,.25);
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: rgba(255,255,255,.65);
  letter-spacing: .03em;
}

.hero__divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.5rem 0;
}

.hero__intro {
  font-size: clamp(.95rem, 1.8vw, 1.05rem);
  color: rgba(255,255,255,.72);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 2.8rem;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  animation: float 2.5s ease-in-out infinite;
}
.hero__scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(201,168,76,.6), transparent);
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .85rem 2rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.08);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn:hover::before { opacity: 1; }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
  color: var(--navy);
  border-color: var(--gold);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  letter-spacing: .14em;
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
  letter-spacing: .14em;
}

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

/* Spinner in button */
.btn-spinner {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .65s linear infinite;
  z-index: 2;
}
.btn.loading {
  pointer-events: none;
}
.btn.loading .btn-text {
  opacity: 0;
  visibility: hidden;
}
.btn.loading .btn-spinner {
  display: block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   SECTIONS — SHARED
============================================================ */
.section {
  padding-block: var(--section-pad);
}
.section--light { background: var(--ivory); }
.section--dark  { background: var(--navy); }

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .75rem;
}
.section--dark .section-label { color: var(--gold-light); }
.section-label::before,
.section-label::after {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 500;
  color: inherit;
}
.section--light .section-title { color: var(--navy); }
.section--dark  .section-title { color: var(--white); }

.section-rule {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 1.2rem auto 0;
  border-radius: 1px;
}

/* ============================================================
   ABOUT — MISSION
============================================================ */
.about-mission {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--gold);
  margin-bottom: 5rem;
  position: relative;
  overflow: hidden;
}
.about-mission::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.03));
  pointer-events: none;
}

.about-mission__quote-mark {
  font-family: var(--font-display);
  font-size: clamp(6rem, 12vw, 10rem);
  line-height: .7;
  color: var(--gold);
  opacity: .18;
  flex-shrink: 0;
  -webkit-user-select: none;
}
.about-mission__body p {
  font-size: clamp(.95rem, 1.8vw, 1.08rem);
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.about-mission__body p:last-child { margin-bottom: 0; }

/* Stats Strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--ivory-warm);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stat {
  background: var(--white);
  text-align: center;
  padding: 2rem 1.5rem;
  transition: background var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
}
.stat:hover { background: var(--ivory); }
.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat__suffix {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  display: inline;
}
.stat__label {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================================
   ABOUT THE FIRM
============================================================ */
.firm-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.firm-text__lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.firm-text p {
  color: rgba(255,255,255,.65);
  font-size: .98rem;
  line-height: 1.8;
}

.firm-domains {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius-md);
  padding: 2.5rem;
}
.firm-domains__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(201,168,76,.2);
}
.firm-domains__list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.firm-domains__list li {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: rgba(255,255,255,.8);
  font-size: .92rem;
  transition: color var(--transition), transform var(--transition);
}
.firm-domains__list li:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}
.firm-domains__icon {
  color: var(--gold);
  font-size: .5rem;
  flex-shrink: 0;
}

/* ============================================================
   PRACTICE CARDS
============================================================ */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.practice-card--wide {
  grid-column: 1 / -1;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.practice-card--wide .practice-card__icon { flex-shrink: 0; }
.practice-card--wide .practice-card__desc { margin-top: .5rem; }

.practice-card {
  background: var(--white);
  border: 1px solid var(--ivory-warm);
  border-radius: var(--radius-md);
  padding: 2.4rem 2rem 2.2rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  cursor: default;
}
.practice-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}
.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,168,76,.25);
}
.practice-card:hover::before { transform: scaleX(1); }

.practice-card__number {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--ivory-warm);
  line-height: 1;
  -webkit-user-select: none;
  user-select: none;
  transition: color var(--transition);
}
.practice-card:hover .practice-card__number { color: rgba(201,168,76,.12); }

.practice-card__icon {
  width: 56px; height: 56px;
  color: var(--gold-dark);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(155deg, rgba(201,168,76,.14), rgba(201,168,76,.04));
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.practice-card__icon svg { width: 26px; height: 26px; }
.practice-card:hover .practice-card__icon {
  background: linear-gradient(155deg, var(--gold), var(--gold-dark));
  color: var(--white);
  transform: scale(1.06);
}

.practice-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .75rem;
}
.practice-card__desc {
  font-size: .88rem;
  color: var(--text-mid);
  line-height: 1.75;
}

.practice-card__hover-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width var(--transition-slow);
}
.practice-card:hover .practice-card__hover-line { width: 100%; }

/* ============================================================
   LEADERSHIP
============================================================ */

/* ============================================================
   LEADERSHIP SECTION — Johannesburg skyline background
============================================================ */

#leadership {
  position: relative;
  background:
    linear-gradient(
      160deg,
      rgba(6, 14, 26, 0.88) 0%,
      rgba(10, 22, 38, 0.82) 40%,
      rgba(14, 28, 48, 0.78) 100%
    ),
    url('../images/Johannesburg.webp') center center / cover no-repeat;
  overflow: hidden;
}

/* Gold shimmer radial overlay */
#leadership::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 55%, rgba(6, 14, 26, 0.55) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 80% 50%, rgba(4, 10, 20, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 60% 30%, rgba(201,168,76,.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Lift all children above the overlays */
#leadership .container {
  position: relative;
  z-index: 1;
}

/* Decorative corner ornament — top-right */
#leadership::after {
  content: '';
  position: absolute;
  top: 5%; right: 3%;
  width: clamp(100px, 14vw, 200px);
  height: clamp(100px, 14vw, 200px);
  border: 1px solid rgba(201,168,76,.18);
  border-bottom: none;
  border-left: none;
  pointer-events: none;
  z-index: 0;
}

.leader-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.leader-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.leader-card__avatar {
  position: relative;
  flex-shrink: 0;
}

/* Profile photo */
.leader-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 3px solid var(--gold);
  box-shadow: 0 8px 32px rgba(0,0,0,.45), 0 0 0 6px rgba(201,168,76,.12);
  transition: transform 0.4s cubic-bezier(.16,1,.3,1), box-shadow 0.4s ease;
}
.leader-card__avatar:hover .leader-card__photo {
  transform: scale(1.04);
  box-shadow: 0 12px 40px rgba(0,0,0,.55), 0 0 0 8px rgba(201,168,76,.2);
}

/* Gold spinning ring around photo */
.leader-card__avatar-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,168,76,.5);
  border-top-color: var(--gold);
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  animation: ring-rotate 8s linear infinite;
}
@keyframes ring-rotate {
  to { transform: rotate(360deg); }
}

.leader-card__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: .3rem;
}
.leader-card__role {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.leader-card__details {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .5rem 1.2rem;
}
.leader-card__details dt {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
  padding-top: 2px;
}
.leader-card__details dd {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
}

.adr-section__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.adr-section__intro {
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.adr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.adr-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(201,168,76,.15);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: background var(--transition), border-color var(--transition);
}
.adr-item:hover {
  background: rgba(201,168,76,.08);
  border-color: rgba(201,168,76,.35);
}
.adr-item__icon { font-size: 1.4rem; }
.adr-item__label {
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  letter-spacing: .04em;
}

/* ============================================================
   CONTACT
============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.contact-details__heading,
.contact-form-wrapper__heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ivory-warm);
}

.contact-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-item__icon {
  font-size: 1.25rem;
  margin-top: .1rem;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}
.contact-item strong {
  display: block;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: .25rem;
}
.contact-item address,
.contact-item p {
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.contact-link {
  display: block;
  font-size: .95rem;
  color: var(--navy);
  font-weight: 500;
  transition: color var(--transition);
}
.contact-link:hover { color: var(--gold-dark); }
.contact-item__note {
  font-size: .75rem;
  color: var(--text-light);
  display: block;
  margin-top: .15rem;
}

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

.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-label {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dark);
}
.form-label span { color: var(--gold-dark); }

.form-input {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--ivory-warm);
  border-radius: var(--radius-sm);
  padding: .85rem 1.1rem;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.form-input.error { border-color: #c0392b; }

select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-textarea { resize: vertical; min-height: 130px; }

.form-error {
  font-size: .75rem;
  color: #c0392b;
  min-height: 1.1rem;
  display: block;
  font-weight: 500;
}

.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #1b5e20;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.55;
  margin-top: .5rem;
}
.form-success.visible { display: block; }

/* Map */
.map-wrapper__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ivory-warm);
}
.map-container iframe { display: block; }

.map-caption {
  font-size: .8rem;
  color: var(--text-mid);
  text-align: center;
  margin-top: 1rem;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--navy-mid);
  color: rgba(255,255,255,.65);
  padding-block: 3.5rem 2rem;
  border-top: 1px solid rgba(201,168,76,.15);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer__seal {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  opacity: .9;
}
.footer__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: .25rem;
}
.footer__tagline {
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  font-style: italic;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}
.footer__nav a {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--gold); }

.footer__contact-quick {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
}
.footer__contact-quick a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer__contact-quick a:hover { color: var(--gold); }

.footer__bottom { text-align: center; }
.footer__copy {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}
.footer__disclaimer {
  font-size: .72rem;
  color: rgba(255,255,255,.28);
  max-width: 720px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ============================================================
   BACK TO TOP
============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 900;
  width: 46px; height: 46px;
  background: var(--gold);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  box-shadow: var(--shadow-gold);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(201,168,76,.4);
}
.back-to-top svg { width: 20px; height: 20px; color: var(--navy); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}
.reveal--delay-1 { transition-delay: .12s; }
.reveal--delay-2 { transition-delay: .22s; }
.reveal--delay-3 { transition-delay: .32s; }
.reveal--delay-4 { transition-delay: .42s; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {

  /* Leadership — tablet: shift skyline focus */
  #leadership {
    background:
      linear-gradient(
        170deg,
        rgba(6, 14, 26, 0.91) 0%,
        rgba(10, 22, 38, 0.86) 50%,
        rgba(14, 28, 48, 0.81) 100%
      ),
      url('../images/Johannesburg.webp') center center / cover no-repeat;
  }

  /* Hero — tablet: focus on gavel, heavier overlay */
  .hero {
    background:
      linear-gradient(
        170deg,
        rgba(10, 20, 33, 0.92) 0%,
        rgba(13, 27, 42, 0.85) 50%,
        rgba(21, 35, 56, 0.78) 100%
      ),
      url('../images/Background Law.webp') 30% center / cover no-repeat;
    min-height: 100svh;
  }

  .firm-layout,
  .leader-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .practice-card--wide {
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 1rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer__top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__contact-quick { align-items: center; }
}

@media (max-width: 768px) {

  /* Leadership — mobile: pull up to show city lights */
  #leadership {
    background:
      linear-gradient(
        180deg,
        rgba(5, 12, 22, 0.94) 0%,
        rgba(8, 18, 32, 0.91) 60%,
        rgba(12, 24, 42, 0.89) 100%
      ),
      url('../images/Johannesburg.webp') center 40% / cover no-repeat;
  }

  /* Hero — mobile: centre the gavel, increase overlay opacity for readability */
  .hero {
    background:
      linear-gradient(
        180deg,
        rgba(8, 18, 30, 0.95) 0%,
        rgba(10, 22, 36, 0.90) 60%,
        rgba(13, 27, 42, 0.88) 100%
      ),
      url('../images/Background Law.webp') center 60% / cover no-repeat;
    min-height: 100svh;
  }

  .nav__links {
    position: fixed;
    top: 0; right: 0;
    width: min(280px, 85vw);
    height: 100svh;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    border-left: 1px solid rgba(201,168,76,.15);
    z-index: 999;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__link {
    font-size: .95rem;
    padding: .75rem 1rem;
    text-align: center;
  }
  .nav__hamburger { display: flex; z-index: 1000; }

  .practice-grid { grid-template-columns: 1fr; }
  .practice-card--wide { flex-direction: column; }

  .about-mission { flex-direction: column; gap: 0; }
  .about-mission__quote-mark { display: none; }

  .adr-grid { grid-template-columns: 1fr; }

  .leader-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .leader-card__details { grid-template-columns: 1fr; }

  .back-to-top { bottom: 1.25rem; right: 1.25rem; }

  .hero__ornament { display: none; }
  .hero__seal-watermark { display: none; }

  .nav__logo-text { font-size: 1.15rem; }
  .nav__logo-sub { display: none; }

  .footer__nav { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {

  /* Leadership — small mobile: max overlay for readability */
  #leadership {
    background:
      linear-gradient(
        180deg,
        rgba(4, 10, 20, 0.96) 0%,
        rgba(8, 18, 32, 0.94) 100%
      ),
      url('../images/Johannesburg.webp') center 35% / cover no-repeat;
  }

  /* Hero — small mobile: tighter crop on books/gavel centre */
  .hero {
    background:
      linear-gradient(
        180deg,
        rgba(6, 14, 24, 0.96) 0%,
        rgba(10, 20, 33, 0.93) 100%
      ),
      url('../images/Background Law.webp') center 55% / cover no-repeat;
    min-height: 100svh;
  }

  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .hero__scroll-indicator { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}