:root {
  --navy: #0b1d33;
  --navy-2: #142b49;
  --blue: #2457e6;
  --sky: #dfe9ff;
  --sun: #ffd253;
  --coral: #ff7157;
  --mint: #7ad9bd;
  --paper: #f7f7f4;
  --white: #fff;
  --ink: #111d2d;
  --muted: #647082;
  --line: rgba(17, 29, 45, .13);
  --shadow: 0 28px 80px rgba(11, 29, 51, .16);
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.62; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, summary { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { margin-bottom: 0; line-height: .98; letter-spacing: -.05em; }
h1, h2 { font-weight: 850; }
h2 { font-size: clamp(3rem, 6vw, 6.2rem); }
h3 { font-size: 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 500; top: .8rem; left: .8rem; padding: .8rem 1rem; color: #fff; background: var(--blue); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; width: min(calc(100% - 2.5rem), var(--max)); min-height: 5.4rem; margin: .8rem auto 0; padding: .7rem .8rem .7rem 1rem; color: #fff; border: 1px solid rgba(255,255,255,.26); border-radius: 1.15rem; background: rgba(11,29,51,.15); backdrop-filter: blur(15px); transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.site-header.is-scrolled { background: rgba(11,29,51,.94); border-color: rgba(255,255,255,.12); box-shadow: 0 12px 40px rgba(0,0,0,.2); }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; }
.brand-mark { display: grid; grid-template-columns: 1fr 1fr; width: 3.3rem; height: 2.25rem; border: 1px solid currentColor; border-radius: .45rem; overflow: hidden; }
.brand-mark i { display: grid; place-items: center; font-style: normal; font-size: .8rem; font-weight: 900; }
.brand-mark i + i { color: var(--navy); background: var(--sun); }
.brand-name { display: grid; font-size: 1rem; font-weight: 550; line-height: 1.05; letter-spacing: -.02em; }
.brand-name strong { font-weight: 900; }
.brand-name small { margin-top: .3rem; color: rgba(255,255,255,.58); font-size: .58rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 1.25rem; }
.main-nav a { color: rgba(255,255,255,.78); font-size: .86rem; font-weight: 700; text-decoration: none; }
.main-nav a:hover { color: #fff; }
.main-nav .nav-button { padding: .85rem 1rem; color: var(--navy); background: #fff; border-radius: .75rem; }
.nav-button span { margin-left: .55rem; }
.menu-button { display: none; width: 2.8rem; height: 2.8rem; padding: .55rem; color: #fff; background: none; border: 0; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 7px 0; background: currentColor; }

.hero { position: relative; display: flex; align-items: center; min-height: 920px; color: #fff; background: var(--navy); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,20,38,.98) 0%, rgba(6,20,38,.88) 34%, rgba(6,20,38,.28) 72%, rgba(6,20,38,.15) 100%), linear-gradient(0deg, rgba(6,20,38,.55), transparent 46%); }
.hero-content { position: relative; z-index: 2; width: min(calc(100% - 3rem), var(--max)); margin: 5rem auto 0; }
.eyebrow, .section-label { margin-bottom: 1.3rem; font-size: .75rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before, .section-label::before { content: ""; display: inline-block; width: 2.8rem; height: 2px; margin: 0 .75rem .22rem 0; background: var(--coral); }
.section-label { color: var(--blue); }
.section-label.light { color: rgba(255,255,255,.68); }
.hero .eyebrow { color: rgba(255,255,255,.68); }
.hero h1 { max-width: 58rem; font-size: clamp(4.3rem, 8vw, 9rem); }
.hero h1 em { color: var(--sun); font-style: normal; }
.hero-lead { max-width: 39rem; margin: 2rem 0 2.2rem; color: rgba(255,255,255,.78); font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.6rem; padding: .95rem 1.4rem; border: 0; border-radius: .85rem; font-size: .92rem; font-weight: 850; text-align: center; text-decoration: none; transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(0,0,0,.18); }
.button-sun { color: var(--navy); background: var(--sun); }
.button-sun:hover { background: #ffe083; }
.button-dark { color: #fff; background: var(--navy); }
.play-link { display: inline-flex; align-items: center; gap: .75rem; padding: .8rem; color: #fff; font-size: .92rem; font-weight: 800; text-decoration: none; }
.play-link span { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; padding-left: .12rem; color: var(--navy); background: #fff; border-radius: 50%; font-size: .72rem; }
.hero-pills { display: flex; flex-wrap: wrap; gap: .55rem; margin: 3.1rem 0 0; padding: 0; list-style: none; }
.hero-pills li { padding: .58rem .8rem; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; color: rgba(255,255,255,.72); font-size: .76rem; font-weight: 750; backdrop-filter: blur(8px); }
.hero-card { position: absolute; z-index: 3; right: max(1.5rem, calc((100vw - var(--max))/2)); bottom: 3.5rem; display: grid; width: 19rem; padding: 1.6rem; color: var(--navy); background: rgba(255,255,255,.92); border-radius: 1.2rem; box-shadow: var(--shadow); backdrop-filter: blur(14px); }
.hero-card-label { color: var(--blue); font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.hero-card strong { margin: 1.1rem 0 1.5rem; font-size: 1.8rem; line-height: 1.05; letter-spacing: -.04em; }
.hero-card a { padding-top: .9rem; border-top: 1px solid var(--line); font-size: .8rem; font-weight: 850; text-decoration: none; }
.hero-card a span { float: right; }

.benefit-strip { display: grid; grid-template-columns: repeat(4, 1fr); color: var(--navy); background: var(--sun); }
.benefit-strip > div { display: flex; align-items: center; justify-content: center; min-height: 8rem; padding: 1.2rem; border-right: 1px solid rgba(11,29,51,.18); }
.benefit-strip > div:last-child { border: 0; }
.benefit-strip strong { margin-right: 1rem; font-size: 2.5rem; line-height: 1; letter-spacing: -.08em; }
.benefit-strip span { font-size: .72rem; font-weight: 850; line-height: 1.25; letter-spacing: .05em; text-transform: uppercase; }

.section { width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: 9rem 0; }
.promise { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(4rem, 8vw, 9rem); align-items: end; }
.promise h2 { max-width: 48rem; }
.promise-copy { padding-bottom: .4rem; }
.promise-copy p { color: var(--muted); }
.promise-copy .promise-lead { color: var(--ink); font-size: 1.3rem; font-weight: 700; }

.author-note-invite-wrap { width: min(calc(100% - 3rem), var(--max)); margin: -4rem auto 8rem; }
.author-note-invite { position: relative; isolation: isolate; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2rem; align-items: center; min-height: 15rem; padding: 2.5rem 2.7rem; overflow: hidden; color: #fff; background: linear-gradient(118deg, #102b4d 0%, var(--navy) 58%, #071525 100%); border-radius: 1.4rem; box-shadow: var(--shadow); }
.author-note-invite::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .13; background: repeating-linear-gradient(115deg, transparent 0 24px, rgba(255,255,255,.1) 24px 25px); }
.author-note-invite::after { content: ""; position: absolute; z-index: -1; right: -8rem; width: 22rem; height: 22rem; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(255,255,255,.025), 0 0 0 8rem rgba(255,255,255,.018); }
.author-note-monogram { position: relative; display: grid; place-items: center; width: 6rem; height: 7.7rem; color: var(--navy); background: var(--sun); border-radius: .35rem .8rem .8rem .35rem; box-shadow: .55rem .55rem 0 rgba(255,255,255,.1); font-family: Georgia, "Times New Roman", serif; font-size: 3.4rem; font-style: italic; }
.author-note-monogram::after { content: ""; position: absolute; right: .6rem; bottom: .9rem; left: .6rem; height: 1px; background: rgba(11,29,51,.42); }
.author-note-invite-copy { max-width: 47rem; }
.author-note-invite-copy .section-label { margin-bottom: .8rem; color: var(--sun); }
.author-note-invite-copy h2 { max-width: 46rem; margin-bottom: .9rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.5vw, 3.8rem); font-weight: 500; line-height: 1.02; letter-spacing: -.035em; }
.author-note-invite-copy > p:last-child { max-width: 44rem; margin: 0; color: rgba(255,255,255,.7); }
.author-note-open { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; width: 18rem; min-height: 4rem; padding: 1rem 1.1rem; color: var(--navy); background: #fff; border: 0; border-radius: .85rem; box-shadow: 0 15px 35px rgba(0,0,0,.2); text-align: left; font-weight: 850; cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease; }
.author-note-open i { color: var(--blue); font-size: 1.25rem; font-style: normal; transition: transform 180ms ease; }
.author-note-open:hover { transform: translateY(-3px); box-shadow: 0 20px 42px rgba(0,0,0,.28); }
.author-note-open:hover i { transform: translate(.2rem, -.2rem); }

.how { color: #fff; background: var(--navy); }
.how-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(24rem, .95fr); gap: 0 clamp(2.5rem, 5vw, 5rem); width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: 6.5rem 0; }
.how-heading { grid-column: 1 / -1; margin-bottom: 2.75rem; }
.how-heading h2 { max-width: 56rem; }
.how-photo { margin: 0; }
.how-photo img { width: 100%; height: clamp(20rem, 28vw, 24rem); object-fit: cover; object-position: center 56%; border-radius: 1.5rem; box-shadow: 1.25rem 1.25rem 0 var(--blue); }
.how-photo figcaption { margin: 1.3rem 0 0 1rem; color: rgba(255,255,255,.55); font-size: .82rem; }
.steps { align-self: center; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 1.3rem; padding: 1.45rem 0; border-top: 1px solid rgba(255,255,255,.18); }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.steps li > span { color: var(--sun); font-size: .72rem; font-weight: 900; }
.steps h3 { margin-bottom: .65rem; font-size: 1.65rem; }
.steps p { margin: 0; color: rgba(255,255,255,.64); }

.catalog-heading { display: grid; grid-template-columns: 1fr .72fr; gap: 6rem; align-items: end; margin-bottom: 4.5rem; }
.catalog-heading > p { max-width: 33rem; margin: 0; color: var(--muted); font-size: 1.08rem; }
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.15rem; perspective: 1400px; }
[data-theme="cities"] { --book-accent: #143f72; --book-accent-rgb: 20 63 114; --book-soft: #e6edf7; }
[data-theme="animals"] { --book-accent: #07583c; --book-accent-rgb: 7 88 60; --book-soft: #e3f0e9; }
[data-theme="myth"] { --book-accent: #8a161d; --book-accent-rgb: 138 22 29; --book-soft: #f5e6e7; }
[data-theme="sports"] { --book-accent: #c85d05; --book-accent-rgb: 200 93 5; --book-soft: #fff0df; }
[data-theme="music"] { --book-accent: #691777; --book-accent-rgb: 105 23 119; --book-soft: #f2e7f5; }
[data-theme="cinema"] { --book-accent: #075d70; --book-accent-rgb: 7 93 112; --book-soft: #e2f0f3; }
[data-theme="geography"] { --book-accent: #087f94; --book-accent-rgb: 8 127 148; --book-soft: #e1f3f5; }
[data-theme="world"] { --book-accent: #0a5f91; --book-accent-rgb: 10 95 145; --book-soft: #e1eef6; }
[data-theme="history"] { --book-accent: #8b3e09; --book-accent-rgb: 139 62 9; --book-soft: #f4e8dc; }
.book { --book-lift: 0px; --book-tilt-x: 0deg; --book-tilt-y: 0deg; --book-glow-x: 50%; --book-glow-y: 38%; position: relative; display: flex; flex-direction: column; min-height: 35rem; padding: 1.6rem; overflow: hidden; border: 0; border-radius: 1.3rem; text-align: left; cursor: pointer; box-shadow: 0 18px 42px rgba(11,29,51,.1); transform-style: preserve-3d; transform-origin: center; will-change: transform; transition: transform 180ms ease-out, box-shadow 220ms ease; }
.book::after { content: attr(data-word); position: absolute; right: -1.2rem; bottom: 3.7rem; color: rgba(255,255,255,.1); font-size: 6rem; font-weight: 950; letter-spacing: -.08em; text-transform: uppercase; transform: rotate(-90deg); transform-origin: bottom right; pointer-events: none; }
.book:hover { box-shadow: 0 34px 75px rgb(var(--book-accent-rgb, 11 29 51) / .25); }
.book-series { font-size: .64rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.book-kicker { margin-top: auto; font-size: 1.2rem; font-weight: 750; }
.book strong { position: relative; z-index: 1; font-size: clamp(2.45rem, 3.6vw, 4rem); line-height: .88; letter-spacing: -.065em; }
.book-topic { position: relative; z-index: 1; margin: 1.2rem 0 1.7rem; font-size: .8rem; font-weight: 750; }
.book-open { position: relative; z-index: 1; padding-top: 1rem; border-top: 1px solid currentColor; font-size: .78rem; font-weight: 900; }
.book-open i { float: right; font-style: normal; }
.book-status { align-self: flex-start; margin-top: .85rem; padding: .38rem .58rem; border: 1px solid currentColor; border-radius: 99px; font-size: .63rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.book-cities { color: #fff; background: var(--navy); }
.book-cities .book-kicker { color: var(--sun); }
.book-animals { color: var(--navy); background: var(--coral); }
.book-football { color: var(--navy); background: var(--sun); }
.book-myth { color: #fff; background: var(--blue); }
.book-myth .book-kicker { color: var(--sun); }
.book-has-cover { min-height: 35rem; padding: .8rem; color: var(--navy); background: linear-gradient(145deg, #f8fafc, var(--book-soft, #e8edf4)); border: 1px solid rgb(var(--book-accent-rgb, 11 29 51) / .12); }
.book-has-cover::after { display: none; }
.book-cover-frame { position: relative; display: grid; place-items: center; width: 100%; height: auto; aspect-ratio: 17 / 22; overflow: hidden; background: #dfe5ee; border-radius: .85rem; box-shadow: 0 12px 28px rgba(11,29,51,.16); transform: translateZ(18px); transition: box-shadow 250ms ease; }
.book-cover-frame::after { content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--book-glow-x) var(--book-glow-y), rgba(255,255,255,.5) 0, rgb(var(--book-accent-rgb) / .22) 19%, transparent 47%), linear-gradient(118deg, transparent 34%, rgba(255,255,255,.22) 49%, transparent 64%); mix-blend-mode: screen; opacity: 0; transition: opacity 220ms ease; }
.book-cover-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease, filter 350ms ease; }
.book-has-cover:hover .book-cover-frame { box-shadow: 0 22px 46px rgb(var(--book-accent-rgb) / .28); }
.book-has-cover:hover .book-cover-frame::after { opacity: 1; }
.book-has-cover:hover .book-cover-frame img { transform: scale(1.025) translateZ(5px); filter: saturate(1.04) contrast(1.015); }
.book-product-meta { display: grid; gap: .38rem; margin-top: auto; padding: .95rem .45rem .25rem; transform: translateZ(10px); }
.book-product-label { color: var(--book-accent, var(--blue)); font-size: .64rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.book-product-title { font-size: 1.4rem; font-weight: 900; line-height: 1.05; letter-spacing: -.035em; }
.book-has-cover .book-open { display: flex; align-items: center; justify-content: space-between; margin-top: .35rem; color: var(--muted); border-color: var(--line); }
.book-has-cover .book-open i { color: var(--book-accent); transition: transform 180ms ease; }
.book-has-cover:hover .book-open i { transform: translate(.22rem, -.22rem); }

.uses { padding: 8rem 0 1rem; color: #fff; background: var(--blue); }
.uses-intro { padding-top: 0; padding-bottom: 4rem; }
.uses-intro h2 { max-width: 66rem; }
.use-mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; }
.use-card { position: relative; min-height: 28rem; margin: 0; overflow: hidden; border-radius: 1.4rem; background: var(--navy); }
.use-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.use-card:hover img { transform: scale(1.035); }
.use-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,22,41,.9), rgba(7,22,41,0) 66%); }
.use-card > div { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 1.7rem; }
.use-card div > span { color: var(--sun); font-size: .69rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.use-card h3 { margin: .55rem 0 .6rem; font-size: 2rem; }
.use-card p { margin: 0; color: rgba(255,255,255,.67); font-size: .88rem; }
.use-family { grid-column: span 7; min-height: 35rem; }
.use-travel { grid-column: span 5; min-height: 35rem; }
.use-senior { grid-column: span 5; }
.use-school { grid-column: span 3; }
.use-wait { grid-column: span 4; }
.use-holiday { grid-column: span 7; }
.text-card { background: var(--sun); color: var(--navy); }
.text-card::after { display: none; }
.text-card > div { top: auto; }
.text-card div > span { color: var(--blue); }
.text-card p { color: rgba(11,29,51,.68); }
.use-number { position: absolute; top: 1.5rem; right: 1.5rem; color: rgba(11,29,51,.18); font-size: 4rem; font-weight: 900; line-height: 1; }

.gift { display: grid; grid-template-columns: 1fr 1fr; min-height: 780px; background: #fff; }
.gift-photo img { width: 100%; height: 100%; object-fit: cover; }
.gift-copy { align-self: center; max-width: 42rem; padding: clamp(4rem, 8vw, 8rem); }
.gift-copy h2 { margin-bottom: 2rem; font-size: clamp(3rem, 5.5vw, 5.8rem); }
.gift-copy > p:not(.section-label) { color: var(--muted); font-size: 1.08rem; }
.gift-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin: 2rem 0; }
.gift-tags span { padding: .6rem .8rem; color: var(--navy); background: var(--sky); border-radius: 99px; font-size: .74rem; font-weight: 800; }

.centers-heading { display: grid; grid-template-columns: .48fr 1.12fr; gap: 4rem; align-items: start; margin-bottom: 3.5rem; }
.centers-heading h2 { max-width: 60rem; }
.centers-lead { max-width: 53rem; margin: 2rem 0 0; color: var(--muted); font-size: 1.12rem; line-height: 1.72; }
.centers-spotlight { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: 34rem; margin-bottom: 1.2rem; overflow: hidden; color: #fff; background: var(--navy); border-radius: 1.5rem; box-shadow: var(--shadow); }
.centers-photo { position: relative; min-height: 34rem; margin: 0; overflow: hidden; }
.centers-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(6,20,38,.84) 100%); }
.centers-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transition: transform 600ms ease; }
.centers-spotlight:hover .centers-photo img { transform: scale(1.025); }
.centers-photo figcaption { position: absolute; z-index: 1; right: 2rem; bottom: 2rem; left: 2rem; }
.centers-photo figcaption span { display: block; margin-bottom: .45rem; color: var(--sun); font-size: .7rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.centers-photo figcaption strong { display: block; max-width: 32rem; font-size: clamp(1.35rem, 2.4vw, 2.15rem); line-height: 1.08; letter-spacing: -.035em; }
.centers-practice { display: flex; flex-direction: column; justify-content: center; padding: clamp(2.4rem, 4.5vw, 4.5rem); background: linear-gradient(145deg, var(--navy-2), var(--navy)); }
.centers-practice h3 { max-width: 32rem; margin: 1rem 0 1.5rem; font-size: clamp(2rem, 3.2vw, 3.25rem); line-height: .98; }
.centers-practice > p:not(.section-label) { margin-bottom: 1.4rem; color: rgba(255,255,255,.76); }
.centers-practice ul { display: grid; gap: .7rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.centers-practice li { display: flex; align-items: center; gap: .75rem; color: rgba(255,255,255,.9); font-weight: 700; }
.centers-practice li::before { content: "✓"; display: grid; flex: 0 0 auto; place-items: center; width: 1.55rem; height: 1.55rem; color: var(--navy); background: var(--sun); border-radius: 50%; font-size: .72rem; font-weight: 950; }
.centers-practice small { display: block; padding-top: 1.2rem; color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.16); font-size: .75rem; line-height: 1.55; }
.center-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.center-benefits article { display: flex; flex-direction: column; min-height: 15.5rem; padding: 1.7rem; background: #fff; border: 1px solid var(--line); border-radius: 1rem; box-shadow: 0 16px 38px rgba(11,29,51,.07); transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.center-benefits article:hover { transform: translateY(-5px); border-color: rgba(36,87,230,.28); box-shadow: 0 24px 52px rgba(11,29,51,.12); }
.center-benefits article > span { display: grid; place-items: center; width: 2rem; height: 2rem; color: var(--coral); background: rgba(255,113,87,.1); border-radius: 50%; font-size: .68rem; font-weight: 900; }
.center-benefits h3 { margin-top: 2.4rem; margin-bottom: .85rem; font-size: 1.35rem; line-height: 1.05; }
.center-benefits p { margin: 0; color: var(--muted); font-size: .9rem; }
.centers-cta { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1.2rem; padding: 2.2rem 2.4rem; overflow: hidden; color: #fff; background-image: linear-gradient(90deg, rgba(36,87,230,.98) 0%, rgba(36,87,230,.93) 58%, rgba(36,87,230,.76) 100%), url('../images/amigos-mayores.webp'); background-position: center 46%; background-size: cover; border-radius: 1rem; }
.centers-cta::after { content: ""; position: absolute; z-index: -1; top: -5rem; right: 8rem; width: 18rem; height: 18rem; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.centers-cta > div { max-width: 49rem; }
.centers-cta span { display: block; margin-bottom: .25rem; color: var(--sun); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.centers-cta p { margin: 0; color: rgba(255,255,255,.88); }
.centers-cta .button { flex: 0 0 auto; }

.professional-order { padding-bottom: 8rem; color: #fff; background: linear-gradient(180deg, rgba(36,87,230,.16) 0%, rgba(36,87,230,.055) 52%, rgba(36,87,230,0) 100%), #edf2f8; }
.professional-order-intro { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(22rem, .95fr); gap: clamp(3rem, 7vw, 7rem); align-items: end; padding-top: 8rem; padding-bottom: 4.5rem; }
.professional-order-intro::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; background: var(--navy); transform: translateX(-50%); }
.professional-order-intro h2 { max-width: 48rem; font-size: clamp(3.3rem, 6.5vw, 6.6rem); }
.professional-order-copy { align-self: end; }
.professional-order-copy > p { margin-bottom: 1.5rem; color: rgba(255,255,255,.73); font-size: 1.08rem; }
.professional-order-copy strong { color: var(--sun); }
.professional-order-copy ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.professional-order-copy li { padding: .48rem .7rem; color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.22); border-radius: 99px; font-size: .72rem; font-weight: 800; }
.professional-shop { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 21rem; gap: 1.25rem; align-items: start; width: min(calc(100% - 3rem), var(--max)); margin: -1.35rem auto 0; }
.professional-books { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.professional-book { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.2rem; align-items: center; min-height: 12rem; padding: .9rem; color: var(--navy); background: #fff; border: 1px solid rgba(11,29,51,.09); border-radius: 1.1rem; box-shadow: 0 14px 36px rgba(11,29,51,.08); transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.professional-book:hover { transform: translateY(-3px); border-color: rgba(36,87,230,.24); box-shadow: 0 22px 48px rgba(11,29,51,.13); }
.professional-book > img { width: 7rem; height: 9.1rem; object-fit: cover; border-radius: .55rem; box-shadow: 0 8px 20px rgba(11,29,51,.18); }
.professional-book > div { display: flex; flex-direction: column; min-width: 0; min-height: 9.1rem; }
.professional-book > div > span { color: var(--blue); font-size: .67rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.professional-book h3 { margin: .35rem 0 1rem; font-size: 1.3rem; line-height: 1.05; letter-spacing: -.035em; }
.quantity-stepper { display: grid; grid-template-columns: 2.7rem 3.2rem 2.7rem; align-items: center; margin-top: auto; }
.quantity-stepper button, .quantity-stepper input { height: 2.7rem; border: 1px solid rgba(11,29,51,.18); text-align: center; }
.quantity-stepper button { padding: 0; color: var(--navy); background: var(--sky); font-size: 1.25rem; font-weight: 850; cursor: pointer; transition: color 160ms ease, background 160ms ease; }
.quantity-stepper button:first-child { border-radius: .65rem 0 0 .65rem; }
.quantity-stepper button:last-child { border-radius: 0 .65rem .65rem 0; }
.quantity-stepper button:hover { color: #fff; background: var(--blue); }
.quantity-stepper input { width: 100%; padding: 0; color: var(--navy); background: #fff; border-right: 0; border-left: 0; font-size: 1rem; font-weight: 900; appearance: textfield; }
.quantity-stepper input::-webkit-inner-spin-button, .quantity-stepper input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.professional-cart { position: sticky; top: 7rem; padding: 1.7rem; color: #fff; background: var(--blue); border-radius: 1.2rem; box-shadow: 0 24px 55px rgba(20,59,170,.24); }
.professional-cart-icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.6rem; color: var(--navy); background: var(--sun); border-radius: .7rem; font-size: .8rem; font-weight: 950; }
.professional-cart > p:first-of-type { margin-bottom: .35rem; color: var(--sun); font-size: .7rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.professional-cart h3 { font-size: 2.2rem; }
.professional-cart-total { display: flex; align-items: center; gap: 1rem; margin: 1.6rem 0 1.2rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.professional-cart-total strong { color: var(--sun); font-size: 3.6rem; line-height: 1; letter-spacing: -.08em; }
.professional-cart-total span { color: rgba(255,255,255,.72); font-size: .72rem; font-weight: 850; line-height: 1.25; text-transform: uppercase; }
.professional-cart ul { display: grid; gap: .45rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.professional-cart li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .45rem; color: rgba(255,255,255,.86); border-bottom: 1px solid rgba(255,255,255,.13); font-size: .78rem; }
.professional-cart li strong { color: var(--sun); }
.professional-cart li.is-empty { display: block; color: rgba(255,255,255,.58); border: 0; }
.professional-cart-hint { margin: 0 0 1.2rem; color: rgba(255,255,255,.72); font-size: .8rem; }
.professional-cart-hint.is-ready { color: #fff; font-weight: 750; }
.professional-cart .button { width: 100%; cursor: pointer; }
.professional-cart .button[aria-disabled="true"] { color: rgba(11,29,51,.55); background: rgba(255,255,255,.56); box-shadow: none; }
.professional-cart > small { display: block; margin-top: 1rem; color: rgba(255,255,255,.56); font-size: .7rem; line-height: 1.5; }

.order-dialog { width: min(calc(100% - 2rem), 68rem); max-height: calc(100dvh - 2rem); padding: 0; color: #fff; background: var(--navy); border: 0; border-radius: 1.4rem; box-shadow: 0 40px 110px rgba(0,0,0,.46); overflow: auto; }
.order-dialog::backdrop { background: rgba(4,13,25,.82); backdrop-filter: blur(7px); }
.order-dialog .order-dialog-close { position: absolute; top: 1rem; right: 1rem; color: var(--navy); }
.order-dialog-heading { padding: 3.2rem clamp(1.4rem, 5vw, 4.5rem) 2.4rem; background: linear-gradient(135deg, var(--blue), var(--navy) 72%); }
.order-dialog-heading h2 { max-width: 52rem; font-size: clamp(2.7rem, 5.2vw, 5.2rem); }
.order-dialog-heading > p:last-child { max-width: 51rem; margin: 1.4rem 0 0; color: rgba(255,255,255,.72); }
.professional-form { padding: clamp(1.4rem, 5vw, 4.5rem); color: var(--ink); background: #fff; }
.professional-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.professional-form label { display: grid; gap: .45rem; }
.professional-form label > span { color: var(--navy); font-size: .76rem; font-weight: 850; }
.professional-form input:not([type="checkbox"]), .professional-form select, .professional-form textarea { width: 100%; min-height: 3.25rem; padding: .8rem .9rem; color: var(--ink); background: var(--paper); border: 1px solid rgba(11,29,51,.18); border-radius: .7rem; font: inherit; font-size: .92rem; }
.professional-form textarea { min-height: 7rem; resize: vertical; }
.professional-form input:focus, .professional-form select:focus, .professional-form textarea:focus { outline: 3px solid rgba(36,87,230,.2); border-color: var(--blue); }
.professional-form-wide { grid-column: 1 / -1; }
.professional-form-order { margin: 1.4rem 0; padding: 1.25rem; color: #fff; background: var(--navy); border-radius: .9rem; }
.professional-form-order > span { color: var(--sun); font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.professional-form-order ul { display: grid; gap: .5rem; margin: 1rem 0; padding: 0; list-style: none; }
.professional-form-order li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .45rem; color: rgba(255,255,255,.78); border-bottom: 1px solid rgba(255,255,255,.14); font-size: .84rem; }
.professional-form-order li strong, .professional-form-order p strong { color: var(--sun); }
.professional-form-order p { margin: 0; font-size: .9rem; }
.professional-form-consent { grid-template-columns: auto 1fr; align-items: start; margin: 1.3rem 0; }
.professional-form-consent input { width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: var(--blue); }
.professional-form-consent a { color: var(--blue); }
.professional-form-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button-ghost { color: var(--navy); background: #fff; border: 1px solid var(--line); cursor: pointer; }
.professional-form > small { display: block; margin-top: 1rem; color: var(--muted); font-size: .72rem; }

.why { color: #fff; background: var(--navy); }
.why-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 7rem; align-items: center; width: min(calc(100% - 3rem), var(--max)); margin: 0 auto; padding: 8rem 0; }
.why-copy h2 { max-width: 55rem; }
.why-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.18); }
.why-list li { display: flex; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.72); }
.why-list span { color: var(--sun); font-weight: 900; }

.author { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); min-height: 700px; background: #fff; }
.author-portrait { position: relative; min-height: 700px; overflow: hidden; background: var(--navy); }
.author-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.author-caption { position: absolute; left: 1.6rem; bottom: 1.6rem; padding: .7rem .9rem; color: #fff; background: rgba(11,29,51,.82); border: 1px solid rgba(255,255,255,.22); border-radius: .45rem; backdrop-filter: blur(10px); font-size: .68rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.author-copy { align-self: center; max-width: 48rem; padding: clamp(4rem, 8vw, 8rem); }
.author-copy h2 { margin-bottom: 2.8rem; }
.author-copy blockquote { margin: 0; padding: 0; border: 0; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.12rem, 1.55vw, 1.38rem); line-height: 1.72; }
.author-copy blockquote p { margin-bottom: 1.25rem; }
.author-signature { margin: 2rem 0 2.8rem; color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; font-style: italic; }
.author-note-inline { display: flex; justify-content: space-between; gap: 1rem; width: 100%; margin: 0 0 1rem; padding: 1.05rem 0; color: var(--navy); background: none; border: 0; border-top: 1px solid var(--ink); text-align: left; font-size: .82rem; font-weight: 900; cursor: pointer; }
.author-note-inline span { color: var(--blue); font-size: 1.15rem; transition: transform 180ms ease; }
.author-note-inline:hover span { transform: translate(.2rem, -.2rem); }
.author-contact { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; align-items: center; padding: 1.2rem 0; color: var(--navy); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); text-decoration: none; }
.author-contact span { font-size: .74rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.author-contact strong { grid-column: 1; color: var(--muted); font-size: .92rem; font-weight: 600; }
.author-contact i { grid-column: 2; grid-row: 1 / span 2; color: var(--blue); font-size: 1.65rem; font-style: normal; transition: transform 180ms ease; }
.author-contact:hover i { transform: translateX(.35rem); }

.faq { display: grid; grid-template-columns: .72fr 1.28fr; gap: 6rem; }
.faq-heading h2 { font-size: clamp(3rem, 5vw, 5.4rem); }
.faq-list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.7rem 0; font-size: 1.08rem; font-weight: 820; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; color: var(--blue); font-size: 1.5rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 43rem; margin: -.3rem 0 1.7rem; color: var(--muted); }

.final-cta { position: relative; display: grid; place-items: center; min-height: 690px; padding: 5rem 1.5rem; color: #fff; background: linear-gradient(135deg, #204fd8, #0b1d33 72%); overflow: hidden; }
.final-cta::before, .final-cta::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.final-cta::before { width: 35rem; height: 35rem; left: -12rem; top: -18rem; box-shadow: 0 0 0 6rem rgba(255,255,255,.025), 0 0 0 12rem rgba(255,255,255,.02); }
.final-cta::after { width: 26rem; height: 26rem; right: -8rem; bottom: -12rem; box-shadow: 0 0 0 5rem rgba(255,255,255,.025); }
.final-cta-inner { position: relative; z-index: 2; text-align: center; }
.final-cta h2 { margin-bottom: 2.3rem; font-size: clamp(4rem, 8vw, 8rem); }
.final-cta small { display: block; margin-top: 1rem; color: rgba(255,255,255,.52); }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; gap: 3rem; align-items: center; min-height: 10rem; padding: 2rem max(1.5rem, calc((100vw - var(--max))/2)); color: #fff; background: #071525; }
.site-footer p { margin: 0; color: rgba(255,255,255,.52); font-size: .8rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem 1.2rem; }
.footer-links a, .footer-links button { padding: 0; color: rgba(255,255,255,.68); background: none; border: 0; font-size: .8rem; text-decoration: none; cursor: pointer; }
.footer-links a:hover, .footer-links button:hover { color: #fff; }

.cookie-banner { position: fixed; z-index: 1000; left: 50%; bottom: 1rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: end; width: min(calc(100% - 2rem), 65rem); padding: 1.25rem; color: #fff; background: rgba(7,21,37,.98); border: 1px solid rgba(255,255,255,.18); border-radius: 1.15rem; box-shadow: 0 28px 80px rgba(0,0,0,.35); opacity: 0; transform: translate(-50%, calc(100% + 2rem)); transition: opacity 220ms ease, transform 220ms ease; }
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-visible { opacity: 1; transform: translate(-50%, 0); }
.cookie-copy > span { display: block; margin-bottom: .35rem; color: var(--sun); font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cookie-copy h2 { margin-bottom: .55rem; font-size: clamp(1.45rem, 3vw, 2.05rem); letter-spacing: -.035em; }
.cookie-copy p { max-width: 47rem; margin: 0 0 .5rem; color: rgba(255,255,255,.7); font-size: .88rem; line-height: 1.5; }
.cookie-copy a { color: #fff; font-size: .78rem; font-weight: 800; text-underline-offset: .2rem; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.cookie-actions button { min-width: 7.7rem; min-height: 3.1rem; padding: .75rem 1rem; color: var(--navy); background: var(--sun); border: 2px solid var(--sun); border-radius: .75rem; font-size: .86rem; font-weight: 900; cursor: pointer; transition: transform 160ms ease, background 160ms ease; }
.cookie-actions button:hover { background: #ffe083; transform: translateY(-2px); }

.legal-page { background: #eef2f7; }
.legal-page .site-header { background: rgba(11,29,51,.96); border-color: rgba(255,255,255,.14); }
.legal-back { padding: .8rem 1rem; color: var(--navy); background: #fff; border-radius: .75rem; font-size: .84rem; font-weight: 850; text-decoration: none; }
.legal-main { min-height: 70vh; }
.legal-hero { padding: 11rem max(1.5rem, calc((100vw - var(--max))/2)) 5rem; color: #fff; background: linear-gradient(135deg, var(--navy), #173b69); }
.legal-hero .section-label { color: var(--sun); }
.legal-hero h1 { max-width: 61rem; font-size: clamp(3.6rem, 8vw, 7.2rem); }
.legal-hero p:last-child { max-width: 48rem; margin: 1.7rem 0 0; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.legal-layout { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: clamp(3rem, 7vw, 7rem); width: min(calc(100% - 3rem), 72rem); margin: 0 auto; padding: 6rem 0 8rem; }
.legal-summary { align-self: start; position: sticky; top: 7rem; padding: 1.25rem; color: #fff; background: var(--blue); border-radius: 1rem; }
.legal-summary strong { display: block; margin-bottom: .8rem; color: var(--sun); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }
.legal-summary a { display: block; padding: .55rem 0; color: rgba(255,255,255,.8); border-top: 1px solid rgba(255,255,255,.17); font-size: .84rem; font-weight: 750; text-decoration: none; }
.legal-summary a:hover { color: #fff; }
.legal-content { min-width: 0; }
.legal-content section { padding: 0 0 3rem; margin-bottom: 3rem; border-bottom: 1px solid var(--line); scroll-margin-top: 7rem; }
.legal-content section:last-child { margin-bottom: 0; }
.legal-content h2 { margin-bottom: 1.25rem; font-size: clamp(2rem, 4vw, 3.4rem); }
.legal-content h3 { margin: 1.7rem 0 .7rem; font-size: 1.2rem; letter-spacing: -.025em; }
.legal-content p, .legal-content li { color: var(--muted); }
.legal-content a { color: var(--blue); font-weight: 750; }
.legal-content ul { padding-left: 1.2rem; }
.legal-date { display: inline-flex; padding: .45rem .7rem; color: var(--navy); background: var(--sun); border-radius: 99px; font-size: .74rem; font-weight: 900; }
.legal-table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: .85rem; }
.legal-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .84rem; }
.legal-table th, .legal-table td { min-width: 9rem; padding: .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { color: var(--navy); background: var(--sky); }
.legal-table tr:last-child td { border-bottom: 0; }
.cookie-manage-button { min-height: 3.2rem; padding: .8rem 1rem; color: #fff; background: var(--navy); border: 0; border-radius: .75rem; font-weight: 850; cursor: pointer; }

.book-dialog { width: min(calc(100% - 2rem), 78rem); max-height: calc(100vh - 2rem); padding: 0; color: var(--ink); background: #fff; border: 0; border-radius: 1.5rem; box-shadow: 0 40px 100px rgba(0,0,0,.35); overflow: auto; }
.book-dialog[open] { display: grid; grid-template-columns: minmax(28rem, 1.18fr) minmax(0, .82fr); }
.book-dialog::backdrop { background: rgba(4,13,25,.76); backdrop-filter: blur(5px); }
.dialog-close { position: fixed; z-index: 4; top: max(1.5rem, calc((100vh - min(48rem, 100vh - 2rem))/2 + 1rem)); right: max(1.5rem, calc((100vw - min(78rem, 100vw - 2rem))/2 + 1rem)); display: grid; place-items: center; width: 2.7rem; height: 2.7rem; padding: 0; color: var(--ink); background: #fff; border: 0; border-radius: 50%; box-shadow: 0 7px 20px rgba(0,0,0,.16); font-size: 1.5rem; cursor: pointer; }
.dialog-media { position: relative; display: grid; place-items: center; min-height: 100%; padding: 1rem; background: radial-gradient(circle at 50% 35%, #fff 0, var(--book-soft, #e8edf4) 68%); overflow: hidden; }
.dialog-media::before { content: ""; position: absolute; width: 24rem; height: 24rem; border: 1px solid rgb(var(--book-accent-rgb, 11 29 51) / .16); border-radius: 50%; box-shadow: 0 0 0 5rem rgb(var(--book-accent-rgb, 11 29 51) / .035), 0 0 0 10rem rgb(var(--book-accent-rgb, 11 29 51) / .025); pointer-events: none; }
.dialog-cover-image { position: relative; z-index: 1; display: block; width: auto; max-width: 100%; height: min(calc(100vh - 4rem), 50rem); object-fit: contain; border-radius: .75rem; box-shadow: 0 25px 55px rgb(var(--book-accent-rgb, 11 29 51) / .28); }
.dialog-cover-image[hidden], .dialog-cover[hidden] { display: none; }
.dialog-cover { display: flex; flex-direction: column; min-height: 100%; padding: 2rem; color: #fff; background: var(--navy); }
.dialog-cover > span { font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; opacity: .64; }
.dialog-cover small { margin-top: auto; color: var(--sun); font-size: 1.3rem; font-weight: 800; }
.dialog-cover strong { font-size: clamp(3rem, 5vw, 5rem); line-height: .86; letter-spacing: -.07em; }
.dialog-cover em { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid currentColor; font-size: .85rem; font-style: normal; font-weight: 800; }
.dialog-cover.theme-animals { color: var(--navy); background: var(--coral); }
.dialog-cover.theme-animals small, .dialog-cover.theme-football small { color: var(--blue); }
.dialog-cover.theme-football { color: var(--navy); background: var(--sun); }
.dialog-cover.theme-myth { background: var(--blue); }
.dialog-content { align-self: center; padding: clamp(2rem, 4vw, 3.6rem); }
.dialog-status { display: inline-flex; margin: 0 0 1.25rem; padding: .45rem .7rem; color: #fff; background: var(--book-accent, var(--navy)); border-radius: 99px; box-shadow: 0 7px 18px rgb(var(--book-accent-rgb, 11 29 51) / .2); font-size: .68rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.dialog-content h2 { margin-bottom: .8rem; font-size: clamp(2.5rem, 4vw, 4.4rem); }
.dialog-subtitle { color: var(--book-accent, var(--blue)); font-weight: 800; }
.dialog-content > p:not(.section-label):not(.dialog-subtitle) { color: var(--muted); }
.dialog-content .dialog-audience { margin-top: 1.2rem; padding: 1rem 1.1rem; color: var(--navy); background: var(--book-soft, var(--sky)); border-left: 3px solid var(--book-accent, var(--blue)); border-radius: .75rem; font-weight: 700; }
.dialog-content ul { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1.4rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.dialog-content li { padding-left: 1rem; color: var(--muted); font-size: .86rem; border-left: 2px solid var(--book-accent, var(--sun)); }
.dialog-demo { display: grid; grid-template-columns: 8.5rem 1fr; gap: .9rem; align-items: center; margin: 1.4rem 0; padding: .65rem; background: var(--paper); border: 1px solid var(--line); border-radius: .95rem; }
.dialog-demo img { width: 8.5rem; height: 5.6rem; object-fit: cover; object-position: center 68%; border-radius: .65rem; }
.dialog-demo figcaption { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.45; }
.dialog-demo figcaption strong { display: block; margin-bottom: .15rem; color: var(--navy); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.dialog-inside-preview { display: grid; grid-template-columns: 5.1rem minmax(0, 1fr); gap: 1rem; align-items: center; width: 100%; margin: 1.15rem 0; padding: .7rem; color: var(--navy); background: linear-gradient(135deg, #fff, var(--book-soft, var(--sky))); border: 1px solid rgb(var(--book-accent-rgb, 11 29 51) / .16); border-radius: .95rem; text-align: left; cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.dialog-inside-preview[hidden] { display: none; }
.dialog-inside-preview:hover { transform: translateY(-2px); border-color: rgb(var(--book-accent-rgb, 11 29 51) / .38); box-shadow: 0 14px 30px rgb(var(--book-accent-rgb, 11 29 51) / .12); }
.dialog-inside-preview img { width: 5.1rem; height: 7.2rem; object-fit: cover; background: #fff; border-radius: .45rem; box-shadow: 0 8px 18px rgba(11,29,51,.15); }
.dialog-inside-preview span { display: grid; min-width: 0; }
.dialog-inside-preview small { color: var(--book-accent, var(--blue)); font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.dialog-inside-preview strong { margin: .15rem 0 .55rem; font-size: 1.05rem; line-height: 1.15; }
.dialog-inside-preview em { color: var(--muted); font-size: .75rem; font-style: normal; font-weight: 800; }
.dialog-inside-preview em i { float: right; color: var(--book-accent, var(--blue)); font-style: normal; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.book-dialog .dialog-actions .button-dark { background: var(--book-accent, var(--navy)); }
.button-outline { color: var(--navy); background: transparent; border: 1px solid var(--line); }
.button-outline:hover { background: var(--sky); }
.button-sample { flex-basis: 100%; color: var(--muted); background: #eef1f5; border: 1px dashed rgba(17,29,45,.22); cursor: not-allowed; box-shadow: none; }
.button-sample:hover { transform: none; box-shadow: none; }
.button-sample:not([aria-disabled="true"]) { color: #fff; background: var(--book-accent, var(--blue)); border-style: solid; cursor: pointer; }

.inside-dialog { width: min(calc(100% - 2rem), 52rem); max-height: calc(100dvh - 2rem); padding: 0; background: transparent; border: 0; overflow: visible; }
.inside-dialog::backdrop, .author-note-dialog::backdrop { background: rgba(4,13,25,.82); backdrop-filter: blur(7px); }
.inside-dialog figure { display: grid; place-items: center; margin: 0; padding: 1rem; }
.inside-dialog img { width: auto; max-width: 100%; height: min(82dvh, 58rem); object-fit: contain; background: #fff; border-radius: .7rem; box-shadow: 0 35px 100px rgba(0,0,0,.45); }
.inside-dialog figcaption { margin-top: .7rem; color: rgba(255,255,255,.82); font-size: .85rem; font-weight: 750; text-align: center; }
.inside-dialog-close { position: fixed; top: 1rem; right: 1rem; }

.author-note-dialog { width: min(calc(100% - 2rem), 62rem); max-height: calc(100dvh - 2rem); padding: 0; background: transparent; border: 0; overflow: visible; }
.author-note-sheet { position: relative; max-height: calc(100dvh - 2rem); padding: clamp(2.5rem, 6vw, 5.5rem); overflow: auto; color: #26221c; background: #fffdf6; border-radius: .45rem 1.3rem 1.3rem .45rem; box-shadow: 0 40px 120px rgba(0,0,0,.48), inset 1.1rem 0 2.2rem rgba(95,70,30,.07); transform-origin: left center; }
.author-note-dialog[open] .author-note-sheet { animation: note-open 420ms cubic-bezier(.2,.75,.25,1) both; }
.author-note-sheet::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .3; background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(93,75,46,.035) 31px 32px); }
.author-note-sheet header, .author-note-body { position: relative; z-index: 1; }
.author-note-sheet header { padding-bottom: 2rem; border-bottom: 1px solid rgba(67,52,30,.2); }
.author-note-sheet h2 { max-width: 48rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.6rem, 5vw, 5rem); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; }
.author-note-body { columns: 2; column-gap: clamp(2rem, 5vw, 4rem); padding-top: 2rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; line-height: 1.75; }
.author-note-body p { break-inside: avoid; margin-bottom: 1.15rem; }
.author-note-quote { padding: 1.2rem 0; color: var(--blue); border-top: 1px solid rgba(36,87,230,.24); border-bottom: 1px solid rgba(36,87,230,.24); font-size: 1.55rem; font-style: italic; line-height: 1.35; }
.author-note-signature { margin: 2rem 0 0; color: var(--blue); font-size: 1.35rem; font-style: italic; text-align: right; }
.author-note-close { position: fixed; top: 1rem; right: 1rem; }
@keyframes note-open { from { opacity: 0; transform: perspective(1200px) rotateY(-7deg) translateX(-1.2rem); } to { opacity: 1; transform: none; } }
.toast { position: fixed; z-index: 500; left: 50%; bottom: 1.2rem; width: min(calc(100% - 2rem), 36rem); padding: 1rem 1.2rem; color: #fff; background: var(--navy); border-left: 4px solid var(--sun); border-radius: .6rem; box-shadow: 0 18px 50px rgba(0,0,0,.28); text-align: center; transform: translate(-50%, 160%); transition: transform 220ms ease; }
.toast.is-visible { transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 580ms ease, transform 580ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.book.reveal { transform: perspective(1100px) translate3d(0, 20px, 0) rotateX(0deg) rotateY(0deg); transition: opacity 580ms ease, transform 180ms ease-out, box-shadow 220ms ease; }
.book.reveal.is-visible { transform: perspective(1100px) translate3d(0, var(--book-lift), 0) rotateX(var(--book-tilt-x)) rotateY(var(--book-tilt-y)); }
.book.reveal.is-visible:hover { --book-lift: -9px; }

@media (max-width: 1100px) {
  .main-nav { gap: .8rem; }
  .main-nav > a:not(.nav-button) { display: none; }
  .hero-shade { background: linear-gradient(90deg, rgba(6,20,38,.97), rgba(6,20,38,.72) 58%, rgba(6,20,38,.22)); }
  .book-grid { grid-template-columns: 1fr 1fr; }
  .book { min-height: 29rem; }
  .book-has-cover { min-height: 35rem; }
  .gift-copy { padding: 4rem; }
  .center-benefits { grid-template-columns: 1fr 1fr; }
  .center-benefits article { min-height: 14.5rem; }
  .professional-shop { grid-template-columns: minmax(0, 1fr) 19rem; }
  .professional-books { grid-template-columns: 1fr; }
  .book-dialog { width: min(calc(100% - 2rem), 70rem); }
  .book-dialog[open] { grid-template-columns: minmax(23rem, 1fr) minmax(0, 1fr); }
  .dialog-close { right: max(1.5rem, calc((100vw - min(70rem, 100vw - 2rem))/2 + 1rem)); }
}

@media (max-width: 760px) {
  .book-dialog { inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  html { scroll-padding-top: 5rem; }
  h2 { font-size: clamp(2.8rem, 13vw, 4.7rem); }
  .site-header { width: calc(100% - 1rem); min-height: 4.5rem; margin-top: .5rem; border-radius: .85rem; }
  .brand-name small { display: none; }
  .menu-button { display: block; }
  .main-nav { position: absolute; top: calc(100% + .45rem); left: 0; right: 0; display: none; align-items: stretch; padding: .65rem; color: var(--ink); background: #fff; border-radius: .85rem; box-shadow: var(--shadow); }
  .main-nav.is-open { display: grid; }
  .main-nav > a:not(.nav-button) { display: block; }
  .main-nav a { padding: .75rem; color: var(--ink); }
  .main-nav .nav-button { color: #fff; background: var(--blue); }
  .hero { min-height: 840px; align-items: flex-start; }
  .hero-photo { object-position: 59% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(6,20,38,.98) 0%, rgba(6,20,38,.87) 52%, rgba(6,20,38,.35) 100%); }
  .hero-content { width: calc(100% - 2rem); margin-top: 8.5rem; }
  .hero h1 { font-size: clamp(3.8rem, 18vw, 5.8rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button, .hero-actions .play-link { width: 100%; }
  .hero-card { display: none; }
  .hero-pills { margin-top: 2rem; }
  .benefit-strip { grid-template-columns: 1fr 1fr; }
  .benefit-strip > div { justify-content: flex-start; min-height: 6.5rem; padding-left: 1.4rem; border-bottom: 1px solid rgba(11,29,51,.18); }
  .section { width: calc(100% - 2rem); padding: 6rem 0; }
  .promise, .catalog-heading, .centers-heading, .professional-order-intro, .why-inner, .author, .faq { grid-template-columns: 1fr; gap: 2.5rem; }
  .author-note-invite-wrap { width: calc(100% - 2rem); margin: -2rem auto 6rem; }
  .author-note-invite { grid-template-columns: 1fr; gap: 1.4rem; padding: 2rem 1.4rem; }
  .author-note-monogram { width: 4.7rem; height: 5.8rem; font-size: 2.5rem; }
  .author-note-monogram::after { right: .45rem; bottom: .7rem; left: .45rem; }
  .author-note-open { width: 100%; }
  .how-inner { grid-template-columns: 1fr; width: calc(100% - 2rem); padding: 6rem 0; }
  .how-heading { grid-column: auto; }
  .how-photo img { height: clamp(15rem, 52vw, 21rem); box-shadow: .7rem .7rem 0 var(--blue); }
  .steps { margin-top: 2.5rem; }
  .catalog-heading { margin-bottom: 3rem; }
  .book-grid { grid-template-columns: 1fr; }
  .book { min-height: 27rem; }
  .book-has-cover { min-height: 35rem; }
  .uses { padding-top: 6rem; }
  .uses-intro { padding-bottom: 3rem; }
  .use-mosaic { grid-template-columns: 1fr; width: calc(100% - 2rem); }
  .use-family, .use-travel, .use-senior, .use-school, .use-wait, .use-holiday { grid-column: auto; min-height: 27rem; }
  .text-card { min-height: 22rem; }
  .gift { grid-template-columns: 1fr; }
  .gift-photo { min-height: 450px; }
  .gift-copy { padding: 5rem 1rem; }
  .centers-spotlight { grid-template-columns: 1fr; }
  .centers-photo { min-height: 27rem; }
  .centers-practice { padding: 3rem 1.5rem; }
  .center-benefits { grid-template-columns: 1fr; }
  .center-benefits article { min-height: 0; }
  .center-benefits h3 { margin-top: 1.8rem; }
  .centers-cta { align-items: stretch; flex-direction: column; padding: 2rem 1.5rem; }
  .centers-cta .button { width: 100%; }
  .professional-order { padding-bottom: 5rem; }
  .professional-order-intro { padding-top: 6rem; padding-bottom: 3rem; }
  .professional-order-copy { min-width: 0; }
  .professional-shop { grid-template-columns: 1fr; width: calc(100% - 2rem); }
  .professional-book { grid-template-columns: 5.4rem minmax(0, 1fr); gap: .9rem; min-height: 10rem; padding: .75rem; }
  .professional-book > img { width: 5.4rem; height: 7rem; }
  .professional-book > div { min-height: 7rem; }
  .professional-book h3 { font-size: 1.08rem; }
  .professional-cart { position: static; }
  .order-dialog { inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .order-dialog-heading { padding: 5rem 1rem 2rem; }
  .professional-form { padding: 2rem 1rem 3rem; }
  .professional-form-fields { grid-template-columns: 1fr; }
  .professional-form-wide { grid-column: auto; }
  .professional-form-actions .button { width: 100%; }
  .why-inner { width: calc(100% - 2rem); padding: 6rem 0; }
  .author { gap: 0; min-height: 0; }
  .author-portrait { min-height: 570px; }
  .author-copy { padding: 5rem 1rem; }
  .author-copy h2 { margin-bottom: 2rem; }
  .site-footer { grid-template-columns: 1fr; gap: 1rem; padding-top: 3rem; padding-bottom: 3rem; }
  .footer-links { justify-content: flex-start; }
  .cookie-banner { grid-template-columns: 1fr; gap: 1rem; bottom: .5rem; width: calc(100% - 1rem); padding: 1rem; }
  .cookie-actions button { min-width: 0; }
  .legal-back { padding: .7rem .8rem; font-size: .76rem; }
  .legal-hero { padding-top: 8.5rem; }
  .legal-layout { grid-template-columns: 1fr; width: calc(100% - 2rem); padding: 4rem 0 6rem; }
  .legal-summary { position: static; }
  .book-dialog[open] { display: flex; flex-direction: column; }
  .dialog-media { flex: 0 0 auto; min-height: 0; padding: 3.8rem .8rem .8rem; }
  .dialog-cover-image { width: auto; max-width: 100%; height: min(62vh, 36rem); max-height: none; }
  .dialog-cover { min-height: 28rem; }
  .dialog-close { position: fixed; top: .8rem; right: .8rem; }
  .dialog-content { padding: 2rem 1.1rem 3rem; }
  .dialog-content h2 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .dialog-content ul { grid-template-columns: 1fr; }
  .dialog-demo { grid-template-columns: minmax(7rem, 8.5rem) 1fr; }
  .dialog-demo img { width: 100%; }
  .dialog-actions .button { width: 100%; }
  .inside-dialog, .author-note-dialog { inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; margin: 0; }
  .inside-dialog figure { height: 100%; padding: 3.8rem .8rem 1rem; }
  .inside-dialog img { max-height: calc(100dvh - 6.5rem); }
  .author-note-sheet { height: 100dvh; max-height: 100dvh; padding: 5rem 1.25rem 3rem; border-radius: 0; }
  .author-note-body { columns: 1; font-size: 1rem; }
  .author-note-sheet h2 { font-size: clamp(2.35rem, 11vw, 3.8rem); }
}

@media (hover: none), (pointer: coarse) {
  .book.reveal.is-visible:hover { --book-lift: 0px; }
  .book-has-cover:hover .book-cover-frame::after { opacity: 0; }
  .book-has-cover:hover .book-cover-frame img { transform: none; filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .book.reveal, .book.reveal.is-visible, .book.reveal.is-visible:hover { transform: none; }
  .book-cover-frame::after { display: none; }
}
