/* =====================================================================
   Primasia Associates — public marketing site
   Light institutional palette. Sans-serif throughout.
   Charcoal text on white, deep navy footer, hairline rules.
   No numbered sections, no big editorial numerals.
   ===================================================================== */

:root {
  /* Palette */
  --bg:           #ffffff;
  --bg-soft:      #f8f6f1;   /* subtle warm tint for alt bands — Brookfield-style restraint */
  --bg-rule:      #ebe8e1;
  --ink:          #1a1a1a;
  --ink-soft:     #4d4d4d;
  --ink-mute:     #7a7a7a;
  --rule:         #d8d4cc;
  --rule-strong:  #1a1a1a;
  --navy:         #0d1b2a;   /* footer + accents */
  --navy-soft:    #1c2a3c;
  --link:         #0d1b2a;
  --link-hover:   #0d1b2a;   /* deep navy — matches the homepage footer/CTA bg */
  --bone-on-navy: #e8e4dc;

  /* Typography */
  --font-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;

  /* Layout */
  --content-max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}

::selection { background: var(--ink); color: var(--bg); }

/* ============== Layout ============== */

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container.narrow { max-width: 880px; }

main { display: block; }

/* ============== Header ============== */

header.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 0;
}

/* Modular wordmark: bull (left) + PRIMASIA image stacked over "Associates"
   text (right). Sized ~2× the original so it reads in the header. */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.wordmark-bull {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.wordmark-bull img { display: block; width: 100%; height: 100%; object-fit: contain; }
.wordmark-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  line-height: 1;
}
.wordmark-name {
  height: 32px;
  width: auto;
  display: block;
}
.wordmark-sub {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1;
}
@media (max-width: 640px) {
  .wordmark { gap: 14px; }
  .wordmark-bull { width: 48px; height: 48px; }
  .wordmark-name { height: 24px; }
  .wordmark-sub { font-size: 0.75rem; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 120ms ease, color 120ms ease;
}
.nav-link:hover { color: var(--link-hover); }
.nav-link.active { border-bottom-color: var(--ink); }

.signin {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--ink);
  transition: background 140ms ease, color 140ms ease;
}
.signin:hover { background: var(--ink); color: var(--bg); }

/* ============== Eyebrows + headings ============== */

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 18px 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
/* Centerview-style inline emphasis: bold key phrases inside the headline,
   instead of scaling type up. Works for h1 and h2. */
h1 strong, h2 strong { font-weight: 700; color: var(--ink); }
h3 {
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
}
h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

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

a { color: var(--link); }
a:hover { color: var(--link-hover); }

.body-link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: border-color 120ms ease, color 120ms ease;
}
.body-link:hover { color: var(--link-hover); border-bottom-color: var(--link-hover); }

.lede {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
  font-weight: 400;
}

/* ============== Hero (homepage) ============== */

.hero {
  padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 8vw, 100px);
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

/* the .hero-grid still wraps content; we stack now (no big numeral on the left) */
.hero-grid {
  display: block;
}

/* legacy editorial mark — hidden, kept in CSS so old HTML doesn't break */
.hero-mark { display: none !important; }

.hero-content { max-width: 920px; }
.hero-content h1 {
  max-width: 18ch;
  margin-bottom: 28px;
}
.hero-content .lede {
  margin-top: 0;
  max-width: 60ch;
}

.cta-row {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-items: center;
}

.hero-meta {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px 40px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-meta-key {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-meta-val {
  font-size: 0.98rem;
  color: var(--ink);
  font-weight: 500;
}

/* Page hero (services / contact) */
.hero-text,
.page-hero {
  padding: clamp(72px, 10vw, 130px) 0 clamp(48px, 7vw, 90px);
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.hero-text h1,
.page-hero h1 {
  max-width: 22ch;
  margin-bottom: 26px;
}
.hero-text .lede,
.page-hero .lede {
  margin-top: 0;
  max-width: 60ch;
}
.hero-text-meta {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px 40px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.hero-text-meta span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-text-meta strong {
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

/* ============== Buttons ============== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform 160ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding: 13px 4px;
}
.btn-ghost:hover { color: var(--link-hover); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--bg); }

/* ============== Section bands ============== */

.band {
  padding: clamp(64px, 9vw, 110px) 0;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.band.alt {
  background: var(--bg-soft);
}

/* Lazard rhythm: each section opens with a hard top rule across the column,
   then a small-caps eyebrow, then the heading. */
.section-head {
  padding-top: 32px;
  border-top: 1px solid var(--rule-strong);
  margin-bottom: clamp(36px, 5vw, 56px);
  max-width: 760px;
}
.section-head h2 { margin-top: 4px; }
/* For .narrow sections without a .section-head wrapper, lift the same rule
   to the eyebrow itself. */
.container.narrow > .eyebrow:first-child {
  padding-top: 32px;
  border-top: 1px solid var(--rule-strong);
}

/* legacy section-index — fully hidden ("kill the numbering") */
.section-index,
.section-index .label,
.num,
.practice-num {
  display: none !important;
}

/* ============== Three-up + Two-up grids ============== */

.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  align-items: stretch;
}
.three .card,
.three .practice-card {
  padding: 36px 32px 36px 0;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.three .card:last-child,
.three .practice-card:last-child {
  border-right: none;
  padding-right: 0;
}
.three .card:not(:first-child),
.three .practice-card:not(:first-child) {
  padding-left: 32px;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  align-items: stretch;
}
.practice-grid .practice-card {
  padding: 36px 32px 36px 0;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.practice-grid .practice-card:last-child {
  border-right: none;
  padding-left: 32px;
  padding-right: 0;
}
.practice-grid .practice-card h3 { margin-bottom: 14px; }

.card p,
.practice-card p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}
.practice-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;     /* pushes the CTA to the bottom of its flex-column card,
                           so a row of cards with varying body lengths still has
                           the CTAs aligned at the same baseline */
  padding-top: 18px;    /* preserves visual gap from body paragraph above */
  align-self: flex-start; /* keep the inline-flex hugging its content width
                           — without this, align-items:stretch on the parent
                           would make the underline span the full column. */
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color 140ms ease, border-color 140ms ease;
}
.practice-more:hover { color: var(--link-hover); border-bottom-color: var(--link-hover); }
.practice-more .arrow { transition: transform 160ms ease; }
.practice-more:hover .arrow { transform: translateX(3px); }

/* ============== Definition list (coverage / principles) ============== */

.def {
  margin: 0;
  border-top: 1px solid var(--rule);
}
.def-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}
.def-term {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 4px;
}
.def-body {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.def-body p:last-child { margin-bottom: 0; }

/* ============== Pull quote ============== */

.pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.35;
  color: var(--ink);
  margin: 24px 0 18px 0;
  letter-spacing: -0.005em;
}
.pull-quote-attrib {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
}

/* ============== Insights ============== */

.insight-list {
  border-top: 1px solid var(--rule);
}
.insight-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}
.insight-meta {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 4px 0 0 0;
}
.insight-headline {
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
  max-width: 60ch;
}

/* ============== CTA band ============== */

.cta-band {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--navy);
  color: var(--bone-on-navy);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 {
  color: #ffffff;
  max-width: 28ch;
  font-weight: 500;
}
.cta-band .btn-primary {
  background: #ffffff;
  color: var(--navy);
  border-color: #ffffff;
}
.cta-band .btn-primary:hover {
  background: var(--bone-on-navy);
  color: var(--navy);
  border-color: var(--bone-on-navy);
}
.cta-band .btn-outline {
  color: #ffffff;
  border-color: #ffffff;
}
.cta-band .btn-outline:hover {
  background: #ffffff;
  color: var(--navy);
}

/* ============== Form (contact) ============== */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  max-width: 560px;
}
.span-2 { grid-column: 1 / -1; }
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group label {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field-group input,
.field-group textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  outline: none;
  transition: border-color 140ms ease;
}
.field-group input:focus,
.field-group textarea:focus { border-bottom-color: var(--ink); }
.field-group textarea { resize: vertical; min-height: 120px; }

/* ============== Footer ============== */

footer.site {
  background: var(--navy);
  color: var(--bone-on-navy);
  padding: clamp(60px, 7vw, 90px) 0 28px;
}
footer.site .wordmark { color: #ffffff; }
footer.site .wordmark-name,
footer.site .wordmark-bull img {
  /* Both PRIMASIA wordmark image and bull glyph are dark — invert to read on the navy footer */
  filter: brightness(0) invert(1);
}
footer.site .wordmark-sub { color: var(--bone-on-navy); }
footer.site .wordmark-sub { color: var(--bone-on-navy); }
footer.site address {
  font-style: normal;
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--bone-on-navy);
  opacity: 0.85;
}
footer.site h4 {
  color: #ffffff;
  margin-bottom: 16px;
}
footer.site p {
  font-size: 0.92rem;
  line-height: 2;
  color: var(--bone-on-navy);
  opacity: 0.85;
  margin: 0;
}
footer.site a {
  color: var(--bone-on-navy);
  text-decoration: none;
  transition: color 140ms ease;
}
footer.site a:hover { color: #ffffff; text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid-wide { grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr; }

.colophon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 0.84rem;
  color: var(--bone-on-navy);
  opacity: 0.7;
}
.colophon a { color: var(--bone-on-navy); }

/* ============== Disclosure block ============== */

aside.disclosure {
  background: #f0ede6;
  border-top: 1px solid var(--rule);
  padding: 36px 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
aside.disclosure p {
  margin: 0 0 12px 0;
  max-width: 90ch;
}
aside.disclosure p:last-child { margin-bottom: 0; }
aside.disclosure strong { color: var(--ink); font-weight: 600; }

/* ============== Reveal-on-scroll ============== */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============== Responsive ============== */

@media (max-width: 900px) {
  .three,
  .practice-grid,
  .two {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--rule);
  }
  .three .card,
  .three .practice-card,
  .practice-grid .practice-card {
    border-right: none !important;
    border-bottom: 1px solid var(--rule);
    padding: 28px 0 !important;
  }
  .three .card:last-child,
  .three .practice-card:last-child,
  .practice-grid .practice-card:last-child {
    border-bottom: none;
  }

  .footer-grid,
  .footer-grid-wide {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .def-row,
  .insight-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  /* --- Header --- stack wordmark on top, nav-links below as horizontal row.
     Side-by-side doesn't fit because the larger wordmark + 3 nav links exceed
     375px. Stacked is the only clean no-JS solution short of a hamburger. */
  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 0;
  }
  .nav-links {
    gap: 22px;
    width: 100%;
    justify-content: flex-start;
    padding-top: 6px;
    border-top: 1px solid var(--rule);
  }
  .nav-link { padding: 8px 0; font-size: 0.95rem; }
  .signin { display: none; }

  /* Wordmark — slightly smaller on phones to let the nav row breathe. */
  .wordmark { gap: 14px; }
  .wordmark-bull { width: 44px; height: 44px; }
  .wordmark-name { height: 22px; }
  .wordmark-sub { font-size: 0.7rem; letter-spacing: 0.2em; }

  /* --- Type --- */
  h1 { font-size: 2rem; line-height: 1.15; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.08rem; }

  /* --- Hero --- tighter vertical rhythm. */
  .hero { padding: 40px 0 32px; }
  .hero-text, .page-hero { padding: 40px 0 32px; }
  .hero-content h1 { margin-bottom: 20px; }
  .hero-content .lede { font-size: 1.05rem; line-height: 1.55; }
  .cta-row { margin-top: 24px; gap: 12px 16px; }
  .btn { padding: 12px 18px; font-size: 0.92rem; }
  .btn-ghost { padding: 12px 4px; }

  /* --- Hero meta strip --- 2-col instead of 1 to halve the height; smaller
     gap and padding so the strip doesn't overwhelm the hero. */
  .hero-meta {
    margin-top: 36px;
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
    padding-top: 20px;
  }
  .hero-meta-key { font-size: 0.66rem; letter-spacing: 0.14em; }
  .hero-meta-val { font-size: 0.92rem; }
  .hero-text-meta {
    margin-top: 32px;
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
    padding-top: 20px;
  }

  /* --- Section bands --- compress vertical padding. */
  .band { padding: 44px 0; }
  .section-head { padding-top: 22px; margin-bottom: 28px; }
  .container.narrow > .eyebrow:first-child { padding-top: 22px; }

  /* --- Three / practice cards --- tighter spacing per card. */
  .three .card,
  .three .practice-card,
  .practice-grid .practice-card { padding: 22px 0 !important; }
  .three .card:first-child,
  .three .practice-card:first-child,
  .practice-grid .practice-card:first-child { padding-top: 0 !important; }

  /* --- Definition / insight rows --- tighter. */
  .def-row { padding: 20px 0; }
  .insight-item { padding: 22px 0; }
  .insight-headline { font-size: 1.05rem; }
  .pull-quote { font-size: 1.4rem; line-height: 1.4; }

  /* --- CTA band --- already stacks; tighten. */
  .cta-band { padding: 44px 0; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cta-band h2 { font-size: 1.4rem; }

  /* --- Footer --- single column already; tighten gap and padding. */
  footer.site { padding: 44px 0 24px; }
  .footer-grid,
  .footer-grid-wide {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 28px;
  }
  footer.site h4 { font-size: 0.7rem; letter-spacing: 0.18em; margin-bottom: 10px; }
  footer.site p { line-height: 1.85; }
  .colophon { flex-direction: column; align-items: flex-start; padding-top: 20px; gap: 12px; font-size: 0.78rem; }

  /* --- Disclosure --- tighter. */
  aside.disclosure { padding: 24px 0; font-size: 0.78rem; }

  /* --- Form fields --- already 16px to prevent iOS zoom; bigger touch target. */
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .field-group input,
  .field-group textarea { padding: 12px 0; }

  /* --- Hairline cleanup --- on desktop, every section has a border-bottom
     AND the next section's grid/list has a border-top. With tighter mobile
     padding, the two stack visibly close together (looks like doubled rules
     at every transition). On mobile, drop:
       - .band / .hero border-bottom (use the alt-band tonal shift as separator)
       - .three / .practice-grid wrapping border-top (per-card dividers remain)
       - .def / .insight-list wrapping border-top (per-row dividers remain)
     so that each transition shows at most one hairline. */
  .band { border-bottom: none; }
  .hero, .hero-text, .page-hero { border-bottom: none; }
  .three, .practice-grid { border-top: none; }
  .def, .insight-list { border-top: none; }
  .hero-meta, .hero-text-meta { border-top-color: var(--rule); }
}

/* Very small phones (≤380px) — drop hero meta back to 1 column when 2-col
   text gets too cramped. */
@media (max-width: 380px) {
  .hero-meta,
  .hero-text-meta { grid-template-columns: 1fr; }
}
