/* Colors sampled from the foundation's supplied logo. */
:root {
  color-scheme: light;
  --yellow: #fae03a;
  --orange: #f35a29;
  --pale-yellow: #fdf8ab;
  --paper: #fffdf1;
  --ink: #49301e;
  --body-ink: #73543c;
  --hairline: #49301e26;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 280px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 7px;
  background: var(--yellow);
  z-index: 2;
}
::selection { background: var(--yellow); color: var(--ink); }
.svg-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.page-shell {
  width: min(100% - 112px, 1320px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0 25px;
  border-bottom: 1px solid var(--hairline);
}
.wordmark { display: flex; align-items: center; gap: 13px; }
.wordmark-icon { width: 44px; height: 44px; color: var(--orange); transform: rotate(-12deg); flex: 0 0 auto; }
.wordmark-type { display: flex; flex-direction: column; gap: 6px; }
.wordmark-name { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; font-weight: 700; letter-spacing: -.025em; }
.wordmark-foundation { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .24em; }
.header-note { color: var(--body-ink); font-size: .875rem; margin: 0; }
.hero {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 30px;
  align-items: center;
  flex: 1;
  padding: 58px 0 62px;
  min-height: 650px;
}
.hero-copy { padding: 5px 0; }
.eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 24px;
  text-transform: uppercase;
  font-size: .875rem;
  letter-spacing: .12em;
  font-weight: 650;
  line-height: 1.7;
  color: var(--body-ink);
}
.eyebrow span { display: block; width: 28px; height: 2px; background: var(--orange); flex: 0 0 auto; }
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5.5rem, 9.6vw, 9.5rem);
  font-weight: 400;
  letter-spacing: -.068em;
  line-height: .91;
  margin: 0 0 31px -7px;
}
h1 em { display: block; color: var(--orange); font-weight: 400; line-height: 1.07; }
.hero-description { max-width: 410px; }
.hero-description p { font-size: 1.0625rem; line-height: 1.75; color: var(--body-ink); margin: 0; }
.hero-description .lead { font-size: 1.1875rem; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.signoff { display: flex; align-items: center; gap: 11px; margin-top: 30px; }
.signoff svg { color: var(--orange); width: 23px; height: 24px; flex: 0 0 auto; }
.signoff p { font-size: .875rem; line-height: 1.6; color: var(--body-ink); margin: 0; }
.hero-art { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; isolation: isolate; margin-bottom: 100px; justify-self: end; }
.sun-disc {
  position: absolute;
  inset: 1.5%;
  border-radius: 50%;
  background: var(--pale-yellow);
  opacity: .58;
  z-index: -2;
}
.orbit { position: absolute; border: 1px solid #b48a3b40; border-radius: 50%; z-index: -1; }
.orbit-one { inset: 6%; border-right-color: transparent; border-bottom-color: transparent; }
.orbit-two { inset: -2%; border-color: transparent #b48a3b40 #b48a3b40 transparent; }
.logo-button {
  display: block;
  position: absolute;
  inset: 13%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  z-index: 1;
}
.logo-button:disabled { cursor: default; }
.logo-button:focus-visible { outline: 3px solid var(--ink); outline-offset: 9px; }
.logo-picture { display: block; width: 100%; pointer-events: none; user-select: none; }
.foundation-logo { display: block; width: 100%; height: auto; filter: drop-shadow(0 15px 20px #65431d19); }
.floating-butterfly { position: absolute; color: var(--orange); }
.butterfly-one { width: 17%; height: 17%; top: 1%; right: 0; transform: rotate(23deg); }
.butterfly-two { width: 12%; height: 12%; bottom: 6%; left: -1%; transform: rotate(-28deg); }
.flight-path { position: absolute; inset: -2%; width: 104%; height: 104%; fill: none; stroke: #c16b3b70; stroke-width: 1.2; stroke-dasharray: 4 7; stroke-linecap: round; }
.spark { position: absolute; color: var(--orange); }
.spark-one { top: 15%; left: 9%; font-size: 1.375rem; }
.spark-two { bottom: 12%; right: 8%; font-size: 1.75rem; }
.sun-disc, .orbit, .flight-path, .floating-butterfly, .spark { pointer-events: none; }
.butterfly-orbit-layer, .celebration-layer { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.butterfly-orbit-layer { opacity: 0; transition: opacity .24s ease; }
.hero-art.is-fluttering .butterfly-orbit-layer { opacity: 1; }
.orbiting-butterfly, .celebration-butterfly {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(25px, 4vw, 47px);
  aspect-ratio: 100 / 90;
  margin-left: calc(clamp(25px, 4vw, 47px) / -2);
  margin-top: calc(clamp(25px, 4vw, 47px) * -.45);
  will-change: transform;
}
.flutter-butterfly { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 3px 3px #7040211a); }
.flutter-wing { transform-box: view-box; transform-origin: 50px 45px; animation: wing-beat .26s ease-in-out infinite alternate; animation-play-state: paused; }
.is-fluttering .flutter-wing, .celebration-butterfly .flutter-wing { animation-play-state: running; }
.flutter-wing-right { animation-delay: -.02s; }
.celebration-sparkle { position: absolute; left: 50%; top: 50%; color: var(--orange); width: 24px; height: 24px; margin: -12px; font-size: 22px; line-height: 24px; text-align: center; }
.celebration-ripple { position: absolute; inset: 12%; border: 2px solid var(--orange); border-radius: 50%; opacity: 0; }
.logo-interaction { position: absolute; top: calc(100% + 16px); left: -2%; right: -2%; min-height: 30px; text-align: center; z-index: 4; }
.logo-hint { margin: 0; color: var(--body-ink); font-size: .875rem; line-height: 1.6; }
.touch-hint { display: none; }
.sound-stop {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 7px 15px;
  min-height: 44px;
  border: 1px solid #9b5f3a55;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
}
.sound-stop:hover { background: var(--pale-yellow); }
.sound-stop:focus-visible, .audio-help a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.sound-stop svg { width: 17px; height: 17px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.audio-help { margin: 8px 0 0; font-size: .875rem; color: var(--body-ink); }
.audio-help a { color: var(--ink); text-underline-offset: 3px; }
.no-script-melody { text-align: center; font-size: .875rem; }
.no-script-melody audio { display: block; max-width: 100%; margin: 10px auto; }
@keyframes wing-beat { from { transform: scaleX(1); } to { transform: scaleX(.3); } }
.site-footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--hairline); padding: 22px 0 26px; }
.site-footer p { margin: 0; font-size: .8125rem; line-height: 1.7; color: var(--body-ink); }
.site-footer .footer-note { font-family: Georgia, "Times New Roman", serif; font-size: .9375rem; font-style: italic; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: arrive .8s ease-out both; }
  .hero-art { animation: arrive 1s .1s ease-out both; }
  .is-fluttering .butterfly-one { animation: flutter 3.6s ease-in-out infinite; }
  .is-fluttering .butterfly-two { animation: flutter-small 3.2s ease-in-out infinite; }
  .foundation-logo { transition: filter .25s ease; }
  .logo-button:hover .foundation-logo { filter: drop-shadow(0 15px 22px #9b5f3a30); }
  @keyframes arrive { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
  @keyframes flutter { 0%, 100% { transform: translateY(0) rotate(23deg); } 50% { transform: translateY(-10px) rotate(15deg); } }
  @keyframes flutter-small { 0%, 100% { transform: translateY(0) rotate(-28deg); } 50% { transform: translateY(-8px) rotate(-18deg); } }
}

@media (prefers-reduced-motion: reduce) {
  .butterfly-orbit-layer { display: none; }
  .flutter-wing { animation: none; }
}

@media (hover: none) {
  .hover-hint { display: none; }
  .touch-hint { display: inline; }
}

@media (min-width: 1600px) {
  .hero { gap: 70px; }
}

@media (max-width: 1100px) {
  .page-shell { width: calc(100% - 72px); }
  .hero { gap: 24px; min-height: 600px; }
  .eyebrow { font-size: .875rem; letter-spacing: .06em; }
  .hero-description p { font-size: 1rem; }
  .hero-description .lead { font-size: 1.125rem; }
}

@media (max-width: 760px) {
  .page-shell { width: calc(100% - 40px); }
  .site-header { justify-content: center; padding: 26px 0 20px; }
  .wordmark-icon { width: 38px; height: 38px; }
  .wordmark-name { font-size: 1.125rem; }
  .wordmark-foundation { font-size: .75rem; letter-spacing: .22em; }
  .header-note { display: none; }
  .hero { grid-template-columns: 1fr; gap: 19px; text-align: center; padding: 34px 0 42px; min-height: 0; }
  .hero-art { grid-row: 1; width: min(76vw, 310px); margin-inline: auto; margin-bottom: 110px; justify-self: center; }
  .logo-interaction { left: -7%; right: -7%; top: calc(100% + 12px); }
  .logo-hint { font-size: .875rem; }
  .hero-copy { padding: 0; }
  .eyebrow { justify-content: center; font-size: .75rem; letter-spacing: .065em; margin-bottom: 16px; gap: 8px; }
  .eyebrow span { width: 19px; }
  h1 { font-size: clamp(4.8rem, 15vw, 6.3rem); line-height: 1; letter-spacing: -.065em; margin: 0 0 18px; }
  h1 em { display: inline; line-height: 1; }
  .hero-description { max-width: 410px; margin-inline: auto; }
  .hero-description p { font-size: 1rem; line-height: 1.75; }
  .hero-description .lead { font-size: 1.125rem; margin-bottom: 7px; }
  .signoff { justify-content: center; margin-top: 21px; gap: 8px; }
  .signoff p { font-size: .875rem; }
  .site-footer { flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 17px 0 22px; }
  .site-footer p { font-size: .75rem; }
  .site-footer .footer-note { font-size: .875rem; }
}

@media (max-width: 370px) {
  .page-shell { width: calc(100% - 32px); }
  .wordmark { gap: 9px; }
  .wordmark-name { font-size: 1rem; }
  .wordmark-icon { width: 32px; height: 32px; }
  .eyebrow { font-size: .75rem; letter-spacing: .02em; }
  h1 { font-size: 4.4rem; }
  .signoff p { font-size: .875rem; }
}

@media print {
  body::before, .orbit, .flight-path, .floating-butterfly, .spark { display: none; }
  .page-shell { width: 100%; min-height: auto; }
  .hero { min-height: 0; }
  .logo-interaction, .butterfly-orbit-layer, .celebration-layer, .no-script-melody { display: none; }
}
