/* ============================================================
   koomimi.com v2 — inflated 3D decoration playground
   Palette: #b8d4e8 #f0c4d8 #c4e8d8 #4a2d7c #2d7c6a #7c2d5a
            #6a5090 #2a2040 #8080a0 #ffffff
   Fonts: Quicksand, Noto Sans KR, Comfortaa
   ============================================================ */

:root {
    --c-sky: #b8d4e8;
    --c-blossom: #f0c4d8;
    --c-mint: #c4e8d8;
    --c-aurora-deep: #4a2d7c;
    --c-aurora-mid: #2d7c6a;
    --c-aurora-warm: #7c2d5a;
    --c-violet: #6a5090;
    --c-ink: #2a2040;
    --c-soft: #8080a0;
    --c-white: #ffffff;

    --text-primary: #2a2040;
    --text-secondary: #6a5090;
    --text-light: #f6f0fa;

    --shadow-puff:
        0 1px 0 rgba(255,255,255,0.8) inset,
        0 -8px 18px rgba(128,128,160,0.18) inset,
        0 8px 22px rgba(128,128,160,0.25),
        0 24px 50px rgba(74,45,124,0.18);

    --shadow-puff-soft:
        0 1px 0 rgba(255,255,255,0.6) inset,
        0 -6px 14px rgba(128,128,160,0.14) inset,
        0 6px 16px rgba(128,128,160,0.20),
        0 16px 30px rgba(74,45,124,0.12);

    --font-display: 'Quicksand', 'Noto Sans KR', system-ui, sans-serif;
    --font-body: 'Noto Sans KR', 'Quicksand', system-ui, sans-serif;
    --font-accent: 'Comfortaa', 'Quicksand', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--c-sky);
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   SECTION SHELL
   ============================================================ */

.section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: clamp(60px, 10vw, 120px) clamp(24px, 5vw, 80px);
    isolation: isolate;
}

.section-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

.section-head {
    text-align: center;
    margin-bottom: clamp(36px, 6vw, 72px);
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-accent);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--c-aurora-deep);
    margin-bottom: 18px;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.8) inset,
        0 4px 14px rgba(74,45,124,0.10);
}

.section-eyebrow-light {
    background: rgba(255,255,255,0.18);
    color: #fff;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.4) inset,
        0 4px 14px rgba(0,0,0,0.18);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--c-ink);
    margin-bottom: 14px;
}

.section-title-light {
    color: #fff;
    text-shadow: 0 6px 24px rgba(74,45,124,0.45);
}

.section-lede {
    font-family: var(--font-body);
    font-size: clamp(15px, 1.4vw, 18px);
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
}

.section-lede-light {
    color: rgba(255,255,255,0.85);
}

/* ============================================================
   GRADIENT MESH BACKGROUNDS
   ============================================================ */

.mesh-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.mesh-hero {
    background:
        radial-gradient(60% 50% at 18% 20%, rgba(184,212,232,0.95), transparent 70%),
        radial-gradient(55% 60% at 82% 30%, rgba(240,196,216,0.85), transparent 72%),
        radial-gradient(70% 60% at 50% 90%, rgba(196,232,216,0.85), transparent 70%),
        radial-gradient(40% 40% at 80% 80%, rgba(106,80,144,0.30), transparent 70%),
        radial-gradient(45% 45% at 12% 75%, rgba(240,196,216,0.55), transparent 70%),
        linear-gradient(135deg, #d8e6f1 0%, #f0d8e4 50%, #d8f0e2 100%);
}

.mesh-tools {
    background:
        radial-gradient(50% 50% at 25% 30%, rgba(196,232,216,0.85), transparent 70%),
        radial-gradient(55% 50% at 78% 22%, rgba(184,212,232,0.95), transparent 72%),
        radial-gradient(60% 55% at 50% 88%, rgba(240,196,216,0.78), transparent 70%),
        radial-gradient(35% 35% at 88% 72%, rgba(196,232,216,0.55), transparent 70%),
        linear-gradient(160deg, #e6f0e6 0%, #e6e0f0 55%, #f5dde6 100%);
}

.mesh-palette {
    background:
        radial-gradient(55% 50% at 18% 22%, rgba(240,196,216,0.95), transparent 70%),
        radial-gradient(50% 55% at 80% 30%, rgba(196,232,216,0.85), transparent 70%),
        radial-gradient(60% 55% at 50% 92%, rgba(184,212,232,0.85), transparent 70%),
        radial-gradient(40% 40% at 88% 80%, rgba(124,45,90,0.18), transparent 70%),
        linear-gradient(135deg, #f3e0ea 0%, #e8e0f0 50%, #dce8f1 100%);
}

.mesh-closing {
    background:
        radial-gradient(60% 55% at 22% 28%, rgba(196,232,216,0.85), transparent 70%),
        radial-gradient(55% 60% at 78% 22%, rgba(184,212,232,0.95), transparent 70%),
        radial-gradient(60% 50% at 50% 88%, rgba(240,196,216,0.85), transparent 70%),
        radial-gradient(35% 35% at 88% 80%, rgba(106,80,144,0.30), transparent 70%),
        radial-gradient(45% 40% at 8% 80%, rgba(196,232,216,0.65), transparent 70%),
        linear-gradient(135deg, #d8e6f1 0%, #f0d8e4 55%, #d8f0e2 100%);
}

/* aurora background for inspiration */
.aurora-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(55% 55% at 20% 25%, rgba(74,45,124,0.95), transparent 70%),
        radial-gradient(60% 50% at 78% 30%, rgba(45,124,106,0.85), transparent 72%),
        radial-gradient(60% 55% at 50% 88%, rgba(124,45,90,0.85), transparent 70%),
        radial-gradient(40% 40% at 88% 78%, rgba(106,80,144,0.55), transparent 70%),
        linear-gradient(135deg, #2c1f4a 0%, #2a2040 50%, #3a1f3a 100%);
}

/* ============================================================
   AURORA ORBITERS (orbital sparkle)
   ============================================================ */

.aurora-orbiter {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
    z-index: 1;
    animation: orbit 14s linear infinite, hue-cycle 10s linear infinite;
}

.orbiter-1 {
    width: 32px; height: 32px;
    top: 22%; left: 18%;
    background: radial-gradient(circle at 35% 30%, #fff 0%, #f0c4d8 50%, #7c2d5a 100%);
    box-shadow: 0 0 30px rgba(240,196,216,0.7), 0 0 60px rgba(124,45,90,0.4);
    animation-duration: 18s, 9s;
}
.orbiter-2 {
    width: 26px; height: 26px;
    top: 30%; right: 14%;
    background: radial-gradient(circle at 35% 30%, #fff 0%, #c4e8d8 50%, #2d7c6a 100%);
    box-shadow: 0 0 24px rgba(196,232,216,0.8), 0 0 48px rgba(45,124,106,0.4);
    animation-duration: 22s, 11s;
}
.orbiter-3 {
    width: 22px; height: 22px;
    bottom: 22%; left: 28%;
    background: radial-gradient(circle at 35% 30%, #fff 0%, #b8d4e8 50%, #6a5090 100%);
    box-shadow: 0 0 22px rgba(184,212,232,0.8), 0 0 44px rgba(106,80,144,0.4);
    animation-duration: 16s, 12s;
}
.orbiter-4 {
    width: 36px; height: 36px;
    bottom: 28%; right: 20%;
    background: radial-gradient(circle at 35% 30%, #fff 0%, #f0c4d8 60%, #4a2d7c 100%);
    box-shadow: 0 0 32px rgba(240,196,216,0.7), 0 0 64px rgba(74,45,124,0.4);
    animation-duration: 20s, 8s;
}

.orbiter-deep-1 {
    width: 30px; height: 30px;
    top: 18%; left: 12%;
    background: radial-gradient(circle at 35% 30%, #fff 0%, #c4e8d8 45%, #2d7c6a 100%);
    box-shadow: 0 0 28px rgba(196,232,216,0.8), 0 0 56px rgba(45,124,106,0.5);
    animation-duration: 24s, 10s;
}
.orbiter-deep-2 {
    width: 28px; height: 28px;
    bottom: 18%; right: 14%;
    background: radial-gradient(circle at 35% 30%, #fff 0%, #f0c4d8 45%, #7c2d5a 100%);
    box-shadow: 0 0 26px rgba(240,196,216,0.7), 0 0 52px rgba(124,45,90,0.5);
    animation-duration: 19s, 13s;
}

.orbiter-close-1 {
    width: 28px; height: 28px;
    top: 18%; left: 16%;
    background: radial-gradient(circle at 35% 30%, #fff 0%, #b8d4e8 45%, #6a5090 100%);
    box-shadow: 0 0 24px rgba(184,212,232,0.8), 0 0 48px rgba(106,80,144,0.4);
    animation-duration: 18s, 9s;
}
.orbiter-close-2 {
    width: 36px; height: 36px;
    top: 24%; right: 20%;
    background: radial-gradient(circle at 35% 30%, #fff 0%, #f0c4d8 50%, #4a2d7c 100%);
    box-shadow: 0 0 32px rgba(240,196,216,0.7), 0 0 64px rgba(74,45,124,0.4);
    animation-duration: 22s, 11s;
}
.orbiter-close-3 {
    width: 22px; height: 22px;
    bottom: 22%; left: 24%;
    background: radial-gradient(circle at 35% 30%, #fff 0%, #c4e8d8 50%, #2d7c6a 100%);
    box-shadow: 0 0 22px rgba(196,232,216,0.8), 0 0 44px rgba(45,124,106,0.4);
    animation-duration: 16s, 12s;
}
.orbiter-close-4 {
    width: 30px; height: 30px;
    bottom: 28%; right: 18%;
    background: radial-gradient(circle at 35% 30%, #fff 0%, #f0c4d8 50%, #7c2d5a 100%);
    box-shadow: 0 0 26px rgba(240,196,216,0.7), 0 0 52px rgba(124,45,90,0.4);
    animation-duration: 20s, 8s;
}

@keyframes orbit {
    from { transform: rotate(0deg) translateX(40px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(40px) rotate(-360deg); }
}

@keyframes hue-cycle {
    from { filter: hue-rotate(0deg) blur(1px); }
    to   { filter: hue-rotate(360deg) blur(1px); }
}

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

.section-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: clamp(80px, 12vh, 140px);
    padding-bottom: clamp(80px, 12vh, 140px);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.10em;
    color: var(--c-aurora-deep);
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 32px;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.85) inset,
        0 6px 20px rgba(74,45,124,0.10);
    animation: tag-float 6s ease-in-out infinite;
}

.tag-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, #f0c4d8 60%, #7c2d5a 100%);
    box-shadow: 0 0 8px rgba(240,196,216,0.9);
    animation: tag-pulse 1.6s ease-in-out infinite;
}

@keyframes tag-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes tag-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

.wordmark {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: clamp(8px, 1.4vw, 18px);
    margin-bottom: 28px;
}

.puff {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(80px, 14vw, 180px);
    line-height: 0.9;
    padding: 18px 22px 22px 22px;
    border-radius: 38% 42% 38% 42% / 42% 38% 42% 38%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    position: relative;
    transform: translateY(20px) scale(0.6);
    opacity: 0;
    transition: transform 700ms cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 600ms ease,
                filter 700ms ease;
    will-change: transform, opacity;
    filter: drop-shadow(0 18px 36px rgba(74,45,124,0.30));
}

.puff::before {
    content: attr(data-i);
}

.puff-1 {
    background: radial-gradient(circle at 30% 25%, #ffffff 0%, #f0c4d8 40%, #d894b3 75%, #7c2d5a 100%);
}
.puff-2 {
    background: radial-gradient(circle at 30% 25%, #ffffff 0%, #c4e8d8 40%, #8fc6b3 75%, #2d7c6a 100%);
}
.puff-3 {
    background: radial-gradient(circle at 30% 25%, #ffffff 0%, #b8d4e8 40%, #8da7c8 75%, #4a2d7c 100%);
}

.puff::after {
    /* tiny specular highlight */
    content: '';
    position: absolute;
    top: 22%;
    left: 22%;
    width: 22%;
    height: 16%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.85), rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: rotate(-20deg);
}

.puff.is-visible {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.hero-domain {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: clamp(14px, 1.4vw, 18px);
    letter-spacing: 0.22em;
    color: var(--c-aurora-deep);
    margin-bottom: 14px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 600ms ease 1300ms, transform 600ms ease 1300ms;
}

.hero-sub {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.3vw, 17px);
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 600ms ease 1500ms, transform 600ms ease 1500ms;
}

.hero-inner.is-ready .hero-domain,
.hero-inner.is-ready .hero-sub {
    opacity: 1;
    transform: translateY(0);
}

.hero-scroll-hint {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 800ms ease 1900ms;
}

.hero-inner.is-ready .hero-scroll-hint {
    opacity: 0.85;
}

.scroll-dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, #f0c4d8 50%, #7c2d5a 100%);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 4px 12px rgba(124,45,90,0.4);
    animation: scroll-bob 2s ease-in-out infinite;
}

.scroll-label {
    font-family: var(--font-accent);
    font-size: 11px;
    letter-spacing: 0.24em;
    color: var(--c-aurora-deep);
    text-transform: uppercase;
}

@keyframes scroll-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ============================================================
   DIAGONAL SECTIONS
   ============================================================ */

.diagonal-positive {
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    margin-top: -40px;
    margin-bottom: -40px;
    padding-top: clamp(120px, 18vw, 200px);
    padding-bottom: clamp(120px, 18vw, 200px);
}

.diagonal-negative {
    clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
    margin-top: -40px;
    margin-bottom: -40px;
    padding-top: clamp(120px, 18vw, 200px);
    padding-bottom: clamp(120px, 18vw, 200px);
}

/* ============================================================
   TOOLS SECTION
   ============================================================ */

.tools-scatter {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 48px);
    padding: 20px 0;
    perspective: 1200px;
}

.tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 18px;
    transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--rot, 0deg)) scale(0);
    opacity: 0;
    transition:
        transform 700ms cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 500ms ease;
    will-change: transform, opacity;
}

.tool.is-visible {
    transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--rot, 0deg)) scale(1);
    opacity: 1;
}

.tool-figure {
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tool:hover .tool-figure {
    transform: translateY(-6px) scale(1.05) rotate(calc(var(--rot, 0deg) * -0.3));
}

.tool-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 22px;
    color: var(--c-ink);
    letter-spacing: -0.01em;
}

.tool-meta {
    font-family: var(--font-accent);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--c-aurora-deep);
    text-transform: uppercase;
}

/* ----- Scissors ----- */
.scissors {
    position: relative;
    width: 110px;
    height: 110px;
}
.scissors-blade {
    position: absolute;
    width: 80px;
    height: 22px;
    border-radius: 18px 60% 60% 18px;
    top: 32px;
    left: 6px;
    background: radial-gradient(ellipse at 30% 30%, #fff 0%, #c4e8d8 30%, #8fc6b3 75%, #2d7c6a 100%);
    box-shadow: var(--shadow-puff);
}
.scissors-blade-l { transform: rotate(-22deg) translate(-2px, -10px); }
.scissors-blade-r { transform: rotate(22deg) translate(2px, -10px); top: 32px; left: 24px; }
.scissors-handle {
    position: absolute;
    width: 30px; height: 30px;
    border: 8px solid;
    border-color: transparent;
    border-radius: 50%;
    box-sizing: border-box;
}
.scissors-handle-l {
    top: 64px; left: 8px;
    border-color: #f0c4d8 #f0c4d8 #d894b3 #d894b3;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.7) inset,
        0 6px 14px rgba(124,45,90,0.25);
    background: transparent;
}
.scissors-handle-r {
    top: 64px; left: 60px;
    border-color: #f0c4d8 #d894b3 #d894b3 #f0c4d8;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.7) inset,
        0 6px 14px rgba(124,45,90,0.25);
    background: transparent;
}
.scissors-pivot {
    position: absolute;
    width: 16px; height: 16px;
    top: 42px; left: 47px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, #6a5090 50%, #2a2040 100%);
    box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 4px 10px rgba(42,32,64,0.35);
    z-index: 3;
}

/* ----- Tape ----- */
.tape {
    position: relative;
    width: 110px;
    height: 110px;
}
.tape-ring {
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #f0c4d8 35%, #d894b3 70%, #7c2d5a 100%);
    box-shadow: var(--shadow-puff);
}
.tape-core {
    position: absolute;
    inset: 36px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #c4e8d8 50%, #8fc6b3 100%);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.8) inset,
        0 -4px 10px rgba(45,124,106,0.3) inset,
        0 4px 8px rgba(45,124,106,0.25);
}
.tape-strip {
    position: absolute;
    width: 80px; height: 16px;
    bottom: -4px; left: -10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(240,196,216,0.5));
    border-radius: 4px;
    transform: rotate(-12deg);
    box-shadow: 0 4px 10px rgba(124,45,90,0.18);
    border: 1px solid rgba(255,255,255,0.6);
}
.tape-shine {
    position: absolute;
    top: 14px; left: 18px;
    width: 24px; height: 14px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.9), rgba(255,255,255,0) 70%);
    border-radius: 50%;
    transform: rotate(-25deg);
}

/* ----- Sticker ----- */
.sticker {
    position: relative;
    width: 110px;
    height: 110px;
}
.sticker-back {
    position: absolute;
    inset: 6px;
    border-radius: 28px;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #c4e8d8 50%, #8fc6b3 100%);
    box-shadow: var(--shadow-puff-soft);
    transform: rotate(-3deg);
}
.sticker-face {
    position: absolute;
    inset: 12px;
    border-radius: 26px;
    background: radial-gradient(circle at 30% 28%, #fff 0%, #f0c4d8 45%, #d894b3 80%, #7c2d5a 100%);
    box-shadow: var(--shadow-puff);
}
.sticker-eye {
    position: absolute;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, #6a5090 60%, #2a2040 100%);
    top: 38px;
    box-shadow: 0 2px 4px rgba(42,32,64,0.4);
}
.sticker-eye-l { left: 30px; }
.sticker-eye-r { right: 30px; }
.sticker-cheek {
    position: absolute;
    width: 16px; height: 10px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255,128,160,0.7), rgba(255,128,160,0) 70%);
    top: 56px;
    filter: blur(1px);
}
.sticker-cheek-l { left: 22px; }
.sticker-cheek-r { right: 22px; }
.sticker-peel {
    position: absolute;
    bottom: 6px; right: 6px;
    width: 28px; height: 28px;
    background: linear-gradient(135deg, #fff 0%, #c4e8d8 50%, #8fc6b3 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    border-radius: 0 0 26px 0;
    box-shadow: -2px -2px 6px rgba(45,124,106,0.25);
}

/* ----- Brush ----- */
.brush {
    position: relative;
    width: 30px;
    height: 130px;
    margin: 0 auto;
}
.brush-handle {
    position: absolute;
    width: 22px; height: 78px;
    bottom: 0; left: 4px;
    border-radius: 14px 14px 12px 12px;
    background: linear-gradient(135deg, #f0c4d8 0%, #d894b3 50%, #7c2d5a 100%);
    box-shadow: var(--shadow-puff-soft);
}
.brush-ferrule {
    position: absolute;
    width: 26px; height: 18px;
    bottom: 70px; left: 2px;
    border-radius: 6px;
    background: linear-gradient(180deg, #c4c4d8 0%, #8080a0 100%);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.6) inset,
        0 -2px 4px rgba(42,32,64,0.3) inset,
        0 4px 10px rgba(42,32,64,0.25);
}
.brush-bristles {
    position: absolute;
    width: 22px; height: 36px;
    bottom: 86px; left: 4px;
    border-radius: 11px 11px 50% 50%;
    background: radial-gradient(ellipse at 30% 30%, #fff 0%, #b8d4e8 30%, #6a5090 70%, #2a2040 100%);
    box-shadow: var(--shadow-puff-soft);
}
.brush-drop {
    position: absolute;
    width: 10px; height: 14px;
    top: -2px; left: 10px;
    border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
    background: radial-gradient(circle at 30% 30%, #fff, #b8d4e8 50%, #4a2d7c 100%);
    box-shadow: 0 4px 10px rgba(74,45,124,0.4);
    animation: drop-bob 3s ease-in-out infinite;
}
@keyframes drop-bob {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-4px); opacity: 0.85; }
}

/* ----- Glitter Jar ----- */
.glitter {
    position: relative;
    width: 100px;
    height: 120px;
    margin: 0 auto;
}
.glitter-jar {
    position: absolute;
    width: 80px; height: 90px;
    bottom: 0; left: 10px;
    border-radius: 16px 16px 30px 30px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9) 0%, transparent 30%),
        linear-gradient(180deg, rgba(184,212,232,0.55) 0%, rgba(240,196,216,0.55) 50%, rgba(196,232,216,0.55) 100%);
    border: 2px solid rgba(255,255,255,0.7);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 -8px 18px rgba(74,45,124,0.18) inset,
        0 8px 22px rgba(74,45,124,0.20);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.glitter-lid {
    position: absolute;
    width: 90px; height: 22px;
    top: -4px; left: 5px;
    border-radius: 10px 10px 6px 6px;
    background: linear-gradient(180deg, #f0c4d8 0%, #d894b3 60%, #7c2d5a 100%);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.7) inset,
        0 -3px 8px rgba(124,45,90,0.4) inset,
        0 6px 14px rgba(124,45,90,0.30);
}
.glitter-shine {
    position: absolute;
    top: 26px; left: 20px;
    width: 16px; height: 50px;
    background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0));
    border-radius: 8px;
    transform: rotate(-8deg);
}
.spark {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, #f0c4d8 60%, #7c2d5a 100%);
    box-shadow: 0 0 10px rgba(255,255,255,0.9);
    animation: sparkle 2s ease-in-out infinite;
}
.spark-1 { top: 45px; left: 22px; animation-delay: 0s; }
.spark-2 { top: 60px; left: 50px; animation-delay: 0.4s; background: radial-gradient(circle at 30% 30%, #fff, #c4e8d8 60%, #2d7c6a 100%); }
.spark-3 { top: 75px; left: 30px; animation-delay: 0.8s; background: radial-gradient(circle at 30% 30%, #fff, #b8d4e8 60%, #4a2d7c 100%); }
.spark-4 { top: 55px; left: 65px; animation-delay: 1.2s; }
@keyframes sparkle {
    0%, 100% { transform: scale(0.7); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* ----- Palette ----- */
.palette {
    position: relative;
    width: 130px;
    height: 110px;
}
.palette-base {
    position: absolute;
    inset: 0;
    border-radius: 60% 60% 50% 50% / 70% 70% 50% 50%;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #f3e0ea 35%, #d8c2dc 75%, #6a5090 100%);
    box-shadow: var(--shadow-puff);
}
.palette-thumb {
    position: absolute;
    bottom: 8px; right: -2px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff 0%, #f3e0ea 50%, #d8c2dc 100%);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.7) inset,
        0 -4px 8px rgba(106,80,144,0.3) inset;
    background-color: transparent;
    background-image:
        radial-gradient(circle at 50% 50%, transparent 60%, #d8c2dc 62%);
}
.paint {
    position: absolute;
    width: 18px; height: 18px;
    border-radius: 50%;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.85) inset,
        0 -3px 6px rgba(0,0,0,0.18) inset,
        0 4px 8px rgba(74,45,124,0.25);
}
.paint-1 { top: 28px; left: 22px; background: radial-gradient(circle at 30% 30%, #fff, #f0c4d8 50%, #7c2d5a 100%); }
.paint-2 { top: 22px; left: 48px; background: radial-gradient(circle at 30% 30%, #fff, #b8d4e8 50%, #4a2d7c 100%); }
.paint-3 { top: 28px; left: 76px; background: radial-gradient(circle at 30% 30%, #fff, #c4e8d8 50%, #2d7c6a 100%); }
.paint-4 { top: 56px; left: 30px; background: radial-gradient(circle at 30% 30%, #fff, #f0c4d8 50%, #6a5090 100%); }
.paint-5 { top: 56px; left: 64px; background: radial-gradient(circle at 30% 30%, #fff, #c4e8d8 50%, #4a2d7c 100%); }

/* ----- Glue Stick ----- */
.glue {
    position: relative;
    width: 50px;
    height: 130px;
    margin: 0 auto;
}
.glue-cap {
    position: absolute;
    width: 46px; height: 38px;
    top: 0; left: 2px;
    border-radius: 12px 12px 6px 6px;
    background: linear-gradient(180deg, #c4e8d8 0%, #8fc6b3 60%, #2d7c6a 100%);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.7) inset,
        0 -3px 8px rgba(45,124,106,0.4) inset,
        0 6px 14px rgba(45,124,106,0.30);
}
.glue-body {
    position: absolute;
    width: 42px; height: 80px;
    top: 36px; left: 4px;
    border-radius: 6px 6px 14px 14px;
    background: linear-gradient(180deg, #f0c4d8 0%, #d894b3 60%, #7c2d5a 100%);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.6) inset,
        0 -4px 10px rgba(124,45,90,0.35) inset,
        0 6px 14px rgba(124,45,90,0.30);
}
.glue-label {
    position: absolute;
    width: 36px; height: 30px;
    top: 60px; left: 7px;
    border-radius: 6px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.6) 100%);
    box-shadow: 0 1px 4px rgba(124,45,90,0.2);
    background-image:
        linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6)),
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 5px,
            rgba(74,45,124,0.4) 5px,
            rgba(74,45,124,0.4) 7px
        );
    background-blend-mode: normal;
}
.glue-tip {
    position: absolute;
    width: 18px; height: 6px;
    top: 36px; left: 16px;
    border-radius: 4px 4px 0 0;
    background: radial-gradient(circle at 30% 30%, #fff, #f0c4d8 60%, #d894b3 100%);
    box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
}

/* ============================================================
   INSPIRATION SECTION (frosted cards on aurora)
   ============================================================ */

.section-inspiration {
    color: #fff;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(24px, 3vw, 36px);
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    position: relative;
    padding: 28px 26px 30px;
    border-radius: 26px;
    background: rgba(255,255,255,0.14);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.30);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.40) inset,
        0 -8px 22px rgba(0,0,0,0.10) inset,
        0 18px 40px rgba(42,32,64,0.32);
    transition:
        transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1),
        backdrop-filter 400ms ease,
        background 400ms ease,
        box-shadow 400ms ease;
    will-change: transform, backdrop-filter;
    animation: card-drift 8s ease-in-out infinite;
    color: #fff;
    overflow: hidden;
}

.card-1 { animation-duration: 6.2s; animation-delay: 0s; }
.card-2 { animation-duration: 7.5s; animation-delay: 0.5s; }
.card-3 { animation-duration: 8.4s; animation-delay: 1.0s; }
.card-4 { animation-duration: 9.1s; animation-delay: 1.5s; }
.card-5 { animation-duration: 10.3s; animation-delay: 2.0s; }
.card-6 { animation-duration: 11.0s; animation-delay: 2.5s; }

.card::before {
    /* aurora glow inside card */
    content: '';
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 30% 30%, rgba(184,212,232,0.30), transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(240,196,216,0.25), transparent 50%);
    z-index: 0;
    transition: opacity 400ms ease;
}

.card:hover {
    transform: translateY(-6px) scale(1.04);
    background: rgba(255,255,255,0.20);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.50) inset,
        0 -8px 22px rgba(0,0,0,0.10) inset,
        0 28px 60px rgba(42,32,64,0.45);
    animation-play-state: paused;
}

.card-glyph,
.card-tag,
.card-title,
.card-text {
    position: relative;
    z-index: 1;
}

.card-glyph {
    font-size: 38px;
    margin-bottom: 12px;
    display: inline-block;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
}

.card-tag {
    display: inline-block;
    font-family: var(--font-accent);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #f0c4d8;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.25);
    margin-bottom: 14px;
}

.card-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.card-text {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
}

@keyframes card-drift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ============================================================
   PALETTE SECTION
   ============================================================ */

.swatch-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: clamp(20px, 3vw, 36px);
    max-width: 1100px;
    margin: 0 auto;
}

.swatch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px;
    border-radius: 24px;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.8) inset,
        0 8px 22px rgba(74,45,124,0.10);
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 300ms ease;
    cursor: pointer;
}

.swatch:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 14px 32px rgba(74,45,124,0.18);
}

.swatch.is-active {
    transform: translateY(-6px) scale(1.06);
    border-color: rgba(255,255,255,0.95);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 0 0 2px rgba(255,255,255,0.6),
        0 18px 40px rgba(74,45,124,0.22);
}

.swatch-puff {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    box-shadow: var(--shadow-puff);
    transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.swatch:hover .swatch-puff {
    transform: scale(1.08) rotate(8deg);
}

.swatch-1 .swatch-puff { background: radial-gradient(circle at 30% 30%, #fff 0%, #b8d4e8 45%, #6a8fb3 100%); }
.swatch-2 .swatch-puff { background: radial-gradient(circle at 30% 30%, #fff 0%, #f0c4d8 45%, #b87a99 100%); }
.swatch-3 .swatch-puff { background: radial-gradient(circle at 30% 30%, #fff 0%, #c4e8d8 45%, #7ab3a0 100%); }
.swatch-4 .swatch-puff { background: radial-gradient(circle at 30% 30%, #fff 0%, #6a5090 35%, #4a2d7c 100%); }
.swatch-5 .swatch-puff { background: radial-gradient(circle at 30% 30%, #fff 0%, #5fa897 35%, #2d7c6a 100%); }
.swatch-6 .swatch-puff { background: radial-gradient(circle at 30% 30%, #fff 0%, #b3527c 35%, #7c2d5a 100%); }
.swatch-7 .swatch-puff { background: radial-gradient(circle at 30% 30%, #fff 0%, #8d75ad 35%, #6a5090 100%); }
.swatch-8 .swatch-puff { background: radial-gradient(circle at 30% 30%, #fff 0%, #4d4070 35%, #2a2040 100%); }

.swatch-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    color: var(--c-ink);
}

.swatch-hex {
    font-family: var(--font-accent);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--c-aurora-deep);
    text-transform: uppercase;
}

/* ============================================================
   CLOSING SECTION
   ============================================================ */

.section-closing {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.closing-inner {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.closing-prelude {
    font-family: var(--font-accent);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--c-aurora-deep);
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.section-closing.is-active .closing-prelude {
    opacity: 1;
    transform: translateY(0);
}

.closing-statement {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: clamp(6px, 1vw, 12px);
    margin-bottom: 30px;
}

.closing-puff {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(48px, 9vw, 110px);
    line-height: 1;
    padding: 14px 18px 16px;
    border-radius: 38% 42% 38% 42% / 42% 38% 42% 38%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    transform: translateY(20px) scale(0.7);
    opacity: 0;
    transition:
        transform 700ms cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 600ms ease;
    will-change: transform, opacity;
    filter: drop-shadow(0 14px 28px rgba(74,45,124,0.30));
}

.closing-puff[data-i="0"] { background: radial-gradient(circle at 30% 25%, #ffffff 0%, #b8d4e8 40%, #6a8fb3 75%, #4a2d7c 100%); }
.closing-puff[data-i="1"] { background: radial-gradient(circle at 30% 25%, #ffffff 0%, #f0c4d8 40%, #d894b3 75%, #7c2d5a 100%); }
.closing-puff[data-i="2"] { background: radial-gradient(circle at 30% 25%, #ffffff 0%, #c4e8d8 40%, #8fc6b3 75%, #2d7c6a 100%); }
.closing-puff[data-i="3"] { background: radial-gradient(circle at 30% 25%, #ffffff 0%, #f0c4d8 40%, #d894b3 75%, #6a5090 100%); }
.closing-puff[data-i="4"] { background: radial-gradient(circle at 30% 25%, #ffffff 0%, #c4e8d8 40%, #8fc6b3 75%, #4a2d7c 100%); }
.closing-puff[data-i="5"] { background: radial-gradient(circle at 30% 25%, #ffffff 0%, #b8d4e8 40%, #6a8fb3 75%, #7c2d5a 100%); }
.closing-puff[data-i="6"] { background: radial-gradient(circle at 30% 25%, #ffffff 0%, #f0c4d8 40%, #d894b3 75%, #4a2d7c 100%); }

.closing-puff.is-visible {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.closing-gap {
    width: 16px;
    display: inline-block;
}

.closing-domain {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: clamp(15px, 1.5vw, 18px);
    letter-spacing: 0.22em;
    color: var(--c-aurora-deep);
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.closing-credit {
    font-family: var(--font-body);
    font-size: clamp(13px, 1.2vw, 15px);
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.section-closing.is-active .closing-domain,
.section-closing.is-active .closing-credit {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 720px) {
    .tools-scatter {
        grid-template-columns: repeat(2, 1fr);
    }
    .tool {
        --tx: 0 !important;
        --ty: 0 !important;
    }
    .puff {
        font-size: clamp(64px, 18vw, 120px);
    }
    .closing-puff {
        font-size: clamp(38px, 12vw, 72px);
    }
    .diagonal-positive,
    .diagonal-negative {
        clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
    }
}

@media (max-width: 480px) {
    .swatch-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .cards-container {
        grid-template-columns: 1fr;
    }
}
