/* ---------- Design tokens ----------
   SYSPOINT HUB brand palette (Brand Identity Guide v1.0). Ratio guide:
   60% Midnight/Indigo · 25% Chrome/white · 15% Gold — Gold is the call to
   action, so it's reserved for buttons and tags; on light grounds the text
   accent is Hub Indigo, since gold text on white isn't readable. */
:root {
    --brand-midnight: #14143A;
    --brand-indigo: #34348A;
    --brand-gold: #F7CB1E;
    --brand-lemon: #FDE414;
    --brand-chrome: #E4E6E5;
    --brand-ink: #0E0E24;

    --font-display: 'Nunito', 'Segoe UI', sans-serif;
    --font-body: 'IBM Plex Sans', 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', Consolas, monospace;

    --color-ink: var(--brand-midnight);
    --color-ink-soft: var(--brand-indigo);
    --color-accent: var(--brand-gold);
    --color-accent-hover: var(--brand-lemon);
    --color-accent-dark: var(--brand-indigo);
    --color-gold: var(--brand-gold);
    --color-text: var(--brand-ink);
    --color-text-muted: #55576E;
    --color-bg: #ffffff;
    --color-bg-soft: #F1F2F1;
    --color-border: #D9DBDA;
    --color-danger: #d64545;
    --color-success: #1f9d55;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(20, 20, 58, 0.08);
    --shadow-md: 0 8px 24px rgba(20, 20, 58, 0.14);
    --container-width: 1180px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.55;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.5em; font-weight: 900; }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--color-accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
    margin-bottom: 8px;
}

.section { padding: 64px 0; }
.section-soft { background: var(--color-bg-soft); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--color-accent); color: var(--color-ink); }
.btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: var(--color-border); color: var(--color-text); }
.btn-outline:hover { border-color: var(--color-accent-dark); color: var(--color-accent-dark); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* ---------- Cards & forms ---------- */
.card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.form-card { max-width: 520px; margin: 0 auto; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent-dark);
    box-shadow: 0 0 0 3px rgba(52, 52, 138, 0.18);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--color-text-muted); margin-top: 4px; }

.alert { padding: 14px 18px; border-radius: var(--radius-md); margin-bottom: 20px; font-size: 0.92rem; }
.alert-success { background: #e7f8ee; color: #146c37; border: 1px solid #b7e8c9; }
.alert-error { background: #fdecec; color: #a32626; border: 1px solid #f5c2c2; }

/* ---------- Header / nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-ink);
    color: #fff;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand-logo { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; line-height: 0.95; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; }
.brand-name em { font-style: normal; color: var(--brand-gold); }
.brand-tagline { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em; color: var(--brand-gold); margin-top: 4px; }
.brand:hover { text-decoration: none; }
@media (max-width: 420px) { .brand-tagline { display: none; } }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(255, 255, 255, 0.82); font-weight: 500; font-size: 0.92rem; }
.nav-links a { transition: color 0.15s ease; }
.nav-links a:hover, .nav-links a.is-active { color: var(--brand-gold); text-decoration: none; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--color-ink); }
/* Cart: icon only (public/assets/img/icons/cart.png used as a mask, so it
   takes the link colour — white on the nav, gold when active/hovered). */
.nav-cart { position: relative; display: inline-flex; align-items: center; padding: 4px; }
.nav-cart-icon {
    display: block;
    width: 28px;
    height: 28px;
    background: currentColor;
    -webkit-mask: url('../img/icons/cart.png') center / contain no-repeat;
    mask: url('../img/icons/cart.png') center / contain no-repeat;
}
.nav-links a.nav-cart:hover, .nav-links a.nav-cart.is-active { color: var(--brand-gold); }
.nav-cart-count {
    position: absolute;
    top: -4px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--brand-gold);
    color: var(--brand-midnight);
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed;
        inset: 68px 0 0 0;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 22px;
        padding: 32px 20px;
        background: rgba(20, 20, 58, 0.97);
        backdrop-filter: blur(10px);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    .nav-links.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, var(--color-ink) 0%, var(--color-ink-soft) 100%);
    color: #fff;
    padding: 88px 0 72px;
}
.hero p { color: rgba(255, 255, 255, 0.75); max-width: 56ch; }

/* ---------- Section grid: the 5 offerings on the homepage ---------- */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 36px;
}
.offer-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 26px;
    background: #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.offer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.offer-card .offer-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: rgba(247, 203, 30, 0.18);
    color: var(--color-accent-dark);
    margin-bottom: 14px;
}

/* ============================================================
   HOME HERO — dark showcase: headline, a desk scene whose laptop shows
   our Gaming page, five glass service cards, a stats bar and a tagline,
   over the brand Swoosh (the S from the mark) in Indigo with a gold line.
   ============================================================ */
.home-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 64px 0 40px;
    background:
        radial-gradient(ellipse 70% 45% at 50% 0%, rgba(52, 52, 138, 0.75), transparent 70%),
        linear-gradient(180deg, #14143A 0%, #0E0E24 100%);
    isolation: isolate;
}
/* The swoosh lives in the lower two-thirds so it runs behind the laptop and cards, never through the headline. */
.home-swoosh { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 66%; z-index: -1; }
.home-swoosh-mobile { display: none; position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
@media (max-width: 640px) {
    .home-swoosh { display: none; }
    .home-swoosh-mobile { display: block; }
}
/* A touch stronger on desktop (+3 points); phones keep the SVG's own 0.5 / 0.6. */
@media (min-width: 641px) {
    .home-swoosh-band { opacity: 0.53; }
    .home-swoosh-line { opacity: 0.63; }
}
main:has(.home-hero) + .site-footer, main:has(.training-hero) + .site-footer { margin-top: 0; }
.home-hero-head { text-align: center; max-width: 860px; }
.home-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--brand-gold);
}
.home-hero-kicker::before, .home-hero-kicker::after { content: ""; width: 40px; height: 2px; background: var(--brand-gold); opacity: 0.7; }
.home-hero h1 {
    margin: 14px 0 16px;
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    line-height: 1.02;
    color: #fff;
}
.home-hero h1 span { display: block; color: var(--brand-gold); }
.home-hero-head p { color: rgba(255, 255, 255, 0.78); max-width: 62ch; margin: 0 auto; }

.home-hero-stage { position: relative; max-width: 1120px; margin: 24px auto 0; padding: 0 12px; }
/* Cross-fade: Gaming is the base layer; the other four fade in over it in turn, 5s each, on a 25s loop. */
.home-screen-cycle { position: absolute; inset: 0 12px; opacity: 0; animation: home-screen-cycle 25s infinite; animation-delay: var(--d, 5s); }
@keyframes home-screen-cycle {
    0% { opacity: 0; }
    4%, 20% { opacity: 1; }
    24%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .home-screen-cycle { animation: none; } }
.home-hero-stage img {
    width: 100%;
    height: auto;
    display: block;
    -webkit-mask-image:
        linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
        linear-gradient(to bottom, transparent 0, #000 10%, #000 72%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%),
        linear-gradient(to bottom, transparent 0, #000 10%, #000 72%, transparent 100%);
    mask-composite: intersect;
}

.home-services {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-top: -110px;
}
.home-service {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 22px 14px 16px;
    border-radius: var(--radius-lg);
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(201, 202, 232, 0.22);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
a.home-service:hover, a.home-service:focus-visible {
    text-decoration: none;
    transform: translateY(-4px);
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 1px var(--brand-gold), 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 28px rgba(247, 203, 30, 0.22);
    outline: none;
}
.home-service.is-featured {
    background: linear-gradient(160deg, rgba(52, 52, 138, 0.95), rgba(20, 20, 58, 0.95));
    border-color: rgba(247, 203, 30, 0.55);
}
.home-service-icon {
    width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(247, 203, 30, 0.14);
    color: var(--brand-gold);
    margin-bottom: 6px;
}
.home-service-icon svg { width: 26px; height: 26px; }
.home-service strong { font-family: var(--font-display); font-weight: 900; font-size: 1rem; line-height: 1.2; }
.home-service-text { font-size: 0.8rem; color: #C9CAE8; }
.home-service-dots { display: flex; gap: 4px; margin-top: 6px; }
.home-service-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-gold); opacity: 0.7; }

.home-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 16px 18px 16px 8px;
    border-radius: var(--radius-lg);
    background: rgba(14, 14, 36, 0.6);
    border: 1px solid rgba(201, 202, 232, 0.18);
}
.home-stat { flex: 1; text-align: center; padding: 4px 12px; border-right: 1px solid rgba(201, 202, 232, 0.18); }
.home-stat strong { display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: #fff; line-height: 1.1; }
.home-stat span { font-size: 0.82rem; color: #C9CAE8; }
.home-stat .label-full, .home-stat .label-short { font-size: inherit; color: inherit; }
.home-stat .label-short { display: none; }
@media (max-width: 640px) {
    .home-stat .label-full { display: none; }
    .home-stat .label-short { display: inline; }
}
.home-stats-cta { margin-left: 12px; white-space: nowrap; }

.home-hero-tagline {
    margin: 26px 0 0;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-gold);
}
.home-hero-tagline span { color: #fff; }

@media (max-width: 980px) {
    .home-services { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: -60px; }
}
@media (max-width: 640px) {
    .home-hero { padding-top: 44px; }
    .home-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: -30px; }
    .home-service:last-child { grid-column: 1 / -1; }
    .home-stats { flex-wrap: wrap; padding: 14px; }
    .home-stat { flex: 1 1 30%; border-right: none; padding: 4px; }
    .home-stat strong { font-size: 1.1rem; white-space: nowrap; }
    /* numbers stay on one level even if a label wraps; labels sized to fit a third of the bar */
    .home-stats { align-items: flex-start; }
    .home-stat span { display: block; font-size: 0.74rem; line-height: 1.3; }
    .home-stats-cta { margin: 10px 0 0; width: 100%; }
    .home-hero-tagline { font-size: 0.8rem; letter-spacing: 0.12em; }
}

/* ---------- Home: sections below the hero ---------- */
.home-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.home-section-head h2 { margin-bottom: 0; }
.home-section-link { font-weight: 600; color: var(--brand-indigo); white-space: nowrap; }
.product-grid.home-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-product-grid .product-card-price { color: var(--brand-indigo); }

/* Gaming band: dark, with three tilted game tiles */
.home-gaming {
    position: relative;
    overflow: hidden;
    padding: 72px 0;
    color: #fff;
    background:
        radial-gradient(ellipse 50% 70% at 85% 50%, rgba(52, 52, 138, 0.9), transparent 70%),
        var(--brand-midnight);
}
.home-gaming-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.home-gaming .eyebrow { color: var(--brand-gold); }
.home-gaming h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.home-gaming p { color: rgba(255, 255, 255, 0.8); max-width: 48ch; }
.home-rooms { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; max-width: 420px; }
.home-rooms li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(201, 202, 232, 0.18); }
.home-rooms strong { font-family: var(--font-display); font-weight: 900; }
.home-room-name { display: flex; flex-direction: column; min-width: 0; }
.home-room-name small { font-size: 0.8rem; color: #C9CAE8; }
.home-room-rate { color: var(--brand-gold); font-weight: 600; text-align: right; white-space: nowrap; }
.home-gaming-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.home-gaming-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-gaming-tile { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; border: 2px solid rgba(201, 202, 232, 0.2); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.home-gaming-tile:nth-child(1) { transform: rotate(-4deg) translateY(10px); }
.home-gaming-tile:nth-child(2) { transform: translateY(-12px); border-color: var(--brand-gold); box-shadow: 0 0 30px rgba(247, 203, 30, 0.3), 0 18px 40px rgba(0, 0, 0, 0.45); }
.home-gaming-tile:nth-child(3) { transform: rotate(4deg) translateY(10px); }
.home-gaming-tile img { width: 100%; height: 100%; object-fit: cover; }
.home-gaming-tile span {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 12px;
    font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 0.95rem;
    background: linear-gradient(to top, rgba(14, 14, 36, 0.95), transparent);
}

/* Training cards */
.home-courses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.home-course {
    display: flex; flex-direction: column; gap: 6px; padding: 22px;
    border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--color-border); color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.home-course:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--brand-gold); box-shadow: var(--shadow-md); }
.home-course-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--brand-midnight); color: var(--brand-gold); margin-bottom: 6px; }
.home-course-icon svg { width: 24px; height: 24px; }
.home-course strong { font-family: var(--font-display); font-weight: 900; font-size: 1.1rem; }
.home-course-text { font-size: 0.88rem; color: var(--color-text-muted); flex: 1; }
.home-course-meta { font-weight: 700; color: var(--brand-indigo); font-size: 0.9rem; }
.home-training-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
    margin-top: 28px; padding: 22px 26px; border-radius: var(--radius-lg);
    background: var(--brand-gold); color: var(--brand-midnight);
}
.home-training-cta p { margin: 0; font-weight: 600; }
.home-training-cta .btn-primary { background: var(--brand-midnight); color: #fff; }
.home-training-cta .btn-primary:hover { background: var(--brand-indigo); }


/* Testimonials (from Admin -> Testimonials): light band (sits between the light-grey
   Training band and the dark Visit Us band), white cards, gold quote mark */
.home-testimonials { padding: 72px 0; background: #fff; }
.home-testimonials .eyebrow { color: var(--brand-indigo); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 26px; }
.testimonial {
    margin: 0; padding: 28px;
    display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}
.testimonial-mark { width: 34px; height: 26px; color: var(--brand-gold); }
.testimonial blockquote {
    margin: -8px 0 0;
    font-family: var(--font-display); font-weight: 900; font-style: italic;
    font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.4; color: var(--brand-ink);
}
.testimonial figcaption { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; padding-top: 18px; border-top: 1px solid var(--color-border); }
.testimonial figcaption strong { color: var(--brand-ink); }
.testimonial-photo { width: 46px; height: 46px; flex: none; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand-gold); }
.testimonial-initials { display: flex; align-items: center; justify-content: center; background: var(--brand-midnight); color: var(--brand-gold); font-family: var(--font-display); font-weight: 900; }
/* the base rule img { display: block } would otherwise override [hidden] on a failed logo/photo */
.testimonial-initials[hidden], .testimonial-photo[hidden], .home-trusted-item img[hidden] { display: none; }
.testimonial-company { display: block; color: var(--color-text-muted); }

/* Trusted-by strip, right under the hero: light grey band, greyscale logos (never
   brand/logo colours), organisations without a logo shown as a grey wordmark. */
.home-trusted { padding: 40px 0 34px; background: #F1F2F1; border-bottom: 1px solid var(--color-border); text-align: center; }
.home-trusted-kicker { margin: 0 0 4px; font-family: var(--font-mono); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #6B6E80; }
.home-trusted h2 { margin: 0; font-size: clamp(1.2rem, 2.2vw, 1.5rem); color: var(--brand-ink); }
.home-trusted-list {
    --per-row: 6; --col-gap: 18px;
    list-style: none; margin: 24px 0 0; padding: 0;
    display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; gap: 22px var(--col-gap);
}
.home-trusted-list > * { flex: 0 0 calc((100% - (var(--per-row) - 1) * var(--col-gap)) / var(--per-row)); min-width: 0; }
.home-trusted-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    min-height: 92px; color: #6B6E80; text-decoration: none;
}
a.home-trusted-item:hover { text-decoration: none; color: var(--brand-ink); }
.home-trusted-item img { max-height: 64px; max-width: 140px; object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply; opacity: 0.8; transition: opacity 0.15s ease; }
a.home-trusted-item:hover img { opacity: 1; }
.home-trusted-name { font-family: var(--font-display); font-weight: 900; font-size: 0.95rem; line-height: 1.25; text-transform: uppercase; letter-spacing: 0.01em; }
.home-trusted-item.has-logo .home-trusted-name { font-family: var(--font-body); font-weight: 600; font-size: 0.72rem; text-transform: none; letter-spacing: 0; }
.home-trusted-more { margin: 22px 0 0; font-size: 0.9rem; }
.home-trusted-more a { color: var(--brand-indigo); font-weight: 600; }
@media (max-width: 980px) { .home-trusted-list { --per-row: 4; } }
@media (max-width: 640px) {
    .home-trusted { padding: 32px 0 28px; }
    .home-trusted-list { --per-row: 3; --col-gap: 10px; row-gap: 18px; }
    .home-trusted-item { min-height: 76px; }
    .home-trusted-item img { max-height: 48px; max-width: 96px; }
    .home-trusted-name { font-size: 0.72rem; }
    .home-trusted-item.has-logo .home-trusted-name { font-size: 0.62rem; }
}

/* Visit us */
.home-visit { padding: 72px 0; color: #fff; background: linear-gradient(180deg, #14143A 0%, #0E0E24 100%); }
.home-visit .eyebrow { color: var(--brand-gold); }
.home-visit h2 { color: #fff; }
.home-visit-lede { color: #C9CAE8; margin: 8px 0 0; }
.home-visit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.home-visit-card { padding: 26px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(201, 202, 232, 0.2); }
.home-visit-suite { display: inline-block; padding: 4px 10px; background: var(--brand-gold); color: var(--brand-midnight); font-family: var(--font-mono); font-weight: 600; font-size: 0.8rem; }
.home-visit-card h3 { color: #fff; margin: 12px 0 6px; font-size: 1.4rem; }
.home-visit-card p { color: #C9CAE8; }
.home-visit-contact { margin: 22px 0 0; color: #C9CAE8; }
.home-visit-contact a { color: var(--brand-gold); }

@media (max-width: 980px) {
    .product-grid.home-product-grid, .home-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-gaming-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .home-visit-grid { grid-template-columns: 1fr; }
    .home-gaming-tiles { gap: 8px; }
    .home-gaming-tile span { font-size: 0.75rem; padding: 18px 8px 8px; }
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
    background: var(--color-bg-soft);
    padding: calc(64px + 32px) 0 48px;
    border-bottom: 1px solid var(--color-border);
}
.breadcrumb { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-ink); color: rgba(255, 255, 255, 0.75); padding: 56px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; margin-bottom: 36px; }
.site-footer h4 { color: var(--brand-gold); font-family: var(--font-mono); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer address { font-style: normal; font-size: 0.9rem; line-height: 1.6; margin-bottom: 14px; }
.footer-address-label { margin: 0 0 2px; font-size: 0.78rem; font-weight: 600; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; font-size: 0.9rem; }
.site-footer a { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- Utility ---------- */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.badge-success { background: #e7f8ee; color: #146c37; }
.badge-warning { background: #fff4e0; color: #8a5a06; }
.badge-muted { background: var(--color-bg-soft); color: var(--color-text-muted); }

.demo-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #fff4d6;
    color: #8a5a06;
    border: 1px dashed #d99a1f;
    vertical-align: middle;
}

/* The Gold Tag — brand device for offers and CTAs (e.g. free internet). */
.gold-tag {
    display: inline-block;
    margin-top: 18px;
    padding: 6px 14px;
    background: var(--brand-gold);
    color: var(--brand-midnight);
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.section-lede { color: var(--color-text-muted); margin-top: -4px; }

.btn-outline-light { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }

/* ---------- Shop hero ---------- */
/* ---------- Category & product grids ---------- */
.category-grid, .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 28px;
}
.category-card, .product-card {
    display: block;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.category-card:hover, .product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.category-card h3, .product-card h3 { font-size: 1rem; margin: 14px 14px 4px; }
.category-card p, .product-card-price { margin: 0 14px 16px; color: var(--color-text-muted); font-size: 0.9rem; }
.product-card-price { font-weight: 700; color: var(--color-text); font-size: 1rem; }
.category-card-img, .product-card-img {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--color-bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.category-card-img img, .product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.category-card-placeholder, .product-card-placeholder { font-size: 2.75rem; }
.product-card-badge { position: absolute; top: 10px; right: 10px; }
@media (max-width: 520px) {
    .category-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .category-card h3, .product-card h3 { font-size: 0.9rem; margin: 10px 10px 4px; }
    .category-card p, .product-card-price { margin: 0 10px 12px; font-size: 0.85rem; }
}

/* ---------- Trust badges ---------- */
.trust-badges { padding: 40px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.trust-badges-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.trust-badge { display: flex; align-items: center; gap: 14px; }
.trust-badge-icon { font-size: 1.6rem; }
.trust-badge strong { display: block; font-size: 0.92rem; }
.trust-badge span { display: block; font-size: 0.8rem; color: var(--color-text-muted); }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.product-detail-img { aspect-ratio: 1 / 1; background: var(--color-bg-soft); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 4rem; }
.product-detail-img img { width: 100%; height: 100%; object-fit: contain; }
.product-detail-img:has(img) { background: #fff; border: 1px solid var(--color-border); }
.product-detail-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.product-detail-thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--color-border); }
.product-detail-price { font-size: 1.6rem; font-weight: 800; margin: 6px 0 14px; }
.add-to-cart-form { display: flex; align-items: flex-end; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.add-to-cart-form label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; }
.add-to-cart-form input[type="number"] { width: 80px; padding: 10px; border: 1px solid var(--color-border); border-radius: var(--radius-md); }
@media (max-width: 700px) { .product-detail { grid-template-columns: 1fr; } }

/* ---------- Cart ---------- */
.cart-table-wrap { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow-x: auto; }
.cart-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 560px; }
.cart-table th, .cart-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.cart-table th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--color-text-muted); }
.cart-table tr:last-child td { border-bottom: none; }
.cart-item { display: flex; align-items: center; gap: 12px; }
.cart-item img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-qty-form { display: flex; gap: 8px; align-items: center; }
.cart-qty-form input[type="number"] { width: 64px; padding: 8px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.cart-summary { display: flex; justify-content: space-between; align-items: center; max-width: 320px; margin-left: auto; margin-top: 20px; font-size: 1.05rem; padding-top: 16px; border-top: 1px solid var(--color-border); }

/* ---------- Software clinic portfolio ---------- */
.portfolio-list { display: flex; flex-direction: column; gap: 16px; }
.portfolio-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 16px; }
.portfolio-item img { width: 48px; height: 48px; object-fit: contain; border-radius: var(--radius-sm); flex-shrink: 0; }
.portfolio-item-placeholder { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: var(--color-bg-soft); border-radius: var(--radius-sm); flex-shrink: 0; }
.portfolio-item p { margin: 4px 0 0; font-size: 0.88rem; color: var(--color-text-muted); }

/* ============================================================
   SHOP THEME — scoped to .shop-theme (wraps shop/cart/checkout
   page content only, never the shared header/nav/footer). Uses the
   brand palette: Gold for CTAs, Indigo for text accents on light.
   ============================================================ */
.shop-theme {
    --shop-accent: var(--brand-gold);
    --shop-accent-text: var(--brand-indigo);
    --shop-ink: var(--brand-midnight);
}
.shop-theme .eyebrow { color: var(--shop-accent-text); }
.shop-theme .product-card-price { color: var(--shop-accent-text); }
.shop-theme .category-card:hover, .shop-theme .product-card:hover { border-color: var(--shop-accent); box-shadow: 0 10px 28px rgba(52, 52, 138, 0.18); }
.shop-theme .breadcrumb a { color: var(--shop-accent-text); }
.shop-theme .order-summary-total { border-top-color: var(--shop-ink); }


/* "Visit the gadget store" band on the shop page. */
.shop-visit-card {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    background: var(--brand-midnight);
    color: #fff;
}
.shop-visit-icon {
    width: 56px; height: 56px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--brand-gold);
    font-size: 1.5rem;
}
.shop-visit-copy { flex: 1 1 320px; }
.shop-theme .shop-visit-copy .eyebrow { color: var(--brand-gold); }
.shop-visit-copy h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
.shop-visit-copy address { font-style: normal; line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
.shop-visit-meta { margin: 8px 0 0; font-size: 0.88rem; color: #C9CAE8; }
.shop-visit-meta a { color: var(--brand-gold); }

/* Compact category strip — icon, name, count, arrow affordance. */
.shop-category-strip { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.shop-category-strip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.shop-category-strip-item:hover { border-color: var(--shop-accent); box-shadow: 0 8px 20px rgba(52, 52, 138, 0.16); transform: translateY(-2px); text-decoration: none; }
.shop-category-strip-icon { font-size: 1.3rem; }
.shop-category-strip-item strong { display: block; font-size: 0.92rem; }
.shop-category-strip-item span { display: block; font-size: 0.78rem; color: var(--color-text-muted); }
.shop-category-strip-arrow { margin-left: 6px; color: var(--shop-accent-text); font-weight: 700; }

.shop-theme .trust-badges { border-color: var(--color-border); }
.shop-theme .trust-badge-icon { color: var(--shop-accent-text); }

/* ============================================================
   GAMING THEME — scoped to .gaming-theme, same isolation rule.
   An arcade "select your game" home: the whole page sits on
   Midnight, with Gold neon, a perspective grid floor, CRT
   scanlines and pixel labels (Press Start 2P, small labels only —
   it echoes the brand's Pixel Ellipsis; headings stay Nunito).
   ============================================================ */
.gaming-theme {
    --font-pixel: 'Press Start 2P', var(--font-mono);
    --gaming-accent: var(--brand-gold);
    --gaming-accent-2: var(--brand-lemon);
}
.gaming-theme .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 22px rgba(247, 203, 30, 0.45); }
.gaming-theme .breadcrumb a { color: var(--brand-indigo); }

/* The dark arcade page itself (gaming.php only — the booking form keeps
   the light layout, where white form cards need dark text). */
.gaming-arcade {
    --color-text: #fff;
    --color-text-muted: #C9CAE8;
    --color-border: rgba(201, 202, 232, 0.16);
    --color-bg-soft: #1C1C48;
    background: var(--brand-midnight);
    color: var(--color-text);
}
.gaming-arcade .section-soft { background: #18183F; }
.gaming-arcade .eyebrow { color: var(--gaming-accent); }
.gaming-arcade h2 { color: #fff; }
.gaming-arcade .category-card,
.gaming-arcade .product-card { background: #1C1C48; border-color: var(--color-border); color: #fff; }
.gaming-arcade .category-card-img,
.gaming-arcade .product-card-img { background: #14143A; }
.gaming-arcade .category-card p { color: var(--color-text-muted); }
.gaming-arcade .product-card-price { color: var(--gaming-accent); }
.gaming-arcade .category-card:hover, .gaming-arcade .product-card:hover {
    border-color: var(--gaming-accent);
    box-shadow: 0 0 0 1px var(--gaming-accent), 0 0 28px rgba(247, 203, 30, 0.25);
}
.gaming-arcade .trust-badges { border-color: var(--color-border); }
.gaming-arcade .trust-badge span { color: var(--color-text-muted); }
.gaming-arcade .alert-success { background: rgba(31, 157, 85, 0.15); color: #b7e8c9; border-color: rgba(31, 157, 85, 0.4); }

/* ---------- Arcade hero ---------- */
.arcade-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 0;
    color: #fff;
    background:
        radial-gradient(ellipse 70% 55% at 50% 0%, rgba(52, 52, 138, 0.95), transparent 70%),
        var(--brand-midnight);
    isolation: isolate;
}
/* CRT scanlines over everything in the hero. */
.arcade-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 3px);
    pointer-events: none;
    z-index: 3;
}
/* Retro perspective grid floor. */
.arcade-floor {
    position: absolute;
    left: -50%;
    right: -50%;
    bottom: 0;
    height: 55%;
    background:
        linear-gradient(to top, rgba(247, 203, 30, 0.35) 1px, transparent 1px) 0 0 / 100% 48px,
        linear-gradient(to right, rgba(247, 203, 30, 0.35) 1px, transparent 1px) 0 0 / 64px 100%;
    transform: perspective(420px) rotateX(62deg);
    transform-origin: bottom center;
    mask-image: linear-gradient(to top, #000 10%, transparent 90%);
    -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%);
    z-index: -1;
}
.arcade-hero-inner { position: relative; z-index: 1; text-align: center; }


.arcade-hero-copy { max-width: 760px; margin: 0 auto; }
.arcade-hero-copy .eyebrow { text-transform: none; }
.arcade-hero-copy p { color: rgba(255, 255, 255, 0.8); max-width: 60ch; margin: 0 auto 8px; }
.arcade-title {
    font-size: clamp(2.6rem, 7vw, 5rem);
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #fff;
    text-shadow:
        0 0 2px #fff,
        0 0 18px rgba(247, 203, 30, 0.55),
        4px 4px 0 var(--brand-indigo);
    margin-bottom: 18px;
}

.arcade-select-label {
    font-family: var(--font-pixel);
    font-size: 0.75rem;
    color: var(--brand-gold);
    text-transform: uppercase;
    margin: 40px 0 18px;
}
.arcade-select-label::before, .arcade-select-label::after { content: " ◆ "; color: var(--brand-lemon); }

.arcade-select {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1040px;
    margin: 0 auto;
    text-align: left;
}
.arcade-card {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: #fff;
    background: #0E0E24;
    border: 2px solid rgba(201, 202, 232, 0.22);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.arcade-card picture, .arcade-card img { position: absolute; inset: 0; width: 100%; height: 100%; }
.arcade-card img { object-fit: cover; object-position: center 30%; transition: transform 0.35s ease; }
.arcade-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14, 14, 36, 0.96) 0%, rgba(14, 14, 36, 0.55) 34%, transparent 62%);
}
.arcade-card:hover, .arcade-card:focus-visible {
    text-decoration: none;
    transform: translateY(-6px);
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 2px var(--brand-gold), 0 0 36px rgba(247, 203, 30, 0.45), 0 22px 44px rgba(0, 0, 0, 0.5);
    outline: none;
}
.arcade-card:hover img, .arcade-card:focus-visible img { transform: scale(1.05); }
.arcade-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.arcade-card-name { font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; line-height: 1.05; text-transform: uppercase; }
.arcade-card-sub { font-size: 0.88rem; color: var(--color-text-muted); }

.arcade-actions { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; margin: 36px 0 44px; }
.arcade-actions .gold-tag { margin-top: 0; }

.arcade-marquee {
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: var(--brand-gold);
    color: var(--brand-midnight);
    border-top: 3px solid var(--brand-lemon);
    padding: 12px 0;
}
.arcade-marquee-track {
    display: flex;
    gap: 22px;
    width: max-content;
    font-family: var(--font-pixel);
    font-size: 0.7rem;
    text-transform: uppercase;
    white-space: nowrap;
    animation: arcade-marquee 28s linear infinite;
}
@keyframes arcade-marquee { to { transform: translateX(-50%); } }

@media (max-width: 760px) {
    .arcade-select {
        grid-template-columns: repeat(3, minmax(220px, 78%));
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .arcade-card { scroll-snap-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .arcade-marquee-track { animation: none; }
    .arcade-card, .arcade-card img { transition: none; }
}

/* Gold CTA banner — the brand's Gold Tag device at banner scale. */
.gaming-cta-banner {
    background: var(--brand-gold);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--brand-midnight);
    box-shadow: 0 0 40px rgba(247, 203, 30, 0.25);
}
.gaming-cta-banner h3 { margin: 0 0 4px; color: var(--brand-midnight); }
.gaming-cta-banner p { margin: 0; color: rgba(20, 20, 58, 0.8); }
.gaming-cta-banner .btn-primary { background: var(--brand-midnight); color: #fff; }
.gaming-cta-banner .btn-primary:hover { background: var(--brand-indigo); }

/* ============================================================
   TRAINING HERO — brand fonts only: Nunito Black (title, gold italic
   "The"), IBM Plex Mono (kicker, badge), IBM Plex Sans (intro, strip) —
   a round gold badge, a top-down student-on-laptop photo (the laptop
   shows our own home page) and a course strip, on grainy Midnight blue.
   ============================================================ */
.training-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-bottom: 40px;
    color: #fff;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
        radial-gradient(ellipse 55% 75% at 12% 30%, rgba(52, 52, 138, 0.7), transparent 70%),
        #0E0F46;
}
.training-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding-top: 56px;
}
.training-hero .breadcrumb { color: rgba(255, 255, 255, 0.6); margin-bottom: 22px; }
.training-hero .breadcrumb a { color: var(--brand-gold); }
.training-kicker {
    display: block;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #C9CAE8;
    margin-bottom: 4px;
}
.training-title {
    position: relative;
    margin: 0 0 18px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.92;
    letter-spacing: -0.01em;
    color: #E8EAFB;
    transform: rotate(-4deg);
    transform-origin: left center;
}
.training-line { display: block; white-space: nowrap; font-size: clamp(2.2rem, 5.6vw, 4.6rem); }
.training-script {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 900;
    text-transform: none;
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    line-height: 0.9;
    color: var(--brand-gold);
    margin: 0 0 -0.12em -0.1em;
    position: relative;
    z-index: 1;
}
.training-intro { color: rgba(255, 255, 255, 0.82); max-width: 46ch; margin-top: 26px; }

.training-hero-art { position: relative; align-self: end; }
.training-hero-art img {
    width: 100%;
    height: auto;
    display: block;
    -webkit-mask-image:
        linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%),
        linear-gradient(to bottom, transparent 0, #000 6%, #000 80%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%),
        linear-gradient(to bottom, transparent 0, #000 6%, #000 80%, transparent 100%);
    mask-composite: intersect;
}
.training-badge {
    position: absolute;
    top: 2%;
    right: 4%;
    width: clamp(84px, 9vw, 116px);
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
    animation: training-badge-spin 24s linear infinite;
}
@keyframes training-badge-spin { to { transform: rotate(360deg); } }

/* Mentor feature (Charles Onuoha): layered photos — a Midnight duotone behind,
   the colour portrait in front in a gold frame — beside a quote and CTAs. */
.mentor {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: center;
    margin: 64px 0 40px;
}
.mentor > * { min-width: 0; } /* let grid columns shrink so the nowrap buttons can't widen them */
.mentor-photos { position: relative; padding: 0 0 40px 40px; max-width: 460px; justify-self: center; width: 100%; }
.mentor-photos picture, .mentor-photos img { display: block; }
.mentor-photos img { width: 100%; height: auto; border-radius: var(--radius-lg); }
.mentor-photo-alt {
    position: absolute; left: 0; bottom: 0; width: 62%;
    transform: rotate(-6deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-lg);
}
.mentor-photo-main {
    position: relative; z-index: 1; margin-left: auto; width: 78%;
    border-radius: var(--radius-lg);
    box-shadow: 0 0 0 4px var(--brand-gold), 0 0 46px rgba(247, 203, 30, 0.35), 0 26px 50px rgba(0, 0, 0, 0.5);
    transform: rotate(2deg);
}
.mentor-tag {
    position: absolute; z-index: 2; right: -6px; bottom: 54px;
    padding: 8px 14px; background: var(--brand-gold); color: var(--brand-midnight);
    font-family: var(--font-mono); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}
.mentor-copy .home-hero-kicker::after { display: none; }
.mentor-copy h2 { margin: 10px 0 4px; color: #fff; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.05; }
.mentor-role { margin: 0 0 18px; font-family: var(--font-mono); font-size: 0.9rem; color: var(--brand-gold); }
.mentor-role a, .mentor-role a:hover { color: inherit; text-decoration: none; }
.mentor-role a:hover { color: #fff; }
.mentor-quote {
    margin: 0 0 16px; padding: 4px 0 4px 18px; border-left: 4px solid var(--brand-gold);
    font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.35; color: #fff;
}
.mentor-text { color: #C9CAE8; margin: 0 0 14px; }
.mentor-points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.mentor-points li { position: relative; padding-left: 26px; color: #fff; }
.mentor-points li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-gold); box-shadow: 0 0 10px rgba(247, 203, 30, 0.6); }
.mentor-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.mentor-actions .label-short { display: none; }
@media (max-width: 640px) {
    .mentor-actions .label-full { display: none; }
    .mentor-actions .label-short { display: inline; }
}
.training-bar-cta { align-self: center; margin: 0 24px 0 0; white-space: nowrap; }
@media (max-width: 860px) {
    .mentor { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; }
    .mentor-photos { max-width: 360px; }
}
@media (max-width: 640px) {
    .training-bar-cta { margin: 0 18px 18px; align-self: stretch; }
    /* keep the two mentor buttons side by side on phones */
    .mentor-actions { flex-wrap: nowrap; gap: 8px; }
    .mentor-actions .btn { flex: 1 1 0; min-width: 0; padding: 11px 8px; font-size: 0.8rem; text-align: center; white-space: nowrap; }
    /* keep the photos (rotation, gold ring, CEO tag) inside the same 20px margin as every other block */
    .mentor-photos { padding: 6px 10px 40px 40px; max-width: none; }
    .mentor-photo-main { width: 74%; }
    .mentor-tag { right: 4px; }
}
@media (max-width: 380px) {
    .mentor-actions .btn { padding: 10px 5px; font-size: 0.74rem; }
}

/* Everything else on the page lives inside the hero: course cards + a bar
   (internship, CharlesOnuoha.com) reusing the home page's glass cards and stats bar. */
.home-services.training-courses { margin-top: 36px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.training-courses .home-service-icon img { width: 30px; height: 30px; object-fit: cover; border-radius: 50%; }
.training-course-meta { margin-top: 4px; font-weight: 700; font-size: 0.85rem; color: var(--brand-gold); }
.training-empty { margin: 36px 0 0; color: #C9CAE8; }
.home-stats.training-bar { padding: 0; align-items: stretch; gap: 0; background: rgba(14, 14, 36, 0.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.training-swoosh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.training-swoosh-mobile { display: none; }
@media (max-width: 860px) {
    .training-swoosh { display: none; }
    .training-swoosh-mobile { display: block; }
}
.training-bar-item {
    flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
    padding: 20px 24px;
}
.training-bar-item + .training-bar-item { border-left: 1px solid rgba(201, 202, 232, 0.18); }
.training-bar-item strong { font-family: var(--font-display); font-weight: 900; font-size: 1.15rem; color: #fff; }
.training-bar-item span { font-size: 0.88rem; color: #C9CAE8; flex: 1; }
.training-bar-item .btn { margin-top: 8px; }
@media (max-width: 640px) {
    .training-bar-item + .training-bar-item { border-left: none; border-top: 1px solid rgba(201, 202, 232, 0.18); }
    .home-stats.training-bar { flex-direction: column; }
    .training-bar-item { padding: 18px; }
    .home-services.training-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .training-hero .training-swoosh-mobile { height: 60%; bottom: -24%; }
    .training-courses .home-service { padding: 16px 10px 12px; }
    .training-courses .home-service-text { font-size: 0.75rem; }
}

@media (max-width: 860px) {
    .training-hero-inner { grid-template-columns: 1fr; padding-top: 40px; }
    .training-hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .training-badge { animation: none; } }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 8px; }
.order-summary-line { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 8px 0; border-bottom: 1px solid var(--color-border); }
.order-summary-total { border-bottom: none; border-top: 2px solid var(--color-ink); margin-top: 6px; padding-top: 14px; font-weight: 700; font-size: 1rem; }
@media (max-width: 800px) { .checkout-grid { grid-template-columns: 1fr; } }
main:has(.gaming-arcade) + .site-footer { margin-top: 0; }

.footer-social { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 0; padding: 0; }
.footer-social a { color: var(--brand-gold); font-size: 0.85rem; font-weight: 600; }

/* ---- SweetAlert2, in Syspoint colours (public site + admin) ---------------- */
.swal2-container { z-index: 2000; }
.swal2-container.swal2-backdrop-show { background: rgba(14, 14, 36, 0.62); backdrop-filter: blur(3px); }
.sp-swal.swal2-popup {
    width: min(440px, calc(100vw - 32px)); padding: 26px 24px 22px; border-radius: 20px;
    background: linear-gradient(165deg, #23235c 0%, var(--brand-midnight) 60%, #0f0f2c 100%);
    color: #fff; font-family: var(--font-body);
    box-shadow: 0 30px 80px rgba(5, 5, 20, 0.55), inset 0 1px 0 rgba(255,255,255,0.14);
    border: 1px solid rgba(247, 203, 30, 0.35);
}
.sp-swal .sp-swal-title { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; line-height: 1.25; color: #fff; padding: 6px 4px 0; }
.sp-swal .sp-swal-text { color: rgba(255,255,255,0.78); font-size: 0.95rem; margin: 10px 4px 0; }
.sp-swal .sp-swal-text p { margin: 0; }
.sp-swal-list { margin: 4px 0 0; padding: 0; list-style: none; text-align: left; display: grid; gap: 8px; }
.sp-swal-list li { position: relative; padding-left: 20px; }
.sp-swal-list li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 7px; height: 7px; border-radius: 2px; background: var(--brand-gold); transform: rotate(45deg); }
.sp-swal .sp-swal-actions { gap: 10px; margin-top: 22px; }
.sp-swal .sp-swal-actions .btn { min-width: 120px; }
.sp-swal .sp-swal-cancel { background: transparent; border-color: rgba(255,255,255,0.3); color: #fff; }
.sp-swal .sp-swal-cancel:hover { border-color: #fff; color: #fff; }
.sp-swal .sp-swal-danger { background: #D86A50; color: #fff; border-color: #D86A50; }
.sp-swal .sp-swal-danger:hover { background: #e47c62; }
.sp-swal .sp-swal-input { margin: 16px 4px 0; width: calc(100% - 8px); border-radius: 10px; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.08); color: #fff; font: inherit; box-shadow: none; }
.sp-swal .sp-swal-input:focus { border-color: var(--brand-gold); box-shadow: 0 0 0 3px rgba(247,203,30,0.22); }
.sp-swal .sp-swal-validation { background: rgba(216,106,80,0.18); color: #F59A86; margin: 10px 4px 0; border-radius: 8px; }
.sp-swal .swal2-icon { margin-top: 6px; transform: scale(0.82); }
.sp-swal .swal2-icon.swal2-success { border-color: rgba(247,203,30,0.45); color: var(--brand-gold); }
.sp-swal .swal2-icon.swal2-success [class^='swal2-success-line'] { background-color: var(--brand-gold); }
.sp-swal .swal2-icon.swal2-success .swal2-success-ring { border-color: rgba(247,203,30,0.35); }
.sp-swal .swal2-icon.swal2-success [class^='swal2-success-circular-line'], .sp-swal .swal2-icon.swal2-success .swal2-success-fix { background: transparent; }
.sp-swal .swal2-icon.swal2-error { border-color: #F59A86; color: #F59A86; }
.sp-swal .swal2-icon.swal2-error [class^='swal2-x-mark-line'] { background-color: #F59A86; }
.sp-swal .swal2-icon.swal2-warning { border-color: var(--brand-gold); color: var(--brand-gold); }
.sp-swal .swal2-icon.swal2-question { border-color: #8C8CF0; color: #8C8CF0; }
.sp-swal .swal2-timer-progress-bar { background: var(--brand-gold); }
/* Toasts: compact, top right */
.sp-swal.sp-toast.swal2-popup { width: auto; max-width: min(420px, calc(100vw - 24px)); padding: 12px 16px; border-radius: 14px; }
.sp-swal.sp-toast .swal2-title { color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 0.92rem; margin: 0 4px; }
.sp-swal.sp-toast .swal2-icon { transform: none; margin: 0 6px 0 0; }
.sp-swal-in { animation: sp-swal-in 0.22s ease-out; }
.sp-swal-out { animation: sp-swal-out 0.15s ease-in forwards; }
@keyframes sp-swal-in { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes sp-swal-out { to { opacity: 0; transform: scale(0.97); } }
@media (prefers-reduced-motion: reduce) { .sp-swal-in, .sp-swal-out { animation: none; } }

/* Events (/events, and the gaming / training pages) */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 24px; }
.event-card { display: flex; flex-direction: column; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 16px; overflow: hidden; scroll-margin-top: 96px; }
.event-card:target { box-shadow: 0 0 0 3px var(--color-accent); }
.event-card-img { aspect-ratio: 16 / 9; background: var(--color-bg-soft); }
.event-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px; flex: 1; }
.event-card-body .btn { align-self: flex-start; margin-top: auto; }
.event-card-head { display: flex; gap: 14px; align-items: flex-start; }
.event-card-head h3 { font-size: 1.1rem; margin: 2px 0 0; line-height: 1.25; }
.event-date { flex: none; width: 54px; text-align: center; border-radius: 12px; overflow: hidden; border: 1px solid var(--color-border); background: var(--color-bg); }
.event-date span { display: block; background: var(--color-accent); color: var(--brand-midnight); font: 600 0.7rem/1.9 "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: 0.08em; }
.event-date strong { display: block; font: 900 1.45rem/1.6 Nunito, sans-serif; color: var(--color-text); }
.event-kind { font: 600 0.72rem "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); }
.event-meta { margin: 0; font-size: 0.9rem; color: var(--color-text-muted); }
.event-text { margin: 0; font-size: 0.92rem; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.event-empty { color: var(--color-text-muted); margin-top: 20px; }
.gaming-theme .event-card, .gaming-theme .event-date { background: var(--color-bg-soft); }
.training-events { margin: 40px 0 8px; }
.training-events h2 { margin-bottom: 0; }

/* Legal pages (privacy, returns, terms) */
.legal-updated { margin: 6px 0 0; color: var(--color-text-muted); font-size: 0.9rem; }
.legal-section { padding-top: 32px; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-aside { position: sticky; top: 96px; display: grid; gap: 28px; font-size: 0.9rem; }
.legal-aside-label { margin: 0 0 8px; font: 600 0.72rem "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-muted); }
.legal-aside ol, .legal-aside ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.legal-aside a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid var(--color-border); color: var(--color-text); text-decoration: none; line-height: 1.35; }
.legal-aside a:hover { border-left-color: var(--color-accent); text-decoration: none; }
.legal-aside a[aria-current="page"] { border-left-color: var(--color-accent); font-weight: 700; }
.legal-body { max-width: 72ch; line-height: 1.7; }
.legal-body > :first-child { margin-top: 0; font-size: 1.08rem; }
.legal-body h2 { font-size: 1.35rem; margin: 2.2em 0 0.6em; scroll-margin-top: 96px; }
.legal-body h3 { font-size: 1.1rem; margin: 1.6em 0 0.4em; }
.legal-body ul, .legal-body ol { padding-left: 1.3em; }
.legal-body li { margin: 0.35em 0; }
.legal-contact { margin-top: 3em; padding-top: 1.2em; border-top: 1px solid var(--color-border); color: var(--color-text-muted); }
@media (max-width: 860px) {
    .legal-layout { grid-template-columns: 1fr; gap: 24px; }
    .legal-aside { position: static; }
    .legal-toc { display: none; }
    .legal-others ul { display: flex; flex-wrap: wrap; gap: 8px; }
    .legal-others a { border: 1px solid var(--color-border); border-radius: 999px; padding: 6px 14px; }
    .legal-others a[aria-current="page"] { border-color: var(--color-accent); background: var(--color-bg-soft); }
}
@media print { .legal-aside, .site-header, .site-footer { display: none !important; } .legal-layout { display: block; } }
.form-legal { margin: 12px 0 0; font-size: 0.8rem; line-height: 1.5; color: var(--color-text-muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--brand-gold); }

/* ============================================================
   PAGE HERO — dark Midnight hero with the brand swoosh, for interior
   pages (About, Software Clinic): copy left, art right.
   ============================================================ */
.page-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    padding: 56px 0 72px;
    background:
        radial-gradient(ellipse 55% 70% at 10% 20%, rgba(52, 52, 138, 0.75), transparent 70%),
        linear-gradient(180deg, #14143A 0%, #0E0E24 100%);
}
.page-hero-swoosh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.page-hero .breadcrumb { color: rgba(255, 255, 255, 0.6); margin-bottom: 22px; }
.page-hero .breadcrumb a { color: var(--brand-gold); }
.page-hero-kicker { display: block; font-family: var(--font-mono); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-gold); margin-bottom: 10px; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.04; margin: 0 0 18px; }
.page-hero-highlight { display: block; color: var(--brand-gold); }
.page-hero-intro { color: rgba(255, 255, 255, 0.8); max-width: 46ch; font-size: 1.05rem; margin: 0; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
main:has(.page-hero) .page-hero + .section { padding-top: 64px; }

/* About: four photo arcs around an empty centre, like an opened aperture */
.about-arcs { width: min(100%, 540px); justify-self: center; }
.about-arcs svg { display: block; width: 100%; height: auto; overflow: visible; }
.arc { transform-box: view-box; transform-origin: 300px 300px; animation: arc-open 0.9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 0.12s); outline: none; }
.arc .arc-photo { transition: transform 0.6s ease; transform-box: fill-box; transform-origin: center; }
.arc:first-of-type .arc-photo { filter: brightness(0.8) saturate(1.1); }
.arc .arc-edge { fill: none; stroke: #E8EAFB; stroke-width: 5; stroke-linejoin: round; transition: stroke 0.25s ease; }
.arc-label rect { fill: rgba(14, 14, 36, 0.78); stroke: rgba(255, 255, 255, 0.18); }
.arc-label text { fill: #fff; font: 800 15px var(--font-display); letter-spacing: 0.01em; }
.arc:hover, .arc:focus-visible { transform: translate(var(--dx), var(--dy)); transition: transform 0.35s ease; }
.arc:hover .arc-photo, .arc:focus-visible .arc-photo { transform: scale(1.06); }
.arc:hover .arc-edge, .arc:focus-visible .arc-edge { stroke: var(--brand-gold); }
.arc:hover .arc-label rect, .arc:focus-visible .arc-label rect { fill: var(--brand-gold); stroke: none; }
.arc:hover .arc-label text, .arc:focus-visible .arc-label text { fill: var(--brand-midnight); }
@keyframes arc-open { from { opacity: 0; transform: scale(0.82) rotate(-14deg); } to { opacity: 1; transform: none; } }
/* the whole aperture turns slowly about its centre; labels counter-turn to stay upright */
.arcs-spin { transform-box: view-box; transform-origin: 300px 300px; animation: arcs-spin 40s linear infinite; }
.arc-label, .arc-upright { transform-box: fill-box; transform-origin: center; animation: arcs-spin 40s linear infinite reverse; }
.about-arcs:hover :is(.arcs-spin, .arc-label, .arc-upright), .about-arcs:focus-within :is(.arcs-spin, .arc-label, .arc-upright) { animation-play-state: paused; }
@keyframes arcs-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .arc, .arcs-spin, .arc-label, .arc-upright { animation: none; } }

/* Software Clinic: a drawn dashboard, a deploy log and a phone */
.clinic-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; }
.clinic-chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(247, 203, 30, 0.45); color: #fff; font-size: 0.82rem; background: rgba(247, 203, 30, 0.08); }
.clinic-art { position: relative; width: min(100%, 500px); justify-self: center; padding: 24px 0 36px 32px; }
.clinic-photo { position: relative; aspect-ratio: 736 / 760; opacity: 0.9;
    /* no frame: the photo fades out on every side into the hero */
    -webkit-mask-image: radial-gradient(ellipse 60% 62% at 52% 50%, #000 36%, rgba(0, 0, 0, 0.5) 60%, transparent 78%);
    mask-image: radial-gradient(ellipse 60% 62% at 52% 50%, #000 36%, rgba(0, 0, 0, 0.5) 60%, transparent 78%); }
.clinic-photo picture, .clinic-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* glass code panel that types itself */
.clinic-code { position: absolute; left: 0; top: 0; width: 64%; border-radius: 16px; overflow: hidden; background: rgba(20, 20, 58, 0.78); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: clinic-float 7s ease-in-out infinite; }
.clinic-code-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.clinic-code-bar i { width: 9px; height: 9px; border-radius: 50%; background: #5A5AB0; }
.clinic-code-bar i:first-child { background: var(--brand-gold); }
.clinic-code-bar span { margin-left: 8px; font: 500 0.72rem var(--font-mono); color: #C9CAE8; }
.clinic-code-body { padding: 12px 14px 14px; font: 500 0.78rem/1.75 var(--font-mono); color: #E8EAFB; }
.clinic-code-body p { margin: 0; white-space: nowrap; overflow: hidden; width: 0; animation: clinic-type 9s steps(28, end) infinite; }
.clinic-code-body b { color: var(--brand-gold); font-weight: 600; }
.clinic-code-body em { font-style: normal; color: #9A9BE0; }
.clinic-code-body s { text-decoration: none; color: #3CC47C; }
.clinic-code-body u { text-decoration: none; color: #8E90C8; }
.clinic-code-body .cl2 { animation-delay: 1.4s; } .clinic-code-body .cl3 { animation-delay: 2.8s; } .clinic-code-body .cl4 { animation-delay: 4.2s; }
@keyframes clinic-type { 0% { width: 0; } 14% { width: 100%; } 90% { width: 100%; opacity: 1; } 96%, 100% { width: 100%; opacity: 0; } }
.clinic-caret { display: inline-block; width: 7px; height: 1em; margin-left: 3px; vertical-align: -2px; background: var(--brand-gold); animation: clinic-blink 1s steps(1) infinite; }
@keyframes clinic-blink { 50% { opacity: 0; } }
@keyframes clinic-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
/* "Deployed" notice that pops up once the code has run */
.clinic-toast { position: absolute; right: -8px; bottom: 6px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 14px; background: #fff; color: var(--brand-midnight); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); animation: clinic-toast 9s ease-in-out infinite; }
.clinic-toast-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #1E9E86; color: #fff; font-weight: 700; }
.clinic-toast strong { display: block; font: 900 0.95rem var(--font-display); }
.clinic-toast small { display: block; font-size: 0.75rem; color: var(--color-text-muted); }
@keyframes clinic-toast { 0%, 58% { opacity: 0; transform: translateY(12px) scale(.96); } 64%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(12px) scale(.96); } }
@media (prefers-reduced-motion: reduce) { .clinic-code, .clinic-toast, .clinic-caret { animation: none; } .clinic-code-body p { animation: none; width: auto; } }

@media (max-width: 900px) {
    .page-hero { padding: 40px 0 48px; }
    .page-hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .clinic-art { width: min(100%, 440px); padding-left: 24px; }
}
@media (max-width: 520px) {
    .clinic-art { padding: 18px 0 30px 14px; }
    .clinic-code { width: 76%; }
    .clinic-code-body { font-size: 0.7rem; }
    .clinic-toast { right: 0; }
}
.clinic-hero h1 { font-size: clamp(2.2rem, 4vw, 3.25rem); }

/* About — story, timeline, values, closing call to action */
.about-story-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.about-story-head { position: sticky; top: 96px; }
.about-story-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.12; margin: 6px 0 28px; }
.about-since { display: inline-flex; align-items: baseline; gap: 10px; padding: 14px 20px; border-radius: 16px; background: var(--brand-midnight); color: #fff; }
.about-since span { font: 600 0.75rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: #C9CAE8; }
.about-since strong { font: 900 2.2rem/1 var(--font-display); color: var(--brand-gold); }
.about-story-body p { font-size: 1.02rem; line-height: 1.75; margin: 0 0 1.1em; color: var(--color-text); }
.about-story-body p:first-child { font-size: 1.2rem; line-height: 1.6; font-weight: 500; color: var(--brand-midnight); padding-left: 18px; border-left: 4px solid var(--brand-gold); }
.about-story-body strong { color: var(--brand-midnight); }
.about-timeline { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; counter-reset: step; }
.about-timeline li { position: relative; padding: 30px 22px 0 0; }
.about-timeline li::before { content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: var(--color-border); }
.about-timeline li::after { content: ""; position: absolute; top: 2px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--brand-indigo); box-shadow: 0 0 0 4px var(--color-bg-soft); }
.about-timeline li:first-child::after, .about-timeline li:last-child::after { background: var(--brand-gold); }
.about-timeline-label { display: block; font: 600 0.75rem var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-indigo); margin-bottom: 6px; }
.about-timeline strong { display: block; font: 900 1.1rem/1.25 var(--font-display); color: var(--brand-midnight); margin-bottom: 6px; }
.about-timeline p { margin: 0; font-size: 0.92rem; color: var(--color-text-muted); }
.about-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 24px; }
.about-value { padding: 24px; border-radius: 16px; border: 1px solid var(--color-border); background: var(--color-bg); transition: border-color 0.2s ease, transform 0.2s ease; }
.about-value:hover { border-color: var(--brand-gold); transform: translateY(-2px); }
.about-value-num { display: block; font: 600 0.8rem var(--font-mono); color: var(--brand-gold); margin-bottom: 14px; }
.about-value strong { display: block; font: 900 1.15rem var(--font-display); color: var(--brand-midnight); margin-bottom: 8px; }
.about-value p { margin: 0; font-size: 0.93rem; color: var(--color-text-muted); }
.about-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 40px 44px; border-radius: 22px; color: #fff; background: radial-gradient(ellipse 60% 120% at 0% 0%, rgba(52, 52, 138, 0.9), transparent 70%), #14143A; }
.about-cta h2 { color: #fff; margin: 0 0 8px; }
.about-cta p { margin: 0; color: rgba(255, 255, 255, 0.8); max-width: 52ch; }
.about-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
    .about-story-grid { grid-template-columns: 1fr; gap: 24px; }
    .about-story-head { position: static; }
    .about-timeline { grid-template-columns: 1fr; }
    .about-timeline li { padding: 0 0 26px 30px; }
    .about-timeline li::before { top: 0; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; }
    .about-timeline li::after { top: 4px; }
    .about-cta { padding: 28px 24px; }
}

/* ============================================================
   SHOP LANDING — dark top: hero with a floating laptop display, category cards, promo
   ============================================================ */
.shop-dark { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding-bottom: 64px;
    background: radial-gradient(ellipse 60% 55% at 78% 22%, rgba(52, 52, 138, 0.85), transparent 70%), linear-gradient(180deg, #14143A 0%, #0E0E24 100%); }
.shop-hero .page-hero-swoosh { z-index: -1; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.shop-kicker { display: inline-flex; align-items: center; gap: 14px; font: 600 0.8rem var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-gold); }
.shop-kicker::after { content: ""; width: 64px; height: 1px; background: currentColor; opacity: 0.6; }
.shop-script { font-family: "Kaushan Script", var(--font-display); font-weight: 400; color: var(--brand-gold); }
.shop-pill { border-radius: 999px; padding: 14px 28px; }
.shop-pill span { margin-left: 6px; display: inline-block; transition: transform 0.2s ease; }
.shop-pill:hover span { transform: translateX(3px); }

.shop-hero { position: relative; isolation: isolate; padding: 64px 0 24px; }
.shop-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.shop-hero h1 { color: #fff; margin: 18px 0 30px; font-size: clamp(2.8rem, 5.8vw, 4.6rem); line-height: 1.02; letter-spacing: -0.01em; }
.shop-hero-line { display: block; }
.shop-hero-script { position: relative; display: inline-block; font-family: "Kaushan Script", var(--font-display); font-weight: 400; color: var(--brand-gold); font-size: 1.05em; line-height: 1.1; padding-right: 0.1em; }
.shop-hero-script svg { position: absolute; left: 2%; right: 0; bottom: -0.12em; width: 96%; height: 0.28em; color: var(--brand-gold); }
.shop-hero-sub { color: rgba(255, 255, 255, 0.78); font-size: 1.08rem; max-width: 40ch; margin: 0; }
.shop-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.shop-hero-visit { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.shop-hero-visit:hover { text-decoration: none; color: var(--brand-gold); }
.shop-hero-visit-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--brand-midnight); transition: transform 0.2s ease; }
.shop-hero-visit:hover .shop-hero-visit-icon { transform: scale(1.06); }
.shop-hero-visit-icon svg { width: 20px; height: 20px; }
.shop-hero-visit strong { display: block; font-size: 0.95rem; }
.shop-hero-visit small { display: block; font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); }
.shop-trust { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; max-width: 520px; }
.shop-trust li { display: flex; align-items: center; gap: 10px; }
.shop-trust-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(247, 203, 30, 0.55); color: var(--brand-gold); }
.shop-trust-icon svg { width: 18px; height: 18px; }
.shop-trust strong { display: block; font-size: 0.88rem; color: #fff; line-height: 1.25; }
.shop-trust small { display: block; font-size: 0.76rem; color: rgba(255, 255, 255, 0.6); line-height: 1.3; }

.shop-hero-stage { position: relative; height: 480px; }
.shop-hero-ring { position: absolute; left: 50%; top: 46%; width: min(400px, 82%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid rgba(247, 203, 30, 0.55); box-shadow: 0 0 40px rgba(247, 203, 30, 0.25), inset 0 0 60px rgba(247, 203, 30, 0.12); background: radial-gradient(circle, rgba(52, 52, 138, 0.55), transparent 70%); }
.shop-hero-product { position: absolute; left: 50%; bottom: 40px; width: 112%; transform: translateX(-50%); animation: shop-float 6s ease-in-out infinite; }
.shop-hero-product picture, .shop-hero-product img { display: block; width: 100%; height: auto; }
@keyframes shop-float { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -10px); } }

.shop-section-head { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.shop-section-head h2 { color: #fff; margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.8rem); white-space: nowrap; }
.shop-section-rule { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(247, 203, 30, 0.6), rgba(255, 255, 255, 0.08)); }
.shop-cats { padding: 40px 0 8px; }
.shop-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.shop-cat-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; border-radius: 20px; color: #fff; border: 1px solid rgba(255, 255, 255, 0.1); background: linear-gradient(180deg, rgba(52, 52, 138, 0.45), rgba(20, 20, 58, 0.8)); transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.shop-cat-card:hover { text-decoration: none; transform: translateY(-4px); border-color: rgba(247, 203, 30, 0.6); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35); }
.shop-cat-media { display: grid; place-items: center; height: 170px; margin-bottom: 10px; border-radius: 14px; background: radial-gradient(ellipse at 50% 60%, rgba(154, 155, 224, 0.28), transparent 70%); color: var(--brand-gold); }
.shop-cat-media picture, .shop-cat-media img { display: block; max-width: 92%; max-height: 150px; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.45)); transition: transform 0.35s ease; }
.shop-cat-card:hover .shop-cat-media img { transform: scale(1.05); }
.shop-cat-media:has(.is-photo) { overflow: hidden; background: none; }
.shop-cat-media .is-photo, .shop-cat-media .is-photo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; border-radius: 14px; filter: none; }
.shop-cat-media svg { width: 64px; height: 64px; stroke-width: 1.3; }
.shop-cat-card strong { font: 800 1.08rem var(--font-display); }
.shop-cat-card small { font-size: 0.82rem; color: rgba(255, 255, 255, 0.7); }
.shop-cat-card:hover small { color: var(--brand-gold); }

.shop-promo-wrap { padding-top: 40px; }
.shop-promo { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 32px; min-height: 300px; overflow: hidden; border-radius: 26px; border: 1px solid rgba(255, 255, 255, 0.1); background: radial-gradient(ellipse 60% 90% at 20% 50%, rgba(52, 52, 138, 0.7), transparent 70%), linear-gradient(135deg, #1C1C55, #121238); }
.shop-promo-art { align-self: stretch; position: relative; min-height: 300px; }
.shop-promo-art picture, .shop-promo-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
    -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%); mask-image: linear-gradient(90deg, #000 55%, transparent 100%); }
.shop-promo-copy { padding: 36px 40px 36px 0; }
.shop-promo-copy h2 { color: #fff; margin: 14px 0 10px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; }
.shop-promo-copy h2 .shop-script { display: block; font-size: 1.08em; }
.shop-promo-copy p { color: rgba(255, 255, 255, 0.75); max-width: 42ch; margin: 0 0 22px; }

@media (max-width: 960px) {
    .shop-hero-inner { grid-template-columns: 1fr; }
    .shop-hero-stage { height: 380px; max-width: 560px; width: 100%; justify-self: center; }
}
@media (max-width: 640px) {
    .shop-hero { padding-top: 40px; }
    .shop-hero-stage { height: 280px; }
    .shop-hero-product { bottom: 30px; width: 104%; }
    .shop-promo { grid-template-columns: 1fr; }
    .shop-promo-art { min-height: 200px; }
    .shop-promo-art img { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
    .shop-promo-copy { padding: 0 24px 28px; }
    .shop-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .shop-cat-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .shop-cat-card { padding: 12px 12px 14px; border-radius: 16px; }
    .shop-cat-media { height: 104px; margin-bottom: 6px; }
    .shop-cat-media img { max-height: 92px; }
    .shop-cat-media svg { width: 44px; height: 44px; }
    .shop-cat-card strong { font-size: 0.95rem; }
    .shop-kicker::after { display: none; }
    .shop-section-head h2 { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .shop-hero-product { animation: none; } }

/* ============================================================
   SHOP SEARCH, FILTERS & CATEGORY HEROES
   ============================================================ */
.shop-search { display: flex; align-items: center; gap: 8px; max-width: 520px; margin-top: 26px; padding: 6px 6px 6px 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); transition: border-color .2s, background .2s; }
.shop-search:focus-within { border-color: var(--brand-gold); background: rgba(255, 255, 255, 0.12); }
.shop-search svg { flex: none; width: 20px; height: 20px; color: rgba(255, 255, 255, 0.7); }
.shop-search input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; color: #fff; font-size: 1rem; padding: 10px 4px !important; outline: none; box-shadow: none !important; }
.shop-search input::placeholder { color: rgba(255, 255, 255, 0.55); }
.shop-search input::-webkit-search-cancel-button { filter: invert(1); }
.shop-search .btn { border-radius: 999px; padding: 11px 22px; flex: none; }

/* search page + category heroes share the dark look of the shop landing */
.shop-subhero, .shop-cat-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff;
    background: radial-gradient(ellipse 60% 70% at 80% 20%, rgba(52, 52, 138, 0.85), transparent 70%), linear-gradient(180deg, #14143A 0%, #0E0E24 100%); }
.shop-subhero .page-hero-swoosh, .shop-cat-hero .page-hero-swoosh { z-index: -1; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.shop-subhero { padding: 48px 0 44px; }
.shop-subhero .breadcrumb, .shop-cat-hero .breadcrumb { color: rgba(255, 255, 255, 0.6); margin-bottom: 18px; }
.shop-subhero .breadcrumb a, .shop-cat-hero .breadcrumb a { color: var(--brand-gold); }
.shop-subhero h1, .shop-cat-hero h1 { color: #fff; margin: 14px 0 0; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05; }
.shop-subhero h1 .shop-script, .shop-cat-hero h1 .shop-script { font-size: 1.08em; }
.shop-subhero-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.shop-subhero-cats a, .shop-cat-tabs a { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.85); font-size: 0.85rem; white-space: nowrap; }
.shop-subhero-cats a:hover, .shop-cat-tabs a:hover { border-color: var(--brand-gold); color: var(--brand-gold); text-decoration: none; }
.shop-cat-hero { padding: 44px 0 0; }
.shop-cat-hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 32px; align-items: center; }
.shop-cat-hero-text { color: rgba(255, 255, 255, 0.78); font-size: 1.05rem; max-width: 46ch; margin: 16px 0 0; }
.shop-cat-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 28px; margin: 26px 0 0; padding: 0; }
.shop-cat-stats strong { display: block; font: 900 1.35rem var(--font-display); color: #fff; }
.shop-cat-stats span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); }
.shop-cat-hero-art { position: relative; height: 380px; display: grid; place-items: center; }
.shop-cat-hero-art .shop-hero-ring { top: 50%; width: min(340px, 86%); }
.shop-cat-hero-art img { position: relative; max-width: 92%; max-height: 330px; width: auto; height: auto; }
.shop-cat-hero-art img.is-photo { width: min(340px, 80%); aspect-ratio: 1; object-fit: cover; border-radius: 50%;
    -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 71%); mask-image: radial-gradient(circle, #000 58%, transparent 71%); }
.shop-cat-hero-art img.is-cutout { filter: drop-shadow(0 22px 26px rgba(0, 0, 0, 0.5)); }
.shop-cat-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 22px 20px 26px; scrollbar-width: none; }
.shop-cat-tabs::-webkit-scrollbar { display: none; }
.shop-cat-tabs a[aria-current="page"] { background: var(--brand-gold); border-color: var(--brand-gold); color: var(--brand-midnight); font-weight: 700; }

/* results: filter sidebar + grid */
.shop-results { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; scroll-margin-top: 90px; }
.shop-filters { position: sticky; top: 90px; display: grid; gap: 18px; padding: 20px; border: 1px solid var(--color-border); border-radius: 18px; background: var(--color-bg); }
.shop-filters-head { display: flex; justify-content: space-between; align-items: baseline; }
.shop-filters-clear { font-size: 0.82rem; }
.shop-filters fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.shop-filters legend { font: 600 0.72rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 6px; }
.shop-check { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; cursor: pointer; }
.shop-check input { width: 16px; height: 16px; accent-color: var(--brand-indigo); }
.shop-check span { flex: 1; }
.shop-check small { color: var(--color-text-muted); font-size: 0.78rem; }
.shop-check.is-empty { opacity: 0.5; }
.shop-price-inputs { display: flex; align-items: center; gap: 6px; }
.shop-price-inputs input { width: 100%; min-width: 0; padding: 8px 10px; font-size: 0.88rem; }
.shop-price-inputs input::placeholder { color: #A9ABC2; }
.shop-bands { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.shop-bands a { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--color-border); font-size: 0.78rem; color: var(--color-text); }
.shop-bands a:hover { border-color: var(--brand-indigo); text-decoration: none; }
.shop-bands a.is-on { background: var(--brand-indigo); border-color: var(--brand-indigo); color: #fff; }
.shop-filters-apply { width: 100%; }
.shop-results-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.shop-results-count { margin: 0; flex: 1; color: var(--color-text-muted); }
.shop-results-count strong { color: var(--color-text); }
.shop-sort { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--color-text-muted); }
.shop-sort select { padding: 8px 12px; font-size: 0.88rem; width: auto; }
.shop-filters-toggle { display: none; }
.shop-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.shop-chips a { padding: 6px 12px; border-radius: 999px; background: var(--color-bg-soft); color: var(--color-text); font-size: 0.82rem; }
.shop-chips a span { margin-left: 4px; color: var(--color-text-muted); }
.shop-chips a:hover { text-decoration: none; background: #E3E5F2; }
.shop-results .product-grid { margin-top: 0; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.shop-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 28px; }
.shop-pages a, .shop-pages span { min-width: 40px; padding: 8px 12px; text-align: center; border-radius: 10px; border: 1px solid var(--color-border); color: var(--color-text); }
.shop-pages span[aria-current] { background: var(--brand-midnight); border-color: var(--brand-midnight); color: #fff; }
.shop-pages a:hover { border-color: var(--brand-indigo); text-decoration: none; }
.shop-empty { padding: 40px 24px; text-align: center; border: 1px dashed var(--color-border); border-radius: 18px; }
.shop-empty p { color: var(--color-text-muted); margin: 8px auto 0; max-width: 52ch; }

@media (max-width: 900px) {
    .shop-results { grid-template-columns: 1fr; }
    .shop-filters { display: none; position: static; }
    .shop-filters.is-open { display: grid; }
    .shop-filters-toggle { display: inline-flex; }
    .shop-cat-hero-inner { grid-template-columns: 1fr; }
    .shop-cat-hero-art { height: 260px; order: -1; }
    .shop-cat-hero-art img { max-height: 230px; }
}
@media (max-width: 520px) {
    .shop-search { padding-left: 14px; }
    .shop-search .btn { padding: 10px 16px; }
    .shop-results .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .shop-sort { width: 100%; }
    .shop-sort select { flex: 1; }
}
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
