:root {
  --bg: #0c0b09;
  --bg-2: #141311;
  --gold: #c9a85a;
  --gold-2: #e8d19a;
  --text: #f4efe4;
  --muted: #a39b8b;
  --line: #2c2a24;
  --max: 1100px;
}
@font-face { font-family: "Cinzel JGQ"; src: url("../assets/fonts/Cinzel-VariableFont_wght.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Cinzel Dec JGQ"; src: url("../assets/fonts/CinzelDecorative-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cinzel Dec Bold JGQ"; src: url("../assets/fonts/CinzelDecorative-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Baskerville JGQ"; src: url("../assets/fonts/LibreBaskerville-VariableFont_wght.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Baskerville Italic JGQ"; src: url("../assets/fonts/LibreBaskerville-Italic-VariableFont_wght.ttf") format("truetype"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Archivo JGQ"; src: url("../assets/fonts/Archivo-VariableFont_wdth,wght.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Baskerville JGQ", Georgia, serif;
  font-size: 18px; line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); }
a:hover { color: #fff; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #000; padding: 8px; z-index: 20; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(12,11,9,.92);
  border-bottom: 1px solid var(--line);
}
header.site .bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { font-family: "Cinzel JGQ", serif; letter-spacing: .2em; color: var(--gold-2); text-decoration: none; font-size: 14px; }
.brand:hover { color: #fff; text-decoration: none; }
nav.primary { display: flex; gap: 22px; }
nav.primary a { color: var(--text); text-decoration: none; font-family: "Archivo JGQ", sans-serif; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
nav.primary a[aria-current="page"], nav.primary a:hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); padding: 8px 12px; cursor: pointer; font-family: "Archivo JGQ"; letter-spacing: .1em; }

.hero { position: relative; }
.hero img.card { width: 100%; max-height: 70vh; object-fit: cover; object-position: center; }
.hero .caption {
  width: min(var(--max), calc(100% - 40px)); margin: 24px auto 0; position: relative; z-index: 1;
  text-align: center;
}
@media (min-width: 801px) {
  .hero .caption { margin-top: -36px; }
}
.hero h1 {
  font-family: "Cinzel Dec Bold JGQ", serif; font-weight: 700;
  font-size: clamp(32px, 6vw, 58px); letter-spacing: .08em; margin: 0 0 8px;
}
.hero p { margin: 0 auto 28px; color: var(--muted); max-width: 34rem; font-style: italic; font-family: "Baskerville Italic JGQ", serif; }

section { padding: 64px 0 72px; }
h2 { font-family: "Cinzel JGQ", serif; letter-spacing: .1em; font-size: clamp(24px, 3.5vw, 34px); margin: 0 0 10px; }
.kicker { font-family: "Archivo JGQ", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-size: 12px; margin: 0 0 8px; }
.sub { color: var(--muted); margin: 0 0 28px; }

.projects { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.project {
  display: block; color: inherit; text-decoration: none;
  background: var(--bg-2); border: 1px solid var(--line); overflow: hidden;
}
.project:hover { border-color: var(--gold); color: inherit; text-decoration: none; }
.project img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.project .pad { padding: 18px 18px 22px; }
.project h3 { font-family: "Cinzel JGQ"; margin: 0 0 6px; letter-spacing: .08em; }
.project p { margin: 0; color: var(--muted); font-size: 16px; }

.prose { max-width: 40rem; }
.todo, .placeholder {
  border: 1px dashed var(--gold); background: #16130c; color: var(--gold-2);
  padding: 12px 14px; font-size: 15px; margin: 0 0 18px;
}
form.contact label { display: block; margin: 14px 0 6px; font-family: "Archivo JGQ"; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
form.contact input, form.contact textarea {
  width: 100%; background: #0a0908; color: var(--text); border: 1px solid var(--line);
  padding: 10px 12px; font: inherit;
}
form.contact textarea { min-height: 140px; }
form.contact button { margin-top: 16px; background: transparent; color: var(--gold-2); border: 1px solid var(--gold); padding: 10px 18px; font-family: "Archivo JGQ"; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }

footer.site { border-top: 1px solid var(--line); padding: 36px 0 28px; color: var(--muted); font-size: 14px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
footer.site a { color: var(--muted); }
footer.site .draft { margin-top: 22px; font-size: 12px; color: #6a6558; }

@media (max-width: 800px) {
  .projects, footer.site .cols { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  nav.primary { display: none; position: absolute; right: 20px; top: 56px; flex-direction: column; background: #12110e; border: 1px solid var(--line); padding: 14px 18px; }
  nav.primary.open { display: flex; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
