/* Music with Confidence - holding page, version 3 */

:root {
  --pink: #ff1fa9;
  --pink-deep: #e0068f;
  --lilac: #e2a9f1;
  --lilac-soft: #f4def9;
  --ink: #0a0a0a;
  --paper: #f8f8f8;
  --white: #ffffff;
  --muted: #4a4a4a;

  --font: "Jost", "Futura", "Century Gothic", "Trebuchet MS", system-ui, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 28px;
  --section: clamp(56px, 9vw, 112px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
strong { font-weight: 700; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; left: 8px; top: -60px;
  background: var(--ink); color: var(--white);
  padding: 10px 16px; border-radius: 8px; z-index: 10;
  text-decoration: none;
}
.skip:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

/* ---------- Shared bits ---------- */

.burst { display: block; width: 56px; height: 56px; flex: none; }
.burst--pink { fill: var(--pink); }
.burst--lilac { fill: var(--lilac); }

.wordmark {
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.01em;
  font-size: clamp(3rem, 8.5vw, 6.25rem);
}
.wordmark span { display: block; }
.wordmark--sm { font-size: 1.35rem; line-height: 1.1; }

.section-title {
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  margin-bottom: 0.9em;
}

.eyebrow {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.2;
  margin-bottom: 1.2em;
  padding-right: 64px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1.0625rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--pink { background: var(--pink); color: var(--ink); }
.btn--pink:hover { background: var(--ink); color: var(--white); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--lg { font-size: clamp(1rem, 2.6vw, 1.25rem); padding: 16px 32px; overflow-wrap: anywhere; }

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

.hero { background: var(--paper); padding-block: clamp(24px, 5vw, 64px) var(--section); }

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero__text { order: -1; }

.hero__media { position: relative; max-width: 560px; }
.hero__media img {
  position: relative;
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.hero__blob {
  position: absolute;
  left: -14px; right: 22%; bottom: -18px;
  height: 46%;
  background: var(--pink);
  border-radius: var(--radius) var(--radius) var(--radius) var(--radius);
}

.hero__strap {
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.3;
  margin-top: 0.9em;
}
.hero__lede {
  margin-top: 0.6em;
  color: var(--muted);
  max-width: 34ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }

@media (min-width: 860px) {
  .hero__inner { grid-template-columns: 1fr 1fr; }
  .hero__text { order: 0; text-align: right; }
  .hero__lede { margin-left: auto; }
  .hero__actions { justify-content: flex-end; }
}

/* ---------- Why ---------- */

.why { padding-bottom: var(--section); }

.why__grid {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

.why__panel {
  position: relative;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 52px);
}
.why__burst { position: absolute; top: clamp(22px, 4vw, 40px); right: clamp(22px, 4vw, 40px); }
.why__intro { color: #d6d6d6; margin-bottom: 0.6em; }

.quotes li {
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  line-height: 1.3;
  font-weight: 300;
  padding: 0.35em 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.quotes li:last-child { border-bottom: 0; }

.why__turn {
  margin-top: 1.4em;
  display: inline-block;
  background: var(--pink);
  color: var(--ink);
  padding: 8px 18px;
  border-radius: 16px;
}

.why__copy p + p { margin-top: 1em; }
.why__copy .big {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  margin-bottom: 1.1em;
}

.flow {
  margin-top: 2.2em;
  display: grid;
  gap: 0;
  justify-items: start;
}
.flow li {
  display: flex; align-items: center; gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
  font-size: 1.05rem;
}
.flow .burst { width: 30px; height: 30px; }
.flow li + li { position: relative; margin-top: 46px; }
.flow li + li::before {
  content: "";
  position: absolute;
  left: 0; top: -42px;
  width: 30px; height: 38px;
  background: var(--lilac);
  clip-path: polygon(30% 0, 70% 0, 70% 55%, 100% 55%, 50% 100%, 0 55%, 30% 55%);
}

@media (min-width: 960px) {
  .why__grid { grid-template-columns: 1.05fr 1fr; }
}

/* ---------- Teachers gain ---------- */

.gain {
  background: var(--white);
  padding-block: var(--section);
}
.ticks {
  display: grid;
  gap: 14px 40px;
}
.ticks li {
  position: relative;
  padding: 18px 20px 18px 64px;
  background: var(--paper);
  border-radius: 18px;
  font-size: 1.125rem;
  line-height: 1.4;
}
.ticks li::before {
  content: "";
  position: absolute; left: 20px; top: 50%;
  width: 28px; height: 28px; margin-top: -14px;
  border-radius: 50%;
  background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230a0a0a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
@media (min-width: 700px) { .ticks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .ticks { grid-template-columns: repeat(3, 1fr); } }

/* ---------- About ---------- */

.about { padding-block: var(--section); }
.about__grid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}
.about__card {
  background: var(--pink);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 52px);
}
.about__card p + p { margin-top: 1em; }
.creds {
  margin-top: 1.6em;
  padding-top: 1.4em;
  border-top: 2px solid rgba(10,10,10,.25);
  display: grid; gap: 8px;
}
.creds li { position: relative; padding-left: 26px; line-height: 1.4; }
.creds li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--ink);
}

.about__quote { position: relative; padding: clamp(8px, 2vw, 24px); }
.about__photo {
  position: relative;
  width: clamp(180px, 40vw, 260px);
  max-width: 100%;
  margin-bottom: 32px;
}
.about__photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--white);
  box-shadow: 0 0 0 3px var(--pink);
}
.about__photo .burst {
  position: absolute;
  right: -6px; bottom: 6px;
  width: 64px; height: 64px;
}
.about__quote blockquote p {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.3;
  font-weight: 300;
}
.about__quote blockquote p + p { margin-top: 0.5em; }
.about__quote blockquote .em { font-weight: 500; }
.about__quote figcaption {
  margin-top: 1.4em;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1.1fr 1fr; }
}

/* ---------- Pilot ---------- */

.pilot {
  background: var(--ink);
  color: var(--white);
  padding-block: var(--section);
  text-align: center;
}
.pilot__inner { max-width: calc(760px + var(--gutter) * 2); }
.pilot__burst { width: 64px; height: 64px; margin: 0 auto 24px; }
.pilot__title {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(2.1rem, 6vw, 3.75rem);
  line-height: 1.05;
  margin-bottom: 0.6em;
}
.pilot p + p { margin-top: 1em; }
.pilot p { color: #e4e4e4; }
.pilot strong { color: var(--white); }
.pilot__ask {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  color: var(--white) !important;
  margin: 1.6em 0 1em !important;
}
.pilot .btn--pink:hover { background: var(--white); color: var(--ink); }

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

.footer {
  background: var(--ink);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 40px;
}
.footer__inner {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: flex-end;
  gap: 28px;
}
.footer a { text-decoration: none; border-bottom: 1px solid var(--pink); }
.footer a:hover { color: var(--pink); }
.footer__small { font-size: 0.9rem; color: #b5b5b5; margin-top: 6px; }
.footer__mark { text-align: right; }

@media (max-width: 560px) {
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__mark { text-align: left; order: -1; }
}

/* =========================================================
   Version 3 additions: a little more movement and music,
   on top of the leaflet-led base above.
   ========================================================= */

.pink { color: var(--pink); }
.spin { animation: spin 22s linear infinite; }
.spin-slow { animation: spin 45s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero: faint stave and a turning burst */
.hero { position: relative; overflow: hidden; }
.hero__stave {
  position: absolute; left: 0; right: 0; bottom: 4%;
  width: 100%; height: clamp(110px, 16vw, 200px);
  color: var(--lilac);
  opacity: .7;
  pointer-events: none;
}
.hero__inner { position: relative; }
.hero__burst {
  position: absolute; top: -20px; right: -14px;
  width: clamp(64px, 10vw, 96px); height: clamp(64px, 10vw, 96px);
}
.hero__text > *, .hero__media { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero__text > :nth-child(2) { animation-delay: .08s; }
.hero__text > :nth-child(3) { animation-delay: .16s; }
.hero__text > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(16px); opacity: .001; } to { transform: none; opacity: 1; } }
.btn:hover { transform: translateY(-2px); }

/* Ticker */
.ticker {
  background: var(--ink);
  color: var(--lilac);
  overflow: hidden;
  padding-block: 14px;
}
.ticker__track {
  display: flex; align-items: center; gap: 26px;
  width: max-content;
  animation: ticker 45s linear infinite;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap;
}
.ticker .burst { width: 16px; height: 16px; fill: var(--pink); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Why */
.why { padding-top: var(--section); }
.why__turn { border-radius: 16px; }
.why__copy .big mark {
  background: linear-gradient(transparent 60%, var(--lilac) 60%, var(--lilac) 92%, transparent 92%);
  color: inherit;
  padding: 0 .06em;
}

.why { padding-bottom: var(--section); }

/* Teachers gain: a touch more life */
.ticks li { border: 2px solid transparent; transition: transform .3s, border-color .3s; }
.ticks li:hover { transform: translateY(-3px); border-color: var(--lilac); }

/* About: portrait with turning ring */
.about__grid { align-items: start; }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1.1fr 0.9fr; } }
.about__side { display: grid; gap: clamp(32px, 4vw, 48px); justify-items: center; min-width: 0; }
.portrait {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1 / 1;
}
.portrait__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.portrait__ring text { font-family: var(--font); font-weight: 600; font-size: 14px; letter-spacing: .12em; fill: var(--ink); }
.portrait picture { position: absolute; inset: 14%; display: block; }
.portrait__img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--pink);
}

.pullquote { width: 100%; }
.pullquote blockquote {
  position: relative;
  border-left: 6px solid var(--pink);
  padding: 8px 0 8px clamp(20px, 4vw, 40px);
}
.pullquote p { font-size: clamp(1.3rem, 2.4vw, 1.65rem); line-height: 1.3; font-weight: 300; }
.pullquote__end { margin-top: .4em; font-weight: 500 !important; }
.pullquote figcaption {
  margin-top: 1.2em;
  padding-left: clamp(26px, 4.4vw, 46px);
  font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
}

/* Pilot: copy plus a stamp */
.pilot { text-align: left; overflow: hidden; }
.pilot__inner { max-width: none; }
.pilot__grid { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
.pilot__burst { display: none; }
.pilot__copy p { max-width: 56ch; }
@media (min-width: 900px) { .pilot__grid { grid-template-columns: 1.5fr 1fr; } }
.stamp { position: relative; width: min(72vw, 300px); aspect-ratio: 1 / 1; justify-self: center; }
.stamp__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.stamp__ring text { font-family: var(--font); font-weight: 600; font-size: 17px; letter-spacing: .1em; fill: var(--lilac); }
.stamp__core {
  position: absolute; inset: 19%;
  border-radius: 50%;
  background: var(--pink); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  transform: rotate(-8deg);
}
.stamp__big { font-weight: 700; text-transform: uppercase; font-size: clamp(2.4rem, 7vw, 3.2rem); line-height: .9; letter-spacing: .02em; }
.stamp__small { text-transform: uppercase; letter-spacing: .1em; font-weight: 600; font-size: .9rem; margin-top: 4px; }

main > section, .footer { overflow-x: clip; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
