/* Flagstaff Dream Center — large type, light chrome, clear sections */
:root {
  --ink: #141414;
  --ink-soft: #3a3a3a;
  --paper: #ffffff;
  --cream: #f6f3ec;
  --line: #d4cfc3;
  --line-strong: #b7b1a4;
  --gold: #fcb900;
  --gold-hover: #e0a500;
  --focus: #fcb900;
  --footer: #161616;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(20, 20, 20, 0.08);
  --topbar-pad: 0.55rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: var(--ink);
  font-weight: 700;
}

a:hover {
  color: #000;
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-200%);
  background: var(--gold);
  color: var(--ink);
  padding: 0.7rem 1rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 8px;
  z-index: 40;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(1040px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ---- Sticky light top bar: black logo, centered Donate, hamburger ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 1px 0 rgba(20, 20, 20, 0.04);
}

.topbar-inner {
  width: min(1180px, calc(100% - 1.25rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: var(--topbar-pad) 0;
}

.brand {
  justify-self: start;
  display: block;
  line-height: 0;
  text-decoration: none;
}

.brand img,
.logo-black {
  display: block;
  height: 58px;
  width: auto;
}

.donate-top {
  justify-self: center;
  min-height: 3.05rem;
  min-width: 8.75rem;
  padding: 0.5rem 1.35rem;
  font-size: 1.2rem;
  box-shadow: 0 2px 0 var(--ink);
}

.menu-wrap {
  justify-self: end;
  position: relative;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  appearance: none;
  -webkit-appearance: none;
}

.menu-toggle::-webkit-details-marker {
  display: none;
}

.menu-toggle::marker {
  content: "";
}

.menu-wrap[open] .menu-toggle {
  background: var(--paper);
  border-color: var(--ink);
}

.menu-bars {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 40;
  display: grid;
  gap: 0.4rem;
  min-width: 14.5rem;
  width: max-content;
  padding: 0.6rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.14);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  min-height: 2.85rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 800;
}

.nav-dropdown a:hover,
.nav-dropdown a[aria-current="page"] {
  background: var(--paper);
  border-color: var(--ink);
}

/* ---- Page titles sit below the bar, not inside a blue hero ---- */
.page-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 2rem 0 2.15rem;
}

.page-hero .photo.we-are,
.photo.kitchen {
  max-width: 26rem;
}

.page-hero .photo.we-are img,
.photo.we-are img {
  aspect-ratio: auto;
  object-fit: contain;
  width: 100%;
  height: auto;
  background: #111;
}

.page-hero h1,
.hero h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.85rem, 5.5vw, 3rem);
  line-height: 1.1;
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 0.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink-soft);
}

.tagline {
  margin: 0 0 0.85rem;
  max-width: 28ch;
  font-size: clamp(1.25rem, 3.4vw, 1.75rem);
  line-height: 1.25;
  font-weight: 700;
}

.lead {
  margin: 0;
  max-width: 38rem;
  font-size: 1.18rem;
}

.photo,
.photo img {
  display: block;
  width: 100%;
}

.photo {
  margin: 1.25rem 0 0;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  background: #ece8df;
}

.photo img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.photo.portrait img {
  aspect-ratio: 3 / 2;
}

.photo.kitchen img {
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
  width: 100%;
  height: auto;
}

.photo-credit {
  margin: 0;
  padding: 0.35rem 0.7rem 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  background: var(--gold);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow);
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  background: var(--gold-hover);
  color: var(--ink);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  box-shadow: none;
}

section {
  padding: 2.6rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 6.5rem;
  scroll-margin-bottom: 5.5rem;
  background: var(--paper);
}

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

h2 {
  margin: 0 0 0.7rem;
  color: var(--ink);
  font-size: clamp(1.75rem, 4.6vw, 2.35rem);
  line-height: 1.15;
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.4rem;
  color: var(--ink);
}

p {
  margin: 0 0 1rem;
}

.quote {
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  background: var(--paper);
  font-size: 1.2rem;
}

.quote cite {
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-weight: 700;
  color: var(--ink-soft);
}

.values {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.values li {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-weight: 700;
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 1.25rem 1.2rem;
}

.card h3 {
  padding-bottom: 0.35rem;
  border-bottom: 3px solid var(--gold);
  display: inline-block;
}

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

.list li {
  margin-bottom: 0.4rem;
}

.note {
  background: #fff8e0;
  border: 1px solid #e6c65a;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  font-weight: 650;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-size: 1.25rem;
}

.contact-list li {
  margin: 0.65rem 0;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hours {
  margin-top: 1.5rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--cream);
}

.hours h3 {
  margin-bottom: 0.75rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: 0;
}

.hours-table th {
  font-weight: 800;
  width: 48%;
  padding-right: 1rem;
}

.muted {
  color: var(--ink-soft);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap-donate {
  width: min(980px, calc(100% - 2rem));
  margin-inline: auto;
}

.donate-panel {
  padding: 1.75rem 0 2.25rem;
}

.donate-intro {
  margin-bottom: 1.35rem;
}

.donate-page h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(2rem, 5.5vw, 2.85rem);
}

.donate-page .lead {
  margin: 0 0 0.75rem;
  max-width: 28em;
  font-size: 1.15rem;
}

.pledge {
  margin: 0;
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  line-height: 1.35;
  font-weight: 800;
}

.donate-layout {
  display: grid;
  gap: 1.35rem;
  align-items: start;
}

.donate-photo {
  margin: 0;
  max-width: none;
}

.donate-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 22%;
}

.form.donate-form {
  margin-top: 0;
  gap: 1rem;
  padding: 1.1rem;
}

.form.donate-form .amount-set {
  display: grid;
  gap: 0.65rem;
}

.form.donate-form .amount-set legend {
  margin-bottom: 0.15rem;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(5.25rem, 1fr));
  gap: 0.5rem;
}

.amount-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 3rem;
  padding: 0.45rem 0.35rem;
  border: 2px solid var(--line-strong);
  border-radius: 10px;
  background: var(--cream);
  font-weight: 800;
  cursor: pointer;
}

.amount-choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.amount-choice:has(input:checked) {
  background: var(--gold);
  border-color: var(--ink);
}

.amount-choice:has(input:focus-visible) {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.custom-amount {
  display: grid;
  gap: 0.35rem;
}

.amount-input {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.amount-input > span {
  font-weight: 800;
}

.amount-input input {
  margin-top: 0;
}

.form.donate-form textarea {
  min-height: 4.5rem;
}

.form.donate-form .btn-give {
  width: 100%;
  margin-top: 0.15rem;
}

.donate-note {
  margin: 0;
  font-size: 0.98rem;
  text-align: center;
}

.page-main {
  padding-bottom: 6rem;
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
}

.jump-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line-strong);
  text-decoration: none;
  font-size: 1rem;
}

.form {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 1.25rem;
}

.form fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.form-block {
  display: grid;
  gap: 1rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line-strong);
}

.form-block > legend {
  color: var(--ink);
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 800;
  padding: 0 0 0.2rem;
}

.form label,
.form legend {
  display: block;
  font-weight: 800;
}

.form .hint {
  display: block;
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 1rem;
  margin-top: 0.15rem;
}

.form input,
.form select,
.form textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.85rem 0.9rem;
  border: 2px solid var(--line-strong);
  border-radius: 10px;
  font: inherit;
  font-size: 1.15rem;
  color: var(--ink);
  background: var(--paper);
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 3px solid var(--gold);
  border-color: var(--ink);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.span-all {
  grid-column: 1 / -1;
}

.choices {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.choices.two {
  grid-template-columns: 1fr 1fr;
}

.choices.wrap {
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

.form .choice,
.choice {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 650;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--cream);
}

.choice input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  accent-color: var(--ink);
}

.thanks {
  margin: 1rem 0 0;
  padding: 1rem;
  border-radius: 12px;
  background: #e7f3e5;
  color: #14532d;
  font-weight: 800;
  text-align: center;
}

.thanks[hidden] {
  display: none;
}

/* Single Call / Email / Apply set */
.sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 30;
  border-top: 1px solid var(--ink);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
}

.sticky a {
  flex: 1;
  text-align: center;
  padding: 1.05rem 0.4rem;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--gold);
  min-height: 3.4rem;
}

.sticky a + a {
  border-left: 1px solid rgba(16, 21, 23, 0.2);
}

.sticky a:nth-child(2) {
  background: var(--paper);
  color: var(--ink);
}

.sticky a:nth-child(3) {
  background: var(--ink);
  color: var(--paper);
}

.site-footer {
  background: var(--footer);
  color: #ececec;
  text-align: center;
  padding: 2rem 1rem 6rem;
  font-size: 1.05rem;
}

.site-footer a {
  color: var(--gold);
}

.site-footer p {
  margin: 0.35rem 0;
}

.footer-logo {
  height: 72px;
  width: auto;
  margin: 0 auto 0.75rem;
  display: block;
}

@media (max-width: 799px) {
  .brand img,
  .logo-black {
    height: 48px;
  }

  .donate-top {
    min-width: 7.25rem;
    min-height: 2.9rem;
    padding: 0.45rem 1rem;
    font-size: 1.08rem;
  }

  .menu-toggle {
    min-height: 2.9rem;
  }
}

@media (min-width: 800px) {
  body {
    font-size: 1.25rem;
  }

  .brand img,
  .logo-black {
    height: 68px;
  }

  .lead {
    font-size: 1.25rem;
  }

  .values,
  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .cards.three {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .form {
    padding: 1.6rem;
  }

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

  .donate-panel {
    padding: 2.15rem 0 2.5rem;
  }

  .donate-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.75rem;
  }

  .donate-photo img {
    aspect-ratio: 3 / 4;
    object-position: center top;
  }

  .form.donate-form {
    padding: 1.35rem;
  }

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

  .hours-table {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
