/* =========================================================
   PiNE 2027
   Main stylesheet
   ========================================================= */


/* ---------------------------------------------------------
   VARIABLES
   --------------------------------------------------------- */

:root {
    --background-dark: #18181c;
    --background-darker: #111114;
    --background-light: #222227;

    --purple: #7b2cbf;
    --purple-light: #9d4edd;
    --purple-bright: #b76cff;

    --text: #f2f2f4;
    --text-soft: #c7c7cd;
    --text-muted: #9999a3;

    --border: rgba(255, 255, 255, 0.10);

    --content-width: 1100px;
}


/* ---------------------------------------------------------
   RESET
   --------------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: var(--background-dark);
    color: var(--text);

    font-family:
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 17px;
    line-height: 1.75;
}


/* ---------------------------------------------------------
   LINKS
   --------------------------------------------------------- */

a {
    color: var(--purple-bright);
    text-decoration: none;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

a:hover {
    color: #d19cff;
}


/* ---------------------------------------------------------
   STICKY NAVIGATION
   --------------------------------------------------------- */

.navigation {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(17, 17, 20, 0.96);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navigation-inner {
    max-width: var(--content-width);
    margin: 0 auto;

    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 25px;
}

.nav-brand {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.nav-brand:hover {
    color: var(--purple-bright);
}

.nav-links {
    display: flex;
    align-items: stretch;
    gap: 4px;
}

.nav-links a {
    display: flex;
    align-items: center;

    min-height: 68px;

    padding: 0 16px;

    color: var(--text-soft);

    font-size: 0.92rem;
    font-weight: 600;

    border-bottom: 3px solid transparent;
}

.nav-links a:hover {
    color: white;
    background: rgba(123, 44, 191, 0.12);
}

.nav-links a.current {
    color: white;
    border-bottom-color: var(--purple-light);
    background: rgba(123, 44, 191, 0.10);
}


/* ---------------------------------------------------------
   FULL WIDTH BANNER
   --------------------------------------------------------- */

.banner {
    position: relative;

    width: 100%;
    height: min(650px, 75vh);

    min-height: 480px;

    overflow: hidden;

    background: #111;
}

.banner img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.banner-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 10, 13, 0.82) 0%,
            rgba(10, 10, 13, 0.52) 45%,
            rgba(10, 10, 13, 0.68) 100%
        );

    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;

    width: min(1100px, 90%);

    height: 100%;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: flex-start;
}

.banner-label {
    margin: 0 0 12px;

    color: var(--purple-bright);

    font-size: 0.85rem;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.banner h1 {
    margin: 0;

    color: white;

    font-size: clamp(3.2rem, 8vw, 6.5rem);
    line-height: 0.95;

    font-weight: 800;
    letter-spacing: -0.04em;
}

.banner-title {
    max-width: 850px;

    margin: 22px 0 0;

    color: white;

    font-size: clamp(1.25rem, 2.5vw, 2rem);
    line-height: 1.3;

    font-weight: 400;
}

.banner-divider {
    width: 70px;
    height: 4px;

    margin: 30px 0 22px;

    background: var(--purple-light);
}

.banner-date {
    margin: 0;

    color: white;

    font-size: 1.15rem;
    font-weight: 700;
}

.banner-location {
    margin: 2px 0 0;

    color: var(--text-soft);

    font-size: 1rem;
}


/* ---------------------------------------------------------
   GENERAL SECTIONS
   --------------------------------------------------------- */

.section {
    width: 100%;

    padding: 95px 25px;
}

.section-dark {
    background: var(--background-dark);
}

.section-alt {
    background: var(--background-light);
}

.content {
    width: min(var(--content-width), 100%);

    margin: 0 auto;
}


/* ---------------------------------------------------------
   HEADINGS
   --------------------------------------------------------- */

.section-number {
    margin: 0 0 6px;

    color: var(--purple-light);

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-align: center;
}

h2 {
    margin: 0;

    color: white;

    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;

    font-weight: 700;

    text-align: center;
}

.heading-line {
    width: 55px;
    height: 3px;

    margin: 22px auto 48px;

    background: var(--purple-light);
}


/* ---------------------------------------------------------
   TEXT CONTENT
   --------------------------------------------------------- */

.text-content {
    max-width: 900px;

    margin: 0 auto;

    color: var(--text-soft);

    text-align: center;
}

.text-content p {
    margin: 0 0 24px;
}

.text-content p:last-child {
    margin-bottom: 0;
}

strong {
    color: white;
}


/* ---------------------------------------------------------
   KEY DATES
   --------------------------------------------------------- */

.dates {
    max-width: 950px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.date-item {
    min-height: 150px;

    padding: 30px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.date-label {
    color: var(--text-muted);

    font-size: 0.85rem;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.date-value {
    margin-top: 7px;

    color: white;

    font-size: 1.5rem;
    font-weight: 700;
}

.date-item:hover {
    background: rgba(123, 44, 191, 0.08);
}


/* ---------------------------------------------------------
   ORGANISERS
   --------------------------------------------------------- */

.organiser {
    max-width: 950px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 280px 1fr;

    gap: 60px;

    align-items: center;
}

.organiser-logo {
    display: block;

    width: 100%;
    max-width: 250px;

    height: auto;

    margin: 0 auto;
}

.organiser-text {
    color: var(--text-soft);
}

.organiser-text p {
    margin-top: 0;
    margin-bottom: 22px;
}

.organiser-text p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   SPONSORS
   --------------------------------------------------------- */

.sponsor-content {
    max-width: 750px;

    margin: 0 auto;

    color: var(--text-soft);

    text-align: center;
}

.sponsor-content p {
    margin: 0 0 20px;
}

.email-link {
    display: inline-block;

    margin-top: 15px;

    padding: 12px 24px;

    color: white;

    background: var(--purple);

    border: 1px solid var(--purple-light);

    border-radius: 5px;

    font-weight: 700;
}

.email-link:hover {
    color: white;

    background: var(--purple-light);
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

footer {
    background: var(--background-darker);

    border-top: 1px solid var(--border);

    padding: 35px 25px;
}

.footer-inner {
    max-width: var(--content-width);

    margin: 0 auto;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    color: var(--text-muted);

    font-size: 0.9rem;
}

.footer-inner p {
    margin: 0;
}

.footer-inner a {
    color: var(--text-soft);
}

.footer-inner a:hover {
    color: var(--purple-bright);
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 850px) {

    .navigation-inner {
        min-height: auto;

        padding: 12px 18px;

        flex-direction: column;
        gap: 8px;
    }

    .nav-links {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;
    }

    .nav-links a {
        min-height: 42px;

        padding: 6px 10px;

        border-bottom-width: 2px;

        font-size: 0.82rem;
    }

    .banner {
        height: 600px;
    }

    .banner-content {
        width: 88%;
    }

    .organiser {
        grid-template-columns: 1fr;

        gap: 40px;

        text-align: center;
    }

    .organiser-logo {
        max-width: 220px;
    }

    .organiser-text {
        text-align: center;
    }
}


@media (max-width: 600px) {

    body {
        font-size: 16px;
    }

    .navigation-inner {
        padding-left: 10px;
        padding-right: 10px;
    }

    .nav-brand {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 0;
    }

    .nav-links a {
        padding-left: 7px;
        padding-right: 7px;

        font-size: 0.75rem;
    }

    .banner {
        min-height: 500px;
        height: 75vh;
    }

    .banner-label {
        font-size: 0.7rem;
        letter-spacing: 0.12em;
    }

    .banner-title {
        font-size: 1.15rem;
    }

    .banner-divider {
        margin-top: 22px;
        margin-bottom: 18px;
    }

    .banner-date {
        font-size: 1rem;
    }

    .section {
        padding: 70px 20px;
    }

    .heading-line {
        margin-bottom: 35px;
    }

    .dates {
        grid-template-columns: 1fr;
    }

    .date-item {
        min-height: 120px;
        padding: 25px 15px;
    }

    .footer-inner {
        flex-direction: column;

        text-align: center;
    }
}

/* =========================================================
   REGISTRATION PAGE
   ========================================================= */

.registration-content {
    max-width: 800px;
    margin: 0 auto;

    text-align: center;
    color: var(--text-soft);
}

.registration-content p {
    margin: 0 auto 25px;
}


/* Registration status */

.registration-status {
    display: inline-block;

    margin-bottom: 35px;
    padding: 10px 22px;

    color: white;

    background: rgba(123, 44, 191, 0.18);

    border: 1px solid var(--purple);

    border-radius: 4px;

    font-weight: 700;
    letter-spacing: 0.02em;
}


/* Registration price */

.registration-price {
    margin: 20px 0 35px;

    color: white;

    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 1;

    font-weight: 800;
    letter-spacing: -0.04em;
}

.registration-price::after {
    content: " registration fee";

    display: block;

    margin-top: 12px;

    color: var(--text-muted);

    font-size: 0.9rem;
    font-weight: 500;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* What's included */

.registration-includes {
    max-width: 1000px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.include-item {
    padding: 40px 30px;

    text-align: center;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.include-number {
    margin-bottom: 15px;

    color: var(--purple-light);

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 0.15em;
}

.include-item h3 {
    margin: 0 0 15px;

    color: white;

    font-size: 1.25rem;
}

.include-item p {
    margin: 0;

    color: var(--text-muted);

    font-size: 0.95rem;
    line-height: 1.65;
}


/* Registration action */

.registration-action {
    max-width: 700px;

    margin: 0 auto;

    color: var(--text-soft);

    text-align: center;
}

.registration-action p {
    margin: 0 0 30px;
}


/* Actual registration button */

.registration-button {
    display: inline-block;

    padding: 15px 32px;

    color: white;

    background: var(--purple);

    border: 1px solid var(--purple-light);
    border-radius: 5px;

    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.registration-button:hover {
    color: white;

    background: var(--purple-light);

    transform: translateY(-2px);
}


/* Coming soon placeholder */

.registration-coming-soon {
    display: inline-block;

    padding: 14px 25px;

    color: var(--text-muted);

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid var(--border);

    border-radius: 5px;

    font-size: 0.9rem;
}


/* Contact */

.registration-contact {
    max-width: 700px;

    margin: 0 auto;

    color: var(--text-soft);

    text-align: center;
}

.registration-contact p {
    margin: 0 0 25px;
}


/* ---------------------------------------------------------
   REGISTRATION MOBILE
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .registration-includes {
        grid-template-columns: 1fr;
    }

    .include-item {
        padding: 35px 25px;
    }

}

/* =========================================================
   ABSTRACT SUBMISSION PAGE
   ========================================================= */


/* ---------------------------------------------------------
   INTRO
   --------------------------------------------------------- */

.abstract-intro {
    max-width: 800px;

    margin: 0 auto;

    color: var(--text-soft);

    text-align: center;
}

.abstract-intro p {
    margin: 0 0 22px;
}

.abstract-intro p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   ABSTRACT CATEGORIES
   --------------------------------------------------------- */

.abstract-categories {
    max-width: 1000px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.abstract-category {
    min-height: 100px;

    padding: 25px 30px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: white;

    text-align: center;

    font-size: 1rem;
    font-weight: 600;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.abstract-category:hover {
    color: white;

    background: rgba(123, 44, 191, 0.14);
}

.abstract-category span {
    margin-left: 6px;

    color: var(--text-muted);

    font-size: 0.85rem;
    font-weight: 400;
}


/* ---------------------------------------------------------
   ABSTRACT SUBMISSION
   --------------------------------------------------------- */

.abstract-submission {
    max-width: 750px;

    margin: 0 auto;

    color: var(--text-soft);

    text-align: center;
}

.abstract-submission > p {
    margin: 0 0 25px;
}


/* Submission status */

.submission-status {
    display: inline-block;

    margin: 10px 0 30px;

    padding: 13px 25px;

    color: white;

    background: rgba(123, 44, 191, 0.18);

    border: 1px solid var(--purple);

    border-radius: 5px;

    font-weight: 700;
}


/* Actual submission button */

.submission-button {
    display: inline-block;

    margin: 10px 0 30px;

    padding: 15px 32px;

    color: white;

    background: var(--purple);

    border: 1px solid var(--purple-light);
    border-radius: 5px;

    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.submission-button:hover {
    color: white;

    background: var(--purple-light);

    transform: translateY(-2px);
}


/* Small note */

.submission-note {
    color: var(--text-muted);

    font-size: 0.9rem;
}


/* ---------------------------------------------------------
   PRESENTATION FORMAT
   --------------------------------------------------------- */

.presentation-content {
    max-width: 800px;

    margin: 0 auto;

    color: var(--text-soft);

    text-align: center;
}

.presentation-content p {
    margin: 0 0 24px;
}

.presentation-content p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   DEADLINE
   --------------------------------------------------------- */

.deadline {
    max-width: 700px;

    margin: 50px auto 0;

    padding: 28px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.deadline-label {
    color: var(--text-muted);

    font-size: 0.85rem;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.deadline-value {
    color: white;

    font-size: 1.4rem;
    font-weight: 700;
}


/* ---------------------------------------------------------
   BURSARIES
   --------------------------------------------------------- */

.bursary-content {
    max-width: 800px;

    margin: 0 auto;

    color: var(--text-soft);

    text-align: center;
}

.bursary-content p {
    margin: 0 0 24px;
}


/* ---------------------------------------------------------
   ABSTRACT MOBILE
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .abstract-categories {
        grid-template-columns: 1fr;
    }

    .abstract-category {
        min-height: 80px;

        padding: 22px 20px;
    }

    .deadline {
        flex-direction: column;

        text-align: center;
    }

}

/* =========================================================
   PROGRAMME PAGE
   ========================================================= */


/* ---------------------------------------------------------
   INTRO
   --------------------------------------------------------- */

.programme-intro {
    max-width: 800px;

    margin: 0 auto;

    color: var(--text-soft);

    text-align: center;
}

.programme-intro p {
    margin: 0 0 24px;
}

.programme-intro p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   PROGRAMME STATUS
   --------------------------------------------------------- */

.programme-status {
    display: table;

    margin: 45px auto 0;

    padding: 13px 26px;

    color: white;

    background: rgba(123, 44, 191, 0.18);

    border: 1px solid var(--purple);

    border-radius: 5px;

    font-weight: 700;
}


/* ---------------------------------------------------------
   WHAT TO EXPECT
   --------------------------------------------------------- */

.programme-items {
    max-width: 1000px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}

.programme-item {
    padding: 40px 30px;

    text-align: center;

    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.programme-item-number {
    margin-bottom: 14px;

    color: var(--purple-light);

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 0.15em;
}

.programme-item h3 {
    margin: 0 0 15px;

    color: white;

    font-size: 1.2rem;
}

.programme-item p {
    margin: 0;

    color: var(--text-muted);

    font-size: 0.95rem;
    line-height: 1.65;
}


/* ---------------------------------------------------------
   CATERING
   --------------------------------------------------------- */

.catering-content {
    max-width: 800px;

    margin: 0 auto;

    color: var(--text-soft);

    text-align: center;
}

.catering-content p {
    margin: 0 0 24px;
}


/* Conference dinner */

.dinner-date {
    max-width: 650px;

    margin: 40px auto 0;

    padding: 25px 30px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.dinner-date span {
    color: var(--text-muted);

    font-size: 0.85rem;
    font-weight: 600;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dinner-date strong {
    color: white;

    font-size: 1.3rem;
}


/* ---------------------------------------------------------
   DIETARY REQUIREMENTS
   --------------------------------------------------------- */

.dietary-content {
    max-width: 750px;

    margin: 0 auto;

    color: var(--text-soft);

    text-align: center;
}

.dietary-content p {
    margin: 0 0 24px;
}

.dietary-content p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   PROGRAMME MOBILE
   --------------------------------------------------------- */

@media (max-width: 750px) {

    .programme-items {
        grid-template-columns: 1fr;
    }

    .programme-item {
        padding: 35px 25px;
    }

    .dinner-date {
        flex-direction: column;

        text-align: center;
    }

}

/* =========================================================
   CONTACT PAGE
   ========================================================= */


/* ---------------------------------------------------------
   CONTACT
   --------------------------------------------------------- */

.contact-content {
    max-width: 750px;

    margin: 0 auto;

    color: var(--text-soft);

    text-align: center;
}

.contact-content p {
    margin: 0 0 28px;
}


/* ---------------------------------------------------------
   DIRECTIONS
   --------------------------------------------------------- */

.directions-content {
    max-width: 800px;

    margin: 0 auto;

    color: var(--text-soft);

    text-align: center;
}

.directions-content p {
    margin: 0 0 24px;
}

.directions-content p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   ADDRESS
   --------------------------------------------------------- */

.address {
    max-width: 500px;

    margin: 45px auto 0;

    padding: 30px;

    text-align: center;

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.address-label {
    display: block;

    margin-bottom: 12px;

    color: var(--purple-light);

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.address address {
    color: white;

    font-style: normal;

    line-height: 1.7;
}


/* ---------------------------------------------------------
   MAP
   --------------------------------------------------------- */

.map-content {
    max-width: 1000px;

    margin: 0 auto;

    text-align: center;
}

.map-content > p {
    max-width: 750px;

    margin: 0 auto 35px;

    color: var(--text-soft);
}

.map-wrapper {
    width: 100%;

    overflow: hidden;

    border: 1px solid var(--border);
}

.map-wrapper iframe {
    display: block;

    width: 100%;

    height: 450px;

    border: 0;
}


/* ---------------------------------------------------------
   FINAL CONTACT CTA
   --------------------------------------------------------- */

.contact-final {
    max-width: 700px;

    margin: 0 auto;

    color: var(--text-soft);

    text-align: center;
}

.contact-final p {
    margin: 0 0 12px;
}

.contact-final .email-link {
    margin-top: 25px;
}


/* ---------------------------------------------------------
   CONTACT MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .map-wrapper iframe {
        height: 350px;
    }

    .address {
        padding: 25px 15px;
    }

}

.nav-logo {
    height: 60px;
    width: auto;
    display: block;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
}