:root{
 --blue:#063b9f;--blue2:#0a51c7;--pink:#e92d82;--pink2:#f28ab8;--ink:#07142d;
 --muted:#5e6b80;--line:#e5eaf2;--soft:#f5f8fc;--white:#fff;--shadow:0 18px 50px rgba(7,20,45,.10);
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"DM Sans",Arial,sans-serif;color:var(--ink);background:#fff}
a{text-decoration:none;color:inherit}.container{width:min(1180px,calc(100% - 40px));margin:auto}
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(229,234,242,.8)}
.navwrap{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}.logo{width:210px;height:auto;display:block;max-height:58px;object-fit:contain}
.nav{display:flex;align-items:center;gap:22px;font-weight:700;font-size:14px}.nav a:hover{color:var(--pink)}.nav .donate{background:var(--pink);color:#fff;padding:12px 17px;border-radius:999px;box-shadow:0 8px 22px rgba(233,45,130,.24)}
.toggle{display:none;border:0;background:transparent;font-size:26px}
.hero{padding:34px 0 26px;background:linear-gradient(180deg,#fff 0%,#f7f9fe 100%)}.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(430px,1.02fr);align-items:center;gap:54px}
.hero-copy{min-width:0}.hero-videohero-brandline{margin:0 0 14px}.eyebrow{display:inline-block;font-size:11px;letter-spacing:.14em;font-weight:900;color:var(--blue);text-transform:uppercase}.eyebrow.light{color:#9fc1ff}
.hero h1{font:700 clamp(46px,6vw,76px)/.98 "Space Grotesk",Arial,sans-serif;letter-spacing:-.055em;margin:10px 0 18px}.hero h1 span{color:var(--pink)}.lead{font-size:18px;line-height:1.65;color:var(--muted);max-width:650px;margin:0 0 22px}
.actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;background:var(--pink);color:#fff;padding:13px 19px;border-radius:999px;font-weight:800;cursor:pointer;box-shadow:0 10px 24px rgba(233,45,130,.18)}.btn:hover{transform:translateY(-1px)}.btn.ghost{background:#fff;color:var(--blue);border:1px solid var(--line);box-shadow:none}.btn.darkbtn{background:var(--ink)}
.hero-video{width:100%;aspect-ratio:16/10;border-radius:30px;overflow:hidden;background:#07142d;box-shadow:0 28px 70px rgba(7,20,45,.22);animation:heroFloat 7s ease-in-out infinite;will-change:transform}.hero-video iframe{width:100%;height:100%;border:0;display:block}
.hero-marquee{margin:0 0 11px;width:100%;height:30px;overflow:hidden;border-radius:999px;background:var(--ink);color:#fff;display:flex;align-items:center}.hero-marquee div{white-space:nowrap;font-size:9px;font-weight:900;letter-spacing:.14em;padding-left:100%;animation:ticker 22s linear infinite}
@keyframes heroFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(9px)}}@keyframes ticker{to{transform:translateX(-100%)}}
.trust{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.trust span{font-size:11px;font-weight:800;padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#55647a}
.marquee{background:var(--blue);color:#fff;padding:10px 0;overflow:hidden;white-space:nowrap;font-size:10px;font-weight:900;letter-spacing:.13em}.marquee .container{animation:ticker 28s linear infinite}
.section{padding:42px 0}.section.dark{background:var(--ink);color:#fff}.section.soft{background:var(--soft)}.sectionhead{max-width:780px;margin-bottom:24px}.sectionhead h2{font:700 clamp(34px,4.2vw,56px)/1.02 "Space Grotesk";letter-spacing:-.04em;margin:8px 0 12px}.sectionhead p{color:var(--muted);font-size:16px;line-height:1.65;margin:0}.dark .sectionhead p{color:#aebbd0}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat{padding:23px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 7px 25px rgba(7,20,45,.05)}.stat b{display:block;font:700 40px "Space Grotesk";color:var(--blue)}.stat span{font-size:13px;color:var(--muted);font-weight:700}
.split{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}.split h2{font:700 clamp(36px,4vw,54px)/1.02 "Space Grotesk";margin:10px 0}.split p{color:#b5c0d2;line-height:1.7}.quote{font:600 28px/1.25 "Space Grotesk";padding:30px;border-left:4px solid var(--pink)}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.card{padding:23px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 7px 25px rgba(7,20,45,.045)}.card .number{font-weight:900;color:var(--pink);font-size:12px}.card h3{font:700 23px "Space Grotesk";margin:20px 0 8px}.card p{color:var(--muted);line-height:1.55;font-size:14px}.card a{font-weight:900;color:var(--blue)}
.gallery{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.gallery a{min-height:145px;padding:20px;border-radius:18px;background:linear-gradient(135deg,var(--blue),#09295f);color:#fff;display:flex;align-items:flex-end}.gallery a:nth-child(2),.gallery a:nth-child(4){background:linear-gradient(135deg,var(--pink),#a91459)}.bigword{font:700 25px "Space Grotesk"}.gallery small{display:block;color:#e8eef9;margin-top:5px}
.donor-command{padding-top:45px;padding-bottom:45px}.donor-path{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.donor-path>div{padding:20px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.045)}.donor-path b{color:#9fc1ff;font-size:12px}.donor-path h3{font:700 21px "Space Grotesk";margin:10px 0 5px}.donor-path p{font-size:13px;line-height:1.45;color:#b5c0d2}
.event-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.event-card{background:#fff;border:1px solid var(--line);border-radius:19px;padding:21px;box-shadow:0 7px 25px rgba(7,20,45,.045)}.event-card .date{font-size:10px;color:var(--pink);font-weight:900;letter-spacing:.1em;text-transform:uppercase}.event-card h3{font:700 21px/1.1 "Space Grotesk"}.event-card p{font-size:13px;color:var(--muted);line-height:1.5}
.partner-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.partner-card{padding:24px;background:#fff;border:1px solid var(--line);border-radius:20px}.partner-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.partner-card span{color:var(--pink);font-weight:900}.partner-card h3{font:700 22px "Space Grotesk";margin:13px 0 7px}.partner-card p{color:var(--muted);font-size:14px;line-height:1.5}
.band{padding:28px 0;background:linear-gradient(100deg,var(--pink),#d01b72);color:#fff}.bandgrid{display:flex;align-items:center;justify-content:space-between;gap:30px}.band h2{font:700 38px "Space Grotesk";margin:7px 0}.band p{margin:0;color:#ffe7f2}
.podcast-feature{display:grid;grid-template-columns:1.2fr .8fr;gap:25px;align-items:stretch}.podcast-player{background:var(--ink);border-radius:24px;overflow:hidden;min-height:360px}.podcast-player iframe,.podcast-player video{width:100%;height:100%;min-height:360px;border:0;display:block}.podcast-copy{padding:10px 0}.podcast-copy h2{font:700 42px "Space Grotesk";margin:8px 0}.podcast-copy p{color:var(--muted);line-height:1.65}.podcast-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.podcast-card{padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff}.podcast-card h3{font:700 19px "Space Grotesk";margin:8px 0}.podcast-card p{font-size:13px;color:var(--muted)}
.form{display:grid;gap:13px;max-width:780px}.form label{font-weight:800;font-size:13px}.form input,.form textarea,.form select{display:block;width:100%;margin-top:6px;border:1px solid #d8dfeb;border-radius:12px;padding:12px;font:inherit}.form textarea{resize:vertical}
.footer{background:#06132b;color:#fff;padding:34px 0 20px}.footgrid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr;gap:35px}.footlogo{width:210px;max-height:62px;object-fit:contain;filter:brightness(0) invert(1);margin-bottom:8px}.footer p,.footer a{color:#aebbd0;font-size:13px;line-height:1.6}.footer a{display:block;margin:5px 0}.footer h4{margin:0 0 10px}.bottom{margin-top:25px;padding-top:15px;border-top:1px solid rgba(255,255,255,.1);color:#8f9bb0;font-size:12px;display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.pagehero{padding:45px 0 30px;background:linear-gradient(120deg,#f7f9fe,#fff)}.pagehero h1{font:700 58px "Space Grotesk";letter-spacing:-.05em;margin:8px 0}.pagehero p{max-width:700px;color:var(--muted);line-height:1.65}
.admin-wrap{font-family:Arial,sans-serif;background:#f5f7fb;min-height:100vh}.admin-card{background:#fff;border-radius:18px;padding:22px;box-shadow:0 8px 30px rgba(7,20,45,.06)}table{width:100%;border-collapse:collapse}th,td{padding:10px;border-bottom:1px solid #edf0f5;text-align:left;font-size:12px;vertical-align:top}
@media(max-width:1000px){.nav{gap:12px}.nav a{font-size:12px}.hero-grid{grid-template-columns:1fr 1fr;gap:25px}.cards{grid-template-columns:repeat(2,1fr)}.gallery{grid-template-columns:repeat(3,1fr)}.donor-path{grid-template-columns:repeat(3,1fr)}.event-grid{grid-template-columns:repeat(2,1fr)}.partner-grid{grid-template-columns:repeat(2,1fr)}.footgrid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.toggle{display:block}.nav{display:none;position:absolute;left:20px;right:20px;top:70px;background:#fff;padding:16px;border-radius:16px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}.nav.open{display:flex}.logo{width:175px}.hero{padding-top:22px}.hero-grid{grid-template-columns:1fr}.hero-video{order:2;animation:none}.hero-copy{display:contents}.hero-brandline{order:1}.hero h1{order:3;font-size:48px}.lead{order:4}.actions{order:5}.trust{order:6}.hero-marquee{order:0}.hero-video{order:2}.stats,.cards,.gallery,.donor-path,.event-grid,.partner-grid,.podcast-list,.footgrid{grid-template-columns:1fr}.split,.podcast-feature{grid-template-columns:1fr}.quote{font-size:23px}.bandgrid,.bottom{display:block}.band .btn{margin-top:14px}.pagehero h1{font-size:43px}}
@media(prefers-reduced-motion:reduce){.hero-video,.hero-marquee div,.marquee .container{animation:none}}

/* CCF 2026 competition + impact refresh */
.brand{display:flex;align-items:center;gap:10px;min-width:250px}.brand span{font:800 13px "Space Grotesk";color:var(--blue);letter-spacing:-.02em}.navdrop{position:relative}.navdrop-btn{border:0;background:transparent;font:700 14px "DM Sans";color:var(--ink);cursor:pointer;padding:8px 0}.navdrop-btn:hover{color:var(--pink)}.navdrop-menu{display:none;position:absolute;top:calc(100% + 12px);right:0;width:270px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:8px;box-shadow:var(--shadow)}.navdrop:hover .navdrop-menu,.navdrop:focus-within .navdrop-menu{display:block}.navdrop-menu a{display:block;padding:11px 12px;border-radius:10px;font-size:13px}.navdrop-menu a:hover{background:var(--soft);color:var(--pink)}
.contest-banner{background:linear-gradient(100deg,var(--pink),#c81970 55%,var(--blue));color:#fff;position:relative;z-index:20}.contest-banner-inner{min-height:52px;display:flex;align-items:center;gap:14px;justify-content:center;font-size:13px}.contest-banner strong{font:800 14px "Space Grotesk"}.contest-banner-inner>div{display:flex;gap:7px;align-items:center}.live-pill{font-size:9px;font-weight:900;letter-spacing:.12em;background:rgba(255,255,255,.16);padding:7px 9px;border-radius:999px}.banner-btn{background:#fff;color:var(--blue);padding:9px 14px;border-radius:999px;font-weight:900;font-size:12px}.hero{padding:20px 0 28px}.hero-grid{gap:34px}.hero-video{max-width:650px;justify-self:end}.compact{padding:28px 0}.quick-impact{display:grid;grid-template-columns:1.35fr .65fr;gap:30px;align-items:center}.quick-impact h2{font:700 clamp(30px,4vw,48px)/1.03 "Space Grotesk";letter-spacing:-.04em;margin:7px 0}.quick-impact h2 span{color:var(--pink)}.quick-note{padding:20px;border-left:4px solid var(--pink);background:var(--soft);border-radius:0 16px 16px 0}.quick-note b{color:var(--blue)}.quick-note p{color:var(--muted);line-height:1.5;margin-bottom:0}.impact-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.impact-cards article{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 8px 28px rgba(7,20,45,.06)}.impact-cards img{width:100%;aspect-ratio:1.55;display:block;object-fit:cover}.impact-cards article div{padding:17px}.impact-cards span,.competition-card span{font-size:10px;letter-spacing:.12em;font-weight:900;color:var(--pink)}.impact-cards h3{font:700 21px/1.1 "Space Grotesk";margin:8px 0 12px}.impact-cards a{font-weight:900;color:var(--blue);font-size:13px}.competition-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.competition-grid.large{grid-template-columns:repeat(2,1fr);max-width:980px;margin:auto}.competition-card{padding:26px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 9px 28px rgba(7,20,45,.05);transition:.2s}.competition-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.competition-card h3{font:700 28px/1.05 "Space Grotesk";margin:12px 0}.competition-card p{color:var(--muted);line-height:1.55;font-size:14px}.competition-card b{color:var(--blue)}.competition-hero{background:linear-gradient(120deg,var(--ink),#0b3d91);color:#fff;padding:58px 0}.competition-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center}.competition-hero h1{font:700 clamp(48px,6vw,76px)/.98 "Space Grotesk";letter-spacing:-.05em;margin:10px 0 18px}.competition-hero p{color:#c4d0e4;font-size:18px;line-height:1.6;max-width:680px}.competition-hero img{width:100%;border-radius:28px;box-shadow:0 25px 60px rgba(0,0,0,.25)}.competition-content{display:grid;grid-template-columns:1.15fr .85fr;gap:50px;align-items:start}.competition-content h2{font:700 48px/1.02 "Space Grotesk";margin:8px 0 12px}.competition-content>div>p{color:var(--muted);line-height:1.7}.skill-pills{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}.skill-pills span{padding:8px 11px;border-radius:999px;background:var(--soft);border:1px solid var(--line);font-size:11px;font-weight:800}.competition-points{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:28px}.competition-points>div{padding:18px;border:1px solid var(--line);border-radius:18px}.competition-points b{color:var(--pink);font-size:11px}.competition-points h3{font:700 20px "Space Grotesk";margin:10px 0 5px}.competition-points p{color:var(--muted);font-size:13px;line-height:1.5}.register-card{position:sticky;top:100px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:25px;box-shadow:var(--shadow)}.register-card h3{font:700 30px "Space Grotesk";margin:9px 0}.register-card>p{color:var(--muted);line-height:1.5;font-size:13px}.register-card small{color:var(--muted)}.video-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.video-frame{background:var(--ink);border-radius:18px;overflow:hidden;color:#fff}.video-frame iframe{display:block;width:100%;aspect-ratio:16/10;border:0}.video-frame h3{font:700 16px "Space Grotesk";padding:13px 14px;margin:0}.form-msg{font-weight:800;color:var(--pink)}
@media(max-width:1000px){.brand span{display:none}.nav{gap:12px}.navdrop-btn{font-size:12px}.impact-cards,.competition-grid{grid-template-columns:repeat(2,1fr)}.video-grid-4{grid-template-columns:repeat(2,1fr)}.competition-hero-grid,.competition-content{grid-template-columns:1fr}.register-card{position:static}.quick-impact{grid-template-columns:1fr}}
@media(max-width:760px){.contest-banner-inner{justify-content:flex-start;overflow:auto;white-space:nowrap;padding-top:7px;padding-bottom:7px}.contest-banner-inner>div{flex-shrink:0}.hero{padding-top:16px}.hero-video{max-width:none}.impact-cards,.competition-grid,.competition-grid.large,.video-grid-4,.competition-points{grid-template-columns:1fr}.navdrop-menu{position:static;width:auto;box-shadow:none;border:0;padding-left:8px}.navdrop:hover .navdrop-menu{display:none}.navdrop.open .navdrop-menu{display:block}.competition-hero{padding:38px 0}.competition-hero h1{font-size:47px}.competition-content h2{font-size:38px}}


/* ============================================================
   OFFICIAL CCF LOGO / EDITABLE NAVIGATION REFRESH
   The text label beside the logo was intentionally removed.
   The supplied official Creative Child logo is now used across
   the public header, footer and admin branding.
   ============================================================ */

.brand {
    min-width: auto;
    display: flex;
    align-items: center;
    gap: 0;
}

.brand .logo {
    width: 180px;
    height: 68px;
    max-height: 68px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.footlogo {
    width: 220px;
    height: 70px;
    max-height: 70px;
    object-fit: contain;
    filter: none;
    background: #ffffff;
    border-radius: 8px;
    padding: 3px;
    box-sizing: border-box;
}

@media (max-width: 1000px) {
    .brand .logo {
        width: 155px;
        height: 62px;
        max-height: 62px;
    }
}

@media (max-width: 760px) {
    .brand .logo {
        width: 140px;
        height: 58px;
        max-height: 58px;
    }

    .nav {
        top: 66px;
    }
}

/* ================================================================
   CODING CONTEST 2026 — CREATE. CODE. IMAGINE. SOLVE.
   Everything below is isolated so the contest page is easy to edit.
   ================================================================ */

.coding-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 25%, rgba(236,47,139,.34), transparent 25%),
        radial-gradient(circle at 94% 90%, rgba(29,76,173,.42), transparent 30%),
        linear-gradient(125deg, #06142d 0%, #0a2d69 58%, #08204a 100%);
    color: #fff;
    padding: 46px 0 38px;
}

.coding-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 42px;
    align-items: center;
    min-height: 610px;
}

.coding-hero-copy { position: relative; z-index: 2; }

.competition-badge {
    display: inline-flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.competition-badge span,
.launch-pill,
.event-tag {
    display: inline-block;
    padding: 8px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
}

.coding-hero h1 {
    font: 800 clamp(58px, 8vw, 112px)/.82 "Space Grotesk", sans-serif;
    letter-spacing: -.075em;
    margin: 12px 0 24px;
}

.coding-hero h1 em {
    color: #ff4aa1;
    font-style: normal;
}

.hero-lead {
    max-width: 670px;
    color: #d8e4f7;
    font-size: 18px;
    line-height: 1.65;
}

.btn-bright {
    background: #ec2f8b !important;
    color: #fff !important;
    border-color: #ec2f8b !important;
    box-shadow: 0 12px 30px rgba(236,47,139,.25);
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 32px;
    max-width: 690px;
}

.hero-facts div {
    padding: 16px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 16px;
    background: rgba(255,255,255,.055);
    backdrop-filter: blur(8px);
}

.hero-facts strong,
.hero-facts span { display: block; }
.hero-facts strong { color: #fff; font: 800 27px "Space Grotesk"; }
.hero-facts span { margin-top: 4px; color: #aebdd3; font-size: 11px; font-weight: 700; }

.coding-hero-art {
    min-height: 480px;
    display: grid;
    place-items: center;
    position: relative;
}

.theme-orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    transform: rotate(-12deg);
}

.orbit-one { width: 470px; height: 470px; }
.orbit-two { width: 340px; height: 340px; border-color: rgba(236,47,139,.4); }

.code-window {
    width: min(560px, 92%);
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #071226;
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 30px 90px rgba(0,0,0,.38);
    transform: rotate(2deg);
}

.code-window-top {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 15px 18px;
    background: #0e1d38;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.code-window-top span { width: 9px; height: 9px; border-radius: 50%; background: #f25a9d; }
.code-window-top span:nth-child(2) { background: #6ca4ff; }
.code-window-top span:nth-child(3) { background: #f7cf62; }
.code-window-top b { margin-left: auto; color: #8294b2; font-size: 9px; letter-spacing: .12em; }

.code-lines { padding: 28px; }
.code-lines p { margin: 0 0 15px; color: #c6d4e9; font: 600 15px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.code-lines i { display: inline-block; width: 34px; color: #496183; font-style: normal; }
.code-lines strong { color: #75b4ff; }
.code-lines mark { padding: 3px 6px; background: rgba(236,47,139,.2); color: #ff68ae; }
.code-rocket { position: absolute; right: 24px; bottom: 18px; font-size: 42px; transform: rotate(-8deg); }

.coding-action-strip { background: #fff; border-bottom: 1px solid var(--line); }
.coding-action-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.coding-action-grid a { padding: 18px 20px; border-right: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: .2s ease; }
.coding-action-grid a:first-child { border-left: 1px solid var(--line); }
.coding-action-grid a:hover { background: #f7f9fd; transform: translateY(-2px); }
.coding-action-grid span { display: block; color: var(--pink); font-size: 10px; font-weight: 900; }
.coding-action-grid strong { display: block; margin: 7px 0 2px; font: 700 16px "Space Grotesk"; }
.coding-action-grid small { color: var(--muted); font-size: 11px; }

.coding-intro-grid { align-items: stretch; }
.coding-intro-grid h2 { max-width: 780px; }
.coding-intro-grid p { max-width: 760px; }

.theme-card {
    position: relative;
    padding: 32px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(145deg, #ec2f8b, #b71665 55%, #0b397f);
    color: #fff;
    box-shadow: 0 22px 50px rgba(14,34,76,.17);
}

.theme-label { font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.theme-word-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 30px 0; }
.theme-word-grid span { padding: 18px; border-radius: 15px; background: rgba(255,255,255,.12); font: 700 24px "Space Grotesk"; }
.theme-card p { color: #ffe8f3 !important; font-size: 14px; }

.coding-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.coding-category-card { position: relative; min-height: 310px; padding: 26px; border-radius: 23px; overflow: hidden; color: #fff; box-shadow: 0 16px 40px rgba(7,20,45,.09); }
.category-pink { background: linear-gradient(145deg, #ec2f8b, #a6145d); }
.category-blue { background: linear-gradient(145deg, #1658b9, #092d69); }
.category-dark { background: linear-gradient(145deg, #121d31, #050a14); }
.category-gold { background: linear-gradient(145deg, #d58b21, #85530c); }
.category-number { font: 800 12px "Space Grotesk"; opacity: .7; }
.coding-category-card h3 { margin: 28px 0 5px; font: 700 27px "Space Grotesk"; }
.category-age { color: rgba(255,255,255,.72) !important; font-size: 11px !important; font-weight: 900; }
.coding-category-card p { color: rgba(255,255,255,.86); line-height: 1.55; font-size: 13px; }
.coding-category-card a { position: absolute; left: 26px; bottom: 23px; color: #fff; font-weight: 900; text-decoration: none; }

.project-idea-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.project-idea-card { padding: 26px; border: 1px solid var(--line); border-radius: 21px; background: #fff; box-shadow: 0 8px 30px rgba(7,20,45,.04); }
.idea-icon { font-size: 34px; }
.project-idea-card h3 { font: 700 22px "Space Grotesk"; margin: 22px 0 7px; }
.project-idea-card p { color: var(--muted); font-size: 14px; line-height: 1.55; }

.coding-rubric { padding-top: 66px; padding-bottom: 66px; }
.rubric-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 45px; align-items: center; }
.rubric-grid h2 { color: #fff; font: 700 clamp(36px,4vw,57px)/1.03 "Space Grotesk"; letter-spacing: -.04em; }
.rubric-grid > div > p:not(.eyebrow) { color: #b5c0d2; line-height: 1.7; max-width: 680px; margin-bottom: 24px; }
.rubric-table-wrap { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; }
.rubric-table { width: 100%; border-collapse: collapse; color: #fff; }
.rubric-table th, .rubric-table td { padding: 14px 17px; border-bottom: 1px solid rgba(255,255,255,.09); text-align: left; font-size: 13px; }
.rubric-table th { background: rgba(255,255,255,.07); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #aebdd3; }
.rubric-table td:last-child, .rubric-table th:last-child { text-align: right; font-weight: 900; }
.rubric-table tr.total td { color: #ff68ae; background: rgba(236,47,139,.09); border-bottom: 0; font-weight: 900; }

.rule-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.rule-card { padding: 25px; border: 1px solid var(--line); border-radius: 21px; background: #fff; }
.rule-card > span { color: var(--pink); font: 900 12px "Space Grotesk"; }
.rule-card h3 { font: 700 22px "Space Grotesk"; margin: 20px 0 8px; }
.rule-card p { color: var(--muted); font-size: 13px; line-height: 1.6; }

.timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.timeline-item { padding: 25px; min-height: 205px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.timeline-item > span { color: var(--pink); font: 900 11px "Space Grotesk"; letter-spacing: .08em; }
.timeline-item h3 { margin: 22px 0 8px; font: 700 22px "Space Grotesk"; }
.timeline-item p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.featured-date { box-shadow: inset 0 4px 0 var(--pink); }

.sectionhead-row { display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.event-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.event-feature-card { padding: 27px; min-height: 340px; border-radius: 22px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; box-shadow: 0 8px 28px rgba(7,20,45,.04); }
.event-feature-card .event-tag { align-self: flex-start; color: var(--pink); background: #fff1f7; border-color: #ffd4e7; }
.event-date-big { margin: 24px 0 7px; color: var(--blue); font: 800 47px/.9 "Space Grotesk"; }
.event-date-big small { font-size: 12px; letter-spacing: .1em; }
.event-feature-card h3 { font: 700 23px/1.1 "Space Grotesk"; margin: 10px 0; }
.event-feature-card > p:not(.event-date-big) { color: var(--muted); font-size: 13px; line-height: 1.55; }
.event-meta { margin-top: auto; padding: 13px 0; color: #52637e; font-size: 11px; font-weight: 800; }
.event-feature-card .btn { align-self: flex-start; }
.webinar-card { background: linear-gradient(145deg, #fff, #f1f6ff); }

.event-register-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.event-register-grid h2 { font: 700 clamp(35px,4vw,55px)/1.02 "Space Grotesk"; letter-spacing: -.04em; }
.event-register-grid > div > p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.mini-checks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.mini-checks span { padding: 8px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--blue); font-size: 11px; font-weight: 900; }
.event-registration-form, .register-form { display: grid; gap: 14px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.event-registration-form label, .register-form label { display: grid; gap: 6px; color: var(--ink); font-size: 11px; font-weight: 900; }
.event-registration-form input, .event-registration-form select, .register-form input, .register-form select, .register-form textarea { width: 100%; padding: 13px 14px; border: 1px solid #dce3ee; border-radius: 11px; background: #fff; color: var(--ink); font: inherit; box-sizing: border-box; }
.check-row { grid-template-columns: 20px 1fr !important; align-items: start; }
.check-row input { width: auto; margin-top: 3px; }
.form-msg { min-height: 20px; margin: 0; color: var(--pink); font-weight: 800; font-size: 12px; }

.coding-register { background: linear-gradient(120deg, #07152d, #0b3477); color: #fff; }
.register-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 55px; align-items: start; }
.register-layout h2 { font: 700 clamp(38px,4.5vw,62px)/1 "Space Grotesk"; letter-spacing: -.045em; }
.register-layout > div > p:not(.eyebrow) { color: #b8c5d9; line-height: 1.7; }
.register-callouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 30px; }
.register-callouts div { padding: 17px; border-radius: 15px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.register-callouts strong, .register-callouts span { display: block; }
.register-callouts strong { font: 800 18px "Space Grotesk"; color: #fff; }
.register-callouts span { color: #9db0cc; font-size: 10px; margin-top: 4px; }
.register-form { padding: 28px; border-radius: 23px; background: #fff; color: var(--ink); box-shadow: 0 25px 70px rgba(0,0,0,.2); }

.octostudio-section { background: #f8fafd; }
.octostudio-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 35px; }
.octostudio-heading h2, .video-section-head h2 { font: 700 clamp(36px,4.3vw,58px)/1.02 "Space Grotesk"; letter-spacing: -.045em; max-width: 880px; margin: 8px 0 0; }
.octostudio-story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: stretch; }
.octostudio-story-copy { padding: 35px; border-radius: 25px; background: #081b3b; color: #fff; }
.octostudio-story-copy .launch-pill { margin-bottom: 24px; }
.octostudio-story-copy h3 { font: 700 34px/1.05 "Space Grotesk"; margin: 0 0 15px; }
.octostudio-story-copy p { color: #b8c6db; line-height: 1.68; font-size: 14px; }
.octo-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 25px; }
.octo-facts span { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: 11px; color: #d9e4f4; }
.octo-facts b { color: #ff68ae; margin-right: 5px; }
.octostudio-launch-card { border-radius: 25px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.launch-card-top { display: flex; justify-content: space-between; padding: 14px 18px; color: #65738a; font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.launch-card-visual { position: relative; min-height: 330px; background: linear-gradient(145deg, #0a3b86, #e52d88); overflow: hidden; }
.launch-card-visual img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; opacity: .36; }
.launch-card-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 30px; }
.launch-card-overlay strong { color: #fff; font: 800 37px/.9 "Space Grotesk"; letter-spacing: -.05em; }
.octostudio-launch-card > p { margin: 0; padding: 14px 18px 19px; color: var(--muted); font-size: 11px; line-height: 1.5; }

.launch-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.launch-photo-card { overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.launch-photo-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.launch-photo-card > div { padding: 17px; }
.launch-photo-card span, .video-card-copy > span { color: var(--pink); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.launch-photo-card h3 { font: 700 18px "Space Grotesk"; margin: 8px 0 5px; }
.launch-photo-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.video-section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-top: 60px; margin-bottom: 22px; }
.octo-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.octo-video-card { overflow: hidden; border-radius: 21px; background: #fff; border: 1px solid var(--line); }
.video-frame { aspect-ratio: 16/9; background: #07152d; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-card-copy { padding: 19px; }
.video-card-copy h3 { font: 700 20px/1.1 "Space Grotesk"; margin: 9px 0 7px; }
.video-card-copy p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.video-link-visual { min-height: 220px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(145deg, #07152d, #1255ae); color: #fff; position: relative; overflow: hidden; }
.video-link-visual::after { content: ""; width: 210px; height: 210px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; position: absolute; right: -65px; top: -55px; }
.pink-video-card .video-link-visual { background: linear-gradient(145deg, #e52d88, #8f104d); }
.play-mark { position: absolute; right: 22px; top: 20px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--pink); z-index: 2; }
.video-link-visual > span { position: relative; z-index: 2; font-size: 9px; font-weight: 900; letter-spacing: .12em; opacity: .75; }
.video-link-visual strong { position: relative; z-index: 2; margin-top: 10px; font: 700 29px/.95 "Space Grotesk"; letter-spacing: -.03em; }

.coding-final-cta { background: #07152d; color: #fff; padding: 55px 0; }
.final-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.final-cta-inner h2 { font: 700 clamp(36px,4.5vw,60px)/1 "Space Grotesk"; letter-spacing: -.04em; margin: 8px 0; }
.final-cta-inner p:not(.eyebrow) { color: #b5c1d4; }

@media (max-width: 1050px) {
    .coding-hero-grid, .rubric-grid, .register-layout, .octostudio-story, .event-register-grid { grid-template-columns: 1fr; }
    .coding-category-grid, .project-idea-grid, .rule-card-grid, .timeline-grid { grid-template-columns: 1fr 1fr; }
    .launch-gallery { grid-template-columns: 1fr 1fr; }
    .octo-video-grid, .event-feature-grid { grid-template-columns: 1fr 1fr; }
    .coding-hero-art { min-height: 410px; }
}

@media (max-width: 760px) {
    .coding-hero { padding-top: 28px; }
    .coding-hero-grid { min-height: 0; }
    .coding-hero h1 { font-size: clamp(55px, 17vw, 82px); }
    .hero-facts, .coding-action-grid, .coding-category-grid, .project-idea-grid, .rule-card-grid, .timeline-grid, .event-feature-grid, .launch-gallery, .octo-video-grid, .register-callouts, .form-two, .octo-facts { grid-template-columns: 1fr; }
    .coding-action-grid a, .coding-action-grid a:first-child { border-left: 1px solid var(--line); }
    .sectionhead-row, .octostudio-heading, .video-section-head, .final-cta-inner { display: grid; align-items: start; }
    .coding-hero-art { min-height: 350px; }
    .orbit-one { width: 330px; height: 330px; }
    .orbit-two { width: 245px; height: 245px; }
    .code-lines { padding: 20px; }
    .code-lines p { font-size: 12px; }
    .theme-word-grid { grid-template-columns: 1fr; }
}
