/* Section refinements and responsive adjustments. */
.hero,.intro,.bando-section,.learning{
  --blue-dark:#0089b3;
  --ink:#365f7a;
  color:var(--ink);
}
.hero h1,.intro h2,.bando-section h2,.learning h3{font-weight:900}
.hero .eyebrow,.intro .eyebrow,.bando-section .eyebrow,.learning .eyebrow{color:#32658a}
.hero{padding:34px 0 28px}
.hero-grid{grid-template-columns:.88fr 1.12fr;gap:20px;min-height:460px}
.hero-copy{position:relative;z-index:2;padding:8px 0 12px}
.hero h1{font-size:clamp(40px,4.35vw,58px);line-height:1.02;max-width:510px}
.hero .lead{font-size:18px;line-height:1.4;max-width:430px;margin-top:20px}
.hero .actions{gap:24px;margin-top:24px}
.hero .button{padding-inline:24px;box-shadow:none}
.hero-art{min-height:0;aspect-ratio:1.22;isolation:isolate}
.hero .soft-shape{inset:0 0 8% 0;background:#fff2ce;border-radius:46% 54% 35% 65% / 48% 52% 48% 52%;transform:rotate(-7deg);z-index:-1}
.hero-children{width:62%;left:0;bottom:0;z-index:2}
.hero-book{width:43%;right:0;bottom:5%;transform:rotate(-5deg);filter:drop-shadow(5px 12px 8px rgba(83,66,25,.13));z-index:1}
/* Small hand-drawn-style rays, built with CSS, not new illustration assets. */
.hero-art:before,.hero-art:after,.bando-section .art-panel:after{content:"";position:absolute;width:6px;height:34px;border-radius:8px;background:#ffba22;pointer-events:none}
.hero-art:before{right:10%;top:1%;transform:rotate(24deg)}
.hero-art:after{right:5%;top:7%;height:29px;transform:rotate(58deg)}
.intro{padding:38px 0 52px;isolation:isolate;overflow:hidden;scroll-margin-top:95px}
.intro .narrow-left{width:min(calc(100% - 56px),590px);margin-left:max(28px,calc((100% - var(--max))/2 + 100px))}
.intro h2{max-width:460px;font-size:clamp(34px,3.45vw,46px);line-height:1.04}
.intro p{max-width:570px;font-size:18px;line-height:1.4;margin-top:14px}
.intro .eyebrow{font-size:11px;margin:0 0 12px}
.intro:before{content:"";position:absolute;z-index:-1;width:360px;height:380px;left:-235px;top:-35px;background:#e7f6f7;border-radius:40% 60% 68% 32% / 44% 51% 49% 56%;transform:rotate(-24deg)}
.intro:after{width:280px;height:170px;right:max(30px,calc((100% - var(--max))/2));top:100px;border:1.5px solid #ffc14b;border-top-color:transparent;border-right-color:transparent;border-radius:50%;transform:rotate(-27deg);z-index:-1}
.bando-section{padding:20px 0 30px;background:none}
.bando-section .two-col{grid-template-columns:.92fr 1.08fr;gap:64px}
.bando-section h2{font-size:clamp(34px,3.45vw,46px);max-width:440px;line-height:1.05}
.bando-section .body-large{max-width:430px;font-size:18px;line-height:1.4}
.bando-section .art-panel{position:relative;isolation:isolate;min-height:0;padding:0 24px 0 18px;background:none;border-radius:0;transform:rotate(-3deg);margin-top:-50px}
.bando-section .art-panel:before{content:"";position:absolute;inset:19% -1% 0 -3%;background:#fff2ce;border-radius:58% 42% 38% 62% / 65% 55% 45% 35%;z-index:-1;transform:rotate(8deg)}
.bando-section .art-panel:after{left:4%;top:26%;height:30px;transform:rotate(-29deg)}
.bando-section .art-panel img{width:100%;height:auto;transform:rotate(3deg)}
.learning{padding:32px 0 64px;scroll-margin-top:95px}
.learning .eyebrow{margin-bottom:0}
.learning-grid{margin-top:22px;gap:0}
.learning-grid article,.learning-grid article:first-child,.learning-grid article:last-child{position:relative;text-align:center;border:0;padding:0 24px}
.learning-grid article + article:before{content:"";position:absolute;left:0;top:25px;bottom:5px;width:1px;background:#cedde0}
.learning-grid span{width:58px;height:58px;margin:0 auto 10px;font-size:34px;background:#d6f1f5;color:#0089b3;line-height:1;border-radius:47% 53% 51% 49% / 56% 47% 53% 44%;transform:rotate(-6deg)}
.learning-grid article:nth-child(2) span{background:#ffebbe;color:#ed7c37;transform:rotate(7deg)}
.learning-grid article:nth-child(3) span{background:#ffdad4;color:#ed655c;transform:rotate(-4deg)}
.learning-grid article:nth-child(4) span{background:#d7efd2;color:#399c5b;transform:rotate(9deg)}
.learning h3{font-size:24px;line-height:1.1}
.learning-grid p{font-size:16px;line-height:1.35;margin:8px auto 0;max-width:220px}
@media (max-width:1050px) and (min-width:761px){
  .hero h1{font-size:44px}.hero .actions{gap:16px}.hero .button{padding-inline:18px}
  .intro .narrow-left{margin-left:9%;width:58%}.intro:after{right:-100px}
  .bando-section .two-col{gap:30px}.learning-grid article{padding-inline:16px}
  .learning h3{font-size:21px}
}
@media (max-width:760px){
  .hero{padding:30px 0 12px}.hero-grid{grid-template-columns:1fr;gap:24px;min-height:0}
  .hero-copy{max-width:570px}.hero h1{font-size:clamp(37px,7.2vw,52px);max-width:560px}
  .hero .lead{max-width:510px}.hero-art{width:min(100%,540px);justify-self:center;aspect-ratio:1.3}
  .intro{padding:44px 0 32px}.intro .narrow-left{width:calc(100% - 56px);margin-inline:auto}
  .intro h2{max-width:480px}.intro p{max-width:560px}.intro:before{left:-305px;top:10px}.intro:after{display:none}
  .bando-section{padding:36px 0 20px}.bando-section .two-col{grid-template-columns:1fr;gap:28px}
  .bando-section h2{max-width:430px}.bando-section .body-large{max-width:510px}
  .bando-section .art-panel{width:min(90%,460px);justify-self:end;margin-top:0;padding-inline:16px}
  .learning{padding:32px 0 48px}.learning-grid{grid-template-columns:1fr 1fr;row-gap:30px}
  .learning-grid article:nth-child(3):before{display:none}
  .learning .learning-grid article{padding:0 18px;border:0}
  .learning h3{font-size:22px}
}
@media (max-width:420px){
  .hero .actions{gap:16px;font-size:14px}.hero .button{padding-inline:18px}
  .hero .lead,.intro p,.bando-section .body-large{font-size:17px}
  .intro .narrow-left{width:calc(100% - 30px)}
  .intro h2,.bando-section h2{font-size:34px}
  .learning .learning-grid article{padding-inline:10px}
  .learning h3{font-size:20px}.learning-grid p{font-size:15px}
  .learning .eyebrow{font-size:10px;letter-spacing:.17em}
}

/* Original logo supplied by the author; preserve its native proportions. */
.site-header .brand{
  display:block;
  width:164px;
  min-width:0;
  flex:0 0 auto;
  line-height:0;
}
.site-header .brand img{display:block;width:100%;height:auto}
@media(max-width:620px){
  .site-header .brand{width:142px}
}

/* A shorter message section, with the original group illustration. */
.rhythm{padding:32px 0;background:var(--paper)}
.rhythm .two-col{grid-template-columns:.9fr 1.1fr;gap:56px}
.rhythm .rhythm-art{min-height:0}
.rhythm .rhythm-art:before{display:none}
.rhythm .rhythm-art img{width:min(100%,360px);height:auto}
.rhythm .rhythm-copy{padding-right:0}
.rhythm .rhythm-copy h2{font-size:clamp(32px,3.2vw,42px);max-width:400px}
.rhythm .rhythm-copy .body-large{font-size:18px;max-width:470px;margin-top:14px}
.rhythm .eyebrow{margin-bottom:10px}
@media(max-width:760px){
  .rhythm{padding:28px 0}
  .rhythm .two-col{grid-template-columns:1fr;gap:20px}
  .rhythm .rhythm-art img{width:min(80%,290px)}
  .rhythm .rhythm-copy{max-width:510px;margin-inline:auto}
}

/* Author portrait, framed without changing the supplied image. */
.author-photo{width:112px;height:auto;border-radius:12px;display:block}

/* Official footer logo and presentation photograph. */
.footer .brand{display:block;width:130px;min-width:0;flex:0 0 auto;line-height:0}
.footer .brand img{width:100%;height:auto}
.schools-inner{display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px 32px}
.schools-image{display:block;width:100%;height:auto;border-radius:16px;grid-row:1 / 3;align-self:center}
.schools-inner>.text-link{grid-column:2;justify-self:start}
@media(max-width:1000px){
  .schools-inner{grid-template-columns:240px minmax(0,1fr);gap:18px 24px}
  .schools-image{width:100%;grid-row:1 / 3;align-self:center}
  .schools-inner>.text-link{grid-column:2;justify-self:start}
}
@media(max-width:620px){
  .schools-inner{grid-template-columns:1fr;gap:18px}
  .schools-image{width:100%;grid-row:auto;justify-self:center}
  .schools-inner>.text-link{grid-column:1}
  .author-photo{width:120px}
}

/* Footer navigation and legal information. */
.legal-links{display:flex;gap:12px 24px;flex-wrap:wrap;padding-top:24px;font-size:13px}
.legal-links a:hover,.legal-page a{text-decoration:underline;text-underline-offset:3px}
#autora,#escolas,#faq{scroll-margin-top:95px}
.legal-page{max-width:800px;padding-block:56px 72px}
.legal-page h1{font-size:clamp(36px,5vw,52px)}
.legal-page section{margin-top:36px;scroll-margin-top:100px}
.legal-page h2{font-size:28px;line-height:1.2}
.legal-page p{line-height:1.65}
.legal-draft{border-left:3px solid var(--coral);padding-left:18px}

/* Purchase remains visible beside the navigation on every screen size. */
.site-header .header-purchase{min-height:44px;padding:0 20px;font-size:14px;white-space:nowrap;flex:0 0 auto;box-shadow:none}
@media(max-width:1100px) and (min-width:901px){
  .header-inner{gap:18px}.desktop-nav{gap:18px;font-size:13px}
  .site-header .brand{width:140px}
}
@media(max-width:900px){
  .site-header .header-purchase{margin-left:auto}
  .header-inner .menu-toggle{margin-left:0}
}
@media(max-width:620px){
  .header-inner{gap:10px}
  .site-header .brand{width:120px}
  .site-header .header-purchase{min-height:42px;padding:0 14px;font-size:13px}
  .header-inner .menu-toggle{padding:4px}
}
@media(max-width:360px){
  .site-header .brand{width:105px}
  .site-header .header-purchase{padding:0 11px}
}
.accordion details p .text-link{display:inline-block;margin-top:8px}

/* Stable image geometry, keyboard navigation and narrow-screen safeguards. */
img{height:auto}
.hero-grid>*,.two-col>*,.credits-grid>*,.credit-block>*,.schools-inner>*{min-width:0}
.hero,.bando-section{overflow-x:clip}
.skip-link{position:fixed;left:16px;top:8px;z-index:100;padding:12px 18px;background:var(--paper);transform:translateY(-150%)}
.skip-link:focus{transform:none}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #087f98;outline-offset:4px}
.menu-toggle{min-width:44px;min-height:44px;cursor:pointer}
.strong{white-space:normal}
@media(max-width:900px){.mobile-nav a{display:block;padding:10px 0}.site-header{backdrop-filter:none;background:var(--paper)}}
@media(min-width:901px){.mobile-nav{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}.button:hover{transform:none}}

/* Secondary publisher credit below the main footer navigation. */
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px 32px;flex-wrap:wrap;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
.footer-bottom .publisher{margin:0;font-size:12px;font-weight:500;color:var(--ink)}
.footer-bottom .legal-links{padding-top:0;font-size:12px}
@media(max-width:620px){.footer-bottom{align-items:flex-start;flex-direction:column;gap:12px}}

/* Lightweight decorative accents: no extra images or animation. */
.bando-section .art-panel:after{
  box-shadow:18px -11px 0 -1px #ffba22;
}
.rhythm-art:after{
  content:"";position:absolute;pointer-events:none;
  width:100px;height:43px;left:0;bottom:4%;
  border:2px solid #f78b7f;border-top:0;border-right:0;
  border-radius:0 0 0 100%;transform:rotate(-12deg);
}
.purchase-art{position:relative;isolation:isolate}
.purchase-art:before,.purchase-art:after{
  content:"";position:absolute;pointer-events:none;z-index:-1;
}
.purchase-art:before{
  width:5px;height:27px;left:-15px;top:5%;background:#eeaa21;
  border-radius:5px;transform:rotate(-35deg);
  box-shadow:17px -5px 0 -1px #eeaa21;
}
.purchase-art:after{
  width:65px;height:65px;right:-16px;bottom:-12px;
  border:1.5px solid rgba(8,127,152,.28);
  border-left-color:transparent;border-top-color:transparent;
  border-radius:50%;transform:rotate(-15deg);
}
.credits-grid{position:relative;isolation:isolate}
.credits-grid:before{
  content:"";position:absolute;pointer-events:none;
  width:28px;height:8px;border-radius:50%;
  background:#ffd77b;left:18px;top:-10px;transform:rotate(-35deg);
}
.schools-inner{position:relative;isolation:isolate}
.schools-inner:after{
  content:"";position:absolute;pointer-events:none;
  width:74px;height:25px;right:25px;top:-13px;
  border:1.5px solid #f1b947;border-bottom:0;
  border-radius:50% 50% 0 0;transform:rotate(12deg);
}
@media(max-width:760px){
  .rhythm-art:after{width:62px;height:28px;left:7%;bottom:0}
  .purchase-art:before{left:3%;top:3%;height:22px}
  .purchase-art:after{right:2%;width:45px;height:45px}
  .schools-inner:after{width:52px;right:20px}
}

/* Original decorative artwork supplied for the book's visual identity. */
.hero-art:before{width:48px;height:52px;right:7%;top:0;background: url('assets/decor-rays-right.webp') center/contain no-repeat;transform:rotate(-8deg);border-radius:0}
.hero-art:after{display:none}
.bando-section .art-panel:after{width:44px;height:44px;left:0;top:22%;background:url('assets/decor-rays-left.webp') center/contain no-repeat;box-shadow:none;transform:rotate(-12deg);border-radius:0}
.intro:after{width:115px;height:270px;top:50px;right:max(48px,calc((100% - var(--max))/2 + 60px));background:url('assets/decor-ribbon.webp') center/contain no-repeat;border:0;border-radius:0;transform:rotate(-24deg)}
.rhythm-art:after{width:44px;height:44px;left:5%;bottom:4%;background:url('assets/decor-heart.webp') center/contain no-repeat;border:0;border-radius:0;transform:rotate(-14deg)}
.purchase-art:before{width:48px;height:48px;left:-15px;top:3%;background:url('assets/decor-rays-left.webp') center/contain no-repeat;box-shadow:none;border-radius:0;transform:rotate(-10deg);z-index:1}
.purchase-art:after{display:none}
.credits-grid:before{width:34px;height:34px;left:20px;top:-15px;background:url('assets/decor-star.webp') center/contain no-repeat;border-radius:0;transform:rotate(-15deg)}
.schools-inner:after{width:44px;height:44px;right:24px;top:-19px;background:url('assets/decor-star.webp') center/contain no-repeat;border:0;border-radius:0;transform:rotate(14deg)}
@media(max-width:760px){
  .hero-art:before{width:36px;height:40px;right:6%}
  .bando-section .art-panel:after{width:34px;height:34px}
  .intro:after{display:none}
  .rhythm-art:after{width:32px;height:32px;left:6%;bottom:0}
  .purchase-art:before{width:36px;height:36px;left:0;top:0}
  .schools-inner:after{width:34px;height:34px;right:20px;top:-15px}
}
