/* Freeman Educational Consulting — shared styles */
:root {
  --navy: #0b2c4a;
  --navy-dark: #071e33;
  --navy-mid: #123a5c;
  --teal: #1a7a7a;
  --teal-light: #2a9d9d;
  --teal-soft: #e6f4f4;
  --cream: #f7f9fb;
  --white: #ffffff;
  --text: #1f2933;
  --text-muted: #52606d;
  --border: #d9e2ec;
  --shadow: 0 4px 20px rgba(11, 44, 74, 0.08);
  --radius: 10px;
  --max: 1100px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

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

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--navy);
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header / Nav */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  color: var(--white);
  text-decoration: none;
  min-width: 0;
}

.brand:hover,
.brand:focus-visible {
  color: var(--white);
  text-decoration: none;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.brand-tag {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 400;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  display: block;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  background: var(--teal);
  color: var(--white);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 3.5rem 1.25rem 3.75rem;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  max-width: 18ch;
}

.hero .tagline {
  margin: 0 0 1.5rem;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  color: #a8e0e0;
  font-weight: 500;
}

.hero .lede {
  margin: 0 0 1.75rem;
  max-width: 42rem;
  font-size: 1.1rem;
  opacity: 0.95;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--teal-light);
  border-color: var(--teal-light);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

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

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--navy);
  color: var(--white);
}

/* Layout */
main {
  min-height: 50vh;
}

.section {
  padding: 3rem 1.25rem;
}

.section-alt {
  background: var(--cream);
}

.section-teal {
  background: var(--teal-soft);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.page-header {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 2.25rem 1.25rem 2rem;
}

.page-header h1 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
}

.page-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: 40rem;
  font-size: 1.05rem;
}

.section h2 {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 1.55rem;
}

.section h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: 1.2rem;
}

.section p {
  margin: 0 0 1rem;
}

.section p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 44rem;
}

/* Cards / grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

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

.service-card {
  border-top: 4px solid var(--teal);
}

.service-card .icon-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

blockquote.testimonial {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

blockquote.testimonial p {
  margin: 0;
  font-style: italic;
  color: var(--text);
  font-size: 0.98rem;
}

blockquote.testimonial footer {
  margin-top: 0.85rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Bio specifics */
.bio-narrative p {
  max-width: 48rem;
}

. cred-list,
.pub-list,
.exp-list {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.cred-list li,
.pub-list li,
.exp-list li {
  margin-bottom: 0.45rem;
  color: var(--text);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-role {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
}

.timeline-detail {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-email {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  word-break: break-all;
}

.contact-email a {
  color: var(--teal);
}

.contact-note {
  background: var(--teal-soft);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid #c5e4e4;
}

.contact-note h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 1.25rem;
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  color: var(--white);
  font-size: 1.5rem;
}

.cta-band p {
  margin: 0 0 1.25rem;
  opacity: 0.9;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn-primary:hover,
.cta-band .btn-primary:focus-visible {
  background: var(--teal-light);
}

/* Workshop blocks */
.workshop-block {
  margin-bottom: 2rem;
}

.workshop-block:last-child {
  margin-bottom: 0;
}

.feature-list {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.feature-list li {
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 1.25rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-start;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-copy {
  width: 100%;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0.75;
  font-size: 0.85rem;
}

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 860px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    width: 100%;
  }

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

  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav ul {
    flex-direction: column;
    width: 100%;
    padding-top: 0.5rem;
    gap: 0.15rem;
  }

  .site-nav a {
    padding: 0.65rem 0.75rem;
  }

  .grid-2,
  .grid-3,
  .testimonial-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 2.5rem 1.25rem 2.75rem;
  }

  .hero h1 {
    max-width: none;
  }
}
