/* Global Archivist LLC – site styles
   Colors carried over from the original Wix site */
:root {
  --navy: #033249;
  --orange: #FF8038;
  --sand: #EBD59E;
  --lavender: #C9C8FB;   /* current-page button */
  --blue: #1D67CD;       /* form buttons */
  --grey: #D9D9D9;
  --ink: #242323;
  --white: #FFFFFF;
  --body: "Avenir Next", "Avenir", "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --nav: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --max: 1000px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: #000;
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2.4rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.35rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--white); color: var(--ink); padding: 8px 14px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Navigation ---------- */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; }
.site-header::after { content: ""; display: block; height: 16px; background: #E8EEF6; }
.nav {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  padding: 0 16px 8px;
}
.nav a {
  flex: 1 1 260px; max-width: 320px;
  font-family: var(--nav); font-weight: 600; font-size: 15px;
  text-align: center; text-decoration: none;
  color: var(--ink); background: var(--orange);
  padding: 6px 18px; border-radius: 0 0 100px 100px;
  transition: filter .15s;
}
.nav a:hover { filter: brightness(1.07); }
.nav a[aria-current="page"] { background: var(--lavender); }

.footer-nav { background: var(--white); padding: 0; }
.footer-nav .nav { padding: 6px 16px; }
.footer-nav .nav a { border-radius: 100px; }
.site-footer {
  background: var(--sand); color: var(--ink);
  text-align: center; padding: 28px 16px 36px; font-size: 16px;
}
.site-footer p { margin: 0; }

/* ---------- Home ---------- */
.home { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.home-left {
  background: var(--navy); color: var(--sand);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 40px 24px 32px; text-align: center;
}
.home-left img { width: 260px; margin-top: 10px; }
.home-left .ein { font-size: 18px; margin: 32px 0 0; }
.home-right { background: var(--orange); color: #000; padding: 28px 32px 40px; }
.home-right h1 { font-size: clamp(1.7rem, 3.2vw, 1.75rem); color: #000; margin-bottom: .6em; }
.home-right h2 { font-size: 1.15rem; font-weight: 600; margin: 1.2em 0 .25em; }
.home-right ul { margin: 0 0 .5em; padding-left: 26px; }
.home-right .specialties li { font-size: 18px; list-style: "•  "; }
.home-right .services li { font-size: 16px; }

/* ---------- Forms ---------- */
.contact-form { margin-top: 28px; max-width: 440px; }
.contact-form .intro { font-size: 14px; font-weight: 600; }
.field { margin: 0 0 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.req { color: var(--blue); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  border: 0; border-radius: 10px; padding: 9px 16px;
}
.home .field input, .home .field textarea { background: var(--sand); }
.field textarea { min-height: 96px; resize: vertical; }
.btn {
  display: inline-block; font: inherit; font-weight: 700; font-size: 15px;
  background: var(--blue); color: var(--white);
  border: 0; border-radius: 100px; padding: 6px 34px; cursor: pointer;
}
.btn:hover { filter: brightness(1.1); }
.home .btn { display: block; margin: 0 auto; }

.boxed .field input, .boxed .field textarea {
  background: var(--white); border: 2px solid #8FC0E0; border-radius: 0; padding: 8px 10px;
}
.boxed .btn { width: 100%; border-radius: 0; padding: 10px; font-weight: 400; background: #1B4F9C; }
.boxed .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: 13px; margin-top: 8px; }

/* ---------- About pages ---------- */
.about-bg { background: var(--grey); padding: 40px 16px; }
.about-card { max-width: 980px; margin: 0 auto; background: var(--white); }
.about-intro { display: grid; grid-template-columns: 323px 1fr; gap: 16px; }
.about-intro img { width: 100%; height: 100%; object-fit: cover; }
.about-intro .text { padding: 50px 28px 28px 0; }
.about-intro .text h1 { font-size: 56px; margin-bottom: .45em; }
.social img { width: 24px; height: 24px; margin-top: 20px; }
.about-body { padding: 40px 28px 56px; max-width: 820px; }
.about-body h2 { font-size: 38px; margin-top: .4em; }
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: 15px; }
.about-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding: 40px 28px 56px; }
.about-split .story { max-width: 640px; }
.about-split h2 { font-size: 38px; }

/* ---------- Resources ---------- */
.resources { max-width: 1000px; margin: 0 auto; padding: 80px 16px 60px; display: grid; grid-template-columns: 400px 1fr; gap: 40px; }
.resources h1 { font-size: clamp(2.6rem, 6vw, 3.5rem); }
.resources .lede { font-size: 16px; line-height: 1.8; }
.resources h2 { font-size: 20px; margin-top: 2em; }
.resources h2:first-child { margin-top: 0; }
.resources .right p, .resources .right li { font-size: 16px; }
.resources .right .big { font-size: 18px; }
.resources .right ul { padding-left: 28px; }
.resources .small { font-size: 15px; line-height: 1.75; }
.contact-heading { font-size: 26px; font-weight: 600; margin: 1.6em 0 .6em; }

/* ---------- Team ---------- */
.team-hero { background: var(--orange); }
.team-hero .inner { max-width: 1000px; margin: 0 auto; padding: 28px 40px 28px; }
.team-hero h1 { color: var(--navy); font-size: clamp(2.3rem, 5vw, 2.9rem); margin-bottom: .35em; }
.team-hero p { font-size: 18px; max-width: 830px; margin: 0; }
.team-grid { background: var(--sand); padding: 24px 16px 60px; }
.team-grid .inner { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.member img { width: 159px; height: 227px; object-fit: cover; box-shadow: 0 10px 12px -6px rgba(0,0,0,.6); }
.member h2 { color: var(--navy); font-size: 20px; font-weight: 600; margin: 24px 0 4px 12px; }
.member p { font-size: 16px; margin: 0 0 1em; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav a { flex-basis: 100%; max-width: none; border-radius: 100px; padding: 5px 14px; }
  .nav { padding-top: 8px; }
  .site-header { position: static; }
  .home { grid-template-columns: 1fr; min-height: 0; }
  .home-left img { width: 210px; }
  .home-right { padding: 24px 20px 36px; }
  .about-bg { padding: 0; }
  .about-intro { grid-template-columns: 1fr; }
  .about-intro img { height: auto; max-height: 480px; object-position: top; }
  .about-intro .text { padding: 20px 20px 0; }
  .about-intro .text h1 { font-size: 44px; }
  .about-body, .about-split { padding: 20px 20px 40px; }
  .about-split, .contact-cols { grid-template-columns: 1fr; }
  .resources { grid-template-columns: 1fr; padding-top: 40px; }
  .team-hero .inner { padding: 24px 20px; }
  .team-grid .inner { grid-template-columns: 1fr; justify-items: center; text-align: left; }
  .boxed .row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Form status + spam trap ---------- */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; font-size: 15px; font-weight: 600; min-height: 1em; }
.form-status:empty { display: none; }
.form-status.ok { background: #E6F4EA; color: #12512A; border-left: 4px solid #1E7B3C; padding: 10px 14px; }
.form-status.err { background: #FDECEA; color: #8A1C12; border-left: 4px solid #C62828; padding: 10px 14px; }
.btn[disabled] { opacity: .7; cursor: wait; }
form { position: relative; }
