/* Faceless AI Queens — Blog
   Shared stylesheet for /blog/ index and all article pages.
   Extends the design system used on the homepage. */

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

:root {
  --obsidian: #0B0B0D;
  --bone: #F4F3EF;
  --pewter: #ACA69B;
  --yellow: #E6B84C;
  --blue: #7FB2D9;
  --mid: #55524C;
  --rule: rgba(11,11,13,0.08);
  --panel: #ECEAE4;
}

body {
  background: var(--bone);
  color: var(--obsidian);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* GRAIN */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 999; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(244, 243, 239, 0.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.nav-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--obsidian);
  text-decoration: none;
}

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

.nav-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--obsidian); }

.seam {
  width: 84px; height: 2px;
  background: linear-gradient(90deg, var(--obsidian) 0 55%, transparent 55% 70%, var(--pewter) 70% 100%);
}

.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--pewter);
}

/* ---------- BLOG INDEX ---------- */

.blog-hero {
  max-width: 780px;
  margin: 0 auto;
  padding: 180px 48px 72px;
  text-align: center;
}

.blog-hero .section-label { margin-bottom: 20px; }

.blog-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -1px;
  margin-bottom: 28px;
}

.blog-hero h1 em { font-style: italic; font-weight: 600; }

.blog-hero .seam { margin: 0 auto 32px; }

.blog-hero p {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.9;
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto;
}

.post-list {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 48px 120px;
  display: grid;
  gap: 24px;
}

.post-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1.5px solid #E3E1DA;
  border-radius: 14px;
  padding: 32px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: all 0.25s;
}

.post-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.post-card:hover {
  border-color: var(--pewter);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(11,11,13,0.07);
}

.post-card:hover::after { transform: scaleX(1); }

.post-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.post-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}

.post-card h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.15;
  margin: 14px 0 14px;
}

.post-card h2 em { font-style: italic; font-weight: 600; }

.post-card p {
  font-size: 14.5px;
  color: var(--mid);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 18px;
}

.post-meta {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--obsidian);
  font-weight: 700;
}

/* ---------- ARTICLE ---------- */

.article-head {
  max-width: 760px;
  margin: 0 auto;
  padding: 168px 24px 56px;
  text-align: center;
}

.crumb {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--pewter);
  text-decoration: none;
  margin-bottom: 24px;
  display: inline-block;
}

.crumb:hover { color: var(--obsidian); }

.article-head h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(38px, 5.6vw, 66px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -1px;
  margin-bottom: 26px;
}

.article-head h1 em { font-style: italic; font-weight: 600; }

.article-head .seam { margin: 0 auto 26px; }

.byline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--pewter);
}

article {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

article p {
  font-size: 17px;
  line-height: 1.85;
  color: #2C2A27;
  font-weight: 300;
  margin-bottom: 26px;
}

article p strong { font-weight: 600; color: var(--obsidian); }

article h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 400;
  line-height: 1.15;
  margin: 64px 0 22px;
  letter-spacing: -0.5px;
}

article h2 em { font-style: italic; font-weight: 600; }

article h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 40px 0 14px;
  color: var(--obsidian);
}

article ul, article ol {
  margin: 0 0 26px 22px;
  color: #2C2A27;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.85;
}

article li { margin-bottom: 12px; }

article li strong { font-weight: 600; color: var(--obsidian); }

article a {
  color: var(--obsidian);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

article a:hover { text-decoration-color: var(--obsidian); }

article hr {
  border: none;
  height: 1px;
  background: var(--rule);
  margin: 56px 0;
}

/* Answer box — the short answer, first thing on the page */
.answer {
  background: var(--panel);
  border-left: 3px solid var(--yellow);
  border-radius: 0 10px 10px 0;
  padding: 28px 32px;
  margin-bottom: 44px;
}

.answer p { margin-bottom: 0; font-size: 16.5px; }
.answer p + p { margin-top: 16px; }

.answer .label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--pewter);
  display: block;
  margin-bottom: 12px;
}

/* Pull quote */
.pull {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.35;
  color: var(--obsidian);
  border-top: 1.5px solid var(--rule);
  border-bottom: 1.5px solid var(--rule);
  padding: 32px 0;
  margin: 48px 0;
  text-align: center;
}

/* Comparison table */
.table-wrap { overflow-x: auto; margin: 0 0 32px; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 480px;
}

th, td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
  font-weight: 300;
  color: #2C2A27;
  vertical-align: top;
}

th {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pewter);
  font-weight: 700;
  border-bottom: 1.5px solid var(--pewter);
}

/* Inline CTA inside articles */
.inline-cta {
  background: #fff;
  border: 1.5px solid #E3E1DA;
  border-radius: 14px;
  padding: 36px 36px 34px;
  margin: 52px 0;
}

.inline-cta .label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  display: block;
  margin-bottom: 14px;
}

.inline-cta h3 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: 0;
}

.inline-cta p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 22px;
  color: var(--mid);
}

.btn-primary {
  display: inline-block;
  padding: 15px 36px;
  background: var(--obsidian);
  color: var(--bone);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  transition: all 0.2s;
}

.btn-primary:hover { background: var(--blue); color: var(--obsidian); }

.btn-ghost {
  display: inline-block;
  padding: 15px 36px;
  border: 1.5px solid var(--pewter);
  color: var(--mid);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  transition: all 0.2s;
}

.btn-ghost:hover { border-color: var(--obsidian); color: var(--obsidian); }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* End-of-article Human AI block */
.end-cta {
  background: var(--obsidian);
  padding: 100px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.end-cta::before {
  content: 'HUMAN AI';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(80px, 18vw, 240px);
  font-weight: 700;
  color: rgba(244,243,239,0.04);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -4px;
}

.end-cta-inner { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }

.end-cta .label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 26px;
}

.wordmark {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
}

.wordmark .h {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 7vw, 72px);
  color: var(--bone);
}

.wordmark .ai {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 7.5vw, 78px);
  letter-spacing: -3px;
  color: var(--bone);
}

.end-cta p {
  font-size: 16px;
  color: #8B877F;
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 36px;
}

.end-cta p strong { color: var(--bone); font-weight: 400; }

.btn-waitlist {
  display: inline-block;
  padding: 17px 48px;
  background: var(--yellow);
  color: var(--obsidian);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  transition: all 0.2s;
}

.btn-waitlist:hover { background: var(--bone); }

.end-note {
  margin-top: 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  color: #55524C;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Keep reading */
.keep-reading {
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 48px 40px;
}

.keep-reading .section-label { margin-bottom: 28px; text-align: center; }

.next-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.next-card {
  background: #fff;
  border: 1.5px solid #E3E1DA;
  border-radius: 14px;
  padding: 32px 30px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}

.next-card:hover {
  border-color: var(--pewter);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(11,11,13,0.07);
}

.next-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  margin: 12px 0 10px;
}

.next-card p {
  font-size: 14px;
  color: var(--mid);
  font-weight: 300;
  line-height: 1.8;
}

/* FOOTER */
footer {
  background: var(--bone);
  padding: 64px 48px;
  border-top: 1px solid var(--rule);
  text-align: center;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--obsidian);
  margin-bottom: 32px;
}

.social-links {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.social-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s;
}

.social-links a:hover { color: var(--obsidian); }

.footer-copy { font-size: 11px; color: var(--pewter); letter-spacing: 2px; }

/* MOBILE */
@media (max-width: 900px) {
  .post-card { grid-template-columns: 1fr; gap: 24px; }
  .next-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .blog-hero { padding: 130px 24px 56px; }
  .post-list { padding: 0 24px 80px; }
  .post-card { padding: 24px; }
  .article-head { padding: 120px 24px 44px; }
  article p, article ul, article ol { font-size: 16.5px; }
  .answer { padding: 24px 24px; }
  .inline-cta { padding: 28px 26px; }
  .end-cta { padding: 80px 24px; }
  .keep-reading { padding: 72px 24px 32px; }
  footer { padding: 48px 24px; }
}
