/* philipalbenze.com: dark, arena-lit, gold accent taken from the After the Sword cover */
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bitter"; src: url("fonts/bitter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0d0d0f;
  --bg-alt: #141417;
  --panel: #1b1b20;
  --line: #2c2b31;
  --ink: #ece8e1;
  --muted: #a7a29a;
  --gold: #d4a24c;
  --gold-hi: #f0c46e;
  --steel: #8a96a3;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ui: "Barlow", system-ui, sans-serif;
  --read: "Bitter", Georgia, serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.65 var(--read); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: .01em; margin: 0 0 .5em; text-transform: uppercase; }
h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.55rem; }
h2::after { content: ""; display: block; width: 64px; height: 4px; background: var(--gold); margin-top: .35em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.eyebrow { font: 700 .82rem/1.3 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 .6em; }
.lead { font-size: 1.2rem; color: var(--ink); }
.small { font: 400 .9rem/1.5 var(--ui); color: var(--muted); }
.meta { font: 600 .95rem var(--ui); color: var(--muted); }
.more { font: 700 1rem var(--ui); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--gold); color: #000; padding: 8px 12px; }
.preview-banner { background: #5a1d1d; color: #fff; text-align: center; font: 700 .85rem var(--ui); padding: 6px; letter-spacing: .06em; }
.draft-note { border: 2px dashed #e0a300; background: #2a2208; color: #ffe08a; padding: 10px 14px; font: 600 .95rem var(--ui); margin: 1em 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(13, 13, 15, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { font: 800 1.55rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 10px; height: 30px; background: linear-gradient(var(--gold-hi), var(--gold)); clip-path: polygon(50% 0, 100% 18%, 80% 72%, 100% 72%, 100% 80%, 62% 80%, 62% 100%, 38% 100%, 38% 80%, 0 80%, 0 72%, 20% 72%, 0 18%); }
.site-header ul { list-style: none; margin: 0; padding: 0; }
.site-header nav a { font: 700 1.02rem var(--ui); color: var(--ink); text-decoration: none; letter-spacing: .03em; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--gold-hi); }
.menu-wide { display: none; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; content: ""; }
.menu summary span::before { position: absolute; top: -7px; }
.menu summary span::after { position: absolute; top: 7px; }
.menu nav { position: absolute; left: 0; right: 0; top: 64px; background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
.menu nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 1040px) {
  .menu { display: none; }
  .menu-wide { display: block; }
  .menu-wide ul { display: flex; gap: 26px; }
}

/* buttons */
.btn { display: inline-block; font: 700 1rem/1 var(--ui); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: #121212; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); padding: 15px 22px; border-radius: 4px; border: 2px solid var(--gold); }
.btn:hover { color: #000; filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--gold-hi); }
.btn-ghost:hover { color: #000; background: var(--gold); }
.buy { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.1em 0; }

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 70% 0%, rgba(212, 162, 76, .18), transparent 55%), var(--bg); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; gap: 24px; padding-top: 36px; }
.hero-photo { margin: 0 -16px; position: relative; }
.hero-photo img { width: 100%; height: 360px; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 2%, transparent 45%); }
.hero h1 { margin-bottom: .2em; }
.hero .lead { max-width: 34em; }
.hero-books { display: flex; gap: 14px; margin: 1.4em 0 2em; }
.hero-books a { width: 120px; box-shadow: 0 14px 30px rgba(0, 0, 0, .6); transition: transform .2s; }
.hero-books a:hover { transform: translateY(-4px); }
@media (min-width: 900px) {
  .hero-in { grid-template-columns: 1.1fr .9fr; align-items: center; padding-top: 0; }
  .hero-text { padding: 80px 0; }
  .hero-photo { margin: 0; align-self: stretch; }
  .hero-photo img { height: 100%; min-height: 620px; }
  .hero-photo::after { background: linear-gradient(90deg, var(--bg) 0%, transparent 35%); }
  .hero-books a { width: 150px; }
}

/* rows */
.row { padding: 56px 0; }
.row-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-head { padding: 52px 0 20px; background: radial-gradient(ellipse at 20% 0%, rgba(212, 162, 76, .14), transparent 60%); }
.crumbs { font: 600 .9rem var(--ui); color: var(--muted); }
.crumbs a { color: var(--muted); }
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split-wide { grid-template-columns: 1.4fr 1fr; } }

/* figures */
.figure { margin: 0 0 1.2em; }
.figure img { border-radius: 4px; width: 100%; }
.figure figcaption { font: 400 .88rem/1.4 var(--ui); color: var(--muted); margin-top: 8px; }
@media (min-width: 900px) {
  .figure-right { float: right; width: 42%; margin: 0 0 1em 32px; }
  .figure-left { float: left; width: 42%; margin: 0 32px 1em 0; }
}
.clear { clear: both; }

/* books */
.book-pair { display: grid; gap: 28px; }
@media (min-width: 900px) { .book-pair { grid-template-columns: 1fr 1fr; } }
.book-card { display: grid; grid-template-columns: 130px 1fr; gap: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 20px; }
.book-card h3 { font-size: 2rem; margin-bottom: .2em; }
.book-card h3 a { color: var(--ink); text-decoration: none; }
.book-sub { font: 400 1rem/1.45 var(--ui); color: var(--muted); }
.book-cover img { box-shadow: 0 10px 24px rgba(0, 0, 0, .55); }
.book-card .btn { padding: 12px 14px; font-size: .9rem; }
@media (max-width: 599px) { .book-card { grid-template-columns: 1fr; } .book-cover { width: 150px; } }
@media (min-width: 600px) { .book-card { grid-template-columns: 180px 1fr; } }
.book-hero { display: grid; gap: 28px; align-items: start; }
.book-hero .cover img { box-shadow: 0 20px 50px rgba(0, 0, 0, .7); max-width: 340px; width: 100%; }
@media (min-width: 900px) { .book-hero { grid-template-columns: 340px 1fr; gap: 56px; } }
.stores { font: 400 .95rem var(--ui); color: var(--muted); }
.table-wrap { overflow-x: auto; }
table.editions { width: 100%; border-collapse: collapse; font: 400 .95rem var(--ui); }
.editions th, .editions td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.editions thead th { color: var(--muted); font-weight: 600; }

/* quote band */
.quote-band { padding: 64px 0; text-align: center; background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.quote-band blockquote { border: 0; padding: 0; margin: 0 auto; max-width: 900px; font: 800 clamp(2rem, 5vw, 3.6rem)/1.05 var(--display); text-transform: uppercase; color: var(--gold-hi); }
.quote-band cite { display: block; margin-top: 14px; font: 600 1rem var(--ui); color: var(--muted); font-style: normal; text-transform: none; }
blockquote { margin: 0 0 1.2em; padding: 6px 0 6px 20px; border-left: 4px solid var(--gold); }
blockquote p { margin: 0 0 .3em; font-size: 1.12rem; }
blockquote cite { font: 600 .85rem var(--ui); color: var(--muted); font-style: normal; }

/* press */
.press-band { text-align: center; }
.press-strip { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; }
.press-strip li { font: 800 1.4rem var(--display); text-transform: uppercase; color: var(--steel); letter-spacing: .05em; }
.press-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.press-item h3 { font-size: 1.7rem; text-transform: none; }
.press-item h3 a { color: var(--ink); }
.press-pics { display: grid; gap: 16px; margin-top: 12px; }
@media (min-width: 700px) { .press-pics { grid-template-columns: 1fr 1fr; } }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--bg); }
.timeline .when { font: 800 1.3rem var(--display); color: var(--gold-hi); text-transform: uppercase; display: block; }
.timeline .src { font: 400 .85rem var(--ui); color: var(--muted); }

/* videos */
.video-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card { text-decoration: none; color: var(--ink); display: block; }
.video-card .thumb { position: relative; display: block; border-radius: 4px; overflow: hidden; }
.video-card img { width: 100%; transition: transform .3s; }
.video-card:hover img { transform: scale(1.04); }
.video-card .len { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .8); font: 700 .8rem var(--ui); padding: 3px 7px; border-radius: 3px; }
.play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(13, 13, 15, .75); border: 2px solid var(--gold); }
.play::after { content: ""; position: absolute; left: 22px; top: 17px; border-left: 18px solid var(--gold-hi); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.vc-title { display: block; font: 700 1.3rem/1.15 var(--display); text-transform: uppercase; margin-top: 10px; }
.lite-yt { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; overflow: hidden; margin-bottom: 1.4em; }
.lite-yt img, .lite-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.lite-play { position: absolute; inset: 0; }
.lite-play::before { content: ""; position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(13, 13, 15, .78); border: 3px solid var(--gold); }
.lite-play::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -16px 0 0 -8px; border-left: 28px solid var(--gold-hi); border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.chapters { padding-left: 0; list-style: none; columns: 1; font: 600 1rem var(--ui); }
@media (min-width: 700px) { .chapters { columns: 2; } }
.chapters li { break-inside: avoid; padding: 6px 0; }
.chapters a { color: var(--ink); text-decoration: none; }
.chapters a:hover { color: var(--gold-hi); }
.ts { font: 700 .85rem var(--ui); color: var(--gold); margin-right: 6px; text-decoration: none; }
.quotes { margin: 1em 0 2em; }
.transcript { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 4px 18px; }
.transcript summary { cursor: pointer; font: 700 1.05rem var(--ui); padding: 14px 0; color: var(--gold-hi); }
.transcript p { font-size: 1rem; }

/* venues, faq, forms */
.venues { list-style: none; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .venues { grid-template-columns: 1fr 1fr; } }
.venues li { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: 14px 16px; border-radius: 4px; }
.venues strong { display: block; font: 700 1.1rem var(--ui); }
.venues span { font: 400 .95rem var(--ui); color: var(--muted); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 700 1.12rem/1.35 var(--ui); padding: 16px 0; }
.faq div { padding-bottom: 12px; }
.contact-form { display: grid; gap: 14px; max-width: 680px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font: 600 .95rem var(--ui); }
.field input, .field select, .field textarea { font: 400 1rem var(--ui); color: var(--ink); background: var(--panel); border: 1px solid #45434c; border-radius: 4px; padding: 12px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.hint { font: 400 .9rem var(--ui); color: var(--muted); margin: -4px 0 0; }
.hp { position: absolute; left: -9999px; }
.form-status { font: 600 1rem var(--ui); }
.cta-band { background: linear-gradient(120deg, #1d170c, var(--bg-alt)); border-top: 1px solid #3b2f17; border-bottom: 1px solid #3b2f17; padding: 52px 0; }
.stat-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 1.5em 0; }
@media (min-width: 800px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }
.stat-strip div { border-top: 3px solid var(--gold); padding-top: 10px; }
.stat-strip b { display: block; font: 800 2.6rem/1 var(--display); color: var(--ink); }
.stat-strip span { font: 400 .92rem/1.35 var(--ui); color: var(--muted); }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #09090b; padding: 40px 0 10px; font: 400 .95rem/1.6 var(--ui); color: var(--muted); }
.footer-in { display: grid; gap: 24px; }
@media (min-width: 800px) { .footer-in { grid-template-columns: 2fr 1fr; } }
.footer-name { font: 800 1.5rem var(--display); text-transform: uppercase; color: var(--ink); margin-bottom: .3em; }
.footer-links { list-style: none; padding: 0; margin: 0; columns: 2; }
.footer-links a { color: var(--ink); }
.fine { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 14px; font-size: .85rem; }
.fine a { color: var(--muted); }
.figure-capped { max-width: 460px; }
