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

:root {
  --navy: #0f1a2e;
  --navy-2: #14243d;
  --navy-3: #1c3050;
  --cream: #f5f2ec;
  --cream-2: #ece7dd;
  --cream-3: #ddd5c6;
  --ink: #1a1a1a;
  --ink-soft: #363636;
  --ink-muted: #6e6a60;
  --ink-dim: #96908a;
  --gold: #c9a961;
  --gold-hover: #b59750;
  --gold-soft: rgba(201, 169, 97, 0.1);
  --gold-line: rgba(201, 169, 97, 0.35);
  --text-on-navy: #eae6de;
  --text-on-navy-muted: rgba(234, 230, 222, 0.65);
  --text-on-navy-dim: rgba(234, 230, 222, 0.4);
  --border: rgba(26, 26, 26, 0.12);
  --border-strong: rgba(26, 26, 26, 0.22);
  --border-navy: rgba(234, 230, 222, 0.15);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

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

button {
  font-family: inherit;
  cursor: none;
  border: none;
  background: none;
  color: inherit;
}

select {
  font-family: inherit;
  cursor: none;
  -webkit-appearance: none;
  appearance: none;
}

::selection { background: var(--gold); color: var(--navy); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--border-strong); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ============================================
   GRAIN
============================================ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.35;
  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.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.09 0 0 0 0 0.07 0 0 0 0.07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ============================================
   PROGRESS BAR
============================================ */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--gold);
  z-index: 10002;
  transition: width 0.1s linear;
}

/* ============================================
   CURSOR
============================================ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
              background 0.3s var(--ease), border-color 0.3s var(--ease);
  mix-blend-mode: difference;
}

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}

.cursor.hover {
  width: 68px;
  height: 68px;
  background: var(--gold-soft);
  border-color: var(--gold);
}

@media (max-width: 900px) {
  body, button, select { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
}

/* ============================================
   PRELOADER
============================================ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s var(--ease), visibility 1s var(--ease);
}
.preloader.hide { opacity: 0; visibility: hidden; }

.preloader-inner { text-align: center; }

.preloader-mark {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--gold-line);
  display: inline-block;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 0.2s both;
}

.preloader-text {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--text-on-navy);
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 0.5s both;
}

.preloader-sub {
  font-size: 0.68rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-on-navy-dim);
  opacity: 0;
  animation: fadeIn 1s var(--ease) 0.8s both;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes lineUp { to { transform: translateY(0); } }

/* ============================================
   HEADER
============================================ */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.6rem 3rem;
  transition: all 0.5s var(--ease);
}

.header.scrolled {
  padding: 1rem 3rem;
  background: rgba(15, 26, 46, 0.92);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border-navy);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1500px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text-on-navy);
}

.logo-mark {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--gold-line);
  line-height: 1;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav { display: flex; gap: 2.2rem; }

.nav-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-on-navy-muted);
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav-link:hover { color: var(--text-on-navy); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--text-on-navy); }
.nav-link.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--text-on-navy);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  .header { padding: 1.1rem 1.5rem; }
  .header.scrolled { padding: 0.9rem 1.5rem; }
  .header-actions .btn { display: none; }
  .menu-toggle { display: flex; z-index: 110; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.6s var(--ease);
    z-index: 105;
  }
  .nav.open { transform: translateX(0); }
  .nav-link {
    font-size: 1.4rem;
    font-family: var(--font-serif);
    text-transform: none;
    letter-spacing: 0.01em;
    color: var(--text-on-navy);
    font-weight: 400;
  }
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  background: transparent;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
}

.btn-sm { padding: 0.7rem 1.2rem; font-size: 0.68rem; }
.btn-lg { padding: 1.1rem 2rem; font-size: 0.75rem; }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(201, 169, 97, 0.4);
}

.btn-ghost {
  border-color: rgba(234, 230, 222, 0.3);
  color: var(--text-on-navy);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn svg { transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy);
  color: var(--text-on-navy);
  display: flex;
  align-items: center;
  padding: 9rem 3rem 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -5%;
  background-image: url("https://images.unsplash.com/photo-1589391886645-d51941baf7fb?w=2200&q=80");
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  filter: grayscale(60%) brightness(0.7);
  will-change: transform;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(15, 26, 46, 0.95) 0%,
    rgba(15, 26, 46, 0.75) 50%,
    rgba(15, 26, 46, 0.92) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease) 0.9s forwards;
}

.badge-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6.5vw, 6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--text-on-navy);
  margin-bottom: 2rem;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 1.3s var(--ease) forwards;
}
.hero-title .line:nth-child(1) > span { animation-delay: 1.1s; }
.hero-title .line:nth-child(2) > span { animation-delay: 1.25s; }
.hero-title .line:nth-child(3) > span { animation-delay: 1.4s; }

.hero-title .italic {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-on-navy-muted);
  max-width: 620px;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease) 1.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease) 1.9s forwards;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-navy);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s var(--ease) 2.1s forwards;
}

.hero-stat { display: flex; flex-direction: column; gap: 0.4rem; }

.hero-stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.01em;
}

.hero-stat-lbl {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-on-navy-dim);
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-navy);
}

@media (max-width: 900px) {
  .hero { padding: 7rem 1.5rem 4rem; min-height: auto; }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
  }
  .hero-stat-divider { display: none; }
}

/* ============================================
   TRUST BAR
============================================ */
.trust {
  background: var(--cream-2);
  padding: 2rem 3rem;
  border-bottom: 1px solid var(--border);
}

.trust-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: center;
}

.trust-label {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.trust-list {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink);
  opacity: 0.7;
}
.trust-dot { color: var(--gold); }

@media (max-width: 700px) {
  .trust { padding: 1.5rem; }
  .trust-inner { gap: 1rem; }
  .trust-list { font-size: 0.95rem; gap: 0.6rem; }
}

/* ============================================
   SECTION SHARED
============================================ */
section { padding: 7rem 3rem; position: relative; }

.section-head {
  max-width: 1400px;
  margin: 0 auto 4rem;
}

.section-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  padding-right: 1rem;
  border-right: 1px solid var(--gold-line);
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.2rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--ink-muted);
  max-width: 480px;
}

@media (max-width: 900px) {
  section { padding: 5rem 1.5rem; }
}

/* ============================================
   PRACTICE AREAS
============================================ */
.practice { background: var(--cream); }

.practice-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}

.practice-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease);
  cursor: none;
}

.practice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
  z-index: 0;
}

.practice-card:hover::before { transform: translateY(0); }
.practice-card > * { position: relative; z-index: 1; transition: color 0.4s var(--ease); }

.practice-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 2rem;
}

.practice-card h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.practice-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

.practice-arrow {
  color: var(--ink);
  transition: transform 0.4s var(--ease);
}

.practice-card:hover h3 { color: var(--text-on-navy); }
.practice-card:hover p { color: var(--text-on-navy-muted); }
.practice-card:hover .practice-arrow {
  color: var(--gold);
  transform: translateX(6px);
}

@media (max-width: 900px) {
  .practice-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FIRM
============================================ */
.firm {
  background: var(--cream-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.firm-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: center;
}

.firm-image {
  position: relative;
  overflow: hidden;
}
.firm-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  filter: grayscale(30%) contrast(1.02);
  transition: filter 1.2s var(--ease), transform 1.6s var(--ease);
}
.firm-image:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}
.firm-image-frame {
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  transform: translate(14px, 14px);
  z-index: -1;
  transition: transform 0.5s var(--ease);
  pointer-events: none;
}
.firm-image:hover .firm-image-frame { transform: translate(7px, 7px); }

.firm-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.3rem;
  max-width: 560px;
}

.firm-principles {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.principle {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.principle-mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
  padding-top: 0.15rem;
  min-width: 40px;
  border-top: 1px solid var(--gold);
}

.principle h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.3rem;
  letter-spacing: -0.005em;
}

.principle p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .firm-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ============================================
   ATTORNEYS
============================================ */
.attorneys { background: var(--cream); }

.attorneys-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.attorney {
  cursor: none;
}

.attorney-image {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 1.5rem;
  background: var(--cream-3);
}

.attorney-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transition: filter 0.8s var(--ease), transform 1.2s var(--ease);
}

.attorney:hover .attorney-image img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.attorney-info h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.attorney-role {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.attorney-bio {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .attorneys-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 550px) {
  .attorneys-grid { grid-template-columns: 1fr; }
}

/* ============================================
   RESULTS
============================================ */
.results {
  background: var(--navy);
  color: var(--text-on-navy);
}

.results-inner { max-width: 1300px; margin: 0 auto; }

.results .section-num {
  color: var(--gold);
  border-color: var(--gold-line);
}
.results .section-label { color: var(--text-on-navy-dim); }

.results-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-on-navy);
  margin-bottom: 4rem;
}
.results-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-navy);
  border-left: 1px solid var(--border-navy);
}

.result-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border-navy);
  border-bottom: 1px solid var(--border-navy);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: background 0.4s var(--ease);
}
.result-item:hover {
  background: rgba(201, 169, 97, 0.05);
}

.result-num {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.result-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-on-navy-muted);
  max-width: 380px;
}

.results-disclaimer {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  color: var(--text-on-navy-dim);
  font-style: italic;
  max-width: 700px;
}

@media (max-width: 700px) {
  .results-grid { grid-template-columns: 1fr; }
}

/* ============================================
   TESTIMONIALS
============================================ */
.testimonials {
  background: var(--cream-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonials-inner { max-width: 1000px; margin: 0 auto; }

.testimonial-slider { position: relative; overflow: hidden; margin-top: 2rem; }

.testimonial-track {
  display: flex;
  transition: transform 0.8s var(--ease);
}

.testimonial {
  min-width: 100%;
  padding: 1rem 1rem;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 1.5rem;
  height: 2rem;
}

.testimonial p {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 2rem;
  letter-spacing: -0.005em;
}

.testimonial-author {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 3rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: all 0.4s var(--ease);
  cursor: none;
}
.dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}

/* ============================================
   INSIGHTS
============================================ */
.insights { background: var(--cream); }

.insights-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.insight {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-strong);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  cursor: none;
}
.insight:hover {
  border-color: var(--gold);
  background: var(--cream-2);
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -20px rgba(26, 26, 26, 0.15);
}

.insight-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.insight-cat {
  color: var(--gold);
  font-weight: 600;
}
.insight-date {
  color: var(--ink-muted);
}

.insight h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease);
}
.insight:hover h3 { color: var(--gold); }

.insight p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-muted);
  flex: 1;
}

.insight-read {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-weight: 600;
  transition: color 0.3s var(--ease), letter-spacing 0.4s var(--ease);
}
.insight:hover .insight-read {
  color: var(--gold);
  letter-spacing: 0.28em;
}

@media (max-width: 900px) {
  .insights-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CONTACT============================================ */
.contact {
  background: var(--navy);
  color: var(--text-on-navy);
}

.contact-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6rem;
}

.contact .section-num {
  color: var(--gold);
  border-color: var(--gold-line);
}
.contact .section-label { color: var(--text-on-navy-dim); }

.contact .section-title {
  color: var(--text-on-navy);
}

.contact-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-on-navy-muted);
  margin-top: 1.5rem;
  margin-bottom: 3rem;
  max-width: 480px;
}

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

.detail-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-navy);
}

.detail-label {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-on-navy-dim);
}

.detail-block p,
.detail-block a {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--text-on-navy);
}
.detail-block a {
  transition: color 0.3s var(--ease);
  width: fit-content;
}
.detail-block a:hover { color: var(--gold); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.field label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-on-navy-dim);
}

.field input,
.field textarea,
.field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-navy);
  padding: 0.7rem 0;
  color: var(--text-on-navy);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  transition: border-color 0.4s var(--ease);
  resize: none;
  width: 100%;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-on-navy-dim);
  font-style: italic;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9a961' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 2rem;
  cursor: none;
}

.field select option {
  background: var(--navy);
  color: var(--text-on-navy);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.15rem 2rem;
  margin-top: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: all 0.4s var(--ease);
  align-self: flex-start;
}
.btn-submit:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px -10px rgba(201, 169, 97, 0.4);
}
.btn-submit svg { transition: transform 0.4s var(--ease); }
.btn-submit:hover svg { transform: translateX(4px); }

.form-note {
  font-size: 0.72rem;
  color: var(--text-on-navy-dim);
  line-height: 1.5;
  font-style: italic;
  margin-top: -0.5rem;
  max-width: 500px;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
  .field-row { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--navy);
  color: var(--text-on-navy-muted);
  padding: 5rem 3rem 2rem;
  border-top: 1px solid var(--border-navy);
}

.footer-inner {
  max-width: 1500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-navy);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.footer-mark {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--gold-line);
  line-height: 1;
  flex-shrink: 0;
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-on-navy);
  letter-spacing: 0.01em;
  margin-bottom: 0.2rem;
}

.footer-tag {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-on-navy-dim);
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col-label {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.footer-col a,
.footer-col p {
  font-size: 0.9rem;
  color: var(--text-on-navy-muted);
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1500px;
  margin: 2.5rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-on-navy-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  transition: color 0.3s var(--ease);
}
.footer-bottom-links a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .footer { padding: 4rem 1.5rem 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================
   REVEAL
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
/* ============================================================
   PREMIUM ENHANCEMENTS
   Added layer: depth, micro-interactions, richer detail
============================================================ */

:root {
  --gold-grad: linear-gradient(115deg, #a9822f 0%, #e6cd8f 28%, #c9a961 50%, #f3e2b3 66%, #a9822f 100%);
  --shadow-soft: 0 20px 60px -25px rgba(15, 26, 46, 0.25);
  --shadow-lift: 0 30px 80px -30px rgba(15, 26, 46, 0.35);
  --shadow-gold: 0 20px 50px -18px rgba(201, 169, 97, 0.45);
}

::selection { background: var(--gold); color: var(--navy); }

/* Subtle ambient depth behind light sections */
body {
  background:
    radial-gradient(ellipse 900px 500px at 8% 0%, rgba(201, 169, 97, 0.05), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 30%, rgba(15, 26, 46, 0.035), transparent 60%),
    var(--cream);
}

/* ---------- Buttons: shine sweep ---------- */
.btn, .btn-submit {
  isolation: isolate;
}
.btn::before, .btn-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.35) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
  z-index: -1;
  pointer-events: none;
}
.btn:hover::before, .btn-submit:hover::before { transform: translateX(120%); }

.btn-primary, .btn-submit {
  box-shadow: 0 10px 26px -12px rgba(201, 169, 97, 0.5);
}
.btn-primary:hover, .btn-submit:hover {
  box-shadow: var(--shadow-gold);
}

/* ---------- Hero: metallic gold title + ambient glow ---------- */
.hero-title .italic {
  background: var(--gold-grad);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero::after {
  content: "";
  position: absolute;
  top: -10%;
  right: -6%;
  width: 42vw;
  height: 42vw;
  max-width: 620px;
  max-height: 620px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.16) 0%, transparent 68%);
  pointer-events: none;
  z-index: 1;
  filter: blur(10px);
}

.hero-stat-num { font-variant-numeric: tabular-nums; }

/* ---------- Trust bar ---------- */
.trust {
  background: linear-gradient(180deg, var(--cream-2), var(--cream-2) 100%);
  position: relative;
}
.trust-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-hover);
}
.trust-label svg { flex-shrink: 0; }
.trust-list span:not(.trust-dot) {
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
  opacity: 0.72;
}
.trust-list span:not(.trust-dot):hover { opacity: 1; color: var(--gold-hover); }

/* ---------- Practice cards: elevated, iconed, glow border ---------- */
.practice-grid { border-top: none; border-left: none; gap: 1px; background: var(--border-strong); box-shadow: var(--shadow-soft); }
.practice-card {
  background: var(--cream);
  border: none;
  transform-style: preserve-3d;
  will-change: transform;
}
.practice-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.practice-num { margin-bottom: 0; }
.practice-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-hover);
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  transition: all 0.4s var(--ease);
}
.practice-card:hover .practice-icon {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: rotate(-8deg) scale(1.06);
}
.practice-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold-grad);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
  z-index: 2;
}
.practice-card:hover::after { transform: scaleX(1); }

/* ---------- Firm image floating badge ---------- */
.firm-image { position: relative; }
.firm-badge {
  position: absolute;
  left: -1.5rem;
  bottom: -1.5rem;
  background: var(--navy);
  color: var(--text-on-navy);
  padding: 1.3rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--gold-line);
  z-index: 2;
}
.firm-badge-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.firm-badge-lbl {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-navy-dim);
}
@media (max-width: 900px) {
  .firm-badge { left: 1rem; bottom: -1.2rem; padding: 1rem 1.2rem; }
}

/* ---------- Attorneys: overlay + lift ---------- */
.attorney { transition: transform 0.5s var(--ease); }
.attorney:hover { transform: translateY(-6px); }
.attorney-image { position: relative; box-shadow: var(--shadow-soft); }
.attorney-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 26, 46, 0.75) 100%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.attorney:hover .attorney-overlay { opacity: 1; }
.attorney-overlay a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(10px);
  transition: transform 0.45s var(--ease) 0.05s;
}
.attorney:hover .attorney-overlay a { transform: translateY(0); }

/* ---------- Results: lift + inner glow ---------- */
.results-grid { border-top: none; border-left: none; gap: 1px; background: var(--border-navy); }
.result-item { background: var(--navy); }
.result-item:hover {
  background: rgba(201, 169, 97, 0.08);
  box-shadow: inset 0 0 0 1px var(--gold-line);
}

/* ---------- Testimonials: elevated card ---------- */
.testimonials-inner { position: relative; }
.testimonial {
  background: var(--cream);
  padding: 3rem 3.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}
.testimonial-foot {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  margin-top: 2.5rem;
}
.testimonial-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.35s var(--ease);
  flex-shrink: 0;
}
.testimonial-arrow:hover {
  border-color: var(--gold);
  color: var(--gold-hover);
  background: var(--gold-soft);
  transform: scale(1.06);
}
@media (max-width: 700px) {
  .testimonial { padding: 2.2rem 1.6rem; }
}

/* ---------- Insights ---------- */
.insight { background: var(--cream); box-shadow: 0 0 0 rgba(0,0,0,0); }
.insight::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-grad);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.insight:hover::before { transform: scaleX(1); }

/* ---------- Contact form: refined focus + success ---------- */
.field { position: relative; }
.field input, .field textarea, .field select { padding-bottom: 0.8rem; }
.field input:focus, .field textarea:focus, .field select:focus {
  box-shadow: 0 1px 0 0 var(--gold);
}
.btn-submit[disabled] { opacity: 0.6; pointer-events: none; }

.form-success {
  display: none;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-top: -0.5rem;
}
.form-success.show {
  display: flex;
  animation: fadeUp 0.6s var(--ease) both;
}
.form-success svg { flex-shrink: 0; color: var(--gold); }

/* ---------- Footer social ---------- */
.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.9rem;
}
.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-navy-muted);
  transition: all 0.35s var(--ease);
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  border: 1px solid var(--gold-line);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s, background 0.3s var(--ease);
  box-shadow: var(--shadow-soft);
  cursor: none;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--navy); }
@media (max-width: 900px) {
  .back-to-top { right: 1.2rem; bottom: 1.2rem; width: 44px; height: 44px; }
}

/* ---------- Staggered reveal for grids ---------- */
.practice-grid .reveal:nth-child(1) { transition-delay: 0.02s; }
.practice-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.practice-grid .reveal:nth-child(3) { transition-delay: 0.14s; }
.practice-grid .reveal:nth-child(4) { transition-delay: 0.02s; }
.practice-grid .reveal:nth-child(5) { transition-delay: 0.08s; }
.practice-grid .reveal:nth-child(6) { transition-delay: 0.14s; }

.attorneys-grid .reveal:nth-child(1) { transition-delay: 0.02s; }
.attorneys-grid .reveal:nth-child(2) { transition-delay: 0.09s; }
.attorneys-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.attorneys-grid .reveal:nth-child(4) { transition-delay: 0.23s; }

.insights-grid .reveal:nth-child(1) { transition-delay: 0.02s; }
.insights-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.insights-grid .reveal:nth-child(3) { transition-delay: 0.18s; }

/* ---------- Section number glow ---------- */
.section-num { text-shadow: 0 0 24px rgba(201, 169, 97, 0.35); }

/* ---------- Scrollbar refine ---------- */
::-webkit-scrollbar-thumb { border-radius: 8px; }

