/* =========================================================================
   Lordsburg Press — stylesheet
   Editorial / literary-press aesthetic. Type-driven. Restrained.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  /* Palette — pulled from the logo */
  --cream:        #F5F1E6;
  --cream-warm:   #EDE7D5;
  --rule:         #D4CBB6;
  --ink:          #1A1410;
  --ink-muted:    #5C5248;
  --ink-soft:     #7A6F62;
  --dark:         #0A0908;
  --dark-2:       #171310;
  --orange:       #E89A2C;
  --orange-deep:  #C17A1C;
  --leaf:         #3E6B2E;

  /* Type */
  --display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --body:    'Lora', 'Source Serif Pro', Georgia, serif;

  /* Reading column */
  --measure: 38rem;       /* ~608px — ideal reading width */
  --measure-wide: 52rem;  /* for headers / layout blocks */

  /* Motion */
  --ease: cubic-bezier(.2,.65,.2,1);
}

/* ------- Reset / baseline ------- */
*, *::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(--dark); }

/* ------- Header ------- */
.site-header {
  background: var(--dark);
  color: #F5F1E6;
  border-bottom: 1px solid #000;
}
.site-header__inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.site-logo {
  display: block;
  line-height: 0;
}
.site-logo img {
  height: 58px;
  width: auto;
}
.site-nav {
  display: flex;
  gap: 2.4rem;
}
.site-nav a {
  color: #E8DFC8;
  font-family: var(--display);
  font-weight: 400;
  font-size: .92rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: .3rem 0;
  border-bottom: 1px 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);
  border-bottom-color: var(--orange);
}

/* ------- Hero (homepage) ------- */
.hero {
  padding: 6rem 2rem 5rem;
  text-align: center;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule), transparent);
}
.hero__eyebrow {
  font-family: var(--display);
  font-size: .78rem;
  letter-spacing: .28em;
  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(2rem, 5.2vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  font-style: italic;
  max-width: 22ch;
  margin: 0 auto 1.2rem;
  color: var(--ink);
  font-variation-settings: "opsz" 144;
}
.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 (about / books / contact) ------- */
.page-head {
  padding: 5.5rem 2rem 3.5rem;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.page-head__eyebrow {
  font-family: var(--display);
  font-size: .78rem;
  letter-spacing: .28em;
  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.1;
  letter-spacing: -.015em;
  margin: 0;
  font-variation-settings: "opsz" 144;
}
.page-head__title em {
  font-style: italic;
  color: var(--orange-deep);
  font-weight: 300;
}

/* ------- Main content blocks ------- */
main { display: block; }

.section {
  padding: 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 h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.25;
  letter-spacing: -.005em;
  margin: 3rem 0 1rem;
  color: var(--ink);
}
.prose h2:first-child { margin-top: 0; }
.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-family: var(--display);
  font-style: italic;
}

/* ------- Asterism divider (beacon motif) ------- */
.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 Beacon Keepers block (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__cover-inner {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: #F5F1E6;
  z-index: 1;
}
.featured__cover-inner .mark {
  width: 70px;
  margin: 0 auto 1.5rem;
  opacity: .95;
}
.featured__cover-inner .series {
  font-family: var(--display);
  font-size: .7rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .8rem;
}
.featured__cover-inner .title {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: 1.8rem;
  line-height: 1.15;
  color: #F5F1E6;
  margin-bottom: 1.2rem;
  font-variation-settings: "opsz" 144;
}
.featured__cover-inner .book-n {
  font-family: var(--display);
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.featured__cover-inner .author {
  margin-top: 1.4rem;
  font-size: .82rem;
  color: #CFC4AA;
  letter-spacing: .08em;
}

.featured__body .eyebrow {
  font-family: var(--display);
  font-size: .75rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.featured__body h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 .4rem;
  font-variation-settings: "opsz" 144;
}
.featured__body .byline {
  font-family: var(--display);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1rem;
  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(--display);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ------- Book card (catalog page) ------- */
.book-list {
  max-width: 60rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.book {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--rule);
}
.book:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 760px) {
  .book { grid-template-columns: 240px 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__cover-inner {
  text-align: center;
  padding: 2rem 1.2rem;
  color: #F5F1E6;
  z-index: 1;
}
.book__cover-inner .mark {
  width: 58px;
  margin: 0 auto 1.2rem;
  opacity: .95;
}
.book__cover-inner .series {
  font-family: var(--display);
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .6rem;
}
.book__cover-inner .title {
  font-family: var(--display);
  font-weight: 300;
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.15;
  font-variation-settings: "opsz" 144;
}
.book__cover-inner .book-n {
  margin-top: .9rem;
  font-family: var(--display);
  font-size: .58rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.book__meta .eyebrow {
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .7rem;
}
.book__meta h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.85rem;
  line-height: 1.2;
  margin: 0 0 .2rem;
  font-variation-settings: "opsz" 144;
}
.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(--display);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ------- Contact block ------- */
.contact {
  max-width: var(--measure);
  margin: 0 auto;
  text-align: center;
}
.contact h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.6rem;
  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: 3rem;
  font-size: .98rem;
  color: var(--ink-soft);
  line-height: 1.75;
  font-style: italic;
  font-family: var(--display);
}

/* ------- 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.8rem;
  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: .95rem;
  color: #E8DFC8;
  font-variation-settings: "opsz" 144;
}
.site-footer__meta {
  font-family: var(--display);
  font-size: .72rem;
  letter-spacing: .22em;
  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 .7rem;
  color: #4A4238;
}

/* ------- Entrance animation ------- */
@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 tweaks ------- */
@media (max-width: 640px) {
  .site-header__inner {
    padding: 1.4rem 1.3rem;
    gap: 1rem;
  }
  .site-logo img { height: 44px; }
  .site-nav { gap: 1.4rem; }
  .site-nav a { font-size: .78rem; letter-spacing: .1em; }
  .hero { padding: 4rem 1.3rem 3.5rem; }
  .section { padding: 3.5rem 1.3rem; }
  .page-head { padding: 4rem 1.3rem 2.8rem; }
}
