/* aowri.com — site styles (rev 2026-11-15b) */
:root {
  --bg: #0D1424; --bg-2: #111A2D; --surface: #151F35; --line: #26324D; --line-2: #3A4766;
  --ink: #EEF1F6; --ink-2: #D5DBE6; --ink-3: #C9D1DF; --muted: #A9B4C8;
  --amber: #E3A857; --amber-2: #F2C784; --amber-ink: #1A1206; --blue: #8FB8E8;
  --paper: #EEF1F6; --paper-ink: #1A2133;
  --font-display: 'Tiro Bangla', serif;
  --font-body: 'Hind Siliguri', system-ui, sans-serif;
  --radius: 10px;
}
html.lang-en { --font-display: 'Literata', Georgia, serif; --font-body: Inter, system-ui, sans-serif; }
html.lang-en .h-display { letter-spacing: -0.01em; }
html.lang-en .excerpt-body, html.lang-en .note p { font-size: 19px; line-height: 1.8; }
html.lang-en .chapter-text { line-height: 1.8; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.7; }
img, video, svg { max-width: 100%; }
a { color: var(--amber); }
a:hover { color: var(--amber-2); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--amber); color: var(--amber-ink); padding: 10px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { top: 12px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.h-display { font-family: var(--font-display); font-weight: 500; line-height: 1.15; margin: 0; }
.h-lg { font-size: clamp(32px, 4vw, 44px); }
.h-xl { font-size: clamp(34px, 4vw, 52px); }
.h-xxl { font-size: clamp(42px, 6vw, 76px); line-height: 1.08; }
.lead { font-size: 19px; line-height: 1.85; color: var(--ink-2); margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.eyebrow { color: var(--amber); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.tag { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.tag-amber { color: var(--amber); } .tag-blue { color: var(--blue); } .tag-ink { color: #8A5A17; font-weight: 600; }

/* buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 24px; border-radius: 6px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, border-color .2s, color .2s; }
.btn-accent { background: var(--amber); color: var(--amber-ink); }
.btn-accent:hover { background: var(--amber-2); color: var(--amber-ink); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); font-weight: 500; }
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-light { background: var(--ink); color: var(--bg); border: 0; }
.btn-light:hover { background: #fff; }
.btn-fb { background: #1877F2; color: #fff; }
.btn-fb:hover { background: #166FE5; color: #fff; }
.text-link { display: inline-block; padding: 10px 4px; font-weight: 600; text-decoration: none; }

/* header */
.site-header { position: relative; z-index: 10; border-bottom: 1px solid #222D45; background: rgba(13,20,36,.85); backdrop-filter: blur(8px); }
.page-home .site-header { position: absolute; left: 0; right: 0; top: 0; background: transparent; backdrop-filter: none; border-bottom-color: rgba(255,255,255,.08); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-logo { height: 40px; width: auto; display: block; }
.logo-dark { display: none; }
.brand-latin { font-family: 'Cormorant Garamond', serif; font-size: 18px; letter-spacing: .12em; color: var(--muted); }
.header-nav { display: flex; align-items: center; gap: 20px; }
.nav { display: flex; gap: 2px; }
.nav a { color: var(--ink-3); text-decoration: none; padding: 12px 12px; font-size: 15px; border-radius: 6px; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.langs { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.lang-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: inherit; font-size: 14px; text-decoration: none; cursor: pointer; }
.lang-pill:hover { color: var(--ink); border-color: var(--ink-3); }
.lang-pill.is-active { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); font-weight: 600; }
.menu-btn { display: none; min-width: 48px; min-height: 48px; border: 1px solid var(--line-2); border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 1180px) {
  .menu-btn { display: inline-flex; }
  .header-row { flex-wrap: wrap; }
  .header-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 8px 0 12px; }
  .header-nav.is-open { display: flex; }
  .page-home .site-header:has(.is-open) { background: rgba(13,20,36,.97); }
  .nav { flex-direction: column; }
  .nav a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
}

/* hero */
.hero { position: relative; overflow: hidden; min-height: 760px; display: flex; align-items: center; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,20,36,.92) 0%, rgba(13,20,36,.7) 45%, rgba(13,20,36,.25) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(13,20,36,0) 30%); }
.hero-inner { position: relative; width: 100%; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; padding-top: 184px; padding-bottom: 140px; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-title { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.hero-title img { width: clamp(240px, 32vw, 420px); height: auto; display: block; }
.hero-latin { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 20px; letter-spacing: .5em; color: var(--ink-3); }
.hero-sub { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.45; color: var(--ink-2); max-width: 34ch; }
.hero-by { margin: 0; color: var(--muted); }
.hero-by strong { color: var(--ink); font-weight: 600; }
.hero-cover { flex: 1 1 300px; display: flex; justify-content: center; }
@media (max-width: 760px) {
  .hero { min-height: 0; }
  .hero-inner { padding-top: 168px; padding-bottom: 72px; gap: 48px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(13,20,36,.55) 0%, rgba(13,20,36,.85) 60%, var(--bg) 100%); }
}

/* cover */
.cover { position: relative; margin: 0; width: 100%; max-width: 360px; aspect-ratio: 2 / 3; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px #2A3654; background: #0F1A30; }
.cover-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-top { position: absolute; left: 0; right: 0; top: 0; padding: 8% 7% 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cover-kicker { font-family: 'Hind Siliguri', sans-serif; font-size: 14px; color: var(--amber-2); }
.cover-logo { width: 62%; height: auto; }
.cover-author { position: absolute; left: 0; right: 0; bottom: 6%; text-align: center; font-family: 'Hind Siliguri', sans-serif; font-size: 17px; color: var(--ink); text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.cover-sm { max-width: none; box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 0 1px #2A3654; }
.cover-sm .cover-kicker { font-size: 11px; }
.cover-sm .cover-author { font-size: 14px; }

/* chant */
.chant { background: var(--bg-2); border-top: 1px solid #222D45; border-bottom: 1px solid #222D45; }
.chant-inner { padding-top: 72px; padding-bottom: 72px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.chant-text { margin: 0; font-family: 'Tiro Bangla', serif; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.7; }
.chant-meaning { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 19px; color: var(--muted); max-width: 56ch; }

/* story */
.story { padding-top: 104px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.story-head { display: flex; flex-wrap: wrap; gap: 48px; }
.story-head .h-display { flex: 1 1 280px; }
.story-head .lead { flex: 999 1 520px; }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.tcard img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.tcard-body { padding: 32px 36px 36px; display: flex; flex-direction: column; gap: 12px; }
.tcard-body h3 { font-size: 30px; }
.tcard-body p { margin: 0; color: var(--ink-3); }

/* excerpt */
.excerpt-wrap { padding-top: 80px; padding-bottom: 80px; }
.excerpt { background: var(--paper); color: var(--paper-ink); border-radius: 12px; padding: clamp(32px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 48px; }
.excerpt-head { flex: 1 1 240px; display: flex; flex-direction: column; gap: 12px; }
.excerpt-head h2 { font-size: 44px; line-height: 1.1; }
.excerpt-body { flex: 999 1 520px; min-width: 0; font-family: var(--font-display); font-size: 21px; line-height: 1.9; }
.excerpt-body p { margin: 0 0 20px; }
.excerpt .text-link { color: var(--paper-ink); font-family: var(--font-body); font-size: 16px; border-bottom: 2px solid #C98A2E; padding: 8px 0; }

/* details */
.details { padding-top: 40px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 32px; }
.details-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--line); }
.facts div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.facts dd { margin: 4px 0 0; font-size: 19px; }
.buy-card { flex: 1 1 340px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.buy-card h3 { font-size: 28px; }
.buy-card p { margin: 0; color: var(--ink-3); }
.editions { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.edition { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.badge { font-size: 13px; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.badge-preorder { background: #B3261E; color: #FFF4E0; }
.badge-upcoming, .badge-published { background: #3A2C14; color: var(--amber-2); }
.badge-translating, .badge-writing { border: 1px dashed var(--line-2); color: var(--muted); }
.badge-lang { background: #1E2A44; color: var(--ink-3); }

/* author */
.author { background: var(--bg-2); border-top: 1px solid #222D45; }
.author-inner { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.author-photo { flex: 0 0 180px; height: 180px; border-radius: 50%; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; background: var(--surface); }
.author-photo img { width: 60%; opacity: .8; }
.author-copy { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.author-copy p { margin: 0; font-size: 18px; color: var(--ink-3); max-width: 62ch; }

/* newsletter */
.newsletter { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.newsletter-copy { flex: 1 1 420px; }
.newsletter-copy h2 { font-size: 38px; }
.newsletter-copy p { margin: 10px 0 0; color: var(--ink-3); }
.sub-form { flex: 1 1 420px; display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.field { flex: 1 1 240px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.field input { background: var(--bg); border: 1px solid var(--line-2); color: var(--ink); border-radius: 6px; padding: 13px 16px; font: inherit; font-size: 16px; min-height: 48px; }
.field input:focus { border-color: var(--amber); outline: none; }
.form-status { flex: 1 1 100%; margin: 4px 0 0; min-height: 1.5em; color: var(--amber); font-size: 15px; }
.form-status.is-error { color: #F4A3A3; }
.hp { position: absolute; left: -9999px; }

/* footer */
.site-footer { border-top: 1px solid #222D45; color: var(--muted); font-size: 14px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.fb-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); text-decoration: none; min-height: 44px; }

/* books */
.page-head { padding-top: 88px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 16px; }
.page-head .lead { max-width: 60ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-bottom: 24px; }
.shelf-wrap { padding-bottom: 40px; }
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px; }
.book-card { display: flex; flex-direction: column; gap: 16px; }
.book-card[hidden] { display: none; }
.book-cover-link { display: block; }
.book-meta { display: flex; flex-direction: column; gap: 8px; }
.book-meta h2 { font-size: 30px; }
.book-meta p { margin: 0; font-size: 15px; color: var(--ink-3); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cover-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); border: 1px dashed var(--line-2); box-shadow: none; background: var(--bg-2); }

/* reader */
.page-reader { --r-bg: #F6F2EA; --r-ink: #1F2433; --r-muted: #5C6375; --r-line: #D9D2C3; --r-card: #ECE5D7; --r-chant: #7A4E12; }
.page-reader.theme-night { --r-bg: #0D1424; --r-ink: #E6EAF1; --r-muted: #A9B4C8; --r-line: #2A3654; --r-card: #151F35; --r-chant: #F2C784; }
.page-reader { background: var(--r-bg); color: var(--r-ink); }
.page-reader .site-header { background: var(--r-bg); border-bottom-color: var(--r-line); backdrop-filter: none; }
.page-reader:not(.theme-night) .logo-light { display: none; }
.page-reader:not(.theme-night) .logo-dark { display: block; }
.page-reader .nav a, .page-reader .lang-pill:not(.is-active), .page-reader .menu-btn { color: var(--r-ink); }
.page-reader .lang-pill:not(.is-active), .page-reader .menu-btn { border-color: var(--r-line); }
.page-reader .brand-latin, .page-reader .langs, .page-reader .muted, .page-reader .label { color: var(--r-muted); }
.page-reader .site-footer { border-top-color: var(--r-line); color: var(--r-muted); }
.page-reader .fb-link { color: var(--r-ink); }
.reader-bar { border-bottom: 1px solid var(--r-line); position: sticky; top: 0; z-index: 5; background: var(--r-bg); }
.reader-bar-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.reader-tools { display: flex; gap: 8px; }
.tool-btn { min-width: 44px; min-height: 44px; border-radius: 8px; border: 1px solid var(--r-line); background: var(--r-card); color: var(--r-ink); font: inherit; font-size: 15px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.reader { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-top: 56px; padding-bottom: 120px; }
.toc { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; }
.toc ol { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.toc-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 6px; font-size: 15px; color: var(--r-muted); text-decoration: none; }
.toc-item.is-current { background: var(--r-card); color: var(--r-ink); font-weight: 600; }
.toc-more { padding: 8px 12px; }
.chapter { flex: 999 1 560px; min-width: 0; max-width: 720px; }
.chapter .tag-ink { color: #C98A2E; }
.chapter h1 { margin: 10px 0 40px; font-size: clamp(40px, 5vw, 60px); }
.chapter-text { font-family: var(--font-display); font-size: var(--r-size, 21px); line-height: 1.95; }
.chapter-text p { margin: 0 0 1.1em; }
.r-chant { margin: .6em 0; text-align: center; font-family: 'Tiro Bangla', serif; color: var(--r-chant); }
html.lang-en .r-chant { font-family: 'Literata', serif; font-style: italic; }
.r-note { text-align: center; font-style: italic; font-size: .85em; color: var(--r-muted); }
.partial-note { margin: 32px 0 0; padding: 16px 20px; border: 1px dashed var(--r-line); border-radius: 8px; font-size: 15px; color: var(--r-muted); }
.chapter-end { margin-top: 56px; padding: 32px; border-radius: var(--radius); background: var(--r-card); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.chapter-end > div { flex: 1 1 280px; display: flex; flex-direction: column; gap: 6px; }
.chapter-end strong { font-size: 26px; }

/* 404 */
.notfound { padding-top: 140px; padding-bottom: 140px; display: flex; flex-direction: column; gap: 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
  .hero { background: url(../img/hero.webp) 70% center / cover no-repeat; }
}

/* Bengali script breaks apart with letter-spacing */
html.lang-bn .eyebrow, html.lang-bn .tag, html.lang-bn .label, html.lang-bn .facts dt, .cover-kicker { letter-spacing: 0; text-transform: none; }
html.lang-bn .eyebrow { font-size: 15px; }

/* writing journey */
.journey { background: var(--bg-2); border-top: 1px solid #222D45; border-bottom: 1px solid #222D45; }
.journey-inner { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; align-items: flex-start; }
.journey-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.journey-list { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.journey-list li { position: relative; padding: 26px 20px 0 0; }
.journey-list li::before { content: ''; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--bg-2); }
.journey-list li:last-child::before { background: var(--ink); }
.j-when { display: block; font-family: var(--font-display); font-size: 24px; color: var(--amber-2); margin-bottom: 6px; }
.journey-list p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-3); }
.journey-quote { margin: 8px 0 0; max-width: 820px; }
.journey-quote blockquote { margin: 0; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.5; color: var(--ink); }
.journey-quote figcaption { margin-top: 12px; color: var(--muted); }
@media (max-width: 760px) {
  .journey-list { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-2); margin-left: 6px; }
  .journey-list li { padding: 0 0 26px 24px; }
  .journey-list li::before { top: 8px; left: -6px; }
}

/* author notes page */
.notes { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; padding-bottom: 40px; }
.notes-body { flex: 999 1 560px; min-width: 0; max-width: 740px; display: flex; flex-direction: column; gap: 48px; }
.note { display: flex; flex-direction: column; gap: 18px; }
.note p { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 1.95; color: var(--ink-2); }
.signoff { font-size: 26px; margin: 0; color: var(--amber-2); }
.notes-aside { flex: 1 1 240px; max-width: 300px; position: sticky; top: 24px; }
@media (max-width: 900px) { .notes-aside { position: static; max-width: 260px; } }

/* places */
.places-grid-wrap { padding-bottom: 40px; }
.places-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.place-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); color: var(--ink); text-decoration: none; aspect-ratio: 3 / 2; background: var(--surface); }
.place-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.place-card:hover img { transform: scale(1.04); }
.place-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px; display: flex; flex-direction: column; gap: 4px; background: linear-gradient(0deg, rgba(13,20,36,.92), rgba(13,20,36,0)); }
.place-card-body strong { font-size: 28px; font-weight: 500; }
.place-card:hover { color: var(--ink); }
.crumbs { padding-top: 28px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.place-head { padding-top: 32px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 14px; max-width: 960px; margin-left: auto; margin-right: auto; }
.place-head .lead { max-width: 62ch; }
.place-figure { margin: 0 auto; }
.place-figure img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.place-figure figcaption { padding-top: 8px; }
.place-body { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 56px; padding-bottom: 56px; align-items: flex-start; }
.place-main { flex: 999 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 48px; }
.place-main section { display: flex; flex-direction: column; gap: 16px; }
.place-main p { margin: 0; font-size: 18px; line-height: 1.9; color: var(--ink-2); }
.in-novel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.place-quote { margin: 8px 0; }
.place-quote blockquote { margin: 0; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.6; color: var(--amber-2); }
.place-quote figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.place-aside { flex: 1 1 260px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 24px; }
.facts-col { grid-template-columns: 1fr; }
.facts-col dd { font-size: 17px; }
.sources { margin: 0; padding-left: 18px; font-size: 14px; display: flex; flex-direction: column; gap: 8px; }
.related { padding-bottom: 40px; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 900px) { .place-aside { position: static; } }

/* internal links */
.in-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(227,168,87,.6); text-underline-offset: 3px; }
.in-link:hover { color: var(--amber-2); }
.explore { padding-top: 64px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 28px; }
.explore-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.place-card-feature { border-color: var(--amber); }
.footer-explore { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding-top: 28px; padding-bottom: 8px; font-size: 15px; }
.footer-explore a { color: var(--ink-3); text-decoration: none; padding: 8px 0; }
.footer-explore a:hover { color: var(--amber-2); }
.footer-explore .label { margin-right: 4px; }
.see-also { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.see-also a { display: inline-block; padding: 6px 0; text-decoration: none; font-weight: 500; }
.chapter-places { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.page-reader .footer-explore a { color: var(--r-ink); }
.page-reader .in-link { color: inherit; }

/* videos */
.videos-wrap { padding-bottom: 40px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.video-card { display: flex; flex-direction: column; gap: 14px; }
.video-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; color: #fff; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.video-frame:hover img { opacity: 1; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(13,20,36,.8); border: 2px solid var(--amber); display: flex; align-items: center; justify-content: center; color: var(--amber); }
.video-source { position: absolute; left: 12px; bottom: 10px; font-size: 12px; padding: 3px 8px; border-radius: 999px; background: rgba(13,20,36,.8); color: var(--ink-3); }
.video-meta h2 { font-size: 24px; }
.video-meta p { margin: 6px 0 0; color: var(--ink-3); font-size: 15px; }
.video-grid:has(.is-vertical) { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.video-card.is-vertical .video-frame { aspect-ratio: 9 / 16; }
.video-card.is-vertical .video-meta h2 { font-size: 20px; }

/* English edition cover (placeholder design) */
.cover-top-en { gap: 4px; padding-top: 9%; }
.cover-kicker-en { font-family: 'Literata', serif; font-size: 12px; letter-spacing: .4em; text-transform: uppercase; color: var(--amber-2); }
.cover-title-en { font-family: 'Literata', serif; font-weight: 600; font-size: clamp(44px, 5.2vw, 64px); letter-spacing: .14em; text-transform: uppercase; color: #EEF1F6; line-height: 1.1; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.cover-sub-en { font-family: 'Literata', serif; font-style: italic; font-size: 14px; color: var(--ink-3); text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.cover-author-en { font-family: 'Literata', serif; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; }
.cover-sm .cover-title-en { font-size: clamp(30px, 3.4vw, 40px); }
.cover-sm .cover-kicker-en, .cover-sm .cover-sub-en { font-size: 11px; }
.cover-sm .cover-author-en { font-size: 12px; }

/* game banner on home */
.game-banner-wrap { padding-top: 40px; display: grid; gap: 20px; }
.quiz-banner img { object-position: 50% 30%; }
.game-banner { position: relative; display: block; min-height: 280px; border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); border: 1px solid var(--line-2); }
.game-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.game-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,20,36,.94) 0%, rgba(13,20,36,.75) 45%, rgba(13,20,36,.15) 100%); }
.game-banner-body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 36px 32px; max-width: 520px; }
.game-banner-body strong { font-size: clamp(26px, 4vw, 36px); line-height: 1.2; }
.game-banner-body > span:not(.eyebrow):not(.btn) { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.game-banner:hover .btn { background: var(--amber-2); }
@media (max-width: 640px) { .game-banner-body { padding: 26px 20px; } .game-banner::after { background: linear-gradient(180deg, rgba(13,20,36,.55) 0%, rgba(13,20,36,.94) 70%); } .game-banner { min-height: 360px; display: flex; align-items: flex-end; } }

/* game highlight bar, top of every page */
.game-bar { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 8px 16px; background: linear-gradient(90deg, #C9741C, var(--amber) 30%, var(--amber-2) 50%, var(--amber) 70%, #C9741C); background-size: 200% 100%; animation: gamebar 6s linear infinite;
  color: var(--amber-ink); text-decoration: none; font-size: 16px; line-height: 1.3; text-align: center; font-weight: 500; position: relative; z-index: 11; }
.game-bar strong { font-weight: 700; }
.game-bar:hover, .game-bar:focus-visible { color: var(--amber-ink); filter: brightness(1.06); }
.game-bar-arrow { display: inline-block; transition: transform .2s; font-weight: 700; }
.game-bar:hover .game-bar-arrow { transform: translateX(4px); }
@keyframes gamebar { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .game-bar { animation: none; } }
.page-reader .game-bar { background: var(--amber); animation: none; }

/* pre-order with discount */
.btn-pre { gap: 10px; }
.pre-badge { display: inline-block; background: #B3261E; color: #FFF4E0; font-size: .78em; font-weight: 700; padding: 3px 10px 2px; border-radius: 999px; line-height: 1.4; white-space: nowrap; }
.buy-card .pre-price { font-size: 28px; font-weight: 700; color: var(--ink); font-family: var(--font-display, inherit); }
.buy-card .pre-price s { color: var(--ink-3); font-weight: 400; font-size: .75em; margin-right: 8px; }
.buy-card .btn-pre { justify-content: center; white-space: nowrap; flex-wrap: wrap; row-gap: 6px; }

/* pre-order landing page */
.pre-hero { padding: 48px 0 72px; background: radial-gradient(ellipse 70% 60% at 20% 0%, rgba(227,168,87,.10), transparent 70%); }
.pre-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); grid-template-rows: auto 1fr; column-gap: 56px; row-gap: 24px; align-items: start; }
.pre-info { grid-column: 1; grid-row: 1; }
.pre-card { grid-column: 2; grid-row: 1 / span 2; }
.pre-more { grid-column: 1; grid-row: 2; padding-left: 252px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.pre-more .pre-facts { width: 100%; }
.pre-info { display: grid; grid-template-columns: 220px minmax(0, 1fr); column-gap: 32px; row-gap: 14px; align-content: start; }
.pre-info > * { grid-column: 2; }
.pre-info .pre-cover { grid-column: 1; grid-row: 1 / span 6; }
.pre-title { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.pre-title img { width: 230px; height: auto; }
.pre-title .h-display { font-size: 30px; color: var(--amber-2); font-weight: 400; }
.pre-sub { margin: 0; font-size: 20px; color: var(--ink-2); }
.pre-info .hero-by { margin: 0; }
.pre-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 12px; margin-top: 6px; }
.pre-price s { color: var(--muted); font-size: 22px; }
.pre-price strong { font-size: 44px; line-height: 1; color: var(--ink); font-family: var(--font-display); }
.pre-price small { width: 100%; color: var(--muted); font-size: 14px; margin-top: -4px; }
.pre-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pre-facts dt { font-size: 13px; color: var(--muted); }
.pre-facts dd { margin: 2px 0 0; color: var(--ink); }
.pre-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px; padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.pre-form { display: flex; flex-direction: column; gap: 16px; }
.pre-form h2 { margin: 0; font-size: 28px; }
.pre-form > .muted { margin: -8px 0 0; color: var(--muted); }
.pf { display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: var(--ink-3); border: 0; padding: 0; margin: 0; min-width: 0; }
.pf legend { padding: 0; margin-bottom: 7px; }
.pf input, .pf textarea { background: var(--bg); border: 1px solid var(--line-2); color: var(--ink); border-radius: 8px; padding: 12px 14px; font: inherit; font-size: 16px; min-height: 48px; width: 100%; box-sizing: border-box; }
.pf textarea { resize: vertical; min-height: 84px; }
.pf input:focus, .pf textarea:focus { border-color: var(--amber); outline: none; box-shadow: 0 0 0 3px rgba(227,168,87,.18); }
.pre-zone { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pre-zone label { position: relative; cursor: pointer; }
.pre-zone input { position: absolute; opacity: 0; pointer-events: none; }
.pre-zone span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--ink-2); background: var(--bg); font-size: 15px; }
.pre-zone input:checked + span { border-color: var(--amber); background: rgba(227,168,87,.12); color: var(--amber-2); font-weight: 700; box-shadow: inset 0 0 0 1px var(--amber); }
.pre-zone input:focus-visible + span { outline: 2px solid var(--amber-2); outline-offset: 2px; }
.pre-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 14px; align-items: end; }
.qty { display: grid; grid-template-columns: 44px 1fr 44px; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; background: var(--bg); min-height: 48px; }
.qty button { background: transparent; border: 0; color: var(--ink); font-size: 22px; cursor: pointer; }
.qty button:disabled { color: var(--line-2); cursor: default; }
.qty input { border: 0 !important; border-radius: 0 !important; text-align: center; padding: 0 !important; min-height: 46px; box-shadow: none !important; font-weight: 700; }
.pre-sum { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-3); }
.pre-sum > div { display: flex; justify-content: space-between; gap: 12px; }
.pre-sum b { font-weight: 400; }
.pre-total { border-top: 1px dashed var(--line-2); padding-top: 10px; margin-top: 2px; color: var(--amber-2); font-weight: 700; font-size: 17px; }
.pre-note { margin: 0; font-size: 14px; color: var(--amber-2); background: rgba(227,168,87,.08); border: 1px solid rgba(227,168,87,.35); border-radius: 8px; padding: 10px 12px; }
.pre-submit { min-height: 56px; font-size: 18px; justify-content: center; }
.pre-secure { margin: -6px 0 0; text-align: center; }
.pre-form .form-status:empty { display: none; }
.pre-form .form-status { margin: 0; font-size: 15px; }
.pre-form .form-status.is-error { color: #FFB4A8; }
.pre-form .form-status a { color: var(--amber-2); font-weight: 700; }
.pre-paid { border: 1px solid #3E7B4F; background: rgba(62,123,79,.15); border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; }
.pre-paid h2 { margin: 0 0 4px; font-size: 22px; color: #9BE3A6; }
.pre-paid p { margin: 0; color: var(--ink-2); }
@media (max-width: 960px) {
  .pre-grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 28px; }
  .pre-info, .pre-card, .pre-more { grid-column: 1; grid-row: auto; }
  .pre-card { max-width: 560px; width: 100%; box-sizing: border-box; }
  .pre-more { padding-left: 0; max-width: 560px; }
}
@media (max-width: 640px) {
  .pre-hero { padding: 24px 0 48px; }
  .pre-info { grid-template-columns: 112px minmax(0, 1fr); column-gap: 18px; row-gap: 10px; }
  .pre-info .pre-cover { grid-row: 1 / span 4; }
  .pre-title img { width: 150px; }
  .pre-title .h-display { font-size: 21px; }
  .pre-sub { font-size: 16px; }
  .pre-price { grid-column: 1 / -1; }
  .pre-price strong { font-size: 38px; }
  .pre-card { padding: 20px 16px; border-radius: 14px; }
  .pre-row { grid-template-columns: 120px minmax(0, 1fr); }
}
