:root {
    --paper: #050B18;
    --card: rgba(255, 255, 255, .05);
    --ink: #EAF1FF;
    --mut: #9FB2D3;
    --line: rgba(255, 255, 255, .14);
    --tint: rgba(255, 255, 255, .03);
    --acc: #F2B233;
    --deep: #2F6DB0;
    --display: "Unbounded", "Arial Black", Arial, sans-serif;
    --body: "Hanken Grotesk", "Segoe UI", Arial, sans-serif;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px)
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(64px + env(safe-area-inset-top, 0px))
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    background: var(--paper)
}

body {
    margin: 0;
    color: var(--ink);
    font: 400 1.125rem/1.6 var(--body)
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(60% 50% at 12% 0%, rgba(47, 109, 176, .38), transparent 70%), radial-gradient(45% 40% at 100% 100%, rgba(242, 178, 51, .10), transparent 70%)
}

#bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, #38BDF8, #F2B233);
    z-index: 30
}

h1,
h2,
h3 {
    font-family: var(--display);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -.02em
}

h2 {
    font-size: clamp(1.7rem, 4vw, 2.9rem);
    font-weight: 800;
    max-width: 20ch
}

p {
    margin: 0 0 1em;
    max-width: 60ch
}

:focus-visible {
    outline: 3px solid var(--acc);
    outline-offset: 3px;
    border-radius: 4px
}

.wrap {
    width: min(1200px, 100% - 40px);
    margin-inline: auto
}

section {
    padding: clamp(64px, 9vw, 120px) 0
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(5, 11, 24, .72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding-top: env(safe-area-inset-top, 0px)
}

header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    gap: 16px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font: 800 1.15rem var(--display);
    text-decoration: none;
    color: var(--ink)
}

.brand-logo {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .15), 0 0 16px rgba(120, 200, 255, .3);
    flex: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

/* Logo pops out and becomes larger on hover */
.brand:hover .brand-logo,
.brand-logo:hover {
    transform: scale(1.25) translateY(-2px);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .4), 0 0 24px rgba(120, 200, 255, .6);
}





/* Hero section logo + branding flex row */
.hero-brand-heading {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.5vw, 28px);
}

.hero-logo {
    width: clamp(56px, 8vw, 84px);
    height: clamp(56px, 8vw, 84px);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .2), 0 0 30px rgba(120, 200, 255, .4);
    flex: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .4), 0 0 40px rgba(120, 200, 255, .7);
}

/* Wide screens: logo sits to the left of the hero text, outside the content column */
@media (min-width: 1600px) {
    .hero .split>div:first-child {
        position: relative;
    }

    .hero-logo {
        position: absolute;
        right: calc(100% + 40px);
        top: 36px;
        width: clamp(130px, calc((100vw - 1200px) / 2 - 80px), 214px);
        height: clamp(130px, calc((100vw - 1200px) / 2 - 80px), 214px);
    }
}









nav {
    display: flex;
    gap: 22px;
    font: 500 .95rem var(--body)
}

nav a {
    text-decoration: none;
    color: var(--mut)
}

nav a:hover {
    color: #fff
}

.apply-btn {
    display: inline-block;
    font: 800 .85rem var(--display);
    background: linear-gradient(135deg, #38BDF8, #0284C7);
    color: #050B18;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    padding: 10px 20px;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 0.03em;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.6), 0 0 30px rgba(14, 165, 233, 0.4);
    animation: pulse-glow-cyan 2.5s infinite alternate;
    transition: transform .2s, box-shadow .2s;
}

.apply-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.9), 0 0 45px rgba(14, 165, 233, 0.8);
}

@keyframes pulse-glow-cyan {
    0% {
        box-shadow: 0 0 12px rgba(56, 189, 248, 0.5), 0 0 24px rgba(14, 165, 233, 0.3);
    }

    100% {
        box-shadow: 0 0 22px rgba(56, 189, 248, 0.9), 0 0 40px rgba(14, 165, 233, 0.7);
    }
}

.btn {
    display: inline-block;
    font: 800 .9rem var(--display);
    background: linear-gradient(135deg, #FFD166, #F2B233);
    color: #0A1426;
    border: 0;
    border-radius: 999px;
    padding: 16px 28px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(242, 178, 51, .35), inset 0 1px 0 rgba(255, 255, 255, .5);
    transition: transform .2s, box-shadow .2s
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(242, 178, 51, .5), inset 0 1px 0 rgba(255, 255, 255, .5)
}

@media(max-width:820px) {
    nav {
        display: none
    }
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100svh - 60px);
    display: flex;
    align-items: center;
    padding: clamp(40px, 6vw, 80px) 0
}

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

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(520px circle at var(--mx, 68%) var(--my, 35%), rgba(120, 200, 255, .16), transparent 65%)
}

.aur {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: drift 22s ease-in-out infinite alternate
}

.aur.a {
    width: 520px;
    height: 520px;
    background: #2F6DB0;
    left: -140px;
    top: -140px;
    opacity: .55
}

.aur.b {
    width: 460px;
    height: 460px;
    background: #38BDF8;
    right: 10%;
    top: 8%;
    opacity: .3;
    animation-duration: 28s
}

.aur.c {
    width: 420px;
    height: 420px;
    background: #F2B233;
    right: -110px;
    bottom: -150px;
    opacity: .22;
    animation-duration: 34s
}

@keyframes drift {
    to {
        transform: translate(70px, 50px) scale(1.15)
    }
}

.split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(24px, 4vw, 64px);
    align-items: center
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font: 500 .8rem var(--body);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #C3D9F5;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(8px);
    margin-bottom: 26px
}

.eyebrow i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--acc);
    box-shadow: 0 0 12px var(--acc)
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: .95
}

.hero h1 span {
    display: inline-block;
    color: #fff;
    background: linear-gradient(180deg, #fff 30%, #8FBDF0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(.5em);
    filter: blur(12px);
    animation: rise .9s cubic-bezier(.2, .8, .2, 1) forwards;
    animation-delay: calc(var(--k)*70ms + 100ms)
}

.hero h1 span.g {
    background: linear-gradient(100deg, #F2B233, #FFE39A, #F2B233);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: rise .9s cubic-bezier(.2, .8, .2, 1) forwards, shine 4s linear infinite;
    animation-delay: calc(var(--k)*70ms + 100ms), 0s
}

@keyframes rise {
    to {
        opacity: 1;
        transform: none;
        filter: none
    }
}

@keyframes shine {
    to {
        background-position: -200% 0
    }
}

.hero .full {
    font: 400 clamp(1.05rem, 1.8vw, 1.3rem)/1.55 var(--body);
    color: #B4C6E4;
    margin: 24px 0 0;
    max-width: 46ch
}

.hero .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 28px;
    margin: 34px 0 0
}

.ghost {
    font: 500 1rem var(--body);
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
    padding-bottom: 2px
}

.ghost:hover {
    border-color: var(--acc)
}

.cd {
    display: flex;
    gap: 10px;
    margin: 30px 0 0
}

.cd div {
    background: rgba(242, 51, 51, 0.12);
    border: 1px solid rgba(242, 51, 51, 0.55);
    border-radius: 12px;
    padding: 10px 4px;
    min-width: 58px;
    text-align: center;
    backdrop-filter: blur(8px)
}

.cd b {
    display: block;
    font: 800 1.4rem/1 var(--display);
    background: linear-gradient(180deg, #cc5555, #c83e3e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums
}

.cd span {
    display: block;
    font: 600 .62rem var(--body);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #e87a7a;
    margin-top: 3px
}

.cd-lbl {
    font: 500 .85rem var(--body);
    color: #e87a7a;
    margin: 12px 0 0
}

.cd-lbl span {
    color: #e87a7a;
    font-weight: 700
}

/* Link styling */
/* .person-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.person-link:hover {
    color: #2f6db0;
    text-decoration: underline;
} */

/* Image zoom styling */
.sp-img-wrapper {
    overflow: hidden;
    border-radius: 50%;
    /* Keeps rounded profile image shape if applicable */
    width: 72px;
    height: 72px;
    display: inline-block;
    flex-shrink: 0;
}

.sp-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.sp-img-wrapper:hover img {
    transform: scale(1.30);
    /* Adjust scale factor as desired */
}

@media(max-width:480px) {
    .brand-logo {
        width: 34px;
        height: 34px
    }

    .cd div {
        min-width: 50px;
        padding: 8px 3px
    }

    .cd b {
        font-size: 1.15rem
    }
}

.deck {
    --sx: 38px;
    position: relative;
    height: clamp(430px, 40vw, 520px);
    perspective: 1400px
}

.dk {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform: rotateX(calc(12deg + var(--rx, 0deg))) rotateY(calc(-18deg + var(--ry, 0deg)));
    transition: transform .25s ease-out
}

.card {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: calc(5 - var(--i));
    cursor: pointer;
    pointer-events: auto;
    width: min(330px, 78%);
    padding: 16px 20px 16px 26px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .04));
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .3);
    color: #fff;
    text-decoration: none;
    /* transform: translate3d(calc(var(--i)*var(--sx)), calc(var(--i)*-82px), calc(var(--i)*-50px + var(--z, 0px))); */
    transform: translate3d(calc(var(--i)*var(--sx)), calc(var(--i)*-72px), calc(var(--i)*2px + var(--z, 0px)));
    transition: transform .35s, border-color .3s
}

.card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 4px;
    border-radius: 4px;
    background: var(--c);
    box-shadow: 0 0 16px var(--c)
}

.card:hover,
.card:focus-visible {
    --z: 40px;
    border-color: var(--c)
}

.card small {
    display: block;
    font: 500 .78rem var(--body);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #B4C6E4
}

.card b {
    display: block;
    font: 800 1.05rem/1.2 var(--display);
    margin-top: 6px
}

.orb {
    position: absolute;
    right: 4%;
    top: 0;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #FFF1C2, #F2B233 55%, #9A6500);
    box-shadow: 0 0 70px rgba(242, 178, 51, .65);
    transform: translateZ(60px);
    animation: bob 6s ease-in-out infinite alternate
}

@keyframes bob {
    to {
        translate: 0 -16px
    }
}

@media(max-width:860px) {
    .split {
        grid-template-columns: 1fr
    }

    .deck {
        --sx: 16px;
        height: 430px
    }

    .card {
        width: min(300px, 74%)
    }
}

@media(prefers-reduced-motion:reduce) {

    .aur,
    .orb,
    .hero h1 span.g {
        animation: none
    }

    .hero h1 span {
        animation-duration: .01s;
        animation-delay: 0s
    }
}

.about .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 6vw, 96px)
}

.about p {
    font-size: 1.2rem
}

.why {
    list-style: none;
    margin: 0;
    padding: 0
}

.why li {
    padding: 16px 0;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 2px
}

.why b {
    font: 800 1rem var(--display)
}

.why span {
    color: var(--mut);
    font-size: 1rem
}

@media(max-width:820px) {
    .about .wrap {
        grid-template-columns: 1fr
    }
}

.day {
    background: var(--b);
    color: var(--f);
    padding: clamp(48px, 7vw, 88px) 0
}

.day .wrap {
    display: grid;
    grid-template-columns: minmax(200px, .8fr) 2fr;
    gap: clamp(24px, 5vw, 80px)
}

.day .n {
    font: 800 clamp(6rem, 16vw, 13rem)/.8 var(--display);
    letter-spacing: -.06em
}

.day .dt {
    font: 800 1rem var(--display);
    margin-top: 20px
}

.day h3 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 24px;
    max-width: 22ch
}

.ss {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0 32px
}

.ss li {
    padding: 14px 0;
    border-top: 2px solid currentColor
}

.ss b {
    font: 700 1.15rem/1.3 var(--body);
    display: block
}

.ss span {
    opacity: .85;
    font-size: 1rem;
    display: block
}

@media(max-width:820px) {
    .day .wrap {
        grid-template-columns: 1fr
    }

    .day .n {
        font-size: 6rem
    }
}

#speakers {
    background: var(--tint);
    border-block: 1px solid var(--line)
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 14px;
    margin-top: 44px
}

.sp {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--card);
    border: 1px solid var(--line);
    padding: 14px 16px
}

.sp img {
    flex: none;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, .4);
    background: var(--line)
}

.sp b {
    font: 800 .95rem/1.25 var(--display);
    display: block
}

.sp small {
    display: block;
    color: var(--mut);
    font-size: .95rem;
    margin: 4px 0 8px;
    line-height: 1.35
}

.sp i {
    display: inline-block;
    width: 22px;
    height: 8px;
    margin-right: 4px;
    background: var(--b);
    border: 1px solid var(--ink)
}

.com {
    background: var(--card);
    border-block: 1px solid var(--line)
}

.cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 36px;
    margin-top: 44px
}

.cols h3 {
    font-size: .95rem;
    padding: 8px 12px;
    background: var(--ink);
    color: var(--paper);
    display: inline-block;
    margin-bottom: 8px
}

.cols div div {
    padding: 12px 0;
    border-bottom: 1px solid var(--line)
}

.cols b {
    font: 700 1.1rem/1.3 var(--body);
    display: block
}

.cols span {
    font-size: .98rem;
    color: var(--mut);
    line-height: 1.4;
    display: block
}

.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 44px 0 28px
}

.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    padding: 22px;
    border: 1px solid var(--line);
    background: var(--card);
    cursor: pointer;
    transition: background .2s, color .2s
}

.tile input {
    position: absolute;
    opacity: 0;
    inset: 0;
    cursor: pointer
}

.tile span {
    font: 500 1.05rem var(--body)
}

.tile b {
    font: 800 clamp(1.8rem, 3.5vw, 2.6rem)/1 var(--display);
    letter-spacing: -.04em
}

.tile:has(input:checked) {
    background: linear-gradient(135deg, #2F6DB0, #1F4E8C);
    color: #fff;
    border-color: var(--acc);
    box-shadow: 0 0 30px rgba(242, 178, 51, .25)
}

.tile:has(input:focus-visible) {
    outline: 3px solid var(--acc);
    outline-offset: 3px
}

.msg {
    font: 500 .95rem/1.4 var(--body);
    color: var(--mut);
    margin: 14px 0 0;
    min-height: 1.4em
}

.cta-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, #1F4E8C, #0F2A55);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 26px;
    margin-top: 32px
}

.cta-banner b {
    display: block;
    font: 800 1.15rem var(--display);
    color: #fff
}

.cta-banner span {
    display: block;
    font: 500 .92rem var(--body);
    color: #B4C6E4;
    margin-top: 4px
}

.reg-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0
}

.info-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column
}

.info-card h3 {
    font: 800 .95rem var(--display);
    color: var(--acc);
    margin-bottom: 10px
}

.info-card p {
    font-size: .96rem;
    color: var(--ink);
    margin: 0 0 .6em
}

.info-card p:last-child {
    margin-bottom: 0
}

.info-card a {
    color: #8FBDF0
}

.info-card .fine {
    font-style: italic;
    color: var(--mut);
    font-size: .85rem
}

.reg-fees {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px clamp(20px, 4vw, 36px);
    margin-top: 4px
}

.fees-head {
    text-align: center;
    max-width: 62ch;
    margin-inline: auto
}

.fees-head h3 {
    font: 800 1.2rem var(--display);
    color: #fff;
    margin-bottom: 10px
}

.fees-head p {
    font-size: .96rem;
    color: var(--mut);
    margin: 0 auto
}

.reg-fees em {
    color: #F2A65A;
    font-style: normal
}

.fee-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 26px 0 0
}

.fee-tile {
    background: var(--tint);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center
}

.fee-tile span {
    display: block;
    font: 500 .92rem var(--body);
    color: var(--mut);
    margin-bottom: 8px
}

.fee-tile b {
    font: 800 1.3rem var(--display);
    color: var(--acc)
}

.deadline-banner {
    margin-top: 22px;
    text-align: center;
    background: rgba(242, 106, 51, .12);
    border: 1px solid rgba(242, 106, 51, .35);
    border-radius: 12px;
    padding: 14px;
    font: 700 .72rem var(--display);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #F2A65A
}

.deadline-banner b {
    font-size: 1rem;
    letter-spacing: 0;
    text-transform: none;
    color: #fff;
    margin-left: 8px
}

@media(max-width:820px) {

    .reg-cards,
    .fee-tiles {
        grid-template-columns: 1fr
    }
}

footer {
    background: rgba(255, 255, 255, .03);
    border-top: 1px solid var(--line);
    color: var(--mut);
    padding: 48px 0 56px
}

footer .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    font-size: 1rem
}

footer b {
    color: var(--ink);
    font: 800 1.1rem var(--display);
    display: block;
    margin-bottom: 6px
}

/* .footer-contact {
    font-size: 14px;
    color: #666666;
    margin-top: 10px;
} */

.footer-contact a {
    color: cyan;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.rv {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1)
}

.rv.in {
    opacity: 1;
    transform: none
}

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

    * {
        transition: none !important
    }
}

/* ==========================================================================
   RESPONSIVE ADDITIONS (appended only; no existing rule above was edited)
   ========================================================================== */

/* Phones in landscape / notched devices: keep content clear of the side cut-outs */
.wrap {
    width: min(1200px, calc(100% - 40px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
}

/* Let grid/flex children shrink instead of forcing horizontal scroll */
.split>div,
.about .wrap>div,
.day .wrap>div,
.sp>div {
    min-width: 0;
}

/* Grids with fixed minimum column widths: never wider than the screen */
.ss {
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
}

.grid {
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}

.cols {
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}

.tiles {
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}

/* Fee amounts scale down a little on tablets so "INR 12,000 + GST" stays tidy */
.fee-tile b {
    font-size: clamp(1.05rem, 2.4vw, 1.3rem);
}

/* Small laptops / large tablets: keep the 3D step cards inside their column */
@media (min-width: 861px) and (max-width: 1060px) {
    .deck {
        --sx: 24px;
    }

    .card {
        width: min(300px, 70%);
    }

    .card b {
        font-size: .9rem;
    }
}

/* Tablets and below */
@media (max-width: 820px) {
    .cta-banner {
        padding: 20px;
    }
}

/* Large phones */
@media (max-width: 560px) {
    .cta-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cta-banner .btn {
        text-align: center;
    }

    .deadline-banner b {
        display: block;
        margin: 6px 0 0;
    }

    footer .wrap {
        flex-direction: column;
    }
}

/* Phones */
@media (max-width: 480px) {
    body {
        font-size: 1rem;
    }

    .about p {
        font-size: 1.05rem;
    }

    /* Header: brand + Apply button must fit on one line */
    .brand {
        font-size: 1rem;
    }

    .apply-btn {
        font-size: .72rem !important;
        padding: 9px 14px !important;
    }

    /* Hero */
    .eyebrow {
        font-size: .48em;
        letter-spacing: .08em;
        padding: 6px 12px;
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: clamp(1.9rem, 11vw, 2.8rem);
        min-width: 0;
    }

    .hero .row .btn {
        padding: 14px 22px;
    }

    /* Step cards: smaller so titles stay on one line */
    .deck {
        --sx: 12px;
        height: 400px;
    }

    .card {
        width: 80%;
        padding: 14px 14px 14px 22px;
    }

    .card b {
        font-size: .85rem;
    }

    .orb {
        width: 72px;
        height: 72px;
    }

    /* Programme days */
    .day .n {
        font-size: 4.5rem;
    }

    /* Speakers */
    .sp {
        padding: 12px;
        gap: 12px;
    }

    .sp img {
        width: 60px;
        height: 60px;
    }

    /* Registration */
    .info-card,
    .fee-tile {
        padding-inline: 16px;
    }
}

/* Very small phones (320-360px) */
@media (max-width: 360px) {
    .brand {
        font-size: .9rem;
    }

    .apply-btn {
        padding: 8px 11px !important;
    }

    .hero-logo {
        width: 48px;
        height: 48px;
    }

    .cd {
        gap: 6px;
    }

    .cd div {
        min-width: 46px;
    }
}

/* Footer logos (CAIML + ISI), each links to its own website */
.foot-logos {
    display: flex;
    align-items: center;
    gap: 16px;
}

.foot-logos a {
    display: block;
    line-height: 0;
    /* border-radius: 12px; */
    transition: transform .2s, box-shadow .2s;
}

.foot-logos a:hover,
.foot-logos a:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(120, 200, 255, .35);
}

.foot-logos img {
    display: block;
    height: 72px;
    width: auto;
    /* border-radius: 12px; */
    background: #fff;
}

@media (max-width: 480px) {
    .foot-logos img {
        height: 60px;
    }
}
