/* Nate Champion — shared minimal styles. Self-contained (no dependency on
   TheNateworkGroup's or Connector Profile's asset pipeline — this is an
   independent codebase). Palette/type match TNG's brand; layout is its own,
   more white space and a lighter touch since this is a personal page. */

:root {
  --color-navy:        #203052;
  --color-blue:        #2D5377;
  --color-teal:        #5E9D9D;
  --color-taupe-warm:  #8A7B70;
  --color-taupe-light: #D3C7BD;
  --color-bg-tint:     #F0E9E1;
  --color-white:       #FFFFFF;
  --color-charcoal:    #383736;
  --color-gray:        #D9D9D9;

  --color-text:        var(--color-charcoal);
  --color-text-muted:  #6B655F;
  --color-border:      #E7E1D9;
  --font-body: Arial, Helvetica, sans-serif;

  --max-width: 720px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-blue); }

/* Accessible focus style — plain outline fails 3:1 contrast on light
   backgrounds in the sitewide audit; this pairs a dark outline with an
   offset so it holds contrast on white AND navy. */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-navy);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 12px 20px;
  z-index: 100;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Hero ---------- */

.hero {
  padding: 64px 0 40px;
  text-align: center;
}

.hero-avatar {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 24px;
  display: block;
  border: 4px solid var(--color-bg-tint);
}

.hero h1 {
  font-size: 2rem;
  margin: 0 0 8px;
  color: var(--color-navy);
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--color-blue);
  max-width: 480px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 0.98rem;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--color-navy);
  color: var(--color-white);
}
.btn-primary:hover { background: var(--color-blue); }

.btn-secondary {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn-secondary:hover { background: var(--color-bg-tint); }

.hero-jump-link {
  display: inline-block;
  color: var(--color-teal);
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid var(--color-teal);
  padding-bottom: 2px;
}

/* ---------- Section headings ---------- */

section {
  padding: 48px 0;
}

section + section {
  border-top: 1px solid var(--color-border);
}

.section-heading {
  color: var(--color-navy);
  font-size: 1.5rem;
  margin: 0 0 8px;
  text-align: center;
}

.section-subheading {
  color: var(--color-text-muted);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ---------- Working-on cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  background: var(--color-white);
}

.card h3 {
  color: var(--color-navy);
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.card p {
  color: var(--color-text);
  margin: 0 0 16px;
}

.card .btn { padding: 10px 18px; font-size: 0.92rem; }

/* ---------- Leadership & Community accordion ---------- */

.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--color-white);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: var(--color-bg-tint);
  border: none;
  padding: 18px 20px;
  font-size: 1.05rem;
  font-weight: bold;
  color: var(--color-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-trigger .role {
  display: block;
  font-weight: normal;
  font-size: 0.85rem;
  color: var(--color-taupe-warm);
  margin-top: 2px;
}

.accordion-trigger .chevron {
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.2s ease;
}

.accordion-trigger[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.accordion-panel {
  padding: 20px;
}

.accordion-panel[hidden] { display: none; }

.accordion-panel p {
  margin: 0 0 16px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  background: var(--color-bg-tint);
  color: var(--color-navy);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: bold;
}
.social-links a:hover { background: var(--color-taupe-light); }

/* ---------- About / bio ---------- */

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.about img {
  width: 180px;
  border-radius: 12px;
  object-fit: cover;
}

.about p {
  max-width: 560px;
  color: var(--color-text);
}

/* ---------- Contact / footer ---------- */

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  margin: 0 auto;
}

.site-footer {
  padding: 40px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

.site-footer a { color: var(--color-text-muted); }

.site-footer .footer-links {
  margin-bottom: 12px;
}

.site-footer .footer-links a {
  margin: 0 8px;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about {
    flex-direction: row;
    text-align: left;
  }
}
