:root {
  --bg: #ffffff;
  --text: #050505;
  --muted: #6b6c72;
  --border: #f0f0f2;
  --accent: #b9f227;
  --accent-soft: rgba(185, 242, 39, 0.15);
  --radius: 12px;
  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 12px 40px -8px rgba(0, 0, 0, 0.08);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fafc 60%, #f4f6fb 100%),
    var(--bg);
  background-attachment: fixed;
  position: relative;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Avoid nav hiding behind WP admin bar */
body.admin-bar .nav {
  top: 32px;
}

/* Subtle Grain Texture Overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.045;
  mix-blend-mode: multiply;
}

::selection {
  background: var(--accent);
  color: #000;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* Nav */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  background: #000;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.brand-icon i {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  font-style: italic;
  line-height: 1;
}

.brand-name::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin-top: 4px;
  background: var(--accent);
  border-radius: 999px;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  border: none;
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-dark {
  background: #000;
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
}

.btn-dark:hover {
  transform: translateY(-1px);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-search i {
  width: 16px;
  height: 16px;
  color: rgba(0, 0, 0, 0.55);
}

.nav-search input {
  width: 210px;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  font-weight: 650;
  color: #000;
}

.nav-search input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.menu-toggle {
  display: none;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle i {
  width: 18px;
  height: 18px;
  color: rgba(0, 0, 0, 0.85);
}

/* Hero */
.hero {
  padding: 180px 32px 100px;
  background: radial-gradient(circle at 50% 100%, #f9f9fb 0%, #ffffff 70%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 20% 20%, rgba(185, 242, 39, 0.12), transparent 60%),
    radial-gradient(50% 40% at 80% 10%, rgba(0, 0, 0, 0.05), transparent 60%);
  pointer-events: none;
}

.hero-shell {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 12vw, 110px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  margin: 0 0 24px;
  color: #000;
  position: relative;
}

.hero h1::after {
  content: "";
  display: block;
  width: 140px;
  height: 3px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, #000, var(--accent));
  border-radius: 999px;
}

.hero-lede {
  max-width: 540px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.4;
  font-weight: 500;
}

/* Content */
.content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 32px 120px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 4px solid #000;
  padding-bottom: 20px;
  margin-bottom: 64px;
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 28px;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.section-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 900;
  color: #b0b1b5;
  font-style: italic;
}

.feed {
  display: grid;
  gap: 80px;
}

.story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 32px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.story::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(185, 242, 39, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.story:hover::before {
  opacity: 1;
}

.story-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 860px) {
  .story-row {
    grid-template-columns: 1fr 380px;
    gap: 64px;
  }
}

.story-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pill {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  background: #f4f4f7;
  color: var(--muted);
}

.vibe {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4a8000;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vibe::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.story-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.story-title a {
  color: inherit;
  transition: color 0.2s ease;
}

.story-title a:hover {
  color: var(--accent);
}

.story-desc {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  max-width: 58ch;
}

.story-footer {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 8px;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #000;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.link i {
  width: 14px;
  height: 14px;
}

.story-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f4f4;
  box-shadow: var(--shadow);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.story-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1) brightness(0.9);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.story:hover .story-img {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

.story:hover .story-img img {
  filter: grayscale(0) brightness(1);
  transform: scale(1.05);
}

/* Subscribe */
.subscribe {
  margin-top: 80px;
}

.subscribe-inner {
  display: grid;
  gap: 18px;
  padding: 24px 22px;
  border-radius: 16px;
  background:
    radial-gradient(100% 180% at -10% -10%, rgba(185, 242, 39, 0.16), transparent 55%),
    #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

@media (min-width: 860px) {
  .subscribe-inner {
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
  }
}

.subscribe-eyebrow {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
}

.subscribe-copy {
  margin: 0;
  color: rgba(0, 0, 0, 0.65);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
  max-width: 72ch;
}

.subscribe-fineprint {
  margin: 10px 0 0;
  color: rgba(0, 0, 0, 0.45);
  font-size: 12px;
  font-weight: 600;
}

.subscribe-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.subscribe-form input {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 650;
  outline: none;
  background: rgba(255, 255, 255, 0.85);
}

.subscribe-form input:focus {
  border-color: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 0 7px rgba(185, 242, 39, 0.18);
}

/* Post */
.post {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 32px 120px;
}

.post-hero {
  display: grid;
  gap: 22px;
  margin-bottom: 40px;
}

@media (min-width: 960px) {
  .post-hero {
    grid-template-columns: 1.1fr 1fr;
    align-items: end;
    gap: 48px;
  }
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.post-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 0.95;
}

.post-dek {
  margin: 0;
  max-width: 52ch;
  color: rgba(0, 0, 0, 0.62);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.6;
}

.post-cover {
  border-radius: 18px;
  overflow: hidden;
  background: #f4f4f4;
  box-shadow: 0 18px 80px rgba(0, 0, 0, 0.08);
}

.post-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
}

.post-body {
  margin-top: 60px;
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

.post-body h2 {
  margin: 40px 0 16px;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: 24px;
  line-height: 1.2;
}

.post-body h3 {
  margin: 32px 0 12px;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.post-body p {
  margin: 0 0 24px;
  color: rgba(0, 0, 0, 0.75);
  font-weight: 500;
  line-height: 1.8;
  font-size: 17px;
}

.post-body a {
  color: #000;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.post-body a:hover {
  color: var(--accent);
}

.post-body ul,
.post-body ol {
  margin: 24px 0;
  padding-left: 24px;
}

.post-body li {
  margin: 12px 0;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.8;
}

.post-body blockquote {
  margin: 32px 0;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
  font-style: italic;
  color: rgba(0, 0, 0, 0.7);
}

.post-body img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 32px 0;
}

.post-nav {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.04);
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.post-back:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.15);
}

.post-back i {
  width: 16px;
  height: 16px;
}

/* Footer */
.footer {
  background: #000;
  color: #fff;
  padding: 100px 32px 50px;
  margin-top: 120px;
}

.footer-shell {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brand-min {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  font-size: 36px;
  font-style: italic;
  line-height: 1;
}

.footer-tagline {
  color: #8a8b91;
  font-size: 15px;
  max-width: 400px;
  line-height: 1.6;
  font-weight: 500;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-nav {
    gap: 60px;
  }
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-nav-title {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #505155;
  margin-bottom: 4px;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav-links a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.footer-nav-links a:hover {
  opacity: 1;
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-copy {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #505155;
  text-align: center;
}

/* Custom Cursor */
.custom-cursor {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), background 0.2s ease;
  display: none;
}

@media (hover: hover) {
  .custom-cursor {
    display: block;
  }
}

/* Mobile menu overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  z-index: 60;
  display: none;
}

.mobile-overlay.open {
  display: block;
}

.overlay-inner {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.overlay-close {
  align-self: flex-end;
  border: none;
  background: none;
  cursor: pointer;
  padding: 8px;
}

.overlay-close i {
  width: 32px;
  height: 32px;
}

.overlay-inner a:hover {
  font-style: italic;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-search {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}

