/*
Theme Name: Punch Promotions
Description: A one-page venue partnership site for pay-to-play boxing machines.
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bar-boxing
*/
@layer base, composition;
@layer base {
:root {
    color-scheme: dark;
    --night: #100e13;
    --white: #fffaf4;
    --muted: #d0c5ce;
    --acid: #f1ff70;
    --line: #4a3e4a;
    --paper: #f1ede4;
    --type: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--white); font: 1rem/1.55 var(--type); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 850; line-height: 1; letter-spacing: -.065em; }
h1 { font-size: clamp(3.2rem, 7.1vw, 7.45rem); }
h2 { font-size: clamp(2.65rem, 5.6vw, 5.45rem); }
h3 { font-size: clamp(1.45rem, 2vw, 2rem); letter-spacing: -.045em; }
.wrap { width: min(90%, 1280px); margin-inline: auto; }
.skip { position: absolute; z-index: 5; color: var(--night); background: var(--acid); padding: 12px; left: 12px; top: 12px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.top { background: #100e13; border-bottom: 1px solid #2e2530; }
.top-inner, nav, .brand, .actions { display: flex; align-items: center; }
.top-inner { min-height: 78px; justify-content: space-between; gap: 16px; }
nav { gap: clamp(17px, 3vw, 37px); }
nav > a { font-size: .95rem; font-weight: 650; }
nav > a:hover { color: var(--acid); }
nav > .button:hover { color: var(--night); }
.brand { gap: 12px; font-weight: 950; font-size: 1.25rem; text-transform: uppercase; letter-spacing: -.04em; line-height: 1; }
.mark { display: inline-flex; align-items: center; justify-content: center; gap: 4px; width: 38px; height: 38px; background: var(--acid); clip-path: polygon(0 0, 100% 0, 100% 73%, 73% 100%, 0 100%); }
.mark i { width: 4px; height: 16px; background: var(--night); transform: skew(-24deg); }
.mark i:nth-child(2) { height: 24px; }
.custom-logo { width: auto; height: auto; max-height: 54px; max-width: 170px; }
.actions { gap: 11px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; background: var(--acid); color: var(--night); border: 1px solid transparent; border-radius: 100px; padding: 11px 23px; font-weight: 800; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.button:hover { background: white; }
.button.small { min-height: 43px; padding: 8px 17px; }
.button.outline { border-color: #91808f; color: var(--white); background: transparent; }
.button.outline:hover { border-color: var(--white); background: #ffffff12; }
.hero {
    overflow: hidden;
    background-color: #161018;
    background-image: radial-gradient(ellipse at 83% 52%, #761b4b 0%, #39182e 37%, transparent 66%), repeating-linear-gradient(130deg, transparent 0 60px, #ffffff08 61px 62px);
}
.hero-grid { display: grid; grid-template-columns: 1.23fr .92fr; gap: clamp(24px, 5vw, 76px); align-items: center; padding-block: clamp(32px, 6vw, 84px); }
.eyebrow { margin-bottom: 18px; color: var(--acid); font-size: .875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.pitch .eyebrow { display: flex; align-items: center; gap: 12px; }
.pitch .eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; flex: none; }
h1 em { color: var(--acid); font-style: normal; display: inline-block; }
.intro { color: var(--muted); max-width: 31rem; margin-top: 25px; font-size: clamp(1.05rem, 1.85vw, 1.25rem); }
.intro strong { color: var(--white); }
.pitch .actions { margin-top: 32px; }
.hero-image { position: relative; border: 1px solid #a3678a; border-radius: 6px 44px 6px 6px; overflow: hidden; box-shadow: 0 25px 85px #08050bc2; background: #281421; }
.hero-image img { width: 100%; height: auto; aspect-ratio: 4 / 4.65; object-fit: cover; object-position: 50% 55%; }
.hero-image figcaption { position: absolute; right: 12px; bottom: 12px; padding: 7px 12px; border: 1px solid #ffffff55; background: #151018e8; color: var(--white); font-size: .875rem; border-radius: 3px; }
.strip { background: var(--acid); color: var(--night); }
.strip-grid { display: grid; grid-template-columns: .85fr 1fr 1fr; }
.strip-grid > div { border-left: 1px solid #19171045; padding: clamp(19px, 3.5vw, 40px); }
.strip-grid > div:first-child { border: 0; padding-left: 0; }
.strip strong, .strip span { display: block; }
.strip strong { font-weight: 900; font-size: clamp(1.45rem, 4.6vw, 4.35rem); line-height: .96; letter-spacing: -.07em; }
.strip span { margin-top: 10px; font-weight: 680; }
.section { padding-block: clamp(53px, 8vw, 109px); }
.offer, .split { color: var(--night); }
.offer, .faq-section { background: var(--paper); color-scheme: light; }
.offer .eyebrow, .split .eyebrow { color: #774233; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 40px; }
.steps article { border-top: 2px solid #211b21; padding-top: 19px; }
.steps p, .faq p { margin-top: 12px; color: #51474d; }
.hours { font-weight: 670; margin-top: 8px; }
.showcase { background: radial-gradient(ellipse at 100% 0%, #38223b, transparent 60%), #151019; }
.showcase-head, .split, .enquire-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: start; }
.showcase-head > p { color: var(--muted); align-self: end; max-width: 28rem; }
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2.5vw, 28px); margin-top: 30px; }
.videos figure { background: #211923; border: 1px solid var(--line); overflow: hidden; border-radius: 10px; }
video { width: 100%; height: clamp(300px, 47vw, 530px); background: #0c090e; }
.videos figcaption { color: var(--white); padding: 13px 16px; font-weight: 650; }
.gallery-title { margin-top: 55px; margin-bottom: 17px; }
.photos { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: clamp(8px, 2vw, 24px); }
.photos img { width: 100%; height: clamp(145px, 31vw, 335px); object-fit: cover; object-position: center 54%; border-radius: 6px; }
details { border-top: 1px solid #c5bcb6; padding: 18px 0; }
details:last-child { border-bottom: 1px solid #c5bcb6; }
summary { cursor: pointer; font-weight: 750; }
.enquire { color: var(--night); background: var(--acid); padding-block: clamp(42px, 7vw, 85px); }
.enquire .eyebrow { color: #3f3e24; }
.enquire-inner { align-items: center; }
.enquire h2 + p { margin-top: 18px; max-width: 32rem; }
.enquire .button { background: var(--night); color: var(--white); }
.enquire .button:hover { background: #4a2843; }
.contact-note { border-left: 2px solid #4b492b; padding-left: 16px; }
footer { padding-block: 24px; color: var(--muted); font-weight: 800; }
@media (max-width: 760px) {
    .hero-grid, .steps, .showcase-head, .split, .enquire-inner { grid-template-columns: 1fr; }
    .top-inner { min-height: 66px; }
    nav > a:not(.button) { display: none; }
    h1 { font-size: clamp(3.05rem, 10vw, 5.55rem); }
    .hero-image { max-width: 540px; }
    .hero-image img { max-height: 510px; }
    .strip-grid > div { padding: 17px 9px; }
    .strip span { font-size: .875rem; line-height: 1.3; }
    .split, .showcase-head, .enquire-inner { gap: 23px; }
}
@media (max-width: 440px) {
    .brand { font-size: 1rem; gap: 8px; }
    .mark { width: 32px; height: 32px; }
    .pitch .button { padding-inline: 15px; }
    .videos figcaption { padding: 10px; font-size: .875rem; min-height: 60px; }
    video { height: clamp(195px, 68vw, 300px); }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button { transition: none; }
}
.enquiry-panel {
    background: var(--paper);
    border-radius: 12px;
    padding: clamp(20px, 4vw, 36px);
    color-scheme: light;
}
.enquiry-form { display: grid; gap: 12px; }
.enquiry-form label { display: grid; gap: 5px; font-weight: 700; }
.enquiry-form input, .enquiry-form textarea {
    width: 100%;
    border: 1px solid #8f8289;
    border-radius: 5px;
    padding: 10px;
    color: var(--night);
    background: white;
    font: inherit;
    font-weight: 400;
}
.enquiry-form textarea { resize: vertical; }
.enquiry-form button { justify-self: start; font: inherit; font-weight: 800; cursor: pointer; }
.enquiry-form button:disabled { opacity: .6; cursor: default; }
.enquiry-status { margin-bottom: 14px; font-weight: 750; }
.contact-links { margin-top: 14px; }
.contact-links a { text-decoration: underline; }

}
@layer composition {
    :root {
        --night: #111012;
        --white: #f9f6ef;
        --muted: #c3bac2;
        --acid: #f2ce8a;
        --line: #ffffff25;
        --paper: #f3eee5;
    }
    .wrap { width: min(89%, 1190px); }
    h1, h2, h3 { font-weight: 750; letter-spacing: -.055em; line-height: 1.02; }
    h1 { max-width: 10ch; font-size: clamp(3.65rem, 7vw, 7.1rem); }
    h2 { font-size: clamp(2.55rem, 5.1vw, 4.9rem); }
    .eyebrow { font-size: .875rem; letter-spacing: .105em; }
    .top { background: #111012; }
    .top-inner { min-height: 73px; }
    .mark { border-radius: 50%; clip-path: none; width: 33px; height: 33px; }
    .mark i { width: 3px; }
    .mark i:nth-child(2) { height: 21px; }
    .brand { font-weight: 800; letter-spacing: -.025em; }
    .button { font-weight: 750; }
    .top .button { background: transparent; color: var(--white); border-color: #ffffff45; }
    .top .button:hover { background: var(--acid); color: var(--night); border-color: var(--acid); }
    .hero {
        position: relative;
        isolation: isolate;
        background:
            radial-gradient(ellipse at 72% 43%, #761b4b 0%, #39182e 42%, transparent 79%),
            #151117;
    }
    .hero-grid {
        position: relative;
        min-height: clamp(550px, 55vw, 750px);
        display: flex;
        align-items: center;
        padding-block: clamp(70px, 10vw, 138px);
    }
    .pitch { position: relative; z-index: 2; width: min(57%, 665px); }
    .hero-image {
        position: absolute;
        inset: 0 calc((min(89vw, 1190px) - 100vw) / 2) 0 37%;
        z-index: -1;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .hero-image img { height: 100%; width: 100%; max-height: none; aspect-ratio: auto; object-position: 58% 48%; }
    .hero-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, #4f1b39 0%, #421932ac 23%, transparent 58%),
                    linear-gradient(0deg, #151117 0%, transparent 31%);
        pointer-events: none;
    }
    .hero-image figcaption {
        z-index: 1;
        bottom: 24px;
        right: clamp(18px, 5vw, 70px);
        border: 0;
        background: #161018bb;
        border-radius: 20px;
    }
    h1 em { display: inline; color: var(--acid); }
    .intro { color: #e0d7db; max-width: 29rem; }
    .strip { background: #151117; color: var(--white); }
    .strip-grid { border-block: 1px solid var(--line); }
    .strip-grid > div { border-color: var(--line); }
    .strip strong { color: var(--acid); font-size: clamp(1.4rem, 3.2vw, 2.85rem); font-weight: 740; }
    .strip span { color: var(--muted); font-weight: 500; }
    .offer, .faq-section { background: transparent; color-scheme: dark; }
    .offer, .split { color: var(--white); }
    .offer .eyebrow, .split .eyebrow { color: var(--acid); }
    .offer .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0 clamp(28px, 7vw, 105px); align-items: start; }
    .offer .eyebrow { grid-column: 1 / -1; }
    .steps { grid-template-columns: 1fr; gap: 0; margin: 0; }
    .steps article { padding: 17px 0 22px; border-top: 1px solid var(--line); }
    .steps p, .faq p { color: var(--muted); }
    .showcase { background: radial-gradient(ellipse at 60% 15%, #241a26, #171319 71%); }
    .showcase-head { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
    .videos { max-width: 880px; margin-inline: auto; }
    .videos figure { border: 0; background: transparent; border-radius: 0; }
    video { border-radius: 8px; }
    .videos figcaption { padding: 10px 0 0; color: var(--muted); font-weight: 520; min-height: 0; }
    .photos { grid-template-columns: 1.5fr 1fr 1fr; }
    .gallery-title { font-size: clamp(1.35rem, 3vw, 2rem); }
    .faq details { border-color: var(--line); }
    .enquire { background: radial-gradient(ellipse at 0% 100%, #332422, #1c171c 65%); color: var(--white); border-block: 1px solid var(--line); }
    .enquire .eyebrow { color: var(--acid); }
    .enquire-inner { grid-template-columns: 1fr 1.05fr; align-items: start; gap: clamp(24px, 7vw, 104px); }
    .enquire h2 + p { color: var(--muted); }
    .enquiry-panel { background: transparent; border-top: 1px solid var(--line); padding: 23px 0 0; border-radius: 0; color-scheme: dark; }
    .enquiry-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 17px 13px; }
    .enquiry-form label:nth-of-type(n + 3) { grid-column: 1 / -1; }
    .enquiry-form label { font-size: .9rem; font-weight: 610; }
    .enquiry-form input, .enquiry-form textarea { background: #ffffff08; border-color: #ffffff40; color: var(--white); }
    .enquire .button { background: var(--acid); color: var(--night); padding-inline: 21px; }
    .enquire .button:hover { background: var(--white); }
    .contact-links { color: var(--muted); font-size: .9rem; }
    @media (max-width: 760px) {
        .hero-grid { display: grid; min-height: auto; padding-block: 46px 0; gap: 13px; }
        .pitch { width: 100%; }
        h1 { font-size: clamp(3.2rem, 11vw, 5rem); max-width: 11ch; }
        .hero-image { position: relative; inset: auto; margin-inline: -6.2%; height: min(102vw, 525px); max-width: none; }
        .hero-image img { object-position: center 50%; }
        .hero-image::after { background: linear-gradient(#421932 0%, transparent 26%, transparent 76%, #151117 100%); }
        .hero-image figcaption { bottom: 16px; }
        .offer .wrap, .enquire-inner { grid-template-columns: 1fr; }
        .steps { margin-top: 26px; }
        .strip-grid > div { padding-inline: 8px; }
    }
    @media (max-width: 410px) {
        .strip strong { font-size: 1.22rem; }
        .enquiry-form { grid-template-columns: minmax(0, 1fr); }
    }
}
@layer composition {
    .enquiry-panel .wpcf7 .enquiry-form { display: block; }
    .enquiry-panel .wpcf7 .enquiry-form p + p { margin-top: 13px; }
    .enquiry-panel .wpcf7 .enquiry-form label br { display: none; }
    .enquiry-panel .wpcf7 .enquiry-form input[type="submit"] {
        width: auto;
        padding: 11px 23px;
        background: var(--acid);
        color: var(--night);
        border-color: transparent;
        font-weight: 750;
        cursor: pointer;
    }
    .enquiry-panel .wpcf7 .enquiry-form input[type="submit"]:hover { background: var(--white); }
    .enquiry-panel .wpcf7-not-valid-tip { color: #ffb2ae; }
}
