:root {
  --ink: #1c1917;
  --forest: #1b3a2f;
  --forest-deep: #142920;
  --muted: #3f3b36;
  --faint: #4a453e;
  --hairline: #e4e0d8;
  --paper: #f8f6f1;
  --card: #f1efe8;
  --photo: #e6e2d8;
  --white: #ffffff;
  --tint: #efece4;
  --accent: #c05621;
  --accent-deep: #a3471b;
  --on-dark: #f8f6f1;
  --on-dark-muted: #c5cdc8;
  --on-dark-faint: #8a958f;
  --serif: "Source Serif 4", "Source Serif Pro", "Iowan Old Style", Palatino, Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 41, 32, 0.04), 0 8px 24px rgba(20, 41, 32, 0.05);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; }

a {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: #b7c4bc;
}

a:hover { text-decoration-color: var(--forest); }

a:focus-visible,
.skip:focus-visible,
.btn:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 30;
  background: var(--forest);
  color: #fff;
  padding: 0.5rem 0.85rem;
  text-decoration: none;
  font-size: 0.9rem;
}

.skip:focus { top: 0.75rem; color: #fff; }

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Dark hero band with Capitol background --- */
.hero-band {
  position: relative;
  isolation: isolate;
  background: var(--forest-deep);
  color: var(--on-dark);
  overflow: hidden;
  min-height: 28rem;
}

.hero-band-compact {
  min-height: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(8, 17, 14, 0.70) 0%,
      rgba(8, 17, 14, 0.50) 38%,
      rgba(8, 17, 14, 0.28) 68%,
      rgba(8, 17, 14, 0.30) 100%),
    linear-gradient(180deg,
      rgba(8, 17, 14, 0.20) 0%,
      rgba(8, 17, 14, 0.04) 42%,
      rgba(8, 17, 14, 0.30) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 28px 24px 88px;
  width: 100%;
}

.hero-band-compact .hero-inner { padding: 24px 24px; }

.hero-band a:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--on-dark);
}

.site-header {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.85rem 1.75rem;
  flex-wrap: wrap;
  margin: 0 0 3.25rem;
}

.hero-band-compact .site-header { margin: 0; }

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--on-dark);
  text-decoration: none;
  font-size: 1.05rem;
}

.wordmark:hover {
  text-decoration: underline;
  text-decoration-color: rgba(248, 246, 241, 0.55);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.site-nav a {
  color: var(--on-dark-muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--on-dark);
}

.hero { margin: 0; max-width: 36em; }

.hero-copy { min-width: 0; }

h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 2.55rem;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--forest-deep);
  margin: 0 0 16px;
  text-wrap: pretty;
}

.hero-band h1 { color: var(--on-dark); }

.lede {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-band .lede { color: var(--on-dark-muted); }

.hero-cta { margin: 0; }

/* --- Section bands --- */
.band { padding: 80px 0; }

.band-paper { background: var(--paper); }

.band-white {
  background: var(--white);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.band-tint { background: var(--tint); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  margin: 0 0 1.35rem;
}

.eyebrow::after {
  content: "";
  display: block;
  width: 1.75rem;
  height: 2px;
  margin-top: 0.6rem;
  background: var(--accent);
  border-radius: 1px;
}

.section-intro,
.contact-intro {
  margin: -0.4rem 0 1.5rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  text-wrap: pretty;
  max-width: 38em;
}

.section-link { margin: 1.35rem 0 0; }

/* --- Service cards --- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.25rem;
  min-width: 0;
  box-shadow: var(--shadow);
}

.service-card .icon {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 0 0.85rem;
  color: var(--forest);
}

.service-card .icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.service-card .title {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.4rem;
  line-height: 1.35;
  text-wrap: pretty;
}

.service-card .desc {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.service-card.service-cta {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: none;
}

.service-card.service-cta .icon { color: var(--on-dark); }

.service-card.service-cta .title { color: var(--on-dark); }

.service-card.service-cta .desc {
  color: var(--on-dark-muted);
  margin-bottom: 1.1rem;
}

.service-card.service-cta .btn {
  align-self: flex-start;
  margin-top: auto;
}

.service-card.service-cta a:focus-visible { outline-color: var(--on-dark); }

/* --- Leadership team card --- */
.leadership-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.band-white .leadership-card { box-shadow: none; }

.team-card {
  display: flex;
  gap: 1.75rem;
  align-items: stretch;
  padding: 1.5rem 1.5rem 1.4rem;
}

.team-card .portrait-wrap {
  flex: 0 0 180px;
  width: 180px;
}

.team-card picture {
  display: block;
  width: 180px;
  height: 225px;
}

.portrait {
  width: 180px;
  height: 225px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  background: var(--photo);
  display: block;
}

.team-text { min-width: 0; }

.team-text .name {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  color: var(--forest-deep);
  line-height: 1.25;
}

.team-text .role {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.team-text p {
  margin: 0 0 12px;
  line-height: 1.65;
  text-wrap: pretty;
}

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

/* --- Appeared-on logos (horizontal wordmarks, no tiles) --- */
.appeared-on {
  padding: 0 1.5rem 1.4rem;
  border-top: 1px solid var(--hairline);
}

.appeared-label {
  margin: 1.15rem 0 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.logo-row img {
  display: block;
  height: 26px;
  width: auto;
  filter: grayscale(1) contrast(1.08);
  opacity: 0.92;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.logo-row li:hover img,
.logo-row a:hover img {
  filter: none;
  opacity: 1;
}

.logo-row .wordmark-text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: #4a453e;
  line-height: 26px;
}

/* --- Photo grid (own tinted band, away from the Leadership headshot) --- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 0.9rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.photo-grid figure { margin: 0; }

.photo-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  background: var(--photo);
}

.photo-grid figcaption {
  display: block;
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted);
}

input[name="_honey"] { display: none !important; }

/* --- Contact --- */
.contact-box {
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.4rem 1.4rem 1.25rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1.1rem;
}

.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.form-field input,
.form-field textarea {
  font: inherit;
  font-size: 0.95rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.form-field input:disabled,
.form-field textarea:disabled {
  background: #f1efe8;
  color: #6b6660;
  border-color: #ddd8ce;
  cursor: not-allowed;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--forest-deep);
  border-color: var(--forest-deep);
  color: #fff;
  text-decoration: none;
}

.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
}

/* Disabled submit: solid muted forest, not a washed-out live button. */
.btn[disabled],
.btn:disabled {
  background: #5a6e66;
  border-color: #5a6e66;
  color: #e8ebe9;
  opacity: 1;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.form-field .btn { align-self: flex-start; width: auto; }

.form-note {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* --- Dark footer --- */
.site-footer {
  background: var(--forest-deep);
  color: var(--on-dark-muted);
  margin: 0;
  padding: 2.5rem 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem 3rem;
  flex-wrap: wrap;
}

.footer-brand { min-width: 10rem; }

.footer-name {
  margin: 0.55rem 0 0;
  color: var(--on-dark);
  font-size: 0.92rem;
}

.footer-meta { max-width: 28rem; }

.site-footer .disclaimer { margin: 0 0 10px; }
.site-footer .copyright { margin: 0; color: var(--on-dark-faint); }
.site-footer .site-links { margin: 0 0 10px; }
.site-footer .site-links a {
  color: var(--on-dark);
  text-decoration: none;
}
.site-footer .site-links a:hover {
  text-decoration: underline;
  text-decoration-color: rgba(248, 246, 241, 0.55);
}

.photo-credit {
  margin: 12px 0 0;
  color: var(--on-dark-faint);
  font-size: 0.78rem;
  line-height: 1.5;
}

.photo-credit a {
  color: var(--on-dark-muted);
  text-decoration: underline;
  text-decoration-color: rgba(248, 246, 241, 0.3);
}

.photo-credit a:hover { color: var(--on-dark); }

code {
  font-family: var(--sans);
  font-size: 0.95em;
  white-space: nowrap;
}

@media (max-width: 40rem) {
  .container { padding-left: 20px; padding-right: 20px; }
  .hero-inner { padding: 20px 20px 64px; }
  .hero-band-compact .hero-inner { padding: 18px 20px; }
  .hero-band { min-height: 0; }
  .site-header { margin-bottom: 2rem; }
  .site-nav a { min-height: 44px; display: inline-flex; align-items: center; }
  h1 { font-size: 1.85rem; }
  .lede { font-size: 1.05rem; margin-bottom: 24px; }
  .band { padding: 52px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .team-card { flex-direction: column; gap: 16px; align-items: flex-start; padding: 1.2rem; }
  .team-card .portrait-wrap { flex-basis: 140px; width: 140px; }
  .team-card picture,
  .team-card .portrait {
    width: 140px;
    height: 175px;
  }
  .form-grid { grid-template-columns: 1fr; }
  .contact-box { padding: 1.15rem; }
  .footer-grid { gap: 1.4rem; }
}

@media (max-width: 24.5rem) {
  .site-header { gap: 0.5rem 1rem; }
  .site-nav { gap: 0.15rem 0.9rem; }
  .photo-grid { gap: 0.75rem 0.65rem; }
}
