:root {
  --bg: #050505;
  --text: #ffffff;
  --muted: #b8b8c7;
  --line: rgba(255, 255, 255, 0.12);
  --accent-1: #ff9a44;
  --accent-2: #ff4fc8;
  --accent-3: #7a4dff;
  --shadow-strong: 0 30px 100px rgba(0, 0, 0, 0.5);
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 79, 200, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(122, 77, 255, 0.10), transparent 26%),
    linear-gradient(180deg, #090910 0%, #050505 100%);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3 { line-height: 1.05; margin: 0 0 1rem; }

.site-frame {
  position: relative;
  min-height: 100vh;
}

.site-frame::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 154, 68, 0.06), transparent 26%),
    radial-gradient(circle at 80% 8%, rgba(122, 77, 255, 0.08), transparent 24%);
}

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(5, 5, 5, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-text {
  font-size: 1rem;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a,
.text-link {
  color: var(--muted);
}

.site-nav a:hover,
.text-link:hover,
.brand:hover,
.feature-post a:hover,
.list-row a:hover,
.social-line:hover,
.social-inline-item:hover {
  color: var(--text);
}

.social-line,
.social-inline-item {
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.social-line:hover,
.social-inline-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 79, 200, 0.32);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 12px 40px rgba(122, 77, 255, 0.12);
}

.social-line:hover .social-mark,
.social-inline-item:hover .social-mark,
.social-line:hover strong,
.social-inline-item:hover strong {
  color: var(--accent-2);
}

.hero {
  padding: 4rem 0 2rem;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  min-height: 560px;
  background: linear-gradient(135deg, rgba(20, 20, 29, 0.96), rgba(8, 8, 12, 0.92));
  box-shadow: var(--shadow-strong);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.74) 40%, rgba(5, 5, 5, 0.28) 100%), url('/assets/banner.png') center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 4.5rem 4rem;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  text-transform: uppercase;
}

.gradient-text {
  background: linear-gradient(180deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy,
.lead,
.section-copy,
.list-row p,
.feature-post p,
.social-copy small,
.social-inline-item small,
.prose p,
.prose li,
.archive-list .meta,
.post-meta {
  font-size: 1.1rem;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.button {
  background: linear-gradient(180deg, var(--accent-1), var(--accent-2));
  color: #050505;
}

.button-secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.section {
  padding: 2rem 0 4rem;
}

.simple-section {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.section-head,
.split-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.split-intro {
  margin-bottom: 0;
}

.plain-list,
.latest-list,
.archive-list,
.socials-stack,
.social-inline-list,
.editorial-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.plain-list {
  display: grid;
  gap: 1rem;
  max-width: 520px;
}

.plain-list li,
.archive-list a,
.list-row,
.feature-post,
.social-line,
.social-inline-item,
.editorial-row {
  padding: 1.15rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

.list-row h3,
.feature-post h3,
.editorial-row h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.latest-list {
  display: grid;
}

.socials-stack,
.social-inline-list,
.editorial-list {
  display: grid;
  gap: 0;
}

.social-preview-head {
  margin-bottom: 0;
}

.social-line,
.social-inline-item {
  display: grid;
  grid-template-columns: min-content 1fr;
  align-items: center;
  gap: 1rem;
}

.social-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--text);
  flex-shrink: 0;
}

.social-svg {
  width: 24px;
  height: 24px;
  display: block;
}

.social-copy,
.social-inline-item span {
  display: grid;
  gap: 0.25rem;
}

.page-hero {
  position: relative;
  padding: 4rem 0 1.5rem;
}

.editorial-row h2 {
  text-transform: uppercase;
}

.editorial-excerpt {
  max-width: 42rem;
  color: var(--muted);
}

.archive-shell {
  margin-bottom: 0;
}

.archive-list-tight li {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.archive-list-tight a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.archive-list-tight strong {
  font-size: 1.1rem;
}

.archive-list-tight .meta {
  white-space: nowrap;
  font-size: 0.95rem;
}

.content-shell {
  width: min(calc(100% - 2rem), 860px);
  margin: 0 auto 4rem;
}

.prose img {
  width: 100%;
  margin: 1.5rem 0;
  border-radius: 18px;
}

.post-banner-section {
  padding-top: 0;
}

.post-banner {
  padding: 0;
}

.post-banner img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.archive-list a {
  display: block;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 900px) {
  .header-inner,
  .footer-inner,
  .section-head,
  .split-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-inner {
    position: relative;
    align-items: center;
    flex-direction: row;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    display: none;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(10, 10, 16, 0.96);
    box-shadow: var(--shadow-strong);
  }

  .site-nav[data-open="true"] {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.85rem;
  }

  .hero-content {
    padding: 2.4rem 2rem;
  }

  .social-line,
  .social-inline-item,
  .archive-list-tight a {
    grid-template-columns: min-content 1fr;
  }

  .archive-list-tight a {
    display: grid;
    gap: 0.35rem;
  }
}
