:root {
  --blue: #153f58;
  --ink: #243c48;
  --cream: #f7f5ef;
  --gold: #b36d39;
  --line: #d9dedb;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
a,
button {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #ce8a4c;
  outline-offset: 5px;
}
.wrap {
  max-width: 1240px;
  margin: auto;
  padding: 0 48px;
}
.top {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 7px 20px;
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
header {
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}
nav {
  height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mark {
  width: 43px;
  height: 52px;
  border: 1px solid var(--blue);
  border-radius: 24px 24px 4px 4px;
  display: grid;
  place-items: center;
  font: 30px Georgia;
  color: var(--blue);
  box-shadow:
    inset 4px 0 #f7f5ef,
    inset 6px 0 #153f58;
}
.brand strong {
  display: block;
  font: 21px Georgia;
}
.brand small {
  font-size: 9px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}
.links {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 13px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: var(--blue);
  color: white;
  padding: 14px 24px;
  font-size: 13px;
  border: 1px solid var(--blue);
  transition: 0.2s;
}
.btn:hover {
  background: #29627f;
  transform: translateY(-2px);
}
.btn.light {
  background: var(--cream);
  color: var(--blue);
  border-color: var(--cream);
}
.textlink {
  display: inline-block;
  border-bottom: 1px solid;
  padding-bottom: 4px;
  font-size: 13px;
}
.menu {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  min-height: 610px;
  padding-top: 42px;
  padding-bottom: 46px;
  gap: 65px;
  align-items: center;
}
.eyebrow {
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #816348;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(48px, 5.3vw, 72px);
  letter-spacing: -2.5px;
  color: var(--blue);
}
h1 em {
  font-weight: 400;
  color: #7b896a;
}
.hero p {
  max-width: 420px;
  font-size: 15px;
  margin: 25px 0 30px;
  color: #5b6a70;
}
.actions {
  display: flex;
  align-items: center;
  gap: 25px;
}
.introbar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.introbar .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  padding-top: 24px;
  padding-bottom: 24px;
  gap: 30px;
}
.introbar p {
  font: 20px Georgia;
}
.introbar span {
  font-size: 12px;
  color: #657179;
}
.introbar b {
  display: block;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}
.section {
  padding: 94px 0;
}
.sectionhead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 36px;
}
.sectionhead p {
  max-width: 370px;
  font-size: 14px;
  color: #64727a;
}
h2 {
  font-size: 44px;
  letter-spacing: -1.2px;
}
h3 {
  font-size: 27px;
}
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.card img {
  width: 100%;
  height: 315px;
  object-fit: cover;
}
.card:first-child img {
  object-position: center 68%;
}
.cardtext {
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.cardtext > span {
  float: right;
  font: 26px Georgia;
  color: var(--gold);
}
.cardtext p {
  font-size: 14px;
  max-width: 440px;
  margin: 13px 0 19px;
  color: #64727a;
}
.story {
  background: #e9eee8;
}
.storygrid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 85px;
  align-items: center;
}
.storypic {
  position: relative;
}
.storypic img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.storypic span {
  display: block;
  font-size: 11px;
  padding-top: 10px;
  color: #66756e;
}
.story p {
  font-size: 14px;
  margin: 22px 0;
  color: #55675e;
}
.timeline {
  display: flex;
  gap: 30px;
  border-top: 1px solid #c5d0c7;
  margin: 25px 0;
  padding-top: 20px;
}
.timeline b {
  font: 25px Georgia;
  display: block;
}
.timeline small {
  font-size: 11px;
}
.give {
  background: var(--blue);
  color: white;
}
.givegrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
  align-items: center;
}
.give .eyebrow {
  color: #dfb889;
}
.give h2 {
  font-size: 50px;
}
.give p {
  font-size: 14px;
  color: #d5e1e5;
  margin: 22px 0;
}
.givingbox {
  padding: 33px;
  border: 1px solid #648090;
  background: #1d485f;
}
.givingbox h3 {
  font-size: 28px;
}
.givingbox .btn {
  width: 100%;
  margin: 12px 0;
}
.givingbox small {
  display: block;
  color: #c7d7df;
  font-size: 11px;
}
.faq {
  max-width: 800px;
  margin: auto;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 21px 0;
}
summary {
  cursor: pointer;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
summary:after {
  content: "+";
  font-size: 23px;
  line-height: 1;
}
details[open] summary:after {
  content: "−";
}
details p {
  font-size: 14px;
  color: #617079;
  padding: 14px 30px 2px 0;
}
.contact {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 45px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
  padding-bottom: 48px;
}
.contact h2 {
  font-size: 32px;
}
.contact h3 {
  font-size: 21px;
  margin-bottom: 12px;
}
.contact p,
.contact a {
  font-size: 13px;
}
.contact a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact .eyebrow {
  margin-bottom: 12px;
}
footer {
  background: #e9eee8;
  padding: 27px 0;
  font-size: 11px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.skip {
  position: absolute;
  top: -70px;
}
.skip:focus {
  top: 10px;
  background: #fff;
  z-index: 99;
  padding: 10px;
}
@media (max-width: 800px) {
  .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .top {
    font-size: 9px;
  }
  nav {
    height: 80px;
  }
  .brand strong {
    font-size: 18px;
  }
  .brand small {
    font-size: 8px;
  }
  .menu {
    display: block;
    background: none;
    border: 1px solid var(--line);
    padding: 6px 10px;
    color: var(--blue);
  }
  .links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 25px;
    box-shadow: 0 12px 20px #0001;
    flex-direction: column;
  }
  .links.open {
    display: flex;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 40px;
  }
  .hero h1 {
    font-size: 56px;
  }
  .hero p {
    max-width: none;
  }
  .introbar .wrap {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .introbar p {
    font-size: 23px;
  }
  .section {
    padding: 60px 0;
  }
  .sectionhead {
    display: block;
  }
  .sectionhead p {
    margin-top: 20px;
  }
  h2 {
    font-size: 37px;
  }
  .cards,
  .storygrid,
  .givegrid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .card img {
    height: 290px;
  }
  .storypic img {
    height: 340px;
  }
  .storygrid {
    gap: 30px;
  }
  .give h2 {
    font-size: 43px;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  footer .wrap {
    flex-direction: column;
  }
  .actions {
    gap: 18px;
  }
  .btn {
    padding: 13px 20px;
  }
  .givingbox {
    padding: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}

.original-logo {
  width: 78px;
  height: 60px;
  object-fit: contain;
}
.hero h1 {
  font-size: clamp(56px, 6.4vw, 84px);
}
.brand small {
  display: block;
}
.links a:not(.btn):hover {
  color: var(--gold);
}
@media (max-width: 800px) {
  .original-logo {
    width: 53px;
    height: 43px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .brand {
    gap: 8px;
  }
  .timeline {
    gap: 20px;
  }
  .timeline > div {
    flex: 1;
  }
}
@media (max-width: 380px) {
  .hero h1 {
    font-size: 48px;
  }
  .actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .brand strong {
    font-size: 16px;
  }
}
/* Warm marigold palette */
:root {
  --blue: #322d25;
  --ink: #322d25;
  --cream: #fffaf0;
  --gold: #93651c;
  --line: #e4dac5;
}

.top {
  background: #f3cb60;
  color: #322d25;
}
.btn {
  background: #edbd45;
  border-color: #edbd45;
  color: #30281b;
}
.btn:hover {
  background: #f5d278;
  color: #30281b;
}
.btn.light {
  background: #f3cb60;
  border-color: #f3cb60;
  color: #30281b;
}
.hero h1 em {
  color: #93651c;
}
.eyebrow {
  color: #806124;
}
.hero p,
.sectionhead p,
.cardtext p,
details p {
  color: #645e52;
}
.story {
  background: #f4ebd4;
}
.story p {
  color: #635c4e;
}
.timeline {
  border-color: #d7c8a5;
}
.storypic span {
  color: #6e6451;
}
.give {
  background: #f3cb60;
  color: #322d25;
}
.give .eyebrow {
  color: #665021;
}
.give p {
  color: #56472a;
}
.givingbox {
  background: #fff7df;
  border-color: #b68c30;
}
.givingbox small {
  color: #685a3b;
}
.givingbox .btn {
  background: #322d25;
  color: #fff8e7;
  border-color: #322d25;
}
.givingbox .btn:hover {
  background: #51432a;
}
.introbar span {
  color: #6b6356;
}
footer {
  background: #f4ebd4;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline-color: #93651c;
}

/* Photo gallery */
.gallery-section {
  background: #fff5dc;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.gallery-item {
  grid-column: span 4;
  position: relative;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #e3d4af;
  overflow: hidden;
  text-align: left;
  min-height: 235px;
}
.gallery-item:first-child {
  grid-column: span 6;
  min-height: 340px;
}
.gallery-item:nth-child(2) {
  grid-column: span 6;
  min-height: 340px;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 235px;
  max-height: 340px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:first-child img,
.gallery-item:nth-child(2) img {
  min-height: 340px;
}
.gallery-item:hover img {
  transform: scale(1.035);
}
.gallery-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: #fff;
  padding: 35px 18px 14px;
  background: linear-gradient(transparent, rgba(36, 31, 24, 0.86));
  font-size: 14px;
}
.gallery-dialog {
  max-width: min(96vw, 950px);
  width: 100%;
  padding: 16px;
  border: 0;
  background: #fffaf0;
  color: #322d25;
  box-shadow: 0 16px 80px #0008;
}
.gallery-dialog::backdrop {
  background: #1d1b16d9;
}
.gallery-dialog img {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
  display: block;
}
.gallery-dialog .dialog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.gallery-dialog .dialog-bar button {
  border: 1px solid #b7a574;
  background: none;
  cursor: pointer;
  padding: 7px 14px;
  color: #322d25;
}
.gallery-dialog p {
  margin: 12px 0 0;
  font-size: 13px;
}
.gallery-dialog .dialog-controls {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}
.gallery-dialog .dialog-controls button {
  background: #edbd45;
  border: 0;
  padding: 8px 16px;
  cursor: pointer;
}
.gallery-item:focus-visible {
  outline: 4px solid #93651c;
  outline-offset: 4px;
}
@media (max-width: 700px) {
  .gallery-grid {
    gap: 12px;
  }
  .gallery-item,
  .gallery-item:first-child,
  .gallery-item:nth-child(2) {
    grid-column: span 12;
    min-height: 240px;
  }
  .gallery-item img,
  .gallery-item:first-child img,
  .gallery-item:nth-child(2) img {
    height: 260px;
    min-height: 0;
  }
}

.gallery-item img {
  background: #e3d4af;
}

/* Shared navigation and page layouts */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
  background: var(--cream);
}
section.wrap {
  padding-inline: 48px;
}
.links {
  gap: clamp(12px, 2vw, 25px);
}
.links a {
  white-space: nowrap;
}
.links .btn {
  padding-inline: 22px;
}
.links a[aria-current="page"]:not(.btn) {
  color: #795214;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.links .btn[aria-current="page"] {
  box-shadow: 0 0 0 1px var(--blue);
}
.page-title {
  font-size: clamp(38px, 5.2vw, 64px);
  letter-spacing: -0.028em;
}
.faq .page-title {
  margin-bottom: 25px;
}
.faq a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gallery-grid .gallery-item {
  grid-column: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
}
.gallery-grid .gallery-item img {
  min-height: 0;
  height: 100%;
  max-height: none;
}
.contact-page {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 0;
  padding-block: clamp(60px, 8vw, 94px);
  gap: 30px;
}
.contact-heading {
  grid-column: 1 / -1;
}
.contact-heading p {
  margin-top: 16px;
  font-size: 15px;
  color: #645e52;
}
.contact-page > div:not(.contact-heading) {
  background: #fff5dc;
  border: 1px solid var(--line);
  padding: 26px;
}
.contact-page a {
  overflow-wrap: anywhere;
}
.newsletter {
  background: #f4ebd4;
}
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(35px, 6vw, 85px);
  align-items: center;
}
.newsletter-copy > p {
  max-width: 42ch;
  margin: 20px 0 26px;
  color: #635c4e;
}
.newsletter-copy .signup-note {
  margin: 12px 0 0;
  font-size: 13px;
}
.newsletter-photo {
  margin: 0;
}
.newsletter-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.payment-panel {
  margin-top: 32px;
}
.payment-panel iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: 1px solid #b68c30;
  background: white;
}
.givingbox .payment-toggle {
  cursor: pointer;
}
.givingbox .payment-toggle[hidden] {
  display: none;
}
.givingbox .payment-toggle + a {
  margin-top: 0;
  background: transparent;
  color: var(--blue);
  border: 1px solid #9d7733;
}
.givingbox .payment-toggle + a:hover {
  background: #f4ebd4;
}

@media (max-width: 1050px) {
  nav {
    height: 80px;
  }
  .menu {
    display: block;
    background: none;
    border: 1px solid var(--line);
    padding: 6px 10px;
    color: var(--blue);
  }
  .links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 18px 24px;
    max-height: 70dvh;
    overflow-y: auto;
    box-shadow: 0 12px 20px #0001;
    flex-direction: column;
    gap: 12px;
  }
  .links.open {
    display: flex;
  }
}
@media (max-width: 800px) {
  section.wrap {
    padding-inline: 24px;
  }
  .newsletter-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .gallery-grid,
  .contact-page {
    grid-template-columns: 1fr;
  }
  .payment-panel iframe {
    height: 660px;
  }
}

/* Home photo carousel */
.quote-carousel {
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
}
.quote-carousel [hidden] {
  display: none;
}
.quote-slide {
  margin: 0;
}
.quote-slide img {
  display: block;
  width: 100%;
  height: auto;
}
.quote-slide figcaption {
  min-height: 8.5rem;
  padding: 18px clamp(16px, 3vw, 26px) 4px;
}
.quote-slide blockquote {
  margin: 0 0 8px;
  font: 400 clamp(1.15rem, 2.15vw, 1.5rem) / 1.3 Georgia, serif;
}
.quote-slide cite {
  display: block;
  color: #e1edf4;
  font-size: .875rem;
  font-style: normal;
  line-height: 1.4;
}
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px clamp(16px, 3vw, 26px) 14px;
}
.slide-count {
  margin-right: auto;
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
}
.carousel-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: #fff;
  border: 1px solid #ffffff88;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
}
.carousel-controls button:hover {
  background: #29627f;
}
@media (max-width: 480px) {
  .quote-slide figcaption {
    min-height: 10rem;
  }
}

/* Newsletter signup, archive, and community stories */
.home-news {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(24px, 6vw, 80px);
}
.home-news h2,
.news-archive h2,
.map-copy h2,
.featured-story h2 {
  color: var(--blue);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}
.home-news > div p,
.news-archive > p,
.map-copy p {
  margin: 14px 0;
}
.signup-form {
  display: grid;
  gap: 12px;
  width: 100%;
  text-align: left;
}
.name-fields {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.signup-form label {
  display: grid;
  gap: 4px;
  font-size: .95rem;
  font-weight: 700;
}
.signup-form input {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  background: #fffdf7;
  color: var(--ink);
  border: 1px solid #9c8662;
  border-radius: 4px;
  font: 400 1rem / 1.4 Arial, sans-serif;
}
.signup-form input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.signup-form .btn {
  justify-self: start;
  margin-top: 4px;
  cursor: pointer;
}
.signup-form .btn:disabled {
  cursor: wait;
  opacity: .7;
}
.signup-status {
  font-size: .95rem;
}
.signup-status:empty {
  display: none;
}
.signup-status[data-result="success"] {
  color: #315231;
}
.signup-status[data-result="error"] {
  color: #8a2d21;
}
.archive-grid,
.annette-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.archive-card {
  background: #fff9eb;
  border: 1px solid var(--line);
}
.archive-card > img,
.annette-photos > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.annette-photos > img {
  aspect-ratio: 4 / 3;
}
.archive-card time {
  display: inline-block;
  margin-bottom: 8px;
  color: #69522e;
  font-size: .875rem;
}
.archive-story .storygrid {
  align-items: start;
}
.archive-story .storygrid p {
  margin: 18px 0;
}
.featured-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  margin-top: 28px;
}

/* Local history and directions */
.history-timeline {
  border-left: 2px solid #ba9959;
  margin: 24px 0;
  padding-left: 18px;
  list-style: none;
}
.history-timeline li + li {
  margin-top: 18px;
}
.history-timeline h2 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}
.story .history-timeline p {
  margin: 6px 0 0;
}
#orphanage-map {
  padding-top: 0;
}
.map-card {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  overflow: hidden;
  background: #fff5dc;
  border: 1px solid var(--line);
}
.map-copy {
  align-self: center;
  padding: clamp(20px, 4vw, 44px);
}
.map-copy .btn {
  white-space: normal;
}
.orphanage-map {
  display: block;
  width: 100%;
  min-height: 340px;
  height: 100%;
  border: 0;
}
@media (max-width: 700px) {
  .home-news,
  .archive-grid,
  .featured-story,
  .map-card {
    grid-template-columns: 1fr;
  }
  .orphanage-map {
    min-height: 320px;
  }
}
@media (max-width: 390px) {
  .name-fields {
    grid-template-columns: 1fr;
  }
}
