/* ============================================================
   IMPLIED SPACES — project-1.css
   Dark gold · Hyperreal warmth
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand-orange: #FF6420;
  --gold:         #C9A96E;
  --charcoal:     #1A1A1A;
  --stratus:      #8A8A8A;
  --off-white:    #F5F4F0;
  --paper:        rgba(245,244,240,0.65);
  --white:        #FFFFFF;
  --black:        #0C0C0C;
  --void:         #0A0908;
  --ml: max(48px, 7vw);
  --mr: max(48px, 7vw);
  --fs-72:  clamp(36px, 5vw, 72px);
  --fs-36:  clamp(22px, 2.5vw, 36px);
  --fs-25:  clamp(16px, 1.74vw, 25px);
  --fs-15:  15px;
  --fs-11:  11px;
  --fs-9:   9px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scrollbar-width: none; -ms-overflow-style: none; }
::-webkit-scrollbar { display: none; }
::selection { background: var(--gold); color: var(--black); }

body {
  background: var(--void); color: var(--off-white);
  font-family: 'Manrope', sans-serif; font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
.syne    { font-family: 'Syne', sans-serif; font-weight: 700; }
.mono    { font-family: 'IBM Plex Mono', monospace; }
.manrope { font-family: 'Manrope', sans-serif; }

/* Reveals */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }

/* Scroll progress */
.scroll-progress-track { position: fixed; top: 0; right: 0; width: 15px; height: 100vh; z-index: 9999; pointer-events: none; }
.scroll-progress-fill { position: absolute; top: 0; left: 0; width: 100%; height: 0%; background: var(--gold); }

/* ── Header ── */
#main-nav { position: fixed; top: 0; left: 0; width: 100%; z-index: 1500; background: transparent; opacity: 0; transition: opacity .4s ease, transform .35s cubic-bezier(0.76, 0, 0.24, 1); pointer-events: none; }
#main-nav.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
#main-nav.nav-hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px var(--mr) 20px var(--ml); position: relative; }
.nav-logo-wrap { display: flex; align-items: center; text-decoration: none; }
.nav-logo-svg { width: auto; height: 40px; overflow: visible; }
.nav-links { display: flex; align-items: center; gap: 48px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-link { font-size: var(--fs-11); font-weight: 700; color: var(--off-white); text-decoration: none; letter-spacing: .04em; opacity: .55; transition: opacity .2s ease; }
.nav-link:hover { opacity: 1; }
.nav-clock { font-size: var(--fs-11); font-weight: 400; letter-spacing: .14em; color: var(--gold); width: 220px; flex-shrink: 0; text-align: right; white-space: nowrap; overflow: hidden; }

/* Back button */
#rp-back { position: fixed; top: 80px; left: var(--ml); z-index: 2000; display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--gold); opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; }
#rp-back.visible { opacity: 1; pointer-events: all; }
#rp-back:hover { opacity: 0.6; transform: translateX(-4px); }
.rp-back-icon { font-size: 14px; }
.rp-back-label { font-size: var(--fs-9); letter-spacing: 0.14em; text-transform: uppercase; }

/* ============================================================
   HERO
============================================================ */
#p1-hero { position: relative; width: 100%; height: 100vh; overflow: hidden; }
.p1-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.p1-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,9,8,0.95) 0%, rgba(10,9,8,0.4) 40%, transparent 100%); }
.p1-hero-content { position: absolute; bottom: 80px; left: var(--ml); z-index: 2; display: flex; flex-direction: column; gap: 12px; }
.p1-hero-eyebrow { font-size: var(--fs-9); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.p1-hero-title { font-size: clamp(48px, 8vw, 120px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; color: var(--off-white); }
.p1-hero-sub { font-size: var(--fs-11); letter-spacing: 0.12em; color: rgba(245,244,240,0.4); margin-top: 8px; }

/* ============================================================
   ABOUT
============================================================ */
#p1-about { display: flex; align-items: stretch; border-top: 1px solid rgba(245,244,240,0.06); }
.p1-about-text { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 100px 60px 100px var(--ml); }
.p1-about-meta { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 100px var(--mr) 100px 48px; border-left: 1px solid rgba(245,244,240,0.06); }

.p1-eyebrow { font-size: var(--fs-9); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; display: block; font-style: italic; }
.p1-headline { font-size: var(--fs-36); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; color: var(--off-white); max-width: 520px; margin-bottom: 24px; font-style: italic; }
.p1-title { font-size: var(--fs-25); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; color: var(--off-white); margin-bottom: 16px; }
.p1-body { font-size: var(--fs-15); font-weight: 300; line-height: 1.75; color: var(--paper); max-width: 480px; margin-bottom: 12px; }
.p1-meta-item { display: flex; flex-direction: column; gap: 4px; }
.p1-meta-key { font-size: var(--fs-9); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.p1-meta-val { font-size: var(--fs-11); font-weight: 400; color: rgba(245,244,240,0.6); }

/* ============================================================
   FULL-WIDTH IMAGE
============================================================ */
.p1-image-full { padding: 4px 0 0; }
.p1-bg-warm { background: #3D3328; padding: 40px 0; }
.p1-bg-light { background: var(--off-white); padding: 40px 0; }
.p1-img { width: 100%; height: auto; display: block; }

/* ============================================================
   SPLIT
============================================================ */
.p1-split { display: flex; align-items: stretch; min-height: 60vh; border-top: 1px solid rgba(245,244,240,0.06); }
.p1-split--reverse { flex-direction: row-reverse; }
.p1-split-img { flex: 0 0 50%; overflow: hidden; }
.p1-split-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p1-split-text { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 60px; }

/* ============================================================
   FOOTER
============================================================ */
#footer { position: relative; min-height: 100vh; background: var(--black); display: flex; flex-direction: column; justify-content: space-between; border-top: 1px solid rgba(245,244,240,0.06); }
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; padding: 120px var(--mr) 80px var(--ml); flex: 1; gap: 80px; }
.footer-left { max-width: 520px; display: flex; flex-direction: column; gap: 28px; }
.footer-label { font-size: var(--fs-9); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.footer-headline { font-size: var(--fs-72); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--off-white); }
.footer-headline-accent { color: var(--gold); }
.footer-cta-btn { display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; padding: 16px 32px; background: var(--gold); text-decoration: none; width: fit-content; transition: all 0.4s var(--ease); }
.footer-cta-btn:hover { gap: 20px; padding: 16px 40px 16px 32px; background: #d4b87a; }
.footer-cta-btn-text { font-size: var(--fs-9); letter-spacing: 0.14em; text-transform: uppercase; color: var(--black); font-weight: 500; }
.footer-cta-btn-arrow { font-size: 14px; color: var(--black); transition: transform 0.3s var(--ease); }
.footer-cta-btn:hover .footer-cta-btn-arrow { transform: translateX(4px); }
.footer-right { display: flex; flex-direction: column; gap: 36px; padding-top: 56px; }
.footer-contact-block { display: flex; flex-direction: column; gap: 6px; }
.footer-contact-label { font-size: var(--fs-9); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.footer-contact-value { font-size: var(--fs-15); font-weight: 400; color: var(--off-white); text-decoration: none; line-height: 1.5; transition: color 0.2s ease; }
a.footer-contact-value:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px var(--mr) 24px var(--ml); border-top: 1px solid rgba(245,244,240,0.06); }
.footer-bottom-left { display: flex; align-items: center; gap: 20px; }
.footer-logo-svg { width: auto; height: 32px; overflow: visible; flex-shrink: 0; }
.footer-copyright { font-size: var(--fs-9); letter-spacing: 0.08em; color: var(--stratus); }

/* ── Responsive ── */
@media (max-width: 1024px) { :root { --ml: 56px; --mr: 56px; } }
@media (max-width: 768px) {
  :root { --ml: 24px; --mr: 24px; }
  #p1-about { flex-direction: column; }
  .p1-about-meta { width: 100%; border-left: none; border-top: 1px solid rgba(245,244,240,0.06); padding: 48px var(--ml) 60px; }
  .p1-split, .p1-split--reverse { flex-direction: column; }
  .p1-split-img { flex: none; }
  .footer-main { flex-direction: column; padding: 80px var(--ml) 60px; gap: 48px; }
  .footer-right { padding-top: 0; }
  .footer-bottom { flex-direction: column; gap: 20px; align-items: flex-start; }
}