
:root {
  --ink: #13262c;
  --muted: #53636a;
  --paper: #f7efe3;
  --paper-2: #fffaf1;
  --sidebar: #102b34;
  --sidebar-deep: #071a21;
  --accent: #c87336;
  --accent-dark: #88491f;
  --line: rgba(20,36,42,.17);
  --shadow: 0 14px 28px rgba(17,43,52,.10);
  --radius: 18px;
  --sidebar-width: 276px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at top right, rgba(200,115,54,.10), transparent 34rem), var(--paper); font-family: Georgia, "Times New Roman", serif; line-height: 1.5; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.skip-link { position: absolute; left: -999rem; top: 0; z-index: 100; background: #f0c98e; color: #111; padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.mobile-bar { display: none; position: sticky; top: 0; z-index: 35; align-items: center; justify-content: space-between; padding: .75rem 1rem; background: var(--sidebar); color: var(--paper-2); border-bottom: 1px solid rgba(255,255,255,.14); }
.menu-toggle { border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: .55rem .85rem; background: transparent; color: var(--paper-2); font: 800 .78rem/1 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.site-sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width); overflow-y: auto; z-index: 30; padding: 1.1rem; background: linear-gradient(180deg, var(--sidebar), var(--sidebar-deep)); color: var(--paper-2); border-right: 1px solid rgba(255,255,255,.12); }
.brand-lockup { display: grid; gap: .65rem; text-decoration: none; padding: .2rem .2rem 1rem; }
.logo { width: 76px; height: 76px; object-fit: contain; }
.wordmark { width: 178px; height: auto; opacity: .95; }
.sidebar-kicker { color: rgba(255,250,241,.64); font: 800 .68rem/1.35 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .14em; }
.sidebar-nav { display: grid; gap: .35rem; margin-top: .65rem; }
.nav-link, .sidebar-cta a { display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding: .7rem .72rem; border-radius: 12px; text-decoration: none; font: 800 .86rem/1.15 system-ui, sans-serif; color: rgba(255,250,241,.88); border: 1px solid transparent; }
.nav-link:hover, .nav-link:focus, .nav-link.active, .sidebar-cta a:hover, .sidebar-cta a:focus { background: rgba(255,255,255,.08); border-color: rgba(240,201,142,.35); color: #fff; }
.nav-link.active::after { content: "•"; color: #f0c98e; font-size: 1.35rem; line-height: 0; }
.sidebar-section-title { margin: 1.25rem .72rem .55rem; color: rgba(255,250,241,.52); font: 900 .68rem/1 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .13em; }
.sidebar-cta { padding: .8rem; border-radius: 16px; border: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.16); }
.sidebar-note { margin: .65rem .25rem 0; color: rgba(255,250,241,.68); font: .82rem/1.45 system-ui, sans-serif; }
.site-main { margin-left: var(--sidebar-width); min-height: 100vh; }
.page-wrap { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 1.55rem 0 3rem; }
.kicker, .eyebrow { display: inline-flex; width: fit-content; align-items: center; gap: .45rem; border: 1px solid rgba(200,115,54,.28); border-radius: 999px; background: rgba(200,115,54,.10); color: var(--accent-dark); font: 900 .68rem/1.1 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .1em; padding: .3rem .55rem; }
.eyebrow { margin: 0 0 .35rem; }
h1,h2,h3 { margin: 0; line-height: 1.05; }
h1 { font-size: clamp(2.1rem, 4.5vw, 4.1rem); letter-spacing: -.045em; max-width: 13ch; }
h2 { font-size: clamp(1.45rem, 2.3vw, 2.45rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.55rem); letter-spacing: -.015em; }
p { margin: .68rem 0 0; color: var(--muted); font-size: 1rem; }
strong { color: var(--ink); }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.18rem); color: #304147; max-width: 58ch; }
.subtitle { color: #6b5d50; font-style: italic; }
.top-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.intro-tile, .launch-tile, .route-tile, .page-hero, .book-tile, .author-tile, .detail-copy-card, .detail-cover-card, .notice-card { background: rgba(255,250,241,.94); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-tile, .route-tile, .page-hero, .author-tile, .detail-copy-card, .notice-card { padding: clamp(1.15rem, 2.5vw, 2.1rem); }
.intro-tile { display: grid; align-content: center; min-height: 300px; }
.launch-tile { display: grid; grid-template-columns: 164px minmax(0,1fr); gap: 1.1rem; align-items: center; padding: 1.15rem; min-height: 300px; }
.launch-tile.single { grid-template-columns: 178px minmax(0,1fr); }
.route-tile { display: grid; align-content: space-between; min-height: 220px; text-decoration: none; }
.route-tile:hover, .route-tile:focus { transform: translateY(-2px); border-color: rgba(200,115,54,.38); }
.text-link { margin-top: 1rem; color: var(--accent-dark); font: 900 .78rem/1.1 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.button-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.15rem; }
.button-row.compact { margin-top: .9rem; }
.btn { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: .5rem; padding: .68rem .9rem; border-radius: 999px; text-decoration: none; border: 1px solid var(--line); background: #fff4df; color: var(--ink); font: 900 .76rem/1.1 system-ui, sans-serif; letter-spacing: .045em; text-transform: uppercase; }
.btn.primary { background: var(--sidebar); color: var(--paper-2); border-color: var(--sidebar); }
.btn.accent { background: var(--accent); color: #fffaf1; border-color: var(--accent); }
.btn.ghost { background: transparent; }
.btn:hover,.btn:focus { transform: translateY(-1px); box-shadow: 0 8px 16px rgba(17,43,52,.14); }
.section { margin-top: 1.7rem; }
.section-head { margin: 0 0 .9rem; display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.section-head p { max-width: 50ch; }
.book-grid-2x2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; align-items: stretch; }
.book-tile { display: grid; grid-template-columns: 138px minmax(0,1fr); gap: 1rem; padding: 1rem; min-width: 0; }
.tile-copy { min-width: 0; }
.cover-box { width: 100%; max-width: 138px; aspect-ratio: 2 / 3; display: block; align-self: start; background: #fffdf6; border: 1px solid rgba(20,36,42,.16); border-radius: 12px; padding: .42rem; box-shadow: 0 12px 22px rgba(17,43,52,.13); text-decoration: none; }
.cover-box--launch { max-width: 164px; }
.cover-box--detail { max-width: 280px; justify-self: center; }
.cover-img { width: 100%; height: 100%; object-fit: contain; border-radius: 7px; border: 1px solid rgba(20,36,42,.1); background: #fffaf1; }
.badges { display: flex; flex-wrap: wrap; gap: .42rem; margin-top: .75rem; }
.badges span { border: 1px solid rgba(20,36,42,.16); border-radius: 999px; padding: .32rem .5rem; background: #fff8ea; font: 800 .72rem/1.1 system-ui, sans-serif; color: #15262c; }
.badges.big span { font-size: .78rem; padding: .4rem .58rem; }
.compact-hero { min-height: 0; }
.detail-layout { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.detail-cover-card { padding: 1.2rem; display: grid; place-items: center; }
.notice-card { border-left: 6px solid var(--accent); }
.contact-card { max-width: 760px; }
.author-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.footer { margin-left: var(--sidebar-width); padding: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); font: .9rem/1.45 system-ui, sans-serif; }
.footer-inner { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; }
.footer a { color: var(--ink); font-weight: 800; }
@media (max-width: 1120px) {
  .top-grid, .book-grid-2x2, .author-grid, .detail-layout { grid-template-columns: 1fr; }
  .launch-tile { grid-template-columns: 150px minmax(0,1fr); }
}
@media (max-width: 860px) {
  .mobile-bar { display: flex; }
  .site-sidebar { transform: translateX(-100%); transition: transform .18s ease; }
  .site-sidebar.open { transform: translateX(0); }
  .site-main,.footer { margin-left: 0; }
  .page-wrap { padding-top: 1rem; }
}
@media (max-width: 620px) {
  .page-wrap { width: min(100% - 1rem, 1180px); }
  h1 { font-size: clamp(2rem, 13vw, 3.1rem); }
  .launch-tile, .launch-tile.single, .book-tile { grid-template-columns: 1fr; }
  .cover-box, .cover-box--launch, .cover-box--detail { max-width: 180px; justify-self: center; }
  .btn { width: 100%; }
}
