/* =========================================================
   Sanchez, Tandy & Maselli, LLP
   "Cut to fit." — bespoke litigation brand · Midnight & Burnt Copper palette (2026-08-09)
   Shared stylesheet
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Core palette — Midnight & Burnt Copper: midnight navy, warm parchment, burnt copper thread */
  --ink:        #1a2137;   /* brand navy — primary (Midnight) */
  --ink-2:      #121728;   /* deeper navy for footers */
  --cloth:      #f8f4ec;   /* warm parchment "fabric" */
  --cloth-2:    #efeadd;   /* slightly deeper ivory panel */
  --charcoal:   #20242c;   /* body text */
  --slate:      #5a6072;   /* muted text */
  --brass:      #a85315;   /* burnt copper accent */
  --brass-deep: #8a430f;   /* darker copper for hover / text on light */
  --brass-light:#e0954e;   /* light copper for text/icons on dark navy (WCAG) */
  --line:       #ded7c8;   /* hairline dividers */
  --white:      #ffffff;

  --maxw: 1160px;
  --pad: clamp(1.25rem, 4vw, 3rem);

  --serif: "Cormorant Garamond", "Hoefler Text", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow: 0 18px 40px -22px rgba(13, 16, 28, 0.45);
  --radius: 2px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--cloth);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brass-deep); text-decoration: none; }
a:hover { color: var(--brass); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: 0.3px;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
p { margin: 0 0 1.1rem; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brass-deep);
  margin: 0 0 1rem;
}
.eyebrow.light { color: var(--brass-light); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section.tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section.cloth-2 { background: var(--cloth-2); }
.section.ink { background: var(--ink); color: #e7e3da; }
.section.ink h1, .section.ink h2, .section.ink h3 { color: var(--white); }
.lead { font-size: 1.22rem; color: var(--slate); max-width: 60ch; }
.section.ink .lead { color: #cdd2dd; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.measure { max-width: 68ch; }

/* Thread divider — a stitched line */
.thread {
  width: 64px; height: 0;
  border-top: 2px dashed var(--brass);
  margin: 1.4rem 0;
}
.center .thread { margin-left: auto; margin-right: auto; }
.section.ink .thread { border-color: var(--brass); }

/* Pinstripe accent strip */
.pinstripe {
  height: 6px;
  background-image: repeating-linear-gradient(
    90deg, var(--brass) 0, var(--brass) 1px, transparent 1px, transparent 9px);
  opacity: 0.55;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.95rem 1.8rem;
  border: 1.5px solid var(--brass);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--brass); color: var(--white); }
.btn-primary:hover { background: var(--brass-deep); border-color: var(--brass-deep); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.section.ink .btn-ghost { color: var(--white); border-color: var(--brass); }
.section.ink .btn-ghost:hover { background: var(--brass); color: var(--white); }
/* Ghost buttons sitting on the dark hero need light text */
.hero .btn-ghost { color: var(--white); border-color: var(--brass); }
.hero .btn-ghost:hover { background: var(--brass); color: var(--white); border-color: var(--brass); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }
.center .btn-row { justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 244, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { max-width: 1220px; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-top: 0.5rem; padding-bottom: 0.5rem;
}
.brand { display: flex; align-items: center; gap: 16px; line-height: 1; text-decoration: none; }
.brand-logo { height: 88px; width: auto; display: block; }
/* Monogram + typeset firm name lockup */
.brand-mark { height: 56px; width: auto; display: block; flex: 0 0 auto; }
.brand-name { display: flex; flex-direction: column; justify-content: center; }
.brand-firm { font-family: var(--serif); font-weight: 700; font-size: 1.55rem; line-height: 1; color: var(--ink); letter-spacing: 0.4px; white-space: nowrap; }
.brand-firm .pipe { color: var(--brass-deep); font-weight: 600; padding: 0 0.3em; }
.brand-tag { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.66rem; color: var(--slate); margin-top: 0.46rem; white-space: nowrap; }
@media (max-width: 600px) {
  .brand-logo { height: 66px; }
  .brand { gap: 12px; }
  .brand-mark { height: 50px; }
  .brand-firm { font-size: 1.4rem; }
  .brand-tag { font-size: 0.58rem; letter-spacing: 0.18em; margin-top: 0.36rem; }
}
.brand .mark {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: 1.5rem; letter-spacing: 0.5px;
}
.brand .mark .amp { color: var(--brass); }
.brand .sub {
  font-family: var(--sans); text-transform: uppercase;
  letter-spacing: 0.24em; font-size: 0.6rem; color: var(--slate);
  margin-top: 0.35rem;
}
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--charcoal);
}
.nav-links a:hover, .nav-links a.active { color: var(--brass-deep); }
.nav-links a.active { border-bottom: 2px solid var(--brass); padding-bottom: 2px; }
.nav-cta { margin-left: 0.5rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.5rem; color: var(--ink); }

@media (max-width: 1220px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cloth); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.7rem 0; width: 100%; }
  .nav-cta { margin: 0.6rem 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* Visible pinstripe "suiting" weave (2026-07-24, Mike picked Option A). The navy
     overlay is darkest on the left where the text sits (brass eyebrow needs >=4.5:1
     WCAG vs the brightest composited stripe — verified mathematically; see CHANGELOG)
     and opens up toward the right so the fabric texture shows. */
  background:
    linear-gradient(100deg, rgba(18,23,40,0.88) 0%, rgba(18,23,40,0.80) 55%, rgba(18,23,40,0.45) 100%),
    repeating-linear-gradient(135deg, #343e69 0, #343e69 2px, #1a2137 2px, #1a2137 10px);
  color: #eceadf;
  overflow: hidden;
}
@media (max-width: 700px) {
  /* Text can span the full width on phones — keep the overlay uniformly dark there. */
  .hero { background:
    linear-gradient(180deg, rgba(18,23,40,0.86), rgba(18,23,40,0.90)),
    repeating-linear-gradient(135deg, #343e69 0, #343e69 2px, #1a2137 2px, #1a2137 10px); }
}
/* Brass "stitch" accent under the hero text on interior pages (not the photo hero). */
.hero:not(.hero-photobg) .wrap::after {
  content: ""; display: block; margin-top: 2.2rem; height: 2px; max-width: 340px;
  background: repeating-linear-gradient(90deg, var(--brass) 0, var(--brass) 14px, transparent 14px, transparent 24px);
}
.hero .wrap { position: relative; z-index: 2; padding-top: clamp(4rem, 10vw, 7rem); padding-bottom: clamp(4rem, 10vw, 7rem); }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero .lead { color: #cdd2dd; font-size: 1.3rem; max-width: 56ch; }
.hero .eyebrow { color: var(--brass-light); }

/* Optional "also published on LinkedIn" line, sits directly under an article h1.
   Text is white (same contrast footing as the h1) with a brass underline; the
   glyph uses --brass, which clears 4.5:1 over the brightest pinstripe. */
.hero-linkedin { margin: 0.9rem 0 0; }
.hero-linkedin a {
  display: inline-flex; align-items: flex-start; gap: 0.5rem;
  color: var(--white); text-decoration: none;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.hero-linkedin a svg { width: 17px; height: 17px; margin-top: 1px; fill: var(--brass-light); flex: 0 0 auto; transition: fill 0.2s ease; }
.hero-linkedin a:hover { color: var(--brass-light); border-color: var(--white); }
.hero-linkedin a:hover svg { fill: var(--white); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.three, .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -24px rgba(13,16,28,0.5); }
.card h3 { margin-bottom: 0.4rem; }
.card .meta { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brass-deep); font-weight: 600; }
.card p { color: var(--slate); font-size: 0.98rem; margin-bottom: 0; }
.card-link { display: inline-block; margin-top: 1rem; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.card-link::after { content: " \2192"; }

/* Value / feature list */
.feature { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.feature h3 { display: flex; align-items: baseline; gap: 0.6rem; }
.feature h3 .num { font-family: var(--sans); font-size: 0.9rem; color: var(--brass); font-weight: 700; letter-spacing: 0.1em; }

/* Stat band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat .figure { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--brass); line-height: 1; }
.section.ink .stat .figure { color: var(--brass-light); }
.stat .label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--slate); margin-top: 0.5rem; }
.section.ink .stat .label { color: #aab2c4; }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--ink-2); color: var(--white); text-align: center; }
.cta-banner h2 { color: var(--white); }
.cta-banner .lead { color: #c7ccd8; margin-left: auto; margin-right: auto; }

/* ---------- Practice area list ---------- */
.pa-item { padding: 2rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 2fr; gap: 1.5rem; }
.pa-item:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .pa-item { grid-template-columns: 1fr; gap: 0.5rem; } }
.pa-item h3 { color: var(--ink); }
.pa-item .pa-body p { color: var(--slate); margin-bottom: 0; }

/* ---------- Attorney grid ---------- */
.atty-card { text-align: left; padding: 0; overflow: hidden; }
.atty-photo {
  aspect-ratio: 1 / 1; background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  color: var(--brass-light); font-family: var(--serif); font-size: 3rem; letter-spacing: 2px;
  background-image: repeating-linear-gradient(135deg, #28314b 0, #28314b 2px, #1a2137 2px, #1a2137 10px);
  border-bottom: 3px solid var(--brass);
}
.atty-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.atty-body { padding: 1.3rem 1.5rem 1.6rem; }
.atty-body h3 { margin-bottom: 0.1rem; font-size: 1.4rem; }
.atty-role { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--brass-deep); font-weight: 600; }
.atty-focus { font-size: 0.92rem; color: var(--slate); margin: 0.7rem 0 0; }
/* Attorney search / office filter on team.html */
.team-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem 1.2rem; margin: 1.6rem 0 2rem; padding: 1.2rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.team-filter .tf-field { display: flex; flex-direction: column; gap: 0.35rem; flex: 1 1 220px; }
.team-filter label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; color: var(--brass-deep); }
.team-filter input, .team-filter select { font: inherit; font-size: 0.95rem; padding: 0.65rem 0.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cloth-2); color: var(--ink); height: 2.8rem; box-sizing: border-box; }
.team-filter input:focus, .team-filter select:focus { outline: 2px solid var(--brass); outline-offset: 1px; }
.team-filter .tf-clear { flex: 0 0 auto; min-height: 2.8rem; padding: 0.7rem 1.3rem; background: var(--white); }
.team-filter .tf-count { flex: 1 1 100%; margin: 0; font-size: 0.85rem; color: var(--slate); min-height: 1.2em; }
.team-filter .tf-count:empty { display: none; }
#atty-grid .atty-card[hidden] { display: none; }
.tf-empty { margin-top: 0; }
/* Staff (paralegal) cards on team.html: informational only, not links — no hover lift */
.staff-card { cursor: default; }
.staff-card:hover { transform: none; box-shadow: var(--shadow); }
.staff-card .atty-focus a { color: var(--brass-deep); font-weight: 500; word-break: break-all; }
.staff-card .atty-focus a:hover { text-decoration: underline; }

/* ---------- Profile page ---------- */
.profile-head { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 760px) { .profile-head { grid-template-columns: 1fr; } }
.profile-photo { aspect-ratio: 1/1; max-width: 280px; }
.profile-meta { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.profile-meta li { padding: 0.5rem 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.profile-meta .k { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; color: var(--brass-deep); font-weight: 700; display: block; margin-bottom: 0.15rem; }
.cols-2 { columns: 2; column-gap: 2.5rem; }
@media (max-width: 760px) { .cols-2 { columns: 1; } }
.chip-list { list-style: none; padding: 0; margin: 0.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-list li { background: var(--cloth-2); border: 1px solid var(--line); padding: 0.35rem 0.8rem; font-size: 0.82rem; border-radius: var(--radius); color: var(--charcoal); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 0.4rem 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brass); font-family: var(--sans); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--slate); padding-bottom: 0.6rem; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding: 1.6rem 0 1.6rem 4.2rem; border-top: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 1.5rem;
  width: 2.8rem; height: 2.8rem; border: 1.5px solid var(--brass); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.3rem; color: var(--brass-deep);
}
.step h3 { margin-bottom: 0.25rem; }
.step p { color: var(--slate); margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: var(--charcoal); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; padding: 0.8rem 0.9rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--charcoal);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brass); border-color: var(--brass); }

/* ---------- Contact detail blocks ---------- */
.office { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.office h3 { margin-bottom: 0.5rem; }
.office p { color: var(--slate); margin-bottom: 0.3rem; }
.office .tag { display: inline-block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--brass-deep); font-weight: 700; margin-bottom: 0.4rem; }

/* ---------- Disclaimer / notes ---------- */
.note {
  background: var(--cloth-2); border-left: 3px solid var(--brass);
  padding: 1.1rem 1.4rem; font-size: 0.9rem; color: var(--slate); margin: 1.5rem 0;
}
.placeholder {
  border: 1.5px dashed var(--brass); background: rgba(168,83,21,0.06);
  padding: 1.4rem; border-radius: var(--radius); color: var(--slate); font-size: 0.95rem;
}
.placeholder strong { color: var(--brass-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: #b9c0d0; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding: clamp(3rem,6vw,4.5rem) 0 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-family: var(--sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 1rem; }
.site-footer a { color: #b9c0d0; }
.site-footer a:hover { color: var(--brass-light); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.footer-brand .mark { font-family: var(--serif); font-size: 1.5rem; color: var(--white); }
.footer-brand .mark .amp { color: var(--brass); }
.brand-logo-light { height: 88px; width: auto; display: block; margin-bottom: 0.6rem; }
.footer-brand .brand-footer { display: flex; align-items: center; gap: 14px; margin-bottom: 0.7rem; text-decoration: none; }
.footer-brand .brand-mark-light { height: 58px; }
.site-footer .brand-firm { color: var(--white); }
.site-footer .brand-tag { color: #b9c0d0; }
.footer-brand p { color: #99a1b5; font-size: 0.9rem; max-width: 34ch; margin-top: 0.8rem; }
/* Social icons — dark footer variant (.footer-social) and light-page variant
   (.social-row, used on contact.html). Hrefs are placeholders ("#") until the
   firm's LinkedIn/Instagram pages exist — search the HTML for data-social. */
.footer-social, .social-row { display: flex; gap: 0.7rem; margin-top: 1.1rem; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28); color: #b9c0d0;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.social-link svg { width: 17px; height: 17px; fill: currentColor; display: block; }
.site-footer .social-link:hover { background: var(--brass); border-color: var(--brass); color: var(--white); }
.social-row .social-link { border-color: var(--line); color: var(--ink); background: var(--white); }
.social-row .social-link:hover { background: var(--brass); border-color: var(--brass); color: var(--white); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; font-size: 0.8rem; color: #8089a0; }
.footer-bottom .disclaimer { max-width: 90ch; margin-top: 0.6rem; line-height: 1.6; }

/* ---------- Hero illustration ---------- */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero-art { width: 100%; max-width: 440px; height: auto; display: block; margin-left: auto; }
.hero-photo {
  width: 100%; max-width: 500px; aspect-ratio: 1 / 1; object-fit: cover;
  display: block; margin-left: auto; border-radius: 4px;
  border: 2px solid var(--brass);
  box-shadow: 0 26px 64px -30px rgba(0,0,0,0.75);
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-art { max-width: 320px; margin: 0.5rem auto 0; }
  .hero-photo { max-width: 380px; margin: 0.5rem auto 0; }
}

/* ---------- Tailoring art ---------- */
.art-band { background: var(--ink); color: #dfe3ec; }
.art-band .wrap { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 3rem; align-items: center; }
@media (max-width: 800px) { .art-band .wrap { grid-template-columns: 1fr; gap: 2rem; } }
.art-band h2 { color: var(--white); }
.art-band .lead { color: #cdd2dd; }
.art-band .eyebrow { color: var(--brass-light); }
.art-figure { width: 100%; height: auto; display: block; }
.art-photo {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block;
  border-radius: 4px; border: 2px solid var(--brass);
  box-shadow: 0 22px 56px -30px rgba(0,0,0,0.7);
}
.art-photo-portrait { aspect-ratio: 3 / 4; }
/* About "What Makes Us Different": photo beside the numbered features (collapses on mobile) */
.about-split { grid-template-columns: 340px 1fr; gap: 3rem; align-items: center; margin-top: 1.5rem; }
@media (max-width: 800px) {
  .about-split { grid-template-columns: 1fr; }
  .about-split .art-photo-portrait { max-width: 320px; margin: 0 auto; }
}
.art-figure-col { max-width: 460px; }
@media (max-width: 800px) { .art-figure-col { max-width: 320px; margin: 0 auto; } }
.art-side { max-width: 300px; width: 100%; height: auto; display: block; margin: 0 auto; }
.art-accent { width: 58px; height: 58px; display: block; margin-bottom: 1rem; }
.center .art-accent { margin-left: auto; margin-right: auto; }

/* ---------- Utility ---------- */
.hide { display: none; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Article pages ---------- */
.article-body { max-width: 76ch; }
.article-body h2 { margin-top: 2.4rem; margin-bottom: 0.8rem; }
.article-body p { margin-bottom: 1.1rem; }
a.card { color: inherit; display: block; }
a.card .card-link { color: var(--brass-deep); }
a.card:hover .card-link { color: var(--brass); }

/* ---------- Resources: article search & filters ---------- */
.filter-bar { margin: 1.4rem 0 2rem; }
.article-search {
  width: min(440px, 100%); font-family: var(--sans); font-size: 0.95rem;
  padding: 0.8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--ink); outline: none;
}
.article-search:focus { border-color: var(--brass); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.filter-chip {
  font-family: var(--sans); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.45rem 0.95rem; border: 1.5px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--slate); cursor: pointer; transition: all 0.2s ease;
}
.filter-chip:hover { border-color: var(--brass); color: var(--ink); }
.filter-chip.active { background: var(--brass); border-color: var(--brass); color: var(--white); }

/* ---------- Homepage photo hero (photo behind text, scrim for readability) ---------- */
.hero-photobg { background: var(--ink); }
.hero-photobg::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("hero-tailoring.jpg") center 38% / cover no-repeat;
}
.hero-photobg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(96deg,
    rgba(26, 33, 55, 0.94) 0%,
    rgba(26, 33, 55, 0.88) 42%,
    rgba(26, 33, 55, 0.62) 74%,
    rgba(30, 38, 64, 0.50) 100%);
}
.hero-photobg .wrap { position: relative; z-index: 2; }
.hero-photobg h1, .hero-photobg .lead { text-shadow: 0 1px 14px rgba(13, 16, 28, 0.45); }
@media (max-width: 900px) {
  /* text spans the full width on small screens; lighter graduated scrim so the
     photo reads through while worst-case text contrast stays above WCAG AA */
  .hero-photobg::after {
    background: linear-gradient(180deg,
      rgba(26, 33, 55, 0.82) 0%,
      rgba(26, 33, 55, 0.75) 60%,
      rgba(26, 33, 55, 0.75) 78%,
      rgba(26, 33, 55, 0.60) 100%);
  }
}

/* Photo hero layout: headline high, buttons low, equal-width side-by-side */
.hero-photobg .wrap {
  display: flex; flex-direction: column;
  min-height: clamp(420px, 58vh, 560px);
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
/* Full-screen landing (index): sticky header + photo hero fill exactly one viewport, so the
   cream "The Firm" section sits below the fold until the visitor scrolls. --header-h is measured
   live in index.html's inline JS (updates on resize + after fonts load). Sizing the .wrap (not the
   section) keeps its existing flex column — headline top, buttons bottom, left-aligned — just taller. */
.hero-photobg > .wrap { min-height: calc(100vh - var(--header-h, 76px)); min-height: calc(100svh - var(--header-h, 76px)); }
.hero-photobg h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.hero-photobg .btn-row { margin-top: auto; flex-wrap: nowrap; max-width: 540px; }
.hero-photobg .btn-row .btn { flex: 1 1 0; text-align: center; white-space: nowrap; padding-left: 0.6rem; padding-right: 0.6rem; }
@media (max-width: 600px) {
  .hero-photobg .btn-row { max-width: none; gap: 0.5rem; }
  .hero-photobg .btn-row .btn { font-size: 0.68rem; padding: 0.85rem 0.3rem; letter-spacing: 0.02em; }
}

/* ---------- Footer: center content when it collapses to one column on mobile ---------- */
@media (max-width: 520px) {
  .footer-grid { text-align: center; }
  .brand-logo-light { margin-left: auto; margin-right: auto; }
  .footer-brand .brand-footer { justify-content: center; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .footer-social { justify-content: center; }
  .footer-bottom { text-align: center; }
  .footer-bottom .disclaimer { margin-left: auto; margin-right: auto; }
}

/* ---------- Homepage hero: Latest Insights highlight box ---------- */
.hero-photobg .hero-foot { margin-top: auto; display: flex; flex-direction: column; gap: 1.3rem; }
.hero-photobg .hero-foot .btn-row { margin-top: 0; }
/* Homepage "Latest Insights": minimal — small label + rotating headline over the photo (no panel). */
.hero-insights {
  width: 100%; max-width: 540px;
  background: transparent; border: 0; padding: 0;
}
.hero-insights .hi-eyebrow {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.2em;
  /* Over the photo the accent must be lighter than --brass-light: worst-case composited
     pixel in the label zone needs >=4.5:1 (mobile scrim is the limiting case — measured
     4.88:1 mobile, 7.42:1 desktop with this tint; --brass-light falls short there). */
  font-size: 0.64rem; font-weight: 700; color: #f7d9b6; margin: 0 0 0.35rem;
  text-shadow: 0 1px 8px rgba(8, 12, 26, 0.55);
}
.hero-insights .hi-slides { position: relative; }
.hero-insights .hi-slide { display: none; }
.hero-insights .hi-slide.active { display: block; animation: hiFade 0.8s ease; }
@keyframes hiFade { from { opacity: 0; } to { opacity: 1; } }
.hero-insights .hi-meta { display: none; }
.hero-insights a.hi-slide { text-decoration: none; }
.hero-insights a.hi-slide .hi-title {
  font-family: var(--serif); font-size: 1.22rem; line-height: 1.3; color: #ffffff;
  text-shadow: 0 1px 14px rgba(8, 12, 26, 0.78), 0 1px 4px rgba(8, 12, 26, 0.65);
}
.hero-insights a.hi-slide:hover .hi-title { color: var(--brass-light); }
.hero-insights .hi-dots { display: none; }

/* Three-up stat row (used where a headcount stat was removed) */
.stats.cols-3 { grid-template-columns: repeat(3, 1fr); max-width: 840px; margin-left: auto; margin-right: auto; }
@media (max-width: 720px) { .stats.cols-3 { grid-template-columns: repeat(2, 1fr); } }
