/* Article layout for blog posts (shared by every post). */
/* ── ARTICLE ── */
.article { padding: calc(68px + clamp(2.5rem, 7vh, 4.5rem)) 0 clamp(3rem, 6vw, 5rem); }
.read { max-width: calc(720px + 2 * var(--gutter)); }
.crumbs { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--text2); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.tagline { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.6rem; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(226,85,63,0.35); background: rgba(226,85,63,0.07); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #e8907f; }
.tagline::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #e2553f; box-shadow: 0 0 10px rgba(226,85,63,0.8); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.article h1 { margin-top: 1.1rem; font-weight: 480; font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.2rem); letter-spacing: -0.055em; line-height: 1; text-wrap: balance; }
.article h1 em { display: block; }
.dek { margin-top: 1.4rem; font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); line-height: 1.55; color: var(--text2); text-wrap: pretty; }
.byline { margin-top: 1.8rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 22px; }

.tldr { margin-top: 2.4rem; padding: clamp(1.4rem, 3vw, 2rem); border-radius: 22px; border: 1px solid rgba(111,180,135,0.32); background: linear-gradient(180deg, rgba(111,180,135,0.08), rgba(111,180,135,0.02)); box-shadow: 0 30px 70px -45px rgba(111,180,135,0.5); }
.tldr .mono { display: block; color: #9fd3a8; margin-bottom: 0.9rem; }
.tldr ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.tldr li { display: grid; grid-template-columns: 18px 1fr; gap: 0.6rem; color: var(--text); line-height: 1.55; }
.tldr li::before { content: '→'; color: #9fd3a8; }

.toc { margin-top: 2rem; }
.toc .mono { display: block; margin-bottom: 0.7rem; }
.toc ol { list-style: none; counter-reset: t; display: flex; flex-direction: column; gap: 0.35rem; }
.toc li { counter-increment: t; }
.toc a { color: var(--text2); text-decoration: none; font-size: 0.97rem; transition: color .2s; }
.toc a::before { content: counter(t, decimal-leading-zero) '  '; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.toc a:hover { color: var(--text); }

.prose { margin-top: 1rem; font-size: 1.08rem; line-height: 1.75; color: var(--text2); }
.prose h2 { margin: 3.4rem 0 1rem; padding-top: 2.4rem; border-top: 1px solid var(--line); color: var(--text); font-weight: 480; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); letter-spacing: -0.045em; line-height: 1.1; scroll-margin-top: 90px; text-wrap: balance; }
.prose h3 { margin: 2.2rem 0 0.6rem; color: var(--text); font-weight: 500; font-size: 1.3rem; letter-spacing: -0.03em; line-height: 1.25; }
.prose p + p { margin-top: 1rem; }
.prose b, .prose strong { color: var(--text); font-weight: 500; }
.prose ul { margin-top: 1rem; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.prose li::marker { color: var(--muted); }
.prose em { color: var(--text); }
.prose a { color: var(--text); text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.3); }

/* how an ad gets shown, step by step */
.flow { margin: 2rem 0 0.5rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.flow > div { position: relative; padding: 1rem 1rem 1.1rem; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); }
.flow > div:not(:last-child)::after { content: '→'; position: absolute; right: -10px; top: 50%; transform: translate(50%, -50%); z-index: 1; color: var(--muted); font-size: 0.9rem; }
.flow .mono { display: block; margin-bottom: 0.5rem; }
.flow b { display: block; color: var(--text); font-weight: 500; font-size: 1rem; letter-spacing: -0.02em; line-height: 1.25; }
.flow span:last-child { display: block; margin-top: 0.35rem; font-size: 0.86rem; line-height: 1.45; color: var(--text2); }
.flow .new { border-color: rgba(111,180,135,0.35); background: rgba(111,180,135,0.06); }
.flow .new .mono { color: #9fd3a8; }
.cap { font-size: 0.88rem; color: var(--muted); }

.pull { margin: 2.2rem 0; padding: 0.4rem 0 0.4rem 1.4rem; border-left: 2px solid rgba(226,85,63,0.6); font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--text); }

.moves { list-style: none; counter-reset: m; margin-top: 1.4rem !important; padding: 0 !important; gap: 0 !important; }
.moves > li { counter-increment: m; position: relative; padding: 1.5rem 0 1.5rem 3.4rem; border-top: 1px solid var(--line); }
.moves > li:last-child { border-bottom: 1px solid var(--line); }
.moves > li::before { content: counter(m, decimal-leading-zero); position: absolute; left: 0; top: 1.2rem; font-family: var(--serif); font-style: italic; font-size: 2rem; line-height: 1; color: var(--muted); }
.moves h3 { margin: 0 0 0.45rem; }

.mix { margin-top: 1.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mix > div { padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); font-size: 0.95rem; line-height: 1.5; }
.mix .mono { display: block; margin-bottom: 0.4rem; color: var(--text); }

.brief { margin-top: 1.4rem; padding: clamp(1.3rem, 3vw, 1.8rem); border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); }
.brief ol { margin: 0; padding-left: 1.3rem; display: flex; flex-direction: column; gap: 0.6rem; color: var(--text); }
.brief li::marker { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }

.faq { margin-top: 1.2rem; }
.faq details { border-top: 1px solid var(--line); padding: 1.2rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--text); font-size: 1.08rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); font-weight: 300; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 0.7rem; }

.sources { margin-top: 1rem; font-size: 0.93rem; }
.sources li { color: var(--text2); }

.cta-box { margin-top: clamp(3rem, 6vw, 4.5rem); padding: clamp(1.8rem, 5vw, 3rem); border-radius: 28px; text-align: center; background: linear-gradient(180deg, #121211, #0c0c0b); border: 1px solid var(--line); box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9); }
.cta-box h2 { margin: 0 auto; max-width: 15em; color: var(--text); font-weight: 480; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem); letter-spacing: -0.045em; line-height: 1.05; text-wrap: balance; }
.cta-box p { margin: 1rem auto 0; max-width: 32em; color: var(--text2); }
.cta-box .button { margin-top: 1.6rem; }

@media (max-width: 640px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow > div:nth-child(2)::after { display: none; }
  .mix { grid-template-columns: 1fr; }
  .moves > li { padding-left: 2.8rem; }
  .moves > li::before { font-size: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) { .tagline::before { animation: none; } }

/* two-column comparison: red "no", green "yes" */
.duo { margin-top: 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.duo > div { padding: 1.2rem 1.3rem; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); }
.duo .mono { display: block; margin-bottom: 0.8rem; }
.duo ul { margin: 0; padding: 0; list-style: none; gap: 0.55rem; }
.duo li { display: grid; grid-template-columns: 16px 1fr; gap: 0.5rem; font-size: 0.98rem; line-height: 1.5; }
.duo .no { border-color: rgba(226,85,63,0.3); background: rgba(226,85,63,0.05); }
.duo .no .mono { color: #e8907f; }
.duo .no li::before { content: '×'; color: #e2553f; }
.duo .yes { border-color: rgba(111,180,135,0.35); background: rgba(111,180,135,0.06); box-shadow: 0 30px 60px -40px rgba(111,180,135,0.45); }
.duo .yes .mono { color: #9fd3a8; }
.duo .yes li { color: var(--text); }
.duo .yes li::before { content: '✓'; color: #6fb487; }

/* a checklist to run against your own account */
.check { margin-top: 1.4rem !important; padding: clamp(1.2rem, 3vw, 1.7rem) !important; list-style: none; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); gap: 0.75rem !important; }
.check li { display: grid; grid-template-columns: 22px 1fr; gap: 0.7rem; color: var(--text); line-height: 1.55; }
.check li::before { content: ''; width: 18px; height: 18px; margin-top: 0.2em; border-radius: 6px; border: 1.5px solid rgba(255,255,255,0.3); }

.example { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 10px; }
.example > div { padding: 1rem 1.2rem; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); font-size: 0.98rem; line-height: 1.55; }
.example .mono { display: block; margin-bottom: 0.4rem; color: var(--text); }

@media (max-width: 640px) { .duo { grid-template-columns: 1fr; } }

/* evergreen posts: a neutral tag instead of the pulsing "news" one */
.tagline.calm { border-color: var(--line); background: rgba(255,255,255,0.04); color: var(--text2); }
.tagline.calm::before { background: var(--text2); box-shadow: none; animation: none; }

/* section numbers, lede, sign-off */
.prose h2 .num { display: block; margin-bottom: 0.7rem; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.15rem; letter-spacing: 0; color: var(--muted); }
.prose .lede { font-size: 1.18rem; color: var(--text); }
.prose h3 .part { display: block; margin-bottom: 0.35rem; font-size: 11px; font-weight: 400; letter-spacing: 0.08em; color: var(--muted); }
.signoff { margin-top: 1.6rem !important; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--text); }
.ps { margin-top: 1.6rem; padding: 1.1rem 1.3rem; border-radius: 16px; border: 1px dashed rgba(255,255,255,0.18); }
.ps .mono { display: block; margin-bottom: 0.3rem; color: var(--text); }

/* first order vs second order change */
.orders { margin-top: 1.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.orders > div { padding: 1.1rem 1.2rem; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); }
.orders .mono { display: block; margin-bottom: 0.45rem; }
.orders b { display: block; font-weight: 500; font-size: 1.02rem; line-height: 1.35; letter-spacing: -0.02em; color: var(--text2); }
.orders .first { border-color: rgba(111,180,135,0.35); background: rgba(111,180,135,0.06); }
.orders .first .mono { color: #9fd3a8; }
.orders .first b { color: var(--text); }

/* six hooks, one body: what Meta sees */
.hats { margin: 2rem 0; padding: clamp(1.2rem, 3vw, 1.7rem); border-radius: 22px; border: 1px solid var(--line); background: rgba(255,255,255,0.025); display: grid; grid-template-columns: 1fr auto; grid-template-areas: "in out" "body out"; gap: 12px 18px; align-items: center; }
.hats-in { grid-area: in; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.hats-in span { padding: 0.55rem 0.3rem; border-radius: 10px; border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.04); text-align: center; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--text); white-space: nowrap; }
.hats-body { grid-area: body; padding: 0.8rem 1rem; line-height: 1.5; border-radius: 12px; border: 1px dashed rgba(255,255,255,0.14); text-align: center; }
.hats-out { grid-area: out; position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 0 0 0 2.4rem; text-align: center; }
.hats-out::before { content: '→'; position: absolute; left: 0.4rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.hats-out .mono { color: #e8907f; }
.hats-out b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 3rem; line-height: 1; color: var(--text); }

/* one person's path through the ad set */
.journey { margin: 2rem 0 0.6rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.journey > div { position: relative; padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); }
.journey > div:not(:last-child)::after { content: '→'; position: absolute; right: -10px; top: 50%; transform: translate(50%, -50%); z-index: 1; color: var(--muted); font-size: 0.9rem; }
.journey .mono { display: block; margin-bottom: 0.45rem; }
.journey b { display: block; color: var(--text); font-weight: 500; font-size: 1.05rem; letter-spacing: -0.02em; }
.journey span:last-child { display: block; margin-top: 0.2rem; font-size: 0.88rem; color: var(--text2); }
.journey .won { border-color: rgba(111,180,135,0.35); background: rgba(111,180,135,0.06); }
.journey .won .mono { color: #9fd3a8; }

/* the six stages of awareness */
.ladder { list-style: none; counter-reset: l; margin: 1.4rem 0 0 !important; padding: 0 !important; display: flex; flex-direction: column; gap: 8px !important; }
.ladder > li { counter-increment: l; position: relative; display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.4rem 1rem; padding: 1.1rem 1.2rem; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,0.025); }
.ladder > li::before { content: counter(l, decimal-leading-zero); grid-row: span 2; font-family: var(--serif); font-style: italic; font-size: 1.9rem; line-height: 1; color: var(--muted); }
.ladder > li:nth-child(n+5) { border-color: rgba(111,180,135,0.28); background: rgba(111,180,135,0.04); }
.ladder-k { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.8rem; }
.ladder h3 { margin: 0; font-size: 1.15rem; }
.ladder-k .mono { font-size: 10px; }
.ladder p { margin: 0; font-size: 0.98rem; line-height: 1.55; }

/* where to film */
.spots { list-style: none; margin: 1rem 0 0 !important; padding: 0 !important; display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 8px !important; }
.spots li { padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); color: var(--text); font-size: 0.95rem; }
.note { margin-top: 1.6rem; padding: 1.2rem 1.3rem; border-radius: 18px; border: 1px solid rgba(111,180,135,0.35); background: rgba(111,180,135,0.06); }
.note .mono { display: block; margin-bottom: 0.4rem; color: #9fd3a8; }
.note p { margin: 0; }

.duo.jobs li::before { content: '→'; color: var(--muted); }
.duo.jobs .yes li::before { color: #6fb487; }

@media (max-width: 640px) {
  .orders, .journey { grid-template-columns: 1fr; }
  .journey > div:not(:last-child)::after { content: '↓'; right: 50%; top: auto; bottom: -10px; transform: translate(50%, 50%); }
  .hats { grid-template-columns: 1fr; grid-template-areas: "in" "body" "out"; }
  .hats-in { grid-template-columns: repeat(3, 1fr); }
  .hats-out { padding: 1.6rem 0 0; }
  .hats-out::before { content: '↓'; left: 50%; top: 0; transform: translateX(-50%); }
  .ladder > li { grid-template-columns: 2.1rem 1fr; padding: 1rem; }
  .ladder > li::before { font-size: 1.5rem; }
}
.prose > div + p, .prose > ul + p, .prose > ol + p, .prose > figure + p { margin-top: 1.4rem; }

/* ══ WHITE THEME: flat, no cards, one font ══ */
.crumbs { font-family: var(--sans); font-size: 0.9rem; letter-spacing: 0; text-transform: none; }
.tagline { display: none; }
.prose a { text-decoration-color: rgba(11,11,10,0.3); }
.tldr, .brief, .check, .ps, .note, .hats { background: none; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; padding-left: 0 !important; padding-right: 0 !important; }
.tldr .mono, .note .mono, .ps .mono { color: var(--text); font-weight: 500; }
.tldr li::before { color: var(--text); }
.flow > div, .mix > div, .duo > div, .example > div, .orders > div, .journey > div, .ladder > li { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding-left: 0; padding-right: 0; }
.flow .new, .duo .yes, .orders .first, .journey .won, .ladder > li:nth-child(n+5) { background: none; border-top: 2px solid #0b0b0a; box-shadow: none; }
.flow .new .mono, .duo .yes .mono, .duo .no .mono, .orders .first .mono, .journey .won .mono, .hats-out .mono, .mix .mono, .example .mono { color: var(--text); }
.duo .yes li::before { color: var(--text); }
.duo .no li::before { color: var(--muted); }
.duo.jobs .yes li::before { color: var(--text); }
.check li::before { border-color: rgba(11,11,10,0.3); }
.hats-in span { background: none; border-color: var(--line); font-family: var(--sans); letter-spacing: 0; }
.hats-body { border-color: rgba(11,11,10,0.16); }
.hats-out b, .moves > li::before, .ladder > li::before, .signoff, .prose h2 .num { font-family: var(--sans); font-style: normal; font-weight: 480; letter-spacing: -0.03em; }
.prose h2 .num { font-size: 0.95rem; letter-spacing: 0; }
.pull { font-family: var(--sans); font-style: normal; font-weight: 480; letter-spacing: -0.03em; border-left-color: #0b0b0a; color: var(--text); }
.spots li { background: none; border-color: var(--line); }
.cta-box { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; padding: clamp(2.4rem, 5vw, 3.2rem) 0 0; }
.duo .no, .duo .yes { background: none; }
.duo .no { border-top-color: var(--line); }
.flow > div:not(:last-child)::after, .journey > div:not(:last-child)::after { display: none; }
