:root {
  --bg: #f6f4ef;
  --paper: #ffffff;
  --ink: #111111;
  --muted: #696f79;
  --line: #e4e0d8;
  --accent: #6d8aa6;
  --max: 1040px;
  --radius: 4px;
  --shadow: 0 22px 40px rgba(0, 0, 0, 0.05);
}

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

html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.shell,
.main-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 18px;
}
.brand-wrap { text-align: center; }
.brand-eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: #80848c;
}
.site-title {
  display: inline-block;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: .02em;
}
.site-title:hover { text-decoration: none; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.site-nav-line {
  flex: 1;
  max-width: 260px;
  height: 1px;
  background: var(--line);
}
.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.site-nav a {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #555;
  transition: color .18s ease;
}
.site-nav a:hover,
.site-nav a.is-active { color: #000; text-decoration: none; }
.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #000;
}

.menu-toggle {
  display: none;
  width: 100%;
  margin: 10px auto 0;
  border: 1px solid var(--line);
  background: #faf9f4;
  padding: 12px 16px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.menu-toggle__label {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  display: block;
  width: 22px;
  height: 1px;
  background: #111;
  position: relative;
  transition: transform .2s ease;
}
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle__icon::before { top: -6px; }
.menu-toggle__icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before { transform: rotate(45deg); top: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after { transform: rotate(-45deg); top: 0; }

.main-shell {
  margin-top: 32px;
  margin-bottom: 40px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding-top: 8px;
  padding-bottom: 40px;
}
.main-shell--narrow { max-width: 920px; }
.content-section {
  padding-top: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.content-section:last-child { border-bottom: none; padding-bottom: 10px; }
.content-section--page { padding-top: 52px; }

.hero-image {
  margin: 0 auto 28px;
  max-width: 760px;
  overflow: hidden;
  border-radius: 2px;
}
.hero-image img {
  width: 100%;
  transition: transform .25s ease-out;
  will-change: transform;
}

.section-kicker,
.team-role,
.cta-label,
.footer-links,
.footer-small {
  text-transform: uppercase;
  letter-spacing: .22em;
}
.section-kicker {
  text-align: center;
  font-size: 11px;
  color: #989898;
  margin: 0 0 10px;
}
.section-title {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
}
.section-title--page { font-size: 28px; }
.section-intro {
  max-width: 650px;
  margin: 0 auto 18px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.section-pill {
  max-width: 650px;
  margin: 0 auto 26px;
  text-align: center;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #555;
}
.section-pill span {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #faf8f2;
}
.text-column {
  max-width: 690px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--muted);
}
.text-column p { margin: 0; }
.text-column p + p,
.page-body p + p { margin-top: 12px; }
.subheading {
  margin: 30px 0 12px;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #444;
}
.subheading--page { margin-top: 32px; }
.simple-list {
  margin: 10px 0 0;
  padding-left: 20px;
}
.simple-list li + li { margin-top: 4px; }

.urgent-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  font-size: 14px;
}
.urgent-list li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.urgent-list li:last-child { border-bottom: 1px solid var(--line); }
.urgent-label,
.contact-note {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #888;
}
.urgent-label { display: block; }
.urgent-main {
  display: block;
  margin-top: 2px;
  font-weight: 600;
  color: #222;
}
.urgent-note { font-size: 13px; }

.team-list,
.cta-row {
  max-width: 800px;
  margin: 26px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.team-card,
.cta-card {
  border: 1px solid var(--line);
  background: #faf9f4;
}
.team-card {
  max-width: 360px;
  padding: 22px 20px 20px;
}
.team-photo {
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.team-name {
  margin: 0 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  color: #222;
}
.team-role {
  margin-bottom: 10px;
  font-size: 11px;
  color: #888;
}
.team-bio { font-size: 13px; color: var(--muted); }
.team-bio p + p { margin-top: 8px; }

.cta-card {
  flex: 1 1 220px;
  padding: 18px 18px 16px;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.cta-card:hover {
  text-decoration: none;
  border-color: #c7c1b7;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}
.cta-label {
  margin-bottom: 4px;
  font-size: 11px;
  color: #888;
}
.cta-main {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #222;
}
.cta-note,
.contact-block {
  font-size: 13px;
  color: var(--muted);
}

.contact-block {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.contact-block p + p { margin-top: 10px; }
.contact-strong {
  font-weight: 600;
  color: #222;
}
.contact-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  padding: 24px 24px 34px;
  text-align: center;
  font-size: 12px;
  color: #555;
}
.footer-title {
  margin: 0 0 6px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.footer-line {
  height: 1px;
  max-width: var(--max);
  margin: 0 auto 14px;
  background: linear-gradient(to right, transparent, var(--line), transparent);
}
.footer-links {
  margin-top: 10px;
  font-size: 11px;
}
.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 0 6px;
}
.footer-small {
  margin-top: 10px;
  font-size: 10px;
  opacity: .78;
}

@media (max-width: 820px) {
  .site-header { position: static; }
  .site-title { font-size: 32px; margin-bottom: 12px; }
  .site-nav {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav-line { display: none; }
  .site-nav ul {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }
  .site-nav a { padding: 8px 0; }
  .menu-toggle { display: flex; }
}

@media (max-width: 640px) {
  .shell,
  .main-shell { padding-left: 18px; padding-right: 18px; }
  .main-shell { margin-top: 18px; }
  .content-section { padding-top: 28px; padding-bottom: 28px; }
  .section-title { font-size: 19px; letter-spacing: .14em; }
  .section-title--page { font-size: 24px; }
  .team-card { max-width: 100%; }
  .cta-card { flex-basis: 100%; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: #111;
  color: #fff;
  padding: 10px 14px;
  z-index: 100;
}
.skip-link:focus { left: 12px; }

.contact-form-section { max-width: 760px; margin: 32px auto 0; }
.contact-form-card,
.admin-card {
  border: 1px solid var(--line);
  background: #faf9f4;
  padding: 24px;
  box-shadow: 0 12px 22px rgba(0,0,0,.04);
}
.contact-form { margin-top: 18px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #4d5560; }
.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #cfc9bf;
  background: #fff;
  padding: 14px 16px;
  font: inherit;
  color: #111;
  border-radius: 2px;
}
.form-field textarea { resize: none; min-height: 160px; }
.field-help { margin: 0; font-size: 12px; color: #6f7580; }
.required-dot { color: #9f3842; font-weight: 700; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid #111;
  background: #111;
  color: #fff;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
}
.cta-button:hover { text-decoration: none; background: #2a2a2a; }
.cta-button--ghost { background: transparent; color: #111; }
.form-alert {
  padding: 14px 16px;
  border: 1px solid;
  margin-top: 14px;
  font-size: 14px;
}
.form-alert--success { background: #eef7ef; border-color: #b7d6bb; color: #2f5730; }
.form-alert--error { background: #fcf1f0; border-color: #e4b0aa; color: #8c342a; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,.15);
  background: rgba(17,17,17,.92);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 50;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.error-screen { text-align: center; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

.admin-body,
.admin-login-body {
  background: #eef2f5;
  color: #17212b;
}
.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
}
.admin-sidebar {
  background: #1f2b37;
  color: #f4f7fa;
  padding: 24px;
}
.admin-sidebar h1 { margin-top: 0; font-size: 22px; }
.admin-sidebar nav { display: grid; gap: 10px; }
.admin-sidebar a { color: #f4f7fa; }
.admin-main { padding: 28px; }
.admin-user { color: #bfccd8; font-size: 14px; }
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.admin-card--login { width: min(100%, 560px); }

@media (max-width: 820px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-actions { align-items: stretch; }
  .cta-button { width: 100%; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-main { padding: 18px; }
}

@media (max-width: 720px) {
  .back-to-top { display: inline-flex; }
}
