/* ==========================================================
   Taz Cable Agency — design system
   Fonts: Arial / Helvetica (system, no web-font load)
   ========================================================== */
:root {
  --bg: #101112;
  --panel: #1b1d20;
  --panel-2: #222428;
  --line: #393b3e;
  --red: #e32636;
  --red-dark: #a71928;
  --pink: #ff7d87;
  --text: #f7f4ee;
  --muted: #c5c5c5;
  --dim: #888888;
  --font: Arial, Helvetica, sans-serif;
  --wrap: 1180px;
  --radius: 10px;
  --radius-btn: 5px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.tca {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.tca img { max-width: 100%; height: auto; display: block; }
.tca a { color: var(--text); }
.tca a:hover { color: var(--pink); }
.tca p { margin: 0 0 1em; color: var(--muted); }
.tca strong { color: var(--text); }
.tca h1, .tca h2, .tca h3, .tca h4 {
  font-family: var(--font);
  color: var(--text);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 .5em;
}
.tca h1 { font-size: clamp(38px, 5.2vw, 64px); letter-spacing: -2.5px; font-weight: 900; }
.tca h2 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -2px; }
.tca h3 { font-size: 23px; letter-spacing: -.3px; line-height: 1.2; }
.tca h4 { font-size: 18px; }
.tca ul { margin: 0 0 1em; padding-left: 1.2em; color: var(--muted); }
.tca li { margin-bottom: .45em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 999; background: var(--red); color: #fff; padding: 10px 16px; top: 8px; left: 8px; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--panel { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p { font-size: 19px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 14px;
}
.lead { font-size: 20px; line-height: 1.6; color: var(--muted); }
.kicker { font-size: 21px; font-weight: 700; color: var(--text); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff !important;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--red);
  line-height: 1.3;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
  cursor: pointer;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text) !important; }
.btn--ghost:hover { background: var(--panel-2); border-color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.text-link { color: var(--pink) !important; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16,17,18,.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.admin-bar .site-head { top: 32px; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { font-size: 21px; font-weight: 900; letter-spacing: 1px; text-decoration: none; color: var(--text) !important; white-space: nowrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-word { color: var(--text); }
.brand-word span { color: var(--red); }
.brand img { height: 48px; width: auto; max-height: 48px; }
.site-foot .brand span { color: var(--red); }
@media (max-width: 400px) { .brand { font-size: 18px; gap: 9px; } .brand img { height: 40px; } }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--text); text-decoration: none; font-size: 15px; font-weight: 700;
  padding: 9px 11px; border-radius: var(--radius-btn);
}
.nav a:hover, .nav a.is-current { color: var(--pink); }
.nav a.btn { color: #fff; margin-left: 8px; padding: 10px 16px; }
.nav a.btn:hover { color: #fff; }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line); color: var(--text);
  border-radius: var(--radius-btn); padding: 9px 12px; font: 700 14px var(--font); cursor: pointer;
}

/* ---------- Hero ---------- */
.hero { padding: 84px 0 92px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 85% 10%, rgba(227,38,54,.16), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero h1 { max-width: 17ch; }
.hero .lead { max-width: 640px; }
.hero-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.hero-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tagline-bar { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 22px; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.tagline-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; }
.tagline-bar .states { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 15px; }
.tagline-bar .states strong { color: var(--text); }

.page-hero { padding: 76px 0 56px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 360px at 90% 0%, rgba(227,38,54,.14), transparent 65%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 64px); max-width: 18ch; }
.page-hero .lead { max-width: 700px; }

/* ---------- Cards ---------- */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column;
}
.section--panel .card { background: var(--bg); }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card .text-link { margin-top: auto; padding-top: 10px; }
.card--accent { border-top: 3px solid var(--red); }
.card-num { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--pink); margin-bottom: 12px; text-transform: uppercase; }
a.card { text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
a.card:hover { border-color: var(--red); transform: translateY(-2px); color: var(--text); }

.idea { padding: 34px; }
.idea .eyebrow { margin-bottom: 10px; }

/* ---------- Plans ---------- */
.plan .price { font-size: 34px; font-weight: 900; letter-spacing: -1px; color: var(--text); margin: 4px 0 6px; }
.plan .price small { font-size: 16px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.plan .note { font-size: 15px; background: rgba(227,38,54,.1); border: 1px solid rgba(227,38,54,.35); border-radius: var(--radius-btn); padding: 10px 12px; color: var(--text); }
.plan ul { margin-top: 6px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan--featured { border-color: var(--red); box-shadow: 0 0 0 1px var(--red) inset; }
.fine { font-size: 14px; color: var(--dim); }

/* ---------- Steps / timeline ---------- */
.steps { counter-reset: s; }
.step { border-left: 3px solid var(--red); padding: 4px 0 4px 22px; }
.step .card-num { margin-bottom: 6px; }

/* ---------- Callout / CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: var(--radius);
  padding: 48px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { color: #fff; opacity: .92; margin: 0; max-width: 620px; }
.cta-band .btn { background: #fff; color: var(--red-dark) !important; border-color: #fff; }
.cta-band .btn:hover { background: var(--text); }
.cta-band .btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.6); }

.callout { border: 1px solid var(--line); border-left: 3px solid var(--red); background: var(--panel); border-radius: var(--radius); padding: 24px 26px; }

/* ---------- Testimonials ---------- */
.quote { margin: 0; }
.quote blockquote { margin: 0 0 18px; font-size: 19px; line-height: 1.55; color: var(--text); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 64px; line-height: .6; color: var(--red); margin-bottom: 10px; font-weight: 900; }
.quote figcaption { font-size: 15px; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--text); }

/* ---------- Contact / form ---------- */
.contact-line { font-size: 20px; margin: 0 0 6px; color: var(--muted); }
.contact-line a { color: var(--text); font-weight: 700; text-decoration: none; }
.contact-line a:hover { color: var(--pink); }
.form-shell { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.form-shell iframe { display: block; width: 100%; min-height: 1100px; border: 0; }
.form-fallback { font-size: 15px; margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; color: var(--text); list-style: none; position: relative; padding-right: 36px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -3px; font-size: 26px; color: var(--red); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 12px 0 0; }

/* ---------- Planner ---------- */
.planner { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.planner label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.planner input[type=text], .planner textarea {
  width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line);
  border-radius: var(--radius-btn); padding: 12px 14px; font: 16px var(--font); margin-bottom: 18px;
}
.planner textarea { min-height: 84px; resize: vertical; }
.planner input:focus, .planner textarea:focus { border-color: var(--pink); outline: none; }
.tca .task-list { list-style: none; padding: 0; margin: 0 0 16px; }
.task-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; color: var(--text); }
.task-list input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--red); flex: 0 0 auto; }
.task-list li.done span { text-decoration: line-through; color: var(--dim); }
.task-list span { flex: 1; }
.task-remove { background: none; border: 0; color: var(--dim); font-size: 20px; cursor: pointer; padding: 0 4px; }
.task-remove:hover { color: var(--red); }
.add-row { display: flex; gap: 10px; }
.add-row input { margin-bottom: 0 !important; }
.save-status { font-size: 14px; color: var(--dim); min-height: 1.4em; margin-top: 10px; }

/* ---------- Print ---------- */
.big-price { font-size: clamp(44px, 7vw, 84px); font-weight: 900; letter-spacing: -3px; line-height: 1; color: var(--text); margin: 0 0 12px; }
.big-price span { color: var(--red); }
.tca .chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.chips li { background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 15px; color: var(--text); margin: 0; }

/* ---------- Blog ---------- */
.post-card { overflow: hidden; padding: 0; }
.post-card .thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 a { text-decoration: none; }
.post-meta { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }
.entry { font-size: 18px; }
.entry p, .entry li { color: #dcd9d3; }
.entry h2 { font-size: 34px; margin-top: 1.6em; letter-spacing: -1px; }
.entry h3 { margin-top: 1.4em; }
.entry a { color: var(--pink); }
.entry img { border-radius: var(--radius); margin: 1.5em 0; }
.entry blockquote { border-left: 3px solid var(--red); margin: 1.5em 0; padding: 4px 0 4px 22px; font-size: 21px; color: var(--text); }
.entry .wp-block-image figcaption { font-size: 14px; color: var(--dim); }
.featured { border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; border: 1px solid var(--line); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--radius-btn); text-decoration: none; }
.pagination .current { background: var(--red); border-color: var(--red); color: #fff; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a { text-decoration: none; font-weight: 700; }
.comments-area { margin-top: 56px; }
.comments-area input, .comments-area textarea { width: 100%; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 12px; font: 16px var(--font); }
.comments-area .submit { background: var(--red); color: #fff; border: 0; padding: 13px 20px; border-radius: var(--radius-btn); font-weight: 700; cursor: pointer; width: auto; }

/* ---------- Blog: reading progress ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; background: transparent; pointer-events: none; }
.admin-bar .read-progress { top: 32px; }
.read-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--pink)); transition: width .08s linear; }

/* ---------- Blog: post hero ---------- */
.post-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(800px 420px at 85% 0%, rgba(227,38,54,.18), transparent 65%), var(--bg); }
.post-hero__inner { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 56px; max-width: 980px; margin-left: auto; margin-right: auto; }
.post-hero.has-image { min-height: 520px; display: flex; align-items: flex-end; }
.post-hero.has-image .post-hero__inner { width: 100%; max-width: var(--wrap); padding-top: 140px; }
.post-hero__img { position: absolute; inset: 0; z-index: 0; }
.post-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.post-hero.has-image::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(16,17,18,.25) 0%, rgba(16,17,18,.7) 45%, rgba(16,17,18,.97) 100%); }
.post-hero h1 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -2px; max-width: 22ch; margin: 14px 0 14px; }
.post-hero .lead { max-width: 720px; color: #dcd9d3; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 700; color: var(--dim); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--pink); }
.cat-pill { display: inline-block; background: var(--red); color: #fff !important; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; padding: 6px 12px; border-radius: 999px; }
.cat-pill:hover { background: var(--red-dark); }
.post-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 15px; color: var(--muted); margin-top: 18px; }
.post-byline strong { color: var(--text); }
.post-byline .dot { color: var(--red); }
.byline-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--red); }

/* ---------- Blog: two-column layout ---------- */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 56px; padding-bottom: 80px; }
.post-main { min-width: 0; max-width: 760px; align-self: start; }
.post-side { min-width: 0; }
.side-sticky { position: sticky; top: 96px; display: grid; gap: 18px; }
.admin-bar .side-sticky { top: 128px; }
.side-block { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-head { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--pink); margin-bottom: 12px; }
.side-cta { border-top: 3px solid var(--red); }
.side-cta p { font-size: 15px; }
.side-cta .btn { display: block; text-align: center; }
.side-phone { margin: 12px 0 0; text-align: center; font-weight: 700; }
.side-phone a { text-decoration: none; }
.tca .side-topics { list-style: none; padding: 0; margin: 0; }
.side-topics li { margin: 0; }
.side-topics a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 15px; font-weight: 700; color: var(--text); }
.side-topics li:last-child a { border-bottom: 0; }
.side-topics a span { color: var(--dim); font-weight: 400; }
.side-topics a:hover, .side-topics a.is-active { color: var(--pink); }

/* ---------- Blog: table of contents ---------- */
.toc ol { margin: 0; padding-left: 1.2em; color: var(--dim); }
.toc li { margin: 0 0 8px; font-size: 15px; line-height: 1.4; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--pink); }
.toc--inline { display: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 32px; }
.toc--inline summary { cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--pink); margin-bottom: 10px; }

/* ---------- Blog: article body ---------- */
.entry { font-size: 19px; line-height: 1.75; }
.entry > *:first-child { margin-top: 0; }
.entry h2 { scroll-margin-top: 100px; border-top: 1px solid var(--line); padding-top: 28px; }
.entry h3 { scroll-margin-top: 100px; }
.entry ul li::marker, .entry ol li::marker { color: var(--red); font-weight: 700; }
.entry .wp-block-pullquote, .entry .wp-block-quote { border-left: 4px solid var(--red); background: var(--panel); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 2em 0; }
.entry .wp-block-pullquote p, .entry .wp-block-quote p { color: var(--text); font-size: 22px; line-height: 1.5; font-weight: 700; }
.entry .wp-block-button__link { background: var(--red); color: #fff; border-radius: var(--radius-btn); font-weight: 700; text-decoration: none; }
.entry table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.entry th, .entry td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry th { background: var(--panel); color: var(--text); }
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.entry code { background: var(--panel); padding: 2px 6px; border-radius: 4px; font-size: .9em; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.post-tags a { font-size: 14px; color: var(--muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.post-tags a:hover { border-color: var(--red); color: var(--text); }

/* ---------- Blog: share ---------- */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--pink); margin-right: 6px; }
.share-btn { background: var(--panel); color: var(--text) !important; border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 8px 14px; font: 700 14px var(--font); text-decoration: none; cursor: pointer; }
.share-btn:hover { border-color: var(--red); background: var(--panel-2); }

/* ---------- Blog: CTA, author, prev/next ---------- */
.post-cta { margin-top: 40px; background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); border-radius: var(--radius); padding: 32px; display: grid; gap: 18px; }
.post-cta .eyebrow { color: #fff; opacity: .85; }
.post-cta h2 { font-size: 28px; letter-spacing: -1px; margin: 0 0 8px; }
.post-cta p { color: #fff; opacity: .92; margin: 0; }
.post-cta .btn { background: #fff; color: var(--red-dark) !important; border-color: #fff; }
.post-cta .btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.6); }

.author-card { display: flex; gap: 22px; align-items: flex-start; margin-top: 40px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.author-card img, .author-initial { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: 0 0 96px; border: 3px solid var(--red); }
.author-initial { display: flex; align-items: center; justify-content: center; background: var(--bg); font-size: 40px; font-weight: 900; color: var(--red); }
.author-card h3 { margin: 0 0 2px; }
.author-card .eyebrow { margin-bottom: 6px; }
.author-role { font-size: 14px; font-weight: 700; color: var(--dim); margin-bottom: 10px !important; }

.post-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.pn-card { display: flex; flex-direction: column; gap: 6px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; text-decoration: none; transition: border-color .15s ease; }
.pn-card:hover { border-color: var(--red); }
.pn-card strong { color: var(--text); line-height: 1.35; }
.pn-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--pink); }
.pn-next { text-align: right; }

/* ---------- Blog: index ---------- */
.topic-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--text) !important; text-decoration: none; font-size: 15px; font-weight: 700; padding: 9px 16px; border-radius: 999px; }
.pill span { font-weight: 400; color: var(--dim); font-size: 13px; }
.pill:hover { border-color: var(--red); }
.pill.is-active { background: var(--red); border-color: var(--red); }
.pill.is-active span { color: rgba(255,255,255,.8); }

.feature-post { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; }
.feature-post__img { display: block; position: relative; min-height: 340px; text-decoration: none; }
.feature-post__img > img, .feature-post__img > .thumb-fallback { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.feature-post__img .thumb-fallback span { font-size: 34px; }
.feature-post__body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.feature-post__body h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -1.5px; }
.feature-post__body h2 a { text-decoration: none; }
.feature-post__body h2 a:hover { color: var(--pink); }

.post-card .thumb { display: block; overflow: hidden; text-decoration: none; }
.post-card .thumb img { transition: transform .35s ease; }
.post-card:hover .thumb img { transform: scale(1.04); }
.post-card .post-meta a { color: var(--pink); text-decoration: none; }
.post-card h3 a:hover { color: var(--pink); }
.thumb-fallback { aspect-ratio: 16 / 9; width: 100%; display: flex; align-items: flex-end; padding: 18px 20px; background: radial-gradient(420px 220px at 90% 0%, rgba(227,38,54,.55), transparent 70%), linear-gradient(135deg, #1b1d20 0%, #101112 100%); border-bottom: 1px solid var(--line); }
.thumb-fallback span { font-size: 22px; font-weight: 900; letter-spacing: -.5px; color: var(--text); line-height: 1.1; }

@media (max-width: 1080px) {
  .post-layout { grid-template-columns: 1fr; gap: 0; }
  .post-main { max-width: none; }
  .post-side { display: none; }
  .toc--inline { display: block; }
}
@media (max-width: 860px) {
  .feature-post { grid-template-columns: 1fr; }
  .feature-post__img { min-height: 0; }
  .feature-post__img > img, .feature-post__img > .thumb-fallback { position: static; height: auto; aspect-ratio: 16 / 9; }
  .feature-post__body { padding: 26px; }
  .post-hero.has-image { min-height: 440px; }
  .post-pn { grid-template-columns: 1fr; }
  .pn-next { text-align: left; }
}
@media (max-width: 560px) {
  .entry { font-size: 17px; }
  .author-card { flex-direction: column; padding: 22px; }
  .post-cta { padding: 24px; }
  .post-hero__inner { padding-top: 40px; padding-bottom: 40px; }
  .admin-bar .read-progress { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .post-card .thumb img, .read-progress span { transition: none; }
}

/* ---------- Comments ---------- */
.comment-respond textarea, .comment-respond input[type=text], .comment-respond input[type=email], .comment-respond input[type=url] { width: 100%; max-width: 100%; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 12px; font: 16px var(--font); }
.comment-respond .submit { background: var(--red); color: #fff; border: 0; padding: 13px 20px; border-radius: var(--radius-btn); font: 700 16px var(--font); cursor: pointer; }
.comment-respond label { display: block; font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.comment-reply-title { font-size: 26px; letter-spacing: -.5px; }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 64px 0 36px; background: #0b0c0d; }
.site-foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-foot h4 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--pink); margin-bottom: 14px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { text-decoration: none; color: var(--muted); }
.site-foot a:hover { color: var(--text); }
.site-foot .brand { display: inline-block; margin-bottom: 10px; }
.site-foot p { font-size: 15px; }
.foot-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--dim); }

/* ---------- Blank template ---------- */
body.tca-blank { margin: 0; background: var(--bg); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 20px 20px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 17px; }
  .nav a.btn { margin: 14px 0 0; text-align: center; border-radius: var(--radius-btn); border-bottom: 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .site-foot .cols { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 68px 0; }
  .cta-band { padding: 32px 24px; }
}
@media (max-width: 560px) {
  body.tca { font-size: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 64px; }
  .tca h1 { letter-spacing: -1.5px; }
  .tca h2 { letter-spacing: -1px; }
  .card, .planner { padding: 22px; }
  .add-row { flex-direction: column; }
  .admin-bar .site-head { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, a.card { transition: none; }
}
