/* ==========================================================================
   Careerbee — private-bank editorial
   Ink navy · warm ivory · honey gold. Cormorant Garamond + Inter.
   ========================================================================== */

@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
	/* Primitives */
	--ink-900: #0B1522;
	--ink-800: #0F1B2D;
	--ink-700: #16263D;
	--ink-600: #22354F;
	--ivory-50: #FBF9F5;
	--ivory-100: #F6F1E8;
	--ivory-200: #ECE4D5;
	--stone-300: #D9CFBD;
	--stone-500: #8C8474;
	--slate-600: #545B68;
	--honey-300: #E8C57A;
	--honey-400: #D9A441;
	--honey-500: #B98A2E;
	--honey-700: #8A6416;

	/* Semantic */
	--bg: var(--ivory-50);
	--surface: #FFFFFF;
	--text: #151B26;
	--text-muted: var(--slate-600);
	--line: var(--ivory-200);
	--line-strong: var(--stone-300);
	--accent: var(--honey-500);
	--accent-text: var(--honey-700);
	--honey: var(--honey-400);
	--on-dark: #F3EEE4;
	--on-dark-muted: #A9B2C0;
	--line-dark: rgba(243, 238, 228, .12);
	--focus: var(--honey-400);
	--danger: #A3372B;
	--ok: #2F6B4F;

	/* Type */
	--serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;

	--fs-display: clamp(2.75rem, 1.4rem + 5.2vw, 6rem);
	--fs-display-sm: clamp(2.4rem, 1.5rem + 3.4vw, 4.4rem);
	--fs-h2: clamp(2rem, 1.35rem + 2.3vw, 3.4rem);
	--fs-h3: clamp(1.45rem, 1.25rem + .6vw, 1.8rem);
	--fs-lede: clamp(1.06rem, 1rem + .3vw, 1.25rem);

	/* Space (spacious) */
	--gutter: clamp(1rem, .5rem + 2.4vw, 2.5rem);
	--section: clamp(4.5rem, 3rem + 7vw, 10rem);
	--radius: 4px;
	--radius-lg: 10px;

	/* Motion */
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);
	--dur: .9s;

	--shadow: 0 1px 2px rgba(15, 27, 45, .04), 0 12px 40px -12px rgba(15, 27, 45, .16);
	--header-h: 96px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0; background: var(--bg); color: var(--text);
	font: 400 1rem/1.65 var(--sans); font-feature-settings: "ss01", "cv11";
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
@media (min-width: 1024px) { body { font-size: 1.0625rem; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
em { font-style: italic; }
main:focus { outline: none; }
::selection { background: var(--honey-300); color: var(--ink-800); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--honey-400); color: var(--ink-800); padding: .75rem 1rem; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.muted { color: var(--text-muted); }

/* ---------- Sections ---------- */
section, .section-paper, .section-ivory { padding-block: var(--section); }
.section-paper { background: var(--ivory-50); }
.section-ivory { background: var(--ivory-100); }
.section-ink { background: var(--ink-800); color: var(--on-dark); position: relative; isolation: isolate; }
.section-ink .muted { color: var(--on-dark-muted); }
.section-ink ::selection { background: var(--honey-400); }

/* ---------- Type ---------- */
.display, .display-sm, .h2, .statement { font-family: var(--serif); font-weight: 500; letter-spacing: -.012em; line-height: 1.02; }
.display { font-size: var(--fs-display); }
.display-sm { font-size: var(--fs-display-sm); line-height: 1.05; }
.h2 { font-size: var(--fs-h2); line-height: 1.08; max-width: 22ch; }
.h3 { font-family: var(--serif); font-size: var(--fs-h3); font-weight: 600; line-height: 1.15; }
.display em, .display-sm em, .h2 em { font-style: italic; font-weight: 400; color: var(--honey-400); }
.section-paper .display-sm em, .section-ivory .h2 em { color: var(--accent-text); }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 1.4rem; display: flex; gap: .75rem; align-items: center; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.center { justify-content: center; }
.h2.center { margin-inline: auto; }
.section-ink .eyebrow { color: var(--honey-300); }
.lede { font-size: var(--fs-lede); line-height: 1.6; color: var(--on-dark-muted); max-width: 58ch; margin-top: 1.75rem; }
.lede-sm { color: var(--on-dark-muted); margin-top: 1.25rem; max-width: 52ch; }
.lede-sm.dark { color: var(--text-muted); }
.num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--accent-text); font-variant-numeric: lining-nums; }
.section-ink .num { color: var(--honey-300); }

/* ---------- Buttons ---------- */
.btn {
	--btn-bg: var(--ink-800); --btn-fg: var(--on-dark);
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
	min-height: 52px; padding: .9rem 1.6rem; border: 1px solid transparent; border-radius: var(--radius);
	background: var(--btn-bg); color: var(--btn-fg); font-size: .95rem; font-weight: 550; letter-spacing: .01em;
	text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
	transition: color .35s var(--ease-out), border-color .35s var(--ease-out), transform .2s var(--ease-out);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-hover, var(--ink-600)); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-gold { --btn-bg: var(--honey-400); --btn-fg: var(--ink-900); --btn-hover: var(--honey-300); }
.btn-ink { --btn-bg: var(--ink-800); --btn-fg: var(--on-dark); --btn-hover: var(--ink-600); }
.btn-ghost-light { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-hover: rgba(243, 238, 228, .08); border-color: rgba(243, 238, 228, .28); }
.btn-ghost-light:hover { border-color: rgba(243, 238, 228, .55); }
.btn-sm { min-height: 44px; padding: .6rem 1.1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 550; text-decoration: none; color: var(--accent-text); padding-block: .5rem; }
.link-arrow .icon { width: 18px; transition: transform .35s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .8rem; }
.logo-mark { width: 44px; height: 44px; color: currentColor; transition: transform 1.2s var(--ease-out); }
.logo-word { font-family: var(--serif); font-size: 2.35rem; font-weight: 500; letter-spacing: -.015em; line-height: 1; }
.logo-word em { font-style: italic; color: var(--honey-400); }
.brand:hover .logo-mark { transform: rotate(60deg); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--on-dark); transition: background .5s var(--ease-out), color .4s; }
/* Gold hairline, fades in once the page scrolls. */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(217, 164, 65, .55) 30%, rgba(217, 164, 65, .55) 70%, transparent); opacity: 0; transition: opacity .6s var(--ease-out); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 2.5rem; transition: height .5s var(--ease-out); }
.site-header.is-scrolled { background: rgba(11, 21, 34, .88); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); }
.site-header.is-scrolled::after { opacity: 1; }
.site-header.is-scrolled .header-inner { height: 72px; }
.brand { text-decoration: none; margin-right: auto; flex-shrink: 0; }
@media (max-width: 1279px) { .header-cta { display: none; } .nav ul { gap: 2rem; } }
.brand .logo { transform-origin: left center; transition: transform .5s var(--ease-out); }
.site-header.is-scrolled .brand .logo { transform: scale(.84); }

.nav ul { list-style: none; display: flex; gap: 2.75rem; }
.nav a { position: relative; display: inline-block; text-decoration: none; font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgba(243, 238, 228, .72); padding-block: .75rem; margin-right: -.22em; transition: color .4s var(--ease-out); }
.nav a::after { content: ""; position: absolute; left: 0; right: .22em; bottom: .35rem; height: 1px; background: linear-gradient(90deg, transparent, var(--honey-400), transparent); transform: scaleX(0); transition: transform .6s var(--ease-out); }
.nav a::before { content: ""; position: absolute; left: calc(50% - .11em); bottom: -.1rem; width: 5px; height: 5px; background: var(--honey-400); transform: translateX(-50%) rotate(45deg) scale(0); transition: transform .5s var(--ease-out); }
.nav a:hover, .nav a[aria-current] { color: var(--on-dark); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current]::before { transform: translateX(-50%) rotate(45deg) scale(1); }

.header-actions { display: flex; align-items: center; gap: 1.5rem; }
.lang { display: flex; align-items: center; }
.lang a { min-width: 36px; min-height: 44px; display: grid; place-items: center; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-decoration: none; color: rgba(243, 238, 228, .5); transition: color .3s; }
.lang a + a { border-left: 1px solid rgba(243, 238, 228, .2); }
.lang a[aria-current] { color: var(--honey-300); }
.lang a:hover { color: var(--on-dark); }

.header-cta.btn { --btn-bg: transparent; --btn-fg: var(--honey-300); --btn-hover: var(--honey-400); min-height: 46px; padding: .7rem 1.4rem; border: 1px solid rgba(217, 164, 65, .6); font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.header-cta.btn:hover { color: var(--ink-900); border-color: var(--honey-400); }
.header-actions .lang { position: relative; padding-left: 1.5rem; }
.header-actions .lang::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 22px; transform: translateY(-50%); background: rgba(243, 238, 228, .18); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-dark); background: transparent; border-radius: 50%; cursor: pointer; place-items: center; color: var(--on-dark); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu { position: fixed; inset: 0; top: 0; z-index: -1; background: var(--ink-900); padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem; overflow-y: auto; opacity: 0; transition: opacity .35s var(--ease-out); }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu ul { list-style: none; margin-bottom: 2.5rem; }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--i) * 60ms + 80ms); }
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu li a { display: block; padding: 1.1rem 0; font-family: var(--serif); font-size: 2rem; text-decoration: none; }
.mobile-menu .btn { width: 100%; }
.mobile-contact { margin-top: 1.5rem; color: var(--on-dark-muted); font-size: .9rem; }
body.menu-open { overflow: hidden; }

@media (max-width: 1023px) {
	.nav, .header-cta { display: none; }
	.menu-toggle { display: grid; }
}
@media (max-width: 1023px) {
	.header-actions { gap: .75rem; }
	.header-actions .lang { padding-left: 0; }
	.header-actions .lang::before { display: none; }
	.logo-mark { width: 38px; height: 38px; }
	.logo-word { font-size: 2rem; }
}
@media (max-width: 400px) { .lang a { min-width: 32px; } .header-actions { gap: .4rem; } .logo { gap: .55rem; } .logo-mark { width: 32px; height: 32px; } .logo-word { font-size: 1.7rem; } }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 6vw, 8rem)); padding-bottom: clamp(2.5rem, 2rem + 3vw, 4rem); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 50% at 78% 35%, rgba(217, 164, 65, .10), transparent 70%), radial-gradient(50% 60% at 10% 100%, rgba(34, 53, 79, .9), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.5rem; }
.hex-field { position: absolute; z-index: -1; right: -6%; top: 2%; width: min(62vw, 760px); color: rgba(243, 238, 228, .09); pointer-events: none; }
.hex-field use { stroke-dasharray: 290; stroke-dashoffset: 290; animation: hexdraw 2.4s var(--ease-in-out) forwards; animation-delay: calc(var(--i) * 110ms + 300ms); }
.hex-dot { fill: var(--honey-400); opacity: 0; transform-origin: 460px 304px; animation: dotin 1s var(--ease-out) 1.6s forwards, pulse 4s ease-in-out 2.6s infinite; }
@keyframes hexdraw { to { stroke-dashoffset: 0; } }
@keyframes dotin { from { opacity: 0; transform: scale(.2); } to { opacity: .9; transform: scale(1); } }
@keyframes pulse { 50% { opacity: .45; transform: scale(.8); } }

.prompt-card { margin: 0; background: linear-gradient(180deg, rgba(34, 53, 79, .75), rgba(22, 38, 61, .85)); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .05); overflow: hidden; backdrop-filter: blur(6px); }
.prompt-card-bar { display: flex; align-items: center; gap: 1rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line-dark); }
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(243, 238, 228, .18); }
.prompt-card-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--honey-300); }
.prompt-card-body { margin: 0; padding: 1.4rem 1.3rem; min-height: 13.5rem; font: 400 .86rem/1.7 var(--mono); color: #D8DEE7; white-space: pre-wrap; word-break: break-word; }
.prompt-card-body code { font: inherit; }
.caret { display: inline-block; width: .55em; height: 1.1em; vertical-align: -.2em; background: var(--honey-400); margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.prompt-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1.1rem; border-top: 1px solid var(--line-dark); font-size: .8rem; color: var(--on-dark-muted); }
.prompt-card-foot span { display: inline-flex; align-items: center; gap: .45rem; }
.prompt-card-foot .icon { width: 16px; color: var(--honey-400); }

.roles { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 2.2rem; margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: 1.6rem; border-top: 1px solid var(--line-dark); font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--on-dark-muted); }
.roles li { opacity: 0; animation: fadein 1s var(--ease-out) forwards; }
.roles li:nth-child(n) { animation-delay: calc(1.2s + var(--n, 0) * 80ms); }
.roles li:nth-child(1) { --n: 0 } .roles li:nth-child(2) { --n: 1 } .roles li:nth-child(3) { --n: 2 } .roles li:nth-child(4) { --n: 3 } .roles li:nth-child(5) { --n: 4 } .roles li:nth-child(6) { --n: 5 } .roles li:nth-child(7) { --n: 6 }
@keyframes fadein { to { opacity: 1; } }

@media (max-width: 899px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hex-field { width: 120vw; right: -50%; top: 0; }
	.prompt-card-body { min-height: 11rem; font-size: .8rem; }
}

/* ---------- Manifesto ---------- */
.statement { font-size: clamp(2rem, 1.2rem + 3vw, 4rem); line-height: 1.1; max-width: 22ch; }
.strike { position: relative; color: var(--stone-500); white-space: nowrap; }
.strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 55%; height: 2px; background: var(--honey-500); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out) .7s; }
.is-in .strike::after, .strike.is-in::after, [data-reveal].is-in .strike::after { transform: scaleX(1); }
/* The replacement word appears once the strike-through has been drawn. */
.swap { font-style: italic; font-weight: 400; color: var(--accent-text); display: inline-block; }
.js .swap { opacity: 0; transform: translateY(.3em); filter: blur(4px); transition: opacity .8s var(--ease-out) 1.6s, transform .8s var(--ease-out) 1.6s, filter .8s var(--ease-out) 1.6s; }
.js .is-in .swap { opacity: 1; transform: none; filter: none; }
mark { background: linear-gradient(transparent 62%, rgba(217, 164, 65, .38) 62%) no-repeat; background-size: 0 100%; color: inherit; font-style: italic; transition: background-size 1.1s var(--ease-out) 2.4s; }
.is-in mark { background-size: 100% 100%; }
.manifesto-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2.5rem; border-top: 1px solid var(--line-strong); }
.manifesto-cols h3 { font-size: .78rem; font-family: var(--sans); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.manifesto-cols p { font-size: 1.08rem; max-width: 48ch; }
@media (max-width: 767px) { .manifesto-cols { grid-template-columns: 1fr; } }

/* ---------- Playbook teaser ---------- */
.pb-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.domain-list { list-style: none; margin-top: 3rem; border-top: 1px solid var(--line-strong); }
.domain-list li { display: grid; grid-template-columns: 3rem 1fr auto; align-items: baseline; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease-out), background .4s; }
.domain-list li:hover { padding-left: .6rem; }
.domain-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.25; }
.domain-tag { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); text-align: right; }
.card-elevated { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow); }
.card-elevated > .h3 + .muted { margin: .6rem 0 1.6rem; font-size: .95rem; }
.pb-form { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 899px) {
	.pb-grid { grid-template-columns: 1fr; }
	.pb-form { position: static; }
	.domain-list li { grid-template-columns: 2.4rem 1fr; }
	.domain-tag { grid-column: 2; text-align: left; }
}

/* ---------- Safety ---------- */
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.anon { margin-top: 2.5rem; padding: 1.5rem; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .02); }
.anon-line { font-family: var(--mono); font-size: .9rem; line-height: 2; color: #D8DEE7; }
.tok { display: inline-block; padding: 0 .4em; border-radius: 3px; white-space: nowrap; background: rgba(163, 55, 43, .28); color: #F2C7C0; transition: opacity .3s var(--ease-out), filter .3s, background .5s, color .5s; }
.tok.is-swapping { opacity: 0; filter: blur(4px); }
.anon.is-safe .tok { background: rgba(217, 164, 65, .2); color: var(--honey-300); }
.anon-state { position: relative; margin-top: 1rem; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; height: 1.2em; }
.anon-state span { position: absolute; left: 0; display: inline-flex; gap: .4rem; align-items: center; transition: opacity .5s; }
.anon-state .icon { width: 14px; height: 14px; }
.s-raw { color: #E6A69C; }
.s-safe { color: var(--honey-300); opacity: 0; }
.anon.is-safe .s-raw { opacity: 0; }
.anon.is-safe .s-safe { opacity: 1; }
.rules { list-style: none; }
.rules li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line-dark); }
.rules li:last-child { border-bottom: 1px solid var(--line-dark); }
.rules h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; }
.rules p { color: var(--on-dark-muted); margin-top: .35rem; font-size: .96rem; }
@media (max-width: 899px) { .safety-grid { grid-template-columns: 1fr; } }

/* ---------- Paths ---------- */
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3.5rem; }
.path-card { position: relative; display: flex; flex-direction: column; gap: 1rem; min-height: 360px; padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; overflow: hidden; transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), border-color .4s; }
.path-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-50 -50 100 100'%3E%3Cpath d='M0-46 40-23v46L0 46-40 23v-46Z' fill='none' stroke='%23B98A2E' stroke-opacity='.35'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform 1.2s var(--ease-out); }
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.path-card:hover::before { transform: rotate(30deg) scale(1.08); }
.path-kicker { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.path-card h3 { font-family: var(--serif); font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.6rem); line-height: 1.05; }
.path-card p { color: var(--text-muted); max-width: 44ch; }
.path-link { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; font-weight: 550; }
.path-link .icon { transition: transform .35s var(--ease-out); }
.path-card:hover .path-link .icon { transform: translateX(5px); }
.path-card-dark { background: var(--ink-800); color: var(--on-dark); border-color: var(--ink-800); }
.path-card-dark p { color: var(--on-dark-muted); }
.path-card-dark .path-kicker { color: var(--honey-300); }
.path-card-dark::before { filter: brightness(1.6); }
@media (max-width: 767px) { .paths-grid { grid-template-columns: 1fr; } .path-card { min-height: 300px; } }

/* ---------- Vacancies ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.vcard { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.75rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s; }
.vcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.vcard:focus-within { border-color: var(--honey-500); }
.vcard-top { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; font-size: .8rem; color: var(--text-muted); }
.tag { display: inline-flex; align-items: center; min-height: 24px; padding: 0 .6rem; border-radius: 999px; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: var(--ivory-100); color: var(--ink-700); border: 1px solid var(--line-strong); }
.tag-interim { background: rgba(217, 164, 65, .14); color: var(--honey-700); border-color: rgba(185, 138, 46, .35); }
.section-ink .tag { background: rgba(243, 238, 228, .08); color: var(--on-dark); border-color: var(--line-dark); }
.section-ink .tag-interim { color: var(--honey-300); }
.vcard-title { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; line-height: 1.12; margin-top: .4rem; }
.vcard-title a { text-decoration: none; }
.vcard-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.vcard-title a:focus-visible { outline: none; }
.vcard-title a:focus-visible::after { outline: 2px solid var(--focus); outline-offset: 3px; }
.vcard-client { color: var(--text-muted); font-size: .95rem; }
.vcard-meta { list-style: none; display: grid; gap: .45rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .88rem; }
.vcard-meta li { display: flex; align-items: center; gap: .55rem; }
.vcard-meta .icon { width: 16px; height: 16px; color: var(--accent); }
.vcard-go { position: absolute; top: 1.6rem; right: 1.6rem; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-700); transition: background .35s, color .35s, transform .5s var(--ease-out); }
.vcard-go .icon { width: 16px; }
.vcard:hover .vcard-go { background: var(--ink-800); color: var(--on-dark); transform: rotate(-45deg); }
.vcard[hidden] { display: none; }
@media (max-width: 1023px) { .vgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .vgrid { grid-template-columns: 1fr; } }

.filters { display: grid; grid-template-columns: 2fr repeat(3, 1fr) auto; gap: .9rem; align-items: end; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-top: calc(var(--section) * -1 - 2.2rem); position: relative; z-index: 2; }
.filter label, .filter legend { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .4rem; padding: 0; }
.filter { border: 0; margin: 0; padding: 0; min-width: 0; }
.filter-search input { padding-left: 1rem; }
.seg { display: flex; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.seg label { margin: 0; flex: 1; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; min-height: 48px; padding: 0 .9rem; font-size: .88rem; cursor: pointer; transition: background .25s, color .25s; white-space: nowrap; }
.seg input:checked + span { background: var(--ink-800); color: var(--on-dark); }
.seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: -2px; }
.results-count { margin: 2rem 0 1.25rem; font-size: .88rem; color: var(--text-muted); }
.vgrid-list { grid-template-columns: repeat(3, 1fr); }
.empty { text-align: center; padding: 4rem 1rem; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.empty p { color: var(--text-muted); max-width: 52ch; margin: .75rem auto 1.5rem; }
@media (max-width: 1199px) { .filters { grid-template-columns: repeat(3, 1fr); } .filter-search { grid-column: span 2; } .filter-search, .filter-type { order: -1; } }
@media (max-width: 1023px) { .vgrid-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .filters { grid-template-columns: 1fr; } .filter-search { grid-column: auto; } .vgrid-list { grid-template-columns: 1fr; } }

/* ---------- Approach ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 4rem; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 1.1rem; height: 1px; background: var(--line-strong); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease-in-out) .2s; }
.steps.is-in::before { transform: scaleX(1); }
.steps li { position: relative; padding-top: 3.2rem; }
.step-num { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--ivory-100); border: 1px solid var(--honey-500); font-family: var(--serif); font-style: italic; color: var(--honey-700); font-size: 1rem; }
.steps h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: .5rem; }
.steps p { color: var(--text-muted); font-size: .96rem; }
@media (max-width: 899px) {
	.steps { grid-template-columns: 1fr; gap: 0; }
	.steps::before { left: 1.15rem; right: auto; top: 0; bottom: 0; width: 1px; height: auto; transform: scaleY(0); transform-origin: top; }
	.steps.is-in::before { transform: scaleY(1); }
	.steps li { padding: 0 0 2.5rem 3.6rem; }
}

/* ---------- Closing ---------- */
.closing { overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 70vw; aspect-ratio: 1; z-index: -1; background: radial-gradient(closest-side, rgba(217, 164, 65, .14), transparent); }
.closing-inner { display: flex; justify-content: space-between; align-items: end; gap: 2.5rem; flex-wrap: wrap; }
.closing .display-sm em { color: var(--honey-400); }

/* ---------- Page hero ---------- */
.page-hero { padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 5vw, 7rem)); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 60% at 85% 20%, rgba(217, 164, 65, .10), transparent 70%); }
.page-hero-compact { padding-bottom: clamp(3.5rem, 3rem + 4vw, 6rem); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.facts { list-style: none; display: flex; gap: 2.5rem; margin-top: 2.5rem; }
.facts li { display: flex; flex-direction: column; }
.facts strong { font-family: var(--serif); font-size: 3rem; font-weight: 500; line-height: 1; color: var(--honey-400); }
.facts span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: .4rem; }
.card-on-dark { color: var(--text); }
.unlocked-card { display: flex; gap: 1rem; padding: 1.75rem; border: 1px solid rgba(217, 164, 65, .35); border-radius: var(--radius-lg); background: rgba(217, 164, 65, .06); }
.unlocked-card > .icon { width: 28px; height: 28px; color: var(--honey-400); }
.unlocked-card p { color: var(--on-dark-muted); margin: .5rem 0 1.25rem; }
.back { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 2rem; font-size: .88rem; color: var(--on-dark-muted); text-decoration: none; }
.back .icon { transform: rotate(180deg); width: 16px; transition: transform .3s var(--ease-out); }
.back:hover { color: var(--on-dark); }
.back:hover .icon { transform: rotate(180deg) translateX(4px); }
@media (max-width: 899px) { .page-hero-grid { grid-template-columns: 1fr; } .facts { gap: 1.75rem; } .facts strong { font-size: 2.4rem; } }

/* ---------- Library ---------- */
.library-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.library-side { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.toc { list-style: none; margin-top: 1.25rem; border-top: 1px solid var(--line-strong); }
.toc a { display: grid; grid-template-columns: 2rem 1fr; gap: .5rem; padding: .7rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: .9rem; line-height: 1.4; transition: color .2s, padding .3s var(--ease-out); }
.toc a:hover, .toc a.is-active { color: var(--accent-text); padding-left: .35rem; }
.toc .num { font-size: 1rem; }
.side-note { display: flex; gap: .75rem; margin-top: 1.75rem; padding: 1rem; background: var(--ivory-100); border-radius: var(--radius); font-size: .85rem; color: var(--text-muted); }
.side-note .icon { color: var(--accent); width: 18px; }
.rules-inline { padding: 2rem; background: var(--ivory-100); border-radius: var(--radius-lg); margin-bottom: 3rem; }
.rules-inline ol { margin: 1rem 0 0 1.2rem; display: grid; gap: .5rem; }
.rules-inline li::marker { font-family: var(--serif); color: var(--accent-text); }
.prompt { padding-block: 2.75rem; border-top: 1px solid var(--line-strong); scroll-margin-top: calc(var(--header-h) + 1rem); }
.prompt-head { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; }
.prompt-head .num { font-size: 1.5rem; line-height: 1.2; }
.prompt-domain { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.prompt-title { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 600; line-height: 1.1; margin: .35rem 0 .6rem; }
.prompt-goal { color: var(--text-muted); max-width: 60ch; }
.prompt-code { position: relative; margin: 1.75rem 0 0 4rem; background: var(--ink-800); border-radius: var(--radius-lg); overflow: hidden; }
.prompt-code pre { margin: 0; padding: 1.75rem 1.5rem 1.5rem; padding-right: 9rem; font: .86rem/1.75 var(--mono); color: #D8DEE7; white-space: pre-wrap; word-break: break-word; }
.copy-btn { position: absolute; top: .9rem; right: .9rem; display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: 0 .9rem; background: rgba(243, 238, 228, .08); border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--on-dark); font-size: .8rem; cursor: pointer; transition: background .25s, border-color .25s; }
.copy-btn:hover { background: rgba(243, 238, 228, .14); }
.copy-btn .icon { width: 15px; height: 15px; }
.copy-btn.is-done { border-color: var(--honey-400); color: var(--honey-300); }
.prompt-safety { display: flex; gap: .75rem; margin: 1rem 0 0 4rem; padding: 1rem 1.25rem; border-left: 2px solid var(--honey-500); background: rgba(217, 164, 65, .07); font-size: .92rem; }
.prompt-safety .icon { color: var(--accent); width: 18px; margin-top: .15rem; }
.prompt-code-locked pre { color: rgba(216, 222, 231, .75); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); mask-image: linear-gradient(180deg, #000 30%, transparent 95%); padding-right: 1.5rem; }
.unlock-link { display: inline-flex; align-items: center; gap: .5rem; margin: 1rem 0 0 4rem; font-weight: 550; color: var(--accent-text); text-decoration: none; min-height: 44px; }
.unlock-link .icon { width: 16px; }
@media (max-width: 899px) {
	.library-grid { grid-template-columns: 1fr; }
	.library-side { position: static; }
	.prompt-code, .prompt-safety, .unlock-link { margin-left: 0; }
	.prompt-code pre { padding: 4rem 1.1rem 1.25rem; font-size: .8rem; }
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 559px) { .field-row { grid-template-columns: 1fr; } }
.field label, .field .label { font-size: .85rem; font-weight: 550; color: var(--text); }
.opt { font-weight: 400; color: var(--text-muted); font-size: .8rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], select, textarea {
	width: 100%; min-height: 48px; padding: .7rem .9rem; background: var(--ivory-50); border: 1px solid var(--line-strong); border-radius: var(--radius);
	font-size: 1rem; color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23545B68' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; background-size: 18px; padding-right: 2.5rem; }
input::placeholder, textarea::placeholder { color: #8F96A1; }
input:hover, select:hover, textarea:hover { border-color: var(--stone-500); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--honey-500); background: #fff; box-shadow: 0 0 0 3px rgba(217, 164, 65, .22); }
.field.has-error input, .field.has-error select, .field.has-error .dropzone { border-color: var(--danger); }
.field-error { font-size: .82rem; color: var(--danger); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; font-size: .86rem; color: var(--text-muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--ink-800); cursor: pointer; }
.check a { color: var(--text); }
.check.has-error { color: var(--danger); }
.help { font-size: .8rem; color: var(--text-muted); }
.form-note { display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .8rem; color: var(--text-muted); }
.form-note .icon { width: 14px; }
.form-status { padding: .9rem 1rem; border-radius: var(--radius); font-size: .92rem; }
.form-status.is-ok { background: rgba(47, 107, 79, .1); color: var(--ok); }
.form-status.is-err { background: rgba(163, 55, 43, .08); color: var(--danger); }
.form-live:empty { display: none; }
.form-success { text-align: center; padding: 2rem 1rem; animation: rise .7s var(--ease-out); }
.form-success .icon { width: 44px; height: 44px; margin: 0 auto 1rem; padding: 10px; border-radius: 50%; background: rgba(217, 164, 65, .16); color: var(--honey-700); }
.form-success h3 { font-family: var(--serif); font-size: 1.7rem; margin-bottom: .5rem; }
.form-success p { color: var(--text-muted); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

.dropzone { position: relative; display: grid; justify-items: center; gap: .35rem; padding: 1.5rem 1rem; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--ivory-50); cursor: pointer; transition: border-color .25s, background .25s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--honey-500); background: rgba(217, 164, 65, .06); }
.dropzone:focus-within { border-color: var(--honey-500); box-shadow: 0 0 0 3px rgba(217, 164, 65, .22); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone .icon { color: var(--accent); width: 24px; height: 24px; }
.dropzone-text { font-size: .9rem; }
.dropzone-file { font-size: .8rem; color: var(--text-muted); }
.dropzone.has-file .dropzone-file { color: var(--ok); font-weight: 550; }

/* ---------- CV / employer sections ---------- */
.cv-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.assurances, .contact-lines { list-style: none; display: grid; gap: 1.1rem; margin-top: 2.5rem; }
.assurances li, .contact-lines li { display: flex; gap: .85rem; align-items: flex-start; color: var(--text-muted); }
.assurances .icon, .contact-lines .icon { color: var(--accent); margin-top: .2rem; }
.contact-lines a { color: var(--text); font-weight: 500; }
.single-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.apply { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.vmeta-lg { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line-dark); }
.vmeta-lg li { display: flex; gap: .75rem; align-items: flex-start; }
.vmeta-lg .icon { color: var(--honey-400); margin-top: .2rem; }
.vmeta-lg small { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
@media (max-width: 899px) { .cv-grid, .single-grid { grid-template-columns: 1fr; } .apply { position: static; } }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service { padding: clamp(1.75rem, 1rem + 2vw, 2.5rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.service > .icon { width: 28px; height: 28px; color: var(--accent); margin-bottom: 1.5rem; }
.service p { color: var(--text-muted); margin: .75rem 0 1.25rem; }
.ticks { list-style: none; display: grid; gap: .55rem; font-size: .92rem; }
.ticks li { display: flex; gap: .55rem; align-items: flex-start; }
.ticks .icon { width: 16px; color: var(--honey-500); margin-top: .3rem; }
@media (max-width: 899px) { .services { grid-template-columns: 1fr; } }

/* ---------- Prose ---------- */
.prose { font-size: 1.05rem; line-height: 1.75; }
.prose-narrow { max-width: 760px; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; margin-top: 2.5rem; line-height: 1.15; }
.prose ul { padding-left: 1.2rem; display: grid; gap: .4rem; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent-text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: var(--on-dark); padding: clamp(4rem, 3rem + 4vw, 6rem) 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer-brand p { color: var(--on-dark-muted); margin-top: 1.25rem; max-width: 34ch; font-size: .95rem; }
.footer-col h2 { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--honey-300); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; display: grid; gap: .35rem; }
.footer-col a { color: var(--on-dark-muted); text-decoration: none; font-size: .93rem; display: inline-block; padding-block: .3rem; transition: color .2s; }
.footer-col a:hover { color: var(--on-dark); }
.footer-contact li { display: flex; gap: .6rem; align-items: center; color: var(--on-dark-muted); font-size: .93rem; }
.footer-contact .icon { width: 16px; color: var(--honey-400); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.75rem; font-size: .82rem; color: var(--on-dark-muted); }
.footer-bottom a { color: inherit; }
@media (max-width: 899px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 499px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.hex-field use { stroke-dashoffset: 0; }
	.hex-dot, .roles li { opacity: .9; }
}

/* ---------- Print: the Playbook as PDF ---------- */
@media print {
	@page { margin: 18mm 16mm; }
	body { background: #fff; color: #000; font-size: 10.5pt; }
	.site-header, .site-footer, .library-side, .copy-btn, .unlocked-card .btn, .hex-field, .page-hero .card-elevated, .skip { display: none !important; }
	.section-ink, .page-hero { background: #fff !important; color: #000 !important; padding: 0 0 8mm !important; }
	.page-hero .lede, .facts span { color: #333 !important; }
	.display-sm em, .facts strong { color: #8A6416 !important; }
	.library-grid { display: block; }
	section { padding: 0 !important; }
	.js [data-reveal] { opacity: 1 !important; transform: none !important; }
	.prompt { break-inside: avoid-page; padding-block: 6mm; }
	.prompt-code { background: #F6F1E8 !important; margin-left: 0; }
	.prompt-code pre { color: #111 !important; padding: 5mm !important; font-size: 9pt; }
	.prompt-safety { margin-left: 0; }
	.rules-inline { break-after: page; }
	a { text-decoration: none; }
}
