/* ============================================
   IKON MOBILITY — Shared Stylesheet
   Semantic HTML, responsive, hover-rich
   Breakpoints: 760px, 480px
   ============================================ */

/* Google Fonts @import removed — the font is now self-hosted.
   See css/fonts.css and the fonts/ folder. Do not restore this line. */

/* ----- ANIMATIONS ----- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-18px); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%      { opacity: 0.8; transform: scale(1.08); }
}

@keyframes shimmer {
    0%   { left: -100%; }
    100% { left: 100%; }
}

@keyframes auroraText {
    0%, 100% { background-position: 0% center; }
    50%      { background-position: 100% center; }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes orbitFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(60px, -40px) scale(1.15); }
    66%      { transform: translate(-40px, 50px) scale(0.9); }
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4), 0 0 0 0 rgba(220, 38, 38, 0.5); }
    50%      { box-shadow: 0 10px 30px rgba(220, 38, 38, 0.5), 0 0 0 12px rgba(220, 38, 38, 0); }
}

/* ----- RESET ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0047ab;
    --primary-bright: #2d6cd6;
    --primary-dark: #002d6e;
    --primary-light: #e6efff;
    --accent: #dc2626;
    --accent-bright: #ef4444;
    --accent-dark: #991b1b;
    --black: #0a0a0a;
    --black-deep: #000000;
    --dark: #0a0e1a;
    --dark-card: #141828;
    --dark-alt: #0d1322;
    --dark-deeper: #050810;
    --text: #e5e7eb;
    --text-light: #9ca3af;
    --text-muted: #6b7280;
    --bg: #0a0e1a;
    --bg-soft: #0d1322;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --grad-card: linear-gradient(145deg, #1a1f35 0%, #0d1322 100%);
    --grad-card-hover: linear-gradient(145deg, #232944 0%, #131830 100%);
    --grad-section: linear-gradient(180deg, #0a0e1a 0%, #0d1322 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px rgba(0, 71, 171, 0.3);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: #000000;
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.25 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='1'/></svg>"),
        radial-gradient(ellipse at top, rgba(0, 71, 171, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(220, 38, 38, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at bottom left, rgba(45, 108, 214, 0.05) 0%, transparent 55%),
        linear-gradient(180deg, #000000 0%, #020205 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ----- SPARKLE LAYERS ----- */
body::before,
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Layer A: dense white pinpricks — each star twinkles independently */
body::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'><style>@keyframes p{0%,100%{opacity:.05}50%{opacity:1}}@keyframes q{0%,100%{opacity:.3}50%{opacity:.95}}@keyframes r{0%,100%{opacity:.6}50%{opacity:.2}}@keyframes s{0%,100%{opacity:.1}30%{opacity:1}60%{opacity:.2}}circle{animation-iteration-count:infinite;animation-timing-function:ease-in-out}</style><circle cx='129.5' cy='60.3' r='1.22' fill='%23fff' style='animation:p 3.88s -0.46s infinite'/><circle cx='203.0' cy='15.0' r='0.98' fill='%23fff' style='animation:q 2.32s -3.40s infinite'/><circle cx='330.7' cy='49.5' r='0.75' fill='%23f0f9ff' style='animation:p 5.09s -3.17s infinite'/><circle cx='390.5' cy='18.6' r='1.44' fill='%23fafafa' style='animation:s 2.62s -0.94s infinite'/><circle cx='123.4' cy='326.5' r='0.70' fill='%23f0f9ff' style='animation:q 3.92s -4.38s infinite'/><circle cx='25.1' cy='23.8' r='0.73' fill='%23f0f9ff' style='animation:s 6.23s -3.72s infinite'/><circle cx='369.4' cy='144.6' r='0.77' fill='%23fff' style='animation:q 2.27s -2.40s infinite'/><circle cx='198.0' cy='137.4' r='0.99' fill='%23f0f9ff' style='animation:p 2.47s -3.34s infinite'/><circle cx='302.9' cy='60.8' r='1.04' fill='%23fff' style='animation:p 6.16s -4.58s infinite'/><circle cx='350.2' cy='125.5' r='1.26' fill='%23f0f9ff' style='animation:s 5.11s -3.65s infinite'/><circle cx='336.0' cy='377.9' r='1.02' fill='%23f0f9ff' style='animation:p 2.15s -5.61s infinite'/><circle cx='258.9' cy='397.2' r='1.40' fill='%23fafafa' style='animation:s 6.86s -2.78s infinite'/><circle cx='376.3' cy='142.2' r='1.17' fill='%23fafafa' style='animation:p 3.04s -2.30s infinite'/><circle cx='295.3' cy='159.2' r='1.51' fill='%23fafafa' style='animation:p 2.75s -3.21s infinite'/><circle cx='111.1' cy='54.8' r='0.97' fill='%23f0f9ff' style='animation:r 5.83s -7.89s infinite'/><circle cx='273.1' cy='152.2' r='0.75' fill='%23fff' style='animation:q 2.66s -5.27s infinite'/><circle cx='4.8' cy='332.4' r='0.70' fill='%23fafafa' style='animation:p 2.63s -4.28s infinite'/><circle cx='243.9' cy='127.4' r='0.64' fill='%23f0f9ff' style='animation:p 4.40s -6.97s infinite'/><circle cx='380.8' cy='272.2' r='1.12' fill='%23fafafa' style='animation:s 4.05s -3.85s infinite'/><circle cx='160.2' cy='76.2' r='1.58' fill='%23fafafa' style='animation:q 2.43s -4.81s infinite'/><circle cx='41.0' cy='226.7' r='1.09' fill='%23fafafa' style='animation:p 2.20s -1.66s infinite'/><circle cx='150.5' cy='253.8' r='1.55' fill='%23f0f9ff' style='animation:r 4.50s -0.92s infinite'/><circle cx='195.2' cy='391.1' r='1.03' fill='%23fafafa' style='animation:p 2.62s -6.00s infinite'/><circle cx='296.1' cy='191.4' r='1.26' fill='%23f0f9ff' style='animation:p 2.97s -7.62s infinite'/><circle cx='144.7' cy='276.0' r='1.51' fill='%23f0f9ff' style='animation:r 7.38s -6.91s infinite'/><circle cx='278.5' cy='104.4' r='0.90' fill='%23fff' style='animation:r 6.20s -4.26s infinite'/><circle cx='311.6' cy='131.9' r='0.75' fill='%23fff' style='animation:q 6.46s -5.92s infinite'/><circle cx='90.7' cy='207.1' r='0.89' fill='%23fff' style='animation:p 6.30s -3.78s infinite'/><circle cx='77.5' cy='242.1' r='0.88' fill='%23f0f9ff' style='animation:r 7.24s -2.92s infinite'/><circle cx='88.2' cy='90.7' r='0.72' fill='%23fff' style='animation:s 5.36s -7.20s infinite'/><circle cx='336.2' cy='191.8' r='1.22' fill='%23f0f9ff' style='animation:p 6.56s -0.96s infinite'/><circle cx='155.4' cy='284.6' r='0.72' fill='%23fff' style='animation:s 6.30s -2.66s infinite'/><circle cx='320.3' cy='388.7' r='0.94' fill='%23fafafa' style='animation:p 5.93s -1.36s infinite'/><circle cx='50.8' cy='60.5' r='1.50' fill='%23f0f9ff' style='animation:q 5.29s -4.77s infinite'/><circle cx='189.7' cy='375.0' r='0.67' fill='%23f0f9ff' style='animation:q 1.92s -6.39s infinite'/><circle cx='290.5' cy='41.1' r='1.32' fill='%23fff' style='animation:s 7.42s -1.56s infinite'/><circle cx='349.6' cy='11.2' r='0.73' fill='%23f0f9ff' style='animation:q 6.15s -2.61s infinite'/><circle cx='217.7' cy='333.7' r='0.57' fill='%23f0f9ff' style='animation:r 6.92s -5.30s infinite'/><circle cx='326.0' cy='206.7' r='1.41' fill='%23f0f9ff' style='animation:q 4.83s -4.19s infinite'/><circle cx='7.5' cy='176.0' r='0.70' fill='%23fff' style='animation:q 2.78s -3.79s infinite'/><circle cx='290.1' cy='222.6' r='0.86' fill='%23f0f9ff' style='animation:s 6.27s -0.85s infinite'/><circle cx='224.1' cy='99.4' r='0.80' fill='%23fff' style='animation:s 5.00s -6.08s infinite'/><circle cx='365.0' cy='177.3' r='1.17' fill='%23f0f9ff' style='animation:q 5.75s -3.62s infinite'/><circle cx='213.3' cy='191.2' r='1.54' fill='%23f0f9ff' style='animation:r 7.06s -7.14s infinite'/><circle cx='81.0' cy='179.0' r='0.96' fill='%23fafafa' style='animation:s 3.60s -5.37s infinite'/><circle cx='171.3' cy='85.1' r='0.83' fill='%23fff' style='animation:q 7.16s -5.15s infinite'/><circle cx='146.5' cy='101.2' r='0.65' fill='%23fafafa' style='animation:q 6.06s -0.75s infinite'/><circle cx='354.0' cy='65.1' r='1.23' fill='%23fff' style='animation:q 5.83s -7.95s infinite'/><circle cx='161.5' cy='168.5' r='0.89' fill='%23fff' style='animation:r 1.91s -4.43s infinite'/><circle cx='176.2' cy='7.2' r='0.86' fill='%23f0f9ff' style='animation:r 4.72s -0.51s infinite'/><circle cx='394.0' cy='315.3' r='1.57' fill='%23fff' style='animation:p 3.31s -0.32s infinite'/><circle cx='311.6' cy='108.2' r='0.64' fill='%23fafafa' style='animation:r 4.11s -4.29s infinite'/><circle cx='205.9' cy='197.8' r='0.86' fill='%23fafafa' style='animation:p 6.36s -1.47s infinite'/><circle cx='358.1' cy='107.6' r='0.52' fill='%23fff' style='animation:r 2.28s -6.85s infinite'/><circle cx='26.6' cy='345.1' r='1.00' fill='%23fafafa' style='animation:s 7.08s -2.14s infinite'/></svg>");
    background-size: 400px 400px;
    background-repeat: repeat;
}

/* Layer B: brand-tinted accent sparkles — also independent, different tile */
body::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'><style>@keyframes p{0%,100%{opacity:.05}50%{opacity:1}}@keyframes q{0%,100%{opacity:.3}50%{opacity:.95}}@keyframes r{0%,100%{opacity:.6}50%{opacity:.2}}@keyframes s{0%,100%{opacity:.1}30%{opacity:1}60%{opacity:.2}}circle{animation-iteration-count:infinite;animation-timing-function:ease-in-out}</style><circle cx='67.2' cy='274.0' r='1.33' fill='%2393c5fd' style='animation:q 3.29s -1.45s infinite'/><circle cx='484.8' cy='326.9' r='1.74' fill='%23fca5a5' style='animation:r 4.34s -5.38s infinite'/><circle cx='140.7' cy='417.9' r='2.39' fill='%2393c5fd' style='animation:p 1.91s -4.05s infinite'/><circle cx='508.6' cy='267.4' r='1.34' fill='%23dbeafe' style='animation:p 5.55s -5.20s infinite'/><circle cx='341.4' cy='283.9' r='2.24' fill='%23fecaca' style='animation:r 5.72s -7.86s infinite'/><circle cx='178.2' cy='432.8' r='1.99' fill='%23ddd6fe' style='animation:q 4.11s -2.78s infinite'/><circle cx='28.3' cy='67.5' r='1.10' fill='%23ddd6fe' style='animation:r 4.26s -0.44s infinite'/><circle cx='345.9' cy='198.1' r='1.71' fill='%23c7d2fe' style='animation:q 5.75s -0.36s infinite'/><circle cx='96.4' cy='139.9' r='1.01' fill='%23c7d2fe' style='animation:r 7.34s -4.38s infinite'/><circle cx='127.1' cy='502.1' r='1.43' fill='%23c7d2fe' style='animation:q 1.81s -3.05s infinite'/><circle cx='246.8' cy='261.4' r='1.28' fill='%23fecaca' style='animation:p 2.32s -6.54s infinite'/><circle cx='74.8' cy='305.1' r='1.55' fill='%23c7d2fe' style='animation:r 5.39s -0.68s infinite'/><circle cx='498.0' cy='443.7' r='1.22' fill='%23ddd6fe' style='animation:s 6.16s -5.77s infinite'/><circle cx='257.0' cy='147.8' r='1.87' fill='%23fca5a5' style='animation:p 6.50s -5.72s infinite'/><circle cx='266.8' cy='223.2' r='1.98' fill='%23fecaca' style='animation:q 6.99s -6.02s infinite'/><circle cx='295.6' cy='422.7' r='1.02' fill='%23ddd6fe' style='animation:q 2.29s -0.33s infinite'/><circle cx='331.3' cy='498.9' r='1.53' fill='%23dbeafe' style='animation:p 5.38s -5.01s infinite'/><circle cx='353.9' cy='254.4' r='1.00' fill='%2393c5fd' style='animation:p 5.56s -0.53s infinite'/><circle cx='383.1' cy='131.1' r='1.10' fill='%23c7d2fe' style='animation:q 5.96s -1.64s infinite'/><circle cx='384.7' cy='507.4' r='1.69' fill='%23dbeafe' style='animation:p 4.53s -5.47s infinite'/><circle cx='398.8' cy='320.8' r='1.90' fill='%2393c5fd' style='animation:q 3.69s -5.21s infinite'/><circle cx='360.3' cy='323.0' r='1.19' fill='%23dbeafe' style='animation:p 4.57s -7.78s infinite'/><circle cx='51.7' cy='113.2' r='1.69' fill='%23ddd6fe' style='animation:r 4.45s -3.73s infinite'/><circle cx='61.6' cy='464.7' r='1.28' fill='%2393c5fd' style='animation:s 1.90s -3.67s infinite'/><circle cx='426.3' cy='503.4' r='1.63' fill='%23c7d2fe' style='animation:s 3.00s -7.56s infinite'/><circle cx='109.6' cy='302.4' r='1.20' fill='%23fecaca' style='animation:r 7.23s -1.06s infinite'/><circle cx='426.5' cy='264.5' r='2.24' fill='%23ddd6fe' style='animation:r 3.12s -7.18s infinite'/><circle cx='252.8' cy='12.9' r='1.01' fill='%23dbeafe' style='animation:s 4.11s -5.82s infinite'/></svg>");
    background-size: 520px 520px;
    background-position: 90px 130px;
    background-repeat: repeat;
}

/* Make sure all real content sits above the sparkles */
header,
main,
footer {
    position: relative;
    z-index: 1;
}

main > section {
    animation: fadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

main > section:nth-of-type(1) { animation-delay: 0.05s; }
main > section:nth-of-type(2) { animation-delay: 0.15s; }
main > section:nth-of-type(3) { animation-delay: 0.25s; }
main > section:nth-of-type(4) { animation-delay: 0.35s; }
main > section:nth-of-type(5) { animation-delay: 0.45s; }
main > section:nth-of-type(6) { animation-delay: 0.55s; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ----- HEADER ----- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 26, 0.75);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

header .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

header .brand-tagline {
    padding-left: 0.85rem;
    border-left: 1px solid var(--border-strong);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    white-space: nowrap;
}

header .logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

header .logo img {
    height: 100px;
    width: auto;
    display: block;
}

header .logo:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

/* ----- NAVIGATION (LIST-BASED) ----- */
header nav ul {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    flex-wrap: wrap;
}

header nav ul li a {
    display: block;
    padding: 0.625rem 1rem;
    font-weight: 500;
    font-size: 1.14rem;
    color: rgba(255, 255, 255, 0.75);
    border-radius: 8px;
    position: relative;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

header nav ul li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

header nav ul li a:hover::after,
header nav ul li a[aria-current="page"]::after {
    width: 60%;
}

header nav ul li a[aria-current="page"] {
    color: #ffffff;
    font-weight: 600;
}

header nav ul li.cta a {
    background: #259ac9;
    color: #fff;
    padding: 0.625rem 1.5rem;
    box-shadow: 0 4px 14px rgba(37, 154, 201, 0.4);
}

header nav ul li.cta a:hover {
    background: #1f87b0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 154, 201, 0.5);
}

header nav ul li.cta a::after {
    display: none;
}

/* ----- MAIN ----- */
main {
    flex: 1;
}

/* ----- HERO (HOMEPAGE) ----- */
main > section.hero {
    background-color: var(--primary-dark);
    background-image:
        linear-gradient(135deg, rgba(10, 14, 26, 0.40) 0%, rgba(0, 0, 0, 0.48) 100%),
        url('../images/main-banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 7rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

main > section.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.20) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulseGlow 8s ease-in-out infinite;
    z-index: 1;
}

main > section.hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -100px;
    width: 500px;
    height: 500px;
    display: none;
}

main > section.hero > * {
    position: relative;
    z-index: 2;
}

main > section.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    margin-bottom: 1.5rem;
    padding-bottom: 0.12em;
    position: relative;
    background: linear-gradient(120deg,
        #ffffff 0%,
        #93c5fd 20%,
        #ffffff 40%,
        #fca5a5 60%,
        #ffffff 80%,
        #c7d2fe 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: auroraText 8s linear infinite;
    filter: drop-shadow(0 3px 16px rgba(0, 0, 0, 0.9)) drop-shadow(0 1px 3px rgba(0, 0, 0, 1));
}

main > section.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 1;
    position: relative;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 1);
}

main > section.hero a {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 1.125rem 2.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: ctaPulse 2.5s ease-in-out infinite;
}

main > section.hero a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    z-index: -1;
}

main > section.hero a:hover::before {
    animation: shimmer 0.8s ease;
}

main > section.hero a:hover {
    background: var(--accent-dark);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(220, 38, 38, 0.5);
}

/* ----- HERO SLIDER ----- */
main > section.hero.hero-slider {
    background-image: none;
    padding: 0;
    min-height: clamp(440px, 64vh, 640px);
    display: flex;
    align-items: stretch;
}

/* Let descendants share the section's stacking context so the
   decorative glow layers sit above photos but below slide content. */
.hero-slider .slides {
    z-index: auto;
    position: static;
    flex: 1;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 3s ease-in-out, visibility 0s linear 3s;
    background-color: var(--primary-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slider .slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 3s ease-in-out, visibility 0s;
}

.hero-slider .slide[hidden] {
    display: flex;            /* keep crossfade working; opacity hides it */
}

/* Dark overlay for each slide (z 0, below the glow layers) */
.hero-slider .slide::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(135deg, rgba(10, 14, 26, 0.55) 0%, rgba(0, 0, 0, 0.62) 100%);
}

.hero-slider .slide-inner {
    position: relative;
    z-index: 2;             /* above the glow layers */
    max-width: 820px;
    text-align: center;
}

/* Headline styling for slides 2–4 — animated aurora gradient, matching slide 1 */
.hero-slider .slide-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
    margin: 0 0 1.5rem;
    padding-bottom: 0.12em;
    position: relative;
    background: linear-gradient(120deg,
        #ffffff 0%,
        #93c5fd 20%,
        #ffffff 40%,
        #fca5a5 60%,
        #ffffff 80%,
        #c7d2fe 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    animation: auroraText 8s linear infinite;
    filter: drop-shadow(0 3px 16px rgba(0, 0, 0, 0.9)) drop-shadow(0 1px 3px rgba(0, 0, 0, 1));
}

/* Prev / next arrows */
.hero-slider .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 1;
    color: #fff;
    background: rgba(10, 14, 26, 0.45);
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.hero-slider .slider-arrow.prev { left: 1.25rem; }
.hero-slider .slider-arrow.next { right: 1.25rem; }

.hero-slider .slider-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-50%) scale(1.08);
}

.hero-slider .slider-arrow:focus-visible {
    outline: 3px solid var(--accent-bright);
    outline-offset: 2px;
}

/* Dots */
.hero-slider .slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.5rem;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.hero-slider .dot {
    width: 0.85rem;
    height: 0.85rem;
    padding: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.hero-slider .dot:hover { background: rgba(255, 255, 255, 0.5); }

.hero-slider .dot.is-active {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.15);
}

.hero-slider .dot:focus-visible {
    outline: 3px solid var(--accent-bright);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (max-width: 600px) {
    .hero-slider .slider-arrow { width: 2.5rem; height: 2.5rem; font-size: 1.6rem; }
    .hero-slider .slider-arrow.prev { left: 0.5rem; }
    .hero-slider .slider-arrow.next { right: 0.5rem; }
    .hero-slider .slide { padding: 5rem 1.25rem 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slider .slide,
    .hero-slider .slide.is-active {
        /* Opacity-only crossfade has no motion vector, so keep it smooth
           even under reduced-motion. !important is needed to override the
           global transition kill-switch further down this stylesheet. */
        transition: opacity 3s ease-in-out !important;
    }
    .hero-slider .slide-title { animation: none; }
}

/* ----- PAGE HEADER (INTERNAL PAGES) ----- */
main > section.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--black-deep) 100%);
    color: #fff;
    padding: 4.5rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

main > section.page-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

main > section.page-header h1 {
    font-size: clamp(1.875rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    position: relative;
}

main > section.page-header p {
    font-size: 1.125rem;
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.92;
    position: relative;
}

/* ----- CONTENT SECTIONS ----- */
main > section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

main > section.hero,
main > section.page-header,
main > section.alt {
    max-width: none;
}

main > section.alt {
    background: linear-gradient(180deg, #0d1322 0%, #0a0e1a 100%);
    position: relative;
}

main > section.alt::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

main > section.alt > * {
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

main > section > h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
    position: relative;
    padding-bottom: 1.25rem;
}

main > section > h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-bright), var(--accent));
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
}

main > section > h2 + p {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 650px;
    margin: 0 auto 3.5rem;
}

/* ----- GRID WRAPPER (the one div per page) ----- */
main > section > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

main > section.split > div {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* ----- CARD ARTICLES ----- */
article {
    background: var(--grad-card);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-bright), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 2;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

article:hover {
    transform: translateY(-12px);
    background: var(--grad-card-hover);
    box-shadow:
        0 0 0 1px rgba(45, 108, 214, 0.3),
        0 20px 50px rgba(0, 71, 171, 0.35),
        0 0 80px rgba(220, 38, 38, 0.12),
        0 12px 24px rgba(0, 0, 0, 0.6);
    border-color: transparent;
}

article:hover::before {
    transform: scaleX(1);
}

article figure {
    margin: -2.5rem -2rem 1.5rem;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--dark-deeper);
    line-height: 0;
    position: relative;
}

article figure::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-bright), var(--accent), transparent);
    opacity: 0.6;
    z-index: 2;
}

article figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

article:hover figure img {
    transform: scale(1.06);
}

article h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

article p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

article a:not(.card-img-link) {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-bright);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    margin-top: auto;
    align-self: center;
}

article a:not(.card-img-link)::before {
    content: '→';
    order: 2;
    transition: var(--transition);
}

article a:not(.card-img-link):hover {
    color: var(--accent-bright);
    border-bottom-color: var(--accent);
}

article a:not(.card-img-link):hover::before {
    transform: translateX(4px);
}

/* ----- CLICKABLE CARD IMAGE (mirrors the card's CTA link) ----- */
.card-img-link {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
    cursor: pointer;
}

.card-img-link:focus-visible {
    outline: 3px solid var(--accent-bright);
    outline-offset: -3px;
}

/* ----- PROSE ARTICLES (about page) ----- */
article.prose {
    text-align: left;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

article.prose:hover {
    transform: none;
    box-shadow: none;
}

article.prose::before {
    display: none;
}

article.prose figure {
    margin: 0 0 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--dark-deeper);
    line-height: 0;
}

article.prose figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

article.prose h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

article.prose p {
    font-size: 1.0625rem;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.75;
}

/* ----- STORY SECTION (about page, no div) ----- */
main > section.story {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

main > section.story > h2,
main > section.story > h2 + p {
    grid-column: 1 / -1;
}

main > section.story > article {
    display: block;
}

@supports (grid-template-columns: subgrid) {
    main > section.story {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }
}

@media (min-width: 761px) {
    main > section.story {
        grid-template-columns: 1fr 1fr;
        column-gap: 3rem;
        row-gap: 1rem;
    }
    main > section.story > h2,
    main > section.story > h2 + p {
        grid-column: 1 / -1;
    }
}

/* ----- BRANDS / FEATURE LIST ----- */
main > section.brands {
    overflow: hidden;
    padding: 5rem 0 6rem;
    position: relative;
}

main > section.brands > h2,
main > section.brands > h2 + p {
    padding-left: 2rem;
    padding-right: 2rem;
}

main > section.brands > h2 + p {
    margin-bottom: 4rem;
}

main > section.brands ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2.5rem;
    width: max-content;
    max-width: none;
    margin: 0;
    padding: 1rem 0;
    animation: marquee 40s linear infinite;
    mask-image: linear-gradient(90deg,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%);
    -webkit-mask-image: linear-gradient(90deg,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%);
}

main > section.brands:hover ul {
    animation-play-state: paused;
}

main > section.brands ul li {
    flex: 0 0 auto;
    padding: 2.5rem 3.5rem;
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    min-width: 360px;
}

main > section.brands ul li img {
    max-height: 110px;
    width: auto;
    display: block;
    filter: brightness(1.15);
    transition: var(--transition);
}

main > section.brands ul li:hover {
    transform: translateY(-6px) scale(1.04);
    background: var(--grad-card-hover);
    box-shadow:
        0 0 0 1px rgba(45, 108, 214, 0.3),
        0 20px 50px rgba(0, 71, 171, 0.35),
        0 0 80px rgba(220, 38, 38, 0.12);
    border-color: transparent;
}

main > section.brands ul li:hover img {
    filter: brightness(1.4);
}

/* ----- FEATURE LIST (about / product pages) ----- */
main > section ul.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 2rem auto 0;
}

main > section ul.features li {
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    border-left: 4px solid var(--accent);
}

main > section ul.features li:hover {
    transform: translateX(4px);
    background: var(--grad-card-hover);
    box-shadow: 0 8px 20px rgba(0, 71, 171, 0.2);
    border-left-color: var(--primary-bright);
}

/* ----- CONTACT FORM ----- */
form {
    background: var(--grad-card);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

form fieldset {
    border: none;
    margin-bottom: 1.25rem;
}

form legend {
    font-weight: 600;
    color: var(--primary-bright);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.375rem;
    color: var(--text);
    font-size: 0.95rem;
}

form input,
form textarea,
form select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text);
}

form input::placeholder,
form textarea::placeholder {
    color: var(--text-light);
}

form input:focus,
form textarea:focus,
form select:focus {
    outline: none;
    border-color: var(--primary-bright);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(45, 108, 214, 0.2);
}

form textarea {
    resize: vertical;
    min-height: 140px;
}

form button {
    width: 100%;
    background: var(--accent);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
    margin-top: 0.5rem;
    letter-spacing: 0.02em;
}

form button:hover {
    background: var(--accent-bright);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(220, 38, 38, 0.5);
}

/* ----- CONTACT INFO (article alongside form) ----- */
article.contact-info {
    text-align: left;
    padding: 2.5rem;
}

article.contact-info figure {
    margin: -2.5rem -2.5rem 1.75rem;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
    aspect-ratio: 2 / 1;
    background: var(--dark-deeper);
    line-height: 0;
}

article.contact-info figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

article.contact-info h3 {
    margin-bottom: 1.5rem;
}

article.contact-info address {
    font-style: normal;
    line-height: 2;
    color: var(--text);
    margin-bottom: 1.5rem;
}

article.contact-info address a {
    color: var(--primary-bright);
}

article.contact-info address a:hover {
    color: var(--accent-bright);
}

article.contact-info ul {
    margin-top: 1.5rem;
}

article.contact-info ul li {
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

article.contact-info ul li:last-child {
    border-bottom: none;
}

article.contact-info ul li strong {
    color: var(--primary-bright);
    display: inline-block;
    min-width: 80px;
}

/* ----- FOOTER ----- */
footer {
    position: relative;
    isolation: isolate;
    background: var(--black-deep);
    color: #fff;
    padding: 4rem 2rem 2rem;
    margin-top: auto;
    border-top: 4px solid var(--accent);
}

/* Photo layer + readability gradient, sits behind footer content.
   The gradient is listed first so it overlays the image. Raise the
   opacity values to darken (more readable), lower them to reveal more photo. */
footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg,
            rgba(10, 14, 26, 0.50) 0%,
            rgba(10, 14, 26, 0.62) 100%),
        url('../images/footer-bg.webp') center / cover no-repeat;
}

footer > section {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

footer > section > * {
    background: linear-gradient(145deg,
        rgba(58, 63, 82, 0.55) 0%,
        rgba(31, 35, 51, 0.55) 100%);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

footer > section > *:hover {
    background: linear-gradient(145deg,
        rgba(70, 75, 95, 0.65) 0%,
        rgba(39, 43, 61, 0.65) 100%);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

footer h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--accent-bright);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(220, 38, 38, 0.4);
}

footer ul li {
    margin-bottom: 0.625rem;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    display: inline-block;
    padding: 2px 0;
}

footer ul li a:hover {
    color: var(--accent-bright);
    transform: translateX(4px);
}

footer p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
}

footer address {
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.9;
}

footer address a:hover {
    color: var(--accent-bright);
}

footer small {
    display: block;
    text-align: center;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ----- STATS STRIP ----- */
main > section.stats {
    background: var(--black-deep);
    color: #fff;
    padding: 3.5rem 2rem;
    max-width: none;
    margin: 0;
    position: relative;
    overflow: hidden;
}

main > section.stats::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -150px;
    width: 400px;
    height: 400px;
    transform: translateY(-50%);
    background: radial-gradient(circle, rgba(0, 71, 171, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

main > section.stats ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

main > section.stats ul li {
    padding: 0.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

main > section.stats ul li:last-child {
    border-right: none;
}

main > section.stats ul li strong {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #259ac9 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 0.75rem;
    letter-spacing: -0.035em;
    text-shadow: 0 0 40px rgba(220, 38, 38, 0.3);
    filter: drop-shadow(0 4px 16px rgba(37, 154, 201, 0.35));
}

main > section.stats ul li span {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

/* ----- TESTIMONIALS ----- */
main > section.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    row-gap: 0;
}

main > section.testimonials > h2,
main > section.testimonials > h2 + p {
    grid-column: 1 / -1;
}

main > section.testimonials > article {
    background: var(--grad-card);
    border-radius: var(--radius);
    padding: 3rem 2rem 2rem;
    border: 1px solid var(--border);
    position: relative;
    text-align: left;
    transition: var(--transition);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

main > section.testimonials > article::before {
    content: '\201C';
    position: absolute;
    top: -0.5rem;
    left: 1.25rem;
    font-size: 6rem;
    line-height: 1;
    color: var(--accent);
    font-family: Georgia, 'Times New Roman', serif;
    opacity: 0.35;
    transform: none;
    background: none;
    height: auto;
    width: auto;
    transition: var(--transition);
    box-shadow: none;
}

main > section.testimonials > article:hover {
    transform: translateY(-6px);
    background: var(--grad-card-hover);
    box-shadow: 0 20px 40px rgba(0, 71, 171, 0.25);
    border-color: var(--border-strong);
}

main > section.testimonials > article:hover::before {
    opacity: 0.6;
    color: var(--accent-bright);
}

main > section.testimonials blockquote {
    font-size: 1rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    position: relative;
}

main > section.testimonials cite {
    display: block;
    font-weight: 700;
    color: var(--primary-bright);
    font-style: normal;
    font-size: 0.95rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-strong);
}

main > section.testimonials cite small {
    display: block;
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.825rem;
    margin-top: 0.25rem;
}

/* ----- CTA BANNER ----- */
main > section.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--black-deep) 100%);
    color: #fff;
    text-align: center;
    padding: 5rem 2rem;
    max-width: none;
    margin: 0;
    position: relative;
    overflow: hidden;
}

main > section.cta-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.22) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulseGlow 6s ease-in-out infinite;
}

main > section.cta-banner h2 {
    color: #fff;
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    position: relative;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
}

main > section.cta-banner h2::after {
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

main > section.cta-banner p {
    font-size: 1.125rem;
    opacity: 0.92;
    margin-bottom: 2rem;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

main > section.cta-banner a {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 1.125rem 2.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 2rem;
    animation: ctaPulse 2.5s ease-in-out infinite;
}

main > section.cta-banner a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    z-index: -1;
}

main > section.cta-banner a:hover::before {
    animation: shimmer 0.8s ease;
}

main > section.cta-banner a:hover {
    background: var(--accent-dark);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(220, 38, 38, 0.5);
}

/* Carbon-fibre weave — applied only to .cta-banner.carbon */
main > section.cta-banner.carbon {
    background-color: #0d0d0f;
    background-image:
        linear-gradient(27deg,  #17171b 4px, transparent 4px),
        linear-gradient(207deg, #17171b 4px, transparent 4px),
        linear-gradient(27deg,  #202024 4px, transparent 4px),
        linear-gradient(207deg, #202024 4px, transparent 4px),
        linear-gradient(90deg,  #141416 8px, transparent 8px),
        linear-gradient(180deg, #1a1a1e 25%, #141416 25%, #141416 50%, transparent 50%, transparent 75%, #242429 75%, #242429);
    background-position: 0 4px, 8px 0, 0 8px, 8px 4px, 0 0, 0 0;
    background-size: 16px 16px;
    box-shadow: inset 0 0 180px rgba(0, 0, 0, 0.85);
}

/* Soft sheen so light appears to catch the weave */
main > section.cta-banner.carbon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.06) 0%, transparent 35%, transparent 65%, rgba(255, 255, 255, 0.04) 100%);
    pointer-events: none;
}

/* ============================================
   MEDIA QUERY: 760px
   ============================================ */
@media (max-width: 760px) {
    header {
        padding: 1rem 1.5rem;
        justify-content: center;
        text-align: center;
    }

    header nav ul {
        justify-content: center;
        gap: 0.125rem;
    }

    header nav ul li a {
        padding: 0.5rem 0.75rem;
        font-size: 1.05rem;
    }

    main > section.hero {
        padding: 4rem 1.5rem;
    }

    main > section.hero p {
        font-size: 1.0625rem;
    }

    main > section.page-header {
        padding: 3.5rem 1.5rem 3rem;
    }

    main > section {
        padding: 4rem 1.5rem;
    }

    main > section > h2 + p {
        margin-bottom: 2.5rem;
    }

    main > section > div {
        gap: 1.5rem;
    }

    main > section.split > div {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    form {
        padding: 2rem;
    }

    article.contact-info {
        padding: 2rem;
    }

    footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    footer > section {
        gap: 1.25rem;
        padding-bottom: 2rem;
    }

    footer > section > * {
        padding: 1.75rem 1.5rem;
    }

    main > section.stats {
        padding: 2.5rem 1.5rem;
    }

    main > section.stats ul li {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding-bottom: 1.25rem;
    }

    main > section.stats ul li:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    main > section.stats ul li strong {
        font-size: 2.25rem;
    }

    main > section.cta-banner {
        padding: 4rem 1.5rem;
    }

    main > section.brands {
        padding: 4rem 0 5rem;
    }

    main > section.brands ul {
        gap: 1.25rem;
    }

    main > section.brands ul li {
        padding: 1.5rem 2rem;
        min-height: 130px;
        min-width: 220px;
    }

    main > section.brands ul li img {
        max-height: 70px;
    }
}

/* ============================================
   MEDIA QUERY: 480px
   ============================================ */
@media (max-width: 480px) {
    header {
        padding: 0.875rem 1rem;
    }

    header .logo {
        margin-left: 0;
    }

    header .logo img {
        height: 84px;
    }

    main > section.hero {
        padding: 3rem 1rem;
    }

    main > section.hero h1 {
        font-size: 1.875rem;
    }

    main > section.hero p {
        font-size: 1rem;
    }

    main > section.hero a {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }

    main > section.page-header {
        padding: 3rem 1rem 2.5rem;
    }

    main > section {
        padding: 3rem 1rem;
    }

    main > section > div {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    article {
        padding: 2rem 1.5rem;
    }

    article figure {
        font-size: 3rem;
    }

    article.prose h3 {
        font-size: 1.5rem;
    }

    main > section ul.features {
        grid-template-columns: 1fr;
    }

    form,
    article.contact-info {
        padding: 1.5rem;
    }

    footer {
        padding: 2.5rem 1rem 1.5rem;
        text-align: center;
    }

    footer > section {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-bottom: 1.5rem;
    }

    footer > section > * {
        padding: 1.5rem 1.25rem;
    }

    footer > section > *:hover {
        transform: none;
    }

    footer ul li a:hover {
        transform: none;
    }

    main > section.stats {
        padding: 2rem 1rem;
    }

    main > section.stats ul {
        gap: 1.25rem;
    }

    main > section.stats ul li strong {
        font-size: 2rem;
    }

    main > section.testimonials > article {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    main > section.cta-banner {
        padding: 3.5rem 1rem;
    }

    main > section.brands {
        padding: 3rem 0 4rem;
    }

    main > section.brands ul {
        gap: 1rem;
    }

    main > section.brands ul li {
        padding: 1.25rem 1.5rem;
        min-height: 100px;
        min-width: 170px;
    }

    main > section.brands ul li img {
        max-height: 55px;
    }
}

/* ============================================
   REDUCED MOTION
   Respect users who prefer fewer animations
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* Brand banner stays horizontal — user can swipe/scroll manually */
    main > section.brands {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    main > section.brands ul {
        animation: none;
    }

    main > section.brands ul li {
        scroll-snap-align: center;
    }
}

/* ============================================
   ACCESSIBILITY: SKIP LINK + FOCUS RINGS
   ============================================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--accent);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    z-index: 1000;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

*:focus-visible {
    outline: 2px solid var(--accent-bright);
    outline-offset: 3px;
    border-radius: 6px;
}

header nav ul li a:focus-visible {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   FOOTER: SOCIAL ICONS
   ============================================ */
footer ul.social {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    justify-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

footer ul.social li {
    margin: 0;
}

footer ul.social li a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    padding: 0;
}

footer ul.social li a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

footer ul.social li a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

/* ============================================
   FAQ: <details> + <summary>
   ============================================ */
main > section.faq {
    max-width: 900px;
}

main > section.faq details {
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

main > section.faq details:hover {
    border-color: var(--border-strong);
}

main > section.faq details[open] {
    background: var(--grad-card-hover);
    border-color: rgba(45, 108, 214, 0.4);
    box-shadow: 0 10px 30px rgba(0, 71, 171, 0.2);
}

main > section.faq summary {
    padding: 1.5rem 4rem 1.5rem 1.75rem;
    font-weight: 600;
    color: #ffffff;
    font-size: 1.0625rem;
    cursor: pointer;
    position: relative;
    list-style: none;
    transition: var(--transition);
}

main > section.faq summary::-webkit-details-marker {
    display: none;
}

main > section.faq summary::after {
    content: '+';
    position: absolute;
    right: 1.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
    transition: var(--transition);
}

main > section.faq details[open] summary::after {
    content: '\2212';
    background: var(--primary-bright);
    transform: translateY(-50%) rotate(180deg);
}

main > section.faq summary:hover {
    color: var(--accent-bright);
}

main > section.faq details p {
    padding: 0 1.75rem 1.75rem;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.9875rem;
    margin: 0;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
    transition: var(--transition);
    z-index: 99;
    line-height: 1;
}

.back-to-top:hover {
    background: var(--accent-bright);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(220, 38, 38, 0.5);
}

/* On small screens move it up so it doesn't sit on top of bottom CTAs */
@media (max-width: 480px) {
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 1rem;
        right: 1rem;
        font-size: 1.25rem;
    }
}

/* ============================================
   BREADCRUMBS (SEO + UX)
   ============================================ */
main > nav.breadcrumbs {
    display: none;
}

main > nav.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    list-style: none;
    font-size: 0.875rem;
    color: var(--text-light);
}

main > nav.breadcrumbs li {
    display: inline-flex;
    align-items: center;
}

main > nav.breadcrumbs li:not(:last-child)::after {
    content: '\203A';
    margin-left: 0.5rem;
    color: var(--text-muted);
    opacity: 0.6;
}

main > nav.breadcrumbs li a {
    color: var(--primary-bright);
    text-decoration: none;
    padding: 0.25rem 0;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

main > nav.breadcrumbs li a:hover {
    color: var(--accent-bright);
    border-bottom-color: var(--accent);
}

main > nav.breadcrumbs li[aria-current="page"] {
    color: #ffffff;
    font-weight: 500;
}

@media (max-width: 480px) {
    main > nav.breadcrumbs {
        padding: 0 1rem;
        margin: 1rem auto 0;
    }
}

/* ============================================
   HAMBURGER MENU (mobile only, CSS-only)
   Uses checkbox-hack — no JavaScript required
   ============================================ */

/* Hide checkbox visually but keep it accessible */
.nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Hamburger label hidden on desktop/tablet */
.nav-toggle-label {
    display: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-toggle-label:hover {
    background: rgba(255, 255, 255, 0.06);
}

.nav-toggle-label span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 3px;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55),
                opacity 0.3s,
                background 0.3s;
}

/* Focus state for keyboard users */
.nav-toggle-label:focus-visible {
    outline: 2px solid var(--accent-bright);
    outline-offset: 3px;
}

@media (max-width: 480px) {
    /* Show hamburger label */
    .nav-toggle-label {
        display: flex;
    }

    /* Hide the nav by default (collapsed) */
    header nav {
        flex: 1 0 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        order: 3;
    }

    /* When the toggle is expanded, expand the nav */
    .nav-toggle-label[aria-expanded="true"] ~ nav {
        max-height: 600px;
    }

    /* Hamburger lines become an X when the menu is expanded */
    .nav-toggle-label[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
        background: var(--accent);
    }

    .nav-toggle-label[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .nav-toggle-label[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
        background: var(--accent);
    }

    /* Header layout: logo on left, hamburger on right */
    header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    header .brand {
        flex: 1;
        gap: 0.6rem;
    }

    header .brand-tagline {
        font-size: 0.62rem;
        padding-left: 0.6rem;
        letter-spacing: 0.05em;
    }

    /* Nav items stack vertically inside the dropdown */
    header nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0.25rem;
        padding: 0.75rem 0 0.25rem;
    }

    header nav ul li {
        width: 100%;
    }

    header nav ul li a {
        text-align: center;
        padding: 0.875rem;
        border-radius: 6px;
        font-size: 1.14rem;
    }

    header nav ul li.cta a {
        margin-top: 0.5rem;
    }
}

/* ============================================
   LOGO IN FOOTER
   ============================================ */
.footer-logo {
    display: inline-block;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.footer-logo img {
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.footer-logo:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .footer-logo {
        margin: 0 auto 1rem;
    }

    .footer-logo img {
        max-width: 180px;
        margin: 0 auto;
    }
}

/* ============================================
   HERO BANNER — RESPONSIVE FRAMING
   ============================================ */
@media (max-width: 760px) {
    main > section.hero {
        background-position: 40% center;
    }
}

@media (max-width: 480px) {
    main > section.hero {
        background-position: 45% center;
        background-image:
            linear-gradient(180deg, rgba(10, 14, 26, 0.45) 0%, rgba(0, 0, 0, 0.58) 100%),
            url('../images/main-banner.webp');
    }
}

/* Hide the brand tagline on very small phones to keep the logo + menu uncrowded */
@media (max-width: 400px) {
    header .brand-tagline {
        display: none;
    }
}

/* Explore Our Range now has 4 cards: 4-across on desktop, 2x2 on tablet, 1 on mobile */
#range { max-width: 1400px; }
#range > div { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1080px) {
    #range > div { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
    #range > div { grid-template-columns: 1fr; }
}

/* Testimonials: wider container, 4-across on desktop, names aligned on one level */
main > section.testimonials { max-width: 1400px; }
main > section.testimonials > article { display: flex; flex-direction: column; }
main > section.testimonials cite { margin-top: auto; }
@media (min-width: 1080px) {
    main > section.testimonials { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1079px) {
    main > section.testimonials { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    main > section.testimonials { grid-template-columns: 1fr; }
}

/* ============================================
   MODERN ENHANCEMENTS (progressive, JS-gated)
   Scroll reveals · counters · glass header ·
   scroll progress · hero parallax
   All effects are opt-in via html.js-reveal and
   are fully disabled under reduced-motion.
   ============================================ */

@keyframes revealUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: none; }
}
@keyframes revealFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* --- Scroll progress bar --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 200;
    background: transparent;
    pointer-events: none;
}
.scroll-progress > span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-bright), #259ac9 45%, var(--accent));
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.55), 0 0 4px rgba(37, 154, 201, 0.6);
    transition: width 0.08s linear;
}

/* --- Header: compact glass state on scroll --- */
header {
    transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.35s ease,
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}
header.is-scrolled {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    background: rgba(8, 11, 20, 0.92);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
    border-bottom-color: var(--border-strong);
}
header .logo img {
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
header.is-scrolled .logo img {
    height: 66px;
}

/* --- Scroll-triggered reveals (only when JS active) --- */
html.js-reveal [data-reveal] {
    opacity: 0;
    will-change: opacity, transform;
}
/* translate + fade for plain blocks (no hover transform) */
html.js-reveal .is-inview [data-reveal="up"],
html.js-reveal [data-reveal="up"].is-inview {
    animation: revealUp 0.7s cubic-bezier(0.16, 0.84, 0.44, 1) both;
    animation-delay: calc(var(--i, 0) * 80ms);
}
/* opacity-only for hover-lift cards, so :hover transforms stay intact */
html.js-reveal .is-inview [data-reveal="fade"] {
    animation: revealFade 0.6s ease both;
    animation-delay: calc(var(--i, 0) * 85ms);
}

/* Fully disable enhancement motion under reduced-motion */
@media (prefers-reduced-motion: reduce) {
    html.js-reveal [data-reveal] { opacity: 1 !important; animation: none !important; }
    .scroll-progress > span { transition: none; }
    header, header .logo img { transition: none; }
}

/* --- Gentle parallax on the page-header decorative glow --- */
html.js-reveal main > section.page-header::before {
    transform: translateY(var(--parallax, 0px));
    will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
    html.js-reveal main > section.page-header::before { transform: none; }
}

/* When JS reveals own a section, drop the original container load-fade
   so the child/heading reveal is the single, clean entrance.
   Hero and page-header keep their original load animation. */
html.js-reveal main > section:not(.hero):not(.page-header) {
    animation: none;
}

/* --- Resource "min read" badge on article cards --- */
.resource-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 3;
    display: inline-block;
    padding: 0.3rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(8, 11, 20, 0.72);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* --- "Browse all" link under a card grid --- */
.section-cta {
    text-align: center;
    margin-top: 2.5rem;
}
.section-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    padding: 0.7rem 1.6rem;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    transition: var(--transition);
}
.section-cta a:hover {
    background: rgba(45, 108, 214, 0.18);
    border-color: var(--primary-bright);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 71, 171, 0.28);
}

/* ============================================
   PRODUCT DETAIL PAGES
   Spec-sheet aesthetic grounded in the catalogue
   ============================================ */

/* ----- HERO SPLIT ----- */
main > section.product-hero {
    padding-top: 3.5rem;
}
main > section.product-hero > div.product-hero-inner {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 3.25rem;
    align-items: center;
}

/* ----- GALLERY ----- */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
}
.product-gallery .gallery-main {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--dark-deeper);
    border: 1px solid var(--border-strong);
    position: relative;
    box-shadow: var(--shadow-md);
}
.product-gallery .gallery-main::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-bright), var(--accent), transparent);
    opacity: 0.6;
    z-index: 2;
}
.product-gallery .gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-gallery .gallery-thumbs {
    display: flex;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.product-gallery .gallery-thumbs li {
    flex: 1;
}
.product-gallery .gthumb {
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--dark-deeper);
    line-height: 0;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}
.product-gallery .gthumb:hover {
    border-color: var(--primary-bright);
    transform: translateY(-3px);
}
.product-gallery .gthumb.is-active {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 8px 20px rgba(220, 38, 38, 0.2);
}
.product-gallery .gthumb:focus-visible {
    outline: 3px solid var(--primary-bright);
    outline-offset: 2px;
}
.product-gallery .gthumb img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ----- INTRO COLUMN ----- */
.product-intro { text-align: left; }
.product-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary-bright);
    padding: 0.4rem 0.9rem;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: rgba(45, 108, 214, 0.08);
    margin-bottom: 1.25rem;
}
.product-intro h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 1rem;
}
.product-intro .lead {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    max-width: 46ch;
}

/* Travel-ready pill */
.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}
.product-badges .pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--grad-card);
}
.product-badges .pill svg { width: 16px; height: 16px; fill: var(--primary-bright); flex: 0 0 auto; }
.product-badges .pill.accent svg { fill: var(--accent-bright); }

/* ----- MODEL CODE BADGES (catalogue colour coding) ----- */
.model-codes {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.model-codes li {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.85rem 0.5rem 0.6rem;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    background: var(--grad-card);
    font-size: 0.85rem;
    transition: var(--transition);
}
.model-codes li:hover {
    border-color: var(--primary-bright);
    transform: translateY(-2px);
}
.model-codes .swatch {
    width: 20px; height: 20px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.25);
    flex: 0 0 auto;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.35);
}
.model-codes .code {
    font-family: 'SF Mono', ui-monospace, 'Cascadia Code', Menlo, Consolas, monospace;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffffff;
}
.model-codes .cname { color: var(--text-light); }

/* ----- KEY HIGHLIGHTS (big numbers) ----- */
.product-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 2.25rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
}
.product-highlights li {
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary-bright);
    border-radius: 10px;
    padding: 1rem 0.85rem;
    text-align: center;
}
.product-highlights li:nth-child(even) { border-top-color: var(--accent); }
.product-highlights strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.product-highlights span {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-top: 0.35rem;
}

/* ----- HERO CTA ROW (2x2 grid for four actions) ----- */
.product-cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    align-items: stretch;
    max-width: 470px;
}
.product-cta-row a {
    justify-content: center;
    white-space: nowrap;
}
.product-cta-row a svg { flex: 0 0 auto; }
.product-cta-row a.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.8rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    transition: var(--transition);
}
.product-cta-row a.btn-primary:hover {
    color: #fff;
    border-color: var(--primary-bright);
    background: rgba(45, 108, 214, 0.12);
}
.product-cta-row a.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
    padding: 0.8rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    transition: var(--transition);
}
.product-cta-row a.btn-ghost:hover {
    border-color: var(--primary-bright);
    color: #fff;
    background: rgba(45, 108, 214, 0.12);
}
.product-cta-row a.btn-pdf svg { flex: 0 0 auto; }

/* ----- SPEC SHEET (signature element — blue-tinted charcoal datasheet) ----- */
.spec-sheet {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 3rem;
    /* blue-tinted charcoal — drawn from the IKON logo blues */
    background: linear-gradient(160deg, #1b2540 0%, #101828 100%);
    border: 1px solid rgba(45, 108, 214, 0.30);
    border-top: 4px solid #2d6cd6;
    border-radius: 16px;
    padding: 2.5rem 2.75rem 2.75rem;
    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.5),
        0 1px 0 rgba(45, 108, 214, 0.20) inset;
}
.spec-group {
    break-inside: avoid;
    padding: 0 0.25rem;
}
/* vertical divider between the two columns */
.spec-group:nth-child(even) {
    padding-left: 3rem;
    border-left: 1px solid rgba(45, 108, 214, 0.28);
    margin-left: -1.5rem;
}
.spec-group h3 {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6aa5ff;
    padding-bottom: 0.6rem;
    margin: 1.85rem 0 0.6rem;
    border-bottom: 2px solid rgba(45, 108, 214, 0.38);
}
.spec-group:first-child h3,
.spec-group:nth-child(2) h3 { margin-top: 0; }
.spec-sheet dl { margin: 0; }
.spec-sheet dl > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.25rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
}
/* zebra striping for easy scanning */
.spec-sheet dl > div:nth-of-type(odd) {
    background: rgba(45, 108, 214, 0.12);
}
.spec-sheet dt {
    color: #b7c0d2;
    font-size: 0.95rem;
    font-weight: 500;
    flex: 0 0 auto;
}
.spec-sheet dd {
    margin: 0;
    text-align: right;
    color: #eef2fb;
    font-weight: 700;
    font-family: 'SF Mono', ui-monospace, 'Cascadia Code', Menlo, Consolas, monospace;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

/* ----- VARIANT / OPTION CARDS (batteries, overlay kits, accessories) ----- */
.variant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.variant-card {
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    text-align: left;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}
.variant-card:hover {
    transform: translateY(-8px);
    background: var(--grad-card-hover);
    border-color: transparent;
    box-shadow: 0 18px 40px rgba(0, 71, 171, 0.28), 0 0 60px rgba(220, 38, 38, 0.08);
}
.variant-card figure {
    margin: -1.75rem -1.75rem 0.75rem;
    aspect-ratio: 3 / 2;
    background: var(--dark-deeper);
    overflow: hidden;
    line-height: 0;
    border-bottom: 1px solid var(--border);
}
.variant-card figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.variant-card .part {
    font-family: 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary-bright);
    text-transform: uppercase;
}
.variant-card h3 {
    font-size: 1.15rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.25;
}
.variant-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}
.variant-card .dims {
    margin-top: auto;
    padding-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-light);
    font-family: 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
}
.variant-card .swatch-row {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}
.variant-card .swatch-row .swatch {
    width: 18px; height: 18px; border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: inset 0 0 5px rgba(0,0,0,0.35);
}

/* ----- CROSS-SELL / OTHER PRODUCTS STRIP ----- */
.related-note {
    background: rgba(45, 108, 214, 0.08);
    border: 1px solid var(--border-strong);
    border-left: 4px solid var(--primary-bright);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    max-width: 960px;
    margin: 2rem auto 0;
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.6;
}
.related-note strong { color: #fff; }

/* ----- RESPONSIVE ----- */
@media (max-width: 1024px) {
    main > section.product-hero > div.product-hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .product-intro { text-align: left; }
}
@media (max-width: 900px) {
    .spec-sheet { grid-template-columns: 1fr; gap: 0; padding: 1.75rem 1.5rem 2rem; }
    .spec-group:nth-child(2) h3 { margin-top: 1.75rem; }
    .spec-group:nth-child(even) {
        padding-left: 0.25rem;
        border-left: none;
        margin-left: 0;
    }
}
@media (max-width: 560px) {
    .product-highlights { grid-template-columns: repeat(2, 1fr); }
    .product-cta-row { grid-template-columns: 1fr; max-width: none; }
}

/* ----- COMING SOON (STAR Tilt specialty page) ----- */
.product-badges .pill.soon {
    background: linear-gradient(135deg, var(--accent-bright), var(--accent-dark));
    color: #fff;
    border-color: transparent;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.product-badges .pill.soon svg { fill: #fff; }
.gallery-main .soon-ribbon {
    position: absolute;
    top: 22px;
    left: -54px;
    transform: rotate(-45deg);
    background: linear-gradient(135deg, var(--accent-bright), var(--accent-dark));
    color: #fff;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.5rem 4rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    z-index: 3;
    pointer-events: none;
}
.related-note.soon {
    border-left-color: var(--accent-bright);
    border-color: rgba(220, 38, 38, 0.30);
    background: rgba(220, 38, 38, 0.08);
}

/* ============================================
   MOTION CONTROLS (WCAG 2.2.2 Pause, Stop, Hide)
   ============================================ */

/* Carousel play/pause button — sits with the slider arrows */
.hero-slider .slider-pause {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 5;
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(10, 14, 26, 0.55);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}
.hero-slider .slider-pause:hover {
    background: rgba(10, 14, 26, 0.8);
    border-color: #fff;
}
.hero-slider .slider-pause:focus-visible {
    outline: 3px solid var(--accent-bright);
    outline-offset: 2px;
}

/* Brand marquee pause/play toggle */
.brands .marquee-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 auto 1.5rem;
    padding: 0.5rem 1rem;
    min-height: 44px;
    border: 1px solid var(--border-strong);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.brands .marquee-toggle:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--primary-bright);
}
.brands .marquee-toggle:focus-visible {
    outline: 3px solid var(--accent-bright);
    outline-offset: 2px;
}
.brands.is-paused ul {
    animation-play-state: paused !important;
}

/* Larger, easier hit area for the carousel dots (WCAG 2.5.8) */
.hero-slider .slider-dots .dot {
    position: relative;
}
.hero-slider .slider-dots .dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
}

/* No-JS fallback: keep the mobile nav reachable without JavaScript */
@media (max-width: 480px) {
    html:not(.has-js) .nav-toggle-label { display: none; }
    html:not(.has-js) header nav { max-height: none; overflow: visible; }
}
