/* Base + Tokens */
:root{
  --bg: #0a0f0c;          /* espresso deep */
  --bg-2: #0b1b1b;         /* espresso-smart */
  --text: #eafff7;          /* minty light text */
  --muted: #b5e6d3;         /* mint muted */
  --accent: #2ff0c2;        /* mint accent */
  --accent-2: #7ff3d0;      /* mint glow */
  --card: rgba(8,12,14,.22);
  --card-2: rgba(12,18,22,.32);
  --border: rgba(120,255,230,.38);
  --shadow: 0 8px 22px rgba(0,0,0,.30);
  --focus: 3px solid rgba(127,255,230,.9);
  --radius: 14px;
  --radius-sm: 10px;
}

/* Reset-ish */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { color-scheme: dark; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(0,180,140,.15) 0 220px, transparent 220px),
    radial-gradient(circle at 75% 60%, rgba(0,120,180,.12) 0 260px, transparent 260px),
    linear-gradient(#040705 0%, #0a0e13 60%, #0b1117 100%);
  background-attachment: fixed;
  background-blend-mode: screen;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
}

/* Layered noise/scanline overlay (pure CSS) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 2px);
  background-size: 100% 2px;
  mix-blend-mode: overlay;
  opacity: .6;
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) {
  body::before { display: none; opacity: .4; }
}

/* Layout primitives */
.container {
  max-width: clamp(320px, 86vw, 1100px);
  margin-inline: auto;
  padding-inline: 1rem;
}
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  padding: .9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(120,255,230,.32);
  background: linear-gradient(to bottom right, rgba(8,12,14,.28), rgba(8,12,14,.18));
  box-shadow: var(--shadow);
}
.tag {
  display:inline-block;
  padding:.25em .6em;
  font-size:.75rem;
  border-radius:999px;
  border:1px solid rgba(120,255,230,.55);
  color: var(--text);
  background: rgba(0,0,0,.25);
}
@media (prefers-reduced-motion: reduce) {
  .card, .tag { transition: none; }
}

/* Layered background refinement for glass panels */
.glass {
  background: rgba(8,12,14,.22);
  border: 1px solid rgba(120,255,230,.38);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@supports not (backdrop-filter: blur(12px)) {
  .glass { background: rgba(8,12,14,.75); }
}

/* Typography */
h1, h2 { margin: .2em 0 0.4em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 4rem); line-height: 1.04; letter-spacing: .5px; }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.15; color: var(--text); }

/* Article content */
article p { color: var(--muted); font-size: clamp(1rem, 1.2vw, 1.125rem); margin: .75em 0; }
article ul { padding-left: 1.25em; color: var(--muted); }
article li { margin: .5em 0; }

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

/* Header / Nav / Main / Footer styling (glass panels) */
header, nav, main, article, footer, aside {
  /* ensure stacking order and glass feel */
  background: rgba(8,12,14,.22);
  border: 1px solid rgba(120,255,230,.38);
  border-radius: var(--radius);
  padding: 1rem;
  margin: .75rem auto;
  max-width: clamp(320px, 86vw, 1100px);
  box-shadow: var(--shadow);
}
header { padding-top: .75rem; padding-bottom: .75rem; }
nav { display: flex; justify-content: flex-start; gap: .5rem; padding: .5rem 0 0; }
nav a { color: #eaffff; text-decoration: none; padding: .25rem .6rem; border-radius: 6px; }
nav a:hover, nav a:focus-visible { text-decoration: underline; outline: none; }

/* Link states */
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid rgba(127,255,230,.9); outline-offset: 2px; }

/* Buttons */
.btn, button, .cta {
  display: inline-block;
  padding: .65em 1.15em;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.25);
  background: linear-gradient(135deg, rgba(47,240,198,.95), rgba(14,180,160,.95));
  color: #04170e;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn:hover, button:hover, .cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.btn:focus-visible, .cta:focus-visible, button:focus-visible { outline: 3px solid rgba(127,255,230,.9); outline-offset: 2px; }

/* Light outline variant */
.btn.outline, .cta.outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(120,255,230,.6);
}

/* Utility typography tweaks for readability on glass */
.content { color: var(--text); }

/* Image note helpers (fallback friendly) */
.image-frame, .image-frame img { will-change: transform; }

/* Print styles */
@media print {
  body { background: white; color: #000; }
  header, main, article, footer { background: none; border: none; border-radius: 0; padding: 0; }
  a { text-decoration: underline; }
  .container { padding: 0; }
}
@media (min-width: 960px) {
  main { padding: 1.25rem 0; }
  header { border-radius: var(--radius); }
}
```