:root {
    --bg: #0a0b0d;
    --bg-soft: #15181d;
    --ink: #f6f3ec;
    --ink-muted: #b8b4aa;
    --surface: #12151a;
    --surface-alt: #0f1115;
    --line: #2a2f36;
    --accent: #a32124;
    --accent-soft: #cc4b4d;
    --warm: #e8ddcb;
    --container: 1220px;
    --header-height: 86px;
    --radius: 18px;

    /* Replace these values when final media is approved. */
    /* Desktop hero image path: website/images/homepage/homepage-hero-desktop.jpg */
    --hero-image-desktop: none;
    /* Mobile hero image path: website/images/homepage/homepage-hero-mobile.jpg */
    --hero-image-mobile: none;
    /* Optional future hero video path: website/video/homepage/homepage-hero.mp4 */
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: "Bahnschrift", "Segoe UI", "Trebuchet MS", sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    top: -44px;
    left: 12px;
    background: #ffffff;
    color: #000000;
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 120;
}

.skip-link:focus {
    top: 10px;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.public-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 90;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.public-header.is-solid {
    background: rgba(8, 10, 12, 0.85);
    border-color: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(8px);
}

.header-shell {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand img {
    width: auto;
    max-height: 42px;
}

.brand-fallback {
    letter-spacing: 0.16em;
    font-weight: 700;
    font-size: 1rem;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.header-nav a {
    text-decoration: none;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(246, 243, 236, 0.86);
    padding: 8px 0;
}

.header-nav a:hover,
.header-nav a:focus-visible {
    color: #ffffff;
}

.login-link {
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.34);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(10, 12, 14, 0.72);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: #ffffff;
}

.menu-toggle:focus-visible,
.header-nav a:focus-visible,
.btn:focus-visible,
.world-card:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--warm);
    outline-offset: 2px;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: end;
    padding: calc(var(--header-height) + 60px) 0 80px;
    overflow: hidden;
    isolation: isolate;
}

.hero-media,
.hero-grain,
.hero-glow {
    position: absolute;
    inset: 0;
}

.hero-media {
    z-index: -3;
    background:
        radial-gradient(circle at 15% 20%, rgba(163, 33, 36, 0.3), transparent 40%),
        radial-gradient(circle at 80% 75%, rgba(220, 180, 120, 0.12), transparent 38%),
        linear-gradient(125deg, #050607 0%, #0b0e12 44%, #0f1318 100%);
    background-image: var(--hero-image-desktop),
        radial-gradient(circle at 15% 20%, rgba(163, 33, 36, 0.3), transparent 40%),
        radial-gradient(circle at 80% 75%, rgba(220, 180, 120, 0.12), transparent 38%),
        linear-gradient(125deg, #050607 0%, #0b0e12 44%, #0f1318 100%);
    background-size: cover, auto, auto, auto;
    background-position: center center;
    transform: scale(1.02);
}

.hero-grain {
    z-index: -2;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 2px 2px, 2px 2px;
}

.hero-glow {
    z-index: -1;
    background: linear-gradient(180deg, rgba(5, 6, 8, 0.1) 0%, rgba(5, 6, 8, 0.55) 48%, rgba(5, 6, 8, 0.94) 100%);
}

.hero-inner {
    max-width: 720px;
}

.eyebrow {
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.74rem;
    color: var(--ink-muted);
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.15;
}

h1 {
    font-size: clamp(2rem, 6.2vw, 5.4rem);
    letter-spacing: 0.01em;
}

.hero-copy {
    margin: 22px 0 0;
    max-width: 58ch;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(246, 243, 236, 0.85);
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent);
    border: 1px solid var(--accent-soft);
    color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: #bc2d31;
}

.btn-secondary,
.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.02);
    color: #f2efe9;
}

.btn-secondary:hover,
.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: grid;
    gap: 9px;
    justify-items: center;
}

.scroll-line {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.4);
    animation: pulse 2.2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
    100% { opacity: 0.3; transform: scaleY(0.7); }
}

.proof {
    background: #0d1014;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.proof article {
    padding: 28px 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.proof article:last-child {
    border-right: 0;
}

.proof h2 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.proof p {
    margin: 0;
    color: var(--ink-muted);
    font-size: 0.92rem;
}

.section {
    padding: 88px 0;
}

.section-head {
    max-width: 780px;
    margin-bottom: 34px;
}

.section-head h2,
.brands h2,
.audience h2,
.cta h2 {
    font-size: clamp(1.7rem, 3.6vw, 3rem);
    margin-bottom: 16px;
}

.section-head p,
.section-intro,
.audience p,
.cta p {
    color: var(--ink-muted);
    margin: 0;
}

.product-worlds {
    background: linear-gradient(180deg, #0c0f13 0%, #11151b 100%);
}

.world-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
}

.world-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    min-height: 210px;
    padding: 22px;
    background: #141a22;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.world-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}

.world-card h3,
.world-card p,
.world-card span {
    position: relative;
    z-index: 1;
}

.world-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.world-card p {
    margin: 0;
    color: rgba(246, 243, 236, 0.84);
    max-width: 30ch;
}

.world-card span {
    position: absolute;
    right: 18px;
    bottom: 16px;
    color: rgba(246, 243, 236, 0.48);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
}

.world-card:hover,
.world-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.34);
}

.world-cricket { grid-column: span 7; }
.world-combat { grid-column: span 5; }
.world-team { grid-column: span 5; }
.world-fitness { grid-column: span 7; }
.world-school { grid-column: span 8; }
.world-oem { grid-column: span 4; }

/* Expected future panel image paths:
   website/images/homepage/cricket-world.jpg
   website/images/homepage/combat-world.jpg
   website/images/homepage/team-sports-world.jpg
   website/images/homepage/fitness-world.jpg
   website/images/homepage/school-sports-world.jpg
   website/images/homepage/oem-world.jpg
*/

.manufacturing {
    background: var(--surface-alt);
}

.process-timeline {
    list-style: none;
    margin: 0 0 34px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.process-timeline li {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.01);
}

.process-timeline strong {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--warm);
}

.process-timeline h3 {
    margin: 10px 0 8px;
    font-size: 1rem;
}

.process-timeline p {
    margin: 0;
    color: var(--ink-muted);
    font-size: 0.9rem;
}

/* Expected future manufacturing image path:
   website/images/homepage/manufacturing-main.jpg
*/

.quality {
    background: radial-gradient(circle at 86% 12%, rgba(163, 33, 36, 0.16), transparent 32%), #0b0c0f;
}

.quality-shell {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
}

.quality-principles {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.quality-principles li {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 18px;
}

.quality-principles h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.quality-principles p {
    margin: 0;
    color: var(--ink-muted);
}

/* Expected future quality image path:
   website/images/homepage/quality-main.jpg
*/

.brands {
    background: #0f1319;
}

.brand-list {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.brand-list li {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    font-size: 1.04rem;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.02);
}

.audience {
    background: #0d1015;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.audience-grid article {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.02);
}

.audience-grid h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.audience-grid p {
    margin: 0;
    color: var(--ink-muted);
}

.cta {
    background: linear-gradient(160deg, #11161d 0%, #090b0d 100%);
}

.cta-shell {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    align-items: start;
}

.contact-preview {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.02);
    display: grid;
    gap: 8px;
}

.contact-preview h3 {
    font-size: 1.1rem;
}

.contact-preview p,
.contact-preview label {
    color: var(--ink-muted);
    font-size: 0.92rem;
}

.contact-preview input,
.contact-preview textarea {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.34);
    color: #d8d4cb;
    resize: vertical;
}

/* Expected future people or craftsmanship path:
   website/images/homepage/people-or-craftsmanship.jpg
*/

.public-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #090b0d;
    padding: 56px 0 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr repeat(3, 1fr);
    gap: 22px;
}

.footer-brand {
    margin-bottom: 10px;
}

.footer-line,
.footer-tag,
.footer-base p,
.public-footer li a {
    color: var(--ink-muted);
}

.footer-tag {
    margin-top: 10px;
    color: var(--warm);
}

.public-footer h2 {
    margin: 0 0 10px;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.public-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.public-footer a {
    text-decoration: none;
}

.public-footer a:hover,
.public-footer a:focus-visible {
    color: #ffffff;
}

.footer-base {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

[data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .proof article:nth-child(2n) {
        border-right: 0;
    }

    .process-timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .quality-shell,
    .cta-shell,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .brand-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: inline-flex;
    }

    .header-nav {
        position: fixed;
        top: var(--header-height);
        right: 0;
        left: 0;
        background: rgba(8, 10, 12, 0.96);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 14px 20px 18px;
        display: grid;
        gap: 8px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .header-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .header-nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .login-link {
        justify-content: center;
        margin-top: 4px;
    }

    .world-cricket,
    .world-combat,
    .world-team,
    .world-fitness,
    .world-school,
    .world-oem {
        grid-column: span 12;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    :root {
        --header-height: 78px;
    }

    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    h1 {
        font-size: clamp(2rem, 12vw, 3rem);
    }

    .hero {
        padding-bottom: 64px;
    }

    .hero-media {
        background-image: var(--hero-image-mobile),
            radial-gradient(circle at 18% 18%, rgba(163, 33, 36, 0.3), transparent 38%),
            radial-gradient(circle at 80% 78%, rgba(220, 180, 120, 0.12), transparent 34%),
            linear-gradient(125deg, #050607 0%, #0b0e12 44%, #0f1318 100%);
    }

    .proof-grid,
    .process-timeline,
    .brand-list {
        grid-template-columns: 1fr;
    }

    .proof article {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .proof article:last-child {
        border-bottom: 0;
    }

    .section {
        padding: 72px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}