/* ==========================================================================
   The Chronicle Factory — Site Stylesheet
   ========================================================================== */

:root {
  --tcf-ink: #121113;
  --tcf-ink-soft: #2a2830;
  --tcf-paper: #faf7f1;
  --tcf-paper-dim: #f1ece2;
  --tcf-amber: #eab049;
  --tcf-amber-dark: #c98f2c;
  --tcf-line: rgba(18, 17, 19, 0.1);
  --tcf-muted: #6b6660;
  --tcf-white: #ffffff;

  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1500px;
  --radius: 10px;
  --shadow-md: 0 18px 45px -20px rgba(18, 17, 19, 0.45);
  --shadow-sm: 0 8px 20px -12px rgba(18, 17, 19, 0.35);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--tcf-ink);
  background: var(--tcf-paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); margin: 0; font-weight: 700; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.container {
  width: min(100%, var(--container));
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tcf-amber-dark);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--tcf-amber-dark);
  display: inline-block;
}

.section-head {
  max-width: 1500px;
  margin: 0 0 3rem;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  margin-top: 0.6rem;
}
.section-head p {
  color: var(--tcf-muted);
  font-size: 1.05rem;
  margin-top: 1rem;
  margin-bottom: 0;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-amber { background: var(--tcf-amber); color: var(--tcf-ink); }
.btn-amber:hover { background: var(--tcf-amber-dark); }
.btn-outline-light { background: transparent; color: var(--tcf-white); border-color: rgba(255,255,255,0.55); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--tcf-white); }
.btn-outline-dark { background: transparent; color: var(--tcf-ink); border-color: var(--tcf-line); }
.btn-outline-dark:hover { background: var(--tcf-ink); color: var(--tcf-paper); border-color: var(--tcf-ink); }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ==========================================================================
   GLOBAL HEADER — one component, identical on every page
   Structure:  <header class="brandbar" id="top">
                 <div class="container">
                   <a class="brand-mark">...logo...</a>
                   <a class="bio-back">...back link, bio pages only...</a>
                 </div>
               </header>
   ========================================================================== */
.brandbar {
  position: relative;
  z-index: 50;
  width: 100%;
  min-height: 150px;
  background: var(--tcf-white);
  border-bottom: 1px solid var(--tcf-line);
}
.brandbar .container {
  position: relative;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Brand mark — the box is the single source of truth for logo size.
   The image always fills the box at 100%, so every context (header,
   footer, breakpoint) only ever needs to resize the box, never the img. */
.brand-mark {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 208px;
  height: 150px;
  flex: 0 0 208px;
  margin: 0 auto;
  line-height: 0;
  text-decoration: none;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  
}
.brandbar .brand-mark img {
  display: block;
  width: 500px;   
  height: 500px; 
  max-width: none;
  object-fit: contain;
  object-position: center;

}

.brand-mark:hover img {
  transform: scale(1.035);
  
}

/* Back-to-home link on bio pages — does not participate in logo centering */
.brandbar .bio-back {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 0;
  white-space: nowrap;
  text-decoration: none;
  color: var(--tcf-ink);
  font-size: .9rem;
  font-weight: 600;
}
.brandbar .bio-back:hover { color: var(--tcf-amber-dark); }
.brandbar .bio-back svg { width: 19px; height: 19px; flex: 0 0 19px; }

@media (min-width: 1400px) {
  .brandbar,
  .brandbar .container { min-height: 248px; }
  .brand-mark { width: 224px; height: 224px; flex-basis: 224px; }
}

@media (max-width: 1100px) {
  .brandbar,
  .brandbar .container { min-height: 196px; }
  .brand-mark { width: 176px; height: 176px; flex-basis: 176px; }
}

@media (max-width: 700px) {
  .brandbar,
  .brandbar .container { min-height: 150px; }
  .brand-mark { width: 132px; height: 132px; flex-basis: 132px; }

  .brandbar .bio-back {
    right: 0;
    top: auto;
    bottom: -46px;
    transform: none;
    padding: 7px 12px;
    border-radius: 8px;
    background: rgba(255,255,255,.97);
    box-shadow: var(--shadow-sm);
    font-size: .82rem;
  }
}

@media (max-width: 420px) {
  .brandbar,
  .brandbar .container { min-height: 128px; }
  .brand-mark { width: 112px; height: 112px; flex-basis: 112px; }
}

 /* ---- Cinematic polish ---- */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .28em;
  color: var(--tcf-amber);
}
.hero-kicker::before,
.hero-kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .85;
}
.mission-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--tcf-line);
  color: var(--tcf-muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.mission-signature i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tcf-amber-dark);
}
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0b0a0c;
  height: 650px;
}

.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../images/mbr-1920x960.webp");
  background-size: cover;
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.03);

  
  
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(234,176,73,.08), transparent 3%),
    linear-gradient(180deg, rgba(8,7,9,.84) 0%, rgba(8,7,9,.48) 38%, rgba(8,7,9,.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--tcf-white);
  padding: 55px 24px 55px;
  width: 150px
}


.hero-content .eyebrow { color: var(--tcf-amber); justify-content: center; }
.hero-content .eyebrow::before { background: var(--tcf-amber); }
.hero-content h2 {
  font-size: 80px;
  line-height: 1.05;
  margin-left: -200px;
  width: 150%;
}
.hero-content .tagline {
  font-size: 18px;
  color: rgba(255,255,255,0.86);
  max-width: 560px;
  margin: 0 auto 2.2rem;
  font-family:Georgia, 'Times New Roman', Times, serif
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.75);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none;
}
.scroll-cue span.line { width: 1px; height: 34px; background: rgba(255,255,255,0.5); animation: scrollpulse 1.8s ease-in-out infinite; }
@keyframes scrollpulse { 0%,100% { opacity: 0.35; } 50% { opacity: 1; } }

/* ---- Mission ---- */
.mission { padding: 108px 0 96px; background: var(--tcf-paper); }
.mission-lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.45;
  max-width: 1040px;
  margin: 0.8rem 0 2.6rem;
  color: var(--tcf-ink);
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem 3rem;
  max-width: 980px;
}
.mission-grid p { color: var(--tcf-ink-soft); font-size: 1.02rem; }

/* ---- Leadership / article cards ---- */
.team { padding: 100px 0 110px; background: var(--tcf-paper-dim); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.team-card {
  background: var(--tcf-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-card figure { margin: 0; position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #d9d3c7; }
.team-card figure img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.5s ease;
}
.team-card:hover figure img { transform: scale(1.045); }
.team-card .role-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--tcf-amber); color: var(--tcf-ink);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 3px;
}
.team-card .card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.team-card h3 { font-size: 1.28rem; line-height: 1.25; }
.team-card .role { font-size: 0.85rem; color: var(--tcf-amber-dark); font-weight: 600; letter-spacing: 0.02em; }
.team-card .excerpt { color: var(--tcf-muted); font-size: 0.95rem; flex: 1; }
.team-card .read-more {
  margin-top: 6px; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--tcf-ink); display: inline-flex; align-items: center; gap: 8px;
}
.team-card .read-more svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.team-card:hover .read-more svg { transform: translateX(4px); }

/* ---- CTA ---- */
.cta { background: var(--tcf-ink); color: var(--tcf-paper); }
.cta .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  gap: 0;
}
.cta-copy { padding: 100px 48px 100px 0; display: flex; flex-direction: column; justify-content: center; }
.cta-copy .eyebrow { color: var(--tcf-amber); }
.cta-copy .eyebrow::before { background: var(--tcf-amber); }
.cta-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--tcf-white); margin: 0.7rem 0 1rem; }
.cta-copy p { color: rgba(250,247,241,0.72); font-size: 1.05rem; max-width: 440px; margin-bottom: 2rem; }
.cta-figure { position: relative; }
.cta-figure img { width: 100%; height: 100%; object-fit: cover; }
.cta-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--tcf-ink) 0%, rgba(18,17,19,0) 16%); }

/* ---- Divider band ---- */
.divider-band {
  position: relative;
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  background-image: url("../images/mbr-1920x960.webp");
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}
.divider-band::before { content: ""; position: absolute; inset: 0; background: rgba(10,9,12,0.42); }
.divider-band .divider-text {
  position: relative; z-index: 1; text-align: center; color: var(--tcf-white);
  font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.1rem);
  letter-spacing: 0.02em; padding: 0 24px; text-shadow: 0 2px 18px rgba(0,0,0,0.5);
}
@media (min-width: 900px) {
  .divider-band { background-attachment: fixed; }
}

/* ---- Contact ---- */
.contact { padding: 108px 0 120px; background: var(--tcf-paper); }
.contact-tabs { display: flex; gap: 10px; margin-bottom: 2.6rem; flex-wrap: wrap; }
input[name="contact-tab"] {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.contact-tabs label {
  cursor: pointer;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--tcf-line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--tcf-muted);
  transition: all 0.2s ease;
  user-select: none;
}
.contact-tabs label:hover { border-color: var(--tcf-amber-dark); color: var(--tcf-ink); }
.contact-panels { position: relative; }
.contact-panel {
  display: none;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: stretch;
}
.contact-info-card {
  background: var(--tcf-white);
  border: 1px solid var(--tcf-line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}
.contact-info-card h3 { font-size: 1.05rem; margin-bottom: 1.6rem; }
.contact-row { display: flex; gap: 14px; margin-bottom: 1.5rem; }
.contact-row:last-child { margin-bottom: 0; }
.contact-row .icon {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--tcf-paper-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--tcf-amber-dark);
}
.contact-row .icon svg { width: 18px; height: 18px; }
.contact-row .label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tcf-muted); margin-bottom: 4px; }
.contact-row a, .contact-row span.value { font-size: 0.98rem; color: var(--tcf-ink); text-decoration: none; line-height: 1.5; }
.contact-row a:hover { color: var(--tcf-amber-dark); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--tcf-line); min-height: 320px; box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

#tab-in:checked ~ .contact-panels #panel-in,
#tab-us:checked ~ .contact-panels #panel-us,
#tab-lk:checked ~ .contact-panels #panel-lk { display: grid; }
#tab-in:checked ~ .contact-tabs label[for="tab-in"],
#tab-us:checked ~ .contact-tabs label[for="tab-us"],
#tab-lk:checked ~ .contact-tabs label[for="tab-lk"] { background: var(--tcf-ink); color: var(--tcf-paper); border-color: var(--tcf-ink); }

/* ---- Footer ---- */
.site-footer { background: var(--tcf-paper-dim); color: var(--tcf-muted); padding: 60px 0 30px; border-top: 1px solid var(--tcf-line); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 30px; margin-bottom: 26px; border-bottom: 1px solid var(--tcf-line); flex-wrap: wrap; }
.footer-top .brand-mark {
  width: 108px;
  height: 108px;
  flex-basis: 108px;
  margin: 0;
}

@media (max-width: 620px) {
  .footer-top .brand-mark { width: 88px; height: 88px; flex-basis: 88px; }
}
.footer-tagline { font-family: var(--font-display); font-size: 1.02rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; }
.footer-bottom a { text-decoration: none; color: var(--tcf-muted); }
.footer-bottom a:hover { color: var(--tcf-amber-dark); }
.back-to-top { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.back-to-top svg { width: 14px; height: 14px; }

/* ---- Bio / article page ---- */
.bio-article { padding: 56px 0 120px; background: var(--tcf-paper); }
.bio-layout { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }
.bio-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); position: sticky; top: 32px; }
.bio-photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; }
.bio-intro .role-badge {
  display: inline-block; background: var(--tcf-amber); color: var(--tcf-ink);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 3px; margin-bottom: 1.1rem;
}
.bio-intro h1 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.15; margin-bottom: 0.4rem; }
.bio-intro .company-line { color: var(--tcf-muted); font-size: 1rem; margin-bottom: 2.2rem; }
.bio-body p { font-size: 1.06rem; color: var(--tcf-ink-soft); }
.bio-body p:first-of-type { font-size: 1.16rem; color: var(--tcf-ink); }

.related-leaders { background: var(--tcf-paper-dim); padding: 80px 0 96px; }
.related-leaders .section-head { margin-bottom: 2.4rem; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* ---- Reveal-on-scroll ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .mission-grid { width: min(100%, 860px); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cta .container { grid-template-columns: 1fr; }
  .cta-copy { padding: 72px 0 0; }
  .cta-figure { aspect-ratio: 16 / 10; }
  .contact-panel { grid-template-columns: 1fr; }
  .bio-layout { grid-template-columns: 1fr; }
  .bio-photo { position: static; max-width: 380px; margin: 0 auto; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { padding: 0 20px; }

  .hero-kicker { font-size: .58rem; letter-spacing: .2em; }
  .hero-kicker::before, .hero-kicker::after { width: 22px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .mission-signature { gap: 10px; flex-wrap: wrap; letter-spacing: .1em; }
  .mission { padding: 78px 0 72px; }

  .mission-column {
    border-left-width: 0px;
    padding-left: 1px;
    gap: 9.35rem;
  }

  .team-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 45px 20px 55px; }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top {
    align-items: center;
    text-align: center;
  }

  .footer-top .brand-mark { margin: 0 auto; }
  .footer-tagline { width: 100%; }
}

@media (max-width: 420px) {
  .hero-content h1 {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .story-submit-card {
    padding-left: 18px;
    padding-right: 18px;
  }
}


/* ---- Production refinements ---- */
:focus-visible {
  outline: 2px solid var(--tcf-amber);
  outline-offset: 4px;
}
::selection {
  background: var(--tcf-amber);
  color: var(--tcf-ink);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* ---- Final responsive / production safeguards ---- */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img, iframe {
  max-width: 100%;
}

/* ==========================================================================
   TCF ADVANCED PRODUCTION LAYER
   Visual hardening, responsive resilience, accessibility and CSS containment.
   Note: CSS improves resilience and UI safety; real security requires HTTP
   headers, CSP, server-side validation and secure JavaScript.
   ========================================================================== */

/* ---- Design tokens / rendering stability ---- */
:root {
  color-scheme: light;
  --tcf-focus: #9a6915;
  --tcf-glass: rgba(255,255,255,.72);
  --tcf-max-readable: 72ch;
  --tcf-section-space: clamp(4.5rem, 8vw, 7.5rem);
  --tcf-safe-inline: max(20px, env(safe-area-inset-left));
  --tcf-safe-inline-end: max(20px, env(safe-area-inset-right));
}

/* ---- Global defensive baseline ---- */
html {
  min-width: 320px;
  overflow-x: clip;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  hanging-punctuation: first last;
}

body {
  min-width: 320px;
  overflow-x: clip;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

body,
button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

button,
a,
label,
[role="button"] {
  touch-action: manipulation;
}

a {
  overflow-wrap: anywhere;
}

button,
input,
textarea,
select {
  max-width: 100%;
}

textarea {
  resize: vertical;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

img {
  height: auto;
  font-style: italic;
}

iframe {
  max-width: 100%;
}

/* Prevent accidental selection of purely decorative UI. */
.brand-mark img,
.scroll-cue span.line,
.hero::before,
.hero::after,
.divider-band::before,
.cta-figure::after {
  user-select: none;
  -webkit-user-drag: none;
}

/* ---- Strong keyboard accessibility ---- */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--tcf-focus);
  outline-offset: 4px;
}

:where(.btn, .contact-tabs label, .team-card, .back-to-top, .scroll-cue) {
  -webkit-user-select: none;
  user-select: none;
}

/* Keep the existing hidden contact-tab inputs accessible to keyboard users. */
input[name="contact-tab"]:focus-visible + label {
  outline: 3px solid var(--tcf-focus);
  outline-offset: 4px;
}

/* ---- Safer interactive states ---- */
.btn {
  min-height: 46px;
  isolation: isolate;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  box-shadow: 0 0 0 2px var(--tcf-paper), 0 0 0 5px var(--tcf-focus);
}

.btn-amber:hover,
.btn-amber:focus-visible {
  background: color-mix(in srgb, var(--tcf-amber-dark) 92%, black);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background: rgba(255,255,255,.14);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
  background: var(--tcf-ink);
}

/* ---- Layout containment ---- */
.container {
  min-width: 0;
  contain: layout style;
}

.mission,
.team,
.cta,
.divider-band,
.contact,
.site-footer,
.bio-article,
.related-leaders {
  isolation: isolate;
}

/* ---- High-quality responsive mission row ---- */
.mission-grid {
  width: 100%;
  max-width: none;
}

.mission-column {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(18px, 2.2vw, 36px);
  width: 100%;
  max-width: none;
  margin: 0;
  border-left: 0;
  padding-left: 0;
}

.mission-column p {
  min-width: 0;
  margin: 0;
  color: var(--tcf-ink-soft);
  font-size: clamp(.94rem, .78rem + .2vw, 1.04rem);
  line-height: 1.78;
  text-wrap: pretty;
}

@media (min-width: 1101px) {
  .mission-column p + p {
    border-left: 1px solid var(--tcf-line);
    padding-left: clamp(18px, 2.2vw, 36px);
  }
}

@media (max-width: 1100px) {
  .mission-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-column p {
    padding: 0;
    border-left: 0;
  }

  .mission-column p:nth-child(n + 3) {
    border-top: 1px solid var(--tcf-line);
    padding-top: 22px;
  }
}

@media (max-width: 680px) {
  .mission-column {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mission-column p,
  .mission-column p:nth-child(n + 3) {
    padding: 22px 0;
    border-top: 1px solid var(--tcf-line);
  }

  .mission-column p:first-child {
    padding-top: 0;
    border-top: 0;
  }
}

/* ---- Hero resilience ---- */
.hero {
  /* Keep hero compact instead of forcing viewport-height sizing */
  min-height: 0;
  isolation: isolate;
}

.hero-content {
  width: min(100%, 900px);
  min-width: 0;
  text-wrap: pretty;
}

.hero-content h1,
.hero-content .tagline {
  overflow-wrap: normal;
  word-break: normal;
}

.hero::before {
  will-change: transform;
}

@media (max-width: 620px) {
  .hero {
    /* ================= MOBILE HERO HEIGHT — CHANGE THIS ================= */
    height: 380px;
    /* ==================================================================== */
    min-height: 0;
  }

  .hero-content {
    width: 100%;
  }
}

/* ---- Cards / media resilience ---- */
.team-grid,
.related-grid,
.contact-panel,
.cta .container {
  min-width: 0;
}

.team-card {
  min-width: 0;
  isolation: isolate;
}

.team-card figure,
.cta-figure,
.map-wrap {
  contain: paint;
}

.team-card figure img,
.cta-figure img {
  backface-visibility: hidden;
  transform-origin: center;
}

/* ---- Contact content cannot break the layout ---- */
.contact-info-card,
.contact-row,
.contact-row > div {
  min-width: 0;
}

.contact-row a,
.contact-row span.value {
  overflow-wrap: anywhere;
}

.map-wrap {
  min-width: 0;
  background: var(--tcf-paper-dim);
}

.map-wrap iframe {
  display: block;
}

/* ---- Footer resilience ---- */
.footer-top > *,
.footer-bottom > * {
  min-width: 0;
}

.footer-bottom span {
  overflow-wrap: anywhere;
}

/* ---- Modern viewport / safe-area support ---- */
@supports (padding: max(0px)) {
  .container {
    padding-left: max(32px, env(safe-area-inset-left));
    padding-right: max(32px, env(safe-area-inset-right));
  }

  .site-footer {
    padding-bottom: max(30px, env(safe-area-inset-bottom));
  }

  @media (max-width: 620px) {
    .container {
      padding-left: max(20px, env(safe-area-inset-left));
      padding-right: max(20px, env(safe-area-inset-right));
    }
  }
}

/* ---- Motion safety ---- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .hero::before,
  .team-card:hover,
  .team-card:hover figure img,
  .brandbar .brand-mark:hover img {
    transform: none !important;
  }
}

/* ---- Forced colors / high contrast ---- */
@media (forced-colors: active) {
  * {
    forced-color-adjust: auto;
  }

  .btn,
  .contact-tabs label,
  .contact-info-card,
  .team-card {
    border: 1px solid CanvasText;
  }

  :focus-visible {
    outline: 2px solid Highlight;
  }
}

/* ---- Dark preference is intentionally not auto-applied.
   Brand palette remains consistent unless a dedicated dark theme is added. ---- */

/* ---- Print-safe output ---- */
@media print {
  *,
  *::before,
  *::after {
    box-shadow: none !important;
    text-shadow: none !important;
    animation: none !important;
    transition: none !important;
  }

  html,
  body {
    background: #fff !important;
    color: #000 !important;
    overflow: visible !important;
  }

  .brandbar {
    position: static;
    min-height: 1000px;
    padding: 12px 0;
  }

  .brandbar .brand-mark,
  .footer-top .brand-mark {
    width: 120px !important;
    height: 120px !important;
    margin: 0 auto !important;
  }

  .hero,
  .divider-band {
    min-height: auto;
    color: #000 !important;
    background: #fff !important;
  }

  .hero::before,
  .hero::after,
  .divider-band::before {
    display: none !important;
  }

  .hero-content {
    padding: 40px 0;
    color: #000 !important;
  }

  .team-card,
  .contact-info-card {
    break-inside: avoid;
  }

  .cta-figure,
  .map-wrap,
  .scroll-cue {
    display: none !important;
  }

  a[href]::after {
    content: none;
  }
}

/* ---- Defensive fallback for browsers without color-mix ---- */
@supports not (background: color-mix(in srgb, black 50%, white)) {
  .btn-amber:hover,
  .btn-amber:focus-visible {
    background: var(--tcf-amber-dark);
  }
}

/* ---- Final overflow guard ---- */
@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}
/* ==========================================================================
   TCF — WHO WE ARE / CLEAN EDITORIAL PARAGRAPH
   ========================================================================== */

.who-we-are {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 8vw, 115px) 0 clamp(68px, 7vw, 105px);
  background: var(--tcf-paper);
}

.who-we-are::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(260px, 28vw);
  height: 2px;
  background: var(--tcf-amber);
}

.who-we-are::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -220px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(201,143,44,.10);
  border-radius: 50%;
  pointer-events: none;
}

/* Clean heading + paragraph */
.who-intro {
  display: block;
  max-width: 900px;
  margin: 0 0 clamp(38px, 5vw, 58px);
}

.who-intro-copy {
  max-width: 900px;
}

.who-intro-copy h2 {
  margin: 0 0 20px;
  max-width: 900px;
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.who-intro-copy h2 em {
  color: var(--tcf-amber-dark);
  font-weight: 600;
}

.who-intro-lead {
  max-width: 760px;
  align-items: center;
  margin: 30px;
  margin-left:400px;
  padding: 0;
  color: var(--tcf-ink-soft);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.75;
  text-wrap: pretty;
}

.who-intro-lead strong {
  color: var(--tcf-ink);
  font-weight: 700;
}

/* Main Who We Are content — simple paragraph flow */
.who-story-grid {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.who-story-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  padding: 0;
}

.who-story-number {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1;
  color: var(--tcf-amber-dark);
  letter-spacing: .02em;
}

.who-story-kicker {
  max-width: none;
  color: var(--tcf-muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.who-story-main {
  min-width: 0;
}

.who-story-opening {
  max-width: 820px;
  margin: 0 0 30px;
  color: var(--tcf-ink-soft);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.78;
  letter-spacing: 0;
  text-wrap: pretty;
}

/* Principles now read like continuous editorial paragraphs */
.who-principles {
  display: block;
  border-top: 1px solid var(--tcf-line);
}

.who-principle {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--tcf-line);
}

.who-principle:nth-child(odd),
.who-principle:nth-child(even) {
  padding-left: 0;
  padding-right: 0;
  border-right: 0;
}

.who-principle-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border: 1px solid rgba(201,143,44,.45);
  border-radius: 50%;
  color: var(--tcf-amber-dark);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.who-principle h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.who-principle p {
  max-width: 760px;
  margin: 0;
  color: var(--tcf-muted);
  font-size: .98rem;
  line-height: 1.75;
}

/* Closing paragraph */
.who-closing {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--tcf-line);
}

.who-closing-line {
  width: 28px;
  height: 2px;
  margin-top: 12px;
  background: var(--tcf-amber);
}

.who-closing p {
  max-width: 820px;
  margin: 0;
  color: var(--tcf-ink-soft);
  font-size: 1rem;
  line-height: 1.8;
  text-wrap: pretty;
}

.who-statement {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  max-width: 900px;
  margin-top: 40px;
  color: var(--tcf-muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.who-statement i {
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: var(--tcf-amber);
}

/* Gentle reveal sequencing */
.who-we-are .who-intro.reveal {
  transition-delay: .05s;
}

.who-we-are .who-story-grid.reveal {
  transition-delay: .12s;
}

.who-we-are .who-statement.reveal {
  transition-delay: .18s;
}

/* Tablet */
@media (max-width: 900px) {
  .who-intro {
    max-width: 820px;
    margin-bottom: 42px;
  }

  .who-intro-lead {
    max-width: 760px;
  }

  .who-story-grid {
    max-width: 820px;
  }

  .who-principle p,
  .who-story-opening,
  .who-closing p {
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 620px) {
  .who-we-are {
    padding: 64px 0 62px;
  }

  .who-intro {
    margin-bottom: 36px;
  }

  .who-intro-copy h2 {
    margin-bottom: 16px;
    font-size: clamp(2.2rem, 12vw, 3.4rem);
    line-height: 1.05;
  }

  .who-intro-lead {
    font-size: 1rem;
    line-height: 1.7;
  }

  .who-story-label {
    margin-bottom: 15px;
  }

  .who-story-opening {
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.75;
  }

  .who-principle {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 13px;
    padding: 20px 0;
  }

  .who-principle-index {
    width: 26px;
    height: 26px;
    font-size: .6rem;
  }

  .who-principle h3 {
    font-size: 1.08rem;
  }

  .who-principle p {
    font-size: .94rem;
    line-height: 1.7;
  }

  .who-closing {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 13px;
    margin-top: 26px;
    padding-top: 22px;
  }

  .who-closing-line {
    width: 24px;
    margin-top: 11px;
  }

  .who-closing p {
    font-size: .96rem;
    line-height: 1.75;
  }

  .who-statement {
    margin-top: 34px;
    gap: 9px;
    flex-wrap: wrap;
    letter-spacing: .16em;
  }
}

/* Reduced-motion support */
@media (prefers-reduced-motion: reduce) {
  .who-we-are .who-intro.reveal,
  .who-we-are .who-story-grid.reveal,
  .who-we-are .who-statement.reveal {
    transition-delay: 0 !important;
  }
}


/* ==========================================================================
   TCF — WHO WE ARE / CINEMATIC EDITORIAL PARAGRAPH LAYOUT
   Inspired by the supplied reference: centered, continuous serif paragraphs.
   ========================================================================== */

.who-we-are {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 7vw, 110px) 24px clamp(78px, 7vw, 115px);
  background: var(--tcf-paper);
  color: var(--tcf-ink);
}

/* Remove the previous decorative rules so the section reads as one clean
   editorial composition. */
.who-we-are::before,
.who-we-are::after {
  display: none;
}

/* Center the complete reading column. */
.who-we-are .container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

/* Hide the structural heading/label so the content starts directly as prose,
   matching the supplied visual reference. */
.who-intro-copy h2,
.who-intro-copy .eyebrow,
.who-story-label,
.who-statement {
  display: none;
}

.who-intro {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto clamp(34px, 3.4vw, 48px);
  text-align: center;
}

.who-intro-copy {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

/* Main introductory paragraph. */
.who-intro-lead {
  display: block;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0;
  color: var(--tcf-ink);
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1rem + .48vw, 1.48rem);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: 0;
  text-align: center;
  text-wrap: pretty;
}

.who-intro-lead strong {
  color: inherit;
  font-weight: 700;
}

/* Continuous editorial prose — no cards, columns, numbering or borders. */
.who-story-grid {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: center;
}

.who-story-main {
  width: 100%;
  min-width: 0;
}

.who-story-opening,
.who-principle p,
.who-closing p {
  width: 100%;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--tcf-ink-soft);
  font-family: var(--font-display);
  font-size: clamp(1.12rem, .98rem + .38vw, 1.34rem);
  font-weight: 500;
  line-height: 1.46;
  letter-spacing: 0;
  text-align: center;
  text-wrap: pretty;
}

.who-story-opening {
  margin-top: 0;
  margin-bottom: clamp(32px, 3vw, 42px);
}

/* Turn every principle into a normal paragraph in the same reading flow. */
.who-principles {
  display: block;
  width: 100%;
  border: 0;
}

.who-principle,
.who-principle:nth-child(odd),
.who-principle:nth-child(even) {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.who-principle + .who-principle {
  margin-top: clamp(32px, 3vw, 42px);
}

.who-principle-index,
.who-principle h3 {
  display: none;
}

.who-principle p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Final paragraph follows the exact same editorial rhythm. */
.who-closing {
  display: block;
  width: 100%;
  margin: clamp(32px, 3vw, 42px) 0 0;
  padding: 0;
  border: 0;
}

.who-closing-line {
  display: none;
}

.who-closing p {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--tcf-ink);
  font-weight: 500;
}

/* Keep reveal animation subtle and centered. */
.who-we-are .who-intro.reveal,
.who-we-are .who-story-grid.reveal,
.who-we-are .who-statement.reveal {
  transition-delay: 0s;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .who-we-are {
    padding-left: 24px;
    padding-right: 24px;
  }

  .who-we-are .container,
  .who-intro,
  .who-intro-copy,
  .who-story-grid {
    max-width: 700px;
  }

  .who-intro-lead,
  .who-story-opening,
  .who-principle p,
  .who-closing p {
    max-width: 650px;
  }
}

@media (max-width: 620px) {
  .who-we-are {
    padding: 62px 20px 68px;
  }

  .who-intro {
    margin-bottom: 32px;
  }

  .who-intro-lead {
    max-width: 100%;
    font-size: 1.08rem;
    line-height: 1.48;
  }

  .who-story-opening,
  .who-principle p,
  .who-closing p {
    max-width: 100%;
    font-size: 1.04rem;
    line-height: 1.55;
  }

  .who-story-opening {
    margin-bottom: 30px;
  }

  .who-principle + .who-principle,
  .who-closing {
    margin-top: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .who-we-are .who-intro.reveal,
  .who-we-are .who-story-grid.reveal,
  .who-we-are .who-statement.reveal {
    transition-delay: 0 !important;
  }
}

/* ========================================================================== 
   TCF — WHO WE ARE HEADING RESTORED
   ========================================================================== */

.who-intro-copy h2 {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto clamp(22px, 2.4vw, 30px);
  color: var(--tcf-ink);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-align: center;
  text-wrap: balance;
}

.who-intro-copy h2 em {
  color: var(--tcf-amber-dark);
  font-style: normal;
  font-weight: 600;
}

@media (max-width: 620px) {
  .who-intro-copy h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 10vw, 2.8rem);
    line-height: 1.08;
  }
}



/* ==========================================================================
   TCF — FINAL MOBILE / TABLET RESPONSIVE LAYER
   Keeps every major component readable, centered and touch-friendly.
   ========================================================================== */

/* Tablet */
@media (max-width: 900px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .brandbar,
  .brandbar .container {
    min-height: 190px;
  }

  .brand-mark {
    width: 168px;
    height: 168px;
    flex-basis: 168px;
  }

  .brandbar .brand-mark img {
    width: 360px;
    height: 360px;
  }

  .hero {
    height: 560px;
  }

  .hero-content {
    width: min(100%, 760px);
    padding: 48px 24px 58px;
  }

  .hero-content h2 {
    width: auto;
    margin-left: 0;
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1.04;
  }

  .hero-content .tagline {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1rem, 2vw, 1.15rem);
  }

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

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .cta-copy {
    padding: 72px 0 52px;
  }

  .cta-figure {
    min-height: 320px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 300px;
  }

  .bio-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .bio-photo {
    position: static;
    max-width: 360px;
    margin: 0 auto;
  }

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

  /* Who We Are */
  .who-we-are {
    padding-left: 24px;
    padding-right: 24px;
  }

  .who-we-are .container,
  .who-intro,
  .who-intro-copy,
  .who-story-grid {
    max-width: 700px;
  }

  .who-intro-lead,
  .who-story-opening,
  .who-principle p,
  .who-closing p {
    max-width: 680px;
  }
}

/* Phones */
@media (max-width: 620px) {
  html,
  body {
    min-width: 0;
  }

  .container {
    width: 100%;
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }

  /* Header */
  .brandbar,
  .brandbar .container {
    min-height: 178px;
  }

  .brandbar .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-mark {
    width: 126px;
    height: 126px;
    flex-basis: 126px;
  }

  .brandbar .brand-mark img {
    width: 300px;
    height: 300px;
  }

  .brandbar .bio-back {
    right: 14px;
    bottom: -44px;
    max-width: calc(100% - 28px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Hero */
  .hero {
    height: 420px;
  }

  .hero-content {
    width: 100%;
    padding: 36px 18px 58px;
  }

  .hero-content h1,
  .hero-content h2 {
    width: 100%;
    margin-left: 0;
    font-size: clamp(2.25rem, 11vw, 3.5rem);
    line-height: 1.04;
    text-wrap: balance;
  }

  .hero-content .tagline {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 1.7rem;
    font-size: .98rem;
    line-height: 1.6;
  }

  .hero-actions {
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .hero-kicker {
    font-size: .55rem;
    letter-spacing: .16em;
  }

  .hero-kicker::before,
  .hero-kicker::after {
    width: 18px;
  }

  .scroll-cue {
    bottom: 16px;
  }

  /* General section spacing */
  .section-head {
    margin-bottom: 2rem;
  }

  .section-head h2 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .section-head p {
    font-size: .96rem;
  }

  .mission {
    padding: 64px 0 60px;
  }

  .mission-lead {
    font-size: 1.16rem;
    line-height: 1.5;
    margin-bottom: 2rem;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mission-column {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mission-column p,
  .mission-column p:nth-child(n + 3) {
    padding: 18px 0;
    border-top: 1px solid var(--tcf-line);
    font-size: .95rem;
    line-height: 1.7;
  }

  .mission-column p:first-child {
    padding-top: 0;
    border-top: 0;
  }

  /* Leadership cards */
  .team {
    padding: 64px 0 70px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-card .card-body {
    padding: 20px 20px 22px;
  }

  .team-card h3 {
    font-size: 1.2rem;
  }

  .team-card .excerpt {
    font-size: .92rem;
  }

  /* CTA */
  .cta .container {
    grid-template-columns: 1fr;
  }

  .cta-copy {
    padding: 64px 0 42px;
  }

  .cta-copy h2 {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  .cta-copy p {
    font-size: .96rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn,
  .story-submit-card .btn {
    width: 100%;
    min-height: 50px;
    justify-content: center;
  }

  .story-upload-status {
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: .82rem;
  }

  .cta-figure {
    min-height: 250px;
    aspect-ratio: 16 / 10;
  }

  /* Divider */
  .divider-band {
    min-height: 230px;
  }

  .divider-band .divider-text {
    padding: 0 18px;
    font-size: clamp(1.25rem, 6vw, 1.7rem);
    line-height: 1.35;
  }

  /* Contact */
  .contact {
    padding: 68px 0 76px;
  }

  .contact-tabs {
    gap: 8px;
    margin-bottom: 2rem;
  }

  .contact-tabs label {
    flex: 1 1 auto;
    min-height: 44px;
    padding: .68rem .9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: .78rem;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-info-card {
    padding: 24px 20px;
  }

  .contact-row {
    gap: 11px;
    margin-bottom: 1.2rem;
  }

  .contact-row .icon {
    width: 36px;
    height: 36px;
  }

  .contact-row a,
  .contact-row span.value {
    font-size: .9rem;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 250px;
  }

  /* Footer */
  .site-footer {
    padding: 48px 0 24px;
  }

  .footer-top,
  .footer-bottom {
    gap: 18px;
  }

  .footer-top {
    padding-bottom: 24px;
    margin-bottom: 22px;
  }

  .footer-top .brand-mark {
    width: 82px;
    height: 82px;
    flex-basis: 82px;
  }

  .footer-tagline {
    font-size: .95rem;
    line-height: 1.45;
  }

  .footer-bottom {
    font-size: .76rem;
  }

  /* Bio/article */
  .bio-article {
    padding: 42px 0 76px;
  }

  .bio-layout {
    gap: 30px;
  }

  .bio-photo {
    max-width: 300px;
  }

  .bio-intro h1 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .bio-intro .company-line {
    margin-bottom: 1.5rem;
  }

  .bio-body p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .bio-body p:first-of-type {
    font-size: 1.08rem;
  }

  .related-leaders {
    padding: 58px 0 70px;
  }

  /* Who We Are — clean single-column reading experience */
  .who-we-are {
    padding: 58px 18px 64px;
  }

  .who-we-are .container,
  .who-intro,
  .who-intro-copy,
  .who-story-grid {
    width: 100%;
    max-width: 100%;
  }

  .who-intro {
    margin-bottom: 30px;
  }

  .who-intro-lead {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-size: clamp(1.08rem, 4.7vw, 1.28rem);
    line-height: 1.5;
    text-align: center;
  }

  .who-story-opening,
  .who-principle p,
  .who-closing p {
    width: 100%;
    max-width: 100%;
    font-size: clamp(.98rem, 3.9vw, 1.08rem);
    line-height: 1.72;
    text-align: center;
  }

  .who-story-opening {
    margin-bottom: 28px;
  }

  .who-principle + .who-principle {
    margin-top: 28px;
  }

  .who-closing {
    margin-top: 28px;
  }

  /* Prevent long words / URLs from creating horizontal overflow */
  .who-we-are *,
  .contact *,
  .cta *,
  .team * {
    min-width: 0;
  }

  /* Touch-friendly interactive elements */
  .btn,
  .contact-tabs label {
    -webkit-tap-highlight-color: transparent;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brandbar,
  .brandbar .container {
    min-height: 164px;
  }

  .brand-mark {
    width: 112px;
    height: 112px;
    flex-basis: 112px;
  }

  .brandbar .brand-mark img {
    width: 270px;
    height: 270px;
  }

  .hero {
    height: 400px;
  }

  .hero-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-content h1,
  .hero-content h2 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .who-we-are {
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-tabs label {
    flex-basis: 100%;
  }

  .contact-info-card {
    padding: 22px 17px;
  }
}


/* ==========================================================================
   FINAL HEADER — single source of truth (overrides all earlier header rules)
   Logo on top, tagline directly beneath, both centred in normal flow.
   No absolute positioning, so nothing can overlap or clip at any width.
   ========================================================================== */
header.brandbar {
  min-height: 0;
  padding: clamp(14px, 3vw, 28px) 0 clamp(14px, 2.6vw, 24px);
  overflow: visible;
}
header.brandbar > .container {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.2vw, 12px);
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}
/* The logo file has large transparent margins, so the box is cropped to the
   logo's real shape (wide, short) — this lets it render bigger and keeps the
   tagline close, while the whole logo stays fully visible. */
header.brandbar .container .brand-mark {
  width: clamp(200px, 44vw, 340px);
  height: auto;
  aspect-ratio: 2 / 1;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
}
header.brandbar .container .brand-mark img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}
header.brandbar .container .brand-tag {
  position: static;
  transform: none;
  width: auto;
  max-width: 100%;
  margin: 0;
  color: var(--tcf-ink);
  font-family: var(--font-display);
  font-size: clamp(.78rem, 2.6vw, 1.05rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .06em;
  text-align: center;
  white-space: normal;
  text-wrap: balance;
}
header.brandbar .container .brand-tag::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin: 0 auto 8px;
  background: var(--tcf-amber-dark);
}

/* Back link on profile pages: top-right on wide screens, own row on phones */
header.brandbar .container .bio-back {
  position: absolute;
  right: 16px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  max-width: none;
  overflow: visible;
  background: none;
  box-shadow: none;
  padding: 8px 0;
}
@media (max-width: 900px) {
  header.brandbar .container .bio-back {
    position: static;
    transform: none;
    margin-top: 4px;
    padding: 8px 14px;
    border: 1px solid var(--tcf-line);
    border-radius: 999px;
    background: var(--tcf-white);
    font-size: .82rem;
  }
}
@media (max-width: 380px) {
  header.brandbar .container .brand-tag { letter-spacing: .04em; }
}
