/* ============================================================
   Austin Hughes · Private Brief — Unify branding
   Bg #222222 · Text #dcdcdc · Borders #404040
   Accent #ffffff · No lavender — corrected from context.dev
   PP Neue Montreal · spacing 10/20/32/46/80
   ============================================================ */

@font-face {
  font-family: "PP Neue Montreal";
  font-weight: 400;
  src: url("https://cdn.prod.website-files.com/65a7e0cdd5ac0838035bd1af/6758bdd3f0c81646c9943a12_NeueMontreal-Regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  font-weight: 500;
  src: url("https://cdn.prod.website-files.com/65a7e0cdd5ac0838035bd1af/6758bdd4ddb0815c4dd2b212_NeueMontreal-Medium.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "PP Neue Montreal";
  font-weight: 600;
  src: url("https://cdn.prod.website-files.com/65a7e0cdd5ac0838035bd1af/6758bdd32e86b7cefafc5d42_NeueMontreal-Bold.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #222222;
  --bg-elev: #2a2a2a;
  --bg-elev2: #303030;
  --rule: #404040;
  --rule-soft: #333333;
  --text: #dcdcdc;
  --text-mute: #8c8c8c;
  --text-deep-mute: #5e5e5e;
  --accent: #ffffff;
  --product: #ffffff;     /* was #ffffff — corrected per context.dev */
  --warn: #ff8a5b;
  --pass: #7fc99c;
  --xs: 10px; --sm: 20px; --md: 32px; --lg: 46px; --xl: 80px;
  --r-card: 8px;
  --font: "PP Neue Montreal", Verdana, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ── Sticky nav ───────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(34, 34, 34, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 14px 46px;
  display: flex; align-items: center; gap: 28px;
}
.brand-mark {
  display: flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 15px;
}
.brand-mark .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--product);
}
.brand-mark .sep { color: var(--text-deep-mute); }
.brand-mark .label {
  font-size: 12px; color: var(--text-mute);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.nav-links { margin-left: auto; display: flex; gap: 24px; }
.nav-links a {
  font-size: 12px; color: var(--text-mute);
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--text); }

/* ── Layout container ─────────────────────────────────────── */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 46px; }
.col  { max-width: 720px; }

/* ── Section primitives ───────────────────────────────────── */
.section {
  padding: var(--xl) 0 var(--lg);
  border-top: 1px solid var(--rule);
}
.section:first-of-type { border-top: 0; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
  margin-bottom: var(--sm);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 24px; height: 1px; background: var(--product);
}
.section-num {
  color: var(--product); font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4 { font-family: var(--font); font-weight: 500; letter-spacing: -0.01em; }
h1 { font-size: clamp(48px, 6.5vw, 84px); line-height: 0.96; letter-spacing: -0.025em; font-weight: 500; }
h2 { font-size: 40px; line-height: 1.05; letter-spacing: -0.015em; }
h3 { font-size: 24px; line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.25; font-weight: 500; }

p { margin-bottom: 18px; }
p.lede { font-size: 19px; color: var(--text); max-width: 56ch; line-height: 1.55; }
p.note { font-size: 14px; color: var(--text-mute); max-width: 60ch; line-height: 1.55; }

.section-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--md);
  align-items: end;
  padding-bottom: var(--md);
  margin-bottom: var(--lg);
  border-bottom: 1px solid var(--rule);
}
.section-intro h2 { max-width: 18ch; }
.section-intro .meta {
  font-size: 12px; color: var(--text-mute);
  letter-spacing: 0.04em; text-align: right;
  text-transform: uppercase;
  display: flex; flex-direction: column; gap: 4px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 var(--xl);
  border-top: 0;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-mute);
  padding: 7px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  margin-bottom: var(--md);
}
.hero-eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--product);
  box-shadow: 0 0 0 0 var(--product);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}
.hero h1 {
  margin-bottom: var(--md);
  max-width: 16ch;
}
.hero h1 .stress { color: var(--accent); }
.hero h1 .product { color: var(--product); }
.hero .lede { margin-bottom: 22px; }
.hero .pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: var(--md);
}
.hero .pill {
  font-size: 12px; color: var(--text-mute);
  border: 1px solid var(--rule);
  padding: 6px 12px; border-radius: 999px;
  letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero .pill .num { color: var(--text); font-weight: 500; }

/* TOC */
.toc {
  margin-top: var(--xl);
  border-top: 1px solid var(--rule);
  padding-top: var(--md);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.toc a {
  border-left: 1px solid var(--rule);
  padding: var(--sm) var(--sm) var(--sm) var(--sm);
  display: block;
  transition: background .15s ease;
}
.toc a:first-child { border-left: 0; padding-left: 0; }
.toc a:hover { background: var(--bg-elev); }
.toc .toc-num { font-size: 11px; color: var(--product); letter-spacing: 0.1em; }
.toc .toc-title { display: block; margin-top: 6px; font-size: 14px; color: var(--text); }
.toc .toc-count { display: block; margin-top: 4px; font-size: 11px; color: var(--text-deep-mute); letter-spacing: 0.04em; text-transform: uppercase; }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  padding: 0;
  overflow: hidden;
  margin-bottom: var(--md);
  transition: border-color .2s ease;
}
.card:hover { border-color: #555; }

.card-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid var(--rule-soft);
  background: var(--bg-elev);
}
.card-num {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-mute); font-weight: 500;
}
.card-num strong { color: var(--text); font-weight: 500; }
.card-tag {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); padding: 4px 10px;
  border: 1px solid var(--rule); border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--product);
}
.card-body {
  padding: 26px 22px;
  font-size: 15.5px; line-height: 1.7;
  white-space: pre-line;
  color: var(--text);
}
.card-foot {
  padding: 14px 22px; border-top: 1px solid var(--rule-soft);
  font-size: 12px; color: var(--text-mute); line-height: 1.5;
  display: flex; flex-wrap: wrap; gap: 6px 18px;
}
.card-foot b { color: var(--text); font-weight: 500; }
.card-foot .sep { color: var(--text-deep-mute); }

/* ── Infographic mock (1080×1080) ─────────────────────────── */
.ig-wrap {
  display: flex; justify-content: center; padding: var(--md) 0;
}
.ig {
  width: 600px; height: 600px;
  background: #1c1c1c;
  border: 1px solid var(--rule);
  padding: 30px;
  display: flex; flex-direction: column;
  position: relative;
}
.ig::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 3px; background: var(--product);
}
.ig-title {
  font-size: 22px; font-weight: 500; line-height: 1.2;
  text-align: center; margin-bottom: 6px; letter-spacing: -0.01em;
  margin-top: 4px;
}
.ig-sub {
  font-size: 10px; color: var(--text-mute);
  letter-spacing: 0.12em; text-transform: uppercase;
  text-align: center; margin-bottom: 22px;
}
.ig-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 1;
}
.ig-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--rule);
  padding: 14px;
  display: flex; flex-direction: column;
}
.ig-card-head {
  font-size: 11px; color: var(--product);
  letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.ig-card-head .marker {
  width: 6px; height: 6px; background: var(--product);
}
.ig-trigger {
  font-size: 12.5px; color: var(--text); font-weight: 500;
  line-height: 1.4; margin-bottom: 6px; letter-spacing: -0.01em;
}
.ig-why {
  font-size: 11px; color: var(--text-mute); line-height: 1.5;
}
.ig-foot {
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center;
}
.ig-foot-l { font-size: 10px; color: var(--text-mute); letter-spacing: 0.04em; }
.ig-foot-r { font-size: 14px; font-weight: 500; color: var(--text); letter-spacing: -0.01em; }
.ig-foot-r::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px; background: var(--product); border-radius: 50%;
  margin-right: 8px; vertical-align: middle; transform: translateY(-1px);
}

/* ── Carousel ─────────────────────────────────────────────── */
.carousel-shell {
  border: 1px solid var(--rule);
  background: var(--bg);
  margin: var(--md) 0;
  overflow: hidden;
}
.carousel-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 22px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-elev);
}
.carousel-bar .ctr { font-size: 11px; color: var(--text-mute); letter-spacing: 0.06em; }
.carousel-btns { display: flex; gap: 8px; }
.carousel-btns button {
  width: 30px; height: 30px;
  background: var(--bg);
  border: 1px solid var(--rule);
  color: var(--text);
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
  transition: all .15s;
}
.carousel-btns button:hover { border-color: var(--text); }
.carousel-port { overflow: hidden; }
.carousel-track { display: flex; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.slide {
  min-width: 100%;
  padding: 38px;
  min-height: 460px;
  display: flex; flex-direction: column;
  background: var(--bg);
}
.slide.intro { background: linear-gradient(180deg, #2a2a2a 0%, #222 100%); justify-content: center; }
.slide.outro { background: linear-gradient(180deg, #2a2a2a 0%, #222 100%); justify-content: center; }
.sl-tag { font-size: 11px; color: var(--product); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.sl-h { font-size: 30px; line-height: 1.1; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 14px; max-width: 22ch; }
.sl-h.big { font-size: 38px; max-width: 18ch; }
.sl-lab { font-size: 10px; color: var(--text-deep-mute); letter-spacing: 0.1em; text-transform: uppercase; margin: 18px 0 6px; font-weight: 500; }
.sl-text { font-size: 14px; color: var(--text); line-height: 1.55; max-width: 50ch; }
.sl-tmpl {
  background: rgba(255,255,255,0.06);
  border-left: 2px solid var(--product);
  padding: 14px 16px;
  font-size: 13.5px; line-height: 1.6; color: var(--text);
  font-style: italic;
}
.sl-result {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--text-mute); letter-spacing: 0.04em;
  margin-top: auto; padding-top: 18px;
}
.sl-result::before {
  content: ""; display: inline-block;
  width: 6px; height: 6px; background: var(--product); border-radius: 50%;
}
.slide.intro .sub, .slide.outro .sub {
  font-size: 14px; color: var(--text-mute); line-height: 1.6;
  max-width: 44ch; margin-top: 12px;
}
.slide.intro .swipe { margin-top: auto; font-size: 11px; color: var(--product); letter-spacing: 0.1em; text-transform: uppercase; }
.slide.outro .links { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.slide.outro .links span { font-size: 12px; color: var(--text); letter-spacing: 0.02em; }
.slide.outro .links span::before { content: "→  "; color: var(--product); }

/* ── Articles ─────────────────────────────────────────────── */
.article {
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  margin-bottom: var(--md);
  overflow: hidden;
  background: var(--bg);
}
.art-hdr { padding: 28px 32px; border-bottom: 1px solid var(--rule-soft); background: var(--bg-elev); }
.art-num { font-size: 11px; color: var(--product); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.art-title { font-size: 26px; line-height: 1.18; font-weight: 500; max-width: 28ch; margin-bottom: 12px; letter-spacing: -0.015em; }
.art-meta { font-size: 12px; color: var(--text-mute); display: flex; gap: 16px; flex-wrap: wrap; }
.art-meta span { display: inline-flex; align-items: center; gap: 6px; }
.art-meta .dot { width: 3px; height: 3px; background: var(--text-deep-mute); border-radius: 50%; }
.art-body { padding: 32px; font-size: 16px; line-height: 1.75; max-width: 70ch; }
.art-body p { margin-bottom: 16px; color: var(--text); }
.art-body strong { color: var(--accent); font-weight: 500; }
.art-body h5 {
  font-size: 11px; color: var(--text); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin: 28px 0 12px;
  padding-top: 18px; border-top: 1px solid var(--rule-soft);
}
.art-body h5:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* ── YouTube section ──────────────────────────────────────── */
.yt-video {
  padding-bottom: var(--lg);
  margin-bottom: var(--lg);
  border-bottom: 1px solid var(--rule);
}
.yt-video:last-child { border-bottom: 0; }

.yt-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--md);
  align-items: start;
  margin-bottom: var(--md);
}
.yt-num { font-size: 11px; color: var(--product); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.yt-title-text { font-size: 26px; line-height: 1.15; font-weight: 500; max-width: 22ch; margin-bottom: 12px; letter-spacing: -0.015em; }
.yt-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.yt-tag {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--rule); padding: 4px 9px;
  color: var(--text-mute);
}
.yt-tag.pillar { color: var(--product); border-color: var(--product); }
.yt-tag.dur { color: var(--text); }

/* Inline thumbnail preview — uses thumbnail tile shared with canvas */
.thumb-frame {
  width: 380px; height: 213.75px;
  border: 1px solid var(--rule);
  background: #1c1c1c;
  position: relative; overflow: hidden;
  border-radius: 4px;
}
.thumb-mini-cap {
  margin-top: 8px;
  font-size: 11px; color: var(--text-deep-mute);
  letter-spacing: 0.04em; line-height: 1.4;
}
.thumb-mini-cap a { color: var(--product); text-decoration: underline; text-underline-offset: 3px; }

/* Bento boxes */
.bento { display: flex; flex-direction: column; gap: 12px; }
.hook-card {
  border: 1px solid var(--rule);
  background: var(--bg);
  padding: 22px 26px;
  border-left: 3px solid var(--product);
}
.hook-label {
  font-size: 11px; color: var(--product);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 10px; font-weight: 500;
}
.hook-text {
  font-size: 16px; color: var(--text); line-height: 1.6;
  font-style: italic;
}
.bbox {
  border: 1px solid var(--rule);
  padding: 22px 26px;
  background: var(--bg);
}
.bbox-top { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.bbox-n { font-size: 28px; font-weight: 500; color: var(--product); font-variant-numeric: tabular-nums; line-height: 1; }
.bbox-topic { font-size: 18px; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.bbox-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.bbox-cols .lab { font-size: 10px; color: var(--text-mute); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.bbox-cols ul { list-style: none; }
.bbox-cols li {
  font-size: 13.5px; line-height: 1.55;
  color: var(--text);
  padding-left: 14px; position: relative;
  margin-bottom: 6px;
}
.bbox-cols li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 1px; background: var(--product);
}
.bbox-trans {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
  font-size: 13px; color: var(--text-mute);
  font-style: italic; line-height: 1.55;
}
.bbox-trans::before { content: "→  "; color: var(--product); font-style: normal; }

.cta-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--product);
  padding: 22px 26px;
  margin-top: 4px;
}
.cta-label { font-size: 11px; color: var(--product); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; font-weight: 500; }
.cta-text { font-size: 14.5px; color: var(--text); line-height: 1.6; }

/* ── Closer ───────────────────────────────────────────────── */
.closer { padding: var(--xl) 0; border-top: 1px solid var(--rule); }
.closer .col { max-width: 640px; }
.closer h2 { margin-bottom: var(--sm); max-width: 14ch; letter-spacing: -0.02em; }
.closer p { color: var(--text-mute); font-size: 16px; line-height: 1.65; }
.closer .signoff {
  margin-top: var(--md); padding-top: var(--sm);
  border-top: 1px solid var(--rule);
  font-size: 12px; color: var(--text-mute);
  letter-spacing: 0.04em;
  display: flex; gap: 24px; flex-wrap: wrap;
}

/* ── Print ────────────────────────────────────────────────── */
@media print {
  body { background: #fff; color: #111; }
  .nav { display: none; }
  .card, .bbox, .article, .ig, .hook-card, .cta-card { background: #fff; border-color: #ddd; }
  .card-head, .art-hdr, .carousel-bar { background: #fafafa; border-color: #ddd; }
  .ig-card { background: #fafafa; border-color: #ddd; }
  .sl-tmpl { background: #f5f5f5; }
}
