@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;600;700;800;900&display=swap');

:root {
    --yellow: #ffd600;
    --blue: #1548f5;
    --black: #090909;
    --paper: #f5efe2;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--black);
    font-family: Inter, Arial, sans-serif;
}

.topbar {
    height: 76px;
    background: var(--yellow);
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 0 2.6vw;
    border-bottom: 2px solid #111;
    position: sticky;
    top: 0;
    z-index: 30;
}

.brand {
    font-family: Anton, Impact, sans-serif;
    font-size: 34px;
    text-decoration: none;
    color: #090909;
    white-space: nowrap;
    text-transform: uppercase;
}

.topbar nav {
    display: flex;
    gap: 5vw;
    margin: auto;
}

.topbar nav a {
    font-weight: 900;
    color: #090909;
    text-decoration: none;
    font-size: 17px;
}

.outline-btn {
    background: transparent;
    border: 2px solid #111;
    color: #111;
    padding: 14px 36px;
    font-weight: 900;
    font-size: 16px;
    text-decoration: none;
}

.outline-btn:hover {
    background: #111;
    color: var(--yellow);
}

.menu-btn {
    display: none;
    background: none;
    border: 0;
    font-size: 28px;
    margin-left: auto;
}

.hero {
    height: 500px;
    display: grid;
    grid-template-columns: 35% 65%;
    overflow: hidden;
    background: var(--yellow);
}

.hero-copy {
    padding: 22px 3.8vw;
    position: relative;
    z-index: 3;
}

.eyebrow {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .2em;
}

.hero h1 {
    font-family: Anton, Impact, sans-serif;
    font-size: clamp(82px, 9.5vw, 142px);
    line-height: .83;
    margin: 0;
}

.today {
    position: absolute;
    left: 15vw;
    bottom: 76px;
    background: var(--paper);
    border: 2px solid #111;
    box-shadow: 7px 7px 0 #111;
    padding: 15px 24px;
    display: flex;
    gap: 14px;
    align-items: center;
    font-family: Anton, Impact, sans-serif;
    font-size: 25px;
    transform: rotate(-2deg);
    white-space: nowrap;
}

.today span { font-size: 32px; color: var(--blue); }
.today i { height: 20px; border-left: 5px solid var(--blue); }

.hero-images {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    background: var(--blue);
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);
}

.shot {
    background-size: cover;
    background-position: center;
    border: 5px solid var(--paper);
}

.theatre { grid-column: 1; background-image: url('https://images.unsplash.com/photo-1503095396549-807759245b35?auto=format&fit=crop&w=1200&q=85'); }
.concert { background-image: url('https://images.unsplash.com/photo-1501386761578-eac5c94b800a?auto=format&fit=crop&w=1000&q=85'); }
.ortigia { grid-row: 1 / 3; grid-column: 2; background-image: url('https://images.unsplash.com/photo-1529260830199-42c24126f198?auto=format&fit=crop&w=900&q=85'); }

.burst {
    position: absolute;
    color: var(--yellow);
    right: 16%;
    top: 14%;
    font-size: 64px;
}

.year {
    position: absolute;
    right: 5%;
    top: 1%;
    font-family: Anton, Impact, sans-serif;
    font-size: 58px;
    line-height: .8;
}

.search-panel {
    width: 82%;
    min-height: 82px;
    margin: -39px auto 0;
    position: relative;
    z-index: 5;
    background: var(--paper);
    border: 2px solid #111;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, .18);
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr .7fr;
    padding: 10px;
}

.search-panel label {
    padding: 4px 22px;
    border-right: 1px solid #777;
}

.search-panel small {
    display: block;
    font-weight: 800;
    margin-bottom: 6px;
}

.search-panel input,
.search-panel select {
    width: 100%;
    border: 0;
    background: none;
    font: 700 17px Inter, Arial, sans-serif;
    outline: none;
}

.search-panel button {
    background: var(--blue);
    color: white;
    border: 0;
    font: 900 23px Inter, Arial, sans-serif;
    cursor: pointer;
}

.event-section { padding: 36px 2.7vw 75px; }
.section-title { display: flex; align-items: center; gap: 14px; }
.section-title span { font-size: 34px; color: var(--blue); }
.section-title h2 { font-family: Anton, Impact, sans-serif; font-size: 34px; letter-spacing: 1px; }
.section-title div { height: 2px; background: #111; flex: 1; }

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.event-card {
    height: 250px;
    background: #0a0a0a;
    color: white;
    text-decoration: none;
    display: grid;
    grid-template-columns: 76px 1fr;
    position: relative;
    overflow: hidden;
    animation: rise .45s both;
    transition: .2s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 var(--blue);
}

.date {
    z-index: 3;
    padding: 14px 9px;
    text-align: center;
    color: #070707;
    display: flex;
    flex-direction: column;
}

.date.blue { background: var(--blue); color: white; }
.date.yellow { background: var(--yellow); }
.date strong { font-family: Anton, Impact, sans-serif; font-size: 53px; line-height: 1; }
.date b { font-family: Anton, Impact, sans-serif; font-size: 26px; }
.date span { margin-top: auto; font-size: 30px; }

.event-image {
    background-size: cover;
    background-position: center;
    transition: .3s;
}

.event-info {
    position: absolute;
    left: 62%;
    top: 22px;
    right: 14px;
    bottom: 16px;
    z-index: 2;
}

.event-info em {
    font-style: normal;
    font-size: 10px;
    font-weight: 900;
    padding: 5px 7px;
    background: var(--blue);
}

.event-info em.yellow { background: var(--yellow); color: #111; }
.event-info h3 { font-family: Anton, Impact, sans-serif; font-size: 28px; line-height: 1.05; margin: 14px 0; }
.event-info p { font-size: 11px; font-weight: 700; }
.event-info a, .event-info .source { position: absolute; bottom: 0; color: white; font-weight: 800; text-decoration: none; }

.event-detail {
    padding: 70px 7vw;
    min-height: calc(100vh - 76px);
}

.event-detail h1 {
    font-family: Anton, Impact, sans-serif;
    font-size: clamp(54px, 8vw, 112px);
    line-height: .9;
    max-width: 980px;
    margin: 8px 0 24px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.detail-meta span {
    background: var(--yellow);
    border: 2px solid #111;
    padding: 12px 16px;
    font-weight: 900;
}

.detail-image {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border: 2px solid #111;
    margin-bottom: 34px;
}

.detail-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    align-items: start;
}

.detail-body h2,
.related-events h2 {
    font-family: Anton, Impact, sans-serif;
    font-size: 42px;
    margin: 0 0 18px;
}

.detail-body p {
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
}

.detail-body aside {
    background: #0a0a0a;
    color: white;
    padding: 24px;
    border: 2px solid #111;
}

.detail-body dl {
    margin: 0;
    display: grid;
    gap: 8px;
}

.detail-body dt {
    color: var(--yellow);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
}

.detail-body dd {
    margin: 0 0 12px;
    font-weight: 800;
}

.detail-action {
    display: inline-block;
    margin-top: 18px;
    background: var(--yellow);
    color: #111;
    border: 2px solid #111;
    padding: 13px 18px;
    font-weight: 900;
    text-decoration: none;
}

.related-events {
    padding: 60px 7vw 80px;
    background: var(--blue);
    color: white;
}

.categories {
    background: var(--blue);
    color: white;
    text-align: center;
    padding: 80px 30px;
}

.categories h2,
.towns h2,
.submit-form h1 {
    font-family: Anton, Impact, sans-serif;
    font-size: clamp(46px, 6vw, 82px);
    margin: 8px 0 35px;
}

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips a {
    background: var(--yellow);
    border: 2px solid #111;
    color: #111;
    padding: 15px 25px;
    font-weight: 900;
    font-size: 17px;
    text-decoration: none;
}

.towns {
    padding: 90px 7vw;
    background: var(--yellow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
}

.towns p:last-child {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.8;
    border-left: 4px solid #111;
    padding-left: 35px;
}

footer {
    background: #080808;
    color: white;
    padding: 60px 5vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

footer .brand { color: var(--yellow); }
.footer-action { justify-self: end; color: var(--yellow); font-weight: 900; text-decoration: none; font-size: 17px; }
footer small { grid-column: 1 / -1; border-top: 1px solid #444; padding-top: 25px; color: #999; }

.submit-wrap {
    min-height: calc(100vh - 76px);
    display: grid;
    place-items: center;
    padding: 40px 20px;
    background: var(--blue);
}

.submit-form {
    background: var(--yellow);
    width: min(620px, 100%);
    padding: 42px;
    display: grid;
    gap: 14px;
    border: 2px solid #111;
    box-shadow: 10px 10px 0 #111;
}

.submit-form label {
    display: grid;
    gap: 6px;
    font-weight: 900;
}

.submit-form input,
.submit-form textarea {
    padding: 14px;
    border: 2px solid #111;
    background: var(--paper);
    font: 600 15px Inter, Arial, sans-serif;
}

.submit-button {
    padding: 16px;
    border: 0;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
}

.notice {
    padding: 12px 14px;
    border: 2px solid #111;
    font-weight: 800;
}

.notice.success { background: #ddffd8; }
.notice.error { background: #ffe0e0; }

@keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
    .topbar { height: 68px; }
    .brand { font-size: 27px; }
    .menu-btn { display: block; }
    .topbar nav:not(.always-open) {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--yellow);
        padding: 25px;
        flex-direction: column;
        margin: 0;
    }
    .topbar nav.open { display: flex; }
    .outline-btn { display: none; }
    .hero { grid-template-columns: 1fr; height: 620px; }
    .hero-copy { height: 345px; }
    .hero h1 { font-size: 92px; }
    .today { left: 25px; bottom: 22px; }
    .hero-images { height: 275px; clip-path: none; }
    .search-panel { width: 92%; grid-template-columns: 1fr; margin: -20px auto 0; }
    .search-panel label { border: 0; border-bottom: 1px solid #aaa; padding: 12px; }
    .search-panel button { height: 58px; margin-top: 6px; }
    .event-grid { grid-template-columns: 1fr; }
    .event-card { height: 230px; }
    .event-detail { padding: 45px 24px; }
    .detail-body { grid-template-columns: 1fr; }
    .towns { grid-template-columns: 1fr; padding: 60px 30px; }
    .towns p:last-child { border-left: 0; border-top: 4px solid #111; padding: 25px 0 0; }
    footer { grid-template-columns: 1fr; }
    .footer-action { justify-self: start; }
}
