@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500;1,600&family=Inter:wght@400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --navy: #0c1922;
  --graphite: #24282b;
  --ivory: #f2efe7;
  --brass: #b3914e;
  --steel: #68727a;
  --rust: #a24e3f;
  --line: #cfcac0;
  --white: #ffffff;
  --measure: 70rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; background: var(--ivory); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--graphite);
  font-family: Inter, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; }
.shell { width: min(calc(100% - 2.5rem), var(--measure)); margin-inline: auto; }

.site-header { color: var(--ivory); background: var(--navy); }
.site-header .shell { min-height: 6.625rem; display: flex; align-items: center; border-bottom: 1px solid rgba(242, 239, 231, .2); }
.wordmark { display: inline-flex; align-items: center; gap: .625rem; color: var(--ivory); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; line-height: 1; }
.wordmark-mark { width: 1.5625rem; height: 1.5625rem; display: grid; place-items: center; color: var(--navy); background: var(--brass); font-family: Georgia, serif; font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.wordmark-accent { color: var(--brass); }

.hero { position: relative; overflow: hidden; padding: 6.75rem 0 5.25rem; color: var(--ivory); background: var(--navy); }
.hero::before { content: ""; position: absolute; right: -19rem; bottom: -34rem; width: min(68vw, 54rem); aspect-ratio: 1; border: 1px solid rgba(179, 145, 78, .28); border-radius: 50%; box-shadow: 0 0 0 3.25rem rgba(179,145,78,.035), 0 0 0 6.5rem rgba(179,145,78,.025); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 3.5rem; }
.eyebrow { margin: 0 0 1.3125rem; color: var(--brass); font-size: .625rem; line-height: 1.2; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: -.045em; }
h1 { max-width: 14ch; margin: 0; font-size: clamp(4rem, 8vw, 6.7rem); line-height: .92; }
.lead { max-width: 39rem; margin: 2.375rem 0 0; font-size: 1.1875rem; line-height: 1.48; font-weight: 400; }
.support { max-width: 42rem; margin: 1.25rem 0 0; color: rgba(242,239,231,.74); }
.hero-aside { align-self: end; padding-top: 1.35rem; border-top: 1px solid rgba(242,239,231,.25); }
.hero-aside::before { content: ""; display: block; width: 23%; height: 1px; margin-top: -1.4rem; background: var(--brass); }
.criteria { list-style: none; padding: 1.35rem 0 0; margin: 0 0 1.75rem; }
.criteria li { position: relative; padding: .72rem 0 .72rem 1.2rem; border-bottom: 1px solid rgba(242,239,231,.16); font-size: .875rem; line-height: 1.58; }
.criteria li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: .32rem; height: .32rem; background: var(--brass); }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem 1.2rem; align-items: center; }
.button { appearance: none; display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.125rem; padding: 1.25rem 1.75rem; border: 1px solid var(--brass); border-radius: 0; background: var(--brass); color: var(--navy); font: 700 .75rem/1.3 Inter, Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; text-decoration: none; text-align: left; transition: background .18s ease, color .18s ease, transform .18s ease; }
.button::after { content: "→"; font-size: 1.2rem; line-height: 1; }
.button:hover { background: transparent; color: var(--ivory); transform: translateY(-2px); }
.microcopy { color: rgba(242,239,231,.7); font-size: .8125rem; }

.form-section { padding: 6.5rem 0; background: var(--ivory); scroll-margin-top: 0; }
.form-layout { display: grid; gap: 3rem; }
.context { max-width: 35rem; }
h2 { margin: 0 0 2rem; color: var(--navy); font-size: clamp(3rem, 6vw, 4.625rem); line-height: .92; }
.context p { margin: .8rem 0; max-width: 32rem; color: var(--graphite); font-size: 1rem; }
.form-card { min-width: 0; padding: .85rem; border: 1px solid var(--line); background: var(--white); }
tally-embed { display: block; width: 100%; min-width: 0; overflow: hidden; }
tally-embed iframe { display: block; width: 100%; min-width: 100%; min-height: 12.5rem; border: 0; overflow: hidden; }
.embed-error { padding: 2rem; }
.privacy-note { margin: 1.25rem 0 0; color: #43505a; font-size: .875rem; line-height: 1.55; }
.privacy-note a { color: var(--navy); font-weight: 700; text-decoration-color: var(--brass); text-decoration-thickness: 2px; text-underline-offset: .25rem; }

.site-footer { padding: 1.875rem 0; color: rgba(242,239,231,.78); background: var(--graphite); }
.footer-grid { display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; justify-content: space-between; font-size: .625rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.footer-brand { color: var(--ivory); }
.footer-grid a { width: fit-content; text-decoration: none; }
.footer-grid a:hover { color: var(--brass); }

.thank-page { min-height: 100vh; display: flex; flex-direction: column; color: var(--ivory); background: var(--navy); }
.thank-page .site-header { flex: 0 0 auto; }
.thank-you { position: relative; overflow: hidden; flex: 1; display: grid; align-items: center; padding: 6.5rem 0; }
.thank-you::before { content: ""; position: absolute; right: -19rem; bottom: -30rem; width: min(72vw, 55rem); aspect-ratio: 1; border: 1px solid rgba(179,145,78,.28); border-radius: 50%; box-shadow: 0 0 0 3.25rem rgba(179,145,78,.035), 0 0 0 6.5rem rgba(179,145,78,.025); }
.thank-you .shell { position: relative; z-index: 1; }
.thank-you-card { max-width: 48rem; padding-left: clamp(1.5rem, 5vw, 4rem); border-left: 2px solid var(--brass); }
.thank-you h1 { max-width: 11ch; }
.thank-you .support { color: rgba(242,239,231,.78); font-size: 1.0625rem; }
.thank-you .support + .support { margin-top: 1.25rem; }
.thank-you .button { max-width: 100%; margin-top: 1.3rem; }
.thank-page .site-footer { flex: 0 0 auto; }

@media (min-width: 48rem) {
  .shell { width: min(calc(100% - 5rem), var(--measure)); }
  .hero-grid { grid-template-columns: minmax(0, 1.55fr) minmax(18rem, .72fr); gap: 5.5rem; }
  .form-layout { grid-template-columns: minmax(15rem, .62fr) minmax(0, 1.38fr); gap: 5rem; align-items: start; }
  .context { position: sticky; top: 2rem; }
  .form-card { padding: 1.25rem; }
}

@media (max-width: 47.99rem) {
  body { font-size: .9375rem; }
  .shell { width: min(calc(100% - 2rem), var(--measure)); }
  .site-header .shell { min-height: 5.25rem; }
  .wordmark { gap: .5rem; font-size: .6875rem; }
  .wordmark-mark { width: 1.375rem; height: 1.375rem; font-size: .875rem; }
  .hero { padding: 5.7rem 0 4.5rem; }
  .hero::before { right: -17rem; bottom: -15rem; width: 31rem; }
  h1 { font-size: clamp(3.6rem, 17.5vw, 5rem); }
  .lead { margin-top: 1.8rem; font-size: 1.0625rem; }
  .button { width: 100%; }
  .microcopy { width: 100%; }
  .form-section { padding: 4.5rem 0; }
  .form-layout { gap: 2.35rem; }
  h2 { margin-bottom: 1.35rem; font-size: 2.75rem; }
  .form-card { margin-inline: -.25rem; }
  .footer-grid { justify-content: flex-start; gap: .5rem 1.05rem; }
  .thank-you { padding: 5rem 0; }
  .thank-you-card { padding-left: 1.65rem; }
  .thank-you h1 { font-size: clamp(3.45rem, 16vw, 4.8rem); }
}

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