/* International Lubricant — global layer: tokens, header, drawer, buttons, footer, shared section parts. */
:root {
	--il-bg: var(--wp--preset--color--carbon);
	--il-raised: var(--wp--preset--color--graphite);
	--il-line: var(--wp--preset--color--steel);
	--il-ti: var(--wp--preset--color--titanium);
	--il-silver: var(--wp--preset--color--silver);
	--il-paper: var(--wp--preset--color--warm-white);
	--il-red: var(--wp--preset--color--performance-red);
	--il-red-text: var(--wp--preset--color--red-text);
	--il-burg: var(--wp--preset--color--burgundy);
	--il-copper: var(--wp--preset--color--copper);
	--il-display: var(--wp--preset--font-family--display);
	--il-ease: var(--wp--custom--motion--ease);
	--il-gut: clamp(1rem, 4vw, 2.5rem);
	--il-hh: 84px; /* header height at top; JS-free, mirrored in .is-scrolled */
}
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { background: var(--il-bg); overflow-x: clip; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.il-skip { position: fixed; left: 1rem; top: -4rem; z-index: 300; background: var(--il-red); color: #fff; padding: .75rem 1.25rem; transition: top .2s; }
.il-skip:focus { top: 1rem; }
.il-wrap { width: min(100% - 2 * var(--il-gut), 80rem); margin-inline: auto; }
.il-icon { width: 1.25em; height: 1.25em; flex: none; }
.il-page { padding-block: calc(var(--il-hh) + 3rem) 6rem; }
.il-page > * + * { margin-top: 1.5rem; }

/* Buttons: slanted plate drawn on ::before so focus outlines are never clipped. */
.il-btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: 0 1.4rem; font: 700 1.05rem/1 var(--il-display); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: #fff; cursor: pointer; border: 0; background: none; }
.il-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(-14deg); border-radius: 2px; transition: background var(--wp--custom--motion--base), box-shadow var(--wp--custom--motion--base), transform var(--wp--custom--motion--base) var(--il-ease); }
.il-btn--solid::before { background: var(--il-red); }
.il-btn--solid:hover::before { background: #f0232d; box-shadow: var(--wp--custom--shadow--glow); }
.il-btn--ghost::before { box-shadow: inset 0 0 0 1px rgba(245, 242, 236, .45); }
.il-btn--ghost:hover::before { background: rgba(245, 242, 236, .1); box-shadow: inset 0 0 0 1px var(--il-paper); }
.il-btn--dark::before { background: var(--il-bg); }
.il-btn--dark:hover::before { background: var(--il-burg); }
.il-btn--lg { min-height: 54px; padding: 0 1.9rem; font-size: 1.2rem; }
.il-btn:active::before { transform: skewX(-14deg) scale(.97); }
.il-link { display: inline-flex; align-items: center; gap: .5rem; font: 700 1.05rem var(--il-display); letter-spacing: .08em; text-transform: uppercase; color: var(--il-paper); text-decoration: none; padding-block: .6rem; border-bottom: 1px solid var(--il-red); }
.il-link:hover { color: var(--il-red-text); }
.il-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid transparent; color: var(--il-paper); cursor: pointer; border-radius: 50%; transition: background .2s; }
.il-iconbtn:hover { background: rgba(255, 255, 255, .1); }
.il-iconbtn .il-icon { width: 22px; height: 22px; }

/* Header: transparent over the hero at top, compact + solid once scrolled. */
.il-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s, box-shadow .3s; }
.admin-bar .il-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .il-header { top: 46px; } }
.il-header::before { content: ""; position: absolute; inset: 0 0 -20px; z-index: -1; background: linear-gradient(180deg, rgba(12, 13, 15, .85), rgba(12, 13, 15, 0)); transition: opacity .3s; }
.il-header.is-scrolled, .il-header.is-open { background: rgba(12, 13, 15, .9); box-shadow: 0 1px 0 var(--il-line), 0 12px 30px -16px #000; backdrop-filter: blur(14px); }
.il-header.is-scrolled::before { opacity: 0; }
.il-header__bar { width: min(100% - 2 * var(--il-gut), 90rem); margin-inline: auto; height: var(--il-hh); display: flex; align-items: center; gap: 1.25rem; transition: height .3s var(--il-ease); }
.il-header.is-scrolled .il-header__bar { height: 60px; }
.il-logo { display: block; flex: none; line-height: 0; border-radius: 6px; overflow: hidden; }
.il-logo img { height: 50px; width: auto; transition: height .3s var(--il-ease); }
.il-header.is-scrolled .il-logo img { height: 40px; }
.il-nav { display: none; margin-inline: auto; }
.il-nav__list { display: flex; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.il-nav__list a { position: relative; display: block; padding: .8rem .7rem; font: 600 1.02rem var(--il-display); letter-spacing: .06em; text-transform: uppercase; color: var(--il-silver); text-decoration: none; transition: color .2s; }
.il-nav__list a::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .25rem; height: 2px; background: var(--il-red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--il-ease); }
.il-nav__list a:hover, .il-nav__list a[aria-current] { color: #fff; }
.il-nav__list a:hover::after, .il-nav__list a[aria-current]::after { transform: scaleX(1); }
.il-header__actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.il-header__actions .il-btn { font-size: .98rem; padding: 0 1.15rem; }
.il-hide-sm { display: none; }
@media (min-width: 720px) { .il-hide-sm { display: inline-flex; } }
@media (min-width: 1280px) {
	.il-nav { display: block; }
	.il-burger { display: none; }
	.il-header__actions { margin-left: 0; }
	.il-nav__list a { padding-inline: .8rem; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
	.il-nav__list a { padding-inline: .5rem; }
	.il-nav__list a::after { left: .5rem; right: .5rem; }
	.il-header__actions { gap: .4rem; }
	.il-header__actions .il-btn { padding-inline: 1rem; }
}
.il-search { border-top: 1px solid var(--il-line); background: rgba(12, 13, 15, .96); padding-block: 1rem; }
.il-search[hidden], .il-drawer[hidden] { display: none; }
.il-search__form { display: flex; gap: .75rem; width: min(100% - 2 * var(--il-gut), 52rem); }
.il-search input[type="search"] { flex: 1; min-width: 0; min-height: 48px; padding: 0 1rem; background: var(--il-raised); border: 1px solid var(--il-line); border-radius: 4px; color: var(--il-paper); font: inherit; }
.il-search input::placeholder { color: var(--il-ti); opacity: 1; }
.il-search__chips { width: min(100% - 2 * var(--il-gut), 52rem); display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .75rem auto 0; color: var(--il-ti); font-size: .9rem; }
.il-search__chips a { padding: .35rem .8rem; border: 1px solid var(--il-line); border-radius: 99px; color: var(--il-silver); text-decoration: none; }
.il-search__chips a:hover { border-color: var(--il-red); color: #fff; }

/* Mobile drawer */
.il-drawer { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; padding: 0 var(--il-gut) max(1.5rem, env(safe-area-inset-bottom)); background: radial-gradient(60rem 30rem at 100% 0, rgba(125, 14, 25, .4), transparent), var(--il-bg); opacity: 0; transform: translateX(6%); transition: opacity .28s, transform .35s var(--il-ease); overflow-y: auto; }
.il-drawer.is-open { opacity: 1; transform: none; }
.il-drawer__head { display: flex; align-items: center; justify-content: space-between; height: 72px; flex: none; }
.il-drawer__title { font: 700 1.2rem var(--il-display); letter-spacing: .1em; text-transform: uppercase; color: var(--il-ti); }
.il-drawer__list { list-style: none; margin: 1rem 0 0; padding: 0; }
.il-drawer__list a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--il-line); font: 700 clamp(1.7rem, 7vw, 2.4rem) var(--il-display); letter-spacing: .03em; text-transform: uppercase; color: var(--il-paper); text-decoration: none; }
.il-drawer__list a[aria-current] { color: var(--il-red-text); }
.il-drawer__cta { display: grid; gap: .75rem; margin-top: auto; padding-top: 2rem; }
.il-drawer__cta .il-btn { min-height: 52px; }
body.il-lock { overflow: hidden; }

/* Shared section parts */
.il-section { position: relative; padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.il-section + .il-section { border-top: 1px solid rgba(255, 255, 255, .05); }
.il-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.il-head .il-eyebrow { flex-basis: 100%; max-width: none; margin: 0; }
.il-head .il-h2 { margin: 0; flex: 1 1 18rem; }
.il-h2 { font: 700 var(--wp--preset--font-size--title-2)/1 var(--il-display); text-transform: uppercase; letter-spacing: .01em; margin: 0 0 1rem; color: #fff; }
.il-eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0 0 1rem; font: 600 .98rem var(--il-display); letter-spacing: .22em; text-transform: uppercase; color: var(--il-red-text); }
.il-eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
.il-muted { color: var(--il-ti); }
.il-section p { max-width: 42rem; }
.il-split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .il-split { grid-template-columns: 1fr 1fr; } .il-split--rev > :first-child { order: 2; } }
.il-chips { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.il-chips li { padding: .2rem .65rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 99px; font: 600 .82rem var(--il-display); letter-spacing: .08em; text-transform: uppercase; color: var(--il-silver); }
.il-pill { display: inline-block; padding: .3rem .8rem; border-radius: 99px; background: rgba(125, 14, 25, .15); border: 1px solid currentColor; font: 700 .8rem var(--il-display); letter-spacing: .12em; text-transform: uppercase; color: var(--il-burg); }
.il-docs--dark .il-pill { color: var(--il-red-text); background: none; }

/* Footer */
.il-footer { background: var(--il-raised); border-top: 1px solid var(--il-line); padding-top: clamp(3rem, 6vw, 5rem); }
.il-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .il-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .il-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.il-footer__brand img { border-radius: 6px; }
.il-footer__brand p { color: var(--il-ti); max-width: 20rem; margin-top: 1rem; }
.il-footer__h { font: 700 1rem var(--il-display); letter-spacing: .2em; text-transform: uppercase; color: var(--il-red-text); margin: 0 0 1rem; }
.il-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.il-footer a { display: inline-block; padding-block: .45rem; color: var(--il-silver); text-decoration: none; overflow-wrap: anywhere; }
.il-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--il-red); text-underline-offset: 4px; }
.il-footer__legal { margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid var(--il-line); color: var(--il-ti); font-size: .9rem; }
.il-footer__legal p { margin: 0; max-width: none; }

/* Scroll reveal (only when JS runs; above-the-fold items resolve immediately). */
.js .il-reveal { opacity: 0; translate: 0 28px; transition: opacity .7s var(--il-ease), translate .8s var(--il-ease); transition-delay: calc(var(--n, 0) * 70ms); }
.js .il-reveal.is-in { opacity: 1; translate: none; }
[data-il-tilt] { --rx: 0deg; --ry: 0deg; transform: perspective(var(--wp--custom--motion--depth)) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .35s var(--il-ease), border-color .3s, box-shadow .3s; will-change: transform; }
[data-il-tilt].is-tilting { transition: transform .08s linear, border-color .3s, box-shadow .3s; }
@media (prefers-reduced-motion: reduce) {
	.js .il-reveal { opacity: 1; translate: none; transition: none; }
	[data-il-tilt] { transform: none; }
}

/* Shared editorial parts (homepage redesign) */
.il-eyebrow b { font: 700 .85rem var(--il-display); letter-spacing: .1em; padding: .1rem .5rem; margin-right: .1rem; border: 1px solid currentColor; border-radius: 2px; color: var(--il-ti); }
.il-huge { margin: 0 0 1.25rem; font: 700 clamp(2.6rem, 1.4rem + 6vw, 7rem)/.92 var(--il-display); text-transform: uppercase; letter-spacing: .005em; color: #fff; max-width: 16ch; text-wrap: balance; }
.il-band { position: relative; isolation: isolate; display: grid; align-items: center; min-height: min(82svh, 48rem); overflow: hidden; padding-block: clamp(4rem, 8vw, 7rem); }
.il-band__ph { position: absolute; inset: -14% 0; z-index: -2; translate: 0 var(--par, 0px); }
.il-band__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.il-band__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 13, 15, .94), rgba(12, 13, 15, .55) 55%, rgba(12, 13, 15, .35)), linear-gradient(0deg, #0c0d0f, transparent 25%); }
.il-band__shade--deep { background: linear-gradient(180deg, rgba(12, 13, 15, .9), rgba(12, 13, 15, .78)), radial-gradient(50rem 24rem at 15% 20%, rgba(125, 14, 25, .5), transparent); }
.il-band__shade--ember { background: linear-gradient(90deg, rgba(125, 14, 25, .92), rgba(125, 14, 25, .55) 60%, rgba(12, 13, 15, .55)); }
.il-band__in p { max-width: 36rem; color: var(--il-silver); }

/* Header polish: hairline light edge in the transparent state, soft hover glow */
.il-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22) 20%, rgba(227, 15, 26, .55) 50%, rgba(255, 255, 255, .22) 80%, transparent); transition: opacity .3s; pointer-events: none; }
.il-header.is-scrolled::after, .il-header.is-open::after { opacity: 0; }
.il-nav__list a:hover { text-shadow: 0 0 18px rgba(255, 255, 255, .35); }

/* Footer social icons: machined graphite keys with a visible edge; lift, tilt and a light sweep on hover. */
.il-footer .il-social, .il-social { display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.il-footer .il-social a { display: block; padding: 0; }
.il-social__a { display: block; width: 48px; height: 48px; border-radius: 13px; perspective: 400px; text-decoration: none; color: var(--il-silver); }
.il-social__face { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; background: linear-gradient(150deg, #2e333a, #17191d 55%, #0f1113); border: 1px solid rgba(255, 255, 255, .08); border-top-color: rgba(255, 255, 255, .22); box-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 -3px 0 rgba(0, 0, 0, .45) inset, 0 4px 0 #08090a, 0 10px 18px -8px #000; transform: translateZ(0); transition: transform var(--wp--custom--motion--base) var(--il-ease), box-shadow var(--wp--custom--motion--base), color var(--wp--custom--motion--fast), background var(--wp--custom--motion--base); }
.il-social__face::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 110%, rgba(227, 15, 26, .55), transparent 70%); opacity: 0; transition: opacity var(--wp--custom--motion--base); }
.il-social__face::after { content: ""; position: absolute; inset: -40% auto -40% -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-18deg) translateX(0); transition: transform .7s var(--il-ease); }
.il-social__icon { position: relative; z-index: 1; width: 22px; height: 22px; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .6)); }
.il-social__a:hover .il-social__face, .il-social__a:focus-visible .il-social__face { color: #fff; transform: translateY(-4px) rotateX(14deg) rotateY(-12deg); box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 -3px 0 rgba(0, 0, 0, .45) inset, 0 7px 0 #08090a, 0 0 0 1px rgba(227, 15, 26, .55), 0 16px 26px -8px rgba(227, 15, 26, .45); }
.il-social__a:hover .il-social__face::before, .il-social__a:focus-visible .il-social__face::before { opacity: 1; }
.il-social__a:hover .il-social__face::after, .il-social__a:focus-visible .il-social__face::after { transform: skewX(-18deg) translateX(420%); }
.il-social__a:active .il-social__face { transform: translateY(1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 1px 0 #08090a; }
.il-social__a:focus-visible { outline: 2px solid var(--il-red-text); outline-offset: 5px; }
@media (prefers-reduced-motion: reduce) {
	.il-social__a:hover .il-social__face, .il-social__a:focus-visible .il-social__face { transform: none; }
	.il-social__face::after { display: none; }
}

/* Footer: light edge and depth. */
.il-footer { position: relative; background: radial-gradient(60rem 20rem at 15% 0, rgba(125, 14, 25, .18), transparent 70%), var(--il-raised); }
.il-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2) 20%, rgba(227, 15, 26, .6) 50%, rgba(255, 255, 255, .2) 80%, transparent); }
