:root {
  --bg-canvas: #252b25;
  --bg-surface: rgba(52, 60, 50, 0.78);
  --bg-surface-hover: rgba(66, 77, 63, 0.92);
  --text-primary: #e0f2f1;
  --text-muted: #a8b9b5;
  --accent-primary: #ff6f59;
  --accent-secondary: #d45541;
  --border-subtle: rgba(224, 242, 241, 0.18);
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(0, 0, 0, 0.45);
  --glow-accent: 0 0 24px -4px rgba(255, 111, 89, 0.35);
  --glass-backdrop: blur(16px) saturate(160%);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0 !important; }
html { font-family: Charter, Cambria, Georgia, serif; background-color: var(--bg-canvas); color: var(--text-primary); line-height: 1.7; scroll-behavior: smooth; }
body { background-color: var(--bg-canvas); color: var(--text-primary); overflow-wrap: anywhere; hyphens: auto; position: relative; }
a { color: var(--accent-primary); text-decoration: none; transition: color 0.25s var(--ease-kinetic); }
a:hover { color: #ff9280; text-decoration: underline; }
img { max-width: 100%; display: block; object-fit: cover; border: 1px solid var(--border-subtle); }
.img-16-9 { aspect-ratio: 16 / 9; width: 100%; }
.img-4-3 { aspect-ratio: 4 / 3; width: 100%; }
.img-1-1 { aspect-ratio: 1 / 1; width: 100%; }
.small-caps { font-variant: small-caps; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.82rem; color: var(--accent-primary); display: block; margin-bottom: 0.5rem; font-weight: 600; }
.tagline-bar { background: #1a1f1a; color: var(--text-muted); font-size: 0.78rem; padding: 0.45rem 1.5rem; border-bottom: 1px solid var(--border-subtle); letter-spacing: 0.08em; font-variant: small-caps; }
.site-header { position: relative; background: var(--bg-canvas); border-bottom: 1px solid var(--border-subtle); padding: 1.1rem 1.5rem; }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.brand-logo { font-size: 1.35rem; font-weight: 700; color: var(--text-primary); letter-spacing: 0.04em; display: flex; align-items: center; gap: 0.6rem; text-decoration: none !important; }
.brand-mark { width: 14px; height: 14px; background: var(--accent-primary); display: inline-block; border: 1px solid var(--text-primary); }
.main-nav { display: flex; gap: 1.6rem; align-items: center; }
.main-nav a { color: var(--text-primary); font-variant: small-caps; letter-spacing: 0.1em; font-size: 0.92rem; padding: 0.3rem 0; border-bottom: 2px solid transparent; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent-primary); border-bottom-color: var(--accent-primary); }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--border-subtle); color: var(--text-primary); font-size: 1.4rem; padding: 0.25rem 0.65rem; cursor: pointer; line-height: 1; }
.mobile-dropdown { display: none; background: #1e231e; border-bottom: 1px solid var(--border-subtle); padding: 1rem 1.5rem; }
.mobile-dropdown.open { display: block; }
.mobile-dropdown a { display: block; padding: 0.65rem 0; color: var(--text-primary); font-variant: small-caps; letter-spacing: 0.1em; border-bottom: 1px solid var(--border-subtle); }
.grid-bg { background-image: linear-gradient(to right, rgba(224, 242, 241, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(224, 242, 241, 0.05) 1px, transparent 1px); background-size: 36px 36px; }
.hero-viewport { min-height: 82vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4rem 1.5rem; border-bottom: 1px solid var(--border-subtle); overflow: hidden; }
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0.38; filter: contrast(1.15) grayscale(20%); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(37, 43, 37, 0.75) 0%, rgba(25, 30, 25, 0.94) 100%); z-index: 2; }
.hero-content { position: relative; z-index: 3; max-width: 820px; padding: 2.5rem; background: rgba(37, 43, 37, 0.65); backdrop-filter: var(--glass-backdrop); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-elevation); }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.18; font-weight: 700; margin-bottom: 1.2rem; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); line-height: 1.25; margin-bottom: 1rem; font-weight: 600; }
h3 { font-size: 1.28rem; line-height: 1.35; margin-bottom: 0.75rem; color: var(--text-primary); }
p { margin-bottom: 1.25rem; color: var(--text-primary); }
.lead-copy { font-size: 1.15rem; color: var(--text-muted); max-width: 68ch; margin: 0 auto 1.75rem; }
.btn-outline { display: inline-block; padding: 0.85rem 1.75rem; border: 1px solid var(--accent-primary); color: var(--text-primary); background: rgba(255, 111, 89, 0.12); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.3s var(--ease-kinetic); text-decoration: none !important; }
.btn-outline:hover { background: var(--accent-primary); color: #1a1f1a; transform: translateY(-3px); box-shadow: var(--shadow-elevation), var(--glow-accent); }
.container { max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem; }
.prose-width { max-width: 70ch; margin: 0 auto; }
.archive-section { border-bottom: 1px solid var(--border-subtle); position: relative; }
.lead-block { background: var(--bg-surface); backdrop-filter: var(--glass-backdrop); border: 1px solid var(--border-subtle); padding: 2.5rem; margin-bottom: 2.5rem; position: relative; transition: transform 0.35s var(--ease-kinetic), box-shadow 0.35s var(--ease-kinetic); }
.lead-block:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevation), var(--glow-accent); }
.two-col-archive { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.glass-card { background: var(--bg-surface); backdrop-filter: var(--glass-backdrop); border: 1px solid var(--border-subtle); padding: 2rem; transition: transform 0.35s var(--ease-kinetic), box-shadow 0.35s var(--ease-kinetic), background 0.35s var(--ease-kinetic); position: relative; display: flex; flex-direction: column; justify-content: space-between; }
.glass-card:hover { background: var(--bg-surface-hover); transform: translateY(-5px) scale(1.01); box-shadow: var(--shadow-elevation), var(--glow-accent); border-color: var(--accent-primary); }
.coral-field { background: linear-gradient(135deg, rgba(52, 60, 50, 0.88) 0%, rgba(255, 111, 89, 0.14) 100%); }
.moss-field { background: linear-gradient(135deg, rgba(37, 43, 37, 0.92) 0%, rgba(52, 60, 50, 0.75) 100%); }
.blueprint-box { font-family: monospace; background: #191e19; border: 1px solid var(--border-subtle); padding: 1.5rem; margin: 1.25rem 0; color: #d0e8e4; font-size: 0.9rem; line-height: 1.6; overflow-x: auto; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--border-subtle); }
table { width: 100%; border-collapse: collapse; background: #1e241e; font-size: 0.92rem; }
th, td { padding: 0.95rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border-subtle); }
th { background: #2b332a; color: var(--accent-primary); font-variant: small-caps; letter-spacing: 0.1em; }
.meta-tag-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.meta-tag-item { background: #1c211c; border-left: 3px solid var(--accent-primary); padding: 1rem; border-top: 1px solid var(--border-subtle); border-right: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.form-group { margin-bottom: 1.25rem; }
label { display: block; font-variant: small-caps; letter-spacing: 0.1em; margin-bottom: 0.4rem; color: var(--text-muted); font-size: 0.9rem; }
input, select, textarea { width: 100%; padding: 0.8rem 1rem; background: #181d18; border: 1px solid var(--border-subtle); color: var(--text-primary); font-family: inherit; font-size: 1rem; }
input:focus, select:focus, textarea:focus { outline: 1px solid var(--accent-primary); border-color: var(--accent-primary); }
.draft-output { background: #141814; border: 1px solid var(--accent-primary); padding: 1.25rem; font-family: monospace; white-space: pre-wrap; margin-top: 1.25rem; font-size: 0.88rem; color: var(--text-primary); }
.site-footer { background: #181c18; border-top: 1px solid var(--border-subtle); padding: 3.5rem 1.5rem 2.5rem; font-size: 0.9rem; color: var(--text-muted); }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid var(--border-subtle); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: all 0.65s var(--ease-kinetic); }
.reveal-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .container { padding: 2.5rem 1.2rem; }
  .lead-block, .glass-card { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
