/* lilylockridge.com: one dark page in the cover's colours. Fonts are served from /fonts (SIL Open Font License). */
@font-face { font-family: "Cinzel"; src: url("/fonts/cinzel-latin.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/ebgaramond-latin.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/ebgaramond-italic-latin.woff2") format("woff2"); font-weight: 400 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Pinyon Script"; src: url("/fonts/pinyonscript-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --night: #07080c;
  --panel: #0e1017;
  --ink: #efe6d6;
  --muted: #b9ae9c;
  --gold: #e2bd77;
  --gold-deep: #b98a3e;
  --emerald: #0f4a3a;
  --rule: rgba(226, 189, 119, 0.28);
  --serif: "EB Garamond", Georgia, serif;
  --caps: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--serif); font-size: 1.22rem; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.label { font-family: var(--sans); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; }
.skip { position: absolute; left: -9999px; top: 0; padding: 0.6rem 1rem; background: var(--gold); color: var(--night); z-index: 10; }
.skip:focus { left: 1rem; }

.top { position: absolute; inset: 0 0 auto; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem clamp(1rem, 4vw, 3rem); }
.top a { color: var(--ink); text-decoration: none; }
.top .name { font-family: var(--caps); font-weight: 700; letter-spacing: 0.16em; font-size: 0.95rem; }
.top nav { display: flex; gap: clamp(0.9rem, 3vw, 2rem); }
.top nav a:hover { color: var(--gold); }

.hero { position: relative; min-height: min(92vh, 860px); display: grid; align-items: end; overflow: hidden; }
.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art img { object-fit: cover; object-position: 50% 28%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,8,12,0.55) 0%, rgba(7,8,12,0.1) 30%, rgba(7,8,12,0.35) 60%, rgba(7,8,12,0.96) 100%); }
.hero-text { position: relative; z-index: 2; text-align: center; padding: 0 1rem clamp(2.5rem, 7vh, 4.5rem); }
.hero .tag { color: var(--ink); opacity: 0.9; margin: 0 0 0.6rem; }
.hero h1 { margin: 0; line-height: 0.95; font-weight: 400; }
.hero h1 .script { display: block; font-family: "Pinyon Script", cursive; font-size: clamp(3rem, 9vw, 6.4rem); color: var(--gold); margin-bottom: -0.25em; }
.hero h1 .caps { display: block; font-family: var(--caps); font-weight: 900; font-size: clamp(3rem, 11vw, 7.4rem); letter-spacing: 0.02em; color: var(--gold); }
.hero .byline { margin: 1rem 0 0.4rem; color: var(--ink); }
.hero .byline .label { white-space: nowrap; }
.hero .status { margin: 0; color: var(--muted); font-style: italic; }

.wrap { width: min(1080px, 100% - 2rem); margin: 0 auto; }
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.book .wrap { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cover img { width: 100%; border-radius: 3px; box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(226,189,119,0.18); }
.kicker { color: var(--gold); margin: 0 0 0.9rem; }
.hook { font-family: var(--caps); font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.35; color: var(--gold); margin: 0 0 1.4rem; }
.hook span { display: block; }
.punch { font-family: var(--caps); font-weight: 900; color: var(--gold); font-size: 1.35rem; letter-spacing: 0.03em; }
.closing { font-style: italic; color: var(--muted); }
.tropes { font-family: var(--sans); font-weight: 500; font-size: 0.74rem; line-height: 2; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); border-top: 1px solid var(--rule); padding-top: 1.1rem; margin-top: 1.6rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.8rem; }
.button { display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--night); background: linear-gradient(180deg, #f3d99b, var(--gold) 45%, var(--gold-deep)); padding: 0.95rem 1.6rem; border-radius: 2px; }
.button:hover { filter: brightness(1.08); }
.soon { color: var(--muted); font-size: 1rem; }

.series { background: var(--panel); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); text-align: center; }
.series h2, .about h2, .contact h2 { font-family: var(--caps); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.2rem); letter-spacing: 0.06em; margin: 0 0 1rem; color: var(--ink); }
.series p { max-width: 40rem; margin-left: auto; margin-right: auto; }

.about .wrap, .contact .wrap { max-width: 44rem; }
.monogram { width: 110px; height: 110px; margin: 0 0 1.4rem; }
.contact { text-align: center; padding-bottom: clamp(4rem, 9vw, 7rem); }
.contact .actions { justify-content: center; }

footer { border-top: 1px solid var(--rule); padding: 2rem 1rem 2.6rem; text-align: center; color: var(--muted); }

@media (max-width: 760px) {
  body { font-size: 1.12rem; }
  .top { justify-content: center; flex-direction: column; gap: 0.5rem; }
  .book .wrap { grid-template-columns: 1fr; }
  .cover { max-width: 300px; margin: 0 auto; }
  .hero { min-height: 82vh; }
}
