/* ============================================================
   YAMI.PARTY — styles.css
   Monochrome Maximalism / Street-Style Fashion Editorial
   Colors: #0a0a0a, #f5f0eb, #e8e1d6, #1c1c1c, #3a3a3a, #c8a96e
   Fonts: Bebas Neue (display), Cormorant Garamond (body)
   ============================================================ */

/* RESET & BASE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --ink:      #0a0a0a;
    --paper:    #f5f0eb;
    --parchment:#e8e1d6;
    --dark:     #1c1c1c;
    --mid:      #3a3a3a;
    --sepia:    #c8a96e;
    --bebas:    'Bebas Neue', sans-serif;
    --cormorant:'Cormorant Garamond', Georgia, serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--ink);
    color: var(--paper);
    font-family: var(--cormorant);
    overflow-x: hidden;
    cursor: crosshair;
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--mid); }
::-webkit-scrollbar-thumb:hover { background: var(--sepia); }

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

.hero-section {
    position: relative;
    width: 100vw;
    height: 100svh;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding-bottom: 8vh;
}

.hero-base {
    position: absolute;
    inset: 0;
    background-color: var(--ink);
    z-index: 0;
}

.hero-texture {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

/* Parallax layers */
.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    will-change: transform;
}

/* Ink pools */
.ink-pools {
    z-index: 2;
    top: 0;
    left: 0;
}

.ink-pool-svg {
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

/* Hero type layer — z-index 3 (under botanicals) */
.hero-type-layer {
    position: relative;
    z-index: 3;
    padding-left: 4vw;
    padding-bottom: 4vh;
    width: 100%;
}

.hero-wordmark {
    font-family: var(--bebas);
    font-weight: 400;
    line-height: 0.85;
    letter-spacing: 0.02em;
    display: flex;
    align-items: baseline;
    gap: 0;
}

.wordmark-yami {
    font-size: clamp(100px, 20vw, 280px);
    color: var(--paper);
    display: block;
    white-space: nowrap;
}

.wordmark-dot {
    font-size: clamp(60px, 12vw, 180px);
    color: var(--sepia);
    font-family: var(--cormorant);
    font-weight: 300;
    margin: 0 0.05em;
    display: block;
}

.wordmark-party {
    font-size: clamp(60px, 10vw, 150px);
    color: var(--parchment);
    opacity: 0.7;
    display: block;
    white-space: nowrap;
}

.hero-sub {
    font-family: var(--cormorant);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(12px, 1.4vw, 22px);
    color: var(--parchment);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-top: 1.5rem;
    margin-left: 0.3rem;
}

.hero-issue-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    margin-left: 0.3rem;
}

.issue-label,
.issue-season {
    font-family: var(--cormorant);
    font-size: clamp(11px, 1.1vw, 17px);
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--mid);
    color: #6a6a6a;
}

.issue-separator {
    color: var(--sepia);
    font-family: var(--cormorant);
    font-size: 1.2em;
}

/* Botanicals hero — z-index 4 (above type, below petals) */
.botanicals-hero {
    z-index: 4;
    top: -5%;
    right: -2%;
    width: 35%;
    height: 120%;
}

.botanical {
    position: absolute;
    will-change: transform;
}

.botanical-rose-large {
    top: -8%;
    right: 5%;
    width: 300px;
    height: 400px;
    opacity: 0.9;
}

.botanical-petals {
    top: 10%;
    left: -40%;
    width: 600px;
    height: 400px;
    opacity: 0.6;
}

.botanicals-petals {
    z-index: 5;
    top: 0;
    right: 0;
    width: 25%;
    height: 100%;
}

.botanical-branch {
    top: 5%;
    right: 8%;
    width: 250px;
    height: 500px;
    opacity: 0.55;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3vh;
    right: 4vw;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    opacity: 0.5;
    animation: scrollFadeIn 2s ease forwards;
    animation-delay: 2.5s;
    opacity: 0;
}

.scroll-line {
    display: block;
    width: 1px;
    height: 60px;
    background: var(--sepia);
    animation: scrollPulse 2s ease-in-out infinite;
    transform-origin: top center;
}

.scroll-text {
    font-family: var(--cormorant);
    font-size: 10px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--sepia);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 0.5; }
    50% { transform: scaleY(0.7); opacity: 1; }
}

@keyframes scrollFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 0.7; transform: translateY(0); }
}

/* ============================================================
   SVG PATH DRAW ANIMATIONS
   ============================================================ */

/* Hero botanicals — immediate draw on load */
.svg-draw {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawPath 3s ease forwards;
}

/* Staggered delays for hero paths */
.svg-draw:nth-child(1)  { animation-delay: 0.1s; }
.svg-draw:nth-child(2)  { animation-delay: 0.2s; }
.svg-draw:nth-child(3)  { animation-delay: 0.35s; }
.svg-draw:nth-child(4)  { animation-delay: 0.5s; }
.svg-draw:nth-child(5)  { animation-delay: 0.65s; }
.svg-draw:nth-child(6)  { animation-delay: 0.8s; }
.svg-draw:nth-child(7)  { animation-delay: 0.95s; }
.svg-draw:nth-child(8)  { animation-delay: 1.1s; }
.svg-draw:nth-child(9)  { animation-delay: 1.25s; }
.svg-draw:nth-child(10) { animation-delay: 1.4s; }
.svg-draw:nth-child(11) { animation-delay: 1.55s; }
.svg-draw:nth-child(12) { animation-delay: 1.7s; }
.svg-draw:nth-child(13) { animation-delay: 1.85s; }
.svg-draw:nth-child(14) { animation-delay: 2.0s; }
.svg-draw:nth-child(15) { animation-delay: 2.1s; }

@keyframes drawPath {
    to { stroke-dashoffset: 0; }
}

/* Scroll-triggered draw — initial state */
.svg-draw-scroll {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    transition: stroke-dashoffset 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.svg-draw-scroll.is-drawn {
    stroke-dashoffset: 0;
}

/* ============================================================
   HERO ENTRY ANIMATION
   ============================================================ */

.hero-wordmark {
    clip-path: inset(0 100% 0 0);
    animation: wordmarkReveal 1.2s cubic-bezier(0.76, 0, 0.24, 1) forwards;
    animation-delay: 0.3s;
}

@keyframes wordmarkReveal {
    to { clip-path: inset(0 0% 0 0); }
}

.hero-sub {
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 1.2s;
}

.hero-issue-line {
    opacity: 0;
    transform: translateY(8px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 1.6s;
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   EDITORIAL SECTIONS — SHARED
   ============================================================ */

.editorial-section {
    position: relative;
    width: 100%;
    background-color: var(--ink);
    overflow: hidden;
}

/* ============================================================
   EDITORIAL DARK SECTION
   ============================================================ */

.editorial-dark {
    padding: 12vh 6vw 10vh;
    display: flex;
    align-items: center;
    min-height: 90vh;
    border-top: 1px solid var(--dark);
}

.editorial-container {
    width: 100%;
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 4vw;
    align-items: center;
}

.editorial-number {
    font-family: var(--bebas);
    font-size: clamp(80px, 10vw, 140px);
    color: var(--dark);
    line-height: 1;
    align-self: flex-start;
    padding-top: 0.5rem;
}

.editorial-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.editorial-heading-wrap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-header {
    font-family: var(--bebas);
    font-weight: 400;
    font-size: clamp(60px, 9vw, 130px);
    line-height: 0.9;
    letter-spacing: 0.02em;
    color: var(--paper);
}

.editorial-accent-line {
    width: 60px;
    height: 1px;
    background: var(--sepia);
}

.editorial-text-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.editorial-body {
    font-family: var(--cormorant);
    font-size: clamp(16px, 1.4vw, 22px);
    font-weight: 300;
    line-height: 1.7;
    color: var(--parchment);
    max-width: 45ch;
}

.editorial-caption {
    font-family: var(--cormorant);
    font-size: clamp(10px, 1vw, 13px);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--mid);
}

.editorial-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.editorial-botanical {
    width: 100%;
    max-width: 300px;
    height: auto;
    opacity: 0.85;
}

/* ============================================================
   TYPOGRAPHIC COLLISION SECTION
   ============================================================ */

.editorial-type {
    padding: 10vh 0;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 1px solid var(--dark);
}

.type-collision-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collision-text-back {
    position: absolute;
    font-family: var(--bebas);
    font-size: clamp(80px, 14vw, 200px);
    color: var(--dark);
    letter-spacing: 0.06em;
    z-index: 1;
    user-select: none;
    white-space: nowrap;
}

.collision-botanical-mid {
    position: absolute;
    z-index: 2;
    width: 70%;
    max-width: 600px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.collision-botanical-mid svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.collision-text-front {
    position: absolute;
    font-family: var(--bebas);
    font-size: clamp(80px, 14vw, 200px);
    color: var(--paper);
    letter-spacing: 0.06em;
    z-index: 3;
    user-select: none;
    white-space: nowrap;
    mix-blend-mode: difference;
}

.editorial-manifesto {
    padding: 6vh 8vw 4vh;
    text-align: center;
}

.manifesto-text {
    font-family: var(--cormorant);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(20px, 2.5vw, 38px);
    line-height: 1.6;
    color: var(--parchment);
    letter-spacing: 0.05em;
}

/* ============================================================
   EDITORIAL GRID SECTION
   ============================================================ */

.editorial-grid-section {
    padding: 10vh 6vw 12vh;
    border-top: 1px solid var(--dark);
}

.grid-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 6vh;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--dark);
}

.grid-title {
    font-size: clamp(50px, 7vw, 100px);
    line-height: 0.9;
}

.grid-issue {
    font-family: var(--cormorant);
    font-size: clamp(11px, 1.1vw, 15px);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--mid);
    padding-bottom: 0.5rem;
}

.editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2px;
}

.grid-item {
    position: relative;
    overflow: hidden;
}

.grid-item--large {
    grid-column: 1;
    grid-row: 1;
    min-height: 500px;
    background: var(--dark);
    display: flex;
    flex-direction: column;
}

.grid-item--portrait {
    grid-column: 2;
    grid-row: 1;
    min-height: 500px;
    background: var(--ink);
    border: 1px solid var(--mid);
    display: flex;
    flex-direction: column;
}

.grid-item--text {
    grid-column: 1;
    grid-row: 2;
    min-height: 280px;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    border-top: 1px solid var(--dark);
}

.grid-item--wide {
    grid-column: 2;
    grid-row: 2;
    min-height: 280px;
    background: var(--dark);
    display: flex;
    flex-direction: column;
}

.grid-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    border-bottom: 1px solid var(--mid);
}

.grid-visual--wide {
    border-bottom: none;
    padding: 2.5rem;
}

.grid-botanical {
    width: 100%;
    max-width: 200px;
    height: auto;
    opacity: 0.85;
}

.grid-botanical-wide {
    width: 100%;
    height: auto;
    opacity: 0.8;
}

.grid-caption {
    padding: 1.5rem 2rem 2rem;
}

.grid-num {
    font-family: var(--cormorant);
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--sepia);
    display: block;
    margin-bottom: 0.5rem;
}

.grid-title-item {
    font-family: var(--bebas);
    font-weight: 400;
    font-size: clamp(22px, 2.5vw, 36px);
    letter-spacing: 0.05em;
    color: var(--paper);
    margin-bottom: 0.6rem;
}

.grid-body {
    font-family: var(--cormorant);
    font-size: clamp(14px, 1.2vw, 17px);
    font-style: italic;
    font-weight: 300;
    color: var(--parchment);
    line-height: 1.6;
}

.grid-pull-quote {
    text-align: center;
}

.pull-quote-mark {
    font-family: var(--cormorant);
    font-size: clamp(60px, 7vw, 100px);
    color: var(--mid);
    line-height: 0.5;
    display: block;
    margin-bottom: 1rem;
}

.grid-pull-quote p {
    font-family: var(--cormorant);
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 300;
    font-style: italic;
    color: var(--parchment);
    line-height: 1.5;
    max-width: 30ch;
}

.pull-quote-source {
    display: block;
    margin-top: 1.5rem;
    font-family: var(--cormorant);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--sepia);
}

/* ============================================================
   MANIFESTO SECTION
   ============================================================ */

.manifesto-section {
    padding: 12vh 6vw 14vh;
    border-top: 1px solid var(--dark);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.manifesto-container {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 5vw;
    width: 100%;
    max-width: 900px;
}

.manifesto-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.manifesto-ornament {
    width: 40px;
}

.manifesto-ornament svg {
    width: 100%;
    height: auto;
}

.manifesto-rule-vertical {
    flex: 1;
    width: 1px;
    background: var(--mid);
    min-height: 200px;
}

.manifesto-right {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.manifesto-heading {
    font-family: var(--bebas);
    font-weight: 400;
    font-size: clamp(70px, 10vw, 140px);
    line-height: 0.85;
    letter-spacing: 0.02em;
    color: var(--paper);
}

.manifesto-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.manifesto-body p {
    font-family: var(--cormorant);
    font-size: clamp(16px, 1.5vw, 22px);
    font-weight: 300;
    line-height: 1.7;
    color: var(--parchment);
    max-width: 55ch;
}

.manifesto-credits {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-top: 1rem;
    border-top: 1px solid var(--dark);
}

.credit-line {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.credit-role {
    font-family: var(--cormorant);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--mid);
    min-width: 160px;
}

.credit-dash {
    color: var(--sepia);
    font-family: var(--cormorant);
}

.credit-name {
    font-family: var(--cormorant);
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--parchment);
}

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

.site-footer {
    background: var(--ink);
    border-top: 1px solid var(--dark);
    padding: 6vh 6vw 8vh;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 4vh;
}

.footer-botanical {
    width: 100%;
    overflow: hidden;
    opacity: 0.4;
}

.footer-botanical svg {
    width: 100%;
    height: auto;
    display: block;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-wordmark {
    font-family: var(--bebas);
    font-weight: 400;
    font-size: clamp(30px, 4vw, 60px);
    letter-spacing: 0.1em;
    color: var(--mid);
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-link {
    font-family: var(--cormorant);
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--sepia);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--paper);
}

.footer-sep {
    color: var(--mid);
    font-family: var(--cormorant);
}

.footer-copy,
.footer-tag {
    font-family: var(--cormorant);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mid);
}

/* ============================================================
   CURSOR CUSTOM
   ============================================================ */

body.has-cursor {
    cursor: none;
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--sepia);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.cursor-ring {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 1px solid var(--paper);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    opacity: 0.5;
}

/* ============================================================
   REVEAL ANIMATIONS (scroll-triggered)
   ============================================================ */

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.reveal-fade.is-visible {
    opacity: 1;
}

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

@media (max-width: 900px) {
    .editorial-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .editorial-number {
        display: none;
    }

    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .grid-item--large,
    .grid-item--portrait,
    .grid-item--text,
    .grid-item--wide {
        grid-column: 1;
        grid-row: auto;
    }

    .manifesto-container {
        grid-template-columns: 1fr;
    }

    .manifesto-left {
        display: none;
    }

    .type-collision-container {
        height: 200px;
    }

    .footer-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .footer-sep {
        display: none;
    }
}

@media (max-width: 600px) {
    .botanicals-hero {
        width: 60%;
        right: -5%;
    }

    .botanical-rose-large {
        width: 200px;
        height: 280px;
    }

    .hero-wordmark {
        flex-direction: column;
        line-height: 0.85;
    }

    .wordmark-party {
        font-size: clamp(40px, 12vw, 120px);
    }

    .grid-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .collision-text-back,
    .collision-text-front {
        font-size: 18vw;
    }
}
