html, body {
  overflow-x: hidden;
}

:root {
  --ink: #10192E;
  --slate: #2E3B55;
  --paper: #EDE4D3;
  --paper-dim: #E2D8C3;
  --brass: #C15A42;
  --brass-light: #D97E63;
  --brass-glow: rgba(193, 90, 66, 0.25);
  --charcoal: #1C1C1C;
  --white: #FFFFFF;
  --line: rgba(16, 25, 46, 0.12);
  --line-strong: rgba(16, 25, 46, 0.24);
  --shadow-sm: 0 4px 16px rgba(16, 25, 46, 0.06);
  --shadow: 0 14px 36px rgba(16, 25, 46, 0.12);
  --shadow-lg: 0 24px 60px rgba(16, 25, 46, 0.18);
  --radius-sm: 999px;
  --radius: 8px;
  --radius-lg: 12px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* ===== Masthead / Header ===== */
.masthead-bar {
  background: var(--ink);
  color: var(--paper-dim);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.masthead-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
  gap: 10px;
}

.masthead-bar a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.masthead-bar a:hover {
  color: var(--brass-light);
}

.launch-banner {
  background: linear-gradient(90deg, #8B6B2F 0%, var(--brass) 50%, #B89752 100%);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.launch-banner .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 13.5px;
  flex-wrap: wrap;
}

.launch-banner-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 3px 10px;
  border-radius: 2px;
  flex-shrink: 0;
  font-weight: 500;
}

header.site-header {
  background: rgba(237, 228, 211, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-strong);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
}

.brand-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 2px;
  font-weight: 500;
}

nav.main-nav ul {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--slate);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--ink);
}

nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brass);
  border-radius: 1px;
}

.nav-cta {
  background: var(--ink) !important;
  color: var(--paper) !important;
  padding: 10px 22px !important;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px !important;
  letter-spacing: 0.05em;
  transition: all 0.25s ease !important;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background: var(--brass) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

.nav-drawer-close {
  display: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  padding: 10px 18px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-toggle:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ===== Clause / section labels ===== */
.clause-label {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--brass);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-weight: 500;
}

.clause-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--brass);
}

/* ===== Buttons & CTAs ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary, .btn-brass {
  background: var(--ink);
  color: var(--white) !important;
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-primary::before, .btn-brass::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
  flex-shrink: 0;
}

.btn-primary:hover, .btn-brass:hover {
  background: var(--slate);
  border-color: var(--slate);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper) !important;
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-dark:hover {
  background: var(--slate);
  border-color: var(--slate);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper) !important;
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== Hero ===== */
.page-header, .hero {
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-header::before, .hero::before {
  content: "";
  position: absolute;
  top: 0; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(156, 122, 60, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero h1, .page-header h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 4.8vw, 58px);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.hero-tagline {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--brass);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 14px;
  font-weight: 500;
}

.hero .lede, .page-header .lede {
  margin-top: 22px;
  font-size: 18px;
  color: var(--slate);
  max-width: 62ch;
  line-height: 1.7;
}

.redline-old {
  color: #A33B3B;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  opacity: 0.55;
  display: inline;
}

.redline-new {
  color: var(--ink);
  display: inline;
  opacity: 0;
  border-bottom: 2px solid var(--brass);
}

.redline-new.revealed {
  animation: reveal 0.6s ease forwards;
}

@keyframes reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-doc {
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 32px 28px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--slate);
  position: relative;
  overflow-wrap: break-word;
}

.hero-doc::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brass) 0%, var(--brass-light) 100%);
  border-radius: var(--radius) var(--radius) 0 0;
}

.hero-doc-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line-strong);
  padding-bottom: 14px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 500;
}

.hero-doc-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.hero-doc-row:last-child {
  border-bottom: none;
}

.hero-doc-row span:last-child {
  color: var(--ink);
  font-weight: 500;
}

/* ===== Section base ===== */
section {
  padding: 90px 0;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-ink {
  background: var(--ink);
  color: var(--paper-dim);
}

.section-ink .clause-label {
  color: var(--brass-light);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 42px);
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.section-ink .section-head h2 {
  color: var(--white);
}

.section-head p {
  max-width: 44ch;
  color: var(--slate);
  font-size: 16px;
}

.section-ink .section-head p {
  color: var(--paper-dim);
  opacity: 0.85;
}

/* ===== Grids & Cards ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid rgba(46, 33, 24, 0.14);
  border-radius: var(--radius);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brass);
}

.card-num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--brass);
  margin-bottom: 20px;
  font-weight: 500;
  display: block;
}

.card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
}

.card p {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.6;
  flex-grow: 1;
}

.card a.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--brass);
  padding: 12px 0;
  width: fit-content;
}

.card a.card-link:hover {
  color: var(--brass);
  gap: 10px;
}

/* ===== Stats ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.25s ease;
}

.stat:hover {
  transform: translateY(-3px);
}

.stat .num {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 42px);
  color: var(--brass);
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.1;
}

.stat .label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--slate);
  margin-top: 10px;
  text-transform: uppercase;
}

/* ===== Attorney Cards ===== */
.attorney-card {
  background: var(--white);
  border: 1px solid rgba(46, 33, 24, 0.14);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.attorney-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.monogram {
  width: 72px;
  height: 72px;
  border: 2px solid var(--brass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 24px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.attorney-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  font-weight: 500;
}

.attorney-role {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brass);
  letter-spacing: 0.06em;
  margin: 6px 0 16px;
  text-transform: uppercase;
  font-weight: 500;
}

.attorney-card p {
  color: var(--slate);
  font-size: 15px;
  margin-bottom: 18px;
}

.attorney-meta {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--slate);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.associate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.associate-card {
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.associate-card:hover {
  transform: translateY(-2px);
  border-color: var(--brass);
}

.monogram-sm {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
}

.associate-text {
  display: flex;
  flex-direction: column;
}

.associate-name {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.associate-role {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* ===== Practice Area List ===== */
.practice-list {
  border-top: 1px solid var(--line-strong);
}

.practice-item {
  display: grid;
  grid-template-columns: 100px 1.2fr 1.5fr;
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line-strong);
  align-items: start;
}

.practice-item .clause-num {
  font-family: var(--mono);
  font-size: 16px;
  color: var(--brass);
  font-weight: 500;
  padding-top: 4px;
}

.practice-item h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
}

.practice-item p {
  color: var(--slate);
  font-size: 15px;
}

.practice-item ul {
  margin-top: 16px;
}

.practice-item ul li {
  font-size: 14px;
  color: var(--slate);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.practice-item ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brass);
  font-weight: 600;
}

/* ===== About & Values ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.timeline {
  border-left: 2px solid var(--line-strong);
  margin-top: 12px;
}

.timeline-item {
  padding: 0 0 36px 32px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--brass);
  border: 2px solid var(--paper);
  border-radius: 50%;
}

.timeline-year {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--brass);
  margin-bottom: 6px;
  font-weight: 500;
}

.timeline-item h4 {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 6px;
  font-weight: 500;
}

.timeline-item p {
  font-size: 14.5px;
  color: var(--slate);
}

.values-list {
  margin-top: 12px;
}

.values-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
}

.values-list li:first-child {
  border-top: 1px solid var(--line);
}

.values-list .clause-num {
  font-family: var(--mono);
  color: var(--brass);
  font-size: 15px;
  font-weight: 500;
}

.values-list h4 {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 6px;
  font-weight: 500;
  overflow-wrap: break-word;
  word-break: break-word;
}

.values-list p {
  font-size: 14.5px;
  color: var(--slate);
}

/* ===== Contact Form & Inputs ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
}

label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
  font-weight: 500;
  display: block;
}

input, textarea, select {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--charcoal);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px var(--brass-glow);
}

textarea {
  resize: vertical;
  min-height: 140px;
  border-radius: 0;
}

.form-status {
  font-family: var(--mono);
  font-size: 13.5px;
  min-height: 24px;
  margin-top: 6px;
}

.form-status-success {
  color: #2D6A4F;
  font-weight: 500;
}

.form-status-error {
  color: #A33B3B;
  font-weight: 500;
}

.hp-field, .hp-wrap {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-info-list {
  margin-top: 28px;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-info-item .label-k {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.contact-info-item .val {
  font-size: 15px;
  color: var(--ink);
  overflow-wrap: break-word;
  word-break: break-word;
}

.office-map-embed {
  margin-top: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--white);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.office-map-embed iframe {
  display: block;
  border-radius: 0;
}

/* ===== CTA Band ===== */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding: 84px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(circle, rgba(156, 122, 60, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 18px;
  color: var(--white);
}

.cta-band p {
  color: var(--paper-dim);
  opacity: 0.9;
  max-width: 56ch;
  margin: 0 auto 36px;
  font-size: 17px;
}

/* ===== Footer ===== */
footer {
  background: var(--ink);
  color: var(--paper-dim);
  padding: 72px 0 32px;
  border-top: 1px solid rgba(239, 237, 230, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(239, 237, 230, 0.15);
}

.footer-brand {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-grid p {
  font-size: 14px;
  opacity: 0.75;
  max-width: 34ch;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-col li {
  margin-bottom: 12px;
  font-size: 14.5px;
  opacity: 0.85;
}

.footer-col a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer-col a:hover {
  color: var(--brass-light);
  opacity: 1;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Bar Council of India Gate Modal ===== */
html.gate-active, html.gate-active body {
  overflow: hidden;
  height: 100%;
}

#disclaimer-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(16, 25, 46, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.gate-panel {
  background: var(--paper);
  max-width: 680px;
  width: 100%;
  padding: 48px 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--brass);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.gate-clause {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brass);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-weight: 500;
}

.gate-panel h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  color: var(--ink);
  margin-bottom: 20px;
}

.gate-panel p {
  font-size: 15px;
  color: var(--slate);
  margin-bottom: 16px;
  line-height: 1.65;
}

.gate-panel ul {
  margin: 0 0 20px;
}

.gate-panel ul li {
  font-size: 14px;
  color: var(--slate);
  padding-left: 22px;
  position: relative;
  margin-bottom: 12px;
  line-height: 1.6;
}

.gate-panel ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brass);
  font-weight: 600;
}

.gate-panel a {
  color: var(--ink);
  border-bottom: 1px solid var(--brass);
}

.gate-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ===== Inline Utilities & Responsive Adjustments ===== */
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  font-size: 30px;
  margin-bottom: 20px;
}

.section-title-sm { font-size: 24px; margin-bottom: 14px; }
.section-title-md { font-size: 28px; margin-bottom: 16px; }

.section-text { color: var(--slate); font-size: 15.5px; line-height: 1.65; }
.section-text-mb { margin-bottom: 16px; }
.section-text-mb-lg { margin-bottom: 28px; }

.center-mt { margin-top: 40px; text-align: center; }
.max-75ch { max-width: 75ch; }
.legal-text { color: var(--slate); line-height: 1.8; font-size: 15.5px; }
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.link-inherit { color: inherit; }

.breadcrumb { font-size: 13px; color: var(--slate); margin-bottom: 12px; font-family: var(--mono); }
.effective-date { font-size: 13px; color: var(--brass); font-family: var(--mono); margin-top: 6px; }

.watermark-404 {
  font-family: var(--serif);
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 600;
  color: var(--brass-light);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.form-note { font-size: 12.5px; color: var(--slate); margin-top: 10px; }
.form-note-tight { margin-top: 6px; }
.map-embed { border: 0; }
.map-link { margin-top: 12px; font-family: var(--mono); font-size: 12.5px; color: var(--ink); border-bottom: 1px solid var(--brass); display: inline-block; padding: 12px 0; }
.map-link:hover { color: var(--brass); }

.phone-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  align-items: baseline;
  font-size: 15px;
}
.phone-grid a { color: inherit; }

/* ===== Responsive Breakpoints ===== */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .practice-item { grid-template-columns: 80px 1fr; }
  .practice-item p, .practice-item ul { grid-column: 2 / -1; }
}

@media (max-width: 768px) {
  .hero-grid, .grid-3, .grid-2, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .practice-item { grid-template-columns: 1fr; gap: 16px; }
  .practice-item p, .practice-item ul { grid-column: 1 / -1; }
  .form-row { grid-template-columns: 1fr; }
}

/* Tablet range (601-768px): keep the traditional horizontal nav bar, but
   compress it — 6 items no longer fit at the original desktop gap/font
   size once "Book Consultation" was added. */
@media (min-width: 601px) and (max-width: 900px) {
  .brand-sub { display: none; }
  nav.main-nav ul { gap: 14px; }
  nav.main-nav a { font-size: 13px; }
  .nav-cta { padding: 8px 14px !important; }
}

@media (max-width: 600px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100%;
    width: min(340px, 86vw);
    background: var(--paper);
    border-left: 1px solid var(--line-strong);
    box-shadow: -16px 0 40px rgba(16,25,46,0.2);
    z-index: 200;
    padding: 32px 28px;
    visibility: hidden;
    display: flex !important;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
  }

  nav.main-nav.nav-open { transform: translateX(0); visibility: visible; }

  nav.main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 52px;
    width: 100%;
  }

  nav.main-nav ul li { width: 100%; }

  nav.main-nav a {
    display: block;
    width: 100%;
    padding: 14px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }

  nav.main-nav a.active::after { display: none; }
  nav.main-nav a.active { color: var(--brass); font-weight: 600; }

  .nav-cta {
    margin-top: 24px;
    text-align: center;
    width: 100%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
  }

  .nav-drawer-close {
    position: absolute;
    top: 24px; right: 24px;
    background: transparent;
    border: 1px solid var(--line-strong);
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    font-family: var(--mono);
    font-size: 18px;
    cursor: pointer;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(16, 25, 46, 0.6);
    backdrop-filter: blur(4px);
    z-index: 190;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s ease;
  }

  .nav-backdrop.nav-backdrop-visible {
    opacity: 1;
    pointer-events: auto;
  }

  html.nav-locked, html.nav-locked body { overflow: hidden; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .stats-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  #disclaimer-gate { padding: 12px; }
  .gate-panel { padding: 32px 24px; max-height: calc(100vh - 24px); }
  .gate-panel h1 { font-size: 26px; }
  .btn { width: 100%; justify-content: center; }
  .values-list li { grid-template-columns: 40px 1fr; gap: 12px; }
  .contact-info-item { grid-template-columns: 1fr; gap: 4px; }
  .hero-doc { padding: 24px 18px; }
  .masthead-bar .wrap { justify-content: center; text-align: center; }
  .cta-band h2 { font-size: clamp(24px, 6vw, 36px); }
}

@media print {
  header.site-header, footer, .masthead-bar, .launch-banner, .nav-toggle, .cta-band, #disclaimer-gate {
    display: none !important;
  }
  body { background: var(--white); color: #000; }
  a { color: #000; text-decoration: underline; }
}
















