/* =========================================================================
   Lordsburg Press — stylesheet
   Editorial / literary-press aesthetic. Type-driven. Restrained.
   Font system: Cinzel (nav/labels) + Cormorant Garamond (display) + Lora (body)
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --cream:        #F5F1E6;
  --white:        #FFFFFF;
  --cream-warm:   #EDE7D5;
  --rule:         #D4CBB6;
  --ink:          #1A1410;
  --ink-muted:    #5C5248;
  --ink-soft:     #574E44;
  --dark:         #0A0908;
  --dark-2:       #171310;
  --orange:       #E89A2C;
  --orange-deep:  #C17A1C;
  --leaf:         #3E6B2E;

  --display:  'Cormorant Garamond', 'Garamond', Georgia, serif;
  --chrome:   'Cinzel', 'Cormorant Garamond', Georgia, serif;
  --body:     'Lora', 'Source Serif Pro', Georgia, serif;

  --measure: 38rem;
  --measure-wide: 52rem;
  --ease: cubic-bezier(.2,.65,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "onum";
}

img { max-width: 100%; display: block; }
a  { color: var(--ink); text-decoration: none; }
p  { margin: 0 0 1.2em; }
::selection { background: var(--orange); color: var(--white); }

/* ------- Header (sticky) ------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .3s var(--ease);
}
.site-header--scrolled {
  box-shadow: 0 2px 12px rgba(26,20,16,.1);
}
.site-header__inner {
  max-width: 98rem;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-logo { display: block; line-height: 0; }
.site-logo img { height: 128px; width: auto; }
.site-header__right {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav { display: flex; gap: 1.8rem; flex-wrap: wrap; align-items: center; }
.site-nav a {
  color: var(--ink);
  font-family: var(--chrome);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--orange-deep);
  border-bottom-color: var(--orange);
}
.site-social {
  display: flex;
  gap: .8rem;
  align-items: center;
}
.site-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--ink-muted);
  transition: all .3s var(--ease);
}
.site-social a:hover {
  color: var(--orange-deep);
  border-color: var(--orange);
  background: rgba(232,154,44,.06);
}
.site-social a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ------- Hero (homepage) ------- */
.hero {
  padding: 5.5rem 2rem 4.5rem;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.hero__eyebrow {
  font-family: var(--chrome);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.8rem;
  font-weight: 500;
}
.hero__tagline {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  font-style: italic;
  max-width: 22ch;
  margin: 0 auto 1.2rem;
  color: var(--ink);
}
.hero__tagline em {
  color: var(--orange-deep);
  font-style: italic;
}
.hero__mission {
  max-width: var(--measure);
  margin: 2.4rem auto 0;
  font-size: 1.06rem;
  color: var(--ink-muted);
  line-height: 1.75;
}

/* ------- Page header ------- */
.page-head {
  padding: 5rem 2rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.page-head__eyebrow {
  font-family: var(--chrome);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
  font-weight: 500;
}
.page-head__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0;
}
.page-head__title em {
  font-style: italic;
  color: var(--orange-deep);
  font-weight: 300;
}

/* ------- Main content ------- */
main { display: block; }
.section { padding: 4.5rem 2rem; }
.section--alt {
  background: var(--cream-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.prose {
  max-width: var(--measure);
  margin: 0 auto;
}
.prose--wide { max-width: 43.7rem; }
.prose h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 1.22;
  letter-spacing: -.005em;
  margin: 3rem 0 1rem;
  color: var(--ink);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 2rem 0 .7rem;
  color: var(--ink);
}
.prose p {
  font-size: 1.06rem;
  line-height: 1.78;
  color: var(--ink);
}
.prose a {
  color: var(--orange-deep);
  border-bottom: 1px solid var(--orange);
  padding-bottom: 1px;
  transition: background-color .3s var(--ease);
}
.prose a:hover { background: rgba(232,154,44,.15); }
.prose em { font-style: italic; }
.prose ul {
  padding-left: 1.4rem;
  margin: 0 0 1.2em;
}
.prose ul li {
  font-size: 1.04rem;
  line-height: 1.72;
  margin-bottom: .5em;
  color: var(--ink);
}
.prose .highlight-line {
  font-size: 1.12rem;
  line-height: 1.6;
  font-family: var(--display);
  font-style: italic;
  color: var(--ink);
  margin-top: 2rem;
}
.prose .detail-block {
  margin-top: 2rem;
  padding: 1.8rem;
  background: var(--cream-warm);
  border: 1px solid var(--rule);
  font-size: 1rem;
  line-height: 1.72;
}
.prose .detail-block p { font-size: 1.02rem; margin-bottom: .8em; }
.prose .detail-block p:last-child { margin-bottom: 0; }
.prose .detail-block strong { color: var(--ink); }

/* ------- Asterism ------- */
.asterism {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  color: var(--orange);
  font-size: 1.2rem;
  margin: 3.5rem 0;
  letter-spacing: .4em;
  user-select: none;
}
.asterism::before,
.asterism::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  background: var(--rule);
}

/* ------- Featured book (homepage) ------- */
.featured {
  max-width: 60rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 760px) {
  .featured { grid-template-columns: 1fr 1.4fr; gap: 4rem; }
}
.featured__cover {
  background: var(--dark);
  border: 1px solid var(--rule);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(26,20,16,.08), 0 30px 60px -20px rgba(26,20,16,.35);
}
.featured__cover img { width: 100%; height: auto; display: block; }
.featured__body .eyebrow {
  font-family: var(--chrome);
  font-size: .8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-weight: 500;
}
.featured__body h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2.1rem;
  line-height: 1.18;
  margin: 0 0 .4rem;
}
.featured__body .byline {
  font-family: var(--display);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 1.6rem;
}
.featured__body p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink);
}
.featured__body .status {
  display: inline-block;
  margin-top: .4rem;
  padding: .4rem .9rem;
  background: rgba(232,154,44,.12);
  border: 1px solid var(--orange);
  color: var(--orange-deep);
  font-family: var(--chrome);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ------- Book card (catalog) ------- */
.book-list {
  max-width: 60rem;
  margin: 0 auto;
}
.book {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 4rem;
}
@media (min-width: 760px) {
  .book { grid-template-columns: 260px 1fr; gap: 3.5rem; }
}
.book__cover {
  background: var(--dark);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(26,20,16,.08), 0 20px 45px -20px rgba(26,20,16,.35);
  align-self: start;
}
.book__cover img { width: 100%; height: auto; display: block; }
.book__meta .eyebrow {
  font-family: var(--chrome);
  font-size: .78rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .7rem;
  font-weight: 500;
}
.book__meta h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.95rem;
  line-height: 1.18;
  margin: 0 0 .2rem;
}
.book__meta .byline {
  font-family: var(--display);
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.book__meta p { font-size: 1rem; line-height: 1.72; }
.book__meta .status {
  display: inline-block;
  margin-top: .6rem;
  padding: .4rem .9rem;
  background: rgba(232,154,44,.12);
  border: 1px solid var(--orange);
  color: var(--orange-deep);
  font-family: var(--chrome);
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
}
.book__meta .book-tags {
  margin-top: 1rem;
  font-family: var(--display);
  font-size: 1.08rem;
  letter-spacing: .03em;
  color: var(--ink-muted);
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
}
.book__meta .book-details {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
  font-family: var(--display);
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--ink-muted);
}
.book__meta .book-details strong { color: var(--ink); }
.book__meta .author-note {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--ink-muted);
}
.book__meta .author-note strong {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
}

/* ------- CTA button ------- */
.cta-btn {
  display: inline-block;
  font-family: var(--chrome);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  padding: .75rem 1.8rem;
  border: 1px solid var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease);
  margin-top: 1.2rem;
}
.cta-btn:hover {
  background: var(--orange-deep);
  border-color: var(--orange-deep);
  color: var(--cream);
}
.cta-btn--outline {
  background: transparent;
  color: var(--ink);
}
.cta-btn--outline:hover {
  background: var(--ink);
  color: var(--cream);
}
.cta-btn + .cta-btn { margin-left: .8rem; }

/* ------- Contact ------- */
.contact {
  max-width: var(--measure);
  margin: 0 auto;
  text-align: center;
}
.contact h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.7rem;
  margin: 0 0 2rem;
  color: var(--ink-muted);
}
.contact .email {
  display: inline-block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  color: var(--ink);
  padding: .4rem 0;
  border-bottom: 2px solid var(--orange);
  transition: color .3s var(--ease);
}
.contact .email:hover { color: var(--orange-deep); }
.contact .note {
  margin-top: 2.5rem;
  font-size: 1.06rem;
  color: var(--ink-muted);
  line-height: 1.75;
  font-style: italic;
  font-family: var(--display);
}
.contact .social-links {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.contact .social-links a {
  font-family: var(--chrome);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-muted);
  padding: .5rem 1rem;
  border: 1px solid var(--rule);
  transition: all .3s var(--ease);
}
.contact .social-links a:hover {
  color: var(--orange-deep);
  border-color: var(--orange);
  background: rgba(232,154,44,.08);
}

/* ------- Footer ------- */
.site-footer {
  background: var(--dark);
  color: #CFC4AA;
  padding: 3.5rem 2rem 2.5rem;
  border-top: 1px solid #000;
  margin-top: 4rem;
}
.site-footer__inner {
  max-width: 68rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: center;
  text-align: center;
}
.site-footer__mark { width: 44px; opacity: .9; }
.site-footer__tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: 1rem;
  color: #E8DFC8;
}
.site-footer__meta {
  font-family: var(--chrome);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8C8272;
}
.site-footer__meta a {
  color: #CFC4AA;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.site-footer__meta a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.site-footer__sep {
  display: inline-block;
  margin: 0 .5rem;
  color: #4A4238;
}
.site-footer__social {
  display: flex;
  gap: 1.2rem;
  margin-top: .2rem;
}
.site-footer__social a {
  font-family: var(--chrome);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8C8272;
  padding: .35rem .8rem;
  border: 1px solid #3A3530;
  transition: all .3s var(--ease);
}
.site-footer__social a:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* ------- Animations ------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow, .hero__tagline, .hero__mission,
  .page-head__eyebrow, .page-head__title {
    animation: rise .9s var(--ease) both;
  }
  .hero__tagline    { animation-delay: .10s; }
  .hero__mission    { animation-delay: .25s; }
  .page-head__title { animation-delay: .08s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ------- Responsive ------- */
@media (max-width: 640px) {
  .site-header__inner { padding: 1rem 1.2rem; gap: .8rem; }
  .site-logo img { height: 80px; }
  .site-nav { gap: .9rem; }
  .site-nav a { font-size: .78rem; letter-spacing: .08em; }
  .hero { padding: 3.5rem 1.3rem 3rem; }
  .section { padding: 3rem 1.3rem; }
  .page-head { padding: 3.5rem 1.3rem 2.5rem; }
  .cta-btn + .cta-btn { margin-left: 0; margin-top: .6rem; }
}
