﻿
/* Scoped to .ig-home rather than a bare h1. This file is loaded from <head> on
   every page (see App.razor — that's what stops the unstyled flash on the home
   page), so a bare h1 rule would restyle the headings on /pricing, /help and
   /artists too. .ig-home is the home page's wrapper, so this stays put. */
.ig-home h1 {
    font-weight: 800;
    color: #fff;
}

.w-white  { color: #ffffff; }
.w-green  { color: #4ade80; }
.w-orange { color: #fb923c; }

/* Lighter than the violet in the mockup, which sat on a near-black background.
   The hero here is purple, so a deep violet would sink into it. */
.w-violet { color: #c4b5fd; }

/* Deliberately quieter than the headline it sits under — same role as in C's
   artwork, where it reads as a strapline rather than a second heading. */
/* Must be .hero-copy .hero-tagline, not .hero-tagline on its own: site.css has
   `.hero-content p { font-size:20px; color:#e0e0e0; margin-bottom:30px }`, and
   0-1-1 beats 0-1-0. A single-class rule here silently loses colour, size and
   margin — the 30px was the whole gap between this line and the video. */
.hero-copy .hero-tagline {
    /* Pale lavender rather than white: the same violet family as "across" in the
       headline, so it ties the two lines together without adding a fifth hue to
       a hero that already has four. Not #c4b5fd — that's the headline's violet,
       and at this size (not WCAG "large text") it only reaches 4.05 against the
       indigo behind it, short of the 4.5 this size requires. */
    color: #ddd6fe;
    font-weight: 500;
    font-size: 1.15rem;
    letter-spacing: .01em;
    margin: 6px 0 8px;
}

.brand-kicker {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: none;
    font-size: 2.25rem;

    /* Glowing white rather than gradient-filled. Three stacked shadows: a tight
       white core for the lit-filament look, then two wider violet halos that
       bleed into the purple hero so the glow reads as light rather than as an
       outline. text-shadow, not drop-shadow — it layers, and the text stays
       real text (selectable, and no transparent fill to break in older Safari). */
    color: #fff;
    text-shadow:
        0 0 7px rgba(255, 255, 255, .70),
        0 0 20px rgba(167, 139, 250, .75),
        0 0 40px rgba(124, 58, 237, .55);

    animation: brand-pulse 3.4s ease-in-out infinite;
    margin-bottom: 10px;
    display: inline-block;
}

/* Barely-there breathing — enough to read as a glow rather than a static
   shadow, small enough not to pull attention off the headline below it. */
@keyframes brand-pulse {
    0%, 100% {
        text-shadow:
            0 0 7px rgba(255, 255, 255, .70),
            0 0 20px rgba(167, 139, 250, .75),
            0 0 40px rgba(124, 58, 237, .55);
    }
    50% {
        text-shadow:
            0 0 9px rgba(255, 255, 255, .85),
            0 0 28px rgba(167, 139, 250, .90),
            0 0 54px rgba(124, 58, 237, .70);
    }
}

/* Some people get motion sickness from looping animation; the glow itself is
   the point, the movement isn't. */
@media (prefers-reduced-motion: reduce) {
    .brand-kicker { animation: none; }
}
/* The promo now lives inside the hero, so this wrapper is unused. Kept empty
   rather than deleted in case another page still references it. */
.video-preview { text-align: center; }

.video-container {
    /* Landscape 16:9 promo. Capped rather than full-bleed: past about 900px a
       talking-head promo stops gaining anything and just pushes the rest of the
       page below the fold. */
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    background: #000;
    /* Reserve the space up front so the poster and the video frame line up and
       the page doesn't jump when it loads. */
    aspect-ratio: 16 / 9;
}

    .video-container video,
    .video-container #hero-video {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        aspect-ratio: auto !important;
    }

.video-caption {
    color: #fff;
    margin-top: 0px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Option 2 - Hero background video */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.3; /* Dim it so text is readable */
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* --- Leave a message section --- */
.contact-section {
    background: #050816;
    padding: 40px 20px 50px;
    color: #ffffff;
}

    .contact-section .section-head {
        text-align: center;
        margin-bottom: 20px;
    }

        .contact-section .section-head h2 {
            font-size: 26px;
            margin-bottom: 8px;
        }

        .contact-section .section-head p {
            opacity: 0.85;
            max-width: 520px;
            margin: 0 auto;
        }

.contact-form {
    max-width: 640px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.96);
    border-radius: 18px;
    padding: 20px 20px 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.contact-row {
    margin-bottom: 14px;
}

.contact-label {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-hint {
    font-size: .8rem;
    opacity: .7;
    margin-bottom: 6px;
}

.contact-status {
    margin-top: 10px;
    font-size: .85rem;
}

.contact-success {
    color: #4ade80;
}

.contact-error {
    color: #f97373;
}

.contact-validation {
    margin-bottom: 6px;
    font-size: .8rem;
    color: #fca5a5;
}
/* Fix Radzen dropdown colors on dark theme */
.rz-dropdown-panel {
    background-color: #020617 !important; /* very dark background */
    color: #e5e7eb !important; /* light text */
    border: 1px solid #374151 !important;
}

    /* Individual items */
    .rz-dropdown-panel .rz-dropdown-item {
        color: #e5e7eb !important;
    }

        /* Hover / selected state */
        .rz-dropdown-panel .rz-dropdown-item.rz-state-hover,
        .rz-dropdown-panel .rz-dropdown-item:hover,
        .rz-dropdown-panel .rz-dropdown-item.rz-state-highlight {
            background-color: #1f2937 !important;
            color: #f9fafb !important;
        }

/* Placeholder text in the closed dropdown */
.rz-dropdown .rz-placeholder {
    color: #9ca3af !important;
}
/* Founding Artists - Mobile responsive grid */
/* Founding Artists - Mobile responsive grid */
.artist-strip {
    display: grid;
    gap: 16px;
    max-width: 100%;
}

/* Desktop: flexible layout */
@media (min-width: 769px) {
    .artist-strip {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* Mobile: exactly 3 columns */
@media (max-width: 768px) {
    .artist-strip {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}



/* ---------- Hero layout: fit the promo on the first screen ---------- */

/* One centred column on every size — the promo reads as part of the pitch
   rather than a separate panel beside it. It fits above the fold because the
   video is capped, not because the layout splits. */

.hero { padding: 20px 16px 16px; }

.hero-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-copy, .hero-actions, .hero-media { width: 100%; }

.hero-media .video-container {
    /* Sized against the viewport, not a fixed number, so it's as big as it can
       be without pushing the store buttons below the fold. 448px is the rest of
       the hero (kicker, banner, h1, tagline, buttons, caption); what's left of the
       screen height becomes the video, converted to a width at 16:9. On a tall
       monitor the 760px cap wins; on a short laptop the height term does. */
    max-width: min(800px, calc((100vh - 448px) * 16 / 9));
    margin: 0 auto;
}

@media (min-width: 950px) {
    .h1-line2 { display: block; }
    .hero-copy .brand-kicker { font-size: 2rem; }
    .hero-copy h1 { font-size: 2.5rem; line-height: 1.05; margin: 4px 0 6px; }
    .hero-copy .sub { margin-bottom: 6px !important; }
    .store-buttons { margin-top: 6px !important; }
    .store-buttons img { margin: 6px 4px !important; }
}

/* Mobile: shrink the type so the poster still clears the fold on a phone. */
@media (max-width: 949px) {
    .hero { padding: 14px 14px 10px; }
    .hero-grid { gap: 8px; }

    .hero-copy .brand-kicker { font-size: 1.5rem; margin-bottom: 4px; }
    .hero-copy h1 { font-size: 1.85rem; line-height: 1.1; margin: 4px 0 6px; }
    .hero-copy .sub { font-size: .95rem; margin-bottom: 6px !important; }

    .h1-line2 { display: inline; }

    .hero-copy .hero-tagline { font-size: .95rem; margin: 4px 0 6px; }
    .hero-media .video-container { max-width: 100%; }

    .store-buttons img {
        width: 132px !important;
        height: 44px !important;
        margin: 6px 3px !important;
    }
}


/* ---------- Promo embed ---------- */

/* The poster and play button now live inside the iframe's srcdoc, drawn by
   YouTube's thumbnail and an inline SVG — so the old .promo-poster / .promo-play
   rules are gone with them. */
.promo-facade {
    position: relative;
    display: block;
}

/* Hidden until YouTube has painted, then faded in. The container below shows the
   same thumbnail, so there is nothing to see at the moment it appears — the
   visitor never watches YouTube's player assemble itself.
   .promo-ready is added to <html> by the script once the frame has loaded. */
.promo-embed {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    opacity: 0;
    transition: opacity .25s ease;
}

html.promo-ready .promo-embed { opacity: 1; }

/* No fade for anyone who asked for less motion — just show it. */
@media (prefers-reduced-motion: reduce) {
    .promo-embed { transition: none; }
}

/* The same thumbnail YouTube will show, painted straight onto the container, so
   instead of black → blank → poster every stage of the load looks identical.
   The image URL itself is set inline in Home.razor from PromoVideoId — keeping it
   out of here means a change of video is a one-line edit, not two. */
.hero-media .video-container {
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ---------- Maximised state ---------- */

/* Keyed off a flag on <html>, not a class on the container: #promoFacade is
   rendered by Blazor, so a JS-added class there is wiped on the next re-render —
   the video maximised and then snapped straight back. */

/* 100dvh, not 100vh: on mobile Safari 100vh is the height with the toolbars
   hidden, so the overlay would run under the browser chrome. */
html.promo-maximised .video-container {
    position: fixed;
    inset: 0;
    z-index: 9999;
    width: 100vw;
    height: 100dvh;
    max-width: none !important;
    aspect-ratio: auto;
    border-radius: 0;
    padding: 4vmin;
    display: grid;
    place-items: center;
    background: rgba(3, 6, 12, .96);
    box-shadow: none;
}

/* Keeps 16:9 and fits whichever dimension runs out first, so the video is never
   cropped and never overflows the viewport. */
html.promo-maximised .video-container .promo-embed {
    width: min(100%, calc((100dvh - 8vmin) * 16 / 9));
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
}

/* The tricolour ring and the "See Ireland Gigs in action" pill belong to the
   thumbnail, not to a full-screen player. */
html.promo-maximised .video-container::before,
html.promo-maximised .video-container::after {
    display: none;
}

.promo-max-close {
    display: none;                               /* shown only while maximised */
    position: absolute;
    top: max(14px, env(safe-area-inset-top));   /* clears the notch on iPhone */
    right: 16px;
    z-index: 2;
    width: 44px;                                 /* comfortable tap target */
    height: 44px;
    place-items: center;
    font-size: 1.9rem;
    line-height: 1;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    cursor: pointer;
}

.promo-max-close:hover { background: rgba(255, 255, 255, .2); }

html.promo-maximised .promo-max-close { display: grid; }

/* Holds the space the hero video occupied while it's out of flow, so the page
   behind doesn't collapse and jump back on restore. Set by the script. */
html.promo-maximised .hero-media { min-height: var(--promo-hold, 0); }
/* 2026 homepage refresh --------------------------------------------------- */
:root {
    --ig-ink: #f8fafc;
    --ig-muted: #aab5c4;
    --ig-panel: #101722;
    --ig-green: #32d583;
    --ig-orange: #ff934f;
    --ig-line: rgba(255,255,255,.1);
}

/* overflow-x:clip, not overflow:hidden. `hidden` makes this a scroll container,
   which silently stops position:sticky working for anything inside it — the
   header would simply never stick. `clip` gives the same protection against
   sideways overflow without that side effect. */
.ig-home { background:#070b12; color:var(--ig-ink); overflow-x:clip; }

/* Sticky header: the CTA follows the reader down the page instead of existing
   only on the first screen, where the store badges already sit. Matters most on
   mobile, where the nav links are hidden and this is the only header action. */
.home-nav-wrap {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 11, 18, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--ig-line);
}
.home-nav { height:72px; max-width:1180px; margin:auto; padding:0 24px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.home-brand { display:flex; align-items:center; gap:10px; color:#fff; text-decoration:none; font-size:1.08rem; font-weight:800; letter-spacing:-.02em; }
/* Now the app icon rather than a ♪ glyph. The green gradient that used to sit
   behind the note is gone — the artwork brings its own black rounded square, and
   a gradient underneath would show through the transparent corners.

   The hairline matters here: the icon's own background is near-black, so against
   this page it loses its edge entirely and reads as green lines floating in
   space rather than as an app icon. On a white background it needs no help. */
/* 44px to sit level with the two-line wordmark, per C's design. */
.brand-mark {
    width: 44px; height: 44px;
    display: block; object-fit: contain;
    border-radius: 11px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .14);
}

/* Same icon in the footer, where a 🎵 emoji used to sit.

   Must be .footer-brand .footer-logo, not .footer-logo alone: appb.css declares
   its own .footer-logo — a 28px coloured square with a centred glyph, built for
   the emoji — and it is linked after home.css, so at equal specificity it wins.
   Symptoms were a 28px mark with a dark inset shadow instead of this hairline. */
.footer-brand .footer-logo {
    width: 26px; height: 26px;
    display: block; object-fit: contain;
    border-radius: 7px;
    background: none;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .14);
}
.home-nav-links { display:flex; gap:30px; }
.home-nav-links a { color:#cbd5e1; text-decoration:none; font-size:.94rem; font-weight:600; }
.home-nav-links a:hover { color:#fff; }
.nav-cta { padding:10px 17px; border:1px solid rgba(50,213,131,.45); border-radius:999px; color:var(--ig-green); font-size:.9rem; font-weight:700; text-decoration:none; }

.hero { min-height:auto; padding:42px 24px 36px; background:radial-gradient(circle at 75% 20%,rgba(124,58,237,.22),transparent 34%),radial-gradient(circle at 12% 65%,rgba(50,213,131,.12),transparent 30%),#080d16 !important; border-top:1px solid rgba(255,255,255,.05); border-bottom:1px solid var(--ig-line); }
/* Single column now: C's design stacks pill → headline → audiences → download,
   with the promo moved to its own section below. The two-column grid that put
   the video beside the copy is gone. */
.hero-grid { max-width:1180px; display:block; }
/* On a large monitor the hero stops at 1180px, so the media column — and with it
   the promo — is pinned at ~435px no matter how much screen there is. Widening
   the container on wide screens lets the video finally reach the 520px cap that
   .hero-media .video-container already declares. Nothing below 1600px moves. */
@media (min-width: 1600px) {
    .hero-grid { max-width: 1360px; }
}

.hero-copy { text-align:left; }
.hero-actions { text-align:left; }

/* ---------- Header wordmark (C's design) ---------- */

/* Two stacked words beside the icon. Uppercased here rather than in the markup
   so screen readers still read "Ireland Gigs". Font family and colours are the
   site's existing ones — unchanged, per the agreement with C. */
.brand-word {
    display: flex;
    flex-direction: column;
    line-height: .92;
    letter-spacing: -.01em;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 1.22rem;
}

/* Green over orange, matching the lockup in C's logo artwork. */
.brand-word-top    { color: var(--ig-green); }
.brand-word-bottom { color: var(--ig-orange); }

/* Solid green button replacing the outlined "Get the app" pill. */
.nav-cta {
    padding: 10px 20px;
    border: 0;
    border-radius: 10px;
    background: var(--ig-green);
    color: #05130c;
    font-size: .92rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.nav-cta:hover { filter: brightness(1.06); }

/* ---------- Hero (C's design) ---------- */

/* Bigger and uppercase. Colours come from the existing .hero-line-* classes. */
.hero-copy h1.hero-headline {
    text-transform: uppercase;
    font-size: clamp(2.5rem, 6.4vw, 4.6rem);
    line-height: .96;
    letter-spacing: -.03em;
    margin: 0 0 26px;
}

/* The two audiences, separated by a rule. */
.audience-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 26px;
    margin-bottom: 30px;
}

.audience {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 1rem;
    line-height: 1.35;
}

/* The divider is drawn on the second item so it never dangles at the end of the
   row, and it disappears when the two wrap onto separate lines. */
.audience + .audience {
    border-left: 1px solid var(--ig-line);
    padding-left: 26px;
}

.audience i {
    font-size: 1.5rem;
    color: var(--ig-green);
    flex: 0 0 auto;
}

.audience + .audience i { color: var(--ig-orange); }

.audience strong { display: block; font-weight: 800; }

/* ---------- Download block ---------- */

/* A caption, not a control. The filled white bar read as the hero's primary
   button and invited a click it couldn't answer; the badges below are what you
   press. Same small-caps-with-a-rule treatment as the "Browse musicians" heading,
   so it looks like a label belonging to the group beneath it. */
/* Shrinks to the width of the two badges, so the caption above can centre over
   them instead of over the full hero column. */
.download-group { display: inline-block; }

/* Smooth in-page jumps for the header links, with a little breathing room above
   the target so the section's eyebrow isn't flush against the viewport edge.
   Honoured only where the visitor hasn't asked for reduced motion. */
html { scroll-behavior: smooth; }

/* Both in-page targets clear the sticky header (73px) with room to spare, so
   nothing lands hidden underneath it after the jump. #download is a little
   larger so the "Download the app" caption above the badges comes into view
   too, not just the badges themselves. */
#how-it-works { scroll-margin-top: 96px; }
#download     { scroll-margin-top: 140px; }

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

.download-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 12px;
    color: #d7dee8;
    font-weight: 800;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.download-bar::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--ig-green);
    flex: 0 0 auto;
}

/* Badges left exactly as they were — the bordered frames were my addition and
   are not wanted. */
.store-buttons { display:flex; align-items:center; gap:8px; margin:0 !important; }
.store-buttons img { margin:0 !important; }

/* ---------- "See how venues and artists connect in seconds" ---------- */

/* Dark, like the rest of the page. The light panels in C's PDF are pasted text
   boxes rather than a colour choice — the body copy in them is even set in a
   different typeface from the heading. Fonts and colours here are the site's
   existing ones. */
.promo-row { max-width:1180px; margin:0 auto; padding:64px 24px; }

.promo-row-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 48px;
    align-items: center;
}

.promo-copy h2 {
    color: #fff;
    font-size: clamp(1.75rem, 3.1vw, 2.5rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.025em;
    margin: 0 0 16px;
}

.promo-copy p {
    color: #b6c1cf;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 46ch;
}

/* Outlined green button with the circled chevron, per the design. */
.promo-watch {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 13px 18px;
    border: 2px solid var(--ig-green);
    border-radius: 12px;
    background: #05090f;
    color: var(--ig-green);
    font: inherit;
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .015em;
    line-height: 1.1;
    text-align: left;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.promo-watch:hover { background: rgba(50, 213, 131, .1); transform: translateY(-1px); }

/* Two block spans rather than a <br>: keeps the two lines as separate text runs
   so a screen reader doesn't run the words together. */
.promo-watch-label { display: grid; }

.promo-watch-arrow {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border: 2px solid var(--ig-green);
    border-radius: 50%;
    font-size: 1.2rem;
    line-height: 1;
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    /* Video first, copy underneath. Side by side the heading and paragraph cost
       nothing, but stacked they push the player 245px down the page — far enough
       that on a phone you have to scroll before you know there is a video at all.
       Only the visual order changes; the DOM order stays copy-then-video, so the
       heading still introduces the player for a screen reader. */
    .promo-row { padding: 24px 20px 40px; }
    .promo-row-inner { grid-template-columns: 1fr; gap: 22px; }
    .promo-row .hero-media { order: -1; max-width: 620px; margin: 0 auto; }
    .promo-copy { text-align: center; }
    .promo-copy h2 { font-size: 1.5rem; margin-bottom: 10px; }
    .promo-copy p { margin-left: auto; margin-right: auto; margin-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .promo-watch:hover { transform: none; }
}

/* ---------- "Browse musicians available now" ---------- */

/* Dark, matching the rest of the page and the /artists directory these cards
   link to — a light band here would land a visitor on a dark page. */
.browse-row { max-width:1180px; margin:0 auto; padding:12px 24px 64px; }

.browse-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

/* The short rules either side of the title are drawn with pseudo-elements, so
   the heading stays a plain string for search engines and screen readers. */
.browse-head h2 {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    color: #fff;
    font-size: clamp(1.05rem, 1.9vw, 1.35rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.browse-head h2::before,
.browse-head h2::after {
    content: "";
    width: 46px;
    height: 2px;
    background: var(--ig-green);
    flex: 0 0 auto;
}

.browse-all {
    flex: 0 0 auto;
    padding: 9px 16px;
    border: 1px solid var(--ig-green);
    border-radius: 8px;
    color: var(--ig-green);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

.browse-all:hover { background: rgba(50, 213, 131, .12); }

.browse-carousel { position: relative; display: flex; align-items: center; gap: 10px; }

/* A scroll container rather than a JS carousel: it works without scripting,
   supports touch and trackpad swipes for free, and the arrows just nudge it. */
.browse-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    padding: 4px;
    scrollbar-width: none;
}

.browse-track::-webkit-scrollbar { display: none; }

.browse-card {
    flex: 0 0 210px;
    scroll-snap-align: start;
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--ig-panel);
    border: 1px solid var(--ig-line);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .18s ease, transform .18s ease;
}

.browse-card:hover { border-color: rgba(50, 213, 131, .5); transform: translateY(-3px); }

.browse-photo {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: #0b1017;
}

.browse-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hover preview: the artist's YouTube video over the photo. The photo is 4:3 and the video 16:9,
   so the frame is widened to 4/3 of the box and centred, to fill it edge to edge like the photo.
   It fades in once loaded, ignores the pointer (a click opens the artist's page) and stays
   under the chevron. */
.browse-photo { overflow: hidden; }
.browse-video {
    position: absolute;
    top: 0; left: 50%;
    width: 134%; height: 100%;
    transform: translateX(-50%);
    border: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity .35s ease;
    z-index: 1;
}
.browse-video.on { opacity: 1; }
.browse-go { z-index: 2; }
.browse-photo[data-yt] { cursor: pointer; }

/* Full-size player opened by clicking a playing preview (script in Home.razor). Same look as the
   maximised promo video: dark backdrop, 16:9 fitted to the screen, round close button. */
.artist-video-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    place-items: center;
    padding: 4vmin;
    background: rgba(3, 6, 12, .96);
}
.artist-video-modal.open { display: grid; }
html.avm-open { overflow: hidden; }
.avm-box { position: relative; width: min(100%, calc((100dvh - 8vmin - 56px) * 16 / 9)); }
.avm-frame { aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; }
.avm-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.avm-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.avm-name { color: #fff; font-weight: 800; font-size: 1.05rem; margin-right: auto; }
.avm-link {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--ig-green, #32d583);
    color: #04140b;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
.avm-link:hover { filter: brightness(1.08); }
.avm-close {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    font-size: 1.9rem;
    line-height: 1;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    cursor: pointer;
}
.avm-close:hover { background: rgba(255, 255, 255, .2); }

.browse-go {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #0a0a0a;
    font-size: 1.25rem;
    line-height: 1;
}

.browse-meta { display: grid; gap: 3px; padding: 12px 14px 14px; }
.browse-name { color: #fff; font-weight: 800; font-size: .98rem; }
.browse-role { color: var(--ig-muted); font-size: .84rem; }
.browse-city { color: #d7dee8; font-size: .82rem; }
.browse-city i { color: var(--ig-green); margin-right: 4px; }

.browse-arrow {
    flex: 0 0 auto;
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border: 1px solid var(--ig-green);
    border-radius: 50%;
    background: transparent;
    color: var(--ig-green);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.browse-arrow:hover { background: rgba(50, 213, 131, .12); }

@media (max-width: 900px) {
    .browse-row { padding: 0 16px 44px; }
    .browse-head { flex-direction: column; align-items: stretch; gap: 14px; }
    .browse-head h2 { justify-content: center; }
    .browse-all { align-self: center; }
    /* The arrows are redundant where the rail can be swiped. */
    .browse-arrow { display: none; }
    .browse-card { flex-basis: 190px; }
}

@media (prefers-reduced-motion: reduce) {
    .browse-track { scroll-behavior: auto; }
    .browse-card:hover { transform: none; }
}
.launch-pill { display:inline-flex; align-items:center; gap:9px; color:#d7dee8; text-decoration:none; font-size:.86rem; font-weight:650; border:1px solid var(--ig-line); background:rgba(255,255,255,.04); border-radius:999px; padding:8px 13px; margin-bottom:20px; }
.launch-pill span { width:7px; height:7px; background:var(--ig-green); border-radius:50%; box-shadow:0 0 0 5px rgba(50,213,131,.12); }
.hero-copy h1 { color:#fff; font-size:clamp(3rem,4vw,4rem); line-height:1; letter-spacing:-.055em; margin:0 0 18px; max-width:none; }
.hero-line { display:block; white-space:nowrap; }
.hero-line-white { color:#fff !important; }
.hero-line-green { color:var(--ig-green) !important; }
.hero-copy .hero-tagline { max-width:590px; color:#b6c1cf; font-size:clamp(1.05rem,1.6vw,1.25rem); line-height:1.65; margin:0 0 28px; }
.hero-primary-actions { display:flex; flex-wrap:wrap; gap:13px; margin-bottom:24px; }
.primary-cta,.secondary-cta { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:50px; padding:0 22px; border-radius:12px; font-weight:800; text-decoration:none; transition:transform .2s,filter .2s; }
.primary-cta { background:var(--ig-green); color:#06130d; box-shadow:0 14px 34px rgba(50,213,131,.2); }
.secondary-cta { color:#eef2f7; border:1px solid rgba(255,255,255,.15); background:rgba(255,255,255,.04); }
.primary-cta:hover,.secondary-cta:hover { transform:translateY(-2px); filter:brightness(1.05); }
.trust-row { display:flex; flex-wrap:wrap; gap:16px 24px; color:#9facbc; font-size:.86rem; }
.trust-row i { color:var(--ig-green); margin-right:5px; }
/* border:0 — the tricolour ring below replaces the plain hairline. Leaving both
   would draw a white line immediately inside a coloured one. */
/* No tilt. The 1deg rotation read fine on a dark unbordered frame, but once the
   tricolour ring gives it a hard edge the angle stands out against a page that
   is otherwise strictly square. The ring now does the job the tilt was there
   for — stopping the promo reading as a screenshot pasted into the page. */
.hero-media .video-container { max-width:520px; border-radius:24px; border:0; box-shadow:0 34px 90px rgba(0,0,0,.55); transform:none; }

/* Irish tricolour ring. ::before, not ::after — ::after is already the
   "See Ireland Gigs in action" pill below.

   A gradient can't be a border-color, so this is the two-layer mask trick: fill
   the box with the gradient, then subtract the inner area so only a 2px ring
   survives. Inherits the 24px radius and rotates with the container's 1deg tilt.

   Colours come from the design tokens rather than literals, so the ring stays in
   step with the rest of the UI if the palette is ever retuned. */
.hero-media .video-container::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;                 /* above the poster; the caption pill sits at 3 */
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(115deg,
        var(--ig-green) 0%,
        #cbd5e1 50%,
        var(--ig-orange) 100%);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;   /* Safari's older spelling of the same operation */
            mask-composite: exclude;
    pointer-events: none;          /* the play button sits underneath */
}
/* The "See Ireland Gigs in action" pill used to sit here as a ::after on the
   container. Removed — C's thumbnail now carries its own MUSICIANS / VENUES
   captions, so the pill was a second label competing with them, and it landed
   bottom-left over the burnt-in text. */
.promo-facade { position:relative; }
/* The old .store-buttons / .store-buttons img pair lived here and, being later
   in the file, silently overrode the new badge framing above (gap, wrap, and the
   badge image sizing). Removed — the rules that matter are with .store-badge.
   .store-note went with them: that caption is not in C's design and its element
   is gone from the markup. */

.how-it-works { max-width:1180px; margin:0 auto; padding:90px 24px 72px; text-align:center; }
.section-eyebrow { color:var(--ig-green); font-size:.78rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; margin-bottom:12px; }
.how-it-works h2,.wdyb-title { color:#fff; font-size:clamp(2rem,4vw,3.15rem); letter-spacing:-.04em; margin:0 auto 14px; }
.section-intro { color:var(--ig-muted); max-width:650px; margin:0 auto 38px; line-height:1.65; }
.steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; text-align:left; }
.steps-grid article { position:relative; min-height:230px; padding:30px; background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.02)); border:1px solid var(--ig-line); border-radius:20px; }
.steps-grid article>i { width:48px; height:48px; display:grid; place-items:center; border-radius:14px; color:var(--ig-green); background:rgba(50,213,131,.11); margin-bottom:30px; }
.steps-grid h3 { color:#fff; font-size:1.15rem; margin:0 0 9px; }
.steps-grid p { color:var(--ig-muted); line-height:1.55; margin:0; }
.step-number { position:absolute; right:24px; top:20px; color:rgba(255,255,255,.12); font-size:2.1rem; font-weight:900; }
.wdyb { padding-top:38px !important; }
.wdyb-title { display:block !important; margin-bottom:34px !important; }
.wdyb-hero,.wdyb-detail { background:var(--ig-panel) !important; }
.contact-section { border-top:1px solid var(--ig-line); }

@media (max-width:900px) {
    .home-nav-links { display:none; }
    .hero { padding-top:36px; }
    .hero-grid { display:flex; max-width:680px; gap:26px; }
    .hero-copy { text-align:center; }
    .hero-copy h1 { font-size:clamp(2.55rem,9vw,4rem) !important; }
    .hero-line { white-space:normal; }
    .hero-copy .hero-tagline { margin-left:auto; margin-right:auto; }
    .hero-primary-actions,.trust-row,.store-buttons { justify-content:center; }
    .hero-actions { text-align:center; }

    /* The two audiences stack here, so the divider between them would hang down
       the left of the second one instead of separating a pair. */
    .audience-row { flex-direction:column; align-items:center; gap:14px; }
    .audience + .audience { border-left:0; padding-left:0; }
    .download-bar { margin-left:auto; margin-right:auto; }
    .hero-media .video-container { max-width:620px; transform:none; }
    .steps-grid { grid-template-columns:1fr; max-width:650px; margin:auto; }
    .steps-grid article { min-height:0; }
}

@media (max-width:560px) {
    .home-nav { height:62px; padding:0 16px; }
    .nav-cta { padding:8px 12px; }
    .hero { padding:30px 16px 38px; }
    .launch-pill { font-size:.74rem; }
    .hero-primary-actions { flex-direction:column; }
    .primary-cta,.secondary-cta { width:100%; }
    .trust-row { justify-content:flex-start; flex-direction:column; gap:8px; max-width:230px; margin:auto; }
    .how-it-works { padding:68px 16px 50px; }
    .steps-grid article { padding:24px; }
}

/* ---------- Phones: get the promo video onto the first screen ----------
   Appended last on purpose: an earlier max-width:949px block already sets the
   hero padding, and a later rule further down was quietly beating it (computed
   padding was 30/16/38, not the 14/14/10 that block asks for). Rather than hunt
   the winner, these land at the end with .ig-home in front so they hold.

   Spacing only. No typeface, no font size, no colour, nothing removed — the
   hero on a phone was spending ~150px on stacked margins between four short
   elements, which is what pushed the video under the fold. */
@media (max-width: 900px) {
    .ig-home .hero { padding: 18px 16px 20px; }
    .ig-home .hero-grid { gap: 14px; }
    .ig-home .hero-copy .launch-pill { margin-bottom: 12px; }
    .ig-home .hero-copy .hero-headline { margin-bottom: 16px; }
    .ig-home .hero-copy .audience-row { margin-bottom: 18px; }
}

/* ---------- Contact form: plain inputs replacing Radzen ----------
   Radzen's inputs need an interactive circuit, so the form now uses the
   framework's own Input* components. These rules restore the dark styling the
   Radzen theme was providing, so the form looks unchanged. */
.contact-form .contact-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(148,163,184,.45);
    background: #0b1220;
    color: #e8edf4;
    font: inherit;
    font-size: .95rem;
    line-height: 1.45;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form .contact-input::placeholder { color: #7c8899; }
.contact-form .contact-input:focus {
    outline: none;
    border-color: var(--ig-green);
    box-shadow: 0 0 0 3px rgba(50,213,131,.18);
}
.contact-form textarea.contact-input { resize: vertical; min-height: 96px; }
/* A dark <select> needs its options coloured too — on Windows they inherit the
   system white and become invisible against the dark control. */
.contact-form select.contact-input option { background: #0b1220; color: #e8edf4; }

.contact-form .contact-submit {
    border: none;
    border-radius: 14px;
    padding: 11px 26px;
    background: var(--ig-green);
    color: #05231a;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: filter .15s ease, transform .15s ease;
}
.contact-form .contact-submit:hover { filter: brightness(1.07); transform: translateY(-1px); }
.contact-form .contact-submit:active { transform: none; }

@media (prefers-reduced-motion: reduce) {
    .contact-form .contact-submit:hover { transform: none; }
}
