:root {
  --navy: #16283d;
  --navy-2: #20384e;
  --gold: #c9a45a;
  --gold-2: #e0bd72;
  --gold-text: #6b501d;
  --cream: #f7f1e6;
  --paper: #fbf7ef;
  --ink: #20242a;
  --muted: #5d6570;
  --line: rgba(22, 40, 61, 0.16);
  --shadow: 0 16px 40px rgba(22, 40, 61, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

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

/* =========================================================
   HEADER
   Logo restored at top. Desktop uses a compact two-tier header:
   centered logo row above a centered navigation row.
   ========================================================= */

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

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-seal {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-logo {
  width: min(440px, 78vw);
  max-height: 96px;
  height: auto;
  object-fit: contain;
}

.brand-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.site-nav-list a {
  text-decoration: none;
  padding: 9px 10px;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 600;
  font-size: .94rem;
  white-space: nowrap;
}

.site-nav-list a:hover,
.site-nav-list a[aria-current="page"] {
  background: rgba(201, 164, 90, .16);
}

.nav-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.nav-cta,
.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.nav-cta,
.button {
  background: var(--navy);
  color: white;
  padding: 10px 16px;
  box-shadow: 0 6px 20px rgba(22, 40, 61, .15);
}

.button-gold-outline {
  border-color: var(--gold-2);
  border-width: 2px;
}

.button-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--gold);
  padding: 10px 16px;
}

.lang-toggle {
  color: var(--muted);
  font-size: .9rem;
  white-space: nowrap;
}

.lang-toggle a {
  text-decoration: none;
  font-weight: 700;
  color: var(--navy);
}

.lang-toggle a[aria-current="page"] {
  color: var(--gold-text);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.lang-toggle-sep {
  margin: 0 4px;
  color: var(--gold);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

/* Desktop: restore logo top without returning to the oversized header. */
@media (min-width: 921px) {
  .header-inner {
    padding: 8px 22px 9px;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
  }

  .brand {
    justify-content: center;
    width: 100%;
  }

  .brand-logo {
    width: min(430px, 76vw);
    max-height: 86px;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding-top: 6px;
    border-top: 1px solid rgba(201, 164, 90, .24);
  }

  .site-nav-list {
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 6px;
  }

  .site-nav-list a {
    padding: 7px 10px;
    font-size: .91rem;
  }

  .nav-meta {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-cta {
    padding: 8px 14px;
    font-size: .9rem;
  }

  .lang-toggle {
    font-size: .86rem;
  }
}

/* =========================================================
   HERO
   ========================================================= */

.hero,
.hero-interior {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), #253f58);
  color: white;
}

.hero-inner,
.hero-interior-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px 22px;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 42px;
  align-items: center;
}

.hero-seal,
.hero-interior-seal {
  width: 132px;
  margin-bottom: 22px;
  opacity: .96;
}

.hero h1,
.hero-interior h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: .95;
  margin: 0 0 20px;
  letter-spacing: .01em;
}

.hero p,
.hero-interior-subtitle {
  font-size: 1.18rem;
  max-width: 760px;
  color: rgba(255, 255, 255, .88);
}

.hero-eyebrow,
.hero-interior-eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold-2);
  font-weight: 800;
  font-size: .82rem;
  margin: 0 0 12px;
}

.hero-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* =========================================================
   GRID AND SECTIONS
   ========================================================= */

.status-grid,
.feature-grid,
.three-grid,
.mission-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section {
  padding: 72px 22px;
}

.inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

h2 {
  font-family: "Cormorant Garamond", serif;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  margin: 0 0 14px;
}

h3 {
  color: var(--navy);
  margin: 0 0 8px;
}

.card,
.status-card,
.feature-card,
.mission-card,
.form-card,
.bio-card,
.notice-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 8px 28px rgba(22, 40, 61, .08);
}

.status-card strong,
.feature-card strong {
  color: var(--navy);
  display: block;
  font-size: 1.05rem;
}

/* =========================================================
   EPIGRAPH
   ========================================================= */

.epigraph {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.epigraph-inner {
  max-width: 850px;
  margin: 0 auto;
  padding: 42px 22px;
  text-align: center;
}

.epigraph blockquote {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1;
}

.epigraph-attribution {
  color: var(--muted);
  margin: 10px 0 0;
}

/* =========================================================
   FOUNDER BIO CARDS
   ========================================================= */

.bio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.bio-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
}

.bio-headshot {
  grid-row: span 3;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--cream);
  box-shadow: 0 8px 18px rgba(22, 40, 61, .16);
  background: var(--cream);
}

.bio-headshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  line-height: 1.1;
}

.bio-title {
  color: var(--gold-text);
  font-weight: 800;
  margin: 0 0 12px;
}

.bio-body {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  color: #353a40;
}

/* =========================================================
   FORMS AND PAGE LISTS
   ========================================================= */

.page-list {
  margin: 0;
  padding-left: 1.2rem;
}

.page-list li {
  margin: 8px 0;
}

.form-card label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin: 16px 0 6px;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  background: #fff;
}

.form-card textarea {
  min-height: 130px;
}

.form-card .checkrow {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
}

.form-card .checkrow input {
  width: auto;
  margin-top: 6px;
}

.form-note {
  color: var(--muted);
  font-size: .94rem;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: var(--navy);
  color: white;
  padding: 56px 22px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.footer-wordmark {
  color: white;
  font-size: 2.3rem;
}

.footer-seal {
  width: 92px;
  margin: 12px auto 22px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  text-align: left;
  margin-top: 28px;
}

.footer-heading {
  color: var(--gold-2);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin: 7px 0;
  color: rgba(255, 255, 255, .8);
}

.footer-col a {
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
}

.footer-motto {
  color: var(--gold-2);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  margin: 28px 0 6px;
}

.footer-blurb,
.footer-copyright {
  color: rgba(255, 255, 255, .72);
  margin: 6px 0;
}

.greek-rule-block {
  height: 18px;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 90, .55), transparent);
}

.small-muted {
  color: var(--muted);
  font-size: .94rem;
}

/* =========================================================
   RESPONSIVE BEHAVIOR
   ========================================================= */

@media (max-width: 920px) {
  .header-inner {
    padding: 10px 18px;
  }

  .brand-logo {
    width: min(300px, 72vw);
    max-height: 76px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 18px 22px;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav-list {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
  }

  .nav-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-grid,
  .status-grid,
  .feature-grid,
  .three-grid,
  .mission-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .brand-text {
    font-size: 1.05rem;
  }

  .brand-logo {
    width: min(260px, 70vw);
    max-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .site-nav {
    top: 88px;
  }

  .hero-inner,
  .hero-interior-inner {
    padding: 64px 18px;
  }

  .section {
    padding: 54px 18px;
  }

  .bio-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bio-headshot {
    margin: 0 auto 14px;
    grid-row: auto;
  }

  .bio-body {
    text-align: left;
  }
}


/* =========================================================
   FAMILY AND COMMUNITY SURVEY v2 STAGING
   ========================================================= */
.family-survey { max-width: 940px; margin: 0 auto; }
.form-section { border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin: 24px 0; }
.form-section legend { font-family: "Cormorant Garamond", serif; color: var(--navy); font-weight: 700; font-size: 1.55rem; padding: 0 8px; }
.form-grid { display: grid; gap: 0 18px; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .span-two { grid-column: 1 / -1; }
.required-mark { color: #7b2d26; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; margin-left: 4px; }
.privacy-note { background: var(--cream); border-left: 4px solid var(--gold); padding: 14px 16px; margin: 8px 0 18px; }
.student-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.student-card { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: #fbfaf6; }
.student-card h4 { color: var(--navy); margin: 0 0 6px; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.form-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 20px; }
.conditional-section[hidden], .student-card[hidden], #district-other-wrap[hidden] { display: none !important; }
.survey-intro strong { color: var(--navy); }
.family-survey input:focus, .family-survey select:focus, .family-survey textarea:focus { outline: 3px solid var(--navy); outline-offset: 2px; border-color: var(--navy); }
.family-survey input:invalid:focus, .family-survey select:invalid:focus { border-color: #9a4038; }
@media (max-width: 720px) { .form-grid.two, .student-grid, .check-grid { grid-template-columns: 1fr; } .form-grid .span-two { grid-column: auto; } .form-section { padding: 18px 14px; } }



.section.alt { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr); gap: 30px; align-items: start; }
.info-panel { background: var(--navy); color: white; border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.info-panel h2, .info-panel h3 { color: var(--gold-2); }
.info-panel a { color: white; }
.clean-list { padding-left: 1.25rem; }
.clean-list li { margin: 9px 0; }

/* =========================================================
   V19 NONPROFIT, DONATION, AND TRANSPARENCY STAGING
   ========================================================= */
.nav-survey-link { color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap; padding: 7px 2px; }
.nav-survey-link:hover { color: #745d2d; }
.four-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.nonprofit-status { border-top: 5px solid var(--gold); }
.document-list { padding-left: 1.2rem; }
.document-list li { margin: 10px 0; }
.footer-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.footer-registration { max-width: 980px; margin: 12px auto 0; color: rgba(255,255,255,.68); font-size: .82rem; line-height: 1.5; }
.footer-blurb { max-width: 980px; margin-left: auto; margin-right: auto; }
.donor-separation { margin-top: 20px !important; padding-top: 14px; border-top: 1px solid var(--line); }
.donor-interest-form { max-width: 940px; margin: 0 auto; }
.hidden { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
@media (max-width: 1040px) { .four-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .four-grid, .split { grid-template-columns: 1fr; } .footer-columns { grid-template-columns: 1fr; } }


/* V19-R1 secure hosted donation flow */
.zeffy-actions { margin-top: 28px; }
.secure-giving-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(14, 57, 92, .18);
  color: var(--muted);
  font-size: .94rem;
}


/* V19-R2 button visibility, accessibility, and hosted-donation return flow */
.nav-cta,
.button,
.button-secondary,
button.button {
  min-height: 44px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease,
              box-shadow .18s ease, transform .18s ease;
}

.nav-cta:hover,
.button:hover,
button.button:hover {
  background: var(--navy-2);
  color: #fff;
}

.button-secondary:hover {
  background: rgba(201, 164, 90, .14);
  color: var(--navy);
}

.nav-cta:focus-visible,
.button:focus-visible,
.button-secondary:focus-visible,
button.button:focus-visible {
  outline: 3px solid var(--gold-2);
  outline-offset: 3px;
}

/* Buttons placed on dark hero backgrounds must remain clearly visible. */
.hero .button,
.hero-interior .button {
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}

.hero .button:hover,
.hero-interior .button:hover {
  background: #f0cf83;
  border-color: #f0cf83;
  color: var(--navy);
}

.hero .button-secondary,
.hero-interior .button-secondary {
  background: rgba(255, 255, 255, .08);
  border-color: var(--gold-2);
  color: #fff;
}

.hero .button-secondary:hover,
.hero-interior .button-secondary:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

/* The Zeffy checkout opens separately so the Oxford Classical site remains available. */
.zeffy-return-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, .88);
  font-size: .94rem;
}


/* =========================================================
   V19-R3: OPTION 3, CONTRAST, AND NAVIGATION CTA
   ========================================================= */

/* Selected Option 3: compact horizontal banner with gold rules. */
.hero-interior {
  padding: 18px 22px;
}

.hero-interior-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 142px;
  gap: 32px;
  align-items: center;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

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

.hero-interior-heading-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 12px;
}

.hero-interior-eyebrow {
  flex: 0 0 auto;
  margin: 0;
  padding-right: 24px;
  border-right: 1px solid var(--gold);
  line-height: 1.25;
}

.hero-interior h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.15vw, 4.1rem);
  line-height: .98;
}

.hero-interior-subtitle {
  margin: 0;
  max-width: 880px;
  font-size: 1.04rem;
  line-height: 1.5;
}

.hero-interior-seal {
  width: 132px;
  margin: 0;
  justify-self: end;
  align-self: center;
}

.hero-interior .hero-actions,
.hero-interior .curriculum-hero-actions {
  margin-top: 16px;
}

.hero-interior .zeffy-return-note {
  margin-bottom: 0;
}

/* Preserve the curriculum promise without increasing banner height. */
.curriculum-promise-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.curriculum-promise-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 22px;
  align-items: baseline;
}

.curriculum-promise-inner .curriculum-card-kicker {
  margin: 0;
  color: var(--gold-text);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
}

.curriculum-promise-inner h2 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 1.45rem;
}

.curriculum-promise-inner p:last-child {
  grid-column: 2;
  margin: 0;
}

/* Home status-card contrast correction. */
.hero-card h2,
.hero-card h3,
.hero-card strong {
  color: var(--gold-2);
}

.hero-card p {
  color: rgba(255, 255, 255, .96);
}

/* Donation-information panel contrast correction. */
.info-panel {
  color: #fff;
}

.info-panel h2,
.info-panel h3 {
  color: var(--gold-2);
}

.info-panel p,
.info-panel strong,
.info-panel .secure-giving-note {
  color: rgba(255, 255, 255, .96);
}

.info-panel .secure-giving-note {
  border-top-color: rgba(255, 255, 255, .28);
}

.info-panel .button {
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
}

.info-panel .button:hover {
  background: #f0cf83;
  border-color: #f0cf83;
  color: var(--navy);
}

/* Top-navigation Donate button: required gold outline. */
.nav-cta {
  background: var(--navy);
  border: 2px solid var(--gold-2);
  color: #fff;
  box-shadow: 0 6px 18px rgba(22, 40, 61, .18);
}

.nav-cta:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: var(--navy);
}

/* Responsive Option 3 keeps the seal to the right. */
@media (max-width: 820px) {
  .hero-interior {
    padding: 14px 18px;
  }

  .hero-interior-inner {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 18px;
    padding: 22px 0;
  }

  .hero-interior-heading-row {
    display: block;
    margin-bottom: 10px;
  }

  .hero-interior-eyebrow {
    border-right: 0;
    padding-right: 0;
    margin-bottom: 6px;
  }

  .hero-interior h1 {
    font-size: clamp(2rem, 8vw, 3.15rem);
  }

  .hero-interior-subtitle {
    font-size: .97rem;
  }

  .hero-interior-seal {
    width: 84px;
  }

  .curriculum-promise-inner {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .curriculum-promise-inner p:last-child {
    grid-column: 1;
  }
}

@media (max-width: 520px) {
  .hero-interior-inner {
    grid-template-columns: minmax(0, 1fr) 62px;
    gap: 12px;
    padding: 18px 0;
  }

  .hero-interior-seal {
    width: 60px;
  }

  .hero-interior h1 {
    font-size: clamp(1.75rem, 9vw, 2.55rem);
  }
}

/* =========================================================
   SURVEY PRIORITY OVERRIDE
   The family and community survey is the primary site action.
   ========================================================= */
.survey-priority-banner {
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(224, 189, 114, .55);
}

.survey-priority-inner {
  width: min(1180px, 100%);
  min-height: 48px;
  margin: 0 auto;
  padding: 7px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.survey-priority-copy {
  margin: 0;
  font-size: .94rem;
  line-height: 1.35;
  text-align: center;
}

.survey-priority-copy strong {
  color: var(--gold-2);
}

.survey-priority-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 14px;
  border: 2px solid var(--gold-2);
  border-radius: 999px;
  background: var(--gold-2);
  color: var(--navy);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .22);
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.survey-priority-button:hover {
  background: #f0cf83;
  border-color: #f0cf83;
  color: var(--navy);
}

.survey-priority-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Make the survey, not Donate, the dominant navigation action. */
.nav-survey-link {
  order: -2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 15px;
  border: 2px solid var(--gold-2);
  border-radius: 999px;
  background: var(--gold-2);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(22, 40, 61, .2);
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.nav-survey-link:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.nav-survey-link:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.nav-cta {
  order: -1;
  min-height: 42px;
  padding: 8px 13px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--navy);
  box-shadow: none;
}

.nav-cta:hover {
  background: rgba(201, 164, 90, .14);
  border-color: var(--gold);
  color: var(--navy);
}

@media (max-width: 920px) {
  .site-nav {
    top: 100%;
    max-height: calc(100vh - 136px);
    overflow-y: auto;
  }

  .nav-meta {
    width: 100%;
    gap: 10px;
  }

  .nav-survey-link {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .survey-priority-inner {
    padding: 8px 14px;
    justify-content: space-between;
    gap: 10px;
  }

  .survey-priority-copy {
    text-align: left;
    font-size: .82rem;
  }

  .survey-priority-copy span {
    display: none;
  }

  .survey-priority-button {
    min-height: 34px;
    padding: 6px 11px;
    font-size: .8rem;
  }
}

/* Visible relationship paths replace the dropdown that obscured the family survey. */
.relationship-instruction {
  margin: 0 0 14px;
}

.relationship-instruction strong {
  color: var(--navy);
}

.relationship-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

.relationship-option {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 58px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.relationship-option:hover {
  border-color: var(--gold);
  background: rgba(201, 164, 90, .08);
}

.relationship-option:has(input:checked) {
  border-color: var(--gold);
  background: rgba(224, 189, 114, .18);
  box-shadow: 0 0 0 2px rgba(201, 164, 90, .18);
}

.relationship-option:focus-within {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.legal-copy { max-width: 820px; }
.legal-copy h2 { margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.relationship-option input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--navy);
}

.relationship-option span {
  display: grid;
  gap: 3px;
}

.relationship-option strong {
  line-height: 1.3;
}

.relationship-option small {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 500;
  line-height: 1.4;
}

.relationship-option-primary {
  grid-column: 1 / -1;
  min-height: 76px;
  border: 2px solid var(--gold);
  background: var(--cream);
}

.relationship-option-primary strong {
  font-size: 1.05rem;
}

@media (max-width: 720px) {
  .relationship-options {
    grid-template-columns: 1fr;
  }

  .relationship-option-primary {
    grid-column: auto;
  }
}
