/* ============================================================
   Trépanier Law Group APC — Design System
   ============================================================ */

/* ─── Google Fonts ─────────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap");

/* ─── Design Tokens ────────────────────────────────────────── */
:root {
  --bg: #08080c;
  --bg-1: #0d0d13;
  --bg-2: #111119;
  --bg-3: #16161f;

  --gold: #b89040;
  --gold-light: #cda852;
  --gold-bright: #d8bc6a;
  --gold-dim: rgba(184, 144, 64, 0.22);
  --gold-glow: rgba(184, 144, 64, 0.07);

  --cream: #ede4d3;
  --cream-2: #ffffff;
  --cream-3: #ffffff;
  --muted: rgba(237, 228, 211, 0.55);

  --border: rgba(184, 144, 64, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.055);

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h: 76px;
  --max-w: 1280px;
  --text-w: 780px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
ul,
ol {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
input,
textarea,
select {
  font-family: inherit;
}

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

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(184, 144, 64, 0.4);
}

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

/* ─── Grain Texture Overlay ────────────────────────────────── */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 9998;
}

/* ─── Typography ────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.85;
  color: var(--cream-2);
  font-weight: 300;
}

/* ─── Layout ────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.container--narrow {
  max-width: 960px;
}
.container--text {
  max-width: var(--text-w);
}

/* ─── Gold Rule ─────────────────────────────────────────────── */
.rule {
  display: block;
  height: 1px;
  background: var(--gold);
  width: 52px;
}
.rule--wide {
  width: 110px;
}
.rule--full {
  width: 100%;
  background: var(--border);
}

/* ─── Header / Nav ──────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 200;
  transition:
    background 0.45s var(--ease-inout),
    border-color 0.45s var(--ease-inout),
    backdrop-filter 0.45s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(8, 8, 12, 0.93);
  border-color: var(--border);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  transition: opacity 0.25s;
}
.logo:hover {
  opacity: 0.85;
}

.logo__monogram {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--gold);
  line-height: 1;
  position: relative;
}

.logo__monogram::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

.logo__sep {
  width: 1px;
  height: 26px;
  background: var(--border);
  flex-shrink: 0;
}

.logo__text {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-2);
  line-height: 1.4;
  white-space: nowrap;
}

.logo__text span {
  color: var(--muted);
}

/* Desktop Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-3);
  padding: 0.5rem 0.85rem;
  position: relative;
  transition: color 0.25s;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--cream);
}
.nav-link:hover::after {
  width: calc(100% - 1.7rem);
}
.nav-link.active {
  color: var(--cream);
}
.nav-link.active::after {
  width: calc(100% - 1.7rem);
}

.nav-link--cta {
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 0.45rem 1.15rem;
  margin-left: 0.4rem;
  transition:
    color 0.25s,
    background 0.25s,
    border-color 0.25s;
}
.nav-link--cta::after {
  display: none;
}
.nav-link--cta:hover {
  background: var(--gold-dim);
  border-color: rgba(184, 144, 64, 0.5);
  color: var(--gold-bright);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 201;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--cream);
  transition:
    transform 0.35s var(--ease-out),
    opacity 0.25s;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 12, 0.98);
  z-index: 199;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

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

.nav-overlay .nav-link {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--cream-2);
  padding: 0.6rem 1.5rem;
  transition: color 0.25s;
}

.nav-overlay .nav-link:hover {
  color: var(--gold);
}
.nav-overlay .nav-link::after {
  display: none;
}

.nav-overlay .nav-link--cta {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  border: 1px solid var(--border);
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
}

/* ─── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 5.5rem) 0 5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 80% at 90% 50%,
    rgba(184, 144, 64, 0.05) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.page-hero__eyebrow {
  margin-bottom: 1.75rem;
}

.page-hero__title {
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1;
  margin-bottom: 2rem;
}

.page-hero__title em {
  font-style: italic;
  color: var(--cream-2);
}

.page-hero__subtitle {
  font-size: clamp(1.25rem, 1.9vw, 1.45rem);
  color: var(--cream-3);
  max-width: 520px;
  line-height: 1.8;
  font-weight: 300;
}

/* ─── Home Hero ─────────────────────────────────────────────── */
.home-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 75% 55% at 72% 38%,
      rgba(184, 144, 64, 0.07) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 70% at 15% 75%,
      rgba(184, 144, 64, 0.035) 0%,
      transparent 60%
    );
  pointer-events: none;
}

.home-hero__deco {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(560px, 78vmin, 880px);
  aspect-ratio: 1 / 1;
  pointer-events: none;
  user-select: none;
  opacity: 0.42;
}

.home-hero__deco svg {
  width: 100%;
  height: 100%;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-hero__top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.home-hero__top-rule {
  display: block;
  width: 44px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--gold) 50%,
    transparent
  );
  opacity: 0.7;
}

.home-hero__crest {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.home-hero__crest::before,
.home-hero__crest::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(28px, 6vw, 60px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim));
  opacity: 0.55;
}

.home-hero__crest::before {
  right: calc(100% + 1.25rem);
  background: linear-gradient(to left, var(--gold-dim), transparent);
}

.home-hero__crest::after {
  left: calc(100% + 1.25rem);
}

.home-hero__logo {
  display: block;
  width: clamp(260px, 46vw, 540px);
  height: auto;
}

.home-hero__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: min(420px, 70%);
  margin-bottom: 2.25rem;
  color: var(--gold);
}

.home-hero__divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--gold) 50%,
    transparent
  );
  opacity: 0.55;
}

.home-hero__divider-mark {
  width: 12px;
  height: 12px;
  flex: none;
  opacity: 0.85;
}

.home-hero__practice {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream-2);
  line-height: 1.3;
  margin-bottom: 1.6rem;
}

.home-hero__tagline {
  font-family: var(--font-body);
  font-size: 0.94rem;
  letter-spacing: 0.22em;
  color: var(--cream-3);
  text-transform: uppercase;
  margin-bottom: 3.5rem;
}

.home-hero__tagline span {
  color: var(--gold);
  opacity: 0.6;
  margin: 0 0.7em;
}

/* Scroll indicator */
.home-hero__scroll {
  position: absolute;
  bottom: 2.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.home-hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
  0%,
  100% {
    opacity: 0.25;
    transform: scaleY(0.85);
  }
  50% {
    opacity: 0.75;
    transform: scaleY(1.15);
  }
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.btn--outline {
  border-color: var(--border);
  color: var(--cream-2);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--arrow::after {
  content: "→";
  transition: transform 0.3s var(--ease-out);
  display: inline-block;
}
.btn--arrow:hover::after {
  transform: translateX(5px);
}

.btn--success {
  background: #3a6040;
  border-color: #3a6040;
  color: #c8e6c9;
}

/* ─── Pillars (Home) ────────────────────────────────────────── */
.pillars {
  padding: 7rem 0 8rem;
}

.pillars__header {
  margin-bottom: 4.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pillars__header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-subtle);
}

.pillar {
  padding: 3.5rem 2.75rem;
  border-right: 1px solid var(--border-subtle);
  transition: background 0.35s;
  position: relative;
}

.pillar:last-child {
  border-right: none;
}

.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}

.pillar:hover {
  background: var(--bg-1);
}
.pillar:hover::before {
  width: 100%;
}

.pillar__num {
  margin-bottom: 1.5rem;
  display: flex;
}

.pillar__rule {
  margin-bottom: 1.75rem;
}

.pillar__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.pillar__body {
  font-size: 1.09rem;
  color: var(--cream-3);
  line-height: 1.85;
}

.areas-of-practice {
  background: var(--bg-1);
}

/* ─── About Preview (Home) ──────────────────────────────────── */
.about-preview {
  padding: 8rem 0;
  /*background: var(--bg-1);*/
  border-top: 1px solid var(--border-subtle);
}

.about-preview__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}

.about-preview__quote {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: var(--cream-2);
  padding-left: 2.5rem;
  position: relative;
}

.about-preview__quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.about-preview__side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-preview__side h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  margin-top: 0.75rem;
}

.about-preview__text {
  font-size: 1.15rem;
  color: var(--cream-3);
  line-height: 1.95;
}

/* ─── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 100% at 50% 50%,
    rgba(184, 144, 64, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-banner h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  max-width: 650px;
}

.cta-banner p {
  font-size: 1.15rem;
  color: var(--cream-3);
  max-width: 460px;
  line-height: 1.85;
  margin-bottom: 1rem;
}

/* ─── About Page ────────────────────────────────────────────── */
.about-mission {
  padding: 7rem 0 6rem;
  border-bottom: 1px solid var(--border-subtle);
}

.about-mission__statement {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.9rem);
  font-weight: 300;
  line-height: 1.5;
  max-width: 820px;
  margin-bottom: 2.5rem;
  color: var(--cream);
}

.about-mission__text {
  font-size: 1.15rem;
  color: var(--cream-3);
  line-height: 1.95;
  max-width: 640px;
}

.about-focus {
  padding: 7rem 0 8rem;
}

.about-focus__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 5rem;
}

.about-focus__header h2 {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
}

.about-focus__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
}

.focus-card {
  border-top: 1px solid var(--border);
  padding-top: 2.25rem;
  transition: border-color 0.3s;
}

.focus-card:hover {
  border-color: var(--gold);
}

.focus-card__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--gold-dim);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.focus-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.focus-card__text {
  font-size: 1.09rem;
  color: var(--cream-3);
  line-height: 1.85;
}

/* ─── Attorneys Page ────────────────────────────────────────── */
.attorneys-list {
  padding: 4rem 0 3rem;
}

.attorney {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.attorney:first-child {
  border-top: 1px solid var(--border-subtle);
}

.attorney__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}

.attorney__sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.attorney__photo {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.attorney__credentials {
  margin-top: 1.75rem;
}

.attorney__info {
}

.attorney__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.attorney__index {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 300;
  color: var(--gold-dim);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.attorney__name {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.attorney__role {
  font-family: var(--font-body);
  font-size: 0.67rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.attorney__rule {
  margin-bottom: 2rem;
}

.attorney__bio {
  font-size: 1.15rem;
  color: var(--cream-3);
  line-height: 1.85;
  margin-bottom: 1.25rem;
  white-space: pre-line;
}

.attorney__bio + .attorney__bio {
  margin-top: -0.25rem;
}

.credentials {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.cred-group {
}

.cred-group__label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cred-group__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.cred-group__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cred-item {
  font-size: 0.86rem;
  color: var(--cream-2);
  line-height: 1.55;
  padding-left: 1.1rem;
  position: relative;
}

.cred-item::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 0.05em;
}

/* ─── Practice Areas Page ───────────────────────────────────── */
.practice-areas-list {
  padding: 4rem 0;
}

.practice-area {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.practice-area:first-child {
  border-top: 1px solid var(--border-subtle);
}

.practice-area__ghost {
  position: absolute;
  right: -1rem;
  bottom: -2rem;
  font-family: var(--font-display);
  font-size: 14rem;
  font-weight: 300;
  color: rgba(184, 144, 64, 0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

.practice-area__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 6rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.practice-area__meta {
}

.practice-area__num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--gold-dim);
  line-height: 1;
  margin-bottom: 1.75rem;
}

.practice-area__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.8vw, 2.55rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 2rem;
  transition: color 0.3s;
}

.practice-area:hover .practice-area__title {
  color: var(--gold-light);
}

.practice-area__rule {
  margin-bottom: 2rem;
}

.practice-area__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.practice-area__text {
  font-size: 1.15rem;
  color: var(--cream-3);
  line-height: 1.95;
}

.highlights {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--cream-2);
  line-height: 1.6;
}

.highlight::before {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 1px;
  background: var(--gold);
  margin-top: 0.7em;
}

/* ─── Contact Page ──────────────────────────────────────────── */
.contact-section {
  padding: 5.5rem 0 9rem;
}

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

.contact-info__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 300;
  margin-bottom: 3.5rem;
  line-height: 1.3;
}

.info-group {
  margin-bottom: 2.5rem;
}

.info-group__label {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.info-group__value {
  font-size: 0.9rem;
  color: var(--cream-2);
  line-height: 1.85;
}

.info-group__value a {
  transition: color 0.25s;
}
.info-group__value a:hover {
  color: var(--gold);
}

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

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

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

.field__label {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.field__input,
.field__textarea {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--cream);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 300;
  transition: border-color 0.25s;
  outline: none;
  width: 100%;
  appearance: none;
}

.field__input::placeholder,
.field__textarea::placeholder {
  color: var(--muted);
}

.field__input:focus,
.field__textarea:focus {
  border-color: var(--gold);
}

.field__input:focus-visible,
.field__textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-color: var(--gold);
}

.field__error {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: #e8a888;
  margin-top: 0.1rem;
}

.field__error[hidden] {
  display: none;
}

.field__textarea {
  resize: vertical;
  min-height: 140px;
}

.field__note {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: -0.25rem;
}

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding: 5rem 0 4rem;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.footer-brand__tagline {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.25rem;
}

.footer-brand__address {
  font-size: 1.05rem;
  color: var(--cream-3);
  line-height: 1.85;
}

.footer-col__heading {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col__link {
  font-size: 1.05rem;
  color: var(--cream-3);
  transition: color 0.25s;
}
.footer-col__link:hover {
  color: var(--cream);
}

.footer-col__items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col__item {
  font-size: 1.05rem;
  color: var(--cream-3);
}

.footer-col__item a {
  transition: color 0.25s;
}
.footer-col__item a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copy,
.footer-privacy {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ─── Scroll Animations ─────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.85s var(--ease-out);
}
.fade-in.visible {
  opacity: 1;
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.45s;
}
.delay-5 {
  transition-delay: 0.55s;
}

/* ─── Skip Link ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.6rem 1.25rem;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 10000;
  transition: top 0.2s var(--ease-out);
  text-decoration: none;
}
.skip-link:focus {
  top: 1rem;
}

/* ─── Visually Hidden (screen-reader utility) ───────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fade-up,
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .home-hero__scroll-line {
    animation: none;
    opacity: 0.4;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .about-preview__inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .attorney__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .attorney__sidebar {
    position: static;
    max-width: 320px;
  }
  .attorney__index {
    font-size: 3.5rem;
  }
  .practice-area__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .container {
    padding: 0 1.5rem;
  }

  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }

  .pillars__grid {
    grid-template-columns: 1fr;
  }
  .pillar {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .pillar:last-child {
    border-bottom: none;
  }

  .about-focus__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-hero__deco {
    opacity: 0.28;
    width: 120vmin;
  }

  .home-hero__top {
    gap: 0.85rem;
    margin-bottom: 2rem;
  }

  .home-hero__top-rule {
    width: 28px;
  }

  .home-hero__crest::before,
  .home-hero__crest::after {
    display: none;
  }

  .home-hero__divider {
    width: min(280px, 80%);
    margin-bottom: 1.75rem;
  }

  .home-hero__tagline {
    letter-spacing: 0.18em;
  }

  .home-hero__tagline span {
    display: block;
    font-size: 0;
    line-height: 0;
    margin: 0;
  }

  .practice-area__ghost {
    display: none;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3.5rem 0 3rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .page-hero {
    padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem;
  }
}

@media (max-width: 480px) {
  .home-hero__logo {
    width: 220px;
  }
  .logo__text {
    display: none;
  }
  .logo__sep {
    display: none;
  }
}
