:root {
  --bronze: #b17331;
  --bronze-dark: #7a3f1a;
  --maroon: #7a0d0d;
  --maroon-dark: #4a0000;
  --text: #f7efe4;
  --muted: #d6c2a6;
  --accent: #d8704b;
  --accent-2: #b65a2e;
  --glass: rgba(8, 6, 6, 0.22);
  --glass-border: rgba(210, 170, 120, 0.40);
  --shadow: 0 6px 18px rgba(0,0,0,.25);
  --radius: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-synthesis: none; text-rendering: optimizeLegibility; }
body {
  min-height: 100dvh;
  margin: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  background:
    linear-gradient(135deg, rgba(60,0,0,.92), rgba(12,4,4,.92) 60%),
    radial-gradient(circle at 20% 0%, rgba(205,115,49,.25), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(80,0,0,.25), transparent 40%);
  background-blend-mode: overlay, overlay, overlay;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 2px 2px;
  opacity: .25;
  pointer-events: none;
  mix-blend-mode: overlay;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.0) 0 33px, rgba(0,0,0,.04) 34px 67px, rgba(0,0,0,.0) 68px);
  background-size: 100% 34px;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: .25;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; color: #ffd8a3; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; color: #fff; }
button, .btn, .cta { font-family: inherit; font-weight: 600; cursor: pointer; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); transition: transform .2s ease, background .2s ease, color .2s ease; }
button:focus-visible, .btn:focus-visible, .cta:focus-visible { outline: 3px solid var(--bronze); outline-offset: 2px; }
header, main, footer { display: block; }
.container { width: min(90vw, 1200px); margin-inline: auto; padding-inline: 1rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.tag { display: inline-block; padding: .25rem .5rem; border-radius: 999px; font-size: .75rem; background: rgba(183, 83, 25, .25); color: #ffdcbc; border: 1px solid rgba(255,210,170,.4); }

/* Glass panels with fallback */
header, .product-ad, footer, article { background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
@supports not (backdrop-filter: blur(12px)) {
  header, .product-ad, footer, article { background: rgba(8,6,6,.34); }
}
header { padding: 1.25rem; margin: .75rem auto; text-align: left; }
header h1 { font-size: clamp(1.6rem, 1.2rem + 3vw, 2.6rem); line-height: 1.15; margin: .25rem 0 .5rem; letter-spacing:.2px; }
header .meta { color: var(--muted); font-size: .85rem; margin: 0; }

/* Hero content sizing & typography */
main { padding: 1rem 0; }
article { max-width: clamp(680px, 78vw, 1120px); }

/* Image framing */
.featured-image { margin: 1rem 0 1rem; }
.image-frame { aspect-ratio: 16/9; width: 100%; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 10px 26px rgba(0,0,0,.28); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Content areas */
.content { padding: 0; color: #e9dacf; }
.content p { margin: 0 0 1rem; color: #f6e8d9; font-size: clamp(1rem, 1.6vw, 1.125rem); }
.content ul { padding-left: 1.25rem; margin: .5rem 0 1rem; }
.content li { margin: .25rem 0; }

/* Typography scale for headings inside article */
article h2 { font-size: clamp(1.4rem, 2.2vw + 1rem, 2.2rem); margin: .75rem 0 .25rem; color: #ffe8cf; }
article h3 { font-size: clamp(1.1rem, 1.6vw + .8rem, 1.5rem); margin: .5rem 0; color: #ffd6a3; }

/* Product ad panel styling (glass look) */
.product-ad { display: block; margin: 1rem 0; }
.product-ad h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.product-ad a { display: inline-block; padding: .75rem 1rem; border-radius: 8px; background: var(--bronze); color: #fff; text-decoration: none; border: 1px solid rgba(0,0,0,.15); }

/* Utilities and layout helpers */
.main-content { padding: 1rem 0; }
 ul { margin: 0; padding-left: 1.25rem; }
 li { margin: .25rem 0; }

/* Interactive controls (buttons/ctas) */
.btn { background: var(--bronze); color: #fff; padding: .75rem 1rem; text-align: center; text-decoration: none; display: inline-block; }
.btn:hover { background: #a65924; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.outline { background: transparent; color: var(--text); border: 1px solid rgba(210, 170, 120, .6); }
a.btn { text-decoration: none; }

/* Print styles for readability */
@media print {
  body { background: #fff; color: #000; }
  header, main, article, footer { background: transparent; border: none; padding: 0; }
  a { color: #000; text-decoration: underline; }
}
  
/* Responsive adjustments */
@media (max-width: 720px) {
  .container { width: calc(100% - 2rem); }
  .grid { grid-template-columns: 1fr; }
  header { padding: 1rem; }
  .image-frame { border-radius: 10px; }
  .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}