/* Metric-adjusted fallback font so header signature NEVER flashes huge before Waterfall activates */
@font-face {
  font-family: 'WaterfallFallback';
  src: local('Georgia Italic'), local('Georgia'), local('Times New Roman');
  size-adjust: 46%;
  ascent-override: 92%;
  descent-override: 28%;
}

:root {
  /* True Nocturnal Midnight Navy Palette (Zero Purple / Zero Violet) */
  --bg-deep: #040915;
  --bg-sky-mid: #061022;
  --bg-sky-low: #030812;
  --bg-card: rgba(7, 15, 32, 0.74);
  --bg-card-strong: rgba(10, 21, 44, 0.88);
  --bg-glass: rgba(4, 9, 21, 0.84);

  /* White Gold / Silver-Champagne Palette */
  --champagne: #e5dec9;
  --champagne-bright: #f5f1e8;
  --champagne-soft: #d6cdbb;
  --champagne-line: rgba(229, 222, 201, 0.22);
  --champagne-line-strong: rgba(229, 222, 201, 0.42);
  --champagne-tint: rgba(245, 241, 232, 0.06);

  --text-main: #faf8f5;
  --text-body: #ddd8ce;
  --text-muted: #98a4b8;
  --text-dim: #69758c;

  --font-signature: 'Waterfall', 'WaterfallFallback', Georgia, serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-serif: 'Gentium Plus', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 1520px;
  --radius-sm: 7px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  color-scheme: dark;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(229, 222, 201, 0.24) #040915;
  scroll-behavior: smooth;
  scroll-padding-top: 68px;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Slim, Refined Dark Midnight-Champagne Scrollbars (No White Gutter or Arrows) */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #040915;
}

.modal-body::-webkit-scrollbar-track {
  background: #060f22;
}

::-webkit-scrollbar-thumb {
  background: rgba(229, 222, 201, 0.22);
  border-radius: 999px;
  border: 1px solid rgba(4, 9, 21, 0.65);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(229, 222, 201, 0.42);
}

::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

body {
  font-family: var(--font-serif);
  background-color: transparent;
  color: var(--text-body);
  line-height: 1.74;
  overflow-x: hidden;
  position: relative;
}

body.modal-open {
  overflow: hidden;
}

/* True Deep Midnight Navy Sky (No Halo, No Purple Undertone) */
.ambient-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #040a18 0%, #061124 50%, #030813 100%);
}

/* Subtle Pinpoint Night-Sky Stardust */
.stardust-sky {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

main {
  transition: opacity 190ms cubic-bezier(0.22, 1, 0.36, 1), transform 190ms cubic-bezier(0.22, 1, 0.36, 1);
}

main.view-switching {
  opacity: 0;
  transform: translateY(4px);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition), opacity var(--transition);
}

em,
i {
  font-style: italic;
}

/* Wide Fluid Header Container + Sleek Panoramic Editorial Content Container */
.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(22px, 3.6vw, 48px);
}

.site-header .container {
  max-width: var(--max-w);
  padding: 0 clamp(24px, 4.2vw, 64px);
}

/* Slim Full-Bleed Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 222, 201, 0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 38px;
  flex-shrink: 0;
}

.brand-signature {
  display: block;
  font-family: var(--font-signature);
  font-size: 2.48rem;
  font-weight: 400;
  color: var(--champagne-bright);
  line-height: 1;
  padding-top: 4px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-right-group {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #d6d0c4;
  padding: 6px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--champagne-bright);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(229, 222, 201, 0.28);
  border-radius: 999px;
  padding: 2px;
}

.lang-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-btn:hover {
  color: var(--text-main);
}

.lang-btn.active {
  background: linear-gradient(180deg, rgba(235, 228, 212, 0.24) 0%, rgba(186, 173, 146, 0.12) 100%);
  border-color: rgba(245, 239, 226, 0.42);
  color: var(--text-main);
  font-weight: 600;
}

.mobile-menu-btn {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid var(--champagne-line);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Compact Top Alchemical Maxim (Equal Top & Bottom Breathing Space to Card) */
.top-epigraph {
  padding: 46px 0 14px;
  text-align: center;
  position: relative;
}

.top-epigraph .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.opening-passage {
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-main);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 18px rgba(3, 8, 19, 0.9);
}

.opening-latin {
  display: block;
  font-size: clamp(1.36rem, 1.96vw, 1.72rem);
  line-height: 1.24;
  color: var(--text-main);
}

.opening-subline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 7px;
  font-size: clamp(1.06rem, 1.32vw, 1.24rem);
  line-height: 1.36;
  color: #e4ded0;
  font-weight: 400;
}

.subline-rule {
  display: inline-block;
  width: 56px;
  height: 1px;
  flex-shrink: 0;
}

.subline-rule-left {
  background: linear-gradient(90deg, transparent, rgba(229, 222, 201, 0.38));
}

.subline-rule-right {
  background: linear-gradient(90deg, rgba(229, 222, 201, 0.38), transparent);
}

.opening-cite {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.59rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.18em;
  color: rgba(229, 222, 201, 0.8);
}

/* Whisper-Quiet Uppercase Section Headings */
.section {
  padding: 54px 0;
  position: relative;
  border-top: 1px solid rgba(229, 222, 201, 0.09);
}

.section-books {
  border-top: none;
  padding: 6px 0 54px;
}

.section-books .section-kicker-head {
  margin-bottom: 16px;
}

.section-alt {
  background: linear-gradient(180deg, rgba(7, 15, 32, 0.45) 0%, rgba(4, 9, 21, 0.25) 100%);
}

.section-kicker-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.section-kicker-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--champagne);
  white-space: nowrap;
}

.section-kicker-line {
  height: 1px;
  flex: 1;
  max-width: 140px;
  background: linear-gradient(90deg, rgba(229, 222, 201, 0.34), transparent);
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.68;
}

.contact-intro {
  margin-top: -14px;
  margin-bottom: 28px;
  max-width: 820px;
}

/* Sleek Compact Panoramic Book Banners */
.book-banners-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Full-Bleed Foreword Endorsement Interlude Between Book 1 and Book 2 */
.endorsement-bleed {
  width: 100%;
  margin: 34px 0;
  padding: 38px 0 40px;
  border-top: 1px solid rgba(229, 222, 201, 0.09);
  border-bottom: 1px solid rgba(229, 222, 201, 0.09);
  background: linear-gradient(180deg, rgba(3, 7, 17, 0.72) 0%, rgba(4, 10, 23, 0.84) 50%, rgba(3, 7, 17, 0.72) 100%);
  text-align: center;
}

.endorsement-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.endorsement-stars {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.74rem;
  line-height: 1;
  color: var(--champagne);
  opacity: 0.86;
}

.endorsement-quote {
  max-width: 960px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.13rem, 1.45vw, 1.3rem);
  line-height: 1.66;
  color: var(--text-main);
  text-wrap: balance;
}

html[lang="tr"] .endorsement-quote,
body[data-page="barbarossa"] .endorsement-quote {
  max-width: 1090px;
}

.endorsement-cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--champagne);
}

/* Foreword & Afterword Full-Bleed Carousel */
.endorsement-carousel-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.carousel-stage {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.carousel-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 950ms cubic-bezier(0.25, 0.85, 0.25, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.carousel-arrow {
  appearance: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(229, 222, 201, 0.18);
  color: var(--champagne);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition);
}

.carousel-arrow:hover {
  border-color: var(--champagne-bright);
  color: var(--champagne-bright);
  background: rgba(229, 222, 201, 0.08);
  transform: scale(1.05);
}

.carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
}

.carousel-dot {
  appearance: none;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(229, 222, 201, 0.24);
  cursor: pointer;
  transition: all 260ms ease;
}

.carousel-dot.active {
  width: 24px;
  background: var(--champagne-bright);
}

.book-banner {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(229, 222, 201, 0.22);
  padding: 25px 38px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

/* Delicate museum inner hairline frame */
.book-banner::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(229, 222, 201, 0.08);
  border-radius: calc(var(--radius-lg) - 5px);
  pointer-events: none;
}

.book-banner:hover {
  border-color: rgba(245, 241, 232, 0.38);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.62);
}

.book-banner-tmts {
  background:
    radial-gradient(ellipse 60% 90% at 82% 50%, rgba(16, 36, 74, 0.52) 0%, transparent 70%),
    linear-gradient(125deg, rgba(6, 13, 29, 0.92) 0%, rgba(8, 18, 39, 0.86) 55%, rgba(5, 11, 24, 0.94) 100%);
}

.book-banner-barb {
  background:
    radial-gradient(ellipse 58% 88% at 82% 50%, rgba(58, 22, 24, 0.28) 0%, transparent 70%),
    linear-gradient(125deg, rgba(7, 13, 27, 0.92) 0%, rgba(12, 18, 34, 0.88) 55%, rgba(6, 10, 22, 0.95) 100%);
}

.book-banner-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 208px;
  gap: 32px;
  align-items: center;
}

.book-banner-copy {
  min-width: 0;
}

.banner-kicker {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--champagne-soft);
  margin-bottom: 9px;
}

.banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.68rem, 2.35vw, 2.22rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 8px;
}

.banner-subtitle {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  color: var(--champagne);
  margin-bottom: 13px;
}

.banner-rule {
  width: 160px;
  height: 1px;
  background: linear-gradient(90deg, rgba(229, 222, 201, 0.45), transparent);
  margin-bottom: 13px;
}

.banner-lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.06rem, 1.28vw, 1.18rem);
  line-height: 1.54;
  color: #e6e1d6;
  margin-bottom: 20px;
  max-width: 890px;
}

.banner-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}

.book-banner-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Studio Photorealistic 3D Hardcover Showcase */
.book-showcase-figure {
  position: relative;
  width: 100%;
  max-width: 206px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), filter 420ms ease;
  filter:
    drop-shadow(0 20px 32px rgba(0, 0, 0, 0.78))
    drop-shadow(0 5px 12px rgba(0, 0, 0, 0.55));
}

.book-banner:hover .book-showcase-figure {
  transform: translateY(-5px) scale(1.018);
  filter:
    drop-shadow(0 30px 44px rgba(0, 0, 0, 0.86))
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.62));
}

.book-showcase-figure img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 220ms ease;
}

/* White-Gold & Crystal Glass Buttons (Compact Single-Row) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(180deg, #f5f1e8 0%, #d8cebc 100%);
  border-color: rgba(250, 248, 245, 0.6);
  color: #060a14;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.32);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #faf8f5 0%, #e5dec9 100%);
  box-shadow: 0 10px 24px rgba(229, 222, 201, 0.18);
}

.btn-secondary {
  background: var(--champagne-tint);
  border-color: rgba(229, 222, 201, 0.3);
  color: var(--champagne-bright);
}

.btn-secondary:hover {
  background: rgba(245, 241, 232, 0.12);
  border-color: rgba(245, 241, 232, 0.56);
  color: var(--text-main);
  transform: translateY(-1px);
}

/* About Section: Editorial Split Wrap */
.about-editorial {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-top-grid {
  display: grid;
  grid-template-columns: 336px minmax(0, 1fr);
  gap: 42px;
  align-items: stretch;
}

.portrait-card {
  display: flex;
}

.portrait-frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  border-radius: var(--radius-md);
  padding: 8px;
  background: rgba(229, 222, 201, 0.05);
  border: 1px solid var(--champagne-line);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  border-radius: calc(var(--radius-md) - 4px);
}

.bio-prose p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 14px;
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: none;
  hyphens: none;
}

.bio-prose p:last-child {
  margin-bottom: 0;
}

/* Contact Section */
.contact-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(388px, 33.4%, 422px);
  gap: 22px;
  align-items: stretch;
}

.contact-form-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--champagne-line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.contact-form-fields,
.contact-form-footer {
  transition: opacity 280ms ease, visibility 280ms ease;
}

.contact-form-card.is-sent .contact-form-fields,
.contact-form-card.is-sent .contact-form-footer {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.contact-thankyou-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 32px;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity 340ms ease, transform 340ms ease, visibility 340ms ease;
}

.contact-form-card.is-sent .contact-thankyou-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.contact-thankyou-star {
  font-size: 0.9rem;
  color: var(--champagne);
  opacity: 0.85;
  line-height: 1;
}

.contact-thankyou-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.22rem, 1.55vw, 1.42rem);
  line-height: 1.48;
  color: var(--text-main);
  max-width: 560px;
}

.contact-reset-btn {
  appearance: none;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(229, 222, 201, 0.28);
  padding: 2px 0;
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--champagne-soft);
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}

.contact-reset-btn:hover {
  color: var(--champagne-bright);
  border-color: var(--champagne-bright);
}

.contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-input {
  width: 100%;
  background: rgba(3, 8, 18, 0.56);
  border: 1px solid rgba(229, 222, 201, 0.16);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.45;
  padding: 10px 14px;
  outline: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.contact-input::placeholder {
  color: rgba(214, 208, 196, 0.44);
}

.contact-input:focus {
  border-color: rgba(245, 241, 232, 0.46);
  background: rgba(6, 14, 30, 0.84);
  box-shadow: 0 0 0 3px rgba(229, 222, 201, 0.06);
}

.contact-textarea {
  min-height: 98px;
  height: 98px;
  resize: vertical;
  line-height: 1.56;
}

.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-form-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact-direct-email {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--champagne-bright);
  letter-spacing: 0.01em;
}

.contact-form-status {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: var(--champagne);
  line-height: 1.35;
}

.contact-form-status:empty {
  display: none;
}

.contact-form-status[data-state="error"] {
  color: #e6a89a;
}

.contact-submit-btn {
  padding: 9px 18px;
  font-size: 0.75rem;
  flex-shrink: 0;
  cursor: pointer;
}

.contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.contact-side-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--champagne-line);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: all var(--transition);
}

.contact-card-compact {
  flex: 1;
  padding: 17px 22px;
  gap: 10px;
}

a.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--champagne-line-strong);
  background: var(--bg-card-strong);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 5px;
}

.contact-card-compact h3 {
  font-size: 1.18rem;
  margin-bottom: 3px;
}

.contact-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.58;
}

.contact-card-compact p {
  font-size: 0.89rem;
  line-height: 1.48;
}

.contact-handle {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--champagne-bright);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  word-break: break-all;
}

.contact-card-compact .contact-handle {
  padding-top: 10px;
  font-size: 0.78rem;
}

/* Footer */
.site-footer {
  padding: 44px 0 34px;
  border-top: 1px solid rgba(229, 222, 201, 0.12);
  background: rgba(3, 7, 16, 0.88);
  text-align: center;
}

.footer-epigraph {
  position: relative;
  max-width: 680px;
  margin: 0 auto 30px;
  padding: 56px 0 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-fol-watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 240px;
  height: 240px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.footer-epigraph blockquote {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.16rem;
  line-height: 1.68;
  color: var(--text-body);
  text-shadow: 0 2px 14px rgba(3, 7, 16, 0.92);
}

.footer-epigraph cite {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 9px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--champagne);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--champagne-bright);
}

/* ==========================================================================
   DEDICATED BOOK PAGES (todays-magic.html & barbarossa.html)
   ========================================================================== */
body.modal-open {
  overflow: hidden;
}

.book-page-top {
  padding: 24px 0 36px;
}

.back-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
  margin-bottom: 18px;
  opacity: 0.86;
}

.back-breadcrumb:hover {
  color: var(--champagne-bright);
  opacity: 1;
  transform: translateX(-2px);
}

.book-hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(229, 222, 201, 0.24);
  padding: 32px 38px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
}

.book-hero-card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(229, 222, 201, 0.08);
  border-radius: calc(var(--radius-lg) - 5px);
  pointer-events: none;
}

.book-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 228px;
  gap: 36px;
  align-items: center;
}

.book-hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.92rem, 2.85vw, 2.58rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.12;
  color: var(--text-main);
  margin-bottom: 10px;
}

.book-hero-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.book-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px 34px;
  padding-top: 16px;
  border-top: 1px solid rgba(229, 222, 201, 0.12);
}

.meta-item-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.61rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 3px;
}

.meta-item-val {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.77rem;
  font-weight: 500;
  color: var(--champagne-bright);
}

.book-hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.book-hero-figure {
  width: 100%;
  max-width: 224px;
  filter:
    drop-shadow(0 24px 38px rgba(0, 0, 0, 0.82))
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.58));
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.book-hero-figure:hover {
  transform: translateY(-4px) scale(1.015);
}

.book-hero-figure img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 220ms ease;
}

/* Full-Bleed Horizontal Ouroboros & Left-Aligned Dedication Ribbon */
.dedication-bleed {
  width: 100%;
  padding: 28px 0;
  border-top: 1px solid rgba(229, 222, 201, 0.09);
  border-bottom: 1px solid rgba(229, 222, 201, 0.09);
  background: linear-gradient(180deg, rgba(3, 7, 17, 0.72) 0%, rgba(4, 10, 23, 0.84) 50%, rgba(3, 7, 17, 0.72) 100%);
}

.dedication-lockup {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.dedication-ouroboros {
  width: 108px;
  height: 108px;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.68));
}

.dedication-copy {
  text-align: left;
}

.dedication-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.12rem, 1.42vw, 1.27rem);
  line-height: 1.58;
  color: var(--text-main);
}

.dedication-kicker {
  display: block;
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(229, 222, 201, 0.78);
}

.cover-edition-switch {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(229, 222, 201, 0.18);
  border-radius: 999px;
  padding: 2px;
}

.cover-edition-btn {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}

.cover-edition-btn.active {
  background: var(--champagne-bright);
  color: #060a14;
}

/* Book Dossier Two-Column Layout & Pixel-Aligned Editorial Continuation */
.tmts-editorial-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.book-dossier-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: start;
}

.book-dossier-stretch {
  grid-template-columns: minmax(0, 1fr) clamp(474px, 38.6%, 492px);
  gap: 42px;
  align-items: stretch;
}

.barb-dossier-grid {
  grid-template-columns: minmax(0, 1fr) clamp(442px, 35.4%, 454px);
  gap: 44px;
  align-items: stretch;
}

.barb-dossier-grid .section-kicker-head {
  margin-bottom: 24px;
}

.barb-dossier-grid .book-synopsis-top {
  gap: 17px;
}

.barb-dossier-grid .book-synopsis p {
  font-size: 1.03rem;
  line-height: 1.72;
  margin-bottom: 0;
}

html[lang="tr"] .barb-dossier-grid .book-synopsis-top {
  gap: 19px;
}

html[lang="tr"] .barb-dossier-grid .book-synopsis p {
  font-size: 1.05rem;
  line-height: 1.78;
}

.tmts-editorial-wrap .forthcoming-callout {
  margin-top: 4px;
}

.book-dossier-left-stretch {
  display: flex;
  flex-direction: column;
}

.book-synopsis-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.book-synopsis-top p {
  margin-bottom: 0;
}

.book-dossier-stretch > div:last-child {
  display: flex;
}

.toc-compact-panel {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
}

.toc-compact-panel .side-panel-title {
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.toc-compact-panel .toc-list {
  flex: 1;
  justify-content: space-between;
  gap: 4px;
}

.toc-compact-panel .toc-row {
  font-size: 0.89rem;
  line-height: 1.36;
  padding-bottom: 4px;
}

.toc-compact-panel .panel-footnote {
  margin-top: 10px;
  padding-top: 10px;
  font-size: 0.73rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.book-synopsis p {
  font-size: 1.06rem;
  line-height: 1.84;
  color: var(--text-body);
  margin-bottom: 20px;
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: none;
  hyphens: none;
}

.book-synopsis p:last-child {
  margin-bottom: 0;
}

.ouroboros-medallion-box {
  margin-top: 30px;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  background: rgba(6, 13, 28, 0.72);
  border: 1px solid rgba(229, 222, 201, 0.16);
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.ouroboros-medallion-box img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  opacity: 0.88;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.6));
}

.ouroboros-medallion-box blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.58;
  color: var(--text-main);
}

.ouroboros-medallion-box cite {
  display: block;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: var(--champagne);
}

.forthcoming-callout {
  margin-top: 26px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: rgba(229, 222, 201, 0.05);
  border: 1px solid rgba(229, 222, 201, 0.2);
  font-size: 0.98rem;
  line-height: 1.68;
  color: var(--text-body);
}

.forthcoming-callout strong {
  color: var(--champagne-bright);
  font-weight: 600;
}

.museum-side-panel {
  background: rgba(6, 13, 28, 0.78);
  border: 1px solid rgba(229, 222, 201, 0.18);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

.side-panel-title {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--champagne);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(229, 222, 201, 0.12);
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.toc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.94rem;
  line-height: 1.48;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(229, 222, 201, 0.08);
}

.toc-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.toc-chapter-name {
  color: var(--text-body);
}

.toc-page-num {
  font-family: var(--font-sans);
  font-size: 0.73rem;
  color: var(--champagne-soft);
  white-space: nowrap;
}

.panel-footnote {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(229, 222, 201, 0.12);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.afterword-box {
  margin-top: 22px;
  background: rgba(6, 13, 28, 0.65);
  border: 1px solid rgba(229, 222, 201, 0.14);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}

.afterword-box blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--text-body);
}

.afterword-box cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.7rem;
  color: var(--champagne);
}

/* Historical Canvas List (Barbarossa) */
.canvas-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.canvas-item {
  padding: 0;
  border: none;
}

.canvas-divider {
  list-style: none;
  width: 100%;
  height: 1px;
  background: rgba(229, 222, 201, 0.1);
  flex-shrink: 0;
}

.canvas-item h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.28;
  color: var(--champagne-bright);
  margin-bottom: 4px;
}

.canvas-item p {
  font-size: 0.91rem;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: none;
  hyphens: none;
}

.canvas-compact-panel {
  width: 100%;
  padding: 25px 27px;
  display: flex;
  flex-direction: column;
}

.canvas-compact-panel .side-panel-title {
  padding-bottom: 13px;
  margin-bottom: 14px;
}

.canvas-compact-panel .canvas-list {
  flex: 1;
  justify-content: space-between;
  gap: 8px;
}

/* Selected Passages Grid */
.passages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.passage-card {
  background: rgba(6, 13, 28, 0.78);
  border: 1px solid rgba(229, 222, 201, 0.16);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.passage-kicker {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne-soft);
  margin-bottom: 8px;
  display: block;
}

.passage-card blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.14rem;
  line-height: 1.64;
  color: var(--text-main);
}

.passage-card cite {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.67rem;
  letter-spacing: 0.15em;
  color: var(--champagne);
}

/* Excerpts Archive Grid & Filter Bar */
.excerpts-header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.excerpts-header-bar .section-desc {
  max-width: 820px;
}

/* Excerpts 3-Card Horizontal Carousel */
.excerpts-carousel {
  position: relative;
  --excerpts-per-view: 3;
}

.excerpts-carousel-stage {
  position: relative;
  display: flex;
  align-items: center;
}

.excerpts-viewport {
  width: 100%;
  overflow: hidden;
  padding: 6px 0 12px;
  margin: -6px 0 -12px;
}

.excerpts-track {
  display: flex;
  gap: 20px;
  align-items: stretch;
  transition: transform 1150ms cubic-bezier(0.25, 0.85, 0.25, 1);
  will-change: transform;
}

.excerpts-track .excerpt-card {
  flex: 0 0 calc((100% - (var(--excerpts-per-view) - 1) * 20px) / var(--excerpts-per-view));
  min-width: 0;
}

.excerpts-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.excerpts-arrow:hover {
  transform: translateY(-50%) scale(1.05);
}

.excerpts-arrow:disabled {
  opacity: 0.25;
  pointer-events: none;
}

.excerpts-prev {
  left: -50px;
}

.excerpts-next {
  right: -50px;
}

.excerpts-footer-controls {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.excerpts-footer-controls .carousel-dots {
  margin-top: 0;
}

@media (max-width: 1440px) {
  .excerpts-carousel-stage {
    gap: 12px;
  }

  .excerpts-arrow,
  .excerpts-arrow:hover {
    position: static;
    transform: none;
  }
}

.excerpt-card {
  background: rgba(6, 13, 28, 0.8);
  border: 1px solid rgba(229, 222, 201, 0.16);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  transition: all var(--transition);
}

.excerpt-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 241, 232, 0.42);
  background: rgba(8, 17, 36, 0.92);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.48);
}

.excerpt-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.excerpt-num {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--champagne);
}

.excerpt-chapter {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.excerpt-title {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 10px;
}

.excerpt-snippet {
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--text-muted);
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: none;
  hyphens: none;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.excerpt-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.excerpt-card .tag-row {
  flex-wrap: nowrap;
  gap: 5px;
}

.excerpt-card .tag-chip {
  font-size: 0.625rem;
  padding: 2px 7px;
  white-space: nowrap;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-chip {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  color: var(--champagne);
  background: rgba(229, 222, 201, 0.06);
  border: 1px solid rgba(229, 222, 201, 0.14);
  padding: 2px 8px;
  border-radius: 4px;
}

.read-more-link {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--champagne-bright);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Excerpt Reader Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(2, 6, 14, 0.84);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  background: #060f22;
  border: 1px solid rgba(229, 222, 201, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.78);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 26px;
  border-bottom: 1px solid rgba(229, 222, 201, 0.12);
}

.modal-kicker {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--champagne);
}

.modal-close {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(229, 222, 201, 0.2);
  color: var(--text-main);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.modal-close:hover {
  border-color: var(--champagne-bright);
}

.modal-body {
  padding: 26px 30px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(229, 222, 201, 0.24) #060f22;
}

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.24;
  color: var(--text-main);
  margin-bottom: 18px;
}

.modal-abstract p {
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--text-body);
  margin-bottom: 15px;
  text-align: justify;
  text-justify: inter-word;
  -webkit-hyphens: none;
  hyphens: none;
}

.modal-offprint-box {
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: var(--radius-sm);
  background: rgba(229, 222, 201, 0.05);
  border-left: 2px solid var(--champagne);
}

.modal-section-label {
  font-family: var(--font-sans);
  font-size: 0.77rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--champagne-bright);
  padding-bottom: 9px;
  margin-bottom: 9px;
  border-bottom: 1px solid rgba(229, 222, 201, 0.12);
}

.nowrap-span {
  white-space: nowrap;
}

.modal-continuation {
  font-size: 0.89rem;
  line-height: 1.62;
  color: var(--text-muted);
}

.modal-tags-block {
  margin-top: 20px;
}

.modal-tags-title {
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 26px;
  border-top: 1px solid rgba(229, 222, 201, 0.12);
  background: rgba(3, 8, 18, 0.6);
}

.modal-nav-group {
  display: flex;
  gap: 8px;
}

/* Companion Book Footer Card */
.companion-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 34px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(229, 222, 201, 0.2);
  background: rgba(6, 13, 28, 0.82);
}

.companion-card h3 {
  font-family: var(--font-display);
  font-size: 1.52rem;
  font-weight: 500;
  color: var(--text-main);
  margin: 4px 0;
}

.companion-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .book-banner {
    padding: 34px 32px;
  }

  .book-banner-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .book-banner-visual {
    order: -1;
  }

  .banner-rule {
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(90deg, transparent, rgba(229, 222, 201, 0.45), transparent);
  }

  .banner-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .banner-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .about-top-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .portrait-card {
    max-width: 280px;
    margin: 0 auto;
  }

  .portrait-frame,
  .portrait-frame img {
    height: auto;
  }

  .contact-split-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-side-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .book-hero-card {
    padding: 32px 28px;
  }

  .book-hero-grid,
  .book-dossier-grid,
  .book-dossier-stretch,
  .barb-dossier-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .canvas-compact-panel .canvas-list {
    justify-content: flex-start;
    gap: 14px;
  }

  .book-hero-visual {
    order: -1;
  }

  .book-hero-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .book-meta-strip {
    justify-content: center;
    gap: 14px 26px;
  }

  .book-editorial-flow {
    display: flex;
    flex-direction: column;
  }

  .toc-float-panel {
    float: none;
    width: 100%;
    margin: 26px 0 0;
    order: 3;
  }

  .excerpts-carousel {
    --excerpts-per-view: 2;
  }

  .passages-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .brand-signature {
    font-size: 2.05rem;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: rgba(4, 9, 21, 0.97);
    border-bottom: 1px solid var(--champagne-line);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .book-banner,
  .book-hero-card {
    padding: 26px 20px;
  }

  .excerpts-carousel {
    --excerpts-per-view: 1;
  }

  .dedication-lockup {
    grid-template-columns: 1fr;
    gap: 16px;
    justify-items: center;
  }

  .dedication-copy {
    text-align: center;
    padding-left: 0;
    border-left: none;
  }

  .ouroboros-medallion-box {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .companion-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .toc-compact-panel .panel-footnote {
    white-space: normal;
  }

  .contact-form-row,
  .contact-side-stack {
    grid-template-columns: 1fr;
  }

  .contact-form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-submit-btn {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
