/* eskapeshare.com — landing v1
   Tokens locked 2026-07-13 (spec: docs/superpowers/specs/2026-07-13-eskapeshare-landing-design.md) */

:root {
  --abyss: #0A1428;
  --foam: #F4FAFC;
  --cyan: #5BD3EA;
  --gold: #E8A33D;
  --steel-hi: #9CC0E8;
  --steel-mid: #4E7CA8;
  --steel-lo: #2E5578;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Archivo', -apple-system, 'Helvetica Neue', sans-serif;
  --font-data: 'Space Mono', ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--abyss); color: var(--foam); font-family: var(--font-body); }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ===== HERO ===== */
.fx-hero { position: relative; width: 100%; height: 100svh; min-height: 560px; overflow: hidden; background: var(--abyss); }
.fx-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.fx-slide.s1 { object-position: 50% 58%; animation: fxfade1 16s ease-in-out infinite, fxzoom 16s linear infinite; }
.fx-slide.s2 { animation: fxfade2 16s ease-in-out infinite, fxzoom 16s linear infinite; }
@keyframes fxfade1 { 0%{opacity:1} 42%{opacity:1} 50%{opacity:0} 92%{opacity:0} 100%{opacity:1} }
@keyframes fxfade2 { 0%{opacity:0} 42%{opacity:0} 50%{opacity:1} 92%{opacity:1} 100%{opacity:0} }
@keyframes fxzoom { 0%{transform:scale(1)} 100%{transform:scale(1.07)} }
.fx-scrim-top { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,12,24,0.55) 0%, rgba(4,12,24,0) 32%); }
.fx-scrim-bottom { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,12,24,0.68) 0%, rgba(4,12,24,0) 46%); }

.fx-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 24px 38px; z-index: 3; }

/* ===== WORDMARK + ANIMATED K ===== */
.fx-wordmark { font-family: var(--font-display); font-weight: 500; font-size: 26px; color: var(--foam); letter-spacing: 0.01em; line-height: 1; text-shadow: 0 1px 14px rgba(0,0,0,0.5); }
.fx-kwrap { position: relative; display: inline-block; }
.fx-kwrap .kglyph { font-weight: 600; font-size: 1.55em; background: linear-gradient(165deg, var(--steel-hi) 0%, var(--steel-mid) 50%, var(--steel-lo) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding: 0 1px; vertical-align: -0.12em; }
.fx-kwrap .bird { position: absolute; width: 10px; height: 6px; opacity: 0; pointer-events: none; }
.fx-kwrap .bird svg { display: block; width: 100%; height: 100%; }
.fx-kwrap .b1 { left: 58%; top: -4%; animation: fxbirdA 4.8s ease-out infinite; }
.fx-kwrap .b2 { left: 70%; top: 8%; width: 8px; height: 5px; animation: fxbirdB 4.8s ease-out 0.9s infinite; }
.fx-kwrap .b3 { left: 52%; top: 12%; width: 7px; height: 4.5px; animation: fxbirdA 4.8s ease-out 1.8s infinite; }
.fx-kwrap .b4 { left: 64%; top: 0%; width: 8px; height: 5px; animation: fxbirdB 4.8s ease-out 2.7s infinite; }
@keyframes fxbirdA { 0%{transform:translate(0,0) scale(.55); opacity:0} 12%{opacity:.95} 55%{opacity:.85} 80%{transform:translate(30px,-24px) scale(1); opacity:0} 100%{transform:translate(30px,-24px); opacity:0} }
@keyframes fxbirdB { 0%{transform:translate(0,0) scale(.5); opacity:0} 14%{opacity:.9} 58%{opacity:.8} 82%{transform:translate(22px,-32px) scale(.95); opacity:0} 100%{transform:translate(22px,-32px); opacity:0} }

/* ===== COMING SOON PILL ===== */
.fx-pill { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-data); font-size: 10px; letter-spacing: 0.26em; color: var(--foam); border: 1px solid rgba(244,250,252,0.4); border-radius: 999px; padding: 8px 16px 8px 13px; background: rgba(4,12,24,0.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.fx-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(232,163,61,0.9); animation: fxpulse 2.4s ease-in-out infinite; }
@keyframes fxpulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

/* ===== GLASS DASHBOARD ===== */
.fx-dash { position: absolute; left: 38px; bottom: 66px; width: 330px; z-index: 3; background: rgba(74,86,104,0.45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.2); border-radius: 14px; padding: 17px 20px 14px; box-shadow: 0 18px 50px rgba(2,8,18,0.5); animation: fxbreathe 6s ease-in-out infinite; }
@keyframes fxbreathe { 0%,100%{box-shadow:0 18px 50px rgba(2,8,18,0.5)} 50%{box-shadow:0 18px 62px rgba(46,124,168,0.28)} }
.fx-dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; gap: 12px; }
.fx-dash-label { font-family: var(--font-data); font-size: 9.5px; letter-spacing: 0.2em; color: rgba(244,250,252,0.9); }
.fx-dash-badge { font-family: var(--font-data); font-size: 8.5px; letter-spacing: 0.16em; color: var(--abyss); background: var(--gold); border-radius: 4px; padding: 3px 7px; font-weight: 700; }
.fx-chart { display: block; margin: 2px 0 7px; max-width: 100%; height: auto; }
.fx-chart .draw { stroke-dasharray: 560; stroke-dashoffset: 560; animation: fxdraw 4s ease-out forwards; }
@keyframes fxdraw { to { stroke-dashoffset: 0; } }
.fx-stats { display: flex; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 10px; }
.fx-stat { flex: 1; }
.fx-stat .v { font-family: var(--font-data); font-size: 15px; font-weight: 700; color: var(--foam); }
.fx-stat .v.up { color: var(--cyan); }
.fx-stat .kk { font-family: var(--font-data); font-size: 8px; letter-spacing: 0.14em; color: rgba(244,250,252,0.6); margin-top: 3px; }
.fx-dash-foot { display: flex; align-items: center; gap: 8px; margin-top: 11px; font-family: var(--font-data); font-size: 9px; letter-spacing: 0.2em; color: rgba(244,250,252,0.75); }
.fx-dash-foot .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: fxpulse 2.4s ease-in-out infinite; }

.fx-disclaimer { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; text-align: center; font-family: var(--font-data); font-size: 9.5px; letter-spacing: 0.18em; color: rgba(244,250,252,0.72); background: rgba(3,8,18,0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,0.08); padding: 10px 12px; }

/* ===== THE ENGINE ===== */
.fx-engine { background: var(--abyss); padding: 64px 38px 60px; text-align: center; }
.fx-eyebrow { font-family: var(--font-data); font-size: 10px; letter-spacing: 0.34em; color: rgba(244,250,252,0.5); margin-bottom: 26px; }
.fx-engine-panel { display: inline-block; text-align: left; background: rgba(148,160,178,0.14); border: 1px solid rgba(255,255,255,0.14); border-radius: 16px; padding: 26px 30px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); max-width: 100%; }
.fx-engine-panel .fx-dash-head { margin-bottom: 12px; }
.fx-engine-chart { display: block; max-width: 100%; height: auto; }
.fx-engine-stats { margin-top: 14px; max-width: 520px; }
.fx-engine-line { font-family: var(--font-body); font-size: 15px; color: rgba(244,250,252,0.85); margin-top: 22px; }

/* ===== THE ESCAPE (parallax) ===== */
.fx-escape { position: relative; height: 60svh; min-height: 360px; background: url('../assets/img/escape-jump.jpg') center 28% / cover no-repeat; }
@media (hover: hover) and (pointer: fine) {
  .fx-escape { background-attachment: fixed; }
}
.fx-escape .cap { position: absolute; left: 38px; bottom: 28px; font-family: var(--font-data); font-size: 10px; letter-spacing: 0.34em; color: rgba(244,250,252,0.9); text-shadow: 0 1px 8px rgba(0,0,0,0.6); }

/* ===== FOOTER (light, ocean outlook) ===== */
.fx-footer { position: relative; padding: 58px 38px 30px; text-align: center; background: url('../assets/img/footer-ocean.jpg') center 62% / cover no-repeat; }
.fx-footer::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(244,250,252,0.88) 0%, rgba(244,250,252,0.55) 48%, rgba(244,250,252,0.78) 100%); }
.fx-footer > * { position: relative; }
.fx-footer .wm { font-family: var(--font-display); font-size: 34px; font-weight: 500; color: var(--abyss); }
.fx-footer .mail { margin-top: 16px; }
.fx-footer .mail a { font-family: var(--font-data); font-size: 11px; letter-spacing: 0.14em; color: #155E8C; text-decoration: none; }
.fx-footer .mail a:hover, .fx-footer .mail a:focus-visible { text-decoration: underline; }
.fx-footer .fine { font-family: var(--font-data); font-size: 9px; letter-spacing: 0.16em; color: rgba(10,20,40,0.62); margin-top: 28px; line-height: 1.7; }

/* ===== FOCUS VISIBILITY ===== */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .fx-wordmark { font-size: 22px; }
  .fx-dash { width: min(330px, calc(100vw - 56px)); }
}
@media (max-width: 640px) {
  .fx-top { position: relative; padding: 18px 20px; }
  .fx-pill { padding: 7px 12px 7px 10px; letter-spacing: 0.18em; }
  .fx-hero { height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 56px; }
  .fx-hero > .fx-slide, .fx-hero > .fx-scrim-top, .fx-hero > .fx-scrim-bottom { position: absolute; }
  .fx-dash { position: relative; left: auto; bottom: auto; width: calc(100% - 32px); margin: 24px auto 0; }
  .fx-disclaimer { position: absolute; }
  .fx-engine { padding: 48px 20px 44px; }
  .fx-engine-panel { padding: 20px 18px; }
  .fx-engine-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 8px; }
  .fx-escape { height: 40svh; }
  .fx-escape .cap, .fx-dash { left: auto; }
  .fx-footer { padding: 44px 20px 24px; }
  .fx-footer .wm { font-size: 26px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .fx-slide.s1 { animation: none; opacity: 1; }
  .fx-slide.s2 { animation: none; opacity: 0; }
  .fx-kwrap .bird { animation: none; opacity: 0; }
  .fx-kwrap .b1 { opacity: 0.85; transform: translate(20px, -14px); }
  .fx-kwrap .b2 { opacity: 0.6; transform: translate(10px, -22px); }
  .fx-pill .dot, .fx-dash-foot .dot { animation: none; }
  .fx-dash { animation: none; }
  .fx-chart .draw { animation: none; stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
