:root {
    color-scheme: light;
    --ink: #16171a;
    --muted: #626977;
    --paper: #f6f3ee;
    --surface: #ffffff;
    --line: rgba(22, 23, 26, 0.12);
    --red: #c7353e;
    --teal: #0d7a7f;
    --gold: #d99b35;
    --green: #3d6b48;
    --shadow: 0 18px 50px rgba(22, 23, 26, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--ink);
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--ink);
    color: var(--ink);
}

main {
    display: block;
}

body.has-reveal .intro > *,
body.has-reveal .section-heading,
body.has-reveal .location-panel,
body.has-reveal .split-content,
body.has-reveal .register > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

body.has-reveal .is-visible {
    opacity: 1;
    transform: translateY(0);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 18px clamp(18px, 5vw, 64px);
    color: #fff;
    background: linear-gradient(180deg, rgba(22, 23, 26, 0.82), rgba(22, 23, 26, 0));
    transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
    padding-block: 12px;
    background: rgba(22, 23, 26, 0.9);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
}

.brand {
    font-size: 1.05rem;
    font-weight: 850;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
    font-size: 0.9rem;
    font-weight: 700;
}

.nav-links a {
    position: relative;
    opacity: 0.9;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a::after {
    position: absolute;
    right: 0;
    bottom: -6px;
    left: 0;
    height: 2px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    padding: 9px 16px;
}

.hero,
.split {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
}

.hero {
    background: var(--ink);
}

.parallax-layer {
    position: absolute;
    inset: -15vh 0;
    z-index: -2;
    background-position: center 82%;
    background-size: cover;
    will-change: transform;
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.5) 42%, rgba(0, 0, 0, 0.18)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 38%);
}

.hero-content {
    display: grid;
    align-content: center;
    min-height: 100vh;
    width: min(760px, calc(100% - 36px));
    margin-left: clamp(18px, 7vw, 96px);
    padding-top: 76px;
    color: #fff;
    animation: fade-up 680ms ease both;
}

.kicker,
.section-label {
    margin: 0 0 14px;
    color: var(--red);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .kicker,
.split .section-label {
    color: #ffb449;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    font-size: clamp(4.2rem, 14vw, 10rem);
    line-height: 0.86;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: 0;
}

h3 {
    font-size: 1.08rem;
    line-height: 1.15;
}

.hero-copy {
    max-width: 560px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.12rem, 2vw, 1.45rem);
    line-height: 1.45;
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    padding: 0 22px;
    font-weight: 850;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.button.primary {
    background: var(--red);
    color: #fff;
}

.button.secondary {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
}

.button.dark {
    background: var(--ink);
}

.event-strip {
    position: absolute;
    right: clamp(18px, 5vw, 64px);
    bottom: 28px;
    left: clamp(18px, 5vw, 64px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    animation: fade-up 680ms 160ms ease both;
}

.event-strip span {
    padding: 18px;
    font-weight: 800;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
}

.intro,
.program,
.locations,
.register {
    padding: clamp(72px, 10vw, 132px) clamp(18px, 5vw, 64px);
}

.intro {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: clamp(34px, 7vw, 96px);
    align-items: start;
    background: var(--paper);
}

.intro-copy {
    display: grid;
    gap: 18px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.intro-copy p {
    margin-bottom: 0;
}

.image-band {
    position: relative;
    display: grid;
    min-height: 72vh;
    overflow: hidden;
    background: var(--ink);
}

.image-band img {
    width: 100%;
    height: 100%;
    min-height: 72vh;
    object-fit: cover;
    opacity: 0.78;
}

.band-copy {
    position: absolute;
    right: clamp(18px, 5vw, 64px);
    bottom: clamp(30px, 7vw, 80px);
    max-width: 680px;
    color: #fff;
}

.locations {
    background: #fff;
}

.section-heading {
    display: grid;
    gap: 16px;
    max-width: 780px;
    margin-bottom: 40px;
}

.section-heading p:last-child {
    max-width: 640px;
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.location-stack {
    display: grid;
    gap: 28px;
}

.location-panel {
    display: grid;
    grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.68fr);
    gap: 28px;
    align-items: center;
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 12px 28px rgba(22, 23, 26, 0.06);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.location-panel:hover {
    border-color: rgba(13, 122, 127, 0.28);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.location-info h3 {
    margin-bottom: 24px;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.location-note {
    margin: -8px 0 0;
    max-width: 28rem;
    color: var(--ink);
    font-size: clamp(1.05rem, 1.6vw, 1.5rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.carousel-shell > .location-note {
    grid-column: 1 / -1;
    max-width: none;
    margin: 0 0 6px;
}

.location-info dl {
    display: grid;
    gap: 16px;
    margin: 0;
}

.location-info dt {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.location-info dd {
    margin: 0;
    font-weight: 800;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
}

.countdown div {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 12px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    text-align: center;
    transition: background 180ms ease, transform 180ms ease;
}

.countdown div:hover {
    background: #fff;
    transform: translateY(-2px);
}

.countdown strong {
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1;
}

.countdown strong.is-ticking {
    animation: countdown-tick 260ms ease;
}

.countdown span {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
    text-transform: uppercase;
}

.countdown.is-finished {
    grid-template-columns: 1fr;
}

.countdown.is-finished div {
    text-align: left;
}

.carousel-shell {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 14px;
    align-items: center;
}

.carousel-shell.is-static-carousel {
    grid-template-columns: 1fr;
}

.carousel-shell.is-static-carousel .carousel-viewport {
    overflow: visible;
}

.carousel-shell.is-static-carousel .carousel-track {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    animation: none;
}

.carousel-shell.is-static-carousel .carousel-button {
    display: none;
}

.carousel-viewport {
    overflow: hidden;
    border-radius: 8px;
    outline: none;
}

.carousel-viewport:focus-visible {
    box-shadow: 0 0 0 4px rgba(13, 122, 127, 0.22);
}

.carousel-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: carousel-scroll 28s linear infinite;
}

.carousel-error {
    margin: 0;
    padding: 24px;
    color: var(--muted);
}

.carousel-viewport:hover .carousel-track,
.carousel-viewport:focus .carousel-track {
    animation-play-state: paused;
}

.company-card {
    display: grid;
    grid-template-rows: 176px auto;
    width: 256px;
    min-width: 256px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 12px 28px rgba(22, 23, 26, 0.08);
    transition: box-shadow 180ms ease, transform 180ms ease;
}

.company-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.company-card img {
    width: 100%;
    height: 176px;
    padding: 16px;
    object-fit: contain;
    object-position: center;
    background: var(--company-logo-bg, #f8fafb);
    transition: transform 220ms ease;
}

.company-card:hover img {
    transform: scale(1.02);
}

.company-card h3 {
    display: flex;
    align-items: center;
    min-height: 68px;
    margin: 0;
    padding: 16px;
}

.carousel-button {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.carousel-button:hover {
    background: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(13, 122, 127, 0.24);
}

@keyframes carousel-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 9px));
    }
}

.split {
    display: grid;
    align-items: center;
    min-height: 76vh;
    color: #fff;
}

.split-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(22, 23, 26, 0.86), rgba(22, 23, 26, 0.38)),
        radial-gradient(circle at 88% 18%, rgba(217, 155, 53, 0.22), transparent 30%);
}

.split-content {
    width: min(720px, calc(100% - 36px));
    margin-left: clamp(18px, 8vw, 112px);
}

.split-content p:last-child {
    max-width: 560px;
    margin-top: 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.12rem;
    line-height: 1.65;
}

.program {
    background: var(--paper);
}

.photo-grid {
    padding: clamp(72px, 10vw, 132px) clamp(18px, 5vw, 64px);
    background: #fff;
}

.photo-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(160px, 1fr));
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
}

.photo-strip img {
    width: 100%;
    min-width: 160px;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    object-fit: cover;
    scroll-snap-align: start;
    transition: filter 180ms ease, transform 180ms ease;
}

.photo-strip img:hover {
    filter: saturate(1.08) contrast(1.04);
    transform: translateY(-4px);
}

.program-stack {
    display: grid;
    gap: 28px;
}

.program-panel {
    display: grid;
    gap: 22px;
}

.program-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
}

.program-title h3 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.program-title .section-label {
    margin-bottom: 0;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.program-grid article {
    min-height: 230px;
    padding: 24px;
    background: var(--surface);
    transition: background 180ms ease, transform 180ms ease;
}

.program-grid article:hover {
    background: #fff;
    transform: translateY(-3px);
}

.program-grid span {
    display: inline-block;
    margin-bottom: 34px;
    color: var(--teal);
    font-weight: 900;
}

.program-grid p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.55;
}

.register {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: var(--red);
    color: #fff;
}

.register .section-label {
    color: #ffd38a;
}

.register h2 {
    max-width: 920px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 28px clamp(18px, 5vw, 64px);
    background: var(--ink);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
}

.site-footer span:first-child {
    color: #fff;
    font-weight: 850;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countdown-tick {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-2px) scale(1.05);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 860px) {
    .site-header {
        align-items: flex-start;
    }

    .nav-links {
        gap: 10px;
        font-size: 0.78rem;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .hero,
    .hero-content {
        min-height: 86vh;
    }

    .event-strip,
    .intro,
    .location-panel,
    .program-grid,
    .program-title,
    .register {
        grid-template-columns: 1fr;
    }

    .event-strip {
        right: 18px;
        left: 18px;
    }

    .event-strip span {
        padding: 12px;
    }

    .intro {
        display: grid;
    }

    .carousel-shell {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        gap: 8px;
    }

    .carousel-button {
        width: 42px;
        height: 42px;
    }

    .company-card {
        width: 214px;
        min-width: 214px;
        grid-template-rows: 146px auto;
    }

    .company-card img {
        height: 146px;
        padding: 12px;
    }

    .program-grid article {
        min-height: auto;
    }

    .program-title {
        display: grid;
        align-items: start;
    }

    .register {
        align-items: flex-start;
        display: grid;
    }
}

@media (max-width: 520px) {
    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .carousel-shell {
        grid-template-columns: 1fr;
    }

    .carousel-button {
        display: none;
    }

    .site-footer {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .parallax-layer {
        transform: none !important;
    }

    body.has-reveal .intro > *,
    body.has-reveal .section-heading,
    body.has-reveal .location-panel,
    body.has-reveal .split-content,
    body.has-reveal .register > * {
        opacity: 1;
        transform: none;
    }
}
#logo{
    height: 250px;
    resize: both;
}
#fklub-logo{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%
}
