/*
Theme Name: CH 行銷科技
Theme URI: https://chtech.ai/
Description: 祈翰 Jeffrey｜CH 行銷科技 官網主題（Bridge 子主題）。3D 首頁、作品集、課程與講座、行銷工具箱、內建 SEO。
Author: 陳祈翰 Jeffrey CH
Author URI: https://chtech.ai/about/
Template: bridge
Version: 1.0.6
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: chtech
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--bg: #f4f4ef;
	--surface: #ffffff;
	--ink: #0c0d10;
	--ink-2: #353841;
	--muted: #6a6e78;
	--line: rgba(12, 13, 16, .12);
	--line-strong: rgba(12, 13, 16, .24);
	--accent: #3355ff;
	--accent-ink: #1d39d6;
	--accent-soft: #e6ebff;
	--yellow: #f2b630;
	--dark: #07080c;
	--dark-2: #10121a;
	--dark-line: rgba(255, 255, 255, .12);
	--on-dark: #eceef4;
	--on-dark-muted: #9aa0ae;

	--f-body: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
	--f-display: "Oswald", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;

	--maxw: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 18px;
	--radius-sm: 10px;
	--header-h: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--shadow: 0 1px 2px rgba(12, 13, 16, .04), 0 12px 32px -12px rgba(12, 13, 16, .18);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.8;
	letter-spacing: .02em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.28; font-weight: 900; letter-spacing: .01em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text, .sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 16px; color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--white { background: var(--surface); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark a:hover { color: #fff; }
.section + .section--white, .section--white + .section { border-top: 1px solid var(--line); }

/* ==========================================================================
   3. Typography helpers
   ========================================================================== */
.kicker {
	display: inline-flex; align-items: center; gap: 12px;
	margin: 0 0 20px;
	font-family: var(--f-display); font-weight: 500; font-size: 13px;
	letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--dark .kicker, .hero .kicker { color: var(--on-dark-muted); }
.display {
	font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
	font-size: clamp(44px, 7.2vw, 104px); line-height: .98; letter-spacing: -.005em;
}
.h-xl { font-size: clamp(34px, 5vw, 64px); line-height: 1.18; }
.h-lg { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.22; }
.h-md { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); line-height: 1.85; max-width: 46em; }
.section--dark .lead, .hero .lead { color: #c4c8d2; }
.muted { color: var(--muted); }
.mark { background: linear-gradient(transparent 62%, rgba(242, 182, 48, .55) 62%); padding: 0 .08em; }
.accent { color: var(--accent); }
.num { font-family: var(--f-display); font-weight: 600; letter-spacing: 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }

/* ==========================================================================
   4. Buttons, chips, links
   ========================================================================== */
.btn {
	--b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px;
	background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd); border-radius: 999px;
	font-weight: 700; font-size: 16px; letter-spacing: .04em; line-height: 1; white-space: nowrap; cursor: pointer;
	transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { color: var(--b-fg); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(51, 85, 255, .55); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--accent { --b-bg: var(--accent); --b-bd: var(--accent); }
.btn--accent:hover { --b-bg: var(--accent-ink); --b-bd: var(--accent-ink); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-strong); }
.btn--ghost:hover { --b-fg: var(--ink); --b-bd: var(--ink); box-shadow: none; }
.btn--light { --b-bg: #fff; --b-fg: var(--ink); --b-bd: #fff; }
.btn--light:hover { --b-fg: var(--ink); }
.btn--ghost-light { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { --b-fg: #fff; --b-bd: #fff; box-shadow: none; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px;
	border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; line-height: 1.4; background: transparent;
}
.chip--solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip--accent { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
a.chip:hover { border-color: var(--ink); color: var(--ink); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; background: var(--yellow); color: var(--ink); }
.badge--muted { background: rgba(12, 13, 16, .07); color: var(--muted); }

/* ==========================================================================
   5. Header & navigation
   ========================================================================== */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
	color: var(--ink);
	transition: background .35s, color .35s, box-shadow .35s, transform .35s var(--ease);
}
.site-header.is-scrolled {
	background: rgba(244, 244, 239, .82);
	-webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
	box-shadow: 0 1px 0 var(--line);
}
.is-dark-top .site-header:not(.is-scrolled) { color: #fff; }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand__mark { width: 22px; height: 42px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name b { font-size: 17px; font-weight: 900; letter-spacing: .04em; }
.brand__name span { font-size: 12px; letter-spacing: .14em; opacity: .7; }

.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.site-nav a { display: block; padding: 8px 12px; font-size: 15px; font-weight: 500; border-radius: 999px; transition: background .2s, color .2s; }
.site-nav a:hover { color: inherit; background: rgba(127, 127, 127, .12); }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a, .site-nav .current-menu-ancestor > a, .site-nav .current_page_parent > a { font-weight: 700; box-shadow: inset 0 -2px 0 currentColor; border-radius: 0; }
.nav-cta { margin-left: 10px; }
.is-dark-top .site-header:not(.is-scrolled) .nav-cta { --b-bg: #fff; --b-fg: var(--ink); --b-bd: #fff; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid currentColor; border-radius: 50%; background: transparent; cursor: pointer; align-items: center; justify-content: center; opacity: .9; }
.nav-toggle span { position: relative; width: 18px; height: 2px; background: currentColor; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: rotate(45deg); }
.nav-open .nav-toggle span::after { transform: rotate(-45deg); }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; position: relative; z-index: 2; }
	.site-nav {
		position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: 28px;
		padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
		background: var(--dark); color: #fff;
		opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; }
	.nav-open .site-header { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.nav-open body { overflow: hidden; }
	.site-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
	.site-nav a { font-size: clamp(26px, 7vw, 40px); font-weight: 900; padding: 4px 0; border-radius: 0; }
	.site-nav a:hover { background: none; color: var(--yellow); }
	.nav-cta { margin: 0; align-self: flex-start; --b-bg: var(--accent); --b-bd: var(--accent); }
	.brand { position: relative; z-index: 2; }
}
@media (max-width: 520px) {
	:root { --header-h: 64px; }
	.brand__name b { font-size: 15px; }
	.brand__name span { font-size: 11px; }
	.brand__mark { width: 18px; height: 34px; }
}

/* ==========================================================================
   6. Hero (front page, 3D)
   ========================================================================== */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: 100vh; min-height: 100svh;
	display: flex; align-items: center;
	padding: calc(var(--header-h) + 40px) 0 96px;
	background:
		radial-gradient(60% 70% at 78% 40%, rgba(51, 85, 255, .28), transparent 70%),
		radial-gradient(40% 40% at 90% 85%, rgba(242, 182, 48, .12), transparent 70%),
		var(--dark);
	color: #fff;
}
.hero__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero.is-3d .hero__canvas { opacity: 1; }
.hero__grid {
	position: absolute; inset: 0; z-index: -2; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(70% 60% at 60% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 60% at 60% 45%, #000 20%, transparent 75%);
}
.hero__fallback {
	position: absolute; z-index: -1; right: max(4vw, calc((100vw - var(--maxw)) / 2 + 40px)); top: 50%;
	width: min(26vw, 300px); transform: translateY(-50%);
	color: #fff; opacity: .9; filter: drop-shadow(0 0 40px rgba(51, 85, 255, .7));
	transition: opacity .8s var(--ease);
}
.hero.is-3d .hero__fallback { opacity: 0; }
.hero__content { position: relative; max-width: 720px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 88px); line-height: 1.12; letter-spacing: 0; margin-bottom: 28px; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #7d95ff 0%, #b8f1ff 55%, #f2d27a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 36px; max-width: 34em; }
.hero__proof { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--on-dark-muted); list-style: none; }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.hero__chips { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero__chip {
	position: absolute; padding: 9px 14px; border-radius: 12px; font-size: 13px; font-weight: 500; line-height: 1.3; color: #fff;
	background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	animation: chFloat 7s ease-in-out infinite;
}
.hero__chip b { display: block; font-family: var(--f-display); font-size: 20px; font-weight: 600; letter-spacing: .02em; }
.hero__chip:nth-child(1) { right: 34%; top: 24%; }
.hero__chip:nth-child(2) { right: 6%; top: 30%; animation-delay: -2s; }
.hero__chip:nth-child(3) { right: 30%; bottom: 20%; animation-delay: -4s; }
.hero__chip:nth-child(4) { right: 9%; bottom: 26%; animation-delay: -1s; }
@keyframes chFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero__scroll {
	position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	font-family: var(--f-display); font-size: 11px; letter-spacing: .3em; color: var(--on-dark-muted);
}
.hero__scroll::after { content: ""; width: 1px; height: 44px; background: linear-gradient(#fff, transparent); animation: chScroll 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes chScroll { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 1080px) { .hero__chips { display: none; } }
@media (max-width: 860px) {
	.hero { align-items: flex-end; padding-top: calc(var(--header-h) + 36vh); }
	.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(7, 8, 12, .55) 50%, var(--dark) 85%); pointer-events: none; }
	.hero__fallback { top: calc(var(--header-h) + 18vh); left: 50%; right: auto; width: 130px; transform: translate(-50%, -50%); }
	.hero__scroll { display: none; }
}

/* ==========================================================================
   7. Page hero (inner pages)
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero__word {
	position: absolute; right: -0.04em; bottom: -0.2em; z-index: -1; pointer-events: none; user-select: none;
	font-family: var(--f-display); font-weight: 700; text-transform: uppercase; line-height: .8;
	font-size: clamp(110px, 21vw, 320px); color: transparent; -webkit-text-stroke: 1px rgba(12, 13, 16, .1);
	white-space: nowrap;
}
.page-hero h1 { font-size: clamp(36px, 5.6vw, 76px); line-height: 1.14; margin-bottom: 22px; }
.page-hero .lead { margin: 0; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.page-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.page-hero__meta svg { width: 16px; height: 16px; }
.breadcrumbs { margin-bottom: 26px; font-size: 13px; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs [aria-current] { color: var(--ink-2); }

/* ==========================================================================
   8. Marquee
   ========================================================================== */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); padding: 22px 0; }
.marquee__track { display: flex; width: max-content; gap: 0; animation: chMarquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; list-style: none; }
.marquee__group li {
	display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
	font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 3vw, 40px); line-height: 1.2; white-space: nowrap;
}
.marquee__group li:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.marquee__group li::after { content: "✦"; font-size: .5em; color: var(--accent); -webkit-text-stroke: 0; }
@keyframes chMarquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   9. Stats
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--dark); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.stat__value { font-family: var(--f-display); font-weight: 600; font-size: clamp(42px, 5vw, 68px); line-height: 1; color: #fff; letter-spacing: -.01em; white-space: nowrap; }
.stat__value small { font-size: .42em; font-weight: 500; margin-left: 4px; color: var(--on-dark-muted); }
.stat__label { font-weight: 700; color: #fff; font-size: 16px; line-height: 1.5; }
.stat__note { font-size: 14px; color: var(--on-dark-muted); line-height: 1.6; margin-top: auto; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
	.stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.stats .stat { padding: 32px 24px; }
	.stats .stat__value { font-size: clamp(38px, 3.4vw, 52px); }
}
.stats--light { background: var(--line); border-color: var(--line); }
.stats--light .stat { background: var(--surface); }
.stats--light .stat__value, .stats--light .stat__label { color: var(--ink); }
.stats--light .stat__value small, .stats--light .stat__note { color: var(--muted); }

/* ==========================================================================
   10. Numbered services (Bridge Agency Modern style)
   ========================================================================== */
.numbered { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.numbered__item {
	display: grid; grid-template-columns: 1fr; gap: 10px 40px; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line-strong);
	position: relative; transition: padding .35s var(--ease);
}
.numbered__no { font-family: var(--f-display); font-weight: 700; font-size: clamp(56px, 7vw, 96px); line-height: .9; color: var(--ink); }
.numbered__title { font-size: clamp(24px, 2.6vw, 34px); margin: 0 0 10px; }
.numbered__body p { color: var(--ink-2); margin-bottom: 16px; }
.numbered__item .chip-list { margin-bottom: 18px; }
@media (min-width: 900px) {
	.numbered__item { grid-template-columns: 180px 1fr 1fr; align-items: start; }
	.numbered__item:hover { padding-left: 16px; }
}

/* ==========================================================================
   11. Cards: cases, tools, posts
   ========================================================================== */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }

.case-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.case-cover {
	--c1: #3355ff; --c2: #0b1033;
	position: relative; aspect-ratio: 16 / 10; overflow: hidden; color: #fff;
	background: radial-gradient(120% 90% at 85% 10%, var(--c1), transparent 60%), radial-gradient(90% 80% at 0% 100%, rgba(242, 182, 48, .35), transparent 60%), var(--c2);
	display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
}
.case-cover::before {
	content: ""; position: absolute; inset: 0; opacity: .5;
	background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
	background-size: 32px 32px; transform: perspective(500px) rotateX(55deg) translateY(30%) scale(1.6); transform-origin: bottom;
}
.case-cover__metric { position: relative; font-family: var(--f-display); font-weight: 700; font-size: clamp(54px, 6vw, 84px); line-height: .95; letter-spacing: -.01em; transition: transform .5s var(--ease); }
.case-cover__label { position: relative; font-size: 14px; opacity: .85; margin-top: 8px; }
.case-card:hover .case-cover__metric { transform: translateY(-6px) scale(1.03); }
.case-card[data-tone="2"] .case-cover { --c1: #00b3a4; --c2: #071c1f; }
.case-card[data-tone="3"] .case-cover { --c1: #8a5cff; --c2: #140b2e; }
.case-card[data-tone="4"] .case-cover { --c1: #ff6b3d; --c2: #24100a; }
.case-card[data-tone="5"] .case-cover { --c1: #1fa2ff; --c2: #061827; }
.case-card[data-tone="6"] .case-cover { --c1: #e0b100; --c2: #1c1704; }
.case-card[data-tone="7"] .case-cover { --c1: #ff3d7f; --c2: #250817; }
.case-card[data-tone="8"] .case-cover { --c1: #4de38a; --c2: #06200f; }
.case-card__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-card__industry { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.case-card__title { font-size: 20px; line-height: 1.45; margin: 0; }
.case-card__more { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); }
.case-card__more svg { width: 16px; height: 16px; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

.tool-card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; min-height: 240px; }
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.tool-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.tool-card__icon svg { width: 26px; height: 26px; }
.tool-card h3 { font-size: 20px; margin: 0; }
.tool-card p { font-size: 15px; color: var(--ink-2); margin: 0; line-height: 1.7; }
.tool-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tool-card.is-soon { background: transparent; border-style: dashed; }
.tool-card.is-soon:hover { transform: none; box-shadow: none; border-color: var(--line); }
.tool-card.is-soon .tool-card__icon { background: rgba(12, 13, 16, .06); color: var(--muted); }

.post-card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.post-card__media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--dark-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; color: var(--muted); }
.post-card__meta .chip { position: relative; z-index: 2; padding: 2px 10px; font-size: 12px; }
.post-card__title { font-size: 21px; line-height: 1.5; margin: 0; }
.post-card__title a:hover { color: var(--accent-ink); }
.post-card__excerpt { color: var(--ink-2); font-size: 15px; line-height: 1.75; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card--feature { display: grid; gap: clamp(20px, 3vw, 48px); align-items: center; }
@media (min-width: 900px) { .post-card--feature { grid-template-columns: 1.2fr 1fr; } .post-card--feature .post-card__title { font-size: clamp(26px, 2.6vw, 36px); } }

/* ==========================================================================
   12. Split / about teaser / portrait
   ========================================================================== */
.split { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; } .split--rev { grid-template-columns: 7fr 5fr; } }
.portrait { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--dark); aspect-ratio: 4 / 5; isolation: isolate; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(1) contrast(1.08) brightness(1.02); }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(51, 85, 255, .35), transparent 55%), linear-gradient(0deg, rgba(7, 8, 12, .55), transparent 40%); mix-blend-mode: multiply; }
.portrait__tag { position: absolute; left: 18px; bottom: 18px; z-index: 2; color: #fff; font-size: 14px; line-height: 1.5; }
.portrait__tag b { display: block; font-size: 20px; }
.quote-line { font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; line-height: 1.55; border-left: 3px solid var(--yellow); padding-left: 18px; margin: 0 0 24px; }

/* Units list (speaking) */
.units { list-style: none; display: grid; border-top: 1px solid var(--line-strong); }
.units li { display: grid; grid-template-columns: 1fr; gap: 4px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.units b { font-size: 18px; }
.units span { color: var(--muted); font-size: 15px; }
@media (min-width: 760px) { .units li { grid-template-columns: 1fr 1fr; align-items: baseline; } }
.section--dark .units { border-color: var(--dark-line); }
.section--dark .units li { border-color: var(--dark-line); }
.section--dark .units span { color: var(--on-dark-muted); }

/* Industries */
.industries { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.industries li { background: var(--surface); padding: 24px; display: flex; flex-direction: column; gap: 6px; min-height: 130px; }
.industries b { font-size: 17px; line-height: 1.5; }
.industries span { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   13. Timeline (about)
   ========================================================================== */
.timeline { list-style: none; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.timeline__item { position: relative; padding: 0 0 clamp(36px, 5vw, 56px) 44px; }
.timeline__item::before { content: ""; position: absolute; left: 0; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink); }
.timeline__item:first-child::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.timeline__period { font-family: var(--f-display); font-size: 15px; letter-spacing: .08em; color: var(--muted); }
.timeline__role { font-size: clamp(21px, 2.2vw, 26px); margin: 4px 0 2px; }
.timeline__org { color: var(--ink-2); font-weight: 500; margin-bottom: 14px; }
.timeline__item ul { list-style: none; display: grid; gap: 8px; }
.timeline__item li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.timeline__item li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--ink); }
.timeline__item .chip-list { margin-top: 14px; }

/* Skill / cert blocks */
.feature { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 12px; }
.feature h3 { font-size: 20px; margin: 0; }
.feature p { color: var(--ink-2); font-size: 15px; margin: 0; line-height: 1.75; }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.feature__icon svg { width: 22px; height: 22px; }
.section--dark .feature { background: var(--dark-2); border-color: var(--dark-line); }
.section--dark .feature p { color: var(--on-dark-muted); }
.section--dark .feature__icon { background: var(--accent); }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 28px; line-height: 1.65; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* ==========================================================================
   14. Courses (speaking)
   ========================================================================== */
.course { display: grid; gap: 18px 40px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.course + .course { margin-top: 18px; }
@media (min-width: 900px) { .course { grid-template-columns: 90px 1.1fr 1fr; } }
.course__no { font-family: var(--f-display); font-weight: 700; font-size: 56px; line-height: .9; color: var(--accent); }
.course h3 { font-size: clamp(22px, 2.3vw, 28px); margin: 0 0 10px; }
.course__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; list-style: none; }
.course__meta li { font-size: 13px; padding: 4px 12px; border-radius: 999px; background: rgba(12, 13, 16, .06); }
.course ol { list-style: none; counter-reset: c; display: grid; gap: 8px; }
.course ol li { counter-increment: c; display: grid; grid-template-columns: 34px 1fr; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.course ol li::before { content: counter(c, decimal-leading-zero); font-family: var(--f-display); color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-display); font-size: 28px; font-weight: 500; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 24px; color: var(--ink-2); }

/* ==========================================================================
   15. Forms
   ========================================================================== */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); color: var(--ink); }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 8px; }
[hidden] { display: none !important; }
.field label, .field legend { font-weight: 700; font-size: 15px; }
.field .req { color: #d93025; margin-left: 2px; }
.field .hint { font-size: 13px; color: var(--muted); font-weight: 400; }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field input[type="number"], .field input[type="url"], .field select, .field textarea {
	width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff;
	font-size: 16px; line-height: 1.5; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0d10' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-flex; padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 15px; font-weight: 500; transition: all .2s; }
.pills input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pills input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.consent a { text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 22px; font-weight: 500; }
.notice--ok { background: #e7f8ee; color: #0d6b35; border: 1px solid #b5e8c9; }
.notice--err { background: #fdecea; color: #a01c12; border: 1px solid #f6c3be; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }

/* ==========================================================================
   16. Prose (posts, pages, cases)
   ========================================================================== */
.prose { font-size: 18px; line-height: 1.95; color: #1c1e24; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: clamp(25px, 2.6vw, 32px); margin: 2.2em 0 .7em; padding-top: .2em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h3 { font-size: clamp(20px, 2vw, 24px); margin: 1.8em 0 .5em; scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.4em; display: grid; gap: .5em; }
.prose li::marker { color: var(--accent); }
.prose figure { margin: 2em 0; }
.prose img { border-radius: 14px; margin-inline: auto; }
.prose figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 10px; }
.prose figcaption a { color: inherit; }
.prose blockquote { margin: 2em 0; padding: 28px 32px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.prose blockquote p { color: #e4e6ec; }
.prose blockquote strong { color: #fff; }
.prose blockquote p:first-child strong { color: var(--yellow); font-family: var(--f-display); letter-spacing: .1em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }
.prose th { font-weight: 700; background: rgba(12, 13, 16, .04); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose code { font-size: .9em; background: rgba(12, 13, 16, .06); padding: 2px 6px; border-radius: 6px; }
.prose .wp-block-media-text { display: grid; gap: 28px; align-items: start; margin: 2em 0; }
@media (min-width: 760px) { .prose .wp-block-media-text { grid-template-columns: 40% 1fr; } }
.prose .wp-block-media-text__content > * + * { margin-top: .8em; }
.prose .wp-block-media-text__content h3 { margin-top: 1.2em; }
.prose .wp-block-media-text__content h3:first-child { margin-top: 0; }
.prose .wp-block-media-text__media img { position: sticky; top: calc(var(--header-h) + 20px); }
.prose .aligncenter { margin-inline: auto; text-align: center; }
.prose .ch-stats, .ch-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 2em 0; }
.ch-stat { padding: 22px; border-radius: 14px; background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 6px; }
.ch-stat b { font-family: var(--f-display); font-size: 40px; font-weight: 600; line-height: 1; color: #fff; }
.ch-stat span { font-size: 14px; line-height: 1.55; color: #c4c8d2; }
.ch-steps { counter-reset: s; list-style: none !important; padding: 0 !important; }
.ch-steps > li { counter-increment: s; position: relative; padding-left: 52px !important; }
.ch-steps > li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--f-display); font-weight: 700; font-size: 22px; color: var(--accent); }

/* Article layout */
.article-layout { display: grid; gap: 48px; }
@media (min-width: 1100px) { .article-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 72px; } }
.toc { display: none; }
@media (min-width: 1100px) {
	.toc { display: block; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; max-height: calc(100vh - var(--header-h) - 64px); overflow: auto; font-size: 14px; }
	.toc h2 { font-family: var(--f-display); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
	.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
	.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); line-height: 1.5; }
	.toc a:hover { color: var(--ink); }
	.toc a.is-active { color: var(--ink); border-color: var(--accent); font-weight: 700; }
	.toc .toc-h3 a { padding-left: 30px; font-size: 13px; }
}
.post-cover { margin: 0 0 clamp(32px, 4vw, 56px); border-radius: var(--radius); overflow: hidden; background: var(--dark-2); }
.post-cover img { width: 100%; max-height: 560px; object-fit: cover; }
.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: start; padding: 28px; margin-top: 56px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; filter: grayscale(1); }
.author-box h2 { font-size: 18px; margin: 0 0 6px; }
.author-box p { font-size: 15px; color: var(--ink-2); margin: 0 0 10px; line-height: 1.7; }
.progress { position: fixed; left: 0; top: 0; z-index: 101; height: 3px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* Tool UI */
.tool-ui { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(20px, 3vw, 40px); box-shadow: var(--shadow); }
.tool-ui__grid { display: grid; gap: clamp(20px, 3vw, 40px); }
@media (min-width: 960px) { .tool-ui__grid { grid-template-columns: 1fr 1fr; } }
.tool-out { background: var(--dark); color: #fff; border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.tool-out__main { font-family: var(--f-display); font-weight: 600; font-size: clamp(48px, 6vw, 76px); line-height: 1; }
.tool-out__label { font-size: 14px; color: var(--on-dark-muted); }
.tool-out dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 0; padding-top: 16px; border-top: 1px solid var(--dark-line); font-size: 15px; }
.tool-out dt { color: var(--on-dark-muted); }
.tool-out dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.tool-out__hint { font-size: 14px; line-height: 1.7; color: #c4c8d2; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.tool-out__url { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; line-height: 1.7; word-break: break-all; padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, .06); min-height: 90px; }
.input-affix { position: relative; }
.input-affix input { padding-left: 52px !important; }
.input-affix > span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; pointer-events: none; }
.input-affix--end input { padding-left: 16px !important; padding-right: 44px !important; }
.input-affix--end > span { left: auto; right: 16px; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.presets button { border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; padding: 4px 12px; font-size: 13px; cursor: pointer; }
.presets button:hover { border-color: var(--ink); }
.tool-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Pagination */
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { min-width: 46px; height: 46px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--f-display); }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Search form */
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form input[type="search"] { flex: 1; min-height: 52px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: 16px; }
.search-form input[type="search"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

/* Case single */
.case-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 40px; }
.case-metrics div { background: var(--surface); padding: 24px; container-type: inline-size; }
.case-metrics b { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 3.4vw, 48px); font-size: clamp(28px, 24cqi, 52px); line-height: 1; margin-bottom: 8px; white-space: nowrap; }
.case-metrics span { font-size: 14px; color: var(--muted); }
.post-nav { display: grid; gap: 16px; margin-top: 64px; }
@media (min-width: 760px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav a { display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s; }
.post-nav a:hover { border-color: var(--ink); color: inherit; }
.post-nav small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.post-nav b { font-size: 17px; line-height: 1.5; }
.post-nav .next { text-align: right; }

/* ==========================================================================
   17. CTA band & footer
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding-block: clamp(80px, 11vw, 150px); isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; z-index: -1; background: radial-gradient(closest-side, rgba(51, 85, 255, .35), transparent); }
.cta-band h2 { font-size: clamp(34px, 5.4vw, 76px); line-height: 1.15; margin-bottom: 28px; max-width: 14em; }
.cta-band .lead { margin-bottom: 36px; }

.site-footer { background: var(--dark); color: var(--on-dark-muted); border-top: 1px solid var(--dark-line); padding: 64px 0 32px; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand p { max-width: 26em; line-height: 1.8; }
.site-footer h2 { font-family: var(--f-display); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #fff; font-weight: 500; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--dark-line); color: #fff; }
.social a:hover { background: #fff; color: var(--ink); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: 13px; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }

/* 404 */
.error-hero { min-height: 80vh; display: grid; align-items: center; padding: calc(var(--header-h) + 60px) 0 80px; }
.error-hero .display { font-size: clamp(120px, 22vw, 300px); line-height: .85; color: transparent; -webkit-text-stroke: 2px var(--ink); margin-bottom: 20px; }

/* ==========================================================================
   18. Motion
   ========================================================================== */
[data-reveal].pre { opacity: 0; transform: translateY(28px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.marquee__track { animation: none; }
	[data-reveal].pre { opacity: 1; transform: none; }
}

/* ==========================================================================
   19. WordPress core alignment helpers
   ========================================================================== */
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.wp-caption-text { font-size: 14px; color: var(--muted); text-align: center; }
.wp-block-image.is-resized img { width: auto; }
.wp-block-image.aligncenter { display: table; }
