/* E-planet 2026 theme — blue & white, clean editorial layout. */
:root {
    --blue: #0050a0;          /* logo royal blue */
    --blue-600: #0a63b8;
    --sky: #4fb7ee;           /* logo light blue, used for accents and the title dot */
    --sky-200: #bfe6fb;
    --sky-50: #eef7fd;
    --navy: #0b2150;          /* dark sections */
    --navy-900: #06142f;
    --ink: #13213a;
    --text: #4a5568;
    --muted: #7b8597;
    --line: #e4e9f0;
    --bg: #ffffff;
    --bg-soft: #f4f7fb;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 10px rgba(11, 33, 80, .06);
    --shadow: 0 14px 40px rgba(11, 33, 80, .12);
    --shadow-lg: 0 30px 80px rgba(11, 33, 80, .22);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 860px; }
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy); color: #c9d6ee; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.center { text-align: center; }

/* Typography */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.bg-navy .eyebrow, .on-dark .eyebrow, .eyebrow.on-dark { color: var(--sky); }
.display { font-size: clamp(42px, 6.4vw, 92px); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.h1 { font-size: clamp(36px, 4.6vw, 64px); }
.h2 { font-size: clamp(30px, 3.6vw, 50px); }
.h3 { font-size: clamp(22px, 2vw, 28px); }
.dot::after { content: "."; color: var(--sky); }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.7; color: var(--text); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }
.on-dark .lead, .bg-navy .lead { color: #c9d6ee; }
.section-head { margin-bottom: 56px; }
.section-head.split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head.split .lead { margin: 0; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    word-spacing: .14em;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(0, 80, 160, .28); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0, 80, 160, .34); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Top bar + header */
.topbar { background: var(--navy-900); color: #b8c6e0; font-size: 13px; position: relative; z-index: 60; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 20px; }
.topbar a:hover { color: #fff; }
.topbar-links, .social { display: flex; align-items: center; gap: 22px; }
.social { gap: 16px; }
.social svg { width: 15px; height: 15px; fill: currentColor; }

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: background .35s, border-color .35s, box-shadow .35s;
}
.header .container { display: flex; align-items: center; gap: 36px; height: var(--header-h); }
.brand img { height: 60px; width: auto; }
.brand .logo-white { display: none; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav > a, .nav-item > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 13px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .03em;
    text-transform: uppercase; /* menu in capitals, like the old site */
    color: var(--ink);
    transition: background .2s, color .2s;
}
.nav > a:hover, .nav-item:hover > a, .nav a.active { color: var(--blue); background: var(--sky-50); }
.nav-item { position: relative; }
.nav-item > a svg { width: 14px; height: 14px; transition: transform .25s; }
.nav-item.is-open > a svg { transform: rotate(180deg); }
.header-cta { margin-left: 10px; padding: 12px 22px; }

/* Overlay header (home hero) */
.header.is-overlay { position: fixed; left: 0; right: 0; top: 40px; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header.is-overlay .nav > a, .header.is-overlay .nav-item > a { color: #fff; }
.header.is-overlay .nav > a:hover, .header.is-overlay .nav-item:hover > a { background: rgba(255, 255, 255, .14); color: #fff; }
.header.is-overlay .brand .logo-color { display: none; }
.header.is-overlay .brand .logo-white { display: block; }
.header.is-overlay .menu-toggle span { background: #fff; }
.header.is-overlay.is-solid { top: 0; background: rgba(255, 255, 255, .94); border-color: var(--line); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: var(--shadow-sm); }
.header.is-overlay.is-solid .nav > a, .header.is-overlay.is-solid .nav-item > a { color: var(--ink); }
.header.is-overlay.is-solid .nav > a:hover, .header.is-overlay.is-solid .nav-item:hover > a { background: var(--sky-50); color: var(--blue); }
.header.is-overlay.is-solid .brand .logo-color { display: block; }
.header.is-overlay.is-solid .brand .logo-white { display: none; }
.header.is-overlay.is-solid .menu-toggle span { background: var(--ink); }

/* Mega menu */
.mega {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: min(980px, 92vw);
    transform: translate(-50%, 10px);
    opacity: 0;
    visibility: hidden;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 28px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 28px;
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-levels { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mega-level { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; transition: background .2s; }
.mega-level:hover { background: var(--bg-soft); }
.mega-level img { width: 58px; height: 58px; border-radius: 12px; object-fit: cover; flex: none; }
.mega-level b { display: block; color: var(--ink); font-size: 15px; }
.mega-level small { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; }
.mega-feature { position: relative; border-radius: 20px; overflow: hidden; min-height: 260px; color: #fff; display: flex; align-items: flex-end; padding: 24px; }
.mega-feature video, .mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(6, 20, 47, .85)); }
.mega-feature > div { position: relative; z-index: 1; }
.mega-feature b { font-size: 22px; display: block; margin-bottom: 4px; }

/* Mobile menu */
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 12px; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.drawer {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: #fff;
    padding: calc(var(--header-h) + 60px) 28px 40px;
    transform: translateY(-100%);
    transition: transform .45s var(--ease);
    overflow-y: auto;
}
.menu-open .drawer { transform: none; }
.drawer a { display: block; padding: 14px 0; font-size: 22px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer .drawer-sub a { font-size: 16px; font-weight: 500; padding: 10px 0 10px 16px; color: var(--text); }
.drawer .btn { margin-top: 26px; width: 100%; justify-content: center; border: 0; font-size: 16px; color: #fff; }

/* Home hero */
.hero { position: relative; min-height: calc(100vh - 124px); min-height: calc(100svh - 124px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(6, 20, 47, .92) 0%, rgba(6, 20, 47, .72) 42%, rgba(0, 80, 160, .25) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; z-index: 1; background: linear-gradient(transparent, rgba(6, 20, 47, .55)); }
.hero .container { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 130px; }
.hero h1 { color: #fff; max-width: 900px; }
.hero .lead { color: #d6e2f5; margin-top: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 46px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; font-weight: 500; }
.hero-badge i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--navy); font-style: normal; font-weight: 800; font-size: 13px; }
.hero-books { position: absolute; right: max(28px, calc((100vw - 1280px) / 2 + 28px)); bottom: 90px; z-index: 2; display: flex; align-items: flex-end; }
.hero-books img { width: 150px; border-radius: 10px; box-shadow: var(--shadow-lg); margin-left: -46px; transition: transform .5s var(--ease); }
.hero-books img:nth-child(1) { transform: rotate(-9deg) translateY(16px); }
.hero-books img:nth-child(2) { transform: rotate(-2deg) translateY(-6px); width: 170px; z-index: 1; }
.hero-books img:nth-child(3) { transform: rotate(7deg) translateY(18px); }
.hero-books:hover img:nth-child(1) { transform: rotate(-14deg) translate(-20px, 6px); }
.hero-books:hover img:nth-child(3) { transform: rotate(12deg) translate(20px, 8px); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Stats strip */
.stats { position: relative; z-index: 3; margin-top: -64px; }
.stats-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 30px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(32px, 3.4vw, 48px); font-weight: 700; color: var(--blue); letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: 14px; color: var(--muted); }
.stat b.stat-text { font-size: clamp(26px, 2.5vw, 38px); white-space: nowrap; line-height: 1.3; }

/* Course finder (home) */
.finder-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(0, 80, 160, .25); }
.chip small { opacity: .7; font-weight: 500; }
.finder-panel { display: grid; grid-template-columns: 420px 1fr; gap: 0; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; min-height: 480px; }
.finder-media { position: relative; min-height: 360px; background: var(--navy); }
.finder-media video, .finder-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.finder-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 20, 47, .05) 40%, rgba(6, 20, 47, .85)); }
.finder-media-text { position: absolute; left: 30px; right: 30px; bottom: 28px; z-index: 1; color: #fff; }
.finder-media-text b { display: block; font-size: 30px; letter-spacing: -.02em; line-height: 1.1; }
.finder-media-text span { color: #cfe0f7; font-size: 14px; }
.finder-body { padding: 40px; display: flex; flex-direction: column; }
.finder-body p { margin-bottom: 26px; }
.finder-series { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; margin-bottom: 28px; }
.finder-body .link-arrow { margin-top: auto; }
.fade-swap { animation: fadeSwap .55s var(--ease); }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Covers / cards */
.cover { position: relative; border-radius: 12px; background: linear-gradient(160deg, var(--sky-50), #fff); aspect-ratio: 300 / 415; display: grid; place-items: center; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.cover-placeholder { background: linear-gradient(150deg, var(--blue), var(--navy)); color: #fff; text-align: center; padding: 18px; font-weight: 600; line-height: 1.3; }
.cover-placeholder img { width: 44px; height: 44px; margin: 0 auto 12px; filter: brightness(0) invert(1); opacity: .85; }
.mini-series { display: block; text-align: center; }
.mini-series .cover { box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.mini-series:hover .cover { transform: translateY(-6px) rotate(-1.5deg); box-shadow: var(--shadow); }
.mini-series b { display: block; margin-top: 12px; color: var(--ink); font-size: 15px; line-height: 1.3; }
.mini-series small { color: var(--muted); font-size: 12.5px; }

.grid { display: grid; gap: 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-books { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 32px 26px; }

.book-card { display: flex; flex-direction: column; gap: 14px; }
.book-card .cover { box-shadow: 0 1px 0 var(--line); padding: 22px; background: var(--bg-soft); border-radius: var(--radius); transition: background .4s; }
.book-card .cover img { border-radius: 6px; box-shadow: 0 12px 26px rgba(11, 33, 80, .18); }
.book-card:hover .cover { background: var(--sky-50); }
.book-card:hover .cover img { transform: translateY(-8px) scale(1.03); }
.book-card .tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.book-card h3 { font-size: 18px; margin: 0; transition: color .2s; }
.book-card:hover h3 { color: var(--blue); }
.book-card p { font-size: 14px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.series-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.series-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.series-card-media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(160deg, var(--sky-50), #dbeefb); display: flex; align-items: flex-end; justify-content: center; padding-top: 26px; overflow: hidden; }
.series-card-media .stack { display: flex; align-items: flex-end; height: 88%; }
.series-card-media .stack img { height: 100%; width: auto; border-radius: 6px; box-shadow: 0 14px 30px rgba(11, 33, 80, .25); margin: 0 -18px; transition: transform .6s var(--ease); }
.series-card-media .stack img:nth-child(1) { transform: rotate(-6deg) translateY(10px); height: 86%; }
.series-card-media .stack img:nth-child(2) { position: relative; z-index: 1; }
.series-card-media .stack img:nth-child(3) { transform: rotate(6deg) translateY(10px); height: 86%; }
.series-card:hover .stack img:nth-child(1) { transform: rotate(-10deg) translate(-10px, 6px); }
.series-card:hover .stack img:nth-child(3) { transform: rotate(10deg) translate(10px, 6px); }
.series-card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.series-card-body h3 { font-size: 22px; margin: 0; }
.series-card-body p { font-size: 14.5px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.series-card-body .link-arrow { margin-top: auto; padding-top: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--sky-50); color: var(--blue); }
.tag-pill.alt { background: var(--bg-soft); color: var(--text); }

/* Level / category tiles with video (books page step 1) */
.level-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.level-tile {
    position: relative;
    grid-column: span 4;
    min-height: 360px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: #fff;
    text-align: left;
    border: 0;
    padding: 0;
    background: var(--navy);
    isolation: isolate;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.level-tile.wide { grid-column: span 6; min-height: 420px; }
.level-tile video, .level-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.level-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 20, 47, .05) 25%, rgba(6, 20, 47, .88) 100%); transition: background .5s; }
.level-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.level-tile:hover video, .level-tile:hover > img { transform: scale(1.06); }
.level-tile.active { box-shadow: 0 0 0 4px var(--sky), var(--shadow-lg); }
.level-tile-body { position: absolute; left: 30px; right: 30px; bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.level-tile-body small { display: block; color: var(--sky-200); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.level-tile-body b { display: block; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -.02em; }
.level-tile-body .count { font-size: 14px; color: #d6e2f5; margin-top: 8px; display: block; }
.level-tile .go { flex: none; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; }
.level-tile .go svg { width: 22px; height: 22px; }
.level-tile:hover .go { transform: rotate(-45deg); background: var(--sky); color: var(--navy); }
.level-tile .play-badge { position: absolute; top: 22px; left: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12.5px; font-weight: 600; }
.level-tile .play-badge i { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.level-tile .play-badge i::before { content: ""; border-left: 7px solid var(--blue); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; margin-left: 2px; }

/* Explorer panel (steps 2 & 3) */
.explorer { margin-top: 30px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 20px); }
.explorer-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 34px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--sky-50), #fff); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); font-size: 15px; }
.crumbs button { border: 0; background: none; padding: 4px 0; color: var(--blue); font-weight: 600; }
.crumbs button:hover { text-decoration: underline; }
.crumbs .sep { opacity: .5; }
.crumbs .current { color: var(--ink); }
.explorer-close { border: 0; width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); display: grid; place-items: center; }
.explorer-close svg { width: 18px; height: 18px; }
.explorer-body { padding: 34px; }
.explorer-intro { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 30px; }
.explorer-intro h3 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 8px; }
.explorer-intro p { margin: 0; max-width: 760px; }
.series-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.series-pick button { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 18px; text-align: left; display: flex; gap: 16px; align-items: center; transition: all .3s var(--ease); }
.series-pick button:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.series-pick img, .series-pick .ph { width: 64px; height: 88px; object-fit: cover; border-radius: 6px; flex: none; box-shadow: 0 6px 14px rgba(11, 33, 80, .18); }
.series-pick .ph { background: linear-gradient(150deg, var(--blue), var(--navy)); }
.series-pick b { display: block; color: var(--ink); font-size: 16px; line-height: 1.3; }
.series-pick small { color: var(--muted); font-size: 13px; }
.series-pick .arrow { margin-left: auto; color: var(--blue); }
.series-pick .arrow svg { width: 20px; height: 20px; }

/* Inner page hero */
.page-hero { position: relative; padding: 70px 0 80px; background: var(--bg-soft); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 183, 238, .28), transparent 65%); }
.page-hero .container { position: relative; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span:last-child { color: var(--ink); font-weight: 600; }
.breadcrumb .sep { opacity: .45; }
.page-hero-media { position: relative; min-height: 560px; display: flex; align-items: flex-end; color: #fff; background: var(--navy); overflow: hidden; }
.page-hero-media > video, .page-hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 20, 47, .25), rgba(6, 20, 47, .9)); }
.page-hero-media .container { position: relative; z-index: 1; padding-top: 140px; padding-bottom: 70px; }
.page-hero-media h1 { color: #fff; }
.page-hero-media .lead { color: #d6e2f5; }
.page-hero-media .breadcrumb, .page-hero-media .breadcrumb span:last-child { color: #c9d6ee; }
.page-hero-media .breadcrumb span:last-child { color: #fff; }

/* Split feature */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--navy); }
.media-frame video, .media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.video-frame { aspect-ratio: 16 / 9; }
.media-float { position: absolute; right: -24px; bottom: -28px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 18px 22px; display: flex; align-items: center; gap: 14px; max-width: 280px; }
.media-float b { display: block; color: var(--ink); font-size: 15px; line-height: 1.3; }
.media-float small { color: var(--muted); font-size: 13px; }
.media-float .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--sky-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.media-float .ic svg { width: 22px; height: 22px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 36px; color: var(--ink); font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--sky-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230050a0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.bg-navy .checks li { color: #e6eefb; }
.bg-navy .checks li::before { background-color: rgba(79, 183, 238, .18); }

/* Marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 60s linear infinite; padding: 20px 0 40px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track a { flex: none; width: 170px; transition: transform .4s var(--ease); }
.marquee-track a:hover { transform: translateY(-10px) rotate(-2deg); }
.marquee-track img { border-radius: 8px; box-shadow: 0 16px 34px rgba(11, 33, 80, .2); aspect-ratio: 300 / 415; object-fit: cover; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Feature cards */
.feature { padding: 34px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature .ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--sky-50); color: var(--blue); margin-bottom: 22px; transition: background .3s, color .3s; }
.feature:hover .ic { background: var(--blue); color: #fff; }
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; }
.feature p { font-size: 15px; margin: 0; }
.bg-navy .feature { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.bg-navy .feature p { color: #b8c6e0; }
.bg-navy .feature .ic { background: rgba(79, 183, 238, .14); color: var(--sky); }

/* Audience cards (image) */
.audience { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; color: #fff; }
.audience img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.audience::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6, 20, 47, .9)); }
.audience div { position: absolute; left: 26px; right: 26px; bottom: 24px; z-index: 1; }
.audience b { font-size: 24px; display: block; }
.audience p { color: #cfdbf0; font-size: 14.5px; margin: 6px 0 0; }
.audience:hover img { transform: scale(1.07); }

/* CTA band */
.cta-band { position: relative; border-radius: 36px; overflow: hidden; padding: 80px; color: #fff; background: var(--blue); isolation: isolate; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .35; mix-blend-mode: luminosity; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, var(--blue) 30%, rgba(0, 80, 160, .55)); }
.cta-band h2 { color: #fff; max-width: 700px; }
.cta-band .lead { color: #dbe9fb; }

/* Book detail */
.book-hero { display: grid; grid-template-columns: 460px 1fr; gap: 80px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 30px); }
.gallery-main { display: grid; place-items: center; aspect-ratio: 1 / 1.1; border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 40%, #fff, var(--sky-50) 70%); padding: 46px; cursor: zoom-in; }
.gallery-main img { max-height: 100%; width: auto; border-radius: 8px; box-shadow: 0 30px 60px rgba(11, 33, 80, .28); transition: transform .5s var(--ease), opacity .25s; }
.gallery-main:hover img { transform: translateY(-6px) rotate(-1deg); }
.thumbs { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.thumbs button { width: 70px; aspect-ratio: 300 / 415; padding: 6px; border-radius: 12px; border: 2px solid transparent; background: var(--bg-soft); transition: border-color .2s; }
.thumbs button.active, .thumbs button:hover { border-color: var(--blue); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.book-info h1 { font-size: clamp(34px, 3.8vw, 54px); }
.book-info .lead { max-width: none; }
.book-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.acc { border-top: 1px solid var(--line); margin-top: 36px; }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 18px; color: var(--ink); cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary i { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex: none; transition: transform .3s var(--ease), background .3s; }
.acc summary i::before, .acc summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 2px; transition: transform .3s; }
.acc summary i::after { transform: rotate(90deg); }
.acc details[open] summary i { background: var(--blue); border-color: var(--blue); }
.acc details[open] summary i::before { background: #fff; }
.acc details[open] summary i::after { transform: rotate(0); background: #fff; }
.acc .acc-body { padding: 0 0 24px; }
.acc ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.acc ul li { position: relative; padding-left: 20px; color: var(--ink); }
.acc ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; }
.pager a { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--line); transition: border-color .2s, box-shadow .3s; }
.pager a:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.pager a.next { justify-content: flex-end; text-align: right; grid-column: 2; }
.pager small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.pager b { color: var(--ink); }
.pager svg { width: 20px; height: 20px; color: var(--blue); flex: none; }

/* Video modal */
.vmodal { position: fixed; inset: 0; z-index: 100; background: rgba(6, 20, 47, .92); display: grid; place-items: center; padding: 30px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.vmodal.open { opacity: 1; visibility: visible; }
.vmodal video, .vmodal img { width: min(1100px, 100%); max-height: 86vh; border-radius: 18px; box-shadow: var(--shadow-lg); background: #000; object-fit: contain; }
.vmodal-close { position: absolute; top: 22px; right: 22px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; }
.vmodal-close svg { width: 20px; height: 20px; }
.play-btn { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; border: 0; background: #fff; color: var(--blue); display: grid; place-items: center; z-index: 2; box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); animation: pulse 2.2s infinite; }
.play-btn svg { width: 30px; height: 30px; margin-left: 4px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 70% { box-shadow: 0 0 0 26px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }

/* Timeline (about) */
.timeline { position: relative; max-width: 980px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--sky-200), var(--line)); }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding: 34px 0; }
.tl-item::before { content: ""; position: absolute; left: 50%; top: 46px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); }
.tl-item > div:first-child { text-align: right; }
.tl-item:nth-child(even) > div:first-child { order: 2; text-align: left; }
.tl-pill { display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.tl-item h3 { font-size: 22px; }

/* Values */
.value-num { font-size: 15px; font-weight: 700; color: var(--sky); margin-bottom: 18px; display: block; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .3s; }
.contact-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.contact-card .ic { width: 50px; height: 50px; border-radius: 16px; background: var(--sky-50); color: var(--blue); display: grid; place-items: center; flex: none; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card small { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.contact-card b { color: var(--ink); font-size: 17px; font-weight: 600; }
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 44px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 14px; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0, 80, 160, .1); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--ink); cursor: pointer; transition: all .2s; }
.seg input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.check, .field.check { display: flex; flex-direction: row; gap: 12px; align-items: flex-start; font-size: 14px; }
.check input, .field.check input { width: 20px; height: 20px; padding: 0; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.form-note { margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: var(--sky-50); color: var(--blue); font-weight: 600; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; height: 420px; box-shadow: var(--shadow-sm); background: var(--bg-soft); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) saturate(1.1); }

/* Footer */
.footer { background: var(--navy-900); color: #9fb0cf; font-size: 15px; }
.footer a:hover { color: #fff; }
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 70px 0 54px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-brand img { height: 96px; width: auto; }
.footer-brand .logo-badge { background: #fff; border-radius: 22px; padding: 14px 26px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.footer-brand p { max-width: 560px; margin: 20px auto 0; }
.newsletter { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; padding: 50px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.newsletter h3 { color: #fff; font-size: 28px; margin: 0 0 6px; }
.newsletter form { display: flex; gap: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; padding: 6px; }
.newsletter input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: 0 20px; font: inherit; }
.newsletter input::placeholder { color: #8195b8; }
.newsletter input:focus { outline: 0; }
.footer-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0; }
.footer-cols h4 { color: #fff; font-size: 16px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.footer-cols h4 svg { width: 18px; height: 18px; color: var(--sky); }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--sky); flex: none; margin-top: 4px; }
.footer .social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .14); transition: background .2s, border-color .2s; }
.footer .social a:hover { background: var(--blue); border-color: var(--blue); }
.apps { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.apps a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: 12px; line-height: 1.2; }
.apps a b { display: block; font-size: 15px; }
.apps svg { width: 22px; height: 22px; fill: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* Floating action */
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px rgba(0, 80, 160, .35); transform: scale(0); transition: transform .4s var(--ease); }
.fab.show { transform: scale(1); }
.fab svg { width: 22px; height: 22px; }
/* Back-to-top: same round blue button as the contact one, stacked above it */
.fab-top { bottom: 96px; border: 0; cursor: pointer; }
.fab:hover { background: var(--navy); }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    [data-reveal] { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1100px) {
    .nav, .header-cta { display: none; }
    .menu-toggle { display: block; }
    .split { gap: 50px; }
    .finder-panel { grid-template-columns: 1fr; }
    .finder-media { min-height: 300px; }
    .book-hero { grid-template-columns: 380px 1fr; gap: 50px; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .hero-books { display: none; }
}
@media (max-width: 900px) {
    :root { --header-h: 72px; }
    .section { padding: 80px 0; }
    .split, .split.reverse, .contact-grid, .newsletter { grid-template-columns: 1fr; }
    .split.reverse > :first-child { order: 0; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .stats-card { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .level-tile, .level-tile.wide { grid-column: span 6; min-height: 320px; }
    .book-hero { grid-template-columns: 1fr; }
    .gallery { position: static; max-width: 460px; }
    .timeline::before { left: 18px; }
    .tl-item { grid-template-columns: 1fr; gap: 10px; padding-left: 54px; }
    .tl-item::before { left: 18px; }
    .tl-item > div:first-child, .tl-item:nth-child(even) > div:first-child { text-align: left; order: 0; }
    .cta-band { padding: 56px 36px; }
    .media-float { right: 14px; bottom: -22px; }
}
@media (max-width: 600px) {
    body { font-size: 15.5px; }
    .container { padding: 0 20px; }
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 36px; }
    .topbar-links a:not(:first-child) { display: none; }
    .brand img { height: 42px; }
    .hero .container { padding-top: 60px; padding-bottom: 90px; }
    .finder-series { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .finder-media { min-height: 220px; }
    .stat b.stat-text { font-size: 24px; }
    .btn-row .btn { flex: 1 1 100%; justify-content: center; }
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .grid-books { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
    .book-card .cover { padding: 14px; }
    .book-card h3 { font-size: 15px; }
    .stats { margin-top: -40px; }
    .stat { padding: 22px 18px; }
    .level-tile, .level-tile.wide { grid-column: span 12; min-height: 280px; }
    .level-tile-body { left: 22px; right: 22px; bottom: 22px; }
    .finder-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -20px 30px; padding: 0 20px 6px; scrollbar-width: none; }
    .finder-tabs::-webkit-scrollbar { display: none; }
    .chip { white-space: nowrap; }
    .finder-body, .explorer-body { padding: 24px; }
    .explorer-head { padding: 18px 22px; }
    .explorer-intro { grid-template-columns: 1fr; }
    .series-pick { grid-template-columns: 1fr; }
    .form-card { padding: 26px; }
    .form-grid, .acc ul { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr; padding: 40px 0; }
    .pager { grid-template-columns: 1fr; }
    .pager a.next { grid-column: 1; }
    .cta-band { padding: 44px 24px; border-radius: 26px; }
    .media-float { position: static; margin-top: 16px; max-width: none; }
    .page-hero-media { min-height: 460px; }
    .fab { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* Keep a term like "e-learning" on one line */
.nowrap { white-space: nowrap; }

/* Text block with a decorative picture on the right (Services > Certificate) */
.block-bg { position: relative; overflow: hidden; border-radius: 24px; padding: 64px 48px; min-height: 320px; background: linear-gradient(120deg, #f5f9fe, #e6f1fb); }
.block-bg::after { content: ""; position: absolute; right: 7%; top: 50%; width: 250px; aspect-ratio: 1200 / 1688; background: var(--bg) center / cover no-repeat; border-radius: 6px; box-shadow: 0 22px 50px rgba(10, 40, 90, .22); transform: translateY(-50%) rotate(6deg); }
.block-bg .prose { position: relative; z-index: 1; max-width: 520px; }
@media (max-width: 760px) {
    .block-bg { padding: 40px 24px; min-height: 0; }
    .block-bg::after { width: 150px; right: -28px; opacity: .3; }
}

/* Homepage hero badge ("Global ELT Publisher") */
.hero-tag { display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px 9px 12px; margin-bottom: 22px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.hero-tag svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--sky); color: #06204a; flex: none; }
@media (max-width: 600px) { .hero-tag { font-size: 13px; letter-spacing: .12em; padding: 7px 14px 7px 9px; } .hero-tag svg { width: 24px; height: 24px; padding: 5px; } }

.block-bg .btn-row { position: relative; z-index: 1; margin-top: 22px; }
