:root {
  --bg: #0a0d16;
  --bg-light: #141a2b;
  --cream: #f5f1e8;
  --yellow: #ffd700;
  --pink: #ff2e63;
  --cyan: #08d9d6;
  --ink: #0a0d16;
}

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

html,
body {
  width: 100%;
  margin: 0;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 16% 12%, rgba(8, 217, 214, 0.09), transparent 28%),
    radial-gradient(circle at 88% 88%, rgba(255, 46, 99, 0.08), transparent 31%),
    var(--bg);
  color: var(--cream);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(245, 241, 232, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 232, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(245, 241, 232, 0.12) 0 0.6px, transparent 0.8px),
    radial-gradient(circle at 70% 65%, rgba(245, 241, 232, 0.09) 0 0.5px, transparent 0.7px);
  background-position: 0 0, 7px 11px;
  background-size: 13px 17px, 19px 23px;
  content: "";
  pointer-events: none;
}

.skip-link {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 10;
  padding: 0.65rem 1rem;
  border-radius: 0 0 6px 6px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

.page-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(0.6rem, 2vh, 1.5rem);
  width: min(100%, 1440px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(0.85rem, 2.6vw, 2.5rem) clamp(1rem, 4vw, 4.5rem);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  color: var(--cream);
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.wordmark > span:first-child {
  color: var(--cyan);
  font-size: 0.62em;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.wordmark .wordmark__dot {
  color: var(--pink);
}

.service-label,
.eyebrow,
.support-card__label,
.site-footer {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-label {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin: 0;
  color: rgba(245, 241, 232, 0.7);
  font-size: clamp(0.62rem, 1.1vw, 0.75rem);
  font-weight: 600;
}

.service-label__pulse {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(8, 217, 214, 0.45);
  animation: pulse 2.4s ease-out infinite;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  gap: clamp(1.2rem, 5vw, 6rem);
  align-items: center;
  min-height: 0;
}

.intro {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 clamp(0.45rem, 1.5vh, 1rem);
  color: var(--cyan);
  font-size: clamp(0.62rem, 1vw, 0.78rem);
  font-weight: 700;
}

h1 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(3rem, min(7.4vw, 12vh), 7rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.title-small {
  display: block;
  margin-bottom: 0.2em;
  color: var(--cream);
  font-size: 0.32em;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.title-big {
  color: var(--yellow);
  font-size: 1.23em;
  font-weight: 800;
}

.title-dot {
  color: var(--pink);
}

.programme-copy {
  max-width: 54ch;
  margin: clamp(0.75rem, 2.5vh, 1.8rem) 0 0;
  color: rgba(245, 241, 232, 0.78);
  font-size: clamp(0.85rem, min(1.18vw, 2.2vh), 1.08rem);
  line-height: 1.55;
}

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: clamp(0.7rem, 2vh, 1.35rem);
}

.fact-row span {
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(245, 241, 232, 0.16);
  border-radius: 99px;
  color: rgba(245, 241, 232, 0.78);
  background: rgba(245, 241, 232, 0.04);
  font-size: clamp(0.65rem, 0.9vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.support-card {
  position: relative;
  width: 100%;
  max-width: 34rem;
  justify-self: end;
  padding: clamp(1.25rem, min(3vw, 4vh), 2.5rem);
  overflow: hidden;
  clip-path: polygon(2.2% 0, 100% 3.2%, 97.5% 100%, 0 96.5%);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), transparent 44%),
    var(--cream);
  color: var(--ink);
  filter: drop-shadow(14px 18px 0 rgba(8, 217, 214, 0.15));
}

.support-card::before {
  position: absolute;
  top: 0;
  right: 8%;
  width: 28%;
  height: 0.45rem;
  background: var(--pink);
  content: "";
  transform: rotate(2deg);
}

.support-card__label {
  margin: 0 0 clamp(0.45rem, 1.4vh, 0.85rem);
  color: #5a5860;
  font-size: clamp(0.58rem, 0.9vw, 0.7rem);
  font-weight: 700;
}

.support-card h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(1.9rem, min(3.5vw, 6vh), 3.5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.97;
}

.support-card__intro {
  max-width: 40ch;
  margin: clamp(0.55rem, 1.6vh, 1rem) 0;
  color: #4d4c52;
  font-size: clamp(0.76rem, min(1vw, 1.85vh), 0.93rem);
  line-height: 1.45;
}

.support-list {
  display: grid;
  gap: clamp(0.25rem, 0.8vh, 0.55rem);
  margin: 0 0 clamp(0.75rem, 2vh, 1.35rem);
  padding: 0;
  list-style: none;
}

.support-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(0.76rem, min(1vw, 1.8vh), 0.9rem);
  font-weight: 600;
}

.support-list span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border-radius: 50%;
  background: var(--cyan);
  font-size: 0.62rem;
  font-weight: 800;
}

.support-list li:nth-child(2) span {
  background: var(--yellow);
}

.support-list li:nth-child(3) span {
  background: var(--pink);
}

.email-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 3.1rem;
  padding: 0.75rem 0.9rem 0.75rem 1.1rem;
  border: 2px solid var(--ink);
  border-radius: 7px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--pink);
  cursor: pointer;
  font: inherit;
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.email-button:hover {
  background: #ffe33f;
  box-shadow: 7px 7px 0 var(--pink);
  transform: translate(-2px, -2px);
}

.email-button:active {
  box-shadow: 2px 2px 0 var(--pink);
  transform: translate(3px, 3px);
}

.email-button:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.email-button__arrow {
  font-size: 1.35em;
  line-height: 1;
}

.email-note {
  min-height: 1.1em;
  margin: 0.75rem 0 0;
  color: #66636a;
  font-size: clamp(0.62rem, 0.9vw, 0.72rem);
  line-height: 1.35;
}

.site-footer {
  gap: 1rem;
  color: rgba(245, 241, 232, 0.42);
  font-size: clamp(0.54rem, 0.78vw, 0.65rem);
  font-weight: 600;
}

.site-footer__status {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.site-footer__status i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--yellow);
}

.confetti {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.piece {
  position: absolute;
  display: block;
  width: clamp(0.45rem, 0.9vw, 0.8rem);
  aspect-ratio: 1;
  opacity: 0.62;
  animation: drift 7s ease-in-out infinite alternate;
}

.piece--circle {
  border-radius: 50%;
  background: var(--yellow);
}

.piece--square {
  border: 2px solid var(--cyan);
  transform: rotate(18deg);
}

.piece--bar {
  width: clamp(1.2rem, 2vw, 2rem);
  height: 0.35rem;
  background: var(--pink);
  transform: rotate(-28deg);
}

.piece--triangle {
  width: 0;
  border-right: 0.48rem solid transparent;
  border-bottom: 0.82rem solid var(--cyan);
  border-left: 0.48rem solid transparent;
}

.piece--cross::before,
.piece--cross::after {
  position: absolute;
  top: 44%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--yellow);
  content: "";
}

.piece--cross::after {
  transform: rotate(90deg);
}

.piece:nth-child(1) { top: 13%; left: 3%; animation-delay: -1s; }
.piece:nth-child(2) { top: 72%; left: 5%; animation-delay: -5s; }
.piece:nth-child(3) { top: 8%; left: 44%; animation-delay: -3s; }
.piece:nth-child(4) { top: 89%; left: 33%; animation-delay: -6s; }
.piece:nth-child(5) { top: 24%; left: 92%; animation-delay: -2s; }
.piece:nth-child(6) { top: 83%; left: 91%; animation-delay: -4s; }
.piece:nth-child(7) { top: 49%; left: 54%; animation-delay: -7s; }
.piece:nth-child(8) { top: 61%; left: 46%; animation-delay: -3.5s; }
.piece:nth-child(9) { top: 4%; left: 76%; animation-delay: -1.5s; }
.piece:nth-child(10) { top: 94%; left: 72%; animation-delay: -4.5s; }

.noscript-message {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 20;
  margin: 0;
  padding: 0.8rem 1rem;
  border: 2px solid var(--pink);
  background: var(--cream);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 0.55rem rgba(8, 217, 214, 0); }
  100% { box-shadow: 0 0 0 0 rgba(8, 217, 214, 0); }
}

@keyframes drift {
  from { translate: 0 -0.3rem; rotate: -4deg; }
  to { translate: 0 0.8rem; rotate: 7deg; }
}

@media (max-width: 760px) {
  .page-shell {
    gap: clamp(0.4rem, 1.2vh, 0.75rem);
    padding: clamp(0.7rem, 2.2vh, 1rem) clamp(0.8rem, 4vw, 1.25rem);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: clamp(0.65rem, 2vh, 1.2rem);
    align-content: center;
  }

  .intro {
    text-align: center;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.5rem, min(13vw, 8vh), 4.7rem);
  }

  .title-small {
    margin-bottom: 0.08em;
  }

  .programme-copy {
    max-width: 43rem;
    margin-right: auto;
    margin-left: auto;
  }

  .fact-row {
    justify-content: center;
  }

  .support-card {
    max-width: 38rem;
    justify-self: center;
    padding: clamp(1rem, min(4vw, 2.5vh), 1.45rem);
    clip-path: polygon(1.4% 0, 100% 2%, 98.5% 100%, 0 98%);
    text-align: left;
  }

  .support-card h2 {
    max-width: none;
  }

  .support-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
  }

  .support-list li {
    align-items: flex-start;
    gap: 0.35rem;
    line-height: 1.25;
  }

  .support-list span {
    width: 1.65rem;
    height: 1.65rem;
    flex-basis: 1.65rem;
  }
}

@media (max-width: 480px) {
  .service-label {
    letter-spacing: 0.06em;
  }

  .eyebrow {
    margin-bottom: 0.25rem;
  }

  .programme-copy {
    font-size: clamp(0.72rem, 3.4vw, 0.88rem);
    line-height: 1.35;
  }

  .fact-row span {
    padding: 0.3rem 0.48rem;
  }

  .support-card__intro {
    margin: 0.4rem 0;
  }

  .support-list {
    margin-bottom: 0.65rem;
  }

  .support-list li {
    display: grid;
    grid-template-columns: 1fr;
    font-size: 0.68rem;
  }

  .email-button {
    min-height: 2.7rem;
  }

  .email-note {
    margin-top: 0.5rem;
  }

  .site-footer {
    justify-content: center;
  }

  .site-footer__status {
    display: none;
  }
}

@media (max-height: 650px) {
  .programme-copy {
    line-height: 1.35;
  }

  .fact-row {
    margin-top: 0.55rem;
  }

  .support-card__intro {
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
  }

  .support-list {
    margin-bottom: 0.65rem;
  }

  .email-note {
    margin-top: 0.45rem;
  }
}

@media (max-height: 560px) and (max-width: 760px) {
  .fact-row,
  .email-note,
  .site-footer {
    display: none;
  }

  .page-shell {
    grid-template-rows: auto minmax(0, 1fr);
  }

  .programme-copy {
    margin-top: 0.35rem;
  }

  .support-card__label {
    margin-bottom: 0.25rem;
  }

  .support-list span {
    width: 1.4rem;
    height: 1.4rem;
    flex-basis: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
