@import url('./tokens.css');
:root {
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

/* Header */
.story-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(26, 26, 26, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.story-header .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.story-header-logo img {
    height: 34px;
    width: auto;
}

.story-header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-bg);
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Story Content */
.story-wrapper {
    max-width: 720px;
    margin: 0 auto;
    padding: 120px 24px 100px;
    position: relative;
}

/* Decorative blob */
.story-wrapper::before {
    content: '';
    position: fixed;
    top: -100px;
    right: -200px;
    width: 500px;
    height: 450px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    background: linear-gradient(135deg, rgba(0, 229, 208, 0.1) 0%, rgba(224, 64, 160, 0.06) 50%, rgba(255, 107, 107, 0.08) 100%);
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

.story-wrapper::after {
    content: '';
    position: fixed;
    bottom: -50px;
    left: -150px;
    width: 350px;
    height: 300px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.06) 0%, rgba(0, 229, 208, 0.04) 100%);
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

/* Page title */
.story-hero {
    text-align: center;
    margin-bottom: 80px;
}

.story-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}

.story-hero h1 span {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-hero .tagline {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    font-style: italic;
}

/* Sections */
.story-section {
    margin-bottom: 72px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.story-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.story-section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: 0.03em;
    margin-bottom: 24px;
    display: inline-block;
}

.story-section h2 span {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.story-section p {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    line-height: 1.85;
    margin-bottom: 20px;
}

.story-section p:last-child {
    margin-bottom: 0;
}

/* Editorial portrait (magazine-style float) */
.story-portrait {
    float: left;
    display: block;
    width: 190px;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    margin: 6px 28px 14px 0;
}

.story-section p strong {
    color: var(--color-text-primary);
    font-weight: 500;
}

/* List-style paragraphs */
.story-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.story-list li {
    position: relative;
    padding-left: 24px;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    line-height: 1.85;
    margin-bottom: 10px;
}

.story-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.6;
}

/* Emphasis blocks */
.story-emphasis {
    font-size: 1.3rem !important;
    font-weight: 400 !important;
    color: var(--color-text-primary) !important;
    font-style: italic;
    border-left: 3px solid var(--color-primary);
    padding-left: 24px;
    margin: 32px 0 !important;
}

/* Clean break lines */
.story-break {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.story-break li {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-text-primary);
    line-height: 2;
}

/* Divider */
.story-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 3px;
    margin: 64px 0;
}

/* Mascot */
.mascot-showcase {
    text-align: center;
    margin-bottom: 32px;
}

.mascot-showcase img {
    width: 160px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(0, 229, 208, 0.25));
    margin-bottom: 8px;
}

/* Final CTA */
.story-cta {
    text-align: center;
    padding: 60px 0;
    margin-top: 40px;
}

.story-cta p {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.story-cta .declaration {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
    border-radius: 8px;
}

/* Footer */
.story-footer {
    text-align: center;
    padding: 40px 24px;
    border-top: 1px solid var(--color-border);
}

.story-footer p {
    font-size: 0.8rem;
    color: #555;
}

.story-footer a {
    color: var(--color-primary);
}

/* Mobile */
@media (max-width: 640px) {
    .story-wrapper {
        padding: 100px 20px 60px;
    }

    .story-hero {
        margin-bottom: 56px;
    }

    .story-section {
        margin-bottom: 56px;
    }

    .story-emphasis {
        font-size: 1.15rem !important;
    }

    .story-portrait {
        float: none;
        width: 170px;
        margin: 0 auto 28px;
    }
}
