:root {
  --bg: #f6f1e8;
  --panel: #fffdf8;
  --panel-strong: #f0eadf;
  --ink: #202832;
  --muted: #5e6873;
  --line: #d9cdbc;
  --navy: #223245;
  --green: #315d4a;
  --gold: #a97835;
  --blue: #386f8f;
  --cream: #fbf7ef;
  --shadow: 0 12px 28px rgba(44, 38, 29, 0.075);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(169, 120, 53, 0.14), transparent 32rem),
    linear-gradient(180deg, #fbf7ef 0%, var(--bg) 42%, #f8f5ee 100%);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--green);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.75rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 247, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0.65rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: #ebe1d2;
  outline: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  border-radius: 6px;
  padding: 0.5rem 0.7rem;
  font: inherit;
}

.site-main,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-main {
  padding: 0.85rem 0 1.45rem;
}

.hero {
  margin-bottom: 0.85rem;
}

.hero-content,
.profile-section {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow);
}

.hero-content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(0.9rem, 2.2vw, 1.35rem);
  align-items: start;
  padding: clamp(0.95rem, 2.4vw, 1.55rem);
  position: relative;
  overflow: hidden;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--blue));
}

.hero-content h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1;
  letter-spacing: 0;
}

.headline {
  margin: 0.38rem 0 0;
  color: var(--ink);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  font-weight: 900;
}

.hero-summary,
.section-intro,
.prose p {
  max-width: 760px;
  color: var(--muted);
}

.profile-location,
.meta {
  color: var(--muted);
}

.hero-summary,
.profile-location {
  margin: 0.55rem 0 0;
}

.profile-photo {
  width: clamp(88px, 12vw, 126px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  border: 4px solid #fff;
  box-shadow: 0 14px 28px rgba(32, 40, 50, 0.14);
}

.eyebrow,
.card-kicker {
  margin: 0 0 0.4rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.profile-chips {
  margin: 0.68rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  list-style: none;
}

.profile-chips li {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.28rem 0.58rem;
  border: 1px solid #d8c8ad;
  border-radius: 999px;
  background: #fffaf1;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.actions,
.link-list,
.site-footer [data-links] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-content .actions {
  margin-top: 0.75rem;
}

.button,
.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.52rem 0.82rem;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.button:hover,
.actions a:hover {
  background: var(--navy);
  color: #fff;
}

.profile-section {
  padding: clamp(0.82rem, 1.8vw, 1.12rem);
  margin-bottom: 0.78rem;
}

.section-heading {
  margin-bottom: 0.7rem;
}

.section-heading h2,
.contact-section h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.22rem, 2vw, 1.7rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.leadership-section .section-heading h2 {
  font-size: clamp(1.2rem, 1.85vw, 1.58rem);
}

.about-section,
.leadership-section {
  background:
    linear-gradient(135deg, rgba(49, 93, 74, 0.08), transparent 45%),
    var(--panel);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.6rem;
}

.feature {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffaf1;
  padding: 0.65rem 0.75rem;
}

.feature h3,
.timeline-card h3,
.profile-card-item h3,
.tag-group h3 {
  margin: 0 0 0.25rem;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.25;
}

.feature p,
.timeline-card p,
.profile-card-item p {
  margin-bottom: 0;
  line-height: 1.5;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0.62rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 2px;
  background: #d7c5aa;
}

.timeline-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0.7rem;
  position: relative;
}

.timeline-marker {
  width: 20px;
  height: 20px;
  margin-top: 0.35rem;
  border: 4px solid var(--panel);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px var(--line);
  z-index: 1;
}

.timeline-card,
.profile-card-item,
.tag-group {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  padding: 0.68rem 0.78rem;
}

.cards,
.service-grid,
.portfolio-grid,
.skill-groups,
.credential-groups {
  display: grid;
  gap: 0.62rem;
}

.two-column,
.service-grid,
.portfolio-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-grid .profile-card-item:first-child {
  border-top: 5px solid var(--green);
}

.portfolio-grid .profile-card-item:nth-child(2) {
  border-top: 5px solid var(--blue);
}

.portfolio-grid .profile-card-item:nth-child(3),
.portfolio-grid .profile-card-item:nth-child(4) {
  border-top: 5px solid var(--gold);
}

.detail-toggle {
  justify-self: start;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 0.52rem;
  min-height: 32px;
  padding: 0.28rem 0.55rem;
}

.detail-toggle:hover,
.detail-toggle:focus-visible {
  background: #efe4d4;
  outline: none;
}

.detail-list {
  margin: 0.55rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink);
  line-height: 1.5;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.22rem 0.5rem;
  border: 1px solid #d8c8ad;
  border-radius: 999px;
  background: #fffaf1;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.text-link {
  color: var(--green);
  font-weight: 900;
}

.site-footer {
  padding: 1.1rem 0 1.6rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 900px) {
  .two-column,
  .service-grid,
  .portfolio-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .nav {
    min-height: 64px;
  }

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

  .nav-links {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    padding: 0.7rem;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .nav-open .nav-links {
    display: grid;
  }

  .hero-content,
  .profile-section {
    border-radius: 14px;
  }

  .hero-content {
    display: block;
    padding: 0.9rem;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .hero-summary {
    line-height: 1.5;
  }

  .profile-photo {
    float: right;
    width: 76px;
    margin: 0 0 0.65rem 0.8rem;
    border-radius: 14px;
  }

  .profile-chips {
    gap: 0.34rem;
  }

  .profile-chips li {
    min-height: 28px;
    padding: 0.22rem 0.48rem;
    font-size: 0.84rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
