/* =========================================================================
   Cas Wonsowicz – author website theme (modern, immersive)
   Palette: deep navy · gold · warm cream.  Fonts: Playfair Display + Inter.
   ========================================================================= */
:root {
  --navy-950: #04111c; --navy-900: #061c2e; --navy-800: #0a2a44; --navy-700: #103a5d; --brand: #002c46;
  --gold: #e9b859; --gold-300: #f4d58f; --gold-600: #c4952e;
  --cream: #fbf3e6; --ivory: #fffaf2; --paper: #f4e7d0;
  --ink: #14212d; --ink-2: #34475a; --muted: #66788a; --line: rgba(20, 33, 45, .12);
  --on-dark: #eaf0f6; --on-dark-2: #b3c4d3; --line-dark: rgba(255, 255, 255, .14);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 20px; --r-sm: 12px; --maxw: 1240px; --gut: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow: 0 30px 80px -30px rgba(4, 17, 28, .55);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.7 var(--sans); color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--brand); text-wrap: balance; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 1000; left: 12px; top: 12px; width: auto; height: auto; clip: auto; background: var(--gold); color: var(--navy-950); padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 820px; margin-inline: auto; }

/* ---------- typography helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font: 600 12.5px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .section--dark .eyebrow, .section--darkest .eyebrow, .section--image .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }
.h-xl { font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: 1.02; letter-spacing: -.025em; }
.h-lg { font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: 1.06; letter-spacing: -.02em; }
.h-md { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.75; color: var(--ink-2); }
.section--dark .lead, .section--darkest .lead, .section--image .lead, .on-dark .lead, .hero .lead, .page-hero .lead { color: var(--on-dark-2); }
.accent, h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--gold-600); }
.section--dark h1 em, .section--dark h2 em, .section--darkest h1 em, .section--darkest h2 em, .section--image h2 em, .hero h1 em, .page-hero h1 em, .on-dark h2 em { color: var(--gold); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4, .section--darkest h1, .section--darkest h2, .section--darkest h3, .section--darkest h4, .section--image h1, .section--image h2, .section--image h3, .section--image h4, .hero h1, .page-hero h1, .on-dark h2, .on-dark h3 { color: #fff; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; width: 38px; height: 1px; background: currentColor; }

/* ---------- buttons ---------- */
.btn { --bg: transparent; --fg: var(--brand); --bd: var(--brand); display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; border-radius: 999px; background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd); font: 600 14.5px/1 var(--sans); letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .35s; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-3px); }
.btn-gold { --bg: var(--gold); --fg: var(--navy-950); --bd: var(--gold); box-shadow: 0 14px 34px -14px rgba(233, 184, 89, .8); }
.btn-gold:hover { --bg: var(--gold-300); --bd: var(--gold-300); box-shadow: 0 20px 40px -14px rgba(233, 184, 89, .9); }
.btn-navy { --bg: var(--brand); --fg: #fff; --bd: var(--brand); }
.btn-navy:hover { --bg: var(--navy-700); --bd: var(--navy-700); }
.btn-ghost { --fg: #fff; --bd: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-ghost:hover { --bg: rgba(255, 255, 255, .12); --bd: #fff; }
.btn-outline { --fg: var(--brand); --bd: var(--brand); }
.btn-outline:hover { --bg: var(--brand); --fg: #fff; }
.arrow { width: 18px; height: 18px; flex: none; }
.btn .arrow, .link-arrow .arrow { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(5px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); text-decoration: none; border-bottom: 1.5px solid var(--gold); padding-bottom: 3px; }
.section--dark .link-arrow, .section--darkest .link-arrow, .section--image .link-arrow, .on-dark .link-arrow { color: var(--gold); }

/* ---------- header ---------- */
.site-header { position: fixed; z-index: 100; inset: 0 0 auto 0; height: var(--header-h); display: flex; align-items: center; color: var(--on-dark); transition: background .45s, box-shadow .45s, height .35s var(--ease), backdrop-filter .45s; }
.site-header.is-solid { background: rgba(4, 17, 28, .82); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); box-shadow: 0 1px 0 var(--line-dark); --header-h: 68px; height: 68px; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img { height: 46px; width: auto; transition: height .35s var(--ease); }
.is-solid .brand-logo img { height: 40px; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.main-nav a { position: relative; text-decoration: none; font: 500 14.5px/1 var(--sans); letter-spacing: .06em; color: var(--on-dark); padding: 8px 0; opacity: .88; transition: opacity .3s, color .3s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--gold); transition: right .4s var(--ease); }
.main-nav a:hover, .main-nav a.is-active { opacity: 1; color: #fff; }
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-cta .btn { padding: 12px 24px; font-size: 13.5px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); cursor: pointer; position: relative; z-index: 130; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.8px; background: #fff; transition: transform .4s var(--ease), opacity .3s, top .4s 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); }
.mobile-menu { position: fixed; inset: 0; z-index: 120; background: radial-gradient(120% 90% at 80% 0%, var(--navy-700) 0%, var(--navy-950) 70%); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gut) 40px; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; overflow-y: auto; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .site-header { z-index: 130; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.menu-open { overflow: hidden; }
.mobile-menu nav a { display: block; font: 600 clamp(1.9rem, 8vw, 2.8rem)/1.25 var(--serif); color: #fff; text-decoration: none; padding: 6px 0; transform: translateY(18px); opacity: 0; transition: transform .6s var(--ease), opacity .6s, color .3s; }
.menu-open .mobile-menu nav a { transform: none; opacity: 1; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .05s; } .menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .15s; } .menu-open .mobile-menu nav a:nth-child(5) { transition-delay: .2s; }
.menu-open .mobile-menu nav a:nth-child(6) { transition-delay: .25s; }
.mobile-menu nav a.is-active, .mobile-menu nav a:hover { color: var(--gold); }
.mobile-menu .btn { margin-top: 26px; align-self: flex-start; }
.mobile-menu .m-contact { margin-top: 32px; color: var(--on-dark-2); font-size: 15px; display: grid; gap: 6px; }
.mobile-menu .m-contact a { color: var(--on-dark); text-decoration: none; }

.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); color: #fff; transition: background .3s, color .3s, transform .35s var(--ease), border-color .3s; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-950); transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.social svg path[fill] { fill: currentColor; }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; color: var(--on-dark); overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 36px) 0 170px; background: var(--navy-950); }
.hero__bg, .page-hero__bg { position: absolute; inset: -4% 0; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
.hero__bg { animation: kenburns 30s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4, 17, 28, .88) 0%, rgba(4, 17, 28, .6) 42%, rgba(4, 17, 28, .1) 80%), linear-gradient(0deg, rgba(4, 17, 28, .92) 0%, rgba(4, 17, 28, 0) 34%); }
@keyframes kenburns { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.hero__title { font-size: clamp(3rem, 7.4vw, 7rem); line-height: .98; letter-spacing: -.03em; margin: 0 0 .28em; }
.hero__title em { display: block; font-size: .5em; line-height: 1.12; letter-spacing: -.01em; margin-top: .22em; }
.hero .lead { max-width: 56ch; margin-bottom: 34px; }
.hero__proof { display: flex; align-items: center; gap: 14px; margin-top: 36px; color: var(--on-dark-2); font-size: 14.5px; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 17px; }
.hero__book { display: grid; place-items: center; position: relative; }
.hero__book::before { content: ""; position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(233, 184, 89, .36), rgba(233, 184, 89, 0) 70%); filter: blur(10px); z-index: -1; }
.hero__book .book3d { --w: clamp(230px, 27vw, 410px); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero__chips { position: absolute; left: 0; right: 0; bottom: 34px; }
.chips { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.chip { display: flex; align-items: center; gap: 12px; padding: 8px 20px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .09); border: 1px solid var(--line-dark); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; font: 500 14px/1.2 var(--sans); transition: transform .4s var(--ease), background .3s; }
.chip:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .16); }
.chip img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.scroll-cue { position: absolute; right: var(--gut); bottom: 40px; display: flex; align-items: center; gap: 12px; color: var(--on-dark-2); font: 600 11.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue::after { content: ""; width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; color: var(--on-dark); background: var(--navy-950); overflow: hidden; padding: calc(var(--header-h) + clamp(70px, 11vw, 150px)) 0 clamp(64px, 9vw, 120px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 17, 28, .82) 0%, rgba(4, 17, 28, .55) 45%, rgba(4, 17, 28, .94) 100%); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1.02; letter-spacing: -.025em; margin-bottom: .3em; max-width: 18ch; }
.page-hero .lead { max-width: 60ch; }
.page-hero.is-center { text-align: center; }
.page-hero.is-center h1, .page-hero.is-center .lead { margin-inline: auto; }
.page-hero.is-center .eyebrow { justify-content: center; }
.page-hero--sm { padding-bottom: clamp(48px, 6vw, 80px); }

/* ---------- sections ---------- */
.section { padding: clamp(76px, 10vw, 148px) 0; position: relative; overflow-x: clip; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--navy-900); color: var(--on-dark); }
.section--dark p, .section--darkest p, .section--image p { color: var(--on-dark-2); }
.section--darkest { background: var(--navy-950); color: var(--on-dark); }
.section--image { color: var(--on-dark); isolation: isolate; overflow: hidden; }
.section--image .section__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; background-attachment: fixed; }
.section--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 17, 28, .9), rgba(4, 17, 28, .72) 50%, rgba(4, 17, 28, .92)); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 100px); align-items: center; }
.split--wide-text { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.split--rev > :first-child { order: 2; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--line-dark); }
.stats .stat { padding: 34px 20px; text-align: center; border-right: 1px solid var(--line-dark); }
.stats .stat:last-child { border-right: 0; }
.stat b { display: block; font: 600 clamp(2.4rem, 4.4vw, 4rem)/1 var(--serif); color: var(--gold); letter-spacing: -.02em; }
.stat span { display: block; margin-top: 10px; font: 600 12px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2); }

/* author block */
.arch { position: relative; max-width: 460px; margin-inline: auto; }
.arch::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1.5px solid var(--gold); border-radius: 240px 240px 22px 22px; z-index: 0; }
.arch img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 240px 240px 22px 22px; background: var(--paper); box-shadow: var(--shadow); }
.signature { font: italic 500 1.5rem/1 var(--serif); color: var(--gold-600); }
.quote-mark { font: 700 6rem/.6 var(--serif); color: var(--gold); opacity: .55; display: block; height: 44px; }

/* 3D book */
.book3d { --w: 260px; --t: calc(var(--w) * .09); width: var(--w); aspect-ratio: 711 / 1024; position: relative; perspective: 1800px; display: block; text-decoration: none; }
.book3d__inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-26deg) rotateX(4deg); transition: transform .9s var(--ease); }
.book3d:hover .book3d__inner, .book-card:hover .book3d__inner { transform: rotateY(-9deg) rotateX(1deg) translateY(-8px); }
.book3d__front { position: absolute; inset: 0; transform: translateZ(calc(var(--t) / 2)); border-radius: 3px 9px 9px 3px; overflow: hidden; background: var(--navy-800); box-shadow: 0 2px 4px rgba(0, 0, 0, .3); }
.book3d__front img { width: 100%; height: 100%; object-fit: cover; }
.book3d__front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .34) 0, rgba(255, 255, 255, .22) 1.6%, rgba(0, 0, 0, .1) 3.4%, transparent 7%), linear-gradient(115deg, rgba(255, 255, 255, .22) 0%, transparent 38%); pointer-events: none; }
.book3d__back { position: absolute; inset: 0; transform: translateZ(calc(var(--t) / -2)) rotateY(180deg); background: var(--navy-900); border-radius: 9px 3px 3px 9px; }
.book3d__spine { position: absolute; top: 0; left: 0; width: var(--t); height: 100%; transform-origin: left center; transform: translateZ(calc(var(--t) / 2)) rotateY(90deg); background: linear-gradient(90deg, #0a2a44, #123f66 40%, #0a2a44); }
.book3d__pages { position: absolute; top: 1.2%; right: 0; width: var(--t); height: 97.6%; transform-origin: right center; transform: translateZ(calc(var(--t) / 2)) rotateY(-90deg); background: repeating-linear-gradient(90deg, #f1e6cf 0 2px, #fffaf0 2px 3px); }
.book3d__shadow { position: absolute; left: 6%; right: -12%; bottom: -7%; height: 8%; background: radial-gradient(closest-side, rgba(0, 0, 0, .5), transparent); filter: blur(10px); transform: translateZ(-60px); }
.book3d--flat .book3d__inner { transform: none !important; }
.cover-placeholder { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 18px; background: url('../../uploads/art/paris-map-texture.jpg') center/cover; color: var(--gold); font: 600 1.15rem/1.2 var(--serif); }

/* feature cards */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature { padding: 34px 30px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset; transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; position: relative; overflow: hidden; }
.feature::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(233, 184, 89, .22), transparent); transition: transform .6s var(--ease); }
.feature:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(4, 17, 28, .35); border-color: rgba(233, 184, 89, .6); }
.feature:hover::after { transform: scale(1.6); }
.feature .num { font: 600 .95rem/1 var(--serif); color: var(--gold-600); letter-spacing: .1em; display: block; margin-bottom: 18px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 1.04rem; line-height: 1.6; }
.feature .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--brand); color: var(--gold); display: grid; place-items: center; margin-bottom: 20px; }
.feature .ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* books grid */
.books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px; }
.book-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); padding: 40px 28px 30px; background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: var(--on-dark); border: 1px solid var(--line-dark); overflow: hidden; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s; isolation: isolate; }
.book-card::before { content: ""; position: absolute; inset: -20% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(233, 184, 89, .22), transparent); z-index: -1; }
.book-card:hover { transform: translateY(-8px); border-color: rgba(233, 184, 89, .55); box-shadow: 0 40px 70px -34px rgba(0, 0, 0, .7); }
.book-card .book3d { --w: 190px; margin: 0 auto 34px; }
.book-card__series { font: 600 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.book-card h3 { color: #fff; font-size: 1.65rem; margin-bottom: .2em; }
.book-card h3 a { text-decoration: none; }
.book-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.book-card__sub { color: var(--on-dark-2); font: italic 500 1.05rem/1.4 var(--serif); margin-bottom: 16px; }
.book-card p.sum { color: var(--on-dark-2); font-size: .97rem; line-height: 1.6; margin-bottom: 22px; }
.book-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; z-index: 3; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font: 600 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; background: rgba(233, 184, 89, .16); color: var(--gold); border: 1px solid rgba(233, 184, 89, .4); }
.badge--soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(1.5); } }
.book-card.is-upcoming .book3d__front img { filter: saturate(.9) brightness(.95); }

/* book detail */
.book-hero { padding-bottom: clamp(72px, 9vw, 130px); }
.book-hero__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.book-hero .book3d { --w: clamp(230px, 28vw, 400px); margin-inline: auto; }
.book-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.8rem); max-width: none; }
.book-hero h1 em { display: block; font-size: .46em; margin-top: .25em; }
.chapters { counter-reset: ch; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.chapters li { counter-increment: ch; display: flex; gap: 22px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line-dark); font: 500 clamp(1.15rem, 1.8vw, 1.45rem)/1.3 var(--serif); color: #fff; transition: padding .4s var(--ease), color .3s; }
.chapters li::before { content: counter(ch, decimal-leading-zero); font: 600 .9rem/1 var(--sans); color: var(--gold); letter-spacing: .12em; min-width: 28px; }
.chapters li:hover { padding-left: 14px; color: var(--gold-300); }
.inside { display: grid; gap: clamp(48px, 7vw, 110px); }
.inside__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 6vw, 96px); align-items: center; }
.inside__row:nth-child(even) .inside__img { order: 2; }
.inside__img { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.inside__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.inside__row:hover .inside__img img { transform: scale(1.06); }
.inside__num { font: 600 .9rem/1 var(--sans); letter-spacing: .2em; color: var(--gold-600); margin-bottom: 16px; display: block; }
.big-quote { text-align: center; max-width: 920px; margin-inline: auto; }
.big-quote blockquote { margin: 0; font: italic 500 clamp(1.9rem, 4.2vw, 3.4rem)/1.25 var(--serif); color: #fff; }
.big-quote cite { display: block; margin-top: 26px; font: 600 12.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-style: normal; }
.buy-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.video-frame { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow), 0 0 0 1px var(--line-dark); background: #000; aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.cta-banner { position: relative; border-radius: calc(var(--r) + 8px); overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 84px); color: var(--on-dark); background: var(--navy-900); }
.cta-banner__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.cta-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(4, 17, 28, .95) 0%, rgba(4, 17, 28, .75) 55%, rgba(4, 17, 28, .35)); }
.cta-banner__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.cta-banner img.mock { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.retailers { display: flex; align-items: center; gap: 22px; margin-top: 26px; flex-wrap: wrap; }
.retailers img { height: 42px; width: auto; background: #fff; border-radius: 8px; padding: 4px 10px; opacity: .92; transition: opacity .3s, transform .3s var(--ease); }
.retailers img:hover { opacity: 1; transform: translateY(-2px); }

/* testimonials slider */
.t-wrap { position: relative; }
.t-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px var(--gut) 34px; margin-inline: calc(var(--gut) * -1); scrollbar-width: none; }
.t-track::-webkit-scrollbar { display: none; }
.t-card { flex: 0 0 min(86vw, 400px); scroll-snap-align: center; padding: 34px 30px; border-radius: var(--r); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 22px; transition: transform .5s var(--ease), border-color .3s, background .3s; }
.t-card:hover { transform: translateY(-6px); border-color: rgba(233, 184, 89, .5); background: rgba(255, 255, 255, .09); }
.t-card q { quotes: none; font: italic 400 1.2rem/1.6 var(--serif); color: #fff; }
.t-card .who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.t-card .who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); background: var(--navy-700); }
.t-card .who b { display: block; color: #fff; font: 600 15px/1.2 var(--sans); }
.t-card .who small { color: var(--on-dark-2); font-size: 12.5px; letter-spacing: .08em; }
.t-nav { display: flex; gap: 10px; }
.t-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line-dark); background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.t-nav button:hover { background: var(--gold); color: var(--navy-950); border-color: var(--gold); }
.t-nav svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 52px); }
.head-row .section-head { margin: 0; }

/* reviews grid (testimonials page) */
.reviews { columns: 3 320px; column-gap: 24px; }
.review { break-inside: avoid; margin: 0 0 24px; padding: 32px 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s; }
.review:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(4, 17, 28, .4); }
.review p { font: italic 400 1.14rem/1.65 var(--serif); color: var(--ink); margin: 14px 0 22px; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .who img { width: 46px; height: 46px; border-radius: 50%; }
.review .who b { font: 600 15px/1 var(--sans); color: var(--brand); }

/* blog */
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.post-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.post-card:hover { transform: translateY(-8px); box-shadow: 0 34px 70px -34px rgba(4, 17, 28, .5); }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.07); }
.post-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font: 600 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 14px; }
.post-card h3 { font-size: 1.5rem; margin-bottom: .6em; }
.post-card h3 a { text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card p { color: var(--ink-2); font-size: .98rem; line-height: 1.6; margin-bottom: 20px; }
.post-card .more { margin-top: auto; font: 600 14px/1 var(--sans); color: var(--brand); display: inline-flex; gap: 8px; align-items: center; }
.post-card--lead { grid-column: 1 / -1; flex-direction: row; min-height: 440px; }
.post-card--lead .post-card__img { flex: 1.25; aspect-ratio: auto; }
.post-card--lead .post-card__body { flex: 1; justify-content: center; padding: clamp(28px, 4vw, 56px); }
.post-card--lead h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.post-card--dark { background: var(--navy-800); border-color: var(--line-dark); }
.post-card--dark h3 { color: #fff; } .post-card--dark p { color: var(--on-dark-2); } .post-card--dark .more { color: var(--gold); }
.post-card--dark .post-card__meta { color: var(--gold); }

/* article */
.post-hero { position: relative; isolation: isolate; color: #fff; background: var(--navy-950); padding: calc(var(--header-h) + clamp(80px, 12vw, 170px)) 0 clamp(60px, 8vw, 110px); text-align: center; overflow: hidden; }
.post-hero .page-hero__bg { filter: saturate(1.05); }
.post-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 17, 28, .78), rgba(4, 17, 28, .6) 50%, rgba(4, 17, 28, .96)); }
.post-hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.8rem); line-height: 1.06; max-width: 20ch; margin-inline: auto; }
.post-hero .meta { display: inline-flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; color: var(--on-dark-2); font: 500 14.5px/1.4 var(--sans); }
.post-hero .meta b { color: var(--gold); font-weight: 600; }
.prose { max-width: 760px; margin-inline: auto; font-size: 1.16rem; line-height: 1.85; color: #263544; }
.prose > p:first-of-type::first-letter { float: left; font: 700 4.2rem/.8 var(--serif); padding: 6px 8px 0 0; margin-right: 2px; color: var(--gold-600); }
.prose h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 2.1em 0 .6em; position: relative; padding-top: 26px; }
.prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 54px; height: 3px; background: var(--gold); border-radius: 2px; }
.prose h3 { font-size: 1.5rem; margin: 1.7em 0 .5em; }
.prose p { margin: 0 0 1.35em; }
.prose a { color: var(--brand); text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose ul, .prose ol { margin: 0 0 1.4em 1.3em; list-style: revert; }
.prose li { margin: .3em 0; }
.prose blockquote { margin: 2em 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--gold); font: italic 500 1.4rem/1.55 var(--serif); color: var(--brand); }
.prose img { border-radius: var(--r-sm); }
.prose figure { margin: 2em 0; } .prose figcaption { text-align: center; font-size: .9rem; color: var(--muted); margin-top: 8px; }
.prose .post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 2.2em -90px; }
.prose .post-grid img { width: 100%; height: var(--post-img-h, 260px); object-fit: cover; border-radius: 14px; transition: transform .6s var(--ease), box-shadow .6s; }
.prose .post-grid img:hover { transform: scale(1.025); box-shadow: 0 24px 40px -24px rgba(4, 17, 28, .6); }
.prose .post-grid.post-grid-narrow { margin-inline: -30px; }
.prose .post-spacer { display: block; }
.author-box { display: flex; gap: 22px; align-items: center; padding: 28px; border-radius: var(--r); background: var(--cream); border: 1px solid rgba(233, 184, 89, .45); margin-top: 60px; }
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--gold); flex: none; background: var(--paper); }
.author-box b { font: 600 1.15rem/1.2 var(--serif); color: var(--brand); display: block; }
.author-box p { margin: 4px 0 0; color: var(--ink-2); font-size: .97rem; line-height: 1.55; }
.share { display: flex; align-items: center; gap: 12px; margin-top: 30px; color: var(--muted); font-size: 14px; }
.share a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 13px; color: var(--brand); transition: background .3s, color .3s; }
.share a:hover { background: var(--brand); color: #fff; }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pn a { display: block; padding: 28px; border-radius: var(--r); border: 1px solid var(--line); text-decoration: none; background: #fff; transition: transform .4s var(--ease), border-color .3s; }
.pn a:hover { transform: translateY(-5px); border-color: var(--gold); }
.pn small { display: block; font: 600 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 10px; }
.pn b { font: 600 1.25rem/1.3 var(--serif); color: var(--brand); }
.pn .next { text-align: right; }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; font: 600 clamp(1.1rem, 1.7vw, 1.4rem)/1.35 var(--serif); color: var(--brand); transition: color .3s; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--gold-600); }
.accordion .pm { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.accordion .pm::before, .accordion .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.8px; background: var(--brand); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .3s; }
.accordion .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion details[open] .pm { background: var(--gold); border-color: var(--gold); }
.accordion details[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.accordion .ans { padding: 0 4px 28px; color: var(--ink-2); font-size: 1.05rem; line-height: 1.8; max-width: 66ch; animation: fadeDown .5s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.info-card { padding: clamp(28px, 3.5vw, 44px); border-radius: var(--r); background: var(--navy-900); color: var(--on-dark); position: sticky; top: calc(var(--header-h) + 24px); isolation: isolate; overflow: hidden; }
.info-card::before { content: ""; position: absolute; inset: -30% -30% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(233, 184, 89, .22), transparent); z-index: -1; }
.info-card h3 { color: #fff; font-size: 1.8rem; }
.info-card p { color: var(--on-dark-2); }
.info-list { display: grid; gap: 18px; margin-top: 24px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(233, 184, 89, .14); color: var(--gold); display: grid; place-items: center; }
.info-list .ic svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.info-list small { display: block; font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 4px; }
.info-list a, .info-list span.v { color: #fff; text-decoration: none; font-weight: 500; }
.info-list a:hover { color: var(--gold); }

/* forms */
.form-card { padding: clamp(28px, 4vw, 52px); border-radius: calc(var(--r) + 4px); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-grid .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; font: 600 12.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.input, .field input, .field textarea, .field select { width: 100%; padding: 16px 18px; border-radius: 14px; border: 1.5px solid rgba(20, 33, 45, .16); background: var(--ivory); color: var(--ink); transition: border-color .3s, box-shadow .3s, background .3s; }
.field textarea { min-height: 150px; resize: vertical; }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-600); box-shadow: 0 0 0 4px rgba(233, 184, 89, .22); background: #fff; }
.form-msg { margin-top: 14px; padding: 13px 16px; border-radius: 12px; font-size: .97rem; font-weight: 500; }
.form-msg[hidden] { display: none; }
.form-msg.ok { background: #e8f6ee; color: #14633a; } .form-msg.err { background: #fdecea; color: #a1281d; }
.honey { position: absolute; left: -9999px; }
.on-dark-form .input, .on-dark-form input { background: rgba(255, 255, 255, .08); border-color: var(--line-dark); color: #fff; }
.on-dark-form input::placeholder { color: var(--on-dark-2); }
.on-dark-form input:focus { background: rgba(255, 255, 255, .14); border-color: var(--gold); }
.inline-form { display: flex; gap: 12px; flex-wrap: wrap; max-width: 560px; }
.inline-form .field { flex: 1 1 260px; }
.star-input { position: relative; display: flex; gap: 6px; flex-direction: row-reverse; justify-content: flex-end; }
.star-input input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; }
.star-input label { margin: 0; cursor: pointer; font-size: 38px; line-height: 1; letter-spacing: 0; text-transform: none; color: #d6cdbd; transition: color .2s, transform .2s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: var(--gold); }
.star-input label:hover { transform: scale(1.15); }

/* footer */
.site-footer { background: var(--navy-950); color: var(--on-dark-2); position: relative; overflow: hidden; }
.footer-news { border-bottom: 1px solid var(--line-dark); padding: clamp(40px, 5vw, 70px) 0; }
.footer-news .row { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-news h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
.footer-main { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.1fr; gap: clamp(28px, 4vw, 64px); padding-block: clamp(50px, 6vw, 84px) 50px; }
.footer-main h4 { color: #fff; font: 600 12.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 22px; }
.footer-main li { margin: 0 0 12px; }
.footer-main a { text-decoration: none; transition: color .3s; }
.footer-main a:hover { color: var(--gold); }
.footer-main img.logo { height: 52px; width: auto; margin-bottom: 20px; }
.footer-main .desc { max-width: 38ch; line-height: 1.7; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; fill: var(--gold); flex: none; margin-top: 4px; }
.footer-bottom { position: relative; padding-block: 24px; font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); height: 1px; background: var(--line-dark); }

/* reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-40px); } .js [data-reveal="right"] { transform: translateX(40px); } .js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].in { opacity: 1; transform: none; }
.ticker { overflow: hidden; border-block: 1px solid var(--line-dark); background: var(--navy-950); }
.ticker__row { display: flex; gap: 60px; width: max-content; padding: 22px 0; animation: ticker 40s linear infinite; font: italic 500 1.5rem/1 var(--serif); color: var(--on-dark-2); white-space: nowrap; }
.ticker__row span::after { content: "✦"; margin-left: 60px; color: var(--gold); font-style: normal; font-size: .9rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* status notice for non-JS form post */
.notice { position: fixed; left: 50%; top: 18px; transform: translateX(-50%); z-index: 999; padding: 12px 20px; border-radius: 10px; font-weight: 600; color: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .3); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .main-nav, .header-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .hero__grid, .book-hero__grid, .cta-banner__grid, .split, .split--wide-text, .faq-grid, .inside__row { grid-template-columns: 1fr; }
  .hero__book { order: -1; margin-bottom: 10px; } .hero__book .book3d { --w: clamp(190px, 44vw, 290px); }
  .split--rev > :first-child, .inside__row:nth-child(even) .inside__img { order: 0; }
  .features, .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .info-card { position: static; }
  .prose .post-grid, .prose .post-grid.post-grid-narrow { margin-inline: 0; }
  .scroll-cue { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding-bottom: 200px; }
  .hero__chips { bottom: 20px; }
  .hero::before { background: linear-gradient(180deg, rgba(4, 17, 28, .35) 0%, rgba(4, 17, 28, .82) 34%, rgba(4, 17, 28, .94) 100%); }
  .eyebrow { letter-spacing: .16em; line-height: 1.5; align-items: flex-start; } .eyebrow::before { margin-top: .7em; flex: none; }
  .chip { padding-right: 14px; font-size: 13px; } .chip img { width: 38px; height: 38px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats .stat:nth-child(2) { border-right: 0; } .stats .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .features, .posts-grid, .chapters, .f-grid, .pn, .footer-main { grid-template-columns: 1fr; }
  .post-card--lead { flex-direction: column; min-height: 0; } .post-card--lead .post-card__img { aspect-ratio: 16 / 10; }
  .prose { font-size: 1.07rem; } .prose .post-grid { grid-template-columns: 1fr; } .prose .post-grid img { height: auto; aspect-ratio: 3 / 2; }
  .author-box { flex-direction: column; text-align: center; }
  .pn .next { text-align: left; }
  .head-row .t-nav { display: none; }
  .btn { padding: 14px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- book feature (home, single book) ---------- */
.book-feature { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 100px); align-items: center; padding: clamp(30px, 5vw, 70px); border-radius: calc(var(--r) + 8px); background: linear-gradient(150deg, var(--navy-800), var(--navy-900)); border: 1px solid var(--line-dark); position: relative; overflow: hidden; isolation: isolate; }
.book-feature::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; left: -10%; top: -20%; border-radius: 50%; background: radial-gradient(closest-side, rgba(233, 184, 89, .22), transparent); z-index: -1; }
.book-feature__cover { display: grid; place-items: center; }
.book-feature__cover .book3d { --w: clamp(210px, 24vw, 330px); }
.book-feature .book-card__series { margin-bottom: 14px; }
@media (max-width: 1100px) { .book-feature { grid-template-columns: 1fr; text-align: left; } }

/* ---------- extras ---------- */
.book3d--small { --w: clamp(170px, 20vw, 250px); }
.quote-mark { font: 700 7rem/.5 var(--serif); color: var(--gold); opacity: .5; display: block; height: 56px; margin-bottom: 8px; }
.signature { font: italic 500 1.35rem/1.3 var(--serif); color: var(--gold-600); margin-bottom: 18px; }
.page-hero .signature, .book-hero .signature { color: var(--gold); }
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.place { border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.place:hover { transform: translateY(-8px); box-shadow: 0 34px 70px -34px rgba(4, 17, 28, .5); }
.place__img { aspect-ratio: 4 / 3; overflow: hidden; }
.place__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.place:hover .place__img img { transform: scale(1.07); }
.place__body { padding: 24px 26px 28px; }
.place__body h3 { font-size: 1.45rem; margin-bottom: .4em; }
.place__body p { margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.65; }
.wide-banner { margin-top: clamp(36px, 5vw, 64px); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.wide-banner img { width: 100%; max-height: 420px; object-fit: cover; }
.form-card { margin-top: 28px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-grid .full { grid-column: 1 / -1; }
@media (max-width: 1100px) { .places { grid-template-columns: repeat(2, minmax(0, 1fr)); } .faq-grid[style] { grid-template-columns: 1fr !important; } }
@media (max-width: 760px) { .places, .f-grid { grid-template-columns: 1fr; } }
.page-hero.is-center .lead { margin-inline: auto; }
.muted-dark { color: var(--on-dark-2); }
