/**
 * &multiply Main Styles
 * 
 * 本文件由人工智能辅助创作。著作权归人类创作者所有。
 * This file was created with AI assistance. Human authorship applies.
 */

:root {
    --colour-core: #5500FF;
    --colour-accent: #00FF88;
}

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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    min-height: 100vh;
    background: #ffffff;
    overflow-x: hidden;
}

/* ========== COLOUR SWEEP ========== */
.colour-sweep {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 2s ease, transform 3s ease;
}

.colour-sweep.from-left {
    background: radial-gradient(ellipse 80% 120% at 30% 50%, 
        var(--colour-core) 0%, 
        var(--colour-accent) 20%, 
        rgba(255,255,255,0.5) 40%,
        rgba(255,255,255,0) 60%
    );
    transform: translateX(-60%);
}

.colour-sweep.from-right {
    background: radial-gradient(ellipse 80% 120% at 70% 50%, 
        var(--colour-core) 0%, 
        var(--colour-accent) 20%, 
        rgba(255,255,255,0.5) 40%,
        rgba(255,255,255,0) 60%
    );
    transform: translateX(60%);
}

.colour-sweep.from-top {
    background: radial-gradient(ellipse 120% 80% at 50% 30%, 
        var(--colour-core) 0%, 
        var(--colour-accent) 20%, 
        rgba(255,255,255,0.5) 40%,
        rgba(255,255,255,0) 60%
    );
    transform: translateY(-60%);
}

.colour-sweep.from-bottom {
    background: radial-gradient(ellipse 120% 80% at 50% 70%, 
        var(--colour-core) 0%, 
        var(--colour-accent) 20%, 
        rgba(255,255,255,0.5) 40%,
        rgba(255,255,255,0) 60%
    );
    transform: translateY(60%);
}

.colour-sweep.active {
    opacity: 0.7;
    transform: translate(0, 0);
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(to bottom, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0) 100%);
}

.logo {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.4rem;
    color: #000;
}

.cursor {
    margin-left: 1px;
    animation: pulse 1.4s ease-in-out infinite;
    color: var(--colour-core);
    transition: color 0.8s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.2; }
}

.nav { display: flex; gap: 2rem; }
.nav a { color: #000; text-decoration: none; font-size: 0.9rem; cursor: pointer; }
.nav a:hover { text-decoration: underline; }
.nav-arrow { font-size: 0.8rem; margin-right: 0.3rem; }

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #000;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== MAIN ========== */
.main {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 2rem 2rem;
}

/* ========== FRAME ========== */
.frame {
    border: 1px solid rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.3);
    padding: 2rem 2.5rem;
    max-width: 820px;
    width: 100%;
    text-align: center;
    transform-origin: center center;
    transition: max-width 0.5s ease, padding 0.5s ease;
}

.frame.collapse { max-width: 280px; padding: 1.5rem 2rem; }
.frame.expand { max-width: 920px; }

/* ========== TEXT STYLES ========== */
.intro {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #000;
    margin-bottom: 0.5rem;
}

.intro strong { font-weight: 600; }

.city-fortnight {
    font-size: 0.9rem;
    font-style: italic;
    color: #444;
    margin: 1rem 0 1.5rem;
    line-height: 1.7;
}

.city-fortnight a { color: #000; text-decoration: underline; }

/* ========== SLOT MACHINE CAROUSEL ========== */
.slot-machine {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.slot-column { position: relative; }

.slot-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(0,0,0,0.4);
    margin-bottom: 0.5rem;
}

.slot-track {
    position: relative;
    height: 80px;
    overflow: hidden;
}

.slot-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #000;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.slot-item.active {
    opacity: 1;
    transform: translateY(0);
}

.slot-item.exiting {
    opacity: 0;
    transform: translateY(-30px);
}

.slot-column.left .slot-item { font-weight: 500; }
.slot-column.center .slot-item { font-style: italic; color: #333; }
.slot-column.right .slot-item { font-size: 0.82rem; color: #444; }

.colour-swatch {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.2rem;
    vertical-align: middle;
}

/* ========== MOOD & CTA ========== */
.mood-check {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.08);
    font-size: 0.9rem;
    color: #333;
}

.mood-check a { color: #000; text-decoration: underline; cursor: pointer; }

.cta {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.cta-text { font-size: 0.85rem; margin-bottom: 0.8rem; color: #333; }

.btn {
    display: inline-block;
    padding: 0.7rem 1.8rem;
    border: 1px solid #000;
    background: transparent;
    color: #000;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover { background: #000; color: #fff; }

/* ========== TAGLINE ========== */
.tagline {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    color: #666;
    font-size: 0.9rem;
}

/* ========== TYPED SECTIONS ========== */
.typed-section {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.9;
    color: #333;
}

.typed-section h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: #000;
}

.typed-section p { margin-bottom: 0.8rem; }

.typed-section .section-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(0,0,0,0.2);
    font-size: 0.85rem;
    color: #000;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.typed-section .section-link:hover { background: rgba(0,0,0,0.05); }

.typed-section .why-note {
    margin: 1.5rem auto;
    padding: 1rem;
    max-width: 500px;
    background: rgba(0,0,0,0.03);
    border-left: 3px solid var(--colour-core);
    font-size: 0.85rem;
    text-align: left;
}

.back-link {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #666;
    cursor: pointer;
    text-decoration: underline;
}

.back-link:hover { color: #000; }

/* ========== WORK GRID ========== */
.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.work-item {
    border: 1px solid rgba(0,0,0,0.1);
    padding: 1.5rem;
    transition: all 0.3s;
    cursor: pointer;
}

.work-item:hover { background: rgba(0,0,0,0.02); }
.work-item h3 { font-size: 1rem; margin-bottom: 0.6rem; }
.work-item p { font-size: 0.85rem; color: #666; line-height: 1.6; }

/* ========== BRAND SYSTEMS CAROUSEL ========== */
.brand-carousel {
    margin: 1.5rem 0;
}

.brand-card {
    border: 1px solid rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.4s ease;
}

.brand-card-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.brand-card-content {
    padding: 1.5rem;
    text-align: left;
}

.brand-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
}

.brand-card-client {
    font-size: 1.1rem;
    font-weight: 600;
}

.brand-card-year {
    font-size: 0.85rem;
    color: #666;
}

.brand-card-description {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1rem;
}

.brand-card-link {
    font-size: 0.85rem;
    color: #000;
    text-decoration: none;
}

.brand-card-link:hover { text-decoration: underline; }

.brand-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.brand-nav-arrow {
    font-size: 1.5rem;
    cursor: pointer;
    color: #000;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.brand-nav-arrow:hover { opacity: 1; }

.brand-nav-dots {
    display: flex;
    gap: 0.5rem;
}

.brand-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: background 0.3s;
}

.brand-nav-dot.active { background: #000; }

/* ========== GALLERY ========== */
.brand-gallery {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.brand-gallery-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.brand-gallery-thumb:hover,
.brand-gallery-thumb.active { opacity: 1; }

/* ========== CONTACT FORM ========== */
.contact-form {
    max-width: 400px;
    margin: 1.5rem auto 0;
    text-align: left;
}

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(0,0,0,0.5);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.5);
    font-family: inherit;
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--colour-core);
}

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

.submit-btn {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover { background: transparent; color: #000; }

/* ========== COPYRIGHT ========== */
.copyright {
    margin-top: 1.5rem;
    padding-top: 1rem;
    font-size: 0.7rem;
    color: rgba(0,0,0,0.35);
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* ========== COMING SOON ========== */
.coming-soon {
    padding: 2rem;
    margin: 1.5rem 0;
    border: 1px dashed rgba(0,0,0,0.15);
    background: rgba(0,0,0,0.02);
}

.coming-soon-text {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: #999;
    margin-bottom: 0.8rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 700px) {
    .slot-machine { grid-template-columns: 1fr; gap: 1.5rem; }
    .slot-track { height: 60px; }
    .frame { padding: 1.5rem; margin: 0 1rem; }
    .header { padding: 1rem; }
    .work-grid { grid-template-columns: 1fr; }
    .brand-card-image { height: 250px; }

    .hamburger { display: flex; }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 99;
    }

    .nav.open { right: 0; }

    .nav a {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }
}
