/* Round 6 review: Sophie’s explicit changes take priority over the supplied pack. */
/* Restore the exact master wordmark geometry from the last public release. */
/* Reinstate the earlier cropped shadow wordmark across every page. */
#home-end #contact .bigstar, #contact .bigstar { color:rgba(0,0,0,.24)!important; height:.4em; line-height:.8; }
#contact .bigstar .shadow-word { transform:translateY(-.24em); }
#contact .bigstar .st svg { fill:currentColor!important; }
/* Homepage portraits retain their links; their hover and keyboard states become solid brand shapes. */
#home-end .nx-team .av.has-photo:hover .portrait-frame,
#home-end .nx-team .av.has-photo:focus-visible .portrait-frame,
.g3 .av.has-photo:focus-visible .portrait-frame { opacity:0; }
#home-end .nx-team .av.has-photo .portrait-frame { transition:opacity .2s ease; }
#home-end .nx-team .av.has-photo:hover,#home-end .nx-team .av.has-photo:focus-visible { border-radius:50%!important; }
.g3 .av.has-photo:focus-visible { border-radius:var(--r1,50%)!important; }
.av[data-hi]::after { font-family:'DM Sans',Arial,sans-serif; font-style:normal; }
@media(prefers-reduced-motion:reduce) {
 #home-end .nx-team .av.has-photo .portrait-frame { transition:none; }
}

/* Final launch refinements approved by Sophie. */
/* Slight breathing room at the logo joins; one slower complete turn. */
.wm.nx-logo-turn .st svg, #contact .wm.nx-logo-turn .st svg { animation-duration:3.6s!important; animation-timing-function:cubic-bezier(.3,0,.25,1)!important; }
/* Enough leading for ascenders, dots and underlines across multiline headings. */
h1,h2 { line-height:1.16!important; }
h3 { line-height:1.18!important; }
.about-page .nx-about-opening h1, .about-page #app > section:first-child h1 { line-height:1.2!important; }
#home-end #contact h2,#contact h2 { line-height:1.2!important; }
/* Equal space before the ticker and after it; generous room around the quote. */
#home #project-learning { padding-bottom:160px!important; }
#home-end #founder-quote { padding-top:160px!important; padding-bottom:0!important; }
#home-end #founder-quote blockquote { line-height:1.14!important; }
#home-end #founder-quote .quote-attribution { margin-top:88px!important; }
#home-end #principles .pr-wrap { padding-top:224px; }
#home-end #principles .pr-deco { top:196px; }
/* Six movable objects, with enough room for two rows. */
.nx-about-play .tray { height:280px; }
.nx-about-play .toy { width:100px; }
/* Faster family tower; keep its first block visible from the start. */
.ff .ws .blk { transition:transform .38s cubic-bezier(.3,1.25,.55,1),opacity .12s ease; }
.ff .ws .topstar { transition:transform .42s cubic-bezier(.3,1.25,.5,1),opacity .12s ease; }
/* A larger orange invitation, grounded in the existing damson. */
.ff .signup { background:#6b022b; padding:10px; gap:12px; }
.ff .signup button[type="submit"], .ff .ws .cta {
 background:#f55747!important; color:#fffef5!important; min-height:64px; padding:0 28px;
 font-family:'DM Sans',Arial,sans-serif; font-size:20px; line-height:1.2; font-weight:700;
 border:2px solid #6b022b; box-shadow:0 6px 0 #6b022b;
}
.ff .signup button[type="submit"]:focus-visible, .ff .ws .cta:focus-visible { outline:3px solid #e2fb84; outline-offset:5px; }
.ff .signup button[type="submit"] .arw,.ff .ws .cta .arw { color:#fffef5; }
/* One circular plus treatment for family and school FAQs. */
#faqs summary > .plus,.faq summary > .plus {
 display:inline-grid; place-items:center; width:36px; height:36px; min-width:36px; flex:none;
 border-radius:50%; background:#fdf0ed; color:#6b022b; font:400 22px/1 'DM Sans',Arial,sans-serif;
 transition:transform .35s cubic-bezier(.3,1.6,.5,1),background-color .2s ease;
}
#faqs summary:hover > .plus,.faq summary:hover > .plus { background:#e2fb84; transform:rotate(90deg); }
#faqs details[open] > summary > .plus,.faq details[open] > summary > .plus { transform:rotate(45deg); background:#6b022b; color:#fffef5; }
@media(max-width:860px) {
 #home #project-learning { padding-bottom:104px!important; }
 #home-end #founder-quote { padding-top:104px!important; }
 #home-end #founder-quote .quote-attribution { margin-top:56px!important; }
 #home-end #principles .pr-wrap { padding-top:144px; }
 #home-end #principles .pr-deco { top:128px; }
 .nx-about-play .tray { height:240px; }
 .nx-about-play .toy { width:66px; }
}
@media(prefers-reduced-motion:reduce) {
 .wm.nx-logo-turn .st svg, #contact .wm.nx-logo-turn .st svg { animation:none!important; }
 .ff .ws .blk,.ff .ws .topstar,#faqs summary > .plus,.faq summary > .plus { transition:none!important; }
}

#faqs summary,.faq summary { align-items:center; gap:24px; }

/* Last-published logo spacing; no separate shift of the a. */
.wm > .st, .shadow-word > .st { position:relative; left:.012em; }
#home .wm > .st, #home-end .shadow-word > .st { left:.012em; }

/* Restore the original playful, continuous logo motion. Geometry is unchanged. */
#home .hero-copy > .wm.spin .st svg { animation:nx-logo-drift 18s linear infinite!important; }
#home-end #contact .bigstar .st svg, #contact .bigstar .st svg { animation:nx-logo-drift 36s linear infinite!important; }
@keyframes nx-logo-drift { from { rotate:0deg; } to { rotate:360deg; } }
@media(hover:hover) {
 #home .hero-copy > .wm.spin:hover .st svg { animation-duration:9s!important; }
 #home-end #contact .bigstar:hover .st svg, #contact .bigstar:hover .st svg { animation-duration:18s!important; }
}
@media(prefers-reduced-motion:reduce) {
 #home .hero-copy > .wm.spin .st svg,
 #home-end #contact .bigstar .st svg, #contact .bigstar .st svg { animation:none!important; rotate:none!important; }
}
