html, body, header, nav, main, article, footer, aside {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: var(--text);
  background: #0b0f12;
  min-height: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
:root {
  --bg: #0b0f12;
  --bg-2: #141923;
  --khaki: #c6b179;
  --khaki-2: #8f7a3a;
  --pink: #f9cbdc;
  --pink-2: #e9a8bd;
  --text: #eef1f5;
  --muted: #b9a797;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.25);
  --shadow: 0 8px 28px rgba(0,0,0,.45);
  --radius: 12px;
}
html {
  height: 100%;
}
body {
  position: relative;
  display: block;
  line-height: 1.55;
  background: linear-gradient(135deg, rgba(198,176,122,0.55) 0%, rgba(18,20,20,0.75) 60%), linear-gradient(#0b0f12, #0b0f12);
  background-attachment: fixed;
}
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
body::before {
  /* layered khaki fractal-like glow and subtle texture */
  background:
    radial-gradient(circle at 20% 10%, rgba(198,176,122,.22) 0 6%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(140,110,60,.18) 0 8%, transparent 40%),
    radial-gradient(circle at 40% 40%, rgba(200,170,110,.12) 0 12%, transparent 40%),
    linear-gradient(135deg, rgba(16,18,22,.85), rgba(10,12,14,.95));
  mix-blend-mode: normal;
}
body::after {
  /* subtle scanline / noise pattern using CSS gradients */
  background-image:
    linear-gradient(rgba(0,0,0,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.08) 1px, transparent 1px);
  background-size: 4px 4px, 4px 4px;
  opacity: .25;
  mix-blend-mode: overlay;
}
*, *::before, *::after { box-sizing: border-box; }

.container {
  width: 100%;
  max-width: clamp(320px, 92vw, 1100px);
  margin-inline: auto;
  padding-inline: 1rem;
}

header, main, footer {
  padding-block: 1rem;
}

header {
  padding-top: 1.25rem;
  padding-bottom: 1rem;
}

/* Glass panels for sections where applicable */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
}
@supports not (backdrop-filter: blur(10px)) {
  .glass {
    background: rgba(15,15,15,.75);
    border-color: rgba(255,255,255,.35);
  }
}

header h1 {
  font-size: clamp(1.6rem, 2.8vw + 0.5rem, 3.5rem);
  line-height: 1.05;
  margin: 0 0 .25rem;
  letter-spacing: .2px;
  color: #f8f1ec;
}
header .meta {
  color: var(--muted);
  font-size: clamp(0.8rem, 0.9vw + 0.6rem, 1rem);
}

main {
  padding: 1rem 0 2rem;
}

article {
  display: block;
  max-width: 860px;
  margin: 0 auto;
}

.featured-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  margin: 1rem 0;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 8px 26px rgba(0,0,0,.35);
  background: #0a0b0a;
}
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}
.image-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  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 img { width: 100%; height: 100%; object-fit: cover; display: block; }

.content {
  color: var(--text);
  padding: 0.25rem 0 0;
}
.content h2, .content h3 {
  color: #fff;
}
.content p {
  color: #e9e4d8;
  margin: .75rem 0;
}
.content ul {
  margin: .5rem 0 1rem 1.25rem;
  padding: 0;
}
.content li { margin: .4rem 0; }

blockquote {
  margin: 1rem 0;
  padding: .75rem 1rem;
  border-left: 4px solid var(--pink);
  background: rgba(255,255,255,.05);
  border-radius: 8px;
  color: #f7efe7;
}

ul, li {
  margin: 0;
  padding: 0;
}
li { line-height: 1.6; }

.product-ad {
  display: block;
  margin: 1.25rem 0;
  padding: .75rem;
  text-align: center;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
}
.product-ad h3 {
  margin: 0 0 .5rem;
}
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.5);
  color: #0b0a0a;
  background: linear-gradient(135deg, var(--pink), #ffd7e0);
  font-weight: 700;
}
.product-ad a:hover { text-decoration: underline; }

/* Link, button, .btn, .cta styling */
a, button, .btn, .cta {
  color: var(--text);
  text-decoration: none;
  outline: none;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}
a:hover { text-decoration: underline; }

/* Button styles */
.btn {
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(255,255,255,.15);
  color: #fff;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.25); }
.btn:active { transform: scale(.98); }
.btn.primary {
  background: linear-gradient(135deg, var(--khaki), var(--khaki-2));
  border-color: rgba(0,0,0,.25);
  color: #1a140b;
}
.btn.secondary {
  background: rgba(0,0,0,.18);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.btn:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

/* Outline/ghost CTA variant */
.cta {
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(0,0,0,.18);
  color: #fff;
  cursor: pointer;
}
.cta.outline {
  background: transparent;
  border-color: rgba(255,255,255,.6);
}
.cta:hover { background: rgba(255,255,255,.25); }

/* Typography helpers */
.tag {
  display:inline-block;
  padding:.25rem .6rem;
  font-size:.75rem;
  border-radius:999px;
  background: rgba(198,176,122,.25);
  color: #f8f0e0;
  border: 1px solid rgba(255,255,255,.25);
}

/* Layout utilities */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-2px); }

/* Print styles (basic readability) */
@media print {
  body { background: #fff; color: #000; }
  header, nav, footer { display: block; }
  a { color: #000; text-decoration: underline; }
  .glass { background: #fff; border: 1px solid #ccc; box-shadow: none; }
}

/* Accessibility & motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
@media (min-width: 0) {
  /* ensure keyboard focus visibility for all interactive elements when navigating by keyboard */
  :focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
}