:root {
  color-scheme: dark;
  --void: #050d18;
  --void-2: #0b1724;
  --ink: #101820;
  --paper: #f3efe6;
  --paper-2: #e8dfce;
  --white: #ffffff;
  --mist: rgba(255, 255, 255, 0.74);
  --muted: #68645c;
  --line: rgba(5, 13, 24, 0.15);
  --light-line: rgba(255, 255, 255, 0.2);
  --amber: #f2a04b;
  --amber-2: #ffd28a;
  --teal: #6ee7df;
  --blue: #6aa8ff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--void);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--void);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px clamp(18px, 4vw, 54px);
  color: var(--white);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 820;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 210, 138, 0.68);
  color: var(--amber-2);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand-name {
  max-width: 280px;
  line-height: 1.15;
}

.nav {
  gap: clamp(14px, 2.2vw, 28px);
  font-size: 14px;
  font-weight: 780;
}

.nav a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--white);
}

.menu-toggle {
  display: none;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 210, 138, 0.65);
  border-radius: 4px;
  background: rgba(5, 13, 24, 0.92);
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.menu-icon {
  display: grid;
  width: 20px;
  gap: 4px;
}

.menu-icon i {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--amber-2);
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 93vh;
  overflow: hidden;
  align-items: end;
  background: var(--void);
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(1.04) brightness(0.92);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 13, 24, 0.98) 0%, rgba(5, 13, 24, 0.88) 34%, rgba(5, 13, 24, 0.24) 72%),
    linear-gradient(0deg, rgba(5, 13, 24, 0.96) 0%, transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 164px 0 122px;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: #96602a;
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow,
.light .section-label,
.night-band .section-label {
  color: var(--amber-2);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.98;
}

h1 {
  max-width: 1000px;
  margin-bottom: 24px;
  font-size: clamp(3.45rem, 8.2vw, 7.4rem);
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.13rem;
  line-height: 1.22;
}

.hero-copy {
  max-width: 890px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.05rem, 1.7vw, 1.34rem);
}

.hero-actions,
.charity-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none;
}

.button.primary {
  background: var(--amber);
  color: #1b1005;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.button.dark {
  background: var(--void);
  color: var(--white);
}

.button.dark-outline {
  border-color: rgba(5, 13, 24, 0.24);
  color: var(--void);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 126px) 0;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: 100%;
  max-width: none;
  padding: 0;
  background: var(--line);
}

.signal-strip div {
  padding: clamp(22px, 4vw, 42px);
  background: var(--paper);
}

.signal-strip span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.signal-strip strong {
  display: block;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.split,
.questions,
.take-grid,
.charity-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(34px, 7vw, 88px);
  align-items: start;
}

.lead-prose,
.question-list,
.take-copy,
.charity-copy {
  color: #292820;
  font-size: clamp(1.07rem, 1.45vw, 1.25rem);
}

.lead-prose p:last-child,
.section-heading p:last-child,
.charity-copy p:last-child,
.closing p:last-of-type,
.site-footer p {
  margin-bottom: 0;
}

.night-band,
.links-band {
  background:
    radial-gradient(circle at 78% 12%, rgba(106, 168, 255, 0.18), transparent 24%),
    linear-gradient(45deg, rgba(242, 160, 75, 0.11), transparent 45%),
    var(--void);
  color: var(--white);
}

.night-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading.light p,
.night-band p,
.links-band p {
  color: var(--mist);
}

.value-grid,
.partner-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.value-grid article,
.partner-grid article {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  padding: 24px;
}

.value-grid article {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
}

.value-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.value-grid p,
.partner-grid p {
  margin-bottom: 0;
  color: rgba(5, 13, 24, 0.72);
}

.value-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.questions {
  border-top: 1px solid var(--line);
}

.question-list p {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  margin-bottom: 0;
}

.take-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.take-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.take-links a {
  min-height: 66px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  color: var(--void);
  font-weight: 850;
  text-decoration: none;
}

.take-links a:hover,
.take-links a:focus-visible {
  border-color: rgba(242, 160, 75, 0.74);
  background: var(--white);
}

.charity-band {
  background: var(--paper-2);
}

.charity-copy a:not(.button) {
  font-weight: 850;
}

.resource-grid a {
  min-height: 60px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-weight: 820;
  text-decoration: none;
}

.resource-grid a:hover,
.resource-grid a:focus-visible {
  border-color: rgba(255, 210, 138, 0.64);
  background: rgba(255, 255, 255, 0.13);
}

.closing {
  max-width: 900px;
  text-align: center;
}

.closing p {
  color: #333128;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
}

.closing-actions {
  justify-content: center;
}

.site-footer {
  padding: clamp(42px, 6vw, 78px) clamp(20px, 4vw, 56px) 30px;
  background: var(--void);
  color: var(--white);
}

.footer-brand {
  display: flex;
  max-width: var(--max);
  align-items: center;
  gap: 16px;
  margin: 0 auto 32px;
}

.footer-brand strong {
  font-size: 22px;
}

.footer-brand strong a {
  color: inherit;
  text-decoration: none;
}

.footer-brand p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  max-width: var(--max);
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 0 auto 36px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

.third-party-note,
.copyright {
  max-width: var(--max);
  margin: 0 auto 18px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}

.copyright {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  h1 {
    font-size: clamp(3.1rem, 11vw, 6rem);
  }

  .split,
  .night-grid,
  .questions,
  .take-grid,
  .charity-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    align-items: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 30;
  }

  .has-menu .nav {
    position: fixed;
    inset: 0;
    z-index: 25;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 86px 28px 36px;
    background: rgba(5, 13, 24, 0.98);
  }

  .has-menu .nav.open {
    display: flex;
  }

  .nav a {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 1.2rem;
  }

  .hero {
    min-height: 95vh;
  }

  .hero-content {
    width: min(var(--max), calc(100% - 32px));
    padding: 138px 0 110px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3.3rem);
  }

  .signal-strip,
  .value-grid,
  .partner-grid,
  .take-links,
  .resource-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand-name {
    max-width: 190px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero-actions,
  .charity-actions,
  .closing-actions {
    display: grid;
  }
}
