/* AAAP-NLP — main stylesheet */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/source-serif-4-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/source-serif-4-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("../fonts/source-serif-4-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("../fonts/source-serif-4-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--paper: #fcfaf6;
	--white: #fffdf9;
	--cream: #f5efe3;
	--sand: #ece3d2;
	--line: #e5dac8;
	--line-strong: #d6c7ae;
	--ink: #1d1510;
	--ink-2: #3a2a1e;
	--muted: #6b5e51;
	--brown: #4a2e17;
	--gold: #c99a3a;
	--gold-2: #e2bd6b;
	--gold-3: #f3dea6;
	--gold-deep: #8a6220;
	--green: #2e6a4f;
	--green-bg: #e5f0e8;
	--red: #9b2c2c;
	--red-bg: #f8e8e6;

	--serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(29, 21, 16, .05), 0 10px 30px -12px rgba(29, 21, 16, .14);
	--shadow-lg: 0 2px 4px rgba(29, 21, 16, .05), 0 30px 60px -24px rgba(29, 21, 16, .28);
	--gutter: clamp(16px, 4vw, 32px);
	--max: 1200px;
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink-2);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brown); text-decoration-color: rgba(201, 154, 58, .6); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); text-decoration-color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold-3); color: var(--ink); }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.012em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); line-height: 1.04; letter-spacing: -.022em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); }
h3 { font-size: 1.32rem; line-height: 1.25; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--cream); padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(800px + 2 * var(--gutter)); }
.container--mid { max-width: calc(980px + 2 * var(--gutter)); }
.section { padding: clamp(4.2rem, 8vw, 7.5rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: #d9ccb8; }
.section--dark h2, .section--dark h3 { color: #f7efe0; }
.section--dark a { color: var(--gold-2); }
.section--line { border-top: 1px solid var(--line); }

.eyebrow { display: inline-flex; align-items: center; gap: .55em; font-family: var(--sans); font-size: .76rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 1.1rem; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--plain::before { display: none; }
.section--dark .eyebrow { color: var(--gold-2); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--muted); max-width: 44em; }
.section--dark .lead { color: #cbbda7; }
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head--split > div { max-width: 700px; }
.fine { font-size: .86rem; color: var(--muted); }

/* ------------------------------------------------------------ buttons */
.btn { --b: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: .55em; font-family: var(--sans); font-size: .96rem; font-weight: 600; line-height: 1.1; padding: .95rem 1.45rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--ink); color: #f7e8c6; box-shadow: 0 8px 20px -10px rgba(29, 21, 16, .6); }
.btn--primary:hover { background: var(--brown); color: #fff5dd; }
.btn--dark { background: var(--brown); color: #fff5dd; }
.btn--dark:hover { background: var(--ink); color: #fff5dd; }
.btn--gold { background: linear-gradient(180deg, #e7c677, #c99a3a); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(201, 154, 58, .9); }
.btn--gold:hover { color: var(--ink); background: linear-gradient(180deg, #f0d48f, #d3a646); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--white); border-color: var(--gold); color: var(--ink); }
.section--dark .btn--ghost { color: #f3e7cf; border-color: rgba(226, 189, 107, .4); }
.section--dark .btn--ghost:hover { background: rgba(226, 189, 107, .1); color: #fff; border-color: var(--gold-2); }
.btn--linkedin { background: #0a66c2; color: #fff; }
.btn--linkedin:hover { background: #084d93; color: #fff; }
.btn--small { font-size: .86rem; padding: .62rem 1rem; }
.btn--lg { font-size: 1.02rem; padding: 1.08rem 1.7rem; }
.btn--block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--brown); text-decoration: none; }
.link .icon { transition: transform .2s; }
.link:hover .icon { transform: translateX(3px); }
.link--light { color: var(--gold-2); }

/* ------------------------------------------------------------ utility bar + header */
.utility { background: var(--ink); color: #bfae95; font-size: .8rem; }
.utility .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.utility a { color: #e9dcc4; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.utility a:hover { color: var(--gold-2); }
.utility__links { display: flex; gap: 1.4rem; }
.utility__note { display: inline-flex; align-items: center; gap: .5em; }
.utility__note .dot { width: 6px; height: 6px; border-radius: 50%; background: #4fa77c; box-shadow: 0 0 0 3px rgba(79, 167, 124, .2); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252, 250, 246, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -20px rgba(29, 21, 16, .35); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; }
.brand__abbr { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .2em; color: var(--gold-deep); }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; color: var(--ink); max-width: 17.5em; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav ul a { display: block; padding: .55rem .78rem; border-radius: 999px; color: var(--ink-2); font-size: .94rem; font-weight: 550; text-decoration: none; transition: background .2s, color .2s; }
.nav ul a:hover { background: var(--cream); color: var(--ink); }
.nav ul a[aria-current="page"] { color: var(--ink); background: var(--cream); }
.nav__cta { margin-left: .6rem; }
.nav-toggle { display: none; align-items: center; gap: .5rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .55rem .95rem; font: 600 .9rem var(--sans); color: var(--ink); cursor: pointer; }
.nav-toggle__bars { width: 16px; height: 10px; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .25s, top .25s; }
.nav-toggle__bars::before { top: 1px; }
.nav-toggle__bars::after { top: 7px; }
.nav-open .nav-toggle__bars::before { top: 4px; transform: rotate(45deg); }
.nav-open .nav-toggle__bars::after { top: 4px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.nav { position: fixed; inset: calc(var(--header-h) + var(--utility-h, 0px)) 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); flex-direction: column; align-items: stretch; padding: 1rem var(--gutter) 1.5rem; gap: .6rem; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100vh - var(--header-h)); overflow: auto; }
	.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
	.nav ul { flex-direction: column; align-items: stretch; }
	.nav ul a { font-size: 1.05rem; padding: .8rem 1rem; }
	.nav__cta { margin: .4rem 0 0; }
	.nav__cta .btn { width: 100%; }
}
@media (max-width: 560px) {
	.brand__name { display: none; }
	.brand__abbr { font-size: .82rem; letter-spacing: .16em; color: var(--ink); }
	.brand__sub { display: block; }
	.utility__note { display: none; }
	.utility .container { justify-content: center; }
}
.brand__sub { display: none; font-size: .7rem; color: var(--muted); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(4rem, 7vw, 6rem); background:
	radial-gradient(900px 520px at 82% 36%, rgba(226, 189, 107, .22), transparent 62%),
	radial-gradient(700px 400px at 8% 100%, rgba(236, 227, 210, .8), transparent 70%),
	var(--paper); }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero__badge { display: inline-flex; align-items: center; gap: .6rem; padding: .42rem .9rem .42rem .5rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink-2); margin-bottom: 1.6rem; box-shadow: 0 6px 18px -14px rgba(29, 21, 16, .5); }
.hero__badge span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--gold-2); }
.hero__badge .icon { width: 13px; height: 13px; }
.hero h1 { max-width: 12.5em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--brown); }
.hero__lead { font-size: clamp(1.1rem, 1.55vw, 1.25rem); color: var(--muted); max-width: 33em; margin-bottom: 2.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.4rem; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; color: var(--ink-2); font-size: .9rem; font-weight: 550; }
.hero__trust li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__trust .icon { color: var(--gold-deep); }

.seal-stage { position: relative; justify-self: center; width: min(100%, 470px); aspect-ratio: 1; }
.seal-stage__ring { position: absolute; inset: 0; animation: spin 140s linear infinite; }
.seal-stage__ring--2 { inset: 7%; animation-direction: reverse; animation-duration: 200s; }
.seal-stage__disc { position: absolute; inset: 13%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fffaf0, #f3e9d6 70%); box-shadow: inset 0 0 0 1px rgba(201, 154, 58, .45), 0 40px 80px -40px rgba(74, 46, 23, .55), 0 0 0 10px rgba(255, 253, 249, .6); }
.seal-stage__seal { position: absolute; inset: 16.5%; width: 67%; height: 67%; filter: drop-shadow(0 10px 18px rgba(74, 46, 23, .18)); }
.seal-stage__card { position: absolute; left: -12%; bottom: -3%; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: .9rem 1.05rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .8rem; min-width: 250px; animation: float 7s ease-in-out infinite; }
.seal-stage__card .check { width: 38px; height: 38px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; flex: none; }
.seal-stage__card small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.seal-stage__card strong { display: block; font-size: .98rem; color: var(--ink); }
.seal-stage__card span.meta { display: block; font-size: .82rem; color: var(--muted); }
.seal-stage__chip { position: absolute; right: -2%; top: 10%; background: var(--ink); color: #f1e3c6; border-radius: 999px; padding: .5rem .95rem; font-size: .8rem; font-weight: 600; box-shadow: var(--shadow-lg); display: inline-flex; gap: .45rem; align-items: center; animation: float 8s ease-in-out infinite reverse; }
.seal-stage__chip .icon { color: var(--gold-2); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
	.hero .container { grid-template-columns: 1fr; }
	.seal-stage { width: min(88%, 380px); order: -1; margin-bottom: .5rem; }
	.seal-stage__card { left: -4%; min-width: 0; }
	.seal-stage__chip { right: -4%; }
}

/* ------------------------------------------------------------ stats band */
.stats { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1rem, 2vw, 1.8rem); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-family: var(--serif); font-size: clamp(2.2rem, 3.6vw, 3.1rem); font-weight: 600; color: var(--ink); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: .55rem; font-size: .93rem; color: var(--muted); line-height: 1.4; }
.stats__note { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--muted); padding: 0 0 1.2rem; }
.stats__note .dot { width: 7px; height: 7px; border-radius: 50%; background: #4fa77c; box-shadow: 0 0 0 3px rgba(79, 167, 124, .18); }
@media (max-width: 760px) {
	.stats__grid { grid-template-columns: repeat(2, 1fr); }
	.stat { padding: 1.4rem 1rem; }
	.stat:nth-child(odd) { border-left: 0; padding-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ------------------------------------------------------------ cards / pillars */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.pillar { padding: clamp(1.5rem, 2.4vw, 2rem); display: flex; flex-direction: column; gap: .2rem; transition: transform .25s, box-shadow .25s, border-color .25s; }
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.pillar__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-deep); background: radial-gradient(circle at 30% 30%, #fff8e6, #f3e4bf); box-shadow: inset 0 0 0 1px rgba(201, 154, 58, .5); margin-bottom: 1.1rem; }
.pillar__icon .icon { width: 24px; height: 24px; }
.pillar h3 { margin-bottom: .45rem; }
.pillar p { color: var(--muted); font-size: .98rem; margin: 0 0 1rem; }
.pillar .link { margin-top: auto; font-size: .92rem; }

/* ------------------------------------------------------------ pathway (dark) */
.pathway { position: relative; }
.pathway::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(201, 154, 58, .05) 0 2px, transparent 2px 26px); pointer-events: none; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(226, 189, 107, .7), transparent); }
.step { position: relative; background: rgba(255, 250, 240, .035); border: 1px solid rgba(226, 189, 107, .2); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.7rem; backdrop-filter: blur(2px); }
.step__num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 1px solid var(--gold); color: var(--gold-2); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin: -2.9rem 0 1.2rem; box-shadow: 0 0 0 6px var(--ink); }
.step__level { font-size: .74rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-2); font-weight: 650; margin-bottom: .4rem; }
.step h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.step p { color: #cbbda7; font-size: .97rem; }
.step ul { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 1px solid rgba(226, 189, 107, .18); padding-top: 1rem; display: grid; gap: .5rem; }
.step li { display: flex; gap: .6rem; font-size: .92rem; color: #e6d9c2; }
.step li .icon { color: var(--gold); margin-top: .22em; width: 1em; height: 1em; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 2.4rem; } .steps::before { display: none; } }

/* ------------------------------------------------------------ assessment */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .9rem; }
.checks li { display: flex; gap: .85rem; align-items: flex-start; }
.checks li > .icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--green-bg); color: var(--green); margin-top: .05em; }
.checks strong { display: block; }
.checks span { color: var(--muted); font-size: .96rem; }
.bands { padding: clamp(1.5rem, 3vw, 2.2rem); }
.bands__title { font-family: var(--sans); font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); font-weight: 650; margin-bottom: 1.4rem; }
.bands__bar { display: grid; grid-template-columns: 60fr 10fr 20fr 10fr; height: 16px; border-radius: 999px; overflow: hidden; margin-bottom: 1rem; box-shadow: inset 0 0 0 1px rgba(29, 21, 16, .06); }
.bands__bar span:nth-child(1) { background: #e9dfcf; }
.bands__bar span:nth-child(2) { background: #e3c98f; }
.bands__bar span:nth-child(3) { background: #cda047; }
.bands__bar span:nth-child(4) { background: #8a6220; }
.bands__legend { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.bands__legend li { display: grid; grid-template-columns: 14px 1fr auto; gap: .8rem; align-items: center; font-size: .95rem; }
.bands__legend i { width: 14px; height: 14px; border-radius: 4px; }
.bands__legend b { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.bands__foot { border-top: 1px solid var(--line); margin-top: 1.4rem; padding-top: 1.1rem; font-size: .9rem; color: var(--muted); }

/* ------------------------------------------------------------ verify band */
.verify { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); background: linear-gradient(135deg, #20170f, #3a2616 70%, #4a2e17); color: #d9ccb8; padding: clamp(2rem, 5vw, 3.6rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; box-shadow: var(--shadow-lg); }
.verify::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(226, 189, 107, .22), transparent 65%); pointer-events: none; }
.verify h2 { color: #f7efe0; }
.verify p { color: #cbbda7; }
.verify__form { position: relative; z-index: 1; background: rgba(255, 250, 240, .06); border: 1px solid rgba(226, 189, 107, .28); border-radius: var(--radius); padding: clamp(1.2rem, 2.5vw, 1.8rem); }
.verify__form label { color: #efe3cc; font-size: .88rem; font-weight: 600; display: block; margin-bottom: .5rem; }
.verify__form .input { background: #fffdf9; border-color: transparent; }
.verify__form .fine { color: #b3a48d; margin: .9rem 0 0; }
.verify__form .fine a { color: var(--gold-2); }
@media (max-width: 900px) { .verify { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ activity */
.activity { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.activity li { display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 1rem; align-items: center; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.activity time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .92rem; }
.activity__what { font-weight: 600; color: var(--ink); }
.activity__what small { display: block; font-weight: 400; color: var(--muted); font-size: .86rem; }
.activity__n { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); }
.activity__n small { font-family: var(--sans); font-size: .78rem; color: var(--muted); font-weight: 500; margin-left: .3rem; }
@media (max-width: 560px) { .activity li { grid-template-columns: 1fr auto; } .activity time { grid-column: 1 / -1; } }

/* ------------------------------------------------------------ media / photos */
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(.7rem, 1.5vw, 1rem); aspect-ratio: 5 / 4; }
.mosaic figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--sand); }
.mosaic figure:first-child { grid-row: 1 / 3; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption { position: absolute; left: .8rem; bottom: .8rem; right: .8rem; color: #fff; font-size: .82rem; font-weight: 600; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.photo { border-radius: var(--radius); overflow: hidden; background: var(--sand); margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.tone { filter: saturate(.85) sepia(.12) contrast(1.02); }

/* ------------------------------------------------------------ news */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
@media (max-width: 980px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } }
.news-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.news-card__img { aspect-ratio: 16 / 10; background: var(--sand); overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .news-card__img img { transform: scale(1.03); }
.news-card__img--seal { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #fffaf0, #efe3cc); }
.news-card__img--seal img { width: 42%; height: auto; object-fit: contain; }
.news-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.news-card__meta { font-size: .8rem; color: var(--muted); display: flex; gap: .6rem; align-items: center; }
.news-card__cat { color: var(--gold-deep); font-weight: 650; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }
.news-card h3 { font-size: 1.22rem; margin: 0; }
.news-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ------------------------------------------------------------ quote */
.quote { text-align: center; max-width: 900px; margin: 0 auto; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.3; color: #f7efe0; font-weight: 500; letter-spacing: -.01em; }
.quote blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--gold); margin-bottom: .9rem; }
.quote cite { display: block; margin-top: 1.4rem; font-style: normal; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; }

/* ------------------------------------------------------------ member CTA */
.member-cta { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding: clamp(1.8rem, 4vw, 3.2rem); overflow: hidden; }
@media (max-width: 860px) { .member-cta { grid-template-columns: 1fr; } }
.mock-badge { position: relative; aspect-ratio: 1; max-width: 340px; width: 100%; justify-self: center; border-radius: 28px; background: linear-gradient(160deg, #241a12, #1d1510); overflow: hidden; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; transform: rotate(-3deg); }
.mock-badge::before { content: ""; position: absolute; inset: 0 0 45% 0; background: repeating-linear-gradient(-45deg, rgba(201, 154, 58, .13) 0 6px, transparent 6px 20px); }
.mock-badge__seal { position: relative; width: 46%; aspect-ratio: 1; border-radius: 50%; background: #f5eddc; box-shadow: 0 0 0 3px var(--gold); display: grid; place-items: center; margin-bottom: 1.1rem; }
.mock-badge__seal img { width: 90%; }
.mock-badge small { position: relative; color: var(--gold-2); letter-spacing: .3em; font-size: .62rem; font-weight: 700; }
.mock-badge strong { position: relative; font-family: var(--serif); color: #f5eddc; font-size: 1.5rem; font-weight: 600; line-height: 1.15; margin: .3rem 0 .15rem; }
.mock-badge span { position: relative; color: #cdbfa9; font-size: .78rem; }

/* ------------------------------------------------------------ page hero */
.page-hero { position: relative; padding: clamp(3.2rem, 6vw, 5.5rem) 0 clamp(2.6rem, 5vw, 4rem); background: radial-gradient(800px 380px at 88% 0%, rgba(226, 189, 107, .18), transparent 65%), var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -90px; top: 50%; width: 380px; height: 380px; transform: translateY(-50%); border-radius: 50%; background: repeating-linear-gradient(-45deg, rgba(201, 154, 58, .16) 0 9px, transparent 9px 26px); mask-image: radial-gradient(circle, #000 55%, transparent 72%); -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%); pointer-events: none; }
.page-hero h1 { max-width: 15em; }
.page-hero .lead { margin-bottom: 0; }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 1.2rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ------------------------------------------------------------ prose */
.prose { font-size: 1.07rem; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-size: clamp(1.55rem, 2.4vw, 2rem); margin: 2.6rem 0 .9rem; padding-top: .4rem; }
.prose h3 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold-deep); }
.prose blockquote { margin: 1.8rem 0; padding: 1.2rem 1.5rem; border-left: 3px solid var(--gold); background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.prose .note { padding: 1.1rem 1.3rem; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-sm); font-size: .96rem; color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .96rem; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--sans); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.prose .clause { display: grid; grid-template-columns: 3.6rem 1fr; gap: .5rem; margin-bottom: 1rem; }
.prose .clause b { font-family: var(--serif); color: var(--gold-deep); font-weight: 600; }
.prose .cols-2 { columns: 2; column-gap: 2.5rem; }
.prose .cols-2 li { break-inside: avoid; }
@media (max-width: 640px) { .prose .cols-2 { columns: 1; } }

.with-toc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .9rem; }
.toc__title { font-size: .74rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); font-weight: 650; margin-bottom: .8rem; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: .38rem 0 .38rem 1rem; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.35; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--gold); }
@media (max-width: 900px) { .with-toc { grid-template-columns: 1fr; } .toc { position: static; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; } }

/* ------------------------------------------------------------ level detail (credentials page) */
.level { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.level:first-of-type { border-top: 0; }
@media (max-width: 900px) { .level { grid-template-columns: 1fr; } }
.level__aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
@media (max-width: 900px) { .level__aside { position: static; } }
.level__num { font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--gold); font-weight: 500; }
.level__facts { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .6rem; }
.level__facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.level__facts li span:first-child { color: var(--muted); }
.level__facts li span:last-child { font-weight: 600; color: var(--ink); text-align: right; }
.title-box { margin-top: 1.4rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: var(--cream); border: 1px solid var(--line); font-size: .92rem; }
.title-box small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 650; margin-bottom: .2rem; }
.title-box strong { font-family: var(--serif); font-size: 1.08rem; }
.tags { list-style: none; padding: 0; margin: 1rem 0 1.4rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.tags li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .32rem .8rem; font-size: .86rem; color: var(--ink-2); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.18rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 1.5rem; color: var(--gold-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .8rem 0 0; color: var(--muted); max-width: 52em; }

/* ------------------------------------------------------------ org chart (about) */
.org { display: grid; gap: 1rem; }
.org__row { display: grid; gap: 1rem; }
.org__row--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .org__row--3 { grid-template-columns: 1fr; } }
.org__box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem 1.3rem; }
.org__box--top { background: var(--ink); color: #d9ccb8; border-color: var(--ink); }
.org__box--top h3 { color: #f7efe0; }
.org__box h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.org__box p { font-size: .93rem; margin: 0; color: var(--muted); }
.org__box--top p { color: #cbbda7; }
.org__link { height: 22px; width: 1px; background: var(--line-strong); margin: -0.5rem auto; }

/* ------------------------------------------------------------ forms */
.label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin: 0 0 .45rem; }
.label__opt { font-weight: 400; color: var(--muted); font-size: .82rem; margin-left: .3rem; }
.input { width: 100%; font: 400 1rem var(--sans); color: var(--ink); background: var(--white); border: 1px solid var(--line-strong); border-radius: 12px; padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s; appearance: none; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 154, 58, .18); }
.input::placeholder { color: #a5978a; }
.input--lg { font-size: 1.08rem; padding: 1rem 1.1rem; }
select.input { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
textarea.input { resize: vertical; min-height: 120px; line-height: 1.55; }
.input-row { display: flex; gap: .6rem; }
.input-row .input { flex: 1; min-width: 0; }
@media (max-width: 480px) { .input-row { flex-direction: column; } }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 560px) { .field-pair { grid-template-columns: 1fr; } }
.stack > * + * { margin-top: 0; }
.stack .label { margin-top: 1rem; }
.stack .label:first-of-type { margin-top: 0; }
.stack .btn { margin-top: 1.4rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: inline-flex; gap: .45rem; align-items: center; font-size: .88rem; color: var(--muted); }
.switch { display: flex; gap: 1rem; align-items: flex-start; cursor: pointer; padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: var(--cream); border: 1px solid var(--line); margin-bottom: 1.4rem; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { flex: none; width: 46px; height: 26px; border-radius: 999px; background: #d8ccb8; position: relative; transition: background .2s; margin-top: .1rem; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.switch input:checked + .switch__track { background: var(--green); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--gold); outline-offset: 2px; }
.switch__text small { display: block; color: var(--muted); font-size: .88rem; }

.notice { display: flex; gap: .75rem; align-items: flex-start; padding: .95rem 1.1rem; border-radius: var(--radius-sm); margin: 0 0 1.4rem; font-size: .96rem; border: 1px solid; }
.notice p { margin: 0; }
.notice .icon { margin-top: .15em; }
.notice--success { background: var(--green-bg); color: #1f4d38; border-color: #c4dccd; }
.notice--error { background: var(--red-bg); color: #7a2323; border-color: #ecc9c4; }
.notice--info { background: var(--cream); color: var(--ink-2); border-color: var(--line); }

.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .72rem .3rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 650; letter-spacing: .02em; }
.pill .icon { width: 14px; height: 14px; }
.pill--valid { background: var(--green-bg); color: var(--green); }

/* ------------------------------------------------------------ registry */
.registry__forms { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
@media (max-width: 860px) { .registry__forms { grid-template-columns: 1fr; } }
.search-card { padding: clamp(1.3rem, 2.5vw, 2rem); }
.search-card__head { display: flex; gap: 1rem; margin-bottom: 1.3rem; }
.search-card__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-deep); background: radial-gradient(circle at 30% 30%, #fff8e6, #f3e4bf); box-shadow: inset 0 0 0 1px rgba(201, 154, 58, .5); }
.search-card__icon .icon { width: 22px; height: 22px; }
.search-card__title { font-size: 1.3rem; margin: 0 0 .25rem; }
.search-card__text { margin: 0; color: var(--muted); font-size: .94rem; }
.search-card .field-pair { margin-bottom: 1.1rem; }
.results { margin-top: clamp(2rem, 4vw, 3rem); }
.results__title { font-size: 1.5rem; }
.results__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 1.2rem; align-items: center; padding: 1.3rem 1.5rem; }
@media (max-width: 760px) { .result { grid-template-columns: 1fr; } }
.result__name { font-size: 1.4rem; margin: .5rem 0 0; }
.result__creds { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.result__cred { display: flex; flex-direction: column; }
.result__level { font-weight: 650; color: var(--ink); }
.result__meta { font-size: .86rem; color: var(--muted); }
.results__empty { padding: clamp(1.5rem, 3vw, 2.2rem); border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--white); }
.results__empty h2 { font-size: 1.5rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.1rem; display: grid; gap: .4rem; }
.ticks li { padding-left: 1.4rem; position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.registry-intro { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 860px) { .registry-intro { grid-template-columns: 1fr; } }
.registry-intro div { padding-top: 1rem; border-top: 2px solid var(--gold); }
.registry-intro h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.registry-intro p { color: var(--muted); font-size: .94rem; margin: 0; }

/* record (public profile) */
.record { background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-lg); overflow: hidden; }
.record__head { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: clamp(1.5rem, 4vw, 2.8rem); background: radial-gradient(700px 300px at 100% 0%, rgba(226, 189, 107, .2), transparent 60%), var(--cream); border-bottom: 1px solid var(--line); }
.record__identity { display: flex; gap: 1.4rem; align-items: center; }
.record__name { font-size: clamp(2rem, 4vw, 2.9rem); margin: 0 0 .3rem; }
.record__headline { margin: 0 0 .6rem; color: var(--muted); font-size: 1.05rem; }
.record__status { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin: .3rem 0 0; }
.record__top { font-size: .9rem; color: var(--ink-2); font-weight: 600; }
.record__seal { width: 132px; height: 132px; flex: none; }
.record__section { padding: clamp(1.5rem, 3.5vw, 2.4rem) clamp(1.5rem, 4vw, 2.8rem); border-bottom: 1px solid var(--line); }
.record__h2 { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 650; margin: 0 0 1.2rem; }
.record__bio { max-width: 46em; }
.record__contact { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .95rem; }
.record__contact li { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink-2); }
.record__contact .icon { color: var(--gold-deep); }
.record__foot { padding: clamp(1.3rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.8rem); display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; flex-wrap: wrap; background: var(--paper); }
.record__proof { display: flex; gap: .8rem; align-items: flex-start; max-width: 40em; font-size: .9rem; color: var(--muted); }
.record__proof p { margin: 0; }
.record__proof .icon { color: var(--green); width: 22px; height: 22px; margin-top: .1em; }
.record__back { margin-top: 1.4rem; font-size: .92rem; }
@media (max-width: 700px) { .record__seal { display: none; } .record__identity { flex-direction: column; align-items: flex-start; } }

.avatar { width: 108px; height: 108px; border-radius: 50%; overflow: hidden; flex: none; background: var(--sand); box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--line-strong); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--initials { display: grid; place-items: center; background: linear-gradient(145deg, #2a1d13, #4a2e17); color: var(--gold-2); font-family: var(--serif); font-size: 2.1rem; font-weight: 600; }
.avatar--lg { width: 120px; height: 120px; }

.cred-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.cred-card { position: relative; padding: 1.4rem 1.4rem 1.3rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, #fffdf8, #fbf5e9); overflow: hidden; }
.cred-card::after { content: ""; position: absolute; right: -46px; top: -46px; width: 130px; height: 130px; border-radius: 50%; background: repeating-linear-gradient(-45deg, rgba(201, 154, 58, .22) 0 5px, transparent 5px 13px); }
.cred-card--trainer { background: linear-gradient(160deg, #221810, #3a2616); border-color: #3a2616; }
.cred-card--trainer .cred-card__title { color: #f5eddc; }
.cred-card--trainer .cred-card__level { color: var(--gold-2); }
.cred-card--trainer dt { color: #b9a88f; }
.cred-card--trainer dd { color: #f5eddc; }
.cred-card--trainer::after { background: repeating-linear-gradient(-45deg, rgba(226, 189, 107, .22) 0 5px, transparent 5px 13px); }
.cred-card__level { font-size: .74rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin: 0 0 .4rem; }
.cred-card__title { position: relative; z-index: 1; font-size: 1.14rem; line-height: 1.3; margin: 0 0 1rem; max-width: min(16em, calc(100% - 2.6rem)); }
.cred-card__facts { margin: 0; display: grid; gap: .45rem; }
.cred-card__facts div { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; border-top: 1px solid rgba(214, 199, 174, .55); padding-top: .45rem; }
.cred-card dt { color: var(--muted); }
.cred-card dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.cred-card dd.is-valid { color: var(--green); display: inline-flex; align-items: center; gap: .3rem; }
.cred-card--trainer dd.is-valid { color: #7fd0a6; }
.cred-card dd .icon { width: 15px; height: 15px; }
.cred-card__actions { margin-top: 1.1rem; }
.share-row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* auth + dashboard */
.auth { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.auth--single { grid-template-columns: minmax(0, 560px); justify-content: center; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } }
.auth__main { padding: clamp(1.6rem, 4vw, 2.8rem); }
.auth__title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.auth__lead { color: var(--muted); margin-bottom: 1.6rem; }
.auth__help { margin: 1.4rem 0 0; font-size: .92rem; color: var(--muted); }
.auth__aside { padding-top: clamp(0rem, 2vw, 1.2rem); }
.auth__aside-title { font-size: 1.4rem; margin-bottom: 1.4rem; }
.benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.3rem; }
.benefits li { display: flex; gap: 1rem; }
.benefits li > .icon { width: 42px; height: 42px; padding: 10px; border-radius: 50%; color: var(--gold-deep); background: radial-gradient(circle at 30% 30%, #fff8e6, #f3e4bf); box-shadow: inset 0 0 0 1px rgba(201, 154, 58, .5); }
.benefits h3 { font-family: var(--sans); font-size: 1rem; font-weight: 650; margin: .1rem 0 .15rem; }
.benefits p { margin: 0; color: var(--muted); font-size: .94rem; }

.dash__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.dash__title { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: .25rem; }
.dash__sub { color: var(--muted); margin: 0; }
.dash__section { margin-top: clamp(2.4rem, 5vw, 3.6rem); }
.dash__h2 { font-size: 1.6rem; }
.dash__note { color: var(--muted); max-width: 46em; }
.dash__fine { margin-top: 2.4rem; font-size: .88rem; color: var(--muted); }
.share-panel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding: clamp(1.5rem, 3.5vw, 2.4rem); border-radius: calc(var(--radius) + 4px); background: var(--cream); border: 1px solid var(--line); }
@media (max-width: 860px) { .share-panel { grid-template-columns: 1fr; } }
.share-panel .share-row { margin-top: 1rem; }
.share-panel__badge { margin: 0; text-align: center; }
.share-panel__badge img { border-radius: 20px; box-shadow: var(--shadow-lg); margin: 0 auto 1rem; width: 100%; max-width: 320px; }
.profile-form { padding: clamp(1.4rem, 3vw, 2.2rem); }
.profile-form__grid { display: grid; grid-template-columns: 170px 1fr; gap: 1.6rem; margin-bottom: 1rem; }
@media (max-width: 640px) { .profile-form__grid { grid-template-columns: 1fr; } }
.profile-form__photo { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.profile-form__fields .label { margin-top: 1rem; }
.profile-form__fields .label:first-child { margin-top: 0; }
.profile-form__foot { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.4rem; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { padding: clamp(1.4rem, 3vw, 2.2rem); }
.contact-info { display: grid; gap: 1.6rem; }
.contact-info h3 { font-family: var(--sans); font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); font-weight: 650; margin: 0 0 .5rem; }
.contact-info p { margin: 0; }
.contact-info address { font-style: normal; }

/* news article */
.article-hero { padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.article-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); max-width: 18em; }
.article-meta { display: flex; gap: 1rem; align-items: center; color: var(--muted); font-size: .92rem; flex-wrap: wrap; }
.article-cover { margin: 0 0 clamp(2rem, 4vw, 3rem); border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 16 / 8; background: var(--sand); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-foot { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pager { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .8rem; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pager .current { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* 404 */
.lost { text-align: center; padding: clamp(5rem, 10vw, 9rem) 0; }
.lost img { width: 120px; margin: 0 auto 1.6rem; opacity: .9; }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--ink); color: #b6a68e; font-size: .93rem; padding: clamp(3.5rem, 7vw, 5.5rem) 0 2rem; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(226, 189, 107, .6), transparent); }
.site-footer a { color: #e9dcc4; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 64px; height: 64px; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 26em; }
.footer-brand__name { font-family: var(--serif); color: #f5eddc; font-size: 1.2rem; font-weight: 600; margin-bottom: .6rem; }
.footer-col h3 { font-family: var(--sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); font-weight: 650; margin: .4rem 0 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer-bottom { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid rgba(226, 189, 107, .16); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: #8f806b; }
.footer-bottom address { font-style: normal; }

/* ------------------------------------------------------------ reveal on scroll */
@keyframes aaap-show { to { opacity: 1; transform: none; } }
.js:not(.js-ready) .reveal { animation: aaap-show .4s 2.5s forwards; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* WordPress bits */
.alignwide { max-width: 1100px; }
.wp-block-image img { border-radius: var(--radius-sm); }
.wp-caption-text, figcaption { font-size: .86rem; color: var(--muted); }

/* ------------------------------------------------------------ chart */
.chart { padding: clamp(1.5rem, 3vw, 2.2rem); }
.chart__bars { display: flex; align-items: flex-end; gap: clamp(.6rem, 2vw, 1.4rem); height: 240px; padding-top: 1rem; border-bottom: 1px solid var(--line); }
.chart__col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: .5rem; min-width: 0; }
.chart__bar { width: 100%; max-width: 64px; border-radius: 10px 10px 3px 3px; background: linear-gradient(180deg, #e2bd6b, #c99a3a); transform-origin: bottom; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.js .chart:not(.is-in) .chart__bar { transform: scaleY(.04); }
.chart__bar--now { background: repeating-linear-gradient(-45deg, #c99a3a 0 6px, #d8b263 6px 12px); }
.chart__val { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.chart__year { font-size: .84rem; color: var(--muted); margin-bottom: -2rem; }
.chart .bands__foot { margin-top: 2.6rem; }
.stat__num--date { font-size: clamp(1.45rem, 2.3vw, 1.95rem); line-height: 1.25; padding-top: .35rem; }

/* ------------------------------------------------------------ timeline + values */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: calc(9rem + 1rem); top: .6rem; bottom: .6rem; width: 1px; background: linear-gradient(180deg, rgba(226, 189, 107, .1), rgba(226, 189, 107, .6), rgba(226, 189, 107, .1)); }
.timeline li { display: grid; grid-template-columns: 9rem 1fr; gap: 2rem; padding: 1.2rem 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(9rem + 1rem - 5px); top: 1.62rem; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); border: 2px solid var(--gold); }
.timeline time { color: var(--gold-2); font-weight: 600; font-size: .9rem; letter-spacing: .02em; padding-top: .25rem; text-align: right; }
.timeline h3 { margin-bottom: .3rem; }
.timeline p { margin: 0; color: #cbbda7; max-width: 44em; }
.timeline--light::before { background: linear-gradient(180deg, rgba(201, 154, 58, .1), rgba(201, 154, 58, .55), rgba(201, 154, 58, .1)); }
.timeline--light li::before { background: var(--cream); }
.timeline--light time { color: var(--gold-deep); }
.timeline--light p { color: var(--muted); }
@media (max-width: 640px) {
	.timeline::before { left: 5px; }
	.timeline li { grid-template-columns: 1fr; gap: .3rem; padding-left: 1.8rem; }
	.timeline li::before { left: 0; top: 1.5rem; }
	.timeline time { text-align: left; }
}
.value { padding-top: 1.1rem; border-top: 2px solid var(--gold); }
.value h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.value p { color: var(--muted); margin: 0; font-size: .97rem; }
.result__alias { margin: .35rem 0 0; font-size: .84rem; color: var(--muted); max-width: 30em; }
