/*
Theme Name: SuperAction 108
Theme URI: https://superaction.com/
Author: SuperAction.com / Action
Description: Dark, conversion-focused storefront for 108 Martial Arts apparel. Sticky header with a "Start Your Design" button, announcement bar, full-width landing sections built from core blocks, newsletter lead capture and WooCommerce styling. Designed to work with the 108 Style Builder plugin.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: superaction-108
Tags: e-commerce, dark, custom-menu, custom-logo, full-width-template, block-styles
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--sa-ink: #0a0a0b;
	--sa-ink-2: #111113;
	--sa-panel: #17171a;
	--sa-panel-2: #1e1e22;
	--sa-line: #2a2a30;
	--sa-text: #f4f4f2;
	--sa-muted: #a6a6ad;
	--sa-red: #e8193c;
	--sa-red-dark: #c3102f;
	--sa-paper: #f6f5f2;
	--sa-paper-text: #151517;
	--sa-display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
	--sa-cond: "Oswald", "Arial Narrow", Arial, sans-serif;
	--sa-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--sa-max: 1240px;
	--sa-gutter: clamp(16px, 4vw, 40px);
	--sa-radius: 12px;
	--sa-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--sa-header-h, 72px) + 16px); }
body {
	margin: 0;
	background: var(--sa-ink);
	color: var(--sa-text);
	font-family: var(--sa-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--sa-text); text-decoration-color: rgba(232, 25, 60, .7); text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-color: var(--sa-red); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.05; font-weight: 400; color: inherit; }
h1, h2 { font-family: var(--sa-display); text-transform: uppercase; letter-spacing: .01em; }
h1 { font-size: clamp(40px, 6.4vw, 84px); }
h2 { font-size: clamp(32px, 4.4vw, 58px); }
h3 { font-family: var(--sa-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: clamp(20px, 2vw, 26px); }
h4 { font-family: var(--sa-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 18px; }
h1 strong, h2 strong, h3 strong { color: var(--sa-red); font-weight: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #ffd54a; outline-offset: 2px; }
::selection { background: var(--sa-red); color: #fff; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto;
	padding: 10px 16px; background: #fff; color: #000; font-weight: 700;
}
.sa-wrap { width: 100%; max-width: var(--sa-max); margin-inline: auto; padding-inline: var(--sa-gutter); }
.sa-icon { display: block; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.sa-btn,
.wp-block-button__link,
.sa108 .woocommerce .button,
.sa-newsletter button,
.sa-search button[type="submit"],
.search-form .search-submit,
.comment-form .submit,
.wpcf7-submit,
.wp-block-jetpack-contact-form .wp-block-button__link,
.contact-form button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 12px 26px;
	border: 2px solid var(--sa-red); border-radius: 6px;
	background: var(--sa-red); color: #fff;
	font-family: var(--sa-display); font-size: 18px; font-weight: 400; line-height: 1; letter-spacing: .07em; text-transform: uppercase; text-decoration: none;
	cursor: pointer;
	box-shadow: 0 10px 24px -10px rgba(232, 25, 60, .7);
	transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.sa-btn:hover,
.wp-block-button__link:hover,
.sa108 .woocommerce .button:hover,
.sa-newsletter button:hover,
.sa-search button[type="submit"]:hover,
.search-form .search-submit:hover,
.comment-form .submit:hover,
.wpcf7-submit:hover,
.contact-form button[type="submit"]:hover {
	background: var(--sa-red-dark); border-color: var(--sa-red-dark); color: #fff; transform: translateY(-1px);
}
.sa-btn--ghost,
.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; box-shadow: none;
}
.sa-btn--ghost:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff; border-color: #fff; color: #111; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-buttons .wp-block-button { margin: 0; }
.wp-block-button__link::after { content: "→"; font-family: var(--sa-body); font-weight: 700; letter-spacing: 0; }
.is-style-outline .wp-block-button__link::after { content: none; }

/* ==========================================================================
   Announcement bar & header
   ========================================================================== */
.sa-announce {
	background: var(--sa-red);
	color: #fff;
	font-family: var(--sa-cond);
	font-size: 14px;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.sa-announce .sa-wrap { display: flex; justify-content: center; align-items: center; gap: 6px 18px; flex-wrap: wrap; padding-block: 7px; text-align: center; }
.sa-announce a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255,255,255,.6); }
@media (max-width: 640px) { .sa-announce span:first-child { display: none; } .sa-announce .sa-wrap { padding-block: 6px; } }

.sa-header {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100;
	background: rgba(10, 10, 11, .94);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, .06);
	transition: box-shadow .2s;
}
@media (max-width: 600px) { .admin-bar .sa-header { top: 0; } }
.sa-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.sa-header-inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }

.sa-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.sa-brand-logo { height: 54px; width: auto; display: block; }
.sa-brand-sep { width: 1px; height: 38px; background: rgba(255, 255, 255, .18); }
.sa-brand-108 { height: 46px; width: auto; display: block; }
.sa-nav { margin-left: auto; }
.sa-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.sa-nav .menu > li { position: relative; }
.sa-nav .menu a {
	display: block; padding: 10px 12px; text-decoration: none; color: #e9e9e7;
	font-family: var(--sa-cond); font-weight: 500; font-size: 15.5px; letter-spacing: .06em; text-transform: uppercase;
	border-radius: 4px; white-space: nowrap;
}
.sa-nav .menu a:hover,
.sa-nav .current-menu-item > a,
.sa-nav .current_page_item > a { color: #fff; background: rgba(255, 255, 255, .06); }
.sa-nav .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--sa-red); }
.sa-nav .sub-menu { list-style: none; margin: 0; padding: 6px; position: absolute; left: 0; top: 100%; min-width: 220px; background: var(--sa-panel); border: 1px solid var(--sa-line); border-radius: 8px; display: none; }
.sa-nav li:hover > .sub-menu,
.sa-nav li:focus-within > .sub-menu { display: block; }
.sa-nav-cta { display: none; }
.sa-sub-toggle { display: none; }

.sa-tools { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.sa-tool {
	position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px;
	background: none; border: 0; border-radius: 50%; color: #fff; cursor: pointer; padding: 0;
}
.sa-tool:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.sa-cart-count {
	position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
	background: var(--sa-red); color: #fff; font: 700 11px/18px var(--sa-body); text-align: center;
}
.sa-cart-count.is-empty { background: #3a3a40; }
.sa-header-cta { margin-left: 10px; min-height: 44px; padding: 10px 18px; font-size: 16px; white-space: nowrap; }
.sa-menu-toggle { display: none; }
.sa-menu-toggle .sa-icon-close { display: none; }

.sa-search { border-top: 1px solid var(--sa-line); background: var(--sa-ink-2); }
.sa-search .sa-wrap { display: flex; align-items: center; gap: 10px; padding-block: 14px; }
.sa-search form { flex: 1; display: flex; gap: 10px; }
.sa-search input[type="search"] { flex: 1; }
.sa-search button[type="submit"] { min-height: 46px; padding: 8px 18px; font-size: 15px; box-shadow: none; }

@media (max-width: 1320px) {
	.sa-nav .menu a { padding: 10px 8px; font-size: 14.5px; letter-spacing: .03em; }
}
@media (max-width: 1179px) {
	.sa-menu-toggle { display: inline-grid; margin-left: -8px; }
	/* backdrop-filter would trap the fixed menu panel inside the header box */
	.sa-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--sa-ink); }
	.sa-header-inner { gap: 10px; min-height: 64px; }
	.sa-brand-logo { height: 44px; }
	.sa-brand-108 { height: 38px; }
	.sa-brand { gap: 9px; }
	.sa-tools { margin-left: auto; }
	.sa-nav {
		position: fixed; inset: 0 auto 0 0; z-index: 99; width: min(86vw, 380px);
		margin: 0; padding: calc(var(--sa-header-h, 64px) + var(--wp-admin--admin-bar--height, 0px) + 12px) 20px 24px;
		background: var(--sa-ink-2); border-right: 1px solid var(--sa-line);
		transform: translateX(-102%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; overflow-y: auto;
		display: flex; flex-direction: column; gap: 18px;
	}
	.sa-menu-open .sa-nav { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; box-shadow: 30px 0 60px rgba(0, 0, 0, .6); }
	.sa-menu-open .sa-menu-toggle .sa-icon-open { display: none; }
	.sa-menu-open .sa-menu-toggle .sa-icon-close { display: block; }
	.sa-menu-toggle { position: relative; z-index: 101; }
	.sa-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.sa-nav .menu a { padding: 14px 4px; font-size: 20px; border-bottom: 1px solid var(--sa-line); border-radius: 0; }
	.sa-nav .current-menu-item > a { box-shadow: inset 3px 0 0 var(--sa-red); padding-left: 12px; }
	.sa-nav .sub-menu { position: static; display: none; border: 0; background: none; padding: 0 0 0 14px; }
	.sa-nav li.is-open > .sub-menu { display: block; }
	.sa-sub-toggle { display: grid; place-items: center; position: absolute; right: 0; top: 8px; width: 40px; height: 40px; background: none; border: 0; color: #fff; font-size: 22px; }
	.sa-nav-cta { display: inline-flex; width: 100%; }
	.sa-header-cta { display: none; }
	.sa-menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 98; }
	.sa-header { z-index: 100; }
}
@media (max-width: 420px) {
	.sa-account { display: none; }
	.sa-brand-logo { height: 38px; }
	.sa-brand-108 { height: 32px; }
}

/* ==========================================================================
   Page head & content
   ========================================================================== */
.sa-main { display: block; min-height: 50vh; }
.sa-pagehead {
	position: relative; padding: clamp(40px, 7vw, 84px) 0 clamp(26px, 4vw, 44px);
	background: radial-gradient(90% 140% at 85% 0%, rgba(232, 25, 60, .22), transparent 55%), var(--sa-ink-2);
	border-bottom: 1px solid var(--sa-line); overflow: hidden;
}
.sa-pagehead::after {
	content: ""; position: absolute; right: -40px; bottom: -60px; width: 260px; height: 250px;
	background: url("assets/img/108-dragon-white.png") no-repeat center / contain; opacity: .05; pointer-events: none;
}
.sa-pagehead-title { margin: 0; font-size: clamp(38px, 6vw, 72px); }
.sa-page { padding-block: clamp(32px, 5vw, 64px); }
.sa-page--narrow { max-width: 860px; }

.entry-content > * { margin-block: 0 1.1em; }
.sa-page .entry-content h2 { margin-top: 1.4em; font-size: clamp(28px, 3.4vw, 42px); }
.sa-page .entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .35em; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--sa-red); font-size: 1.1em; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--sa-line); text-align: left; }
.entry-content hr { border: 0; border-top: 1px solid var(--sa-line); margin: 2em 0; }
.entry-content img { border-radius: 8px; }
.alignwide { max-width: 1400px; margin-inline: auto; }

/* Light "paper" pages: cart, checkout, account, policies */
.sa-is-light .sa-page { background: var(--sa-paper); color: var(--sa-paper-text); max-width: none; }
.sa-is-light .sa-page > * { max-width: calc(var(--sa-max) - 2 * 40px); margin-inline: auto; }
.sa-is-light .sa-page a { color: #111; }
.sa-is-light .sa-page h2, .sa-is-light .sa-page h3 { color: #111; }
.sa-is-light .sa-page .entry-content th, .sa-is-light .sa-page .entry-content td { border-color: #ddd; }

/* ==========================================================================
   Forms
   ========================================================================== */
input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="url"],
input[type="password"], input[type="number"], select, textarea {
	width: 100%; max-width: 100%;
	padding: 12px 14px; min-height: 48px;
	background: var(--sa-panel); color: var(--sa-text);
	border: 1px solid #34343b; border-radius: 6px;
	font: inherit; font-size: 16px;
}
textarea { min-height: 140px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sa-red); box-shadow: 0 0 0 3px rgba(232, 25, 60, .25); }
::placeholder { color: #85858c; }
.sa-is-light input[type="text"], .sa-is-light input[type="email"], .sa-is-light input[type="search"], .sa-is-light input[type="tel"],
.sa-is-light input[type="password"], .sa-is-light input[type="number"], .sa-is-light select, .sa-is-light textarea {
	background: #fff; color: #111; border-color: #cfcfd4;
}
label { font-weight: 500; }

/* Newsletter */
.sa-newsletter { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.sa-newsletter p { margin: 0; }
.sa-newsletter .nws-frm { flex: 1 1 260px; }
.sa-newsletter .sa-nl-msg { flex-basis: 100%; font-weight: 600; }
.sa-newsletter .sa-nl-ok, .sa-newsletter .sa-nl-exists { color: #7ee2a8; }
.sa-newsletter .sa-nl-invalid, .sa-newsletter .sa-nl-wait { color: #ff8a9b; }
.sa-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Landing sections (core blocks with sa-* classes)
   ========================================================================== */
.sa-landing { overflow-x: clip; }
.sa-landing > * { margin: 0; }
.sa-sec {
	position: relative;
	padding: clamp(56px, 8vw, 112px) var(--sa-gutter);
	background: var(--sa-ink);
	isolation: isolate;
}
.sa-sec > *:not(.sa-bg) { position: relative; z-index: 1; max-width: var(--sa-max); margin-inline: auto; }
.sa-sec > * + * { margin-top: 0; }
.sa-sec.sa-alt { background: var(--sa-ink-2); }
.sa-sec.sa-panelbg { background: var(--sa-panel); }
.sa-sec.sa-tight { padding-block: clamp(36px, 5vw, 64px); }
.sa-sec.sa-red { background: var(--sa-red); color: #fff; }
.sa-sec.sa-white { background: #fff; color: var(--sa-paper-text); }
.sa-sec.sa-white h2, .sa-sec.sa-white h3 { color: #111; }
.sa-sec.sa-white .sa-lede { color: #4a4a50; }
.sa-sec.sa-grain::before { content: ""; position: absolute; inset: 0; background-image: var(--sa-grain); pointer-events: none; z-index: 0; }

.sa-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--sa-cond); font-weight: 600; font-size: 14px; letter-spacing: .22em; text-transform: uppercase;
	color: var(--sa-red); margin: 0 0 14px;
}
.sa-eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.sa-center { text-align: center; }
.sa-center .sa-eyebrow::before { display: none; }
.sa-center .wp-block-buttons, .wp-block-buttons.sa-center { justify-content: center; }
.sa-lede { font-size: clamp(17px, 1.5vw, 20px); color: #cfcfd2; max-width: 62ch; }
.sa-center .sa-lede { margin-inline: auto; }
.sa-sec h2 { margin-bottom: 14px; }
.sa-head { margin-bottom: clamp(26px, 4vw, 44px) !important; }
.sa-head > :last-child { margin-bottom: 0; }
.sa-more { margin-top: 28px !important; }

/* Background image (an Image block with class sa-bg) */
.sa-bg { position: absolute !important; inset: 0; margin: 0 !important; max-width: none !important; z-index: 0; }
.sa-bg img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; filter: grayscale(1) contrast(1.1); opacity: .5; }
.sa-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,11,.97) 0%, rgba(10,10,11,.85) 42%, rgba(10,10,11,.35) 100%); }
.sa-bg.sa-bg--center::after { background: linear-gradient(180deg, rgba(10,10,11,.75), rgba(10,10,11,.92)); }

/* Hero */
.sa-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 80px); min-height: min(86vh, 820px); display: flex; flex-direction: column; justify-content: center; }
.sa-hero > .wp-block-columns { width: 100%; align-items: center; gap: clamp(24px, 4vw, 56px); }
.sa-hero h1 { font-size: clamp(46px, 7vw, 96px); line-height: .95; margin-bottom: 20px; }
.sa-hero h1 strong { display: block; color: var(--sa-red); }
.sa-hero .sa-lede { margin-bottom: 26px; }
.sa-hero .wp-block-buttons { margin-bottom: 26px; }
.sa-hero .wp-block-button__link { min-height: 58px; padding: 14px 30px; font-size: 20px; }
.sa-hero-art { position: relative; min-height: 360px; }
.sa-hero-art::before {
	content: ""; position: absolute; inset: 6% 2% 4%; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(232, 25, 60, .45), rgba(232, 25, 60, 0)); filter: blur(10px); z-index: -1;
}
.sa-hero-art .s108-mockup { filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.sa-hero-art .sa-mock-back { width: 82%; margin-left: auto; }
.sa-hero-art .sa-mock-front { position: absolute; width: 44%; left: 0; bottom: 4%; transform: rotate(-6deg); }
.sa-hero-art .sa-mock-front .s108-garment { filter: drop-shadow(0 18px 24px rgba(0,0,0,.7)); }
.sa-hero-tag {
	position: absolute; right: 2%; top: 4%; z-index: 2;
	background: #fff; color: #111; border-radius: 8px; padding: 8px 12px; transform: rotate(4deg);
	font-family: var(--sa-cond); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
	box-shadow: 0 10px 20px rgba(0,0,0,.4);
}
.sa-hero-tag b { display: block; font-family: var(--sa-display); font-weight: 400; font-size: 22px; color: var(--sa-red); letter-spacing: .02em; }
@media (max-width: 781px) {
	.sa-hero { min-height: 0; }
	.sa-hero-art { min-height: 0; max-width: 460px; margin-inline: auto; width: 100%; }
}

/* Check list */
.sa-checks { list-style: none; padding: 0 !important; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.sa-checks li { position: relative; padding-left: 24px; margin: 0; font-size: 15px; color: #d6d6d8; }
.sa-checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--sa-red); border-bottom: 3px solid var(--sa-red); transform: rotate(-45deg); }
.sa-checks.is-stacked { flex-direction: column; }

/* 5 steps */
.sa-steps {
	list-style: none; padding: 0 !important; margin: 0; counter-reset: sa-step;
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px;
}
.sa-steps li {
	counter-increment: sa-step; position: relative; margin: 0;
	padding: 56px 18px 20px; border-radius: var(--sa-radius);
	background: var(--sa-panel); border: 1px solid var(--sa-line);
	color: var(--sa-muted); font-size: 15px; line-height: 1.45;
}
.sa-steps li::before {
	content: counter(sa-step); position: absolute; left: 18px; top: 16px;
	width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
	background: var(--sa-red); color: #fff; font-family: var(--sa-display); font-size: 17px;
}
.sa-steps li:not(:last-child)::after {
	content: ""; position: absolute; right: -9px; top: 26px; width: 12px; height: 12px; z-index: 2;
	border-top: 2px solid var(--sa-red); border-right: 2px solid var(--sa-red); transform: rotate(45deg);
}
.sa-steps strong { display: block; color: #fff; font-family: var(--sa-cond); font-weight: 600; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
@media (max-width: 960px) {
	.sa-steps { grid-template-columns: 1fr; gap: 8px; }
	.sa-steps li { padding: 14px 16px 14px 62px; }
	.sa-steps li::before { top: 50%; transform: translateY(-50%); }
	.sa-steps li:not(:last-child)::after { display: none; }
}

/* Two paths */
.sa-paths { gap: 20px !important; }
.sa-path {
	position: relative; overflow: hidden; height: 100%;
	padding: clamp(24px, 3vw, 40px); border-radius: 16px;
	background: linear-gradient(160deg, #1d1d21, #121214); border: 1px solid var(--sa-line);
	display: flex; flex-direction: column;
}
.sa-path::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--sa-red); }
.sa-path.is-custom { background: linear-gradient(160deg, #2a0d14, #141012 70%); border-color: #4a1a25; }
.sa-path h3 { font-family: var(--sa-display); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: .01em; line-height: 1; margin-bottom: 10px; }
.sa-path .s108-mockup { max-width: 330px; margin: 6px auto 10px; }
.sa-path .wp-block-buttons { margin-top: auto; padding-top: 10px; }
.sa-path .sa-tag { display: inline-block; margin: 0 0 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.08); font-family: var(--sa-cond); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.sa-path.is-custom .sa-tag { background: var(--sa-red); }

/* Packages */
.sa-packs { gap: 16px !important; }
.sa-pack {
	height: 100%; display: flex; flex-direction: column;
	padding: 26px 22px; border-radius: 14px;
	background: rgba(23, 23, 26, .92); border: 1px solid var(--sa-line);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sa-pack.is-featured { border-color: var(--sa-red); box-shadow: 0 0 0 1px var(--sa-red), 0 24px 40px -20px rgba(232,25,60,.6); }
.sa-pack h3 { font-family: var(--sa-display); font-weight: 400; font-size: 28px; letter-spacing: .02em; margin-bottom: 4px; }
.sa-pack h3 strong { color: var(--sa-red); }
.sa-pack .sa-for { font-family: var(--sa-cond); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--sa-muted); margin-bottom: 14px; }
.sa-pack ul { margin: 0 0 18px; }
.sa-pack .wp-block-buttons { margin-top: auto; }
.sa-pack .wp-block-button, .sa-pack .wp-block-button__link { width: 100%; }

/* Feature tiles */
.sa-tiles { gap: 14px !important; }
.sa-tile { height: 100%; padding: 22px; border-radius: 12px; background: var(--sa-panel); border: 1px solid var(--sa-line); }
.sa-tile h3 { font-size: 19px; margin-bottom: 6px; }
.sa-tile p { margin: 0; color: var(--sa-muted); font-size: 15px; }
.sa-tile .sa-num { font-family: var(--sa-display); font-size: 40px; line-height: 1; color: var(--sa-red); margin-bottom: 8px; }

/* Story / split */
.sa-split { align-items: center !important; gap: clamp(24px, 5vw, 64px) !important; }
.sa-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; filter: grayscale(1) contrast(1.05); }
.sa-photo { position: relative; margin: 0; }
.sa-photo::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 40%; height: 40%; border-left: 6px solid var(--sa-red); border-bottom: 6px solid var(--sa-red); border-radius: 0 0 0 16px; pointer-events: none; }
.sa-quote { font-family: var(--sa-display); text-transform: uppercase; font-size: clamp(26px, 3vw, 38px); line-height: 1.05; letter-spacing: .01em; margin: 0 0 18px; }
.sa-quote strong { color: var(--sa-red); font-weight: 400; }

/* Brand cards (comics & more) */
.sa-brands { gap: 14px !important; }
.sa-brandcard {
	position: relative; height: 100%; margin: 0; padding: 16px; border-radius: 14px;
	display: grid; grid-template-columns: 104px 1fr; grid-template-rows: auto 1fr; column-gap: 16px; align-items: start;
	background: var(--sa-panel); border: 1px solid var(--sa-line); transition: border-color .15s, transform .15s;
}
.sa-brandcard:hover { border-color: var(--sa-red); transform: translateY(-3px); }
.sa-brandcard .wp-block-image { grid-row: 1 / span 2; margin: 0; }
.sa-brandcard .wp-block-image img { width: 104px; height: 104px; object-fit: cover; border-radius: 10px; display: block; }
.sa-brandcard h3 { margin: 4px 0 4px; font-size: 19px; }
.sa-brandcard h3 a { text-decoration: none; }
.sa-brandcard h3 a::after { content: ""; position: absolute; inset: 0; }
.sa-brandcard p { margin: 0; color: var(--sa-muted); font-size: 15px; }

/* FAQ (Details blocks) */
.sa-faq { max-width: 880px !important; }
.wp-block-details {
	margin: 0 0 10px; padding: 0; border-radius: 10px; background: var(--sa-panel); border: 1px solid var(--sa-line);
}
.wp-block-details summary {
	cursor: pointer; list-style: none; position: relative;
	padding: 18px 56px 18px 20px; font-family: var(--sa-cond); font-weight: 600; font-size: 18px; letter-spacing: .02em;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 400 28px/1 var(--sa-body); color: var(--sa-red); }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > :not(summary) { padding: 0 20px; color: #cfcfd2; }
.wp-block-details > :last-child { padding-bottom: 18px; margin-bottom: 0; }

/* Final CTA band */
.sa-cta { overflow: hidden; }
.sa-cta::after {
	content: ""; position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 420px; height: 404px;
	background: url("assets/img/108-dragon-white.png") no-repeat center / contain; opacity: .08; z-index: 0; pointer-events: none;
}
.sa-cta.sa-red .wp-block-button__link { background: #fff; border-color: #fff; color: #111; box-shadow: 0 12px 26px -10px rgba(0,0,0,.6); }
.sa-cta.sa-red .wp-block-button__link:hover { background: #111; border-color: #111; color: #fff; }
.sa-cta.sa-red .is-style-outline .wp-block-button__link { background: transparent; color: #fff; border-color: #fff; }
.sa-cta.sa-red .sa-lede { color: #fff; }
.sa-cta.sa-red .sa-eyebrow { color: #fff; }


/* Form card (Jetpack / contact forms) */
.sa-formcard { padding: clamp(20px, 3vw, 32px); border-radius: 16px; background: var(--sa-panel); border: 1px solid var(--sa-line); }
.sa-formcard .wp-block-jetpack-contact-form, .sa-formcard .contact-form { display: flex; flex-wrap: wrap; gap: 14px; }
.sa-formcard .grunion-field-wrap, .sa-formcard .wp-block-jetpack-input-wrap { flex: 1 1 100%; margin: 0 !important; }
.sa-formcard .grunion-field-label, .sa-formcard label { display: block; margin-bottom: 6px; font-family: var(--sa-cond); font-weight: 500; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: #d6d6d8; }
.sa-formcard .grunion-label-required, .sa-formcard .required { color: var(--sa-red); }
.sa-formcard .wp-block-button__link::after { content: none; }
.sa-formcard .wp-block-jetpack-button, .sa-formcard .wp-block-button { width: 100%; }
.sa-formcard .wp-block-jetpack-button button, .sa-formcard button[type="submit"] { width: 100%; min-height: 56px; font-size: 20px; }
.contact-form-submission { padding: 18px; border-radius: 10px; background: var(--sa-panel-2); }
.sa-red h1 strong, .sa-red h2 strong, .sa-red h3 strong { color: #111; }

/* Columns from core: stack nicely */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 2em; margin: 0 0 1.5em; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
@media (max-width: 781px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile) { flex-direction: column; }
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 100% !important; }
}
.sa-landing .wp-block-columns { margin-bottom: 0; }

/* Reveal on scroll */
.sa-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.sa-reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Pre-footer & footer
   ========================================================================== */
.sa-prefooter { background: var(--sa-red); color: #fff; position: relative; overflow: hidden; }
.sa-prefooter::before { content: ""; position: absolute; inset: 0; background-image: var(--sa-grain); opacity: .8; pointer-events: none; }
.sa-prefooter-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px 40px; align-items: center; padding-block: 40px; }
.sa-prefooter h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 6px; }
.sa-prefooter p { margin: 0; color: rgba(255, 255, 255, .9); }
.sa-prefooter input[type="email"] { background: #fff; color: #111; border-color: #fff; }
.sa-prefooter button[type="submit"] { background: #111; border-color: #111; box-shadow: none; }
.sa-prefooter button[type="submit"]:hover { background: #000; border-color: #000; }
.sa-prefooter .sa-nl-msg { color: #fff !important; }
@media (max-width: 860px) { .sa-prefooter-inner { grid-template-columns: 1fr; } }

.sa-footer { background: #060607; border-top: 1px solid #1c1c20; color: #c9c9cc; font-size: 15px; }
.sa-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-block: 56px 40px; }
.sa-footer h3 { font-size: 16px; letter-spacing: .14em; color: #fff; margin-bottom: 14px; }
.sa-footer .menu { list-style: none; margin: 0; padding: 0; }
.sa-footer .menu li { margin-bottom: 8px; }
.sa-footer .menu a, .sa-contact a { color: #c9c9cc; text-decoration: none; }
.sa-footer .menu a:hover, .sa-contact a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--sa-red); }
.sa-footer-brand p { margin: 16px 0; max-width: 42ch; color: #9d9da4; }
.sa-brand--footer .sa-brand-logo { height: 64px; }
.sa-brand--footer .sa-brand-108 { height: 56px; }
.sa-contact { list-style: none; margin: 0; padding: 0; }
.sa-contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.sa-contact .sa-icon { width: 18px; height: 18px; color: var(--sa-red); }
.sa-social { list-style: none; display: flex; gap: 14px; padding: 0; margin: 12px 0 0; }
.sa-footer-cta p { color: #9d9da4; }
.sa-secure { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: #8a8a90 !important; }
.sa-secure .sa-icon { width: 16px; height: 16px; }
.sa-footer-bottom { border-top: 1px solid #1c1c20; }
.sa-footer-bottom .sa-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding-block: 18px; font-size: 13px; color: #85858c; }
.sa-footer-bottom p { margin: 0; }
.sa-footer-bottom .menu { display: flex; gap: 18px; }
.sa-footer-bottom .menu li { margin: 0; }
@media (max-width: 960px) { .sa-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sa-footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ==========================================================================
   Posts, 404, comments
   ========================================================================== */
.sa-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.sa-post-card { background: var(--sa-panel); border: 1px solid var(--sa-line); border-radius: 12px; overflow: hidden; }
.sa-post-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sa-post-body { padding: 18px 20px 20px; }
.sa-post-meta { font-size: 13px; color: var(--sa-muted); margin-bottom: 6px; }
.sa-post-title { font-size: 26px; }
.sa-post-title a { text-decoration: none; }
.sa-404 { padding: clamp(60px, 10vw, 140px) 0; text-align: center; }
.sa-404 img { width: 140px; margin: 0 auto 20px; display: block; }
.sa-404 .sa-eyebrow::before { display: none; }
.sa-404-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.sa-comments { margin-top: 48px; }
.nav-links { display: flex; justify-content: space-between; gap: 20px; margin-top: 32px; }
.pagination .nav-links { justify-content: center; }
.page-numbers { padding: 6px 12px; border-radius: 6px; text-decoration: none; }
.page-numbers.current { background: var(--sa-red); }

/* ==========================================================================
   Utilities
   ========================================================================== */
.has-red-color { color: var(--sa-red) !important; }
.has-muted-color { color: var(--sa-muted) !important; }
.has-red-background-color { background-color: var(--sa-red) !important; }
.has-ink-background-color { background-color: var(--sa-ink) !important; }
.has-panel-background-color { background-color: var(--sa-panel) !important; }
.has-white-color { color: #fff !important; }
.sa-small { font-size: 14px; color: var(--sa-muted); }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.sa-reveal { opacity: 1; transform: none; }
}

/* Builder plugin widgets on white sections */
.sa-white .s108 .s108-filter select { background: #fff; color: #111; border-color: #cfcfd4; }
.sa-white .s108-filter, .sa-white .s108-count { color: #55555b; }
