:root {
  --bg: #0b0a08;
  --bg-2: #2b240b;
  --text: #f6f2e0;
  --muted: #d7c89a;
  --accent: #e05a00;
  --accent-2: #9f8a3b;
  --surface: rgba(255,255,255,0.08);
  --surface-2: rgba(255,255,255,0.12);
  --border: rgba(255,255,255,0.28);
  --focus: 0 0 0 3px rgba(224, 90, 0, 0.6);
  --radius: 14px;
  --shadow: 0 8px 28px rgba(0,0,0,.28);
}

html, body { height: 100%; }
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: clamp(14px, 2.4vw, 18px);
  line-height: 1.5;
  background: 
    linear-gradient(135deg, rgba(192,112,0,.25), rgba(60,48,8,.25) 60%, rgba(0,0,0,.25)),
    repeating-linear-gradient(to bottom, rgba(0,0,0,.0) 0 6px, rgba(0,0,0,.04) 6px 7px),
    var(--bg);
  background-blend-mode: overlay, overlay, normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

header, main, article, aside, footer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  color: var(--text);
}

header { margin: 1rem auto; max-width: min(92%, 1100px); }
main { margin: 0 auto; max-width: min(92%, 1100px); }
article { margin: 0; padding: 0; }
footer { margin: 1rem auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }

.image-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  background: #111;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: auto;
  filter: saturate(1.05);
}

.content { padding: 0.25rem 0 0; }

/* Typography hierarchy in hero/article */
h1 {
  font-size: clamp(1.8rem, 4.5vw, 4rem);
  line-height: 1.04;
  margin: 0.25rem 0 0.5rem;
  letter-spacing: .2px;
  color: var(--text);
}
h2 { font-size: clamp(1.1rem, 2.6vw, 2rem); margin: .9rem 0 .5rem; color: var(--text); }
p { margin: 0.75rem 0; color: var(--text); }

ul, ol { padding-inline-start: 1.25em; margin: 0.75rem 0; color: var(--text); }
li { margin: 0.25rem 0; }

a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; outline: none; }

/* Glass panels / cards */
.card, .container, .image-frame { will-change: transform, opacity; }

.container { width: min(92%, 1100px); margin-inline: auto; padding-inline: 1rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }

.card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  color: var(--text);
}

.tag {
  display: inline-block;
  padding: 0.15em 0.5em;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(224, 112, 0, 0.25);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}

/* Buttons & CTAs */
.btn, .cta, a.btn {
  display: inline-block;
  padding: .6em 1em;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.5);
  color: #fff;
  background: rgba(0,0,0,.25);
  transition: transform .2s ease, background .2s ease;
}
.btn.primary, a.btn.primary, .cta.primary {
  background: var(--accent);
  border-color: rgba(0,0,0,.15);
}
.btn.secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,.5);
  color: var(--text);
}
.btn:hover, .cta:hover, a.btn:hover { transform: translateY(-1px); }
.btn:active, .cta:active { transform: translateY(0); }

/* Focus visibility for accessibility */
:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
  border-radius: 8px;
}
button, input, textarea { font-family: inherit; }

/* Utility / layout helpers */
ul { list-style: disc; padding-left: 1.25em; }
li { line-height: 1.6; }

/* Print styles (basic readability) */
@media print {
  body { background: #fff; color: #000; }
  header, footer { background: #fff; border: 0; box-shadow: none; }
  .image-frame { page-break-inside: avoid; }
  a { text-decoration: underline; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Section headers for quick visual breaks in long pages */
/* Section: Base layout */