:root {
  --bg: #111015;
  --bg-deep: #09080c;
  --panel: #1b1822;
  --panel-2: #231d2b;
  --ink: #f1e9dc;
  --muted: #b9aebf;
  --ash: #756a7c;
  --accent: #b67a44;
  --accent-2: #8b3f5d;
  --poison: #a9b66f;
  --line: rgba(241, 233, 220, 0.13);
  --shadow: 0 22px 70px rgba(0,0,0,.38);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(139,63,93,.28), transparent 28%),
    radial-gradient(circle at 78% 3%, rgba(169,182,111,.12), transparent 26%),
    linear-gradient(135deg, var(--bg-deep), var(--bg) 45%, #17121b);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

a { color: var(--poison); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
.container { width: min(1160px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(9,8,12,.78);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.logo {
  color: var(--ink);
  font-weight: 950;
  letter-spacing: -.05em;
  font-size: 1.35rem;
}
.logo span { color: var(--accent); }
nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
nav a { color: var(--muted); font-weight: 750; font-size: .95rem; }
nav a:hover { color: var(--ink); }

.hero {
  padding: 92px 0 62px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 2rem;
  align-items: stretch;
}
.eyebrow {
  margin: 0 0 .75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  font-weight: 900;
}
h1, h2, h3 { line-height: 1.05; margin: 0 0 1rem; letter-spacing: -.055em; }
h1 { font-size: clamp(3.4rem, 9vw, 7.6rem); max-width: 930px; }
h2 { font-size: clamp(2rem, 4vw, 4.2rem); }
h3 { font-size: 1.45rem; }
p { margin-top: 0; }
.hero-text { max-width: 760px; color: var(--muted); font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.hero-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(35,29,43,.92), rgba(17,16,21,.92));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-card::after {
  content: "☾";
  position: absolute;
  right: -8px;
  bottom: -38px;
  font-size: 9rem;
  color: rgba(182,122,68,.13);
}
.hero-card ul { padding-left: 1.1rem; margin: 1rem 0 0; color: var(--muted); }
.hero-card li { margin: .6rem 0; }
.button-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .95rem 1.25rem;
  background: var(--accent-2);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(139,63,93,.28);
}
.button:hover { background: var(--accent); color: #120f13; }
.button.secondary { background: transparent; border: 1px solid var(--line); color: var(--ink); box-shadow: none; }
.button.secondary:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

.marquee {
  border-block: 1px solid var(--line);
  background: rgba(27,24,34,.72);
  overflow: hidden;
  white-space: nowrap;
}
.marquee div {
  display: inline-block;
  padding: .85rem 0;
  color: var(--ash);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: drift 28s linear infinite;
}
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section { padding: 82px 0; }
.section.alt { background: rgba(0,0,0,.19); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.section-head p { color: var(--muted); max-width: 560px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.post-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(35,29,43,.88), rgba(17,16,21,.9));
  box-shadow: 0 14px 42px rgba(0,0,0,.24);
  transition: transform .2s ease, border-color .2s ease;
}
.post-card:hover { transform: translateY(-5px) rotate(-.25deg); border-color: rgba(182,122,68,.55); }
.post-card:nth-child(even):hover { rotate: .35deg; }
.post-card .meta { color: var(--ash); font-size: .86rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.post-card p { color: var(--muted); }
.post-card .read-more { margin-top: auto; font-weight: 900; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  background: rgba(35,29,43,.72);
  box-shadow: var(--shadow);
}
.panel p, .panel li { color: var(--muted); }

.newsletter {
  text-align: center;
  padding: 4rem 2rem;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at top, rgba(169,182,111,.12), transparent 32%),
    linear-gradient(140deg, rgba(139,63,93,.34), rgba(35,29,43,.72));
}
.fake-form { display: flex; gap: .8rem; max-width: 560px; margin: 1.5rem auto 0; }
.fake-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(9,8,12,.65);
  border-radius: 999px;
  padding: 1rem 1.1rem;
  color: var(--ink);
}

.page-hero { padding: 72px 0 48px; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.14); }
.page-hero p { max-width: 780px; color: var(--muted); font-size: 1.18rem; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 3rem; align-items: start; }
.article-sidebar {
  position: sticky;
  top: 100px;
  color: var(--ash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: rgba(27,24,34,.62);
}
.article-sidebar strong { color: var(--ink); display: block; }
.article-body { font-size: 1.08rem; }
.article-body p { color: #ddd2c6; }
.article-body h2 { margin-top: 2.5rem; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.pullquote {
  margin: 2rem 0;
  padding: 1.3rem 1.5rem;
  border-left: 4px solid var(--accent);
  background: rgba(182,122,68,.08);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 850;
  letter-spacing: -.03em;
}
.callout {
  border: 1px solid rgba(169,182,111,.35);
  border-radius: var(--radius);
  padding: 1.3rem;
  background: rgba(169,182,111,.08);
}
.archive-list { display: grid; gap: 1rem; }
.archive-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(35,29,43,.65);
}
.archive-item time { color: var(--accent); font-weight: 900; }

.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--line); color: var(--ash); }
.footer-grid { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero-grid, .split, .article-layout { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .article-sidebar { position: static; }
  .section-head { display: block; }
}
@media (max-width: 640px) {
  .nav { flex-direction: column; padding: 1rem 0; }
  nav { justify-content: center; }
  .hero { padding: 64px 0 44px; }
  .post-grid, .archive-item { grid-template-columns: 1fr; }
  .fake-form { flex-direction: column; }
  .button { width: 100%; }
}
