@font-face{font-family:DM Sans;src:url(assets/dm-sans.woff2) format("woff2");font-weight:100 1000;font-display:swap}
:root{--paper:#fff9ed;--ink:#292042;--muted:#584e65;--purple:#432563;--orange:#ffb447;--line:#ded1bd;--light:#fffdf7;--serif:Georgia,serif;color-scheme:light}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;border-top:5px solid transparent;border-image:linear-gradient(90deg,#ef4b85,#ff8e43,#ffcc3c,#39bfa5,#57a5ee,#a16af0) 1;background:var(--paper);color:var(--ink);font:1rem/1.55 "DM Sans",system-ui,sans-serif}
a{color:inherit;text-underline-offset:.3em}
button{font:inherit}
img{display:block;max-width:100%}
figure,p{margin:0}
h1,h2,h3{margin:0;font-weight:850;line-height:1.08;letter-spacing:-.047em;text-wrap:balance}
h2{font-size:clamp(2rem,4.7vw,3.7rem)}
h3{font-size:clamp(1.3rem,2.5vw,1.85rem)}
p{color:var(--muted)}
:focus-visible{outline:3px solid #9046c9;outline-offset:4px}
[id]{scroll-margin-top:1.7rem}
.wrap{width:min(1180px,calc(100% - 5rem));margin-inline:auto}
.skip{position:absolute;z-index:10;left:1rem;top:1rem;transform:translateY(-180%);background:white;padding:.8rem}
.skip:focus{transform:translateY(0)}
.top{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line)}
.brand{display:inline-flex;align-items:center;gap:.6rem;text-decoration:none;font-weight:880;letter-spacing:-.025em;white-space:nowrap}
.top .brand{white-space:normal;line-height:1.2}
.top .brand img{flex-shrink:0}
nav{display:flex;flex-wrap:wrap;gap:clamp(.75rem,2.8vw,2.2rem);align-items:center}
nav a{text-decoration:none;font-weight:750;font-size:.94rem}
nav a:hover,.track a:hover,.resource-list a:hover{text-decoration:underline}
.hero{display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(1rem,4vw,4.5rem);align-items:center;padding-block:clamp(2.7rem,6.6vw,6.1rem) clamp(2.5rem,4.7vw,4.4rem)}
.eyebrow{color:var(--purple);text-transform:uppercase;font-size:.76rem;letter-spacing:.13em;font-weight:850;margin-bottom:.65rem}
h1{font-size:clamp(2.7rem,5.9vw,5.65rem);line-height:.98;letter-spacing:-.07em}
.hero-title-series{display:block;max-width:15ch;margin-top:.13em;color:#78328c;font-family:var(--serif);font-size:.58em;line-height:1.03;letter-spacing:-.052em;text-wrap:balance}
.hero-translated-title{margin-top:.8rem;font-size:.91rem;font-weight:700;color:var(--purple)}
.hero-description{max-width:43ch;margin-top:1rem;font-size:clamp(1rem,1.55vw,1.2rem)}
.hero-resource-link{display:inline-flex;align-items:center;min-height:44px;padding-inline:.45rem;font-weight:800;font-size:.92rem;color:var(--purple)}
.actions{display:flex;align-items:center;flex-wrap:wrap;gap:.65rem;margin-top:1.5rem}
.button{display:inline-flex;gap:.65rem;align-items:center;justify-content:center;min-height:46px;border:1px solid transparent;border-radius:100px;padding:.65rem 1.1rem;text-align:center;text-decoration:none;font-weight:850;font-size:.93rem;line-height:1.22;transition:background .15s,transform .15s}
.button:hover{transform:translateY(-2px)}
.primary{background:#51228c;color:white}.primary:hover{background:#6b2fae}
.secondary{background:transparent;border-color:#a997b1}.secondary:hover{background:#ffffff95}
.hero-art{
  position:relative;
  isolation:isolate;
  container-type:inline-size;
  display:grid;
  place-items:center;
  overflow:hidden;
  min-width:0;
  padding:clamp(.85rem,2.5vw,1.4rem) 0 3.8rem;
  border-radius:28px;
  background:
    radial-gradient(ellipse at 52% 50%,#fff3c6 0%,#fff3c655 52%,transparent 76%),
    linear-gradient(140deg,#ffb968 1%,#ffdfa2 28%,#ffd2d8 56%,#debafa 75%,#a1def3 100%);
  box-shadow:inset 0 0 0 1px #d491a34f,0 12px 28px #a2645921;
}
.hero-art img{
  position:relative;
  z-index:1;
  width:calc(100% - clamp(2.25rem,6vw,4.45rem));
  height:auto;
  border-radius:17px;
  box-shadow:0 8px 24px #5b365032;
}
.hero-sky{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.motif{
  position:absolute;
  top:var(--rest);
  left:var(--x);
  width:clamp(15px,7cqw,var(--size));
  aspect-ratio:1;
  color:var(--tone);
  opacity:.85;
  transform:translateX(-50%) rotate(-16deg);
}
.motif.star{
  background:currentColor;
  clip-path:polygon(50% 0%,62% 34%,100% 37%,70% 60%,80% 98%,50% 76%,20% 98%,30% 60%,0% 37%,38% 34%);
}
.motif.paw{
  z-index:2;
  width:clamp(21px,7.6cqw,var(--size));
  filter:drop-shadow(0 0 1px #fff8ee) drop-shadow(0 2px 2px #2a114642);
  background:
    radial-gradient(ellipse 12% 15% at 18% 43%,currentColor 97%,transparent),
    radial-gradient(ellipse 12% 16% at 39% 23%,currentColor 97%,transparent),
    radial-gradient(ellipse 12% 16% at 64% 23%,currentColor 97%,transparent),
    radial-gradient(ellipse 12% 15% at 84% 43%,currentColor 97%,transparent),
    radial-gradient(ellipse 28% 23% at 51% 73%,currentColor 97%,transparent);
}
.hero-sky.is-animated .motif{
  top:0;
  animation:falling-motif var(--pace) linear var(--delay) infinite;
}
.hero-sky.is-paused .motif{animation-play-state:paused}
@keyframes falling-motif{
  from{opacity:0;transform:translate(-50%,-40px) rotate(-34deg)}
  13%{opacity:.84}
  85%{opacity:.84}
  to{opacity:0;transform:translate(calc(-50% + var(--drift)),calc(76cqw + 45px)) rotate(44deg)}
}
.motion-control{
  position:absolute;
  z-index:2;
  inset:auto .8rem .7rem auto;
  min-height:44px;
  padding:.3rem .7rem;
  border:1px solid #714aa1;
  border-radius:100px;
  background:#fffaf3;
  color:#4d2574;
  font-size:.76rem;
  font-weight:800;
  cursor:pointer;
}
.motion-control:hover{background:#f6e7fc}
@media(prefers-reduced-motion:reduce){
  .hero-sky.is-animated .motif{top:var(--rest);animation:none}
  .motion-control{display:none}
}
.tracks,.play,.contact{padding-block:1.5rem 4.7rem}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.55rem}
.section-head p{max-width:30ch}
.track-grid,.game-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.track,.game{display:flex;flex-direction:column;border-radius:19px;padding:clamp(1.1rem,2.6vw,1.8rem)}
.track{border:1px solid var(--accent);box-shadow:inset 0 4px 0 var(--accent)}
.track p,.game p:not(.eyebrow,.feedback){margin-block:.68rem 1.05rem}
.track a{width:fit-content;margin-top:auto;font-weight:850;text-decoration:none}
.tile-icon{height:48px;display:flex;align-items:center;font-size:2.8rem;margin-bottom:.7rem;line-height:1;color:var(--purple)}
.peach{--accent:#ed7b61;background:linear-gradient(150deg,#ffe4bf,#ffd9df)}
.lilac{--accent:#a97ce7;background:linear-gradient(150deg,#efdfff,#e1ddff)}
.yellow{--accent:#4cbfa9;background:linear-gradient(150deg,#dcfbec,#c0f0f3)}
.story-band{background:linear-gradient(115deg,#f0ddff,#e5e5ff 54%,#dbf4ff);padding-block:clamp(2.5rem,6vw,5.3rem)}
.story{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(1.5rem,4.5vw,4rem)}
.story-art{border-radius:24px;overflow:hidden;background:#e1cceb}
.story-art img{display:block;width:100%;height:auto;aspect-ratio:1.44;object-fit:cover}
.story h2+p,.contact h2+p{margin-top:1rem}
.story-clue{margin-top:1.05rem;padding-left:1rem;border-left:3px solid #975bb4}
.play{padding-top:clamp(3rem,6vw,5rem)}
.game{--game-border:#e598b1;--game-paper:#fff0f4;background:linear-gradient(155deg,var(--game-paper),var(--light) 78%);border:1px solid var(--game-border);border-top-width:4px}
.game:nth-child(2){--game-border:#73b0e6;--game-paper:#e9f5ff}
.game:nth-child(3){--game-border:#d7a43e;--game-paper:#fff3c7}
.choices{padding:0;margin:0;border:0;min-width:0;display:grid;gap:.44rem}
.choices legend{padding:0;margin:0 0 .55rem;font-weight:850}
.choices button,.cards button{border:1px solid #c9b4df;border-radius:9px;background:#f4ebff;color:var(--ink);cursor:pointer;min-height:44px;font-weight:760}
.choices button{padding:.45rem .6rem;text-align:left}
.choices button:hover,.cards button:hover{background:#e6d6ff}
.choices button[aria-pressed="true"]{border-color:#5d357c;background:#e6d6ff}
.choices button[data-correct][aria-pressed="true"],.cards button.is-matched{background:#dcefcf;border-color:#7b9f60}
.feedback{min-height:3.05em;margin-top:.75rem;color:#4d3564;font-weight:720;font-size:.92rem}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:.35rem}
.cards button{aspect-ratio:1.13;font-size:1.4rem;min-width:0;padding:0}
.cards button.is-matched{cursor:default}
.text-button{margin-top:auto;color:var(--purple);text-align:left;border:0;background:none;width:fit-content;padding:.3rem 0;font-weight:820;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.resource-band{padding-block:clamp(2.6rem,5.5vw,5rem);background:linear-gradient(110deg,#fff0bf,#fff0df 56%,#ffddd9)}
.resource-groups{display:grid;grid-template-columns:1fr 1fr;gap:1rem;align-items:start}
.resource-groups>section,.resource-groups>details{background:var(--light);padding:clamp(1.05rem,2.6vw,1.75rem);border-radius:17px;border:1px solid #ebdbb8}
.resource-groups>details{padding-block:1.05rem}
summary{cursor:pointer;font-weight:850;font-size:1.1rem}
.resource-list{list-style:none;padding:0;margin:.8rem 0 0}
.resource-list li{display:grid;grid-template-columns:1fr auto;align-items:center;gap:.8rem;padding:.65rem 0;border-top:1px solid #eee6d7}
.resource-list strong,.resource-list span{display:block}
.resource-list span{font-size:.9rem;color:var(--muted)}
.resource-list a{white-space:nowrap;border:1px solid #dec79d;border-radius:99px;padding:.38rem .65rem;text-decoration:none;color:#522b67;font-size:.82rem;font-weight:860}
.contact{padding-block:clamp(2.5rem,5.5vw,5rem);display:grid;grid-template-columns:1.45fr 1fr;gap:clamp(1rem,4vw,4rem);align-items:center}
.contact-action{border-left:1px solid var(--line);padding-left:clamp(1.2rem,4vw,3rem)}
.contact-action p{margin-bottom:.8rem}
footer{background:linear-gradient(100deg,#33265f,#542370);color:white}
.foot{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-block:1.05rem}
.foot p{color:#ebe1f7;font-size:.83rem}
@media (max-width:850px){.wrap{width:calc(100% - 3rem)}.hero{gap:1.45rem}.game-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:650px){.wrap{width:calc(100% - 2rem)}.top{align-items:flex-start;flex-direction:column;padding-block:.8rem;gap:.6rem}.hero,.story,.contact,.resource-groups,.game-grid,.track-grid{grid-template-columns:1fr}.hero{padding-top:2.5rem}.hero-art{max-width:470px;width:100%;justify-self:center}.section-head,.foot{align-items:flex-start;flex-direction:column;gap:.55rem}.contact-action{padding-left:0;border-left:0}.feedback{min-height:0}.feedback:empty{margin-top:.35rem}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}.button:hover{transform:none}}

.faith-downloads{margin-top:clamp(2rem,5vw,3.8rem);padding-top:clamp(1.55rem,3vw,2.3rem);border-top:1px solid #d8c5e5}
.faith-downloads .section-head h3{font-size:clamp(1.8rem,4vw,2.65rem)}
.faith-downloads .section-head p{max-width:36ch}
.faith-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.faith-card{padding:clamp(1rem,2.5vw,1.6rem);border:1px solid #d8c5e5;border-radius:17px;background:#fffcff}
.faith-card h4{margin:0;font-size:1.2rem;color:var(--purple)}
.faith-card .resource-list li{border-color:#eae0ef}
.faith-card .resource-list a{border-color:#d8c5e5}
.faith-printables{grid-column:1/-1}
.faith-printables .resource-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:1.75rem}
@media(max-width:650px){.faith-grid,.faith-printables .resource-list{grid-template-columns:1fr}}

.family-game-promo {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.family-game-promo > div {flex:1 1 18rem}
.family-game-promo h3 {margin-top:0}
.family-game-promo p {margin-bottom:0}
#visitas p + .button {margin-top:.65rem}
