@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('/static/fonts/raleway-v18-latin-regular.eot'); 
  src: local(''),
       url('/static/fonts/raleway-v18-latin-regular.eot?#iefix') format('embedded-opentype'),
       url('/static/fonts/raleway-v18-latin-regular.woff2') format('woff2'), 
       url('/static/fonts/raleway-v18-latin-regular.woff') format('woff'), 
       url('/static/fonts/raleway-v18-latin-regular.ttf') format('truetype'), 
       url('/static/fonts/raleway-v18-latin-regular.svg#Raleway') format('svg'); 
}
@font-face {
  font-family: 'Raleway600';
  font-style: normal;
  font-weight: 600;
  src: url('/static/fonts/raleway-v18-latin-600.eot'); 
  src: local(''),
       url('/static/fonts/raleway-v18-latin-600.eot?#iefix') format('embedded-opentype'), 
       url('/static/fonts/raleway-v18-latin-600.woff2') format('woff2'), 
       url('/static/fonts/raleway-v18-latin-600.woff') format('woff'), 
       url('/static/fonts/raleway-v18-latin-600.ttf') format('truetype'), 
       url('/static/fonts/raleway-v18-latin-600.svg#Raleway') format('svg'); 
}
@font-face {
  font-family: 'Raleway800';
  font-style: normal;
  font-weight: 800;
  src: url('/static/fonts/raleway-v18-latin-800.eot'); 
  src: local(''),
       url('/static/fonts/raleway-v18-latin-800.eot?#iefix') format('embedded-opentype'), 
       url('/static/fonts/raleway-v18-latin-800.woff2') format('woff2'), 
       url('/static/fonts/raleway-v18-latin-800.woff') format('woff'), 
       url('/static/fonts/raleway-v18-latin-800.ttf') format('truetype'), 
       url('/static/fonts/raleway-v18-latin-800.svg#Raleway') format('svg'); 
}
.helveticaFont {font-family: Helvetica;}
.raleway600Font {font-family: 'Raleway600';}
.raleway800Font {font-family: 'Raleway800';}
   
/* Standardized Colors, also in common.js  */
.medGreenColor  { color: rgba(0,   186, 0,   1    ); }
.fullGreenColor { color: rgba(0,   255, 0,   1    ); }
.ltGreenColor   { color: rgba(128, 186, 128, 0.80 ); }
.dkGreenColor   { color: rgba(102, 204, 102, 0.3  ); }
.medRedColor    { color: rgba(220, 0,   0,   1    ); }
.fullRedColor   { color: rgba(255, 0,   0,   1    ); }
.ltRedColor     { color: rgba(255, 128, 100, 0.75 ); }
.dkRedColor     { color: rgba(170, 0,   102, 1    ); }
.goldColor      { color: rgba(243, 200, 91,  1    ); }
.dkGoldColor    { color: rgba(206, 155, 28,  1    ); }
.ourBlueColor   { color: rgba(0,   145, 187, 1    ); }
.blueColor      { color: rgba(51,  0,   221, 1    ); }
.ltBlueColor    { color: rgba(86,  160, 255, 1    ); }
.brtBlueColor   { color: rgba(0,   150, 255, 0.9  ); }
.coolBlueColor  { color: rgba(75,  225, 255, 1    ); }
        
.space40pct     { letter-spacing    : 0.4px; }     
.size10px       { font-size         : 10px; } 
.size14px       { font-size         : 14px; }   
.bold {font-weight: bold;}    
.marginBottom1em {margin-bottom: 1em;}

*{margin:0;padding:0;}

body {
  margin:0;
  padding:0;
  background-color: #fdfdfd;
  color: #333;

  line-height: 1.6;
  scroll-snap-type: y mandatory; /* Enable snapping */
  overscroll-behavior-y: contain; /* Prevent overscroll bounce */
  height: 100vh; /* Ensure body takes full viewport height */
  overflow-y: scroll; /* Enable vertical scrolling */
}

img {
  border: none;
}

@media screen{
  body>div#footer{
   position: fixed;
  }
}



* html body{
  overflow:hidden;
  margin:0;padding:0;
} 
 * html div#content{
  height:100%;
  overflow:auto;
}
/* General resets */
* {
  margin        : 0;
  padding       : 0;
  box-sizing    : border-box;
  font-family   : 'Raleway';
}

html {
  scroll-behavior: smooth; /* Smooth scrolling */
  margin: 0 !important;
  padding: 0 !important;
}

body {
  margin: 0 !important;
  padding: 0 !important;
}



.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

/* HEADER & NAVIGATION */
.site-header {
  background: #050505;
  color: #f4efe7;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.site-header .container {
  padding-top: 0;
  padding-bottom: 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  min-height: 84px;
  width: 100%;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-wordmark {
  display: block;
  height: 76px;
  margin-left: 0;
  width: auto;
}

.brand-tagline {
  display: block;
  margin-top: 0.04rem;
  text-align: center;
  color: rgba(244, 239, 231, 0.82);
  font-family: 'Raleway600', 'Raleway', Helvetica, Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.015em;
  max-width: 380px;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: center;
  gap: 1rem;
  margin-left: auto;
  flex: 1 1 auto;
  min-height: 84px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #e0be56;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.nav-links li a:hover {
  color: #f0cc63;
  text-decoration: none;
}


.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0 !important;
  align-self: center;
  min-height: 46px;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}


/* HERO SECTION — full portrait cover + balanced copy column */
.hero {
  --hero-image-height: 760px;
  position: relative;
  background-color: #ffffff;
  background-image:
    radial-gradient(circle at 22% 18%, rgba(212, 175, 55, 0.18), transparent 26%),
    linear-gradient(180deg, #efd17a 0%, #f6e8bc 42%, #ffffff 88%, #ffffff 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: top left, top left;
  background-size: 100% var(--hero-image-height), 100% var(--hero-image-height);
  color: #111;
  text-align: left;
  padding: 1.5rem 0 2.25rem;
  margin-top: 0;
  overflow: hidden;
}

.hero-content {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 3rem;
  padding-top: 0.5rem;
}

.hero-media {
  flex: 0 1 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  margin: 0;
}

.hero-img {
  width: auto;
  height: auto;
  max-width: min(100%, 340px);
  max-height: min(72vh, 720px);
  display: block;
  object-fit: contain;
  object-position: center top;
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.hero-text {
  flex: 1 1 380px;
  max-width: 520px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  margin: 0 0 0.9rem;
  color: #8f6b12;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-text h1 {
  margin: 0;
  color: #111;
  font-family: 'Raleway800', Helvetica, Arial, sans-serif;
  font-size: clamp(2.05rem, 3.6vw, 3.35rem);
  line-height: 1.05;
  max-width: 14ch;
}

.hero .container {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
}

.hero-subhead {
  margin: 1.25rem 0 0;
  color: #2e2a24;
  font-size: 1.18rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.hero-primary {
  margin-top: 0;
}

.hero-secondary {
  color: #7d5f08;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
}

.hero-secondary:hover {
  color: #5f4600;
  text-decoration: underline;
}

p {
  margin: 15px 0;
}

.bonus p {
  text-align: center;
}

.center {
    text-align: center;
}
.mw860 {
    max-width:860px;
    margin: 0 auto;
}
.mt4 {
  margin-top: 4.0rem !important;
}
.mt2 {
  margin-top: 2.0rem !important;
}

/* DESCRIPTION SECTION */
.description {
  background-color: #000;
  color: #fff;
  padding: 2rem 0;
}

.description h1, h2 {
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.8rem;
  font-family: 'Raleway800';
}

/* BONUS SECTION */
.bonus {
  background-color: #fff;
  color: #333;
  padding: 2rem 0;
}

.bonus h2 {
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.8rem;
}

/* ORDER SECTION */
.gray_bg {
  background-color: #eee;
  text-align: center;
}

.white_bg {
  background-color: #fff;
  text-align: center;
}

.order-content {
  display: inline-block;
  max-width: 600px;
  margin: 0 auto;
}

.order-button {
  display: inline-block;
  background-color: #D4AF37; /* Classy gold color */
  color: #fff;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.order-button:hover {
  background-color: #B8860B; /* Darker gold on hover */
}

/* CONTACT SECTION */
.contact {
  background-color: #fff;
  padding: 2rem 0;
}

.contact h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  margin-top: 1.5rem;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  background-color: #333;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #666;
}
#name_error, #email_error, #message_error {
    background-color: red;
    margin-left: 10px;
    color: white;
    font-weight: bold;
    padding: 2px 10px 2px 10px;
    display: none;
}

/* FOOTER */
.site-footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}

@media (min-width: 993px) and (max-width: 1399px) {
  .hero {
    padding: 2.25rem 0 1.75rem;
  }
}

@media (min-width: 1400px) {
  .hero {
    padding: 0;
  }
}

/* MEDIA QUERIES FOR RESPONSIVENESS */
@media (min-width: 993px) and (max-width: 1200px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    min-height: auto;
    padding: 0.75rem 0;
  }

  .brand-lockup {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .nav-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: auto;
    margin-left: 0;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.65rem 1rem;
  }

  .nav-links li a {
    white-space: nowrap;
  }

  .nav-cta {
    margin-top: 0.15rem !important;
  }
}

@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
    padding-top: 0;
    gap: 0.6rem;
  }

  .hero-media {
    flex-basis: auto;
    width: 100%;
    margin: 0;
  }

  .hero-img {
    max-width: min(100%, 300px);
    max-height: 62vh;
    margin: 0 auto;
  }

  .hero-text {
    flex: 1 1 280px;
    max-width: 100%;
    text-align: center;
    padding-top: 0;
    margin: 0;
  }

  .hero-text h1 {
    max-width: none;
  }

  .hero-actions {
    justify-content: center;
    margin-top: 0.7rem;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    min-height: auto;
    padding: 0.75rem 0;
  }

  .brand-lockup {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .nav-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
    min-height: auto;
    margin-left: 0;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-top: 0;
    justify-content: center;
  }

  .nav-cta {
    margin-top: 0.15rem !important;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 0.35rem 0 0.45rem;
    text-align: center;
  }

  .hero-content {
    gap: 0.5rem;
  }

  .hero-media {
    background: transparent;
    margin: 0;
  }

  .hero-img {
    max-width: min(100%, 260px);
    max-height: 58vh;
    margin: 0 auto;
  }

  .hero-text {
    margin: 0;
  }

  .brand-lockup {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .brand-wordmark {
    height: 54px;
  }

  .brand-tagline {
    max-width: 240px;
    margin-top: 0.14rem;
    font-size: 0.78rem;
    line-height: 1.2;
    white-space: normal;
  }

  .nav-cta {
    margin-top: 0.15rem;
  }

  .nav-links li a {
    font-size: 0.92rem;
  }

}

  .chat-launch-wrap {
    margin-top: 1.5rem;
    text-align: center;
  }

  .chat-launch-button {
    background: linear-gradient(135deg, #23283c 0%, #2f3652 100%);
    border: 1px solid rgba(120, 146, 255, 0.28);
    border-radius: 999px;
    color: #f4f6ff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.85rem 1.6rem;
    transition: transform 0.16s ease, background 0.16s ease;
  }

  .chat-launch-button:hover,
  .chat-launch-button:focus-visible {
    background: linear-gradient(135deg, #29304a 0%, #394269 100%);
    transform: translateY(-1px);
  }

  .book-chat-modal[hidden] {
    display: none !important;
  }

  .book-chat-modal {
    align-items: center;
    background: rgba(5, 7, 18, 0.82);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 1200;
  }

  .book-chat-dialog {
    background: linear-gradient(180deg, #0d1020 0%, #14182a 100%);
    border: 1px solid rgba(113, 134, 255, 0.22);
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
    color: #eef1ff;
    display: flex;
    flex-direction: column;
    max-height: min(86vh, 900px);
    max-width: 960px;
    overflow: hidden;
    width: min(100%, 960px);
  }

  .book-chat-header {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    padding: 22px 24px 18px;
  }

  .book-chat-header h3 {
    color: #f4f6ff;
    font-size: clamp(1.5rem, 2vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0;
    text-align: center;
    width: 100%;
  }

  .book-chat-header h3 span {
    color: #6f8cff;
  }

  .book-chat-close {
    background: transparent;
    border: 0;
    color: rgba(240, 243, 255, 0.72);
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    margin-left: 16px;
    padding: 0;
  }

  .book-chat-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    padding: 0 24px 24px;
  }

  .book-chat-empty {
    color: rgba(228, 233, 255, 0.72);
    flex: 1 1 auto;
    margin: 0 auto;
    max-width: 760px;
    min-height: 0;
    overflow-y: auto;
    padding: 30px 0 18px;
    text-align: center;
  }

  .book-chat-empty p {
    font-size: clamp(1.15rem, 1.75vw, 1.45rem);
    line-height: 1.6;
    margin: 0;
  }

  .book-chat-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin: 26px auto 10px;
    max-width: 860px;
  }

  .book-chat-prompt {
    background: linear-gradient(180deg, rgba(46, 52, 77, 0.95) 0%, rgba(39, 45, 69, 0.95) 100%);
    border: 1px solid rgba(123, 145, 255, 0.18);
    border-radius: 999px;
    color: #eef1ff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.9rem 1.35rem;
  }

  .book-chat-history {
    display: none;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 4px 4px;
  }

  .book-chat-history.has-messages {
    display: block;
  }

  .book-chat-bubble {
    border-radius: 20px;
    margin-bottom: 14px;
    max-width: min(82%, 760px);
    padding: 16px 18px;
    white-space: pre-wrap;
    word-break: break-word;
  }

  .book-chat-bubble.user {
    background: linear-gradient(135deg, #1c6fff 0%, #3e86ff 100%);
    color: #ffffff;
    margin-left: auto;
  }

  .book-chat-bubble.assistant {
    background: rgba(255, 255, 255, 0.08);
    color: #eef1ff;
    margin-right: auto;
  }

  .book-chat-bubble.error {
    background: rgba(255, 107, 107, 0.14);
    border: 1px solid rgba(255, 107, 107, 0.25);
    color: #ffdede;
    margin-right: auto;
  }

  .book-chat-cursor {
    animation: chat-blink 0.9s steps(1, end) infinite;
    display: inline-block;
    margin-left: 2px;
  }

  @keyframes chat-blink {
    0%, 50% { opacity: 1; }
    50.01%, 100% { opacity: 0.25; }
  }

  .book-chat-controls {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding-top: 14px;
  }

  .book-chat-clear {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: rgba(240, 243, 255, 0.75);
    cursor: pointer;
    display: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.65rem 1rem;
  }

  .book-chat-clear.visible {
    display: inline-flex;
  }

  .book-chat-composer {
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    display: flex;
    flex: 1 1 auto;
    gap: 10px;
    padding: 8px 8px 8px 18px;
  }

  .book-chat-input {
    background: transparent;
    border: 0;
    color: #eef1ff;
    flex: 1 1 auto;
    font-size: 1rem;
    outline: none;
  }

  .book-chat-input::placeholder {
    color: rgba(228, 233, 255, 0.42);
  }

  .book-chat-send {
    background: linear-gradient(135deg, #2b7dff 0%, #5a85ff 100%);
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    min-width: 88px;
    padding: 0.8rem 1.2rem;
  }

  .book-chat-send:disabled,
  .book-chat-clear:disabled,
  .book-chat-prompt:disabled {
    cursor: default;
    opacity: 0.55;
  }

  .book-chat-status {
    color: rgba(228, 233, 255, 0.48);
    font-size: 0.9rem;
    margin-top: 10px;
    min-height: 1.2em;
    text-align: right;
  }

  @media (max-width: 768px) {
    .book-chat-modal {
      padding: 12px;
    }

    .book-chat-dialog {
      border-radius: 18px;
      max-height: calc(100vh - 24px);
    }

    .book-chat-header,
    .book-chat-body {
      padding-left: 16px;
      padding-right: 16px;
    }

    .book-chat-bubble {
      max-width: 100%;
    }

    .book-chat-controls {
      align-items: stretch;
      flex-direction: column;
    }

    .book-chat-composer {
      width: 100%;
    }

    .book-chat-clear {
      align-self: flex-start;
    }
  }
  
  .important {
      position: absolute; 
      left: -9999px; 
      top: -9999px;
  }


/* ---- 2026-09-21: header lockup, hero cover at its true aspect ratio, book pages ---- */
.brand-wordmark { height: 36px; width: auto; max-width: min(48vw, 352px); }
.brand-tagline { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(244, 239, 231, 0.7); max-width: none; margin-top: 0.3rem; }
@media (min-width: 1201px) {
  .navbar { flex-wrap: wrap; row-gap: 0.5rem; }
  /* The tagline centers under the wordmark (base rule); the lockup itself still sits at the left
     of the navbar. The left-aligned override was removed at the author's request, 2026-09-22. */
  .nav-links { gap: 1.1rem; }
  .nav-links li a { font-size: 0.92rem; white-space: nowrap; }
}
/* Phone and tablet (the navbar stacks below 992px, so the wordmark has the full width to itself):
   size the wordmark by WIDTH, not by the desktop 48vw cap above, which rendered it ~20px tall on a
   390px iPhone. 100% is the container's content width (padding already removed), capped at the
   desktop width, so it prints ~37px tall on any phone wider than 352px and scales down below that.
   The tagline tracks the viewport and stays on one line down to 320px (author, 2026-09-22). */
@media (max-width: 992px) {
  .brand-wordmark { height: auto; width: min(100%, 352px); max-width: none; }
  .brand-tagline { font-size: clamp(0.7rem, 3.3vw, 0.8rem); }
}
/* Hero ground: warm ivory, like the book's paper, with a faint gold glow behind the cover and a gold rule below.
   Replaces the saturated yellow fade (author, 2026-09-22). */
.hero { overflow: visible; background-color: #f3eee4; background-image: linear-gradient(180deg, #eae3d5 0%, #f3eee4 55%, #f8f5ee 100%); background-size: auto; background-repeat: no-repeat; border-bottom: 3px solid #c9a227; padding: 2.5rem 0 2.5rem; }
@media (min-width: 993px) { .hero { background-image: radial-gradient(ellipse 30% 60% at 30% 50%, rgba(201, 162, 39, 0.18), transparent 100%), linear-gradient(180deg, #eae3d5 0%, #f3eee4 55%, #f8f5ee 100%); } }
@media (min-width: 1400px) { .hero { padding: 2.75rem 0 2.5rem; } }
.hero-kicker { color: #8a6a14; }
.hero-media { flex: 0 1 360px; }
.hero-img { width: min(100%, 360px); height: auto; max-height: none; aspect-ratio: 900 / 1440; object-fit: cover; object-position: center; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); }
.hero-text h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; max-width: 20ch; }
@media (max-width: 992px) { .hero-text h1 { max-width: none; } .hero-img { width: min(100%, 300px); } }
@media (max-width: 768px) { .hero-img { width: min(100%, 260px); } }
.parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; margin: 1.5rem 0 0.5rem; }
.parts .part { background: rgba(212, 175, 55, 0.08); border-left: 3px solid #d4af37; padding: 1rem 1.1rem; }
.parts .part h3 { margin: 0 0 0.35rem; font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; color: #c9a227; }
.parts .part p { margin: 0; font-size: 0.97rem; }
.inside-list { padding-left: 1.2rem; margin: 0.5rem 0 1rem; } .inside-list li { margin-bottom: 0.45rem; }
.pull { border-left: 3px solid #d4af37; padding: 0.2rem 0 0.2rem 1.1rem; margin: 1.5rem 0; font-size: 1.15rem; font-style: italic; }
.editions { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1rem 0 1.5rem; }
.editions div { border: 1px solid rgba(0,0,0,0.12); padding: 0.9rem 1rem; background: #fff; }
.editions strong { display: block; margin-bottom: 0.25rem; }
.biblio_head { margin: 0.5rem 0 1.4rem; color: #444; font-style: italic; }
.figure-block { margin: 2.2rem 0; } .figure-block img { width: 100%; height: auto; border: 1px solid rgba(0,0,0,0.08); }
.figure-block figcaption { font-size: 0.95rem; color: #333; margin-top: 0.6rem; line-height: 1.45; }
.prose { max-width: 720px; margin: 0 auto; font-size: 1.12rem; line-height: 1.65; } .prose p { margin: 0 0 1.1em; } .prose blockquote { margin: 1.4em 1.5em; font-style: italic; }
.prose .footnotes { font-size: 0.92rem; color: #333; margin-top: 2rem; border-top: 1px solid rgba(0,0,0,0.12); padding-top: 1rem; }
.prose .footnotes ol { padding-left: 1.4rem; } .prose .footnotes li { margin-bottom: 0.5rem; } .prose .footnote-back { text-decoration: none; margin-left: 0.3rem; }
.chron p { margin: 0 0 0.8em; }
.biblio_entry { padding-left: 1.6em; text-indent: -1.6em; margin: 0 0 0.55rem; font-size: 0.98rem; }
