:root {
  --bg: #080909;
  --bg-soft: #101313;
  --surface: #141818;
  --surface-2: #1b2020;
  --line: rgba(232, 238, 234, 0.12);
  --text: #f3f0ea;
  --muted: #a6aaa5;
  --subtle: #747a77;
  --teal: #5fa99c;
  --berry: #8a4d63;
  --copper: #a2684c;
  --green: #607c68;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(95, 169, 156, 0.16), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgba(138, 77, 99, 0.14), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal); }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link, .screen-reader-text {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { left: 20px; top: 20px; width: auto; height: auto; padding: 12px 16px; background: var(--text); color: var(--bg); z-index: 1000; border-radius: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(18px); background: rgba(8, 9, 9, 0.78); border-bottom: 1px solid var(--line); }
.nav-shell { min-height: 78px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--surface-2), #070808); border: 1px solid var(--line); color: var(--text); font-family: var(--font-display); font-size: 26px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.03); }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong, .footer-brand { font-family: var(--font-display); letter-spacing: .02em; font-size: 24px; }
.brand-text small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .16em; margin-top: 4px; }
.primary-nav { margin-left: auto; }
.menu { list-style: none; display: flex; align-items: center; gap: 20px; padding: 0; margin: 0; }
.menu a { color: var(--muted); font-size: 14px; }
.menu a:hover { color: var(--text); }
.nav-cta, .button, .search-form button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 650; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.nav-cta { background: var(--text); color: var(--bg); }
.nav-cta:hover, .button-primary:hover { color: var(--bg); transform: translateY(-1px); }
.button-primary { background: var(--text); color: var(--bg); }
.button-secondary { background: rgba(255,255,255,.03); color: var(--text); }
.button-secondary:hover { border-color: rgba(95,169,156,.7); color: var(--text); transform: translateY(-1px); }
.menu-toggle { display: none; background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 10px 14px; }
.hero-section { padding: 82px 0 42px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 42px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--teal); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 800; }
h1, h2, h3, h4 { margin: 0; line-height: 1.03; font-family: var(--font-display); font-weight: 500; letter-spacing: -.035em; }
h1 { font-size: clamp(46px, 7vw, 92px); }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: 24px; }
p { color: var(--muted); }
.hero-text { max-width: 680px; font-size: clamp(18px, 2vw, 22px); margin: 24px 0 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-panel { min-height: 560px; border: 1px solid var(--line); border-radius: 34px; padding: 24px; background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.015)), radial-gradient(circle at 70% 20%, rgba(162,104,76,.18), transparent 22rem), var(--bg-soft); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; position: relative; }
.hero-panel:before { content: ''; position: absolute; inset: 30px 30px 180px; border-radius: 999px 999px 180px 180px; background: radial-gradient(circle at 50% 20%, rgba(243,240,234,.18), transparent 22%), linear-gradient(180deg, rgba(95,169,156,.15), rgba(138,77,99,.12)); filter: blur(.2px); opacity: .8; }
.glass-card, .post-card, .sidebar-cta, .widget, .article-app-cta, .cta-band, .empty-state { background: rgba(20, 24, 24, .82); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 50px rgba(0,0,0,.18); }
.card-large { padding: 28px; position: relative; z-index: 1; }
.card-large span { color: var(--teal); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; }
.card-large h2 { margin-top: 10px; }
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; position: relative; z-index: 1; }
.mini-cards div { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.035); }
.mini-cards strong { display: block; }
.mini-cards span { display: block; color: var(--muted); font-size: 13px; margin-top: 5px; }
.section-block { padding: 54px 0; }
.section-heading { max-width: 760px; margin-bottom: 24px; }
.split-heading { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.topic-strip { display: flex; gap: 10px; flex-wrap: wrap; }
.topic-strip a, .tag-list a { border: 1px solid var(--line); background: rgba(255,255,255,.035); border-radius: 999px; padding: 9px 14px; color: var(--muted); font-size: 14px; }
.topic-strip a:hover, .tag-list a:hover { color: var(--text); border-color: rgba(95,169,156,.65); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.post-card:hover { transform: translateY(-3px); border-color: rgba(95,169,156,.45); }
.post-card-media { display: block; aspect-ratio: 1.32; overflow: hidden; background: #0c0f0f; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform .35s ease; }
.post-card:hover img { transform: scale(1.05); }
.image-placeholder { height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 50% 20%, rgba(95,169,156,.22), transparent 38%), linear-gradient(145deg, #151919, #0a0b0b); }
.image-placeholder span { color: var(--subtle); font-family: var(--font-display); font-size: 34px; }
.post-card-body { padding: 22px; }
.post-meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--subtle); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 12px; }
.post-meta span:not(:last-child):after { content: '•'; margin-left: 10px; color: var(--line); }
.post-card h2 { font-size: 27px; letter-spacing: -.02em; }
.text-link { color: var(--text); font-weight: 750; }
.text-link:after { content: ' →'; color: var(--teal); }
.cta-band { margin-block: 58px; padding: 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; background: linear-gradient(120deg, rgba(95,169,156,.12), rgba(138,77,99,.1)), rgba(20,24,24,.9); }
.archive-main { padding-bottom: 70px; }
.archive-hero { padding: 70px 0 34px; }
.archive-hero p { max-width: 760px; font-size: 18px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; }
.archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.full-width-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sidebar { position: sticky; top: 108px; display: grid; gap: 18px; }
.sidebar-cta, .widget { padding: 22px; }
.widget ul { padding-left: 18px; color: var(--muted); }
.search-form { display: flex; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 6px; background: rgba(255,255,255,.035); }
.search-form label { flex: 1; }
.search-field { width: 100%; height: 44px; border: 0; outline: 0; padding: 0 14px; color: var(--text); background: transparent; }
.search-field::placeholder { color: var(--subtle); }
.search-form button { background: var(--surface-2); color: var(--text); cursor: pointer; }
.single-hero { padding: 74px 0 30px; max-width: 980px; }
.single-hero h1 { font-size: clamp(42px, 6vw, 82px); }
.single-deck { font-size: 21px; max-width: 760px; }
.single-image { border-radius: 30px; overflow: hidden; margin-bottom: 38px; }
.single-image img { width: 100%; max-height: 680px; object-fit: cover; }
.single-layout { display: grid; grid-template-columns: minmax(0, 760px) 320px; gap: 48px; align-items: start; }
.no-sidebar { display: block; max-width: 860px; }
.article-content { font-size: 18px; }
.article-content > *:first-child { margin-top: 0; }
.article-content h2, .article-content h3 { margin-top: 1.8em; margin-bottom: .45em; }
.article-content p, .article-content li { color: #c5c8c3; }
.article-content a { color: var(--teal); border-bottom: 1px solid rgba(95,169,156,.4); }
.article-content blockquote { margin: 32px 0; padding: 20px 24px; border-left: 3px solid var(--teal); background: rgba(255,255,255,.035); border-radius: 0 18px 18px 0; }
.article-content table { width: 100%; border-collapse: collapse; margin: 28px 0; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: 12px; }
.article-content pre { overflow-x: auto; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #050606; }
.article-app-cta { margin: 44px 0; padding: 28px; background: radial-gradient(circle at 0% 0%, rgba(95,169,156,.16), transparent 28rem), var(--surface); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; padding: 42px 0 70px; }
.post-nav a { color: var(--muted); }
.pagination-wrap { padding-top: 30px; }
.nav-links { display: flex; gap: 8px; justify-content: center; }
.page-numbers { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.page-numbers.current { background: var(--text); color: var(--bg); }
.not-found { min-height: 62vh; display: grid; align-content: center; max-width: 760px; gap: 18px; }
.empty-state { grid-column: 1 / -1; padding: 36px; }
.site-footer { margin-top: 60px; border-top: 1px solid var(--line); background: rgba(6,7,7,.86); }
.footer-grid { padding: 54px 0; display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 40px; }
.footer-grid p { max-width: 440px; }
.footer-grid h3 { font-size: 20px; }
.footer-menu { padding: 0; margin: 12px 0 0; list-style: none; display: grid; gap: 8px; }
.footer-menu a { color: var(--muted); }
.footer-bottom { padding: 20px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--subtle); font-size: 13px; }
@media (max-width: 980px) {
  .nav-shell { flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .primary-nav { display: none; order: 5; width: 100%; margin-left: 0; }
  .primary-nav.is-open { display: block; }
  .menu { align-items: stretch; flex-direction: column; gap: 0; padding: 10px 0 16px; }
  .menu a { display: block; padding: 10px 0; }
  .nav-cta { display: none; }
  .hero-grid, .content-layout, .single-layout, .footer-grid { grid-template-columns: 1fr; }
  .hero-panel { min-height: 420px; }
  .post-grid, .archive-grid, .full-width-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar { position: static; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 28px, var(--container)); }
  .hero-section { padding-top: 54px; }
  .mini-cards, .post-grid, .archive-grid, .full-width-grid { grid-template-columns: 1fr; }
  .split-heading, .cta-band, .footer-bottom { display: grid; }
  .search-form { border-radius: 24px; flex-direction: column; align-items: stretch; }
  h1 { font-size: clamp(40px, 13vw, 56px); }
  .single-hero h1 { font-size: clamp(38px, 12vw, 54px); }
}
.comments-area { max-width: 860px; padding: 20px 0 70px; }
.comment-list { padding-left: 22px; }
.comment-body, .comment-respond { border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.03); padding: 18px; margin: 14px 0; }
.comment-form input, .comment-form textarea { width: 100%; border: 1px solid var(--line); background: rgba(255,255,255,.035); color: var(--text); border-radius: 14px; padding: 12px; }
.form-submit .submit { display: inline-flex; border-radius: 999px; border: 1px solid var(--line); background: var(--text); color: var(--bg); padding: 12px 18px; cursor: pointer; }
