:root {
  --bg: #111214;
  --panel: #1a1c1f;
  --text: #ecebe7;
  --muted: #9a9892;
  --line: #2c2e32;
  --accent: #d9b77e;
  --radius: 6px;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; }
a { color: inherit; }
header.site, footer.site { padding: 20px 24px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
header.site .brand { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.6rem; letter-spacing: .04em; text-decoration: none; }
header.site nav a { color: var(--muted); text-decoration: none; margin-left: 18px; }
footer.site { color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); margin-top: 64px; }
main { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.hero { padding: 48px 0 32px; }
.hero h1 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 8px; }
.hero p { color: var(--muted); max-width: 640px; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card { text-decoration: none; display: block; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--panel); transition: opacity .2s; }
.card:hover img { opacity: .85; }
.card h2 { font-size: 1rem; font-weight: 500; margin: 10px 0 2px; }
.card p { color: var(--muted); margin: 0; font-size: .9rem; }
.print { display: grid; grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr); gap: 40px; padding-top: 24px; }
@media (max-width: 820px) { .print { grid-template-columns: 1fr; } }
.preview { background: var(--panel); border-radius: var(--radius); padding: 40px; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.preview img { max-width: 100%; max-height: 70vh; box-shadow: 0 12px 40px #000a; transition: border .2s, padding .2s; }
.preview img.frame-black { border: 14px solid #141414; }
.preview img.frame-white { border: 14px solid #f2f2f0; }
.preview img.frame-walnut { border: 14px solid #5a3a22; }
.preview img.frame-oak { border: 14px solid #b8925e; }
.preview img.mat { padding: 28px; background: #fbfaf7; }
.options h1 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: 2.2rem; margin: 0 0 4px; }
.options .caption { color: var(--muted); margin: 0 0 24px; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; }
legend { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { cursor: pointer; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: inline-block; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 14px; font-size: .92rem; }
.choices input:checked + span { border-color: var(--accent); color: var(--accent); }
.choices input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.format-desc { color: var(--muted); font-size: .9rem; min-height: 2.6em; }
.price { font-size: 1.8rem; margin: 8px 0 16px; }
.price small { font-size: .85rem; color: var(--muted); }
button.buy { width: 100%; background: var(--accent); color: #1a1408; border: 0; border-radius: var(--radius); padding: 14px; font-size: 1rem; font-weight: 600; cursor: pointer; }
button.buy:disabled { opacity: .6; cursor: wait; }
.error { color: #ff8f80; font-size: .9rem; min-height: 1.4em; }
.note { color: var(--muted); font-size: .85rem; margin-top: 16px; }
.about-body { max-width: 680px; }
.about-body h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: 1.6rem; margin: 32px 0 8px; }
.about-body p, .credits { color: #cfcdc7; }
.credits { padding-left: 1.2em; }
.credits li { margin-bottom: 6px; }
