/* =============================================
   tanso.market -- Graffiti Carbon Exchange
   Colors: #F8F8F8, #0A0A0A, #E8FF00, #FF2080, #C0C0C0, #2A2A2A
   Fonts: Libre Baskerville (display), Work Sans (body)
   ============================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #F8F8F8;
    color: #0A0A0A;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* =============================================
   CONCRETE TEXTURE (subtle noise via radial gradients)
   ============================================= */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(192,192,192,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(192,192,192,0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(192,192,192,0.04) 0%, transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(192,192,192,0.05) 0%, transparent 45%);
}

/* =============================================
   SLASH MARKS (scattered environmental marks)
   ============================================= */
.slash-marks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.slash {
    position: absolute;
    display: block;
    width: 2px;
    background: #E8FF00;
    opacity: 0.35;
}

.slash-1  { height: 60px; top: 8%;   left: 5%;   transform: rotate(-30deg); }
.slash-2  { height: 45px; top: 15%;  left: 88%;  transform: rotate(40deg);  background: #FF2080; }
.slash-3  { height: 70px; top: 25%;  left: 92%;  transform: rotate(-35deg); }
.slash-4  { height: 50px; top: 35%;  left: 3%;   transform: rotate(45deg);  background: #FF2080; }
.slash-5  { height: 40px; top: 42%;  left: 78%;  transform: rotate(-40deg); }
.slash-6  { height: 80px; top: 55%;  left: 7%;   transform: rotate(30deg); }
.slash-7  { height: 55px; top: 60%;  left: 95%;  transform: rotate(-45deg); background: #FF2080; }
.slash-8  { height: 65px; top: 72%;  left: 12%;  transform: rotate(35deg); }
.slash-9  { height: 48px; top: 80%;  left: 85%;  transform: rotate(-30deg); background: #FF2080; }
.slash-10 { height: 58px; top: 90%;  left: 2%;   transform: rotate(40deg); }
.slash-11 { height: 42px; top: 5%;   left: 45%;  transform: rotate(-38deg); background: #FF2080; opacity: 0.2; }
.slash-12 { height: 52px; top: 18%;  left: 70%;  transform: rotate(33deg);  opacity: 0.25; }
.slash-13 { height: 38px; top: 48%;  left: 55%;  transform: rotate(-42deg); background: #FF2080; opacity: 0.2; }
.slash-14 { height: 62px; top: 65%;  left: 40%;  transform: rotate(37deg);  opacity: 0.25; }
.slash-15 { height: 44px; top: 78%;  left: 60%;  transform: rotate(-34deg); background: #FF2080; opacity: 0.2; }
.slash-16 { height: 75px; top: 12%;  left: 30%;  transform: rotate(42deg);  opacity: 0.18; }
.slash-17 { height: 35px; top: 50%;  left: 20%;  transform: rotate(-36deg); background: #FF2080; opacity: 0.22; }
.slash-18 { height: 68px; top: 88%;  left: 48%;  transform: rotate(31deg);  opacity: 0.2; }

/* =============================================
   SPRAY-PAINT GRADIENT MESH
   ============================================= */
.spray-gradient {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.spray-gradient-hero {
    top: 10%;
    left: 15%;
    width: 70%;
    height: 80%;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(232,255,0,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(255,32,128,0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 30%, rgba(232,255,0,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 70%, rgba(255,32,128,0.06) 0%, transparent 45%);
}

.spray-gradient-two {
    top: 5%;
    left: -5%;
    width: 60%;
    height: 90%;
    background:
        radial-gradient(ellipse at 40% 50%, rgba(232,255,0,0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 30%, rgba(255,32,128,0.08) 0%, transparent 50%);
}

.spray-gradient-three {
    top: 0;
    right: -5%;
    left: auto;
    width: 60%;
    height: 100%;
    background:
        radial-gradient(ellipse at 60% 40%, rgba(255,32,128,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(232,255,0,0.08) 0%, transparent 50%);
}

.spray-gradient-four {
    top: 0;
    left: 20%;
    width: 60%;
    height: 100%;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(232,255,0,0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 40%, rgba(255,32,128,0.08) 0%, transparent 45%);
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    color: #0A0A0A;
}

.section-heading {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.section-heading-light {
    color: #0A0A0A;
}

.section-body {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #0A0A0A;
    margin-bottom: 1.2rem;
    max-width: 480px;
}

.section-body-dark {
    color: #2A2A2A;
}

/* =============================================
   UNDERLINE-DRAW LINKS
   ============================================= */
a.underline-draw {
    color: #0A0A0A;
    text-decoration: none;
    font-weight: 500;
    background: linear-gradient(#0A0A0A, #0A0A0A) no-repeat;
    background-position: bottom left;
    background-size: 0% 2px;
    transition: background-size 0.3s ease;
    padding-bottom: 2px;
}

a.underline-draw:hover {
    background-size: 100% 2px;
}

a.underline-draw-center {
    background-position: bottom center;
}

/* =============================================
   HERO SECTION
   ============================================= */
.section-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-title {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 700;
    color: #0A0A0A;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-family: 'Work Sans', sans-serif;
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    font-weight: 400;
    color: #C0C0C0;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-top: 1rem;
}

.arrow-down {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: arrowBounce 2s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* =============================================
   SECTION 2 -- Offset Left
   ============================================= */
.section-offset-left {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    z-index: 2;
}

.content-burst {
    position: relative;
    z-index: 3;
    max-width: 520px;
}

.content-burst-left {
    margin-left: 8%;
}

.dark-card {
    background: #2A2A2A;
    padding: clamp(2rem, 4vw, 3.5rem);
    position: relative;
}

.dark-card .section-heading {
    color: #F8F8F8;
}

.dark-card .section-body {
    color: #C0C0C0;
}

.dark-card a.underline-draw {
    color: #E8FF00;
    background: linear-gradient(#E8FF00, #E8FF00) no-repeat;
    background-position: bottom left;
    background-size: 0% 2px;
}

.dark-card a.underline-draw:hover {
    background-size: 100% 2px;
}

.dark-card a.underline-draw-center {
    background-position: bottom center;
}

.arrow-right {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

/* =============================================
   SECTION 3 -- Offset Right
   ============================================= */
.section-offset-right {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 6rem 0;
    z-index: 2;
}

.content-burst-right {
    margin-right: 8%;
    text-align: right;
}

.content-burst-right .section-body {
    margin-left: auto;
}

/* Zigzag border */
.zigzag-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    z-index: 3;
    background:
        linear-gradient(135deg, #F8F8F8 33.33%, transparent 33.33%) 0 0,
        linear-gradient(225deg, #F8F8F8 33.33%, transparent 33.33%) 0 0;
    background-color: #E8FF00;
    background-size: 20px 20px;
    background-repeat: repeat-x;
    opacity: 0.5;
}

/* =============================================
   SECTION 4 -- Closing
   ============================================= */
.section-closing {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 0;
    z-index: 2;
}

.closing-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.closing-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0A0A0A;
    margin-bottom: 0.5rem;
}

.closing-sub {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #C0C0C0;
    text-transform: uppercase;
    letter-spacing: 0.25em;
}

/* Converging arrows */
.converging-arrows {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.arrow-converge {
    display: block;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .content-burst-left {
        margin-left: 5%;
        max-width: 90%;
    }

    .content-burst-right {
        margin-right: 5%;
        max-width: 90%;
    }

    .arrow-right {
        display: none;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4.5rem);
    }

    .slash {
        opacity: 0.15;
    }

    .dark-card {
        padding: 1.5rem;
    }

    .section-heading {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

@media (max-width: 480px) {
    .content-burst-left,
    .content-burst-right {
        margin-left: 4%;
        margin-right: 4%;
        max-width: 92%;
    }

    .content-burst-right {
        text-align: left;
    }

    .content-burst-right .section-body {
        margin-left: 0;
    }

    .converging-arrows {
        gap: 1rem;
    }

    .converging-arrows svg {
        width: 40px;
    }
}
