/* ==========================================================================
   Law Offices of Victoria Clemans — criminal defense, Santa Monica
   Visual direction: restrained, authoritative legal. Ink + warm paper,
   one brass accent reserved for actions. Serif headings, sans body.
   ========================================================================== */

:root {
  /* Ink scale */
  --ink:        #121418;
  --ink-2:      #1b1f26;
  --ink-3:      #272c35;
  --ink-line:   rgba(255, 255, 255, .13);

  /* Paper scale */
  --paper:      #f7f5f0;
  --paper-2:    #efece4;
  --paper-3:    #e3dfd4;
  --paper-line: #d8d3c6;

  /* Text */
  --text:       #16191e;
  --text-mute:  #555d6b;
  --on-dark:    #f2efe8;
  --on-dark-mute: #b3b8c1;

  /* Accent — brass */
  --brass:        #b07d2e;
  --brass-strong: #63440f;  /* AA text-hover on paper   */
  --brass-hover:  #c79440;  /* button hover bg — lifts contrast vs dark label */
  --brass-ink:    #7d5616;  /* AA text on paper */
  --brass-light:  #dca953;  /* AA text on ink   */

  --radius:    4px;
  --radius-lg: 8px;
  --wrap:      1180px;
  --gutter:    1.25rem;

  --shadow-sm: 0 1px 2px rgba(18, 20, 24, .06), 0 2px 8px rgba(18, 20, 24, .05);
  --shadow-md: 0 8px 28px rgba(18, 20, 24, .10);
  --shadow-lg: 0 24px 60px rgba(18, 20, 24, .18);

  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;     /* 17px */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.005em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 6.2vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.12rem, 2.2vw, 1.35rem); }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--brass-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass-strong); }

address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--on-dark);
  padding: .9rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: .5rem; top: .5rem; }

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

.eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-ink);
  margin: 0 0 .85rem;
}

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { margin-bottom: .5rem; }
.section-lead { font-size: 1.1rem; color: var(--text-mute); margin: 0; }

.subhead {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--paper-line);
}

.disclaimer {
  margin-top: 2rem;
  font-size: .875rem;
  color: var(--text-mute);
  font-style: italic;
}

/* ------------------------------ Buttons --------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}

.btn-primary {
  background: var(--brass);
  border-color: var(--brass);
  color: #15100a;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--brass-hover);
  border-color: var(--brass-hover);
  color: #15100a;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: currentColor;
  color: var(--text);
}
.btn-ghost:hover { background: rgba(18, 20, 24, .06); color: var(--text); }

.btn-lg { min-height: 54px; padding: .95rem 1.75rem; font-size: 1.05rem; }
.btn-sm { min-height: 44px; padding: .6rem 1rem; font-size: .92rem; }
.btn-block { width: 100%; }

/* ------------------------------ Header ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid var(--ink-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding-block: .6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--on-dark);
  text-decoration: none;
  min-height: 44px;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--brass);
  border-radius: 2px;
  color: var(--brass-light);
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.brand-text small {
  font-size: .68rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: transparent;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--on-dark);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--ink-2);
  border-bottom: 1px solid var(--ink-line);
  padding: 1rem var(--gutter) 1.4rem;
  box-shadow: var(--shadow-lg);
}
.primary-nav.is-open { display: block; }

.primary-nav ul { display: flex; flex-direction: column; }
.primary-nav li { border-bottom: 1px solid var(--ink-line); }
.primary-nav a {
  display: flex;
  align-items: center;
  min-height: 50px;
  color: var(--on-dark);
  font-weight: 500;
  text-decoration: none;
}
.primary-nav a:hover, .primary-nav a[aria-current="true"] { color: var(--brass-light); }
.header-call { margin-top: 1.1rem; width: 100%; }

/* --------------------------------- Hero --------------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to bottom, rgba(18, 20, 24, .93) 0%, rgba(18, 20, 24, .88) 55%, rgba(18, 20, 24, .97) 100%),
    url("../img/courtroom.jpg");
  background-size: cover;
  background-position: center 35%;
}

.hero-inner {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-block: clamp(3rem, 9vw, 6rem);
}

.hero .eyebrow { color: var(--brass-light); }

#hero-title { margin-bottom: .55em; }

.hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--on-dark-mute);
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero .btn-ghost { color: var(--on-dark); border-color: rgba(242, 239, 232, .4); }
.hero .btn-ghost:hover { background: rgba(242, 239, 232, .1); color: var(--on-dark); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-line);
  font-size: .9rem;
  color: var(--on-dark-mute);
}
.hero-trust li { display: flex; align-items: center; gap: .5rem; }
.hero-trust li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brass);
  flex: 0 0 auto;
}

.hero-portrait { margin: 0; }
.hero-portrait img {
  width: 100%;
  max-width: 380px;
  margin-inline: auto;   /* centred while the hero is a single column */
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-line);
  filter: grayscale(.18) contrast(1.04);
  object-fit: cover;
  aspect-ratio: 672 / 992;
}

/* ------------------------------ Cred bar -------------------------------- */
.credbar {
  background: var(--ink-2);
  color: var(--on-dark);
  padding: clamp(2rem, 4vw, 2.75rem) 0;
  border-bottom: 1px solid var(--ink-line);
}

.credbar-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
}
.credbar-list li { text-align: center; }
.credbar-list strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  font-weight: 700;
  color: var(--brass-light);
  line-height: 1.1;
}
.credbar-list span {
  display: block;
  margin-top: .3rem;
  font-size: .82rem;
  color: var(--on-dark-mute);
  line-height: 1.4;
}

.credbar-notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 1.75rem;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-line);
  font-size: .85rem;
  color: var(--on-dark-mute);
  text-align: center;
}

/* ------------------------------- Results -------------------------------- */
.results { background: var(--paper); }

.result-list {
  display: grid;
  gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.result {
  background: #fff;
  padding: 1.4rem 1.35rem;
  border-left: 3px solid transparent;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.result:hover { border-left-color: var(--brass); background: #fffdf9; }

.result-verdict {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 .3rem;
}
.result-detail { margin: 0; color: var(--text-mute); font-size: .97rem; }

.result-feature { background: var(--ink); border-left-color: var(--brass); }
.result-feature:hover { background: var(--ink-2); }
.result-feature .result-verdict { color: var(--brass-light); font-size: 1.35rem; }
.result-feature .result-detail { color: var(--on-dark-mute); }

/* ------------------------------ Practice -------------------------------- */
.practice { background: var(--paper-2); }

.practice-lead { display: grid; gap: 1.75rem; margin-bottom: 1.75rem; }

.practice-major {
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--brass);
}
.practice-major h3 {
  color: var(--on-dark);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}
.practice-major p { color: var(--on-dark-mute); margin-bottom: 1.75rem; }

.practice-count {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brass-ink);
  margin: 0 0 .7rem;
}
.practice-major .practice-count { color: var(--brass-light); }

.practice-figure { margin: 0; }
.practice-figure img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 460px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  filter: grayscale(.25) contrast(1.03);
}

.practice-rest { display: grid; gap: 1px; background: var(--paper-line); border-radius: var(--radius-lg); overflow: hidden; }

.practice-item {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.practice-item h3 { margin-bottom: .45rem; }
.practice-item p { color: var(--text-mute); margin: 0; }

/* ------------------------------ CTA band -------------------------------- */
.cta-band {
  background: var(--brass);
  color: #15100a;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.cta-band-inner { display: grid; gap: 1.75rem; align-items: center; }
.cta-band h2 { margin-bottom: .4rem; color: #15100a; }
.cta-band p { margin: 0; font-size: 1.05rem; color: #241a08; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.cta-band .btn-primary { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.cta-band .btn-primary:hover { background: #000; border-color: #000; color: #fff; }
.cta-band .btn-ghost { color: #15100a; border-color: rgba(21, 16, 10, .45); }
.cta-band .btn-ghost:hover { background: rgba(21, 16, 10, .1); color: #15100a; }

/* -------------------------------- About --------------------------------- */
.about { background: var(--paper); }
.about-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }

.about-figure { margin: 0; }
.about-figure img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 641 / 960;
}
.about-figure figcaption {
  margin-top: .85rem;
  font-size: .85rem;
  color: var(--text-mute);
  max-width: 420px;
}

.pull-quote {
  margin: 0 0 2rem;
  padding: 1.25rem 0 1.25rem 1.4rem;
  border-left: 3px solid var(--brass);
}
.pull-quote p {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-style: italic;
  line-height: 1.45;
  margin: 0 0 .6rem;
}
.pull-quote cite {
  font-style: normal;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.timeline { display: grid; gap: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 1fr;
  gap: .2rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--paper-line);
}
.timeline li:last-child { border-bottom: 1px solid var(--paper-line); }
.timeline-year {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass-ink);
}
.timeline p { margin: 0; color: var(--text-mute); }

/* ----------------------------- Service area ------------------------------ */
.area {
  position: relative;
  padding: 0;
  background: var(--ink);
  isolation: isolate;
}
.area-media { position: absolute; inset: 0; z-index: -1; }
.area-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(18, 20, 24, .95) 0%, rgba(18, 20, 24, .82) 60%, rgba(18, 20, 24, .7) 100%);
}
.area-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.area-inner { padding-block: clamp(3.5rem, 8vw, 6rem); }
.area-card { max-width: 34rem; color: var(--on-dark); }
.area-card .eyebrow { color: var(--brass-light); }
.area-card h2 { color: var(--on-dark); }
.area-card p { color: var(--on-dark-mute); margin-bottom: 2rem; }
.area-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.area .btn-ghost { color: var(--on-dark); border-color: rgba(242, 239, 232, .4); }
.area .btn-ghost:hover { background: rgba(242, 239, 232, .1); color: var(--on-dark); }

/* ------------------------------ Community -------------------------------- */
.community { background: var(--paper-2); }
.community-list { display: grid; gap: 1.25rem; }
.community-list li {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-top: 3px solid var(--brass);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.community-list h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.community-list p { margin: 0; color: var(--text-mute); font-size: .95rem; }
.community-years {
  display: inline-block;
  margin-top: .7rem;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brass-ink);
}

/* ------------------------------- Reviews --------------------------------- */
.reviews { background: var(--paper); }
.review-grid { display: grid; gap: 1.25rem; }

.review {
  margin: 0;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.review p {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 1.1rem;
}
.review p::before { content: "\201C"; }
.review p::after  { content: "\201D"; }
.review footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem .75rem;
  padding-top: .9rem;
  border-top: 1px solid var(--paper-line);
}
.review cite { font-style: normal; font-weight: 600; font-size: .92rem; }
.review footer span { font-size: .82rem; color: var(--text-mute); }

.peer-grid { display: grid; gap: 1rem; }
.peer {
  margin: 0;
  padding: 1.1rem 1.25rem;
  background: var(--paper-2);
  border-left: 3px solid var(--brass);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.peer p { margin: 0; font-style: italic; color: var(--text); }
.peer p::before { content: "\201C"; }
.peer p::after  { content: "\201D"; }

.review-cta {
  margin-top: 2rem;
  font-size: 1.02rem;
}
.review-link {
  font-weight: 700;
  color: var(--brass-ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.review-link:hover { color: var(--brass-strong); }

/* ------------------------------- Contact --------------------------------- */
.contact { background: var(--ink); color: var(--on-dark); }
.contact-grid { display: grid; gap: clamp(2.25rem, 5vw, 3.5rem); align-items: start; }
.contact .eyebrow { color: var(--brass-light); }
.contact h2 { color: var(--on-dark); }
.contact .section-lead { color: var(--on-dark-mute); }

.contact-call { margin: 1.75rem 0 .5rem; }

.contact-list { margin: 1.75rem 0 0; display: grid; gap: 0; }
.contact-list > div {
  display: grid;
  gap: .15rem;
  padding: .95rem 0;
  border-top: 1px solid var(--ink-line);
}
.contact-list > div:last-child { border-bottom: 1px solid var(--ink-line); }
.contact-list dt {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass-light);
}
.contact-list dd { margin: 0; color: var(--on-dark); }
.contact-list a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.contact-list a:hover { color: var(--brass-light); }
.inline-link { display: inline-block; margin-top: .35rem; font-size: .9rem; }

.contact-review { color: var(--on-dark-mute); }
.contact-review .review-link { color: var(--brass-light); }
.contact-review .review-link:hover { color: #efc47d; }

/* --------------------------------- Form ---------------------------------- */
.form-card {
  background: var(--paper);
  color: var(--text);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--brass);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow-lg);
}
.form-card h3 { margin-bottom: 1.25rem; }

/* `display:grid` would otherwise defeat the [hidden] attribute. */
[hidden] { display: none !important; }

.form-status {
  display: grid;
  gap: .3rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  background: #eaf4ec;
  border: 1px solid #b8d9c1;
  border-left: 3px solid #2f7d4f;
  border-radius: var(--radius);
  color: #1d4b31;
}
.form-status strong { font-size: 1.02rem; }
.form-status span { font-size: .92rem; }
.form-status a { color: #1d4b31; }

.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 0; }

.field label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: .7rem .85rem;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-mute) 50%), linear-gradient(135deg, var(--text-mute) 50%, transparent 50%); background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 14px) calc(50% + 2px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(176, 125, 46, .25);
}
.field input::placeholder, .field textarea::placeholder { color: #8a909c; }

.form-note { margin: 1rem 0 0; font-size: .85rem; color: var(--text-mute); }

/* -------------------------------- Footer --------------------------------- */
.site-footer {
  background: var(--ink-2);
  color: var(--on-dark-mute);
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: 6.5rem; /* space for mobile call bar */
  border-top: 1px solid var(--ink-line);
}

.footer-grid { display: grid; gap: 2.25rem; }

.footer-brand { display: grid; gap: .9rem; justify-items: start; }
.footer-brand p { margin: 0; font-size: .95rem; }
.footer-brand strong { color: var(--on-dark); font-family: var(--serif); font-size: 1.05rem; }

.site-footer h2 {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: .9rem;
}

.site-footer ul { display: grid; gap: .1rem; }
.site-footer li a,
.footer-contact address {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--on-dark-mute);
  text-decoration: none;
}
.footer-contact address { align-items: flex-start; line-height: 1.6; padding-block: .4rem; }
.site-footer li a:hover { color: var(--brass-light); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .review-link { color: var(--brass-light); text-decoration: underline; text-decoration-thickness: 2px; }
.site-footer .review-link:hover { color: #efc47d; }
.footer-contact .btn { margin-top: 1rem; }

.footer-legal {
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-line);
}
.footer-legal p { margin: 0; font-size: .82rem; line-height: 1.6; }

/* ---------------------------- Mobile call bar ---------------------------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(18, 20, 24, .97);
  border-top: 1px solid var(--ink-line);
}

/* ------------------------------ Breakpoints ------------------------------ */
@media (min-width: 560px) {
  .credbar-list { grid-template-columns: repeat(3, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .timeline li { grid-template-columns: 9rem 1fr; gap: 1rem; align-items: baseline; }
  .community-list { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .result-list { grid-template-columns: repeat(2, 1fr); }
  .result-feature { grid-column: span 2; }
  .practice-rest { grid-template-columns: repeat(3, 1fr); }
  .peer-grid { grid-template-columns: repeat(3, 1fr); }
  .community-list { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr; }
  .cta-band-inner { grid-template-columns: 1.4fr auto; }
  .practice-lead { grid-template-columns: 1.35fr 1fr; align-items: stretch; }
  .about-grid { grid-template-columns: .85fr 1.15fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1000px) {
  .nav-toggle { display: none; }

  .primary-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
  }
  .primary-nav ul { flex-direction: row; gap: 1.5rem; }
  .primary-nav li { border: 0; }
  .primary-nav a {
    min-height: 44px;
    font-size: .95rem;
    position: relative;
  }
  .primary-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 10px;
    height: 2px;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s var(--ease);
  }
  .primary-nav a:hover::after,
  .primary-nav a[aria-current="true"]::after { transform: scaleX(1); }

  .header-call { margin-top: 0; width: auto; }

  .mobile-cta { display: none; }
  .site-footer { padding-bottom: clamp(2rem, 4vw, 3rem); }

  .hero-inner { grid-template-columns: 1.25fr .75fr; align-items: center; }
  .hero-portrait { justify-self: end; }
  .hero-portrait img { max-width: 100%; }

  .credbar-list { grid-template-columns: repeat(5, 1fr); }

  .review-grid { grid-template-columns: repeat(4, 1fr); }
  .review p { font-size: 1rem; }
}

/* --------------------------- Reduced motion ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover { transform: none; }
}

/* -------------------------------- Print ---------------------------------- */
@media print {
  .site-header, .mobile-cta, .nav-toggle, .hero-bg, .area-media { display: none !important; }
  body { background: #fff; color: #000; }
  .contact, .hero, .credbar, .practice-major, .result-feature { background: #fff !important; color: #000 !important; }
}
