:root {
  --ink: #07172b;
  --ink-2: #0d233d;
  --ink-3: #163653;
  --gold: #d4a64f;
  --gold-soft: #ecd7ad;
  --paper: #f6f3ed;
  --paper-2: #ece7de;
  --white: #ffffff;
  --muted: #667384;
  --line: rgba(7, 23, 43, 0.14);
  --shadow: 0 24px 70px rgba(4, 16, 30, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  background: var(--gold);
  color: var(--ink);
  padding: .75rem 1rem;
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }

.site-notice {
  background: var(--gold);
  color: #111c2a;
  text-align: center;
  padding: .52rem 1rem;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 82px;
  background: rgba(6, 19, 35, .96);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(1180px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 238px;
}
.brand-logo { width: 230px; height: auto; display: block; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 800;
  border-radius: 2px;
}
.brand-copy { line-height: 1.05; }
.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: .06em;
}
.brand-sub {
  display: block;
  margin-top: .32rem;
  color: var(--gold-soft);
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links > a {
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nav-links > a:not(.header-cta) { color: rgba(255,255,255,.82); }
.nav-links > a:not(.header-cta):hover,
.nav-links > a[aria-current="page"] { color: var(--gold-soft); }
.header-cta {
  padding: .8rem 1rem;
  background: var(--gold);
  color: var(--ink);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.24);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform .2s ease;
}

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 .9rem;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); line-height: 1.08; font-weight: 500; }
h1 { margin: 0; font-size: clamp(3rem, 6.8vw, 6.5rem); letter-spacing: -.045em; }
h2 { margin: 0; font-size: clamp(2.25rem, 4vw, 4.15rem); letter-spacing: -.035em; }
h3 { margin: 0; font-size: 1.45rem; }
.lead { color: var(--muted); font-size: 1.1rem; line-height: 1.8; }
.section { padding: 110px 0; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .65fr);
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--gold);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: #e1b765; }
.button-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.button-outline:hover { background: rgba(255,255,255,.1); }
.button-dark { background: var(--ink); color: var(--white); }

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--ink) url("hero-courthouse.webp") center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,13,25,.97) 0%, rgba(3,13,25,.86) 37%, rgba(3,13,25,.35) 67%, rgba(3,13,25,.18) 100%),
    linear-gradient(0deg, rgba(3,13,25,.72), transparent 50%);
}
.hero-inner { position: relative; z-index: 1; padding: 7rem 0 9rem; }
.hero-copy { max-width: 760px; }
.hero h1 span { display: block; color: var(--gold-soft); font-style: italic; }
.hero-text {
  max-width: 610px;
  margin: 1.6rem 0 2rem;
  color: rgba(255,255,255,.77);
  font-size: 1.16rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-proof {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7,23,43,.82);
  border-top: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
}
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-item { padding: 1.25rem 2rem; border-right: 1px solid rgba(255,255,255,.14); }
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { border-right: 0; }
.proof-item strong { display: block; color: var(--gold-soft); font-family: var(--serif); font-size: 1.15rem; }
.proof-item span { color: rgba(255,255,255,.66); font-size: .82rem; }

.intro-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 7rem; align-items: start; }
.intro-aside { border-top: 2px solid var(--gold); padding-top: 1.25rem; }
.intro-aside p { margin: 0 0 1.5rem; color: var(--muted); }
.intro-copy p { max-width: 760px; }
.text-link {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  border-bottom: 1px solid var(--gold);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.practice-section { background: var(--ink); color: var(--white); }
.practice-section .lead { color: rgba(255,255,255,.64); }
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.practice-card {
  min-height: 260px;
  padding: 2rem;
  border-right: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .25s ease;
}
.practice-card:hover { background: var(--ink-2); }
.practice-no { color: var(--gold); font: 700 .72rem var(--sans); letter-spacing: .16em; }
.practice-card h3 { font-size: 1.8rem; }
.practice-card p { color: rgba(255,255,255,.62); margin: .8rem 0 0; }
.practice-arrow { color: var(--gold-soft); font-size: 1.4rem; }

.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.approach-card { min-height: 290px; padding: 2.1rem; background: var(--paper); }
.approach-card .number { font: italic 2.7rem var(--serif); color: var(--gold); }
.approach-card h3 { margin: 2.4rem 0 .85rem; }
.approach-card p { margin: 0; color: var(--muted); }

.statement { padding: 0 0 110px; }
.statement-panel {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 510px;
  background: var(--ink-2);
  color: var(--white);
  box-shadow: var(--shadow);
}
.statement-copy { padding: clamp(2.5rem, 6vw, 5rem); }
.statement-copy p:not(.eyebrow) { color: rgba(255,255,255,.7); max-width: 620px; }
.statement-art {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--gold), #9c742f);
}
.statement-art::before,
.statement-art::after { content: ""; position: absolute; border: 1px solid rgba(7,23,43,.32); border-radius: 50%; }
.statement-art::before { width: 430px; height: 430px; right: -80px; top: 40px; }
.statement-art::after { width: 260px; height: 260px; right: 45px; top: 125px; }
.statement-mark { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(7,23,43,.72); font: italic 8rem var(--serif); }

.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 6rem; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; font-weight: 760; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .4rem; color: var(--gold); font-size: 1.5rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0; padding: 0 2.5rem 1.5rem 0; color: var(--muted); }

.consultation { background: var(--paper-2); }
.consult-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 6rem; align-items: start; }
.consult-copy .contact-list { margin-top: 2.5rem; }
.contact-row { padding: 1rem 0; border-top: 1px solid var(--line); }
.contact-row span { display: block; color: var(--muted); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-row strong, .contact-row a { display: inline-block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.contact-row a:hover { color: #9c742f; text-decoration: underline; text-underline-offset: .2em; }
.form-card { background: var(--white); padding: clamp(1.6rem, 4vw, 3rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .76rem; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid #cbd0d5;
  background: #fbfbfa;
  color: var(--ink);
  padding: .9rem 1rem;
  border-radius: 0;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.field textarea { resize: vertical; min-height: 132px; }
.form-note { margin: 1rem 0 0; color: var(--muted); font-size: .78rem; }
.form-status { display: none; margin: 1rem 0 0; padding: .9rem 1rem; background: #e7f4eb; color: #184f2c; font-weight: 700; }
.form-status.show { display: block; }
.form-status.error, .admin-toast.error { background: #fae8e6; color: #822c24; }

.page-hero { padding: 105px 0 80px; background: var(--ink); color: var(--white); }
.page-hero .lead { max-width: 720px; color: rgba(255,255,255,.68); }
.legal-date { margin: 1.5rem 0 0; color: var(--gold-soft); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.content-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 6rem; }
.content-nav { position: sticky; top: 115px; align-self: start; border-top: 2px solid var(--gold); }
.content-nav a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); font-weight: 760; }
.prose h2 { font-size: clamp(2rem, 3.6vw, 3.5rem); margin: 0 0 1.4rem; }
.prose h3 { margin: 2.5rem 0 .8rem; }
.prose p, .prose li { color: var(--muted); }
.prose section { scroll-margin-top: 170px; }
.prose section + section { margin-top: 5rem; padding-top: 5rem; border-top: 1px solid var(--line); }
.callout { margin: 2rem 0; padding: 1.5rem; border-left: 3px solid var(--gold); background: var(--white); }
.legal-page { background: #f6f3ed; }
.legal-prose { min-width: 0; }
.legal-prose > .legal-summary { margin: 0 0 4.5rem; color: var(--muted); line-height: 1.8; }
.legal-prose > .legal-summary strong { display: block; margin-bottom: .35rem; color: var(--ink); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.legal-prose h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.legal-prose p, .legal-prose li { line-height: 1.82; }
.legal-list { margin: 1.4rem 0 0; padding-left: 1.35rem; }
.legal-list li { margin: .75rem 0; padding-left: .35rem; }
.legal-list li::marker { color: var(--gold); }
.legal-contact { display: grid; gap: .55rem; margin-top: 1.5rem; padding: 1.6rem; border: 1px solid var(--line); background: var(--white); color: var(--muted); font-style: normal; }
.legal-contact strong { color: var(--ink); font-family: var(--serif); font-size: 1.45rem; }
.legal-contact a { width: fit-content; color: var(--ink); font-weight: 760; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

.site-footer { background: #030c17; color: var(--white); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 4rem; }
.footer-brand p { max-width: 440px; color: rgba(255,255,255,.57); }
.footer-col h3 { font-family: var(--sans); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.footer-col a { display: block; margin: .7rem 0; color: rgba(255,255,255,.7); }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); font-size: .75rem; }

.mobile-action { display: none; }

/* Admin */
.admin-body { background: #eef1f4; color: #14243a; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: 1.5rem; background: var(--ink); color: var(--white); }
.admin-brand { margin-bottom: 2.5rem; }
.admin-nav a { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; margin: .25rem 0; color: rgba(255,255,255,.68); font-size: .9rem; }
.admin-nav a.active { color: var(--white); background: rgba(255,255,255,.1); border-left: 2px solid var(--gold); }
.admin-note { position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; padding: 1rem; background: rgba(255,255,255,.07); color: rgba(255,255,255,.6); font-size: .75rem; }
.admin-main { min-width: 0; }
.admin-topbar { height: 76px; padding: 0 2.2rem; display: flex; justify-content: space-between; align-items: center; background: var(--white); border-bottom: 1px solid #d9dee4; }
.admin-topbar h1 { font: 750 1.15rem var(--sans); letter-spacing: 0; }
.admin-user { display: flex; align-items: center; gap: .7rem; font-size: .84rem; }
.admin-avatar { width: 36px; height: 36px; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-weight: 900; border-radius: 50%; }
.admin-content { padding: 2.2rem; }
.admin-kicker { margin: 0; color: var(--muted); font-size: .82rem; }
.admin-title { margin: .2rem 0 1.8rem; font: 700 clamp(1.75rem, 3vw, 2.6rem) var(--serif); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.metric-card, .admin-panel { background: var(--white); border: 1px solid #dde2e7; box-shadow: 0 8px 30px rgba(13,35,61,.05); }
.metric-card { padding: 1.4rem; }
.metric-label { color: var(--muted); font-size: .76rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.metric-value { margin-top: .5rem; font: 600 2rem var(--serif); }
.metric-meta { color: #4f6c61; font-size: .78rem; }
.admin-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 1rem; margin-top: 1rem; }
.admin-panel { padding: 1.4rem; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.panel-head h2 { font: 750 1rem var(--sans); letter-spacing: 0; }
.badge { display: inline-flex; padding: .3rem .55rem; background: #edf1f5; color: #42566d; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.badge.gold { background: #f8edda; color: #77531e; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.admin-table th { text-align: left; padding: .75rem; color: var(--muted); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; border-bottom: 1px solid #e2e6ea; }
.admin-table td { padding: .9rem .75rem; border-bottom: 1px solid #edf0f2; }
.empty-state { padding: 2.8rem 1rem; text-align: center; color: var(--muted); }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid #e7ebee; font-size: .85rem; }
.dot { width: 9px; height: 9px; display: inline-block; margin-right: .45rem; border-radius: 50%; background: #d4a64f; }
.dot.good { background: #2f8d5a; }
.settings-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.settings-form .button { justify-self: start; }
.admin-toast { display: none; margin-top: 1rem; padding: .85rem 1rem; background: #e7f4eb; color: #184f2c; }
.admin-toast.show { display: block; }
.admin-login-screen { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--ink); }
.admin-login-brand { padding: clamp(2rem, 6vw, 6rem); display: flex; flex-direction: column; justify-content: space-between; color: var(--white); background: linear-gradient(145deg, rgba(7,23,43,.96), rgba(13,35,61,.9)), url("hero-courthouse.webp") center/cover; }
.admin-login-brand .brand-logo { width: min(310px, 75%); }
.admin-login-brand h1 { max-width: 650px; font-size: clamp(3rem, 6vw, 5.6rem); }
.admin-login-brand p { max-width: 560px; color: rgba(255,255,255,.68); }
.admin-login-panel { display: grid; place-items: center; padding: 2rem; background: #eef1f4; }
.admin-login-card { width: min(430px, 100%); padding: clamp(1.6rem, 5vw, 3rem); background: var(--white); box-shadow: var(--shadow); }
.admin-login-card h2 { margin-bottom: .7rem; font-size: 2.2rem; }
.admin-login-card > p { color: var(--muted); margin-bottom: 1.8rem; }
.login-status { min-height: 1.5rem; margin: .8rem 0 0; color: var(--muted); font-size: .82rem; }
.login-status.error { color: #9d3027; }
.admin-logout { border: 1px solid #d3d8de; background: var(--white); color: var(--ink); padding: .55rem .8rem; font-size: .76rem; font-weight: 800; cursor: pointer; }
.table-action { border: 0; border-bottom: 1px solid var(--gold); background: transparent; color: var(--ink); padding: .25rem 0; font-size: .76rem; font-weight: 850; text-transform: uppercase; cursor: pointer; }
.lead-dialog { width: min(620px, calc(100% - 28px)); border: 0; padding: 0; box-shadow: 0 28px 90px rgba(0,0,0,.28); }
.lead-dialog::backdrop { background: rgba(3,12,23,.72); backdrop-filter: blur(4px); }
.lead-dialog-inner { padding: clamp(1.4rem, 4vw, 2.4rem); }
.lead-dialog h2 { font-size: 2rem; margin-bottom: .2rem; }
.lead-dialog-meta { color: var(--muted); font-size: .85rem; }
.lead-message { margin: 1.4rem 0; padding: 1.2rem; background: var(--paper); white-space: pre-wrap; }
.dialog-actions { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.practice-manager, .content-editor { margin-top: 1rem; }
.admin-primary-action { padding: .72rem 1rem; white-space: nowrap; }
.badge.published { background: #e5f3ea; color: #24633d; }
.practice-table code { color: #4f6278; font-size: .78rem; }
.manager-status { display: none; margin: 0 0 1rem; padding: .75rem .9rem; background: #e7f4eb; color: #184f2c; font-size: .82rem; font-weight: 700; }
.manager-status.show { display: block; }
.manager-status.error { background: #fae8e6; color: #822c24; }
.practice-dialog { width: min(820px, calc(100% - 28px)); }
.practice-form-grid, .content-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.practice-form-grid .full { grid-column: 1 / -1; }
.field-help { color: var(--muted); font-size: .72rem; }
.published-control { align-self: end; display: flex; gap: .75rem; align-items: center; min-height: 49px; padding: .7rem .85rem; border: 1px solid #cbd0d5; background: #fbfbfa; cursor: pointer; }
.published-control input { width: 18px; height: 18px; accent-color: var(--ink); }
.published-control span { display: flex; flex-direction: column; }
.published-control strong { font-size: .8rem; }
.published-control small { color: var(--muted); font-size: .7rem; }
.practice-dialog-actions > div { display: flex; gap: .7rem; }
.dialog-cancel { color: var(--ink); border-color: #cbd0d5; }
.danger-action { border: 0; background: transparent; color: #9d3027; font-size: .78rem; font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.content-editor-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.2rem; padding: 1rem; background: #f4f6f8; }
.content-editor-toolbar .field { width: min(360px, 100%); }
.content-fields .field { padding: 1rem; border: 1px solid #e1e5e9; background: #fbfbfa; }
.content-fields textarea { min-height: 120px; }
.empty-practice-grid, .empty-public-content { grid-column: 1 / -1; padding: 2rem; background: rgba(255,255,255,.06); color: inherit; }

/* Private preview access */
.access-manager { margin-top: 1rem; }
.access-toggle { margin-bottom: 1rem; }
.access-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.access-manager-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.access-manager-actions .manager-status { margin: 0; }
.access-body { min-height: 100vh; background: var(--ink); color: var(--white); }
.access-shell { min-height: 100vh; display: grid; grid-template-columns: 1.08fr .92fr; }
.access-brand { min-height: 100vh; padding: clamp(2rem, 6vw, 6rem); display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(145deg, rgba(7,23,43,.95), rgba(13,35,61,.84)), url("hero-courthouse.webp") center/cover; }
.access-logo { width: min(330px, 76%); height: auto; }
.access-brand > div { max-width: 680px; }
.access-brand h1 { margin: .25rem 0 1rem; font-size: clamp(3rem, 6vw, 5.7rem); color: var(--white); }
.access-brand p:not(.eyebrow) { max-width: 570px; color: rgba(255,255,255,.7); }
.access-panel { display: grid; align-content: center; padding: clamp(1.5rem, 5vw, 5rem); background: #eef1f4; color: var(--ink); }
.access-card { width: min(470px, 100%); margin-inline: auto; padding: clamp(1.6rem, 5vw, 3rem); background: var(--white); box-shadow: var(--shadow); }
.access-card h2 { margin: .2rem 0 .7rem; font-size: clamp(2rem, 4vw, 2.7rem); }
.access-card > p:not(.eyebrow):not(.login-status) { margin-bottom: 1.6rem; color: var(--muted); }
.access-card .button { width: 100%; justify-content: center; margin-top: 1rem; }
.access-privacy { width: min(470px, 100%); margin: 1rem auto 0; color: #657182; font-size: .75rem; text-align: center; }

@media (max-width: 980px) {
  .nav-links { display: none; position: absolute; inset: 100% 0 auto; min-height: calc(100dvh - 82px); padding: 2rem; background: var(--ink); flex-direction: column; align-items: flex-start; overflow-y: auto; z-index: 60; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .hero { min-height: 720px; background-position: 61% center; }
  .hero::before { background: linear-gradient(90deg, rgba(3,13,25,.96), rgba(3,13,25,.58)); }
  .section-head, .intro-grid, .faq-grid, .consult-grid, .content-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .statement-panel { grid-template-columns: 1fr; }
  .statement-art { min-height: 260px; }
  .content-grid { gap: 1.75rem; }
  .content-nav {
    position: sticky;
    top: 82px;
    z-index: 25;
    display: flex;
    gap: .55rem;
    overflow-x: auto;
    padding: .8rem 0;
    border-top: 0;
    background: rgba(246, 243, 237, .97);
    box-shadow: 0 10px 24px rgba(7, 23, 43, .08);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .content-nav::-webkit-scrollbar { display: none; }
  .content-nav a { flex: 0 0 auto; padding: .68rem .85rem; border: 1px solid var(--line); background: var(--white); font-size: .78rem; white-space: nowrap; }
  .prose section { scroll-margin-top: 160px; }
  .prose section + section { margin-top: 3.5rem; padding-top: 3.5rem; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-login-screen { grid-template-columns: 1fr; }
  .admin-login-brand { min-height: 360px; }
  .admin-sidebar { position: sticky; top: 0; z-index: 70; height: auto; padding: .75rem 1rem; display: flex; align-items: center; gap: .9rem; }
  .admin-brand { flex: 0 0 auto; margin: 0; }
  .admin-brand .brand-logo { width: 150px; }
  .admin-nav { display: flex; flex: 1; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
  .admin-nav::-webkit-scrollbar { display: none; }
  .admin-nav a { flex: 0 0 auto; margin: 0; padding: .6rem .75rem; white-space: nowrap; }
  .admin-note { display: none; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
  .content-fields { grid-template-columns: 1fr; }
  .access-shell { grid-template-columns: 1fr; }
  .access-brand { min-height: 360px; }
}

@media (max-width: 680px) {
  .site-notice { font-size: .64rem; }
  .site-header { height: 72px; }
  .header-inner, .container { width: min(100% - 28px, 1180px); }
  .brand { min-width: 0; }
  .brand-logo { width: 184px; }
  .brand-name { font-size: 1rem; }
  .brand-sub { font-size: .55rem; }
  .nav-links { inset: 100% 0 auto; min-height: calc(100dvh - 72px); }
  .page-hero { padding: 72px 0 58px; }
  .page-hero h1 { font-size: clamp(2.65rem, 13vw, 3.6rem); }
  .page-hero .lead { font-size: 1rem; line-height: 1.7; }
  .content-nav { top: 72px; margin-inline: -14px; padding-inline: 14px; }
  .prose section { scroll-margin-top: 145px; }
  .section { padding: 78px 0; }
  h1 { font-size: clamp(2.9rem, 16vw, 4.35rem); }
  .hero { min-height: 790px; align-items: flex-start; }
  .hero-inner { padding-top: 5.5rem; }
  .hero-proof { position: absolute; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { display: none; }
  .proof-item:first-child { display: block; padding: 1rem 0; border: 0; }
  .practice-grid, .approach-grid, .footer-grid, .form-grid, .settings-form { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .practice-card { min-height: 220px; }
  .footer-bottom { flex-direction: column; }
  .mobile-action { position: fixed; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; left: 0; right: 0; bottom: 0; box-shadow: 0 -8px 24px rgba(0,0,0,.18); }
  .mobile-action a { padding: .9rem; text-align: center; font-size: .76rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
  .mobile-action a:first-child { background: var(--white); color: var(--ink); }
  .mobile-action a:last-child { background: var(--gold); color: var(--ink); }
  .site-footer { padding-bottom: 90px; }
  .metric-grid { grid-template-columns: 1fr; }
  .admin-topbar, .admin-content { padding-left: 1rem; padding-right: 1rem; }
  .admin-brand .brand-logo { width: 138px; }
  .admin-table { min-width: 620px; }
  .table-wrap { overflow-x: auto; }
  .panel-head, .content-editor-toolbar, .dialog-actions, .practice-dialog-actions > div { align-items: stretch; flex-direction: column; }
  .content-editor-toolbar .field { width: 100%; }
  .practice-form-grid { grid-template-columns: 1fr; }
  .practice-form-grid .full { grid-column: auto; }
  .access-settings-grid { grid-template-columns: 1fr; }
  .access-manager-actions { align-items: stretch; flex-direction: column; }
  .access-brand { min-height: 310px; padding: 2rem 1.4rem; }
  .access-brand h1 { font-size: clamp(2.45rem, 13vw, 3.5rem); }
  .access-panel { padding: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
