/* ═══════════════════════════════════════════════════════════
   LOST HERALD · Bestiary v1 tokens (source: bestiary-guideline.html)
   ═══════════════════════════════════════════════════════════ */
:root {
  --night:#111726;
  --night-raised:#18202F;
  --night-high:#1F2940;
  --line:#28324A;

  --parchment:#EDE4D0;
  --parchment-dim:#9BA3B8;
  --ink:#1D2433;
  --line-light:#D9CFB8;

  --gold:#D9A441;

  --midnight:#243B63; --lapis:#3A5F8F; --azure:#6C93C9;
  --madder:#B23A4A;   --vermilion:#D95B2A;
  --foxglove:#C4577E; --rose:#E08A9B;
  --verdigris:#2E6E62;

  --font-display:'Cormorant Garamond',serif;
  --font-brand:'Marcellus',serif;
  --font-rubric:'Uncial Antiqua',serif;
  --font-body:'Work Sans',sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { background:var(--night); color:var(--parchment); font-family:var(--font-body); font-size:15px; line-height:1.7; }
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }

/* ── nav ── */
header { display:flex; justify-content:space-between; align-items:center; padding:26px 6vw; border-bottom:1px solid var(--line); position:sticky; top:0; background:rgba(17,23,38,.92); backdrop-filter:blur(8px); z-index:10; }
.wordmark { font-family:var(--font-brand); font-size:17px; letter-spacing:.3em; text-transform:uppercase; }
nav a { font-size:11px; letter-spacing:.22em; text-transform:uppercase; color:var(--parchment-dim); margin-left:30px; transition:color .2s; }
nav a:hover, nav a.active { color:var(--gold); }

/* ── shared blocks ── */
.rubric { font-family:var(--font-rubric); font-size:15px; letter-spacing:.08em; color:var(--vermilion); }
h1 { font-family:var(--font-display); font-weight:500; font-size:clamp(36px,5vw,64px); line-height:1.1; }
h1 em, h2 em { font-style:italic; color:var(--gold); }
h2 { font-family:var(--font-display); font-weight:500; font-size:clamp(26px,3vw,38px); line-height:1.2; }
.label { font-family:var(--font-brand); font-size:11px; letter-spacing:.24em; text-transform:uppercase; color:#6E7891; }
.dim { color:var(--parchment-dim); }

.btn { display:inline-block; font-size:11px; letter-spacing:.2em; text-transform:uppercase; padding:14px 28px; transition:opacity .2s; }
.btn:hover { opacity:.85; }
.btn-primary { background:var(--gold); color:var(--night); font-weight:600; }
.btn-ghost { border:1px solid var(--lapis); color:var(--azure); }

section { padding:80px 6vw; }
.measure { max-width:600px; }

/* ── beast tags ── */
.beast-tag { display:inline-block; font-family:var(--font-rubric); font-size:11px; letter-spacing:.1em; padding:5px 12px 4px; border:1px solid currentColor; border-radius:2px; }
.t-stag    { color:var(--gold); }
.t-lion    { color:var(--madder); }
.t-gryphon { color:var(--azure); }
.t-dragon  { color:var(--foxglove); }

/* ── split hero ── */
.hero-split { display:grid; grid-template-columns:minmax(0,1.05fr) 28px minmax(0,1fr); align-items:center; padding:0; min-height:76vh; }
.hero-copy { padding:110px 5vw 90px 6vw; }
.hero-band { align-self:stretch; background-color:var(--parchment); background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Crect width='36' height='36' fill='%23EDE4D0'/%3E%3Cg fill='%23111726'%3E%3Ccircle cx='18' cy='11' r='7.5'/%3E%3Ccircle cx='18' cy='25' r='7.5'/%3E%3Ccircle cx='11' cy='18' r='7.5'/%3E%3Ccircle cx='25' cy='18' r='7.5'/%3E%3Cpath d='M0 0L5 0 0 5Z M36 0L31 0 36 5Z M0 36L5 36 0 31Z M36 36L31 36 36 31Z'/%3E%3C/g%3E%3C/svg%3E"); background-size:28px 28px; background-repeat:repeat; background-position:center; }
.hero-img { align-self:stretch; position:relative; background-size:cover; background-position:center 40%; min-height:480px; }
.hero-img::after { content:attr(data-ph); position:absolute; bottom:12px; right:14px; font-size:9px; letter-spacing:.18em; text-transform:uppercase; color:rgba(237,228,208,.75); text-shadow:0 1px 4px rgba(17,23,38,.8); }
@media (max-width:860px){
  .hero-split { grid-template-columns:1fr; grid-template-rows:auto 28px auto; min-height:0; }
  .hero-copy { padding:80px 6vw 50px; }
  .hero-band { height:28px; align-self:auto; }
  .hero-img { min-height:340px; }
}

/* ── imagery ── */
.ph { position:relative; overflow:hidden; background-size:cover; background-position:center; }
.ph::after { content:attr(data-ph); position:absolute; bottom:10px; left:12px; font-size:9px; letter-spacing:.18em; text-transform:uppercase; color:rgba(237,228,208,.55); }
.g-stag    { background:linear-gradient(145deg,#8a6a2e,#3d2f12); }
.g-lion    { background:linear-gradient(145deg,#7a3040,#38141c); }
.g-gryphon { background:linear-gradient(145deg,#3A5F8F,#16233a); }
.g-dragon  { background:linear-gradient(145deg,#C4577E,#4f1f33); }
.g-oak     { background:linear-gradient(145deg,#8a6a2e,#4d3a16); }

/* ── work grid ── */
.filter-row { display:flex; gap:10px; flex-wrap:wrap; margin:32px 0 40px; }
.filter-btn { font-family:var(--font-rubric); font-size:12px; letter-spacing:.08em; padding:8px 18px; border:1px solid var(--line); background:none; color:var(--parchment-dim); cursor:pointer; transition:all .2s; }
.filter-btn:hover { border-color:var(--gold); color:var(--gold); }
.filter-btn.on { border-color:var(--gold); color:var(--gold); background:var(--night-raised); }
.work-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }
.featured-grid { grid-template-columns:repeat(4,1fr); }
@media (max-width:960px){ .work-grid, .featured-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:620px){ .work-grid, .featured-grid { grid-template-columns:1fr; } }
.work-card { background:var(--night-raised); border:1px solid var(--line); transition:border-color .25s; }
.work-card:hover { border-color:var(--gold); }
.work-card .ph { height:300px; }
.work-card .meta { padding:20px 20px 22px; }
.work-card h3 { font-family:var(--font-display); font-weight:500; font-size:21px; margin-bottom:4px; }
.work-card .kind { font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:#6E7891; margin-bottom:12px; }

/* ── process ── */
.step { display:grid; grid-template-columns:110px 1fr; gap:36px; padding:44px 0; border-bottom:1px solid var(--line); max-width:820px; }
@media (max-width:620px){ .step { grid-template-columns:1fr; gap:10px; } }
.step-num { font-family:var(--font-brand); font-size:34px; color:var(--gold); line-height:1; }
.step h3 { font-family:var(--font-display); font-weight:500; font-size:26px; margin-bottom:10px; }
.step p { color:var(--parchment-dim); max-width:560px; }
.step .aside { margin-top:14px; font-size:12.5px; color:#6E7891; border-left:2px solid var(--gold); padding-left:14px; }

/* ── form ── */
form { max-width:640px; }
.f-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:620px){ .f-row { grid-template-columns:1fr; } }
.f-field { margin-bottom:22px; }
label { display:block; font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--parchment-dim); margin-bottom:8px; }
input, select, textarea { width:100%; background:var(--night-raised); border:1px solid var(--line); color:var(--parchment); font-family:var(--font-body); font-size:14px; padding:13px 14px; border-radius:0; }
input:focus, select:focus, textarea:focus { outline:none; border-color:var(--gold); }
textarea { min-height:120px; resize:vertical; }
.form-note { font-size:12px; color:#6E7891; margin:18px 0 26px; max-width:520px; }
.form-ok { display:none; border:1px solid var(--gold); background:var(--night-raised); padding:28px; max-width:640px; }
.form-ok h3 { font-family:var(--font-display); font-size:24px; font-weight:500; margin-bottom:8px; }

/* ── footer ── */
footer { border-top:1px solid var(--line); padding:48px 6vw 56px; display:flex; justify-content:space-between; gap:30px; flex-wrap:wrap; }
footer .fm { font-family:var(--font-brand); font-size:14px; letter-spacing:.3em; text-transform:uppercase; margin-bottom:14px; }
footer p, footer a { font-size:11.5px; color:#6E7891; line-height:1.8; }
footer a:hover { color:var(--gold); }
