/* ============================================================
   JSWA 2026 — BASE
   Tokens, typography, buttons, shared motifs.
   Palette: red clay of the akhara + medal gold + warm ink + bone
   (Loaded on the front end and inside the block editor.)
   ============================================================ */
:root{
	--ink:#1C1714;
	--ink-2:#271F1A;
	--ink-3:#33291F;
	--bone:#F3EEE4;
	--bone-2:#EAE2D3;
	--clay:#A4361B;
	--clay-deep:#7C2414;
	--gold:#C5912F;
	--gold-soft:#D9B25A;
	--muted:#6E6053;
	--line:rgba(28,23,20,.14);
	--line-d:rgba(243,238,228,.16);

	--font-display:'Anton',sans-serif;
	--font-cond:'Oswald',sans-serif;
	--font-body:'IBM Plex Sans',system-ui,sans-serif;
	--font-mono:'IBM Plex Mono',ui-monospace,monospace;

	--maxw:1240px;
	--pad:15px;
	--sec-y:clamp(70px,10vw,120px);
}

html{scroll-behavior:smooth}
body{
	margin:0;
	font-family:var(--font-body);
	background:var(--bone);
	color:var(--ink);
	line-height:1.7;
	-webkit-font-smoothing:antialiased;
	overflow-x:hidden;
}
*,*::before,*::after{box-sizing:border-box}
img{max-width:100%;height:auto}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px}

.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--pad)}

.screen-reader-text{
	border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;
	overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;
}
.skip-link{position:absolute;left:-9999px;top:0;z-index:100;background:var(--gold);color:var(--ink);padding:10px 18px;font-family:var(--font-cond);text-transform:uppercase;letter-spacing:.1em}
.skip-link:focus{left:10px;top:10px}

/* ---------- Eyebrow label (the "official record" texture) ---------- */
.eyebrow,
.is-style-eyebrow{
	font-family:var(--font-mono)!important;
	font-size:.72rem!important;
	letter-spacing:.28em;
	text-transform:uppercase;
	color:var(--clay);
	display:inline-flex;
	align-items:center;
	gap:.7em;
	font-weight:500;
	line-height:1.5;
}
.eyebrow::before,
.is-style-eyebrow::before{content:"";width:26px;height:2px;background:currentColor;display:inline-block;flex-shrink:0}
.eyebrow.on-dark,
.is-style-eyebrow.on-dark{color:var(--gold-soft)}
.has-text-align-center.is-style-eyebrow{display:flex;justify-content:center}

/* ---------- Headings ---------- */
.h-sec,
.is-style-section{
	font-family:var(--font-cond);
	font-weight:700;
	text-transform:uppercase;
	line-height:.98!important;
	letter-spacing:.005em;
	font-size:clamp(2.1rem,5.2vw,4rem)!important;
}
.is-style-display{
	font-family:var(--font-display)!important;
	font-weight:400!important;
	text-transform:uppercase;
	line-height:1!important;
	font-size:clamp(2.6rem,7vw,5.2rem)!important;
}
.h-sec .thin,.is-style-section .thin{font-weight:300}
.is-style-lead{font-size:clamp(1.05rem,1.6vw,1.2rem);color:#43382e}

/* ---------- Buttons (theme chrome) ---------- */
.btn{
	font-family:var(--font-cond);
	font-weight:600;
	text-transform:uppercase;
	letter-spacing:.12em;
	font-size:.85rem;
	line-height:1.2;
	padding:15px 28px;
	display:inline-flex;align-items:center;gap:.6em;
	border:2px solid transparent;
	cursor:pointer;
	text-decoration:none;
	transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease;
}
.btn svg{width:16px;height:16px}
.btn--clay{background:var(--clay);color:#fff}
.btn--clay:hover{background:var(--clay-deep);color:#fff;transform:translateY(-2px)}
.btn--ghost{border-color:currentColor;color:var(--ink)}
.btn--ghost:hover{background:var(--ink);color:var(--bone);transform:translateY(-2px)}

/* ---------- Block buttons ---------- */
.wp-block-button__link{
	display:inline-flex;align-items:center;gap:.6em;
	border:2px solid transparent;
	transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease;
}
.wp-block-button__link:hover{transform:translateY(-2px)}
.wp-block-button.has-arrow .wp-block-button__link::after{
	content:"";width:16px;height:16px;background:currentColor;
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
	        mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.wp-block-button.is-style-ghost .wp-block-button__link{background:transparent!important;border-color:currentColor;color:var(--ink)!important}
.wp-block-button.is-style-ghost .wp-block-button__link:hover{background:var(--ink)!important;color:var(--bone)!important}
.wp-block-button.is-style-ghost-dark .wp-block-button__link{background:transparent!important;border-color:rgba(243,238,228,.5);color:var(--bone)!important}
.wp-block-button.is-style-ghost-dark .wp-block-button__link:hover{background:var(--gold)!important;border-color:var(--gold);color:var(--ink)!important}
.wp-block-button.is-style-outline .wp-block-button__link{background:transparent;border-color:currentColor;color:var(--clay)}

/* ---------- MAT MOTIF: concentric wrestling-mat rings ---------- */
.mat-rings{
	border-radius:50%;
	background:
		radial-gradient(circle at center,
			transparent 0 16%,
			var(--clay) 16% 18.5%,
			transparent 18.5% 41%,
			var(--clay) 41% 44%,
			transparent 44% 70%,
			var(--gold) 70% 71.6%,
			transparent 71.6% 100%);
}

/* ---------- Reveal on scroll ---------- */
html.js .reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease,transform .7s ease}
html.js .reveal.in{opacity:1;transform:none}

@media(prefers-reduced-motion:reduce){
	*{animation:none!important;transition:none!important;scroll-behavior:auto!important}
	html.js .reveal{opacity:1;transform:none}
}
