/* =====================================================================
   Harlan Cru - design system (harlancru.com)
   Space-arcade theme that matches Boone Clicker. Built 2026-10-17.
   Tip for AI helpers: change the colours in :root and the whole site follows.
   ===================================================================== */

@font-face { font-family: "Unbounded"; src: url(../fonts/unbounded-var.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(../fonts/plus-jakarta-sans-var.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url(../fonts/plus-jakarta-sans-italic-var.woff2) format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
	/* space */
	--hc-void: #04021a;
	--hc-deep: #0b0830;
	--hc-nebula: #2a1a6e;
	--hc-violet: #7b5cff;
	/* neon (from the Boone Clicker star palette) */
	--hc-cyan: #8ff7ff;
	--hc-gold: #ffd85a;
	--hc-mint: #72f1b8;
	--hc-pink: #ee7dff;
	--hc-orange: #ff9f43;
	/* text */
	--hc-text: #f4f3ff;
	--hc-muted: #bdb9ea;
	--hc-dim: #8f8ac4;
	/* surfaces */
	--hc-card: rgba(255, 255, 255, .045);
	--hc-card-2: rgba(255, 255, 255, .08);
	--hc-line: rgba(255, 255, 255, .12);
	--hc-line-2: rgba(255, 255, 255, .22);
	--hc-glow: 0 0 0 1px rgba(143, 247, 255, .25), 0 20px 60px -20px rgba(123, 92, 255, .55);
	/* type */
	--hc-display: "Unbounded", "Arial Rounded MT Bold", system-ui, sans-serif;
	--hc-body: "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif;
	/* layout */
	--hc-wrap: 1200px;
	--hc-gutter: clamp(16px, 4vw, 32px);
	--hc-radius: 22px;
	--hc-radius-sm: 14px;
	--hc-ease: cubic-bezier(.2, .8, .2, 1);
	--hc-header: 72px;
	/* Kadence Blocks read these, so blocks in log posts match the site */
	--global-palette1: var(--hc-cyan); --global-palette2: var(--hc-violet); --global-palette3: var(--hc-text);
	--global-palette4: var(--hc-text); --global-palette5: var(--hc-muted); --global-palette6: var(--hc-dim);
	--global-palette7: var(--hc-deep); --global-palette8: var(--hc-nebula); --global-palette9: var(--hc-void);
	color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hc-header) + 16px); }
body {
	margin: 0; min-height: 100vh; overflow-x: clip;
	background: var(--hc-void); color: var(--hc-text);
	font: 400 17px/1.65 var(--hc-body);
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body::before { /* the whole site floats in a quiet galaxy */
	content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
	background:
		radial-gradient(900px 600px at 85% -10%, rgba(123, 92, 255, .28), transparent 60%),
		radial-gradient(800px 600px at -10% 30%, rgba(143, 247, 255, .10), transparent 60%),
		radial-gradient(900px 700px at 50% 120%, rgba(238, 125, 255, .14), transparent 60%),
		linear-gradient(180deg, #05031f 0%, var(--hc-void) 40%, #070425 100%);
}
body::after { /* tiny fixed stars, no JavaScript needed */
	content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
	background-image:
		radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 72% 12%, #fff, transparent),
		radial-gradient(1.5px 1.5px at 35% 62%, var(--hc-cyan), transparent), radial-gradient(1px 1px at 88% 48%, #fff, transparent),
		radial-gradient(1.5px 1.5px at 58% 84%, var(--hc-gold), transparent), radial-gradient(1px 1px at 22% 88%, #fff, transparent),
		radial-gradient(1px 1px at 46% 30%, #fff, transparent), radial-gradient(1.5px 1.5px at 92% 82%, var(--hc-pink), transparent);
	background-size: 640px 640px;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--hc-cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--hc-gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--hc-pink); color: var(--hc-void); }
h1, h2, h3, h4 { font-family: var(--hc-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(38px, 6.6vw, 84px); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(28px, 4.2vw, 50px); }
h3 { font-size: clamp(19px, 2vw, 23px); letter-spacing: -.01em; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
.hc-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--hc-gold); color: var(--hc-void); font-weight: 700; text-decoration: none; }
.hc-skip:focus { top: 12px; }
.hc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout ---------- */
.hc-wrap { width: min(100% - 2 * var(--hc-gutter), var(--hc-wrap)); margin-inline: auto; }
.hc-wrap--narrow { --hc-wrap: 780px; }
.hc-section { padding-block: clamp(64px, 10vw, 128px); position: relative; }
.hc-section--tight { padding-block: clamp(40px, 6vw, 72px); }
.hc-grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.hc-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.hc-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.hc-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.hc-center { text-align: center; }
.hc-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.hc-head.hc-center { margin-inline: auto; }
.hc-lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--hc-muted); max-width: 680px; }
.hc-center .hc-lede { margin-inline: auto; }

/* eyebrow chip */
.hc-eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 7px 14px 7px 10px;
	border: 1px solid var(--hc-line-2); border-radius: 999px; background: rgba(11, 8, 48, .6); backdrop-filter: blur(8px);
	font: 600 13px/1 var(--hc-body); letter-spacing: .08em; text-transform: uppercase; color: var(--hc-cyan);
}
.hc-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hc-mint); box-shadow: 0 0 0 4px rgba(114, 241, 184, .18); animation: hc-blink 2.4s infinite; }
@keyframes hc-blink { 50% { box-shadow: 0 0 0 7px rgba(114, 241, 184, 0); } }

.hc-grad { background: linear-gradient(92deg, var(--hc-cyan) 0%, var(--hc-violet) 45%, var(--hc-pink) 75%, var(--hc-gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: hc-shine 8s ease-in-out infinite alternate; }
@keyframes hc-shine { to { background-position: 100% 0; } }

/* ---------- buttons ---------- */
.hc-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hc-center .hc-btns { justify-content: center; }
.hc-btn {
	--b: var(--hc-cyan);
	position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
	font: 700 16px/1 var(--hc-body); text-decoration: none; letter-spacing: .01em; white-space: nowrap;
	transition: transform .25s var(--hc-ease), box-shadow .25s var(--hc-ease), background .25s;
}
.hc-btn svg { width: 20px; height: 20px; flex: none; }
.hc-btn--go { color: var(--hc-void); background: linear-gradient(135deg, var(--hc-cyan), var(--hc-mint)); box-shadow: 0 10px 30px -10px rgba(143, 247, 255, .8), inset 0 -3px 0 rgba(0, 0, 0, .15); }
.hc-btn--go:hover { color: var(--hc-void); transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(143, 247, 255, .95), inset 0 -3px 0 rgba(0, 0, 0, .15); }
.hc-btn--gold { color: var(--hc-void); background: linear-gradient(135deg, var(--hc-gold), var(--hc-orange)); box-shadow: 0 10px 30px -12px rgba(255, 216, 90, .8), inset 0 -3px 0 rgba(0, 0, 0, .15); }
.hc-btn--gold:hover { color: var(--hc-void); transform: translateY(-2px); }
.hc-btn--ghost { color: var(--hc-text); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--hc-line-2); }
.hc-btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.hc-btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.hc-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--hc-cyan); text-decoration: none; }
.hc-link svg { width: 18px; height: 18px; transition: transform .25s var(--hc-ease); }
.hc-link:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.hc-hdr { position: sticky; top: 0; z-index: 50; height: var(--hc-header); transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.hc-hdr.is-scrolled { background: rgba(6, 4, 30, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--hc-line); }
.hc-hdr__in { height: 100%; display: flex; align-items: center; gap: 20px; }
.hc-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; margin-right: auto; }
.hc-brand .hc-logo { width: 44px; height: 44px; flex: none; transition: transform .6s var(--hc-ease); }
.hc-brand:hover .hc-logo { transform: rotate(-10deg) scale(1.08); }
.hc-brand__name { font: 800 19px/1 var(--hc-display); letter-spacing: -.02em; white-space: nowrap; }
.hc-brand__name b { font-weight: 800; color: var(--hc-cyan); }
.hc-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.hc-nav a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--hc-muted); font-weight: 600; font-size: 15px; text-decoration: none; transition: color .2s, background .2s; }
.hc-nav a:hover, .hc-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .07); }
.hc-nav a[aria-current="page"] { box-shadow: inset 0 0 0 1px var(--hc-line-2); }
.hc-menu-btn { display: none; width: 46px; height: 46px; border-radius: 14px; border: 0; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--hc-line-2); color: #fff; cursor: pointer; }
.hc-menu-btn span { display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; border-radius: 2px; transition: transform .3s var(--hc-ease), opacity .2s; }
.hc-menu-open .hc-menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hc-menu-open .hc-menu-btn span:nth-child(2) { opacity: 0; }
.hc-menu-open .hc-menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
	.hc-hdr__cta { display: none; }
	.hc-menu-btn { display: block; }
	.hc-nav { position: fixed; inset: var(--hc-header) 0 0 0; padding: 24px var(--hc-gutter) 40px; background: rgba(5, 3, 26, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--hc-ease), visibility .25s; overflow-y: auto; }
	.hc-menu-open .hc-nav { opacity: 1; visibility: visible; transform: none; }
	.hc-nav ul { flex-direction: column; gap: 6px; }
	.hc-nav a { padding: 16px 18px; font: 700 24px/1.1 var(--hc-display); color: #fff; border-radius: 18px; background: rgba(255, 255, 255, .04); }
	.hc-menu-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hc-hero { position: relative; isolation: isolate; padding-block: clamp(40px, 7vw, 96px) clamp(64px, 9vw, 120px); margin-top: calc(-1 * var(--hc-header)); padding-top: calc(var(--hc-header) + clamp(32px, 6vw, 80px)); overflow: hidden; }
.hc-stars { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; }
.hc-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hc-hero h1 { margin-bottom: .35em; }
.hc-hero .hc-lede { margin-bottom: 32px; }
.hc-hero--page { padding-bottom: clamp(32px, 5vw, 64px); }
.hc-hero--page h1 { font-size: clamp(36px, 6vw, 72px); }
@media (max-width: 900px) { .hc-hero__grid { grid-template-columns: 1fr; } }

/* Boone in orbit */
.hc-orbit { position: relative; aspect-ratio: 1; width: min(100% - 48px, 460px); margin-inline: auto; }
.hc-orbit__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(143, 247, 255, .28); }
.hc-orbit__ring--2 { inset: 12%; border: 1px solid rgba(238, 125, 255, .22); }
.hc-orbit__ring--3 { inset: 26%; border: 1px solid rgba(255, 216, 90, .18); }
.hc-orbit__planet { position: absolute; inset: 20%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(143, 247, 255, .55), rgba(123, 92, 255, .45) 45%, rgba(42, 26, 110, .2) 70%, transparent 72%); filter: blur(.3px); box-shadow: 0 0 120px 10px rgba(123, 92, 255, .35); }
.hc-orbit__boone { position: absolute; left: 50%; bottom: 14%; width: 46%; transform: translateX(-50%); filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .55)) drop-shadow(0 0 30px rgba(143, 247, 255, .25)); animation: hc-float 6s ease-in-out infinite; }
@keyframes hc-float { 50% { transform: translateX(-50%) translateY(-14px) rotate(-1.5deg); } }
.hc-orbit__spin { position: absolute; inset: 0; animation: hc-spin 28s linear infinite; }
.hc-orbit__spin--rev { inset: 12%; animation-duration: 20s; animation-direction: reverse; }
@keyframes hc-spin { to { transform: rotate(360deg); } }
.hc-orbit__moon { position: absolute; top: -22px; left: 50%; width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center; border-radius: 14px; background: rgba(11, 8, 48, .85); box-shadow: inset 0 0 0 1px var(--hc-line-2), 0 8px 24px rgba(0, 0, 0, .4); animation: hc-spin 28s linear infinite reverse; }
.hc-orbit__spin--rev .hc-orbit__moon { animation-duration: 20s; animation-direction: normal; top: auto; bottom: -22px; }
.hc-orbit__moon svg { width: 22px; height: 22px; }
.hc-orbit__tag { position: absolute; right: 2%; bottom: 8%; padding: 8px 14px; border-radius: 999px; background: rgba(11, 8, 48, .85); box-shadow: inset 0 0 0 1px var(--hc-line-2); font: 700 13px/1 var(--hc-body); color: var(--hc-gold); backdrop-filter: blur(6px); }

/* stat strip */
.hc-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; padding: 0; list-style: none; }
.hc-stats li { display: flex; align-items: baseline; gap: 8px; color: var(--hc-muted); font-size: 15px; }
.hc-stats b { font: 800 26px/1 var(--hc-display); color: #fff; }

/* ---------- cards ---------- */
.hc-card {
	position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--hc-radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025)); box-shadow: inset 0 0 0 1px var(--hc-line);
	overflow: hidden; isolation: isolate; color: var(--hc-text); text-decoration: none;
	transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
	transition: transform .35s var(--hc-ease), box-shadow .35s var(--hc-ease), translate .8s var(--hc-ease), opacity .8s var(--hc-ease);
}
.hc-card::before { /* light that follows the pointer */
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(143, 247, 255, .16), transparent 45%);
}
.hc-card:hover::before { opacity: 1; }
a.hc-card:hover, .hc-card--lift:hover { --ty: -4px; box-shadow: inset 0 0 0 1px var(--hc-line-2), 0 30px 60px -30px rgba(123, 92, 255, .7); color: var(--hc-text); }
.hc-card h3 { margin-bottom: 10px; }
.hc-card p { color: var(--hc-muted); }
.hc-card > :last-child { margin-bottom: 0; }
.hc-card__icon { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 16px; background: linear-gradient(135deg, rgba(143, 247, 255, .2), rgba(123, 92, 255, .25)); box-shadow: inset 0 0 0 1px var(--hc-line-2); }
.hc-card__icon svg { width: 28px; height: 28px; }
.hc-card__icon--gold { background: linear-gradient(135deg, rgba(255, 216, 90, .25), rgba(255, 159, 67, .2)); }
.hc-card__icon--pink { background: linear-gradient(135deg, rgba(238, 125, 255, .25), rgba(123, 92, 255, .2)); }
.hc-card__icon--mint { background: linear-gradient(135deg, rgba(114, 241, 184, .25), rgba(143, 247, 255, .15)); }
.hc-card__foot { margin-top: auto; padding-top: 18px; }
.hc-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--hc-line); font: 700 12px/1 var(--hc-body); letter-spacing: .06em; text-transform: uppercase; color: var(--hc-cyan); }
.hc-tag--gold { color: var(--hc-gold); } .hc-tag--pink { color: var(--hc-pink); } .hc-tag--mint { color: var(--hc-mint); }
.hc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }

/* feature (now playing) */
.hc-feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; padding: 0; }
.hc-feature__media { position: relative; min-height: 320px; background: #05031b; }
.hc-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.hc-feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(11, 8, 48, .9)); pointer-events: none; }
.hc-feature__play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 84px; height: 84px; margin: -42px 0 0 -42px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--hc-cyan), var(--hc-mint)); box-shadow: 0 0 0 10px rgba(143, 247, 255, .18), 0 20px 50px rgba(0, 0, 0, .5); color: var(--hc-void); transition: transform .3s var(--hc-ease); }
.hc-feature__play svg { width: 34px; height: 34px; margin-left: 4px; }
.hc-feature:hover .hc-feature__play { transform: scale(1.08); }
.hc-feature__body { padding: clamp(26px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 860px) { .hc-feature { grid-template-columns: 1fr; } .hc-feature__media { min-height: 0; aspect-ratio: 4 / 3; } .hc-feature__media::after { background: linear-gradient(180deg, transparent 60%, rgba(11, 8, 48, .9)); } }
.hc-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 24px; padding: 0; list-style: none; }
.hc-facts li { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--hc-line); font-size: 13px; color: var(--hc-muted); line-height: 1.3; }
.hc-facts b { display: block; margin-bottom: 4px; font: 700 15px/1.1 var(--hc-display); color: #fff; }
@media (max-width: 520px) { .hc-facts { grid-template-columns: 1fr 1fr; } .hc-facts li:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---------- build loop (steps) ---------- */
.hc-steps { counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 0; margin: 0; list-style: none; }
.hc-steps li { counter-increment: s; position: relative; padding: 22px 18px 20px; border-radius: 18px; background: var(--hc-card); box-shadow: inset 0 0 0 1px var(--hc-line); }
.hc-steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 12px; font: 800 16px/1 var(--hc-display); color: var(--hc-void); background: linear-gradient(135deg, var(--hc-cyan), var(--hc-violet)); }
.hc-steps li:nth-child(2)::before { background: linear-gradient(135deg, var(--hc-violet), var(--hc-pink)); }
.hc-steps li:nth-child(3)::before { background: linear-gradient(135deg, var(--hc-pink), var(--hc-gold)); }
.hc-steps li:nth-child(4)::before { background: linear-gradient(135deg, var(--hc-gold), var(--hc-mint)); }
.hc-steps li:nth-child(5)::before { background: linear-gradient(135deg, var(--hc-mint), var(--hc-cyan)); }
.hc-steps b { display: block; font: 700 17px/1.2 var(--hc-display); margin-bottom: 6px; }
.hc-steps span { color: var(--hc-muted); font-size: 15px; line-height: 1.5; display: block; }
@media (max-width: 980px) { .hc-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .hc-steps { grid-template-columns: 1fr; } }

/* ---------- arcade cabinet ---------- */
.hc-cabinet { position: relative; padding: clamp(10px, 1.6vw, 18px); border-radius: 30px; background: linear-gradient(160deg, #1c1260, #0b0830 50%, #24104f); box-shadow: inset 0 0 0 1px var(--hc-line-2), 0 40px 120px -40px rgba(123, 92, 255, .8), 0 0 0 1px rgba(0, 0, 0, .4); }
.hc-cabinet::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 32px; background: conic-gradient(from var(--a, 0deg), var(--hc-cyan), var(--hc-violet), var(--hc-pink), var(--hc-gold), var(--hc-mint), var(--hc-cyan)); filter: blur(18px); opacity: .45; animation: hc-hue 10s linear infinite; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes hc-hue { to { --a: 360deg; } }
.hc-cabinet__bar { display: flex; align-items: center; gap: 12px; padding: 4px 6px 14px; }
.hc-cabinet__lights { display: flex; gap: 7px; }
.hc-cabinet__lights i { width: 11px; height: 11px; border-radius: 50%; background: var(--hc-pink); box-shadow: 0 0 10px var(--hc-pink); }
.hc-cabinet__lights i:nth-child(2) { background: var(--hc-gold); box-shadow: 0 0 10px var(--hc-gold); }
.hc-cabinet__lights i:nth-child(3) { background: var(--hc-mint); box-shadow: 0 0 10px var(--hc-mint); }
.hc-cabinet__title { font: 700 14px/1 var(--hc-display); letter-spacing: .06em; text-transform: uppercase; color: var(--hc-muted); margin-right: auto; }
.hc-cabinet__btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--hc-line-2); color: #fff; font: 600 14px/1 var(--hc-body); cursor: pointer; text-decoration: none; }
.hc-cabinet__btn:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.hc-cabinet__btn svg { width: 16px; height: 16px; }
.hc-screen { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #05031b; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .6), 0 0 0 4px rgba(0, 0, 0, .35); }
.hc-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.hc-screen__poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #05031b; color: #fff; }
.hc-screen__poster img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .3s, transform .6s var(--hc-ease); }
.hc-screen__poster:hover img { opacity: .85; transform: scale(1.02); }
.hc-screen__start { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; padding: 18px 28px; border-radius: 999px; background: linear-gradient(135deg, var(--hc-cyan), var(--hc-mint)); color: var(--hc-void); font: 800 18px/1 var(--hc-display); box-shadow: 0 0 0 10px rgba(143, 247, 255, .16), 0 24px 60px rgba(0, 0, 0, .6); white-space: nowrap; }
.hc-screen__start svg { width: 22px; height: 22px; }
.hc-screen__poster:hover .hc-screen__start { transform: translate(-50%, -50%) scale(1.05); }
.hc-game-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 1000px) { .hc-game-layout { grid-template-columns: 1fr; } }
.hc-howto { counter-reset: h; list-style: none; margin: 0 0 8px; padding: 0; }
.hc-howto li { counter-increment: h; position: relative; padding: 0 0 14px 44px; color: var(--hc-muted); }
.hc-howto li::before { content: counter(h); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: rgba(143, 247, 255, .14); color: var(--hc-cyan); font: 800 14px/1 var(--hc-display); }
.hc-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hc-meta li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--hc-line); font-size: 15px; color: var(--hc-muted); }
.hc-meta li:last-child { border: 0; padding: 0; }
.hc-meta b { color: #fff; font-weight: 600; text-align: right; }

/* game tile */
.hc-game-tile { padding: 0; }
.hc-game-tile__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #05031b; }
.hc-game-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--hc-ease); }
a.hc-game-tile:hover .hc-game-tile__img img { transform: scale(1.04); }
.hc-game-tile__body { padding: 22px 24px 24px; }
.hc-slot { display: grid; place-items: center; text-align: center; min-height: 260px; border: 2px dashed var(--hc-line-2); border-radius: var(--hc-radius); padding: 28px; color: var(--hc-muted); background: rgba(255, 255, 255, .02); }
.hc-slot b { display: block; font: 700 18px/1.2 var(--hc-display); color: #fff; margin: 12px 0 6px; }
.hc-slot code { display: inline-block; margin-top: 10px; }

/* ---------- prompt builder ---------- */
.hc-pb { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 32px); }
@media (max-width: 900px) { .hc-pb { grid-template-columns: 1fr; } }
.hc-pb fieldset { border: 0; margin: 0 0 22px; padding: 0; }
.hc-pb legend, .hc-pb label.hc-pb__label { display: block; margin-bottom: 10px; font: 700 14px/1.2 var(--hc-display); letter-spacing: .02em; color: #fff; }
.hc-pb__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hc-pb__chips input { position: absolute; opacity: 0; pointer-events: none; }
.hc-pb__chips label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--hc-line-2); font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s, box-shadow .2s, color .2s; }
.hc-pb__chips label:hover { background: rgba(255, 255, 255, .12); }
.hc-pb__chips input:checked + label { background: linear-gradient(135deg, rgba(143, 247, 255, .25), rgba(123, 92, 255, .3)); box-shadow: inset 0 0 0 2px var(--hc-cyan); color: #fff; }
.hc-pb__chips input:focus-visible + label { outline: 3px solid var(--hc-gold); outline-offset: 2px; }
.hc-input, .hc-pb textarea, .hc-pb input[type="text"] { width: 100%; padding: 14px 16px; border-radius: 14px; border: 0; background: rgba(5, 3, 26, .7); box-shadow: inset 0 0 0 1px var(--hc-line-2); color: #fff; font: 400 16px/1.5 var(--hc-body); }
.hc-pb textarea { min-height: 110px; resize: vertical; }
.hc-input:focus, .hc-pb textarea:focus, .hc-pb input[type="text"]:focus { outline: none; box-shadow: inset 0 0 0 2px var(--hc-cyan); }
.hc-pb__out { position: sticky; top: calc(var(--hc-header) + 20px); }
.hc-pb__prompt { white-space: pre-wrap; margin: 0 0 16px; padding: 20px; min-height: 260px; border-radius: 16px; background: #05031b; box-shadow: inset 0 0 0 1px var(--hc-line-2); color: #e9e7ff; font: 400 14.5px/1.65 ui-monospace, "SF Mono", Menlo, monospace; overflow-wrap: anywhere; }
.hc-pb__prompt::before { content: "> "; color: var(--hc-mint); }
.hc-copy.is-done { background: linear-gradient(135deg, var(--hc-mint), var(--hc-cyan)); }

/* ---------- missions ---------- */
.hc-xp { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; padding: 18px 22px; border-radius: 18px; background: var(--hc-card); box-shadow: inset 0 0 0 1px var(--hc-line); }
.hc-xp__rank { font: 800 15px/1.1 var(--hc-display); white-space: nowrap; }
.hc-xp__rank small { display: block; font: 600 12px/1 var(--hc-body); letter-spacing: .08em; text-transform: uppercase; color: var(--hc-dim); margin-bottom: 6px; }
.hc-xp__bar { flex: 1; height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.hc-xp__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--hc-cyan), var(--hc-pink), var(--hc-gold)); transition: width .8s var(--hc-ease); }
.hc-xp__pts { font: 800 15px/1 var(--hc-display); color: var(--hc-gold); white-space: nowrap; }
.hc-mission { padding: 22px; }
.hc-mission.is-done { box-shadow: inset 0 0 0 1.5px rgba(114, 241, 184, .6); }
.hc-mission__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.hc-mission h3 { font-size: 18px; margin-bottom: 8px; }
.hc-mission__say { margin: 12px 0 14px; padding: 12px 14px; border-radius: 12px; background: rgba(5, 3, 26, .7); box-shadow: inset 0 0 0 1px var(--hc-line); font: 400 14px/1.55 ui-monospace, "SF Mono", Menlo, monospace; color: #e9e7ff; }
.hc-mission__say::before { content: "Say: "; color: var(--hc-mint); font-weight: 700; }
.hc-mission__learn { font-size: 14px; color: var(--hc-dim); margin-bottom: 14px; }
.hc-check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; font-size: 15px; color: var(--hc-muted); user-select: none; }
.hc-check input { appearance: none; -webkit-appearance: none; width: 26px; height: 26px; margin: 0; border-radius: 8px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px var(--hc-line-2); display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.hc-check input::after { content: ""; width: 12px; height: 7px; border: solid var(--hc-void); border-width: 0 0 3px 3px; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--hc-ease); }
.hc-check input:checked { background: var(--hc-mint); box-shadow: none; }
.hc-check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.hc-mission.is-done .hc-check { color: var(--hc-mint); }

/* ---------- mission log (timeline) ---------- */
.hc-log { list-style: none; margin: 0; padding: 0; position: relative; }
.hc-log::before { content: ""; position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--hc-cyan), var(--hc-violet), transparent); opacity: .5; }
.hc-log li { position: relative; padding: 0 0 22px 50px; }
.hc-log li::before { content: ""; position: absolute; left: 8px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--hc-void); box-shadow: inset 0 0 0 3px var(--hc-cyan), 0 0 14px rgba(143, 247, 255, .6); }
.hc-log li[data-who="Codex"]::before { box-shadow: inset 0 0 0 3px var(--hc-pink), 0 0 14px rgba(238, 125, 255, .6); }
.hc-log li[data-who="Harlan"]::before { box-shadow: inset 0 0 0 3px var(--hc-gold), 0 0 14px rgba(255, 216, 90, .6); }
.hc-log__when { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hc-dim); }
.hc-log__who { color: var(--hc-cyan); }
.hc-log li[data-who="Codex"] .hc-log__who { color: var(--hc-pink); }
.hc-log li[data-who="Harlan"] .hc-log__who { color: var(--hc-gold); }
.hc-log__what { margin: 4px 0 0; color: var(--hc-text); }

/* ---------- crew ---------- */
.hc-crew { text-align: left; }
.hc-crew__badge { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 18px; font: 800 24px/1 var(--hc-display); color: var(--hc-void); }
.hc-crew__role { font: 700 12px/1 var(--hc-body); letter-spacing: .1em; text-transform: uppercase; color: var(--hc-dim); margin-bottom: 8px; }

/* safety shields */
.hc-shields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.hc-shields li { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: var(--hc-card); box-shadow: inset 0 0 0 1px var(--hc-line); color: var(--hc-muted); font-size: 15.5px; }
.hc-shields svg { flex: none; width: 26px; height: 26px; color: var(--hc-mint); }
.hc-shields b { display: block; color: #fff; margin-bottom: 2px; }

/* tips */
.hc-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.hc-tip { padding: 22px; border-radius: 18px; background: var(--hc-card); box-shadow: inset 0 0 0 1px var(--hc-line); }
.hc-tip h3 { font-size: 17px; }
.hc-tip p { color: var(--hc-muted); font-size: 15.5px; }
.hc-tip .hc-say { display: block; margin-top: 8px; padding: 10px 12px; border-radius: 10px; font: 400 13.5px/1.5 ui-monospace, Menlo, monospace; }
.hc-say--no { background: rgba(255, 90, 120, .08); color: #ffc4cf; box-shadow: inset 0 0 0 1px rgba(255, 120, 150, .25); }
.hc-say--yes { background: rgba(114, 241, 184, .08); color: #c9fbe5; box-shadow: inset 0 0 0 1px rgba(114, 241, 184, .3); }
.hc-say--no::before { content: "Meh: "; font-weight: 700; } .hc-say--yes::before { content: "Better: "; font-weight: 700; }

/* code */
code, kbd { font: 500 .9em/1.4 ui-monospace, "SF Mono", Menlo, monospace; padding: .15em .45em; border-radius: 7px; background: rgba(143, 247, 255, .1); color: var(--hc-cyan); box-shadow: inset 0 0 0 1px rgba(143, 247, 255, .2); }
pre { padding: 18px; border-radius: 14px; background: #05031b; box-shadow: inset 0 0 0 1px var(--hc-line-2); overflow-x: auto; }
pre code { padding: 0; background: none; box-shadow: none; color: #e9e7ff; }

/* ---------- Boone band ---------- */
.hc-boone { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 56px); }
.hc-boone__pic { position: relative; display: grid; place-items: end center; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(255, 216, 90, .35), rgba(255, 159, 67, .12) 50%, transparent 70%); }
.hc-boone__pic img { width: 62%; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .5)); }
@media (max-width: 760px) { .hc-boone { grid-template-columns: 1fr; text-align: center; } .hc-boone__pic { width: 220px; margin-inline: auto; } .hc-boone .hc-btns { justify-content: center; } }

/* CTA band */
.hc-cta { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); border-radius: 32px; text-align: center; background: radial-gradient(600px 300px at 20% 0%, rgba(143, 247, 255, .25), transparent 60%), radial-gradient(600px 300px at 80% 100%, rgba(238, 125, 255, .3), transparent 60%), linear-gradient(135deg, #1a1060, #0d0a3a); box-shadow: inset 0 0 0 1px var(--hc-line-2); }
.hc-cta h2 { margin-bottom: 14px; }
.hc-cta p { color: var(--hc-muted); max-width: 560px; margin: 0 auto 28px; font-size: 18px; }

/* ---------- prose (log posts, simple pages) ---------- */
.hc-prose { font-size: 18px; }
.hc-prose > * { max-width: 720px; margin-inline: auto; }
.hc-prose > .alignwide { max-width: 1000px; }
.hc-prose > .alignfull { max-width: none; }
.hc-prose h2 { font-size: clamp(24px, 3vw, 34px); margin-top: 1.6em; }
.hc-prose h3 { margin-top: 1.4em; }
.hc-prose ul, .hc-prose ol { padding-left: 1.3em; }
.hc-prose li { margin-bottom: .4em; }
.hc-prose img { border-radius: 18px; }
.hc-prose blockquote { margin: 1.6em auto; padding: 18px 24px; border-left: 4px solid var(--hc-pink); border-radius: 0 14px 14px 0; background: var(--hc-card); color: var(--hc-text); font-size: 19px; }
.hc-prose figure { margin: 1.6em auto; }
.hc-prose figcaption { text-align: center; color: var(--hc-dim); font-size: 14px; margin-top: 8px; }
.hc-prose a { color: var(--hc-cyan); }

/* log cards */
.hc-post-card__img { margin: -30px -30px 20px; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #1a1060, #0d0a3a); }
.hc-post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.hc-post-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--hc-dim); font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.hc-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; }

/* ---------- forms (Gravity Forms) ---------- */
.hc-form-card { padding: clamp(22px, 3.4vw, 44px); }
.gform_wrapper.gravity-theme .gfield_label, .gform_wrapper .gfield_label { font: 700 15px/1.3 var(--hc-display) !important; color: #fff !important; margin-bottom: 10px !important; }
.gform_wrapper .gfield_required { color: var(--hc-pink) !important; }
.gform_wrapper .gfield_description, .gform_wrapper .gform_fileupload_rules { color: var(--hc-dim) !important; font-size: 14px !important; }
.gform_wrapper input[type="text"], .gform_wrapper input[type="email"], .gform_wrapper textarea, .gform_wrapper select {
	width: 100% !important; padding: 14px 16px !important; border-radius: 14px !important; border: 0 !important;
	background: rgba(5, 3, 26, .7) !important; box-shadow: inset 0 0 0 1px var(--hc-line-2) !important; color: #fff !important; font: 400 16px/1.5 var(--hc-body) !important; min-height: 52px;
}
.gform_wrapper textarea { min-height: 150px !important; }
.gform_wrapper input:focus, .gform_wrapper textarea:focus { outline: none !important; box-shadow: inset 0 0 0 2px var(--hc-cyan) !important; }
.gform_wrapper .gfield_radio, .gform_wrapper .gfield_checkbox { display: flex !important; flex-wrap: wrap; gap: 8px; }
.gform_wrapper .gchoice { position: relative; margin: 0 !important; }
.gform_wrapper .gchoice input { position: absolute !important; opacity: 0; width: 1px; height: 1px; }
.gform_wrapper .gchoice label { display: inline-flex !important; align-items: center; max-width: none !important; margin: 0 !important; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--hc-line-2); color: var(--hc-text) !important; font-weight: 600 !important; font-size: 15px !important; cursor: pointer; }
.gform_wrapper .gchoice input:checked + label { background: linear-gradient(135deg, rgba(143, 247, 255, .25), rgba(123, 92, 255, .3)); box-shadow: inset 0 0 0 2px var(--hc-cyan); }
.gform_wrapper .gchoice input:focus-visible + label { outline: 3px solid var(--hc-gold); outline-offset: 2px; }
.gform_wrapper .gform_footer, .gform_wrapper .gform_page_footer { margin-top: 18px !important; padding: 0 !important; }
.gform_wrapper .gform_button, .gform_wrapper input[type="submit"] {
	min-height: 54px !important; padding: 0 30px !important; border: 0 !important; border-radius: 999px !important; cursor: pointer;
	background: linear-gradient(135deg, var(--hc-gold), var(--hc-orange)) !important; color: var(--hc-void) !important; font: 800 16px/1 var(--hc-display) !important; letter-spacing: .01em;
	box-shadow: 0 12px 30px -12px rgba(255, 216, 90, .9) !important; transition: transform .25s var(--hc-ease);
}
.gform_wrapper .gform_button:hover { transform: translateY(-2px); }
.gform_wrapper .validation_message, .gform_wrapper .gform_validation_errors { color: #ffc4cf !important; background: rgba(255, 90, 120, .08) !important; border: 0 !important; border-radius: 12px !important; box-shadow: inset 0 0 0 1px rgba(255, 120, 150, .3) !important; }
.gform_wrapper .gform_validation_errors h2 { color: #ffc4cf !important; font-family: var(--hc-body) !important; font-size: 15px !important; }
.gform_confirmation_message { padding: 28px; border-radius: 18px; background: rgba(114, 241, 184, .08); box-shadow: inset 0 0 0 1px rgba(114, 241, 184, .35); color: #fff; font-size: 18px; }
.gform_wrapper .gform_required_legend { display: none; }
.gform_wrapper .ginput_counter { color: var(--hc-dim) !important; }

/* ---------- footer ---------- */
.hc-ftr { position: relative; margin-top: clamp(40px, 6vw, 80px); padding: clamp(56px, 8vw, 96px) 0 32px; border-top: 1px solid var(--hc-line); background: linear-gradient(180deg, transparent, rgba(11, 8, 48, .6)); }
.hc-ftr__big { font: 800 clamp(40px, 8vw, 104px)/1 var(--hc-display); letter-spacing: -.04em; margin: 0 0 clamp(32px, 5vw, 56px); }
.hc-ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .hc-ftr__grid { grid-template-columns: 1fr 1fr; } .hc-ftr__about { grid-column: 1 / -1; } }
.hc-ftr h2 { font: 700 13px/1 var(--hc-body); letter-spacing: .1em; text-transform: uppercase; color: var(--hc-dim); margin-bottom: 14px; }
.hc-ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hc-ftr a { color: var(--hc-muted); text-decoration: none; font-weight: 600; }
.hc-ftr a:hover { color: #fff; }
.hc-ftr__about p { color: var(--hc-muted); max-width: 380px; font-size: 15.5px; }
.hc-ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hc-line); color: var(--hc-dim); font-size: 14px; }

/* ---------- reveal on scroll ---------- */
.hc-js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .8s var(--hc-ease) var(--d, 0s), translate .8s var(--hc-ease) var(--d, 0s), transform .35s var(--hc-ease), box-shadow .35s var(--hc-ease); }
.hc-js [data-reveal].is-in { opacity: 1; translate: none; }

/* 404 */
.hc-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.hc-404 b { display: block; font: 800 clamp(90px, 20vw, 220px)/1 var(--hc-display); letter-spacing: -.05em; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.hc-js [data-reveal] { opacity: 1; translate: none; }
	.hc-js .hc-hero h1 { opacity: 1 !important; }
}
@media print {
	body::before, body::after, .hc-hdr, .hc-ftr, .hc-stars { display: none !important; }
	body { background: #fff; color: #000; }
}

/* form page: form + side notes, stacks on phones */
.hc-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(16px, 2.4vw, 28px); align-items: start; }
@media (max-width: 860px) { .hc-split { grid-template-columns: 1fr; } }

/* =====================================================================
   Animation pass 2 (2026-10-17): animated logo, hero entrance, ticker,
   clickable Boone, tilt, button shine, confetti, page transitions.
   Everything here switches off for reduced motion (see the bottom).
   ===================================================================== */

/* ---------- animated H logo ---------- */
.hc-logo { display: block; overflow: visible; }
.hc-logo__planet { transform-box: view-box; transform-origin: 32px 32px; animation: hc-logo-pop 1.1s var(--hc-ease) both; }
@keyframes hc-logo-pop { 0% { transform: scale(.2) rotate(-120deg); opacity: 0; } 60% { transform: scale(1.12) rotate(8deg); opacity: 1; } 100% { transform: none; } }
.hc-logo__h { stroke-dasharray: 90; stroke-dashoffset: 90; fill-opacity: 0; animation: hc-logo-h 1.4s .45s var(--hc-ease) forwards; }
@keyframes hc-logo-h { 65% { stroke-dashoffset: 0; fill-opacity: 0; } 100% { stroke-dashoffset: 0; fill-opacity: 1; } }
.hc-logo__ring { animation: hc-fade .8s .2s both; }
.hc-logo__shine { stroke-dashoffset: 110; animation: hc-logo-shine 3.2s 1.2s linear infinite; }
@keyframes hc-logo-shine { from { stroke-dashoffset: 110; } to { stroke-dashoffset: -10; } }
.hc-logo__star { transform-box: view-box; transform-origin: 53px 11.5px; animation: hc-twinkle 2.6s ease-in-out infinite; }
@keyframes hc-twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.5) rotate(45deg); opacity: .55; } }
.hc-logo__glow { opacity: 0; transition: opacity .4s; }
.hc-brand:hover .hc-logo__glow, .hc-brand:focus-visible .hc-logo__glow { opacity: 1; }
.hc-brand:hover .hc-logo__shine { animation-duration: 1s; }
.hc-brand:hover .hc-logo__star { animation-duration: .9s; }
@keyframes hc-fade { from { opacity: 0; } }

/* ---------- hero entrance ---------- */
.hc-w { display: inline-block; animation: hc-word .75s var(--hc-ease) both; animation-delay: calc(var(--i, 0) * 65ms + 60ms); }
@keyframes hc-word { from { opacity: 0; transform: translateY(.45em) rotate(3deg); filter: blur(8px); } }
.hc-js .hc-hero h1:not(.is-split) { opacity: 0; animation: hc-fade .01s 1.2s forwards; } /* safety net if JS never runs */
.hc-hero .hc-lede, .hc-hero .hc-btns, .hc-hero .hc-stats, .hc-hero .hc-eyebrow { animation: hc-up .8s var(--hc-ease) both; }
.hc-hero .hc-eyebrow { animation-delay: 0s; }
.hc-hero .hc-lede { animation-delay: .35s; }
.hc-hero .hc-btns { animation-delay: .5s; }
.hc-hero .hc-stats { animation-delay: .65s; }
@keyframes hc-up { from { opacity: 0; transform: translateY(18px); } }
.hc-hero .hc-orbit { animation: hc-orbit-in 1.4s .2s var(--hc-ease) both; }
@keyframes hc-orbit-in { from { opacity: 0; transform: scale(.82) rotate(-12deg); } }
@supports (animation-timeline: view()) {
	.hc-orbit__planet { animation: hc-drift linear both; animation-timeline: view(); animation-range: exit -20% exit 100%; }
	@keyframes hc-drift { to { transform: translateY(60px) scale(1.08); } }
}

/* glowing pulse on the main Play buttons */
.hc-btn--pulse { animation: hc-pulse 2.6s ease-in-out infinite; }
@keyframes hc-pulse { 0%, 100% { box-shadow: 0 10px 30px -10px rgba(143, 247, 255, .8), 0 0 0 0 rgba(143, 247, 255, .45), inset 0 -3px 0 rgba(0, 0, 0, .15); } 50% { box-shadow: 0 10px 30px -10px rgba(143, 247, 255, .8), 0 0 0 12px rgba(143, 247, 255, 0), inset 0 -3px 0 rgba(0, 0, 0, .15); } }
/* shine that sweeps across buttons on hover */
.hc-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); background-size: 250% 100%; background-position: 130% 0; }
.hc-btn--go::after, .hc-btn--gold::after { z-index: 1; mix-blend-mode: soft-light; }
.hc-btn:hover::after { animation: hc-sweep .9s var(--hc-ease); }
@keyframes hc-sweep { from { background-position: 130% 0; } to { background-position: -30% 0; } }

/* stats count up */
.hc-stats b { font-variant-numeric: tabular-nums; }

/* ---------- ticker band ---------- */
.hc-ticker { position: relative; overflow: hidden; padding: 16px 0; margin-top: -20px; transform: rotate(-2deg) scale(1.03); background: linear-gradient(90deg, var(--hc-cyan), var(--hc-violet), var(--hc-pink), var(--hc-gold)); box-shadow: 0 20px 60px -20px rgba(123, 92, 255, .7); z-index: 2; }
.hc-ticker__track { display: flex; width: max-content; animation: hc-ticker 32s linear infinite; }
.hc-ticker:hover .hc-ticker__track { animation-play-state: paused; }
.hc-ticker span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 800 clamp(18px, 2.4vw, 26px)/1 var(--hc-display); letter-spacing: -.01em; color: var(--hc-void); white-space: nowrap; text-transform: uppercase; }
.hc-ticker span::after { content: "\2726"; font-size: .8em; }
@keyframes hc-ticker { to { transform: translateX(-50%); } }

/* ---------- clickable Boone in the hero ---------- */
.hc-orbit__pet { position: absolute; left: 50%; bottom: 10%; width: 48%; padding: 0; border: 0; background: none; cursor: pointer; transform: translateX(-50%); -webkit-tap-highlight-color: transparent; }
.hc-orbit__pet .hc-orbit__boone { position: static; width: 100%; transform: none; animation: hc-float2 6s ease-in-out infinite; }
@keyframes hc-float2 { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
.hc-orbit__pet:active .hc-orbit__boone, .hc-orbit__pet.is-bop .hc-orbit__boone { animation: hc-bop .35s var(--hc-ease); }
@keyframes hc-bop { 40% { transform: scale(.92, 1.06) translateY(4px); } 70% { transform: scale(1.04, .97) translateY(-10px); } }
.hc-orbit__pet:focus-visible { outline-offset: 8px; border-radius: 30px; }
.hc-plus { position: absolute; z-index: 5; pointer-events: none; font: 800 22px/1 var(--hc-display); color: var(--hc-gold); text-shadow: 0 2px 12px rgba(0, 0, 0, .6); animation: hc-plus 1s var(--hc-ease) forwards; }
@keyframes hc-plus { from { opacity: 1; transform: translate(-50%, 0) scale(.8); } to { opacity: 0; transform: translate(-50%, -70px) scale(1.25); } }
.hc-orbit__tag b { color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- steps light up one by one ---------- */
.hc-js .hc-steps li { opacity: 0; translate: 0 24px; transition: opacity .6s var(--hc-ease), translate .6s var(--hc-ease); }
.hc-js .hc-steps.is-in li { opacity: 1; translate: none; }
.hc-steps li:nth-child(2) { transition-delay: .1s; } .hc-steps li:nth-child(3) { transition-delay: .2s; } .hc-steps li:nth-child(4) { transition-delay: .3s; } .hc-steps li:nth-child(5) { transition-delay: .4s; }
.hc-steps.is-in li::before { animation: hc-pop .6s var(--hc-ease) both; }
.hc-steps.is-in li:nth-child(2)::before { animation-delay: .1s; } .hc-steps.is-in li:nth-child(3)::before { animation-delay: .2s; } .hc-steps.is-in li:nth-child(4)::before { animation-delay: .3s; } .hc-steps.is-in li:nth-child(5)::before { animation-delay: .4s; }
@keyframes hc-pop { 0% { transform: scale(.3) rotate(-30deg); } 70% { transform: scale(1.15) rotate(6deg); } 100% { transform: none; } }

/* arcade start button breathes */
.hc-screen__start { animation: hc-breathe 2.4s ease-in-out infinite; }
@keyframes hc-breathe { 50% { box-shadow: 0 0 0 18px rgba(143, 247, 255, 0), 0 24px 60px rgba(0, 0, 0, .6); } }

/* ---------- confetti (mission complete) ---------- */
.hc-confetti { position: fixed; z-index: 90; width: 9px; height: 14px; border-radius: 2px; pointer-events: none; animation: hc-confetti 1.3s cubic-bezier(.2, .7, .4, 1) forwards; }
@keyframes hc-confetti { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }
.hc-toast { position: fixed; left: 50%; bottom: 28px; z-index: 95; translate: -50% 0; padding: 14px 20px; border-radius: 16px; background: rgba(11, 8, 48, .95); box-shadow: inset 0 0 0 1px var(--hc-line-2), 0 20px 50px rgba(0, 0, 0, .5); font: 700 15px/1.3 var(--hc-display); color: #fff; animation: hc-toast 2.8s var(--hc-ease) forwards; }
.hc-toast b { color: var(--hc-gold); }
@keyframes hc-toast { 0% { opacity: 0; transform: translateY(20px); } 12%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------- scroll progress line + page transitions ---------- */
.hc-progress { position: fixed; left: 0; top: 0; z-index: 60; width: 100%; height: 3px; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--hc-cyan), var(--hc-pink), var(--hc-gold)); pointer-events: none; }
@supports (animation-timeline: scroll()) { .hc-progress { animation: hc-progress linear both; animation-timeline: scroll(root); } @keyframes hc-progress { to { transform: scaleX(1); } } }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
.hc-hdr { view-transition-name: hc-hdr; }

/* ---------- the crew (mascots) ---------- */
.hc-crew-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.hc-mascot { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; padding: clamp(22px, 3vw, 34px); }
.hc-mascot__pic { position: relative; display: grid; place-items: end center; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 42%, var(--glow, rgba(255, 216, 90, .35)), transparent 68%); }
.hc-mascot__pic img { width: 74%; max-height: 112%; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .5)); transition: transform .5s var(--hc-ease); }
.hc-mascot:hover .hc-mascot__pic img { transform: translateY(-8px) rotate(-3deg) scale(1.04); }
.hc-mascot--peanut { --glow: rgba(238, 125, 255, .35); }
@media (max-width: 560px) { .hc-mascot { grid-template-columns: 1fr; text-align: center; } .hc-mascot__pic { width: 180px; margin-inline: auto; } .hc-mascot .hc-btns { justify-content: center; } }

@media (prefers-reduced-motion: reduce) {
	.hc-ticker__track, .hc-btn--pulse, .hc-screen__start, .hc-logo * { animation: none !important; }
	.hc-logo__h { stroke-dashoffset: 0; fill-opacity: 1; }
	.hc-js .hc-steps li { opacity: 1; translate: none; }
}

/* =====================================================================
   AI Academy for Kids (/learn/)
   ===================================================================== */
.hc-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(16px, 2.4vw, 26px); counter-reset: none; }
.hc-lesson-card { height: 100%; padding-top: 30px; }
.hc-lesson-card__n { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 18px; font: 800 22px/1 var(--hc-display); color: var(--hc-void); background: linear-gradient(135deg, var(--hc-cyan), var(--hc-violet)); box-shadow: 0 10px 30px -10px rgba(143, 247, 255, .7); }
.hc-lesson-card__n--pink { background: linear-gradient(135deg, var(--hc-pink), var(--hc-violet)); box-shadow: 0 10px 30px -10px rgba(238, 125, 255, .7); }
.hc-lesson-card__n--gold { background: linear-gradient(135deg, var(--hc-gold), var(--hc-orange)); box-shadow: 0 10px 30px -10px rgba(255, 216, 90, .7); }
.hc-lesson-card__n--mint { background: linear-gradient(135deg, var(--hc-mint), var(--hc-cyan)); box-shadow: 0 10px 30px -10px rgba(114, 241, 184, .7); }
.hc-lesson-card__done { position: absolute; top: 22px; right: 22px; display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--hc-mint); color: var(--hc-void); box-shadow: 0 0 0 6px rgba(114, 241, 184, .15); }
.hc-lesson-card__done svg { width: 22px; height: 22px; }
.hc-lesson-card.is-done { box-shadow: inset 0 0 0 1.5px rgba(114, 241, 184, .55); }
.hc-lesson-card.is-done .hc-lesson-card__done { display: flex; animation: hc-pop .6s var(--hc-ease) both; }

.hc-lesson { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(20px, 3.4vw, 48px); align-items: start; }
.hc-lesson__side { position: sticky; top: calc(var(--hc-header) + 20px); }
@media (max-width: 980px) { .hc-lesson { grid-template-columns: 1fr; } .hc-lesson__side { position: static; order: 2; } }
.hc-lesson__main > * + * { margin-top: clamp(22px, 3vw, 34px); }
.hc-goal { flex-direction: row; gap: 18px; align-items: center; }
.hc-goal .hc-card__icon { margin: 0; flex: none; }
.hc-goal .hc-crew__role { margin-bottom: 6px; }
.hc-lesson-sec h2 { font-size: clamp(24px, 3vw, 34px); }
.hc-lesson-sec p { font-size: 18px; color: var(--hc-muted); max-width: 680px; }
.hc-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 700px; }
.hc-ticks li { position: relative; padding: 14px 16px 14px 50px; border-radius: 14px; background: var(--hc-card); box-shadow: inset 0 0 0 1px var(--hc-line); color: var(--hc-text); }
.hc-ticks li::before { content: "\2713"; position: absolute; left: 16px; top: 14px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(135deg, var(--hc-cyan), var(--hc-violet)); color: var(--hc-void); font: 800 14px/1 var(--hc-body); }
.hc-tryit { background: linear-gradient(135deg, rgba(255, 216, 90, .1), rgba(255, 159, 67, .05)); box-shadow: inset 0 0 0 1px rgba(255, 216, 90, .3); }
.hc-tryit p { color: var(--hc-text); font-size: 17px; }

/* quiz */
.hc-q { border: 0; margin: 22px 0 0; padding: 0; }
.hc-q legend { display: block; margin-bottom: 12px; font: 700 18px/1.35 var(--hc-display); color: #fff; }
.hc-q legend span { display: block; margin-bottom: 6px; font: 700 12px/1 var(--hc-body); letter-spacing: .1em; text-transform: uppercase; color: var(--hc-dim); }
.hc-opts { display: grid; gap: 10px; }
.hc-opt { display: block; width: 100%; padding: 15px 18px; border: 0; border-radius: 14px; text-align: left; cursor: pointer; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--hc-line-2); color: var(--hc-text); font: 600 16px/1.4 var(--hc-body); transition: background .2s, box-shadow .2s, transform .2s var(--hc-ease); }
.hc-opt:hover { background: rgba(255, 255, 255, .11); transform: translateX(4px); }
.hc-opt.is-wrong { background: rgba(255, 90, 120, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 120, 150, .55); animation: hc-shake .4s; }
.hc-opt.is-right { background: rgba(114, 241, 184, .14); box-shadow: inset 0 0 0 2px var(--hc-mint); color: #fff; }
.hc-opt.is-right::after { content: "  \2713  Correct!"; color: var(--hc-mint); font-weight: 800; }
@keyframes hc-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.hc-q.is-solved .hc-opt:not(.is-right) { opacity: .45; pointer-events: none; }
.hc-why { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(114, 241, 184, .08); color: #d9fff0; font-size: 15.5px; }
.hc-lesson-done { margin-top: 26px; padding: 30px 24px; border-radius: 20px; text-align: center; background: radial-gradient(400px 200px at 50% 0%, rgba(114, 241, 184, .25), transparent 70%), rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1.5px rgba(114, 241, 184, .45); }
.hc-lesson-done p { color: var(--hc-muted); }
.hc-badge-medal { display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 50%; color: var(--hc-void); background: conic-gradient(from 0deg, var(--hc-cyan), var(--hc-pink), var(--hc-gold), var(--hc-mint), var(--hc-cyan)); box-shadow: 0 0 0 8px rgba(255, 255, 255, .06), 0 20px 50px -10px rgba(123, 92, 255, .8); animation: hc-pop .8s var(--hc-ease) both, hc-spin 14s linear .8s infinite; }
.hc-badge-medal svg { width: 44px; height: 44px; animation: hc-spin 14s linear .8s infinite reverse; }

/* lesson side nav */
.hc-lesson-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hc-lesson-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: 12px; color: var(--hc-muted); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3; }
.hc-lesson-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.hc-lesson-nav a[aria-current="page"] { background: rgba(143, 247, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(143, 247, 255, .3); }
.hc-lesson-nav__n { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 10px; background: rgba(255, 255, 255, .08); font: 800 13px/1 var(--hc-display); color: #fff; }
.hc-lesson-nav a.is-done .hc-lesson-nav__n { background: var(--hc-mint); color: var(--hc-void); font-size: 0; }
.hc-lesson-nav a.is-done .hc-lesson-nav__n::before { content: "\2713"; font-size: 15px; }

/* certificate */
.hc-cert { max-width: 860px; margin: 0 auto; padding: 14px; border-radius: 26px; background: conic-gradient(from 210deg, var(--hc-cyan), var(--hc-violet), var(--hc-pink), var(--hc-gold), var(--hc-mint), var(--hc-cyan)); box-shadow: 0 40px 100px -40px rgba(123, 92, 255, .9); }
.hc-cert__in { padding: clamp(28px, 5vw, 56px); border-radius: 18px; text-align: center; background: radial-gradient(600px 300px at 50% 0%, rgba(123, 92, 255, .35), transparent 70%), #0b0830; }
.hc-cert__in .hc-logo { margin: 0 auto 12px; width: 84px; height: 84px; }
.hc-cert__kicker { font: 700 13px/1 var(--hc-body); letter-spacing: .14em; text-transform: uppercase; color: var(--hc-cyan); }
.hc-cert__title { font: 800 clamp(26px, 4.4vw, 46px)/1.05 var(--hc-display); letter-spacing: -.03em; margin: 10px 0 18px; }
.hc-cert__for { color: var(--hc-muted); margin: 0; }
.hc-cert__name { font: 800 clamp(34px, 6vw, 64px)/1.1 var(--hc-display); margin: 8px 0 14px; background: linear-gradient(92deg, var(--hc-cyan), var(--hc-pink), var(--hc-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hc-cert__body { max-width: 560px; margin: 0 auto 16px; color: var(--hc-muted); }
.hc-cert__date { font-weight: 700; color: var(--hc-gold); margin: 0; }
@media print {
	body.hc-printing * { visibility: hidden !important; }
	body.hc-printing .hc-cert, body.hc-printing .hc-cert * { visibility: visible !important; }
	body.hc-printing .hc-cert { position: fixed; inset: 0; margin: auto; max-width: none; width: 100%; height: auto; box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	body.hc-printing .hc-cert__in { background: #0b0830 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* small fixes after QA (2026-10-17) */
.hc-card > .hc-tag { align-self: flex-start; }
.hc-hero .hc-wrap > .hc-link:first-child { display: flex; width: max-content; }
@media (max-width: 560px) { .hc-xp { flex-wrap: wrap; gap: 12px 16px; } .hc-xp__bar { order: 3; flex-basis: 100%; } .hc-xp__pts { margin-left: auto; } }

/* Peanut joins Boone in the hero orbit */
.hc-orbit__pet { left: 44%; }
.hc-orbit__pet--peanut { left: auto; right: 0; bottom: 6%; width: 32%; transform: none; z-index: 2; }
.hc-orbit__pet--peanut .hc-orbit__boone { animation-delay: -2.5s; animation-duration: 4.6s; }
.hc-orbit__tag { z-index: 3; }
.hc-orbit__tag { right: auto; left: 50%; bottom: -1%; transform: translateX(-50%); white-space: nowrap; }

/* =====================================================================
   3D Prints (/3d-printing/ and /prints/<design>/)
   ===================================================================== */
/* the "print bed" every model sits on */
.hc-print-card__bed, .hc-bed { position: relative; display: block; overflow: hidden; background:
	radial-gradient(60% 55% at 50% 58%, rgba(143, 247, 255, .16), transparent 70%),
	repeating-linear-gradient(0deg, rgba(143, 247, 255, .07) 0 1px, transparent 1px 28px),
	repeating-linear-gradient(90deg, rgba(143, 247, 255, .07) 0 1px, transparent 1px 28px),
	linear-gradient(160deg, #17104a, #0a0730); }
.hc-print-card { padding: 0; }
.hc-print-card > :not(.hc-print-card__bed) { margin-left: 22px; margin-right: 22px; }
.hc-print-card .hc-tags { margin-top: 18px; }
.hc-print-card h3 { margin-bottom: 6px; }
.hc-print-card p { font-size: 15px; margin-bottom: 14px; }
.hc-print-card .hc-swatches { margin-bottom: 22px; }
.hc-print-card__bed { aspect-ratio: 1; }
.hc-print-card__bed img { width: 100%; height: 100%; object-fit: contain; padding: 8%; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .45)); transition: transform .6s var(--hc-ease); }
a.hc-print-card:hover .hc-print-card__bed img { transform: translateY(-6px) rotate(-2deg) scale(1.04); }
.hc-print-card__3d { position: absolute; top: 14px; right: 14px; padding: 6px 10px; border-radius: 10px; background: rgba(11, 8, 48, .8); box-shadow: inset 0 0 0 1px rgba(143, 247, 255, .4); font: 800 12px/1 var(--hc-display); color: var(--hc-cyan); }
.hc-filter { margin-bottom: 26px; }
.hc-print-grid .hc-print-card[hidden] { display: none; }

.hc-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.hc-swatches span { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25), 0 4px 10px rgba(0, 0, 0, .35); }
.hc-swatches--sm span { width: 18px; height: 18px; }

/* design page */
.hc-print-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.hc-print-side { position: sticky; top: calc(var(--hc-header) + 20px); display: grid; gap: 16px; }
@media (max-width: 1000px) { .hc-print-layout { grid-template-columns: 1fr; } .hc-print-side { position: static; } }
.hc-print-main > * + * { margin-top: clamp(18px, 2.4vw, 28px); }
.hc-bed { aspect-ratio: 1 / 1; max-height: 78vh; width: 100%; border-radius: 26px; box-shadow: inset 0 0 0 1px var(--hc-line-2), 0 40px 100px -40px rgba(123, 92, 255, .7); }
@media (min-width: 1001px) { .hc-bed { aspect-ratio: 4 / 3; } }
.hc-bed__pic, .hc-bed__pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hc-bed__pic img { object-fit: contain; padding: 6%; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .5)); }
.hc-viewer { position: absolute; inset: 0; z-index: 1; cursor: grab; touch-action: none; }
.hc-viewer:active { cursor: grabbing; }
.hc-viewer canvas { display: block; width: 100% !important; height: 100% !important; }
.hc-bed.is-3d .hc-bed__pic { opacity: 0; transition: opacity .5s; pointer-events: none; }
.hc-bed__spin { position: absolute; left: 50%; bottom: 20px; z-index: 2; transform: translateX(-50%); }
.hc-bed.is-3d .hc-bed__spin { display: none; }
.hc-bed__hint { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; margin: 0; text-align: center; font-size: 14px; color: var(--hc-muted); pointer-events: none; }
.hc-bed.is-loading .hc-bed__spin { opacity: .6; pointer-events: none; }
.hc-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.hc-thumb { flex: none; width: 112px; padding: 0 0 8px; border: 0; border-radius: 16px; background: var(--hc-card); box-shadow: inset 0 0 0 1px var(--hc-line); color: var(--hc-muted); cursor: pointer; font: 600 11px/1.25 var(--hc-body); text-align: center; transition: box-shadow .2s, transform .2s var(--hc-ease); }
.hc-thumb img { width: 112px; height: 96px; object-fit: contain; padding: 8px; }
.hc-thumb span { display: block; padding: 0 6px; }
.hc-thumb:hover { transform: translateY(-2px); }
.hc-thumb.is-on { box-shadow: inset 0 0 0 2px var(--hc-cyan); color: #fff; }
.hc-sheet .hc-meta li b { max-width: 60%; }
.hc-track { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.hc-track li { position: relative; padding-left: 36px; color: var(--hc-dim); font-weight: 600; font-size: 15px; }
.hc-track li::before { content: ""; position: absolute; left: 0; top: -1px; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--hc-line-2); }
.hc-track li:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 25px; width: 2px; height: 12px; background: var(--hc-line-2); }
.hc-track li.is-done { color: #fff; }
.hc-track li.is-done::before { content: "\2713"; display: grid; place-items: center; background: var(--hc-mint); box-shadow: none; color: var(--hc-void); font: 800 13px/1 var(--hc-body); }
.hc-print-nav { display: flex; justify-content: space-between; gap: 10px; }
.hc-story__body { margin-top: 12px; }
.hc-story__body > * { margin-inline: 0; }
.hc-real h2 { font-size: clamp(24px, 3vw, 34px); }
.hc-real__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.hc-real__grid figure { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--hc-line); }
.hc-real__grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
/* Harlan's story box */
.hc-tell textarea.hc-input { min-height: 150px; resize: vertical; }
.hc-tell__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
@media (max-width: 720px) { .hc-tell__row { grid-template-columns: 1fr; } }
.hc-tell__msg { align-self: center; font-weight: 700; color: var(--hc-mint); }
.hc-tell__photos { display: flex; flex-wrap: wrap; gap: 10px; }
.hc-tell__photos figure { position: relative; margin: 0; width: 96px; height: 96px; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--hc-line-2); }
.hc-tell__photos img { width: 100%; height: 100%; object-fit: cover; }
.hc-tell__photos button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(5, 3, 26, .85); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.hc-pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: p; }
.hc-pipeline > div { position: relative; padding: 22px; border-radius: 20px; background: var(--hc-card); box-shadow: inset 0 0 0 1px var(--hc-line); }
.hc-pipeline > div:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 50%; z-index: 1; width: 10px; height: 10px; border-top: 2px solid var(--hc-cyan); border-right: 2px solid var(--hc-cyan); transform: translateY(-50%) rotate(45deg); }
.hc-pipeline h3 { font-size: 18px; margin: 14px 0 6px; }
.hc-pipeline p { color: var(--hc-muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .hc-pipeline { grid-template-columns: 1fr 1fr; } .hc-pipeline > div::after { display: none; } }
@media (max-width: 520px) { .hc-pipeline { grid-template-columns: 1fr; } }

/* print numbers (2026-10-17): every project has a permanent number to talk about */
.hc-print-card__num { position: absolute; top: 14px; left: 14px; padding: 7px 11px; border-radius: 12px; background: linear-gradient(135deg, var(--hc-gold), var(--hc-orange)); color: var(--hc-void); font: 800 15px/1 var(--hc-display); box-shadow: 0 8px 20px -6px rgba(255, 216, 90, .7); }
.hc-num-big { display: inline-block; padding: .05em .28em; margin-right: .1em; border-radius: .22em; background: linear-gradient(135deg, var(--hc-gold), var(--hc-orange)); color: var(--hc-void); font-size: .82em; vertical-align: .04em; }
.hc-print-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 26px; }
.hc-print-tools .hc-filter { margin: 0; }
.hc-jump { display: flex; align-items: center; gap: 8px; }
.hc-jump label { font: 700 14px/1 var(--hc-display); color: #fff; white-space: nowrap; }
.hc-jump .hc-input { width: 92px; padding: 10px 12px; }
.hc-shortlink { margin: 0; font-size: 14px; color: var(--hc-dim); text-align: center; }
.hc-index { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 14px; }
.hc-index li { break-inside: avoid; margin-bottom: 6px; }
.hc-index a { display: grid; grid-template-columns: 46px 1fr; gap: 0 10px; align-items: baseline; padding: 9px 12px; border-radius: 12px; color: var(--hc-text); text-decoration: none; background: var(--hc-card); box-shadow: inset 0 0 0 1px var(--hc-line); }
.hc-index a:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.hc-index b { font: 800 14px/1.3 var(--hc-display); color: var(--hc-gold); grid-row: span 2; }
.hc-index span { font-weight: 700; font-size: 15px; }
.hc-index em { font-style: normal; font-size: 12.5px; color: var(--hc-dim); }

/* dark filament (black models) sits on a lit bed so it doesn't vanish */
.hc-bed--light { background:
	radial-gradient(58% 52% at 50% 56%, rgba(214, 222, 255, .62), rgba(143, 247, 255, .18) 55%, transparent 75%),
	repeating-linear-gradient(0deg, rgba(143, 247, 255, .07) 0 1px, transparent 1px 28px),
	repeating-linear-gradient(90deg, rgba(143, 247, 255, .07) 0 1px, transparent 1px 28px),
	linear-gradient(160deg, #1d1556, #0d0a3a) !important; }
