/* ==========================================================================
   Syndicate Distribution — design system
   Black header, hero and footer on textured charcoal; white content bands;
   signal red (#e8040f) for actions and accents; Oswald display type echoing
   the condensed SYNDICATE wordmark; Inter for UI text.
   ========================================================================== */

:root {
	--black: #0b0b0c;
	--ink: #121212;
	--charcoal: #161618;
	--graphite: #2a2a2f;
	--steel: #5f6068;
	--silver: #9a9ba3;
	--line: #e4e4e8;
	--mist: #f5f5f7;
	--white: #ffffff;
	--red: #e8040f;
	--red-bright: #fc1013;
	--red-dark: #b80009;
	--red-tint: #fdecec;
	--blue: #334fb4;
	--blue-dark: #263c8c;
	--blue-tint: #eef1fb;
	--green: #1a7f37;
	--amber: #8a4b00;

	--font-display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Inter", Helvetica, Arial, sans-serif;

	--radius-sm: 3px;
	--radius: 4px;
	--radius-lg: 6px;
	--shadow-sm: 0 1px 2px rgba(18, 18, 18, .06);
	--shadow-card: 0 2px 14px rgba(18, 18, 18, .08);
	--shadow: 0 10px 30px -12px rgba(18, 18, 18, .22);
	--shadow-lg: 0 30px 60px -20px rgba(18, 18, 18, .35);
	--container: 1340px;
	--gutter: clamp(16px, 3vw, 32px);
	--header-h: 104px;      /* min-height of the header row */
	--header-offset: 113px; /* rendered sticky header height; main.js keeps it measured */
	--ease: cubic-bezier(.2, .7, .2, 1);
	--texture: url("../images/art/texture-dark.webp");
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-offset) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
.site-header :focus-visible, .hero :focus-visible, .why :focus-visible, .site-footer :focus-visible, .value-strip :focus-visible, .cat-card:focus-visible { outline-color: #ffffff; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: .01em; margin: 0 0 .5em; color: inherit; text-transform: uppercase; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.muted { color: var(--steel); }
.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: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 12px 18px; background: var(--white); color: var(--ink); border-radius: var(--radius-sm); box-shadow: var(--shadow); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.eyebrow::before { content: ""; width: 26px; height: 3px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #ff5a60; }
.rule { display: block; width: 46px; height: 4px; margin: 18px 0 20px; background: var(--red); }

/* --- Buttons -------------------------------------------------------------- */
.btn, .button, button.button, input[type="submit"].button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 22px;
	border: 2px solid transparent; border-radius: var(--radius-sm);
	font-family: var(--font-body); font-size: .95rem; font-weight: 700; letter-spacing: .01em; line-height: 1.1;
	text-align: center; text-decoration: none; cursor: pointer;
	transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
/* Theme buttons use the condensed display face, uppercase, as in the brand comps. */
.btn { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; border-width: 1.5px; }
.btn .icon { transition: transform .18s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active, .button:active { transform: translateY(1px); }
.btn--red, .sd-button--red, .button.alt, .woocommerce .button.alt, .woocommerce-page .button.alt { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--red:hover, .sd-button--red:hover, .button.alt:hover, .woocommerce .button.alt:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); box-shadow: 0 10px 22px -10px rgba(232, 4, 15, .7); }
.btn--outline, .sd-button--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover, .sd-button--ghost:hover { background: var(--ink); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.85); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--xs { min-height: 34px; padding: 0 16px; font-size: .86rem; letter-spacing: .04em; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled], .button[disabled], .button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: .98rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--red); text-decoration: none; }
.link-arrow .icon { stroke-width: 2.4; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--red-dark); }
.link-arrow:hover .icon { transform: translateX(3px); }

.icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 10px; background: transparent; border: 0; border-radius: var(--radius-sm); color: inherit; cursor: pointer; text-decoration: none; }
.icon-button:hover { background: rgba(255,255,255,.08); color: var(--white); }

/* --- Warning bar + header ----------------------------------------------- */
.warning-bar { background: var(--white); color: var(--ink); border-bottom: 1px solid #e2e2e5; text-align: center; }
.warning-bar p { margin: 0; padding: 7px var(--gutter); font-family: Arial, Helvetica, sans-serif; font-size: 1rem; font-weight: 700; line-height: 1.18; letter-spacing: 0; }
.warning-bar strong { font-weight: 700; }

.site-header { position: sticky; top: 0; z-index: 50; background: linear-gradient(rgba(6, 6, 7, .8), rgba(6, 6, 7, .8)), #0b0b0c var(--texture) center / cover; color: var(--white); border-bottom: 1px solid #242428; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.9); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); min-height: var(--header-h); }
.site-logo { display: inline-flex; flex-shrink: 0; }
.site-logo img { display: block; width: auto; height: 84px; }
.site-nav { flex: 1; align-self: stretch; display: flex; align-items: center; }
.site-nav .menu { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a { display: block; padding: 12px 2px; color: #ededf0; font-family: var(--font-body); font-size: .86rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.site-nav .menu > li > a { position: relative; }
.site-nav .menu > li > a::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 9px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.site-nav .menu > li > a:hover, .site-nav .menu > .current-menu-item > a, .site-nav .menu > .current-menu-ancestor > a { color: var(--white); }
.site-nav .menu > li > a:hover::after, .site-nav .menu > .current-menu-item > a::after, .site-nav .menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.site-nav__head, .site-nav__foot { display: none; }

.header-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; margin-left: auto; padding-block: 12px; }
.header-actions__top, .header-actions__bottom { display: flex; align-items: center; gap: 10px; }
.header-actions__top { gap: 12px; }
.header-actions__top .btn { min-height: 35px; padding: 0 20px; font-family: var(--font-body); font-size: .875rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.header-phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 34px; margin-right: 8px; color: #ededf0; font-size: .86rem; text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--white); }
.header-account span { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1023px) { .header-account span { max-width: 140px; } }
.header-search-inline { position: relative; display: flex; align-items: center; width: clamp(260px, 29vw, 420px); }
.header-search-inline__submit { position: absolute; left: 3px; display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; background: none; border: 0; border-radius: var(--radius-sm); color: #b3b3ba; cursor: pointer; }
.header-search-inline__submit:hover { color: var(--white); }
.header-search-inline input[type="search"] { min-height: 38px; padding: 0 12px 0 40px; background: #232325; color: var(--white); border: 1px solid #3d3d42; border-radius: var(--radius-sm); font-size: .84rem; }
.header-search-inline input::placeholder { color: #a5a5ad; }
.header-search-inline input:focus { border-color: #8d8d96; box-shadow: none; }
.cart-link { position: relative; margin-left: 6px; }
.cart-count { position: absolute; top: 4px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: var(--white); font-size: .7rem; font-weight: 800; line-height: 20px; text-align: center; }
.nav-toggle, .search-toggle, .account-icon { display: none; }
.search-toggle[aria-expanded="true"] { background: rgba(255, 255, 255, .12); color: var(--white); }

.header-search { background: var(--charcoal); border-top: 1px solid #26262b; }
.header-search__form { display: flex; align-items: center; gap: 12px; padding-block: 14px; color: var(--silver); }
.header-search__form input[type="search"] { flex: 1; min-width: 0; min-height: 46px; padding: 0 14px; background: #1d1d20; color: var(--white); border: 1px solid #3d3d42; border-radius: var(--radius-sm); font: inherit; }
.header-search__form input::placeholder { color: #9b9ba4; }
.header-search__form input:focus { border-color: #8d8d96; box-shadow: none; }
@media (max-width: 400px) { .header-search__form > .icon { display: none; } }

@media (min-width: 961px) { .header-search { display: none; } }
@media (max-width: 1180px) {
	/* Icon-only phone link: keep the number as its accessible name. */
	.header-phone span { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
	.header-phone { min-width: 34px; margin-right: 0; }
}
@media (max-width: 960px) {
	:root { --header-h: 72px; --header-offset: 73px; }
	.container { padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
	.header-inner { gap: 12px; }
	.nav-toggle, .search-toggle, .account-icon { display: inline-flex; }
	.site-logo img { height: 48px; }
	.header-actions { flex-direction: row; padding: 0; }
	.header-actions__top, .header-search-inline { display: none; }
	.header-actions__bottom { gap: 2px; }
	.cart-link { margin-left: 0; }
	/* Closed drawer is hidden from the tab order and accessibility tree even before main.js runs. */
	.site-nav { position: fixed; inset: 0 auto 0 0; z-index: 70; width: min(90vw, 360px); height: 100dvh; flex-direction: column; align-items: stretch; padding: max(18px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom)); background: var(--black); transform: translateX(-102%); visibility: hidden; transition: transform .28s var(--ease), visibility 0s linear .28s; overflow-y: auto; overscroll-behavior: contain; }
	.site-nav.is-open { transform: none; visibility: visible; transition: transform .28s var(--ease); box-shadow: var(--shadow-lg); }
	.admin-bar .site-nav { padding-top: 50px; }
	.site-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu a { padding: 14px 6px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; letter-spacing: .04em; border-bottom: 1px solid #1f1f23; }
	.site-nav .menu > li > a::after { display: none; }
	.site-nav .menu > .current-menu-item > a { color: var(--red-bright); }
	.site-nav__foot { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
	.nav-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #d6d6db; text-decoration: none; padding: 8px 0; }
	.nav-scrim:not([hidden]) { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.55); }
}
@media (max-width: 782px) { .admin-bar .site-nav { padding-top: 64px; } }
@media (max-width: 400px) {
	.site-logo img { height: 42px; }
}

/* Search fields on dark surfaces get a clear focus ring (overrides the global input:focus reset). */
.header-search-inline input[type="search"]:focus-visible, .header-search__form input[type="search"]:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; border-color: #ffffff; }

/* --- Page hero ----------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; background: var(--black) var(--texture) center / cover; color: var(--white); padding: clamp(48px, 8vw, 86px) 0 clamp(40px, 6vw, 64px); }
.page-hero::after { content: ""; position: absolute; top: 0; right: 0; width: min(22vw, 260px); height: 100%; background: linear-gradient(115deg, transparent 58%, var(--red) 58.5%, var(--red) 66%, transparent 66.5%); opacity: .85; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin: 0; max-width: 18ch; }
.page-hero__lead { max-width: 60ch; margin: 16px 0 0; color: #cfcfd5; font-size: 1.08rem; }
.page-hero--compact { padding: 38px 0 30px; }
.page-hero--compact::after { opacity: .6; }
.page-body { padding-block: clamp(40px, 6vw, 72px); }
.page-body--prose > .entry-content { max-width: 760px; }
@media (max-width: 600px) { .page-hero::after { display: none; } }

/* --- Entry content (editorial pages only: direct children, so WooCommerce templates are untouched) --- */
.entry-content > * + * { margin-top: 1em; }
.entry-content > h2 { margin-top: 1.6em; font-size: 1.75rem; }
.entry-content > h3 { margin-top: 1.4em; }
.entry-content > ul, .entry-content > ol { padding-left: 1.3em; }
.entry-content > ul > li + li, .entry-content > ol > li + li { margin-top: .35em; }
.entry-content > table { width: 100%; border-collapse: collapse; }
.entry-content > table th, .entry-content > table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content > blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--red); color: var(--steel); }

/* --- Sections ------------------------------------------------------------ */
.section { padding-block: clamp(36px, 4vw, 52px); }
.section-head { max-width: 720px; margin-bottom: 22px; }
.section-head h2 { margin: 0; font-size: clamp(1.7rem, 2.6vw, 2.15rem); color: var(--ink); }
.section-head--row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; max-width: none; }

/* --- Home: hero ----------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: #0c0c0d var(--texture) center / cover; color: var(--white); isolation: isolate; }
/* A slim dark rule separates the homepage artwork from the white category section. */
.home > .hero { border-bottom: 3px solid #0d0e0e; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(8, 8, 9, .68), rgba(8, 8, 9, .4) 32%, rgba(8, 8, 9, .08) 52%, transparent 66%); }
.hero__banner { position: absolute; inset: 0 0 0 auto; z-index: -2; display: block; width: auto; max-width: 100%; height: 100%; object-fit: contain; object-position: right center; mask-image: linear-gradient(90deg, transparent, #000 18%); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; gap: 24px; min-height: clamp(420px, 34.286vw, 660px); padding-block: 32px 28px; }
.hero__copy { position: relative; z-index: 1; padding-top: 12px; }
.hero__eyebrow { margin: 0 0 14px; color: var(--red-bright); font-size: .82rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; }
.hero h1 { margin: 0; line-height: 1; }
.hero__title-main { display: block; font-size: clamp(2.4rem, 3.75vw, 3.4rem); font-weight: 600; color: var(--white); white-space: nowrap; }
.hero__title-sub { display: block; margin-top: 6px; font-size: clamp(1.6rem, 2.75vw, 2.5rem); font-weight: 500; color: #dadade; white-space: nowrap; }
.hero__lead { max-width: 46ch; margin: 0; color: #e6e6ea; font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.2; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 22px; margin: 26px 0 30px; }
.hero__actions .btn--lg { min-height: 52px; padding: 0 26px; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 0; margin: 0; padding: 0; list-style: none; }
.hero__trust li { display: flex; align-items: center; gap: 16px; padding: 0 18px; border-left: 1px solid #3a3a40; font-size: .68rem; line-height: 1.45; color: #c9c9cf; }
.hero__trust li:first-child { padding-left: 0; border-left: 0; }
.hero__trust .icon { flex-shrink: 0; color: var(--red-bright); }
.hero__trust strong { display: block; color: var(--white); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.hero__tagline { position: relative; align-self: start; justify-self: end; z-index: 1; margin: 0; font-family: var(--font-body); font-size: clamp(.9rem, 1.25vw, 1.15rem); font-weight: 600; letter-spacing: .09em; line-height: 1.45; text-transform: uppercase; color: #c3c3c6; }
.hero__tagline span { display: block; }
.hero__tagline span + span { color: #b1b2b2; }
.hero__tagline strong { color: #f7f8f9; font-weight: 700; }
.hero__tagline::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 12px; background: var(--red); }

/* --- Home: value strip ---------------------------------------------------- */
.value-strip { background: #0d0e0e; color: var(--white); border-top: 1px solid #26262a; border-bottom: 1px solid #1d1d20; }
.value-strip__list { display: grid; grid-template-columns: 278fr 320fr 360fr 318fr; margin-block: 0; padding-block: 26px; list-style: none; }
.value-strip__item { display: flex; align-items: flex-start; gap: 20px; padding: 4px 12px 4px 36px; border-left: 1px solid #2e2e33; }
.value-strip__item .icon { width: 42px; height: 42px; }
@media (min-width: 1280px) {
	.value-strip__item { gap: 24px; }
	.value-strip__item .icon { width: 48px; height: 48px; }
}
.value-strip__item:first-child { padding-left: 0; border-left: 0; }
.value-strip__item .icon { flex-shrink: 0; margin-top: 2px; color: var(--red-bright); }
.value-strip h3 { margin: 0 0 6px; font-size: 1.12rem; letter-spacing: .05em; color: var(--white); }
.value-strip p { margin: 0; color: #d4d4d8; font-size: .84rem; line-height: 1.45; }
@media (min-width: 1101px) { .value-strip p span { display: block; } }

/* --- Home: categories ----------------------------------------------------- */
.home-categories { padding-top: 22px; padding-bottom: 28px; }
.home .section-head { margin-bottom: 14px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
/* Grid layout (not absolute text) so the card grows with its text under user text-spacing. */
.cat-card { position: relative; display: grid; grid-template-columns: 60% minmax(0, 1fr); overflow: hidden; background: var(--black); border-radius: var(--radius-sm); color: var(--white); text-decoration: none; box-shadow: var(--shadow-card); isolation: isolate; }
.cat-card::before { content: ""; grid-column: 1 / -1; grid-row: 1; padding-top: 60%; }
/* Darken the art behind the copy column so the text keeps its contrast. */
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
	linear-gradient(118deg, transparent 55%, rgba(255, 255, 255, .04) 55.3%, rgba(255, 255, 255, .04) 72%, transparent 72.3%),
	linear-gradient(62deg, transparent 70%, rgba(255, 255, 255, .03) 70.3%, transparent 88%),
	linear-gradient(90deg, transparent 45%, rgba(8, 8, 9, .8) 62%); }
.cat-card__image { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.cat-card:hover .cat-card__image { transform: scale(1.04); }
.cat-card__body { grid-column: 2; grid-row: 1; align-self: end; display: flex; flex-direction: column; gap: 4px; padding: 12px 3% 8% 0; }
@media (min-width: 961px) {
	.cat-card { container-type: inline-size; }
	/* 57% of a card whose height is 60% of its width = 34.2% of the width. */
	.cat-card__body { align-self: start; padding-top: calc(34.2cqw - 2px); }
}
.cat-card__title { font-family: var(--font-display); font-size: clamp(1.15rem, 1.5vw, 1.36rem); font-weight: 600; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; }
.cat-card__text { color: #d8d8dd; font-size: .8rem; line-height: 1.4; }
.cat-card__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-family: var(--font-body); font-size: .8rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: #ff4d55; }
.cat-card:hover { color: var(--white); }
.cat-card__cta .icon { transition: transform .2s var(--ease); }
.cat-card:hover .cat-card__cta .icon { transform: translateX(3px); }

/* --- Home: featured ------------------------------------------------------- */
.home-featured { padding-top: 0; padding-bottom: 43px; }
.home-featured > .container { width: auto; max-width: calc(var(--container) - var(--gutter) * 2); margin-inline: auto; padding: 17px 0 0; border-top: 1px solid var(--line); }
@media (max-width: 1340px) { .home-featured > .container { max-width: none; margin-inline: var(--gutter); } }

/* --- Home: why choose ----------------------------------------------------- */
.why { position: relative; background: linear-gradient(rgba(0, 0, 0, .56), rgba(0, 0, 0, .56)), #0c0c0d var(--texture) center / cover; color: var(--white); }
.why__inner { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 16px; align-items: center; padding-block: 36px 16px; }
@media (min-width: 1400px) { .why__grid { margin-right: -40px; } }
.why .hero__eyebrow { letter-spacing: .22em; }
.why__intro h2 { margin: 0; font-size: clamp(1.9rem, 2.5vw, 2.25rem); line-height: 1.08; }
.why__intro h2 span { display: block; }
.why__intro .rule { margin: 16px 0 18px; }
.why__intro p:last-child { margin: 0; color: #d0d0d4; font-size: .92rem; line-height: 1.4; max-width: 46ch; }
.why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.why__grid li { display: flex; flex-direction: column; align-items: center; padding: 8px 18px; border-left: 1px solid #34343a; text-align: center; }
.why__grid li:first-child { border-left: 0; }
.why__grid .icon { margin-bottom: 14px; color: var(--white); stroke-width: 1.4; }
.why__grid h3 { margin: 0 0 8px; font-size: 1.2rem; line-height: 1.15; letter-spacing: .04em; }
.why__grid p { margin: 0; color: #d0d0d4; font-size: .84rem; line-height: 1.45; }
@media (min-width: 1101px) { .why__grid h3 span, .why__grid p span { display: block; } }

/* --- Footer -------------------------------------------------------------- */
.site-footer { background: #080809; color: #c4c4cb; font-size: .84rem; border-top: 1px solid #1f1f23; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .95fr 1.35fr auto; align-items: start; padding-block: 34px 30px; }
.footer-grid > * { padding: 0 28px; border-left: 1px solid #26262b; }
.footer-grid > :first-child { padding-left: 0; border-left: 0; }
.footer-grid > .footer-social { border-left: 0; padding-right: 0; }
.footer-brand p { max-width: 30ch; margin: 14px 0 0; line-height: 1.6; }
.site-logo--footer img { height: 70px; }
.footer-col h2 { margin: 6px 0 14px; font-family: var(--font-body); font-size: .74rem; font-weight: 800; letter-spacing: .06em; color: var(--white); }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { line-height: 1.5; }
.footer-col li + li { margin-top: 3px; }
.site-footer a { color: #d4d4da; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.45; }
.footer-contact li + li { margin-top: 8px; }
.footer-contact li a { display: inline-flex; align-items: flex-start; gap: 12px; overflow-wrap: anywhere; }
.footer-contact .icon { flex-shrink: 0; margin-top: 1px; color: var(--white); }
.footer-social { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; align-self: center; }
.footer-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--white); }
.footer-social a:hover { background: #26262b; text-decoration: none; }
.footer-legal { border-top: 1px solid #222226; }
.footer-legal__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 16px; font-size: .76rem; color: #c4c6c8; }
.footer-legal p { margin: 0; }
@media (min-width: 1280px) {
	.footer-grid { grid-template-columns: 315fr 218fr 235fr 508fr auto; }
	.footer-grid > * { padding: 0 24px 0 64px; }
}

/* --- Home + footer responsive -------------------------------------------- */
@media (max-width: 1180px) {
	.hero__trust li:last-child { padding-left: 0; border-left: 0; }
}
@media (max-width: 1279px) {
	.value-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
	.value-strip__item:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 1100px) {
	.value-strip__item { gap: 16px; padding: 4px 18px; }
	.why__inner { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
	.footer-grid > :nth-child(odd) { padding-left: 0; border-left: 0; }
	.footer-grid > .footer-social { grid-column: 1 / -1; padding-left: 0; }
}
@media (max-width: 960px) {
	.hero__inner { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; padding-block: 36px clamp(170px, 46vw, 250px); }
	/* Keep the artwork in the hero composition, with its empty left edge cropped on phones. */
	.hero::before { background: linear-gradient(180deg, rgba(8, 8, 9, .48), transparent 75%); }
	.hero__banner { inset: auto 0 0; width: 100%; height: clamp(200px, 60vw, 360px); object-fit: cover; object-position: right bottom; mask-image: linear-gradient(180deg, transparent, #000 26%); }
	.hero__tagline { display: none; }
	.hero__actions .btn.btn--ghost-light { flex: 0 1 auto; min-height: 44px; padding-inline: 0; border: 0; border-radius: 0; background: transparent; font-family: var(--font-body); font-size: .85rem; font-weight: 700; letter-spacing: .04em; }
	.hero__actions .btn--ghost-light::after { content: "\2192"; margin-left: 8px; font-size: 1.1rem; }
	.hero__actions .btn--ghost-light:hover { color: var(--red-bright); background: transparent; }
	.value-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
	.value-strip__item:nth-child(odd) { padding-left: 0; border-left: 0; }
	.cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
	.why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 0; }
	.why__grid li:nth-child(odd) { border-left: 0; }
	/* Comfortable tap targets for footer links on touch screens. */
	.footer-col a, .footer-contact li a { display: inline-flex; align-items: center; min-height: 44px; }
	.footer-col li + li, .footer-contact li + li { margin-top: 0; }
}
@media (min-width: 601px) and (max-width: 960px) {
	/* Give each of the three tablet cards its full width for readable copy. */
	.cat-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
	.cat-card::before, .cat-card::after { display: none; }
	.cat-card__image { position: relative; inset: auto; grid-column: 1; grid-row: 1; z-index: 0; height: auto; aspect-ratio: 5 / 3; }
	.cat-card__body { grid-column: 1; grid-row: 2; align-self: stretch; padding: 12px; }
	.cat-card__cta { margin-top: auto; padding-top: 8px; }
	.hero__inner { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); min-height: 420px; padding-block: 32px; }
	.hero::before { background: linear-gradient(90deg, rgba(8, 8, 9, .94), rgba(8, 8, 9, .88) 44%, rgba(8, 8, 9, .7) 56%, rgba(8, 8, 9, .2) 70%, transparent 90%); }
	.hero__banner { height: 100%; mask-image: linear-gradient(90deg, transparent, #000 30%); }
	.hero__title-main { font-size: clamp(1.9rem, 4.2vw, 2.5rem); line-height: 1.08; white-space: normal; }
	.hero__title-sub { font-size: clamp(1.35rem, 3vw, 1.7rem); line-height: 1.15; white-space: normal; }
	.hero__eyebrow { font-size: .65rem; letter-spacing: .14em; }
	.hero__actions { gap: 8px; margin-block: 20px 0; }
	.hero__actions .btn--lg { padding-inline: 18px; font-size: 1rem; }
}
@media (max-width: 600px) {
	:root { --header-h: 64px; --header-offset: 65px; }
	.header-inner { gap: 8px; }
	.header-inner > .site-logo img { height: 40px; }
	.warning-bar p { padding-block: 8px; }
	.header-search__form { gap: 8px; padding-block: 10px; }
	.header-search__form .btn { min-height: 46px; }
	.hero__inner { padding-top: 24px; gap: 0; }
	.hero__copy { padding-top: 0; }
	.hero__title-main { font-size: clamp(1.65rem, 8.2vw, 2.5rem); line-height: 1.08; white-space: normal; }
	.hero__title-sub { font-size: clamp(1.25rem, 5.7vw, 1.7rem); line-height: 1.15; white-space: normal; }
	.hero__eyebrow { margin-bottom: 12px; font-size: .65rem; letter-spacing: .14em; }
	.hero .rule { margin-block: 14px 16px; }
	.hero__lead { font-size: .95rem; line-height: 1.5; }
	.hero__actions { gap: 10px; margin-block: 20px; }
	.hero__actions .btn { flex: 1 1 100%; }
	.hero__actions .btn--lg { min-height: 48px; }
	.hero__trust { flex-direction: column; align-items: flex-start; gap: 12px; }
	.hero__trust li { padding: 0; border-left: 0; }
	.value-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; padding-block: 22px; }
	.value-strip__item { gap: 8px; padding: 0; border-left: 0; }
	.value-strip__item .icon { width: 24px; height: 24px; }
	.value-strip h3 { font-size: .9rem; line-height: 1.2; letter-spacing: .02em; }
	.value-strip p { font-size: .78rem; line-height: 1.45; }
	.section-head--row { gap: 8px; }
	.link-arrow { min-height: 44px; }
	.home-categories { padding-top: 24px; padding-bottom: 24px; }
	.cat-grid { grid-template-columns: 1fr; gap: 14px; max-width: 560px; }
	.home-featured { padding-bottom: 28px; }
	.why__inner { padding-block: 28px; gap: 24px; }
	.why__grid { gap: 24px 0; }
	.why__grid li { padding-inline: 12px; }
	.why__grid .icon { width: 32px; height: 32px; margin-bottom: 10px; }
	.why__grid h3 { font-size: 1.05rem; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; padding-block: 28px; }
	.footer-grid > * { min-width: 0; padding: 0; border-left: 0; }
	.footer-brand, .footer-contact { grid-column: 1 / -1; }
	.footer-brand { display: grid; grid-template-columns: 100px minmax(0, 1fr); align-items: center; gap: 16px; }
	.footer-brand .site-logo img { height: 52px; }
	.footer-brand p { max-width: none; margin: 0; font-size: .78rem; }
	.footer-legal__inner { flex-direction: column; }
	.page-hero, .page-hero--compact { padding-block: 28px 24px; }
	.page-hero h1 { font-size: 2rem; }
	.page-hero__lead { margin-top: 12px; font-size: 1rem; }
	.page-body, .contact-layout { padding-block: 28px; }
	.apply-layout { padding-block: 24px; gap: 24px; }
	.sd-apply__section { min-width: 0; padding: 16px; }
	.sd-apply__section legend { font-size: 1.15rem; gap: 8px; max-width: 100%; }
	.sd-apply__step { flex-shrink: 0; width: 28px; height: 28px; }
	.sd-field, .sd-field input, .sd-field select { min-width: 0; }
	.sd-field--file input { font-size: .85rem; }
	.sd-apply__submit .button { width: 100%; padding-inline: 16px; }
	.contact-card, .rail-card { padding: 20px; }
}
@media (max-width: 374px) {
	.hero__actions .btn--red { padding-inline: 14px; letter-spacing: .03em; font-size: .98rem; }
}

/* --- Forms (shared) ------------------------------------------------------ */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="number"], input[type="search"], select, textarea {
	width: 100%; min-height: 48px; padding: 10px 14px;
	background: var(--white); color: var(--ink);
	border: 1.5px solid #cfd0d6; border-radius: var(--radius-sm);
	font: inherit; font-size: 1rem;
	transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(51, 79, 180, .2); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--red); }
label { font-weight: 600; font-size: .92rem; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--red); width: 18px; height: 18px; }
input[type="file"] { width: 100%; padding: 12px; border: 1.5px dashed #c5c6cc; border-radius: var(--radius-sm); background: var(--mist); font: inherit; font-size: .92rem; }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 6px; background: var(--ink); color: var(--white); font-weight: 700; cursor: pointer; }

.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; }
.check-list .icon { flex-shrink: 0; margin-top: 2px; color: var(--red); }
.check-list--light li { color: #e6e6ea; }
.check-list--light .icon { color: #ff4d55; }

/* --- Application page --------------------------------------------------- */
.apply-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 48px); padding-block: clamp(36px, 5vw, 64px); align-items: start; }
.apply-rail { position: sticky; top: calc(var(--header-offset) + 20px); display: grid; gap: 16px; }
.rail-card { padding: 22px; background: var(--mist); border-radius: var(--radius); }
.rail-card h2 { font-size: 1.15rem; margin-bottom: 10px; }
.rail-card--dark { background: var(--black); color: var(--white); }
.rail-card--dark .check-list li { color: #e3e3e8; }
.rail-card--dark .icon { color: #ff4d55; }
.rail-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 1.25rem; font-weight: 800; color: var(--ink); text-decoration: none; }
@media (max-width: 960px) { .apply-layout { grid-template-columns: 1fr; } .apply-rail { position: static; } }

.sd-apply { display: grid; gap: 20px; }
.sd-apply__section { margin: 0; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.sd-apply__section legend { display: flex; align-items: center; gap: 12px; padding: 0 8px; margin-left: -8px; font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase; }
.sd-apply__step { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--white); font-family: var(--font-body); font-size: .9rem; font-weight: 800; }
.sd-apply__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-top: 12px; }
.sd-field { display: grid; gap: 6px; margin: 0; align-content: start; }
.sd-field--wide, .sd-field--file { grid-column: 1 / -1; }
.sd-field abbr { color: var(--red); text-decoration: none; }
.sd-optional { font-weight: 500; color: var(--steel); }
.sd-field__error { color: var(--red-dark); font-size: .86rem; font-weight: 600; }
.sd-field__help { color: var(--steel); font-size: .84rem; }
.sd-apply__hint { margin: 4px 0 0; color: var(--steel); font-size: .92rem; }
.sd-apply__agree { display: grid; gap: 12px; margin-top: 18px; }
.sd-check { display: flex; align-items: flex-start; gap: 12px; padding: 14px; background: var(--mist); border: 1.5px solid transparent; border-radius: var(--radius-sm); font-weight: 500; cursor: pointer; }
.sd-check input { flex-shrink: 0; margin-top: 3px; }
.sd-check.has-error { border-color: var(--red); background: var(--red-tint); }
.sd-apply__errors { padding: 16px 20px; border-left: 4px solid var(--red); border-radius: var(--radius-sm); background: var(--red-tint); }
.sd-apply__errors ul { margin: 8px 0 0; padding-left: 20px; }
.sd-apply__errors a { color: var(--red-dark); }
.sd-apply__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.sd-apply__submit .button { min-height: 54px; padding: 0 34px; font-size: 1.02rem; }
.sd-apply__submit p { margin: 0; }
.sd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sd-apply-done { padding: clamp(28px, 5vw, 48px); text-align: center; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.sd-apply-done__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 50%; background: #e6f4ea; color: var(--green); font-size: 2rem; font-weight: 800; }
@media (max-width: 640px) { .sd-apply__grid { grid-template-columns: 1fr; } }

/* --- Contact ------------------------------------------------------------ */
.contact-layout { padding-block: clamp(40px, 6vw, 72px); }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 40px; }
.contact-card { display: grid; align-content: start; gap: 4px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.contact-card .icon { color: var(--red); margin-bottom: 10px; }
.contact-card__label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.contact-card strong { font-size: 1.15rem; word-break: break-word; }
.contact-body { max-width: 760px; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

/* --- Blog list ---------------------------------------------------------- */
.post-list { display: grid; gap: 18px; }
.post-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.post-card h2 { font-size: 1.4rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
