/* Stray Hope Initiative — lightweight static styles, no external fonts or libraries. */
:root {
  color-scheme: light;
  --ink: #24332b;
  --ink-soft: #536158;
  --forest: #1b5a3b;
  --forest-deep: #153f30;
  --teal: #20b8bf;
  --teal-deep: #087873;
  --leaf: #72a354;
  --clay: #9c5928;
  --sun: #f4d047;
  --paper: #f7f5ec;
  --paper-light: #fffdf7;
  --line: #dedbd0;
  --white: #fffefa;
  --shadow: 0 22px 55px rgb(35 46 38 / 10%);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Aptos", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.section-pad { padding-block: clamp(76px, 9vw, 124px); }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 16px; border-radius: 999px; transform: translateY(-160%); background: var(--forest-deep); color: white; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #b85131; outline-offset: 4px; }

.site-header { position: relative; z-index: 5; background: var(--paper); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 36px; border-bottom: 1px solid rgb(36 51 43 / 10%); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50% 50% 48% 52%; background: var(--forest); color: white; font-family: var(--serif); font-size: 13px; font-weight: 700; letter-spacing: -.06em; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; }
.brand-name { max-width: 160px; font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 1.05; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 38px); margin-left: auto; }
.site-nav a { color: var(--ink-soft); font-size: 14px; font-weight: 600; text-decoration: none; transition: color .2s ease; }
.site-nav a:hover { color: var(--clay); }
.language-switch { display: inline-flex; align-items: center; gap: 8px; margin-left: 3px; color: #8b9189; font-size: 12px; font-weight: 700; }
.language-switch button { padding: 7px 3px; border: 0; background: transparent; color: #858e86; cursor: pointer; font-size: 12px; font-weight: 700; }
.language-switch button[aria-pressed="true"] { color: var(--forest); }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; padding-top: clamp(64px, 7.4vw, 104px); padding-bottom: clamp(80px, 9vw, 126px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr); align-items: center; gap: clamp(42px, 7vw, 98px); }
.hero-copy { max-width: 590px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 21px; color: var(--clay); font-size: 11px; font-weight: 800; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.04em; }
h1 { max-width: 690px; margin-bottom: 25px; font-size: clamp(46px, 6vw, 76px); line-height: .99; }
h1::after { display: block; width: 66px; height: 5px; margin-top: 20px; border-radius: 99px; background: linear-gradient(90deg, var(--teal), var(--sun)); content: ""; }
.hero-intro { max-width: 515px; margin-bottom: 28px; color: var(--ink-soft); font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover:not(.is-unavailable) { transform: translateY(-2px); }
.button-primary { background: var(--forest); color: white; box-shadow: 0 7px 18px rgb(33 77 61 / 17%); }
.button-primary svg { box-sizing: content-box; padding: 4px; border-radius: 50%; background: var(--sun); color: var(--forest-deep); }
.button-primary:hover:not(.is-unavailable) { background: var(--forest-deep); box-shadow: 0 10px 24px rgb(33 77 61 / 24%); }
.button.is-unavailable { cursor: not-allowed; opacity: .78; }
.button.is-unavailable svg { opacity: .6; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--forest); font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--clay); }
.hero-location, .contact-location { display: flex; align-items: flex-start; gap: 9px; color: #747d75; font-size: 13px; }
.hero-location { margin: 31px 0 0; }
.hero-location svg, .contact-location svg { flex: 0 0 auto; color: var(--clay); }
.hero-sun { position: absolute; top: -250px; right: -180px; width: 560px; height: 560px; border: 1px solid rgb(32 184 191 / 13%); border-radius: 50%; pointer-events: none; }
.hero-sun::before, .hero-sun::after { position: absolute; content: ""; border: 1px solid rgb(32 184 191 / 13%); border-radius: 50%; }
.hero-sun::before { inset: 40px; }
.hero-sun::after { inset: 80px; }

.photo-frame { position: relative; margin: 0; overflow: hidden; background: #e7e4d7; }
.hero-photo-frame { min-height: 450px; aspect-ratio: 1.04 / 1; border-radius: 44% 44% 28px 28px; box-shadow: var(--shadow); }
.slot-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.slot-image[hidden] { display: none; }
.photo-placeholder { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px; width: 100%; height: 100%; padding: 30px; color: var(--forest-deep); text-align: center; background: radial-gradient(ellipse at 18% 24%, rgb(32 184 191 / 62%), transparent 39%), radial-gradient(ellipse at 82% 25%, rgb(244 208 71 / 78%), transparent 40%), radial-gradient(ellipse at 55% 112%, rgb(114 163 84 / 72%), transparent 53%), #eef0df; }
.hero-placeholder::before, .hero-placeholder::after { position: absolute; z-index: 0; content: ""; width: 175px; height: 175px; border: 1px solid rgb(21 63 48 / 17%); border-radius: 50%; }
.hero-placeholder::before { top: 13%; right: 14%; }
.hero-placeholder::after { right: 20%; bottom: 9%; width: 95px; height: 95px; }
.hero-placeholder > * { position: relative; z-index: 1; }
.placeholder-kicker { color: var(--forest-deep); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.placeholder-camera { color: var(--forest); opacity: .72; }
.photo-placeholder p { margin: 0; font-family: var(--serif); font-size: 27px; line-height: 1.15; }
.placeholder-note { color: var(--forest-deep); font-size: 12px; }
.photo-caption { position: absolute; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 10px; padding: 12px 17px; border-radius: 14px 0 0; background: var(--paper-light); color: var(--ink); font-size: 12px; font-weight: 700; }
.caption-line { width: 19px; height: 2px; background: var(--clay); }

.mission-section { background: var(--paper-light); }
.mission-grid { display: grid; grid-template-columns: 1fr .83fr; align-items: start; gap: clamp(48px, 10vw, 136px); }
h2 { max-width: 640px; margin-bottom: 0; font-size: clamp(38px, 4.3vw, 57px); line-height: 1.05; }
.mission-copy { padding-top: 19px; }
.mission-copy > p:first-child { margin-bottom: 22px; color: var(--ink-soft); font-size: 17px; line-height: 1.85; }
.small-note { padding-left: 17px; border-left: 2px solid var(--sun); color: #758076; font-size: 13px; }

.help-section { background: #ece9dc; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 44px; margin-bottom: 43px; }
.section-heading .eyebrow { margin-bottom: 16px; }
.section-heading h2 { font-size: clamp(38px, 4vw, 52px); }
.section-intro { max-width: 390px; margin: 0 0 6px; color: var(--ink-soft); font-size: 15px; line-height: 1.8; }
.help-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.help-card { position: relative; min-height: 290px; padding: 34px 30px 29px; border: 1px solid rgb(36 51 43 / 10%); border-radius: 5px; background: var(--paper-light); }
.help-card-featured { background: linear-gradient(145deg, var(--forest), var(--teal-deep)); color: white; }
.card-number { position: absolute; top: 30px; right: 30px; color: #9aa398; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.help-card-featured .card-number { color: rgb(255 255 255 / 56%); }
.card-icon { display: grid; width: 58px; height: 58px; margin-bottom: 34px; place-items: center; border-radius: 50%; background: #f0e9d9; color: var(--forest); }
.help-card-featured .card-icon { background: rgb(255 255 255 / 13%); color: #f4cf84; }
.help-card h3 { margin-bottom: 12px; font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.help-card p { max-width: 320px; margin-bottom: 0; color: #647068; font-size: 14px; line-height: 1.75; }
.help-card-featured p { color: rgb(255 255 255 / 78%); }

.photos-section { background: var(--paper-light); }
.photo-heading { margin-bottom: 35px; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 22px; }
.small-photo-frame { min-height: 250px; aspect-ratio: 1.8 / 1; border-radius: 6px; }
.photo-frame-offset { margin-top: 48px; }
.small-placeholder { gap: 12px; background: radial-gradient(ellipse at 18% 24%, rgb(32 184 191 / 48%), transparent 40%), radial-gradient(ellipse at 82% 26%, rgb(244 208 71 / 70%), transparent 41%), radial-gradient(ellipse at 55% 112%, rgb(114 163 84 / 58%), transparent 53%), #eef0df; }
.small-placeholder span { color: var(--forest-deep); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.donate-section { overflow: hidden; background: var(--forest-deep); color: white; }
.donate-grid { display: grid; grid-template-columns: 1fr .78fr; align-items: center; gap: clamp(54px, 9vw, 120px); }
.eyebrow-light { color: #e9c471; }
.donate-copy h2 { max-width: 560px; margin-bottom: 23px; color: white; font-size: clamp(42px, 5vw, 64px); }
.donate-copy > p:not(.eyebrow) { max-width: 560px; color: rgb(255 255 255 / 82%); font-size: 16px; line-height: 1.8; }
.donate-copy .donate-international { margin-top: 25px; color: rgb(255 255 255 / 63%) !important; font-size: 13px !important; }
.donate-card { padding: 34px; border-radius: 7px; background: var(--paper-light); color: var(--ink); box-shadow: 0 20px 45px rgb(0 0 0 / 15%); }
.paypal-wordmark { margin-bottom: 23px; color: #183d78; }
.paypal-wordmark b { font-size: 15px; font-weight: 800; letter-spacing: -.03em; }
.donate-card h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.2; }
.donate-card > p:not(.owner-hint) { margin-bottom: 22px; color: var(--ink-soft); font-size: 13px; }
.button-paypal { width: 100%; background: #f1c65e; color: #202d27; }
.button-paypal:hover:not(.is-unavailable) { background: #f4d27e; }
.button-paypal svg { margin-left: auto; }
.donate-status { margin: 13px 0 0 !important; color: #778078 !important; font-size: 12px !important; line-height: 1.5; text-align: center; }
.owner-hint { margin: 10px 0 0; color: #758076; font-size: 11px; line-height: 1.5; text-align: center; }
.owner-hint[hidden] { display: none; }

.contact-section { background: #f0ede4; }
.contact-grid { display: grid; grid-template-columns: 1fr .75fr; gap: clamp(45px, 10vw, 130px); }
.contact-grid h2 { max-width: 570px; font-size: clamp(38px, 4vw, 53px); }
.contact-details { padding-top: 16px; }
.contact-details > p:first-child { max-width: 420px; margin-bottom: 23px; color: var(--ink-soft); }
.contact-email { display: inline-block; margin-bottom: 14px; color: var(--forest); font-size: 18px; font-weight: 700; text-decoration-color: var(--sun); text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-email[hidden] { display: none; }
.contact-placeholder { color: #788179; font-size: 14px; }
.contact-location { margin: 22px 0 0; }

.site-footer { padding-block: 30px; background: #e6e2d8; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.footer-brand { color: var(--forest); font-family: var(--serif); font-size: 16px; font-weight: 700; text-decoration: none; }
.footer-inner p, .footer-year { margin: 0; color: #737d74; font-size: 11px; }
.footer-year { white-space: nowrap; }

@media (max-width: 900px) {
  .header-inner { gap: 20px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 13px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, .86fr); gap: 38px; }
  .hero-photo-frame { min-height: 370px; }
  .mission-grid, .donate-grid { gap: 55px; }
  .help-card { padding-inline: 23px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 5rem; }
  .container { width: min(100% - 36px, 540px); }
  .header-inner { min-height: 74px; gap: 14px; }
  .brand { gap: 9px; }
  .brand-mark { width: 34px; height: 34px; font-size: 12px; }
  .brand-logo { width: 35px; height: 35px; }
  .brand-name { max-width: 140px; font-size: 16px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 9px 0 9px 10px; border: 0; background: transparent; color: var(--forest); cursor: pointer; font-size: 12px; font-weight: 700; }
  .language-switch { margin-left: 3px; }
  .site-nav { position: absolute; top: calc(100% - 1px); right: 18px; left: 18px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 8px 17px; border: 1px solid var(--line); border-radius: 0 0 12px 12px; background: var(--paper-light); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 4px; border-bottom: 1px solid rgb(36 51 43 / 8%); font-size: 14px; }
  .site-nav a:last-child { border-bottom: 0; }
  .hero { padding-top: 65px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { max-width: 560px; }
  h1 { max-width: 570px; font-size: clamp(46px, 13vw, 69px); }
  .hero-intro { font-size: 16px; }
  .hero-photo-frame { width: min(100%, 465px); min-height: 320px; aspect-ratio: 1.15 / 1; justify-self: center; }
  .hero-sun { top: 320px; right: -360px; }
  .mission-grid, .donate-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .mission-copy { padding-top: 0; }
  .mission-copy > p:first-child { font-size: 16px; }
  .section-heading { align-items: start; flex-direction: column; gap: 15px; margin-bottom: 29px; }
  .section-intro { max-width: 520px; }
  .help-cards { grid-template-columns: 1fr; gap: 12px; }
  .help-card { min-height: 0; padding: 26px 26px 25px; }
  .card-icon { margin-bottom: 22px; }
  .card-number { top: 28px; right: 27px; }
  .photo-grid { grid-template-columns: 1fr; gap: 14px; }
  .small-photo-frame { min-height: 210px; aspect-ratio: 1.55 / 1; }
  .photo-frame-offset { margin-top: 0; }
  .donate-grid { gap: 35px; }
  .donate-card { padding: 28px 23px; }
  .contact-details { padding-top: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 7px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 28px); }
  .brand-name { max-width: 113px; font-size: 15px; }
  .menu-toggle { gap: 4px; font-size: 11px; }
  .language-switch { gap: 5px; }
  .button { min-height: 50px; padding-inline: 17px; }
}

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