@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root {
  --sage: #91ad98;
  --sage-dark: #52705c;
  --sage-soft: #dfe9e1;
  --terracotta: #a63d26;
  --terracotta-dark: #7e2e20;
  --brown: #4a2524;
  --brown-soft: #6e4743;
  --cream: #fbf7ef;
  --paper: #fffdf8;
  --ink: #2b2220;
  --muted: #6d625e;
  --line: rgba(74, 37, 36, .14);
  --shadow: 0 24px 70px rgba(74, 37, 36, .12);
  --radius-lg: 2rem;
  --radius-md: 1.25rem;
  --shell: min(74rem, calc(100% - 2.5rem));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "DM Sans", sans-serif; font-size: 1rem; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; transform: translateY(-160%); background: var(--brown); color: white; padding: .75rem 1rem; border-radius: .5rem; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: .3rem; box-shadow: 0 0 0 6px var(--brown); }

h1, h2, h3 { margin: 0; font-family: "Fraunces", Georgia, serif; color: var(--brown); line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7vw, 5.8rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.35rem, 4.7vw, 4.15rem); letter-spacing: -.04em; }
h3 { font-size: 1.45rem; }
p { margin: 0; }
.eyebrow { margin-bottom: 1rem; color: var(--terracotta-dark); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-light { color: #ffd2c3; }
.section { padding: clamp(5rem, 9vw, 8.5rem) 0; }

.site-header { position: fixed; z-index: 20; top: 0; inset-inline: 0; background: rgba(251,247,239,.9); border-bottom: 1px solid rgba(74,37,36,.08); backdrop-filter: blur(18px); }
.header-inner { min-height: 5.2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { width: 3.6rem; }
.brand span { display: grid; line-height: 1.2; }
.brand strong { font-family: "Fraunces", Georgia, serif; font-size: 1.15rem; color: var(--brown); }
.brand small { margin-top: .25rem; color: var(--muted); font-size: .69rem; letter-spacing: .04em; }
.main-nav { display: flex; align-items: center; gap: 1.4rem; }
.main-nav a { color: var(--brown); font-size: .92rem; font-weight: 600; text-decoration: none; }
.main-nav a:not(.nav-cta):hover { color: var(--terracotta); }
.main-nav .nav-cta { padding: .72rem 1.1rem; background: var(--brown); color: white; border-radius: 999px; }
.menu-toggle { display: none; width: 2.8rem; height: 2.8rem; padding: .65rem; background: transparent; border: 1px solid var(--line); border-radius: 50%; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: var(--brown); }

.hero { position: relative; min-height: min(900px, 100svh); padding: 9.5rem 0 6rem; display: grid; align-items: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .37; background-image: radial-gradient(circle at 1px 1px, rgba(74,37,36,.12) 1px, transparent 0); background-size: 28px 28px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 em { display: block; color: var(--terracotta); font-style: normal; }
.hero-lead { max-width: 43rem; margin-top: 1.7rem; color: var(--brown-soft); font-size: clamp(1.05rem, 1.6vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }
.button { min-height: 3.35rem; padding: .85rem 1.45rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--terracotta); color: white; box-shadow: 0 12px 28px rgba(201,87,55,.25); }
.button-primary:hover { background: var(--terracotta-dark); }
.button-secondary { border: 1px solid rgba(74,37,36,.28); color: var(--brown); }
.safety-note { margin-top: 1.35rem; color: var(--sage-dark); font-size: .92rem; font-weight: 600; }
.safety-note span { color: var(--terracotta); font-size: .65rem; margin-right: .35rem; }
.hero-art { position: relative; text-align: center; }
.hero-mark { position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 10%; background: rgba(255,253,248,.75); border: 1px solid rgba(74,37,36,.1); border-radius: 48% 52% 46% 54% / 52% 42% 58% 48%; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.hero-mark::before, .hero-mark::after { content: ""; position: absolute; border: 1px solid rgba(74,37,36,.15); border-radius: 50%; }
.hero-mark::before { inset: -1.3rem 1.8rem 2.7rem -1rem; }
.hero-mark::after { inset: 2rem -1.1rem -1.1rem 1.5rem; }
.hero-mark img { width: 92%; }
.hero-motto { max-width: 25rem; margin: 1.6rem auto 0; color: var(--brown); font-size: .77rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero-motto span { color: var(--terracotta); margin: 0 .3rem; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(1px); }
.hero-glow-one { width: 24rem; height: 24rem; right: -9rem; top: 9rem; background: rgba(145,173,152,.28); }
.hero-glow-two { width: 18rem; height: 18rem; left: -8rem; bottom: -4rem; background: rgba(201,87,55,.12); }
@keyframes float { 50% { transform: translateY(-12px) rotate(.5deg); } }

.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.about-image-wrap { position: relative; }
.about-image-wrap > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.year-badge { position: absolute; right: -1.2rem; bottom: -1.2rem; width: 8.5rem; aspect-ratio: 1; display: grid; place-content: center; text-align: center; background: var(--terracotta); color: white; border: .55rem solid var(--paper); border-radius: 50%; }
.year-badge strong { font-family: "Fraunces", serif; font-size: 2rem; line-height: 1; }
.year-badge span { font-size: .68rem; }
.section-copy > p:not(.eyebrow) { margin-top: 1.7rem; color: var(--muted); font-size: 1.08rem; }
blockquote { margin: 2rem 0; padding: 1.2rem 0 1.2rem 1.5rem; border-left: 3px solid var(--terracotta); color: var(--brown); font-family: "Fraunces", serif; font-size: 1.35rem; }
.text-link { display: inline-block; color: var(--terracotta-dark); font-weight: 700; text-underline-offset: .35rem; }

.services { background: var(--sage-soft); }
.section-heading { margin-bottom: 3rem; display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: end; }
.section-heading > p { max-width: 31rem; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-card { min-height: 18rem; padding: 1.7rem; background: rgba(255,253,248,.83); border: 1px solid rgba(74,37,36,.08); border-radius: var(--radius-md); transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(74,37,36,.09); }
.service-icon { width: 3.2rem; height: 3.2rem; margin-bottom: 2.5rem; display: grid; place-items: center; background: var(--cream); color: var(--terracotta); border-radius: 50%; font-size: 1.3rem; }
.service-card p { margin-top: .85rem; color: var(--muted); font-size: .92rem; }
.service-card details { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.service-card summary { color: var(--terracotta-dark); cursor: pointer; font-weight: 700; }
.service-card details p { margin-top: .7rem; }

.donation { padding: clamp(4.5rem, 8vw, 7rem) 0; background: var(--brown); color: white; }
.donation-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.donation h2 { color: white; }
.donation-grid > div:first-child > p:last-child { max-width: 40rem; margin-top: 1.5rem; color: #e4d5ce; }
.pix-card { padding: 2rem; background: var(--paper); color: var(--brown); border-radius: var(--radius-md); box-shadow: 0 24px 70px rgba(0,0,0,.22); }
.pix-card span, .pix-card small { display: block; color: var(--muted); }
.pix-card strong { display: block; margin: .3rem 0; font-family: "Fraunces", serif; font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.03em; }
.copy-button { width: 100%; margin-top: 1.3rem; padding: .85rem 1rem; display: none; background: var(--terracotta); color: white; border: 0; border-radius: 999px; cursor: pointer; font-weight: 700; }
.js-ready .copy-button { display: block; }
.copy-feedback { min-height: 1.4rem; margin-top: .5rem; color: var(--sage-dark); font-size: .82rem; text-align: center; }

.partners { background: var(--cream); }
.partner-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partner-list article { min-height: 10rem; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-list h3 { font-size: 1.15rem; }
.partner-list p { margin-top: .7rem; color: var(--muted); font-size: .88rem; }

.contact { padding: clamp(5rem, 9vw, 8rem) 0; background: var(--terracotta); color: white; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.contact h2 { color: white; }
.contact-grid > div > p:last-child { margin-top: 1.3rem; color: #fff; }
.contact .eyebrow { color: #ffd2c3; }
.contact-card { padding: 1.7rem; display: grid; gap: .25rem; background: var(--paper); border-radius: var(--radius-md); font-style: normal; box-shadow: var(--shadow); }
.contact-card a { padding: 1rem; display: grid; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-card a:last-child { border: 0; }
.contact-card span { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-card strong { color: var(--brown); overflow-wrap: anywhere; }
.contact-card a:hover strong { color: var(--terracotta); }
.visit-info { padding: 1rem; display: grid; color: var(--brown); border-top: 1px solid var(--line); font-style: normal; }
.visit-info span { color: var(--muted); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.visit-info small { margin-top: .2rem; color: var(--muted); font-size: .82rem; }

.site-footer { padding: 2rem 0; background: #301918; color: white; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand-light strong, .brand-light small { color: white; }
.footer-inner > p { color: #cdb9b4; font-size: .82rem; }

@media (max-width: 62rem) {
  .hero-grid, .about-grid, .donation-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 9rem; }
  .hero-copy { text-align: center; }
  .hero-lead, .safety-note { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { width: min(34rem, 90%); margin-inline: auto; }
  .about-image-wrap { width: min(34rem, 90%); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 48rem) {
  :root { --shell: min(100% - 1.4rem, 74rem); }
  .header-inner { min-height: 4.7rem; }
  .brand small { display: none; }
  .brand img { width: 3rem; }
  .site-header { position: static; }
  .js-pending .site-header, .js-ready .site-header { position: fixed; }
  .js-ready .menu-toggle { display: block; }
  .main-nav { padding: .65rem 0 1rem; display: grid; gap: .15rem; background: var(--paper); }
  .js-pending .main-nav, .js-ready .main-nav { position: absolute; top: calc(100% + .5rem); left: .7rem; right: .7rem; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); visibility: hidden; opacity: 0; transform: translateY(-.5rem); transition: opacity .2s, transform .2s, visibility .2s; }
  .js-ready .main-nav[data-open="true"] { visibility: visible; opacity: 1; transform: translateY(0); }
  .main-nav a { padding: .7rem .8rem; }
  .main-nav .nav-cta { margin-top: .4rem; text-align: center; }
  .hero { min-height: auto; padding: 4.5rem 0; }
  .js-pending .hero, .js-ready .hero { padding-top: 8.5rem; }
  h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  .hero-art { width: 95%; }
  .section-heading { grid-template-columns: 1fr; gap: 1.2rem; }
  .service-grid, .partner-list { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-icon { margin-bottom: 1.5rem; }
  .year-badge { right: -.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 24rem) {
  .hero-actions .button { width: 100%; }
  .brand strong { font-size: .98rem; }
  .pix-card { padding: 1.25rem; }
}

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