/* ============================================================
   EDMOND LAW — Global Stylesheet
   Architecture: Mobile-first · BEM-ish · CSS custom properties
   Single file shared across every page. No inline <style> blocks.
   ============================================================ */

/* ── 0. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Palette */
  --navy:        #0B1F3A;
  --navy-deep:   #061327;
  --steel:       #2E7BB8;
  --steel-light: #4A95D1;
  --gold:        #C9A961;
  --ivory:       #F7F4ED;
  --bone:        #EFEAE0;
  --ink:         #0A0A0A;
  --muted:       #5C6B7A;
  --line:        rgba(11,31,58,0.12);

  /* Shadows */
  --shadow-sm:   0 4px 20px -4px rgba(11,31,58,0.12);
  --shadow-md:   0 16px 40px -12px rgba(11,31,58,0.20);
  --shadow-lg:   0 30px 80px -20px rgba(11,31,58,0.25);

  /* Fonts */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Easing */
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:  cubic-bezier(0.4, 0, 1, 1);

  /* Layout */
  --section-pad: clamp(4.5rem, 9vw, 8rem);
  --container:   1240px;
}

/* ── 1. RESET & BASE ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
}

/* ── 2. TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy);
}

h1 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); }
h2 { font-size: clamp(2rem,   4.5vw, 3.4rem);  }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.3rem);  }

h1 em,
h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--steel-light);
}

p {
  font-size: clamp(1rem, 1.05vw, 1.075rem);
  color: #2A3540;
  line-height: 1.7;
}

/* Eyebrow label */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-block;
}

.eyebrow--gold  { color: var(--gold); }
.eyebrow--light { color: rgba(247,244,237,0.65); }

/* Gold accent line */
.gold-line {
  width: 36px;
  height: 1px;
  background: var(--gold);
  display: block;
  margin-bottom: 1.25rem;
}

/* ── 3. ACCESSIBILITY ───────────────────────────────────────── */
/* Skip to main content */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--navy);
  color: var(--ivory);
  padding: 0.75rem 1.25rem;
  z-index: 9999;
  border-radius: 3px;
  font-weight: 500;
  font-size: 0.875rem;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}

/* Focus ring on every interactive element */
:focus-visible {
  outline: 2px solid var(--steel-light);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── 4. LAYOUT ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-head {
  max-width: 700px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head .eyebrow { margin-bottom: 0.9rem; }
.section-head h2 { margin-top: 0.5rem; }
.section-head p  {
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Alternate section backgrounds */
.bg-ivory  { background: var(--ivory); }
.bg-bone   { background: var(--bone);  }
.bg-navy   { background: var(--navy);  color: var(--ivory); }
.bg-navy h2, .bg-navy h3 { color: var(--ivory); }
.bg-navy p  { color: rgba(247,244,237,0.72); }
.bg-navy .section-head p { color: rgba(247,244,237,0.72); }

/* ── 5. NAVIGATION ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(247,244,237,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav--scrolled {
  box-shadow: 0 4px 24px -8px rgba(11,31,58,0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav .nav-logo {
  width: clamp(170px, 23vw, 220px);
  gap: 0;
  line-height: 0;
}

.nav .nav-logo img {
  width: 100%;
  height: auto;
}

.nav-links {
  display: flex;
  gap: clamp(1.35rem, 2vw, 2rem);
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--navy);
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--steel);
  transition: width 0.4s var(--ease);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-links a[aria-current="page"] {
  color: var(--steel);
}

/* Nav CTA button */
.nav-cta {
  background: var(--navy) !important;
  color: var(--ivory) !important;
  padding: 0.7rem 1.4rem !important;
  border-radius: 2px;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.3s !important;
  white-space: nowrap;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover  { background: var(--steel) !important; transform: translateY(-1px); }
.nav-cta[aria-current="page"] { background: var(--steel) !important; }

/* Hamburger button */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.45rem;
  color: var(--navy);
  line-height: 0;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.menu-btn svg {
  width: 26px;
  height: 26px;
  pointer-events: none;
}

.menu-btn i {
  font-size: 1.25rem;
}

.menu-btn__close {
  display: none;
}

.menu-btn[aria-expanded="true"] .menu-btn__open {
  display: none;
}

.menu-btn[aria-expanded="true"] .menu-btn__close {
  display: block;
}

/* ── 6. BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1.05rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  border-radius: 1px;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--steel);
  color: var(--ivory);
  border-color: var(--steel);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--steel-light);
  border-color: var(--steel-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(46,123,184,0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(247,244,237,0.32);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(247,244,237,0.08);
  border-color: rgba(247,244,237,0.75);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--navy);
  color: var(--ivory);
  transform: translateY(-2px);
}

.btn i { font-size: 0.85em; }

/* ── 7. HERO — HOME ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 5.5rem;
  padding-bottom: 4rem;
  background: var(--navy-deep);
  color: var(--ivory);
  overflow: hidden;
}

.hero__carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__carousel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s linear;
  will-change: opacity;
}

.hero__carousel-image:first-child {
  opacity: 0.35;
}

.hero__carousel.hero__carousel--ready .hero__carousel-image:first-child {
  opacity: 0;
}

.hero__carousel.hero__carousel--ready .hero__carousel-image.is-active {
  opacity: 0.35;
}

/* Navy overlay + radial colour washes */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(6,19,39,0.82) 0%, rgba(11,31,58,0.82) 55%, rgba(16,45,82,0.82) 100%),
    radial-gradient(circle at 18% 28%, rgba(46,123,184,0.28), transparent 52%),
    radial-gradient(circle at 82% 72%, rgba(201,169,97,0.09), transparent 50%);
  pointer-events: none;
}

/* SVG grain noise overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.045;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-eyebrow {
  color: rgba(74,149,209,0.9);
  margin-bottom: 0.25rem;
}

.hero h1 {
  color: var(--ivory);
  margin: 1.25rem 0 1.6rem;
}

.hero h1 em {
  color: var(--steel-light);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  max-width: 540px;
  color: rgba(247,244,237,0.75);
  margin-bottom: 2.5rem;
  line-height: 1.72;
}

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

/* Pull-quote card */
.hero-card {
  background: rgba(247,244,237,0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(247,244,237,0.10);
  padding: 2.25rem;
  border-radius: 2px;
  max-width: 440px;
}

.hero-card .gold-line { margin-bottom: 1.1rem; }

.hero-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-style: italic;
  line-height: 1.45;
  color: rgba(247,244,237,0.88);
}

.hero-card cite {
  display: block;
  margin-top: 1.1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(247,244,237,0.42);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3;
}

.scroll-cue::after {
  content: '';
  width: 1px;
  height: 38px;
  background: rgba(247,244,237,0.35);
  animation: scroll-pulse 2.5s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50%       { opacity: 1;   transform: scaleY(1);   }
}

/* ── 8. HERO — PAGE (smaller interior pages) ────────────────── */
.page-hero {
  position: relative;
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 70%);
  color: var(--ivory);
  overflow: hidden;
}

.page-hero--image {
  background: var(--navy-deep);
}

.page-hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(6,19,39,0.88) 0%, rgba(11,31,58,0.84) 70%),
    radial-gradient(circle at 78% 28%, rgba(46,123,184,0.14), transparent 42%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.page-hero .eyebrow {
  color: rgba(74,149,209,0.85);
  margin-bottom: 1rem;
}

.page-hero h1 {
  color: var(--ivory);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.1;
}

.page-hero p {
  color: rgba(247,244,237,0.72);
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  margin-top: 1.2rem;
  max-width: 560px;
  line-height: 1.72;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,244,237,0.5);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: rgba(247,244,237,0.5);
  transition: color 0.3s;
}
.breadcrumb a:hover { color: var(--steel-light); }
.breadcrumb span { color: rgba(247,244,237,0.72); }
.breadcrumb i { font-size: 0.65em; }

/* ── 9. TRUST STRIP ─────────────────────────────────────────── */
.trust-strip {
  background: var(--navy);
  padding: 2.25rem 0;
  border-bottom: 1px solid rgba(247,244,237,0.06);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  text-align: center;
}

.trust-strip__item {
  border-right: 1px solid rgba(247,244,237,0.10);
}

.trust-strip__item:last-child,
.trust-strip__item:nth-child(2) {
  border-right: none;
}

.trust-strip__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--ivory);
  line-height: 1;
}

.trust-strip__label {
  display: block;
  font-size: 0.73rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,244,237,0.5);
  margin-top: 0.45rem;
}

/* ── 10. ABOUT PREVIEW (HOME) ───────────────────────────────── */
.about-preview {
  background: var(--ivory);
}

.about-preview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-preview__visual {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  max-height: 420px;
}

.about-preview__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  mix-blend-mode: luminosity;
}

.about-preview__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(6,19,39,0.82));
  color: var(--ivory);
}

.about-preview__overlay .gold-line { margin-bottom: 0.9rem; }

.about-preview__overlay p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--ivory);
}

.about-preview__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--navy);
  display: block;
  line-height: 1;
}

.stat__label {
  font-size: 0.73rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.45rem;
  display: block;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 1.75rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.25rem;
  transition: color 0.3s, border-color 0.3s;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--steel);
  border-color: var(--steel);
}

.text-link i { transition: transform 0.3s var(--ease); }
.text-link:hover i { transform: translateX(4px); }

/* ── 11. PRACTICE AREAS GRID (HOME) ─────────────────────────── */
.practice-grid-section {
  background: var(--bone);
}

.practice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.practice-card {
  background: var(--ivory);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
  position: relative;
  overflow: hidden;
  cursor: default;
  display: flex;
  flex-direction: column;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--steel);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.practice-card:hover,
.practice-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.practice-card:hover::before,
.practice-card:focus-within::before {
  transform: scaleX(1);
}

.practice-card__icon {
  font-size: 1.85rem;
  color: var(--steel);
  margin-bottom: 1.1rem;
  line-height: 1;
}

.practice-card__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--steel);
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

.practice-card h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  margin-bottom: 0.65rem;
}

.practice-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.practice-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color 0.3s;
}

.practice-card__more i {
  font-size: 0.9em;
  transition: transform 0.3s var(--ease);
}

.practice-card:hover .practice-card__more { color: var(--steel); }
.practice-card:hover .practice-card__more i { transform: translateX(4px); }

/* ── 12. WHY EDMOND LAW ─────────────────────────────────────── */
.why-section {
  background: var(--ivory);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.why-item {
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  position: relative;
  transition: box-shadow 0.4s var(--ease);
}

.why-item:hover { box-shadow: var(--shadow-md); }

.why-item__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46,123,184,0.08);
  border: 1px solid rgba(46,123,184,0.18);
  border-radius: 50%;
  margin-bottom: 1.25rem;
  position: relative;
}

.why-item__icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--steel);
}

.why-item h3 {
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
}

.why-item p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── 13. TEAM (HOME PREVIEW + TEAM PAGE) ────────────────────── */
.team-section {
  background: var(--navy);
}

.team-section .section-head h2 { color: var(--ivory); }
.team-section .section-head .eyebrow { color: var(--gold); }
.team-section .section-head p { color: rgba(247,244,237,0.65); }

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.team-card {
  text-align: left;
}

.team-card__photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(145deg, #1a3658, var(--steel));
  position: relative;
  overflow: hidden;
  margin-bottom: 1.4rem;
  border-radius: 2px;
  max-height: 340px;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(0.15);
  transition: transform 0.8s var(--ease);
}

.team-card:hover .team-card__photo img {
  transform: scale(1.04);
}

/* Initials fallback */
.team-card h3 {
  color: var(--ivory);
  font-size: clamp(1.4rem, 2vw, 1.65rem);
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-size: 0.73rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Short interior-page lead-in between a page hero and the main body content */
.page-intro {
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(1rem, 2.25vw, 1.5rem);
}

.attorney {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: var(--section-pad) 0;
  border-bottom: 1px solid var(--line);
}

.attorney:last-of-type { border-bottom: none; }

.attorney__photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(145deg, #1a3658, var(--steel));
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  max-width: 380px;
}

.attorney__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(0.1);
}

.attorney .eyebrow { margin-bottom: 0.65rem; }
.attorney h2 { margin-bottom: 0.3rem; }
.attorney__role { color: var(--steel); font-size: 1rem; margin-bottom: 1.75rem; letter-spacing: 0.04em; }
.attorney p { margin-bottom: 1rem; }
.attorney p:last-child { margin-bottom: 0; }

/* ── 14. TESTIMONIALS ───────────────────────────────────────── */
.testimonials-section {
  background: var(--ivory);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.review-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  background: var(--bone);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.review-badge:hover,
.review-badge:focus-visible {
  border-color: rgba(46,123,184,0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.review-badge__stars {
  display: inline-flex;
  gap: 0.3rem;
  color: var(--gold);
  font-size: 0.95rem;
}

.review-badge__score {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  line-height: 1;
  color: var(--navy);
}

.review-badge__source {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.t-card {
  padding: 2.25rem 2rem;
  background: var(--bone);
  border-left: 2px solid var(--steel);
  border-radius: 1px;
}

.t-card__quote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  font-style: italic;
  line-height: 1.52;
  color: var(--navy);
  margin-bottom: 1.35rem;
}

.t-card__accent {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 1rem;
}

.t-card__who {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.review-cta {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.review-cta p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.review-cta .btn {
  color: var(--navy);
}

/* ── 15. CTA BANNER ─────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--ivory);
  padding: clamp(4rem, 7vw, 7rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.cta-banner__inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.cta-banner .eyebrow {
  color: var(--gold);
  margin-bottom: 1rem;
}

.cta-banner h2 {
  color: var(--ivory);
  margin-bottom: 1.1rem;
}

.cta-banner p {
  color: rgba(247,244,237,0.7);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ── 16. FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  color: rgba(247,244,237,0.58);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  border-top: 1px solid rgba(247,244,237,0.06);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(247,244,237,0.08);
}

.footer__brand .nav-logo {
  color: var(--ivory);
  margin-bottom: 1rem;
  display: inline-flex;
}

.footer__brand p {
  color: rgba(247,244,237,0.55);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer__brand .footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(247,244,237,0.72);
  display: block;
  margin-bottom: 0.65rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1.4rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247,244,237,0.06);
  color: rgba(247,244,237,0.58);
  font-size: 0.9rem;
  transition: background 0.3s, color 0.3s;
}

.footer__social a:hover { background: var(--steel); color: var(--ivory); }

.footer__col h4 {
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer__col ul { display: grid; gap: 0.6rem; }

.footer__col ul li a {
  font-size: 0.88rem;
  color: rgba(247,244,237,0.58);
  transition: color 0.3s;
}

.footer__col ul li a:hover { color: var(--steel-light); }

.footer__contact { display: grid; gap: 0.9rem; }

.footer__contact dt {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.footer__contact dd {
  font-size: 0.88rem;
  color: rgba(247,244,237,0.65);
  line-height: 1.5;
}

.footer__contact dd a {
  color: rgba(247,244,237,0.65);
  transition: color 0.3s;
}

.footer__contact dd a:hover { color: var(--steel-light); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.4rem 0;
  font-size: 0.78rem;
  text-align: center;
}

.footer__bottom p { color: rgba(247,244,237,0.42); font-size: 0.78rem; }
.footer__bottom a { color: var(--steel-light); }

/* ── 17. ABOUT PAGE ─────────────────────────────────────────── */
.about-story {
  background: var(--ivory);
}

.about-story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-story__img {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  overflow: hidden;
  border-radius: 2px;
}

.about-story__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  mix-blend-mode: luminosity;
}

.about-story p { margin-bottom: 1.25rem; }
.about-story p:last-child { margin-bottom: 0; }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-item {
  padding: 1.75rem 1.5rem;
  background: var(--bone);
  border-top: 2px solid var(--steel);
}

.value-item h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.value-item p { font-size: 0.93rem; color: var(--muted); }

.approach-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: steps;
}

.approach-step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.75rem;
  background: var(--bone);
  counter-increment: steps;
}

.approach-step__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--steel);
  line-height: 1;
}

.approach-step h4 { margin-bottom: 0.45rem; }
.approach-step p  { font-size: 0.95rem; color: var(--muted); }

.pull-quote {
  background: var(--navy);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.pull-quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-style: italic;
  line-height: 1.38;
  color: var(--ivory);
  max-width: 820px;
}

.pull-quote blockquote .gold-line { margin-bottom: 1.5rem; }

.pull-quote cite {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── 18. PRACTICE AREAS PAGE ────────────────────────────────── */
.practice-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.practice-section:last-of-type { border-bottom: none; }

.practice-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.practice-section__grid > * {
  min-width: 0;
}

.practice-section__grid > :first-child {
  max-width: 100%;
}

.practice-section__icon {
  font-size: 2.5rem;
  color: var(--steel);
  margin-bottom: 1.1rem;
  line-height: 1;
}

.practice-section h2 {
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  margin-bottom: 1.25rem;
  max-width: 100%;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.practice-section p   { margin-bottom: 1.1rem; }
.practice-section p:last-of-type { margin-bottom: 0; }

.handles-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}

.handles-list li {
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.5rem 0 0.5rem 1.35rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.handles-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--steel);
  font-weight: 500;
}

/* ── 19. CONTACT PAGE ───────────────────────────────────────── */
.contact-section {
  background: var(--ivory);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info { display: grid; gap: 2rem; }

.contact-info__item {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  align-items: start;
}

.contact-info__item i {
  font-size: 1rem;
  color: var(--navy);
  margin-top: 0.15rem;
}

.contact-info__item dt {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.contact-info__item dd {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.45;
}

.contact-info__item dd a {
  color: var(--navy);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.contact-info__item dd a:hover { border-color: var(--steel); color: var(--steel); }

/* Form */
.contact-form {
  background: var(--ivory);
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.55rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1px;
  padding: 0.9rem 1rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem; /* ≥16px prevents iOS zoom */
  line-height: 1.5;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%235C6B7A' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(46,123,184,0.1);
}

.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #c0392b;
}

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

.form-group .error-msg {
  display: block;
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: 0.4rem;
}

.form-status {
  padding: 0.9rem 1.1rem;
  border-radius: 2px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: none;
}

.form-status--success {
  background: rgba(46,123,184,0.08);
  border: 1px solid rgba(46,123,184,0.3);
  color: var(--navy);
  display: block;
}

.form-status--error {
  background: rgba(192,57,43,0.08);
  border: 1px solid rgba(192,57,43,0.3);
  color: #7d1e1e;
  display: block;
}

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

.newsletter-form .form-group {
  flex: 1;
  min-width: 220px;
  margin-bottom: 0;
}

.newsletter-form .form-group input {
  display: block;
  min-height: 100%;
}

/* Temporary hidden state for sections pending activation */
[data-feature-state="pending"] {
  display: none !important;
}

/* Map strip */
.map-strip {
  height: 380px;
  background: #0a1929;
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

.map-strip iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
  display: block;
}

/* FAQ accordion */
.faq-section {
  background: var(--bone);
}

.faq-list {
  display: grid;
  gap: 0;
  max-width: 780px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child { border-top: 1px solid var(--line); }

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  user-select: none;
  min-height: 44px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--steel);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details > p,
.faq-list details > div {
  padding: 0.25rem 0 1.4rem;
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.72;
}

/* ── 20. BLOG ────────────────────────────────────────────────── */
.blog-hero { background: var(--navy); }

.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.post-card {
  display: block;
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 2rem 1.75rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--steel);
}

.post-card__meta {
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.post-card h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.post-card:hover h2 { color: var(--steel); }

.post-card p {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.65;
}

.post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.post-card:hover .post-card__more { color: var(--steel); }

/* Featured post card */
.post-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  border: none;
  background: var(--navy);
  color: var(--ivory);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.post-featured__media {
  overflow: hidden;
  border-radius: 2px;
}

.post-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-featured__body {
  display: grid;
  align-content: start;
}

.post-featured h2 { color: var(--ivory); }
.post-featured p  { color: rgba(247,244,237,0.7); }
.post-featured .post-card__more { color: var(--steel-light); }

/* Blog article */
.blog-article {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.article-wrap {
  max-width: 740px;
  margin: 0 auto;
}

.article-wrap .post-meta {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.article-wrap h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-bottom: 1.25rem;
}

.article-lede {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-style: italic;
  color: var(--muted);
  line-height: 1.6;
  padding-left: 1.25rem;
  border-left: 2px solid var(--gold);
  margin-bottom: 3rem;
}

.article-body h2 {
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  margin: 2.75rem 0 0.9rem;
}

.article-body h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  margin: 2rem 0 0.7rem;
}

.article-body p { margin-bottom: 1.25rem; }

.article-body ul,
.article-body ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0.75rem 0 1.5rem;
}

.article-body ol { list-style: decimal; }

.article-body li { margin-bottom: 0.45rem; font-size: 1.05rem; }

.article-body strong { color: var(--navy); font-weight: 600; }

.article-cta {
  margin-top: 3.5rem;
  padding: 2.25rem;
  background: var(--navy);
  border-radius: 2px;
  text-align: center;
}

.article-cta h3 {
  color: var(--ivory);
  font-size: 1.6rem;
  margin-bottom: 0.65rem;
}

.article-cta p {
  color: rgba(247,244,237,0.72);
  margin-bottom: 1.5rem;
}

/* ── 21. 404 PAGE ────────────────────────────────────────────── */
.not-found {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.not-found::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(247,244,237,0.88) 0%, rgba(247,244,237,0.94) 100%);
  z-index: 1;
}

.not-found__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.not-found__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: saturate(0.8);
}

.not-found__inner {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.not-found__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 600;
  color: var(--steel);
  line-height: 1;
  opacity: 0.25;
  display: block;
  margin-bottom: 0.5rem;
}

.not-found h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.not-found p {
  color: var(--muted);
  margin-bottom: 2rem;
}

/* ── 22. FLOATING WHATSAPP ──────────────────────────────────── */
.call-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  background: var(--navy);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -5px rgba(11,31,58,0.35);
  z-index: 190;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  color: var(--ivory);
  font-size: 1.65rem;
}

.call-float:hover,
.call-float:focus-visible {
  transform: scale(1.09);
  box-shadow: 0 14px 36px -6px rgba(11,31,58,0.45);
}

.call-float.is-hidden {
  opacity: 0;
  transform: translateY(1rem) scale(0.92);
  pointer-events: none;
}

/* ── 23. SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Stagger delays — apply to children via JS class or manually */
.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; }

/* ── 24. UTILITIES ──────────────────────────────────────────── */
/* Visually hidden but announced by screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}


.text-center { text-align: center; }
.text-center .section-head { margin-left: auto; margin-right: auto; }

.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2.5rem; }
.mt-5  { margin-top: 4rem; }

.mb-0  { margin-bottom: 0; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2.5rem; }

/* ── 25. RESPONSIVE — TABLET 768px ─────────────────────────── */
@media (min-width: 768px) {
  .page-intro + section {
    padding-top: clamp(3rem, 4.75vw, 4.75rem);
  }

  .page-intro + section .attorney:first-of-type {
    padding-top: 0;
  }

  /* Trust strip */
  .trust-strip__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .trust-strip__item:nth-child(2) { border-right: 1px solid rgba(247,244,237,0.10); }
  .trust-strip__item:last-child { border-right: none; }

  /* About preview */
  .about-preview__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .about-preview__visual { max-height: none; }

  /* Practice grid */
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Why section */
  .why-grid { grid-template-columns: repeat(3, 1fr); }

  /* Team grid */
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 860px;
  }

  /* Testimonials */
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__brand { grid-column: 1; }

  /* Attorney detail */
  .attorney {
    grid-template-columns: 340px 1fr;
    gap: 4rem;
  }

  /* Attorney alternating layout */
  .attorney:nth-child(even) .attorney__photo { order: 2; }
  .attorney:nth-child(even) .attorney__text  { order: 1; }

  /* About story */
  .about-story__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  /* Approach steps */
  .approach-steps { grid-template-columns: repeat(3, 1fr); }

  /* Values */
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr 1.2fr; }

  /* Practice section */
  .practice-section__grid {
    grid-template-columns: minmax(320px, 360px) minmax(0, 1fr);
    gap: clamp(2.25rem, 4vw, 3.5rem);
  }

  /* Handles list */
  .handles-list { grid-template-columns: 1fr 1fr; }

  /* Post grid */
  .post-grid { grid-template-columns: repeat(2, 1fr); }

  .post-featured {
    grid-template-columns: minmax(240px, 0.9fr) 1.1fr;
    align-items: center;
  }

  /* Footer bottom */
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ── 26. RESPONSIVE — SMALL LAPTOP 980px ───────────────────── */
@media (min-width: 980px) {
  /* Nav: show full links, hide hamburger */
  .nav-links { display: flex !important; position: static; flex-direction: row; background: none; padding: 0; border: none; box-shadow: none; }
  .menu-btn  { display: none !important; }

  /* Hero grid */
  .hero-grid { grid-template-columns: 1.4fr 0.9fr; gap: 4rem; }

  /* Practice grid */
  .practice-grid { grid-template-columns: repeat(3, 1fr); }

  /* Footer */
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; }
}

/* ── 27. RESPONSIVE — DESKTOP 1200px ───────────────────────── */
@media (min-width: 1200px) {
  .team-grid { max-width: none; }
}

/* ── 28. MOBILE OVERRIDES (<980px) ─────────────────────────── */
@media (max-width: 979px) {
  /* Hamburger visible, links hidden by default */
  .menu-btn { display: flex; }

  .nav .nav-logo {
    width: clamp(162px, 44vw, 202px);
    margin-left: 0.25rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    flex-direction: column;
    padding: 1.5rem 1.25rem;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -10px rgba(11,31,58,0.14);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 0.85rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav-links a:last-child { border-bottom: none; }

  .nav-cta {
    margin-top: 1rem;
    justify-content: center;
    text-align: center;
    border-radius: 2px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn { justify-content: center; }

  .scroll-cue { display: none; }

  .map-strip { height: 280px; }

  .call-float { width: 54px; height: 54px; bottom: 1rem; right: 1rem; font-size: 1.35rem; }
}

@media (max-width: 540px) {
  /* Very small phones */
  .about-preview__stats { grid-template-columns: 1fr; gap: 1.25rem; }

  .hero-card { padding: 1.5rem; }

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

  .approach-step {
    grid-template-columns: 2rem 1fr;
    gap: 0.9rem;
  }

  .contact-form { padding: 1.5rem 1.25rem; }

  .trust-strip__grid { gap: 1rem 1.5rem; }
}

@media (max-width: 767px) {
  .reveal {
    transform: none;
  }

  .hero__carousel-image--desktop {
    display: none;
  }
}

/* ── 29. NO-JS FALLBACK ─────────────────────────────────────── */
/* If JS is disabled, reveal elements are visible */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ── 30. REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__carousel-image {
    animation-play-state: paused;
  }

  .hero__carousel-image:not(:first-child) {
    display: none;
  }

  .call-float {
    display: flex;
  }

  html { scroll-behavior: auto; }
}
