/* Alfie Kelly temporary one-page website */

:root {
    --background: #17110e;
    --background-soft: #241914;
    --paper: #f1e6d7;
    --paper-light: #fff9f1;
    --dark-text: #211712;
    --light-text: #f9efe3;
    --muted-text: #cbb7a2;
    --accent: #c97935;
    --accent-dark: #8e481e;
    --light-border: rgba(255, 255, 255, 0.14);
    --dark-border: rgba(33, 23, 18, 0.14);
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
    --radius: 24px;
    --page-width: 1180px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--light-text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

a:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

.shell {
    width: min(calc(100% - 2rem), var(--page-width));
    margin-inline: auto;
}

.narrow {
    max-width: 860px;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 999;
    padding: 0.8rem 1rem;
    background: #ffffff;
    color: #000000;
    border-radius: 8px;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 10;
    padding: 1.25rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.035em;
}

.brand-tagline {
    color: var(--muted-text);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    gap: 1.5rem;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.site-nav a:hover {
    color: #ffffff;
}

.hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    padding: 8.5rem 0 5rem;
    scroll-snap-align: start;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(201, 121, 53, 0.16),
            transparent 30rem
        ),
        linear-gradient(
            145deg,
            #17110e 0%,
            #211611 50%,
            #120e0c 100%
        );
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 28%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(0, 0, 0, 0.18)
    );
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    pointer-events: none;
}

.hero-glow-one {
    top: 8%;
    right: -8%;
    width: 34rem;
    height: 34rem;
    background: var(--accent);
}

.hero-glow-two {
    bottom: 4%;
    left: -10%;
    width: 24rem;
    height: 24rem;
    background: #6e3218;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(320px, 0.75fr);
    align-items: start;
    gap: clamp(2.5rem, 4vw, 4rem);
}

.hero-copy {
    max-width: 720px;
}

.eyebrow,
.section-kicker {
    margin: 0 0 1rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.86;
    letter-spacing: -0.075em;
}

h2 {
    margin-bottom: 1.35rem;
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 1;
    letter-spacing: -0.055em;
}

h3 {
    margin-bottom: 0.65rem;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.hero-lead {
    max-width: 680px;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.6vw, 2.1rem);
    line-height: 1.25;
    font-weight: 750;
}

.hero-text {
    max-width: 650px;
    margin-bottom: 2rem;
    color: var(--muted-text);
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.8rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 850;
    text-decoration: none;
    transition:
        transform 160ms ease,
        background 160ms ease,
        border-color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--accent);
    color: #ffffff;
}

.button-primary:hover {
    background: var(--accent-dark);
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.button-secondary:hover {
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.1);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-points li {
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--light-border);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.82rem;
    font-weight: 750;
}

.poster-card {
    position: relative;
    margin: 0;
    transform: rotate(2.5deg);
}

.poster-card::before {
    content: "";
    position: absolute;
    inset: 2.2rem -1.2rem -1.2rem 1.2rem;
    z-index: -1;
    border-radius: var(--radius);
    background: rgba(201, 121, 53, 0.2);
}

.poster-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.poster-card figcaption {
    margin-top: 1rem;
    color: var(--muted-text);
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
}

.section {
    padding: clamp(5rem, 10vw, 9rem) 0;
    scroll-snap-align: start;
}

.section-light {
    background: var(--paper);
    color: var(--dark-text);
}

.section-light .section-kicker {
    color: var(--accent-dark);
}

.large-copy {
    color: #5f493d;
    font-size: clamp(1.2rem, 2.2vw, 1.65rem);
    line-height: 1.55;
}

.section-dark {
    background: #120e0c;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.section-heading > div {
    max-width: 760px;
}

.text-link {
    flex: 0 0 auto;
    color: var(--accent);
    font-weight: 850;
}

.booking-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.booking-card {
    min-height: 240px;
    padding: 1.6rem;
    border: 1px solid var(--light-border);
    border-radius: var(--radius);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.045),
        rgba(255, 255, 255, 0.015)
    );
}

.booking-number {
    display: inline-block;
    margin-bottom: 3rem;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.booking-card p {
    margin-bottom: 0;
    color: var(--muted-text);
}

.section-accent {
    background: linear-gradient(
        135deg,
        rgba(201, 121, 53, 0.96),
        rgba(142, 72, 30, 0.98)
    );
    color: #ffffff;
}

.section-accent .section-kicker {
    color: #20130d;
}

.connect-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px;
    align-items: center;
    gap: clamp(3rem, 8vw, 7rem);
}

.connect-grid > div {
    max-width: 720px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.75rem 0;
}

.social-links a {
    padding: 0.7rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    font-weight: 850;
    text-decoration: none;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.13);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-list a {
    width: fit-content;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 850;
}

.qr-card {
    display: block;
    padding: 1.25rem;
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--dark-text);
    text-align: center;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform 160ms ease;
}

.qr-card:hover {
    transform: translateY(-4px) rotate(-1deg);
}

.qr-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}

.qr-card span {
    display: block;
    margin-top: 0.8rem;
    font-weight: 900;
}

.site-footer {
    padding: 1.4rem 0;
    border-top: 1px solid var(--light-border);
    background: #0d0a08;
    color: var(--muted-text);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.footer-inner p {
    margin: 0;
    font-size: 0.85rem;
}

@media (max-width: 900px) {

    .hero {
        min-height: auto;
        padding-top: 8rem;
    }

    .hero-grid,
    .connect-grid {
        grid-template-columns: 1fr;
    }

    .poster-card {
        max-width: 540px;
        margin-inline: auto;
    }

    .booking-grid {
        grid-template-columns: 1fr;
    }

    .connect-grid {
        text-align: center;
    }

    .connect-grid > div {
        margin-inline: auto;
    }

    .social-links,
    .contact-list {
        align-items: center;
        justify-content: center;
    }

    .qr-card {
        width: min(100%, 200px);
        margin-inline: auto;
    }

}

@media (max-width: 680px) {

    .site-header {
        position: relative;
        background: #120e0c;
    }

    .header-inner,
    .section-heading,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        width: 100%;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .hero {
        padding-top: 4rem;
    }

    h1 {
        font-size: clamp(3.8rem, 22vw, 6rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .poster-card {
        transform: none;
    }

}

/* ─── Animations ─── */

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(48px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes glow-drift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(24px, -20px) scale(1.1);
    }
}

@keyframes poster-entrance {
    from {
        opacity: 0;
        transform: translateY(60px) rotate(0deg) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(2.5deg) scale(1);
    }
}

/* Hero entrance – staggered */

.hero .eyebrow,
.hero h1,
.hero .hero-lead,
.hero .hero-text,
.hero .hero-actions,
.hero .hero-points {
    opacity: 0;
    animation: fade-in-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero .poster-card {
    opacity: 0;
    animation: poster-entrance 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero .eyebrow       { animation-delay: 0.15s; }
.hero h1             { animation-delay: 0.3s; }
.hero .hero-lead     { animation-delay: 0.5s; }
.hero .hero-text     { animation-delay: 0.65s; }
.hero .hero-actions  { animation-delay: 0.8s; }
.hero .hero-points   { animation-delay: 0.95s; }
.hero .poster-card   { animation-delay: 0.5s; }

/* Ambient glow motion */

.hero-glow-one {
    animation: glow-drift 8s ease-in-out infinite;
}

.hero-glow-two {
    animation: glow-drift 10s ease-in-out infinite reverse;
}

/* Scroll-reveal */

.reveal {
    opacity: 0;
    transform: translateY(48px);
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children inside reveal containers */
.reveal .booking-card,
.reveal .social-links a {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible .booking-card,
.reveal.is-visible .social-links a {
    opacity: 1;
    transform: translateY(0);
}

.reveal.is-visible .booking-card:nth-child(1) { transition-delay: 0.08s; }
.reveal.is-visible .booking-card:nth-child(2) { transition-delay: 0.18s; }
.reveal.is-visible .booking-card:nth-child(3) { transition-delay: 0.28s; }

.reveal.is-visible .social-links a:nth-child(1) { transition-delay: 0.06s; }
.reveal.is-visible .social-links a:nth-child(2) { transition-delay: 0.14s; }
.reveal.is-visible .social-links a:nth-child(3) { transition-delay: 0.22s; }

/* Card hover lift */

.booking-card {
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.28s ease;
}

.booking-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

/* ─── Reduced motion ─── */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        scroll-snap-type: none !important;
        transition: none !important;
        animation: none !important;
    }

    .reveal,
    .reveal .booking-card,
    .reveal .social-links a,
    .hero .eyebrow,
    .hero h1,
    .hero .hero-lead,
    .hero .hero-text,
    .hero .hero-actions,
    .hero .hero-points,
    .hero .poster-card {
        opacity: 1 !important;
        transform: none !important;
    }

}