/* ============================================================
   STR-PROJECT — str-project.css
   5-panel continuous background with curated content flow
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand-orange: #FF6420;
  --charcoal:     #2A2A2A;
  --stratus:      #8A8A8A;
  --off-white:    #F5F4F0;
  --white:        #FFFFFF;
  --black:        #0C0C0C;
  --ml: max(48px, 7vw);
  --mr: max(48px, 7vw);
  --panel-h: 62.5vw;

  --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(--brand-orange); color: var(--white); }

body {
  background: var(--off-white); color: var(--black);
  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(--brand-orange); }

/* ============================================================
   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(--black); text-decoration: none; letter-spacing: .04em; opacity: .65; transition: opacity .2s ease; }
.nav-link:hover { opacity: 1; }
.nav-clock { font-size: var(--fs-11); font-weight: 400; letter-spacing: .14em; color: var(--brand-orange); 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(--brand-orange); 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; }

/* ============================================================
   BACKGROUND STRIP — 5 panels
============================================================ */
.proj-bg-strip {
  position: absolute; top: 0; left: 0; width: 100%;
  z-index: 0; pointer-events: none;
}
.proj-bg-panel {
  width: 100%; height: var(--panel-h);
  background-size: cover; background-position: center;
  background-repeat: no-repeat; will-change: transform;
}

/* ============================================================
   CONTENT — exact height = 5 panels
============================================================ */
#proj-main {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  min-height: calc(5 * var(--panel-h));
}

/* Each section fills one panel */
.proj-section {
  height: var(--panel-h);
  position: relative;
  display: flex;
}

/* ============================================================
   PANEL 1: HERO
============================================================ */
.proj-hero {
  align-items: flex-end;
  padding: 0 var(--mr) 12% var(--ml);
}
.proj-hero-content {
  display: flex; flex-direction: column; gap: 12px;
}
.proj-hero-eyebrow {
  font-size: var(--fs-9); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brand-orange);
}
.proj-hero-title {
  font-size: clamp(48px, 7vw, 100px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 0.95; color: var(--black);
}
.proj-hero-sub {
  font-size: var(--fs-11); letter-spacing: 0.1em; color: var(--stratus);
}

/* ============================================================
   PANEL 2: ABOUT
============================================================ */
.proj-about {
  align-items: stretch;
}
.proj-about-inner {
  width: 100%; display: flex; align-items: stretch;
}
.proj-about-text {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px var(--ml);
}
.proj-about-meta {
  width: 300px; flex-shrink: 0;
  display: flex; flex-direction: column;
  justify-content: center; gap: 24px;
  padding: 80px var(--mr) 80px 48px;
  border-left: 1px solid rgba(138,138,138,0.1);
}

.proj-eyebrow {
  font-size: var(--fs-9); letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brand-orange);
  margin-bottom: 20px; display: block;
}
.proj-headline {
  font-size: var(--fs-36); font-weight: 800;
  line-height: 1.25; letter-spacing: -0.02em;
  color: var(--black); max-width: 520px; margin-bottom: 24px;
}
.proj-title {
  font-size: var(--fs-25); font-weight: 800;
  line-height: 1.25; letter-spacing: -0.02em;
  color: var(--black); margin-bottom: 16px;
}
.proj-body {
  font-size: var(--fs-15); font-weight: 300;
  line-height: 1.75; color: var(--charcoal);
  max-width: 480px; margin-bottom: 12px;
}
.proj-meta-item { display: flex; flex-direction: column; gap: 4px; }
.proj-meta-label {
  font-size: var(--fs-9); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand-orange);
}
.proj-meta-value { font-size: var(--fs-11); font-weight: 400; color: var(--black); }

/* ============================================================
   PANEL 3: FLOATING IMAGE
============================================================ */
.proj-float-section {
  align-items: center; justify-content: center;
  padding: 0 var(--ml);
}
.proj-float-inner {
  max-width: 800px; width: 100%;
  display: flex; flex-direction: column; align-items: center;
}
.proj-float {
  width: 100%; height: auto; display: block;
  box-shadow: 0 30px 100px rgba(0,0,0,0.15);
}
.proj-float-caption {
  margin-top: 20px;
  font-size: var(--fs-9); letter-spacing: 0.1em;
  color: var(--stratus); text-align: center;
}

/* ============================================================
   PANEL 4: PROCESS — text + image side by side
============================================================ */
.proj-process-section {
  align-items: stretch;
}
.proj-process-inner {
  width: 100%; display: flex; align-items: stretch;
}
.proj-process-text {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center;
  padding: 60px 48px 60px var(--ml);
}
.proj-process-img {
  flex: 0 0 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px;
}
.proj-process-img img {
  width: 100%; max-width: 560px; height: auto;
  box-shadow: 0 20px 80px rgba(0,0,0,0.12);
}
.proj-process-img .proj-float-caption {
  margin-top: 16px;
}

/* ============================================================
   PANEL 5: FOOTER — transparent, sits on a_05
============================================================ */
#footer {
  margin-top: auto;
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  justify-content: space-between;
}
.footer-main {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 100px var(--mr) 60px 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(--brand-orange); }
.footer-headline { font-size: var(--fs-72); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--black); }
.footer-headline-accent { color: var(--brand-orange); }
.footer-cta-btn {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 12px;
  padding: 16px 32px; background: var(--brand-orange);
  text-decoration: none; width: fit-content; transition: all 0.4s var(--ease);
}
.footer-cta-btn:hover { gap: 20px; padding: 16px 40px 16px 32px; background: #ff7a3f; }
.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: 32px; 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(--brand-orange); }
.footer-contact-value { font-size: var(--fs-15); font-weight: 400; color: var(--black); text-decoration: none; line-height: 1.5; transition: color 0.2s ease; }
a.footer-contact-value:hover { color: var(--brand-orange); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px var(--mr) 24px var(--ml);
  border-top: 1px solid rgba(138,138,138,0.12);
}
.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; }
  .proj-about-inner { flex-direction: column; }
  .proj-about-meta { width: 100%; border-left: none; border-top: 1px solid rgba(138,138,138,0.1); padding: 40px var(--ml); }
  .proj-process-inner { flex-direction: column; }
  .proj-process-img { flex: none; }
  .footer-main { flex-direction: column; padding: 60px var(--ml) 40px; gap: 40px; }
  .footer-right { padding-top: 0; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}