:root {
  color-scheme: light dark;
  --bg: #f6f7f3;
  --surface: #ffffff;
  --surface-muted: #e9eee7;
  --text: #17211b;
  --muted: #5d6861;
  --border: #d5dbd4;
  --accent: #13a0fa;
  --accent-strong: #0787d6;
  --accent-contrast: #061522;
  --header-bg: linear-gradient(to bottom, rgb(246 247 243 / 82%), rgb(246 247 243 / 58%));
  --header-bg-scrolled: #f6f7f3;
  --header-border: transparent;
  --header-border-scrolled: rgb(213 219 212 / 78%);
  --newsletter-bg: #17211b;
  --newsletter-text: #f6f7f3;
  --shadow: 0 18px 45px rgb(20 36 27 / 10%);
  --radius: 1.25rem;
  --container: 72rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101612;
    --surface: #18201b;
    --surface-muted: #131c17;
    --text: #edf4ef;
    --muted: #a8b5ac;
    --border: #2d3931;
    --accent: #f88a48;
    --accent-strong: #ff9f66;
    --accent-contrast: #261207;
    --header-bg: rgb(16 22 18 / 88%);
    --header-bg-scrolled: #101612;
    --header-border: var(--border);
    --header-border-scrolled: var(--border);
    --newsletter-bg: #1d2821;
    --newsletter-text: #edf4ef;
    --shadow: 0 18px 50px rgb(0 0 0 / 28%);
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 20rem;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 0.5rem;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 8px 28px transparent;
  backdrop-filter: blur(16px) saturate(135%);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: var(--header-bg-scrolled);
  border-bottom-color: var(--header-border-scrolled);
  box-shadow: 0 8px 28px rgb(20 36 27 / 8%);
}

@media (prefers-color-scheme: dark) {
  .site-header.is-scrolled { box-shadow: 0 8px 30px rgb(0 0 0 / 22%); }
}

.header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 2rem;
  aspect-ratio: 1;
  place-items: center;
  background: var(--accent);
  color: var(--accent-contrast);
  border-radius: 0.65rem;
  font-size: 0.82rem;
}

.nav-toggle {
  width: 2.75rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  width: 1.15rem;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 1rem;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-lines { position: relative; }
.nav-toggle-lines::before,
.nav-toggle-lines::after { position: absolute; content: ""; }
.nav-toggle-lines::before { transform: translateY(-0.35rem); }
.nav-toggle-lines::after { transform: translateY(0.35rem); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { transform: rotate(-45deg); }

.primary-nav {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 1rem;
  left: 1rem;
  display: none;
  padding: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.primary-nav.is-open { display: grid; }
.primary-nav a { padding: 0.7rem 0.8rem; text-decoration: none; }
.primary-nav > a:not(.button):hover { color: var(--accent); }

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  background: var(--accent);
  color: var(--accent-contrast);
  border: 0;
  border-radius: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.button:hover { background: var(--accent-strong); transform: translateY(-2px); }
.button-small { min-height: 2.5rem; padding-block: 0.5rem; }
.button.is-disabled,
.button.is-disabled:hover { cursor: not-allowed; filter: saturate(0.45); opacity: 0.68; transform: none; }

.hero {
  min-height: min(52rem, calc(100svh - 4.5rem));
  display: grid;
  align-items: center;
  padding-block: clamp(4rem, 10vw, 8rem);
  overflow: hidden;
  background-color: #18251d;
  background-image:
    linear-gradient(90deg, rgb(5 13 20 / 88%) 0%, rgb(5 13 20 / 68%) 48%, rgb(5 13 20 / 30%) 100%),
    linear-gradient(180deg, transparent 72%, var(--bg) 100%),
    url("assets/images/ks_total.png");
  background-position: center, center, 58% center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}
.hero-copy { max-width: 45rem; }
.hero-copy h1 {
  max-width: 17ch;
  color: #ffffff;
  font-size: clamp(2.35rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 24px rgb(0 0 0 / 24%);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.launch-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1.15rem;
  padding: 0.48rem 0.75rem;
  background: color-mix(in srgb, var(--accent) 18%, rgb(5 13 20 / 72%));
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 999px;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 24px rgb(0 0 0 / 14%);
}

h1,
h2,
h3 { margin-block: 0; line-height: 1.08; letter-spacing: -0.045em; }
h1 { max-width: 14ch; font-size: clamp(2.7rem, 9vw, 5.8rem); }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
h3 { font-size: 1.35rem; }

.hero-text {
  max-width: 40rem;
  margin: 1.5rem 0 0;
  color: rgb(255 255 255 / 82%);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-series-note {
  max-width: 40rem;
  margin: 1.15rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  color: rgb(255 255 255 / 76%);
  font-size: 0.98rem;
}

.hero-series-note strong { color: #ffffff; }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 2rem; }
.text-link { color: #ffffff; font-weight: 700; text-underline-offset: 0.25rem; }

.hero-panel {
  position: relative;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel::before {
  position: absolute;
  z-index: -1;
  width: 14rem;
  height: 14rem;
  right: -5rem;
  bottom: -5rem;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 50%;
  filter: blur(18px);
  content: "";
}

.status { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.9rem; }
.status span { width: 0.55rem; aspect-ratio: 1; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 15%, transparent); }
.panel-number { margin: 2rem 0 0.4rem; font-size: clamp(3.7rem, 13vw, 6.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.07em; }
.hero-panel > p:last-child { max-width: 27rem; margin-bottom: 0; color: var(--muted); }

.hero-cover {
  position: relative;
  width: min(100%, 22rem);
  align-self: start;
  justify-self: center;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-cover .status {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  left: 0.75rem;
  margin: 0;
  padding: 0.45rem 0.7rem;
  background: rgb(5 13 20 / 78%);
  color: #ffffff;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.hero-cover::before { display: none; }

.hero-cover img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(56svh, 32rem);
  display: block;
  margin-inline: auto;
  object-fit: contain;
  border-radius: 0.75rem;
  box-shadow: 0 16px 34px rgb(0 0 0 / 32%);
}

.section { padding-block: clamp(4rem, 9vw, 7rem); border-top: 1px solid var(--border); }
.section-muted { background: var(--surface-muted); }
.section-heading { display: grid; gap: 1.5rem; align-items: end; margin-bottom: 2.5rem; }
.section-heading > p { max-width: 34rem; margin: 0; color: var(--muted); }
.novel-grid { display: grid; gap: 1.25rem; }

.novel-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgb(20 36 27 / 7%);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.novel-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.novel-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  display: block;
  object-fit: cover;
  object-position: center top;
  background: var(--surface-muted);
}

.novel-card-content {
  flex: 1;
  display: flex;
  min-height: 15.5rem;
  flex-direction: column;
  padding: 1.25rem;
}

.novel-kicker {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.novel-card-content > p:not(.novel-kicker) { margin: 0.9rem 0 1rem; color: var(--muted); }
.novel-card-content > a {
  display: flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: auto -1.25rem -1.25rem;
  padding: 0.8rem 1.25rem;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease;
}

.novel-card-content > a:hover { background: var(--accent-strong); }
.novel-card-content > a:focus-visible { outline-offset: -4px; }
.novel-card-status {
  display: flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: auto -1.25rem -1.25rem;
  padding: 0.8rem 1.25rem;
  background: var(--surface-muted);
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  font-weight: 800;
}
.section-action { display: flex; justify-content: flex-end; margin-top: 2rem; }
.novels-link { color: var(--text); }
.card-grid { display: grid; gap: 1rem; }

.card {
  min-height: 19rem;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 180ms ease, transform 180ms ease;
}

.card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card-number { margin-bottom: auto; color: var(--accent); font-size: 0.8rem; font-weight: 800; }
.card p { color: var(--muted); }
.card a { margin-top: 0.6rem; font-weight: 700; text-underline-offset: 0.25rem; }
.split-layout { display: grid; gap: 2rem; }
.split-layout > div:last-child { max-width: 38rem; color: var(--muted); }
.street-layout { display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.street-visual { display: grid; place-items: center; }

.street-visual img {
  width: min(100%, 24rem);
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.street-content { color: var(--muted); }
.street-content h2 { color: var(--text); }
.street-content > p:not(.eyebrow) { max-width: 44rem; margin: 1.5rem 0 0; font-size: 1.05rem; }
.street-signature {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  margin-top: 2rem !important;
  padding-block: 1rem;
  color: var(--text) !important;
  border-block: 1px solid var(--border);
  font-size: 0.82rem !important;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.street-signature span { display: inline-flex; align-items: center; }
.street-signature span:not(:last-child)::after { margin-inline: 0.7rem; color: var(--accent); content: "·"; }
.check-list { display: grid; gap: 0.65rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.check-list li::before { margin-right: 0.65rem; color: var(--accent); font-weight: 800; content: "✓"; }
.check-list strong { color: var(--text); }
.street-link { display: inline-flex; gap: 0.45rem; margin-top: 1.75rem; color: var(--text); font-weight: 800; text-underline-offset: 0.25rem; }

.residents-heading { max-width: 49rem; margin-bottom: 2.5rem; }
.residents-heading > p:last-child { max-width: 43rem; margin: 1.35rem 0 0; color: var(--muted); font-size: 1.05rem; }
.resident-grid { display: grid; gap: 1rem; }

.resident-card {
  position: relative;
  min-height: 25rem;
  overflow: hidden;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgb(20 36 27 / 8%);
  isolation: isolate;
}

.resident-card::after {
  position: absolute;
  z-index: 1;
  inset: 32% 0 0;
  background: linear-gradient(180deg, transparent, rgb(4 10 7 / 90%));
  content: "";
}

.resident-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 350ms ease;
}

.resident-card:hover img { transform: scale(1.025); }
.resident-card-content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 12.25rem;
  display: grid;
  grid-template-rows: 3.3rem 1fr;
  align-content: end;
  padding: 1.25rem;
  color: #ffffff;
}
.resident-card-content h3 { font-size: 1.45rem; letter-spacing: -0.025em; }
.resident-card-content p { margin: 0.65rem 0 0; color: rgb(255 255 255 / 78%); font-size: 0.92rem; line-height: 1.45; }
.residents-action { display: flex; justify-content: center; margin-top: 2rem; }

.authors-heading { max-width: 53rem; margin-bottom: 2.5rem; }
.authors-heading > p:last-child { max-width: 48rem; margin: 1.35rem 0 0; color: var(--muted); font-size: 1.05rem; }
.author-grid { display: grid; gap: 1rem; }

.author-card {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgb(20 36 27 / 7%);
}
.author-card > img { width: 100%; height: auto; aspect-ratio: 4 / 5; display: block; object-fit: cover; object-position: center top; }

.author-placeholder {
  position: relative;
  aspect-ratio: 4 / 5;
  display: grid;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 72% 22%, color-mix(in srgb, var(--accent) 54%, transparent), transparent 28%),
    linear-gradient(145deg, var(--surface-muted), color-mix(in srgb, var(--accent) 23%, var(--surface)));
  color: var(--text);
  isolation: isolate;
}

.author-placeholder::before {
  position: absolute;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border));
  border-radius: 50%;
  content: "";
}

.author-placeholder span { font-size: clamp(3rem, 10vw, 5.5rem); font-weight: 850; letter-spacing: -0.08em; }
.author-card-content { padding: clamp(1.35rem, 3vw, 2rem); }
.author-role { margin: 0 0 0.65rem; color: var(--accent); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.author-card-content h3 { font-size: clamp(1.65rem, 3vw, 2.2rem); }
.author-card-content > p:last-child { margin: 1rem 0 0; color: var(--muted); }

.newsletter-section { padding-block: clamp(4rem, 8vw, 7rem); }
.cta-panel { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.75rem, 5vw, 3.25rem); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.cta-panel h2 { margin-top: 0.4rem; }
.cta-panel p:last-child { max-width: 48rem; margin: 1rem 0 0; color: var(--muted); }
.cta-panel > .button { width: fit-content; }
.newsletter-panel {
  position: relative;
  display: grid;
  gap: 2.25rem;
  overflow: hidden;
  padding: clamp(1.5rem, 5vw, 4rem);
  background: var(--newsletter-bg);
  color: var(--newsletter-text);
  border-radius: calc(var(--radius) * 1.35);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.newsletter-panel::after {
  position: absolute;
  z-index: -1;
  right: -6rem;
  bottom: -9rem;
  width: 22rem;
  aspect-ratio: 1;
  background: var(--accent);
  border-radius: 50%;
  content: "";
  opacity: 0.18;
}
.newsletter-copy { max-width: 37rem; }
.newsletter-copy .eyebrow { color: var(--accent); }
.newsletter-copy h2 { max-width: 12ch; font-size: clamp(2rem, 5vw, 3.7rem); }
.newsletter-copy > p:last-child { margin: 1.25rem 0 0; color: color-mix(in srgb, var(--newsletter-text) 75%, transparent); }
.newsletter-preview { align-self: end; }
.newsletter-preview label { display: block; margin-bottom: 0.55rem; font-size: 0.86rem; font-weight: 750; }
.newsletter-controls { display: grid; gap: 0.65rem; }
.newsletter-controls input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  background: color-mix(in srgb, var(--newsletter-text) 10%, transparent);
  color: var(--newsletter-text);
  border: 1px solid color-mix(in srgb, var(--newsletter-text) 30%, transparent);
  border-radius: 0.8rem;
  font: inherit;
}
.newsletter-controls input::placeholder { color: color-mix(in srgb, var(--newsletter-text) 50%, transparent); }
.newsletter-controls input:disabled { cursor: not-allowed; opacity: 0.72; }
.newsletter-button:disabled { cursor: not-allowed; opacity: 0.72; transform: none; }
.newsletter-preview > p { margin: 0.65rem 0 0; color: color-mix(in srgb, var(--newsletter-text) 60%, transparent); font-size: 0.82rem; }

.site-footer { padding-block: 3rem; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-direction: column; gap: 2rem; }
.footer-inner p { margin: 0.6rem 0 0; color: var(--muted); }
.footer-meta { display: grid; gap: 0.3rem; }
.footer-meta a { color: var(--text); }
.footer-contact { color: var(--text); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
.footer-legal-link { width: fit-content; color: var(--muted); font-size: 0.9rem; }
.footer-legal-link:hover { color: var(--accent); }

.admin-body { min-height: 100vh; background: var(--surface-muted); }
.admin-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.admin-header-inner { min-height: 4.75rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-account { display: flex; align-items: center; gap: 1rem; }
.admin-account form { margin: 0; }
.admin-main { padding-block: clamp(3rem, 7vw, 6rem); }
.admin-auth-container { display: grid; place-items: center; }
.admin-auth-card { width: min(100%, 32rem); padding: clamp(1.5rem, 5vw, 3rem); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 22px 55px rgb(20 36 27 / 10%); }
.admin-auth-card h1 { margin-top: 0.6rem; }
.admin-auth-card > p:not(.eyebrow, .admin-message) { color: var(--muted); }
.admin-form { display: grid; gap: 0.7rem; margin-block: 2rem; }
.admin-form label { margin-top: 0.35rem; font-weight: 700; }
.admin-form input { width: 100%; min-height: 3rem; padding: 0.7rem 0.85rem; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 0.65rem; font: inherit; }
.admin-form input:focus { outline: 3px solid color-mix(in srgb, var(--accent) 28%, transparent); border-color: var(--accent); }
.admin-form .button { margin-top: 0.8rem; }
.admin-message { padding: 0.8rem 1rem; border-radius: 0.65rem; }
.admin-message-error { color: #7a1c1c; background: #fde8e8; border: 1px solid #f4baba; }
.admin-page-heading { max-width: 54rem; }
.admin-page-heading > p:last-child { color: var(--muted); }
.admin-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; margin-block: 2.5rem; }
.admin-stat-card, .admin-panel { padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.admin-stat-card { display: grid; gap: 0.25rem; }
.admin-stat-card strong { color: var(--accent); font-size: 2.2rem; }
.admin-stat-card span, .admin-panel p { color: var(--muted); }
.admin-message-success { color: #185c32; background: #e5f6eb; border: 1px solid #addcbd; }
.admin-novel-list { display: grid; gap: 0.75rem; margin-top: 2rem; }
.admin-novel-row { display: grid; gap: 1rem; padding: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 0.85rem; }
.admin-novel-row.is-muted { opacity: 0.62; }
.admin-novel-title { display: grid; gap: 0.15rem; }
.admin-position { min-width: 4.5rem; display: grid; justify-items: center; align-content: center; padding: 0.55rem; background: var(--surface-muted); border: 1px solid var(--border); border-radius: 0.7rem; }
.admin-position small { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.admin-position strong { color: var(--accent); font-size: 1.65rem; line-height: 1; }
.admin-novel-title span, .admin-novel-title small, .admin-novel-control > span, .admin-novel-control > small { color: var(--muted); }
.admin-novel-control { display: grid; align-content: center; gap: 0.35rem; }
.admin-novel-control form { display: flex; gap: 0.35rem; }
.admin-novel-control button { width: 2.6rem; min-height: 2.4rem; color: var(--text); background: var(--surface-muted); border: 1px solid var(--border); border-radius: 0.55rem; cursor: pointer; }
.admin-novel-control button:hover { border-color: var(--accent); }
.admin-novel-toggles { display: flex; flex-wrap: wrap; align-content: center; gap: 0.45rem; }
.admin-novel-toggles form { margin: 0; }
.admin-toggle { min-height: 2.4rem; padding: 0.45rem 0.7rem; color: var(--muted); background: var(--surface-muted); border: 1px solid var(--border); border-radius: 999px; cursor: pointer; }
.admin-toggle.is-on { color: var(--button-text); background: var(--accent); border-color: var(--accent); }
.admin-edit-form { display: grid; gap: 1.25rem; margin-top: 2rem; }
.admin-edit-section { display: grid; gap: 1.25rem; padding: clamp(1rem, 3vw, 1.5rem); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.admin-edit-section h2 { margin-top: 0.35rem; }
.admin-field-grid { display: grid; gap: 1rem; }
.admin-field-grid label, .admin-cover-editor label { display: grid; gap: 0.4rem; font-weight: 700; }
.admin-field-grid input, .admin-field-grid textarea, .admin-field-grid select, .admin-cover-editor select { width: 100%; max-width: 48rem; padding: 0.55rem 0.7rem; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 0.6rem; font: inherit; }
.admin-field-grid textarea { resize: vertical; }
.admin-field-wide { grid-column: 1 / -1; }
.admin-cover-editor { display: grid; gap: 1.25rem; }
.admin-cover-editor > div { display: grid; align-content: start; gap: 1rem; }
.admin-cover-editor input[type="file"] { max-width: 34rem; padding: 0.65rem; color: var(--text); background: var(--surface-muted); border: 1px dashed var(--border); border-radius: 0.6rem; font: inherit; font-weight: 400; }
.admin-cover-editor label small { color: var(--muted); font-weight: 400; }
.admin-cover-editor img { width: min(100%, 13rem); max-height: 20rem; object-fit: contain; border-radius: 0.7rem; box-shadow: 0 12px 30px rgb(0 0 0 / 15%); }
.admin-check { grid-template-columns: auto 1fr !important; align-items: center; justify-content: start; }
.admin-check input { width: 1.1rem; height: 1.1rem; }
.admin-form-actions { position: sticky; bottom: 0; display: flex; justify-content: flex-end; gap: 0.75rem; padding: 1rem; background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--border); border-radius: var(--radius); backdrop-filter: blur(12px); }
.admin-panel-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.admin-danger-zone { margin-top: 2rem; padding: 1.25rem; border: 1px solid #d98b8b; border-radius: var(--radius); }
.admin-danger-zone p { color: var(--muted); }
.admin-danger-zone form { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.admin-danger-button { background: #9f2f2f; border-color: #9f2f2f; }

@media (min-width: 58rem) {
  .admin-novel-row { grid-template-columns: 4.8rem minmax(15rem, 1.6fr) minmax(7rem, 0.55fr) minmax(8rem, 0.65fr) minmax(14rem, 1fr); align-items: center; }
  .admin-edit-section { grid-template-columns: minmax(10rem, 0.4fr) minmax(0, 1.6fr); }
  .admin-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-cover-editor { grid-template-columns: minmax(0, 1fr) 13rem; }
}

.legal-main { min-height: calc(100vh - 9rem); padding-block: clamp(4rem, 9vw, 7rem); }
.legal-content { max-width: 48rem; min-width: 0; overflow-wrap: anywhere; }
.legal-content h1 { max-width: 100%; margin-bottom: 2.5rem; overflow-wrap: anywhere; hyphens: auto; font-size: clamp(2rem, 6vw, 4.25rem); }
.legal-block { padding-block: 1.75rem; border-top: 1px solid var(--border); }
.legal-block h2 { margin-bottom: 0.8rem; font-size: clamp(1.35rem, 3vw, 1.8rem); }
.legal-block p { margin: 0; color: var(--muted); }
.legal-block address { color: var(--muted); font-style: normal; }
.legal-block a { color: var(--text); text-underline-offset: 0.2em; }
.legal-updated { margin: 2rem 0 0; color: var(--muted); font-size: 0.9rem; }
.transparency-lead { max-width: 48rem; margin: 1.5rem 0 2.5rem; padding: 1.25rem 1.4rem; background: var(--surface-muted); color: var(--muted); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.05rem; }

.page-hero { padding-block: clamp(4.5rem, 10vw, 8rem); }
.page-hero-inner { max-width: 54rem; }
.page-hero h1 { max-width: 13ch; font-size: clamp(3rem, 8vw, 6.25rem); }
.page-hero .hero-text { max-width: 46rem; }
.page-hero--street {
  min-height: min(38rem, calc(100svh - 4.5rem));
  display: grid;
  align-items: center;
  background-color: #18251d;
  background-image:
    linear-gradient(90deg, rgb(5 13 20 / 88%) 0%, rgb(5 13 20 / 68%) 52%, rgb(5 13 20 / 28%) 100%),
    linear-gradient(180deg, transparent 72%, var(--surface-muted) 100%),
    url("assets/images/ks_total.png");
  background-position: center, center, 46% center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
}
.page-hero--street .eyebrow:not(.launch-badge) { color: var(--accent); }
.page-hero--street .hero-text { color: rgb(255 255 255 / 84%); }
.page-hero--street .series-summary li { color: rgb(255 255 255 / 78%); }
.series-summary { display: flex; flex-wrap: wrap; gap: 0.65rem 1.5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.series-summary li { display: flex; align-items: center; gap: 0.55rem; color: var(--muted); font-size: 0.9rem; font-weight: 750; }
.series-summary li::before { width: 0.45rem; aspect-ratio: 1; background: var(--accent); border-radius: 50%; content: ""; }
.catalog-heading { max-width: 52rem; margin-bottom: 2.75rem; }
.catalog-heading > p:last-child { max-width: 44rem; margin: 1.25rem 0 0; color: var(--muted); }
.catalog-heading .release-rhythm { max-width: 48rem; margin-top: 1.5rem; padding: 1rem 1.15rem; background: var(--surface); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: 0 10px 30px rgb(0 0 0 / 6%); }
.release-rhythm strong { color: var(--text); }
.catalog-grid { grid-template-columns: minmax(0, 1fr); }
.catalog-grid .novel-card-content { min-height: 16rem; }
.cover-placeholder {
  position: relative;
  aspect-ratio: 2 / 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 1.35rem;
  background:
    radial-gradient(circle at 85% 12%, color-mix(in srgb, var(--accent) 42%, transparent), transparent 31%),
    linear-gradient(150deg, var(--surface-muted), color-mix(in srgb, var(--accent) 17%, var(--surface)));
  color: var(--text);
}
.cover-placeholder::after { position: absolute; right: -30%; bottom: -18%; width: 90%; aspect-ratio: 1; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--border)); border-radius: 50%; content: ""; }
.cover-placeholder-mark { font-size: 2rem; font-weight: 850; letter-spacing: -0.08em; }
.cover-placeholder-copy { position: relative; z-index: 1; }
.cover-placeholder-copy span { display: block; color: var(--accent); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.cover-placeholder-copy strong { display: block; max-width: 11ch; margin-top: 0.55rem; font-size: clamp(1.55rem, 5vw, 2.25rem); line-height: 1.02; letter-spacing: -0.04em; }
.catalog-note { max-width: 46rem; margin: 3rem auto 0; padding: 1.25rem 1.4rem; background: var(--surface-muted); color: var(--muted); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; }

.book-hero { position: relative; overflow: hidden; padding-block: clamp(4rem, 9vw, 7rem); background: var(--surface-muted); }
.book-hero::after { position: absolute; right: -12rem; bottom: -17rem; width: 35rem; aspect-ratio: 1; background: color-mix(in srgb, var(--accent) 13%, transparent); border-radius: 50%; content: ""; }
.book-hero-grid { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.book-cover-wrap { width: min(100%, 22rem); justify-self: center; }
.book-cover-wrap img { width: 100%; height: auto; display: block; border-radius: 0.7rem; box-shadow: 0 24px 60px rgb(0 0 0 / 28%); }
.book-hero-copy { width: 100%; max-width: 43rem; }
.book-breadcrumb { position: relative; z-index: 1; display: flex; width: fit-content; margin: 0 auto 1.5rem 0; color: var(--muted); font-size: 0.88rem; font-weight: 750; text-align: left; text-underline-offset: 0.25rem; }
.book-hero-copy h1 { max-width: 12ch; font-size: clamp(3rem, 8vw, 6rem); }
.book-lead { max-width: 40rem; margin: 1.4rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.book-meta { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.8rem; }
.book-meta span { padding: 0.42rem 0.72rem; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 999px; font-size: 0.78rem; font-weight: 800; }
.book-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.button-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.button-secondary:hover { background: var(--surface); }
.book-section-heading { max-width: 49rem; margin-bottom: 2rem; }
.book-section-heading > p:last-child { margin: 1.15rem 0 0; color: var(--muted); }
.book-story-grid { display: grid; gap: clamp(2rem, 6vw, 5rem); }
.book-story { max-width: 47rem; }
.book-story p { margin: 0 0 1.2rem; color: var(--muted); font-size: 1.05rem; }
.book-story p:last-child { margin-bottom: 0; }
.book-quote { align-self: start; margin: 0; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--surface-muted); border-radius: var(--radius); }
.book-quote p { margin: 0; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 750; line-height: 1.3; letter-spacing: -0.025em; }
.book-quote footer { margin-top: 1rem; color: var(--muted); font-size: 0.86rem; }
.theme-grid { display: grid; gap: 1rem; }
.theme-card { padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.theme-card span { display: inline-grid; width: 2.25rem; aspect-ratio: 1; place-items: center; margin-bottom: 1.2rem; background: var(--accent); color: var(--accent-contrast); border-radius: 50%; font-size: 0.78rem; font-weight: 850; }
.theme-card h3 { font-size: 1.35rem; }
.theme-card p { margin: 0.7rem 0 0; color: var(--muted); }
.book-character-grid { display: grid; gap: 1rem; }
.book-character { padding: 1.4rem; border-top: 3px solid var(--accent); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 10px 26px rgb(20 36 27 / 6%); }
.book-character p { margin: 0.65rem 0 0; color: var(--muted); }
.book-purchase-panel { display: grid; gap: 1.75rem; padding: clamp(1.5rem, 5vw, 3.5rem); background: var(--newsletter-bg); color: var(--newsletter-text); border-radius: calc(var(--radius) * 1.25); }
.book-purchase-panel .eyebrow { color: var(--accent); }
.book-purchase-panel h2 { max-width: 15ch; }
.book-purchase-panel p { max-width: 43rem; margin: 1rem 0 0; color: color-mix(in srgb, var(--newsletter-text) 72%, transparent); }
.book-purchase-panel .button.is-disabled { justify-self: start; align-self: center; }
.book-pagination { display: grid; gap: 1rem; }
.book-pagination a { display: flex; min-height: 7rem; flex-direction: column; justify-content: center; padding: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; transition: border-color 180ms ease, transform 180ms ease; }
.book-pagination a:hover { border-color: var(--accent); transform: translateY(-2px); }
.book-pagination span { color: var(--muted); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.book-pagination strong { margin-top: 0.35rem; }

.street-page-hero { background-image: linear-gradient(90deg, rgb(5 13 20 / 88%) 0%, rgb(5 13 20 / 68%) 52%, rgb(5 13 20 / 28%) 100%), linear-gradient(180deg, transparent 72%, var(--bg) 100%), url("assets/images/ks_total.png"); }
.street-page-hero h1 { max-width: 15ch; font-size: clamp(3rem, 7vw, 5.8rem); }
.street-hero-button { margin-top: 2rem; }
.street-intro-grid { display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.street-intro-grid h2 { max-width: 15ch; }
.street-prose { max-width: 45rem; }
.street-prose p { margin: 0 0 1.25rem; color: var(--muted); font-size: 1.06rem; }
.street-prose p:last-child { margin-bottom: 0; }
.street-section-heading { max-width: 52rem; margin-bottom: 2.5rem; }
.street-section-heading > p:last-child { max-width: 42rem; margin: 1rem 0 0; color: var(--muted); }
.place-grid { display: grid; gap: 1rem; }
.place-card { position: relative; min-height: 22rem; display: flex; flex-direction: column; justify-content: end; overflow: hidden; padding: clamp(1.5rem, 4vw, 2.2rem); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 14px 34px rgb(20 36 27 / 7%); }
.place-card::before { position: absolute; top: -3rem; right: -2rem; width: 10rem; aspect-ratio: 1; background: color-mix(in srgb, var(--accent) 18%, transparent); border-radius: 50%; content: ""; }
.place-card::after { position: absolute; top: 2.5rem; right: 2rem; color: color-mix(in srgb, var(--accent) 32%, transparent); font-size: 6rem; font-weight: 850; line-height: 1; letter-spacing: -0.08em; content: attr(data-house); }
.place-number { position: relative; z-index: 1; margin: 0 0 auto; color: var(--accent); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.09em; text-transform: uppercase; }
.place-card h3 { position: relative; z-index: 1; max-width: 13ch; font-size: clamp(1.65rem, 4vw, 2.2rem); }
.place-card > p:last-child { position: relative; z-index: 1; margin: 0.8rem 0 0; color: var(--muted); }
.place-card--kiosk { border-top: 4px solid #d94b45; }
.place-card--flowers { border-top: 4px solid #3d8c5b; }
.place-card--cafe { border-top: 4px solid #d7a95c; }
.place-card--bar { border-top: 4px solid var(--accent); }
.place-card--with-visual { min-height: 0; justify-content: flex-start; padding: 0; }
.place-card--with-visual::before, .place-card--with-visual::after { content: none; }
.place-card-visual, .place-card-image { width: 100%; aspect-ratio: 16 / 10; display: grid; place-content: center; object-fit: cover; }
.place-card-visual { gap: 0.15rem; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 18%, var(--surface)), var(--surface-muted)); color: var(--accent); text-align: center; }
.place-card-visual span { font-size: clamp(3rem, 8vw, 5rem); font-weight: 850; line-height: 1; letter-spacing: -0.08em; }
.place-card-visual small { font-size: 0.7rem; font-weight: 850; letter-spacing: 0.12em; text-transform: uppercase; }
.place-card-copy { flex: 1; display: flex; flex-direction: column; padding: clamp(1.35rem, 3vw, 1.8rem); }
.place-card-copy h3 { margin-top: 0.55rem; }
.place-card-copy > p:last-child { margin: 0.8rem 0 0; color: var(--muted); }
.street-history { overflow: hidden; background: var(--newsletter-bg); color: var(--newsletter-text); }
.street-history-grid { display: grid; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.street-history-marker { position: relative; min-height: 21rem; display: grid; place-content: center; padding: 2rem; border: 1px solid color-mix(in srgb, var(--newsletter-text) 18%, transparent); border-radius: var(--radius); text-align: center; }
.street-history-marker::before { position: absolute; inset: 1rem; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: calc(var(--radius) - 0.35rem); content: ""; }
.street-history-marker span { color: var(--accent); font-size: clamp(6rem, 20vw, 11rem); font-weight: 850; line-height: 0.85; letter-spacing: -0.1em; }
.street-history-marker small { max-width: 18rem; margin-top: 1.5rem; color: color-mix(in srgb, var(--newsletter-text) 72%, transparent); font-size: 0.85rem; font-weight: 750; line-height: 1.5; text-transform: uppercase; letter-spacing: 0.08em; }
.street-history-copy { max-width: 48rem; }
.street-history-copy .eyebrow { color: var(--accent); }
.street-history-copy p:not(.eyebrow) { margin: 1.2rem 0 0; color: color-mix(in srgb, var(--newsletter-text) 75%, transparent); font-size: 1.04rem; }
.street-soul { display: grid; gap: clamp(2rem, 6vw, 5rem); }
.street-soul-copy { max-width: 45rem; }
.street-soul-copy > p { margin: 0 0 1.2rem; color: var(--muted); }
.street-soul-copy .street-statement { margin: 2rem 0; color: var(--text); font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 750; line-height: 1.3; letter-spacing: -0.025em; }
.street-finale { display: grid; gap: 2rem; align-items: end; padding: clamp(1.7rem, 5vw, 3.5rem); background: var(--surface-muted); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; }
.street-finale h2 { max-width: 17ch; }
.street-finale p:not(.eyebrow) { max-width: 48rem; margin: 1.1rem 0 0; color: var(--muted); }
.street-finale > .button { justify-self: start; }

.residents-page-hero {
  min-height: min(42rem, calc(100svh - 4.5rem));
  display: grid;
  align-items: center;
  background-color: #18251d;
  background-image:
    linear-gradient(90deg, rgb(5 13 20 / 91%) 0%, rgb(5 13 20 / 70%) 49%, rgb(5 13 20 / 20%) 100%),
    linear-gradient(180deg, transparent 72%, var(--bg) 100%),
    url("assets/images/characters/königsstrasse_total.png");
  background-position: center, center, center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
}
.residents-page-hero .eyebrow { color: var(--accent); }
.residents-page-hero h1 { max-width: 13ch; font-size: clamp(3rem, 7vw, 5.8rem); }
.residents-page-hero .hero-text { color: rgb(255 255 255 / 84%); }
.resident-page-heading { max-width: 52rem; margin-bottom: 2.75rem; }
.resident-page-heading > p:last-child { max-width: 44rem; margin: 1rem 0 0; color: var(--muted); }
.portrait-grid { display: grid; gap: 1.25rem; }
.portrait-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 14px 34px rgb(20 36 27 / 7%); }
.portrait-image { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-muted); }
.portrait-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 24%; transition: transform 300ms ease; }
.portrait-card:hover .portrait-image img { transform: scale(1.025); }
.portrait-copy { flex: 1; display: flex; flex-direction: column; padding: 1.4rem; }
.portrait-location { margin: 0; color: var(--accent); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.075em; text-transform: uppercase; }
.portrait-copy h3 { margin-top: 0.55rem; font-size: clamp(1.45rem, 3vw, 1.85rem); }
.portrait-copy > p:not(.portrait-location) { margin: 0.85rem 0 1.4rem; color: var(--muted); }
.portrait-status { width: fit-content; margin-top: auto; padding-top: 0.8rem; border-top: 1px solid var(--border); color: var(--text); font-size: 0.78rem; font-weight: 800; }
.resident-bridge { background: var(--newsletter-bg); color: var(--newsletter-text); }
.resident-bridge-grid { display: grid; gap: 2rem; align-items: end; }
.resident-bridge .eyebrow { color: var(--accent); }
.resident-bridge h2 { max-width: 16ch; }
.resident-bridge p:not(.eyebrow) { max-width: 47rem; margin: 1rem 0 0; color: color-mix(in srgb, var(--newsletter-text) 72%, transparent); }
.resident-bridge-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.resident-bridge .button-secondary { color: var(--newsletter-text); border-color: color-mix(in srgb, var(--newsletter-text) 28%, transparent); }
.resident-bridge .button-secondary:hover { background: color-mix(in srgb, var(--newsletter-text) 9%, transparent); }
.authors-more { display: flex; justify-content: center; margin-top: 2rem; }
.author-page-hero { position: relative; overflow: hidden; padding-block: clamp(4.5rem, 10vw, 8rem); background: var(--surface-muted); }
.author-page-hero::after { position: absolute; top: -12rem; right: -10rem; width: 34rem; aspect-ratio: 1; background: color-mix(in srgb, var(--accent) 13%, transparent); border-radius: 50%; content: ""; }
.author-hero-grid { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.author-hero-copy { max-width: 50rem; }
.author-hero-copy h1 { max-width: 14ch; font-size: clamp(3rem, 7vw, 5.8rem); }
.author-hero-copy > p:last-child { max-width: 44rem; margin: 1.35rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); }
.author-duo-mark { min-height: 17rem; display: grid; grid-template-columns: repeat(2, 1fr); align-items: center; padding: 1.2rem; }
.author-duo-mark span { display: grid; width: min(11rem, 42vw); aspect-ratio: 1; place-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 50%; box-shadow: var(--shadow); color: var(--accent); font-size: clamp(2rem, 7vw, 4rem); font-weight: 850; letter-spacing: -0.06em; }
.author-duo-mark span:last-child { margin-left: -1.5rem; background: var(--accent); color: var(--accent-contrast); }
.author-page-heading { max-width: 52rem; margin-bottom: 2.5rem; }
.author-page-heading > p:last-child { max-width: 44rem; margin: 1rem 0 0; color: var(--muted); }
.author-profile-grid { display: grid; gap: 1.25rem; }
.author-profile { overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 14px 34px rgb(20 36 27 / 7%); }
.author-profile-image { width: 100%; height: auto; aspect-ratio: 4 / 5; display: block; object-fit: cover; object-position: center top; }
.author-profile-placeholder { min-height: 18rem; display: grid; align-content: center; justify-items: center; gap: 0.8rem; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 15%, var(--surface)), var(--surface-muted)); }
.author-profile-placeholder span { display: grid; width: 8rem; aspect-ratio: 1; place-items: center; border: 2px solid color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 50%; color: var(--accent); font-size: 2.4rem; font-weight: 850; letter-spacing: -0.06em; }
.author-profile-placeholder small { color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.author-profile-copy { padding: clamp(1.5rem, 4vw, 2.2rem); }
.author-profile-copy h3 { margin-top: 0.45rem; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.author-profile-copy > p:not(.author-role) { margin: 1rem 0 0; color: var(--muted); }
.author-together-grid { display: grid; gap: clamp(2rem, 6vw, 5rem); }
.author-together-grid h2 { max-width: 14ch; }
.author-together-copy { max-width: 45rem; }
.author-together-copy p { margin: 0 0 1.2rem; color: var(--muted); font-size: 1.05rem; }
.author-together-copy p:last-child { margin-bottom: 0; }
.author-finale { background: var(--newsletter-bg); color: var(--newsletter-text); }
.author-finale-inner { display: grid; gap: 2rem; align-items: end; }
.author-finale .eyebrow { color: var(--accent); }
.author-finale h2 { max-width: 16ch; }
.author-finale p:not(.eyebrow) { margin: 1rem 0 0; color: color-mix(in srgb, var(--newsletter-text) 72%, transparent); }
.author-finale .button { justify-self: start; }

.blog-hero { overflow: hidden; padding-block: clamp(3rem, 6vw, 5rem); background: var(--surface-muted); }
.blog-hero-grid { display: grid; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.blog-hero-copy h1 { max-width: 14ch; font-size: clamp(3rem, 7vw, 5.7rem); }
.blog-hero-copy > p:not(.eyebrow) { max-width: 43rem; margin: 1.35rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); }
.blog-hero-copy .button { margin-top: 2rem; }
.blog-hero-image { width: min(100%, 28rem); justify-self: center; margin: 0; }
.blog-hero-image img { width: 100%; aspect-ratio: 4 / 5; display: block; object-fit: cover; object-position: center; border-radius: var(--radius); box-shadow: 0 24px 60px rgb(0 0 0 / 24%); }
.blog-heading { max-width: 53rem; margin-bottom: 2.75rem; }
.blog-heading > p:last-child { max-width: 45rem; margin: 1rem 0 0; color: var(--muted); }
.blog-grid { display: grid; gap: 1.25rem; }
.blog-card { min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 14px 34px rgb(20 36 27 / 7%); }
.blog-card-visual { min-height: 11rem; display: flex; align-items: end; justify-content: space-between; padding: 1.4rem; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 18%, var(--surface)), var(--surface-muted)); }
.blog-card-visual span { color: var(--accent); font-size: 4.2rem; font-weight: 850; line-height: 0.85; letter-spacing: -0.08em; }
.blog-card-visual small { color: var(--muted); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.blog-card-copy { min-height: 18rem; display: flex; flex-direction: column; padding: 1.4rem; }
.blog-meta { margin: 0; color: var(--accent); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.blog-card-copy h3 { margin-top: 0.65rem; font-size: clamp(1.45rem, 3vw, 1.8rem); }
.blog-card-copy > p:not(.blog-meta) { margin: 0.85rem 0 1.4rem; color: var(--muted); }
.blog-card-copy a { width: fit-content; margin-top: auto; color: var(--accent); font-weight: 800; text-underline-offset: 0.25rem; }
.blog-status { width: fit-content; margin-top: auto; padding-top: 0.8rem; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.78rem; font-weight: 800; }
.home-blog-section { background: var(--surface-muted); }
.home-blog-heading { margin-bottom: 2.75rem; }
.home-blog-grid { display: grid; gap: 1.25rem; align-items: stretch; }
.home-blog-featured { display: grid; }
.home-blog-featured .blog-card-copy { min-height: 17rem; }
.home-blog-preview { display: flex; flex-direction: column; padding: clamp(1.4rem, 4vw, 2.25rem); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 14px 34px rgb(20 36 27 / 7%); }
.home-blog-preview h3 { max-width: 16ch; font-size: clamp(1.6rem, 4vw, 2.25rem); }
.home-blog-preview ul { display: grid; margin: 1.4rem 0 2rem; padding: 0; list-style: none; }
.home-blog-preview li { padding: 1rem 0; border-bottom: 1px solid var(--border); color: var(--text); font-weight: 750; }
.home-blog-preview li:first-child { border-top: 1px solid var(--border); }
.home-blog-preview li span { display: block; margin-bottom: 0.3rem; color: var(--accent); font-size: 0.7rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.home-blog-preview .button { width: fit-content; margin-top: auto; }
.blog-article-grid { display: grid; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.blog-article-header h2 { max-width: 13ch; }
.blog-article-byline { margin: 1rem 0 0; color: var(--muted); font-size: 0.85rem; }
.blog-article-body { max-width: 47rem; }
.blog-article-body p { margin: 0 0 1.35rem; color: var(--muted); font-size: 1.06rem; }
.blog-article-body .blog-article-lead { color: var(--text); font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 700; line-height: 1.35; letter-spacing: -0.02em; }
.blog-article-body h3 { margin: 2.6rem 0 1.1rem; color: var(--text); font-size: clamp(1.55rem, 3vw, 2.15rem); }
.blog-article-body strong { color: var(--text); }
.blog-topics { background: var(--newsletter-bg); color: var(--newsletter-text); }
.blog-topics-inner { display: grid; gap: 2.5rem; }
.blog-topics .eyebrow { color: var(--accent); }
.blog-topics h2 { max-width: 15ch; }
.blog-topic-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.blog-topic-list li { padding: 1rem 0; border-bottom: 1px solid color-mix(in srgb, var(--newsletter-text) 18%, transparent); color: color-mix(in srgb, var(--newsletter-text) 78%, transparent); font-weight: 700; }
  .blog-topic-list li:first-child { border-top: 1px solid color-mix(in srgb, var(--newsletter-text) 18%, transparent); }

@media (min-width: 42rem) {
  .cta-panel { grid-template-columns: minmax(0, 1fr) auto; }
  .section-heading { grid-template-columns: 1fr 1fr; }
  .novel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resident-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .author-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card:last-child { grid-column: 1 / -1; }
  .split-layout { grid-template-columns: 0.9fr 1.1fr; }
  .footer-inner { flex-direction: row; align-items: start; justify-content: space-between; }
  .footer-meta { text-align: right; }
  .footer-legal { justify-content: flex-end; }
  .newsletter-controls { grid-template-columns: minmax(0, 1fr) auto; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .book-character-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .book-pagination { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .place-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portrait-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .author-profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-blog-grid { grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr); }
  .home-blog-featured { grid-template-columns: minmax(10rem, 0.7fr) minmax(0, 1.3fr); }
  .home-blog-featured .blog-card-visual { min-height: 100%; }
}

@media (min-width: 64rem) {
  .nav-toggle { display: none; }
  .primary-nav { position: static; display: flex; align-items: center; gap: 0.2rem; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  .primary-nav a { padding-inline: 0.9rem; }
}

@media (min-width: 58rem) {
  .container { width: min(100% - 4rem, var(--container)); }
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr); }
  .street-layout { grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.3fr); }
  .novel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .book-hero-grid { grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr); }
  .book-story-grid { grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr); }
  .book-purchase-panel { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .street-intro-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .street-history-grid { grid-template-columns: minmax(18rem, 0.65fr) minmax(0, 1.35fr); }
  .street-soul { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .street-finale { grid-template-columns: minmax(0, 1fr) auto; }
  .portrait-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .resident-bridge-grid { grid-template-columns: minmax(0, 1fr) auto; }
  .author-hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr); }
  .author-together-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .author-finale-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .blog-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr); }
  .blog-hero-image { width: min(100%, 28rem); }
  .blog-hero-image img { height: clamp(26rem, 52vw, 34rem); aspect-ratio: auto; object-position: center 42%; }
  .blog-article-grid { grid-template-columns: minmax(18rem, 0.7fr) minmax(0, 1.3fr); }
  .blog-article-header { position: sticky; top: 7rem; }
  .blog-topics-inner { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
  .resident-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .author-card { display: grid; grid-template-columns: minmax(9.5rem, 0.72fr) minmax(0, 1.28fr); align-items: stretch; }
  .author-card > img { height: 100%; min-height: 20rem; }
  .author-placeholder { height: 100%; min-height: 20rem; aspect-ratio: auto; }
  .newsletter-panel { grid-template-columns: minmax(0, 1.05fr) minmax(23rem, 0.95fr); align-items: end; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .card:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
