/* =========================================================
   Personnel Matters — Design System
   Palette: Black, Charcoal, Aqua, Deep Teal, Soft White
   ========================================================= */

:root {
  --black: #0B0D0E;
  --charcoal: #171B1D;
  --aqua: #48D6D2;
  --teal: #167C7A;
  --white: #F8FAF9;
  --offwhite: #F3F5F3;

  --text: #1C2224;
  --text-muted: #5B6467;
  --text-on-dark: #F8FAF9;
  --text-on-dark-muted: #A9B4B3;

  --line: rgba(11, 13, 14, 0.1);
  --line-dark: rgba(248, 250, 249, 0.14);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1240px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
button { cursor: pointer; }

@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;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--black);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 3rem + 2.6vw, 4.7rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 1.6rem + 2vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.6rem); }

p { color: var(--text-muted); }
p.lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); color: var(--text); line-height: 1.6; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.75rem);
}

.section { padding-block: clamp(4.5rem, 4rem + 4vw, 7.5rem); }
.section-tight { padding-block: clamp(3rem, 3rem + 2vw, 5rem); }
.section-dark { background: var(--black); color: var(--text-on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: var(--text-on-dark-muted); }
.section-charcoal { background: var(--charcoal); color: var(--text-on-dark); }
.section-offwhite { background: var(--offwhite); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 1.1rem;
}
.section-dark .eyebrow, .section-charcoal .eyebrow { color: var(--aqua); }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1.1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.85rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }

.btn-accent { background: var(--aqua); color: var(--black); border-color: var(--aqua); }
.btn-accent:hover { background: var(--teal); border-color: var(--teal); color: var(--white); transform: translateY(-2px); }

.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-2px); }

.btn-outline-dark { background: transparent; border-color: rgba(11,13,14,.28); color: var(--black); }
.btn-outline-dark:hover { border-color: var(--black); background: var(--black); color: var(--white); }

.btn-outline-light { background: transparent; border-color: rgba(248,250,249,.32); color: var(--white); }
.btn-outline-light:hover { border-color: var(--aqua); color: var(--aqua); }

.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow:hover { gap: .75rem; border-color: currentColor; }
.section-dark .link-arrow, .section-charcoal .link-arrow { color: var(--aqua); }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--black);
  color: var(--white);
  padding: .9rem 1.4rem;
  z-index: 1000;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 249, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(11,13,14,.06); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: .04em;
  color: var(--black);
  flex-shrink: 0;
}
.logo-text { font-weight: 500; }
.logo-dot { color: var(--aqua); font-size: 1.4rem; line-height: 0; }
.section-dark .logo, .section-charcoal .logo { color: var(--white); }

.site-nav ul { display: flex; gap: clamp(1.25rem, 2vw, 2.25rem); }
.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: .96rem;
  color: var(--text);
  position: relative;
  padding-block: .3rem;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--teal);
  transition: right .3s var(--ease);
}
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.site-nav a.active { color: var(--black); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-cta { padding: .7rem 1.4rem; font-size: .88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin-inline: auto;
  background: var(--black);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--white);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    overflow-y: auto;
    padding: 2rem 0 3rem;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul li { border-bottom: 1px solid var(--line); }
  .site-nav a { display: block; padding: 1.15rem clamp(1.25rem, 4vw, 2.75rem); font-size: 1.1rem; }
  .site-nav a::after { display: none; }
  .header-cta { display: none; }
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: .08s; }
.reveal-delay-2.is-visible { transition-delay: .16s; }
.reveal-delay-3.is-visible { transition-delay: .24s; }
.reveal-delay-4.is-visible { transition-delay: .32s; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  padding-block: clamp(5rem, 5rem + 6vw, 9rem) clamp(4rem, 4rem + 4vw, 7rem);
}
.hero-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-field::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  background: radial-gradient(circle at 50% 50%, rgba(72,214,210,.35), rgba(22,124,122,.12) 45%, transparent 72%);
  filter: blur(4px);
  border-radius: 50%;
}
.hero-field::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  background: radial-gradient(circle at 50% 50%, rgba(22,124,122,.28), transparent 70%);
}
.hero-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .5;
}
.hero-inner { position: relative; z-index: 1; max-width: 800px; }
.hero .eyebrow { color: var(--aqua); }
.hero h1 { color: var(--white); }
.hero p.lede { color: var(--text-on-dark-muted); max-width: 620px; margin-top: 1.5rem; }
.hero .btn-group { margin-top: 2.5rem; }

.hero-tagline {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  color: var(--text-on-dark-muted);
  font-size: .92rem;
}
.hero-tagline strong { color: var(--white); font-weight: 600; }

/* Inner page hero (About / Services / Resources / Contact) */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding-block: clamp(4.5rem, 4rem + 5vw, 7.5rem) clamp(3rem, 3rem + 3vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero .hero-field::before { opacity: .8; }
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { color: var(--white); }
.page-hero p.lede { color: var(--text-on-dark-muted); margin-top: 1.25rem; max-width: 600px; }

/* =========================================================
   Intro / two-column
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 4vw, 5rem);
  align-items: center;
}
.split.reverse .split-visual { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-visual { order: 0; }
}

.abstract-panel {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, var(--charcoal) 0%, var(--black) 60%);
  overflow: hidden;
  border: 1px solid var(--line-dark);
}
.abstract-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(72,214,210,.4), transparent 55%),
              radial-gradient(circle at 80% 85%, rgba(22,124,122,.35), transparent 50%);
}
.abstract-panel svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.abstract-panel.light {
  background: linear-gradient(155deg, var(--offwhite) 0%, #E7ECEA 100%);
  border-color: var(--line);
}
.abstract-panel.light::before {
  background: radial-gradient(circle at 25% 20%, rgba(72,214,210,.5), transparent 55%),
              radial-gradient(circle at 85% 90%, rgba(22,124,122,.22), transparent 55%);
}

/* =========================================================
   Service cards
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
@media (max-width: 760px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
  transition: background .3s var(--ease);
}
.service-card:hover { background: var(--offwhite); }
.service-num {
  font-family: var(--serif);
  color: var(--aqua);
  -webkit-text-stroke: 1px var(--teal);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: 1.25rem;
  display: block;
}
.service-card h3 { margin-bottom: .85rem; }
.service-card p { margin-bottom: 1.1rem; }
.service-card ul { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.service-card ul li {
  font-size: .92rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
}
.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: .6em;
  width: 6px; height: 1px;
  background: var(--teal);
}

/* Service detail sections (services.html) */
.service-detail {
  display: grid;
  grid-template-columns: .55fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(2.5rem, 3vw, 3.5rem);
  border-top: 1px solid var(--line);
}
.service-detail:last-of-type { border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .service-detail { grid-template-columns: 1fr; gap: 1.25rem; } }
.service-detail-head .service-num { font-size: 1.3rem; }
.service-detail-body ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .6rem 2rem;
  margin-top: 1.5rem;
}
@media (max-width: 560px) { .service-detail-body ul { grid-template-columns: 1fr; } }
.service-detail-body ul li {
  font-size: .95rem;
  color: var(--text);
  padding-left: 1.1rem;
  position: relative;
}
.service-detail-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: .6em;
  width: 6px; height: 1px;
  background: var(--teal);
}

/* =========================================================
   Pillars (Why Personnel Matters)
   ========================================================= */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 2vw, 2.5rem);
}
@media (max-width: 980px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars-grid { grid-template-columns: 1fr; } }
.pillar { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.pillar-num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--teal);
  display: block;
  margin-bottom: 1rem;
}
.pillar h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }

/* =========================================================
   Founder section
   ========================================================= */
.founder {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(2.5rem, 4vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; } }
.founder-photo {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
.founder-photo-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(160deg, var(--charcoal), var(--black));
  border: 1px solid var(--line-dark);
}
.founder-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo-frame .placeholder-monogram {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  color: var(--aqua);
  letter-spacing: .05em;
}
.founder-photo-caption {
  margin-top: 1rem;
  font-size: .85rem;
  color: var(--text-muted);
  text-align: center;
}
.founder-name { margin-top: 1.75rem; }
.founder-name strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--black); }
.founder-name span { font-size: .92rem; color: var(--teal); font-weight: 600; }

.founder-copy p { margin-bottom: 1.35rem; font-size: 1.05rem; color: var(--text); }
.founder-copy p:first-of-type { font-size: 1.2rem; color: var(--black); }

.credentials { margin-top: 2.25rem; border-top: 1px solid var(--line); padding-top: 1.75rem; }
.credentials h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal); margin-bottom: 1rem; font-family: var(--sans); font-weight: 700; }
.credentials ul { display: flex; flex-direction: column; gap: .75rem; }
.credentials li {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--black);
  padding-left: 1.4rem;
  position: relative;
}
.credentials li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--aqua);
}

/* =========================================================
   Credibility section
   ========================================================= */
.credibility-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (max-width: 760px) { .credibility-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .credibility-list { grid-template-columns: 1fr; } }
.credibility-chip {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--black);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.credibility-chip:hover { border-color: var(--teal); background: var(--offwhite); }

/* =========================================================
   Philosophy / quote section
   ========================================================= */
.quote-section {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding-block: clamp(5rem, 5rem + 5vw, 8.5rem);
  position: relative;
  overflow: hidden;
}
.quote-section blockquote {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 2rem + 3.5vw, 4.2rem);
  line-height: 1.15;
  max-width: 900px;
  margin-inline: auto;
  color: var(--white);
}
.quote-section blockquote .accent { color: var(--aqua); }
.quote-section p.lede { max-width: 600px; margin: 2rem auto 0; color: var(--text-on-dark-muted); }
.quote-mark { color: var(--aqua); font-size: 2rem; display: block; margin-bottom: 1rem; opacity: .8; }

/* =========================================================
   Process timeline
   ========================================================= */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 1.05rem;
  left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 2.5rem; }
  .timeline::before { top: 0; bottom: 0; left: 1.05rem; right: auto; width: 1px; height: auto; }
}
.timeline-step { position: relative; padding-top: 2.75rem; }
@media (max-width: 860px) { .timeline-step { padding-top: 0; padding-left: 3rem; } }
.timeline-dot {
  position: absolute;
  top: 0; left: 0;
  width: 2.1rem; height: 2.1rem;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: .85rem;
  color: var(--teal);
}
.section-dark .timeline-dot { background: var(--black); }
.timeline-step h3 { margin-bottom: .6rem; font-size: 1.15rem; }
.timeline-step p { font-size: .95rem; }

/* =========================================================
   Audience / who we work with
   ========================================================= */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 760px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.6rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: .9rem;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.audience-item:hover { border-color: var(--aqua); transform: translateY(-3px); }
.audience-item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); flex-shrink: 0; }

/* =========================================================
   Resources
   ========================================================= */
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
@media (max-width: 980px) { .resources-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .resources-grid { grid-template-columns: 1fr; } }

.resource-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  display: flex;
  flex-direction: column;
  background: var(--white);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.resource-card:hover { border-color: var(--teal); box-shadow: 0 20px 40px -24px rgba(11,13,14,.25); }
.resource-tag {
  align-self: flex-start;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal);
  background: rgba(72,214,210,.12);
  padding: .35rem .7rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.resource-card h3 { margin-bottom: .75rem; }
.resource-card > p { margin-bottom: 1.25rem; }
.resource-card details { margin-top: auto; border-top: 1px solid var(--line); padding-top: 1rem; }
.resource-card summary {
  cursor: pointer;
  font-weight: 600;
  font-size: .92rem;
  color: var(--black);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.resource-card summary::-webkit-details-marker { display: none; }
.resource-card summary::after { content: '+'; font-size: 1.3rem; color: var(--teal); transition: transform .3s var(--ease); line-height: 1; }
.resource-card details[open] summary::after { transform: rotate(45deg); }
.resource-card .resource-highlights { padding-top: 1rem; }
.resource-card .resource-highlights li {
  font-size: .92rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: .65rem;
}
.resource-card .resource-highlights li::before {
  content: '';
  position: absolute;
  left: 0; top: .6em;
  width: 6px; height: 1px;
  background: var(--teal);
}

.category-filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 3rem; }
.category-filter {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: .55rem 1.15rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .25s var(--ease);
}
.category-filter:hover { border-color: var(--teal); color: var(--black); }
.category-filter.is-active { background: var(--black); border-color: var(--black); color: var(--white); }
.category-filter:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; }

/* =========================================================
   CTA banner
   ========================================================= */
.cta-banner {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: clamp(2.75rem, 2.5rem + 3vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(72,214,210,.22), transparent 55%),
              radial-gradient(circle at 85% 90%, rgba(22,124,122,.25), transparent 55%);
}
.cta-banner-inner { position: relative; z-index: 1; max-width: 640px; margin-inline: auto; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: var(--text-on-dark-muted); margin-top: 1rem; }
.cta-banner .btn-group { margin-top: 2rem; justify-content: center; }

/* =========================================================
   Contact
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2.5rem, 4vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info-item { border-top: 1px solid var(--line); padding-block: 1.5rem; }
.contact-info-item:first-child { border-top: none; padding-top: 0; }
.contact-info-item h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: .6rem; font-family: var(--sans); font-weight: 700; }
.contact-info-item a, .contact-info-item p { font-family: var(--serif); font-size: 1.1rem; color: var(--black); text-decoration: none; }
.contact-info-item a:hover { color: var(--teal); }

.form-banner {
  display: none;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
  font-weight: 600;
  font-size: .95rem;
}
.form-banner.is-visible { display: block; }
.form-banner.success { background: rgba(72,214,210,.15); border: 1px solid var(--teal); color: var(--teal); }
.form-banner.error { background: rgba(200,60,60,.08); border: 1px solid #b23a3a; color: #b23a3a; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .85rem; font-weight: 600; color: var(--black); }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .9rem 1rem;
  background: var(--white);
  font-size: 1rem;
  color: var(--text);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(72,214,210,.2);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--black); color: var(--text-on-dark-muted); padding-top: clamp(3rem, 3rem + 2vw, 4.5rem); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .logo { color: var(--white); }
.footer-tagline { margin-top: .6rem; font-family: var(--serif); font-style: italic; color: var(--aqua); font-size: 1.05rem; }
.footer-nav { display: flex; flex-direction: column; gap: .75rem; }
.footer-nav a { text-decoration: none; font-size: .95rem; color: var(--text-on-dark-muted); transition: color .25s var(--ease); }
.footer-nav a:hover { color: var(--aqua); }
.footer-meta { display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }
.footer-meta a { text-decoration: none; font-size: .95rem; color: var(--text-on-dark-muted); transition: color .25s var(--ease); }
.footer-meta a:hover { color: var(--aqua); }
.footer-bottom { padding-block: 1.5rem; font-size: .85rem; }

/* Utility */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
