/* Projection page — scoped under .projection-page so the site-wide
   light "paper" theme in styles.css can never leak through.
   --paper and --surface are redefined dark here so any inline
   `background: var(--paper)` / `var(--surface)` copied from the
   reference design resolves dark automatically via inheritance. */

.projection-page {
  --red: #e60012;
  --ink: #08070a;
  --paper: #08070a;
  --surface: #100f13;
  background: var(--ink) !important;
  color: #fff !important;
}

.projection-page .footer { margin-top: 0; }

/* ============ FINAL CTA (photo bg + overlaid form, matching Arrival) ============ */
.projection-page .final-cta { padding: 56px 16px; min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; position: relative; overflow: hidden; background-color: #08070a; background-size: cover; background-position: center; }
.projection-page .final-cta-grid { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) min(520px, 42%); gap: 64px; align-items: start; text-align: left; }
.projection-page .final-cta .fc-head { font-size: clamp(38px, 6.2vw, 92px); line-height: 1.0; color: #fff; }
.projection-page .final-cta .fc-sub { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; margin-top: 28px; color: #fff; opacity: 0.85; }
.projection-page .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid rgba(255,255,255,0.55); border-bottom: none; }
.projection-page .f-input { background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.55); color: #fff; padding: 20px 18px; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; width: 100%; transition: background 0.25s; text-shadow: 0 1px 4px rgba(0,0,0,0.8); }
.projection-page .f-input.f-col-left { border-right: 1px solid rgba(255,255,255,0.55); }
.projection-page .f-input:focus { outline: none; background: #0d0c10; }
.projection-page .f-input::placeholder { color: #fff; opacity: 0.9; }
.projection-page .f-input.full { grid-column: 1 / -1; }
.projection-page textarea.f-input { min-height: 140px; resize: vertical; }
.projection-page .form-send { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.projection-page .form-send .ff-note { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; padding-left: 18px; flex: 1; min-width: 0; color: #fff; }
.projection-page .form-send .btn-red { padding: 14px 24px; flex-shrink: 0; }
.projection-page .form-send .btn-red:hover { transform: none; }

@media (max-width: 900px) {
  .projection-page .final-cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .projection-page .form-grid { grid-template-columns: 1fr; }
  .projection-page .f-input.f-col-left { border-right: none; }
  .projection-page .form-send { flex-direction: column; align-items: stretch; gap: 0; }
  .projection-page .form-send .ff-note { padding: 14px 18px; }
}

/* ============ IN GOOD COMPANY — brand wall hover zoom + logo reveal ============ */
.projection-page .img-placeholder img {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.3, 1), opacity 0.35s ease;
}
.projection-page .img-placeholder:hover img {
  transform: scale(1.06);
}

.projection-page .brand-card .brand-logo {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 55%;
  max-height: 38%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 2;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,0.75));
}
.projection-page .brand-card:hover .brand-logo {
  opacity: 1;
  transform: scale(1);
}
.projection-page .brand-card:hover > img:not(.brand-logo) {
  transform: scale(1.06);
  opacity: 0.35;
}
.projection-page .brand-card:hover .label {
  opacity: 0;
}
.projection-page .brand-card .label {
  transition: opacity 0.3s ease;
}

/* ============ OUR PROCESS (swipeable stage cards) ============ */
.process-section { --p-red: #e60012; font-family: 'Inter', system-ui, sans-serif; }
.process-section .p-container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.process-section .p-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--p-red); font-weight: 700; display: inline-block; }
.process-section .p-headline { font-family: 'Anton', Impact, sans-serif; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.15; font-weight: 400; font-size: clamp(32px, 6vw, 96px); margin-top: 16px; color: #fff; }
.process-section .p-headline .p-period { color: var(--p-red); }

.frame-earned .fe-track { display: flex; gap: 24px; margin-top: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.frame-earned .fe-track::-webkit-scrollbar { height: 6px; }
.frame-earned .fe-track::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); }

.frame-earned .fe-card { position: relative; flex: 1 1 100%; border-radius: 4px; overflow: hidden; scroll-snap-align: start; background: #08070a; display: flex; }
.frame-earned .fe-card-bg { display: block; width: 100%; height: auto; }
.frame-earned .fe-card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,7,10,0.55) 0%, rgba(8,7,10,0.08) 30%, rgba(8,7,10,0.18) 60%, rgba(8,7,10,0.92) 100%); }

.frame-earned .fe-stage { position: absolute; top: 20px; left: 20px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; font-weight: 700; color: var(--p-red); z-index: 2; text-shadow: 0 1px 6px rgba(0,0,0,0.7); }
.frame-earned .fe-count { position: absolute; top: 20px; right: 20px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.07em; color: #fff; opacity: 0.75; z-index: 2; }

.frame-earned .fe-body { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; }
.frame-earned .fe-title { font-size: 17px; font-weight: 600; line-height: 1.25; color: #fff; margin-bottom: 8px; }
.frame-earned .fe-meta { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-top: 14px; }
.frame-earned .fe-desc { font-size: 14px; line-height: 1.65; color: #fff; opacity: 0.92; margin-top: 6px; }

.frame-earned .fe-swipe { margin-top: 16px; text-align: right; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; opacity: 0.5; }


/* ============ OUR PROCESS (accordion detail) ============ */
.process-section .p-list { margin-top: 56px; border-top: 1px solid rgba(255,255,255,0.15); }
.process-section .p-row { border-bottom: 1px solid rgba(255,255,255,0.15); }

.process-section .p-row-head { width: 100%; background: none; border: none; color: #fff; cursor: pointer; display: flex; align-items: baseline; gap: 20px; padding: 26px 0; text-align: left; font-family: inherit; }
.process-section .p-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.07em; font-weight: 700; color: var(--p-red); flex-shrink: 0; min-width: 64px; }
.process-section .p-title { font-family: 'Anton', Impact, sans-serif; text-transform: uppercase; font-size: clamp(22px, 3.2vw, 44px); letter-spacing: -0.01em; line-height: 1; transition: color 0.2s; }
.process-section .p-row-head:hover .p-title { color: var(--p-red); }
.process-section .p-toggle { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 20px; font-weight: 500; flex-shrink: 0; transition: transform 0.25s ease; line-height: 1; }
.process-section .p-row.open .p-toggle { transform: rotate(45deg); color: var(--p-red); }

.process-section .p-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.process-section .p-body-inner { padding: 0 0 32px 84px; max-width: 760px; }
.process-section .p-kicker { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.process-section .p-copy { font-size: 14px; line-height: 1.65; color: #fff; }

@media (max-width: 640px) {
  .process-section .p-row-head { gap: 14px; padding: 20px 0; }
  .process-section .p-num { min-width: 44px; }
  .process-section .p-body-inner { padding-left: 0; }
}

/* ============ WHY WALLY PROJECTION (split carousel) — self-contained, provided ============ */
.ww-split { --ww-red: #e60012; font-family: 'Inter', system-ui, sans-serif; }
.ww-split .ww-container { max-width: 1400px; margin: 0 auto; }
.ww-split .ww-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ww-red); font-weight: 700; }
.ww-split .ww-headline { font-family: 'Anton', Impact, sans-serif; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.15; font-weight: 400; font-size: clamp(36px, 6.5vw, 104px); margin-top: 16px; }
.ww-split .ww-headline .ww-period { display: none; }

.ww-split .ww-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; margin-top: 56px; border: 1px solid rgba(0,0,0,0.12); }

.ww-split .ww-visual { position: relative; background: var(--ww-red); min-height: 620px; overflow: hidden; }

.ww-split .ww-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s ease; background: #fff; }
.ww-split .ww-slide.active { opacity: 1; }

.ww-split .ww-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.ww-split .ww-slide .ww-slide-tag { position: absolute; bottom: 28px; left: 28px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; z-index: 2; text-shadow: 0 1px 6px rgba(0,0,0,0.7); }

.ww-split .ww-grain { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; opacity: 0.4; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E"); }

.ww-split .ww-dots { position: absolute; top: 24px; right: 24px; display: flex; gap: 8px; z-index: 5; }
.ww-split .ww-dots .ww-dot { width: 28px; height: 3px; background: rgba(255,255,255,0.3); transition: background 0.3s; }
.ww-split .ww-dots .ww-dot.on { background: #fff; }

.ww-split .ww-counter { position: absolute; top: 20px; left: 24px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; color: #fff; z-index: 5; }

.ww-split .ww-list { display: flex; flex-direction: column; background: #fff; }
.ww-split .ww-item { flex: 1; border-bottom: 1px solid rgba(0,0,0,0.12); padding: 26px 32px; cursor: pointer; position: relative; transition: background 0.35s; display: flex; flex-direction: column; justify-content: center; }
.ww-split .ww-item:last-child { border-bottom: none; }

.ww-split .ww-item .ww-row { display: flex; align-items: baseline; gap: 16px; }
.ww-split .ww-num { font-family: 'Anton', Impact, sans-serif; font-size: 34px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(0,0,0,0.35); transition: color 0.3s, -webkit-text-stroke-color 0.3s; flex-shrink: 0; }
.ww-split .ww-title { font-family: 'Anton', Impact, sans-serif; text-transform: uppercase; font-size: clamp(20px, 2vw, 30px); letter-spacing: -0.01em; line-height: 1; transition: transform 0.35s cubic-bezier(0.25,1,0.3,1); }
.ww-split .ww-arrow { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 16px; opacity: 0; transform: translateX(-8px); transition: opacity 0.3s, transform 0.35s; color: var(--ww-red); }

.ww-split .ww-copy { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.45s cubic-bezier(0.25,1,0.3,1), opacity 0.35s; font-size: 14px; line-height: 1.6; color: #000; padding-left: 50px; }

.ww-split .ww-item.active { background: #f4f4f2; }
.ww-split .ww-item.active .ww-num { color: var(--ww-red); -webkit-text-stroke-color: var(--ww-red); }
.ww-split .ww-item.active .ww-title { transform: translateX(6px); }
.ww-split .ww-item.active .ww-arrow { opacity: 1; transform: translateX(0); }
.ww-split .ww-item.active .ww-copy { max-height: 200px; opacity: 1; margin-top: 12px; }

.ww-split .ww-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ww-red); transform: scaleY(0); transition: transform 0.35s cubic-bezier(0.25,1,0.3,1); transform-origin: top; }
.ww-split .ww-item.active::before { transform: scaleY(1); }

@media (max-width: 900px) {
  .ww-split .ww-grid { grid-template-columns: 1fr; }
  .ww-split .ww-visual { min-height: 380px; }
  .ww-split .ww-bigtype { font-size: 96px; }
  .ww-split .ww-item { padding: 20px; }
  .ww-split .ww-copy { padding-left: 0; }
}

/* ============ FEATURED CAMPAIGN — slider ============ */
.projection-page .fc-slider { position: relative; }
.projection-page .fc-slide { display: none; }
.projection-page .fc-slide.active { display: block; animation: fc-fade 0.5s ease; }
@keyframes fc-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.projection-page .fc-nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 48px; }
.projection-page .fc-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: #fff; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.25s, border-color 0.25s; position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; }
.projection-page .fc-arrow:hover { background: var(--red); border-color: var(--red); }
.projection-page #fcPrev { left: 24px; }
.projection-page #fcNext { right: 24px; }

@media (max-width: 900px) {
  .projection-page .fc-arrow { position: static; transform: none; }
}
.projection-page .fc-dots { display: flex; align-items: center; gap: 10px; }
.projection-page .fc-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); cursor: pointer; transition: background 0.25s, transform 0.25s; }
.projection-page .fc-dot.on { background: var(--red); transform: scale(1.3); }
