/* Givving site styles. Matches the 2025 Squarespace site (Sept 2025 brand). */
/* Self-hosted Google Fonts (SIL Open Font License), latin subset only. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/newsreader-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --coral: #d43f58;
  --coral-dark: #b9314a;
  --coral-text: #c63650; /* small coral text: 4.8:1 on --paper, passes WCAG AA */
  --ink: #3e435a;
  --paper: #f7f6f4;
  --white: #ffffff;
  --rule: rgba(62, 67, 90, 0.45);
  --font-heading: "Newsreader", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1100px;
  --gutter: clamp(16px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1.8;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--coral);
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--white); color: var(--ink); padding: 8px 12px; z-index: 10;
}
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.mt, .page-head .mt { margin-top: 2em; }

/* Header */
.site-header { background: var(--white); }
.site-header .wrap {
  max-width: none;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 106px;
}
.site-header nav a {
  color: var(--coral-text); text-decoration: none; font-size: 0.9rem;
  border-bottom: 1px solid var(--coral-text); padding-bottom: 2px;
}
.logo img { width: 138px; }
@media (max-width: 600px) {
  .site-header .wrap { min-height: 80px; }
  .logo img { width: 112px; }
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.05em; line-height: 1.2;
  padding: 1.35em 2.8em;
  border: 2px solid var(--coral); border-radius: 999px;
  background: var(--coral); color: var(--white);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--coral-dark); border-color: var(--coral-dark); transform: translateY(-1px); }

/* Hero */
.hero { padding: clamp(64px, 10vw, 128px) 0 0; }
.hero .wrap { max-width: 1000px; text-align: center; }
.hero p { max-width: 58em; margin: 0 auto 1em; }

.waitlist-form {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  max-width: 560px; margin: 2.2em auto 0;
}
.waitlist-form input[type="email"] {
  flex: 1 1 260px; min-height: 60px; padding: 0 24px;
  border: 1px solid var(--rule); border-radius: 999px; background: var(--white);
  font: inherit; color: var(--ink);
}
.waitlist-form .btn { padding: 0 2.4em; min-height: 60px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { display: none; }
.hero .hero-secondary { margin-top: 2em; font-size: 0.95rem; }
.hero-secondary a { color: var(--coral-text); font-weight: 600; }

/* The smile: a thin coral arc across the page */
.arc { display: block; width: 100%; height: clamp(48px, 7vw, 100px); margin-top: clamp(24px, 4vw, 48px); }
.arc path { fill: none; stroke: var(--coral); stroke-width: 2; vector-effect: non-scaling-stroke; }

/* Mission */
.mission { padding: clamp(56px, 9vw, 120px) 0; }
.mission .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; text-align: center; }
.mission h2 { margin: 0; }
@media (max-width: 760px) { .mission .wrap { grid-template-columns: 1fr; } }

/* Inner pages */
.page-head { padding: clamp(56px, 8vw, 96px) 0 clamp(24px, 4vw, 48px); text-align: center; }
.page-head--solo { padding-bottom: clamp(64px, 10vw, 128px); }
.page-head p { max-width: 40em; margin: 0 auto; }
.eyebrow { color: var(--coral-text); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.prose { max-width: 760px; margin: 0 auto; padding-bottom: clamp(56px, 8vw, 96px); overflow-wrap: break-word; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.prose h3 { margin-top: 1.4em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--coral-text); overflow-wrap: anywhere; }
.prose .meta { color: var(--coral-text); font-size: 0.9rem; }
.post-card { display: block; text-decoration: none; text-align: center; max-width: 760px; margin: 0 auto; padding-bottom: clamp(56px, 8vw, 96px); }
.post-card:hover h2 { text-decoration: underline; }

/* Footer */
.site-footer { padding: 0 0 40px; text-align: center; font-size: 0.9rem; }
.site-footer .wrap { border-top: 1px solid var(--rule); padding-top: clamp(48px, 7vw, 72px); }
.foot-email {
  font-family: var(--font-heading); font-weight: 500; font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: var(--coral); text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.site-footer address { font-style: normal; margin: 1.6em 0 1.8em; }
.foot-links { list-style: none; margin: 0 0 2.5em; padding: 0; }
.foot-legal { list-style: none; margin: 0; padding: 0; font-size: 0.7rem; line-height: 1.6; }
.foot-legal a { display: inline-block; padding: 5px 4px; } /* 24px tap target */

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