/* =============================================================
   OZ CHESS KIDS — marketing site
   Aesthetic: black + white + electric blue, with a sunny-yellow pop.
   Vibrant and fun for kids 5–17, energetic but sleek. chess.com-style
   nav + fonts. Original brand.
   Type: Archivo (display) + Hanken Grotesk (body).

   NOTE: the "action / primary" colour lives under the --green-* names
   so existing action rules (buttons, board, tags) flip to blue with no
   churn; --gold-* now carries the sunny-yellow pop.
   ============================================================= */

:root {
    /* Action / primary — electric blue */
    --green:        #2f6bff;
    --green-bright: #5b8cff;
    --green-deep:   #1e4fd0;
    --green-700:    #1842ab;
    --green-900:    #0f2a6e;

    --ink:    #0a0e1a;   /* near-black, blue undertone — page base */
    --ink-2:  #111726;   /* surface */
    --ink-3:  #1a2236;   /* raised card */
    --ink-4:  #2a3550;   /* border */
    --ink-5:  #3c496b;   /* muted border */

    --cream:  #e9eef7;   /* light board square / soft accents */
    --paper:  #f3f6fc;
    --white:  #ffffff;

    --text:      #ffffff;
    --text-soft: rgba(255,255,255,0.66);
    --text-dim:  rgba(255,255,255,0.42);

    --gold:      #ffc83d;   /* sunny-yellow pop — success / highlights / fun */
    --gold-soft: #ffdb6e;
    --danger:    #ff5a4d;

    /* Secondary / structural blue + a cyan spark */
    --blue:        #3b82f6;
    --blue-bright: #6ea8ff;
    --blue-deep:   #1e4fd0;
    --blue-700:    #1842ab;
    --blue-900:    #0f2a6e;
    --sky:         #38c6ff;

    --shadow-lg: 0 30px 60px -24px rgba(0,0,0,0.72);
    --shadow-md: 0 16px 36px -18px rgba(0,0,0,0.6);
    --shadow-sm: 0 6px 16px -8px rgba(0,0,0,0.55);

    --r-sm: 11px;
    --r:    16px;
    --r-lg: 24px;
    --maxw: 1180px;
    --nav-h: 70px;

    --ease: cubic-bezier(0.4, 0.7, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    background: var(--ink);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, .display {
    font-family: 'Archivo', system-ui, sans-serif;
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
    font-family: 'Archivo', sans-serif;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--blue-bright);
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.eyebrow::before {
    content: '';
    width: 22px; height: 2px;
    background: var(--blue);
    display: inline-block;
}

/* ====================== BUTTONS ====================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    padding: 14px 26px;
    border-radius: var(--r-sm);
    border: none;
    cursor: pointer;
    transition: transform 0.12s var(--ease), box-shadow 0.12s var(--ease), background 0.2s;
    white-space: nowrap;
    text-align: center;
}
/* chess.com-style chunky 3D play button */
.btn-play {
    background: var(--green);
    color: #ffffff;
    box-shadow: 0 5px 0 var(--green-700), 0 12px 26px -8px rgba(47,107,255,0.75);
}
.btn-play:hover { background: var(--green-bright); transform: translateY(-1px); }
.btn-play:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--green-700); }

.btn-ghost {
    background: rgba(255,255,255,0.06);
    color: var(--text);
    box-shadow: inset 0 0 0 1.5px var(--ink-5);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-1px); }

.btn-gold {
    background: var(--gold);
    color: #2a1c02;
    box-shadow: 0 5px 0 #cc9b1f, 0 10px 22px -8px rgba(255,200,61,0.55);
}
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn-gold:active { transform: translateY(4px); box-shadow: 0 1px 0 #cc9b1f; }

.btn-lg { padding: 17px 32px; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* ====================== NAV ====================== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,14,26,0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
    height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: 28px;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--sky) 0%, var(--green) 55%, var(--blue-deep) 100%);
    display: grid; place-items: center;
    box-shadow: 0 4px 16px -4px rgba(47,107,255,0.7), inset 0 1px 0 rgba(255,255,255,0.35);
    flex-shrink: 0;
}
.brand-mark .logo-mark { width: 21px; height: 28px; fill: #fff; color: #fff; display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.08rem; letter-spacing: -0.01em; }
.brand-text small { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-soft);
    padding: 9px 14px;
    border-radius: 8px;
    transition: color 0.18s, background 0.18s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 11px 20px; font-size: 0.9rem; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--ink-4);
    border-radius: 10px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ====================== HERO ====================== */
.hero {
    position: relative;
    padding: 72px 0 90px;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 90%, rgba(47,107,255,0.20) 0%, rgba(47,107,255,0) 52%),
        radial-gradient(circle at 88% 8%, rgba(255,200,61,0.10) 0%, rgba(255,200,61,0) 46%);
}
.hero::before {
    /* faint chessboard texture */
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        conic-gradient(rgba(255,255,255,0.018) 0 25%, transparent 0 50%, rgba(255,255,255,0.018) 0 75%, transparent 0);
    background-size: 120px 120px;
    background-position: 0 0;
    opacity: 0.9;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    top: -10%; right: -8%;
    width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(47,107,255,0.22) 0%, rgba(47,107,255,0) 65%);
    pointer-events: none;
}
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 54px;
    align-items: center;
}
.hero-copy { max-width: 560px; }
.hero h1 {
    font-size: clamp(2.6rem, 5.3vw, 4.1rem);
    font-weight: 900;
    margin: 20px 0 18px;
}
.hero h1 .hl {
    color: var(--gold);
    position: relative;
    white-space: nowrap;
}
.hero h1 .hl::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 4px;
    height: 12px;
    background: rgba(255,200,61,0.26);
    border-radius: 3px;
    z-index: -1;
}
.hero p.lead {
    font-size: 1.16rem;
    color: var(--text-soft);
    margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-soft);
    background: var(--ink-2);
    border: 1px solid var(--ink-4);
    padding: 8px 14px;
    border-radius: 999px;
}
.trust-chip svg { width: 15px; height: 15px; color: var(--green-bright); flex-shrink: 0; }

/* Hero visual stack */
.hero-visual { position: relative; }
.hero-photo {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.08);
    transform: rotate(1.4deg);
}
.hero-photo img { width: 100%; height: 440px; object-fit: cover; }
.hero-photo::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(20,19,16,0.55) 100%);
}
.hero-badge {
    position: absolute;
    background: var(--ink-2);
    border: 1px solid var(--ink-4);
    border-radius: var(--r);
    box-shadow: var(--shadow-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-badge.b-success {
    bottom: -22px; left: -26px;
    transform: rotate(-3deg);
}
.hero-badge.b-success img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.hero-badge.b-rating {
    top: -20px; right: -18px;
    transform: rotate(3deg);
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.hero-badge .hb-big { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 1.5rem; color: var(--gold); line-height: 1; }
.hero-badge .hb-sm { font-size: 0.74rem; color: var(--text-soft); font-weight: 600; }
.hero-badge .hb-title { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 0.9rem; line-height: 1.1; }
.hero-badge .hb-sub { font-size: 0.72rem; color: var(--text-dim); }
.star-row { color: var(--gold); font-size: 0.8rem; letter-spacing: 2px; }

/* ====================== STAT BAR ====================== */
.statbar {
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: var(--ink-2);
}
.statbar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.stat {
    padding: 30px 18px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.stat:last-child { border-right: none; }
.stat .num { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 2.4rem; color: var(--gold); line-height: 1; }
.stat .lbl { font-size: 0.84rem; color: var(--text-soft); margin-top: 8px; font-weight: 600; }

/* ====================== SECTIONS ====================== */
.section { padding: 88px 0; position: relative; }
.section.alt { background: var(--ink-2); }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
    font-size: clamp(2rem, 4vw, 2.9rem);
    margin: 16px 0 14px;
}
.section-head p { font-size: 1.08rem; color: var(--text-soft); }

/* ====================== PUZZLE OF THE DAY ====================== */
.potd-grid {
    display: grid;
    grid-template-columns: minmax(0, 460px) 1fr;
    gap: 56px;
    align-items: center;
}
.potd-board-wrap { position: relative; }
.potd-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: #2a1c02;
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px -8px rgba(255,200,61,0.7);
}
.potd-levels { display: flex; gap: 9px; margin-bottom: 20px; flex-wrap: wrap; }
.potd-level-tab {
    font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 0.86rem;
    color: var(--text-soft); background: var(--ink-3);
    border: 1.5px solid var(--ink-4); border-radius: 999px;
    padding: 8px 16px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    transition: color 0.16s, border-color 0.16s, background 0.16s, transform 0.12s, box-shadow 0.12s;
}
.potd-level-tab:hover { color: #fff; border-color: var(--blue-deep); transform: translateY(-1px); }
.potd-level-tab.active { background: var(--green); color: #fff; border-color: var(--green); box-shadow: 0 4px 0 var(--green-700); }
.potd-level-tab:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--green-700); }
.potd-level-tab .lv-count {
    font-size: 0.7rem; font-weight: 700; background: rgba(255,255,255,0.14);
    border-radius: 999px; padding: 1px 7px; min-width: 19px; text-align: center;
}
.potd-level-tab.active .lv-count { background: rgba(0,0,0,0.22); }
.potd-status {
    margin-top: 18px;
    min-height: 26px;
    font-weight: 600;
    color: var(--text-soft);
    font-size: 0.98rem;
}
.potd-status.win { color: var(--green-bright); }
.potd-status.lose { color: var(--gold-soft); }
.potd-controls { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.potd-controls .btn { padding: 11px 18px; font-size: 0.88rem; }
.potd-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 14px 0 14px; }
.potd-copy p { color: var(--text-soft); font-size: 1.06rem; margin-bottom: 14px; }
.potd-meta { display: flex; gap: 22px; margin: 22px 0 26px; }
.potd-meta div { display: flex; flex-direction: column; }
.potd-meta .m-num { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--white); }
.potd-meta .m-lbl { font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.potd-heading { font-size: clamp(2.4rem, 5.2vw, 3.4rem); }
.potd-subhead { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.14; margin: 0 0 12px; }

/* ====================== CARDS / CLASSES ====================== */
.cards-3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.limited-spots { text-align: center; margin-top: 30px; font-weight: 700; color: var(--gold-soft); font-size: 1rem; }
.class-extra-photo { margin-top: 30px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.class-extra-photo img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; object-position: center 42%; }
.class-card {
    background: var(--ink-3);
    border: 1px solid var(--ink-4);
    border-radius: var(--r);
    padding: 28px 26px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.class-card:hover { transform: translateY(-5px); border-color: var(--green-deep); box-shadow: var(--shadow-md); }
.class-card .lvl-pill {
    display: inline-block;
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.lvl-beginner { background: rgba(47,107,255,0.16); color: var(--green-bright); }
.lvl-inter    { background: rgba(255,200,61,0.16); color: var(--gold-soft); }
.lvl-advanced { background: rgba(79,156,214,0.16); color: #8ec5ef; }
.class-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.class-card .day { color: var(--text-soft); font-weight: 600; margin-bottom: 18px; }
.class-card .time {
    display: flex; align-items: center; gap: 9px;
    font-size: 0.95rem; color: var(--text-soft);
    padding: 9px 0;
    border-top: 1px solid var(--ink-4);
}
.class-card .time svg { width: 16px; height: 16px; color: var(--green-bright); }
.class-card .price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.class-card .price .p-num { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 1.9rem; }
.class-card .price .p-unit { color: var(--text-dim); font-weight: 600; }
.class-card .free-tag {
    position: absolute; top: 22px; right: -34px;
    background: var(--gold); color: #2a1c02;
    font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 0.7rem;
    letter-spacing: 0.06em;
    padding: 5px 40px; transform: rotate(34deg);
    box-shadow: var(--shadow-sm);
}

/* ====================== AI CHESS BOARD FEATURE ====================== */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-visual {
    position: relative;
    border-radius: var(--r-lg);
    background: linear-gradient(160deg, var(--ink-3), var(--ink-2));
    border: 1px solid var(--ink-4);
    padding: 38px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.feature-visual::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 70% 20%, rgba(47,107,255,0.22), transparent 60%);
}
.ai-chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; position: relative; }
.ai-chip {
    font-size: 0.84rem; font-weight: 600;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--ink-4);
    padding: 9px 14px; border-radius: 10px;
    display: flex; align-items: center; gap: 8px;
}
.ai-chip svg { width: 16px; height: 16px; color: var(--blue-bright); }
.feature-list { list-style: none; margin-top: 26px; }
.feature-list li {
    display: flex; gap: 14px; padding: 14px 0;
    border-bottom: 1px solid var(--ink-4);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .fi-icon {
    width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
    background: rgba(47,107,255,0.16);
    display: grid; place-items: center;
}
.feature-list .fi-icon svg { width: 20px; height: 20px; color: var(--blue-bright); }
.feature-list h4 { font-size: 1.05rem; margin-bottom: 2px; }
.feature-list p { font-size: 0.92rem; color: var(--text-soft); }

/* big robot/board emblem in feature visual */
.ai-emblem {
    position: relative;
    font-size: 5.4rem;
    line-height: 1;
    text-align: center;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
}
.ai-emblem .lbl {
    display: block;
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    margin-top: 14px;
    color: var(--white);
}
.ai-emblem .sub { display:block; font-family:'Hanken Grotesk',sans-serif; font-weight:600; font-size: 0.85rem; color: var(--text-soft); margin-top: 4px; }

/* Portrait "device" video frame for the AI board clip */
.device-frame {
    position: relative;
    width: 100%;
    max-width: 270px;
    margin: 0 auto;
    border-radius: 26px;
    overflow: hidden;
    background: #000;
    border: 6px solid #14130f;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.06) inset;
    aspect-ratio: 9 / 16;
}
.device-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.device-tag {
    position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(20,19,15,0.82);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--white);
    font-size: 0.72rem; font-weight: 700;
    padding: 6px 12px; border-radius: 999px;
    backdrop-filter: blur(6px);
}
.device-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 8px var(--blue-bright); animation: livepulse 1.6s ease-in-out infinite; }
@keyframes livepulse { 0%,100%{opacity:1;} 50%{opacity:0.35;} }

/* ====================== CLASS VIDEO BAND ====================== */
.video-band-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 50px; align-items: center; }
.class-video {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-lg);
    background: #000;
    max-width: 340px;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
}
.class-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ====================== SUCCESS GALLERY ====================== */
/* Uniform aligned grid — every tile the same size; photos fill edge-to-edge
   (no empty space), framed toward the top so faces stay in view. */
.success-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.success-tile {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: #0c1322;
}
.success-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 42%;
    display: block;
    transition: transform 0.45s var(--ease);
}
.success-tile:hover img { transform: scale(1.04); }
/* span classes are no-ops now */
.success-tile.wide, .success-tile.tall, .success-tile.feature { }
.success-tile .cap {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 16px 16px 13px;
    background: linear-gradient(transparent, rgba(8,10,18,0.92));
    font-weight: 700; font-size: 0.9rem;
}
.success-tile .cap span { display: block; font-size: 0.76rem; font-weight: 500; color: var(--text-soft); }

.quote-card {
    margin-top: 28px;
    background: var(--ink-3);
    border: 1px solid var(--ink-4);
    border-left: 4px solid var(--green);
    border-radius: var(--r);
    padding: 30px 34px;
    max-width: 760px;
}
.quote-card p { font-size: 1.22rem; font-style: italic; color: var(--white); line-height: 1.55; }
.quote-card .by { margin-top: 14px; font-weight: 700; color: var(--green-bright); font-size: 0.92rem; font-style: normal; }

/* ====================== COACH ====================== */
.coach-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: center; }
.coach-photo {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-lg);
}
.coach-photo img { width: 100%; height: 460px; object-fit: cover; object-position: center 30%; }
.coach-creds { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.cred {
    display: flex; gap: 14px; align-items: flex-start;
}
.cred .c-icon {
    width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
    background: rgba(47,107,255,0.16); display: grid; place-items: center;
}
.cred .c-icon svg { width: 21px; height: 21px; color: var(--blue-bright); }
.cred h4 { font-size: 1.02rem; }
.cred p { color: var(--text-soft); font-size: 0.92rem; }

/* ====================== BENEFITS ====================== */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit {
    background: var(--ink-3);
    border: 1px solid var(--ink-4);
    border-radius: var(--r);
    padding: 26px 22px;
    transition: transform 0.25s var(--ease), border-color 0.25s;
}
.benefit:hover { transform: translateY(-4px); border-color: var(--green-deep); }
.benefit .b-emoji {
    width: 50px; height: 50px; border-radius: 13px;
    background: linear-gradient(150deg, var(--blue), var(--blue-deep));
    display: grid; place-items: center;
    color: #fff;
    margin-bottom: 18px;
    box-shadow: 0 6px 16px -6px rgba(47,107,255,0.6), inset 0 1px 0 rgba(255,255,255,0.22);
}
.benefit .b-emoji svg { width: 27px; height: 27px; display: block; }
.benefit h4 { font-size: 1.12rem; margin-bottom: 8px; }
.benefit p { font-size: 0.92rem; color: var(--text-soft); }

/* ====================== LOCATION / CTA ====================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
.contact-card {
    background: var(--ink-3);
    border: 1px solid var(--ink-4);
    border-radius: var(--r-lg);
    padding: 38px;
    overflow: hidden;
}
.venue-photo { display: none; position: relative; margin: -38px -38px 26px; height: 208px; background: var(--ink-2); }
.venue-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; display: block; }
.venue-photo .venue-cap {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 18px 20px 13px;
    background: linear-gradient(transparent, rgba(10,14,26,0.92));
    font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.04rem; line-height: 1.15;
}
.venue-photo .venue-cap span {
    display: block; margin-top: 3px;
    font-family: 'Hanken Grotesk', sans-serif; font-weight: 600; font-size: 0.82rem; color: var(--text-soft);
}
.contact-row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--ink-4); }
.contact-row:last-child { border-bottom: none; }
.contact-row .c-icon { width: 42px; height: 42px; border-radius: 11px; background: rgba(47,107,255,0.16); display: grid; place-items: center; flex-shrink: 0; }
.contact-row .c-icon svg { width: 20px; height: 20px; color: var(--blue-bright); }
.contact-row .c-lbl { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); }
.contact-row .c-val { font-weight: 700; font-size: 1.04rem; }
.contact-row .c-val a:hover { color: var(--green-bright); }

.cta-panel {
    background:
        linear-gradient(155deg, rgba(47,107,255,0.16), rgba(33,32,29,0.2)),
        var(--ink-2);
    border: 1px solid var(--green-deep);
    border-radius: var(--r-lg);
    padding: 42px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.cta-panel::before {
    content: '♞';
    position: absolute;
    right: -10px; bottom: -30px;
    font-size: 11rem;
    color: rgba(255,255,255,0.04);
    line-height: 1;
}
.cta-panel h3 { font-size: 1.9rem; margin-bottom: 12px; }
.cta-panel p { color: var(--text-soft); margin-bottom: 22px; }
.cta-panel .btn { position: relative; z-index: 1; }

/* ---------- booking / enquiry form ---------- */
.booking-form { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--text-soft); }
.field label .opt { font-weight: 500; color: var(--text-dim); }
.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%; font: inherit; font-size: 0.96rem; color: var(--text);
    background: rgba(8,11,20,0.6);
    border: 1.5px solid var(--ink-4); border-radius: var(--r-sm);
    padding: 12px 14px;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
    -webkit-appearance: none; appearance: none;
}
.booking-form textarea { resize: vertical; min-height: 82px; line-height: 1.5; }
.booking-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238aa2c8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 38px; cursor: pointer;
}
.booking-form input::placeholder,
.booking-form textarea::placeholder { color: var(--text-dim); }
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none; border-color: var(--blue-bright);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.22);
    background: rgba(8,11,20,0.85);
}
.booking-form .invalid { border-color: var(--danger) !important; box-shadow: 0 0 0 3px rgba(255,90,77,0.18) !important; }
.booking-form #bf-submit { margin-top: 4px; width: 100%; justify-content: center; }
.booking-form #bf-submit[disabled] { opacity: 0.7; cursor: progress; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 2px 0 0; font-size: 0.9rem; font-weight: 600; }
.form-status.ok { color: var(--green-bright); }
.form-status.err { color: var(--gold-soft); }
.form-fallback { margin: 6px 0 0; font-size: 0.85rem; color: var(--text-dim); }
.form-fallback a { color: var(--text-soft); font-weight: 700; }
.form-fallback a:hover { color: var(--blue-bright); }

/* ====================== AREAS SERVED (suburb chips) ====================== */
.areas-block { margin-top: 56px; text-align: center; }
.areas-block h3 {
    font-family: 'Archivo', sans-serif; font-size: 1.15rem; font-weight: 800;
    margin-bottom: 6px;
}
.areas-block .areas-sub { color: var(--text-soft); font-size: 0.96rem; margin-bottom: 22px; }
.suburb-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 880px; margin: 0 auto; }
.suburb-chip {
    font-size: 0.85rem; font-weight: 600; color: var(--text-soft);
    background: var(--ink-3); border: 1px solid var(--ink-4);
    padding: 9px 16px; border-radius: 999px;
    transition: color 0.18s, border-color 0.18s, transform 0.18s;
}
.suburb-chip:hover { color: var(--white); border-color: var(--blue-deep); transform: translateY(-2px); }
.suburb-chip.home { color: var(--green-bright); border-color: var(--green-deep); background: rgba(47,107,255,0.08); }

/* ====================== FOOTER ====================== */
.footer {
    background: #070a12;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 56px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer h5 { font-family: 'Archivo', sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-dim); margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--text-soft); font-size: 0.92rem; transition: color 0.18s; }
.footer ul a:hover { color: var(--blue-bright); }
.footer-about p { color: var(--text-soft); font-size: 0.92rem; margin-top: 14px; max-width: 280px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 22px;
    display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    color: var(--text-dim); font-size: 0.84rem;
}
.footer-credit {
    margin-top: 18px; text-align: center;
    color: var(--text-dim); font-size: 0.82rem; letter-spacing: 0.01em;
}
.footer-credit a {
    color: var(--text-soft); font-weight: 700;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer-credit a:hover { color: var(--blue-bright); border-color: var(--blue-bright); }

/* ====================== SCROLL REVEAL ====================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ====================== CHESS BOARD (re-themed cream/green) ====================== */
.cb-board {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1;
    touch-action: none;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 1fr);
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        0 0 0 7px #141a2b,
        0 0 0 9px var(--green-deep),
        var(--shadow-lg);
    margin: 0 auto;
    background: var(--cream);
    isolation: isolate;
}
.cb-sq { position: relative; transition: background-color 0.2s ease, box-shadow 0.18s ease; cursor: pointer; touch-action: none; }
.cb-light { background: #e8eef8; }
.cb-dark  { background: #557bca; }
.cb-coord {
    position: absolute;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: clamp(0.5rem, 1vw, 0.64rem);
    font-weight: 700; line-height: 1;
    pointer-events: none; user-select: none; text-transform: lowercase;
}
.cb-coord.cb-rank { top: 3px; left: 4px; }
.cb-coord.cb-file { bottom: 2px; right: 5px; }
.cb-light .cb-coord { color: rgba(60,80,140,0.9); }
.cb-dark  .cb-coord { color: rgba(232,238,248,0.95); }

.cb-sq.cb-selected { background-color: rgba(255,200,61,0.55) !important; }
.cb-sq.cb-last-from { background-color: rgba(47,107,255,0.42) !important; }
.cb-sq.cb-last-to   { background-color: rgba(47,107,255,0.62) !important; }
.cb-sq.cb-correct { background-color: rgba(47,107,255,0.82) !important; animation: cb-pulse 0.55s ease-out; }
.cb-sq.cb-wrong { background-color: rgba(214,71,58,0.72) !important; animation: cb-shake 0.42s ease-in-out; }
@keyframes cb-pulse { 0%,100% { box-shadow: inset 0 0 0 0 rgba(47,107,255,0);} 50% { box-shadow: inset 0 0 0 6px rgba(47,107,255,0.6);} }
@keyframes cb-shake { 0%,100%{transform:translateX(0);} 20%,60%{transform:translateX(-3px);} 40%,80%{transform:translateX(3px);} }

.cb-sq.cb-move-hint::after {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: 28%; height: 28%; background: rgba(25,40,80,0.34);
    border-radius: 50%; transform: translate(-50%,-50%); pointer-events: none; z-index: 1;
}
.cb-sq.cb-move-capture { box-shadow: inset 0 0 0 4px rgba(214,71,58,0.6); }
.cb-sq.cb-move-capture .cb-coord { z-index: 2; }

.cb-pieces { position: absolute; inset: 0; pointer-events: none; z-index: 3; font-size: 2rem; }
.cb-board.cb-thinking { pointer-events: none; }
.cb-board.cb-thinking .cb-sq, .cb-board.cb-thinking .cb-piece { cursor: default; }

.cb-piece {
    position: absolute; top: 0; left: 0;
    width: 12.5%; height: 12.5%;
    display: grid; place-items: center;
    font-family: 'Segoe UI Symbol', 'Apple Symbols', 'Noto Sans Symbols', system-ui, sans-serif;
    font-size: inherit; line-height: 1;
    transition: transform 0.42s cubic-bezier(0.4,1.4,0.55,1), opacity 0.32s ease;
    will-change: transform; user-select: none; -webkit-user-select: none;
    overflow: hidden; text-align: center; cursor: grab;
}
.cb-piece.cb-dragging {
    cursor: grabbing;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,0.5)) drop-shadow(0 0 6px rgba(47,107,255,0.45));
    pointer-events: auto !important; scale: 1.1; transition: filter 0.15s ease;
}
.cb-sq.cb-hover { box-shadow: inset 0 0 0 4px rgba(47,107,255,0.85); }
.cb-piece.cb-white {
    color: #fbfbf2;
    text-shadow: -1.5px -1.5px 0 #1b1b18, 1.5px -1.5px 0 #1b1b18, -1.5px 1.5px 0 #1b1b18, 1.5px 1.5px 0 #1b1b18, 0 2px 4px rgba(0,0,0,0.3);
}
.cb-piece.cb-black {
    color: #1c1b18;
    text-shadow: 0 1px 0 rgba(255,255,255,0.32), 0 2px 4px rgba(0,0,0,0.3);
}
.cb-piece.cb-captured { opacity: 0; transform: scale(0.5) !important; }

.cb-arrow-layer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 6; }
.cb-arrow-line { opacity: 0; animation: cb-arrow-fade 0.4s ease-out 0.05s forwards; }
@keyframes cb-arrow-fade { from { opacity: 0; } to { opacity: 0.8; } }

.cb-sq.cb-pulse-gold { animation: cb-pulse-gold 0.75s ease-in-out 2; }
@keyframes cb-pulse-gold { 0%,100%{box-shadow: inset 0 0 0 0 rgba(255,200,61,0);} 50%{box-shadow: inset 0 0 0 5px rgba(255,200,61,0.85);} }

.cb-celebrate { position: absolute; inset: 0; pointer-events: none; z-index: 10; display: grid; place-items: center; overflow: hidden; animation: cb-celebrate-fade 2.6s ease-out forwards; }
.cb-celebrate-burst { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(47,107,255,0.6) 0%, rgba(255,200,61,0.25) 40%, transparent 70%); animation: cb-cb-burst 0.9s ease-out backwards; }
@keyframes cb-cb-burst { 0%{transform:scale(0.3);opacity:0;} 60%{opacity:1;} 100%{transform:scale(1.4);opacity:0;} }
.cb-celebrate-icon { position: relative; font-family: 'Archivo', sans-serif; font-weight: 900; font-size: clamp(3.4rem,12vw,6rem); color: #fbfbf2; text-shadow: 0 0 24px rgba(47,107,255,0.85), -2px -2px 0 #1b1b18, 2px -2px 0 #1b1b18, -2px 2px 0 #1b1b18, 2px 2px 0 #1b1b18; animation: cb-cb-pop 0.7s cubic-bezier(0.34,1.65,0.5,1) backwards; line-height: 1; }
.cb-celebrate-label { position: absolute; top: 66%; font-family: 'Archivo', sans-serif; font-weight: 700; font-size: clamp(1.1rem,3vw,1.6rem); color: var(--gold); text-shadow: 0 2px 6px rgba(0,0,0,0.85); animation: cb-cb-label 0.7s 0.25s ease-out backwards; }
@keyframes cb-cb-pop { 0%{transform:scale(0.3) rotate(-18deg);opacity:0;} 60%{transform:scale(1.25) rotate(6deg);opacity:1;} 100%{transform:scale(1) rotate(0);opacity:1;} }
@keyframes cb-cb-label { from{transform:translateY(20px);opacity:0;} to{transform:none;opacity:1;} }
@keyframes cb-celebrate-fade { 0%,65%{opacity:1;} 100%{opacity:0;} }
.cb-spark { position: absolute; top: 50%; left: 50%; font-size: 1.4rem; color: var(--gold); pointer-events: none; animation: cb-spark-fly 1.4s cubic-bezier(0.2,0.7,0.3,1) var(--delay) backwards; }
@keyframes cb-spark-fly { 0%{transform:translate(-50%,-50%) rotate(0);opacity:0;} 20%{opacity:1;} 100%{transform:translate(calc(-50% + var(--dx)),calc(-50% + var(--dy))) rotate(var(--rot));opacity:0;} }
.cb-float { position: absolute; top: 50%; left: 50%; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: clamp(1.6rem,4vw,2.4rem); color: var(--gold); text-shadow: 0 0 16px rgba(255,200,61,0.9), -2px -2px 0 #1b1b18, 2px -2px 0 #1b1b18, -2px 2px 0 #1b1b18, 2px 2px 0 #1b1b18; pointer-events: none; z-index: 11; animation: cb-float-rise 1.7s ease-out forwards; }
@keyframes cb-float-rise { 0%{transform:translate(-50%,-20%) scale(0.5);opacity:0;} 20%{transform:translate(-50%,-50%) scale(1.15);opacity:1;} 80%{transform:translate(-50%,-110%) scale(1);opacity:1;} 100%{transform:translate(-50%,-140%) scale(0.95);opacity:0;} }
.cb-board.cb-shake { animation: cb-board-shake 0.46s ease-in-out; }
@keyframes cb-board-shake { 0%,100%{transform:translateX(0);} 15%,55%,85%{transform:translateX(-6px);} 30%,70%{transform:translateX(6px);} }

/* ====================== RESPONSIVE ====================== */
@media (max-width: 940px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav.menu-open .nav-links {
        display: flex; flex-direction: column; align-items: stretch;
        position: absolute; top: var(--nav-h); left: 0; right: 0;
        background: var(--ink-2); border-bottom: 1px solid var(--ink-4);
        padding: 14px 18px; gap: 4px;
    }
    .nav.menu-open .nav-links a { padding: 13px 14px; font-size: 1rem; }
    .nav-cta .btn-ghost { display: none; }

    .hero-grid { grid-template-columns: 1fr; gap: 64px; }
    .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
    .potd-grid { grid-template-columns: 1fr; gap: 40px; }
    .potd-board-wrap { order: 2; }
    .feature-split, .coach-split, .contact-grid, .video-band-grid { grid-template-columns: 1fr; gap: 38px; }
    .coach-split .coach-photo { max-width: 440px; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .cards-3 { grid-template-columns: repeat(2, 1fr); }
    .success-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 620px) {
    .section { padding: 64px 0; }
    .hero { padding: 48px 0 70px; }
    .statbar-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }
    .stat { border-bottom: 1px solid rgba(255,255,255,0.06); }
    .benefits-grid { grid-template-columns: 1fr; }
    .cards-3 { grid-template-columns: 1fr; }
    .success-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-badge.b-success { left: 0; }
    .hero-badge.b-rating { right: 0; }
    .potd-meta { gap: 16px; }
    /* bigger, thumb-friendly tap targets on phones */
    .potd-level-tab { padding: 12px 18px; font-size: 0.9rem; }
    .potd-controls { gap: 8px; }
    .potd-controls .btn { padding: 14px 18px; }
    /* booking form: stack fields, tighter panel */
    .cta-panel { padding: 30px 22px; }
    .field-row { grid-template-columns: 1fr; }
}
