/* Mini Minds UX preview: answer, trust, act.
   Loaded last. Everything here is additive; the approved courtyard, lettering, riders and button styles are unchanged. */

/* Hero: one line that answers "what is this, for whom, when" */
.courtyard-answer {
  position: absolute; left: 50%; top: 73.5%; transform: translateX(-50%); z-index: 4;
  margin: 0; padding: 0.5rem 1.25rem; width: max-content; max-width: calc(100% - 32px);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 0.55rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem; line-height: 1.35; color: var(--mm-cocoa);
  text-align: center; white-space: nowrap;
  background: rgb(255 250 240 / 0.92); border: 2px solid var(--mm-white); border-radius: 999px;
  box-shadow: 0 4px 14px rgb(61 36 16 / 0.18);
  transition: opacity 0.45s ease;
}
.courtyard-answer__dot { color: var(--mm-berry); }
.ans-short { display: none; }
.opening-pending .courtyard-answer, .opening-playing .courtyard-answer { opacity: 0; }
.call-short { display: none; }
@media (max-width: 899px) {
  .call-long { display: none; }
  .call-short { display: inline; }
  .courtyard-title--brand { top: 50%; width: 56%; left: 22%; }
  .courtyard-answer { top: 75.5%; font-size: 0.9375rem; }
  .courtyard-actions { top: 83.5%; }
}
@media (max-width: 599px) {
  .courtyard-title--brand { top: 49.5%; width: 90%; left: 5%; }
  .courtyard-answer { top: 72.2%; width: calc(100% - 40px); padding: 0.35rem 0.75rem; gap: 0 0.4rem; line-height: 1.3; border-radius: 18px; font-size: 0.875rem; white-space: nowrap; }
  .courtyard-answer > span:first-child { flex-basis: 100%; }
  .ans-long { display: none; }
  .ans-short { display: inline; }
  .courtyard-answer__dot:nth-child(2) { display: none; }
  .courtyard-actions { top: 82%; }
}

/* Header: the phone number is always one glance away on desktop */
.site-nav a.site-nav__call:not(.btn) { display: none; }
.site-nav__call svg { width: 18px; height: 18px; flex: none; }
@media (min-width: 1151px) {
  .site-nav a.site-nav__call:not(.btn) {
    display: inline-flex; align-items: center; gap: 0.5rem; margin-left: auto; min-height: 48px;
    font-weight: 700; color: var(--color-accent); text-decoration: none; white-space: nowrap;
  }
  .site-nav__call svg { width: 18px; height: 18px; flex: none; }
  .site-nav__call:hover { text-decoration: underline; }
  .site-nav .site-nav__call + .site-nav__cta { margin-left: 22px; }
}

/* Decision card: every deciding fact in one place, no tapping */
.decision { background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding-block: var(--space-4); }
.decision__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
.decision__item { display: grid; grid-template-columns: auto 1fr; column-gap: 0.75rem; align-items: center; align-content: center; }
.decision__icon { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; box-shadow: inset 0 -4px 0 rgb(0 0 0 / 0.16); }
.decision__icon svg { width: 24px; height: 24px; }
.decision__icon--sun { background: var(--color-sun); color: var(--color-text); }
.decision__icon--leaf { background: var(--color-grass); color: var(--color-text); }
.decision__icon--purple { background: var(--color-purple); color: var(--mm-white); }
.decision__icon--teal { background: var(--color-accent); color: var(--mm-white); }
.decision__icon--pink { background: var(--mm-pink); color: var(--mm-white); }
.decision__label { font-size: 0.875rem; font-weight: 600; color: var(--color-muted); line-height: 1.2; }
.decision__value { font-family: var(--font-heading); font-size: 1.0625rem; line-height: 1.25; color: var(--color-text); }
.decision__item--spots {
  grid-column: 1 / -1; grid-template-columns: auto 1fr auto;
  padding: 0.75rem 0.9rem; border-radius: 18px; background: var(--color-sun-tint); border: 2px solid var(--color-sun);
}
.decision__link {
  grid-row: 1 / span 2; grid-column: 3; align-self: center;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem;
  border-radius: 999px; background: var(--color-accent); color: var(--mm-white); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.decision__link:hover { background: var(--mm-teal-deep); }
@media (min-width: 900px) {
  .decision__list { grid-template-columns: repeat(4, auto) minmax(300px, 1.3fr); justify-content: space-between; align-items: center; gap: var(--space-4); }
  .decision__item--spots { grid-column: auto; }
}
@media (min-width: 900px) and (max-width: 1150px) {
  .decision__list { grid-template-columns: repeat(4, 1fr); }
  .decision__item--spots { grid-column: 1 / -1; }
}

/* Meet Latoya: her face, her words, the facts that build trust */
.about__photo { position: relative; margin: 0; width: 100%; max-width: 420px; justify-self: center; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius-card); box-shadow: var(--shadow-card); border: 6px solid var(--mm-white); }
.about__badge {
  position: absolute; left: 18px; bottom: 18px; display: grid; gap: 0.1rem; padding: 0.65rem 1rem;
  background: var(--mm-white); border-radius: 16px; box-shadow: var(--shadow-card);
}
.about__badge strong { font-family: var(--font-heading); font-size: 1.0625rem; }
.about__badge span { font-size: var(--text-sm); color: var(--color-muted); }
.about__role { color: var(--mm-teal-ink); }
.about__quote p { font-size: 1.125rem; }
.trust { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: 0.6rem; }
.trust li { position: relative; padding-left: 2.1rem; font-weight: 600; }
.trust li::before {
  content: ""; position: absolute; left: 0; top: 0.05em; width: 1.45rem; height: 1.45rem; border-radius: 50%;
  background: var(--color-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
@media (max-width: 899px) { .about__photo { max-width: 320px; } }

/* Our care: compact on phones (2 by 2 instead of four tall cards) */
@media (max-width: 639px) {
  .pillars { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .pillar { display: block; padding: 1rem; }
  .pillar__icon { width: 44px; height: 44px; border-radius: 12px; }
  .pillar__icon svg { width: 22px; height: 22px; }
  .pillar h3 { font-size: 1.0625rem; margin: 0.65rem 0 0.25rem; }
  .pillar p { font-size: var(--text-sm); line-height: 1.45; }
}

/* Small readability lifts */
.eyebrow { font-size: 0.875rem; }

/* Waitlist: visit note, confirmation, computer backup */
.waitlist-form__visit { margin: 0 0 var(--space-3); padding: 0.6rem 0.9rem; border-radius: 12px; background: var(--color-teal-tint); font-weight: 600; font-size: var(--text-sm); }
.waitlist-form__status { padding: var(--space-4); border: 2px solid var(--color-accent); }
.waitlist-form__status:focus { outline: none; }
.waitlist-form__status:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.status__title { font-family: var(--font-heading); font-size: 1.375rem; font-weight: 800; color: var(--color-text); }
.status__small { font-size: var(--text-sm); color: var(--color-muted); }
.status__label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.waitlist-form__status textarea { width: 100%; font: inherit; font-size: var(--text-sm); padding: 0.75rem; border: 1px solid var(--color-border); border-radius: var(--radius-input); background: var(--mm-white); resize: vertical; margin-bottom: var(--space-3); }
.status__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: var(--space-3); }
.status__edit { margin-top: var(--space-2); }
button.text-link { background: none; border: 0; padding: 0; min-height: 44px; font: inherit; font-weight: 600; color: var(--color-accent); text-decoration: underline; cursor: pointer; }

/* Phones: a focused field is never hidden under the bottom bar */
@media (max-width: 767px) { html { scroll-padding-bottom: 96px; } }

@media (max-width: 359px) { .courtyard-answer { font-size: 0.78rem; padding-inline: 0.4rem; width: calc(100% - 24px); } }
.waitlist-form [hidden] { display: none !important; }
.waitlist-form__status .btn--primary { color: var(--mm-white); }
.waitlist-form__status .btn { text-decoration: none; }

/* Phones and tablets: the logo sits inside the nav bar instead of hanging off it */
@media (max-width: 899px) {
  .site-header .brand { top: 50%; left: 16px; transform: translateY(-50%); min-height: 0; padding: 0; }
  .brand__logo, .site-header.is-scrolled .brand__logo { height: 60px; }
}
@media (max-width: 359px) {
  .brand__logo, .site-header.is-scrolled .brand__logo { height: 54px; }
}

/* Meet Latoya: full width, two columns. The photo covers the whole left half (cropped to fit, never
   stretched). The right column is a full height card that overlaps the photo a little, with a shadow
   along its left edge so the card sits in front of the photo */
.section.about { padding: 0; overflow: hidden; }
.about__grid--bleed { display: grid; grid-template-columns: 1fr; gap: 0; align-items: stretch; }
.about .about__photo { position: relative; margin: 0; width: 100%; max-width: none; height: 480px; }
.about .about__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 22%;
  aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none;
}
.about__card {
  max-width: none;
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  background: var(--mm-white); border-radius: 26px 26px 0 0; margin-top: -40px;
  padding: 2.5rem var(--gutter, 1.25rem) 3rem;
  box-shadow:
    0 -8px 14px -6px rgb(23 50 58 / 0.24),
    0 -28px 44px -16px rgb(23 50 58 / 0.40);
}
.about__card > * { max-width: 560px; }
.about__card .about__quote { margin-inline: 0; }
@media (min-width: 900px) {
  .about__grid--bleed { grid-template-columns: 1fr 1fr; min-height: clamp(620px, 52vw, 820px); }
  .about .about__photo { height: auto; min-height: 100%; }
  .about__card {
    margin: 0 0 0 -64px; width: calc(100% + 64px); max-width: none; border-radius: 0;
    padding: clamp(3rem, 2rem + 3vw, 5.5rem) clamp(2.5rem, 1rem + 4vw, 6rem);
    box-shadow:
      -10px 0 18px -4px rgb(23 50 58 / 0.34),   /* tight contact shadow right at the card's left edge */
      -44px 0 60px -12px rgb(23 50 58 / 0.42);  /* wider soft shadow falling onto the photo */
  }
}

/* Footer: a puffy cloud edge in the footer's cream color rising into the section above, with a
   lighter row of bigger clouds behind it for depth. Replaces the thin rainbow stripe. The clouds
   repeat side to side at a fixed size, so they never stretch on wide screens. */
.site-footer::before {
  inset: auto 0 calc(100% - 1px) 0; height: 130px; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='170' viewBox='0 0 900 170'%3E%3Cg fill='%23fffbf1' fill-opacity='1'%3E%3Crect x='0' y='140' width='900' height='30'/%3E%3Ccircle cx='0.0' cy='160.1' r='58.0'/%3E%3Ccircle cx='900.0' cy='160.1' r='58.0'/%3E%3Ccircle cx='72.0' cy='153.5' r='30.0'/%3E%3Ccircle cx='120.0' cy='150.7' r='46.0'/%3E%3Ccircle cx='196.0' cy='154.4' r='72.0'/%3E%3Ccircle cx='276.0' cy='155.3' r='34.0'/%3E%3Ccircle cx='330.0' cy='156.3' r='54.0'/%3E%3Ccircle cx='402.0' cy='151.7' r='26.0'/%3E%3Ccircle cx='452.0' cy='154.8' r='64.0'/%3E%3Ccircle cx='534.0' cy='156.0' r='40.0'/%3E%3Ccircle cx='600.0' cy='152.2' r='76.0'/%3E%3Ccircle cx='684.0' cy='156.2' r='36.0'/%3E%3Ccircle cx='742.0' cy='155.4' r='52.0'/%3E%3Ccircle cx='812.0' cy='153.5' r='30.0'/%3E%3Ccircle cx='-40.0' cy='155.6' r='48.0'/%3E%3Ccircle cx='860.0' cy='155.6' r='48.0'/%3E%3C/g%3E%3C/svg%3E") repeat-x left bottom / 900px 170px,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='170' viewBox='0 0 900 170'%3E%3Cg fill='%23fffbf1' fill-opacity='0.26'%3E%3Crect x='0' y='140' width='900' height='30'/%3E%3Ccircle cx='30.0' cy='146.9' r='82.0'/%3E%3Ccircle cx='930.0' cy='146.9' r='82.0'/%3E%3Ccircle cx='180.0' cy='145.9' r='62.0'/%3E%3Ccircle cx='330.0' cy='145.4' r='92.0'/%3E%3Ccircle cx='505.0' cy='145.5' r='70.0'/%3E%3Ccircle cx='660.0' cy='145.6' r='88.0'/%3E%3Ccircle cx='810.0' cy='146.8' r='64.0'/%3E%3C/g%3E%3C/svg%3E") repeat-x 320px bottom / 900px 170px;
}
@media (max-width: 599px) {
  .site-footer::before { height: 72px; background-size: 500px 94px, 500px 94px; background-position: left bottom, 180px bottom; }
}
/* room above the footer clouds so they never touch the waitlist form */
.section.waitlist { padding-bottom: calc(var(--space-section) + 80px); }
@media (max-width: 599px) { .section.waitlist { padding-bottom: calc(var(--space-section) + 48px); } }

/* Announcement band between Our care and the questions: a full width sunshine yellow strip
   that breaks up the page and gives one clear push to the waitlist */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--color-sun);
  padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
  border-block: 4px solid var(--mm-cream-line);
}
.cta-band__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; }
.cta-band__title {
  margin: 0; font-family: var(--font-heading); font-weight: 800; line-height: 1.05;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); color: var(--color-text);
}
.cta-band__text { margin: 0.5rem 0 0; font-size: var(--text-lg); font-weight: 600; color: var(--mm-cocoa-soft); }
.cta-band__btn {
  min-height: 58px; padding: 0 2.25rem; border-radius: 999px; font-size: 1.125rem; font-weight: 700;
  background: var(--color-accent); color: var(--mm-white); border: 4px solid var(--mm-cream-line); box-shadow: 0 4px 0 var(--mm-sun-shadow);
  text-decoration: none; white-space: nowrap;
}
.cta-band__btn:hover { background: var(--mm-teal-deep); }
.cta-band__sparkle { position: absolute; color: var(--mm-white); opacity: 0.9; pointer-events: none; }
.cta-band__sparkle--a { width: 34px; height: 34px; top: 18%; left: 6%; }
.cta-band__sparkle--b { width: 20px; height: 20px; bottom: 20%; right: 8%; color: var(--color-accent); opacity: 0.55; }
@media (max-width: 599px) {
  .cta-band__btn { width: 100%; max-width: 320px; justify-content: center; }
  .cta-band__sparkle--a { top: 10%; left: 5%; width: 24px; height: 24px; }
}
@media (min-width: 900px) {
  .cta-band__inner { flex-direction: row; justify-content: space-between; text-align: left; gap: 2rem; }
}
@media (min-width: 600px) { .cta-band__sparkle--a { left: auto; right: 26%; top: 22%; } }

/* ============================================================
   Mini Minds color palette, pulled from the logo and the hero lettering.
   Each section below the hero gets a lead color, so the whole rainbow
   travels down the page instead of fading to only teal and yellow.
   ============================================================ */
/* palette tokens live in css/tokens.css */

/* Ribbon colors, one per section */
.eyebrow--grape { background: var(--mm-grape); }
.eyebrow--berry { background: var(--mm-berry); }
.eyebrow--sky   { background: var(--mm-sky); }

/* Meet Latoya: grape lead with a berry accent */
.about__role { color: var(--mm-grape-deep); }
.about__quote { border-left-color: var(--mm-berry); }
.trust li::before { background-color: var(--mm-grape); }
.about__card .btn--secondary { color: var(--mm-grape); border-color: var(--mm-grape); }
.about__card .btn--secondary:hover { background: var(--mm-grape-tint); }

/* Waitlist band: yellow with a grape button, the same pair as the hero buttons */
.cta-band__btn { background: var(--mm-grape); box-shadow: 0 4px 0 var(--mm-sun-shadow); }
.cta-band__btn:hover { background: var(--mm-grape-deep); }
.cta-band__sparkle--b { color: var(--mm-berry); }

/* Questions: soft sky background, blue lead, and the plus buttons cycle through the rainbow */
.faq { background: var(--mm-sky-tint); }
.faq .section-head a { color: var(--mm-sky); }
.faq details:nth-child(7n+1) summary::after { background: var(--mm-berry); color: var(--mm-white); }
.faq details:nth-child(7n+2) summary::after { background: var(--mm-grape); color: var(--mm-white); }
.faq details:nth-child(7n+3) summary::after { background: var(--mm-sky); color: var(--mm-white); }
.faq details:nth-child(7n+4) summary::after { background: var(--mm-teal); color: var(--mm-white); }
.faq details:nth-child(7n+5) summary::after { background: var(--mm-leaf); color: var(--color-text); }
.faq details:nth-child(7n+6) summary::after { background: var(--color-orange); color: var(--color-text); }
.faq details:nth-child(7n+7) summary::after { background: var(--mm-sun); color: var(--color-text); }
.faq details[open] summary::after { background: var(--color-text); color: var(--mm-white); }

/* Waitlist: deep plum night sky instead of dark teal; the sun yellow accents stay */
.waitlist { background: var(--mm-plum-night); }
.waitlist__talk { border-top-color: rgb(255 248 230 / 0.22); }

/* Footer labels pick up grape and berry */
.site-footer__grid > div:nth-child(2) .site-footer__label { color: var(--mm-grape); }
.site-footer__grid > div:nth-child(3) .site-footer__label { color: var(--mm-berry); }

/* Scroll reveals (js/motion.js). Only active when the script runs and motion is allowed. */
main { overflow-x: clip; }
.motion-ok [data-reveal] {
  opacity: 0;
  transition:
    opacity 0.7s ease var(--reveal-delay, 0ms),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.motion-ok [data-reveal="up"]      { transform: translateY(28px); }
.motion-ok [data-reveal="rise"]    { transform: translateY(56px); }
.motion-ok [data-reveal="left"]    { transform: translateX(-48px); }
.motion-ok [data-reveal="right"]   { transform: translateX(48px); }
.motion-ok [data-reveal="pop"]     { transform: translateY(18px) scale(0.94); }
.motion-ok [data-reveal="twinkle"] { transform: scale(0.2) rotate(-45deg); }
.motion-ok [data-reveal].is-in     { opacity: 1; transform: none; }
/* the sparkles keep their own resting opacity */
.motion-ok .cta-band__sparkle--a.is-in { opacity: 0.9; }
.motion-ok .cta-band__sparkle--b.is-in { opacity: 0.55; }
@media (prefers-reduced-motion: reduce) {
  .motion-ok [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media print { .motion-ok [data-reveal] { opacity: 1 !important; transform: none !important; } }
.section.about { background: var(--mm-white); }

/* Line every section's content up with the nav bar's inner edge on desktop
   (the header pill spans 7% to 93% of the screen with 30px inside, 20px on smaller laptops) */
@media (min-width: 900px) { .container:not(.site-header__inner) { width: min(86vw - 40px, var(--max-width)); } }
@media (min-width: 1151px) { .container:not(.site-header__inner) { width: min(86vw - 60px, var(--max-width)); } }

/* Very small phones (320px) */
@media (max-width: 359px) {
  .decision__item--spots { grid-template-columns: auto 1fr; row-gap: 0.6rem; }
  .decision__link { grid-column: 1 / -1; grid-row: auto; justify-content: center; }
  .pillars { grid-template-columns: 1fr; }
}
