/* =========================================================
   Ashford & Sterling Law Group — Stylesheet
   High-end editorial design system
   ========================================================= */

:root {
  /* Palette — deep navy, warm gold, ivory */
  --ink: #0a1628;
  --ink-2: #14233b;
  --ink-3: #1f3354;
  --paper: #fbf9f4;
  --paper-2: #f3eee2;
  --paper-3: #e8e1cf;
  --rule: #d9d2bd;
  --gold: #b08d57;
  --gold-2: #c9a961;
  --gold-3: #8a6b3e;
  --forest: #1f4d36;
  --forest-2: #163a28;
  --text: #14202d;
  --text-soft: #4a5563;
  --text-mute: #6b7480;
  --on-ink: #f3eee2;
  --on-ink-soft: #b8b3a3;

  /* Type */
  --font-serif: "Cormorant Garamond", "Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 1000;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 500;
}
h2 {
  font-size: clamp(32px, 4.4vw, 56px);
}
h3 {
  font-size: clamp(20px, 1.6vw, 24px);
}
h4 {
  font-size: 14px;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.eyebrow-light {
  color: var(--gold-2);
}
.eyebrow-light::before {
  background: var(--gold-2);
}

.lead {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.5vw, 24px);
  line-height: 1.45;
  color: var(--ink-2);
  font-weight: 400;
}
.lead-light {
  color: var(--on-ink);
}

em {
  font-style: italic;
  color: var(--gold-3);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--gold-3);
  border-color: var(--gold-3);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
}
.btn-ghost:hover {
  color: var(--gold-3);
}
.site-header .btn-ghost {
  color: var(--on-ink);
}
.site-header .btn-ghost:hover {
  color: var(--gold-2);
}
.site-header .btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.site-header .btn-primary:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
}
.btn-link {
  background: transparent;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
}
.btn-link:hover {
  color: var(--gold-3);
  border-bottom-color: var(--gold-3);
}
.btn-link svg {
  transition: transform 0.25s var(--ease);
}
.btn-link:hover svg {
  transform: translateX(4px);
}
.btn-lg {
  padding: 18px 34px;
  font-size: 13px;
}
.btn-block {
  width: 100%;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(243, 238, 226, 0.08);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  color: var(--on-ink);
}
.site-header.is-scrolled {
  background: rgba(10, 22, 40, 0.96);
  border-bottom-color: rgba(243, 238, 226, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--on-ink);
}
.site-header .brand-suffix {
  color: var(--on-ink-soft);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  line-height: 0;
}
.brand-mark img,
.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-suffix {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 4px;
}
.brand-light {
  color: var(--on-ink);
}
.brand-light .brand-suffix {
  color: var(--on-ink-soft);
}

.primary-nav {
  margin-left: auto;
}
.primary-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--on-ink);
  padding: 8px 0;
  transition: color 0.2s var(--ease);
}
.primary-nav a:hover {
  color: var(--gold-2);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 0;
  background: var(--gold-2);
  transition: width 0.25s var(--ease);
}
.primary-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--paper);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid rgba(243, 238, 226, 0.12);
  background: var(--ink);
  color: var(--on-ink);
}
.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 8px var(--gutter) 24px;
}
.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--paper);
  border-bottom: 1px solid rgba(243, 238, 226, 0.12);
  transition: color 0.2s var(--ease);
}
.mobile-nav a:hover {
  color: var(--gold-2);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  overflow: hidden;
  padding: clamp(80px, 11vw, 160px) 0 clamp(80px, 9vw, 130px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 80% 10%, rgba(176, 141, 87, 0.18), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(176, 141, 87, 0.1), transparent 60%),
    linear-gradient(180deg, #0a1628 0%, #0d1d33 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
}

.hero-inner {
  position: relative;
  max-width: 1100px;
}
.hero-title {
  font-size: clamp(48px, 7.4vw, 104px);
  line-height: 0.98;
  color: var(--paper);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
.hero-title em {
  color: var(--gold-2);
  font-style: italic;
}
.hero-lede {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.45;
  max-width: 720px;
  color: var(--on-ink);
  opacity: 0.92;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.hero .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.hero .btn-primary:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
}
.hero .btn-link {
  color: var(--paper);
  border-bottom-color: rgba(243, 238, 226, 0.4);
}
.hero .btn-link:hover {
  color: var(--gold-2);
  border-bottom-color: var(--gold-2);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 0;
  padding: 36px 0 0;
  border-top: 1px solid rgba(243, 238, 226, 0.18);
}
.hero-stats div {
  display: flex;
  flex-direction: column;
}
.hero-stats dt {
  order: 2;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-ink-soft);
}
.hero-stats dd {
  order: 1;
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  color: var(--gold-2);
  line-height: 1;
}

/* ---------- TRUST STRIP ---------- */
.trust-strip {
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
}
.trust-strip .container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-label {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.trust-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  flex: 1;
  justify-content: space-around;
}
.trust-logos li {
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  font-weight: 500;
  font-style: italic;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: clamp(80px, 9vw, 140px) 0;
}
.section-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head-row {
  max-width: none;
  text-align: left;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.section-head-row .eyebrow {
  margin-bottom: 12px;
}
.section-title {
  margin-bottom: 18px;
}
.section-title-light {
  color: var(--paper);
}
.section-sub {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-soft);
  margin: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

/* ---------- FIRM ---------- */
.section-firm {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.col-text .lead {
  margin-bottom: 24px;
}
.value-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}
.value-list li {
  position: relative;
  padding: 22px 0 22px 56px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.55;
}
.value-list li:last-child {
  border-bottom: 1px solid var(--rule);
}
.value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 32px;
  width: 36px;
  height: 1px;
  background: var(--gold);
}
.value-list strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.col-aside {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.quote-card {
  background: var(--ink);
  color: var(--on-ink);
  padding: 44px 40px;
  margin: 0;
  position: relative;
}
.quote-card::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 40px;
  width: 36px;
  height: 1px;
  background: var(--gold-2);
}
.quote-card blockquote {
  margin: 24px 0 28px;
  padding: 0;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.4;
  font-style: italic;
}
.quote-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}
.quote-card figcaption strong {
  font-weight: 600;
  color: var(--gold-2);
  letter-spacing: 0.06em;
}
.quote-card figcaption span {
  color: var(--on-ink-soft);
}

.rank-card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 32px;
}
.rank-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin: 0 0 8px;
}
.rank-headline {
  font-family: var(--font-serif);
  font-size: 44px;
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 600;
}
.rank-meta {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ---------- PRACTICES ---------- */
.section-practices {
  background: var(--paper);
}
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.practice-card {
  background: var(--paper);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s var(--ease);
  position: relative;
}
.practice-card:hover {
  background: var(--paper-2);
}
.practice-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.practice-card:hover::after {
  width: 100%;
}
.practice-icon {
  color: var(--gold-3);
  margin-bottom: 24px;
}
.practice-card h3 {
  margin-bottom: 14px;
}
.practice-card > p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 20px;
}
.practice-card ul {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}
.practice-card ul li {
  font-size: 13px;
  color: var(--text-soft);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.practice-card ul li::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- INDUSTRIES ---------- */
.section-industries {
  background: var(--ink);
  color: var(--on-ink);
  position: relative;
  overflow: hidden;
}
.section-industries::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 600px at 50% 0%, rgba(176, 141, 87, 0.16), transparent 60%);
  pointer-events: none;
}
.industry-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(243, 238, 226, 0.12);
  border: 1px solid rgba(243, 238, 226, 0.12);
}
.industry-tile {
  background: var(--ink);
  padding: 40px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  transition: background 0.3s var(--ease);
}
.industry-tile:hover {
  background: var(--ink-2);
}
.industry-num {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold-2);
  font-style: italic;
}
.industry-name {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.15;
  color: var(--paper);
  margin-top: auto;
}
.industry-meta {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--on-ink-soft);
  line-height: 1.5;
}

/* ---------- MATTERS ---------- */
.section-matters {
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
}
.matters-list {
  list-style: none;
  counter-reset: matters;
  margin: 0;
  padding: 0;
  max-width: 980px;
  margin-inline: auto;
}
.matters-list li {
  counter-increment: matters;
  position: relative;
  padding: 36px 0 36px 96px;
  border-top: 1px solid var(--rule);
}
.matters-list li:last-child {
  border-bottom: 1px solid var(--rule);
}
.matters-list li::before {
  content: counter(matters, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 40px;
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--gold-3);
  font-style: italic;
  font-weight: 600;
}
.matter-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin: 0 0 8px;
}
.matters-list h3 {
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 500;
}
.matters-list h3 strong {
  color: var(--gold-3);
  font-weight: 600;
}
.matters-list li > p:last-child {
  margin: 0;
  font-size: 14px;
  color: var(--text-soft);
}

/* ---------- PEOPLE ---------- */
.section-people {
  background: var(--paper);
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.person-card {
  border: 1px solid var(--rule);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.person-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(10, 22, 40, 0.25);
}
.person-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, var(--ink-3) 0%, var(--ink) 60%, var(--ink-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.person-portrait::before {
  content: attr(data-initials);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 84px;
  font-weight: 500;
  color: rgba(201, 169, 97, 0.55);
  letter-spacing: 0.04em;
}
.person-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 320px at 70% 110%, rgba(176, 141, 87, 0.22), transparent 60%);
  pointer-events: none;
}
.person-body {
  padding: 28px 28px 32px;
}
.person-card h3 {
  margin-bottom: 4px;
}
.person-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin: 0 0 16px;
}
.person-bio {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0 0 18px;
}
.person-meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  margin: 0;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}

.cta-row {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

/* ---------- TEAM PHOTO BAND ---------- */
.section-team {
  background: var(--paper);
  padding-bottom: 0;
}
.section-team .container {
  max-width: 1180px;
}
.section-team .section-head {
  margin-bottom: 48px;
}
.team-photo-wrap {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--rule);
  box-shadow: 0 30px 80px -40px rgba(10, 22, 40, 0.45);
}
.team-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 30%;
}
.team-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 22, 40, 0.35) 100%);
  pointer-events: none;
}
.team-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px clamp(20px, 3vw, 40px);
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  z-index: 1;
}
.team-caption p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.7vw, 24px);
  font-style: italic;
  max-width: 60ch;
  line-height: 1.4;
}
.team-caption span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
}

@media (max-width: 600px) {
  .team-photo-wrap img {
    aspect-ratio: 4 / 5;
  }
}

/* ---------- INSIGHTS ---------- */
.section-insights {
  background: var(--paper-2);
}
.insights-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.insight-card {
  background: var(--paper);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s var(--ease);
  cursor: pointer;
}
.insight-card:hover {
  background: var(--paper-2);
}
.insight-feature {
  grid-row: 1 / 3;
  background: var(--ink);
  color: var(--on-ink);
  padding: 48px 40px;
}
.insight-feature:hover {
  background: var(--ink-2);
}
.insight-feature h3 {
  color: var(--paper);
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1.2;
  margin: 8px 0 16px;
}
.insight-feature .insight-meta {
  color: var(--gold-2);
}
.insight-feature .insight-author {
  color: var(--on-ink-soft);
}
.insight-feature > p:not(.insight-meta):not(.insight-author) {
  color: var(--on-ink);
  opacity: 0.9;
  font-size: 16px;
  line-height: 1.6;
}
.insight-meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin: 0;
}
.insight-card h3 {
  margin: 4px 0 8px;
  line-height: 1.25;
}
.insight-card > p:not(.insight-meta):not(.insight-author) {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0;
}
.insight-author {
  margin: auto 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  font-style: italic;
  color: var(--text-mute);
}
.insight-feature .insight-author {
  border-top-color: rgba(243, 238, 226, 0.18);
}

/* ---------- OFFICES ---------- */
.section-offices {
  background: var(--paper);
}
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
}
.office-region {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin: 0 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.office ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.office li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-serif);
}
.office li strong {
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}
.office li span {
  font-size: 11px;
  font-family: var(--font-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-3);
}

/* ---------- CONTACT ---------- */
.section-contact {
  background: var(--ink);
  color: var(--on-ink);
  position: relative;
  overflow: hidden;
}
.section-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 500px at 100% 0%, rgba(176, 141, 87, 0.12), transparent 60%),
    radial-gradient(500px 400px at 0% 100%, rgba(176, 141, 87, 0.08), transparent 60%);
}
.section-contact .container {
  position: relative;
}
.contact-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 0;
  border-top: 1px solid rgba(243, 238, 226, 0.18);
}
.contact-list li:last-child {
  border-bottom: 1px solid rgba(243, 238, 226, 0.18);
}
.contact-list span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-ink-soft);
}
.contact-list a {
  font-family: var(--font-serif);
  font-size: clamp(17px, 4.6vw, 22px);
  color: var(--paper);
  transition: color 0.2s var(--ease);
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}
.contact-list a:hover {
  color: var(--gold-2);
}

.contact-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(243, 238, 226, 0.15);
  padding: clamp(22px, 4vw, 40px);
  max-width: 100%;
  box-sizing: border-box;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  max-width: 100%;
  box-sizing: border-box;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-ink-soft);
}
.form-row label {
  margin: 0;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(243, 238, 226, 0.3);
  padding: 12px 0;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  transition: border-color 0.2s var(--ease);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--gold-2);
}
.contact-form textarea {
  resize: vertical;
}
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23c9a961' stroke-width='1.4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
}
.contact-form select option {
  background: var(--ink);
  color: var(--paper);
}
.form-disclaimer {
  font-size: 12px;
  line-height: 1.55;
  color: var(--on-ink-soft);
  font-style: italic;
  margin: 16px 0 24px;
}
.contact-form .btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.contact-form .btn-primary:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
}
.form-status {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--gold-2);
  text-align: center;
  min-height: 1.4em;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #060f1d;
  color: var(--on-ink);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(243, 238, 226, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(243, 238, 226, 0.12);
}
.footer-brand .brand {
  margin-bottom: 24px;
}
.footer-tag {
  max-width: 380px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-ink-soft);
  margin: 0;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-cols h4 {
  color: var(--gold-2);
  margin-bottom: 18px;
}
.footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-cols li {
  padding: 5px 0;
}
.footer-cols a {
  color: var(--on-ink-soft);
  font-size: 14px;
  transition: color 0.2s var(--ease);
}
.footer-cols a:hover {
  color: var(--paper);
}

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 12px;
  color: var(--on-ink-soft);
}
.footer-bottom p {
  margin: 0;
  max-width: 60ch;
  line-height: 1.6;
}
.footer-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.footer-legal a:hover {
  color: var(--gold-2);
}

/* ---------- REVEAL ANIMATIONS ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- CLIENT LOGIN ---------- */
.login-page {
  background: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--on-ink);
}
.login-page .site-header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.login-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 8vw, 120px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.login-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 50% 0%, rgba(176, 141, 87, 0.16), transparent 60%),
    radial-gradient(700px 500px at 50% 100%, rgba(176, 141, 87, 0.08), transparent 60%);
  pointer-events: none;
}
.login-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(800px 600px at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(800px 600px at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}

.login-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: rgba(20, 35, 59, 0.6);
  border: 1px solid rgba(243, 238, 226, 0.14);
  padding: 48px 44px 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.login-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  margin-bottom: 24px;
}
.login-card .eyebrow {
  margin-bottom: 12px;
}
.login-card h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.4vw, 42px);
  color: var(--paper);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.login-card .login-lede {
  font-size: 14px;
  line-height: 1.6;
  color: var(--on-ink-soft);
  margin: 0 0 32px;
}

.login-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-ink-soft);
}
.login-form input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(243, 238, 226, 0.3);
  padding: 12px 0;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  transition: border-color 0.2s var(--ease);
}
.login-form input:focus {
  outline: none;
  border-bottom-color: var(--gold-2);
}
.login-form input.is-invalid {
  border-bottom-color: #e07e7e;
}

.login-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: -8px 0 24px;
  font-size: 12px;
}
.login-row label {
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin: 0;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 13px;
  font-weight: 400;
  color: var(--on-ink-soft);
  cursor: pointer;
}
.login-row input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--gold);
  margin: 0;
}
.login-row a {
  color: var(--on-ink-soft);
  font-size: 13px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.login-row a:hover {
  color: var(--gold-2);
  border-bottom-color: var(--gold-2);
}

.login-error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(224, 126, 126, 0.08);
  border: 1px solid rgba(224, 126, 126, 0.32);
  margin-bottom: 22px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #f3c3c3;
}
.login-error[hidden] {
  display: none;
}
.login-error svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #e07e7e;
}
.login-error strong {
  display: block;
  color: #f5d4d4;
  margin-bottom: 2px;
  font-weight: 600;
}

.login-foot {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(243, 238, 226, 0.12);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--on-ink-soft);
  text-align: center;
}
.login-foot a {
  color: var(--gold-2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.login-foot a:hover {
  border-bottom-color: var(--gold-2);
}

.login-aside {
  position: relative;
  margin-top: 32px;
  text-align: center;
  color: var(--on-ink-soft);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.login-aside .login-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.login-aside svg {
  color: var(--gold-2);
}

@media (max-width: 480px) {
  .login-card {
    padding: 36px 24px 28px;
  }
}

/* ---------- LEGAL / POLICY PAGES ---------- */
.legal-page {
  background: var(--paper);
}
.legal-hero {
  background: var(--ink);
  color: var(--on-ink);
  padding: clamp(80px, 9vw, 140px) 0 clamp(56px, 6vw, 88px);
  position: relative;
  overflow: hidden;
}
.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 500px at 80% 0%, rgba(176, 141, 87, 0.14), transparent 60%),
    radial-gradient(500px 400px at 0% 100%, rgba(176, 141, 87, 0.08), transparent 60%);
  pointer-events: none;
}
.legal-hero .container {
  position: relative;
  max-width: 880px;
}
.legal-hero h1 {
  font-size: clamp(40px, 5.4vw, 72px);
  color: var(--paper);
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}
.legal-hero .legal-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-ink-soft);
  margin: 0;
}
.legal-hero .legal-lede {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--on-ink);
  opacity: 0.92;
  margin: 24px 0 0;
  max-width: 720px;
}

.legal-body {
  padding: clamp(64px, 7vw, 120px) 0;
}
.legal-body .container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
  max-width: 1120px;
}
.legal-toc {
  position: sticky;
  top: 110px;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
}
.legal-toc p {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-3);
  margin: 0 0 14px;
}
.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}
.legal-toc li {
  counter-increment: toc;
  padding: 6px 0;
}
.legal-toc a {
  font-size: 13px;
  color: var(--text-soft);
  display: flex;
  gap: 10px;
  line-height: 1.4;
  transition: color 0.2s var(--ease);
}
.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-3);
  flex-shrink: 0;
}
.legal-toc a:hover {
  color: var(--ink);
}

.legal-content {
  max-width: 720px;
}
.legal-content section {
  padding: 32px 0 8px;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 100px;
}
.legal-content section:first-of-type {
  border-top: none;
  padding-top: 0;
}
.legal-content h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  margin-bottom: 16px;
}
.legal-content h3 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0;
}
.legal-content p,
.legal-content li {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-soft);
}
.legal-content ul,
.legal-content ol {
  padding-left: 22px;
  margin: 0 0 18px;
}
.legal-content li {
  padding: 4px 0;
}
.legal-content a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  transition: color 0.2s var(--ease);
}
.legal-content a:hover {
  color: var(--gold-3);
}
.legal-content strong {
  color: var(--ink);
}
.legal-callout {
  background: var(--paper-2);
  border-left: 3px solid var(--gold);
  padding: 22px 26px;
  margin: 24px 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.legal-callout strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--ink);
}

@media (max-width: 860px) {
  .legal-body .container {
    grid-template-columns: 1fr;
  }
  .legal-toc {
    position: static;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .practice-grid,
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .insights-grid {
    grid-template-columns: 1fr 1fr;
  }
  .insight-feature {
    grid-row: auto;
    grid-column: 1 / -1;
  }
  .offices-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .primary-nav,
  .header-actions {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .header-inner {
    height: 72px;
  }
  .brand-name {
    font-size: 17px;
  }
  .brand-suffix {
    font-size: 9px;
  }
  .brand-mark {
    width: 44px;
    height: 44px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .col-aside {
    position: static;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .hero-actions {
    margin-bottom: 56px;
  }
  .practice-grid,
  .industry-grid,
  .people-grid,
  .insights-grid,
  .offices-grid,
  .footer-cols {
    grid-template-columns: 1fr;
  }
  .insight-feature {
    grid-column: auto;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .matters-list li {
    padding-left: 60px;
  }
  .matters-list li::before {
    font-size: 22px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: clamp(60px, 18vw, 100px) 0 clamp(56px, 14vw, 90px);
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 56px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 22px 16px;
    padding-top: 28px;
  }
  .hero-stats dd {
    font-size: clamp(28px, 9vw, 40px);
  }
  .header-inner {
    gap: 12px;
  }
  .brand {
    gap: 10px;
    min-width: 0;
  }
  .brand-text {
    min-width: 0;
  }
  .brand-name {
    font-size: 15px;
    white-space: normal;
  }
  .brand-suffix {
    font-size: 9px;
    letter-spacing: 0.16em;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .section {
    padding: clamp(64px, 14vw, 90px) 0;
  }
  .section-head {
    margin-bottom: 40px;
  }
  .matters-list li {
    padding: 28px 0 28px 44px;
  }
  .matters-list li::before {
    top: 32px;
    font-size: 18px;
  }
  .footer-grid {
    gap: 40px;
    padding-bottom: 40px;
  }
  .footer-cols {
    gap: 28px;
  }
  .team-caption {
    padding: 18px 20px;
  }
  .team-caption p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .trust-logos {
    gap: 18px;
  }
  .trust-logos li {
    font-size: 15px;
  }
  .quote-card,
  .rank-card,
  .practice-card,
  .insight-card {
    padding: 28px 22px;
  }
  .contact-form {
    padding: 24px 18px;
  }
  .hero-title em {
    display: inline-block;
  }
  .legal-hero {
    padding: 48px 0 40px;
  }
  .legal-body {
    padding: 48px 0;
  }
  .login-card {
    padding: 32px 22px 24px;
  }
}
