/* TOKENS & GLOBALS */
:root{
  --bg: #0b0b0f;
  --bg-2: #141018;
  --sand: #d8c49a;
  --sand-2: #e7d8b0;
  --burnt: #cc5500;
  --burnt-2: #a74b0c;
  --accent: #cc5500;
  --accent-2: #f29f2f;
  --text: #f7f3ee;
  --muted: #c6bfb4;
  --card: rgba(255,255,255,.08);
  --card-border: rgba(255,255,255,.28);
  --shadow: 0 8px 28px rgba(0,0,0,.35);
  --focus: #ffd48f;
  --focus-offset: 2px;
  --radius: 12px;
  --gap: 1rem;
}

/* BASE & LAYOUT (mobile-first) */
html, body { height: 100%; }
html, body { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; line-height: 1.4; }
body {
  margin: 0;
  color: var(--text);
  background: 
    linear-gradient(135deg, rgba(26,16,9,.92), rgba(12,8,6,.92) 60%, rgba(8,6,5,.92)),
    radial-gradient( circle at 85% -10%, rgba(204,85,0,.25) 0%, transparent 40% );
  min-height: 100%;
  background-blend-mode: overlay;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  /* Burnt-orange fractal-like scanlines (pure CSS) */
  background-image:
    linear-gradient(rgba(204,85,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204,85,0,.04) 1px, transparent 1px);
  background-size: 4px 4px, 4px 4px;
  mix-blend-mode: overlay;
  opacity: .25;
}
@media (min-width: 900px){
  body::before { background-size: 6px 6px, 6px 6px; opacity: .32; }
}
@media (prefers-reduced-motion: reduce) {
  body::before { display: none; }
  * { transition: none !important; animation: none !important; }
}

header, main, footer, aside, article { display: block; }

/* HEADER */
header {
  text-align: center;
  padding: 2rem 1rem;
}
header h1 {
  font-size: clamp(1.6rem, 4vw + 1rem, 2.75rem);
  line-height: 1.15;
  margin: 0 0 .25rem;
  letter-spacing: .2px;
}
header .meta {
  color: var(--muted);
  font-size: . Nine;
}
header nav {
  margin-top: .75rem;
}
header nav a {
  color: var(--sand);
  text-decoration: none;
  padding: .4rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.04);
}
header nav a:hover { color: #fff; background: rgba(204,85,0,.15); }

/* MAIN & ARTICLE GLASS PANELS */
main { padding: 1.25rem 1rem; }
article {
  max-width: clamp(640px, 90vw, 980px);
  margin-inline: auto;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px) saturate(120%);
}
@supports not ((backdrop-filter: blur(12px))){
  article { background: rgba(15,15,15,.75); border-color: rgba(255,255,255,.4); }
}
.featured-image { margin: 1rem 0; }

/* IMAGE FRAME */
.image-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 8px 22px rgba(0,0,0,.4);
  background: #000;
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* CONTENT UTILS */
.content { padding: 1rem; color: var(--text); }
.container { width: min(1100px, 92%); margin-inline: auto; padding-inline: 0; }

/* GRID, CARDS & TAGS */
.grid { display: grid; gap: var(--gap); }
.card { background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: .75rem; box-shadow: var(--shadow); }

/* LISTS & TEXT HIERARCHY */
h2 { font-size: clamp(1.25rem, 2.5vw + .5rem, 1.75rem); margin: .75rem 0 .25rem; }
h3 { font-size: clamp(1.05rem, 2vw + .5rem, 1.25rem); margin: .5rem 0; }
p { margin: .5rem 0 1rem; color: color-mix(in srgb, var(--text), #000 20%); }
ol, ul { padding-left: 1.25rem; margin: .5rem 0 1rem; }
li { margin: .25rem 0; }
blockquote { margin: .5rem 0; padding: .5rem 1rem; border-left: 3px solid var(--accent); color: #fff; opacity: .95; }

/* LINKS & BUTTONS (INTERACTIVE) */
a, button, .btn, .cta {
  color: #fff;
  text-decoration: none;
  -webkit-t-tap-highlight-color: transparent;
}
a { cursor: pointer; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn, .cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .65rem 1rem; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  transition: transform .15s ease, background .2s ease;
}
.btn:hover, .cta:hover { background: color-mix(in srgb, var(--accent), #000 15%); transform: translateY(-1px); }
.btn:active, .cta:active { transform: translateY(0); }
.btn--outline {
  background: transparent;
  border: 1px solid rgba(204,85,0,.9);
  color: var(--accent);
}
.btn--outline:hover { background: rgba(204,85,0,.08); color: #fff; }

/* FOCUS STATES (AA) */
:focus-visible { outline: 3px solid var(--focus); outline-offset: var(--focus-offset); }

/* FOOTER & AD SECTIONS */
footer { padding: 1.5rem 1rem; text-align: center; color: var(--muted); }
.product-ad, .sponsored-page { display: inline-block; margin: .25rem; padding: .5rem 1rem; border-radius: 999px; background: rgba(204,85,0,.25); border: 1px solid rgba(255,255,255,.25); }
.product-ad a, .sponsored-page a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }

@media (min-width: 700px){
  main { padding: 2rem 0; }
  article { padding: 1.25rem 1.25rem; }
}

/* PRINT (basic readability) */
@media print {
  body { background: #fff; color: #000; }
  article { background: #fff; border: none; box-shadow: none; }
  a { color: #00f; text-decoration: underline; }
}
