/*
Theme Name: Kilele Personal Site
Theme URI: https://timmwangi.co.ke
Author: Tim Mwangi
Description: Kilele (Swahili for “summit”) is a fast, editorial personal-brand theme for thought leaders, authors, consultants and speakers. Five colour palettes, four font pairings, three hero layouts, drag-and-drop homepage sections, light & dark modes, a floating glass header, books / events / talks, a masonry lightbox gallery, click-to-load videos and a built-in contact inbox — all editable in the Customizer.
Version: 2.2.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kilele
Tags: one-column, custom-menu, custom-logo, custom-colors, featured-images, theme-options, translation-ready, blog, portfolio
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	/* Brand (overridden inline from the Customizer palette). */
	--brand-ink: #0b1020;
	--brand-ink-2: #141b2e;
	--brand-deep: #070a14;
	--brand-cream: #f8f4ec;
	--brand-cream-2: #efe8db;
	--accent: #c8431a;
	--accent-bright: #ff7a45;
	--gold: #f4b14a;
	--on-accent: #fff;

	/* Page surfaces — light. */
	--paper: var(--brand-cream);
	--paper-2: var(--brand-cream-2);
	--surface: #fff;
	--page-text: var(--brand-ink);
	--page-muted: color-mix(in srgb, var(--brand-ink) 64%, var(--brand-cream));
	--page-line: color-mix(in srgb, var(--brand-ink) 13%, transparent);
	--text: var(--page-text);
	--muted: var(--page-muted);
	--line: var(--page-line);

	/* Type. */
	--font-display: "Plus Jakarta Sans", system-ui, sans-serif;
	--font-body: "Inter", system-ui, sans-serif;
	--display-weight: 700;
	--display-track: -0.035em;
	--display-scale: 0.9;
	--step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
	--step-0: clamp(1rem, 0.97rem + 0.15vw, 1.1rem);
	--step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.4rem);
	--step-2: clamp(1.4rem, 1.25rem + 0.7vw, 1.85rem);
	--step-3: clamp(1.75rem, 1.5rem + 1.2vw, 2.6rem);
	--step-4: clamp(2.2rem, 1.75rem + 2.1vw, 3.6rem);
	--step-5: clamp(2.7rem, 1.95rem + 3.4vw, 5rem);
	--step-6: clamp(3rem, 1.9rem + 5.4vw, 7rem);

	/* Space. */
	--space-2xs: 0.5rem;
	--space-xs: 0.75rem;
	--space-s: 1rem;
	--space-m: 1.5rem;
	--space-l: 2rem;
	--space-xl: 3rem;
	--space-2xl: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
	--section: clamp(4rem, 2.5rem + 5vw, 7rem);
	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 20px;
	--radius-l: calc(var(--radius) * 1.5);
	--header-h: 64px;
	--header-top: 14px;

	--shadow: 0 1px 2px rgb(10 14 26 / .06), 0 14px 34px -16px rgb(10 14 26 / .22);
	--shadow-lg: 0 40px 80px -30px rgb(10 14 26 / .45);
	--ease: cubic-bezier(.2, .75, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--paper: var(--brand-deep);
		--paper-2: var(--brand-ink);
		--surface: var(--brand-ink-2);
		--page-text: var(--brand-cream);
		--page-muted: color-mix(in srgb, var(--brand-cream) 66%, var(--brand-deep));
		--page-line: rgb(255 255 255 / .1);
		--shadow: 0 1px 2px rgb(0 0 0 / .4), 0 14px 34px -16px rgb(0 0 0 / .7);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--paper: var(--brand-deep);
	--paper-2: var(--brand-ink);
	--surface: var(--brand-ink-2);
	--page-text: var(--brand-cream);
	--page-muted: color-mix(in srgb, var(--brand-cream) 66%, var(--brand-deep));
	--page-line: rgb(255 255 255 / .1);
	--shadow: 0 1px 2px rgb(0 0 0 / .4), 0 14px 34px -16px rgb(0 0 0 / .7);
	color-scheme: dark;
}

/* Dark brand sections keep light-on-ink tokens in both modes. */
.k-dark {
	--text: var(--brand-cream);
	--muted: color-mix(in srgb, var(--brand-cream) 68%, var(--brand-ink));
	--line: rgb(255 255 255 / .12);
	position: relative;
	isolation: isolate;
	background: var(--brand-ink);
	color: var(--text);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--header-top) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font: 400 var(--step-0)/1.7 var(--font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
	transition: background-color .4s, color .4s;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 {
	font-family: var(--font-display); font-weight: var(--display-weight);
	letter-spacing: var(--display-track); line-height: 1.08; margin: 0 0 .5em; text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--on-accent); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.k-skip { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--accent); color: var(--on-accent); padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.k-skip:focus { top: 12px; color: var(--on-accent); }

.k-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 1; }
.k-section { padding-block: var(--section); position: relative; }
.k-section--tight { padding-block: clamp(3.5rem, 2rem + 5vw, 6rem); }
.k-icon { flex: none; width: 1.15em; height: 1.15em; }

/* Decorative layers shared by dark sections */
.k-hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.k-topo { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--gold); opacity: .1; pointer-events: none; }
.k-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .38; will-change: transform; }
.k-blob--a { width: min(620px, 70vw); aspect-ratio: 1; top: -18%; right: -6%; background: var(--accent); animation: k-drift 20s ease-in-out infinite alternate; }
.k-blob--b { width: min(520px, 60vw); aspect-ratio: 1; bottom: -30%; left: -12%; background: var(--gold); opacity: .16; animation: k-drift 26s ease-in-out infinite alternate-reverse; }
@keyframes k-drift { to { transform: translate3d(-8%, 10%, 0) scale(1.12); } }
[data-grain] .k-dark::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   3. Type helpers
   ========================================================================== */
.k-eyebrow {
	display: inline-flex; align-items: center; gap: .7em; margin: 0 0 1.25rem;
	font: 600 .76rem/1.2 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
}
.k-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.k-dark .k-eyebrow, .k-eyebrow--light { color: var(--gold); }
.k-title { font-size: calc(var(--step-4) * var(--display-scale)); line-height: 1.08; margin-bottom: .4em; max-width: 16ch; }
.k-title em, .k-statement em { color: var(--accent); }
.k-dark .k-title em, .k-dark h1 em, .k-dark h2 em { color: var(--accent-bright); }
.k-lead { font-size: var(--step-1); color: var(--muted); max-width: 52ch; line-height: 1.6; }
.k-head { margin-bottom: var(--space-2xl); }
.k-head--center { text-align: center; }
.k-head--center .k-title, .k-head--center .k-lead { margin-inline: auto; }
.k-head--split { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-xl); align-items: end; }
.k-head--split .k-title { margin-bottom: 0; }
.k-head--split .k-lead { margin: 0; justify-self: end; }
.k-head-row { display: flex; align-items: end; justify-content: space-between; gap: var(--space-m); flex-wrap: wrap; margin-bottom: var(--space-2xl); }
.k-head-row .k-head { margin-bottom: 0; }
.k-statement { font-size: calc(var(--step-3) * var(--display-scale)); line-height: 1.15; margin-bottom: .6em; }
.k-subtitle { font-size: var(--step-3); margin: var(--space-2xl) 0 var(--space-m); }
@media (max-width: 760px) { .k-head--split { grid-template-columns: 1fr; gap: var(--space-s); } .k-head--split .k-lead { justify-self: start; } }

/* ==========================================================================
   4. Buttons & links
   ========================================================================== */
.k-btn {
	--bg: var(--text); --fg: var(--paper); --bd: transparent;
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65em;
	min-height: 52px; padding: .8em 1.5em; border-radius: 999px; overflow: hidden;
	background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
	font: 600 .96rem/1 var(--font-body); letter-spacing: .005em; text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s, color .25s, border-color .25s;
}
.k-btn .k-icon { transition: transform .35s var(--ease-out); }
.k-btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: var(--shadow); }
.k-btn:hover > .k-icon { transform: translateX(3px); }
.k-btn:active { transform: translateY(0) scale(.98); }
.k-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.k-btn--accent { --bg: var(--accent); --fg: var(--on-accent); }
.k-btn--accent:hover { box-shadow: 0 18px 36px -14px color-mix(in srgb, var(--accent) 80%, transparent); }
.k-btn--dark { --bg: var(--text); --fg: var(--paper); }
.k-btn--ghost { --bg: transparent; --fg: var(--text); --bd: var(--line); }
.k-btn--ghost:hover { --bd: var(--text); }
.k-btn--sm { min-height: 42px; padding: .55em 1.1em; font-size: .9rem; }
.k-btn--lg { min-height: 60px; padding: .5em .55em .5em 1.6em; font-size: 1rem; gap: 1em; }
.k-btn__orb { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / .18); transition: transform .45s var(--ease-out), background-color .3s; }
.k-btn:hover .k-btn__orb { transform: rotate(45deg); background: rgb(255 255 255 / .28); }

.k-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--accent); text-decoration: none; font-size: .96rem; }
.k-dark .k-link { color: var(--accent-bright); }
.k-link .k-icon { transition: transform .3s var(--ease-out); }
.k-link:hover .k-icon { transform: translateX(3px); }

.k-iconbtn {
	display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	background: transparent; border: 1px solid var(--hdr-line); color: inherit; cursor: pointer;
	transition: border-color .2s, background-color .2s;
}
.k-iconbtn:hover { background: var(--hdr-hover); }

.k-play { display: inline-flex; align-items: center; gap: 14px; padding: 0; border: 0; background: none; color: var(--text); cursor: pointer; font-weight: 600; }
.k-play__ring { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .3s, border-color .3s, transform .4s var(--ease-out); }
.k-play__ring::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--accent-bright); animation: k-ping 2.4s var(--ease) infinite; }
.k-play .k-icon { width: 18px; height: 18px; margin-left: 3px; }
.k-play:hover .k-play__ring { background: var(--accent); border-color: var(--accent); transform: scale(1.06); }
@keyframes k-ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ==========================================================================
   5. Header — floating glass bar
   ========================================================================== */
.k-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.k-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); transform-origin: left; transform: scaleX(var(--p, 0)); }

.k-header {
	--hdr-bg: color-mix(in srgb, var(--brand-ink) 42%, transparent);
	--hdr-fg: var(--brand-cream);
	--hdr-line: rgb(255 255 255 / .16);
	--hdr-hover: rgb(255 255 255 / .1);
	position: fixed; z-index: 100; left: 0; right: 0; top: var(--header-top);
	padding-inline: var(--gutter);
	transition: transform .5s var(--ease-out), top .3s;
	pointer-events: none;
}
.admin-bar .k-header { top: calc(32px + var(--header-top)); }
@media (max-width: 782px) { .admin-bar .k-header { top: calc(46px + var(--header-top)); } }
.k-header.is-hidden { transform: translateY(calc(-100% - 40px)); }
.k-header.is-scrolled, .menu-open .k-header {
	--hdr-bg: color-mix(in srgb, var(--paper) 78%, transparent);
	--hdr-fg: var(--page-text);
	--hdr-line: var(--page-line);
	--hdr-hover: color-mix(in srgb, var(--page-text) 7%, transparent);
}
.menu-open .k-header { --hdr-bg: transparent; --hdr-fg: var(--brand-cream); --hdr-line: rgb(255 255 255 / .16); --hdr-hover: rgb(255 255 255 / .1); }
.k-header__bar {
	pointer-events: auto;
	display: flex; align-items: center; gap: 16px;
	max-width: calc(var(--wrap) + 40px); height: var(--header-h); margin-inline: auto; padding: 0 10px 0 22px;
	background: var(--hdr-bg); color: var(--hdr-fg);
	border: 1px solid var(--hdr-line); border-radius: 999px;
	backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
	box-shadow: 0 10px 40px -20px rgb(0 0 0 / .35);
	transition: background-color .4s, color .4s, border-color .4s, box-shadow .4s;
}
.menu-open .k-header__bar { box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

[data-header="classic"] { --header-top: 0px; }
[data-header="classic"] .k-header { padding-inline: 0; }
[data-header="classic"] .k-header__bar { max-width: none; height: 76px; border-radius: 0; border-width: 0 0 1px; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); box-shadow: none; }

.k-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; margin-right: auto; flex: none; }
.k-brand:hover { color: inherit; }
.k-brand .k-mark { color: var(--accent-bright); }
.k-brand__name { font: var(--display-weight) 1.45rem/1 var(--font-display); letter-spacing: var(--display-track); }
.k-brand__logo { max-height: 40px; width: auto; }
.k-brand--light { color: var(--brand-cream); }

.k-nav { position: relative; }
.k-nav__glow { position: absolute; top: 50%; left: 0; height: 40px; width: var(--w, 0); border-radius: 999px; background: var(--hdr-hover); transform: translate(var(--x, 0), -50%); opacity: 0; transition: transform .4s var(--ease-out), width .4s var(--ease-out), opacity .25s; pointer-events: none; }
.k-nav.is-hovering .k-nav__glow { opacity: 1; }
.k-nav__list { position: relative; display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.k-nav__list > li { position: relative; }
.k-nav__list a { position: relative; display: flex; align-items: center; gap: 4px; padding: 10px 16px; text-decoration: none; font-weight: 500; font-size: .95rem; color: inherit; border-radius: 999px; }
.k-nav__list a:hover { color: inherit; }
.k-nav__list > .current-menu-item > a::after,
.k-nav__list > .current_page_item > a::after,
.k-nav__list > .current-menu-ancestor > a::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent-bright); }
.k-nav__list .menu-item-has-children > a::before { content: ""; order: 2; width: 6px; height: 6px; margin-left: 4px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); opacity: .7; }
.k-nav__list .sub-menu {
	position: absolute; top: calc(100% + 12px); left: 50%; min-width: 220px; margin: 0; padding: 8px; list-style: none;
	background: var(--surface); color: var(--page-text); border: 1px solid var(--page-line); border-radius: 18px; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s, transform .3s var(--ease-out), visibility 0s .3s;
}
.k-nav__list .sub-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.k-nav__list li:hover > .sub-menu, .k-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.k-nav__list .sub-menu a { padding: 10px 14px; border-radius: 12px; }
.k-nav__list .sub-menu a:hover { background: var(--paper-2); }

.k-header__tools { display: flex; align-items: center; gap: 8px; flex: none; }
.k-header__cta { margin-left: 4px; }
.k-icon--sun { display: none; }
:root[data-theme="dark"] .k-icon--sun { display: block; }
:root[data-theme="dark"] .k-icon--moon { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .k-icon--sun { display: block; }
	:root:not([data-theme="light"]) .k-icon--moon { display: none; }
}

.k-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; cursor: pointer; place-items: center; }
.k-burger__lines { position: relative; width: 18px; height: 10px; }
.k-burger__lines span { position: absolute; left: 0; width: 100%; height: 1.75px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.k-burger__lines span:first-child { top: 0; }
.k-burger__lines span:last-child { top: 8px; }
.menu-open .k-burger__lines span:first-child { top: 4px; transform: rotate(45deg); }
.menu-open .k-burger__lines span:last-child { top: 4px; transform: rotate(-45deg); }

/* Full-screen mobile menu */
.k-menu {
	position: fixed; inset: 0; z-index: 90; display: flex; overflow-y: auto;
	background: var(--brand-ink); color: var(--brand-cream);
	clip-path: circle(0 at calc(100% - 52px) 46px);
	visibility: hidden; transition: clip-path .7s var(--ease-out), visibility 0s .7s;
}
.k-menu .k-topo { opacity: .08; }
.menu-open .k-menu { clip-path: circle(150% at calc(100% - 52px) 46px); visibility: visible; transition: clip-path .8s var(--ease-out); }
.menu-open { overflow: hidden; }
.k-menu__inner { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: calc(var(--header-h) + var(--header-top) + 40px) var(--gutter) 40px; }
.k-menu__list { list-style: none; margin: 0; padding: 0; counter-reset: k-menu; }
.k-menu__list li { counter-increment: k-menu; overflow: hidden; border-bottom: 1px solid rgb(255 255 255 / .1); }
.k-menu__list a {
	display: flex; align-items: baseline; gap: 18px; padding: 14px 0; text-decoration: none; color: inherit;
	font: var(--display-weight) calc(var(--step-4) * var(--display-scale))/1.1 var(--font-display); letter-spacing: var(--display-track);
	transform: translateY(105%); transition: transform .7s var(--ease-out), color .25s;
}
.k-menu__list a::before { content: counter(k-menu, decimal-leading-zero); align-self: center; font: 500 .8rem/1 var(--font-body); letter-spacing: .1em; color: var(--gold); }
.k-menu__list a:hover { color: var(--accent-bright); }
.menu-open .k-menu__list a { transform: none; }
.menu-open .k-menu__list li:nth-child(1) a { transition-delay: .15s; }
.menu-open .k-menu__list li:nth-child(2) a { transition-delay: .2s; }
.menu-open .k-menu__list li:nth-child(3) a { transition-delay: .25s; }
.menu-open .k-menu__list li:nth-child(4) a { transition-delay: .3s; }
.menu-open .k-menu__list li:nth-child(5) a { transition-delay: .35s; }
.menu-open .k-menu__list li:nth-child(6) a { transition-delay: .4s; }
.k-menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }

@media (max-width: 1080px) {
	.k-nav, .k-header__cta { display: none; }
	.k-burger { display: inline-grid; }
	.k-header__bar { padding-left: 18px; padding-right: 8px; }
}
@media (min-width: 1081px) { .k-menu { display: none; } }

/* ==========================================================================
   6. Hero
   ========================================================================== */
.k-hero {
	display: flex; flex-direction: column; justify-content: space-between;
	padding-top: calc(var(--header-h) + var(--header-top) + clamp(2.5rem, 1.5rem + 3vw, 4.5rem));
	background: radial-gradient(120% 100% at 80% 0%, var(--brand-ink-2) 0%, var(--brand-ink) 45%, var(--brand-deep) 100%);
	overflow: hidden;
}
.k-hero .k-topo { opacity: .12; }
.k-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }

.k-status {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 1.75rem; padding: 7px 14px 7px 10px;
	border-radius: 999px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12);
	font-size: var(--step--1); font-weight: 500; color: var(--text);
}
.k-status__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #39d98a; }
.k-status__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #39d98a; animation: k-ping 2s var(--ease) infinite; }

.k-hero__title { font-size: calc(var(--step-5) * var(--display-scale)); line-height: 1.06; margin-bottom: .45em; max-width: 15ch; }
.k-hero__kicker { display: block; margin-bottom: 1.4rem; font: 600 .78rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.k-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.k-w > span { display: inline-block; }
.k-w--accent > span { color: var(--accent-bright); }
.k-hero__title { position: relative; }
.k-w__core { font-weight: inherit; transition: color .5s var(--ease); }
.k-w--key .k-w__core.is-lit { color: var(--gold); }
.k-w__core[data-final] {
	background: linear-gradient(100deg, var(--accent-bright) 0%, var(--accent-bright) 40%, var(--gold) 50%, var(--accent-bright) 60%, var(--accent-bright) 100%);
	background-size: 250% 100%; background-position: 100% 0;
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.k-w__core[data-final].is-lit { animation: k-shimmer 3.2s var(--ease) .2s 1, k-shimmer 3.2s var(--ease) 6s infinite; }
@keyframes k-shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }
.k-titlebar {
	position: absolute; left: 0; top: 0; width: 0; height: .075em; min-height: 4px; border-radius: 99px;
	background: linear-gradient(90deg, var(--gold), var(--accent-bright));
	box-shadow: 0 0 18px color-mix(in srgb, var(--accent-bright) 60%, transparent);
	opacity: 0; pointer-events: none;
}
.k-titlebar.is-on { opacity: 1; }
.k-titlebar.is-moving { transition: left .75s cubic-bezier(.65,0,.35,1), top .75s cubic-bezier(.65,0,.35,1), width .75s cubic-bezier(.65,0,.35,1), opacity .3s; }
.k-w--accent > span { position: relative; }
.k-w em { color: var(--accent-bright); }

.k-hero__roles { display: flex; align-items: center; gap: 12px; margin: 0 0 1.1rem; }
.k-hero__roles::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--gold); }
.k-rotator { position: relative; display: inline-grid; color: var(--gold); font: 600 var(--step-1)/1.3 var(--font-body); letter-spacing: -.01em; }
.k-rotator__item { grid-area: 1 / 1; white-space: nowrap; transition: transform .7s var(--ease-out), opacity .5s; }
.js .k-rotator__item { opacity: 0; transform: translateY(70%); }
.js .k-rotator__item.is-active { opacity: 1; transform: none; }
.js .k-rotator__item.is-leaving { opacity: 0; transform: translateY(-70%); }
.k-rotator__item:not(:first-child) { visibility: visible; }
html:not(.js) .k-rotator__item:not(:first-child) { display: none; }

.k-hero__text { font-size: var(--step-0); line-height: 1.7; color: var(--muted); max-width: 46ch; margin-bottom: 2rem; }
.k-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

.k-facts { display: flex; flex-wrap: wrap; gap: 16px clamp(1.5rem, 1rem + 2vw, 2.75rem); margin: clamp(2rem, 1.5rem + 1.5vw, 2.75rem) 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.k-facts__item { display: flex; flex-direction: column-reverse; gap: 4px; }
.k-facts dd { margin: 0; font: var(--display-weight) calc(var(--step-3) * var(--display-scale))/1 var(--font-display); letter-spacing: var(--display-track); color: var(--text); }
.k-facts dd.k-facts__place { font-style: normal; }
.k-facts dt { font-size: var(--step--1); color: var(--muted); }

/* Visual — arch portrait */
.k-hero__visual { position: relative; justify-self: end; width: min(100%, 520px); }
.k-frame { position: relative; margin: 0; }
.k-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translate(18px, 18px); border-radius: var(--radius-l); background: linear-gradient(150deg, var(--accent), var(--gold)); opacity: .9; }
.k-frame::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-l); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); background: linear-gradient(180deg, transparent 65%, rgb(0 0 0 / .3)); pointer-events: none; }
.k-frame .k-hero__img { display: block; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius-l); background: var(--brand-ink-2); }
.k-hero__wide { margin: 0; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-lg); }
.k-hero__wide .k-hero__img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.k-arch { position: relative; }
.k-arch::before {
	content: ""; position: absolute; inset: 0; z-index: -1; transform: translate(22px, 22px);
	border-radius: 999px 999px var(--radius) var(--radius);
	background: linear-gradient(160deg, var(--accent-bright), var(--gold));
}
.k-arch__halo { position: absolute; inset: -16px; border-radius: 999px 999px calc(var(--radius) + 16px) calc(var(--radius) + 16px); border: 1px solid rgb(255 255 255 / .14); }
.k-arch__frame { position: relative; aspect-ratio: 4 / 5.1; overflow: hidden; border-radius: 999px 999px var(--radius) var(--radius); background: var(--brand-ink-2); }
.k-arch__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgb(0 0 0 / .35)); }
.k-arch__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.k-arch__img--empty { background: linear-gradient(135deg, var(--accent), var(--gold)); }

.k-ring { position: absolute; top: 4%; left: -12%; z-index: 2; display: grid; place-items: center; width: 150px; aspect-ratio: 1; color: var(--brand-cream); text-decoration: none; }
.k-ring > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: k-spin 24s linear infinite; }
.k-ring text { fill: currentColor; font: 600 14.5px var(--font-body); letter-spacing: 3px; text-transform: uppercase; }
.k-ring__core { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--accent) 80%, transparent); transition: transform .5s var(--ease-out); }
.k-ring:hover .k-ring__core { transform: rotate(45deg) scale(1.06); }
.k-ring::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: color-mix(in srgb, var(--brand-ink) 70%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgb(255 255 255 / .12); }
@keyframes k-spin { to { transform: rotate(360deg); } }

.k-floatcard {
	position: absolute; left: -12%; bottom: 8%; z-index: 2; display: flex; align-items: center; gap: 14px;
	max-width: 290px; padding: 10px 16px 10px 10px; border-radius: 18px;
	background: rgb(255 255 255 / .94); color: #121624; text-decoration: none; box-shadow: var(--shadow-lg);
	animation: k-float 7s ease-in-out infinite;
}
.k-floatcard:hover { color: #121624; }
.k-floatcard__img { width: 48px; height: 66px; object-fit: cover; border-radius: 4px; box-shadow: 0 6px 14px rgb(0 0 0 / .25); }
.k-floatcard small { display: block; margin-bottom: 3px; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.k-floatcard strong { display: block; font: var(--display-weight) 1.08rem/1.2 var(--font-display); }
.k-floatcard__arrow { color: var(--accent); transition: transform .3s var(--ease-out); }
.k-floatcard:hover .k-floatcard__arrow { transform: rotate(45deg); }
@keyframes k-float { 50% { transform: translateY(-10px); } }

/* Seen-at strip */
.k-seen { border-top: 1px solid var(--line); background: rgb(0 0 0 / .14); }
.k-seen__inner { display: flex; align-items: center; gap: 28px; padding-block: 18px; }
.k-seen__label { flex: none; margin: 0; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.k-seen__marquee { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.k-seen__track { display: flex; width: max-content; animation: k-marquee 45s linear infinite; }
.k-seen__track ul { display: flex; margin: 0; padding: 0; list-style: none; }
.k-seen__track li { display: flex; align-items: center; gap: 40px; padding-right: 40px; white-space: nowrap; font: 600 var(--step-0)/1 var(--font-display); letter-spacing: -.01em; color: color-mix(in srgb, var(--brand-cream) 72%, transparent); }
.k-seen__track li::after { content: "✦"; font: normal .7rem/1 var(--font-body); color: var(--gold); }
@keyframes k-marquee { to { transform: translateX(-50%); } }

/* Hero: centred */
.k-hero--centered .k-hero__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.k-hero--centered .k-hero__copy { max-width: 1000px; display: flex; flex-direction: column; align-items: center; }
.k-hero--centered .k-hero__text { margin-inline: auto; }
.k-hero--centered .k-hero__roles, .k-hero--centered .k-hero__actions, .k-hero--centered .k-facts { justify-content: center; }
.k-hero--centered .k-hero__visual { width: min(100%, 1000px); margin-top: 1.5rem; justify-self: center; }
.k-hero--centered .k-hero__title { max-width: 18ch; }
.k-fan { position: relative; display: flex; justify-content: center; align-items: flex-end; height: clamp(300px, 34vw, 460px); }
.k-fan__item { margin: 0; position: absolute; bottom: 0; width: 34%; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid rgb(255 255 255 / .08); }
.k-fan__item img { width: 100%; height: 100%; object-fit: cover; }
.k-fan__item--l { left: 6%; transform: rotate(-7deg) translateY(4%); }
.k-fan__item--r { right: 6%; transform: rotate(7deg) translateY(4%); }
.k-fan__item--c { z-index: 1; width: 40%; border-radius: 999px 999px var(--radius) var(--radius); }
.k-hero--centered .k-ring { left: 2%; top: 0; }
.k-hero--centered .k-floatcard { right: 0; bottom: 8%; }

/* Hero: full-bleed */
.k-hero--fullbleed { min-height: 100svh; }
.k-hero__bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 20%; }
.k-hero--fullbleed .k-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand-deep) 0%, color-mix(in srgb, var(--brand-ink) 88%, transparent) 38%, transparent 75%), linear-gradient(0deg, var(--brand-deep), transparent 40%); }
.k-hero--fullbleed .k-blob { opacity: .22; }
.k-hero--fullbleed .k-hero__grid { grid-template-columns: minmax(0, 680px); align-items: end; flex: 1; }
.k-ring--corner { position: absolute; left: auto; top: auto; right: var(--gutter); bottom: clamp(2rem, 4vw, 4rem); }

@media (max-width: 960px) {
	.k-hero { min-height: 0; }
	.k-hero__grid { grid-template-columns: 1fr; }
	.k-hero--split .k-hero__visual { order: -1; justify-self: start; width: calc(100% - 18px); max-width: 600px; margin: 0 0 1.75rem; }
	.k-frame .k-hero__img { aspect-ratio: 16 / 11; }
	.k-hero__title { max-width: none; }
	.k-ring { width: 112px; left: -14%; top: 2%; }
	.k-ring text { font-size: 18px; }
	.k-ring__core { width: 48px; height: 48px; }
	.k-floatcard { left: auto; right: -2%; bottom: -10%; max-width: 250px; }
	.k-hero--fullbleed .k-hero__bg::after { background: linear-gradient(0deg, var(--brand-deep) 30%, color-mix(in srgb, var(--brand-ink) 70%, transparent) 70%, transparent); }
	.k-hero--fullbleed .k-hero__grid { padding-top: 38vh; }
	.k-fan__item--l, .k-fan__item--r { width: 30%; }
	.k-fan__item--c { width: 44%; }
}
@media (max-width: 560px) {
	.k-hero__actions { flex-direction: column; align-items: stretch; }
	.k-btn--lg { justify-content: space-between; }
	.k-play { justify-content: center; }
	.k-floatcard { right: 0; max-width: 220px; padding: 8px 12px 8px 8px; }
	.k-floatcard__img { width: 38px; height: 52px; }
	.k-floatcard__arrow { display: none; }
	.k-seen__inner { flex-direction: column; align-items: flex-start; gap: 10px; }
	.k-seen__marquee { width: 100%; }
	.k-facts { gap: 18px 28px; }
}

/* Ribbons */
.k-ribbons { position: relative; height: clamp(110px, 12vw, 150px); overflow: hidden; margin-top: -1px; background: var(--paper); }
.k-ribbon { position: absolute; left: -5%; right: -5%; top: 50%; padding: 18px 0; background: var(--accent); color: var(--on-accent); transform: translateY(-50%) rotate(-2.2deg); box-shadow: 0 20px 40px -24px rgb(0 0 0 / .5); }
.k-ribbon--back { background: var(--brand-ink); color: var(--brand-cream); transform: translateY(-50%) rotate(2deg); opacity: .96; }
.k-ribbon__track { display: flex; width: max-content; animation: k-marquee 50s linear infinite; }
.k-ribbon__track--rev { animation-direction: reverse; animation-duration: 60s; }
.k-ribbon__list { display: flex; margin: 0; padding: 0; list-style: none; }
.k-ribbon__list li { display: flex; align-items: center; gap: 40px; padding-right: 40px; white-space: nowrap; font: var(--display-weight) calc(var(--step-2) * var(--display-scale))/1 var(--font-display); }
.k-ribbon__list li::after { content: "✦"; font: normal .8rem/1 var(--font-body); opacity: .75; }

/* ==========================================================================
   7. About
   ========================================================================== */
.k-about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(3rem, 2rem + 5vw, 7rem); align-items: center; }
.k-about__media { position: relative; margin-right: 12%; margin-bottom: 10%; }
.k-about__main { margin: 0; aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: 999px 999px var(--radius-l) var(--radius-l); box-shadow: var(--shadow-lg); }
.k-about__main img, .k-about__second img { width: 100%; height: 100%; object-fit: cover; }
.k-about__second { position: absolute; margin: 0; right: -18%; bottom: -12%; width: 58%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); border: 8px solid var(--paper); box-shadow: var(--shadow-lg); }
.k-about__second img { object-position: 50% 15%; }
.k-about__chip { position: absolute; top: 7%; right: -14%; display: inline-flex; align-items: center; gap: 8px; max-width: 250px; margin: 0; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); font-size: .85rem; font-weight: 500; line-height: 1.3; animation: k-float 8s ease-in-out infinite; }
.k-about__chip .k-icon { color: var(--accent); }
.k-about__text { color: var(--muted); font-size: var(--step-0); }
.k-about__text p:first-child { color: var(--text); font-size: var(--step-1); line-height: 1.55; }
.k-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.k-tags li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .86rem; font-weight: 500; }
.k-about__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 20px; margin: 2.25rem 0; padding: 1.75rem 0; border-block: 1px solid var(--line); }
.k-about__facts div { display: flex; flex-direction: column-reverse; gap: 6px; }
.k-about__facts dd { margin: 0; font: var(--display-weight) calc(var(--step-5) * var(--display-scale))/1 var(--font-display); color: var(--accent); }
.k-about__facts dt { font-size: var(--step--1); color: var(--muted); }
.k-about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
@media (max-width: 960px) {
	.k-about__grid { grid-template-columns: 1fr; }
	.k-about__media { max-width: 520px; }
	.k-about__chip { right: -6%; }
	.k-about__second { right: -14%; }
}

/* ==========================================================================
   8. Bento — what Tim does
   ========================================================================== */
.k-pillars { background: var(--brand-ink); }
.k-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); gap: 16px; }
.k-bento__item {
	position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
	padding: clamp(22px, 2.5vw, 32px); border-radius: var(--radius-l); text-decoration: none; color: var(--text);
	background: linear-gradient(180deg, rgb(255 255 255 / .06), rgb(255 255 255 / .02)); border: 1px solid rgb(255 255 255 / .09);
	transition: transform .5s var(--ease-out), border-color .4s, background-color .4s;
}
.k-bento__item:hover { color: var(--text); transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent-bright) 55%, transparent); }
.k-bento__item--1 { grid-column: span 2; grid-row: span 2; }
.k-bento__item--2 { grid-column: span 2; }
.k-bento__item.has-image { justify-content: space-between; border: 0; }
.k-bento__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.k-bento__item.has-image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .1) 0%, rgb(0 0 0 / .2) 40%, color-mix(in srgb, var(--brand-deep) 94%, transparent) 100%); }
.k-bento__item.has-image:hover .k-bento__img { transform: scale(1.05); }
.k-bento__top { display: flex; align-items: center; justify-content: space-between; }
.k-bento__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: color-mix(in srgb, var(--accent-bright) 16%, transparent); color: var(--accent-bright); }
.has-image .k-bento__icon { background: rgb(255 255 255 / .14); color: #fff; backdrop-filter: blur(8px); }
.k-bento__icon .k-icon { width: 24px; height: 24px; }
.k-bento__num { font: var(--display-weight) 1.1rem/1 var(--font-display); color: var(--muted); margin-right: 52px; }
.k-bento__body { display: grid; gap: 10px; max-width: 46ch; }
.k-bento__title { font: var(--display-weight) calc(var(--step-2) * var(--display-scale))/1.1 var(--font-display); letter-spacing: var(--display-track); }
.k-bento__item--1 .k-bento__title { font-size: calc(var(--step-3) * var(--display-scale)); }
.k-bento__text { color: var(--muted); font-size: .97rem; line-height: 1.6; }
.has-image .k-bento__text { color: rgb(255 255 255 / .82); }
.k-bento__go { position: absolute; top: clamp(18px, 2vw, 26px); right: clamp(18px, 2vw, 26px); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .18); transition: transform .5s var(--ease-out), background-color .3s, border-color .3s; }
.k-bento__item:hover .k-bento__go { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); }
@media (max-width: 1024px) {
	.k-bento { grid-template-columns: repeat(2, 1fr); }
	.k-bento__item--1 { grid-row: span 1; min-height: 440px; }
}
@media (max-width: 640px) {
	.k-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
	.k-bento__item--1, .k-bento__item--2 { grid-column: auto; }
	.k-bento__item { min-height: 230px; }
	.k-bento__item--1 { min-height: 420px; }
}

/* ==========================================================================
   9. Books
   ========================================================================== */
.k-spot { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.k-spot__stage { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4.4; padding: 8%; border-radius: var(--radius-l); background: var(--paper-2); overflow: hidden; perspective: 1400px; }
.k-spot__glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%); filter: blur(30px); }
.k-book3d { position: relative; width: 46%; transform: rotateY(-22deg) rotateX(6deg) rotateZ(-1deg); transform-style: preserve-3d; transition: transform .9s var(--ease-out); }
.k-book3d img { width: 100%; border-radius: 3px 8px 8px 3px; box-shadow: 30px 40px 60px -20px rgb(0 0 0 / .5), 0 0 0 1px rgb(0 0 0 / .06); }
.k-book3d::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 14px; z-index: 1; border-radius: 3px 0 0 3px; background: linear-gradient(90deg, rgb(0 0 0 / .35), rgb(255 255 255 / .15) 40%, transparent); }
.k-spot__stage:hover .k-book3d { transform: rotateY(-6deg) rotateX(2deg) translateY(-8px); }
.k-spot__title { font-size: calc(var(--step-3) * var(--display-scale)); line-height: 1.12; margin-bottom: .3em; }
.k-spot__sub { font: 600 var(--step-1)/1.4 var(--font-body); color: var(--accent); margin-bottom: 1rem; }
.k-spot__excerpt { color: var(--muted); font-size: var(--step-0); line-height: 1.6; max-width: 54ch; }
.k-spot__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 2rem; }
.k-shelf { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: var(--space-2xl); }
.k-shelf__item { display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: center; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease-out), box-shadow .4s; }
.k-shelf__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.k-shelf__cover img { width: 88px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px 6px 6px 3px; box-shadow: 8px 10px 20px -8px rgb(0 0 0 / .4); }
.k-shelf__title { font-size: 1.18rem; line-height: 1.2; margin-bottom: 6px; }
.k-shelf__title a { text-decoration: none; }
.k-shelf__sub { color: var(--muted); font-size: .88rem; line-height: 1.45; margin-bottom: 10px; }
@media (max-width: 860px) { .k-spot { grid-template-columns: 1fr; } }

/* Books grid (library page) */
.k-books__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.k-books__grid--detailed { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); row-gap: 64px; }
.k-book { display: flex; flex-direction: column; }
.k-book__cover { position: relative; display: block; aspect-ratio: 2 / 3; margin-bottom: 22px; border-radius: 3px 10px 10px 3px; overflow: hidden; background: var(--paper-2); box-shadow: 18px 22px 40px -22px rgb(0 0 0 / .5); transition: transform .6s var(--ease-out), box-shadow .6s; }
.k-book__cover::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 12px; z-index: 1; background: linear-gradient(90deg, rgb(0 0 0 / .28), transparent); }
.k-book__cover img { width: 100%; height: 100%; object-fit: cover; }
.k-book:hover .k-book__cover { transform: translateY(-8px) rotate(-1deg); box-shadow: 24px 30px 50px -22px rgb(0 0 0 / .55); }
.k-book__placeholder { display: grid; place-items: center; height: 100%; padding: 20px; text-align: center; font: var(--display-weight) 1.3rem/1.2 var(--font-display); background: linear-gradient(160deg, var(--brand-ink), var(--brand-ink-2)); color: var(--brand-cream); }
.k-book__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.k-book__title { font-size: 1.35rem; line-height: 1.18; margin-bottom: .35em; }
.k-book__title a { text-decoration: none; }
.k-book__sub { color: var(--muted); font-size: .94rem; margin-bottom: .8em; }
.k-book__excerpt { color: var(--muted); font-size: .95rem; }
.k-book__body .k-link { margin-top: auto; }
@media (max-width: 900px) { .k-books__grid { grid-template-columns: repeat(2, 1fr); } }

.k-bookhero { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: center; }
.k-bookhero__cover { perspective: 1200px; }
.k-bookhero__cover img { border-radius: 3px 10px 10px 3px; box-shadow: var(--shadow-lg); transform: rotateY(-14deg); }
@media (max-width: 760px) { .k-bookhero { grid-template-columns: 1fr; } .k-bookhero__cover { max-width: 210px; } }

/* ==========================================================================
   10. Talks
   ========================================================================== */
.k-talks { background: var(--paper-2); }
.k-talks__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.k-talks__intro { position: sticky; top: calc(var(--header-h) + var(--header-top) + 32px); }
.k-talks__intro .k-head { margin-bottom: 2rem; }
.k-talks__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.k-talk { position: relative; display: grid; grid-template-columns: 56px 1fr 48px; gap: 20px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line); }
.k-talk::before { content: ""; position: absolute; inset: 0 -20px; z-index: -1; border-radius: var(--radius); background: var(--surface); opacity: 0; transform: scaleY(.9); transition: opacity .35s, transform .45s var(--ease-out); }
.k-talk:hover::before { opacity: 1; transform: none; }
.k-talk__num { padding-top: .45em; font: var(--display-weight) 1.1rem/1 var(--font-display); color: var(--muted); }
.k-talk__title { font-size: calc(var(--step-2) * var(--display-scale)); line-height: 1.2; margin-bottom: .35em; transition: color .3s; }
.k-talk:hover .k-talk__title { color: var(--accent); }
.k-talk__text { margin: 0; color: var(--muted); max-width: 52ch; }
.k-talk__go { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); transition: transform .5s var(--ease-out), background-color .3s, color .3s, border-color .3s; }
.k-talk:hover .k-talk__go { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 900px) {
	.k-talks__grid { grid-template-columns: 1fr; }
	.k-talks__intro { position: static; }
	.k-talk { grid-template-columns: 40px 1fr; }
	.k-talk__go { display: none; }
}

/* ==========================================================================
   11. Events & invitation
   ========================================================================== */
.k-events__list { display: grid; gap: 14px; margin-bottom: 32px; }
.k-event { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 20px 24px 20px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease-out); }
.k-event:hover { border-color: var(--accent); transform: translateX(6px); }
.k-event__date { display: grid; place-items: center; align-content: center; width: 88px; aspect-ratio: 1; border-radius: calc(var(--radius) * .8); background: var(--brand-ink); color: var(--brand-cream); text-align: center; }
.k-event__day { font: var(--display-weight) 2.2rem/1 var(--font-display); }
.k-event__mon { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.k-event__role { margin: 0 0 4px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.k-event__title { font-size: var(--step-2); margin-bottom: 6px; }
.k-event__title a { text-decoration: none; }
.k-event__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; color: var(--muted); font-size: .94rem; }
.k-event__meta span { display: inline-flex; align-items: center; gap: 6px; }
.k-events__list--past .k-event { opacity: .78; }
@media (max-width: 640px) {
	.k-event { grid-template-columns: auto 1fr; padding: 16px; gap: 16px; }
	.k-event__date { width: 66px; }
	.k-event__day { font-size: 1.6rem; }
	.k-event__cta { grid-column: 1 / -1; }
}
.k-invite {
	position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 32px;
	padding: clamp(2rem, 1rem + 4vw, 4rem); border-radius: var(--radius-l);
	background: radial-gradient(100% 140% at 100% 0%, var(--brand-ink-2), var(--brand-ink) 60%); color: var(--brand-cream);
	--text: var(--brand-cream); --muted: color-mix(in srgb, var(--brand-cream) 68%, var(--brand-ink));
}
.k-invite::after { content: ""; position: absolute; right: -80px; top: -80px; z-index: -1; width: 300px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%); }
.k-invite .k-eyebrow { color: var(--gold); }
.k-invite__copy { max-width: 60ch; }
.k-invite__title { font-size: calc(var(--step-3) * var(--display-scale)); }
.k-invite p:last-child { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .k-invite { flex-direction: column; align-items: flex-start; } }

/* ==========================================================================
   12. Gallery, lightbox, videos, quotes
   ========================================================================== */
.k-photogrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.k-photogrid .k-masonry__item { margin: 0; }
.k-photogrid .k-masonry__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 900px) { .k-photogrid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.k-masonry { columns: 3 260px; column-gap: 18px; }
.k-masonry__item { position: relative; margin: 0 0 18px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.k-masonry__item a { display: block; position: relative; cursor: zoom-in; }
.k-masonry__item img { width: 100%; height: auto; transition: transform 1s var(--ease-out); }
.k-masonry__item:hover img { transform: scale(1.05); }
.k-masonry__zoom { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgb(255 255 255 / .92); color: #121624; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .4s var(--ease-out); }
.k-masonry__item:hover .k-masonry__zoom { opacity: 1; transform: none; }
.k-masonry__item figcaption { position: absolute; inset: auto 0 0; padding: 48px 18px 16px; pointer-events: none; background: linear-gradient(transparent, rgb(5 7 14 / .88)); color: #fff; font-size: .86rem; line-height: 1.45; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease-out); }
.k-masonry__item:hover figcaption, .k-masonry__item:focus-within figcaption { opacity: 1; transform: none; }
@media (hover: none) { .k-masonry__item figcaption { opacity: 1; transform: none; } }
@media (max-width: 640px) { .k-masonry { columns: 2; column-gap: 10px; } .k-masonry__item { margin-bottom: 10px; } .k-masonry__item figcaption { font-size: .74rem; padding: 30px 10px 10px; } }

.k-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 24px; background: rgb(5 7 14 / .94); backdrop-filter: blur(8px); }
.k-lightbox[hidden] { display: none; }
.k-lightbox figure { margin: 0; display: grid; justify-items: center; gap: 14px; min-width: 0; }
.k-lightbox img { max-height: 80vh; width: auto; border-radius: 10px; }
.k-lightbox figcaption { color: #e9e3d8; text-align: center; max-width: 70ch; font-size: .95rem; }
.k-lightbox button { background: rgb(255 255 255 / .1); color: #fff; border: 0; border-radius: 50%; width: 50px; height: 50px; font-size: 1.8rem; line-height: 1; cursor: pointer; transition: background-color .2s; }
.k-lightbox button:hover { background: var(--accent); }
.k-lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox-open, .modal-open { overflow: hidden; }
@media (max-width: 600px) { .k-lightbox { grid-template-columns: 1fr; padding: 64px 12px 24px; } .k-lightbox__nav { display: none; } }

.k-videos { padding-top: 0; }
.k-videos__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.k-videos__grid.is-single { grid-template-columns: 1fr; max-width: 900px; }
.k-videos__side { display: grid; gap: 18px; }
.k-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--brand-ink); box-shadow: var(--shadow); }
.k-video--feature { aspect-ratio: auto; min-height: 100%; }
.k-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.k-video__btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: var(--brand-ink); }
.k-video__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s, transform .8s var(--ease-out); }
.k-video__btn:hover img { opacity: 1; transform: scale(1.04); }
.k-video__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 25%, transparent); transition: transform .4s var(--ease-out); }
.k-video--feature .k-video__play { width: 88px; }
.k-video__play .k-icon { width: 24px; height: 24px; margin-left: 3px; }
.k-video__btn:hover .k-video__play { transform: translate(-50%, -50%) scale(1.1); }
@media (max-width: 900px) {
	.k-videos__grid { grid-template-columns: 1fr; }
	.k-video--feature { aspect-ratio: 16 / 9; min-height: 0; }
	.k-videos__side { grid-template-columns: 1fr 1fr; }
}

.k-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgb(5 7 14 / .9); backdrop-filter: blur(10px); }
.k-modal[hidden] { display: none; }
.k-modal__box { position: relative; width: min(1100px, 100%); }
.k-modal__frame { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.k-modal__frame iframe { width: 100%; height: 100%; border: 0; }
.k-modal__close { position: absolute; top: -56px; right: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; }
.k-modal__close:hover { background: var(--accent); }

.k-quotes { background: var(--paper-2); }
.k-quotes__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.k-quote { margin: 0; padding: 34px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); }
.k-quote__mark { width: 36px; height: 36px; color: var(--accent); margin-bottom: 18px; }
.k-quote blockquote { margin: 0 0 22px; font: var(--display-weight) calc(var(--step-1) * var(--display-scale))/1.5 var(--font-display); }
.k-quote figcaption strong { display: block; }
.k-quote figcaption span { color: var(--muted); font-size: .92rem; }

/* ==========================================================================
   13. Contact & form
   ========================================================================== */
.k-contact__panel { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; padding: clamp(1.75rem, 1rem + 4vw, 4.5rem); border-radius: calc(var(--radius-l) * 1.2); overflow: hidden; }
.k-contact__copy { position: relative; z-index: 1; }
.k-contact__copy .k-title { font-size: calc(var(--step-4) * var(--display-scale)); }
.k-contact__list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 18px; }
.k-contact__list li { display: flex; align-items: center; gap: 16px; }
.k-contact__list small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.k-contact__list a { text-decoration: none; font-weight: 500; }
.k-contact__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgb(255 255 255 / .07); border: 1px solid var(--line); color: var(--accent-bright); }
.k-contact__card {
	--text: var(--page-text); --muted: var(--page-muted); --line: var(--page-line);
	position: relative; z-index: 1; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); border-radius: var(--radius-l);
	background: var(--paper); color: var(--text); box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) { .k-contact__panel { grid-template-columns: 1fr; } }

.k-form { display: grid; gap: 18px; }
.k-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .k-form__row { grid-template-columns: 1fr; } }
.k-field { display: grid; gap: 8px; }
.k-field label { font-weight: 600; font-size: .88rem; }
.k-optional { font-weight: 400; color: var(--muted); }
.k-field input, .k-field select, .k-field textarea {
	width: 100%; min-height: 52px; padding: 13px 16px; border-radius: calc(var(--radius) * .6);
	background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.k-field textarea { resize: vertical; min-height: 140px; }
.k-field input:focus, .k-field select:focus, .k-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.was-validated :invalid { border-color: #d23c3c; }
.k-form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.k-form__status { margin: 0; font-size: .95rem; font-weight: 500; }
.k-form__status.is-ok { color: #2f8a57; }
.k-form__status.is-error { color: #d23c3c; }
.k-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.k-social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.k-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: var(--text); transition: transform .35s var(--ease-out), background-color .25s, border-color .25s, color .25s; }
.k-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }
.k-social--light a { border-color: rgb(255 255 255 / .2); color: var(--brand-cream); }

/* ==========================================================================
   14. Interior page hero, prose, posts
   ========================================================================== */
.k-pagehero { overflow: hidden; padding: calc(var(--header-h) + var(--header-top) + clamp(3rem, 2rem + 5vw, 6rem)) 0 clamp(3.5rem, 2rem + 5vw, 6rem); background: radial-gradient(120% 120% at 90% 0%, var(--brand-ink-2), var(--brand-ink) 55%, var(--brand-deep)); }
.k-pagehero__title { font-size: calc(var(--step-5) * var(--display-scale)); line-height: 1.05; max-width: 18ch; margin-bottom: .3em; }
.k-pagehero__title em { color: var(--accent-bright); }
.k-pagehero__intro { color: var(--muted); font-size: var(--step-1); max-width: 54ch; margin-bottom: 1.75rem; }
.k-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--muted); margin-bottom: 2rem; }
.k-crumbs a { color: var(--muted); text-decoration: none; }
.k-crumbs a:hover { color: var(--gold); }
.k-404 { min-height: 80vh; display: flex; align-items: center; }

.k-prose { max-width: 740px; }
.k-prose > * + * { margin-top: 1.1em; }
.k-prose h2 { font-size: var(--step-3); margin-top: 1.6em; }
.k-prose h3 { font-size: var(--step-2); margin-top: 1.4em; }
.k-prose img { border-radius: var(--radius); }
.k-prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--accent); font: var(--display-weight) var(--step-2)/1.45 var(--font-display); }
.k-prose a { color: var(--accent); }
.k-prose__hero { margin: 0 0 32px; }
.k-prose .k-events__list { margin-bottom: 32px; }

.k-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.k-post { border-radius: var(--radius-l); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease-out), box-shadow .4s; }
.k-post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.k-post__img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.k-post__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.k-post__body .k-link { margin-top: auto; }
.k-post__meta { color: var(--muted); font-size: .84rem; margin-bottom: 8px; }
.k-post__title { font-size: var(--step-2); }
.k-post__title a { text-decoration: none; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.nav-links .current { background: var(--accent); color: #fff; border-color: var(--accent); }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation small { display: block; color: var(--muted); font-size: .8rem; }

.wp-block-button__link { background: var(--accent); color: var(--on-accent); border-radius: 999px; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] { flex: 1; min-height: 50px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.search-form .search-submit { min-height: 50px; padding: 0 20px; border-radius: 12px; border: 0; background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; }

/* ==========================================================================
   15. Footer
   ========================================================================== */
.k-footer { overflow: hidden; padding: var(--section) 0 28px; background: var(--brand-deep); }
.k-footer .k-blob--a { top: auto; bottom: -40%; right: 10%; opacity: .2; }
.k-footer__cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: clamp(3.5rem, 2rem + 5vw, 6rem); margin-bottom: clamp(3rem, 2rem + 3vw, 4.5rem); border-bottom: 1px solid var(--line); }
.k-footer__headline { font-size: calc(var(--step-4) * var(--display-scale)); line-height: 1.02; max-width: 15ch; margin: 0; }
.k-bigbtn {
	flex: none; display: grid; place-items: center; align-content: center; gap: 6px; width: clamp(150px, 16vw, 200px); aspect-ratio: 1; border-radius: 50%;
	background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: 1.05rem;
	transition: transform .6s var(--ease-out), box-shadow .4s;
}
.k-bigbtn .k-icon { width: 30px; height: 30px; transition: transform .6s var(--ease-out); }
.k-bigbtn:hover { color: #fff; transform: scale(1.06) rotate(-6deg); box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--accent) 80%, transparent); }
.k-bigbtn:hover .k-icon { transform: rotate(45deg); }
.k-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 48px; }
.k-footer__tag { margin: 16px 0 24px; font: var(--display-weight) var(--step-1)/1.4 var(--font-display); color: var(--muted); }
.k-footer__h { font: 600 .74rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.k-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.k-footer__list a { color: var(--muted); text-decoration: none; transition: color .2s; }
.k-footer__list a:hover { color: var(--text); }
.k-footer__contact li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.k-footer__contact .k-icon { color: var(--accent-bright); }
.k-footer__giant {
	margin: clamp(3rem, 2rem + 4vw, 5rem) 0 0; text-align: center; white-space: nowrap; overflow: hidden;
	font: var(--display-weight) clamp(3.5rem, 15.5vw, 16rem)/.86 var(--font-display); letter-spacing: -.04em;
	color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--brand-cream) 22%, transparent);
	background: linear-gradient(180deg, color-mix(in srgb, var(--brand-cream) 12%, transparent), transparent 85%); -webkit-background-clip: text; background-clip: text;
}
.k-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.k-footer__bottom p { margin: 0; }
.k-totop { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; }
.k-totop:hover { color: var(--gold); }
@media (max-width: 900px) { .k-footer__top { grid-template-columns: 1fr 1fr; } .k-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .k-footer__cta { flex-direction: column; align-items: flex-start; } .k-footer__top { grid-template-columns: 1fr; gap: 36px; } }

/* ==========================================================================
   16. Motion
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

.js .k-w > span { transform: translateY(110%) rotate(4deg); filter: blur(8px); opacity: 0; transform-origin: left bottom; animation: k-up 1.1s var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }
.js .k-hero__copy > :not(.k-hero__title) { animation: k-rise 1s var(--ease-out) both; animation-delay: .7s; }
.js .k-hero__copy > .k-status { animation-delay: .1s; }
.js .k-hero__visual { animation: k-reveal-up 1.4s .3s var(--ease-out) both; }
.js .k-seen { animation: k-rise 1s 1.1s var(--ease-out) both; }
@keyframes k-up { to { transform: none; filter: none; opacity: 1; } }
@keyframes k-draw { to { stroke-dashoffset: 0; } }
@keyframes k-rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes k-reveal-up { from { opacity: 0; transform: translateY(60px) scale(.96); } }

[data-motion="off"] *, [data-motion="off"] *::before, [data-motion="off"] *::after { animation: none !important; transition-duration: .01ms !important; }
[data-motion="off"] .reveal, [data-motion="off"] .k-w > span { opacity: 1 !important; transform: none !important; filter: none !important; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; animation-delay: 0s !important; }
	.js .reveal, .js .k-w > span { opacity: 1; transform: none; filter: none; }
	.k-seen__track, .k-ribbon__track, .k-ring svg { animation: none !important; }
}

@media print {
	.k-header, .k-menu, .k-progress, .k-footer, .k-ribbons, .k-videos, .k-form, .k-seen { display: none !important; }
	body { background: #fff; color: #000; }
	.k-dark { background: #fff; color: #000; }
}
