:root {
  --bg: #0C0A08;
  --bg-deep: #1E1E1E;
  --bg-raised: #15130F;
  --line: #2E2A22;
  --line-strong: #4A4436;
  --text: #F2F0EA;
  --text-muted: #C9C7C0;
  --text-faint: #A4A29C;
  --accent: #D3B66A;
  --link: #E6D49E;
  --gold: linear-gradient(180deg, #F1E7C1 0%, #D9BC70 45%, #B08A45 100%);
  --display: Cinzel, 'Trajan Pro', 'Times New Roman', serif;
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: Montserrat, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
}

a { color: var(--link); }
a:hover { color: var(--text); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: 0.04em; }

/* Metallic gold lettering, as on richarddicksjr.com */
.gold, h1, .featured-body h2, .card h3, .contact h2 {
  color: var(--accent);
  background: var(--gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
img { display: block; max-width: 100%; height: auto; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.band { background: var(--bg-raised); }
.muted { color: var(--text-muted); }

.eyebrow {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Short gold divider, as on the Now Seeking post */
.rule { display: block; width: 96px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent) 20%, var(--accent) 80%, transparent); }

.tagline { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.6; color: var(--text); }

/* Header */
.site-header { flex: none; border-bottom: 1px solid var(--line); background: var(--bg-deep); }
.site-header .container {
  padding-top: 16px; padding-bottom: 16px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
}
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-mark { width: auto; height: 46px; }
.logo-text { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.logo-name {
  font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); background: var(--gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.logo-sub {
  font-family: var(--display); font-size: 10px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted);
}
.logo-sub::before, .logo-sub::after { content: '\2022'; color: var(--accent); margin: 0 0.6em; }
.nav { display: flex; flex-wrap: wrap; gap: 4px; }
.nav a {
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted); text-decoration: none; padding: 12px 14px;
}
.nav a:hover { color: var(--accent); }

/* The reel: one row of full-screen panels that scrolls sideways */
.reel {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.reel::-webkit-scrollbar { display: none; }
.reel:focus { outline: none; }

.panel {
  flex: 0 0 100%;
  height: 100%;
  overflow-y: auto;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
}
.panel > .container { margin-top: auto; margin-bottom: auto; padding-top: 48px; padding-bottom: 32px; }

/* Controls */
.reel-controls {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 4px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}
.reel-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: none; border: 1px solid transparent; border-radius: 4px;
  color: var(--text); cursor: pointer;
}
.reel-btn:hover:not(:disabled) { color: var(--bg); background: var(--accent); }
.reel-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.reel-btn:disabled { color: var(--line-strong); cursor: default; }
.reel-count {
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-faint); white-space: nowrap;
}
.reel-num { color: var(--accent); }
.reel-label { color: var(--text); margin-left: 8px; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding-top: 8px; }
.btn {
  font-family: var(--display); font-size: 14px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; padding: 14px 30px; border-radius: 4px; border: 1px solid transparent;
}
.btn-primary { background: linear-gradient(180deg, #E9D597 0%, #CDA861 55%, #A98744 100%); color: #15110A; }
.btn-primary:hover { background: linear-gradient(180deg, #F3E4B4 0%, #D9B872 55%, #B8954F 100%); color: #15110A; }
.btn-outline { border-color: var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--bg); }

/* 1. Home: centered, like the post */
.panel-hero { padding-bottom: 0; }
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.hero h1 { font-size: clamp(34px, 5vw, 72px); line-height: 1.1; }
.hero .tagline { max-width: 44ch; color: var(--text-muted); }
.hero-banner { flex: none; border-top: 1px solid var(--line); background: #080A11; }
.hero-banner img {
  width: auto; max-width: 100%; margin: 0 auto;
  height: clamp(140px, 27vh, 396px); object-fit: contain;
}

/* 2. Featured */
.featured { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.featured-art { flex: none; width: min(380px, 100%, 44vh); border: 1px solid var(--accent); border-radius: 4px; }
.featured-body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.featured-body h2 { font-size: clamp(26px, 3vw, 42px); line-height: 1.2; }
.featured-body .lead { font-size: 18px; line-height: 1.7; max-width: 52ch; }
.featured-body .muted { max-width: 56ch; }
.tags {
  display: flex; flex-wrap: wrap; gap: 12px;
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
}
.tags span { border: 1px solid var(--accent); color: var(--text); padding: 8px 14px; border-radius: 4px; }

/* 3. Slate */
.slate { display: flex; flex-direction: column; gap: 24px; }
.slate h2 { font-size: clamp(30px, 3.4vw, 44px); }
.slate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; padding-top: 8px; }
.card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card .eyebrow { font-size: 12px; letter-spacing: 0.24em; }
.card h3 { font-size: 21px; line-height: 1.3; }
.card p { font-size: 15px; line-height: 1.65; }
.card-art { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 30%; border-radius: 4px; }
.card-art.art-top { object-position: center 25%; }
.subtitle { display: block; margin-top: 4px; font-family: var(--sans); font-size: 13px; font-weight: 500; -webkit-text-fill-color: var(--text-muted); letter-spacing: 0.06em; color: var(--text-muted); }

/* Books (shop) */
.shop { display: flex; flex-direction: column; gap: 28px; }
.shop-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.shop-head h2 { font-size: clamp(28px, 3.4vw, 44px); }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.book { display: flex; gap: 20px; align-items: stretch; min-width: 0; }
.book-cover {
  flex: none; align-self: flex-start; width: 128px; aspect-ratio: 2 / 3;
  display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 4px; overflow: hidden;
}
.book-cover img { width: 100%; height: 100%; object-fit: contain; }
.book-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.book-info .eyebrow { font-size: 12px; letter-spacing: 0.22em; }
.book-info h3 {
  font-size: 20px; line-height: 1.3;
  color: var(--accent); background: var(--gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.book-info p { font-size: 14px; line-height: 1.6; }
.book-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-top: 6px; margin-top: auto; }
.price { font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--text); }
.btn-buy { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; font-size: 12px; }

.shop-cta { display: flex; justify-content: center; }

/* Order */
.order { display: flex; flex-direction: column; gap: 28px; max-width: 920px; }
.order-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.order-row {
  display: grid; grid-template-columns: 56px 1fr auto auto; align-items: center; gap: 12px 24px;
  padding: 16px 0; border-bottom: 1px solid var(--line-strong);
}
.order-thumb { width: 56px; aspect-ratio: 2 / 3; object-fit: contain; background: var(--bg-raised); border-radius: 3px; }
.order-title { min-width: 0; }
.order-title h3 {
  font-size: 20px; line-height: 1.3;
  color: var(--accent); background: var(--gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.order-title .subtitle { margin-top: 2px; }
.order-note { font-size: 14px; color: var(--text-faint); text-align: center; max-width: 64ch; margin: 0 auto; }
.order-note strong { color: var(--text-muted); font-weight: 600; }

/* 4. About */
.about { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.about-name { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; }
.about-name h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.2; }
.about-name .role { font-family: var(--serif); font-style: italic; color: var(--text-muted); }
.headshot { width: 160px; border: 1px solid var(--accent); border-radius: 4px; margin-bottom: 8px; }
.about-bio { flex: 999 1 480px; max-width: 62ch; display: flex; flex-direction: column; gap: 20px; }
.about-bio p:first-child { font-size: 18px; line-height: 1.75; color: var(--text); }

/* 5. Contact: centered, like the post */
.contact { display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; }
.contact h2 { font-size: clamp(28px, 4vw, 56px); line-height: 1.15; max-width: 20ch; }
.contact .muted { max-width: 52ch; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 40px; }
.contact-links a {
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--accent); border-radius: 4px; padding: 14px 28px; color: var(--accent);
}
.contact-links a:hover { background: var(--accent); color: var(--bg); }

.site-footer { border-top: 1px solid var(--line); }
.site-footer .container { padding-top: 24px; padding-bottom: 8px; font-size: 13px; color: var(--text-faint); text-align: center; }

@media (max-width: 600px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .site-header .container { padding-top: 10px; padding-bottom: 6px; }
  .logo-name { font-size: 20px; }
  .logo-sub { font-size: 8px; letter-spacing: 0.16em; }
  .nav { gap: 0; }
  .nav a { padding: 12px 6px; font-size: 11px; letter-spacing: 0.1em; }
  .panel > .container { padding-top: 32px; }
  .hero-banner img { height: auto; width: 100%; }
  .reel-controls { justify-content: space-between; }
  .featured-art { width: min(60%, 44vh); }
  .contact-links a { letter-spacing: 0.12em; padding: 14px 18px; }
  .book-cover { width: 104px; }
  .logo-mark { height: 36px; }
  .logo { gap: 10px; }
  .order-row { grid-template-columns: 48px 1fr auto; }
  .order-thumb { width: 48px; grid-row: span 2; }
  .order-row .btn-buy { grid-column: 2 / 4; justify-self: start; }
}
