/* --- EDITORIAL LAYOUTS (VERTICAL) --- */
section { position: relative; padding: 18vh 8vw; z-index: 10; background: transparent; }
.section-number { position: absolute; top: 5vh; left: 5vw; font-family: 'Syncopate'; font-size: 15vw; color: rgba(255,255,255,0.02); z-index: -1; font-weight: 700; pointer-events: none; }

#hero { height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.hero-video-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-video-container video { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.25) contrast(1.1); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at center, transparent 0%, var(--dark) 100%); z-index: 2; }
.hero-content { position: relative; z-index: 20; text-align: center; }
.hero-title { font-family: 'Libre Baskerville'; font-size: clamp(3.5rem, 14vw, 10rem); line-height: 0.85; color: var(--white); font-style: italic; }

.split-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10vw; align-items: center; }
.editorial-text h2 { font-family: 'Libre Baskerville'; font-size: clamp(2.5rem, 5vw, 4.5rem); font-style: italic; color: var(--white); margin-bottom: 2rem; }
.editorial-text p { font-size: 1.15rem; font-weight: 300; color: #aaa; margin-bottom: 2.5rem; line-height: 1.8; }

.architectural-img { position: relative; overflow: hidden; background: #111; }
.architectural-img img { width: 100%; height: 85vh; object-fit: cover; opacity: 0.85; transition: transform 2s var(--transition); }

.material-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 10vh; }
.material-card { height: 40vh; position: relative; overflow: hidden; border: 1px solid var(--gold-dim); }
.material-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }

.residence-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.residence-card { grid-column: span 6; position: relative; }
.residence-info { position: absolute; bottom: -20px; right: -20px; background: var(--gold); color: var(--dark); padding: 30px; z-index: 5; }

/* --- ASCENT SPECIFIC UI --- */
.ascent-progress { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); height: 60vh; width: 2px; background: rgba(255,255,255,0.05); z-index: 1000; }
.ascent-bar { position: absolute; top: 0; left: 0; width: 100%; background: var(--gold); transition: height 0.1s linear; }
.ascent-floor-hud { position: fixed; bottom: 40px; right: 100px; font-family: 'Syncopate'; font-size: 4rem; color: var(--gold); opacity: 0.15; pointer-events: none; z-index: 1000; }

.story-wrapper { position: relative; height: 500vh; background: var(--dark); }
.story-sticky { position: sticky; top: 0; height: 100vh; width: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.story-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.story-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1) translateY(20px); transition: opacity 1.2s var(--transition), transform 2s var(--transition); filter: brightness(0.3) contrast(1.1); }
.story-img.active { opacity: 1; transform: scale(1) translateY(0); }
.story-content-box { position: relative; z-index: 10; max-width: 900px; padding: 0 10vw; text-align: left; }
.story-text { display: none; opacity: 0; transform: translateY(50px); transition: all 1.2s var(--transition); }
.story-text.active { display: block; opacity: 1; transform: translateY(0); }
.story-text h3 { font-family: 'Libre Baskerville', serif; font-size: clamp(3rem, 8vw, 6rem); color: var(--white); font-style: italic; line-height: 1; margin-bottom: 2rem; }
.story-description { font-family: 'Inter'; font-weight: 200; font-size: 1.2rem; color: #999; max-width: 500px; line-height: 1.8; border-left: 1px solid var(--gold); padding-left: 2rem; }

/* --- BLUEPRINT (VISION) --- */
.blueprint-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 5vw; min-height: 100vh; align-items: start; }
.blueprint-sticky { position: sticky; top: 20vh; padding: 5vw; }
.blueprint-content { padding: 10vh 5vw; }
.blueprint-detail { margin-bottom: 20vh; border-left: 1px solid var(--gold-dim); padding-left: 2rem; }
.blueprint-detail h3 { font-family: 'Syncopate'; font-size: 1.5rem; color: var(--white); margin-bottom: 1rem; }
.blueprint-detail p { font-size: 1rem; color: #999; line-height: 1.8; }

/* --- BRUTALIST FORM (TOUR) --- */
.form-container { max-width: 600px; margin: 0 auto; padding: 20vh 5vw; position: relative; z-index: 10; }
.form-group { margin-bottom: 4rem; position: relative; }
.form-input { width: 100%; background: transparent; border: none; border-bottom: 1px solid #333; color: var(--white); font-family: 'Syncopate'; font-size: 1.2rem; padding: 1rem 0; outline: none; transition: 0.3s; }
.form-input:focus { border-bottom: 1px solid var(--gold); }
.form-label { position: absolute; top: 0; left: 0; font-family: 'Syncopate'; font-size: 0.7rem; color: #666; pointer-events: none; transition: 0.3s; }
.form-input:focus ~ .form-label, .form-input:valid ~ .form-label { top: -25px; color: var(--gold); font-size: 0.6rem; }

/* --- QUOTE SECTION --- */
.quote-section { padding: 25vh 10vw; text-align: center; }
.quote-text { font-family: 'Libre Baskerville'; font-size: clamp(2rem, 6vw, 4.5rem); color: #fff; font-style: italic; }

/* --- FOOTER STYLING --- */
footer { background: #000; padding: 15vh 8vw 8vh; border-top: 1px solid var(--gold-dim); position: relative; z-index: 100; overflow: hidden; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10vw; }
.footer-brand h2 { font-family: 'Syncopate'; font-size: 18vw; color: #0a0a0a; position: absolute; bottom: -5vh; left: -2vw; z-index: -1; -webkit-text-stroke: 1px rgba(255,255,255,0.02); }
.footer-links h4 { font-family: 'Syncopate'; font-size: 0.65rem; color: var(--gold); margin-bottom: 2.5rem; letter-spacing: 0.4em; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 1.2rem; }
.footer-links a { color: var(--light); text-decoration: none; font-size: 0.85rem; opacity: 0.5; transition: 0.4s; padding-bottom: 4px; border-bottom: 1px solid transparent; }
.footer-links a:hover { opacity: 1; border-bottom: 1px solid var(--gold); letter-spacing: 0.1em; }
.footer-bottom { margin-top: 10vh; padding-top: 4vh; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; font-family: 'Syncopate'; font-size: 0.5rem; opacity: 0.3; }

/* --- UI COMPONENTS --- */
.btn-premium { display: inline-flex; padding: 22px 45px; border: 1px solid var(--gold); color: var(--white); text-decoration: none; font-family: 'Syncopate'; font-size: 0.6rem; letter-spacing: 0.4em; transition: 0.5s; background: transparent; text-transform: uppercase; cursor: pointer; position: relative; overflow: hidden; }
.btn-premium:hover { background: var(--gold); color: var(--dark); }

@media (max-width: 900px) {
    .split-layout { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; }
    .ascent-floor-hud { font-size: 2rem; right: 40px; }
}