/* Base / Theme tokens */
:root {
  --orange: #d97706;       /* burnt orange */
  --orange-dark: #b96907;
  --green: #2ecc71;         /* emerald green */
  --green-dark: #1faa63;
  --bg: #0a0a0a;
  --bg-2: #0f0f0f;
  --text: #e8fff2;
  --muted: #a6b5b0;
  --surface: rgba(20, 32, 28, 0.18);
  --radius: 14px;
  --shadow: 0 6px 20px rgba(0,0,0,.25);
}

/* Helpers / Layout utils */
html, body { height: 100%; }
* { box-sizing: border-box; }
ul { padding-left: 1.25rem; margin: 0 0 1rem; }
li { margin: 0.25rem 0; }

/* Layout containers */
.container { width: 100%; max-width: clamp(680px, 90vw, 1100px); padding-inline: 1rem; margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 1rem; }
.card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }

/* Glass panel with fallback */
.backdrop { background: rgba(15, 25, 15, 0.18); border: 1px solid rgba(255,255,255,0.25); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--text); }
@supports not (backdrop-filter: blur(12px)) {
  .backdrop { background: rgba(15, 25, 15, 0.28); }
}

header, main, footer, aside { padding: 1rem 0; }

/* Layered background: gradient + burnt-orange stripes + subtle texture/scanlines */
html, body {
  background-color: var(--bg);
  color: var(--text);
}
body {
  margin: 0;
  background-image:
    linear-gradient(135deg, rgba(216,120,0,0.25) 0 25%, rgba(0,0,0,0) 25% 50%),
    repeating-linear-gradient(45deg, rgba(216,120,0,0.16) 0 8px, rgba(0,0,0,0) 8px 16px),
    linear-gradient(to bottom, var(--bg), var(--bg-2) 60%, #000 100%);
  background-blend-mode: overlay, overlay, normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  line-height: 1.5;
}
a { color: var(--green); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }

/* Header / Hero */
header { text-align: center; padding: 1.5rem 1rem 2rem; }
header h1 { font-size: clamp(1.75rem, 2.5vw + 1rem, 3.25rem); line-height: 1.04; margin: 0 0 .5rem; letter-spacing: .2px; }
header .meta { color: var(--muted); font-size: clamp(0.9rem, 0.4vw + 0.8rem, 1.05rem); margin-bottom: .75rem; }
nav { margin-top: .25rem; }
nav a { color: var(--green); font-weight: 600; padding: .25rem 0; border-radius: 6px; }
nav a:hover { text-decoration: underline; }

/* Main / Article content */
main { padding: 0 1rem; }
article { display: block; max-width: 900px; margin: 0 auto; }
.featured-image { margin: 1rem 0 1rem; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.image-frame { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); display: block; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Content text */
.content { color: var(--text); font-size: clamp(14px, 0.9vw + 12px, 18px); line-height: 1.6; }
.content h2 { font-size: clamp(1.25rem, 1vw + 1.1rem, 2rem); margin: .75rem 0 0.5rem; }
.content h3 { font-size: clamp(1.05rem, 0.9vw + 1rem, 1.35rem); margin: .75rem 0; }
.content p { margin: .5rem 0 1rem; color: color-m-mix(in oklch, var(--text), black 6%); }
.content ul { margin: .5rem 0 1rem; padding-left: 1rem; }
.content blockquote { margin: 1rem 0; padding: .75rem 1rem; border-left: 3px solid var(--green); background: rgba(0,0,0,.15); border-radius: 6px; }

/* Product ad / footer-like panels */
.product-ad { display: block; margin: 1rem 0; text-align: center; padding: .75rem; border-radius: 12px; }
.product-ad a { display: inline-block; padding: .75rem 1rem; border-radius: 999px; background: rgba(46,204,113,.18); border: 1px solid rgba(46,204,113,.5); color: var(--text); font-weight: 600; }

/* Utility: chips / tags */
.tag { display: inline-flex; align-items: center; gap: .25em; padding: .25em .5em; border-radius: 999px; font-size: .75rem; background: rgba(46,204,113,.15); border: 1px solid rgba(46,204,113,.4); color: var(--text); }

/* Buttons / CTAs */
.btn, .cta, a.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-weight: 700; padding: .8rem 1.15rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease; text-decoration: none; }
.btn:focus-visible, .cta:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.btn:hover, .cta:hover { transform: translateY(-1px); }
.btn:active, .cta:active { transform: translateY(0); }

/* Variants */
.btn--solid { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #041f12; }
.btn--outline { background: transparent; color: var(--green); border-color: rgba(46,204,113,.6); }

/* Images / decorative glow around frames */
.glow { box-shadow: 0 0 12px rgba(46,204,113,.7); }

/* Footer / site chrome */
footer { padding: 1.25rem 1rem; text-align: center; }

@media (min-width: 640px) {
  .container { padding-inline: 1.25rem; }
  header { padding: 2rem 1rem 2.5rem; }
}
@media (min-width: 900px) {
  article { padding: 0 0; }
  .image-frame { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
@media print {
  body { background: #fff; color: #000; }
  header, nav, footer { display: none; }
  article { padding: 0; }
}
