/* ==========================================================================
   Carolina BuySide - shared site styles
   Base shell (tokens, type, header, nav, buttons, footer, marquee, motion)
   used by every page. Page-specific layout stays in each page's <style> block.
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  /* Core navy scale */
  --navy-900: #0a1729;
  --navy-800: #0f2340;
  --navy: #13294b;
  --navy-600: #1d3a68;
  --navy-500: #2b4f85;

  /* Accent */
  --accent: #4a90d9;
  --accent-600: #3579c2;
  --accent-soft: #eaf2fb;

  /* Neutrals */
  --white: #ffffff;
  --slate: #f2f5f9;
  --slate-200: #e6ecf4;
  --text: #16233a;
  --muted: #536480;
  --line: #dde4ee;
  --line-soft: #e9eef5;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(15, 35, 64, 0.06), 0 2px 6px rgba(15, 35, 64, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 35, 64, 0.08), 0 12px 28px rgba(15, 35, 64, 0.07);
  --shadow-lg: 0 10px 24px rgba(15, 35, 64, 0.1), 0 26px 56px rgba(15, 35, 64, 0.1);

  /* Type */
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --gutter: 56px;
  --maxw: 1280px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.012em;
}

p {
  margin: 0;
  line-height: 1.68;
}

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

img {
  max-width: 100%;
}

::selection {
  background: var(--navy);
  color: var(--white);
}

/* Visible, consistent keyboard focus */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.container {
  width: min(var(--maxw), calc(100% - var(--gutter)));
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-600);
}

/* ----------------------------------------------------- announcement bar -- */
.announce {
  position: relative;
  z-index: 20;
  background: linear-gradient(100deg, var(--navy-800) 0%, var(--navy) 55%, var(--navy-600) 100%);
  color: var(--white);
  font-size: 0.9rem;
}

.announce-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 9px 0;
  text-align: center;
}

.announce-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6fd18a;
  box-shadow: 0 0 0 0 rgba(111, 209, 138, 0.7);
  animation: pulse 2.4s ease-out infinite;
  flex: none;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 209, 138, 0.65); }
  70% { box-shadow: 0 0 0 9px rgba(111, 209, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 209, 138, 0); }
}

.announce-text {
  letter-spacing: 0.01em;
}

.announce-text strong {
  font-weight: 700;
}

.announce-deadline {
  color: #bcd6f2;
}

.announce-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}

.announce-link:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
  transform: translateY(-1px);
}

.announce-link .arr {
  transition: transform 0.2s var(--ease);
}

.announce-link:hover .arr {
  transform: translateX(3px);
}

/* ----------------------------------------------------------- site header -- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  position: sticky;
  top: 0;
  z-index: 15;
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  /* Transparent arrow mark, optically matched to the two-line text block beside
     it. `contain` (not `cover`) so the mark is never cropped. */
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
}

.brand:hover img {
  transform: scale(1.05);
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 0.98;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.015em;
}

.brand-subtitle {
  margin-top: 4px;
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding-bottom: 5px;
  color: #2a3d57;
  transition: color 0.2s var(--ease);
}

.site-nav a:not(.join-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav a:not(.join-cta):hover::after,
.site-nav a:not(.join-cta).active::after {
  transform: scaleX(1);
}

.site-nav a:hover {
  color: var(--navy);
}

.site-nav .join-cta {
  border: 1px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-nav .join-cta:hover,
.site-nav .join-cta.active {
  border-color: var(--accent-600);
  background: var(--accent-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Mobile nav toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: background 0.2s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s var(--ease);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------- sections -- */
main {
  padding: 0;
}

.section {
  padding: 76px 0 0;
}

.section-head {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(1.75rem, 3.1vw, 2.7rem);
  max-width: 24ch;
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 68ch;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  padding: 62px 0;
  background:
    radial-gradient(120% 150% at 8% 0%, #f6f9fd 0%, rgba(246, 249, 253, 0) 62%),
    var(--white);
}

.page-hero h1 {
  margin-top: 10px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  max-width: 20ch;
}

.page-hero p {
  margin-top: 14px;
  max-width: 74ch;
  color: var(--muted);
  font-size: 1.05rem;
}

/* --------------------------------------------------------------- layout -- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* --------------------------------------------------------------- buttons -- */
.btn-row {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn .arr {
  transition: transform 0.2s var(--ease);
}

.btn:hover .arr {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--navy-600);
  border-color: var(--navy-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent-600);
  border-color: var(--accent-600);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
  background: #2e6cb0;
  border-color: #2e6cb0;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------------------------------------------------------- shared cards -- */
.prog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.prog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--slate-200);
}

.prog-card h3 {
  font-size: 1.24rem;
  margin-bottom: 10px;
}

.prog-card p {
  color: var(--muted);
  font-size: 0.97rem;
}

.prog-card .icon {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.text-block h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin-bottom: 14px;
}

.text-block h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.img-placeholder {
  position: relative;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--slate);
  min-height: 220px;
}

.img-placeholder::before {
  content: "Image";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ------------------------------------------------- placements / marquee -- */
.placements {
  padding: 74px 0 0;
}

.placements-head {
  text-align: center;
  margin-bottom: 34px;
}

.placements-head h2 {
  margin-top: 10px;
  font-size: clamp(1.6rem, 2.7vw, 2.35rem);
}

.placements-head p {
  margin: 12px auto 0;
  max-width: 60ch;
  color: var(--muted);
}

.marquee {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
  /* Fade the strip out at both edges so items enter and leave softly */
  -webkit-mask-image: linear-gradient(
    90deg, transparent 0, #000 9%, #000 91%, transparent 100%
  );
  mask-image: linear-gradient(
    90deg, transparent 0, #000 9%, #000 91%, transparent 100%
  );
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 46s linear infinite;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  /* Track holds exactly two copies of the list, so -50% is a seamless loop */
  to { transform: translateX(-50%); }
}

.firm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  flex: none;
}

.firm-word {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--navy);
  opacity: 0.55;
  white-space: nowrap;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}

.firm:hover .firm-word {
  opacity: 1;
  color: var(--navy-600);
}

/* Logo images: hidden until a real file loads (see assets/firm-logos/README) */
.firm-logo {
  display: none;
  /* Source files vary a lot in aspect ratio, so cap both axes and let
     object-fit letterbox them to a consistent optical size */
  height: 34px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  /* Shown in full brand colour at all times - no grayscale, no hover state */
  opacity: 1;
}

.firm.has-logo .firm-logo {
  display: block;
}

.firm.has-logo .firm-word {
  display: none;
}

.firm-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.2;
  flex: none;
}

.placements-note {
  margin-top: 26px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
}

/* --------------------------------------------------------------- footer -- */
.site-footer {
  margin-top: 96px;
  background: radial-gradient(120% 140% at 50% 0%, #1a3a66 0%, #0f2340 48%, #0b1a30 100%);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  padding: 54px 0 30px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 36px;
  align-items: start;
}

.footer-top h3 {
  color: var(--white);
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.footer-tag {
  color: #d6e3f6;
  max-width: 34ch;
  line-height: 1.55;
  font-size: 1rem;
}

.footer-brand {
  max-width: 430px;
}

.footer-links {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-links a {
  color: #dbe7f8;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  width: fit-content;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--white);
  border-color: rgba(219, 231, 248, 0.65);
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  align-self: center;
  margin-top: 6px;
  justify-self: center;
  min-width: max-content;
}

.footer-nav a {
  font-weight: 500;
  font-size: 0.98rem;
  color: #e2ebf9;
  border: none;
  padding: 4px 0;
  position: relative;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: rgba(226, 235, 249, 0.6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}

.footer-nav a:hover::after {
  transform: scaleX(1);
}

.footer-contact {
  justify-items: end;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e2ebf9;
  font-weight: 600;
}

.linkedin-icon {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(226, 235, 249, 0.7);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 700;
  transition: background 0.2s var(--ease);
}

.linkedin-link:hover .linkedin-icon {
  background: rgba(255, 255, 255, 0.18);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 0 24px;
  font-size: 0.86rem;
  color: #b6c7de;
  text-align: center;
}

.footer-subtag {
  margin-top: 14px;
  color: #c9d6ea;
  font-size: 0.82rem;
  letter-spacing: 0.015em;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid rgba(201, 214, 234, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.footer-subtag::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* --------------------------------------------------------------- motion -- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  /* Stop the strip and let it wrap so nothing is unreachable */
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 6px 0;
  }
}

/* ------------------------------------------------------------ responsive -- */
@media (max-width: 900px) {
  :root { --gutter: 32px; }

  .cards-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --gutter: 28px; }

  .header-inner {
    min-height: 72px;
    padding: 12px 0;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Keep the brand and the toggle on one row; the nav wraps below it.
     The max-width reserves space for the 44px toggle + gap at any width. */
  .brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 58px);
    gap: 10px;
  }

  .brand > div { min-width: 0; }

  .brand-title,
  .brand-subtitle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    display: inline-flex;
    flex: none;
  }

  .site-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 0 14px;
    border-top: 1px solid var(--line);
    margin-top: 10px;
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    width: 100%;
    padding: 11px 0;
    font-size: 0.86rem;
  }

  .site-nav .join-cta {
    margin-top: 8px;
    width: 100%;
    text-align: center;
    justify-content: center;
    display: inline-flex;
  }

  .brand img { width: 42px; height: 42px; }
  .brand-title { font-size: 1.4rem; }
  .brand-subtitle { font-size: 0.68rem; }

  .section { padding: 54px 0 0; }
  .page-hero { padding: 44px 0; }

  .cards-3,
  .two-col,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-top {
    text-align: center;
    gap: 24px;
  }

  .footer-brand { margin: 0 auto; }
  .footer-nav { justify-content: center; }
  .footer-contact { justify-items: center; }

  .announce-inner {
    gap: 10px;
    font-size: 0.84rem;
  }

  .firm { padding: 0 20px; }
  .firm-word { font-size: 1.1rem; }
  .placements { padding: 54px 0 0; }
}

@media (max-width: 560px) {
  .announce-text .announce-sep { display: none; }
  .announce-deadline { display: block; width: 100%; }
}

/* ==========================================================================
   Shared page components (about / sectors / team)
   ========================================================================== */

.lede {
  margin-top: 16px;
  max-width: 68ch;
  font-size: 1.14rem;
  line-height: 1.62;
  color: var(--muted);
}

.section-head.center {
  text-align: center;
  border-top: none;
  padding-top: 0;
}

.section-head.center h2 {
  margin-left: auto;
  margin-right: auto;
}

.section-head.center p {
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------------------------- stat band -- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 44px;
}

.stat {
  background: var(--white);
  padding: 30px 24px;
  text-align: center;
  transition: background 0.28s var(--ease);
}

.stat:hover {
  background: var(--accent-soft);
}

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  margin-top: 10px;
  font-size: 0.83rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

/* --------------------------------------------------------------- split -- */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.split-sticky {
  position: sticky;
  top: 130px;
}

/* --------------------------------------------------------------- steps -- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: stepnum;
}

.step {
  position: relative;
  padding: 30px 26px 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step::before {
  counter-increment: stepnum;
  content: counter(stepnum, decimal-leading-zero);
  font-family: var(--font-serif);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-600);
  display: block;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 9px;
}

.step p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---------------------------------------------------------- quote band -- */
.quote-band {
  margin-top: 80px;
  background:
    linear-gradient(rgba(10, 23, 41, 0.82), rgba(19, 41, 75, 0.88)),
    url("photos/home-hero-cover.jpeg") center/cover no-repeat;
  padding: 82px 0;
}

.quote-inner {
  max-width: 60ch;
  margin: 0 auto;
  text-align: center;
}

.quote-inner blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.7vw, 2.05rem);
  line-height: 1.4;
  color: var(--white);
}

.quote-inner .attr {
  margin-top: 18px;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9dc4ec;
  font-weight: 600;
}

/* ------------------------------------------------------------- cta band -- */
.cta-band {
  position: relative;
  border-radius: 16px;
  background: radial-gradient(120% 160% at 12% 0%, #1d3a68 0%, #13294b 52%, #0d1e38 100%);
  color: var(--white);
  padding: 52px 48px;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 144, 217, 0.28) 0%, rgba(74, 144, 217, 0) 70%);
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band .eyebrow {
  color: #9dc4ec;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  margin: 10px 0 12px;
  max-width: 26ch;
}

.cta-band p {
  color: #d3e2f4;
  max-width: 68ch;
}

/* --------------------------------------------------- person firm line -- */
/* Logo sits bare on the card - no chip, no border. The marks carry their own
   colour and read better without a container competing with them. */
.person-firm {
  display: flex;
  align-items: center;
  margin-top: 13px;
}

.person-firm img {
  height: 24px;
  width: auto;
  max-width: 152px;
  object-fit: contain;
  display: block;
}

/* -------------------------------------------- responsive for the above -- */
@media (max-width: 900px) {
  .stat-band { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split-sticky { position: static; }
}

@media (max-width: 768px) {
  .stat { padding: 22px 16px; }
  .quote-band { margin-top: 54px; padding: 58px 0; }
  .cta-band { padding: 36px 26px; }
  .lede { font-size: 1.05rem; }
}

/* ==========================================================================
   Editorial components (principles, FAQ, anatomy flow, partner)
   ========================================================================== */

/* ---------------------------------------------------------- principles -- */
.principles-band {
  margin-top: 78px;
  background: radial-gradient(120% 150% at 15% 0%, #1d3a68 0%, #13294b 55%, #0c1c34 100%);
  color: var(--white);
  padding: 74px 0;
}

.principles-band .eyebrow {
  color: #9dc4ec;
}

.principles-band h2 {
  color: var(--white);
  margin-top: 10px;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  max-width: 22ch;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
}

.principle {
  padding: 4px 30px 4px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding-left: 26px;
}

.principle:first-child {
  border-left: none;
  padding-left: 0;
}

.principle-num {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #7fb0e0;
  margin-bottom: 12px;
}

.principle h3 {
  color: var(--white);
  font-size: 1.24rem;
  margin-bottom: 10px;
}

.principle p {
  color: #cadcf0;
  font-size: 0.96rem;
}

/* ----------------------------------------------------------------- FAQ -- */
.faq {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.faq details[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 24px;
  position: relative;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -6px;
  border-right: 2px solid var(--accent-600);
  border-bottom: 2px solid var(--accent-600);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}

.faq summary:hover {
  color: var(--accent-600);
}

.faq .faq-body {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 76ch;
}

/* --------------------------------------------------------- anatomy flow -- */
.anatomy {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.anatomy-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
  padding: 26px 30px;
  border-top: 1px solid var(--line);
  transition: background 0.24s var(--ease);
}

.anatomy-row:first-child {
  border-top: none;
}

.anatomy-row:hover {
  background: var(--accent-soft);
}

.anatomy-step {
  font-family: var(--font-serif);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-600);
  padding-top: 4px;
}

.anatomy-row h3 {
  font-size: 1.16rem;
  margin-bottom: 8px;
}

.anatomy-row p {
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 72ch;
}

/* ------------------------------------------------------------- partner -- */
.partner-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, var(--slate) 0%, #fbfdff 100%);
  padding: 34px 34px;
}

.partner-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  flex: none;
}

.partner-card h3 {
  font-size: 1.36rem;
  margin-bottom: 8px;
}

.partner-card p {
  color: var(--muted);
  max-width: 74ch;
}

@media (max-width: 900px) {
  .principles { grid-template-columns: 1fr; gap: 26px; }
  .principle {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 22px;
  }
  .principle:first-child { border-top: none; padding-top: 0; }
  .anatomy-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 24px; }
}

@media (max-width: 768px) {
  .principles-band { margin-top: 54px; padding: 54px 0; }
  .partner-card { grid-template-columns: 1fr; gap: 20px; padding: 26px 24px; }
}
