/* ===========================================================
   ClariNova Partners — shared stylesheet
   Palette: navy #1A242B, white, cream #F5F4EF, orange #FD5303
   Type: Source Serif 4 (display) + Public Sans (body/UI)
=========================================================== */

:root {
  --black: #1a242b;
  --white: #ffffff;
  --cream: #f5f4ef;
  --accent: #fd5303;
  --accent-dark: #d94600;
  --gray: #5b5b5b;
  --line: #d9d9d9;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Public Sans", Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.4em;
  color: var(--black);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: "Public Sans", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.6em;
  display: block;
}

.lede {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 640px;
}

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line);
}
.section:first-of-type { border-top: none; }
.section.alt { background: var(--cream); }

/* ---------- Header / nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Public Sans", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--black);
  text-decoration: none;
}
.logo img { height: 26px; width: auto; display: block; }
.logo:hover { text-decoration: none; }
nav.primary {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav.primary a {
  color: var(--black);
  font-size: 0.92rem;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
nav.primary a:hover,
nav.primary a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
  border-bottom-color: var(--accent);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  margin: 5px 0;
}

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  nav.primary {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 18px;
    display: none;
  }
  nav.primary.open { display: flex; }
  nav.primary a { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 24px;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; }
.btn-ghost { border-color: var(--black); color: var(--black); }
.btn-ghost:hover { background: var(--black); color: var(--white); text-decoration: none; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; }
.hero .eyebrow { margin-bottom: 18px; }
.hero p.lede { font-size: 1.2rem; margin-top: 18px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.hero-logo-wrap { display: flex; justify-content: center; }
.hero-logo-wrap img { width: 100%; max-width: 360px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-logo-wrap { display: none; }
}

/* ---------- Cards (left orange bar — the deck's signature device) ---------- */
.card {
  background: var(--cream);
  border-left: 4px solid var(--accent);
  padding: 28px 26px;
}
.card h3 { margin-bottom: 10px; }
.card .sub {
  font-style: italic;
  color: var(--gray);
  font-size: 0.92rem;
  margin-bottom: 16px;
}
.card ul { margin: 0; padding-left: 18px; color: var(--black); font-size: 0.94rem; }
.card ul li { margin-bottom: 7px; }

.grid {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Quote card (client challenges) ---------- */
.quote-card {
  background: var(--cream);
  border-left: 4px solid var(--accent);
  padding: 22px 24px;
  font-family: "Source Serif 4", serif;
  font-style: italic;
  font-size: 1.05rem;
}

/* ---------- Stat / experience rows ---------- */
.exp-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.exp-row:last-child { border-bottom: 1px solid var(--line); }
.exp-row .tag { font-weight: 700; }
.exp-row .desc { color: var(--gray); }
@media (max-width: 700px) {
  .exp-row { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------- Leadership ---------- */
.leader {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}
.leader-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--accent);
}
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-name { font-weight: 700; margin-top: 18px; font-size: 1.05rem; font-family: "Public Sans", sans-serif; }
.leader-title { color: var(--accent); font-style: italic; margin-top: 2px; }
@media (max-width: 700px) {
  .leader { grid-template-columns: 1fr; }
  .leader-photo { margin: 0 auto; }
}

/* ---------- Geography ---------- */
.geo-row { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 48px 0 32px; flex-wrap: wrap; }
.geo-box {
  min-width: 150px;
  text-align: center;
  padding: 28px 20px;
  border: 1px solid var(--accent);
  font-family: "Public Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.geo-box.active { background: var(--accent); color: var(--white); border-color: var(--accent); }
.geo-arrow { color: var(--accent); font-size: 1.4rem; }

/* ---------- Logo strip ---------- */
.logo-strip {
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-top: 12px;
}

/* ---------- Insights list ---------- */
.insight {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.insight:last-child { border-bottom: 1px solid var(--line); }
.insight .date { color: var(--gray); font-size: 0.85rem; margin-bottom: 6px; display: block; }
.insight h3 a { color: var(--black); }
.insight h3 a:hover { color: var(--accent); }
.insight p { color: var(--gray); margin: 8px 0 0; }

/* ---------- Resources ---------- */
.resource-card {
  background: var(--cream);
  border-left: 4px solid var(--accent);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.resource-card .status {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ---------- Contact ---------- */
.contact-line {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}
.contact-line:last-child { border-bottom: 1px solid var(--line); }
.contact-line .label { color: var(--gray); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; width: 110px; flex-shrink: 0; }

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  margin-top: 40px;
}
footer.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--gray);
  font-size: 0.85rem;
}
footer.site a { color: var(--gray); }
footer.site a:hover { color: var(--accent); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--black);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #c9c9c9; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-ghost { border-color: var(--white); color: var(--white); }
.cta-band .btn-ghost:hover { background: var(--white); color: var(--black); }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
