/* ============================================================
   CSS CUSTOM PROPERTIES — LIGHT THEME
   ============================================================ */
:root {
  --clr-bg: #faf8f3;
  --clr-bg-alt: #ffffff;
  --clr-section-alt: #f3efe6;
  --clr-navy: #0c1321;
  --clr-navy-2: #1d2f4f;
  --clr-navy-3: #24395e;
  --clr-gold: #fdd700;
  --clr-gold-light: #e6be8a;
  --clr-gold-pale: #f1e4c8;
  --clr-text: #2b3142;
  --clr-text-soft: #4a5164;
  --clr-text-muted: #767c8c;
  --clr-on-navy: #e7e9ee;
  --clr-on-navy-muted: #9aa3b8;
  --clr-border: rgba(22, 35, 61, 0.12);
  --clr-border-gold: rgba(177, 134, 63, 0.35);
  --clr-white: #ffffff;

  --ff-serif: "Lucida Sans", "Lucida Sans Unicode", sans-serif;
  --ff-sans: "Lucida Sans", "Lucida Sans Unicode", sans-serif;
  --nav-h: 72px;
  --section-pad: 72px 0;
  --radius: 10px;
  --trans: 0.35s cubic-bezier(.4, 0, .2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  font-family: var(--ff-sans);
  background: var(--clr-bg);
  color: var(--clr-text-soft);
  overflow-x: hidden;
  line-height: 1.75;
  font-size: 1.05rem;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================================
   UTILITY
   ============================================================ */
.container {
  width: 92%;
  max-width: 1240px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  font-weight: 700;
  /* letter-spacing: 0.2em; */
  text-transform: uppercase;
  color: var(--clr-gold);
  display: block;
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--ff-serif);
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--clr-navy);
}

.section-heading.on-navy {
  color: var(--clr-white);
}

.section-sub {
  font-size: 1.08rem;
  color: var(--clr-text-muted);
  max-width: 600px;
  margin-top: 18px;
  line-height: 1.85;
}

.section-sub.center {
  margin: 18px auto 0;
  text-align: center;
}

.section-sub.on-navy {
  color: var(--clr-on-navy-muted);
}

.gold-line {
  width: 56px;
  height: 3px;
  background: var(--clr-gold);
  margin: 24px 0;
}

.gold-line.center {
  margin: 24px auto;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--ff-sans);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: var(--radius);
  transition: var(--trans);
  position: relative;
}

.btn-gold {
  background: var(--clr-gold);
  color: #0C1321;
}

.btn-gold:hover {
  background: var(--clr-navy);
  color: var(--clr-white);
  transform: scale(1.04);
  transition-duration: 0.3s;
}

.btn-outline {
  background-color: white;
  border: 2px solid var(--clr-navy);
  color: var(--clr-navy);
}

.btn-outline:hover {
  background: var(--clr-navy);
  color: var(--clr-white);
  transform: scale(1.04);
  transition-duration: 0.3s;
}

.btn-outline.on-navy {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--clr-white);
}

.btn-outline.on-navy:hover {
  background: var(--clr-gold);
  border-color: var(--clr-gold);
}

.btn-dark {
  background: var(--clr-navy);
  color: var(--clr-white);
  font-size: 0.86rem;
}

.btn-dark:hover {
  transform: scale(1.04);
  transition-duration: 0.3s;
}

/* SCROLL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

.reveal-delay-6 {
  transition-delay: 0.6s;
}

/* ============================================================
   NAVIGATION
============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;

  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--clr-border);

  /* Animation */
  transform: translateY(0);
  transition:
    transform 0.35s ease-in-out,
    background 0.4s ease,
    box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 4px 24px rgba(22, 35, 61, 0.08);
}

.navbar.nav-hidden {
  transform: translateY(-100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.nav-logo-name {
  font-family: var(--ff-serif);
  font-size: 1.55rem;
  font-weight: 700;
  /* letter-spacing: 0.01em; */
  color: var(--clr-navy);
  line-height: 1;
}

.nav-logo-sub {
  font-family: var(--ff-sans);
  font-size: 0.68rem;
  /* letter-spacing: 0.18em; */
  text-transform: uppercase;
  color: var(--clr-navy-2);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links li {
  flex-shrink: 0;
}

.nav-links a {
  font-size: 0.90rem;
  font-weight: 700;
  /* letter-spacing: 0.08em; */
  text-transform: uppercase;
  color: var(--clr-text);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--trans);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--clr-gold);
  transition: width var(--trans);
}

/* Hover OR active */
.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-navy);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
}

.nav-consultation {
  padding: 12px 24px;
  font-size: 0.78rem;
  white-space: nowrap;
}


/* ============================================================
   HAMBURGER
============================================================ */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-navy);
  transition: var(--trans);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================================
   MOBILE NAV
============================================================ */

/* ============================================================
   MOBILE NAV
============================================================ */

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.99);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--clr-border);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-nav.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-nav a {
  display: block;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 700;
  /* letter-spacing: 0.1em; */
  text-transform: uppercase;
  color: var(--clr-text);
  border-bottom: 1px solid var(--clr-border);
  transition: color var(--trans), padding-left var(--trans);
}

.mobile-nav a:hover {
  color: var(--clr-gold);
  padding-left: 38px;
}

/* ============================================================
   HERO SECTION — no background photo, light theme
   ============================================================ */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 48px) 0 48px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(177, 134, 63, 0.10), transparent 55%),
    radial-gradient(circle at 6% 92%, rgba(22, 35, 61, 0.06), transparent 45%),
    var(--clr-bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--clr-navy-3);
  margin-bottom: 26px;
  opacity: 0;
  animation: fadeUp 0.9s 0.3s forwards;
}

.hero-eyebrow::before {
  content: '';
  width: 36px;
  height: 2px;
  background: var(--clr-gold);
}

.hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.9rem, 5.6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--clr-navy);
  opacity: 0;
  animation: fadeUp 0.9s 0.5s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--clr-gold);
}

.hero-text {
  margin-top: 26px;
  font-size: 1.15rem;
  color: var(--clr-text-muted);
  line-height: 1.9;
  max-width: 540px;
  opacity: 0;
  animation: fadeUp 0.9s 0.7s forwards;
}

.hero-cta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 42px;
  opacity: 0;
  animation: fadeUp 0.9s 0.9s forwards;
}

/* Hero media — full-bleed, ignores .container and .hero's own padding */
.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  z-index: 1;
}

.hero-media-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: var(--clr-section-alt);
}

.hero-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.hero-media-accent {
  display: none;
}

.hero-media-badge {
  position: absolute;
  left: -28px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--clr-white);
  border-radius: 8px;
  padding: 16px 22px;
  box-shadow: 0 16px 40px rgba(22, 35, 61, 0.18);
  max-width: 260px;
}

.hero-media-badge-icon {
  width: 42px;
  height: 42px;
  background: var(--clr-gold-pale);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--clr-gold);
  flex-shrink: 0;
}

.hero-media-badge-text strong {
  display: block;
  font-family: var(--ff-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-navy);
  line-height: 1.3;
}

.hero-media-badge-text span {
  font-size: 0.74rem;
  color: var(--clr-text-muted);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Gap between desktop container cap (1350px) and tablet breakpoint (1100px) */
@media (min-width: 1101px) and (max-width: 1350px) {

  .hero-content {
    max-width: 500px;
  }
}

/* Gap between tablet breakpoint (1100px) and stacked hero (900px) */
@media (min-width: 901px) and (max-width: 1100px) {

  .hero-content {
    max-width: 440px;
  }
}

/* Narrow sliver where "Services" wraps awkwardly */
@media (min-width: 1081px) and (max-width: 1100px) {

  .hero-content {
    max-width: 500px;
  }
}

/* ============================================================
   PROCESS SECTION — "How We Help You" (horizontal bar)
   ============================================================ */
.process {
  background-color: var(--clr-navy);
  padding: 72px 0;
  z-index: 100;
}

.process-header {
  text-align: center;
  margin-bottom: 52px;
}

.process-header .section-sub {
  max-width: 560px;
  margin: 18px auto 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.process-card {
  padding: 8px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--trans);
}

.process-card:last-child {
  border-right: none;
}

.process-card:hover {
  transform: translateY(-4px);
}

.process-num {
  font-family: var(--ff-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--clr-gold-light);
  margin-bottom: 14px;
  line-height: 1;
}

.process-title {
  font-family: var(--ff-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 10px;
  line-height: 1.35;
}

.process-desc {
  font-size: 0.88rem;
  color: var(--clr-on-navy-muted);
  line-height: 1.75;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */

.about {
  padding: var(--section-pad);
  background: var(--clr-bg-alt);
  position: relative;
  overflow: hidden;
}


/* ============================================================
   ABOUT LAYOUT — TEXT ONLY
   ============================================================ */

.about-grid {
  display: block;
  position: relative;
  z-index: 1;
}

.about-content {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}


/* ============================================================
   ABOUT HEADING
   ============================================================ */

.about-content .section-label {
  display: block;
  color: var(--clr-gold);
}

.about-content .section-heading {
  color: var(--clr-navy);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.about-content .gold-line {
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   ABOUT BODY TEXT
   ============================================================ */

.about-body {
  max-width: 100%;
  margin: 22px auto 0;
  color: var(--clr-text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-body+.about-body {
  margin-top: 16px;
}


/* ============================================================
   ABOUT FEATURES
   ============================================================ */

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  max-width: 100%;
  margin: 28px auto 0;
  text-align: left;
}

.about-feat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-feat-icon {
  width: 42px;
  height: 42px;
  background: var(--clr-gold-pale);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
  color: var(--clr-gold);
}

.about-feat-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.about-feat-text {
  padding-top: 1px;
}

.about-feat-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--clr-navy);
  margin-bottom: 3px;
}

.about-feat-text span {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--clr-text-muted);
}


/* ============================================================
   REGISTERED ADVOCATE
   ============================================================ */

.about-advocate {
  max-width: 100%;
  margin: 28px auto 0;
  padding: 20px 24px;
  background: var(--clr-gold-pale);
  border-left: 4px solid var(--clr-gold);
  border-radius: 0 6px 6px 0;
  text-align: left;
}

.about-advocate p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--clr-text);
  line-height: 1.65;
}

.about-advocate strong {
  color: var(--clr-navy);
}


/* ============================================================
   READ MORE BUTTON
   ============================================================ */

.about-content .btn {
  display: inline-flex;
  margin-top: 28px;
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 900px) {

  .about-content {
    max-width: 100%;
  }

  .about-body {
    max-width: 100%;
  }

  .about-features {
    max-width: 100%;
    gap: 18px 24px;
  }

  .about-advocate {
    max-width: 100%;
  }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 640px) {

  .about-content {
    max-width: 100%;
    text-align: center;
  }

  .about-content .section-heading {
    max-width: 100%;
  }

  .about-body {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 100%;
    margin-top: 26px;
    text-align: left;
  }

  .about-feat {
    gap: 12px;
  }

  .about-feat-text span {
    font-size: 0.88rem;
  }

  .about-advocate {
    max-width: 100%;
    margin-top: 24px;
    padding: 18px 20px;
  }

  .about-content .btn {
    margin-top: 26px;
  }
}


/* ============================================================
   EXTRA SMALL MOBILE
   ============================================================ */

@media (max-width: 400px) {

  .about-body {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .about-features {
    gap: 16px;
  }

  .about-feat-icon {
    width: 38px;
    height: 38px;
  }

  .about-feat-icon img {
    width: 20px;
    height: 20px;
  }

  .about-feat-text strong {
    font-size: 0.82rem;
  }

  .about-feat-text span {
    font-size: 0.84rem;
  }

  .about-advocate {
    padding: 16px 18px;
  }

  .about-advocate p {
    font-size: 0.86rem;
    line-height: 1.55;
  }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  padding: var(--section-pad);
  background: var(--clr-section-alt);
  position: relative;
}

.services-header {
  text-align: center;
  margin-bottom: 44px;
}

.services-header .section-sub {
  max-width: 560px;
  margin: 18px auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  padding: 38px 30px;
  transition: var(--trans);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 500px;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--clr-gold);
  transform: scaleX(0);
  transition: transform var(--trans);
  transform-origin: left;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  background: var(--clr-white);
  transform: scale(1.02);
  border-color: var(--clr-border-gold);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  background: var(--clr-gold-pale);
  border: 1px solid var(--clr-border-gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: var(--trans);
}

.service-card:hover .service-icon {
  background: var(--clr-gold);
  border-color: var(--clr-gold);
  color: var(--clr-white);
}

.service-title {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  /* letter-spacing: 0.08em; */
  text-transform: uppercase;
  color: var(--clr-navy);
  margin-top: auto;
  transition: gap var(--trans);
}

.service-link:hover {
  gap: 10px;
}

/* ============================================================
   ATTORNEYS SECTION
   ============================================================ */

.attorneys {
  padding: var(--section-pad);
  background: var(--clr-bg-alt);
}

.attorneys-header {
  text-align: center;
  margin-bottom: 48px;
}

.attorneys-header .section-sub {
  max-width: 560px;
  margin: 18px auto 0;
}


/* ============================================================
   ATTORNEYS GRID
   ============================================================ */

.attorneys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1050px;
  margin: 0 auto;
}


/* ============================================================
   REMOVE OLD PRINCIPAL / SIDE LAYOUT
   ============================================================ */

.attorney-principal {
  width: auto;
  max-width: none;
  min-height: 0;
  margin: 0;
}

.attorneys-side {
  display: contents;
}


/* ============================================================
   ATTORNEY CARD
   ============================================================ */

.attorney-card {
  display: flex;
  flex-direction: column;
  min-height: 600px;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  transition: var(--trans);
  cursor: pointer;
}

.attorney-card:hover {
  transform: scale(1.04);
  box-shadow: 0 20px 48px rgba(22, 35, 61, 0.12);
  border-color: var(--clr-border-gold);
}


/* ============================================================
   ATTORNEY PHOTO
   Same treatment as Publications
   ============================================================ */

.attorney-photo {
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: var(--clr-white);
  margin: 0;
  border: none;
  border-radius: 0;
}

.attorney-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.attorney-card:hover .attorney-photo img {
  transform: scale(1.08);
}


/* ============================================================
   ATTORNEY BODY
   ============================================================ */

.attorney-body {
  display: flex;
  flex-direction: column;
  flex: 1;

  padding: 28px;
  text-align: left;
}


/* ============================================================
   ATTORNEY NAME
   ============================================================ */

.attorney-name {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 700;

  color: var(--clr-navy);
  line-height: 1.4;

  margin-bottom: 5px;
}


/* ============================================================
   ATTORNEY ROLE
   ============================================================ */

.attorney-role {
  font-size: 0.80rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--clr-navy);
  margin-bottom: 12px;
}


/* ============================================================
   ATTORNEY DESCRIPTION
   ============================================================ */

.attorney-desc {
  max-width: none;
  margin: 0;
  font-size: 0.92rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
}

/* ============================================================
   ATTORNEY CV PAGE
   ============================================================ */

.attorney-cv-header {
  padding: calc(var(--nav-h) + 56px) 0 56px;
  background: var(--clr-bg-alt);
  border-bottom: 1px solid var(--clr-border);
}

.attorney-cv-header-inner {
  display: flex;
  align-items: center;
  gap: 42px;
  max-width: 900px;
  margin: 0 auto;
}

.attorney-cv-photo {
  width: 380px;
  margin-top: -20px;
  margin-bottom: -20px;
  padding: 0;
  flex-shrink: 0;
  overflow: visible;
  display: flex;
  align-items: flex-end;
}

.attorney-cv-photo img {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  display: block;
  object-fit: contain;
}

.attorney-cv-intro {
  flex: 1;
}

.attorney-cv-name {
  margin-top: 10px;
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  color: var(--clr-navy);
}

.attorney-cv-position {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-gold);
  text-transform: uppercase;
}

.attorney-cv-firm {
  margin-top: 6px;
  font-size: 1rem;
  color: var(--clr-text);
}

.attorney-cv-location {
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}


/* ============================================================
   CV CONTENT
   ============================================================ */

.attorney-cv-content {
  padding: var(--section-pad);
  background: var(--clr-bg);
}

.attorney-cv-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 70px;
  max-width: 1050px;
  margin: 0 auto;
}

.attorney-cv-main {
  min-width: 0;
}

.cv-section {
  margin-bottom: 52px;
}

.cv-section:last-child {
  margin-bottom: 0;
}

.cv-section h2 {
  font-family: var(--ff-serif);
  font-size: 1.7rem;
  color: var(--clr-navy);
  margin-bottom: 14px;
}

.cv-section .gold-line {
  margin-bottom: 22px;
}

.cv-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--clr-text-muted);
}

.cv-text p {
  margin-bottom: 14px;
}

.cv-text p:last-child {
  margin-bottom: 0;
}


/* ============================================================
   CV SIDEBAR
   ============================================================ */

.attorney-cv-sidebar {
  align-self: start;
  position: sticky;
  top: calc(var(--nav-h) + 30px);
}

.attorney-cv-sidebar>.btn {
  width: 100%;
  justify-content: center;
}

.cv-sidebar-box {
  margin-top: 24px;
  padding: 24px;
  background: var(--clr-bg-alt);
  border-left: 4px solid var(--clr-gold);
}

.cv-sidebar-box p {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--clr-text-muted);
}


/* ============================================================
   CV RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {

  .attorney-cv-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .attorney-cv-sidebar {
    position: static;
    max-width: 300px;
  }

}


@media (max-width: 640px) {

  .attorney-cv-header {
    padding: calc(var(--nav-h) + 32px) 0 40px;
  }

  .attorney-cv-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .attorney-cv-photo {
    width: 150px;
    height: 190px;
  }

  .attorney-cv-name {
    font-size: 2.3rem;
  }

  .attorney-cv-content {
    padding: 52px 0;
  }

  .cv-section {
    margin-bottom: 42px;
  }

  .cv-section h2 {
    font-size: 1.45rem;
  }

}

/* ============================================================
   PUBLICATIONS SECTION
   ============================================================ */
.publications {
  padding: var(--section-pad);
  background: var(--clr-gold-pale) !important;
}

.publications-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
}

.publications-header .section-sub {
  margin-top: 18px;
}

.pub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pub-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--trans);
  cursor: pointer;
}

.pub-card:hover {
  transform: scale(1.04);
  box-shadow: 0 20px 48px rgba(22, 35, 61, 0.12);
  border-color: var(--clr-border-gold);
}

.pub-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--clr-section-alt);
}

.pub-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pub-card:hover .pub-img img {
  transform: scale(1.08);
}

.pub-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
}

.pub-category {
  font-size: 0.75rem;
  font-weight: 700;
  /* letter-spacing: 0.14em; */
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 12px;
}

.pub-title {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-navy);
  line-height: 1.4;
  margin-bottom: 12px;
}

.pub-excerpt {
  font-size: 0.92rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 22px;
}

.pub-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--clr-border);
}

.pub-date {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

.pub-read {
  font-size: 0.8rem;
  font-weight: 700;
  /* letter-spacing: 0.06em; */
  text-transform: uppercase;
  color: var(--clr-gold);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--trans);
}

.pub-card:hover .pub-read {
  gap: 10px;
}

/* ============================================================
   PUBLICATIONS — EMPTY STATE SKELETON
   ============================================================ */
.pub-skeleton {
  cursor: default;
  background: transparent;
  border: none;
  box-shadow: none;
}

.pub-skeleton:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--clr-border);
}

.pub-skeleton-img {
  aspect-ratio: 16/9;
  background: var(--clr-section-alt);
}

.pub-skeleton .pub-body {
  gap: 10px;
}

.pub-skeleton-line {
  height: 10px;
  border-radius: 4px;
  background: var(--clr-section-alt);
}

.pub-skeleton-line-wide {
  width: 100%;
}

.pub-skeleton-line-short {
  width: 55%;
}

/* ============================================================
   GENERIC CONTENT — fallback template (index.php)
   ============================================================ */
.generic-content {
  padding: var(--section-pad);
}

.no-results {
  text-align: center;
  padding: 40px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.no-results .btn+.btn {
  margin-left: 16px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.content-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--trans);
}

.content-card:hover {
  transform: scale(1.04);
  box-shadow: 0 20px 48px rgba(22, 35, 61, 0.12);
  border-color: var(--clr-border-gold);
}

.content-card-img {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--clr-section-alt);
}

.content-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.content-card:hover .content-card-img img {
  transform: scale(1.08);
}

.content-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;
}

.content-card-title {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-navy);
  line-height: 1.4;
  margin-bottom: 12px;
}

.content-card-title a {
  color: inherit;
}

.content-card-excerpt {
  font-size: 0.92rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 22px;
  flex: 1;
}

.single-article {
  max-width: 820px;
  margin: 0 auto;
}

.single-article-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 40px;
  background: var(--clr-section-alt);
}

.single-article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-article-body {
  font-family: var(--ff-sans);
  color: var(--clr-text-soft);
  line-height: 1.85;
}

.single-article-body h2,
.single-article-body h3,
.single-article-body h4 {
  font-family: var(--ff-serif);
  color: var(--clr-navy);
  line-height: 1.4;
  margin: 40px 0 16px;
}

.single-article-body h2 {
  font-size: 1.6rem;
}

.single-article-body h3 {
  font-size: 1.3rem;
}

.single-article-body p {
  margin-bottom: 20px;
}

.single-article-body ul,
.single-article-body ol {
  margin: 0 0 20px 24px;
}

.single-article-body li {
  margin-bottom: 8px;
}

.single-article-body a {
  color: var(--clr-gold);
  text-decoration: underline;
}

.single-article-body img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 24px 0;
}

.single-article-body blockquote {
  border-left: 3px solid var(--clr-gold);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--clr-text-muted);
  font-style: italic;
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .no-results {
    flex-direction: column;
  }

  .no-results .btn+.btn {
    margin-left: 0;
  }
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */

.gallery {
  padding: var(--section-pad);
  background: var(--clr-section-alt);
}


.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 24px;
}

.gallery-header .section-sub {
  margin-top: 18px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--trans);
  cursor: pointer;
}

.gallery-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px;

}


.gallery-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.gallery-card:hover {
  transform: scale(1.04);
}

.gallery-img {
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--clr-section-alt);
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-card:hover .gallery-img img {
  transform: scale(1.08);
}


.gallery-title {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-navy);
  line-height: 1.4;
  margin-bottom: 12px;
}

.gallery-description {
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  min-height: 90px;
  flex: 1;

}

.gallery-description p:last-child {
  margin-bottom: 0;
}

.gallery-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--clr-border);
  padding-top: 18px;
  margin-top: auto;

}

.gallery-date {
  font-size: .82rem;
  font-weight: 700;
  color: var(--clr-gold);
  /* letter-spacing: .08em; */
  text-transform: uppercase;
}

.gallery-view {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--clr-navy);
  transition: var(--trans);
}

.gallery-view:hover {
  color: var(--clr-gold);
}

/* Tablet */
@media (max-width:900px) {

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* Mobile */
@media (max-width:640px) {

  .gallery-grid {
    grid-template-columns: 1fr;
  }

}

/* ============================================================
   SINGLE GALLERY / ALBUM
   ============================================================ */
.gallery-single {
  padding-top: 8px;
}

.gallery-single-hero {
  text-align: center;
}

.gallery-single-hero .section-sub {
  max-width: 700px;
  margin: 18px auto 0;
}

.gallery-single-date {
  margin-top: 18px;
  font-size: 0.82rem;
  font-weight: 700;
  /* letter-spacing: 0.08em; */
  text-transform: uppercase;
  color: var(--clr-gold);
}


/* Photo Grid */

.gallery-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  transition: var(--trans);
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(22, 35, 61, 0.12);
  border-color: var(--clr-border-gold);
}

.gallery-photo:hover img {
  transform: scale(1.06);
}


/* Back Button */

.gallery-back {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}


/* Tablet */

@media (max-width: 900px) {

  .gallery-photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* Mobile */

@media (max-width: 640px) {

  .gallery-photo-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  padding: 72px 0;
  background: var(--clr-white);
}

.contact .section-label {
  color: var(--clr-gold);
}

.contact-intro {
  max-width: 1000px;
  margin: 0 auto 36px;
  text-align: center;
}

.contact-intro .section-body {
  max-width: 850px;
  margin: 20px auto 0;
  color: var(--clr-text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  /* margin-top: 20px auto 0; */
}

/* LAYOUT */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr auto 0.85fr;
  align-items: start;
  gap: 28px;
  margin-top: 0;
}

.contact-divider {
  align-self: stretch;
  width: 1px;
  background: var(--clr-border);
}

/* FORM — light, spacious, no card box */
.contact-form-wrap {
  padding-top: 0px;
}

.contact-form .wpcf7-form-control-wrap {
  display: block;
}

.contact-form .wpcf7-spinner {
  display: none;
}

.contact-form p {
  margin: 0 0 28px;
  padding: 0;
}

.contact-form br {
  display: none;
}

.contact-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text);
  margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--clr-border);
  border-radius: 0;
  padding: 12px 2px;
  font-family: var(--ff-sans);
  font-size: 0.98rem;
  color: var(--clr-text);
  outline: none;
  transition: border-color var(--trans);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--clr-gold);
}

.contact-form textarea {
  resize: none;
  min-height: 8px;
  max-height: 220px;
  overflow-y: auto;
}

/* SEND MESSAGE — GOLD BUTTON */
.contact-form input[type="submit"].btn-gold {
  width: auto;
  border: none;
  border-radius: var(--radius);
  background: var(--clr-gold);
  color: var(--clr-navy);
  padding: 16px 40px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--trans);
}

.contact-form input[type="submit"].btn-gold:hover {
  background: var(--clr-navy);
  color: var(--clr-white);
  transform: scale(1.03);
}

/* PANEL — dark, offset, editorial */
.contact-panel {
  position: relative;
  background: var(--clr-navy);
  border-radius: var(--radius);
  padding: 52px 40px;
  margin-top: 36px;
  z-index: 2;
}

.contact-accent {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 56px;
  height: 56px;
  background: var(--clr-gold);
  border-radius: 4px;
  z-index: -1;
}

.contact-panel-label {
  display: block;
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 34px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item-icon {
  width: 46px;
  height: 46px;
  background: rgba(177, 134, 63, 0.14);
  border: 1px solid var(--clr-border-gold);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-content strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-on-navy-muted);
  margin-bottom: 4px;
}

.contact-item-content span,
.contact-item-content a {
  font-size: 1rem;
  color: var(--clr-white);
  transition: color var(--trans);
}

.contact-item-content a:hover {
  color: var(--clr-gold-light);
}

/* TABLET / MOBILE — stack: intro, form, panel */
@media (max-width: 1250px) {

  /* Contact */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-panel {
    margin-top: 0;
  }

  .contact-accent {
    top: -14px;
    left: -14px;
    width: 44px;
    height: 44px;
  }

  .contact-divider {
    display: none;
  }
}

@media (max-width: 640px) {
  .contact-intro {
    margin-bottom: 44px;
  }

  .contact-panel {
    padding: 40px 26px;
  }
}

/* ============================================================
   archive-publication
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + 56px) 0 56px;
  background: var(--clr-section-alt);
  text-align: center;
}

.page-hero .gold-line {
  margin: 24px auto;
}

.page-hero .section-sub {
  max-width: 720px;
  margin: 0 auto;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--clr-border);
  border-radius: 6px;
  color: var(--clr-text);
  font-weight: 600;
  transition: var(--trans);
}

.pagination .page-numbers:hover {
  background: var(--clr-gold);
  color: #fff;
  border-color: var(--clr-gold);
}

.pagination .current {
  background: var(--clr-gold);
  color: #fff;
  border-color: var(--clr-gold);
}

/* ============================================================
   archive-gallery
   ============================================================ */
.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 30px;
}

.post-type-archive-gallery .gallery {
  background: var(--clr-white);
}

@media (max-width: 900px) {
  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--clr-navy-2);
  padding: 56px 0 20px;
}


.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 0.8fr 1fr;
  column-gap: 0;
  padding-bottom: 40px;
}

.footer-grid> :nth-child(2) {
  margin-left: 70px;
}

.footer-grid> :nth-child(3) {
  margin-left: 30px;
}


/* ============================================================
   BRAND
   ============================================================ */

.footer-brand-name {
  font-family: var(--ff-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 6px;
}


.footer-brand-sub {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--clr-gold-light);
  margin-bottom: 20px;
}


.footer-brand-desc {
  font-size: 0.92rem;
  color: var(--clr-on-navy-muted);
  line-height: 1.6;
  max-width: 340px;
  margin-bottom: 26px;
}


/* ============================================================
   SOCIAL ICONS
   ============================================================ */

.footer-socials {
  display: flex;
  gap: 10px;
}


.footer-social {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
}


.footer-social img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transition: var(--trans);
}


.footer-social:hover {
  border-color: var(--clr-gold);
  background: rgba(177, 134, 63, 0.12);
}


.footer-social:hover img {
  transform: scale(1.08);
}


/* ============================================================
   FOOTER COLUMNS
   ============================================================ */

.footer-col h4 {
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  font-weight: 700;
  /* letter-spacing: 0.18em; */
  text-transform: uppercase;
  color: var(--clr-gold-light);
  margin-bottom: 22px;
}


/* ============================================================
   QUICK LINKS
   ============================================================ */

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
}


.footer-links a {
  font-size: 0.94rem;
  color: var(--clr-on-navy-muted);
  transition: color var(--trans), padding-left var(--trans);
}


.footer-links a:hover {
  color: var(--clr-white);
  padding-left: 6px;
}


/* ============================================================
   CONTACT
   ============================================================ */

.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--clr-on-navy-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}


.footer-contact-line .icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}


.footer-contact-line .icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}


.footer-contact-line a {
  color: inherit;
  transition: color var(--trans);
}


.footer-contact-line a:hover {
  color: var(--clr-gold-light);
}


/* ============================================================
   FOOTER BOTTOM
   ============================================================ */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #4A5265;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  border-radius: 8px;
}


.footer-copy {
  font-size: 0.86rem;
  color: #E6F4F1;
  text-align: center;
}


/* ============================================================
   TABLET
   ============================================================ */
@media (max-width: 1100px) and (min-width: 641px) {

  .footer-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
  }

  /* Only nudge Quick Links to the right */
  .footer-grid> :nth-child(2) {
    transform: translateX(25px);
  }

  /* Keep Contact exactly as before */
  .footer-grid> :last-child {
    grid-column: 1 / -1;
  }

}


/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 640px) {

  .footer {
    padding-top: 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  /* Keep every footer section aligned left */
  .footer-grid> :nth-child(1),
  .footer-grid> :nth-child(2),
  .footer-grid> :nth-child(3) {
    margin-left: 0;
    margin-right: 0;
    transform: none;
    justify-self: start;
    text-align: left;
  }

  .footer-brand-desc {
    max-width: 100%;
  }

  .footer-bottom {
    padding: 18px 0;
  }

  .footer-copy {
    font-size: 0.76rem;
  }

}

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.float-btns {
  position: fixed;
  right: 22px;
  bottom: 8px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--clr-gold);
  border: none;
  border-radius: 999px;
  padding: 6px 20px 6px 6px;
  box-shadow: 0 8px 24px rgba(22, 35, 61, 0.22);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.float-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 28px rgba(22, 35, 61, 0.3);
}

.float-icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-icon-badge img {
  object-fit: contain;
}

#float-btn-call img {
  width: 100%;
  height: 70%;
}

.float-label {
  font-family: var(--ff-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-navy);
  line-height: 1;
}

/* ---- Back to top (unchanged) ---- */
.back-top {
  position: fixed;
  right: 16px;
  bottom: 68px;
  z-index: 500;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-navy);
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(22, 35, 61, 0.22);
  transition: var(--trans);
  opacity: 0;
  pointer-events: none;
}

.back-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-top:hover {
  background: var(--clr-gold);
  color: var(--clr-white);
}


/* ============================================================
   ICON SIZING & PADDING
   ============================================================ */
.hero-media-badge-icon img,
.about-feat-icon img,
.contact-item-icon img {
  width: 50%;
  height: 50%;
  object-fit: contain;
}

.service-icon img {
  width: 46%;
  height: 46%;
  object-fit: contain;
}

.footer-social img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.contact-map-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-contact-line .icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-top: 1px;
}

.back-top img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */


/* ============================================================
   NAVIGATION RESPONSIVENESS
   ============================================================ */

/* ------------------------------------------------------------
   STAGE 1 — FULL DESKTOP
   > 1100px

   Logo | Home | About | Services | Attorneys |
   Publications | Gallery | Free Consultation
   ------------------------------------------------------------ */

@media (min-width: 1201px) {

  .nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .hamburger {
    display: none;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 22px;
  }

  .nav-consultation {
    display: inline-flex;
    position: static;
  }
}


/* ------------------------------------------------------------
   STAGE 2 — CONSULTATION + HAMBURGER
   641px – 1100px

   Logo | Free Consultation | ☰
   ------------------------------------------------------------ */

@media (max-width: 1200px) and (min-width: 641px) {

  .nav-logo-sub {
    font-size: 0.6rem;
    /* letter-spacing: 0.14em; */
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
    position: static;
  }

  .nav-consultation {
    display: inline-flex;
    position: static;

    padding: 10px 18px;
    font-size: 0.72rem;
    white-space: nowrap;
  }
}


/* ------------------------------------------------------------
   STAGE 3 — HAMBURGER ONLY
   <= 640px

   Logo | ☰
   ------------------------------------------------------------ */

@media (max-width: 640px) {

  :root {
    --nav-h: 70px;
  }

  .nav-links {
    display: none;
  }

  .nav-consultation {
    display: none;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 0;
    position: static;
  }

  .hamburger {
    display: flex;
  }
}


/* ============================================================
   GENERAL LAYOUT
   <= 1250px
   ============================================================ */

@media (max-width: 1250px) {

  :root {
    --section-pad: 64px 0;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img-wrap {
    max-width: 420px;
    margin: 0 auto;
  }

  /* Contact */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-panel {
    margin-top: 0;
  }

  .contact-accent {
    top: -14px;
    left: -14px;
    width: 44px;
    height: 44px;
  }

  /* Publications */
  .pub-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .publications-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .back-top {
    bottom: 68px;
    right: 12px;
  }
}


/* ============================================================
   TABLET
   <= 1100px
   ============================================================ */

@media (max-width: 1100px) {

  /* Services */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .attorneys-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Process */
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }

  .process-card {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .process-card:nth-child(2n) {
    border-right: none;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr 0.8fr;
    gap: 40px;
  }

  .hero-media {
    width: 50%;
  }
}


/* ============================================================
   SMALL TABLET
   <= 900px
   Hero becomes stacked
   ============================================================ */

@media (max-width: 900px) {

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .hero-title {
    text-align: center;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-text {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-media {
    position: static;
    width: 100%;
    height: auto;
  }

  .hero-media-frame {
    aspect-ratio: 16 / 9;
  }


  /* Attorneys */
  .attorneys-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .attorneys-side {
    display: contents;
  }

  .back-top {
    bottom: 68px;
    right: 12px;
  }
}

/* ============================================================
   ATTORNEYS — TABLET IMAGE FIX
   645px – 900px
   ============================================================ */

@media (min-width: 641px) and (max-width: 900px) {

  .attorney-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }

  .attorney-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

}


/* ============================================================
   MOBILE
   <= 640px
   ============================================================ */

@media (max-width: 640px) {

  :root {
    --nav-h: 70px;
  }

  .hero-cta {
    justify-content: left;
  }

  /* Navigation is handled above */

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Attorneys */
  .attorneys {
    padding-left: 20px;
    padding-right: 20px;
  }

  .attorneys-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .attorney-card {
    width: 100%;
    min-width: 0;
  }

  .attorney-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .attorney-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .attorney-body {
    padding: 24px;
  }

  .attorney-name {
    font-size: 1.2rem;
  }

  .attorney-desc {
    font-size: 0.88rem;
  }

  /* Process */
  .process-grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .process-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 24px;
  }

  .process-card:last-child {
    border-bottom: none;
    padding-bottom: 8px;
  }

  /* Publications */
  .pub-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* About */
  .about-features {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-intro {
    text-align: left;
    margin-bottom: 44px;
  }

  .contact-intro .gold-line {
    margin: 24px 0;
  }

  .contact-panel {
    padding: 40px 26px;
  }

  /* Hero */
  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    text-align: center;
    justify-content: center;
  }

  .hero-media-badge {
    left: 10px;
    max-width: calc(100% - 20px);
  }

  .about-img-badge {
    right: -8px;
    padding: 14px 16px;
  }
}

/* ============================================================
   MOBILE — SMALLER FLOATING BUTTONS, KEEP CONTENT
   ============================================================ */

@media (max-width: 640px) {

  .float-btns {
    right: 10px;
    bottom: 24px;
    gap: 7px;
  }

  .float-btn {
    min-width: 0;
    width: auto;
    height: 40px;
    padding: 0 16px;
    border-radius: 22px;
    font-size: 0.85rem;
    gap: 7px;
  }

  .float-btn img {
    width: 22px;
    height: 22px;
  }

  .back-top {
    right: 10px;
    bottom: 72px;
    width: 36px;
    height: 36px;
  }

  .back-top img {
    width: 16px;
    height: 16px;
  }
}


/* ============================================================
   SMALL MOBILE
   <= 520px
   ============================================================ */

@media (max-width: 520px) {

  /* Navigation is already handled by Stage 3 */

  .nav-right {
    gap: 0;
  }

  .back-top {
    bottom: 72px;
  }
}

/* ============================================================
   EXTRA SMALL MOBILE — FIX CONTENT WIDTH
   <= 400px
   ============================================================ */

@media (max-width: 400px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
  }

  #page,
  main,
  section,
  header,
  footer {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
  }

  .float-btns {
    right: 8px;
    bottom: 16px;
    gap: 6px;
  }

  .float-btn {
    height: 36px;
    padding: 0 13px;
    border-radius: 20px;
    font-size: 0.78rem;
    gap: 6px;
  }

  .float-btn img {
    width: 19px;
    height: 19px;
  }

  .back-top {
    right: 8px;
    bottom: 60px;
    width: 34px;
    height: 34px;
  }

  .back-top img {
    width: 15px;
    height: 15px;
  }
}