/* ── RESET & TOKENS ── */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0B1A2E;
  --navy-2: #132848;
  --navy-dark: #071120;
  --ivory: #F8F4EC;
  --paper: #FFFFFF;
  --ink: #1B2230;
  --text-dim: #6B7280;
  --text-dim-light: #B9C2CE;
  --gold: #C9A24B;
  --gold-light: #E4C77A;

  --border: #E4DDCB;
  --border-dark: #24314A;

  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --nav-h: 84px;
  --topbar-h: 40px;
  --max-w: 1160px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.2;
  color: var(--ink);
}

.section--dark .section-heading { color: var(--ivory); }

.rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 20px 0 0;
}

.btn-solid, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  padding: 15px 30px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out-expo);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-solid {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-solid:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(244, 239, 230, 0.4);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-outline--dark {
  color: var(--ivory);
  border-color: var(--border);
}
.btn-outline--dark:hover { border-color: var(--gold); color: var(--gold-dark, #9C7A2E); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── TOPBAR ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
}

.topbar {
  height: var(--topbar-h);
  background: var(--navy-dark);
  border-bottom: 1px solid var(--border-dark);
  overflow: hidden;
  transition: height 0.4s var(--ease-out-expo), border-color 0.4s var(--ease-out-expo);
}
.site-header.scrolled .topbar {
  height: 0;
  border-bottom-color: transparent;
}

.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: var(--topbar-h);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-contacts { display: flex; align-items: center; gap: 28px; }
.topbar-item, .topbar-address {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--text-dim-light);
}
.topbar-item { transition: color 0.3s var(--ease-out-expo); }
.topbar-item:hover { color: var(--gold); }
.topbar-item svg, .topbar-address svg {
  width: 13px; height: 13px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ── NAV ── */
.nav-bar {
  height: var(--nav-h);
  background: rgba(11, 26, 46, 0.35);
  border-bottom: 1px solid rgba(244, 239, 230, 0.08);
  backdrop-filter: blur(6px);
  transition: background 0.4s var(--ease-out-expo), height 0.4s var(--ease-out-expo), border-color 0.4s var(--ease-out-expo);
}
.site-header.scrolled .nav-bar {
  height: 72px;
  background: rgba(7, 17, 32, 0.94);
  border-bottom-color: var(--border-dark);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { height: 56px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim-light);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s var(--ease-out-expo);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out-expo);
}
.nav-link:hover, .nav-link--active { color: var(--ivory); }
.nav-link:hover::after, .nav-link--active::after { width: 100%; }

.nav-cta { margin-left: 8px; padding: 12px 24px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ivory);
  transition: all 0.3s var(--ease-out-expo);
}

/* ── HERO SLIDER ── */
.hero {
  position: relative;
  /* Own stacking context at z-index 0. Required: the ken-burns animation below
     promotes .hero-bg to its own compositing layer, which otherwise paints over
     the fixed .site-header (most visible as the open mobile menu being
     overdrawn by the hero). Don't remove this. */
  z-index: 0;
  overflow: hidden;
  background: #000;
}
/* All slides share one grid cell so the hero is as tall as its tallest slide
   (no absolute positioning — that would collapse the height on small screens). */
.hero-slides {
  display: grid;
}
.hero-slide {
  grid-area: 1 / 1;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease-out-expo), visibility 1s var(--ease-out-expo);
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
  transform: scale(1.06);
}
/* Animation rather than a transition, so the slow zoom replays every time a
   slide becomes active — including the first slide on page load. */
.hero-slide.is-active .hero-bg { animation: hero-ken-burns 9s var(--ease-out-expo) forwards; }
@keyframes hero-ken-burns {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* Staggered entrance for the active slide's copy */
.hero-slide .hero-eyebrow,
.hero-slide .hero-title,
.hero-slide .hero-sub,
.hero-slide .hero-actions {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.hero-slide.is-active .hero-eyebrow,
.hero-slide.is-active .hero-title,
.hero-slide.is-active .hero-sub,
.hero-slide.is-active .hero-actions {
  opacity: 1;
  transform: translateY(0);
}
.hero-slide.is-active .hero-eyebrow { transition-delay: 0.25s; }
.hero-slide.is-active .hero-title   { transition-delay: 0.35s; }
.hero-slide.is-active .hero-sub     { transition-delay: 0.45s; }
.hero-slide.is-active .hero-actions { transition-delay: 0.55s; }

/* Slider controls */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(228, 199, 122, 0.35);
  background: rgba(7, 17, 32, 0.35);
  color: var(--gold-light);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s var(--ease-out-expo), background 0.3s var(--ease-out-expo), color 0.3s var(--ease-out-expo);
}
.hero-arrow:hover { border-color: var(--gold); background: rgba(7, 17, 32, 0.7); color: var(--gold); }
.hero-arrow--prev { left: 24px; }
.hero-arrow--next { right: 24px; }

.hero-dots {
  position: absolute;
  z-index: 4;
  left: 0; right: 0;
  bottom: 36px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.hero-dot {
  width: 30px; height: 3px;
  padding: 0;
  border: none;
  background: rgba(244, 239, 230, 0.3);
  cursor: pointer;
  transition: background 0.3s var(--ease-out-expo), width 0.3s var(--ease-out-expo);
}
.hero-dot:hover { background: rgba(244, 239, 230, 0.6); }
.hero-dot.is-active { width: 48px; background: var(--gold); }
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,17,32,0.55) 0%, rgba(7,17,32,0.55) 40%, rgba(7,17,32,0.92) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + var(--topbar-h) + 40px) 32px 100px;
  width: 100%;
}
.hero-eyebrow { color: var(--gold); }
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.08;
  color: var(--ivory);
  max-width: 760px;
}
.hero-title-accent { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 17px;
  color: var(--text-dim-light);
  max-width: 520px;
  margin-top: 24px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ── TRUST STRIP ── */
.trust {
  background: var(--navy-dark);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  padding: 40px 0;
}
.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  color: var(--gold);
}
.trust-stat-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim-light);
  margin-top: 8px;
}

/* ── SECTIONS (generic) ── */
.section {
  padding: 110px 0;
}
/* Anchored sections must clear the fixed header when jumped to. */
.section[id] { scroll-margin-top: var(--nav-h); }
.section--dark { background: var(--navy); color: var(--ivory); }
.section--ivory { background: var(--ivory); }
.section--paper { background: var(--paper); }

.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}
.section-head--center { max-width: 680px; margin-left: auto; margin-right: auto; text-align: center; }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img { width: 100%; height: 560px; object-fit: cover; }
.about-media::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 100%; height: 100%;
  border: 1px solid var(--gold);
  z-index: -1;
}
/* Paragraphs here are divs (see the div convention in CLAUDE.md), so this
   targets the class rather than a `p` tag selector. */
.about-para { color: var(--text-dim); margin-top: 20px; font-size: 15.5px; }
.about-credentials {
  margin-top: 32px;
  display: grid;
  gap: 14px;
}
.about-credential {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 14.5px;
  color: var(--ink);
}
.about-credential::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(-2px);
}

/* ── LEADERSHIP ── */
.leaders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.leader-card {
  background: var(--navy-2);
  overflow: hidden;
}
.leader-card-media { aspect-ratio: 13 / 10; overflow: hidden; }
.leader-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.6s var(--ease-out-expo); }
.leader-card:hover .leader-card-media img { transform: scale(1.04); }
.leader-card-body { padding: 32px 36px 40px; }
.leader-card-name {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ivory);
}
.leader-card-role {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}
.leader-card-quote {
  margin-top: 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--text-dim-light);
  line-height: 1.5;
}
.leader-card-desc {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-dim-light);
  opacity: 0.85;
}

/* ── PRACTICE AREAS ── */
.practice-groups {
  display: grid;
  gap: 48px;
}
.practice-group-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.practice-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.practice-card {
  border: 1px solid var(--border);
  background: var(--paper);
  padding: 28px 26px;
  transition: border-color 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
}
.practice-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.practice-card-num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 14px;
}
.practice-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 10px;
}
.practice-card-desc {
  font-size: 13.5px;
  color: var(--text-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out-expo), opacity 0.35s var(--ease-out-expo);
}
.practice-card:hover .practice-card-desc { max-height: 80px; opacity: 1; margin-top: 10px; }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 5px; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--border-dark);
}
.timeline-item {
  position: relative;
  padding-bottom: 44px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px; top: 4px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
}
.timeline-year {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 6px;
}
.timeline-title { font-size: 17px; color: var(--ivory); margin-bottom: 6px; }
.timeline-desc { font-size: 14px; color: var(--text-dim-light); max-width: 560px; }

/* ── PROCESS ── */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-card {
  padding: 32px 26px;
  border-left: 2px solid var(--gold);
  background: var(--paper);
}
.process-card-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--border);
  -webkit-text-stroke: 1px var(--gold);
  color: transparent;
}
.process-card-title { font-family: var(--font-display); font-size: 18px; margin: 14px 0 8px; color: var(--ink); }
.process-card-desc { font-size: 13.5px; color: var(--text-dim); }

/* ── TESTIMONIALS ── */
.testimonials { position: relative; }
.testi-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  scroll-snap-align: start;
  flex: 0 0 100%;
  max-width: 640px;
  background: var(--navy-2);
  padding: 48px;
}
.testi-card-mark { font-family: var(--font-display); font-size: 48px; color: var(--gold); line-height: 0.6; }
.testi-card-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ivory);
  margin-top: 20px;
}
.testi-card-name { margin-top: 28px; font-size: 14px; color: var(--gold); }
.testi-card-role { font-size: 12.5px; color: var(--text-dim-light); }

.testi-controls { display: flex; gap: 12px; margin-top: 32px; }
.testi-arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--border-dark);
  background: transparent;
  color: var(--ivory);
  font-size: 18px;
  cursor: pointer;
  transition: border-color 0.3s var(--ease-out-expo), color 0.3s var(--ease-out-expo);
  display: flex; align-items: center; justify-content: center;
}
.testi-arrow:hover { border-color: var(--gold); color: var(--gold); }

/* ── RECOGNITION ── */
.recognition {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.recognition-badge {
  background: var(--paper);
  padding: 36px 32px;
  text-align: center;
}
.recognition-badge-icon { color: var(--gold); font-size: 26px; margin-bottom: 14px; font-family: var(--font-display); }
.recognition-badge-text { font-size: 14px; color: var(--ink); line-height: 1.5; }

/* ── INSIGHTS ── */
.insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.insight-card { display: block; }
.insight-card-media { aspect-ratio: 5/3; background: var(--navy-2); overflow: hidden; margin-bottom: 20px; position: relative; }
.insight-card-media img { width: 100%; height: 100%; object-fit: cover; }
.insight-card-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(201,162,75,0.18), rgba(11,26,46,0.05));
}
.insight-card-tag { font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.insight-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  margin-top: 10px;
  transition: color 0.3s var(--ease-out-expo);
}
.insight-card:hover .insight-card-title { color: var(--gold); text-decoration: underline; }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
}
.contact-info-item { margin-bottom: 28px; }
.contact-info-label { font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.contact-info-value { font-size: 16px; color: var(--ivory); }
.contact-map {
  margin-top: 32px;
  height: 260px;
  border: 1px solid var(--border-dark);
  background: linear-gradient(135deg, var(--navy-2), var(--navy-dark));
  position: relative;
  overflow: hidden;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  filter: invert(92%) hue-rotate(180deg) brightness(90%) contrast(85%);
}

.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim-light); }
.form-field input, .form-field select, .form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-dark);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 10px 2px;
  transition: border-color 0.3s var(--ease-out-expo);
}
.form-field select option { background: var(--navy); color: var(--ivory); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-submit { margin-top: 8px; }

/* ── FOOTER ── */
.footer { background: var(--navy-dark); padding: 80px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-logo img { height: 32px; margin-bottom: 18px; }
.footer-desc { font-size: 14px; color: var(--text-dim-light); max-width: 260px; }
.footer-heading { font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-links > div { margin-bottom: 12px; font-size: 14px; color: var(--text-dim-light); }
.footer-links a { color: inherit; transition: color 0.3s var(--ease-out-expo); }
.footer-links a:hover { color: var(--ivory); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim-light);
  opacity: 0.8;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid, .contact-grid, .leaders { grid-template-columns: 1fr; }
  .about-grid { gap: 40px; }
  .about-media img { height: 380px; }
  .process, .recognition, .insights { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar-address { display: none; }
  .hero-arrow { width: 40px; height: 40px; }
  .hero-arrow--prev { left: 12px; }
  .hero-arrow--next { right: 12px; }
}

@media (max-width: 600px) {
  .topbar { display: none; }
  .nav-links {
    position: fixed;
    /* Must track the nav bar's own height, which shrinks on scroll — a fixed
       72px here overlaps the logo by 12px while the header is still full size. */
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--navy-dark);
    border-top: 1px solid var(--border-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out-expo);
  }
  .site-header.scrolled .nav-links { top: 72px; }
  .nav-links.is-open { max-height: 420px; }
  .nav-links > div { width: 100%; }
  .nav-link { display: block; padding: 16px 32px; }
  /* The desktop underline is width:100% of the link, which on a stacked block
     link spans the whole panel and reads as a divider. Colour marks the active
     item instead. */
  .nav-link::after { display: none; }
  .nav-link--active { color: var(--gold); }
  .nav-cta { margin: 12px 32px 20px; }
  .nav-toggle { display: flex; }
  .section { padding: 72px 0; }
  .hero-inner { padding-top: calc(var(--nav-h) + 24px); }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 24px; }
  .process, .recognition, .insights, .trust-inner, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .practice-cards { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .whatsapp-fab { right: 18px; bottom: 18px; width: 52px; height: 52px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
  .whatsapp-fab-tooltip { display: none; }
}

/* ── WHATSAPP CHAT BUTTON ── */
.whatsapp-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 950;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
}
.whatsapp-fab:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); }
.whatsapp-fab svg { width: 30px; height: 30px; position: relative; z-index: 1; }

.whatsapp-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-fab-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy-dark);
  color: var(--ivory);
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out-expo);
}
.whatsapp-fab:hover .whatsapp-fab-tooltip { opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   SUBPAGES (about.html, insights.html, insight-*.html)
   Everything below is only used by the inner pages. The homepage
   never loads these classes.
   ══════════════════════════════════════════════════════════════ */

/* ── PAGE HERO (compact banner in place of the homepage slider) ── */
.page-hero {
  position: relative;
  z-index: 0;
  overflow: hidden;
  background: var(--navy-dark);
  display: flex;
  align-items: flex-end;
  min-height: 460px;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
  animation: hero-ken-burns 12s var(--ease-out-expo) forwards;
}
.page-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,17,32,0.72) 0%, rgba(7,17,32,0.6) 45%, rgba(7,17,32,0.95) 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + var(--topbar-h) + 72px) 32px 64px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  color: var(--ivory);
  max-width: 800px;
}
.page-hero-title-accent { font-style: italic; color: var(--gold-light); }
.page-hero-sub {
  font-size: 17px;
  color: var(--text-dim-light);
  max-width: 600px;
  margin-top: 20px;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim-light);
  margin-bottom: 22px;
}
.breadcrumb a { transition: color 0.3s var(--ease-out-expo); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--gold); opacity: 0.7; }
.breadcrumb-current { color: var(--gold); }

/* ── ARROW LINK (inline "read more" style) ── */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.3s var(--ease-out-expo);
}
.arrow-link::after { content: '\2192'; transition: transform 0.3s var(--ease-out-expo); }
.arrow-link:hover { gap: 16px; }
.arrow-link--light { color: var(--gold-light); }

/* Right-aligned link sitting beside a section heading */
.section-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.section-head--split .section-head-text { max-width: 640px; }
.section-head--split .arrow-link { margin-top: 0; flex-shrink: 0; }

/* ── TIMELINE ON A LIGHT SECTION ── */
.timeline--light::before { background: var(--border); }
.timeline--light .timeline-item::before { background: var(--ivory); }
.timeline--light .timeline-title { color: var(--ink); }
.timeline--light .timeline-desc { color: var(--text-dim); }

/* ── VALUES (about page) ── */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.value-card {
  background: var(--paper);
  padding: 44px 36px;
}
.value-card-icon {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 18px;
}
.value-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 10px;
}
.value-card-desc { font-size: 14px; color: var(--text-dim); }

/* ── LEADER DETAIL (about page — bio + credential list) ── */
.leaders--detail { grid-template-columns: 1fr; gap: 32px; }
.leader-card--detail {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  align-items: stretch;
}
.leader-card--detail .leader-card-media { aspect-ratio: auto; height: 100%; min-height: 380px; }
.leader-card--detail .leader-card-body { padding: 48px 52px; }
.leader-credentials {
  margin-top: 26px;
  display: grid;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}
.leader-credential {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 14px;
  color: var(--text-dim-light);
}
.leader-credential::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(-2px);
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--navy-dark);
  border-top: 1px solid var(--border-dark);
  padding: 80px 0;
}
.cta-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  color: var(--ivory);
  max-width: 620px;
}
.cta-band-sub { font-size: 15px; color: var(--text-dim-light); margin-top: 14px; max-width: 520px; }
.cta-band-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── INSIGHTS INDEX ── */
.is-hidden { display: none !important; }

.filter-empty {
  font-size: 15px;
  color: var(--text-dim);
  padding: 40px 0;
}

/* Featured post — one wide card above the grid */
.featured-post {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--paper);
  margin-bottom: 56px;
}
.featured-post-media { position: relative; overflow: hidden; min-height: 340px; }
.featured-post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out-expo); }
.featured-post:hover .featured-post-media img { transform: scale(1.04); }
.featured-post-body {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-post-flag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.featured-post-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25;
  color: var(--ink);
  transition: color 0.3s var(--ease-out-expo);
}
.featured-post:hover .featured-post-title { color: var(--gold); }
.featured-post-excerpt { font-size: 15px; color: var(--text-dim); margin-top: 18px; }

/* Article meta line (category · date · read time) */
.insight-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 12px;
}
.insight-card-meta-sep { color: var(--gold); opacity: 0.6; }
.insight-card-excerpt { font-size: 14px; color: var(--text-dim); margin-top: 12px; }

/* Two wider cards below the featured post, rather than the homepage's 3-up. */
.insights--index { grid-template-columns: repeat(2, 1fr); gap: 48px 40px; }

/* ── READING PROGRESS BAR ── */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--gold);
  z-index: 1100;
  transition: width 0.1s linear;
}

/* ── ARTICLE PAGE ── */
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  font-size: 12.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-dim-light);
}
.article-meta-sep { color: var(--gold); }
.article-meta-author { color: var(--gold); }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 72px;
  align-items: start;
}

.article-body { max-width: 720px; }
.article-lead {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink);
  padding-bottom: 32px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
/* The sidebar table of contents jumps to these, and the header is fixed —
   without the scroll margin the target lands underneath the nav bar. */
.article-h2, .article-h3 { scroll-margin-top: calc(var(--nav-h) + 24px); }
.article-h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 27px;
  line-height: 1.25;
  color: var(--ink);
  margin: 46px 0 16px;
}
.article-h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  margin: 32px 0 12px;
}
.article-p {
  font-size: 16px;
  line-height: 1.75;
  color: #3F4756;
  margin-bottom: 18px;
}
.article-p a { color: var(--gold); text-decoration: underline; }
.article-p strong { color: var(--ink); font-weight: 600; }
.article-list { margin: 8px 0 22px; display: grid; gap: 12px; }
.article-li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 16px;
  line-height: 1.7;
  color: #3F4756;
}
.article-li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(-3px);
}
.article-li-label { color: var(--ink); font-weight: 600; }
.article-quote {
  margin: 38px 0;
  padding: 4px 0 4px 32px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
}
.article-note {
  margin-top: 48px;
  padding: 26px 28px;
  background: var(--ivory);
  border-left: 2px solid var(--border);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-dim);
}
.article-note a { color: var(--gold); text-decoration: underline; }
.article-note-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

/* Article sidebar */
.article-side { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 28px; }
.side-card {
  border: 1px solid var(--border);
  background: var(--paper);
  padding: 28px 26px;
}
.side-card--dark { background: var(--navy); border-color: var(--navy); }
.side-card-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.side-author { display: flex; gap: 16px; align-items: center; }
.side-author-photo {
  width: 62px; height: 62px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}
.side-author-name { font-family: var(--font-display); font-size: 17px; color: var(--ink); }
.side-author-role { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.side-author-bio { font-size: 13.5px; color: var(--text-dim); margin-top: 16px; line-height: 1.6; }

.side-toc { display: grid; gap: 11px; }
.side-toc a {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
  transition: color 0.3s var(--ease-out-expo);
}
.side-toc a::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 5px; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out-expo);
}
.side-toc a:hover { color: var(--gold); }

.side-card--dark .side-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ivory);
  line-height: 1.3;
}
.side-card--dark .side-card-desc { font-size: 13.5px; color: var(--text-dim-light); margin: 12px 0 22px; }

.share-row { display: flex; gap: 10px; }
.share-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all 0.3s var(--ease-out-expo);
}
.share-btn:hover { border-color: var(--gold); color: var(--gold); }
.share-btn svg { width: 16px; height: 16px; }

/* Related articles strip */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

/* ── TEAM ── */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--paper);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
}
.team-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.team-card-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ivory); }
.team-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease-out-expo);
}
.team-card:hover .team-card-media img { transform: scale(1.04); }
.team-card-body { padding: 24px 26px 28px; }
.team-card-name {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink);
}
.team-card-role {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 7px;
}
.team-card-focus { font-size: 13.5px; color: var(--text-dim); margin-top: 12px; }

@media (max-width: 900px) {
  .team { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .team { grid-template-columns: 1fr; }
}

/* ── THE JOURNEY ── */
/* Two tracks, Practicing and Banking, mirroring the grouping pattern used by
   .practice-groups above. */
.journey-groups { display: grid; gap: 52px; }
.journey-group-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-dark);
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.journey-card {
  background: var(--navy-2);
  border: 1px solid transparent;
  padding: 28px 26px;
  transition: border-color 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
}
.journey-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.journey-card-years {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 12px;
}
.journey-card-role {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.3;
  color: var(--ivory);
}
.journey-card-org {
  font-size: 12.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-dim-light);
  margin-top: 10px;
}

.insight-card-media svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 900px) {
  .journey-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .journey-grid { grid-template-columns: 1fr; }
}

/* ── SUBPAGE RESPONSIVE ── */
@media (max-width: 900px) {
  .page-hero { min-height: 380px; }
  .values, .related { grid-template-columns: 1fr 1fr; }
  .leader-card--detail { grid-template-columns: 1fr; }
  /* Stacked, the media box no longer stretches to a grid row, so it needs an
     explicit height — without one the img's `height: 100%` has nothing to
     resolve against and the portrait renders at full natural size. */
  .leader-card--detail .leader-card-media { min-height: 0; height: 340px; }
  .leader-card--detail .leader-card-body { padding: 36px 32px; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post-body { padding: 36px 32px; }
  .article-layout { grid-template-columns: 1fr; gap: 56px; }
  .article-side { position: static; }
  .section-head--split { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 600px) {
  .page-hero-inner { padding-top: calc(var(--nav-h) + 48px); }
  .values, .related { grid-template-columns: 1fr; }
  .article-h2 { font-size: 23px; }
  .article-lead { font-size: 18px; }
  .article-quote { font-size: 17px; padding-left: 22px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════════════════════════
   ADMIN / CMS
   Login page, in-place edit icons, and the field-editing modal.
   None of this loads or renders for a signed-out visitor.
   ══════════════════════════════════════════════════════════════ */

/* ── LOGIN PAGE ── */
.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  padding: calc(var(--nav-h) + 40px) 24px 40px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--navy-2);
  border: 1px solid var(--border-dark);
  padding: 44px 40px;
}
.auth-card-title { font-size: clamp(24px, 3vw, 30px); color: var(--ivory); margin-top: 4px; }
.auth-card-sub { font-size: 14px; color: var(--text-dim-light); margin-top: 14px; }
.auth-form { margin-top: 32px; }
.auth-error {
  font-size: 13px;
  color: #E8998D;
  background: rgba(232, 153, 141, 0.1);
  border: 1px solid rgba(232, 153, 141, 0.3);
  padding: 10px 14px;
}

/* ── EDIT ICON ── */
.cms-edit-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--navy-dark);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.25s var(--ease-out-expo), transform 0.25s var(--ease-out-expo);
}
.cms-edit-icon:hover { opacity: 1; transform: scale(1.08); }
.cms-edit-icon svg { width: 16px; height: 16px; }

/* ── BLOG ADMIN (Insights page add/edit/delete) ── */
.cms-add-blog-btn,
.cms-add-box-btn {
  margin-bottom: 32px;
}
.cms-item-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  display: flex;
  gap: 8px;
}
.cms-item-controls .cms-edit-icon,
.cms-item-controls .cms-delete-icon {
  position: static;
}
.cms-delete-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #E8998D;
  background: var(--navy-dark);
  color: #E8998D;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.25s var(--ease-out-expo), transform 0.25s var(--ease-out-expo);
}
.cms-delete-icon:hover { opacity: 1; transform: scale(1.08); }
.cms-delete-icon svg { width: 16px; height: 16px; }

/* ── ADMIN BAR ── */
.cms-admin-bar {
  position: fixed;
  left: 0; bottom: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  background: var(--navy-dark);
  border-top: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cms-admin-bar .cms-admin-logout {
  font: inherit;
  color: var(--ivory);
  background: transparent;
  border: 1px solid rgba(244, 239, 230, 0.35);
  padding: 6px 14px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease-out-expo), color 0.25s var(--ease-out-expo);
}
.cms-admin-bar .cms-admin-logout:hover { border-color: var(--gold); color: var(--gold); }

/* ── EDITOR MODAL ── */
.cms-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  background: rgba(7, 17, 32, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cms-modal {
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--border);
}
.cms-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cms-modal-title { font-family: var(--font-display); font-size: 19px; color: var(--ink); }
.cms-modal-close {
  font-size: 22px;
  line-height: 1;
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
}
.cms-modal-close:hover { color: var(--ink); }
.cms-modal-body {
  padding: 24px;
  overflow-y: auto;
  display: grid;
  gap: 22px;
}
.cms-field-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-dark, #9C7A2E);
  margin-bottom: 8px;
}
.cms-field-input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--border);
  padding: 10px 12px;
  resize: vertical;
}

button.btn-outline.btn-outline--dark.cms-modal-cancel {
    color: goldenrod;
}

button#addBox_teamMember {
    color: goldenrod;
}

button#addPracticeCategoryBtn {
    color: goldenrod;
}

button#addBox_practiceArea {
    color: goldenrod;
}

button#addBlogBtn {
    color: goldenrod;
}
.cms-field-input:focus { outline: none; border-color: var(--gold); }
.cms-field-preview {
  display: block;
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  background: var(--ivory);
}
.cms-quill { background: #fff; }
.cms-quill .ql-editor { min-height: 100px; font-size: 14.5px; }
.cms-image-upload { display: flex; flex-direction: column; }
.cms-field-file { font-size: 13px; font-family: var(--font-sans); }
.cms-image-upload-status { font-size: 12px; color: var(--text-dim); margin-top: 6px; min-height: 15px; }
.cms-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 24px;
  border-top: 1px solid var(--border);
}
.cms-modal-footer .btn-solid, .cms-modal-footer .btn-outline--dark { padding: 11px 22px; font-size: 12px; }

/* ── TOAST ── */
.cms-toast {
  position: fixed;
  left: 50%;
  bottom: 74px;
  transform: translate(-50%, 12px);
  z-index: 1400;
  background: var(--navy-dark);
  color: var(--ivory);
  border: 1px solid var(--gold);
  padding: 12px 22px;
  font-size: 13.5px;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
}
.cms-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.cms-toast--error { border-color: #E8998D; color: #E8998D; }

/* ── ADMIN-EDITED ARTICLE BODY ── */
/* The article body's one rich-text field is edited as plain HTML tags
   (h2/p/ul/blockquote), not the custom .article-h2/.article-p classes the
   static markup uses — these mirror that styling by tag so admin edits keep
   looking on-brand without needing the editor to know about custom classes. */
.article-body h2 { font-family: var(--font-display); font-weight: 500; font-size: 27px; line-height: 1.25; color: var(--ink); margin: 46px 0 16px; }
.article-body h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--ink); margin: 32px 0 12px; }
.article-body p { font-size: 16px; line-height: 1.75; color: #3F4756; margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 8px 0 22px 22px; }
.article-body li { font-size: 16px; line-height: 1.7; color: #3F4756; margin-bottom: 8px; }
.article-body blockquote { margin: 38px 0; padding: 4px 0 4px 32px; border-left: 2px solid var(--gold); font-family: var(--font-display); font-style: italic; font-size: 20px; line-height: 1.5; color: var(--ink); }
.article-body a { color: var(--gold); text-decoration: underline; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body pre {display: block; white-space: normal;margin-bottom: 5px;}

/* ── FOOTER ADMIN LINK ── */
.footer-admin-link { margin-top: 6px; }
.footer-admin-link a { color: var(--text-dim-light); opacity: 0.6; font-size: 12px; transition: opacity 0.3s var(--ease-out-expo); }
.footer-admin-link a:hover { opacity: 1; color: var(--gold); }
