/* ---------------------------------------------------
   Coop Acquires — shared styles
--------------------------------------------------- */

:root {
  --cream:        #F7F2E9;
  --cream-deep:    #EEE4D3;
  --paper:         #FFFDF9;
  --ink:           #2B2620;
  --ink-soft:      #5B5245;
  --ink-faint:     #8B8072;
  --clay:          #A85630;
  --clay-dark:     #7E3E22;
  --clay-tint:     #F1DFCE;
  --line:          #E2D6C1;
  --olive:         #6E6B4E;
  --good:          #5A6B47;
  --bad:           #9C4A3C;

  --serif: "Source Serif 4", Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --max: 1080px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--clay-dark); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 500; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1.2em; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-dark);
  font-weight: 600;
  margin-bottom: 0.9em;
}

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

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ---------------- Header / Nav ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 233, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand span {
  color: var(--clay);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover {
  background: var(--cream-deep);
  color: var(--ink);
}

.main-nav a.active {
  color: var(--clay-dark);
  background: var(--clay-tint);
}

section[id] {
  scroll-margin-top: 92px;
}

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

.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.83fr 1.17fr;
  gap: 56px;
  align-items: center;
}

.hero-photo {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -24px rgba(43, 38, 32, 0.35);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.photo-caption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-style: italic;
}

/* ---------------- Sections ---------------- */

section {
  padding: 56px 0;
}

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

.section-narrow {
  max-width: 760px;
}

.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------------- Cards / lists ---------------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}

.check-list, .cross-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li, .cross-list li {
  position: relative;
  padding-left: 32px;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--good);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--good);
  opacity: 0.16;
}

.cross-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/55% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E") center/55% no-repeat;
}
.cross-list li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bad);
  opacity: 0.14;
}

.fact-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 24px;
  margin-bottom: 28px;
}

.fact-row dt {
  font-weight: 600;
  color: var(--ink);
}

.fact-row dd {
  margin: 0;
  color: var(--ink-soft);
}

.callout {
  background: var(--clay-tint);
  border-left: 3px solid var(--clay);
  border-radius: 4px 12px 12px 4px;
  padding: 20px 24px;
  margin: 28px 0;
}

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

.section-subhead {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--ink);
}

/* ---------------- About / headshot layout ---------------- */

.person-grid {
  display: grid;
  grid-template-columns: 0.51fr 1.49fr;
  gap: 56px;
  align-items: start;
}

.person-photo {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: sticky;
  top: 100px;
}

.person-photo img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clay);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:hover { background: var(--clay-dark); }
.btn:active { transform: translateY(1px); }

.btn-ghost {
  background: transparent;
  color: var(--clay-dark);
  border: 1px solid var(--clay);
}
.btn-ghost:hover { background: var(--clay-tint); }

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

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 8px;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 22px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.contact-pill:hover { border-color: var(--clay); }

.contact-pill svg { width: 18px; height: 18px; stroke: var(--clay-dark); flex-shrink: 0; }

form.contact-form {
  margin-top: 40px;
  display: grid;
  gap: 20px;
  max-width: 640px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--ink);
}

input, textarea {
  width: 100%;
  font: inherit;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px var(--clay-tint);
}

textarea { min-height: 150px; resize: vertical; }

.optional-tag {
  font-weight: 400;
  color: var(--ink-faint);
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-top: -6px;
}

.form-status {
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}
.form-status.visible { display: block; }
.form-status.ok { color: var(--good); }

/* ---------------- Footer ---------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  margin-top: 24px;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer p {
  margin: 0;
  color: var(--ink-faint);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: var(--ink-faint);
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-links a:hover { color: var(--clay-dark); }

/* ---------------- Responsive ---------------- */

@media (max-width: 860px) {
  .hero-grid,
  .person-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-media {
    order: -1;
  }

  .person-photo {
    position: static;
    max-width: 228px;
    margin: 0 auto;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero { padding: 24px 0 8px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    box-shadow: 0 16px 30px -20px rgba(43,38,32,0.3);
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 12px 24px 20px;
    gap: 2px;
  }

  .main-nav a { padding: 13px 10px; }

  .form-row { grid-template-columns: 1fr; }

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

@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .panel { padding: 24px; }
}
