:root {
  --bg: #0b0a08;
  --panel: rgba(16, 14, 11, .92);
  --gold: #d7b760;
  --gold-soft: #e7d29a;
  --ink: #f5eedc;
  --muted: #c8baa0;
  --line: rgba(215, 183, 96, .38);
  --shadow: 0 20px 60px rgba(0,0,0,.45);
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--ink); background: radial-gradient(circle at top, #1a1712 0, #0b0a08 50%); font-family: Georgia, 'Times New Roman', serif; }
a { color: inherit; }
button, input { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 9999; padding: .7rem 1rem; background: #fff; color: #000; border-radius: .25rem; }
.skip-link:focus { top: 1rem; }

/* Publisher mansion */
.mansion-shell { min-height: 100vh; display: grid; place-items: start center; background: #050504; }
.mansion-map { position: relative; width: min(100vw, 1536px); aspect-ratio: 3 / 2; overflow: hidden; box-shadow: var(--shadow); }
.mansion-map > img { width: 100%; height: 100%; object-fit: contain; display: block; }
.hotspot { position: absolute; display: block; border-radius: .5rem; outline: none; }
.hotspot::after { content: ""; position: absolute; inset: 0; border: 2px solid transparent; border-radius: inherit; transition: .16s ease; }
.hotspot:hover::after, .hotspot:focus-visible::after { border-color: rgba(232, 207, 132, .9); box-shadow: 0 0 24px rgba(232, 207, 132, .55), inset 0 0 30px rgba(232, 207, 132, .12); background: rgba(255,255,255,.035); }
.hotspot.ruth { left: 40.5%; top: 14.5%; width: 14.2%; height: 20.8%; }
.hotspot.rk { left: 69.2%; top: 10%; width: 16.7%; height: 27%; }
.hotspot.blythe { left: 67.1%; top: 41%; width: 22.8%; height: 31.3%; }
.hotspot.ryn { left: 4.7%; top: 12.2%; width: 30.3%; height: 42%; }
.hotspot.explore { left: 18.2%; top: 91.8%; width: 19%; height: 4.5%; }
.hotspot.nav-home { left: 53.5%; top: 4.2%; width: 5.4%; height: 3.5%; }
.hotspot.nav-about { left: 59.6%; top: 4.2%; width: 5.8%; height: 3.5%; }
.hotspot.nav-authors { left: 66.9%; top: 4.2%; width: 8.1%; height: 3.5%; }
.hotspot.nav-books { left: 78.6%; top: 4.2%; width: 5.3%; height: 3.5%; }
.hotspot.nav-news { left: 85.4%; top: 4.2%; width: 5.2%; height: 3.5%; }
.hotspot.nav-contact { left: 91.5%; top: 4.2%; width: 7%; height: 3.5%; }
.mobile-rooms { display: none; width: 100%; padding: 1rem; background: #0a0907; }
.mobile-rooms h1 { margin: 0 0 .3rem; color: var(--gold-soft); font-weight: 500; }
.mobile-rooms > p { margin-top: 0; color: var(--muted); }
.room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.room-card { text-decoration: none; padding: 1rem; border: 1px solid var(--line); border-radius: .5rem; background: #15120e; }
.room-card strong { display:block; font-size: 1.08rem; }
.room-card span { display:block; color: var(--muted); margin-top:.2rem; font-size:.9rem; }

/* Shared content pages */
.site-header { position: sticky; top: 0; z-index: 20; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.8rem clamp(1rem, 4vw, 4rem); background: rgba(8,7,5,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { text-decoration:none; color: var(--gold-soft); letter-spacing:.06em; }
.site-nav { display:flex; flex-wrap:wrap; gap:.8rem 1.25rem; }
.site-nav a { text-decoration:none; color:var(--muted); }
.site-nav a:hover, .site-nav a:focus-visible { color:var(--ink); }
.content { width:min(1100px, calc(100% - 2rem)); margin:0 auto; padding: clamp(2.5rem, 7vw, 6rem) 0; }
.hero-copy { max-width: 760px; }
.eyebrow { color:var(--gold); letter-spacing:.16em; text-transform:uppercase; font-size:.78rem; }
h1 { font-size: clamp(2.3rem, 7vw, 5.2rem); line-height: .98; margin:.25rem 0 1rem; font-weight:500; }
h2 { color:var(--gold-soft); font-size:clamp(1.6rem,4vw,2.5rem); font-weight:500; }
p { line-height:1.7; }
.lede { font-size:clamp(1.05rem,2.2vw,1.3rem); color:#ded1b9; }
.button-row { display:flex; flex-wrap:wrap; gap:.8rem; margin-top:1.5rem; }
.btn { display:inline-block; text-decoration:none; padding:.75rem 1.05rem; border:1px solid var(--gold); border-radius:.3rem; color:#170f05; background:var(--gold); }
.btn.secondary { color:var(--gold-soft); background:transparent; }
.btn[aria-disabled="true"] { opacity:.5; pointer-events:none; }
.card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin-top:2rem; }
.card { padding:1.25rem; border:1px solid var(--line); background:rgba(24,20,15,.72); border-radius:.45rem; }
.card h3 { margin-top:0; color:var(--gold-soft); }
.muted { color:var(--muted); }
.author-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; margin-top:2rem; }
.author-tile { text-decoration:none; border:1px solid var(--line); background:#13100d; padding:1rem; border-radius:.45rem; min-height:230px; display:flex; flex-direction:column; justify-content:flex-end; }
.author-tile img { width:100%; height:150px; object-fit:contain; background:#f5f3ef; border-radius:.3rem; margin-bottom:.9rem; }
.author-tile strong { font-size:1.12rem; }
.author-tile span { color:var(--muted); margin-top:.25rem; font-size:.9rem; }

/* Author microsites */
.author-site { --accent:#9eb4c5; min-height:100vh; background: radial-gradient(circle at 80% 0, color-mix(in srgb, var(--accent) 13%, transparent), transparent 34%), #0a0b0d; }
.author-site .site-header { border-bottom-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.author-site .brand, .author-site h2 { color: var(--accent); }
.author-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px, .55fr); gap:clamp(2rem,7vw,6rem); align-items:center; }
.author-logo-wrap { background:#f2f2f0; border-radius:50%; aspect-ratio:1; display:grid; place-items:center; padding:7%; box-shadow:var(--shadow); overflow:hidden; }
.author-logo-wrap.logo-rect { border-radius:.8rem; aspect-ratio:auto; min-height:280px; }
.author-logo-wrap img { max-width:100%; max-height:100%; object-fit:contain; }
.author-site .eyebrow { color:var(--accent); }
.book-feature { margin-top:3rem; padding:clamp(1.5rem,4vw,2.5rem); border:1px solid color-mix(in srgb, var(--accent) 45%, transparent); background:rgba(16,18,23,.8); border-radius:.6rem; }
.book-feature blockquote { margin:1rem 0; padding-left:1rem; border-left:3px solid var(--accent); font-size:1.2rem; color:#eee; }
.newsletter { margin-top:2rem; padding:1.4rem; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.1); border-radius:.5rem; }

.noscript-card { margin:4rem auto; width:min(700px,calc(100% - 2rem)); padding:2rem; background:#fff; color:#111; }
footer { padding:2rem; text-align:center; color:var(--muted); border-top:1px solid var(--line); }

@media (max-width: 820px) {
  .mansion-map { aspect-ratio:auto; }
  .mansion-map > img { width:100%; height:auto; }
  .mansion-map .hotspot { display:none; }
  .mobile-rooms { display:block; }
  .author-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .author-hero { grid-template-columns:1fr; }
  .author-logo-wrap { width:min(360px,80vw); justify-self:center; }
  .site-header { align-items:flex-start; flex-direction:column; }
}
@media (max-width: 520px) {
  .room-grid, .card-grid, .author-list { grid-template-columns:1fr; }
  .site-nav { gap:.55rem .9rem; font-size:.92rem; }
}
