/* Todd Eric · Requiem for a Phoenix. Static styles, no build step. */
@font-face { font-family: "Cinzel"; src: url("/fonts/Cinzel-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("/fonts/Cinzel-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/CG-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/CG-Italic.ttf") format("truetype"); font-style: italic; font-display: swap; }
:root {
  --bg: #07090f;
  --bg-raise: #0d111b;
  --bg-card: #111725;
  --bg-card-hover: #172033;
  --ink: #eceef2;
  --ink-dim: #b8bec9;
  --ink-mute: #8a91a0;
  --gold: #c9ced8;
  --gold-bright: #ffffff;
  --amber: #d6383a;
  --amber-deep: #8f1f22;
  --rule: rgba(201, 206, 216, 0.22);
  --rule-strong: rgba(201, 206, 216, 0.45);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --serif: "Cormorant", "Palatino Linotype", Palatino, Georgia, serif;
  --display: "Cinzel", "Trajan Pro", "Palatino Linotype", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --radius: 12px;
  --header-h: 4.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 1.05rem; line-height: 1.65; min-height: 100vh;
  background-image: radial-gradient(ellipse at 50% -10%, rgba(70, 90, 140, 0.22), transparent 55%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-bright); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: #fff; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; letter-spacing: 0.06em; line-height: 1.2; color: var(--gold-bright); margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.2rem; color: var(--ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 9, 15, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.header-inner, .footer-inner, .wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold-bright);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}
.brand:hover { color: #fff6e4; }
.brand img, .brand svg { width: 28px; height: 36px; flex: none; }
.brand span { line-height: 1; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--gold);
  padding: 0.4rem 0.65rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.site-nav ul {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--gold-bright);
}
.site-nav a[aria-current="page"] { box-shadow: 0 1px 0 var(--gold); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: #0b0e16;
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem 1rem 1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 0.7rem 0; }
}

/* Hero / layout */
main { padding: 0 0 4rem; }
.hero {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}
.hero .kicker, .kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  color: var(--ink-dim);
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}
.hero-actions, .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.btn, button.btn, a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold-bright);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--gold); color: #07090f; }
.btn-solid, a.btn-solid, button.btn-solid {
  background: var(--gold);
  color: #07090f;
  border-color: var(--gold);
}
.btn-solid:hover, a.btn-solid:hover, button.btn-solid:hover {
  background: var(--gold-bright);
  color: #07090f;
}
.btn-solid:hover { background: var(--gold-bright); color: #07090f; }
.btn-ghost { border-color: var(--rule); color: var(--ink-dim); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); background: transparent; }
.btn-soon, a.btn-soon, a.btn-soon:hover {
  border-color: var(--rule);
  color: var(--ink-mute);
  background: transparent;
  cursor: default;
  pointer-events: none;
}
.buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.buy-row .btn { padding: 0.5rem 0.95rem; font-size: 0.78rem; }

/* Sections */
section { padding: 2.5rem 0; }
.section-head { text-align: center; margin-bottom: 2rem; }
.section-head p { color: var(--ink-dim); max-width: 38rem; margin-inline: auto; }
.rule {
  width: 4rem;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 1.25rem;
  border: 0;
  opacity: 0.7;
}

/* Forms */
form.stack {
  display: grid;
  gap: 1rem;
  max-width: 28rem;
  margin: 1.5rem auto 0;
}
label { display: grid; gap: 0.35rem; font-size: 0.9rem; color: var(--ink-dim); }
input[type="text"], input[type="email"], input[type="password"], textarea {
  font: inherit;
  color: var(--ink);
  background: #0a0d15;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
}
input:focus, textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
textarea { min-height: 8rem; resize: vertical; }
.form-note { text-align: center; color: var(--ink-mute); font-size: 0.9rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2.2rem 0 2.5rem;
  color: var(--ink-mute);
  font-size: 0.92rem;
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: flex-start; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; }
.footer-nav a { color: var(--ink-dim); text-decoration: none; }
.footer-nav a:hover { color: var(--gold-bright); }

/* Discussion board */
.board-wrap { max-width: 52rem; text-align: left; }
.board-hero { text-align: left; padding-top: 2.5rem; }
.board-hero .kicker { text-align: left; }
.board-lede { margin-left: 0; text-align: left; max-width: 42rem; }
.board-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.board-heading p { color: var(--ink-dim); max-width: 38rem; }
.board-crumb {
  font-size: 0.9rem;
  color: var(--ink-mute);
  margin-bottom: 0.8rem;
}
.account-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  align-items: center;
  justify-content: flex-end;
  margin: -2.2rem 0 1.75rem;
  color: var(--ink-dim);
  font-size: 0.95rem;
}
.account-bar a { color: var(--gold-bright); }
.category-list { display: flex; flex-direction: column; gap: 1rem; }
.category-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
  transition: border-color 0.2s, transform 0.2s;
}
.category-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  color: inherit;
}
.category-card h2 { margin-bottom: 0.4rem; }
.category-card p { color: var(--ink-dim); margin-bottom: 0.6rem; }
.category-meta, .thread-meta, .muted {
  color: var(--ink-mute);
  font-size: 0.88rem;
  margin: 0;
}
.thread-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.thread-row, .thread-empty {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.thread-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--gold-bright);
  text-decoration: none;
  margin-right: 0.5rem;
}
.thread-title:hover { color: #fff6e4; }
.thread-counts {
  color: var(--ink-mute);
  font-size: 0.88rem;
  text-align: right;
  display: grid;
  gap: 0.2rem;
}
.flag, .badge {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid var(--rule);
  color: var(--gold);
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  vertical-align: middle;
}
.badge-author { border-color: var(--gold); color: var(--gold-bright); }
.badge-admin { border-color: var(--amber); color: var(--amber); }
.board-post {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem 1.3rem;
  margin-bottom: 1rem;
}
.board-post.is-pending { border-style: dashed; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  align-items: baseline;
  margin-bottom: 0.7rem;
  color: var(--ink-mute);
  font-size: 0.9rem;
}
.post-author { color: var(--ink); font-weight: 700; }
.post-body p { color: var(--ink-dim); }
.post-body p:last-child { margin-bottom: 0; }
.post-edited { font-style: italic; }
.board-form { margin-left: 0; max-width: 40rem; }
.check-label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  line-height: 1.45;
}
.check-label input { margin-top: 0.3rem; accent-color: var(--gold); }
.flash {
  border: 1px solid var(--rule-strong);
  background: var(--bg-raise);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  margin: 0 0 1.25rem;
  color: var(--ink-dim);
}
.flash-error { border-color: #a45c5c; color: #f0c4c4; }
.flash-ok { border-color: var(--gold); color: var(--gold-bright); }
.inline-form { display: inline; }
.admin-tools, .thread-admin {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.6rem 0 1rem;
}
.btn-tiny, a.btn-tiny, button.btn-tiny {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
}
.btn-danger, a.btn-danger, button.btn-danger {
  border-color: #a45c5c;
  color: #f0c4c4;
  background: transparent;
}
.btn-danger:hover, a.btn-danger:hover, button.btn-danger:hover {
  background: #a45c5c;
  color: #07090f;
}
.mod-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  margin-bottom: 1rem;
}
.table-wrap { overflow-x: auto; margin-top: 1rem; }
.member-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.member-table th, .member-table td {
  text-align: left;
  padding: 0.65rem 0.7rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  color: var(--ink-dim);
}
.member-table th { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 700px) {
  .account-bar { margin-top: 0; justify-content: flex-start; }
  .thread-counts { text-align: left; }
}

/* ---------- Phoenix site ---------- */
.brand { flex-direction: column; align-items: flex-start; gap: 0.15rem; }
.brand-name { font-family: var(--display); font-size: 1.3rem; letter-spacing: 0.22em; color: #fff; }
.brand-sub { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--ink-dim); letter-spacing: 0.03em; }
select { font: inherit; color: var(--ink); background: #0a0d15; border: 1px solid var(--rule); border-radius: 8px; padding: 0.7rem 0.85rem; }
.btn-red, a.btn-red, button.btn-red { background: var(--amber); border-color: var(--amber); color: #fff; }
.btn-red:hover, a.btn-red:hover, button.btn-red:hover { background: #ef4b4d; border-color: #ef4b4d; color: #fff; }

.hero-full { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; padding: 0; overflow: hidden; }
.hero-full .hero-bg { position: absolute; inset: 0; background: url("/images/art/hero.jpg") center 60% / cover no-repeat; }
.hero-full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,9,15,0.55) 0%, rgba(7,9,15,0.15) 35%, rgba(7,9,15,0.75) 75%, var(--bg) 100%); }
.hero-full .wrap { position: relative; z-index: 1; padding: 0 0 3.5rem; text-align: center; }
.title-lockup { font-family: var(--display); color: #fff; line-height: 1; margin: 0 0 1rem; text-shadow: 0 4px 30px rgba(0,0,0,0.6); }
.title-lockup .t1, .title-lockup .t3 { display: block; font-size: clamp(2.6rem, 9vw, 6rem); letter-spacing: 0.14em; }
.title-lockup .t2 { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3.5vw, 2.2rem); letter-spacing: 0.04em; margin: 0.35rem 0; color: var(--ink-dim); }
.byline { font-family: var(--display); letter-spacing: 0.2em; font-size: 1.05rem; color: #fff; }
.byline em { font-family: var(--serif); letter-spacing: 0.04em; color: var(--ink-dim); font-size: 1.05rem; }
.red-rule { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin: 1rem auto; }
.red-rule::before, .red-rule::after { content: ""; width: 5rem; height: 1px; background: rgba(255,255,255,0.55); }
.red-rule span { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

.split { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 3rem; align-items: start; }
.split .cover-img { border-radius: 6px; box-shadow: var(--shadow); border: 1px solid var(--rule); }
.blurb p { color: var(--ink-dim); }
.blurb .pull { font-family: var(--serif); font-size: 1.45rem; line-height: 1.45; color: #fff; font-style: italic; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split .cover-img { max-width: 300px; margin: 0 auto; } }

.teaser { background: linear-gradient(180deg, transparent, rgba(214,56,58,0.06), transparent); text-align: center; padding: 4rem 0; }
.teaser blockquote { margin: 0 auto; max-width: 46rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 3vw, 2.05rem); line-height: 1.5; color: #fff; }
.teaser .src { margin-top: 1.25rem; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery figure { margin: 0; background: #f4f1ea; border-radius: 6px; overflow: hidden; border: 1px solid var(--rule); }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gallery figcaption { background: var(--bg-card); color: var(--ink-dim); font-size: 0.82rem; padding: 0.5rem 0.75rem; letter-spacing: 0.04em; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.car-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.car-card { background: var(--bg-card); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, border-color .2s; display: flex; flex-direction: column; }
.car-card:hover { transform: translateY(-3px); border-color: var(--rule-strong); color: var(--ink); }
.car-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.car-card .cc-body { padding: 1rem 1.15rem 1.25rem; }
.car-card h3 { font-family: var(--display); letter-spacing: 0.08em; margin-bottom: 0.25rem; }
.car-card p { color: var(--ink-dim); font-size: 0.95rem; margin: 0; }
@media (max-width: 860px) { .car-strip { grid-template-columns: 1fr; } }

.notice { border: 1px solid var(--rule-strong); border-left: 3px solid var(--amber); background: var(--bg-raise); border-radius: 8px; padding: 1.25rem 1.5rem; max-width: 52rem; margin: 0 auto; }
.notice h3 { font-family: var(--display); letter-spacing: 0.08em; }
.notice p:last-child { margin-bottom: 0; }

.spec-block { display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: 2.5rem; align-items: start; padding: 3rem 0; border-top: 1px solid var(--rule); }
.spec-block:first-of-type { border-top: 0; }
.spec-block .sheet { border-radius: 6px; box-shadow: var(--shadow); border: 1px solid var(--rule); cursor: zoom-in; }
.spec-block .facts { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 0.4rem; }
.spec-block .facts li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 0.75rem; border-bottom: 1px dashed var(--rule); padding-bottom: 0.4rem; font-size: 0.95rem; }
.spec-block .facts span { color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; padding-top: 0.2rem; }
.spec-block .lore { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: #fff; }
@media (max-width: 860px) { .spec-block { grid-template-columns: 1fr; } }
.tag { display: inline-block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); font-weight: 700; margin-bottom: 0.5rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact-grid form.stack { margin: 0; max-width: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.prose { max-width: 46rem; margin: 0 auto; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.9); display: none; align-items: center; justify-content: center; z-index: 100; padding: 1rem; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 96vh; width: auto; }
