/* ==========================================================================
   SouthRock Group — Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,500;0,8..60,600;0,8..60,700;1,8..60,400&family=Inter:wght@400;500;600;700&family=Noto+Serif+TC:wght@400;500;600;700&display=swap');

:root {
  --navy: #0E1B2C;
  --navy-80: #1a2940;
  --navy-60: #4a566a;
  --maroon: #7A1F2B;
  --maroon-dark: #5d1721;
  --offwhite: #FAF7F2;
  --paper: #F2EEE6;
  --ink: #14202F;
  --ink-muted: #515c6e;
  --rule: #d8d2c4;
  --rule-dark: #2a3850;
  --serif: 'Source Serif 4', 'Noto Serif TC', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --content-max: 1240px;
  --content-narrow: 880px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;
}

/* Chinese mode loads a serif TC for headings */
:root[lang="zh"] {
  --serif: 'Noto Serif TC', 'Source Serif 4', Georgia, serif;
}

/* ============================== Reset ============================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--maroon); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--maroon-dark); }
input, textarea, select { font-family: inherit; font-size: 1rem; }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--space-5) 0; }
::selection { background: var(--maroon); color: #fff; }

/* ============================== Typography ============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-3);
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 var(--space-3); }
.lead { font-size: 1.18rem; line-height: 1.55; color: var(--ink); }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--maroon);
  margin-bottom: var(--space-2);
  display: block;
}
.section-rule {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  border-bottom: 1px solid var(--rule);
  padding-bottom: var(--space-3);
}
.section-rule h2 { margin: 0; flex: 1; }
.section-rule .right { color: var(--ink-muted); font-size: 0.9rem; }

/* ============================== Layout ============================== */
.container { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--space-4); }
.container-narrow { max-width: var(--content-narrow); margin: 0 auto; padding: 0 var(--space-4); }
section { padding: var(--space-7) 0; }
section.tight { padding: var(--space-5) 0; }
.dark-section { background: var(--navy); color: #e8eaee; }
.dark-section h1, .dark-section h2, .dark-section h3, .dark-section h4 { color: #fff; }
.dark-section .eyebrow { color: #c79da4; }
.dark-section a { color: #f1c2c8; }
.dark-section a:hover { color: #fff; }
.dark-section hr, .dark-section .section-rule { border-color: var(--rule-dark); }
.paper-section { background: var(--paper); }

/* ============================== Buttons ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--maroon);
  background: var(--maroon);
  color: #fff;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  border-radius: 0;
}
.btn:hover { background: var(--maroon-dark); border-color: var(--maroon-dark); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--offwhite); }
.dark-section .btn-ghost { color: #fff; border-color: #fff; }
.dark-section .btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-pill {
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.85rem;
}
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--maroon);
  letter-spacing: 0.01em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .15s ease;
}
.arrow-link:hover { border-bottom-color: var(--maroon); }
.dark-section .arrow-link { color: #f1c2c8; }
.dark-section .arrow-link:hover { border-bottom-color: #f1c2c8; }

/* ============================== Nav ============================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  color: var(--maroon);
  text-transform: uppercase;
  white-space: nowrap;
}
.wordmark:hover { color: var(--maroon-dark); }
.nav-links {
  display: flex;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--maroon); }
.nav-links a.active { border-bottom-color: var(--maroon); }
.nav-right { display: flex; align-items: center; gap: var(--space-2); }
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--rule);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.lang-toggle button {
  border: 0;
  background: transparent;
  padding: 6px 10px;
  font-family: var(--sans);
  font-weight: 500;
  color: var(--ink-muted);
}
.lang-toggle button.active { background: var(--ink); color: var(--offwhite); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--rule);
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 880px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; background: var(--offwhite); padding: var(--space-3);
    border-bottom: 1px solid var(--rule); gap: var(--space-2);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
}

/* Dropdown for Advisory */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 280px;
  background: var(--offwhite);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--maroon);
  padding: var(--space-2) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .15s ease, transform .15s ease;
}
.dropdown a {
  display: block;
  padding: 10px 18px;
  color: var(--ink);
  font-size: 0.9rem;
  border-bottom: 0;
  font-weight: 500;
}
.dropdown a:hover { background: var(--paper); color: var(--maroon); }

/* ============================== Hero ============================== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  border-bottom: 1px solid var(--rule-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url('hero-map.jpg');
  filter: saturate(0.6) brightness(0.6);
  opacity: 0.85;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,27,44,0.55) 0%, rgba(14,27,44,0.85) 100%);
}
.hero-inner {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--space-7) var(--space-4);
  width: 100%;
}
.hero h1 {
  color: #fff;
  max-width: 18ch;
  font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.05;
  margin-bottom: var(--space-3);
}
.hero p.lead {
  color: #d6dae2;
  max-width: 62ch;
  font-size: 1.15rem;
  margin-bottom: var(--space-5);
}
.hero-ctas { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.hero-ctas .btn-ghost { color: #fff; border-color: #fff; }
.hero-ctas .btn-ghost:hover { background: #fff; color: var(--navy); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--space-5);
  align-items: center;
}
.hero-art img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  display: block;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
}

/* Compact hero for sub-pages */
.subhero {
  background: var(--navy);
  color: #fff;
  padding: var(--space-7) 0 var(--space-6);
  border-bottom: 1px solid var(--rule-dark);
}
.subhero h1 { color: #fff; max-width: 22ch; }
.subhero .lead { color: #d6dae2; max-width: 60ch; }
.subhero .eyebrow { color: #c79da4; }

/* ============================== Press bar ============================== */
.press-bar {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--rule);
  background: var(--offwhite);
}
.press-bar .container { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.press-bar .label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  border-right: 1px solid var(--rule);
  padding-right: var(--space-4);
}
.press-logos { display: flex; gap: var(--space-5); flex-wrap: wrap; align-items: center; flex: 1; }
.press-logo {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  opacity: 0.7;
  filter: grayscale(1);
  transition: opacity .2s ease;
  white-space: nowrap;
}
.press-logo:hover { opacity: 1; }
.press-logo.zh { font-family: var(--serif); letter-spacing: 0.1em; }

/* ============================== Services grid ============================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.service-card {
  background: var(--offwhite);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: background .2s ease, transform .25s ease;
  position: relative;
}
.service-card:hover { background: #fff; transform: translateY(-2px); }
.service-card .icon {
  width: 36px;
  height: 36px;
  color: var(--maroon);
  margin-bottom: var(--space-2);
}
.service-card h3 {
  font-size: 1.4rem;
  margin: 0;
}
.service-card p {
  color: var(--ink-muted);
  margin: 0 0 var(--space-2);
  font-size: 0.97rem;
}
.service-card .arrow-link { margin-top: auto; }
@media (max-width: 720px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ============================== Featured perspective ============================== */
.feature-block {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-6);
  align-items: center;
  padding: var(--space-6) 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.feature-quote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.25;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}
.feature-quote::before { content: '"'; color: var(--maroon); margin-right: 4px; }
.feature-quote::after { content: '"'; color: var(--maroon); margin-left: 2px; }
.feature-meta { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); }
.feature-meta .avatar {
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 1px solid var(--rule);
}
.feature-meta .who strong { font-family: var(--serif); font-size: 1.05rem; display: block; }
.feature-meta .who span { color: var(--ink-muted); font-size: 0.88rem; }
.feature-abstract { color: var(--ink-muted); margin-bottom: var(--space-3); max-width: 56ch; }
.feature-source {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: var(--space-3);
}
.feature-image {
  aspect-ratio: 4/5;
  background: var(--paper);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.feature-image .placeholder-portrait { width: 100%; height: 100%; }
@media (max-width: 880px) {
  .feature-block { grid-template-columns: 1fr; gap: var(--space-4); }
  .feature-image { max-width: 320px; }
}

/* ============================== Insights grid ============================== */
.filter-chips {
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}
.chip {
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all .15s ease;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--offwhite); border-color: var(--ink); }

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 980px) { .insights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .insights-grid { grid-template-columns: 1fr; } }

.insight-card {
  border-top: 1px solid var(--ink);
  padding-top: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: transform .25s ease;
}
.insight-card:hover { transform: translateY(-3px); }
.insight-card .type-tag {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--maroon);
  font-weight: 600;
}
.insight-card h3 {
  font-size: 1.18rem;
  line-height: 1.3;
  margin: 0;
}
.insight-card h3 a { color: var(--ink); }
.insight-card h3 a:hover { color: var(--maroon); }
.insight-card .byline {
  font-size: 0.82rem;
  color: var(--ink-muted);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.insight-card .byline .dot::before { content: '·'; margin: 0 4px; }
.insight-card .excerpt {
  font-size: 0.92rem;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1.55;
}
.insight-card .source-tag {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Podcast cards */
.podcast-card {
  border: 1px solid var(--rule);
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--offwhite);
}
.podcast-thumb {
  aspect-ratio: 16/9;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.podcast-thumb .play-icon {
  width: 56px; height: 56px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.podcast-thumb .label {
  position: absolute; top: var(--space-2); left: var(--space-2);
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
}
.podcast-body { padding: var(--space-3); }
.podcast-body h3 { font-size: 1.1rem; }
.podcast-body .guest { font-size: 0.85rem; color: var(--ink-muted); margin-bottom: 8px; }
.podcast-body .notes { font-size: 0.9rem; color: var(--ink-muted); margin: 0; }

/* ============================== Leadership ============================== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 900px) { .leadership-grid { grid-template-columns: 1fr; } }
.leader-card {
  background: var(--offwhite);
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--rule);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(0,0,0,0.35);
}
.leader-photo {
  aspect-ratio: 4/5;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.leader-photo img { display: block; transition: transform 0.6s ease; }
.leader-card:hover .leader-photo img { transform: scale(1.03); }
.leader-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--space-3);
  flex: 1;
}
.leader-card h3 { margin: 0; font-size: 1.35rem; line-height: 1.2; }
.leader-card .title { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--maroon); font-weight: 600; }
.leader-card .credential { font-size: 0.92rem; color: var(--ink-muted); margin: 0; line-height: 1.5; }
.leader-card blockquote {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  margin: auto 0 0;
  padding: var(--space-2) 0 0 var(--space-2);
  border-left: 2px solid var(--maroon);
  font-style: italic;
}

/* ============================== Engage block ============================== */
.engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 880px) { .engage-grid { grid-template-columns: 1fr; } }
.engage-card {
  background: var(--offwhite);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.engage-card h3 { font-size: 1.3rem; margin: 0; }
.engage-card p { color: var(--ink-muted); margin: 0 0 var(--space-2); }
.engage-card .btn, .engage-card form { margin-top: auto; }
.engage-form {
  display: flex;
  border: 1px solid var(--ink);
}
.engage-form input {
  flex: 1;
  border: 0;
  padding: 11px 14px;
  font-size: 0.92rem;
  background: transparent;
  outline: none;
}
.engage-form button {
  border: 0;
  background: var(--ink);
  color: var(--offwhite);
  padding: 0 18px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.engage-form button:hover { background: var(--maroon); }

/* ============================== Footer ============================== */
.site-footer {
  background: var(--navy);
  color: #c2c8d3;
  padding: var(--space-6) 0 var(--space-4);
  border-top: 1px solid var(--rule-dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-2);
}
.footer-grid a { color: #c2c8d3; font-size: 0.92rem; display: block; padding: 4px 0; }
.footer-grid a:hover { color: #fff; }
.footer-grid .wordmark { color: #fff; font-size: 1.05rem; margin-bottom: var(--space-2); display: inline-block; }
.footer-grid p { font-size: 0.9rem; line-height: 1.55; color: #9ca5b3; max-width: 32ch; }
.footer-bottom {
  border-top: 1px solid var(--rule-dark);
  padding-top: var(--space-3);
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  justify-content: space-between;
  font-size: 0.8rem; color: #9ca5b3;
}
.footer-bottom a { color: #9ca5b3; }
.footer-bottom a:hover { color: #fff; }
.social-row { display: flex; gap: var(--space-2); align-items: center; }
.social-row a { display: inline-flex; width: 32px; height: 32px; border: 1px solid var(--rule-dark); align-items: center; justify-content: center; padding: 0; }
.social-row a:hover { border-color: #fff; }
.social-row svg { width: 14px; height: 14px; }

/* ============================== Service detail page ============================== */
.service-meta {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-6);
  border-top: 1px solid var(--rule);
  padding-top: var(--space-5);
}
@media (max-width: 880px) { .service-meta { grid-template-columns: 1fr; } }
.service-meta h2 { font-size: 1.6rem; }
.client-list, .components-list, .process-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: var(--space-3);
}
.client-list li, .components-list li, .process-list li {
  border-top: 1px solid var(--rule);
  padding-top: var(--space-3);
}
.client-list li:first-child, .components-list li:first-child, .process-list li:first-child {
  border-top: 0; padding-top: 0;
}
.components-list h3 { font-size: 1.15rem; margin-bottom: 6px; }
.components-list p { color: var(--ink-muted); margin: 0; font-size: 0.95rem; }
.process-list { counter-reset: step; }
.process-list li { display: grid; grid-template-columns: 48px 1fr; gap: var(--space-2); }
.process-list li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--maroon);
  font-weight: 600;
}
.process-list h3 { font-size: 1.1rem; margin-bottom: 4px; }
.process-list p { color: var(--ink-muted); margin: 0; font-size: 0.95rem; }

.cta-block {
  background: var(--navy);
  color: #fff;
  padding: var(--space-6) var(--space-5);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap;
  border: 1px solid var(--rule-dark);
}
.cta-block h2 { color: #fff; margin: 0; font-size: 1.6rem; max-width: 32ch; }

/* ============================== Team grid ============================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

.bio-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  display: block;
  color: inherit;
  text-decoration: none;
}
.bio-card:hover .info h3 { color: var(--maroon); }
.bio-card .photo {
  aspect-ratio: 4/5;
  background: var(--paper);
  border: 1px solid var(--rule);
  overflow: hidden;
  position: relative;
}
.bio-card .info { padding-top: var(--space-2); }
.bio-card .info h3 { font-size: 1.1rem; margin-bottom: 2px; }
.bio-card .info .title { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--maroon); font-weight: 600; }
.bio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 27, 44, 0.95);
  color: #fff;
  padding: var(--space-3);
  opacity: 0;
  transition: opacity .25s ease;
  display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-1);
  pointer-events: none;
}
.bio-card:hover .bio-overlay { opacity: 1; }
.bio-overlay h3 { color: #fff; font-size: 1.05rem; margin: 0; }
.bio-overlay p { font-size: 0.85rem; line-height: 1.45; color: #d6dae2; margin: 0; }
.bio-overlay .topics { display: flex; flex-wrap: wrap; gap: 4px; }
.bio-overlay .topics span { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.3); padding: 2px 6px; }

/* ============================== Contact form ============================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-6);
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { display: flex; flex-direction: column; gap: var(--space-3); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}
.field input, .field textarea, .field select {
  border: 1px solid var(--rule);
  background: var(--offwhite);
  padding: 11px 12px;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; font-family: var(--sans); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.contact-aside { border-left: 1px solid var(--rule); padding-left: var(--space-5); }
@media (max-width: 880px) { .contact-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: var(--space-4); } }
.contact-aside h3 { font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); font-family: var(--sans); font-weight: 600; margin-bottom: 6px; }
.contact-aside p { margin-bottom: var(--space-3); }
.contact-aside address { font-style: normal; line-height: 1.6; color: var(--ink); margin-bottom: var(--space-3); }

/* ============================== Fade-in motion ============================== */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-in.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-in, .fade-in.in-view { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ============================== Placeholder portrait ============================== */
.placeholder-portrait {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #d8d2c4 0%, #b9b3a4 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* utility */
.text-muted { color: var(--ink-muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-5 { margin-bottom: var(--space-5); }
.divider-thin { border-top: 1px solid var(--rule); margin: var(--space-5) 0; }

/* Logo rows in nav and footer */
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.nav-logos { display: inline-flex; align-items: center; gap: 8px; }
.nav-logos img { height: 32px; width: auto; display: block; }
.footer-logos { display: flex; align-items: center; gap: 12px; margin: 12px 0; flex-wrap: wrap; }
.footer-logos img { height: 44px; width: auto; display: block; }

/* ============================== Mobile cleanup ============================== */
html, body { overflow-x: hidden; }

@media (max-width: 880px) {
  /* Menu button on the far right, lang toggle compact next to it */
  .nav-toggle { order: 3; margin-left: auto; }
  .nav-right { order: 2; }
  .nav-cta { display: none; }
}

@media (max-width: 720px) {
  :root {
    --space-5: 36px;
    --space-6: 48px;
    --space-7: 64px;
    --space-8: 80px;
  }
  .container, .container-narrow { padding: 0 20px; }

  /* Nav: trim wordmark, hide extra logos, keep things on one line */
  .nav-inner { height: 64px; gap: 10px; padding: 0 16px; }
  .wordmark { font-size: 0.82rem; letter-spacing: 0.14em; gap: 8px; flex: 0 1 auto; min-width: 0; }
  .wordmark span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-logos { gap: 4px; }
  .nav-logos img { height: 24px; }
  .nav-logos img:nth-child(2),
  .nav-logos img:nth-child(3) { display: none; }
  .nav-right { gap: 6px; margin-left: auto; }
  .lang-toggle { display: inline-flex !important; }
  .lang-toggle button { padding: 6px 10px; font-size: 0.72rem; min-height: 36px; }
  .nav-toggle { width: 40px; height: 40px; border-radius: 4px; }

  /* Full-screen mobile menu with subtle slide-in */
  .nav-links {
    display: flex !important;
    position: fixed;
    top: 64px; left: 0; right: 0;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background: var(--offwhite);
    padding: 24px 24px 48px;
    gap: 4px;
    border-bottom: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.2,.7,.2,1), visibility 0s linear .35s;
    visibility: hidden;
    z-index: 99;
  }
  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform .35s cubic-bezier(.2,.7,.2,1);
  }
  .nav-links li { width: 100%; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
  .nav-links.open li { opacity: 1; transform: translateY(0); }
  .nav-links.open li:nth-child(1) { transition-delay: .08s; }
  .nav-links.open li:nth-child(2) { transition-delay: .14s; }
  .nav-links.open li:nth-child(3) { transition-delay: .2s; }
  .nav-links.open li:nth-child(4) { transition-delay: .26s; }
  .nav-links.open li:nth-child(5) { transition-delay: .32s; }
  .nav-links a {
    display: block;
    padding: 16px 4px;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--rule);
    letter-spacing: 0.01em;
  }
  .nav-links a:hover, .nav-links a.active { color: var(--maroon); border-bottom-color: var(--rule); }
  .has-dropdown .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    background: transparent;
    border: 0;
    padding: 4px 0 8px 16px;
    min-width: 0;
    transition: none;
  }
  .has-dropdown .dropdown a {
    font-family: var(--sans);
    font-size: 0.95rem;
    padding: 10px 0;
    border-bottom: 0;
    color: var(--ink-muted);
  }

  /* Animated hamburger -> X */
  .nav-toggle { position: relative; }
  .nav-toggle svg { transition: transform .3s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] svg path { d: path("M5 5l14 14M19 5L5 19"); }
  .nav-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }

  /* Lock body scroll when menu open */
  body:has(.nav-links.open) { overflow: hidden; }

  /* Hero: full-screen, content distributed top-to-bottom with breathing room */
  .hero {
    min-height: calc(100vh - 64px);
    min-height: calc(100dvh - 64px);
  }
  .hero-inner {
    padding: 32px 20px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 64px);
    min-height: calc(100dvh - 64px);
  }
  .hero .eyebrow { margin-bottom: 16px; animation: heroIn .8s ease both; }
  .hero h1 {
    font-size: clamp(2.1rem, 8.5vw, 2.8rem);
    line-height: 1.08;
    max-width: 100%;
    margin-bottom: 20px;
    animation: heroIn .9s .1s ease both;
  }
  .hero p.lead {
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 32px;
    animation: heroIn 1s .2s ease both;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    animation: heroIn 1s .3s ease both;
  }
  .hero-ctas .btn { width: 100%; text-align: center; justify-content: center; }

  /* Subtle ken-burns on the hero map for "magic" */
  .hero-bg {
    background-image: url('hero-map-mobile.jpg');
    filter: saturate(0.85) brightness(0.55);
    opacity: 0.95;
    animation: heroBg 18s ease-in-out infinite alternate;
    transform-origin: center;
  }

  /* Buttons */
  .btn { padding: 13px 18px; font-size: 0.95rem; }

  /* Typography scale-down */
  h1 { font-size: clamp(1.9rem, 7vw, 2.4rem); }
  h2 { font-size: clamp(1.5rem, 5.5vw, 1.9rem); line-height: 1.2; }
  h3 { font-size: 1.15rem; }

  /* Footer alignment */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-logos img { height: 32px; }

  /* Calm hover transforms on touch */
  .service-card:hover,
  .insight-card:hover,
  .leader-card:hover { transform: none; }

  /* Cards: comfortable touch padding */
  .service-card, .insight-card, .feature-card { padding: 20px; }

  /* CTA blocks stack */
  .cta-block { flex-direction: column; align-items: flex-start; gap: 16px; text-align: left; }
  .cta-block h2 { font-size: 1.35rem; }

  /* ---------- Friendly, readable text rhythm on mobile ---------- */
  body { font-size: 16.5px; line-height: 1.65; }
  p { margin: 0 0 18px; max-width: 60ch; }
  .lead { font-size: 1.05rem; line-height: 1.6; }

  /* Headings: tighter leading, generous bottom spacing */
  h1, h2, h3, h4 { letter-spacing: -0.015em; }
  h2 { margin: 0 0 14px; }
  h3 { margin: 0 0 10px; line-height: 1.3; }

  /* Eyebrow: lighter tracking so it reads as a label, not a banner */
  .eyebrow { font-size: 0.7rem; letter-spacing: 0.14em; margin-bottom: 12px; }

  /* Section rule: stack vertically instead of cramming flex row */
  .section-rule {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 18px;
    margin-bottom: 28px;
  }
  .section-rule .right { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }

  /* Press bar: tidy two-line block, no awkward wrap */
  .press-bar { padding: 28px 0; }
  .press-bar .container { flex-direction: column; align-items: flex-start; gap: 12px; }
  .press-bar .label { font-size: 0.7rem; letter-spacing: 0.18em; }
  .press-logos { gap: 18px 22px; font-size: 0.92rem; }

  /* Service / insight cards: consistent inner rhythm */
  .service-card h3, .insight-card h3, .feature-card h3 { margin-bottom: 10px; }
  .service-card p, .insight-card p, .feature-card p { margin-bottom: 14px; font-size: 0.97rem; line-height: 1.6; }
  .arrow-link { font-size: 0.88rem; letter-spacing: 0.04em; }

  /* Section spacing: same breathing room everywhere */
  section { padding: 56px 0; }
  section.tight { padding: 40px 0; }

  /* Feature image + abstract stack nicely */
  .feature-image { max-width: 100%; margin: 0 0 20px; }
  .feature-abstract { font-size: 1rem; line-height: 1.6; }

  /* Leader / team text */
  .leader-card .name, .bio-card .name { font-size: 1.05rem; }
  .leader-card .title, .bio-card .info .title { font-size: 0.72rem; letter-spacing: 0.12em; }
}

@media (max-width: 380px) {
  .wordmark .nav-logos { display: none; }
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroBg {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.08) translate(-1.5%, -1%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg, .hero .eyebrow, .hero h1, .hero p.lead, .hero-ctas { animation: none !important; }
}

