*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg1: #181411;
  --bg2: #26201b;
  --text: #e6e0c0;
  --accent: #08be87;
  --muted: #9e9880;
  --dim: #5a5647;
  --border: #2e2820;
  --panel: rgba(8, 190, 135, 0.035);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg1);
  color: var(--text);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 64px;
  background: linear-gradient(to bottom, rgba(24, 20, 17, 0.97), transparent);
}

.nav-logo {
  color: var(--text);
  text-decoration: none;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-link,
.nav-cta {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-cta {
  padding: 10px 22px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: var(--accent);
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--bg1);
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 74vh;
  padding: 140px 64px 84px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(8, 190, 135, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(8, 190, 135, 0.03) 0%, transparent 60%);
}

.hero > * {
  position: relative;
}

.hero-label,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero-label::before,
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  max-width: 980px;
  margin-bottom: 34px;
  color: var(--text);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(54px, 8vw, 106px);
  font-weight: 400;
  line-height: 1.02;
}

.hero h1 em {
  color: var(--accent);
  font-style: italic;
}

.hero-sub {
  max-width: 680px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
}

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.section {
  padding: 96px 64px;
}

.section:nth-of-type(even) {
  background: var(--bg2);
}

.section-inner,
.post-layout {
  max-width: 1120px;
  margin: 0 auto;
}

.section-header {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 20px;
  color: var(--text);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.1;
}

.section-header p,
.post-card p,
.post-body p,
.post-body li {
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.85;
}

.post-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.post-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
}

.post-card:last-child {
  border-bottom: 1px solid var(--border);
}

.post-card time {
  color: var(--dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.post-card h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.14;
  transition: color 0.2s;
}

.post-card:hover h3 {
  color: var(--accent);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.post-layout {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
  gap: 72px;
}

.post-sidebar {
  position: sticky;
  top: 120px;
  align-self: start;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.8;
}

.post-sidebar a {
  color: var(--accent);
  text-decoration: none;
}

.post-body {
  max-width: 760px;
}

.post-body h2 {
  margin: 44px 0 16px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.post-body p + p {
  margin-top: 22px;
}

.post-body ul {
  margin: 20px 0 0 22px;
}

.pull-quote {
  margin: 44px 0;
  padding: 30px 36px;
  border-left: 2px solid var(--accent);
  background: var(--panel);
}

.pull-quote p {
  color: var(--text);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(22px, 3vw, 32px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
}

.note-box {
  margin-top: 48px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  background: rgba(38, 32, 27, 0.7);
}

.note-box strong {
  color: var(--text);
}

.video-figure {
  margin: 42px 0;
}

.post-video {
  display: block;
  width: 100%;
  max-height: 72vh;
  border: 1px solid var(--border);
  background: #0b0908;
}

.video-figure figcaption {
  margin-top: 12px;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.7;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 40px 64px;
  border-top: 1px solid var(--border);
}

.site-footer .logo {
  color: var(--text);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 18px;
}

.site-footer .logo span {
  color: var(--accent);
}

.site-footer p,
.site-footer a {
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .site-nav,
  .hero,
  .section,
  .site-footer {
    padding-left: 28px;
    padding-right: 28px;
  }

  .site-nav {
    align-items: flex-start;
    gap: 18px;
  }

  .nav-links {
    gap: 14px;
    justify-content: flex-end;
  }

  .nav-link {
    display: none;
  }

  .hero {
    min-height: 68vh;
  }

  .post-card,
  .post-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .post-sidebar {
    position: static;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}
