/* Shared reading and control styles for the storefront and WooCommerce pages. */
:root {
  --text-body: 1rem;
  --text-small: .875rem;
  --text-caption: .8125rem;
  --muted: #52604e;
}
html { font-size: 100%; scroll-padding-top: 160px; }
body { font-family: var(--body); font-size: var(--text-body); line-height: 1.65; }
input, select, textarea, button { font-family: var(--body); }
h1, h2, h3 { letter-spacing: -.035em; text-wrap: balance; }
.atelier-announcement { font-size: .75rem; letter-spacing: .01em; gap: 16px; line-height: 1.5; }
.atelier-header-inner { gap: 24px; }
.atelier-nav { font-size: .9375rem; gap: clamp(18px, 2.1vw, 34px); line-height: 1.5; }
.atelier-nav a, .atelier-nav summary { padding-block: 10px; }
.atelier-tools { gap: 18px; }
.atelier-tools > a, .header-search > summary { min-height: 44px; min-width: 32px; display: flex; align-items: center; }
.atelier-bag .bag-count { font-size: .75rem; min-width: 22px; height: 22px; }
.dropdown { top: 100%; width: 270px; }
.dropdown a { font-size: .9375rem; padding-block: 11px; }
.header-search input { font-size: 1rem; }
.header-search input:focus-visible { outline: 2px solid var(--action); outline-offset: 4px; }
.immersive-copy { padding-top: 60px; }
.immersive-copy h1 { letter-spacing: -.045em; line-height: .98; }
.immersive-description { font-size: 1rem; line-height: 1.7; color: var(--muted); max-width: 38ch; }
.hero-cta-row { flex-wrap: wrap; gap: 20px; }
.atelier-button, .gift-atelier-form .atelier-button, .cinema-content .atelier-button { font-size: .9375rem; line-height: 1.4; white-space: normal; text-align: left; }
.atelier-button > span { flex-shrink: 0; }
.hero-film-link { font-size: .875rem; }
.spin-world span, .motion-toggle span { font-size: .875rem; letter-spacing: 0; }
.motion-toggle { min-height: 44px; background: #f6f4edf2; border: 1px solid #929e87; border-radius: 30px; padding: 8px 14px; color: var(--ink); }
.atelier-section-top > p, .atelier-section-top > div > p:not(.micro-label),
.gift-atelier-form > p:not(.micro-label), .launch-note p { font-size: 1rem; line-height: 1.7; color: var(--muted); }
.atelier-text-link, .launch-note .atelier-text-link { font-size: .9375rem; line-height: 1.5; }
.atelier-section-top h2 { line-height: 1.08; }
.atelier-section-top h2 span, .atelier-manifesto h2 span, .wonder-word, .immersive-copy h1 > i { color: #596c46; }
.card-index, .editorial-card .card-index, .play-card .card-index { font-size: .875rem; letter-spacing: 0; font-weight: 600; line-height: 1.5; }
.card-index { align-self: flex-start; padding: 8px 14px !important; margin: 20px; border-radius: 24px; background: #f6f4edf2; color: #2e3b31; }
.editorial-card h3 { line-height: 1.12; letter-spacing: -.03em; }
.play-links a { font-size: 1rem; min-height: 52px; align-items: center; }
.atelier-age { min-width: 0; padding: 24px 18px; }
.atelier-age strong { margin-top: 12px; letter-spacing: -.03em; }
.atelier-age strong small { font-size: .9375rem; line-height: 1.5; }
.age-title, .atelier-age:last-child .age-title { font-size: .875rem; line-height: 1.5; margin-top: 26px; }
.atelier-age-note { font-size: .875rem; color: var(--muted); line-height: 1.65; max-width: 85ch; }
.gift-atelier-form label { font-size: .9375rem; letter-spacing: 0; line-height: 1.5; }
.gift-atelier-form select { font-size: 1rem; min-height: 48px; color: var(--ink); background: #e7e6d9; }
.gift-atelier-form h3 { line-height: 1.12; }
.atelier-footer-top { grid-template-columns: 1.25fr 1fr 1.2fr 1fr; }
.atelier-footer-top > div { min-width: 0; }
.atelier-footer-top h2 { font-size: 1rem; line-height: 1.5; }
.atelier-footer-top a:not(.atelier-footer-logo) { font-size: .875rem; line-height: 1.7; color: #eef1e4; padding-block: 3px; }
.atelier-footer-top p { font-size: .875rem; line-height: 1.7; color: #d4ddca; }
.atelier-footer-bottom { font-size: .8125rem; letter-spacing: 0; line-height: 1.6; color: #d4ddca; gap: 20px; }
.page-main h1, .woocommerce-products-header__title { line-height: 1.12; letter-spacing: -.035em; }
.page-content { max-width: 72ch; }
.page-content p, .page-content li, .page-content summary { font-size: 1rem; line-height: 1.75; color: var(--ink); }
.page-content h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.2; letter-spacing: -.025em; }
.page-content h3 { font-size: 1.5rem; line-height: 1.3; }
.page-content summary { cursor: pointer; font-weight: 600; }
.woocommerce-cart .page-content, .woocommerce-checkout .page-content, .woocommerce-account .page-content { max-width: none; }
.woocommerce, .wc-block-cart, .wc-block-checkout { font-family: var(--body); font-size: 1rem; }
.woocommerce .woocommerce-breadcrumb, .woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering, .woocommerce .woocommerce-ordering select { font-size: .875rem; line-height: 1.6; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce ul.products li.product .button, .wc-block-components-button { font-size: .9375rem; line-height: 1.5; min-height: 48px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--body); font-size: 1rem; line-height: 1.5; letter-spacing: 0; font-weight: 600; }
.woocommerce ul.products li.product .price { font-size: 1rem; }
.woocommerce-error, .woocommerce-info, .woocommerce-message, .woocommerce a.added_to_cart { font-size: 1rem; line-height: 1.7; }
.woocommerce-account .woocommerce-MyAccount-navigation a { font-size: 1rem; line-height: 1.6; }
.woocommerce form .form-row label, .wc-block-components-form label, .wc-block-components-text-input label { font-size: 1rem; line-height: 1.5; }
.woocommerce input.input-text, .woocommerce textarea, .woocommerce select { font-size: 1rem; }
.woocommerce .product_meta, .woocommerce .woocommerce-review__published-date { font-size: .875rem; }
:where(a, button, summary, select, input, textarea):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 1100px) {
  .atelier-header-inner { gap: 18px; }
  .atelier-nav { font-size: .875rem; gap: 18px; }
  .atelier-ages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .atelier-footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
}
@media (min-width: 761px) and (max-width: 960px) {
  .atelier-header-inner { height: auto; min-height: 132px; flex-wrap: wrap; padding-top: 12px; row-gap: 4px; }
  .atelier-tools { margin-left: auto; }
  .atelier-nav { order: 3; width: 100%; justify-content: space-between; border-top: 1px solid #2e3b3118; }
}
@media (max-width: 760px) {
  .atelier-announcement { font-size: .75rem; padding: 8px 5%; }
  .atelier-header-inner { min-height: 126px; height: auto; padding-top: 14px; row-gap: 10px; }
  .atelier-nav { font-size: .875rem; padding-block: 3px; gap: 12px; }
  .atelier-tools .bag-count { font-size: .75rem; min-width: 22px; height: 22px; }
  .immersive-hero { min-height: 0; padding-bottom: 68px; }
  .immersive-copy { padding-top: 36px; }
  .immersive-copy h1 { font-size: clamp(3.25rem, 13.8vw, 5.5rem); line-height: 1.03; letter-spacing: -.04em; }
  .immersive-description { max-width: 36ch; }
  .immersive-description br { display: none; }
  .hero-cta-row { flex-wrap: wrap; gap: 18px; }
  .hero-film-link { font-size: .875rem; }
  .world-stage { margin-top: 12px; height: 360px; }
  .spin-world { bottom: 12px; }
  .spin-world span, .motion-toggle span { font-size: .875rem; }
  .atelier-section-top h2 { font-size: clamp(2rem, 8vw, 2.75rem); line-height: 1.12; }
  .atelier-section-top p br, .gift-atelier-form > p br { display: none; }
  .atelier-age { padding: 22px 18px; }
  .atelier-age:last-child { display: flex; min-height: 190px; }
  .atelier-age:last-child strong { margin-top: 12px; }
  .atelier-age:last-child .age-title { margin-top: 26px; }
  .gift-scene h2 { line-height: 1.05; }
  .gift-atelier-form { padding: 36px 24px; }
  .atelier-footer-top { column-gap: 24px; }
  .atelier-footer-logo { max-width: 100%; }
  .atelier-footer-bottom { font-size: .8125rem; }
  .atelier-manifesto h2 { font-size: clamp(2.5rem, 10.5vw, 4.9rem); line-height: 1.08; }
  .page-main h1 { font-size: clamp(2rem, 8vw, 2.625rem); }
}
@media (max-width: 640px) {
  .editorial-collections { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .editorial-card { aspect-ratio: .95; }
  .editorial-card > div:last-child { padding: 24px; }
  .editorial-card h3 { font-size: 2rem; }
  .play-card { min-height: 310px; }
  .play-card > div:last-child { padding: 24px; }
  .atelier-ages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  .atelier-announcement { justify-content: center; }
  .atelier-announcement > span:last-child { display: none; }
  .atelier-footer-top { grid-template-columns: minmax(0, 1fr); }
}

/* Responsive layouts keep artwork separate from text and controls easy to reach. */
.header-search input, .header-search form > div { min-width: 0; }
.atelier-nav a, .atelier-nav summary { min-height: 44px; display: flex; align-items: center; }
.dropdown { max-width: calc(100vw - 32px); max-height: min(540px, calc(100svh - 185px)); overflow-y: auto; overscroll-behavior: contain; }
.dropdown a { min-height: 44px; }
.round-arrow { flex-shrink: 0; }
.atelier-section-top > div, .launch-note > div, .gift-atelier-form, .page-content { min-width: 0; }
.page-content { overflow-wrap: anywhere; }
.age-title { align-items: flex-start; }
.age-title b { flex-shrink: 0; margin-left: auto; }
#toy-world canvas { touch-action: pan-y; }
.atelier-footer-top a:not(.atelier-footer-logo) { min-height: 44px; display: flex; align-items: center; }
@media (min-width: 701px) and (max-width: 1100px) {
  .immersive-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; height: auto; min-height: 0; max-height: none; padding: 0 0 56px; }
  .immersive-copy { width: 100%; padding: 48px 12px 28px 10%; }
  .immersive-copy h1 { font-size: clamp(52px, 7.5vw, 82px); line-height: 1.04; margin-bottom: 30px; }
  .immersive-copy h1 br:nth-of-type(2) { display: initial; }
  .wonder-word { margin-left: 0; }
  .immersive-description { font-size: 1rem; line-height: 1.7; }
  .immersive-description br { display: none; }
  .world-stage { position: relative; inset: auto; width: 100%; height: 560px; margin: 0; overflow: hidden; }
  .spin-world { right: 18px; bottom: 12px; }
  .hero-cta-row { flex-wrap: wrap; gap: 16px; }
  .motion-toggle { right: 5%; bottom: 12px; }
  .editorial-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .editorial-card { aspect-ratio: .9; }
  .editorial-card h3 { font-size: clamp(28px, 3.8vw, 38px); }
  .play-card { grid-column: 1 / -1; aspect-ratio: auto; min-height: 300px; }
  .play-card > div:last-child { padding: 28px; height: 100%; }
  .play-card .card-index { position: absolute; top: 0; left: 0; }
  .play-card h3 { max-width: 60%; }
  .kinetic-blocks { left: 40%; }
  .atelier-section-top { align-items: flex-start; }
  .atelier-section-top h2 { font-size: clamp(36px, 4.6vw, 52px); }
  .atelier-section-top > div { flex: 1; }
  .launch-note { flex-wrap: wrap; }
  .launch-note > div:nth-child(2) { flex: 1; }
  .launch-note .atelier-text-link { margin-left: 95px; }
  .atelier-manifesto h2 { font-size: clamp(64px, 10vw, 105px); max-width: 100%; }
  .atelier-manifesto h2 b { display: none; }
}
@media (max-width: 1000px) {
  .gift-atelier { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .gift-scene { min-height: 0; height: clamp(340px, 49vw, 480px); }
  .gift-scene > div:last-child { padding: 32px; }
  .gift-scene h2 { font-size: clamp(42px, 7.5vw, 72px); line-height: 1.08; }
  .gift-atelier-form { padding: 42px clamp(24px, 6vw, 64px); width: 100%; max-width: 680px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .atelier-header-inner { gap: 12px; row-gap: 8px; min-height: 120px; padding-top: 12px; }
  .atelier-tools { gap: 12px; margin-left: auto; }
  .header-search > summary { width: 44px; justify-content: center; }
  .atelier-bag { min-height: 44px; }
  .atelier-nav { gap: 8px; padding-block: 3px; }
  .atelier-nav > a { white-space: nowrap; }
  .atelier-age strong { font-size: clamp(36px, 10vw, 49px); }
  .atelier-age:last-child { min-height: 176px; }
  .atelier-manifesto h2 { max-width: 100%; font-size: clamp(38px, 10.5vw, 79px); }
  .atelier-manifesto h2 b { display: none; }
  .gift-scene { height: 350px; }
  .gift-scene > div:last-child { padding: 24px; }
  .gift-scene h2 { font-size: clamp(38px, 10vw, 64px); }
  .cinema-content h2 { font-size: clamp(48px, 11vw, 72px); }
  .woocommerce form.login, .woocommerce form.register { padding: 20px 16px; }
  .woocommerce .woocommerce-form-login .woocommerce-form-login__submit { margin-top: 12px; }
  .woocommerce .woocommerce-form-login .form-row { display: flow-root; }
}
@media (max-width: 700px) {
  .immersive-hero { display: flex; flex-direction: column; }
  .immersive-copy { width: 100%; }
  .world-stage { height: clamp(300px, 88vw, 460px); }
  .editorial-collections { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .editorial-card { aspect-ratio: 1; }
  .editorial-card h3 { font-size: clamp(28px, 7.5vw, 38px); }
  .play-card { min-height: 300px; aspect-ratio: auto; }
  .play-card h3 { max-width: 76%; }
  .play-card .card-index { position: relative; inset: auto; }
  .play-card > div:last-child { height: auto; }
  .atelier-text-link { max-width: 100%; gap: 16px; }
  .atelier-text-link svg { flex-shrink: 0; }
  .launch-note .atelier-text-link { margin-left: 0; white-space: normal; }
  .launch-note { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: start; }
  .launch-note .atelier-text-link { grid-column: 2; }
}
@media (max-width: 360px) {
  .atelier-logo { width: 142px; }
  .atelier-nav { gap: 6px; }
  .atelier-nav .nav-drop summary span { margin-left: 4px; }
  .atelier-age { padding: 20px 16px; }
  .atelier-age strong { font-size: 36px; }
}
@media (max-height: 540px) and (max-width: 1100px) {
  .atelier-header { position: relative; }
}
