.coloring-page [hidden] { display: none !important; }
.coloring-page { --coloring-gold: #fbbf24; --coloring-navy: #0f172a; }
.coloring-page a:focus-visible,
.coloring-page button:focus-visible,
.coloring-page select:focus-visible,
.coloring-page summary:focus-visible { outline: 3px solid #fbbf24; outline-offset: 5px; }
.coloring-skip { position: absolute; top: -8rem; left: 12px; z-index: 20; padding: 12px 18px; color: #0f172a; background: #fbbf24; border-radius: 8px; font-weight: 700; }
.coloring-skip:focus { top: 12px; }
.coloring-brand-star { color: #fbbf24; margin-left: .5rem; font-size: 1rem; }
.coloring-hero { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 2rem; padding-top: 5rem; padding-bottom: 4.5rem; }
.coloring-hero-copy h1 { max-width: 700px; margin: 1rem 0 1.5rem; font-size: clamp(2.5rem, 4.5vw, 4rem); line-height: 1.13; letter-spacing: -.035em; }
.coloring-hero-copy h1 span { color: #fbbf24; }
.coloring-hero-copy .intro { max-width: 570px; margin-bottom: 2rem; }
.coloring-hero-note { color: #cbd5e1; font-size: .875rem; margin-top: 1rem; }
.coloring-hero-art { position: relative; min-height: 430px; display: flex; align-items: center; justify-content: center; }
.coloring-hero-art::before { content: ""; position: absolute; width: 310px; height: 310px; border-radius: 50%; background: radial-gradient(circle, rgba(251,191,36,.11), transparent 72%); }
.coloring-paper { position: absolute; width: 220px; background: white; padding: 12px; border-radius: 5px; box-shadow: 0 18px 50px #0006; }
.coloring-paper img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; }
.coloring-paper-back { transform: translate(53px, -20px) rotate(12deg); }
.coloring-paper-front { transform: translate(-48px, 8px) rotate(-9deg); }
.coloring-art-note { position: absolute; left: 50%; bottom: 0; width: max-content; transform: translateX(-50%) rotate(-4deg); color: #fde68a; font-family: Georgia, serif; font-style: italic; font-size: 1.15rem; }
.coloring-art-spark { position: absolute; color: #fbbf24; font-size: 2.3rem; }
.coloring-art-spark-one { right: 0; top: 30px; }
.coloring-art-spark-two { left: 0; bottom: 42px; font-size: 1.75rem; }
.coloring-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; list-style: none; margin: 0; padding: 1.8rem 0; border-top: 1px solid #ffffff1f; border-bottom: 1px solid #ffffff1f; }
.coloring-steps li { display: flex; gap: 1rem; align-items: flex-start; }
.coloring-step-number { display: flex; align-items: center; justify-content: center; flex: 0 0 36px; height: 36px; border: 1px solid #fbbf2450; background: #fbbf240c; color: #fbbf24; border-radius: 50%; font-weight: 700; }
.coloring-steps strong, .coloring-steps li div > span { display: block; }
.coloring-steps strong { font-size: 1rem; font-weight: 650; }
.coloring-steps li div > span { color: #cbd5e1; font-size: .875rem; margin-top: .3rem; }
.coloring-library { scroll-margin-top: 2rem; }
.coloring-library-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.coloring-library-heading .muted { max-width: 620px; }
.coloring-filter { flex: 0 0 205px; }
.coloring-filter label { display: block; font-size: .875rem; font-weight: 650; color: #cbd5e1; margin-bottom: .5rem; }
.coloring-filter select { width: 100%; padding: .8rem 2.25rem .8rem .85rem; color: #f8fafc; background: #1e293b; border: 1px solid #64748b; border-radius: 9px; font: inherit; cursor: pointer; }
.coloring-results-row { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.65rem 0 1rem; }
.coloring-results { margin: 0; color: #cbd5e1; font-size: .875rem; }
.coloring-reset { border: 0; background: transparent; color: #fbbf24; font: inherit; font-size: .875rem; padding: .4rem 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.coloring-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.coloring-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; color: #0f172a; border-radius: 16px; box-shadow: 0 7px 22px #0002; }
.coloring-card-picture { display: flex; align-items: center; justify-content: center; min-height: 292px; padding: 1.2rem 1.75rem; background: #f8f7f3; border-bottom: 1px solid #e7e5df; }
.coloring-card-picture img { display: block; width: 100%; height: 270px; object-fit: contain; aspect-ratio: 2 / 3; background: #fff; box-shadow: 0 3px 9px #0f172a12; }
.coloring-card-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.4rem; }
.coloring-tag { display: inline-block; padding: .2rem .6rem; border-radius: 5px; background: #fef3c7; color: #78350f; font-size: .7rem; font-weight: 750; letter-spacing: .045em; text-transform: uppercase; }
.coloring-card h3 { margin: .8rem 0 .6rem; font-size: 1.2rem; line-height: 1.35; letter-spacing: -.02em; }
.coloring-card p { margin: 0 0 1.35rem; color: #475569; font-size: .94rem; line-height: 1.6; }
.coloring-card-link { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; min-height: 44px; margin-top: auto; padding-top: .7rem; border-top: 1px solid #e2e8f0; text-decoration: none; color: #0f172a; font-size: .94rem; font-weight: 700; }
.coloring-card-link > span[aria-hidden] { font-size: 1.3rem; font-weight: 400; }
.coloring-card-link:hover { color: #92400e; text-decoration: underline; text-underline-offset: 4px; }
.coloring-card a:focus-visible { outline-color: #92400e; }
.coloring-print-tip { margin-top: 1.4rem; font-size: .875rem; line-height: 1.7; color: #cbd5e1; }
.coloring-print-tip strong { color: #f8fafc; }
.coloring-routine { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.coloring-routine > div { max-width: 640px; }
.coloring-routine .button { flex-shrink: 0; }
.coloring-faq { max-width: 840px; margin-left: auto; margin-right: auto; }
.coloring-faq-list { margin-top: 2rem; }
.coloring-faq details { padding: 0; border-bottom: 1px solid #ffffff24; }
.coloring-faq summary { position: relative; padding: 1.3rem 2rem 1.3rem 0; font-weight: 650; cursor: pointer; list-style: none; }
.coloring-faq summary::-webkit-details-marker { display: none; }
.coloring-faq summary::after { content: "+"; position: absolute; right: .3rem; top: 1.1rem; color: #fbbf24; font-size: 1.4rem; font-weight: 400; }
.coloring-faq details[open] summary::after { content: "−"; }
.coloring-faq details p { color: #cbd5e1; padding: 0 2rem 1.25rem 0; margin: 0; line-height: 1.8; }
.coloring-story-invitation { padding: 3.5rem 1.5rem 5rem; text-align: center; }
.coloring-story-invitation h2 { margin: 1rem 0; font-size: clamp(1.85rem, 3.8vw, 2.8rem); line-height: 1.25; letter-spacing: -.025em; }
.coloring-story-invitation > p:not(.eyebrow) { max-width: 560px; color: #cbd5e1; margin: 0 auto 1.8rem; }
.coloring-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 960px) {
  .coloring-hero { grid-template-columns: 1.2fr .8fr; gap: 1rem; }
  .coloring-hero-art { min-height: 340px; }
  .coloring-paper { width: 175px; padding: 10px; }
  .coloring-paper-back { transform: translate(29px, -18px) rotate(12deg); }
  .coloring-paper-front { transform: translate(-27px, 7px) rotate(-9deg); }
  .coloring-art-spark-one { right: -7px; top: 16px; }
  .coloring-art-spark-two { left: -9px; }
  .coloring-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coloring-routine { display: block; }
  .coloring-routine .button { margin-top: 1rem; }
}

@media (max-width: 640px) {
  .coloring-hero { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .coloring-hero-copy h1 { max-width: 530px; font-size: clamp(2.2rem, 8.5vw, 3.1rem); }
  .coloring-hero-art { min-height: 315px; width: min(340px, 100%); margin: 0 auto; }
  .coloring-paper { width: 166px; }
  .coloring-paper-back { transform: translate(45px, -15px) rotate(12deg); }
  .coloring-paper-front { transform: translate(-36px, 0) rotate(-9deg); }
  .coloring-art-note { font-size: 1rem; }
  .coloring-art-spark-one { right: 12px; top: 7px; }
  .coloring-art-spark-two { left: 5px; bottom: 40px; }
  .coloring-steps { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.5rem 0; }
  .coloring-library-heading { display: block; }
  .coloring-filter { margin-top: 1.4rem; max-width: 320px; }
  .coloring-grid { gap: 1rem; }
  .coloring-card-picture { min-height: 180px; padding: .9rem; }
  .coloring-card-picture img { height: 205px; }
  .coloring-card-content { padding: 1rem; }
  .coloring-card h3 { font-size: 1.08rem; }
  .coloring-card p { font-size: .875rem; }
  .coloring-card-link { font-size: .875rem; }
  .coloring-routine { padding: 1.5rem; }
  .coloring-story-invitation { padding-left: 0; padding-right: 0; }
}

@media (max-width: 420px) {
  .coloring-grid { grid-template-columns: 1fr; }
  .coloring-card-picture img { height: 280px; }
  .coloring-card-content { padding: 1.3rem; }
  .coloring-card h3 { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .coloring-page { scroll-behavior: auto; }
}
