@font-face { font-family: "EBG"; font-weight: 400 600; src: url(fonts/EBGaramond.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "EBG"; font-style: italic; src: url(fonts/EBGaramond-Italic.woff2) format("woff2"); font-display: swap; }
:root {
  --bg: #F6F1E7; --surface: #EFE8DA; --card: #FBF8F1; --ink: #1D1914; --muted: #5C5346;
  --rule: #D6CBB8; --accent: #1E4D3B; --brass: #8A6526; --ox: #8C3B2B;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin:0; background:var(--bg); color:var(--ink); font-family:"EBG", Georgia, serif; font-size:18px; line-height:1.55; overflow-x:hidden; }
a { color:var(--accent); text-decoration:none; }
.wrap { max-width:1120px; margin:0 auto; padding:0 24px; }
header { border-bottom:1px solid var(--rule); padding:18px 0; background:rgba(246,241,231,.94); position:sticky; top:0; z-index:10; backdrop-filter:blur(6px); }
.hdr { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand { font-size:1.25rem; letter-spacing:.04em; text-transform:uppercase; color:var(--ink); font-weight:600; }
.brand span { color:var(--brass); }
nav { display:flex; gap:22px; font-family:system-ui,-apple-system,sans-serif; font-size:.82rem; letter-spacing:.08em; text-transform:uppercase; }
nav a { color:var(--muted); }
nav a:hover { color:var(--ink); }

.hero { padding:52px 0 42px; border-bottom:1px solid var(--rule); }
.hero-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.12fr); gap:42px; align-items:center; }
.eyebrow { font-family:system-ui,-apple-system,sans-serif; font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; color:var(--brass); margin:0 0 12px; font-weight:600; }
h1 { font-size:clamp(2.2rem,4.2vw,3.3rem); line-height:1.08; font-weight:400; margin:0 0 14px; letter-spacing:-.01em; }
.lead { font-size:1.1rem; color:var(--muted); margin:0 0 22px; max-width:34em; }
.acts { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.btn { display:inline-flex; align-items:center; justify-content:center; padding:12px 22px; font-family:system-ui,-apple-system,sans-serif; font-size:.86rem; font-weight:600; letter-spacing:.04em; border-radius:2px; cursor:pointer; border:1px solid transparent; transition:transform .15s, background .15s; }
.btn.pri { background:var(--accent); color:#FBF8F1; }
.btn.pri:hover { background:#163B2D; transform:translateY(-1px); }
.btn.sec { background:transparent; color:var(--ink); border-color:var(--ink); }
.btn.sec:hover { background:var(--surface); }

.plate-frame { margin:0; background:var(--card); padding:14px; border:1px solid var(--rule); box-shadow:0 22px 48px -24px rgba(29,25,20,.28); }
.plate-frame img { width:100%; height:auto; display:block; aspect-ratio:16/10; object-fit:cover; }
.plate-cap { display:flex; justify-content:space-between; font-family:system-ui,-apple-system,sans-serif; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); padding:10px 4px 2px; }

.metrics { display:grid; grid-template-columns:repeat(4,1fr); border-bottom:1px solid var(--rule); }
.metric { padding:20px 16px; text-align:center; border-right:1px solid var(--rule); }
.metric:last-child { border-right:0; }
.metric strong { display:block; font-size:1.75rem; font-weight:400; color:var(--ink); line-height:1.1; }
.metric span { font-family:system-ui,-apple-system,sans-serif; font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); }

.editions-band { padding:42px 0; border-bottom:1px solid var(--rule); background:var(--surface); }
.editions { display:grid; grid-template-columns:1.25fr 1fr 1fr; gap:18px; }
.ed-card { background:var(--card); border:1px solid var(--rule); padding:20px 22px; display:flex; flex-direction:column; gap:8px; }
.ed-card.featured { border:2px solid var(--accent); background:#F5F9F6; }
.ed-top { display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.ed-tag { font-family:system-ui,-apple-system,sans-serif; font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; color:var(--brass); font-weight:700; }
.ed-card.featured .ed-tag { color:var(--accent); }
.ed-price { font-size:1.55rem; font-weight:600; color:var(--ink); }
.ed-card h3 { margin:0; font-size:1.28rem; font-weight:400; }
.ed-card p { margin:0; font-size:.96rem; color:var(--muted); flex:1; }
.ed-foot { margin-top:6px; font-family:system-ui,-apple-system,sans-serif; font-size:.78rem; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; }

section { padding:52px 0; }
.sec-head { display:flex; justify-content:space-between; align-items:baseline; gap:16px; border-bottom:1px solid var(--rule); padding-bottom:14px; margin-bottom:28px; flex-wrap:wrap; }
.sec-head h2 { font-size:clamp(1.6rem,3vw,2.2rem); font-weight:400; margin:0; }
.sec-head p { margin:0; color:var(--muted); font-style:italic; }

.shelf { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; }
.vol-card { background:var(--card); border:1px solid var(--rule); padding:16px; transition:transform .18s, box-shadow .18s; }
.vol-card:hover { transform:translateY(-3px); box-shadow:0 16px 32px -20px rgba(29,25,20,.3); }
.vol-btn { all:unset; cursor:pointer; display:block; width:100%; background:#EFE8DA; padding:10px; box-sizing:border-box; }
.vol-btn img { width:100%; height:auto; display:block; aspect-ratio:2/3; object-fit:cover; }
.vol-meta { display:flex; align-items:center; gap:8px; margin-top:12px; font-family:system-ui,-apple-system,sans-serif; font-size:.74rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.dot { width:8px; height:8px; border-radius:50%; display:inline-block; }
.d1 { background:#542E48; } .d2 { background:#495E32; } .d3 { background:#1E4D3B; }
.d4 { background:#7C3238; } .d5 { background:#8A5A2B; } .d6 { background:#264653; }
.d7 { background:#2E4A7D; } .d8 { background:#4E5D6C; } .d9 { background:#5C4033; }
.cnt { margin-left:auto; }
.vol-card h3 { margin:6px 0 0; font-size:1.25rem; font-weight:400; }

.specimen-band { background:var(--surface); border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); }
.spec-grid { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:36px; align-items:start; }
.spec-title { font-size:2rem; font-weight:400; margin:0 0 8px; }
.grades { list-style:none; padding:0; margin:16px 0 0; display:grid; gap:8px; font-family:system-ui,-apple-system,sans-serif; font-size:.86rem; }
.grades li { display:flex; align-items:center; gap:10px; color:var(--muted); }
.gp { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; font-weight:700; font-size:.78rem; border-radius:2px; color:#fff; }
.ga { background:#1E4D3B; } .gb { background:#3E6B48; } .gc { background:#8A5A2B; } .gd { background:#8C3B2B; } .gt { background:#264653; }

.ledger { background:var(--card); border:1px solid var(--rule); padding:26px 28px; box-shadow:0 12px 28px -20px rgba(0,0,0,.25); }
.ledger-top { display:flex; justify-content:space-between; font-family:system-ui,-apple-system,sans-serif; font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--brass); border-bottom:1px solid var(--rule); padding-bottom:10px; }
.ledger h3 { margin:14px 0 12px; font-size:1.45rem; font-weight:400; }
table { width:100%; border-collapse:collapse; font-family:system-ui,-apple-system,sans-serif; font-size:.88rem; }
th, td { text-align:left; padding:10px 8px; border-bottom:1px solid var(--rule); }
th { font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); }
.solo { margin:14px 0 0; font-size:.96rem; color:var(--ink); }

footer { padding:28px 0 42px; font-family:system-ui,-apple-system,sans-serif; font-size:.8rem; color:var(--muted); }
.ftr { display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.ftr-links { display:flex; gap:18px; flex-wrap:wrap; }

.d-bg { position:fixed; inset:0; background:rgba(20,17,13,.56); z-index:40; }
.d-panel { position:fixed; top:0; right:0; bottom:0; width:min(540px,100%); background:var(--card); z-index:50; display:flex; flex-direction:column; border-left:1px solid var(--rule); }
.d-bar { height:5px; width:100%; background:var(--accent); }
.d-head { display:flex; justify-content:space-between; align-items:start; padding:20px 24px; border-bottom:1px solid var(--rule); }
.d-eyebrow { margin:0; font-family:system-ui,sans-serif; font-size:.72rem; letter-spacing:.12em; color:var(--muted); }
.d-head h2 { margin:4px 0 0; font-size:1.6rem; font-weight:400; }
.d-close { all:unset; cursor:pointer; font-size:1.8rem; line-height:1; padding:4px 8px; }
.d-body { padding:22px 24px; overflow:auto; flex:1; }
.d-grid { display:grid; grid-template-columns:150px minmax(0,1fr); gap:20px; }
.d-grid img { width:100%; height:auto; border:1px solid var(--rule); }
.d-lead { margin:0 0 14px; color:var(--muted); }
.d-dl { margin:0 0 16px; display:grid; gap:8px; font-family:system-ui,sans-serif; font-size:.84rem; }
.d-dl div { display:flex; justify-content:space-between; gap:12px; border-bottom:1px solid var(--rule); padding-bottom:6px; }
.d-dl dt { color:var(--muted); } .d-dl dd { margin:0; text-align:right; font-weight:600; }
.d-foot { display:flex; justify-content:space-between; align-items:center; padding:14px 24px; border-top:1px solid var(--rule); font-family:system-ui,sans-serif; font-size:.82rem; }

@media (max-width: 860px) {
  .hero-grid, .spec-grid, .editions { grid-template-columns:1fr; gap:20px; }
  .shelf { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  .metrics { grid-template-columns:repeat(2,1fr); }
  .metric:nth-child(2) { border-right:0; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom:1px solid var(--rule); }
}
@media (max-width: 520px) {
  .wrap { padding:0 16px; }
  .brand { font-size:.86rem; letter-spacing:.02em; white-space:nowrap; }
  nav { gap:10px; font-size:.66rem; letter-spacing:.04em; }
  nav a { white-space:nowrap; }
  .hide-s { display:none; }
  .shelf { grid-template-columns:1fr; }
  .d-grid { grid-template-columns:1fr; }
  .d-grid img { max-width:140px; }
}
