/* ============================================================
   Pizzatto & Rocha Advogados — Design System
   Institutional landing (black + gold), PT-BR
   Fonts: Newsreader (serif) + Instrument Sans (sans)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --brand: #1A1A18;          /* black */
  --accent: #C9A24B;         /* gold  */
  --accent-ink: #1c1608;     /* text on gold */

  /* Surfaces */
  --page: #FFFFFF;
  --band-warm: #F3F1EB;      /* warm section band */

  /* Ink (on light) */
  --ink: #23211C;            /* body text */
  --ink-muted: #565243;      /* secondary text */
  --ink-soft: #75705f;       /* captions / meta */
  --ink-faint: #8f8a76;      /* placeholder labels */
  --nav-link: #3a382f;

  /* Ink (on dark) */
  --on-dark: #FFFFFF;
  --on-dark-82: rgba(246, 242, 233, 0.82);
  --on-dark-85: rgba(246, 242, 233, 0.85);
  --on-dark-80: rgba(246, 242, 233, 0.80);
  --on-dark-70: rgba(246, 242, 233, 0.70);
  --on-dark-55: rgba(246, 242, 233, 0.55);
  --on-dark-50: rgba(246, 242, 233, 0.50);

  /* Lines */
  --line: rgba(30, 30, 30, 0.14);
  --line-soft: rgba(30, 30, 30, 0.10);
  --line-on-dark: rgba(246, 242, 233, 0.15);

  /* Layout */
  --maxw: 1220px;
  --edge: 48px;
  /* Full-bleed sections: backgrounds span the viewport, content stays centered
     within --maxw. On wide screens the side inset grows to center the column. */
  --gutter: max(var(--edge), calc((100% - var(--maxw)) / 2));

  /* Radius */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;

  /* Type */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

h1, h2, h3, p { margin: 0; }

.serif { font-family: var(--serif); }

/* Center rail — every full-bleed band centers its inner content */
.page {
  width: 100%;
  background: var(--page);
}

/* ============================================================
   Utility top bar
   ============================================================ */
.topbar {
  background: var(--brand);
  color: var(--on-dark-82);
  padding: 9px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.topbar a { color: var(--on-dark-82); text-decoration: none; }
.topbar a:hover { color: var(--on-dark); }
.topbar__left,
.topbar__right { display: flex; align-items: center; gap: 26px; }
.topbar__right { gap: 22px; }
.topbar__sep { opacity: .5; }
.topbar__div { opacity: .4; }
.topbar__hours { letter-spacing: .06em; }

/* ============================================================
   Header / nav
   ============================================================ */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  background: var(--page);
  border-bottom: 1px solid var(--line-soft);
}
.logo-chip {
  display: inline-block;
}
.logo-chip img { height: 34px; }

/* Mobile menu toggle — hidden on desktop, shown in the mobile media query */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  cursor: pointer;
  position: relative;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--brand);
  transform: translateX(-50%);
  transition: transform .22s ease, opacity .22s ease, top .22s ease;
}
.nav-toggle__bars { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }
body.nav-open .nav-toggle__bars { background: transparent; }
body.nav-open .nav-toggle__bars::before { top: 0; transform: translateX(-50%) rotate(45deg); }
body.nav-open .nav-toggle__bars::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  text-decoration: none;
  color: var(--nav-link);
  font-size: 14.5px;
  font-weight: 500;
}
.nav a:hover { color: var(--brand); }
.nav a[aria-current="page"] {
  color: var(--brand);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: var(--r-sm);
  font-weight: 600;
  line-height: 1;
  transition: filter .15s ease, background .15s ease, color .15s ease;
  cursor: pointer;
  border: 0;
}
.btn--gold {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--gold:hover { filter: brightness(1.06); }
.btn--dark {
  background: var(--brand);
  color: var(--on-dark);
}
.btn--dark:hover { filter: brightness(1.25); }
.btn--outline-dark {
  color: var(--on-dark);
  border: 1px solid var(--on-dark-50);
  background: transparent;
}
.btn--outline-dark:hover { border-color: var(--on-dark); }

.btn--nav { font-size: 14px; padding: 11px 22px; }
.btn--lg  { font-size: 16px; padding: 16px 28px; }
.btn--cta { font-size: 16px; padding: 17px 32px; }
.btn--block { display: block; text-align: center; font-size: 14.5px; padding: 12px; }
/* WhatsApp glyph inside CTA buttons */
.wa-ico {
  width: 1.2em;
  height: 1.2em;
  vertical-align: -0.24em;
  margin-right: 9px;
}

/* ---------- Kicker (rule + label) ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.kicker__rule { height: 2px; width: 40px; background: var(--accent); }
.kicker__label,
.eyebrow {
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.eyebrow { display: block; margin-bottom: 14px; }

/* Monospace photo caption */
.photo-cap {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: .06em;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: var(--brand);
  color: var(--on-dark);
  overflow: visible;
  min-height: 560px;
}
.hero__texture {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: #17140f;
  background-image: url(../assets/photos/hero-escritorio.jpg?v=2);
  background-size: cover;
  background-position: center right;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(8, 8, 10, .92) 0%,
    rgba(8, 8, 10, .6) 46%,
    rgba(8, 8, 10, .18) 100%);
}
.hero__cap {
  position: absolute;
  top: 18px;
  right: 20px;
  color: var(--on-dark-55);
  background: rgba(0, 0, 0, .3);
  padding: 4px 9px;
}
.hero__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 78px var(--edge) 110px;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 58px;
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 0 0 22px;
  max-width: 620px;
}
.hero__lede {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--on-dark-85);
  margin: 0 0 34px;
  max-width: 560px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* Overlapping consult card */
.consult-card {
  position: absolute;
  right: var(--gutter);
  bottom: -44px;
  z-index: 5;
  width: 300px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .5);
  padding: 26px 28px;
}
.consult-card__title {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--brand);
  margin-bottom: 8px;
}
.consult-card__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 0 0 16px;
}

/* ============================================================
   Section scaffolding
   ============================================================ */
.section { padding: 96px var(--gutter) 64px; }
.section--tb { padding: 76px var(--gutter); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.1;
  margin: 0;
  color: var(--brand);
  max-width: 520px;
}
.link-underline {
  text-decoration: none;
  color: var(--brand);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
  white-space: nowrap;
}

/* ---------- Numbered practice-areas grid ---------- */
.areas {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.area {
  padding: 30px 28px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.areas > .area:first-child { padding-left: 0; border-left: 0; }
.areas > .area:last-child  { padding-right: 0; }
.area__num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 14px;
}
.area__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--brand);
}
.area__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}

/* ============================================================
   Call-to-action band
   ============================================================ */
.cta-band {
  position: relative;
  background: var(--band-warm);
  color: var(--ink);
  overflow: hidden;
  padding: 76px var(--gutter);
  text-align: center;
}
.cta-band__texture { display: none; }
.cta-band__inner { position: relative; }
.cta-band .eyebrow { margin-bottom: 18px; }
.cta-band__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.08;
  margin: 0 auto 18px;
  max-width: 660px;
  color: var(--ink);
}
.cta-band__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0 auto 0;
  max-width: 520px;
}
.cta-band__banner {
  margin: 40px auto 0;
  max-width: 980px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .35);
}
.cta-band__banner img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 640px) {
  .cta-band__banner { margin-top: 28px; border-radius: var(--r-md); }
}

/* ============================================================
   Quem somos (split)
   ============================================================ */
.split {
  padding: 76px var(--gutter);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 52px;
  align-items: center;
}
.split--flip { grid-template-columns: 1.15fr .85fr; }
.split__body h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 34px;
  line-height: 1.12;
  margin: 0 0 18px;
  color: var(--brand);
}
.split__body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0 0 16px;
}
.split__body p:last-of-type { margin-bottom: 26px; }

.signature {
  display: flex;
  gap: 14px;
  align-items: center;
}
.signature__name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--brand);
}
.signature__div { width: 1px; height: 22px; background: rgba(30, 30, 30, .2); }
.signature__meta { font-size: 14px; color: var(--ink-soft); }

/* ---------- Image media ---------- */
.media {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.media--portrait { aspect-ratio: 4 / 5; object-fit: cover; }

/* Real-photo slot: neutral frame until the .jpg exists, then image covers it */
.ph {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: #ECEAE4;
}
.ph--portrait { aspect-ratio: 4 / 5; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--square { aspect-ratio: 1 / 1; }
.ph > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ph__label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9c968a;
}

/* ---------- Nav dropdown ---------- */
.nav-drop { position: relative; }
.nav-drop > a::after {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .6;
}
.nav-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--r-md) var(--r-md);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.28);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s ease, transform .16s ease;
  z-index: 40;
}
.nav-drop:hover .nav-menu,
.nav-drop:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--nav-link);
  line-height: 1.35;
}
.nav-menu a small {
  display: block;
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.nav-menu a:hover { background: #f4f1ea; color: var(--brand); }

/* ---------- Photo placeholder (legacy hatch) ---------- */
.photo {
  border-radius: 4px;
  background: repeating-linear-gradient(135deg,
    #EAE7E1 0 16px, #F1EFEA 16px 32px);
  border: 1px solid var(--line);
  position: relative;
}
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 9; }
.photo__cap {
  position: absolute;
  top: 14px;
  left: 14px;
  color: var(--ink-faint);
  background: rgba(255, 255, 255, .72);
  padding: 4px 8px;
}

/* ============================================================
   Testimonial
   ============================================================ */
.testimonial {
  background: var(--band-warm);
  padding: 72px var(--gutter);
  text-align: center;
}
.testimonial__mark {
  font-family: var(--serif);
  font-size: 60px;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
}
.testimonial__quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.4;
  color: var(--brand);
  margin: 0 auto 22px;
  max-width: 760px;
}
.testimonial__by {
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--ink-soft);
}
.testimonial__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 44px;
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: left;
}
.testimonial__item .testimonial__mark { font-size: 40px; margin-bottom: 4px; }
.testimonial__item .testimonial__quote {
  font-size: 19px;
  line-height: 1.5;
  margin: 0 0 16px;
  max-width: none;
}
.testimonial__item .testimonial__by { color: var(--ink-soft); }
@media (max-width: 900px) {
  .testimonial__grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--brand);
  color: var(--on-dark);
  padding: 56px var(--gutter) 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer__blurb {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--on-dark-70);
  margin: 0;
  max-width: 320px;
}
.footer .logo-chip {
  margin-bottom: 18px;
  background: #fff;
  padding: 6px 14px;
  border-radius: var(--r-md);
}
.footer .logo-chip img { height: 30px; }
.footer__h {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.footer__lines {
  font-size: 14.5px;
  line-height: 2;
  color: var(--on-dark-80);
}
.footer__lines a { color: var(--on-dark-80); text-decoration: none; }
.footer__lines a:hover { color: var(--on-dark); }
.footer__legal {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line-on-dark);
  font-size: 13px;
  color: var(--on-dark-50);
}

/* ============================================================
   Inner-page hero (compact banner)
   ============================================================ */
.page-hero {
  position: relative;
  background: var(--brand);
  color: var(--on-dark);
  overflow: hidden;
  padding: 72px var(--gutter) 76px;
}
.page-hero__texture {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg,
    rgba(255, 255, 255, .03) 0 22px, transparent 22px 44px);
}
.page-hero__inner { position: relative; max-width: 720px; }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}
.page-hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-dark-85);
  margin: 0;
  max-width: 560px;
}

/* Light variant — no dark band, brand mark on the right */
.page-hero--light {
  background: var(--band-warm);
  color: var(--ink);
}
.page-hero--light .page-hero__texture { display: none; }
.page-hero--light .crumb,
.page-hero--light .crumb a { color: var(--ink-soft); }
.page-hero--light .crumb a:hover { color: var(--ink); }
.page-hero--light h1 { color: var(--ink); }
.page-hero--light p { color: var(--ink-muted); }
.page-hero__logo {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  width: 230px;
  height: auto;
  pointer-events: none;
}
@media (max-width: 980px) {
  .page-hero__logo { width: 160px; opacity: .8; }
}
@media (max-width: 760px) {
  .page-hero__logo { display: none; }
}

/* Breadcrumb */
.crumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--on-dark-55);
  margin-bottom: 20px;
}
.crumb a { color: var(--on-dark-55); text-decoration: none; }
.crumb a:hover { color: var(--on-dark); }

/* ============================================================
   Prose / detail lists (inner pages)
   ============================================================ */
.prose { max-width: 720px; }
.prose p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin: 0 0 18px;
}
.prose h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.15;
  color: var(--brand);
  margin: 40px 0 16px;
}

/* Area detail cards (áreas de atuação page) */
.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.area-card {
  background: var(--page);
  padding: 34px 32px;
}
.area-card__num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 14px;
}
.area-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 23px;
  margin: 0 0 12px;
  color: var(--brand);
}
.area-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0;
}

/* ---------- FAQ (accordion via <details>) ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 44px 26px 0;
  position: relative;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--brand);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 26px;
  color: var(--accent);
  transition: transform .2s ease;
}
.faq__item[open] summary::after { content: "\2013"; }
.faq__answer {
  padding: 0 44px 28px 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-muted);
}

/* ---------- Bio cards (quem somos page) ---------- */
.bios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.bio__photo { margin-bottom: 20px; }
.bio h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--brand);
  margin: 0 0 4px;
}
.bio__role {
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}
.bio p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0;
}

/* ---------- Value stats row (quem somos) ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.value {
  padding: 32px 28px;
  border-left: 1px solid var(--line);
}
.values > .value:first-child { padding-left: 0; border-left: 0; }
.value h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--brand);
  margin: 0 0 8px;
}
.value p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}

/* ============================================================
   Service pages
   ============================================================ */
/* photo-backed page hero */
.page-hero--photo { padding: 0; overflow: hidden; }
.page-hero--photo .page-hero__bg {
  position: absolute; inset: 0;
  background-color: #17140f;
  background-size: cover;
  background-position: center;
}
.page-hero--photo .page-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,8,10,.92) 0%, rgba(8,8,10,.62) 50%, rgba(8,8,10,.3) 100%);
}
.page-hero--photo .page-hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 84px var(--edge) 88px;
}
.page-hero--photo .page-hero__inner h1 { max-width: 680px; }

/* two-column intro: lede + quick facts */
.svc-intro {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 52px;
  padding: 72px var(--gutter) 8px;
  align-items: start;
}
.svc-lede p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin: 0 0 18px;
}
.svc-lede p strong { color: var(--brand); font-weight: 600; }
.facts {
  border-top: 2px solid var(--accent);
  padding-top: 20px;
}
.facts h3 {
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 14px;
}
.facts li {
  list-style: none;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.facts ul { margin: 0; padding: 0; }

/* numbered process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: 30px 28px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.steps > .step:first-child { padding-left: 0; border-left: 0; }
.steps > .step:last-child { padding-right: 0; }
.step__n {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--accent);
  margin-bottom: 12px;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--brand);
  margin: 0 0 8px;
}
.step p { font-size: 14.5px; line-height: 1.6; color: var(--ink-muted); margin: 0; }

/* related-services rail */
.related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.related a {
  display: block;
  text-decoration: none;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .15s ease, background .15s ease;
}
.related a:hover { border-color: var(--accent); background: #fbf9f4; }
.related__k {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 8px;
}
.related h3 {
  font-family: var(--serif); font-weight: 500; font-size: 21px;
  color: var(--brand); margin: 0 0 8px;
}
.related p { font-size: 14px; line-height: 1.55; color: var(--ink-muted); margin: 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  :root { --gutter: 28px; }

  .topbar { flex-direction: column; gap: 8px; align-items: flex-start; font-size: 12px; }
  .topbar__left, .topbar__right { gap: 16px; flex-wrap: wrap; }

  .header { flex-wrap: wrap; gap: 14px; }
  .nav-toggle { display: inline-flex; }

  /* Collapsible mobile menu: full-width panel below the logo/toggle row */
  .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  body.nav-open .nav { display: flex; }
  .nav > a,
  .nav-drop > a {
    padding: 14px 2px;
    font-size: 16px;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav a[aria-current="page"] { border-bottom: 1px solid var(--line-soft); }
  .btn--nav { margin-top: 16px; text-align: center; padding: 14px 18px; }
  .nav a[aria-current="page"].btn--nav { border-bottom: 0; }

  .hero { min-height: 0; }
  .hero__inner { padding: 56px var(--gutter) 90px; max-width: none; }
  .hero__title { font-size: 42px; }
  .hero__cap { display: none; }
  /* Full-width text on mobile needs a stronger, top-anchored scrim for contrast */
  .hero__scrim {
    background: linear-gradient(180deg, rgba(8,8,10,.72) 0%, rgba(8,8,10,.82) 100%);
  }
  .hero__texture { background-position: center; }
  .page-hero--photo .page-hero__scrim {
    background: linear-gradient(180deg, rgba(8,8,10,.68) 0%, rgba(8,8,10,.82) 100%);
  }
  .consult-card {
    position: relative;
    right: auto; bottom: auto;
    width: auto;
    margin: -60px var(--gutter) 0;
  }

  .section, .section--tb, .split, .cta-band, .testimonial, .page-hero, .footer {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
  .section { padding-top: 64px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-head h2 { font-size: 30px; }

  .areas { grid-template-columns: 1fr; }
  .areas > .area {
    padding: 24px 0 !important;
    border-left: 0 !important;
  }

  .cta-band__title { font-size: 34px; }

  .split, .split--flip { grid-template-columns: 1fr; gap: 32px; }
  .split--flip .split__media { order: -1; }

  .page-hero h1 { font-size: 36px; }

  .area-list, .bios, .values { grid-template-columns: 1fr; }
  .value { padding: 24px 0; border-left: 0; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  /* service pages */
  .nav-menu { position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; border-left: 2px solid var(--accent);
    min-width: 0; padding: 4px 0 4px 12px; margin: 4px 0 0; border-radius: 0; }
  .nav-drop > a::after { display: none; }
  .page-hero--photo .page-hero__inner { padding: 60px var(--gutter) 64px; }
  .svc-intro { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
  .steps { grid-template-columns: 1fr; }
  .steps > .step { padding: 24px 0 !important; border-left: 0 !important; }
  .related { grid-template-columns: 1fr; }
}
