/* ============================================================
   W.A.Y LEGAL — shared stylesheet
   Design language: legal gazette / law journal, not SaaS landing page.
   Hairline rules, no border-radius, no drop shadows, restrained palette.
   ============================================================ */

:root {
  --ink:      #192F4D;   /* deep navy — sampled from the firm logo */
  --paper:    #F6F3EC;   /* warm ivory paper */
  --paper-2:  #EFEAE0;   /* slightly deeper paper, for banding */
  --oxblood:  #6E2430;   /* accent — CTAs, dividers, key emphasis */
  --oxblood-dark: #521A23;
  --brass:    #9C7A3C;   /* muted brass — legible accent text on paper */
  --gold:     #C5AB77;   /* bright gold — sampled from the logo, for icons/dark backgrounds */
  --forest:   #3F5D3A;   /* muted green — pro bono / social impact emphasis */
  --charcoal: #23262B;   /* body text */
  --slate:    #5B6672;   /* secondary / muted text */
  --line:     #D9D2C2;   /* hairline dividers on paper */
  --line-dark: #33445E;  /* hairline dividers on navy */
  --white:    #FCFAF5;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --wordmark-font: 'Cinzel', var(--serif);
  --sans:  'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 1120px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.08; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: 1.15; }
h3 { font-size: 1.25rem; line-height: 1.3; }

p { margin: 0 0 1em; max-width: 62ch; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ---------- Scroll-reveal animation system ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.js-no-anim .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Gold accent line that draws in alongside a kicker, echoing the logo's dashed rule */
.section-kicker, .hero-tagline {
  position: relative;
  display: inline-block;
}
.kicker-line {
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--brass);
  vertical-align: middle;
  margin-right: 10px;
  transition: width 0.8s ease 0.15s;
}
.reveal.in-view .kicker-line,
.hero .kicker-line { width: 26px; }

/* Generic hover-lift for rows/blocks throughout the site */
.practice-item, .service-row, .article-row, .media-row,
.region-block, .office, .generation, .flag-chip {
  transition: transform 0.28s ease, border-color 0.28s ease;
}
.practice-item:hover, .service-row:hover { transform: translateX(4px); }
.article-row:hover, .media-row:hover { transform: translateX(6px); }
.flag-chip { transform-origin: left center; }
.flag-chip:hover { transform: scale(1.06); }
.flag-chip img { transition: transform 0.2s ease; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Masthead / header ---------- */

.masthead-bar {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.masthead-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.masthead-bar a { color: var(--paper); opacity: 0.85; }
.masthead-bar a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.masthead-bar .est { color: var(--brass); }

header.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.wordmark {
  font-family: var(--wordmark-font);
  font-weight: 600;
  font-size: 1.32rem;
  color: var(--ink);
  letter-spacing: 0.04em;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wordmark span {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--slate);
  margin-top: 5px;
}
.wordmark .mark-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--brass);
  animation: logoSpin 1.1s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}
.wordmark .mark-icon svg { width: 100%; height: 100%; }

/* Footer brand lockup with the real logo image */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}
.footer-brand img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  animation: fadeScaleIn 0.9s ease both;
}
.footer-brand .wordmark { color: var(--paper); }
.footer-brand .wordmark span { color: #9AA6B5; }

@keyframes logoSpin {
  from { opacity: 0; transform: rotate(-16deg) scale(0.6); }
  to   { opacity: 1; transform: rotate(0deg) scale(1); }
}
@keyframes fadeScaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
}
nav.primary-nav a {
  font-size: 0.95rem;
  color: var(--charcoal);
  padding: 4px 0;
  position: relative;
}
nav.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -3px;
  height: 1px;
  background: var(--oxblood);
  transition: right 0.25s ease;
}
nav.primary-nav a:hover::after,
nav.primary-nav a[aria-current="page"]::after {
  right: 0;
}
nav.primary-nav a[aria-current="page"] { color: var(--oxblood); }

.nav-cta {
  border: 1px solid var(--ink);
  padding: 8px 18px !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--ink); color: var(--paper) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; width: 18px; }
.nav-toggle span::after { position: absolute; top: 6px; width: 18px; }

@media (max-width: 860px) {
  nav.primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  nav.primary-nav.open { max-height: 420px; }
  nav.primary-nav a {
    padding: 14px var(--gutter);
    border-top: 1px solid var(--line);
  }
  nav.primary-nav a::after { display: none; }
  .nav-cta { border: none !important; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero (editorial two-column) ---------- */

.hero {
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 6vw, 72px);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}
@media (max-width: 760px) {
  .hero .container { grid-template-columns: 1fr; }
  .docket { margin-top: 8px; }
}
.hero-tagline {
  color: var(--brass);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.hero h1 { margin-bottom: 18px; }
.hero .lede {
  font-size: 1.08rem;
  color: var(--slate);
  max-width: 46ch;
}
.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 12px 26px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-solid {
  background: var(--oxblood);
  border-color: var(--oxblood);
  color: var(--white);
}
.btn-solid:hover { background: var(--oxblood-dark); border-color: var(--oxblood-dark); }

/* Docket / at-a-glance sidebar */
.docket {
  border-top: 1px solid var(--ink);
}
.docket dl {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.docket .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.docket dt { color: var(--slate); font-size: 0.9rem; }
.docket dd { margin: 0; font-family: var(--serif); font-weight: 600; color: var(--ink); text-align: right; }

/* ---------- Section framing ---------- */

section { padding: clamp(44px, 7vw, 84px) 0; }
section + section { border-top: 1px solid var(--line); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 44px);
  flex-wrap: wrap;
}
.section-head p { margin: 0; color: var(--slate); max-width: 48ch; }
.section-kicker {
  font-family: var(--serif);
  font-style: italic;
  color: var(--brass);
  font-size: 1.05rem;
}

.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink h2, .bg-ink h3 { color: var(--paper); }
.bg-ink .section-head p { color: #B9C2D1; }
.bg-ink section { border-color: var(--line-dark); }

/* ---------- Practice area index (services) ---------- */

.practice-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}
.practice-list .practice-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.practice-list .practice-item:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 24px; }
.practice-list .practice-item:nth-child(even) { padding-left: 24px; }
.practice-item .name { font-family: var(--serif); font-size: 1.02rem; color: var(--ink); }

@media (max-width: 720px) {
  .practice-list { grid-template-columns: 1fr; }
  .practice-list .practice-item:nth-child(odd) { border-right: none; padding-right: 4px; }
  .practice-list .practice-item:nth-child(even) { padding-left: 4px; }
}

.practice-icon, .service-name .practice-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--brass);
  display: inline-flex;
}
.practice-icon svg { width: 100%; height: 100%; }

.service-list { border-top: 1px solid var(--line); }
.service-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  align-items: baseline;
}
.service-name {
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-row .name { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.service-row p { margin: 0; color: var(--slate); font-size: 0.95rem; max-width: 52ch; }
@media (max-width: 700px) {
  .service-row { grid-template-columns: 1fr; gap: 8px; }
}

.service-row.is-featured, .practice-list .practice-item.is-featured {
  background: var(--paper-2);
  border-left: 3px solid var(--oxblood);
  padding-left: 17px;
}
.service-row.is-featured .name, .practice-item.is-featured .name { color: var(--oxblood); font-weight: 600; }
.service-row.is-featured .practice-icon, .practice-item.is-featured .practice-icon { color: var(--oxblood); }

.service-row.is-pro-bono, .practice-list .practice-item.is-pro-bono {
  background: var(--paper-2);
  border-left: 3px solid var(--forest);
  padding-left: 17px;
}
.service-row.is-pro-bono .name, .practice-item.is-pro-bono .name { color: var(--forest); font-weight: 600; }
.service-row.is-pro-bono .practice-icon, .practice-item.is-pro-bono .practice-icon { color: var(--forest); }

.category-group { margin-bottom: 40px; }
.category-group:last-child { margin-bottom: 0; }
.category-label {
  font-family: var(--serif);
  font-style: italic;
  color: var(--brass);
  margin-bottom: 6px;
}

/* ---------- Card grid (home preview / news) ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card {
  background: var(--paper);
  padding: 28px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.card:hover { transform: translateY(-4px); background: var(--paper-2); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 0.95rem; margin-bottom: 0; }

@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* ---------- Lineage timeline (team) ---------- */

.lineage {
  position: relative;
  padding-left: 34px;
  border-left: 1px solid var(--line);
}
.generation {
  position: relative;
  padding-bottom: clamp(36px, 5vw, 60px);
}
.generation:last-child { padding-bottom: 0; }
.generation::before {
  content: attr(data-gen);
  position: absolute;
  left: -34px;
  top: 2px;
  transform: translateX(-50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--oxblood);
  color: var(--oxblood);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.generation .role {
  color: var(--brass);
  font-size: 0.88rem;
  margin-bottom: 4px;
}
.generation h3 { font-size: 1.5rem; margin-bottom: 4px; }
.generation .title-line { color: var(--slate); font-size: 0.95rem; margin-bottom: 14px; }

.generation-body {
  display: flex;
  gap: 26px;
  align-items: flex-start;
}
.generation-photo {
  flex-shrink: 0;
  width: 224px;
  height: 224px;
  padding: 5px;
  border: 1px solid var(--brass);
  background: var(--paper);
}
.generation-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.generation-text { flex: 1; min-width: 0; }

@media (max-width: 600px) {
  .generation-body { flex-direction: column; gap: 14px; }
  .generation-photo { width: 204px; height: 204px; }
}

/* ---------- Associates & staff ---------- */

.associate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.associate-card {
  background: var(--paper);
  padding: 28px 24px;
  text-align: center;
}
.associate-photo {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  padding: 5px;
  border: 1px solid var(--brass);
  background: var(--paper);
}
.associate-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.associate-photo.is-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
}
.associate-photo.is-placeholder svg {
  width: 42%;
  height: 42%;
  color: var(--brass);
  opacity: 0.6;
}
.associate-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.associate-role {
  color: var(--brass);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.88rem;
  margin-bottom: 10px;
}
.associate-card p {
  color: var(--slate);
  font-size: 0.88rem;
  margin: 0 auto;
  max-width: 26ch;
}

@media (max-width: 860px) {
  .associate-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .associate-grid { grid-template-columns: 1fr; }
}

/* ---------- Featured (principal) portrait ---------- */

.generation-photo.is-featured {
  position: relative;
  border: 2px solid var(--oxblood);
  padding: 6px;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--gold);
}
.featured-tag {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border: 1px solid var(--oxblood);
  color: var(--oxblood);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 600px) {
  .featured-tag { display: block; width: max-content; margin-left: auto; margin-right: auto; }
}

/* ---------- Founder / firm pull-quote ---------- */

.founder-quote {
  border-left: 3px solid var(--oxblood);
  padding: 6px 0 6px 28px;
  margin: 0 auto;
}
.founder-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.28rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 14px;
}
.founder-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--brass);
  letter-spacing: 0.02em;
}

/* ---------- Associate profiles (full bios) ---------- */

.associate-profile-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.associate-profile-body {
  display: flex;
  gap: 26px;
  align-items: flex-start;
}
.associate-profile-photo {
  flex-shrink: 0;
  width: 196px;
  height: 196px;
  padding: 5px;
  border: 1px solid var(--brass);
  background: var(--paper);
}
.associate-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.associate-profile-text { flex: 1; min-width: 0; }
.associate-profile-text h3 { font-size: 1.2rem; margin-bottom: 4px; }
.associate-profile-text .associate-role {
  margin-bottom: 10px;
}
.associate-profile-text p {
  color: var(--slate);
  font-size: 0.95rem;
  margin: 0 0 10px;
}
.associate-profile-text p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .associate-profile-body { flex-direction: column; gap: 14px; }
  .associate-profile-photo { width: 110px; height: 110px; }
}

/* ---------- Contact / offices ---------- */

.offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}
.office {
  padding: 32px;
}
.office + .office { border-left: 1px solid var(--line); }
.office .office-kicker { color: var(--brass); font-family: var(--serif); font-style: italic; margin-bottom: 8px; }
.office address { font-style: normal; color: var(--slate); line-height: 1.7; margin-bottom: 16px; }
.office .phones a { display: block; color: var(--charcoal); font-size: 0.95rem; padding: 2px 0; }
.office .phones a:hover { color: var(--oxblood); }

@media (max-width: 720px) {
  .offices { grid-template-columns: 1fr; }
  .office + .office { border-left: none; border-top: 1px solid var(--line); }
}

/* Form */
.consult-form {
  max-width: 640px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--charcoal);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--oxblood);
}
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-two { grid-template-columns: 1fr; } }
.form-note { font-size: 0.85rem; color: var(--slate); margin-top: 4px; }
.form-success {
  display: none;
  border: 1px solid var(--brass);
  background: var(--paper-2);
  padding: 18px 20px;
  font-size: 0.95rem;
  margin-top: 20px;
}
.form-success.visible { display: block; }

/* ---------- News ---------- */

.article-list { border-top: 1px solid var(--line); }
.article-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.article-row time {
  font-family: var(--serif);
  font-style: italic;
  color: var(--brass);
  font-size: 0.95rem;
}
.article-row h3 { margin-bottom: 8px; }
.article-row .topic-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--oxblood);
  border: 1px solid var(--oxblood);
  padding: 2px 9px;
  margin-bottom: 10px;
}
@media (max-width: 640px) {
  .article-row { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Media coverage (third-party press) ---------- */

.compliance-note {
  border: 1px solid var(--line);
  background: var(--paper-2);
  padding: 18px 22px;
  font-size: 0.88rem;
  color: var(--slate);
  margin-bottom: 36px;
}
.compliance-note strong { color: var(--ink); }

.media-row {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 16px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.media-row h3 { font-size: 1.05rem; margin-bottom: 4px; }
.media-row .pub {
  color: var(--brass);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.92rem;
}
.media-row .pub-date { color: var(--slate); font-size: 0.82rem; }
.media-row .read-link {
  justify-self: end;
  text-align: right;
  font-size: 0.85rem;
  color: var(--oxblood);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}
.media-row .read-link:hover { border-bottom-color: var(--oxblood); }
@media (max-width: 640px) {
  .media-row { grid-template-columns: 1fr; }
  .media-row .read-link { justify-self: start; text-align: left; }
}

/* ---------- International network page ---------- */

.region-list {
  border-top: 1px solid var(--line);
}
.region-block {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.region-block h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.flag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
}
.flag-chip {
  display: flex;
  align-items: center;
  gap: 9px;
}
.flag-chip img {
  width: 30px;
  height: 20px;
  object-fit: cover;
  border: 1px solid var(--line);
  flex-shrink: 0;
  display: block;
}
.flag-chip .name {
  font-size: 0.92rem;
  color: var(--charcoal);
  white-space: nowrap;
  line-height: 1.2;
}
.flag-chip .office-tag {
  display: block;
  font-size: 0.72rem;
  color: var(--brass);
}

.reach-strip {
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 26px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 0.98rem;
}
.reach-strip span:not(:last-child)::after {
  content: '\00b7';
  margin-left: 14px;
  color: var(--brass);
}

.client-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 40px;
}
.client-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-dark);
  break-inside: avoid;
  font-size: 0.98rem;
}
.client-list li.client-list-more {
  columns: initial;
  break-inside: auto;
  border-bottom: none;
  font-style: italic;
  color: var(--brass);
  padding-top: 16px;
}
@media (max-width: 600px) {
  .client-list { columns: 1; }
}

/* ---------- Disclaimer gate (BCI-compliant entry notice) ---------- */

.disclaimer-gate {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.disclaimer-gate[hidden] { display: none; }
.disclaimer-box {
  max-width: 620px;
  max-height: 88vh;
  overflow-y: auto;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line-dark);
  background: var(--ink);
  animation: fadeScaleIn 0.5s ease both;
}
.disclaimer-box .mark-icon {
  display: block;
  width: 34px;
  height: 34px;
  color: var(--brass);
  margin-bottom: 18px;
}
.disclaimer-box .mark-icon svg { width: 34px; height: 34px; display: block; }
.disclaimer-box h2 {
  color: var(--paper);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.disclaimer-box p {
  color: #C7CEDA;
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: none;
}
.disclaimer-actions {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
body.disclaimer-locked { overflow: hidden; }

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--ink);
  color: var(--paper);
}
footer.site-footer .container {
  padding-top: 52px;
  padding-bottom: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-dark);
}
footer .wordmark { color: var(--paper); }
footer .wordmark span { color: #9AA6B5; }
footer h4 {
  color: var(--brass);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  font-family: var(--sans);
  font-weight: 600;
}
footer p, footer address { color: #C7CEDA; font-size: 0.92rem; font-style: normal; line-height: 1.7; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 8px; }
footer a:hover { color: var(--brass); }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #8D97A6;
}

/* ---------- Page header (non-home pages) ---------- */

.page-header {
  border-bottom: 1px solid var(--line);
  padding: clamp(36px, 6vw, 60px) 0;
}
.page-header .section-kicker { display: block; margin-bottom: 12px; }
.page-header p { color: var(--slate); font-size: 1.05rem; }

/* Utility */
.mt-0 { margin-top: 0; }
.center-note { text-align: center; color: var(--slate); padding: 40px 0; }
