/* ==========================================================================
   Heat for Health Collaboration — design tokens
   Reused across every page of the site. Keep header/footer markup and
   these tokens consistent when adding About / The Pilot / The Conference /
   Get Involved pages later.
   ========================================================================== */

:root {
  --charcoal: #1B1613;
  --brick: #A62A2E;
  --oxblood: #6B1B1D;
  --gold: #D9A441;
  --sage: #E4E8E0;
  --input-bg: #241D18;

  --font-heading: 'Piazzolla', Georgia, 'Times New Roman', serif;
  --font-body: 'Public Sans', Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --content-width: 640px;
  --wide-width: 1040px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--sage);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--brick);
}

a:hover,
a:focus-visible {
  color: var(--gold);
}

.wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap--wide {
  max-width: var(--wide-width);
}

/* --------------------------------------------------------------------
   Header
   -------------------------------------------------------------------- */

.site-header {
  padding: 48px 0 0;
}

.brand {
  display: inline-flex;
  text-decoration: none;
}

.brand__logo {
  display: block;
  height: 72px;
  width: auto;
}

/* --------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------- */

.hero {
  padding: 96px 0 64px;
}

.hero__wrap {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  align-items: start;
  gap: 40px 64px;
}

.hero__media {
  justify-self: center;
  width: 100%;
  margin-top: -24px;
}

.hero__image {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
}

@media (max-width: 860px) {
  .hero {
    padding-top: 32px;
  }

  .hero__wrap {
    grid-template-columns: 1fr;
  }

  .hero__media {
    margin-top: 0;
    order: -1;
  }
}

.hero__headline {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brick);
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
}

.hero__body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--sage);
  opacity: 0.9;
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 48px;
  max-width: 56ch;
}

/* --------------------------------------------------------------------
   Mailchimp signup form — restyled to match the dark theme.
   Only presentation is touched here; markup, form action, honeypot
   field and validation script stay untouched in index.html.
   -------------------------------------------------------------------- */

#mc_embed_shell {
  font-family: var(--font-body);
}

#mc_embed_signup {
  background: transparent;
  clear: left;
  width: 100%;
}

#mc_embed_signup form {
  padding: 0;
  display: block;
}

#mc_embed_signup .indicates-required {
  font-size: 0.8rem;
  color: var(--sage);
  opacity: 0.6;
  text-align: left;
  margin-bottom: 20px;
}

#mc_embed_signup .asterisk {
  color: var(--gold);
}

#mc_embed_signup .mc-field-group {
  display: block;
  margin-bottom: 16px;
}

#mc_embed_signup label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sage);
  opacity: 0.85;
  margin-bottom: 6px;
}

#mc_embed_signup input[type="email"],
#mc_embed_signup input[type="text"] {
  width: 100%;
  padding: 13px 14px;
  background: var(--input-bg);
  border: 1px solid rgba(227, 228, 221, 0.18);
  border-radius: 4px;
  color: var(--sage);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s ease;
}

#mc_embed_signup input[type="email"]::placeholder,
#mc_embed_signup input[type="text"]::placeholder {
  color: var(--sage);
  opacity: 0.4;
}

#mc_embed_signup input[type="email"]:focus,
#mc_embed_signup input[type="text"]:focus {
  outline: none;
  border-color: var(--gold);
}

#mc_embed_signup input.mce_inline_error {
  border-color: var(--brick);
}

#mc_embed_signup label.mce_inline_error {
  color: var(--brick);
  opacity: 1;
  font-weight: 400;
  font-size: 0.8rem;
  margin-top: -10px;
  margin-bottom: 14px;
}

#mc_embed_signup div.mce_inline_error {
  background: transparent;
  padding: 0;
  margin-top: -10px;
  margin-bottom: 14px;
}

#mc_embed_signup #mce-responses {
  margin: 8px 0 0;
}

#mc_embed_signup .response {
  font-size: 0.9rem;
  margin: 0 0 16px;
}

#mc_embed_signup #mce-error-response {
  color: var(--brick);
}

#mc_embed_signup #mce-success-response {
  color: var(--gold);
}

#mc_embed_signup .clear.foot {
  margin-top: 20px;
}

#mc_embed_signup .button,
#mc_embed_signup input#mc-embedded-subscribe {
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  width: auto;
  background: var(--gold);
  color: var(--charcoal);
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  cursor: pointer;
}

#mc_embed_signup .button:focus-visible,
#mc_embed_signup input#mc-embedded-subscribe:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--sage);
  opacity: 0.55;
  max-width: 48ch;
  margin: 16px 0 0;
  line-height: 1.6;
}

/* --------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------- */

.site-footer {
  padding: 64px 0 48px;
  margin-top: 48px;
  border-top: 1px solid rgba(227, 228, 221, 0.1);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.9rem;
}

.site-footer__name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--sage);
  opacity: 0.8;
}

.site-footer__contact {
  color: var(--sage);
  opacity: 0.7;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.site-footer__contact:hover,
.site-footer__contact:focus-visible {
  color: var(--gold);
  border-bottom-color: currentColor;
}

@media (max-width: 480px) {
  .hero {
    padding: 32px 0 48px;
  }
}
