/* ============================================================================
   starter.css — MECHANICS-ONLY FLOOR (copied; type ladder steps adjusted to the
   site's 7-step scale per the floor's "adjust the steps to taste" note)
   ============================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-size: 1.0625rem; line-height: 1.6; }
img, svg, video { max-width: 100%; height: auto; }

:root {
  --space-1: 0.25rem; --space-2: 0.5rem;  --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem;  --space-6: 2rem;    --space-7: 3rem;     --space-8: 4.5rem;
  --measure: 38rem;
  --section-pad: 4.5rem;
}

h1 { font-size: 2.5rem;   line-height: 1.08; margin: 0 0 1rem; }
h2 { font-size: 1.875rem; line-height: 1.16; margin: 0 0 0.75rem; }
h3 { font-size: 1.5rem;   line-height: 1.25; margin: 0 0 0.5rem; }
p  { margin: 0 0 1rem; max-width: var(--measure); }
@media (min-width: 1000px) { h1 { font-size: 3.25rem; } }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid currentColor; outline-offset: 2px;
}
a { text-underline-offset: 3px; }

:root { --header-safe: clamp(5rem, 9vh, 7rem); }
html { scroll-padding-top: var(--header-safe); }

@media (max-width: 720px) { :root { --section-pad: 2.5rem; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ============================================================================
   BROCK & BROCK PLLC — bespoke design
   Palette: cool Vermont granite + deep spruce evergreen + burnished-brass hairlines.
   Type:    Newsreader (display serif) + Public Sans (civic sans).
   Type scale (literal, 7 steps): 0.8125 / 1.0625 / 1.25 / 1.5 / 1.875 / 2.5 / 3.25 rem
   ============================================================================ */
:root {
  --paper:    #eef0f1;
  --paper-2:  #e4e8e9;
  --white:    #ffffff;
  --ink:      #1b2522;
  --spruce:   #1c4034;
  --spruce-2: #163528;
  --granite-dark: #1b2522;
  --muted:    #515a5e;
  --muted-2:  #5a6166;
  --line:     #d3d8d9;
  --line-2:   #c6cccd;
  --brass:    #9a7b3f;
  --brass-lt: #c9a463;
  --on-dark:  #e9ede9;
  --on-dark-soft: #b9c4bd;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 76rem;
  --radius: 3px;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
h2 { letter-spacing: -0.015em; }
p { color: var(--ink); }

a { color: var(--spruce); }
a:hover { color: var(--spruce-2); }

/* ---- layout ---- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
main > section { padding: var(--section-pad) 0; }
main > section.hero, main > section.page-hero, main > section.ledger { padding: 0; }
.lede { font-size: 1.25rem; line-height: 1.55; color: var(--ink); max-width: 34rem; }
.muted { color: var(--muted); }
.measure { max-width: 38rem; }
.tight { max-width: 46rem; }

/* eyebrow / label */
.eyebrow {
  font-family: var(--sans); font-weight: 600; font-size: 0.8125rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--spruce);
  margin: 0 0 0.75rem; display: inline-flex; align-items: center; gap: 0.5rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: var(--brass); display: inline-block; }
.eyebrow.on-dark { color: var(--brass-lt); background-color: var(--granite-dark); }
.eyebrow.on-dark::before { background: var(--brass-lt); }

/* ---- header / nav ---- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-head::after { content:""; display:block; height:2px; background: var(--brass); opacity: .5; }
.head-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0.75rem 1.5rem;
  display: flex; align-items: center; gap: 1.5rem; position: relative;
}
.brand { display: flex; flex-direction: column; gap: 0.125rem; text-decoration: none; min-width: 0; flex-shrink: 1; }
.brand-name {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: 1.5rem; line-height: 1.05; letter-spacing: -0.01em; white-space: nowrap;
}
.brand-pllc { color: var(--spruce); }
.brand-sub {
  font-family: var(--sans); font-weight: 600; font-size: 0.8125rem;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); line-height: 1.3;
}
.nav { margin-left: auto; flex-shrink: 0; }
.nav-toggle {
  list-style: none; cursor: pointer; font-weight: 600; font-size: 0.8125rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
  padding: 0.5rem 0.75rem; border: 1px solid var(--line-2); border-radius: var(--radius);
}
.nav-toggle::-webkit-details-marker { display: none; }
.nav-links { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.75rem 0; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 1.0625rem;
  padding: 0.5rem 0.75rem; border-radius: var(--radius);
}
.nav-links a:hover { color: var(--spruce); background: var(--paper-2); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 1.0625rem;
  text-decoration: none; border-radius: var(--radius); padding: 0.625rem 1.25rem;
  border: 1px solid transparent; cursor: pointer; line-height: 1.2;
}
.btn-cta { background-color: var(--spruce); color: #ffffff; }
.btn-cta:hover { background-color: var(--spruce-2); color: #ffffff; }
.btn-call { color: var(--spruce); border-color: var(--line-2); background-color: var(--paper); }
.btn-call:hover { border-color: var(--spruce); color: var(--spruce); }
.btn-ghost { color: #ffffff; border-color: rgba(255,255,255,0.45); background-color: var(--spruce-2); }
.btn-ghost:hover { border-color: #ffffff; background-color: var(--spruce-2); color: #ffffff; }

@media (min-width: 1180px) {
  .nav-toggle { display: none; }
  .nav-links { flex-direction: row; align-items: center; gap: 0.5rem; padding: 0; }
}
@media (max-width: 1179.98px) {
  .nav[open] .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 2px solid var(--brass);
    box-shadow: 0 16px 30px -18px rgba(20,32,28,0.5);
    padding: 1rem 1.5rem 1.5rem;
  }
  .nav-links a { font-size: 1.0625rem; }
}

/* ---- hero (home) ---- */
.hero {
  position: relative; color: #ffffff; background-color: var(--granite-dark);
  background-image: linear-gradient(0deg, transparent, transparent);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(20,28,25,0.94) 0%, rgba(22,40,32,0.86) 46%, rgba(20,28,25,0.55) 100%);
}
.hero-inner {
  position: relative; z-index: 2; max-width: var(--wrap); margin: 0 auto;
  padding: clamp(4rem, 9vh, 7rem) 1.5rem clamp(3rem, 6vh, 5rem);
}
.hero h1 {
  color: #ffffff; font-weight: 500; font-size: 2.5rem; line-height: 1.05;
  margin: 0 0 1.25rem; max-width: 17ch;
  background-color: var(--granite-dark); background-image: linear-gradient(0deg, transparent, transparent);
}
.hero .hero-lede {
  color: #eef0f1; font-size: 1.25rem; max-width: 33rem; margin: 0 0 1.5rem;
  background-color: var(--granite-dark); background-image: linear-gradient(0deg, transparent, transparent);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 2.25rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(201,164,99,0.4);
}
.hero-meta > span { display: flex; flex-direction: column; }
.hero-meta b {
  font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: #ffffff;
  background-color: var(--granite-dark); background-image: linear-gradient(0deg, transparent, transparent);
}
.hero-meta em {
  font-style: normal; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: #c9a463;
  background-color: var(--granite-dark); background-image: linear-gradient(0deg, transparent, transparent);
}
@media (min-width: 1000px) { .hero h1 { font-size: 3.25rem; } }

/* ---- interior page hero ---- */
.page-hero { background: var(--spruce-2); color: #ffffff; background-image: linear-gradient(0deg, transparent, transparent); }
.page-hero .wrap { padding-top: 3.25rem; padding-bottom: 3.25rem; }
.page-hero h1 { color: #ffffff; max-width: 20ch; background-color: var(--spruce-2); background-image: linear-gradient(0deg, transparent, transparent); }
.page-hero p { color: #d7ded8; max-width: 40rem; background-color: var(--spruce-2); background-image: linear-gradient(0deg, transparent, transparent); }
.page-hero .eyebrow { color: var(--brass-lt); background-color: var(--spruce-2); }
.page-hero .crumb { font-size: 0.8125rem; color: #aebbb2; margin-bottom: 1.25rem; background-color: var(--spruce-2); }
.page-hero .crumb a { color: #d7ded8; background-color: var(--spruce-2); }
.page-hero .hero-cta { margin-top: 1.25rem; }

/* ---- heritage ledger band ---- */
.ledger { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ledger-steps { display: grid; grid-template-columns: 1fr; padding: 1.75rem 0; }
.ledger-steps > div { padding: 0.9rem 0; border-top: 1px solid var(--line); display: flex; gap: 1rem; align-items: baseline; }
.ledger-steps > div:first-child { border-top: none; }
.ledger-steps .yr {
  font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--spruce);
  min-width: 5rem; flex-shrink: 0;
}
.ledger-steps .what { color: var(--muted); font-size: 1.0625rem; }
@media (min-width: 820px) {
  .ledger-steps { grid-template-columns: repeat(4, 1fr); }
  .ledger-steps > div { flex-direction: column; gap: 0.35rem; border-top: none; border-left: 1px solid var(--line); padding: 0.25rem 1.5rem; }
  .ledger-steps > div:first-child { padding-left: 0; border-left: none; }
}

/* ---- content blocks ---- */
.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; } }
.split--media { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split--media { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

.framed--crop { overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.framed--crop img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* attorney portrait — clean framed studio photo on a white card (photo's own
   white background blends with the card, so no keying/fringe is needed) */
.headshot {
  background: #ffffff; border: 1px solid var(--line); border-bottom: 3px solid var(--brass);
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5;
  max-width: 25rem; margin: 0 auto; box-shadow: 0 18px 34px -22px rgba(20,32,28,0.45);
}
.headshot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; background: #ffffff; }

/* practice index (numbered editorial rows) */
.paindex { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.paindex > li { border-bottom: 1px solid var(--line); }
.paindex > li > a {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: baseline;
  padding: 1.5rem 0.25rem; text-decoration: none; color: var(--ink);
  transition: padding-left .18s ease, background-color .18s ease;
}
.paindex > li > a:hover { background: var(--paper-2); padding-left: 1rem; }
.paindex .num { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--brass); letter-spacing: 0.04em; line-height: 1; }
.paindex .pa-body { min-width: 0; }
.paindex .pa-body h3 { margin: 0 0 0.3rem; color: var(--ink); }
.paindex .pa-body p { margin: 0; color: var(--muted); font-size: 1.0625rem; max-width: 44rem; }
.paindex .pa-go { color: var(--spruce); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; align-self: center; }
.paindex > li > a:hover .pa-go { color: var(--spruce-2); }
.paindex > li > a:hover h3 { color: var(--spruce); }

/* two-audience split */
.audiences { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .audiences { grid-template-columns: 1fr 1fr; gap: 1.75rem; } }
.aud {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem; border-top: 3px solid var(--spruce);
}
.aud h3 { color: var(--ink); }
.aud p { color: var(--muted-2); }
.aud .small { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--spruce); font-weight: 600; margin: 0 0 0.5rem; }

/* callout (dark spruce) */
.callout {
  background-color: var(--spruce-2); color: var(--on-dark); border-radius: var(--radius);
  background-image: linear-gradient(0deg, transparent, transparent);
  padding: 2.75rem 2rem; position: relative; overflow: hidden;
}
.callout h2 { color: #ffffff; background-color: var(--spruce-2); }
.callout p { color: var(--on-dark); background-color: var(--spruce-2); max-width: 42rem; }
.callout .eyebrow { color: var(--brass-lt); background-color: var(--spruce-2); }
.callout .btn-ghost { margin-top: 0.5rem; border-color: rgba(201,164,99,0.5); }

/* prose */
.prose .lede { margin-bottom: 1.5rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; color: var(--spruce); }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 1.1rem; margin: 0 0 1.25rem; max-width: 38rem; }
.prose li { margin: 0 0 0.5rem; }
.prose li::marker { color: var(--spruce); }

/* aside / sidebar card */
.aside {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; border-left: 3px solid var(--brass);
}
.aside h3 { font-family: var(--sans); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.aside ul { list-style: none; margin: 0; padding: 0; }
.aside li { padding: 0.5rem 0; border-top: 1px solid var(--line); color: var(--ink); font-size: 1.0625rem; }
.aside li:first-child { border-top: none; }
.aside a { font-weight: 600; }
.layout-2 { display: grid; gap: 2.5rem; }
@media (min-width: 920px) { .layout-2 { grid-template-columns: 1fr 19rem; gap: 3.5rem; align-items: start; } }

/* credential strip (parent>child, class-less items) */
.creds { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 1.75rem; }
@media (min-width: 720px) { .creds { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); } }
.creds > div { padding: 1.25rem; background: var(--paper-2); border-radius: var(--radius); border-bottom: 2px solid var(--brass); }
.creds b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--spruce); margin-bottom: 0.2rem; }
.creds span { color: var(--muted); font-size: 0.8125rem; letter-spacing: 0.04em; }

/* FAQ disclosure */
.faq { border-top: 1px solid var(--line); max-width: 44rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0; position: relative;
  font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 400; font-size: 1.5rem; color: var(--brass); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .ans { padding: 0 0 1.25rem; color: var(--muted); max-width: 40rem; }

/* contact / form */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; } }
.infolist > div { margin: 0 0 1.5rem; }
.infolist .k, .map-static .k { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--spruce); margin: 0 0 0.25rem; }
.infolist .v { font-size: 1.25rem; color: var(--ink); margin: 0; }
.infolist .v a { font-weight: 600; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.75rem; }
.demo-note {
  background: var(--paper-2); border: 1px dashed var(--line-2); color: var(--muted);
  font-size: 0.8125rem; padding: 0.75rem 1rem; border-radius: var(--radius); margin: 0 0 1.5rem;
}
.form-card form > div { margin: 0 0 1.25rem; }
.form-card label { display: block; font-weight: 600; font-size: 1.0625rem; color: var(--ink); margin: 0 0 0.4rem; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; font-family: var(--sans); font-size: 1.0625rem; color: var(--ink);
  padding: 0.7rem 0.8rem; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper);
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--spruce); outline: none; }
.form-card textarea { min-height: 7rem; resize: vertical; }
.form-note { color: var(--muted); font-size: 0.8125rem; margin-top: 1rem; }
.map-static {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--spruce-2); color: var(--on-dark); background-image: linear-gradient(0deg, transparent, transparent);
  padding: 2rem; min-height: 11rem; display: flex; flex-direction: column; justify-content: flex-end;
}
.map-static p { color: var(--on-dark); background-color: var(--spruce-2); margin: 0; }
.map-static .k { color: var(--brass-lt); background-color: var(--spruce-2); margin-bottom: 0.35rem; }

/* ridgeline divider (Green Mountains motif, decorative) */
.ridge {
  height: 90px; width: 100%; display: block; border: 0;
  background-repeat: no-repeat; background-position: center bottom; background-size: cover;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,90 L0,52 L150,62 L320,38 L470,58 L640,30 L800,54 L980,34 L1140,58 L1300,40 L1440,56 L1440,90 Z' fill='%231c4034'/%3E%3Cpath d='M0,90 L0,70 L180,74 L360,60 L540,76 L720,58 L900,74 L1080,60 L1260,76 L1440,66 L1440,90 Z' fill='%23163528'/%3E%3C/svg%3E");
}

/* ---- footer ---- */
.site-foot { background-color: var(--spruce-2); color: var(--on-dark); background-image: linear-gradient(0deg, transparent, transparent); }
.foot-grid { display: grid; gap: 2rem; padding: 3.25rem 0 2rem; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; } }
.site-foot .fn { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: #ffffff; background-color: var(--spruce-2); margin: 0 0 0.5rem; }
.site-foot p { color: var(--on-dark-soft); background-color: var(--spruce-2); max-width: 30rem; font-size: 0.8125rem; }
.site-foot h3 { font-family: var(--sans); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-lt); background-color: var(--spruce-2); margin: 0 0 0.9rem; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin: 0 0 0.55rem; }
.foot-links a { color: var(--on-dark); background-color: var(--spruce-2); text-decoration: none; font-size: 1.0625rem; }
.foot-links a:hover { color: #ffffff; background-color: var(--spruce-2); text-decoration: underline; }
.foot-contact p { color: var(--on-dark); background-color: var(--spruce-2); font-size: 1.0625rem; margin: 0 0 0.4rem; max-width: none; }
.foot-contact a { color: #ffffff; background-color: var(--spruce-2); }
.legal { border-top: 1px solid rgba(201,164,99,0.28); padding: 1.5rem 0 2.5rem; }
.legal p { color: var(--on-dark-soft); background-color: var(--spruce-2); font-size: 0.8125rem; line-height: 1.6; max-width: 60rem; margin: 0 0 0.6rem; }
.legal .adv { color: var(--brass-lt); background-color: var(--spruce-2); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

/* utilities */
.mt-0 { margin-top: 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; color:#fff; padding: 0.5rem 1rem; border-radius: var(--radius); background-color: var(--spruce); }
