/* ============================================================
   TSM STUDIO MODERN — design system v2.0
   Promoted sitewide from the homepage mockup (operator approved).
   Clash Display + Satoshi. White base, gray panels, cards that pop.
   Midnight finale per page ("one descent"), fully-dark Jacko hub.
   Gold is the signature accent; electric blue is Jacko-only.
   ============================================================ */

:root {
	--white: #FFFFFF;
	--panel: #F4F5F7;
	--ink: #0F1B2D;
	--slate: #3D4756;
	--muted: #6B7280;
	--line: #E7E9EE;
	--gold: #C9A227;
	--ember: #B3541E;

	--midnight: #0A1220;
	--glass: rgba(255, 255, 255, 0.08);
	--glass-border: rgba(255, 255, 255, 0.16);
	--on-dark: #F4F6FA;
	--on-dark-body: #C7D0DE;
	--electric: #2E9BFF;

	--font-display: 'Clash Display', 'Satoshi', sans-serif;
	--font-body: 'Satoshi', -apple-system, sans-serif;
	--font-product: 'Clash Display', var(--font-body);

	--space: clamp(3.25rem, 6vw, 5.5rem);
	--radius-card: 16px;
	--radius-btn: 12px;
	--radius-glass: 16px;
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0;
	background: var(--white);
	color: var(--slate);
	font-family: var(--font-body);
	font-size: 1.125rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	transition: background-color 1100ms ease;
}
img, video, iframe, svg { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--ink); font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; margin: 0 0 0.6em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.2em; }
a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }

.container { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 12px 20px; z-index: 200; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Type helpers ---------- */
.eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; font-family: var(--font-body); }
.chapter-title { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 22ch; position: relative; padding-bottom: 0.65rem; }
.chapter-title::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 68px; height: 4px; border-radius: 2px;
	background: var(--gold); transform: scaleX(0); transform-origin: left;
	transition: transform 550ms cubic-bezier(0.22, 1, 0.36, 1) 300ms;
}
.js .reveal.is-visible .chapter-title::after, .js .chapter-title.reveal.is-visible::after,
body:not(.js) .chapter-title::after { transform: scaleX(1); }
.chapter-title-onDark { color: var(--on-dark); }
.gold-rule { width: 72px; height: 3px; border-radius: 2px; background: var(--gold); margin: 1.6rem 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1;
	padding: 1.05rem 1.9rem; border-radius: var(--radius-btn); text-decoration: none;
	transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #14100A; }
.btn-gold:hover { background: #B8921F; color: #14100A; box-shadow: 0 8px 20px rgba(201, 162, 39, 0.28); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { color: var(--ink); border-color: var(--gold); }
.btn-ghost-dark { background: transparent; color: var(--on-dark); border: 1.5px solid var(--glass-border); }
.btn-ghost-dark:hover { color: var(--on-dark); border-color: var(--electric); box-shadow: 0 0 18px rgba(46, 155, 255, 0.35); }
.btn-electric { background: var(--electric); color: #06101E; }
.btn-electric:hover { box-shadow: 0 0 24px rgba(46, 155, 255, 0.45); color: #06101E; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
	transition: background-color 400ms ease, border-color 400ms ease;
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 54px; width: auto; display: block; }
.logo-dark { display: none; }
.site-nav { margin-left: auto; }
.nav-list { display: none; list-style: none; margin: 0; padding: 0; gap: 1.75rem; }
.nav-list a { font-weight: 500; font-size: 0.9375rem; text-decoration: none; color: var(--ink); }
.nav-list a:hover { color: var(--gold); }
.btn-header { background: var(--ink); color: var(--white); padding: 0.8rem 1.3rem; font-size: 0.9375rem; }
.btn-header:hover { background: var(--gold); color: #14100A; }
/* Services dropdown */
.has-sub { position: relative; }
.sub-caret { font-size: 0.7em; margin-left: 0.35em; color: var(--gold); }
.sub-menu {
	list-style: none; margin: 0; padding: 0.75rem 0; min-width: 240px;
	position: absolute; top: calc(100% + 10px); left: -1rem; z-index: 120;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
	box-shadow: 0 20px 50px rgba(15, 27, 45, 0.16);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
/* Waterfall: items cascade in when the dropdown opens */
@keyframes tsmSubDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.sub-menu li { opacity: 0; }
.has-sub:hover .sub-menu li, .has-sub:focus-within .sub-menu li { animation: tsmSubDrop 240ms ease forwards; }
.has-sub:hover .sub-menu li:nth-child(1) { animation-delay: 0ms; } .has-sub:hover .sub-menu li:nth-child(2) { animation-delay: 25ms; }
.has-sub:hover .sub-menu li:nth-child(3) { animation-delay: 50ms; } .has-sub:hover .sub-menu li:nth-child(4) { animation-delay: 75ms; }
.has-sub:hover .sub-menu li:nth-child(5) { animation-delay: 100ms; } .has-sub:hover .sub-menu li:nth-child(6) { animation-delay: 125ms; }
.has-sub:hover .sub-menu li:nth-child(7) { animation-delay: 150ms; } .has-sub:hover .sub-menu li:nth-child(8) { animation-delay: 175ms; }
.has-sub:hover .sub-menu li:nth-child(9) { animation-delay: 200ms; } .has-sub:hover .sub-menu li:nth-child(10) { animation-delay: 225ms; }
.has-sub:hover .sub-menu li:nth-child(11) { animation-delay: 250ms; } .has-sub:hover .sub-menu li:nth-child(12) { animation-delay: 275ms; }
.has-sub:hover .sub-menu li:nth-child(13) { animation-delay: 300ms; } .has-sub:hover .sub-menu li:nth-child(14) { animation-delay: 325ms; }
.has-sub:hover .sub-menu li:nth-child(15) { animation-delay: 350ms; }
.has-sub:focus-within .sub-menu li { animation-delay: 0ms !important; }
@media (prefers-reduced-motion: reduce), (max-width: 1023.98px) { .sub-menu li { opacity: 1; animation: none !important; } }
.sub-menu li a { display: block; padding: 0.5rem 1.25rem; font-size: 0.9375rem; color: var(--ink); }
.sub-menu li a:hover { color: var(--gold); background: var(--panel); }
.sub-all { border-top: 1px solid var(--line); margin-top: 0.5rem; padding-top: 0.5rem; }
.sub-all a { font-weight: 700; }
/* Dark header contexts: dropdown goes midnight glass */
.home .sub-menu, .jacko-hub .sub-menu, body.in-dark .sub-menu {
	background: rgba(10, 18, 32, 0.97); border-color: var(--glass-border);
}
.home .sub-menu li a, .jacko-hub .sub-menu li a, body.in-dark .sub-menu li a { color: var(--on-dark); }
.home .sub-menu li a:hover, .jacko-hub .sub-menu li a:hover, body.in-dark .sub-menu li a:hover { color: var(--gold); background: rgba(255, 255, 255, 0.06); }
.home .sub-all, .jacko-hub .sub-all, body.in-dark .sub-all { border-color: var(--glass-border); }
/* Mobile: sub-menu inlined inside the open drawer */
@media (max-width: 1023.98px) {
	.nav-list.is-open .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0.25rem 0 0.25rem 1rem; min-width: 0; }
	.nav-list.is-open .sub-menu li a { padding: 0.4rem 0; font-size: 1rem; }
}

.nav-toggle { display: inline-flex; flex-direction: column; gap: 6px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle-bar { width: 24px; height: 2px; background: var(--ink); transition: transform 200ms ease; }

/* Dark header contexts: homepage, Jacko hub, and the in-dark descent */
.home .site-header, .jacko-hub .site-header, body.in-dark .site-header {
	background: rgba(10, 18, 32, 0.88); backdrop-filter: blur(14px); border-color: rgba(255, 255, 255, 0.12);
}
.home .site-header .logo-light, .jacko-hub .site-header .logo-light, body.in-dark .site-header .logo-light { display: none; }
.home .site-header .logo-dark, .jacko-hub .site-header .logo-dark, body.in-dark .site-header .logo-dark { display: block; }
.home .nav-list a, .jacko-hub .nav-list a, body.in-dark .nav-list a { color: var(--on-dark); }
.home .nav-toggle-bar, .jacko-hub .nav-toggle-bar, body.in-dark .nav-toggle-bar { background: var(--on-dark); }
.home .btn-header, .jacko-hub .btn-header, body.in-dark .btn-header { background: var(--gold); color: #14100A; }

/* ---------- Heroes ---------- */
.hero { padding: calc(var(--space) * 0.85) 0 var(--space); }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 16ch; line-height: 1.05; }
.hero-line { display: block; }
.hero-sub { font-size: 1.25rem; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-trust { margin: 1.4rem 0 0; font-size: 0.9375rem; color: var(--muted); }
.hero-trust a { font-weight: 700; color: var(--ink); text-decoration: none; }
.hero-trust a:hover { color: var(--gold); }
.hero-media { margin: 0; }
.hero-media img { width: 100%; border-radius: 20px; box-shadow: 0 24px 60px rgba(15, 27, 45, 0.18); }
.service-hero { padding: calc(var(--space) * 0.6) 0 calc(var(--space) * 0.8); }

/* Homepage hero: midnight and huge */
.home .hero { background: var(--midnight); padding: calc(var(--space) * 0.9) 0 var(--space); }
.home .hero-title { color: var(--white); font-size: clamp(2.8rem, 6.5vw, 5.2rem); line-height: 1.04; }
.home .hero-sub { color: #B9C2D0; font-size: 1.3rem; }
.home .js-hero-rule, .home .hero .gold-rule { display: none; }
.home .hero-trust { color: #8E99AA; }
.home .hero-trust a { color: var(--on-dark); }
.home .hero .btn-ghost { color: var(--on-dark); border-color: rgba(255, 255, 255, 0.28); }
.home .hero .btn-ghost:hover { color: var(--white); border-color: var(--gold); }
.home .hero-media img { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.14); }

/* ---------- Chapters ---------- */
.chapter { padding: var(--space) 0; }

/* Prose-only sections (plain white, just text): compact rhythm.
   Stacked prose sections tighten further so pages like Our Story read
   as one flowing piece instead of islands in whitespace. */
.chapter:has(> .container.entry-content) { padding: calc(var(--space) * 0.5) 0; }
.chapter:has(> .container.entry-content) + .chapter:has(> .container.entry-content) { padding-top: calc(var(--space) * 0.25); }
/* Wider measure for prose on big screens: less lonely column */
.chapter > .container.entry-content { max-width: 60rem; margin-inline: auto; }
.chapter > .container.entry-content .chapter-title { max-width: none; }

/* Problem: contained gray panel + callout cards */
.chapter-problem {
	background: var(--panel); border: 0; border-radius: 28px;
	max-width: min(1440px, calc(100% - 32px)); margin-inline: auto;
	padding-top: calc(var(--space) * 0.85); padding-bottom: calc(var(--space) * 0.85);
}
.problem-grid { display: grid; gap: 2rem; }
.problem-body { max-width: 62ch; }
.pain-list { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 0.7rem; }
.pain-list li { position: relative; padding-left: 1.9rem; color: var(--ink); font-weight: 600; font-size: 1.1875rem; }
.pain-list li::before { content: "\2715"; position: absolute; left: 0; top: 0.1em; color: var(--ember); font-weight: 700; font-size: 0.9em; }
.pull-quote { margin: 1rem 0 0; padding: 2rem 2.25rem; border: 0; background: var(--white); border-radius: var(--radius-card); box-shadow: 0 8px 30px rgba(15, 27, 45, 0.07); }
.pull-quote p { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-style: normal; font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: 0.5em; }
.pull-quote cite { font-style: normal; font-size: 0.9375rem; color: var(--muted); }
.problem-turn {
	display: flex; align-items: center; justify-content: center; text-align: center;
	background: var(--ink); border-radius: 20px; padding: 2.75rem 2.5rem; margin: 0;
	box-shadow: 0 20px 50px rgba(15, 27, 45, 0.28);
	transition: transform 250ms ease, box-shadow 250ms ease;
}
.problem-turn:hover { transform: translateY(-4px); box-shadow: 0 26px 60px rgba(201, 162, 39, 0.22); }
.turn-text {
	font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.2rem);
	line-height: 1.3; color: var(--white); max-width: 20ch;
	background-image: linear-gradient(120deg, rgba(201, 162, 39, 0.55), rgba(201, 162, 39, 0.42));
	background-repeat: no-repeat; background-size: 0% 46%; background-position: 0 80%;
	transition: background-size 900ms cubic-bezier(0.22, 1, 0.36, 1) 500ms;
}
.js .reveal.is-visible .turn-text, body:not(.js) .turn-text { background-size: 100% 46%; }

/* Proof: stat cards */
.chapter-proof { padding: calc(var(--space) * 0.6) 0; }
.stat-band { display: grid; gap: 1.25rem; margin: 3rem 0 1rem; border: 0; padding: 0; }
.chapter-proof .stat-band { margin: 0; }
.stat-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 2rem; transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.stat-item:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 14px 40px rgba(201, 162, 39, 0.18); }
.stat-figure { font-family: var(--font-display); color: var(--gold); font-size: clamp(3.4rem, 7vw, 5rem); line-height: 1; margin: 0 0 0.35rem; }
.stat-suffix { font-size: 0.45em; margin-left: 0.15em; }
.stat-statement { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.25; margin: 0 0 0.5rem; }
.stat-label { font-size: 0.9375rem; color: var(--muted); max-width: 30ch; margin: 0; }

/* Pillars: numbered studio rows */
.pillars { list-style: none; margin: 0; padding: 0; counter-reset: pillar; display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.pillar { counter-increment: pillar; max-width: 64ch; position: relative; padding: 2.5rem 0 0 5.5rem; border-top: 2px solid var(--ink); }
.pillar::before {
	content: counter(pillar, decimal-leading-zero); position: absolute; left: 0; top: 2.6rem;
	font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--gold); letter-spacing: 0.08em;
}
.pillar-title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.pillar p { margin: 0; }
.pillar-alt { margin-left: 0; }

/* The Way: numbered cards */
.chapter-way { background: var(--panel); border: 0; border-radius: 28px; max-width: min(1440px, calc(100% - 32px)); margin-inline: auto; }
.way-steps { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: waystep; position: static; }
.way-steps::before { display: none; }
.way-step {
	counter-increment: waystep; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
	padding: 2rem; max-width: none; position: static;
	transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.way-step:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 14px 40px rgba(201, 162, 39, 0.18); }
.way-step::before {
	content: counter(waystep, decimal-leading-zero); position: static; display: block; border: 0; background: transparent;
	font-family: var(--font-display); font-weight: 600; color: var(--gold); font-size: 1rem; letter-spacing: 0.08em; margin-bottom: 0.9rem;
}
.way-step h3 { font-size: 1.35rem; }
.way-step p { margin: 0; }

/* Jacko: midnight glass */
.chapter-jacko { background: var(--midnight); color: var(--on-dark-body); }
.chapter-jacko a { color: var(--electric); text-decoration-color: var(--electric); }
.jacko-intro { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; margin: 2.5rem 0 3rem; }
.jacko-mascot { width: 190px; max-width: 190px; height: auto; flex-shrink: 0; filter: drop-shadow(0 0 24px rgba(46, 155, 255, 0.35)); }
.jacko-name { font-family: var(--font-product); font-weight: 600; font-size: clamp(1.75rem, 3.5vw, 2.5rem); color: var(--on-dark); margin-bottom: 0.4rem; }
.jacko-name strong { color: var(--electric); font-weight: 700; }
.jacko-lede { max-width: 56ch; font-size: 1.125rem; margin: 0; }
.glass-grid { display: grid; gap: 1.25rem; }
.glass-card {
	background: var(--glass); border: 1px solid var(--glass-border); border-radius: var(--radius-glass);
	padding: 1.75rem; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	transition: transform 200ms ease, box-shadow 200ms ease;
}
.glass-card:hover { transform: translateY(-4px); box-shadow: 0 0 28px rgba(46, 155, 255, 0.18); }
.glass-card h3 { font-family: var(--font-product); font-weight: 600; color: var(--on-dark); font-size: 1.25rem; }
.glass-card p { margin: 0; font-size: 1.0625rem; }
.glass-card-tint { background: linear-gradient(135deg, rgba(46, 155, 255, 0.14), rgba(255, 255, 255, 0.06)); }
.jacko-cta { margin-top: 2.5rem; }

/* Client showcase: real site screenshots in browser-chrome cards */
.client-grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
.client-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.client-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 20px 50px rgba(15, 27, 45, 0.14); }
.client-shot { background: #E9EBEF; }
.client-chrome { display: flex; gap: 5px; padding: 9px 12px; background: #E2E5EA; }
.client-chrome span { width: 9px; height: 9px; border-radius: 50%; background: #C4C9D2; }
.client-card:hover .client-chrome span:nth-child(1) { background: var(--gold); }
.client-shot img { display: block; width: 100%; height: auto; transition: transform 400ms ease; }
.client-card:hover .client-shot img { transform: scale(1.03); }
.client-name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink); margin: 1rem 1.25rem 0.1rem; }
.client-meta { font-size: 0.875rem; color: var(--muted); margin: 0 1.25rem 1.15rem; }
@media (min-width: 640px) { .client-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }

/* Families: bold studio index */
.families-lede { max-width: 56ch; font-size: 1.1875rem; }
.family-index { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.family-index li {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 2rem;
	padding: 1.35rem 0; border-bottom: 1px solid var(--line); transition: padding-left 200ms ease;
}
.family-index li:first-child { border-top: 1px solid var(--line); }
.family-index li:hover { padding-left: 0.75rem; }
.family-index li:hover .family-name { color: var(--gold); }
.family-name { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--ink); transition: color 200ms ease; }
.family-meta { font-size: 0.9375rem; color: var(--muted); }

/* Close: midnight invitation */
.chapter-close { background: var(--midnight); }
.close-inner { text-align: center; padding: 1rem 0; }
.close-title { color: var(--on-dark); font-size: clamp(2.2rem, 5vw, 3.6rem); }
.close-sub { color: var(--on-dark-body); max-width: 46ch; margin-inline: auto; font-size: 1.1875rem; }
.close-inner .hero-ctas { justify-content: center; }
.close-trust { color: var(--gold); font-weight: 700; font-size: 1rem; margin: 1.75rem 0 0.4rem; }
.close-alt { color: #9AA6B8; font-size: 0.9375rem; margin: 0; }
.close-alt a { color: var(--on-dark); }
.close-alt a:hover { color: var(--electric); }

/* ---------- ONE DESCENT PER PAGE ---------- */
/* Homepage: compact dusk seam above the Jacko chapter */
.home .chapter-jacko { position: relative; margin-top: 150px; }
.home .chapter-jacko::before {
	content: ""; position: absolute; top: -150px; left: 0; right: 0; height: 150px;
	background: linear-gradient(180deg, rgba(10, 18, 32, 0) 0, var(--midnight) 100%); pointer-events: none;
}
.home .chapter-close { background: var(--midnight); }
/* Interior pages: mid-page Jacko content is a contained panel; the close carries the descent */
body:not(.home):not(.jacko-hub) .chapter-jacko {
	max-width: min(1280px, calc(100% - 24px)); margin-inline: auto;
	border-radius: 24px; box-shadow: 0 24px 60px rgba(10, 18, 32, 0.25);
}
body:not(.home):not(.jacko-hub) .chapter-close { position: relative; margin-top: 150px; }
body:not(.home):not(.jacko-hub) .chapter-close::before {
	content: ""; position: absolute; top: -150px; left: 0; right: 0; height: 150px;
	background: linear-gradient(180deg, rgba(10, 18, 32, 0) 0, var(--midnight) 100%); pointer-events: none;
}

/* ---------- Jacko hub: fully dark ---------- */
body.jacko-hub { background: var(--midnight); color: var(--on-dark-body); }
.jacko-hub .hero-title, .jacko-hub .chapter-title, .jacko-hub h2, .jacko-hub h3 { color: var(--on-dark); }
.jacko-hub .hero-sub, .jacko-hub .problem-body, .jacko-hub .problem-turn { color: var(--on-dark-body); }
.jacko-hub a { color: var(--electric); text-decoration-color: var(--electric); }
.jacko-hub .btn-gold { color: #14100A; }
.jacko-hub .btn-ghost { color: var(--on-dark); border-color: var(--glass-border); }
.jacko-hub .btn-ghost:hover { border-color: var(--electric); color: var(--on-dark); }
.jacko-hub .hero-trust { color: #8E99AA; }
.jacko-hub .hero-trust a { color: var(--on-dark); }
.jacko-hub .chapter-problem, .jacko-hub .chapter-way { background: rgba(255, 255, 255, 0.03); }
.jacko-hub .pain-list li { color: var(--on-dark); }
.jacko-hub .pull-quote { background: rgba(255, 255, 255, 0.06); box-shadow: none; border: 1px solid var(--glass-border); }
.jacko-hub .pull-quote p { color: var(--on-dark); }
.jacko-hub .pull-quote cite { color: #9AA6B8; }
.jacko-hub .way-step { background: rgba(255, 255, 255, 0.06); border-color: var(--glass-border); }
.jacko-hub .way-step h3 { color: var(--on-dark); }
.jacko-hub .faq-item, .jacko-hub .faq-item:last-child { border-color: var(--glass-border); }
.jacko-hub .faq-item summary { color: var(--on-dark); }
.jacko-hub .faq-item summary::after { color: var(--electric); }
.jacko-hub .stat-item { background: rgba(255, 255, 255, 0.06); border-color: var(--glass-border); }
.jacko-hub .stat-figure { color: var(--electric); }
.jacko-hub .stat-statement { color: var(--on-dark); }
.jacko-hub .chapter-close { background: var(--midnight); margin-top: 0; }
.jacko-hub .chapter-close::before { display: none; }
.jacko-hub .chapter-jacko { max-width: none; margin-inline: 0; border-radius: 0; box-shadow: none; background: transparent; }

/* ---------- Article pages ---------- */
.breadcrumbs { font-size: 0.875rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold); }
.entry-content { max-width: 74ch; }
.entry-content h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2em; }
.entry-content h3 { margin-top: 1.6em; }
.entry-content img { border-radius: var(--radius-card); }
.cta-panel { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius-card); padding: 2rem; margin: 3rem 0 1rem; }
.cta-panel h2, .cta-panel h3 { margin-top: 0; }
.cta-panel .btn { margin-top: 0.5rem; }
.page-hero .gold-rule { margin-top: 0.5rem; }

/* FAQ accordions */
.faq-list { max-width: 70ch; margin-top: 2rem; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ink); padding: 1.2rem 3rem 1.2rem 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.5rem; font-family: var(--font-body); transition: transform 200ms ease; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 0 1.4rem; margin: 0; max-width: 64ch; }

/* Video panels */
.video-panel { max-width: 880px; margin: 2.5rem auto 0; border: 1px solid var(--glass-border); border-radius: var(--radius-glass); overflow: hidden; background: rgba(0, 0, 0, 0.4); }
.video-panel .video-frame { position: relative; aspect-ratio: 16 / 9; }
.video-panel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { text-align: center; font-size: 0.9375rem; color: #9AA6B8; margin: 0.8rem 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--midnight); color: #9AA6B8; border-top: 1px solid var(--glass-border); }
.footer-inner { display: grid; gap: 3rem; padding: var(--space) 0 3rem; }
.footer-brand img { width: 160px; height: auto; }
.footer-tagline { margin: 1.2rem 0 0.4rem; font-size: 0.9375rem; }
.footer-phone { color: var(--on-dark); font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.footer-phone:hover { color: var(--gold); }
.footer-nav { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.footer-heading { font-family: var(--font-body); font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-col a { color: var(--on-dark-body); text-decoration: none; font-size: 0.9375rem; }
.footer-col a:hover { color: var(--on-dark); }
.footer-col address { font-style: normal; font-size: 0.9375rem; line-height: 1.7; }
.footer-legal { padding: 1.5rem 0 2rem; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.875rem; }
.footer-legal p { margin: 0; }

/* Sticky mobile call bar */
.sticky-call {
	position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150; display: none; text-align: center;
	padding: 1rem; border-radius: var(--radius-btn); background: var(--ink); color: var(--white); font-weight: 700;
	text-decoration: none; box-shadow: 0 8px 28px rgba(15, 27, 45, 0.35);
	transform: translateY(120%); transition: transform 300ms ease;
}
.sticky-call.show { transform: none; }
@media (max-width: 767.98px) { .sticky-call { display: block; } }

html { scroll-behavior: smooth; }

/* ---------- Motion: scroll-pop system ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0.01; transform: translateY(30px) scale(0.96); }
.js .reveal.is-visible { opacity: 1; transform: none; transition: opacity 550ms ease, transform 650ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.js .pillar.reveal { transform: translateX(-36px); }

@keyframes tsmPopIn {
	from { opacity: 0; transform: translateY(18px) scale(0.97); }
	to { opacity: 1; transform: none; }
}
.js .reveal .pain-list li, .js .reveal .stat-item, .js .reveal .family-index li { opacity: 0.01; }
.js .reveal.is-visible .pain-list li, .js .reveal.is-visible .stat-item, .js .reveal.is-visible .family-index li {
	animation: tsmPopIn 520ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.js .reveal.is-visible .pain-list li:nth-child(1), .js .reveal.is-visible .family-index li:nth-child(1), .js .reveal.is-visible .stat-item:nth-child(1) { animation-delay: 60ms; }
.js .reveal.is-visible .pain-list li:nth-child(2), .js .reveal.is-visible .family-index li:nth-child(2), .js .reveal.is-visible .stat-item:nth-child(2) { animation-delay: 160ms; }
.js .reveal.is-visible .pain-list li:nth-child(3), .js .reveal.is-visible .family-index li:nth-child(3), .js .reveal.is-visible .stat-item:nth-child(3) { animation-delay: 260ms; }
.js .reveal.is-visible .pain-list li:nth-child(4), .js .reveal.is-visible .family-index li:nth-child(4) { animation-delay: 360ms; }
.js .reveal.is-visible .family-index li:nth-child(5) { animation-delay: 450ms; }
.js .reveal.is-visible .family-index li:nth-child(6) { animation-delay: 540ms; }
.js .reveal.is-visible .family-index li:nth-child(7) { animation-delay: 630ms; }
.js .reveal.is-visible .family-index li:nth-child(8) { animation-delay: 720ms; }
.js .reveal.is-visible .family-index li:nth-child(9) { animation-delay: 810ms; }
.js .reveal.is-visible .family-index li:nth-child(10) { animation-delay: 900ms; }

.js .js-hero-title .hero-line, .js .js-hero-eyebrow, .js .js-hero-sub, .js .js-hero-ctas, .js .js-hero-trust, .js .js-hero-media { opacity: 0.01; }
.js .js-hero-rule { transform: scaleX(0); transform-origin: left; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
	.js .reveal, .js .js-hero-title .hero-line, .js .js-hero-eyebrow, .js .js-hero-sub, .js .js-hero-ctas, .js .js-hero-trust, .js .js-hero-media { opacity: 1 !important; transform: none !important; }
	.js .js-hero-rule { transform: none !important; }
	.js .reveal .pain-list li, .js .reveal .stat-item, .js .reveal .family-index li { opacity: 1 !important; animation: none !important; }
	.chapter-title::after { transform: scaleX(1) !important; }
	.turn-text { background-size: 100% 46% !important; }
}

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
	.glass-grid { grid-template-columns: 1fr 1fr; }
	.glass-card-wide { grid-column: span 2; }
}
@media (min-width: 768px) {
	.problem-grid { grid-template-columns: 5fr 7fr; align-items: start; }
	.pull-quote { grid-column: 1 / 2; margin-top: 2rem; }
	.problem-turn { grid-column: 2 / 3; margin-top: 2rem; align-self: stretch; }
	.stat-band { grid-template-columns: 1fr 1fr 1.4fr; align-items: stretch; }
	.stat-item-statement { border-left: 1px solid var(--line); }
	.way-steps { grid-template-columns: 1fr 1fr; }
	.footer-inner { grid-template-columns: 1fr 2fr; }
}
@media (min-width: 1024px) {
	.nav-list { display: flex; }
	.nav-toggle { display: none; }
	.hero-grid { grid-template-columns: 7fr 5fr; }
	.glass-grid { grid-template-columns: repeat(3, 1fr); }
	.glass-card-wide { grid-column: span 2; }
	.btn-header { display: inline-block; }
}
@media (max-width: 1023.98px) {
	.nav-list.is-open {
		display: grid; position: absolute; top: var(--header-h); left: 0; right: 0;
		background: var(--white); border-bottom: 1px solid var(--line); padding: 1.5rem clamp(16px, 4vw, 48px); gap: 1.25rem;
	}
	.home .nav-list.is-open, .jacko-hub .nav-list.is-open, body.in-dark .nav-list.is-open { background: var(--midnight); border-color: var(--glass-border); }
	.nav-list.is-open a { font-size: 1.125rem; padding: 0.5rem 0; display: block; }
	.btn-header { display: none; }
}
