/* Carl Dean Tucker — brand styles.
   Tokens and components come from the CDT Personal Brand design system (tokens.json, components/bundle.css).
   Page-level patterns that the PDFs need but the kit does not have are at the end, built from the same tokens. */

/* ---------- Tokens ---------- */
:root, [data-theme="light"] {
  --canvas: #f5f2ec; --surface: #fbf9f5; --surface-sunken: #ece7df; --champagne: #e8dfcd;
  --line: #dcd5c9; --line-strong: #857c6e; --ink: #121417; --ink-muted: #55575c;
  --accent: #1d4877; --accent-tint: #dde6f0; --on-accent: #ffffff;
  --cta: #121417; --on-cta: #f5f2ec; --focus: var(--accent); --success: #2c6a4c; --danger: #a3401f;
  --shadow-soft: 0 1px 2px rgba(18,20,23,0.04), 0 8px 24px -12px rgba(18,20,23,0.12);
  --shadow-lift: 0 2px 4px rgba(18,20,23,0.04), 0 32px 64px -32px rgba(18,20,23,0.28);
  --shadow-gloss: inset 0 1px 0 rgba(255,255,255,0.7), 0 1px 2px rgba(18,20,23,0.2);
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px;
  --space-12: 48px; --space-16: 64px; --space-24: 96px; --space-32: 128px; --space-40: 160px;
  --radius-sm: 6px; --radius-md: 16px; --radius-lg: 28px; --radius-pill: 999px;
  --container: 1240px; --measure: 640px;
}
[data-theme="dark"] {
  --canvas: #0c0e11; --surface: #15181d; --surface-sunken: #08090b; --champagne: #29251f;
  --line: #262a31; --line-strong: #646a75; --ink: #f3efe8; --ink-muted: #a9a8a6;
  --accent: #8fb5e3; --accent-tint: #152438; --on-accent: #0c0e11;
  --cta: #f3efe8; --on-cta: #0c0e11; --success: #7cc4a0; --danger: #f0937a;
  --shadow-soft: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 24px -12px rgba(0,0,0,0.6);
  --shadow-lift: inset 0 1px 0 rgba(255,255,255,0.08), 0 32px 64px -24px rgba(0,0,0,0.8);
  --shadow-gloss: inset 0 1px 0 rgba(255,255,255,0.35), 0 1px 2px rgba(0,0,0,0.5);
}

/* ---------- Page frame (block theme wrappers) ---------- */
body.ct-site { margin: 0; background: #0c0e11; }
body.ct-site .wp-site-blocks { padding: 0; }
body.ct-site .wp-site-blocks > * { margin-block: 0; }
body.ct-site .wp-site-blocks > main { background: var(--canvas); }

/* ---------- Type styles ---------- */
.ct .display-xl { font-family: var(--font-display); font-weight: 400; font-size: 112px; line-height: 104px; letter-spacing: -0.02em; }
.ct .display-l { font-family: var(--font-display); font-weight: 400; font-size: 80px; line-height: 80px; letter-spacing: -0.015em; }
.ct .heading-1 { font-family: var(--font-display); font-weight: 400; font-size: 60px; line-height: 64px; letter-spacing: -0.01em; }
.ct .heading-2 { font-family: var(--font-display); font-weight: 400; font-size: 44px; line-height: 50px; letter-spacing: -0.01em; }
.ct .heading-3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 36px; }
.ct .stat { font-family: var(--font-display); font-weight: 400; font-size: 72px; line-height: 72px; letter-spacing: -0.02em; }
.ct .quote { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 40px; font-style: italic; }
.ct .lead { font-size: 20px; line-height: 32px; }
.ct .title { font-size: 19px; line-height: 26px; font-weight: 600; }
.ct .body { font-size: 17px; line-height: 28px; }
.ct .small { font-size: 14px; line-height: 22px; }
.ct .eyebrow { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.16em; }
.ct .button { font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: 0.01em; }

/* ---------- Kit components (components/bundle.css) ---------- */
.ct, .ct * { box-sizing: border-box; }
.ct { background: var(--canvas); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
/* Zero-specificity reset, so stack spacing like .ct-copy > * + * still applies */
:where(.ct) :where(h1, h2, h3, h4, p, blockquote, ol, ul, figure) { margin: 0; }
/* The parent theme's global styles colour headings blue and bold them; the brand sets them in ink. */
.ct h1, .ct h2, .ct h3, .ct h4 { color: var(--ink); font-weight: 400; }
.ct h3.title, .ct .ct-faq h3.title { font-weight: 600; }
body.ct-site { font-family: var(--font-sans); }
.ct em, .ct .hl { font-style: italic; color: var(--accent); }
.ct a { color: inherit; }
.ct :focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.ct img { max-width: 100%; }

.ct-wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-8); }
.ct-section { padding: var(--space-32) 0; }
.ct-section.sunken { background: var(--surface-sunken); }
.ct-section.tight-top { padding-top: 0; }

@media (max-width: 760px) {
  .ct-wrap { padding: 0 var(--space-4); }
  .ct-section { padding: var(--space-16) 0; }
  .ct .display-xl { font-size: 56px; line-height: 56px; }
  .ct .display-l { font-size: 48px; line-height: 50px; }
  .ct .heading-1 { font-size: 40px; line-height: 44px; }
  .ct .heading-2 { font-size: 32px; line-height: 38px; }
  .ct .stat { font-size: 52px; line-height: 52px; }
  .ct .lead { font-size: 18px; line-height: 29px; }
}

.ct-eyebrow { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--ink-muted); text-transform: uppercase; }
.ct-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: var(--radius-pill); background: var(--accent); flex: none; }

.ct-btn { display: inline-flex; align-items: center; gap: var(--space-2); padding: 14px 26px; border-radius: var(--radius-pill); border: 1px solid transparent; text-decoration: none; cursor: pointer; font-family: var(--font-sans); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.ct-btn.primary { background: var(--cta); color: var(--on-cta); box-shadow: var(--shadow-gloss); }
.ct-btn.primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-gloss), var(--shadow-lift); }
.ct-btn.secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.ct-btn.secondary:hover { background: var(--surface); }
.ct-btn.link { padding: 14px 0; background: none; color: var(--ink); }
.ct-btn.link .arr { color: var(--accent); transition: transform .2s ease; }
.ct-btn.link:hover .arr { transform: translateX(4px); }
.ct-btn.sm { padding: 10px 20px; }
.ct-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

.ct-logo { display: inline-flex; align-items: center; line-height: 0; }
.ct-logo img { height: 28px; width: auto; display: block; }
.ct-logo .on-dark { display: none; }
[data-theme="dark"] .ct-logo .on-light { display: none; }
[data-theme="dark"] .ct-logo .on-dark { display: block; }
@media (max-width: 760px) { .ct-logo img { height: 22px; } }

.ct-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding: var(--space-6) 0; }
.ct-nav-right { display: flex; align-items: center; gap: var(--space-8); }
.ct-nav-links { display: flex; gap: var(--space-8); list-style: none; padding: 0; margin: 0; }
.ct-nav-links a { text-decoration: none; color: var(--ink-muted); }
.ct-nav-links a:hover, .ct-nav-links a[aria-current] { color: var(--ink); }
.ct-nav-links a[aria-current]::after { content: ""; display: block; height: 1px; margin-top: 4px; background: var(--accent); }

.ct-hero { position: relative; overflow: hidden; padding: var(--space-16) 0 var(--space-24); }
.ct-hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 70%; height: 140%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); pointer-events: none; }
.ct-hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--space-12); align-items: end; }
.ct-hero h1 { margin-top: var(--space-6); }
.ct-hero .lead { margin-top: var(--space-6); color: var(--ink-muted); max-width: var(--measure); }
.ct-hero .ct-actions { margin-top: var(--space-8); }
.ct-portrait { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: var(--champagne); box-shadow: var(--shadow-lift); overflow: hidden; }
.ct-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.ct-portrait-tag { position: absolute; left: var(--space-4); bottom: var(--space-4); right: var(--space-4); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-soft); color: var(--ink); }
.ct-portrait-tag span { display: block; color: var(--ink-muted); font-weight: 400; }

.ct-head { max-width: 760px; }
.ct-head > * + * { margin-top: var(--space-4); }
.ct-head .lead { color: var(--ink-muted); max-width: var(--measure); }
.ct-head.center { margin: 0 auto; text-align: center; }
.ct-head.center .lead { margin-left: auto; margin-right: auto; }

.ct-statement { max-width: 1000px; }
.ct-statement .small { margin-top: var(--space-8); color: var(--ink-muted); }

.ct-chapter { display: grid; grid-template-columns: 160px 1fr 1fr; gap: var(--space-12); padding: var(--space-12) 0; border-top: 1px solid var(--line); align-items: start; }
.ct-chapter-num { font-family: var(--font-display); font-size: 72px; line-height: 1; color: var(--accent); }
.ct-chapter-body > * + * { margin-top: var(--space-4); }
.ct-chapter-text > * + * { margin-top: var(--space-4); }
.ct-chapter-text .body { color: var(--ink-muted); max-width: 520px; }

.ct-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.ct-stats.three { grid-template-columns: repeat(3, 1fr); }
.ct-stat { padding: var(--space-8) var(--space-6) 0 0; }
.ct-stat + .ct-stat { padding-left: var(--space-6); border-left: 1px solid var(--line); }
.ct-stat .small { margin-top: var(--space-3); color: var(--ink-muted); max-width: 240px; }
.ct-stat .eyebrow { display: block; color: var(--ink-muted); text-transform: uppercase; margin-bottom: var(--space-4); }

.ct-card { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-8); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-soft); text-decoration: none; color: var(--ink); transition: transform .25s ease, box-shadow .25s ease; }
a.ct-card:hover, .ct-card.hover:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.ct-card .body { color: var(--ink-muted); }
.ct-card .ct-btn { margin-top: auto; align-self: flex-start; }
.ct-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-6); }

.ct-packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); align-items: stretch; }
.ct-package { position: relative; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-8); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-soft); }
.ct-package.featured { background: var(--champagne); box-shadow: var(--shadow-lift); }
.ct-package .tier { color: var(--ink-muted); text-transform: uppercase; }
.ct-package .price { font-family: var(--font-display); font-size: 44px; line-height: 1; }
.ct-package .price small { font-family: var(--font-sans); font-size: 14px; color: var(--ink-muted); }
.ct-package .body { color: var(--ink-muted); }
.ct-package ul { list-style: none; padding: var(--space-4) 0 0; border-top: 1px solid var(--line); display: grid; gap: var(--space-2); }
.ct-package li, .ct-dash li { display: flex; gap: var(--space-2); }
.ct-package li::before, .ct-dash li::before { content: "—"; color: var(--accent); flex: none; }
.ct-package .ct-btn { margin-top: auto; justify-content: center; }
.ct-badge { align-self: flex-start; margin-bottom: calc(-1 * var(--space-2)); padding: 4px 10px; border-radius: var(--radius-sm); background: var(--accent-tint); color: var(--accent); text-transform: uppercase; }
.ct-fineprint { margin-top: var(--space-8); text-align: center; color: var(--ink-muted); }

.ct-quote { display: grid; grid-template-columns: 64px 1fr; gap: var(--space-6); padding: var(--space-12); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-soft); }
.ct-quote .mark { font-family: var(--font-display); font-size: 120px; line-height: .8; color: var(--accent); }
.ct-quote figcaption { margin-top: var(--space-6); color: var(--ink-muted); }
.ct-quote figcaption strong { color: var(--ink); font-weight: 600; }

.ct-timeline { list-style: none; padding: 0; border-bottom: 1px solid var(--line); }
.ct-timeline li { display: grid; grid-template-columns: 180px 1fr; gap: var(--space-8); padding: var(--space-6) 0; border-top: 1px solid var(--line); }
.ct-timeline .when { color: var(--ink-muted); }
.ct-timeline .what .small { margin-top: var(--space-1); color: var(--ink-muted); }
.ct-timeline .what .body { margin-top: var(--space-2); color: var(--ink-muted); max-width: var(--measure); }
.ct-timeline li.now .when { color: var(--accent); }

.ct-cta { position: relative; overflow: hidden; padding: var(--space-24) var(--space-12); border-radius: var(--radius-lg); background: var(--canvas); color: var(--ink); box-shadow: var(--shadow-lift); text-align: center; }
.ct-cta::before { content: ""; position: absolute; left: 50%; top: 0; width: 80%; height: 100%; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 14%, transparent), transparent 75%); pointer-events: none; }
.ct-cta > * { position: relative; }
.ct-cta .lead { margin: var(--space-4) auto 0; max-width: 560px; color: var(--ink-muted); }
.ct-cta .ct-actions { justify-content: center; margin-top: var(--space-8); }
.ct-cta .ct-cta-email { margin-top: var(--space-6); color: var(--ink-muted); }

/* ---------- Site patterns built for the page designs ---------- */

/* Header: Obsidian nav with a mobile menu */
.ct-header { position: relative; z-index: 10; }
.ct-menu-toggle { display: none; align-items: center; gap: var(--space-2); padding: 10px 18px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; font-family: var(--font-sans); }
.ct-menu-toggle .bars { display: grid; gap: 4px; }
.ct-menu-toggle .bars span { display: block; width: 14px; height: 1px; background: currentColor; }
.ct-mobile-menu { display: none; }
@media (max-width: 860px) {
  .ct-nav-right { display: none; }
  .ct-menu-toggle { display: inline-flex; }
  .ct-mobile-menu { display: block; position: absolute; left: 0; right: 0; top: 100%; padding: 0 var(--space-4) var(--space-6); background: var(--canvas); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lift); }
  .ct-mobile-menu[hidden] { display: none; }
  .ct-mobile-menu ul { list-style: none; padding: 0; margin: 0 0 var(--space-6); }
  .ct-mobile-menu li a { display: block; padding: var(--space-4) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-family: var(--font-display); font-size: 28px; line-height: 32px; }
  .ct-mobile-menu li a[aria-current] { color: var(--accent); }
  .ct-mobile-menu .ct-btn { width: 100%; justify-content: center; }
}

/* Hero variants */
.ct-hero.inner { padding-bottom: var(--space-24); }
.ct-hero .ct-back { display: inline-flex; gap: var(--space-2); margin-bottom: var(--space-6); color: var(--ink-muted); text-decoration: none; }
.ct-hero .ct-back:hover { color: var(--ink); }
.ct-hero .ct-back + .ct-eyebrow { display: flex; }
.ct-hero-copy { position: relative; max-width: 860px; }
.ct-hero .ct-stats { margin-top: var(--space-16); }
.ct-booking { margin-top: var(--space-6); color: var(--ink-muted); }
.ct-booking a { color: var(--accent); }
@media (max-width: 860px) {
  .ct-hero-grid { grid-template-columns: 1fr; }
  .ct-portrait { max-width: 420px; }
  .ct-hero .ct-actions .ct-btn.primary, .ct-hero .ct-actions .ct-btn.secondary { width: 100%; justify-content: center; }
}

/* Tags (case study heroes) */
.ct-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); padding: 0; list-style: none; }
.ct-tags li { padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink-muted); }

/* "To confirm" placeholders, kept visible until Carl supplies the fact */
.ct-confirm { display: inline-block; padding: 1px 6px; border-radius: var(--radius-sm); background: var(--accent-tint); color: var(--accent); font-size: 13px; line-height: 20px; }

/* Logo strip (home) */
.ct-clients { padding: var(--space-16) 0; text-align: center; }
.ct-clients .label { color: var(--ink); }
/* Logos are pre-coloured in ink-muted and each carries --w, sized so they share the same visual weight */
.ct-clients-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-12) var(--space-12); max-width: 1180px; margin: var(--space-12) auto 0; }
.ct-clients-logos img { width: var(--w); height: auto; opacity: .85; }
.ct-clients-names { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4) var(--space-12); margin-top: var(--space-8); padding-top: var(--space-8); border-top: 1px solid var(--line); }
.ct-clients-names span { font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--ink-muted); }

/* Split: heading left, copy right */
.ct-split { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-16); align-items: start; }
.ct-split.even { grid-template-columns: 1fr 1fr; }
.ct-split > .ct-head .heading-1, .ct-split > .ct-head .heading-2 { margin-top: var(--space-4); }
.ct-copy > * + * { margin-top: var(--space-4); }
.ct-copy .body, .ct-copy p:not(.lead):not(.title) { color: var(--ink-muted); font-size: 17px; line-height: 28px; }
.ct-copy p.title { color: var(--ink); }
.ct-copy strong { color: var(--ink); font-weight: 600; }
.ct-copy .lead { color: var(--ink); }
.ct-copy .note { font-size: 14px; line-height: 22px; }
.ct-split .ct-actions { margin-top: var(--space-8); }

/* Numbered rows: numeral, title, description */
.ct-rows { list-style: none; padding: 0; border-bottom: 1px solid var(--line); }
.ct-rows li { display: grid; grid-template-columns: 64px 1fr 1.2fr; gap: var(--space-6); padding: var(--space-6) 0; border-top: 1px solid var(--line); align-items: start; }
.ct-rows .num { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--accent); }
.ct-rows .title { margin-top: 6px; }
.ct-rows .desc { color: var(--ink-muted); font-size: 15px; line-height: 24px; margin-top: 4px; }
.ct-rows-after { margin-top: var(--space-6); }
.ct-rows-after > * + * { margin-top: var(--space-4); }

/* Selected work cards (home) */
.ct-work-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-12); }
.ct-work-cards .ct-card .num { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--accent); }
.ct-work-cards .ct-card .eyebrow { color: var(--ink-muted); text-transform: uppercase; }
.ct-work-cards .ct-card .ct-btn.link { padding: 0; }
.ct-head-row { display: flex; justify-content: space-between; align-items: end; gap: var(--space-12); }
.ct-head-row .aside { max-width: 420px; color: var(--ink-muted); }

/* Work list (Work page) */
.ct-worklist { list-style: none; padding: 0; border-bottom: 1px solid var(--line); }
.ct-worklist li { display: grid; grid-template-columns: 120px 1.1fr 1fr auto; gap: var(--space-8); padding: var(--space-12) 0; border-top: 1px solid var(--line); align-items: start; }
.ct-worklist .num { font-family: var(--font-display); font-size: 64px; line-height: 1; color: var(--accent); }
.ct-worklist .eyebrow { display: block; color: var(--ink-muted); text-transform: uppercase; margin-bottom: var(--space-4); }
.ct-worklist .desc { color: var(--ink-muted); }

/* Path cards (home "How I can help") */
.ct-paths { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); margin-top: var(--space-12); }
.ct-paths .ct-card { padding: var(--space-12); }
.ct-paths .eyebrow { color: var(--ink-muted); text-transform: uppercase; }
.ct-dash { list-style: none; padding: 0; display: grid; gap: var(--space-2); color: var(--ink-muted); }
.ct-paths .ct-dash { margin-top: var(--space-2); }

/* Jobs cards (case studies) */
.ct-jobs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); margin-top: var(--space-12); }
.ct-jobs .ct-card h3 { padding-bottom: var(--space-4); border-bottom: 1px solid var(--line); }
.ct-jobs .ct-dash { color: var(--ink-muted); font-size: 15px; line-height: 24px; }

/* Why grid (About) */
.ct-why { display: grid; grid-template-columns: 1fr 1fr; margin-top: var(--space-12); border-top: 1px solid var(--line); }
.ct-why > div { padding: var(--space-8) var(--space-8) var(--space-8) 0; border-bottom: 1px solid var(--line); }
.ct-why > div:nth-child(even) { padding-left: var(--space-8); border-left: 1px solid var(--line); }
.ct-why h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 32px; }
.ct-why p { margin-top: var(--space-2); color: var(--ink-muted); font-size: 15px; line-height: 24px; }

/* Pull quote from writing (About) */
.ct-pull { margin-top: var(--space-24); text-align: center; }
.ct-pull .eyebrow { color: var(--ink-muted); text-transform: uppercase; }
.ct-pull blockquote { max-width: 860px; margin: var(--space-4) auto 0; font-family: var(--font-display); font-style: italic; font-size: 44px; line-height: 50px; }
.ct-pull .small { margin-top: var(--space-4); color: var(--ink-muted); }
.ct-pull .small strong { color: var(--ink); font-weight: 600; }
.ct-pull .small a { color: var(--accent); }
.ct-pull .from { margin-top: var(--space-2); font-style: italic; }
.ct-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }

/* Wide photo (About) */
.ct-photo { margin-top: var(--space-16); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); aspect-ratio: 16 / 7.3; background: var(--surface-sunken); }
.ct-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Steps (Services "How it runs") */
.ct-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: var(--space-12); border-top: 1px solid var(--line); }
.ct-steps > div { padding: var(--space-8) var(--space-6) var(--space-8) 0; }
.ct-steps > div + div { padding-left: var(--space-6); border-left: 1px solid var(--line); }
.ct-steps .num { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--accent); }
.ct-steps .title { margin-top: var(--space-6); font-size: 17px; }
.ct-steps p { margin-top: var(--space-2); color: var(--ink-muted); font-size: 14px; line-height: 22px; }

/* FAQ rows */
.ct-faq { margin-top: var(--space-12); border-bottom: 1px solid var(--line); }
.ct-faq > div { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); padding: var(--space-8) 0; border-top: 1px solid var(--line); }
.ct-faq h3 { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 32px; }
.ct-faq p { color: var(--ink-muted); font-size: 15px; line-height: 24px; }

/* Contact info columns */
.ct-info { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.ct-info > div { padding: var(--space-8) var(--space-6) 0 0; }
.ct-info > div + div { padding-left: var(--space-6); border-left: 1px solid var(--line); }
.ct-info .eyebrow { display: block; color: var(--ink-muted); text-transform: uppercase; }
.ct-info h3 { margin-top: var(--space-4); font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 36px; }
.ct-info h3 a { text-decoration: none; }
.ct-info h3 a:hover { color: var(--accent); }
.ct-info p { margin-top: var(--space-3); color: var(--ink-muted); font-size: 15px; line-height: 24px; max-width: 320px; }
.ct-social { margin-top: var(--space-8); }
.ct-social .find { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; }
.ct-social ul { display: flex; flex-wrap: wrap; gap: 0 var(--space-2); list-style: none; padding: 0; margin-top: var(--space-2); color: var(--ink-muted); }
.ct-social li + li::before { content: "·"; margin-right: var(--space-2); }
.ct-social a { text-decoration: none; }
.ct-social a:hover { color: var(--ink); }

/* CTA band spacing inside a page */
.ct-cta-section { padding: var(--space-24) 0 var(--space-32); }

/* Footer */
.ct-footer { padding: var(--space-24) 0 var(--space-8); }
.ct-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-8); }
.ct-footer-grid .tagline { margin-top: var(--space-6); color: var(--ink-muted); max-width: 320px; }
.ct-footer h2 { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }
.ct-footer ul { list-style: none; padding: 0; margin-top: var(--space-4); display: grid; gap: var(--space-3); }
.ct-footer ul a { text-decoration: none; }
.ct-footer ul a:hover { color: var(--accent); }
.ct-footer .muted { color: var(--ink-muted); }
.ct-footer-base { display: flex; justify-content: space-between; gap: var(--space-6); margin-top: var(--space-16); padding-top: var(--space-6); border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 13px; line-height: 20px; }
.ct-footer-base a { text-decoration: none; }
.ct-footer-base a:hover { color: var(--ink); }

/* Generic content (blog, posts, legal pages) */
.ct-prose { max-width: 720px; }
.ct-prose > * + * { margin-top: var(--space-6); }
.ct-prose p, .ct-prose li { font-size: 17px; line-height: 28px; color: var(--ink-muted); }
.ct-prose h2 { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 46px; color: var(--ink); }
.ct-prose h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 36px; color: var(--ink); }
.ct-prose a { color: var(--accent); }
.ct-prose img { height: auto; border-radius: var(--radius-md); }
.ct-posts { list-style: none; padding: 0; border-bottom: 1px solid var(--line); }
.ct-posts li { padding: var(--space-8) 0; border-top: 1px solid var(--line); }
.ct-posts .wp-block-post-title { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 38px; margin: 0; }
.ct-posts .wp-block-post-title a { text-decoration: none; }
.ct-posts .wp-block-post-title a:hover { color: var(--accent); }
.ct-posts .wp-block-post-date { margin-top: var(--space-2); color: var(--ink-muted); font-size: 14px; }
.ct-posts .wp-block-post-excerpt { margin-top: var(--space-3); color: var(--ink-muted); }
.ct-posts .wp-block-post-excerpt p { margin: 0; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .ct-reveal { opacity: 0; transform: translateY(16px); transition: opacity .25s ease, transform .25s ease; }
  .ct-reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 960px) {
  .ct-packages, .ct-work-cards { grid-template-columns: 1fr; }
  .ct-worklist li { grid-template-columns: 80px 1fr; }
  .ct-worklist li > .desc, .ct-worklist li > .ct-btn { grid-column: 2; }
  .ct-worklist li > .ct-btn { justify-self: start; }
  .ct-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .ct-chapter { grid-template-columns: 1fr; gap: var(--space-4); padding: var(--space-8) 0; }
  .ct-chapter-num { font-size: 56px; }
  .ct-stats, .ct-stats.three { grid-template-columns: 1fr; }
  .ct-stat, .ct-stat + .ct-stat { padding: var(--space-6) 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .ct-split, .ct-split.even { grid-template-columns: 1fr; gap: var(--space-8); }
  .ct-paths, .ct-jobs, .ct-quotes, .ct-why { grid-template-columns: 1fr; }
  .ct-why > div, .ct-why > div:nth-child(even) { padding: var(--space-6) 0; border-left: 0; }
  .ct-steps { grid-template-columns: 1fr; }
  .ct-steps > div, .ct-steps > div + div { padding: var(--space-6) 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .ct-faq > div { grid-template-columns: 1fr; gap: var(--space-3); }
  .ct-info { grid-template-columns: 1fr; }
  .ct-info > div, .ct-info > div + div { padding: var(--space-6) 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .ct-head-row { flex-direction: column; align-items: start; gap: var(--space-4); }
  .ct-pull blockquote { font-size: 32px; line-height: 38px; }
}
@media (max-width: 760px) {
  .ct-hero { padding: var(--space-8) 0 var(--space-16); }
  .ct-rows li { grid-template-columns: 48px 1fr; gap: var(--space-4); }
  .ct-rows li .desc { grid-column: 2; margin-top: 0; }
  .ct-rows .num { font-size: 32px; }
  .ct-timeline li { grid-template-columns: 1fr; gap: var(--space-2); }
  .ct-quote { grid-template-columns: 1fr; padding: var(--space-8); }
  .ct-quote .mark { font-size: 80px; }
  .ct-paths .ct-card { padding: var(--space-6); }
  .ct-paths .ct-card .ct-btn { align-self: stretch; justify-content: center; }
  .ct-worklist li { grid-template-columns: 1fr; gap: var(--space-4); padding: var(--space-8) 0; }
  .ct-worklist li > .desc, .ct-worklist li > .ct-btn { grid-column: 1; }
  .ct-worklist .num { font-size: 56px; }
  .ct-clients-logos { gap: var(--space-8) var(--space-8); }
  .ct-clients-logos img { width: calc(var(--w) * .78); }
  .ct-clients-names { gap: var(--space-3) var(--space-6); }
  .ct-clients-names span { font-size: 22px; }
  .ct-clients .label.heading-3 { font-size: 26px; line-height: 32px; }
  .ct-cta { padding: var(--space-16) var(--space-6); }
  .ct-cta .ct-actions .ct-btn { width: 100%; justify-content: center; }
  .ct-cta-section { padding: var(--space-12) 0 var(--space-16); }
  .ct-photo { aspect-ratio: 4 / 3; margin-top: var(--space-8); }
  .ct-footer { padding-top: var(--space-16); }
  .ct-footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .ct-footer-base { flex-direction: column; margin-top: var(--space-12); }
}
