/* EliasRook.com — Pen C site styles
   Palette + typography per HQ_VisualIdentitySummary_V15, Pen C section (verbatim hexes).
   Base warm near-black #14100E / charcoal #1A1712 · body text cream #E8E2D6 ·
   single acid-green accent #A6E22E (cold-yellow #E6DB74 alternate) as fills/rules/emblem accents ONLY —
   never body text · deep forest #16281E + dark wine #5A1522 as shadow depth only. */

:root {
  --near-black: #14100E;
  --charcoal: #1A1712;
  --cream: #E8E2D6;
  --acid: #A6E22E;
  --cold-yellow: #E6DB74;
  --forest: #16281E;
  --wine: #5A1522;
}

@font-face {
  font-family: 'Cinzel Decorative';
  src: url('fonts/cinzel-decorative-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF;
}
@font-face {
  font-family: 'Cinzel Decorative';
  src: url('fonts/cinzel-decorative-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF;
}
@font-face {
  font-family: 'Cinzel Decorative';
  src: url('fonts/cinzel-decorative-latin-ext-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: 'Cinzel Decorative';
  src: url('fonts/cinzel-decorative-latin-ext-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: 'Cinzel';
  src: url('fonts/cinzel-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF;
}
@font-face {
  font-family: 'Cinzel';
  src: url('fonts/cinzel-latin-ext-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: 'Raleway';
  src: url('fonts/raleway-latin-300-normal.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+0000-00FF;
}
@font-face {
  font-family: 'Raleway';
  src: url('fonts/raleway-latin-ext-300-normal.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: 'Raleway';
  src: url('fonts/raleway-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF;
}
@font-face {
  font-family: 'Raleway';
  src: url('fonts/raleway-latin-ext-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF;
}
@font-face {
  font-family: 'Raleway';
  src: url('fonts/raleway-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
.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}

body {
  background-color: var(--near-black);
  /* subtle weathered-stone-and-thorn tile per VI build-direct spec — low-contrast under cream text */
  background-image:
    radial-gradient(ellipse 1100px 760px at 15% -10%, rgba(22,40,30,0.35), transparent 60%),
    radial-gradient(ellipse 900px 680px at 95% 115%, rgba(26,23,18,0.8), transparent 55%);
  color: var(--cream);
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
}

h1, h2, h3 { font-family: 'Cinzel Decorative', Georgia, serif; font-weight: 700; color: var(--cream); line-height: 1.3; }
h1 { font-size: clamp(1.8rem, 5vw, 3rem); letter-spacing: 0.05em; }
h2 { font-size: clamp(1.3rem, 3.5vw, 1.9rem); letter-spacing: 0.04em; margin-bottom: 0.75rem; }
h3 { font-family: 'Cinzel', Georgia, serif; font-weight: 400; font-size: clamp(1.1rem, 2.5vw, 1.45rem); color: var(--cream); letter-spacing: 0.05em; }

a { color: var(--cream); text-decoration: underline; text-decoration-color: var(--acid); text-underline-offset: 3px; }
a:hover, a:focus { color: var(--cold-yellow); }

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
header.site {
  background: var(--charcoal);
  border-bottom: 2px solid var(--acid);
  padding: 1rem 0;
}
.header-inner { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.lockup { font-family: 'Cinzel Decorative', Georgia, serif; font-weight: 700; font-size: 1.45rem; letter-spacing: 0.14em; color: var(--cream); text-transform: uppercase; }
.lockup a { color: var(--cream); text-decoration: none; }
.lockup a:hover { color: var(--cold-yellow); }
nav.site ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
nav.site a { font-family: 'Raleway', Arial, sans-serif; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--cold-yellow); border-bottom: 2px solid var(--acid); }

/* Hero */
.hero { position: relative; }
.hero img { width: 100%; object-fit: cover; max-height: 520px; min-height: 340px; }
.hero-overlay {
  /* Tagline sits over the hero's negative space: the near-black left half, clear of the stair and arch. */
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left;
  background: radial-gradient(ellipse at center, rgba(20,16,14,0.25) 0%, rgba(20,16,14,0.6) 100%);
  padding: 1.5rem 1.5rem 1.5rem clamp(1.5rem, 7vw, 7rem);
}
.hero-overlay h1 { color: var(--cream); text-shadow: 0 2px 20px rgba(20,16,14,0.95); }
.hero-overlay .tagline { color: var(--cream); font-size: clamp(1rem, 2.2vw, 1.25rem); max-width: 30rem; margin-top: 1rem; text-shadow: 0 1px 14px rgba(20,16,14,0.95); }

/* Sections */
section { padding: 3.5rem 0; }
section.alt { background: var(--charcoal); border-top: 1px solid var(--forest); border-bottom: 1px solid var(--forest); }
.rule { border: none; border-top: 2px solid var(--acid); width: 84px; margin: 1.1rem auto; }
.center { text-align: center; }

.band img { width: 100%; }

/* Book cards */
.book-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
.book-card {
  background: var(--charcoal);
  border: 1px solid var(--forest);
  border-left: 3px solid var(--acid);
  padding: 1.75rem;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.book-number { font-family: 'Raleway', Arial, sans-serif; font-weight: 600; font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cream); opacity: 0.75; }
.cover-slot { border: 1px dashed var(--forest); color: var(--cream); opacity: 0.75; font-size: 0.85rem; text-align: center; padding: 2.4rem 1rem; }

/* Buttons */
.btn {
  display: inline-block; font-family: 'Raleway', Arial, sans-serif; font-weight: 600;
  font-size: 0.84rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.85rem 1.9rem; border: 1px solid var(--acid); color: var(--cream);
  background: transparent; cursor: pointer; text-decoration: none;
}
.btn:hover, .btn:focus { background: var(--acid); color: var(--near-black); }
.btn-solid { background: var(--acid); border-color: var(--acid); color: var(--near-black); }
.btn-solid:hover, .btn-solid:focus { background: var(--cold-yellow); border-color: var(--cold-yellow); color: var(--near-black); }
.btn[aria-disabled="true"] { opacity: 0.6; cursor: default; }
.btn[aria-disabled="true"]:hover { background: transparent; color: var(--cream); }
.btn-solid[aria-disabled="true"]:hover { background: var(--acid); color: var(--near-black); }
.coming-soon { display: block; font-size: 0.78rem; letter-spacing: 0.1em; color: var(--cream); opacity: 0.75; margin-top: 0.45rem; text-transform: uppercase; }

/* CTA block */
.cta-block { text-align: center; max-width: 44rem; margin: 0 auto; }
.cta-block p { margin-bottom: 1.3rem; }

/* About / figure images */
.about-flex { display: flex; flex-direction: column; gap: 2rem; align-items: center; }
.about-flex img { max-width: 300px; border: 1px solid var(--forest); }
.about-flex .bio { max-width: 38rem; }
.about-flex .bio p { margin-bottom: 1rem; }

figure.world { margin: 2rem auto; max-width: 760px; }
figure.world figcaption { font-size: 0.85rem; color: var(--cream); opacity: 0.8; text-align: center; padding-top: 0.6rem; letter-spacing: 0.06em; }

/* Placeholder scaffold blocks (free-book & privacy placeholder pages only) */
.insert-block {
  border: 1px dashed var(--forest);
  background: rgba(26,23,18,0.7);
  color: var(--cream);
  opacity: 0.85;
  padding: 1.2rem 1.4rem;
  margin: 1.1rem 0;
  font-size: 0.95rem;
}

/* Footer */
footer.site {
  background: var(--charcoal);
  border-top: 2px solid var(--acid);
  padding: 2.2rem 0 2.6rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--cream);
}
footer.site nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; margin-bottom: 1rem; }
footer.site a { color: var(--cream); }
footer.site a:hover { color: var(--cold-yellow); }
.fine-print { margin-top: 0.9rem; line-height: 1.9; opacity: 0.85; }

@media (min-width: 720px) {
  .header-inner { flex-direction: row; justify-content: space-between; }
  .book-grid { grid-template-columns: 1fr 1fr; }
  .about-flex { flex-direction: row; align-items: flex-start; }
}

/* covers on book cards and the home / Also By cover rows (added by the site builder; same rules as the other pen sites) */
.book-card .cover { max-width: 210px; width: 100%; height: auto; margin: 0.2rem auto 0; border: 1px solid var(--forest); }
.cover-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem; margin: 1.6rem auto; max-width: 920px; }
.cover-row a { display: block; width: 128px; }
.cover-row img { width: 100%; height: auto; border: 1px solid var(--forest); }

/* space above a card's button and its 'Coming' line (added by the site builder: the text sat too close to the button) */
.book-card div > .btn { display: inline-block; margin-top: 0.9rem; }
.book-card .cover { margin-bottom: 0.6rem; }

/* card foot (added by the site builder): the 'Coming' line and the button sit at the bottom of each card, so the covers in a row line up; a series heading keeps its distance from the button above it */
.book-card { display: flex; flex-direction: column; }
.book-card .buy-note { margin-top: auto; padding-top: 0.9rem; }
.book-card > div:last-child { margin-top: auto; }
.book-card .buy-note + div { margin-top: 0; }
.btn + h2, .cover-row + .btn + h2 { margin-top: 3rem; }

/* The Stărmina Succession (site builder, Michele's design notes 2026-11-15) */
.lockup { text-transform: none; }
