/* Responsive composition shared across the site. */
body>header,.ta-context>header.ta-header{padding:10px 4%;gap:16px;min-height:68px;box-sizing:border-box}
body>header .brand{font-size:27px}body>header .nav-cta{min-height:44px;padding:10px 16px;gap:12px}
.section-subnav>div,.series-page .section-subnav>div,.ta-page .section-subnav>div{min-height:44px;gap:24px}
.section-subnav a,.ta-page .section-subnav a{min-height:44px;display:inline-flex;align-items:center}
.site-menu-toggle{display:none}
.product-hero-card,.hero-colouring .product-hero-card{padding:24px;width:30%;max-width:420px;left:3%;top:50%}
.product-hero-card h1,.ta-page .product-hero-card h1,.bold-home .product-hero-card h1{font-size:clamp(32px,3.1vw,46px);line-height:1.06;margin:12px 0;letter-spacing:-.04em}
.product-hero-card .product-hero-deck{font-size:16px;line-height:1.45;margin:0 0 12px;max-width:34ch}
.product-hero-card .hero-price{font-size:13px;line-height:1.5;margin:0 0 16px;color:var(--ink)}
.product-hero-card .hero-note{font-size:11px;line-height:1.4;margin-top:10px;max-width:40ch}
.product-hero-actions{gap:4px 16px;align-items:center}.product-hero-actions .button{min-height:46px;font-size:13px;padding:11px 16px}.hero-secondary{min-height:44px}
.product-hero-card .amazon-launch{margin:12px 0 16px}.product-hero-card .amazon-launch>img{width:85px;margin-bottom:8px}
.ux-section,.ta-section{padding-block:clamp(36px,4.5vw,64px)}
.ux-section h2,.bold-home .ux-section h2,.ta-page .ta-section h2{font-size:clamp(30px,3.4vw,48px);line-height:1.12}
.ux-three,.ta-three{margin-top:26px;gap:28px}.ux-three h3,.ta-three h3{font-size:23px!important}.ux-three p,.ta-three p{line-height:1.6}
.ta-plans,.club-billing-grid{align-items:stretch}.ta-plans article,.club-billing-grid article{display:flex;flex-direction:column;padding:28px;min-width:0}.ta-plans article>.button,.club-billing-grid article>.button{margin-top:auto;align-self:flex-start}.ta-plans .ta-checklist{margin-bottom:24px}
.fridge-gallery{max-width:680px}.fridge-door{padding-block:26px}.fridge-art{width:min(100%,290px)}.fridge-art img{max-height:360px}.fridge-display{gap:18px}.pet-polaroid{width:128px}.pet-polaroid img{height:88px}.fridge-controls{margin-top:18px}
.ta-builder #make-adventure{padding-top:22px}.ta-builder .ta-progress{padding-top:16px}.ta-page input,.ta-page textarea,.ta-page select{font-size:16px;max-width:100%}main,section,article,.ta-three>*{min-width:0}
@media(min-width:1100px) and (max-height:780px){.product-hero-card,.hero-colouring .product-hero-card{top:24px;transform:none}.product-hero-card h1,.ta-page .product-hero-card h1,.bold-home .product-hero-card h1{font-size:36px}}
@media(min-width:701px) and (max-width:1099px){
 body>header,.ta-context>header.ta-header{gap:6px 16px;padding:8px 4%}
 body>header .site-nav,.ta-context .ta-header .site-nav{gap:24px;justify-content:center}
 .product-hero-card,.hero-colouring .product-hero-card,.premium-home-hero .product-hero-card{position:relative;top:auto;left:auto;transform:none;width:92%;max-width:900px;padding:22px 0;margin:0 auto}
 .product-hero-card h1,.ta-page .product-hero-card h1,.bold-home .product-hero-card h1{font-size:38px;margin:8px 0;max-width:22ch}.product-hero-card h1 br{display:none}
 .product-hero-card .product-hero-deck{max-width:64ch;margin-bottom:10px}.product-hero-card .hero-price{margin-bottom:12px}
 .product-hero-photo{max-height:430px;width:100%;object-fit:contain}.product-hero-card .amazon-launch{display:flex;margin:10px 0}.product-hero-card .amazon-launch>img{margin:0}
 .club-billing-grid{grid-template-columns:1fr}.ta-plans{gap:20px}
}
@media(max-width:700px){
 body>header,.ta-context>header.ta-header{flex-wrap:nowrap;gap:8px;padding:8px 4%;min-height:62px;position:sticky}
 body>header .brand,.ta-context .ta-header .brand{font-size:22px;margin-right:auto;letter-spacing:-1px}.brand-shield{width:24px;height:24px}
 .site-menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:5px;background:transparent;border:1px solid var(--line);color:var(--ink);font:600 11px Geist,Arial,sans-serif;order:0;cursor:pointer;border-radius:2px}
 body>header .site-nav,.ta-context .ta-header .site-nav,.ta-builder .ta-header .site-nav{display:none;position:absolute;top:100%;left:0;width:100%;margin:0;padding:10px 4%;box-sizing:border-box;background:var(--paper);border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr;gap:4px 20px;z-index:65;box-shadow:0 8px 12px #332c2910}
 body>header[data-menu-open=true] .site-nav,.ta-context .ta-header[data-menu-open=true] .site-nav{display:grid}body>header .site-nav a{font-size:14px;padding:4px 0;min-height:44px}
 body>header .nav-cta,.ta-context .ta-header .nav-cta{display:inline-flex;font-size:11px;padding:9px 10px;gap:0;min-height:44px;margin:0}.nav-cta span[aria-hidden]{display:none}
 body>header .ta-bag-link,.ta-context .ta-header .ta-bag-link{min-width:36px;min-height:44px;margin:0}.ta-bag-link svg{width:23px;height:23px}
 .section-subnav>div,.series-page .section-subnav>div,.ta-page .section-subnav>div{min-height:44px;gap:22px;width:92%}.section-subnav .subnav-kicker{display:none}
 .product-hero-card,.hero-colouring .product-hero-card,.premium-home-hero .product-hero-card{position:relative;left:auto;top:auto;transform:none;width:100%;padding:20px 5%;margin:0;max-width:none;box-shadow:none}
 .product-hero-card h1,.ta-page .product-hero-card h1,.bold-home .product-hero-card h1{font-size:32px;max-width:21ch;margin:9px 0 10px;line-height:1.08}.product-hero-card h1 br{display:none}
 .product-hero-card .eyebrow{font-size:10px}.product-hero-card .product-hero-deck{font-size:15px;line-height:1.45;margin-bottom:11px;max-width:42ch}.product-hero-card .hero-price{font-size:12px;line-height:1.5;margin-bottom:12px}.product-hero-card .hero-note{font-size:11px;margin-top:8px;max-width:none}
 .product-hero-actions{gap:3px 18px}.product-hero-actions .button{flex-basis:100%;justify-content:center;font-size:14px;min-height:46px}.hero-secondary{font-size:12px;min-height:40px}
 .product-hero-photo{max-height:none;object-fit:contain;aspect-ratio:1672/941}.premium-photo-caption{padding:10px 5%}
 .page-width{width:90%}.ux-section,.ta-section{padding-block:36px}.ux-section h2,.bold-home .ux-section h2,.ta-page .ta-section h2{font-size:30px!important}.ux-three,.ta-three{margin-top:22px;gap:22px}.ux-three h3,.ta-three h3{font-size:22px!important}.ux-three p,.ta-three p{font-size:15px}
 .ta-plans article,.club-billing-grid article{padding:22px}.ta-plans h3,.ux-options h3{font-size:26px!important}.ta-plans .button,.club-billing-grid .button{width:100%;justify-content:center;box-sizing:border-box}
 .fridge-door{padding:24px 35px 22px 44px}.fridge-art img{max-height:300px}.fridge-art{max-width:230px}.pet-polaroid{width:110px;padding:8px 8px 6px}.pet-polaroid img{height:72px}.pet-polaroid figcaption{font-size:11px}.fridge-controls h3{font-size:18px}.fridge-controls p{font-size:12px}.sample-downloads{gap:4px 16px}
 .ta-cast{grid-template-columns:repeat(2,minmax(0,1fr))}.ta-progress{gap:8px 14px}.ta-builder #make-adventure{padding-top:20px}
}
@media(max-width:360px){body>header,.ta-context>header.ta-header{gap:6px;padding-inline:3%}body>header .brand,.ta-context .ta-header .brand{font-size:19px}.brand-shield{width:21px;height:21px}.site-menu-toggle{min-width:40px}body>header .nav-cta,.ta-context .ta-header .nav-cta{font-size:10px;padding-inline:7px}.product-hero-card h1,.ta-page .product-hero-card h1,.bold-home .product-hero-card h1{font-size:29px}}
@media(max-width:700px){body>header,.ta-context>header.ta-header{flex-wrap:wrap}body>header .brand svg.brand-shield{width:24px!important;height:26px!important}.site-menu-toggle{flex-shrink:0}}
@media(max-width:360px){body>header .brand,.ta-context .ta-header .brand{gap:4px}body>header .brand svg.brand-shield{width:20px!important;height:23px!important}}
@media(max-width:360px){body>header,.ta-context>header.ta-header{gap:4px}body>header .brand,.ta-context .ta-header .brand{font-size:18px}}
@media(max-width:700px){.section-subnav>div,.series-page .section-subnav>div,.ta-page .section-subnav>div{scrollbar-width:none}.section-subnav>div::-webkit-scrollbar{display:none}}

.home-quick-routes{display:flex;gap:12px;margin-top:18px}.home-quick-routes a{display:inline-flex;align-items:center;justify-content:space-between;gap:18px;min-height:46px;padding:10px 16px;box-sizing:border-box;border:1px solid var(--ink);background:var(--paper);font-size:14px;font-weight:600;text-decoration:none}.home-choose-intro{margin-bottom:20px}.home-product-content{padding:20px 24px}.home-product-content ul{gap:6px;margin-bottom:14px}.home-product-content .button{min-height:46px}.home-product-image img{max-height:220px;object-fit:contain}
@media(max-width:700px){.home-choose{padding-top:22px}.bold-home .home-choose h1{font-size:30px}.home-quick-routes{gap:10px}.home-quick-routes a{flex:1;font-size:13px;padding:10px 12px;gap:8px}.home-product-content{padding:20px}.home-product-image img{max-height:190px}.home-product-content .button{box-sizing:border-box}.home-product-grid{gap:20px}}

/* Image-first product heroes at every tablet and phone width. */
@media(max-width:1199px){
 .product-lifestyle-hero{display:flex;flex-direction:column}
 .product-lifestyle-hero>.product-hero-photo{order:0;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
 .product-lifestyle-hero>.product-hero-card{order:1;position:relative;inset:auto;transform:none;width:100%;max-width:none;margin:0;padding:28px 5%;box-sizing:border-box}
 .product-lifestyle-hero>.premium-photo-caption{order:2}
}

/* Tablet navigation: Picture Books, Build-a-Book, hamburger at the far right. */
.tablet-books-link{display:none}
@media(min-width:701px) and (max-width:1199px){
 body>header.tablet-menu-ready{flex-wrap:nowrap;gap:20px;padding:10px 4%;min-height:68px}
 body>header.tablet-menu-ready .brand{margin-right:auto;flex-shrink:0}
 body>header.tablet-menu-ready .tablet-books-link{display:inline-flex;align-items:center;min-height:44px;flex-shrink:0;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap;order:1}
 body>header.tablet-menu-ready .tablet-books-link[aria-current=page]{text-decoration:underline;text-underline-offset:6px}
 body>header.tablet-menu-ready .nav-cta{order:2;margin:0;min-height:44px;font-size:13px}
 body>header.tablet-menu-ready .site-menu-toggle{display:inline-flex;align-items:center;justify-content:center;order:3;min-width:64px;min-height:44px;padding:10px 12px;background:transparent;color:#332c29;border:1px solid #332c2960;border-radius:3px;font:600 12px Geist,Arial,sans-serif;cursor:pointer;flex-shrink:0}
 body>header.tablet-menu-ready .site-nav{display:none;position:absolute;top:100%;right:4%;left:auto;width:min(360px,92vw);padding:16px 22px;margin:0;box-sizing:border-box;background:#faf7f0;color:#332c29;border:1px solid #332c2930;box-shadow:0 12px 24px #332c2918;z-index:65;overflow:visible}
 body>header.tablet-menu-ready[data-menu-open=true] .site-nav{display:grid;grid-template-columns:1fr;gap:4px}
 body>header.tablet-menu-ready .site-nav a{display:flex;align-items:center;min-height:44px;font-size:15px;padding:8px 0}
 body>header.tablet-menu-ready .site-nav .tablet-books-in-menu{display:none}
}

/* Native modal menu fills tablet and mobile viewports; desktop shows full global navigation. */
/* The tablet toggle opens the modal, so the legacy inline menu must stay hidden.
   Match the Tiny Adventures header specificity to prevent its older layout rule
   from exposing a second navigation row over the section links. */
@media(min-width:701px) and (max-width:1199px){
 body>header.tablet-menu-ready .site-nav,
 .ta-context>header.ta-header.tablet-menu-ready .site-nav{display:none}
}
.full-site-menu{position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;box-sizing:border-box;margin:0;padding:0;border:0;background:#faf7f0;color:#332c29;overflow:auto;overscroll-behavior:contain}
.full-site-menu:not([open]){display:none}
.full-site-menu::backdrop{background:#faf7f0}
.full-menu-top{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 6%;background:#e8dcc0;z-index:1}
.full-menu-brand{font:700 27px Geist,Arial,sans-serif;text-decoration:none;letter-spacing:-1px}
.full-menu-close{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;background:transparent;border:1px solid #332c2960;border-radius:4px;color:#332c29;cursor:pointer}
.full-menu-content{max-width:1100px;margin:auto;padding:34px 6% max(36px,env(safe-area-inset-bottom))}
.full-menu-content h2{font:600 clamp(25px,4vw,42px)/1.15 Geist,Arial,sans-serif;letter-spacing:-.035em;margin:0 0 28px}
.full-menu-primary{display:grid;grid-template-columns:1fr 1fr;gap:0 36px}
.full-menu-primary a{display:flex;align-items:center;min-height:64px;padding:16px 0;border-bottom:1px solid #332c2930;font:550 clamp(22px,3.3vw,32px)/1.2 Geist,Arial,sans-serif;text-decoration:none}
.full-menu-primary a:hover,.full-menu-primary a[aria-current=page]{text-decoration:underline;text-underline-offset:6px}
.full-menu-policies{display:flex;flex-wrap:wrap;gap:4px 24px;margin-top:28px}
.full-menu-policies a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;text-underline-offset:4px}
.full-site-menu a:focus-visible,.full-site-menu button:focus-visible{outline:3px solid #332c29;outline-offset:4px}
@media(max-width:700px){.full-menu-primary{grid-template-columns:1fr}.full-menu-primary a{min-height:54px;padding:12px 0;font-size:25px}.full-menu-content{padding-top:24px}.full-menu-content h2{font-size:28px}.full-menu-top{padding-block:12px}.full-menu-policies{gap:0 20px}}

/* Keep product hero imagery inside the first viewport below the sticky navigation. */
@media(min-width:1200px){
 .product-lifestyle-hero{height:min(calc(100vh - 140px),56.3vw);height:min(calc(100svh - 140px),56.3vw);overflow:hidden}
 .product-lifestyle-hero.hero-picture{height:min(calc(100vh - 140px),46.4vw);height:min(calc(100svh - 140px),46.4vw)}
 .product-lifestyle-hero>.product-hero-photo{width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:center top}
 .product-lifestyle-hero.hero-picture>.product-hero-photo{object-fit:contain;object-position:center}
}
@media(min-width:701px) and (max-width:1199px){
 .product-lifestyle-hero>.product-hero-photo{width:100%;height:min(430px,calc(100vh - 140px),56.3vw);height:min(430px,calc(100svh - 140px),56.3vw);max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center}
 .product-lifestyle-hero.hero-picture>.product-hero-photo{height:min(430px,calc(100vh - 140px),46.4vw);height:min(430px,calc(100svh - 140px),46.4vw)}
}
@media(max-width:700px){
 .product-lifestyle-hero>.product-hero-photo{width:100%;height:min(56.3vw,calc(100vh - 110px));height:min(56.3vw,calc(100svh - 110px));max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center}
 .product-lifestyle-hero.hero-picture>.product-hero-photo{height:min(46.4vw,calc(100vh - 110px));height:min(46.4vw,calc(100svh - 110px))}
}
