﻿/* =========================
   Fonts
   ========================= */
@font-face {
    font-family: "Neue Haas Grotesk Display Pro";
    src: url("../fonts/neue-haas/NeueHaasDisplayXXThin.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Neue Haas Grotesk Display Pro";
    src: url("../fonts/neue-haas/NeueHaasDisplayXThin.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Neue Haas Grotesk Display Pro";
    src: url("../fonts/neue-haas/NeueHaasDisplayThin.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Neue Haas Grotesk Display Pro";
    src: url("../fonts/neue-haas/NeueHaasDisplayLight.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Neue Haas Grotesk Display Pro";
    src: url("../fonts/neue-haas/NeueHaasDisplayRoman.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Neue Haas Grotesk Display Pro";
    src: url("../fonts/neue-haas/NeueHaasDisplayMedium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Neue Haas Grotesk Display Pro";
    src: url("../fonts/neue-haas/NeueHaasDisplayBold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Neue Haas Grotesk Display Pro";
    src: url("../fonts/neue-haas/NeueHaasDisplayBlack.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
/* Italics */

@font-face {
    font-family: "Neue Haas Grotesk Display Pro";
    src: url("../fonts/neue-haas/NeueHaasDisplayRomanItalic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Neue Haas Grotesk Display Pro";
    src: url("../fonts/neue-haas/NeueHaasDisplayBoldItalic.ttf") format("truetype");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Neue Haas Grotesk Display Pro";
    src: url("../fonts/neue-haas/NeueHaasDisplayBlackItalic.ttf") format("truetype");
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}
html, body {
    margin: 0;
    padding: 0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

img {
    display: block;
}

#schedule img {
    width: 100vw;
    max-width: 100%;
    height: auto;
    display: block;
    /* center the full-bleed image inside any containing block */
    margin-left: calc((100% - 100vw) / 2);
    margin-right: calc((100% - 100vw) / 2);
}

:root {
    --conf-white: #fff;
    --conf-blue: #6683a0;
    --conf-green: #6c7f59;
    --conf-orange: #e08963;
    --conf-max: 1300px;
    --conf-pad: clamp(16px, 4vw, 48px);
    --conf-pad-half: clamp(8px, 2vw, 24px);
    --conf-tracking: 0.08em;
    --conf-gutter: clamp(5px, 1.5vw, 20px);
    --conf-vspace: clamp(48px, 6vw, 96px);
}
body {
    font-family: "ballinger-mono", monospace;
}

.conf-page {
    margin: 0;
    color: var(--conf-white);
    background: #000; /* fallback */
}

/* Full page background image */
.conf-wrap {
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

body.conf-page .conf-wrap > section:not(.conf-hero):not(.conf-footer) {
    margin-bottom: var(--conf-vspace);
}

/* HERO */
.conf-hero {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0; /* removes any baseline gap */
}

.conf-hero-img {
    width: 100%;
    height: auto;
}

/* Shared image styling */
.conf-img,
.conf-speaker {
    width: 100%;
    height: auto;
}

/* =========================
   SPLIT SECTIONS
   ========================= */

.conf-split__inner {
    max-width: var(--conf-max);
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: clamp(18px, 3vw, 56px);
}

/* Image fills its column */
.conf-split__media .conf-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Keep text readable and not too wide */
.conf-split__content-inner {
    padding: clamp(18px, 3vw, 56px);
    max-width: 720px;
}

/* Section 2: 60/40 */
.conf-split--img-right .conf-split__content {
    flex: 0 0 60%;
}

.conf-split--img-right .conf-split__media {
    flex-basis: 40%;
}

/* Title + text */
.conf-title,
.conf-text,
.conf-bigtitle {
    text-transform: uppercase;
    letter-spacing: var(--conf-tracking);
}
.conf-title {
    margin: 0 0 32px;
    font-weight: 900;
    line-height: 1.15;
    font-size: clamp(20px, 2.2vw, 28px);
    font-family: "eurostile-extended", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0.35px 0 0 currentColor, -0.35px 0 0 currentColor;
    white-space: nowrap; /* desktop behavior */
    max-width: 100%;
}

.conf-title--blue {
    color: var(--conf-blue);
}

.conf-title--green {
    color: var(--conf-green);
}

.conf-text {
    margin: 0 0 28px;
    font-weight: 300;
    line-height: 1.9;
    font-size: clamp(15px, 1.6vw, 18px);
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.92);
}
.conf-text a {
   color: inherit;
   text-decoration: none;
   font-weight: 700;
}

.conf-text a:hover {
  color: var(--conf-blue);
}
.conf-text strong {
   font-family: "eurostile-extended", sans-serif;
   font-weight: 700;
}

.schedule-block {
    margin: 0 0 26px;
}

.schedule-block .conf-text {
   margin: 0;
   line-height: 1.55;
}

.schedule-block .conf-text:first-child {
   margin-bottom: 6px; /* bold title closer to next line */
}

.schedule-block .conf-text + .conf-text {
   margin-top: 6px; /* spacing between subsequent lines */
}

/* =========================
   SCHEDULE
   ========================= */

.day {
    --col-left: 62%;
    --col-right: 38%;
    --col-gap: clamp(40px, 6vw, 120px);
    margin: 0 0 clamp(30px, 4vw, 44px);
    max-width: var(--conf-max);
    margin-left: auto;
    margin-right: auto;
}

.day__grid > * {
    min-width: 0;
}

.day__header > * {
    min-width: 0;
}

.conf-schedule > .conf-title {
    max-width: var(--conf-max);
    margin-left: auto;
    margin-right: auto;
    padding-right: var(--conf-gutter);
}

.day__header {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    column-gap: var(--col-gap);
    align-items: end;
    border-bottom: 4px solid var(--day-accent);
}

.day__head-left {
    display: flex;
    align-items: flex-end;
}

.day__head-right {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.day__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    column-gap: var(--col-gap);
    row-gap: 18px;
    padding-top: 16px;
}

.conf-schedule {
    font-family: "eurostile-extended", sans-serif;
    margin-top: clamp(0px, 2vw, 30px);
    padding-top: var(--conf-pad-half);
}

.conf-schedule .conf-title {
    margin-bottom: clamp(18px, 2.5vw, 28px);
}

.day__tag {
    background: var(--day-accent);
    color: #111;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.day__date {
    margin-left: 0;
    color: var(--day-accent);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: normal;
    padding-bottom: 10px;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Text styles */
.evt {
    margin: 0;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    white-space: normal;
    letter-spacing: 0.08em;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.35;
    color: rgba(255,255,255,0.92);
    word-break: break-word;
}

.evt--accent {
    color: var(--day-accent);
    font-weight: 900;
}

.evt--strong {
    color: #fff;
    font-weight: 900;
    font-family: "Neue Haas Grotesk Display Pro", sans-serif;
    letter-spacing: 0.12em;
}

.evt--ital {
    font-style: italic;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    font-family: "Neue Haas Grotesk Display Pro", sans-serif;
}

.evt__time {
    margin-right: 8px;
}

.evt__dot {
    margin: 0 8px;
}

.evt__spacer {
    height: 14px;
}

.evt__note {
    font-style: italic;
    opacity: 0.9;
}

/* Day accent colors  */
.day--blue {
    --day-accent: #739096;
}

.day--green {
    --day-accent: #8c9a79;
}

.day--orange {
    --day-accent: #e5b06f;
}

.day--gray {
    --day-accent: #b6ad9b;
}

.day--red {
    --day-accent: #db7e7e;
}

@media (max-width: 1100px) {
    .day {
        --col-left: 58%;
        --col-right: 42%;
        --col-gap: clamp(24px, 4vw, 72px);
    }
}

/* Responsive: collapse to 1 column */
@media (max-width: 780px) {
    .day__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .day__date {
        letter-spacing: 0.10em;
        white-space: nowrap;
    }
    .day__header {
        grid-template-columns: 1fr;
        row-gap: 10px;
    }

    .day__head-right {
        justify-content: flex-start;
    }

    .day {
        --col-left: 1fr;
        --col-right: 1fr;
        --col-gap: 0px;
    }
    .conf-schedule {
        padding-right: 18px;
        padding-left: 18px;
    }
}


/* -------------------------------------------------------
   Speakers title
------------------------------------------------------- */
.conf-speakers-title {
    padding-bottom: clamp(24px, 8vw, 58px);
    padding-top: var(--conf-pad-half);
    text-align: center;
}

.conf-bigtitle {
    max-width: var(--conf-max);
    margin: 0 auto;
    font-weight: 900;
    color: var(--conf-orange);
    line-height: 0.95;
    letter-spacing: 0.10em;
    font-size: clamp(42px, 6.2vw, 98px);
    font-family: "eurostile-extended", sans-serif;
}

.conf-bigtitle span {
   display: block;
}

/* -------------------------------------------------------
   Speakers grid
   ------------------------------------------------------- */
.conf-speakers {
    padding: 0 var(--conf-pad) var(--conf-pad);
}

.conf-speakers__grid {
    max-width: var(--conf-max);
    margin: 0 auto;
    display: grid;
    gap: clamp(12px, 2vw, 18px);
    grid-template-columns: repeat(3, 1fr);
}

.conf-speaker {
    overflow: hidden;
}

/* -------------------------------------------------------
   Map
   ------------------------------------------------------- */
.conf-map {
    padding-right: var(--conf-pad);
    padding-left: var(--conf-pad);
    padding-bottom: var(--conf-pad);
}

.conf-map__frame {
    max-width: var(--conf-max);
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.conf-map__frame iframe {
   width: 100%;
   height: clamp(320px, 45vw, 520px);
   border: 0;
   display: block;
}

/* -------------------------------------------------------
   Footer (background + overlay content)
------------------------------------------------------- */

.conf-footer {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Background image layer */
.conf-footer__bg {
    position: absolute;
    inset: 0;
    background-image: url("../images/conf26/footer.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Content layer */
.conf-footer__content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: clamp(14px, 4vw, 54px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Big title */
.conf-footer__title {
    margin: 0 0 clamp(18px, 3vw, 32px);
    font-family: "eurostile-extended", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: #fff;
    line-height: 1.1;
    font-size: clamp(20px, 3vw, 35px);
}

/* Social row */
.conf-footer__social {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
    flex-wrap: wrap;
    justify-content: center;
}

/* Icon links */
.conf-footer__social a img {
   height: clamp(28px, 4vw, 44px);
   width: auto;
   display: block;
   transition: transform 0.2s ease, opacity 0.2s ease;
}

.conf-footer__social a:hover img {
   transform: translateY(-2px) scale(1.05);
   opacity: 0.9;
}

/* Handle text */
.conf-footer__handle {
    font-family: "ballinger-mono", monospace;
    font-size: clamp(14px, 2vw, 20px);
    letter-spacing: 0.12em;
    color: #fff;
    white-space: nowrap;
}

.conf-gutter {
    padding-left: var(--conf-gutter);
    padding-right: var(--conf-gutter);
}

/* -------------------------------------------------------
   Responsive behavior
   ------------------------------------------------------- */
@media (max-width: 992px) {
    /* On medium screens: still 2 columns for speakers */
    .conf-speakers__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .conf-split__inner {
        gap: 18px;
    }
}

@media (max-width: 780px) {
    .conf-title {
        white-space: normal;
        overflow-wrap: anywhere;
        letter-spacing: 0.05em;
        font-size: clamp(18px, 5vw, 22px);
        margin-bottom: 20px;
    }
    .conf-split {
        padding: 0;
    }
    .conf-split--img-right .conf-split__content {
        padding: clamp(18px, 3vw, 56px);
    }
    .conf-split__inner,
    .conf-split--img-right .conf-split__inner {
        flex-direction: column !important;
    }

    .conf-split__media,
    .conf-split__content {
        width: 100%;
        flex: 0 0 auto;
    }

    .conf-split__media {
        height: 270px;
        overflow: hidden;
    }

    .conf-split__media .conf-img {
       width: 100%;
       height: 100%;
       object-fit: cover;
    }
    .conf-split--img-right .conf-split__media .conf-img {
        object-position: 50% 85%;
    }

    .conf-split__content-inner {
        padding: 18px;
        max-width: none;
    }
    .conf-split--img-right .conf-split__content,
    .conf-split--img-right .conf-split__media {
        flex: 0 0 auto;
        flex-basis: auto;
        width: 100%;
    }
    .conf-bigtitle {
        font-size: clamp(38px, 8vw, 70px);
        letter-spacing: 0.06em;
        padding: 0 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .conf-bigtitle {
        font-size: clamp(30px, 8vw, 50px);
        letter-spacing: 0.04em;
        width: 100%;
    }
}
