/* Legalized — promo site styles (cover-harmonized) */
:root {
  --ink: #1a1816;
  --ink-2: #221f1c;
  --ink-3: #2c2824;
  --paper: #ebe4d8;
  --paper-2: #e0d7c8;
  --gold: #c4a574;
  --gold-2: #a88855;
  --green: #4a5c3a;
  --green-2: #5d7348;
  --red: #8f3d34;
  --text: #1c1a17;
  --muted: #5d5a52;
  --light: #efe9dc;
  --light-muted: #b0aaa0;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --display: "Didot", "Bodoni 72", "Bodoni MT", "Playfair Display", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
  --maxw: 1140px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
strong { font-weight: 700; }

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

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

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}
.eyebrow--dark { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: .9rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  padding: .95rem 1.6rem; border-radius: var(--radius);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #d4b688; }
.btn--ghost { border-color: rgba(239,233,220,.4); color: var(--light); background: transparent; }
.btn--ghost:hover { border-color: var(--light); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav.is-scrolled {
  background: rgba(26,24,22,.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(196,165,116,.18);
}
.nav__inner {
  width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__brand {
  font-family: var(--display); font-size: 1.35rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--light); text-decoration: none;
}
.nav__links { display: flex; gap: 2rem; align-items: center; }
.nav__links a {
  font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--light-muted); text-decoration: none;
  transition: color .2s ease;
}
.nav__links a:hover { color: var(--light); }
.nav__links .nav__cta {
  color: var(--ink); background: var(--gold); padding: .55rem 1rem; border-radius: var(--radius);
}
.nav__links .nav__cta:hover { color: var(--ink); background: #d4b688; }
.nav__toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--light); transition: transform .25s ease, opacity .25s ease; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: calc(var(--nav-h) + 2.5rem) 1.25rem 5rem;
  color: var(--light); overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 20% 20%, rgba(74,92,58,.22), transparent 55%),
    radial-gradient(ellipse 50% 45% at 90% 90%, rgba(196,165,116,.1), transparent 55%),
    linear-gradient(180deg, var(--ink) 0%, #12100e 100%);
}
.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.012) 0 1px, transparent 1px 4px);
}
.hero__layout {
  position: relative;
  width: min(100%, var(--maxw));
  display: grid;
  grid-template-columns: minmax(200px, 340px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  animation: rise 1s ease both;
}
.hero__cover {
  justify-self: center;
  width: min(100%, 340px);
}
.hero__cover img {
  width: 100%;
  border-radius: 2px;
  box-shadow:
    0 4px 8px rgba(0,0,0,.25),
    0 24px 60px -20px rgba(0,0,0,.75),
    0 0 0 1px rgba(239,233,220,.08);
}
.hero__inner { position: relative; text-align: left; max-width: 640px; }
.hero__title {
  font-family: var(--display); font-weight: 700; margin: 0;
  font-size: clamp(3rem, 9vw, 6.5rem); line-height: .95;
  letter-spacing: .04em; text-transform: uppercase;
}
.hero__word { display: inline-block; }
.accent { color: var(--gold); font-style: italic; text-transform: lowercase; letter-spacing: 0; }
.hero__lede {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem); line-height: 1.6;
  max-width: 560px; margin: 1.5rem 0 2rem; color: #d9d3c4;
}
.hero__lede strong { color: var(--light); font-weight: 600; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 0;
  margin: 2.75rem 0 0; padding: 0;
  font-family: var(--sans);
}
.hero__meta div { padding: 0 1.5rem 0 0; margin-right: 1.5rem; border-right: 1px solid rgba(239,233,220,.18); }
.hero__meta div:last-child { border-right: 0; margin-right: 0; }
.hero__meta dt { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--light-muted); }
.hero__meta dd { margin: .25rem 0 0; font-size: .95rem; color: var(--light); }
.hero__scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  color: var(--gold); text-decoration: none; font-family: var(--sans); font-size: 1.2rem;
  animation: bob 2.4s ease-in-out infinite;
}

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section--paper {
  background:
    radial-gradient(ellipse at top left, rgba(255,255,255,.55), transparent 50%),
    var(--paper);
}
.section--dark { background: var(--ink-2); color: var(--light); }
.section--buy {
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(196,165,116,.12), transparent 60%),
    linear-gradient(160deg, #2a3224, #1a1816);
  color: var(--light);
}
.section__head { max-width: 720px; margin-bottom: 3.5rem; }
.section__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1;
  margin: 0 0 1.5rem; color: var(--ink); letter-spacing: -.005em;
}
.section__title--light { color: var(--light); }
.section__sub { color: var(--light-muted); font-size: 1.15rem; margin: 0; }

/* ---------- Premise ---------- */
.premise {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start;
}
.premise__text p { margin: 0 0 1.3rem; color: #2b2925; }
.blurb__credit {
  font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted) !important; margin-top: .5rem !important;
}
.drop::first-letter {
  float: left; font-family: var(--display); font-size: 4.4rem; line-height: .8;
  padding: .35rem .6rem 0 0; color: var(--green); font-weight: 700;
}

.docket {
  position: relative; background: #f7f3ea; border: 1px solid #d4cbb8;
  padding: 2.5rem 2rem 2rem; border-radius: 2px;
  box-shadow: 0 1px 0 #d4cbb8, 0 20px 40px -24px rgba(26,24,22,.4);
  transform: rotate(.6deg);
}
.docket::before {
  content: ""; position: absolute; inset: 8px; border: 1px dashed rgba(74,92,58,.28); pointer-events: none;
}
.docket__stamp {
  position: absolute; top: -14px; right: 18px; margin: 0;
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--red); border: 2px solid var(--red); padding: .2rem .65rem; background: #f7f3ea;
  transform: rotate(-4deg);
}
.docket__title {
  font-family: var(--display); font-size: 1.45rem; margin: 0 0 1.25rem; color: var(--ink);
  padding-bottom: .9rem; border-bottom: 2px solid var(--ink);
}
.docket__list { list-style: none; margin: 0; padding: 0; }
.docket__list li {
  display: grid; grid-template-columns: 2.2rem 1fr; gap: .5rem;
  padding: .8rem 0; border-bottom: 1px solid #e0d7c8; font-size: 1.02rem; line-height: 1.45;
}
.docket__list span { font-family: var(--sans); font-size: .78rem; font-weight: 700; color: var(--gold-2); padding-top: .2rem; }
.docket__foot { margin: 1.1rem 0 0; font-family: var(--sans); font-size: .78rem; color: var(--muted); font-style: italic; }

.themes { margin-top: clamp(3.5rem, 7vw, 5rem); padding-top: 2.5rem; border-top: 1px solid #d4cbb8; }
.themes__title {
  font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 1.2rem;
}
.themes__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.themes__list li {
  font-family: var(--sans); font-size: .9rem; padding: .55rem 1rem;
  border: 1px solid rgba(74,92,58,.35); border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.45);
}

/* ---------- Band ---------- */
.band {
  background: var(--ink); padding: clamp(3.5rem, 8vw, 6rem) 1.25rem; text-align: center;
  border-top: 1px solid rgba(196,165,116,.2); border-bottom: 1px solid rgba(196,165,116,.2);
}
.band__text {
  margin: 0; font-family: var(--display); font-size: clamp(1.8rem, 5vw, 3.2rem); line-height: 1.2; color: var(--light);
}
.band__text span { color: var(--gold); font-style: italic; }

/* ---------- Characters ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
.card {
  position: relative; background: linear-gradient(180deg, var(--ink-3), #1f1c19);
  border: 1px solid rgba(239,233,220,.08); border-radius: var(--radius);
  padding: 1.9rem 1.6rem 1.7rem; overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green-2));
  transform: scaleX(.25); transform-origin: left; transition: transform .4s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(196,165,116,.3); box-shadow: 0 18px 40px -20px rgba(0,0,0,.6); }
.card:hover::before { transform: scaleX(1); }
.card__tag {
  font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 .6rem;
}
.card__name { font-family: var(--display); font-size: 1.4rem; line-height: 1.2; margin: 0 0 .8rem; color: var(--light); }
.card__body { margin: 0; font-size: .98rem; line-height: 1.6; color: #c4c0b8; }

/* ---------- Author ---------- */
.author { display: grid; grid-template-columns: 280px 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.author__mark {
  aspect-ratio: 4 / 5; border-radius: 2px; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  background:
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(239,233,220,.07) 34px 40px),
    linear-gradient(160deg, var(--ink-3), var(--ink));
  box-shadow: 0 24px 50px -28px rgba(26,24,22,.7);
}
.author__initials { font-family: var(--display); font-size: 5rem; color: var(--gold); line-height: 1; letter-spacing: .05em; }
.author__caption {
  font-family: var(--sans); font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--light-muted);
}
.author__text p { margin: 0 0 1.2rem; color: #2b2925; }
.author__text a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.author__text a:hover { color: var(--ink); }
.author__links {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem;
  font-family: var(--sans); font-size: .9rem; font-weight: 600;
}
.author__note {
  font-family: var(--sans); font-size: .85rem; color: var(--muted) !important;
  padding-top: 1rem; border-top: 1px solid #d4cbb8; margin-top: 1.6rem !important;
}

/* ---------- Buy ---------- */
.buy { max-width: 900px; }
.buy .section__sub { margin-bottom: 2.4rem; }
.buy__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
}
.buy-card {
  display: block; text-decoration: none; color: inherit;
  background: rgba(26,24,22,.45); border: 1px solid rgba(239,233,220,.12);
  border-radius: var(--radius); padding: 1.8rem 1.6rem;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.buy-card:hover {
  transform: translateY(-3px);
  border-color: rgba(196,165,116,.45);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.55);
}
.buy-card__format {
  margin: 0 0 .35rem; font-family: var(--sans); font-size: .72rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}
.buy-card__store {
  margin: 0; font-family: var(--display); font-size: 1.65rem; color: var(--light);
}
.buy-card__price {
  margin: .6rem 0 1rem; font-family: var(--sans); font-size: 1.5rem; font-weight: 700; color: var(--light);
}
.buy-card__meta {
  margin: 0 0 1.25rem; font-family: var(--sans); font-size: .85rem; line-height: 1.5; color: var(--light-muted);
}
.buy-card__cta {
  font-family: var(--sans); font-size: .82rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
}
.buy__details {
  margin: 2.5rem 0 0; padding: 0; list-style: none;
  font-family: var(--sans); font-size: .9rem; color: var(--light-muted); line-height: 1.7;
}
.buy__details li { margin-bottom: .55rem; }
.buy__details a { color: var(--gold); text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer { background: #0e0c0b; color: var(--light-muted); padding: 3.5rem 0 2rem; font-family: var(--sans); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.75rem; }
.footer__brand {
  margin: 0; font-family: var(--display); font-size: 1.4rem; letter-spacing: .18em; text-transform: uppercase; color: var(--light);
}
.footer__by { margin: .2rem 0 0; font-size: .85rem; }
.footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__links a { text-decoration: none; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.footer__links a:hover { color: var(--light); }
.footer__domain { margin: 0; }
.footer__domain a { color: var(--gold); text-decoration: none; font-weight: 600; letter-spacing: .04em; }
.footer__domain a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(239,233,220,.08);
  font-size: .78rem; color: rgba(176,170,160,.7);
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.cards .card.reveal:nth-child(2) { transition-delay: .06s; }
.cards .card.reveal:nth-child(3) { transition-delay: .12s; }
.cards .card.reveal:nth-child(4) { transition-delay: .18s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__layout { grid-template-columns: 1fr; text-align: center; }
  .hero__inner { text-align: center; margin-inline: auto; }
  .hero__lede { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__meta { justify-content: center; }
  .hero__meta div { padding: 0 1rem; margin-right: 0; border-right: 0; border-left: 1px solid rgba(239,233,220,.18); }
  .hero__meta div:first-child { border-left: 0; }
  .hero__cover { width: min(100%, 260px); }
  .premise { grid-template-columns: 1fr; }
  .docket { transform: none; }
  .author { grid-template-columns: 1fr; }
  .author__mark { max-width: 240px; aspect-ratio: 1 / 1; }
  .buy__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 1.05rem; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(26,24,22,.97); padding: .5rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(196,165,116,.2);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: .95rem 0; border-bottom: 1px solid rgba(239,233,220,.08); }
  .nav__links .nav__cta { margin-top: 1rem; text-align: center; border-bottom: 0; }
  .nav { background: rgba(26,24,22,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .hero__scroll { display: none; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .hero__meta { flex-direction: column; gap: .6rem; }
  .hero__meta div { border-left: 0; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
