/* ========================================
   expressive. - Website Styles
   Minimal, warm, premium aesthetic
   ======================================== */

/* ----------------------------------------
   CSS Custom Properties
   ---------------------------------------- */
:root {
    --color-bg: #FDFBF7;
    --color-text: #2A2A2A;
    --color-text-muted: #6B7280;
    --color-peach: #FEC0B3;
    --color-pink: #FFD5E9;
    --color-lavender: #D6BDE4;
    --color-blue: #98A4D8;
    --color-purple: #CE90C8;
    --color-white: #FFFFFF;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1100px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.08);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

::selection {
    background-color: var(--color-lavender);
    color: var(--color-text);
}

img, video {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ----------------------------------------
   Ambient Glows (Background Decorations)
   ---------------------------------------- */
.soft-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.glow-top-left {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, rgba(214, 189, 228, 0.5) 0%, rgba(253, 251, 247, 0) 70%);
}

.glow-bottom-right {
    bottom: 0;
    right: -200px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 213, 233, 0.5) 0%, rgba(253, 251, 247, 0) 70%);
}

/* ----------------------------------------
   Navigation
   ---------------------------------------- */
header {
    position: relative;
    z-index: 50;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-logo {
    height: 2rem;
    opacity: 0.8;
}

/* ----------------------------------------
   Main Content
   ---------------------------------------- */
main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero-streaming {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.hero-container {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

.hero-headline {
    width: 100%;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-align: center;
    color: var(--color-text);
}

.hero-title-accent {
    color: #9CA3AF;
}

.hero-title-gradient {
    background: linear-gradient(90deg, var(--color-lavender), var(--color-pink), var(--color-peach));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ----------------------------------------
   Video Player
   ---------------------------------------- */
.video-player-container {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.video-player-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-lavender) 0%, var(--color-pink) 100%);
    box-shadow:
        0 40px 80px rgba(0,0,0,0.15),
        0 0 0 1px rgba(255,255,255,0.2) inset;
}

.video-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    z-index: 5;
}

.video-loading-spinner.visible {
    opacity: 1;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.main-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    will-change: opacity;
}

.main-video.active {
    opacity: 1;
}

.video-label {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
    z-index: 10;
}

/* Video Thumbnails */
.video-thumbnails {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.thumbnail {
    position: relative;
    width: 80px;
    height: 6px;
    background: rgba(42, 42, 42, 0.15);
    border: none;
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
    transition: all var(--transition-normal);
    padding: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.thumbnail:hover {
    background: rgba(42, 42, 42, 0.25);
}

.thumbnail:focus-visible {
    outline: 2px solid var(--color-purple);
    outline-offset: 2px;
}

.thumbnail.active {
    background: rgba(42, 42, 42, 0.25);
}

.thumbnail-inner {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: rgba(42, 42, 42, 1);
    transition: width 0.1s linear;
}

.thumbnail.active .thumbnail-inner {
    animation: thumbnailProgress var(--duration, 5s) linear;
}

@keyframes thumbnailProgress {
    from { width: 0%; }
    to { width: 100%; }
}

/* Disclosure Toggle */
.disclosure-toggle {
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    opacity: 0.9;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.disclosure-toggle:hover {
    opacity: 1;
    text-decoration: underline;
}

.disclosure-toggle:focus-visible {
    outline: 2px solid var(--color-purple);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

/* ----------------------------------------
   Section Base Styles
   ---------------------------------------- */
.section-container {
    width: 100%;
    max-width: var(--max-width);
    padding: 0 2rem;
}

.section-heading {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 3rem;
}

/* ----------------------------------------
   Philosophy Section
   ---------------------------------------- */
.section-philosophy {
    width: 100%;
    max-width: 48rem;
    padding: 6rem 1.5rem;
    margin: 0 auto;
}

.why-story {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.story-note {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem 2.5rem;
    border-radius: var(--border-radius-md);
    border-left: 4px solid rgba(214, 189, 228, 0.4);
    box-shadow: var(--shadow-sm);
    max-width: 90%;
}

.note-offset-right {
    margin-left: auto;
    border-left: none;
    border-right: 4px solid rgba(255, 213, 233, 0.4);
}

.story-text {
    font-size: 1.375rem;
    line-height: 1.7;
    color: var(--color-text);
    font-weight: 400;
}

.highlight {
    background: linear-gradient(to bottom, transparent 50%, rgba(214, 189, 228, 0.4) 50%);
    padding: 0 0.25rem;
    font-weight: 600;
}

.highlight-pink {
    background: linear-gradient(to bottom, transparent 50%, rgba(255, 213, 233, 0.5) 50%);
    padding: 0 0.25rem;
    font-weight: 600;
}

.highlight-lavender {
    background: linear-gradient(to bottom, transparent 50%, rgba(214, 189, 228, 0.5) 50%);
    padding: 0 0.25rem;
    font-weight: 600;
}

.highlight-peach {
    background: linear-gradient(to bottom, transparent 50%, rgba(254, 192, 179, 0.5) 50%);
    padding: 0 0.25rem;
    font-weight: 600;
}

.emphasis {
    font-style: italic;
    font-weight: 600;
    color: #9F5E9A;
}

/* ----------------------------------------
   Services Section
   ---------------------------------------- */
.section-services {
    width: 100%;
    padding: 6rem 0;
    display: flex;
    justify-content: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(214, 189, 228, 0.2);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(206, 144, 200, 0.3);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-lavender) 0%, var(--color-pink) 100%);
    border-radius: var(--border-radius-md);
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-list li {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    padding-left: 1.25rem;
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--color-lavender);
    border-radius: 50%;
}

/* ----------------------------------------
   Process Section
   ---------------------------------------- */
.section-process {
    width: 100%;
    padding: 6rem 0;
    display: flex;
    justify-content: center;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.process-step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 0 1.5rem;
}

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-text);
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.step-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.process-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-lavender), var(--color-pink));
    margin-top: 27px;
    flex-shrink: 0;
}

/* ----------------------------------------
   Contact Section
   ---------------------------------------- */
.section-contact {
    width: 100%;
    padding: 6rem 0;
    display: flex;
    justify-content: center;
}

.contact-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-top: -2rem;
    margin-bottom: 3rem;
}

.contact-wrapper {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    justify-content: center;
}

.contact-form {
    flex: 1;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(214, 189, 228, 0.2);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--color-text);
    background: var(--color-white);
    border: 1px solid rgba(42, 42, 42, 0.15);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-purple);
    box-shadow: 0 0 0 3px rgba(206, 144, 200, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    margin-top: 0.5rem;
}

.contact-alt {
    flex: 1;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.contact-alt-text {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.contact-email {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    transition: color var(--transition-fast);
    word-break: break-word;
}

.contact-email:hover {
    color: var(--color-purple);
}

.contact-response-time {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
    opacity: 0.8;
}

/* ----------------------------------------
   Primary Button
   ---------------------------------------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-text);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background: #000000;
}

.btn-primary:focus-visible {
    outline: 2px solid var(--color-purple);
    outline-offset: 2px;
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer-with-logo {
    width: 100%;
    position: relative;
    padding-top: 4rem;
    margin-top: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-height: 40vh;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 20vw;
}

.back-to-top {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.back-to-top:hover {
    color: var(--color-text);
}

.copyright {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.7;
}

.footer-logo-container {
    position: absolute;
    bottom: -4.5vw;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 0;
    pointer-events: none;
    opacity: 0.9;
}

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

/* ----------------------------------------
   Disclosure Panel (Modal)
   ---------------------------------------- */
.disclosure-panel {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.disclosure-panel.hidden {
    display: none;
}

.disclosure-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.disclosure-content {
    position: relative;
    background: var(--color-bg);
    max-width: 32rem;
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    border: 1px solid rgba(214, 189, 228, 0.4);
}

.disclosure-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
    padding: 0.25rem;
}

.disclosure-close:hover {
    color: var(--color-text);
}

.disclosure-close:focus-visible {
    outline: 2px solid var(--color-purple);
    outline-offset: 2px;
    border-radius: 4px;
}

.disclosure-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.disclosure-text {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.disclosure-text p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* ----------------------------------------
   Responsive Styles
   ---------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .thumbnail {
        width: 60px;
        height: 5px;
    }

    .process-connector {
        width: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-container {
        padding: 1.5rem;
    }

    .hero-streaming {
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .hero-container {
        gap: 3rem;
    }

    .video-label {
        top: 1rem;
        left: 1rem;
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
        border-radius: 6px;
    }

    .section-philosophy {
        padding: 4rem 1.5rem;
    }

    .story-text {
        font-size: 1.125rem;
    }

    .story-note {
        padding: 1.5rem 1.75rem;
        max-width: 100%;
    }

    .note-offset-right {
        margin-left: 0;
    }

    .section-container {
        padding: 0 1.5rem;
    }

    .section-services,
    .section-process,
    .section-contact {
        padding: 4rem 0;
    }

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

    .service-card {
        padding: 2rem;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .process-step {
        max-width: 100%;
        padding: 0 1.5rem;
        text-align: center;
    }

    .process-connector {
        width: 2px;
        height: 40px;
        margin: 0 auto;
    }

    .contact-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .contact-form {
        max-width: 100%;
        width: 100%;
    }

    .contact-alt {
        max-width: 100%;
        padding: 1.5rem;
    }

    .contact-email {
        font-size: 1.125rem;
    }

    .footer-logo-container {
        bottom: -4vw;
    }

    .footer-content {
        margin-bottom: 25vw;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 1.75rem;
    }

    .thumbnail {
        width: 48px;
        height: 4px;
    }

    .video-thumbnails {
        gap: 8px;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .disclosure-toggle {
        font-size: 0.6875rem;
        padding: 0.5rem 1rem;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
