/* --- SILON OFFICIAL STYLE GUIDE --- */

:root {
    --black: #070708;
    --black2: #0d0d0f;
    --white: #f0efe9;
    --blue: #2563eb;
    --blue-dim: rgba(37, 99, 235, 0.12);
    --border: rgba(255, 255, 255, 0.08);
    --gray: #6b7280;
    --light: #a8b0bc;
    
    --font-head: 'Anton', sans-serif;
    --font-body: 'Syne', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* --- Global Background Geometry (White Fold Forms) --- */
.bg-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
    background: var(--black);
}

/* Folded panel base style */
.geo-shape {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.045);
    will-change: transform;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.018),
        6px 6px 28px rgba(0, 0, 0, 0.5),
        -2px -2px 12px rgba(255, 255, 255, 0.008);
}

/* Panel fills — layered light/shadow to simulate folded paper depth */
.geo-1 {
    width: 50vw; height: 65vh;
    top: -8vh; left: -8vw;
    clip-path: polygon(0 0, 100% 0, 78% 100%, 0 88%);
    background: linear-gradient(148deg, rgba(255,255,255,0.032) 0%, rgba(255,255,255,0.012) 100%);
}
.geo-2 {
    width: 42vw; height: 58vh;
    top: 5vh; right: -5vw;
    clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
    background: linear-gradient(210deg, rgba(255,255,255,0.028) 0%, rgba(255,255,255,0.010) 100%);
}
.geo-3 {
    width: 55vw; height: 42vh;
    bottom: -8vh; left: 8vw;
    clip-path: polygon(0 12%, 88% 0, 100% 100%, 0 100%);
    background: linear-gradient(125deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.008) 100%);
}

/* Additional panels for more depth */
.geo-4 {
    width: 28vw; height: 36vh;
    top: 28vh; left: 28vw;
    clip-path: polygon(18% 0, 100% 8%, 82% 100%, 0 92%);
    background: rgba(255, 255, 255, 0.018);
    border-color: rgba(255, 255, 255, 0.03);
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.45);
}
.geo-5 {
    width: 22vw; height: 28vh;
    bottom: 12vh; right: 8vw;
    clip-path: polygon(0 0, 100% 15%, 100% 100%, 8% 88%);
    background: linear-gradient(165deg, rgba(255,255,255,0.022) 0%, rgba(255,255,255,0.006) 100%);
}
.geo-6 {
    width: 35vw; height: 26vh;
    top: 50vh; left: -5vw;
    clip-path: polygon(0 0, 95% 0, 75% 100%, 0 85%);
    background: rgba(255, 255, 255, 0.012);
    border-color: rgba(255, 255, 255, 0.025);
}

/* Soft ambient glow */
.geo-amb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); will-change: transform; }
.geo-amb-1 { width: 320px; height: 320px; top: 5vh; left: 35vw; background: rgba(255,255,255,0.038); }
.geo-amb-2 { width: 260px; height: 200px; bottom: 20vh; left: 14vw; background: rgba(255,255,255,0.022); }

/* ─── Background Drift — starts immediately, medium speed, no interaction needed ─── */
.geo-1     { animation: gDrift1 18s ease-in-out infinite; }
.geo-2     { animation: gDrift2 22s ease-in-out infinite; }
.geo-3     { animation: gDrift3 16s ease-in-out infinite; }
.geo-4     { animation: gDrift4 20s ease-in-out infinite; }
.geo-5     { animation: gDrift5 14s ease-in-out infinite; }
.geo-6     { animation: gDrift1 24s ease-in-out infinite reverse; }
.geo-amb-1 { animation: gDrift2 26s ease-in-out infinite; }
.geo-amb-2 { animation: gDrift3 19s ease-in-out infinite reverse; }

@keyframes gDrift1 {
    0%,100% { transform: translate(0px,   0px);  }
    33%      { transform: translate(60px, -40px); }
    66%      { transform: translate(30px,  55px); }
}
@keyframes gDrift2 {
    0%,100% { transform: translate(0px,   0px);  }
    40%      { transform: translate(-55px, 50px); }
    70%      { transform: translate(65px, -30px); }
}
@keyframes gDrift3 {
    0%,100% { transform: translate(0px,   0px);  }
    35%      { transform: translate(45px, -60px); }
    70%      { transform: translate(-50px, 40px); }
}
@keyframes gDrift4 {
    0%,100% { transform: translate(0px,   0px);  }
    45%      { transform: translate(-40px,-50px); }
    80%      { transform: translate(55px,  45px); }
}
@keyframes gDrift5 {
    0%,100% { transform: translate(0px,   0px);  }
    30%      { transform: translate(50px,  35px); }
    65%      { transform: translate(-45px,-55px); }
}

/* --- Navigation --- */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    padding: 24px 0; transition: background 0.4s, padding 0.4s, border-color 0.4s;
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    background: rgba(7, 7, 8, 0.94); backdrop-filter: blur(18px);
    padding: 15px 0; border-color: var(--border);
}

.nav-inner {
    max-width: 1320px; margin: 0 auto; padding: 0 40px;
    display: flex; align-items: center; justify-content: space-between;
    position: relative; /* Essential for absolute centering of links */
}

/* Image Logo Styling */
.nav-logo { display: flex; align-items: center; }
.nav-logo img {
    height: 32px; 
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}
.nav-logo:hover img { opacity: 0.7; }

/* Absolute Centering for Links */
.nav-links { 
    position: absolute; 
    left: 50%; 
    transform: translateX(-50%);
    display: flex; 
    list-style: none; 
    gap: 48px; 
}
.nav-link {
    font-size: 11px; font-weight: 700; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--gray);
    transition: color 0.25s; position: relative; padding-bottom: 2px;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 1px; background: var(--white);
    transition: width 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-btn {
    padding: 9px 24px; border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--white); transition: all 0.25s;
}
.nav-btn:hover { background: var(--white); color: var(--black); border-color: var(--white); }

/* --- Mobile Menu --- */
.ham { display: none; background: none; border: none; flex-direction: column; gap: 6px; padding: 4px; z-index: 901; }
.ham span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: all 0.3s; }
.ham.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.ham.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.ham.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mob-nav {
    position: fixed; inset: 0; background: var(--black); z-index: 800;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    visibility: hidden; opacity: 0; transform: translateY(-20px);
    transition: all 0.4s ease;
}
.mob-nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
.mob-a { font-family: var(--font-head); font-size: 64px; letter-spacing: 0.06em; color: var(--white); transition: color 0.25s; }
.mob-a:hover { color: var(--blue); }
.mob-sep { width: 40px; height: 1px; background: var(--border); margin: 12px 0; }
.mob-sm { display: flex; gap: 28px; }
.mob-sm a { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); transition: color 0.25s; }
.mob-sm a:hover { color: var(--white); }

@media (min-width: 1001px) { .mob-nav { display: none !important; } }

/* --- Shared Layout Components --- */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 40px; }

.s-label {
    font-size: 9px; font-weight: 700; letter-spacing: 0.32em;
    text-transform: uppercase; color: var(--blue);
    display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.s-label::before { content: ''; width: 22px; height: 1px; background: var(--blue); }
.s-title { font-family: var(--font-head); font-size: clamp(48px, 7vw, 92px); line-height: 0.92; letter-spacing: 0.04em; }

/* Buttons — sweep to blue on hover, matching music.html */
.btn-fill {
    display: inline-flex; align-items: center; gap: 9px; padding: 13px 30px;
    background: linear-gradient(to right, var(--blue) 50%, var(--white) 50%);
    background-size: 200% 100%; background-position: right center;
    color: var(--black); font-family: var(--font-body);
    font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    transition: background-position 0.45s cubic-bezier(0.77,0,0.175,1), color 0.4s;
}
.btn-fill:hover { background-position: left center; color: var(--white); }

.btn-line {
    display: inline-flex; align-items: center; gap: 9px; padding: 13px 30px;
    background: linear-gradient(to right, rgba(37,99,235,0.2) 50%, transparent 50%);
    background-size: 200% 100%; background-position: right center;
    border: 1px solid rgba(255,255,255,0.2); color: var(--white); font-family: var(--font-body);
    font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    transition: background-position 0.45s cubic-bezier(0.77,0,0.175,1), border-color 0.35s, color 0.35s;
}
.btn-line:hover { background-position: left center; border-color: var(--blue); color: var(--blue); }

/* Clip-Path Cover Image Wrapper */
.cover-clip { clip-path: polygon(0 0, 100% 0, 100% 90%, 92% 100%, 0 100%); overflow: hidden; position: relative; }

/* --- Footer --- */
footer { padding: 60px 0 32px; background: var(--black); position: relative; z-index: 10; }
footer::before { content: ''; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.12) 30%, rgba(255,255,255,0.12) 70%, transparent); }
.foot-inner { max-width: 1320px; margin: 0 auto; padding: 0 40px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.foot-logo img { height: 48px; width: auto; object-fit: contain; opacity: 0.6; transition: opacity 0.3s ease; }
.foot-logo img:hover { opacity: 1; }
.foot-nav { display: flex; gap: 40px; }
.foot-nav a { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); transition: color 0.25s; }
.foot-nav a:hover { color: var(--white); }
.foot-soc { display: flex; gap: 6px; }
.foot-soc a { width: 36px; height: 36px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--gray); transition: all 0.25s; }
.foot-soc a:hover { border-color: var(--blue); color: var(--blue); }
.foot-soc svg { width: 13px; height: 13px; }
.foot-copy { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(107, 114, 128, 0.4); }

/* --- Scroll Reveal Animations --- */
[data-reveal] { opacity: 0; transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal="up"]    { transform: translateY(32px); }
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(0.96); }
[data-reveal].visible { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }

@keyframes aUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes aFade { from { opacity: 0; } to { opacity: 1; } }

/* --- Core Media Queries --- */
@media (max-width: 1000px) {
    .nav-links, .nav-btn { display: none; }
    .ham { display: flex; }
}

@media (max-width: 600px) {
    .wrap { padding: 0 20px; }
    .foot-nav { flex-wrap: wrap; justify-content: center; gap: 20px; }
}