/* ====================================================================
   lowball.dev — graffiti street style / high contrast duotone
   Palette:
     #1a1a1a  Dark      — text, footer
     #ff4040  Drip      — secondary spray, urgency red
     #ff006e  Spray     — primary spray-paint hot pink
     #fff4c8  Poster Y  — pale yellow poster
     #f8f6f0  Poster W  — off-white poster
     #ffffff  White     — tag text
     #d0ccc4  Concrete  — wall surface (also used for "vs")
   Fonts:
     Bungee, Bungee Hairline (display / tags)
     Work Sans (body)
   ==================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #1a1a1a;
    background: #d0ccc4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.svg-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* ============================ HERO ============================ */

.hero {
    position: relative;
    min-height: 100vh;
    background: #d0ccc4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 8rem;
    overflow: hidden;
    isolation: isolate;
}

/* Concrete texture via SVG fractalNoise (data URL) */
.hero-noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.32'/></svg>");
    background-size: 320px 320px;
    mix-blend-mode: multiply;
    opacity: 0.55;
}

.hero::before {
    /* concrete vignette + faint scuff streaks */
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.18), transparent 55%),
        radial-gradient(ellipse at 70% 80%, rgba(0,0,0,0.18), transparent 60%),
        repeating-linear-gradient(112deg, rgba(0,0,0,0.04) 0 2px, transparent 2px 22px);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    /* spray dust at the corners */
    content: '';
    position: absolute;
    left: -4%;
    top: -4%;
    width: 38%;
    height: 38%;
    background: radial-gradient(circle at 30% 30%, rgba(255,0,110,0.22), transparent 60%);
    pointer-events: none;
    z-index: 0;
    filter: blur(8px);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1080px;
    width: 100%;
    text-align: center;
}

.hero-eyebrow {
    font-family: 'Bungee Hairline', 'Work Sans', sans-serif;
    font-size: clamp(0.85rem, 1.2vw, 1.05rem);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 1.4rem;
    transform: rotate(-1deg);
}

.hero-title {
    font-family: 'Bungee', cursive;
    font-weight: 400;
    font-size: clamp(3rem, 12vw, 9rem);
    line-height: 0.92;
    letter-spacing: 0.05em;
    color: #1a1a1a;
    text-transform: lowercase;
    margin: 0.4rem 0 1.6rem;
    position: relative;
    display: inline-block;
    filter: url(#spray);
}

.hero-title__word {
    display: inline-block;
    transform: rotate(-2deg);
}

.hero-title__word--alt {
    color: #ff006e;
    transform: rotate(1.5deg);
}

.hero-title__dot {
    display: inline-block;
    color: #ff4040;
    transform: translateY(-0.05em) scale(1.1);
}

/* paint drips hanging from the title */
.drip {
    position: absolute;
    pointer-events: none;
    filter: drop-shadow(0 1px 0 rgba(0,0,0,0.15));
}

.drip--title-1 { left: 14%;  bottom: -28px; width: 8px; height: 36px; }
.drip--title-2 { left: 47%;  bottom: -22px; width: 8px; height: 30px; }
.drip--title-3 { left: 78%;  bottom: -16px; width: 8px; height: 22px; }

/* ============================ PRICE TAG ============================ */

.price-tag {
    display: inline-block;
    background: #ff006e;
    color: #ffffff;
    font-family: 'Bungee Hairline', 'Bungee', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0.55em 1.2em 0.55em 1.7em;
    clip-path: polygon(12% 0%, 100% 0%, 100% 100%, 12% 100%, 0% 50%);
    position: relative;
    box-shadow: 3px 4px 0 rgba(0,0,0,0.18);
}

.price-tag::before {
    /* tag eyelet */
    content: '';
    position: absolute;
    left: 5%;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d0ccc4;
    transform: translateY(-50%);
}

.price-tag--hero {
    font-size: clamp(1.1rem, 2.4vw, 1.8rem);
    padding: 0.7em 1.6em 0.7em 2.2em;
    transform: rotate(-5deg);
    margin: 0.6rem 0 2.4rem;
    will-change: transform;
}

.price-tag__label {
    position: relative;
    display: inline-block;
}

.drip--tag {
    position: absolute;
    right: 18%;
    bottom: -20px;
    width: 8px;
    height: 24px;
}

.price-tag--inline {
    font-size: 0.9rem;
    padding: 0.35em 0.9em 0.35em 1.4em;
    transform: rotate(-3deg);
    box-shadow: 2px 3px 0 rgba(0,0,0,0.18);
}

/* ============================ HERO TEXT ============================ */

.hero-tagline {
    font-family: 'Work Sans', sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.3rem);
    line-height: 1.7;
    color: #1a1a1a;
    max-width: 36ch;
    margin: 0 auto 2rem;
}

.hero-tagline em {
    font-style: italic;
    background: linear-gradient(transparent 60%, #fff4c8 60% 92%, transparent 92%);
    padding: 0 0.15em;
}

.hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Bungee Hairline', 'Work Sans', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #1a1a1a;
    background: #f8f6f0;
    padding: 0.5rem 1.2rem;
    border: 1px solid #1a1a1a;
    transform: rotate(-1.2deg);
    box-shadow: 3px 3px 0 #1a1a1a;
}

.hero-meta__divider {
    width: 6px;
    height: 6px;
    background: #ff006e;
    border-radius: 50%;
}

/* stencil graffiti tags in the corners */
.stencil {
    position: absolute;
    font-family: 'Bungee Hairline', 'Work Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #1a1a1a;
    opacity: 0.45;
    z-index: 1;
    line-height: 1.5;
}

.stencil--top-left {
    top: 1.5rem;
    left: 1.5rem;
    transform: rotate(-3deg);
    border: 2px solid #1a1a1a;
    padding: 0.4rem 0.7rem;
}

.stencil--bottom-right {
    bottom: 6rem;
    right: 1.5rem;
    transform: rotate(2deg);
    color: #ff006e;
    opacity: 0.7;
    border-bottom: 3px solid #ff006e;
    padding: 0.2rem 0.4rem;
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 1.6rem;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'Bungee Hairline', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #1a1a1a;
    z-index: 2;
}

.hero-scroll__arrow {
    display: inline-block;
    color: #ff006e;
    font-size: 1.1rem;
    animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50%      { transform: translateY(6px); opacity: 1; }
}

/* ============================ PLAYBOOK ============================ */

.playbook {
    position: relative;
    background: #d0ccc4;
    padding: 6rem 1.5rem 7rem;
    overflow: hidden;
}

.playbook::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.28'/></svg>");
    background-size: 320px 320px;
    mix-blend-mode: multiply;
    opacity: 0.5;
    pointer-events: none;
}

.playbook::after {
    content: '';
    position: absolute;
    top: 12%;
    right: -8%;
    width: 40%;
    height: 30%;
    background: radial-gradient(circle at 50% 50%, rgba(255,64,64,0.18), transparent 65%);
    pointer-events: none;
    filter: blur(10px);
}

.playbook-header {
    position: relative;
    text-align: center;
    margin-bottom: 4rem;
    z-index: 2;
}

.section-title {
    font-family: 'Bungee', cursive;
    font-weight: 400;
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    letter-spacing: 0.06em;
    color: #1a1a1a;
    text-transform: uppercase;
    display: inline-block;
    transform: rotate(-1.5deg);
    filter: url(#spray);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: -6%;
    bottom: -10px;
    width: 112%;
    height: 8px;
    background: #ff006e;
    transform: rotate(-1deg);
    z-index: -1;
    filter: url(#spray-strong);
}

.section-title--alt {
    color: #f8f6f0;
}

.section-title--alt::after {
    background: #ff4040;
}

.section-sub {
    font-family: 'Bungee Hairline', 'Work Sans', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-top: 1.5rem;
    color: #1a1a1a;
}

/* poster wall — broken grid */
.poster-wall {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2.4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.poster {
    position: relative;
    grid-column: span 6;
    padding: 1.8rem 1.6rem 2rem;
    background: #f8f6f0;
    box-shadow: 4px 6px 12px rgba(0,0,0,0.15);
    color: #1a1a1a;
    transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease;
    will-change: transform;
}

.poster:hover {
    transform: rotate(0deg) translateY(-4px) scale(1.02) !important;
    box-shadow: 6px 10px 18px rgba(0,0,0,0.25);
    z-index: 5;
}

.poster--white  { background: #f8f6f0; }
.poster--cream  { background: #f8f6f0; border-top: 6px solid #ff006e; }
.poster--yellow { background: #fff4c8; }
.poster--wide   { grid-column: span 12; }

@media (max-width: 880px) {
    .poster { grid-column: span 12; }
}

/* tape strips */
.poster-tape {
    position: absolute;
    width: 70px;
    height: 18px;
    background: rgba(255, 244, 200, 0.78);
    border-left: 1px dashed rgba(0,0,0,0.15);
    border-right: 1px dashed rgba(0,0,0,0.15);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.poster-tape--left {
    top: -9px;
    left: 22px;
    transform: rotate(-4deg);
}

.poster-tape--right {
    top: -9px;
    right: 22px;
    transform: rotate(5deg);
    background: rgba(208, 204, 196, 0.85);
}

.poster-num {
    font-family: 'Bungee', cursive;
    font-size: 2.4rem;
    color: #ff006e;
    line-height: 1;
    margin-bottom: 0.4rem;
    letter-spacing: 0.04em;
}

.poster-title {
    font-family: 'Bungee', cursive;
    font-weight: 400;
    font-size: clamp(1.05rem, 1.8vw, 1.4rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 0.9rem;
    line-height: 1.15;
}

.poster-body {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #1a1a1a;
    margin-bottom: 1.2rem;
}

.poster-body em {
    font-style: italic;
    color: #ff006e;
    font-weight: 600;
}

.poster-body strong {
    font-weight: 700;
    background: linear-gradient(transparent 60%, #fff4c8 60%);
    padding: 0 0.15em;
}

.poster-tag {
    margin-top: 0.6rem;
}

/* ============================ TOOLKIT ============================ */

.toolkit {
    position: relative;
    background: #1a1a1a;
    color: #f8f6f0;
    padding: 6rem 1.5rem 7rem;
    overflow: hidden;
    isolation: isolate;
}

.toolkit::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.45 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.18'/></svg>");
    background-size: 320px 320px;
    mix-blend-mode: screen;
    opacity: 0.18;
    pointer-events: none;
}

.toolkit::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle at 50% 50%, rgba(255,0,110,0.28), transparent 60%);
    pointer-events: none;
    filter: blur(20px);
    z-index: 0;
}

.toolkit-header {
    position: relative;
    text-align: center;
    margin-bottom: 3.5rem;
    z-index: 2;
}

.toolkit-header .section-sub { color: #d0ccc4; }

.toolkit-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 980px) {
    .toolkit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .toolkit-grid { grid-template-columns: 1fr; }
}

.tool {
    position: relative;
    padding: 1.6rem 1.4rem 1.8rem;
    background: transparent;
    border: 1.5px dashed #d0ccc4;
    color: #f8f6f0;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.tool::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #ff006e;
    transform: translateY(101%);
    transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
    z-index: 0;
}

.tool:hover {
    border-color: #ff006e;
    transform: translateY(-3px) rotate(-0.6deg);
}

.tool:hover::before {
    transform: translateY(0);
}

.tool > * {
    position: relative;
    z-index: 1;
}

.tool.is-active {
    border-color: #ff006e;
    background: #ff006e;
}

.tool.is-active::before { transform: translateY(0); }

.tool-id {
    font-family: 'Bungee Hairline', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: #ff006e;
    margin-bottom: 0.8rem;
    transition: color 0.25s ease;
}

.tool:hover .tool-id,
.tool.is-active .tool-id { color: #fff4c8; }

.tool-title {
    font-family: 'Bungee', cursive;
    font-weight: 400;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
    color: #f8f6f0;
    margin-bottom: 0.7rem;
    line-height: 1.1;
}

.tool-body {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #d0ccc4;
    margin-bottom: 1.2rem;
}

.tool:hover .tool-body,
.tool.is-active .tool-body { color: #fff4c8; }

.tool-arrow {
    display: inline-block;
    font-family: 'Bungee', cursive;
    font-size: 1.4rem;
    color: #ff006e;
    transition: transform 0.25s ease, color 0.25s ease;
}

.tool:hover .tool-arrow,
.tool.is-active .tool-arrow {
    color: #ffffff;
    transform: translateX(6px);
}

.toolkit-readout {
    position: relative;
    z-index: 2;
    margin: 3rem auto 0;
    max-width: 760px;
    background: #f8f6f0;
    color: #1a1a1a;
    padding: 1.2rem 1.6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: rotate(-0.6deg);
    box-shadow: 4px 5px 0 #ff006e, 8px 10px 0 #1a1a1a;
    font-family: 'Work Sans', sans-serif;
}

.readout-label {
    font-family: 'Bungee Hairline', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #ff006e;
    flex-shrink: 0;
}

.readout-value {
    font-family: 'Bungee', cursive;
    font-size: clamp(0.95rem, 1.6vw, 1.3rem);
    letter-spacing: 0.04em;
    color: #1a1a1a;
    line-height: 1.2;
}

/* ============================ SCOREBOARD / FOOTER ============================ */

.score {
    position: relative;
    background: #1a1a1a;
    color: #f8f6f0;
    padding: 4rem 1.5rem 2.5rem;
    border-top: 6px solid #ff006e;
}

.score::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(90deg, #ff006e 0 18px, #1a1a1a 18px 22px);
    pointer-events: none;
}

.score-row {
    max-width: 1100px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

@media (max-width: 720px) {
    .score-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
}

.score-side {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.score-side--bid { text-align: left; }
.score-side--ask { text-align: right; }

@media (max-width: 720px) {
    .score-side--bid,
    .score-side--ask { text-align: center; }
}

.score-label {
    font-family: 'Bungee', cursive;
    font-weight: 400;
    font-size: clamp(1.6rem, 3.6vw, 2.6rem);
    letter-spacing: 0.08em;
    line-height: 1;
}

.score-side--bid .score-label { color: #ff006e; }
.score-side--ask .score-label { color: #f8f6f0; }

.score-value {
    font-family: 'Bungee Hairline', 'Bungee', sans-serif;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    letter-spacing: 0.04em;
    color: #fff4c8;
}

.score-flag {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #d0ccc4;
}

.score-vs {
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-vs__text {
    font-family: 'Bungee Hairline', sans-serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    letter-spacing: 0.04em;
    color: #d0ccc4;
    transform: rotate(-6deg);
    display: inline-block;
    padding: 0.1em 0.4em;
    border: 2px dashed #d0ccc4;
    line-height: 1;
}

.score-meta {
    max-width: 1100px;
    margin: 0 auto 2.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    padding: 1rem 0;
    border-top: 1px dashed #d0ccc4;
    border-bottom: 1px dashed #d0ccc4;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #d0ccc4;
}

.score-meta__cell strong {
    color: #ff006e;
    font-family: 'Bungee Hairline', sans-serif;
    margin-left: 0.4em;
    letter-spacing: 0.1em;
}

.score-foot {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-family: 'Bungee Hairline', 'Work Sans', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #d0ccc4;
}

.score-foot__tag {
    color: #ff006e;
}

/* ============================ MISC RESPONSIVE ============================ */

@media (max-width: 600px) {
    .hero { padding: 5rem 1rem 7rem; }
    .stencil--top-left { font-size: 0.6rem; padding: 0.3rem 0.5rem; }
    .stencil--bottom-right { font-size: 0.6rem; bottom: 5rem; }
    .hero-meta { flex-wrap: wrap; gap: 0.5rem 0.8rem; padding: 0.5rem 0.9rem; }
    .price-tag--hero { padding: 0.6em 1.2em 0.6em 1.8em; }
}
