@font-face {
    font-family: 'Masqualero';
    src: url('/fonts/Masqualero W04 Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Masqualero';
    src: url('/fonts/Masqualero W04 ExtraBlack Italic.woff2') format('woff2');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow Condensed';
    src: url('/fonts/BarlowCondensed-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-BlackItalic.woff2') format('woff2');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --space: #00170d;
    --black: #030805;
    --green: #27e34f;
    --pink: #f34887;
    --cream: #f5e9df;
    --white: #fffdf8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--black);
    background: var(--black);
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
}

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

.shell {
    width: min(100% - 8vw, 1360px);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    background: var(--white);
    transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.hero {
    position: relative;
    min-height: min(940px, 100svh);
    overflow: hidden;
    color: var(--white);
    background-color: var(--space);
    background-image: url('/assets/shakathon/hero-space-car.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 23, 13, .08);
    pointer-events: none;
}

.nav {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
    padding-top: 30px;
}

.brand { width: 142px; }
.brand img { width: 100%; filter: brightness(0) invert(1); }

.nav-links {
    display: flex;
    gap: 44px;
}

.nav-links a {
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    border: 2px solid var(--black);
    color: var(--black);
    background: var(--white);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 25px;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .01em;
    transform: skew(-5deg);
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.button:hover,
.button:focus-visible {
    color: var(--white);
    background: var(--pink);
    transform: skew(-5deg) translateY(-3px);
}

.button-small {
    justify-self: end;
    min-height: 45px;
    padding-inline: 25px;
    border: 0;
    font-size: 17px;
}

.hero-title {
    position: absolute;
    z-index: 1;
    top: 10%;
    left: 3vw;
    width: 94vw;
    color: var(--green);
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(112px, 17.2vw, 330px);
    font-weight: 900;
    font-style: italic;
    line-height: .82;
    letter-spacing: -.035em;
    white-space: nowrap;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    min-height: min(940px, 100svh);
    align-items: flex-end;
    padding-bottom: 12vh;
}

.hero-copy { width: min(430px, 40vw); }

.eyebrow,
.event-date {
    margin: 0 0 22px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(30px, 3.2vw, 56px);
    font-weight: 900;
    line-height: .96;
    letter-spacing: -.025em;
    text-transform: uppercase;
}

.eyebrow { max-width: 9ch; }

.event-date {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(20px, 1.7vw, 30px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.event-date strong { color: var(--green); }

.hero-meta {
    margin: 18px 0 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.lead-partners {
    padding: 40px 0 48px;
    color: var(--cream);
    background: var(--black);
}

.section-kicker {
    margin: 0 0 24px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-align: center;
    text-transform: uppercase;
}

.lead-partner-grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    align-items: center;
    gap: clamp(30px, 6vw, 90px);
    max-width: 980px;
    margin: 0 auto;
}

.lead-partner-grid a {
    display: flex;
    min-height: 86px;
    align-items: center;
    justify-content: center;
}

.lead-partner-grid img {
    width: min(100%, 360px);
    max-height: 78px;
    object-fit: contain;
}

.partner-divider { width: 1px; height: 70px; background: rgba(245, 233, 223, .34); }

.manifesto {
    padding: clamp(84px, 10vw, 150px) 0;
    background: var(--cream);
}

.manifesto-intro {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: end;
    gap: 9vw;
}

.manifesto h1 {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(42px, 5.3vw, 82px);
    line-height: .98;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.manifesto h1 span { color: var(--pink); }

.manifesto-intro > p {
    max-width: 580px;
    margin: 0;
    font-size: clamp(16px, 1.25vw, 20px);
    line-height: 1.65;
}

.project-recipient {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: clamp(54px, 6vw, 84px);
    padding: 28px 0;
    border-top: 1px solid rgba(3, 8, 5, .22);
    border-bottom: 1px solid rgba(3, 8, 5, .22);
    text-decoration: none;
}

.project-recipient span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.project-recipient img {
    width: min(210px, 38vw);
    height: auto;
}

.pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: clamp(70px, 9vw, 120px);
}

.pillars article {
    min-height: 150px;
    padding: 0 clamp(20px, 3vw, 44px);
    border-left: 1px solid rgba(3, 8, 5, .22);
}

.pillars article:first-child { padding-left: 0; border-left: 0; }
.pillars h2 { margin: 0 0 14px; font-size: 20px; text-transform: uppercase; }
.pillars p { margin: 0; font-size: 14px; line-height: 1.7; }

.experience {
    position: relative;
    min-height: 650px;
    display: flex;
    color: var(--white);
    background-color: var(--space);
    background-image: url('/assets/shakathon/hero-space-car.webp');
    background-repeat: no-repeat;
    background-position: 78% 44%;
    background-size: cover;
}

.experience::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 16, 9, .62);
}

.experience-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}

.experience-copy { width: min(620px, 54%); padding: 88px 0; }
.experience .section-kicker { color: var(--green); text-align: left; }

.experience h2 {
    margin: 0;
    color: var(--pink);
    font-size: clamp(54px, 6.3vw, 96px);
    line-height: .9;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.experience-lead {
    max-width: 540px;
    margin: 34px 0;
    font-size: clamp(17px, 1.45vw, 22px);
    line-height: 1.6;
}

.rhythms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--pink);
    border-bottom: 1px solid rgba(245, 233, 223, .35);
}

.rhythms div { padding: 22px 28px 22px 0; }
.rhythms div + div { padding-left: 28px; border-left: 1px solid rgba(245, 233, 223, .35); }
.rhythms strong { display: block; color: var(--pink); text-transform: uppercase; }
.rhythms span { display: block; margin-top: 5px; font-size: 14px; }
.hydration { margin: 22px 0 0; font-size: 14px; }

.apply {
    padding: clamp(90px, 10vw, 150px) 0 70px;
    color: var(--cream);
    text-align: center;
    background: var(--black);
}

.apply h2 {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    letter-spacing: -.06em;
    font-size: clamp(52px, 7vw, 108px);
    line-height: .95;
    text-transform: uppercase;
}

.apply > .shell > p:not(.section-kicker) { margin: 24px auto 34px; }
.button-pink { background: var(--pink); }
.button-pink:hover,
.button-pink:focus-visible { color: var(--black); background: var(--green); }

.supporting-partners {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: clamp(24px, 3.5vw, 54px);
    align-items: center;
    margin-top: 100px;
    padding-top: 44px;
    border-top: 1px solid rgba(245, 233, 223, .22);
}

.supporting-partners a { display: flex; align-items: center; justify-content: center; }
.supporting-partners img { width: 100%; height: 52px; object-fit: contain; }
.supporting-partners a:nth-child(1) img { height: 40px; }
.supporting-partners a:nth-child(2) img { height: 50px; }
.supporting-partners a:nth-child(4) img { height: 78px; }
.supporting-partners a:nth-child(5) img { height: 72px; }
.logo-invert { filter: brightness(0) invert(1); }

footer { padding: 30px 0; color: rgba(245, 233, 223, .7); background: var(--black); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(245, 233, 223, .16); padding-top: 30px; }
.footer-inner img { width: 96px; filter: brightness(0) invert(1); }
.footer-inner p { margin: 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 900px) {
    .shell { width: min(100% - 40px, 720px); }
    .nav { grid-template-columns: 1fr auto; }
    .nav-links { display: none; }
    .hero { min-height: 900px; background-position: 64% center; }
    .hero-title { top: 17%; left: 16px; font-size: clamp(72px, 17vw, 138px); }
    .hero-content { min-height: 900px; padding-bottom: 55px; }
    .hero-copy { width: 100%; }
    .manifesto-intro { grid-template-columns: 1fr; gap: 38px; }
    .pillars { grid-template-columns: 1fr 1fr; row-gap: 44px; }
    .pillars article:nth-child(3) { padding-left: 0; border-left: 0; }
    .experience-copy { width: 78%; }
}

@media (max-width: 600px) {
    .shell { width: min(100% - 32px, 520px); }
    .brand { width: 108px; }
    .button-small { min-height: 40px; padding: 12px 18px; font-size: 15px; }
    .hero { min-height: 760px; background-position: 61% center; }
    .hero::after { background: rgba(0, 20, 11, .36); }
    .hero-title { top: 16%; font-size: 19vw; }
    .hero-content { min-height: 760px; padding-bottom: 62px; }
    .hero-copy { text-shadow: 0 2px 24px rgba(0, 0, 0, .65); }
    .eyebrow { max-width: 10ch; }
    .event-date { font-size: 18px; }
    .hero-meta { max-width: 260px; line-height: 1.5; }
    .lead-partner-grid { grid-template-columns: 1fr; gap: 24px; }
    .partner-divider { width: 100%; height: 1px; }
    .lead-partners { padding-block: 34px; }
    .manifesto { padding-block: 72px; }
    .manifesto h1 { font-size: 43px; }
    .project-recipient { align-items: flex-start; flex-direction: column; gap: 22px; }
    .project-recipient img { width: 180px; }
    .pillars { grid-template-columns: 1fr; margin-top: 64px; gap: 30px; }
    .pillars article,
    .pillars article:nth-child(3) { min-height: auto; padding: 0 0 28px; border: 0; border-bottom: 1px solid rgba(3, 8, 5, .22); }
    .experience { min-height: 690px; background-position: 66% center; }
    .experience::before { background: rgba(0, 16, 9, .75); }
    .experience-copy { width: 100%; padding-block: 70px; }
    .experience h2 { font-size: 52px; }
    .rhythms { grid-template-columns: 1fr; }
    .rhythms div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(245, 233, 223, .35); }
    .supporting-partners { grid-template-columns: 1fr 1fr; gap: 36px 28px; margin-top: 72px; }
    .supporting-partners img { height: 38px; }
    .supporting-partners a:nth-child(1) img { height: 32px; }
    .supporting-partners a:nth-child(2) img { height: 42px; }
    .supporting-partners a:nth-child(4) img,
    .supporting-partners a:nth-child(5) img { height: 52px; }
    .footer-inner { align-items: flex-start; gap: 24px; }
    .footer-inner p { max-width: 190px; text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button { transition: none; }
}
