/* Heist Fall landing (2026-10-10 revamp). Game-UI palette (game/css/theme.css): navy panels, thick dark outlines, glossy
   orange/yellow buttons, outlined Lilita One. Layout = round 5 "C · Caution": diagonal navy/royal sections, one yellow section,
   caution-tape dividers. Phones stack the hero (art on top, copy below) and every section (image above text). */
:root {
  --ol: #0b1a33; --bg: #0f2e5e; --bg2: #0a2149; --pn1: #2a6fc0; --pn2: #1c4f95; --pn3: #153d77;
  --mut: #bcd6f5; --tx2: #e4efff; --or1: #ffb43c; --or2: #ff6d1a; --or3: #ec3d1c; --yl1: #ffe467; --yl2: #ffbe1a; --yl3: #f39a0c;
  --so: 0 3px 0 var(--ol), 0 -2px 0 var(--ol), 2px 0 0 var(--ol), -2px 0 0 var(--ol), 2px 2px 0 var(--ol), -2px 2px 0 var(--ol), 2px -2px 0 var(--ol), -2px -2px 0 var(--ol), 0 5px 0 var(--ol);
  --so2: 0 2px 0 var(--ol), 0 -1.5px 0 var(--ol), 1.5px 0 0 var(--ol), -1.5px 0 0 var(--ol), 1.5px 1.5px 0 var(--ol), -1.5px 1.5px 0 var(--ol), 1.5px -1.5px 0 var(--ol), -1.5px -1.5px 0 var(--ol), 0 3px 0 var(--ol);
  --gut: clamp(20px, 5vw, 88px);
  --cut: clamp(28px, 4vw, 60px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: #fff; font: 600 17px/1.6 Nunito, system-ui, sans-serif; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, .btn { font-family: "Lilita One", "Arial Black", system-ui, sans-serif; font-weight: 400; letter-spacing: .01em; }
:focus-visible { outline: 3px solid var(--yl1); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--yl2); color: var(--ol); padding: 8px 14px; border-radius: 10px; font-weight: 900; }
.skip:focus { left: 8px; }

/* ---------- buttons (the game's glossy bevel buttons) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 28px; border-radius: 16px; border: 3px solid var(--ol);
  font-size: 21px; color: #fff; white-space: nowrap; cursor: pointer; text-shadow: 0 2px 0 rgba(11, 26, 51, .7);
  background: linear-gradient(180deg, var(--or1), var(--or2) 55%, var(--or3));
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, .45), inset 0 -4px 0 rgba(0, 0, 0, .18), 0 5px 0 var(--ol); transition: transform .08s, box-shadow .08s, filter .15s; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(3px); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .45), 0 2px 0 var(--ol); }
.btn.y { background: linear-gradient(180deg, var(--yl1), var(--yl2) 55%, var(--yl3)); color: #3a1a00; text-shadow: none; }
.btn.dc { background: linear-gradient(180deg, #8a93ff, #5865f2); }
.btn.sm { min-height: 40px; padding: 7px 16px; font-size: 16px; border-radius: 12px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), 0 4px 0 var(--ol); }
.btn.big { font-size: 26px; padding: 14px 46px; }
[data-discord][aria-disabled="true"] { opacity: .55; cursor: not-allowed; filter: saturate(.6); }
[data-discord][aria-disabled="true"]::after { content: " · soon"; font-size: .8em; }

/* ---------- logo (L77: white HEIST FALL with cash stacks, 2026-10-11) ---------- */
.logoImg { display: block; height: 72px; width: auto; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .35)); }

/* ---------- top bar: just the logo over the hero (no menu, no buttons: Andre 2026-10-11) ---------- */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center;
  padding: max(14px, env(safe-area-inset-top)) var(--gut) 14px; pointer-events: none; }
.nav .brand { pointer-events: auto; }

/* ---------- hero: copy left over the open wall, action right ---------- */
.hero { position: relative; min-height: min(clamp(620px, 92vh, 1240px), 64vw); display: flex; align-items: center; overflow: hidden; background: var(--bg2); }
.heroArt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 26, 56, .82) 0%, rgba(8, 26, 56, .5) 30%, rgba(8, 26, 56, 0) 48%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1; background: linear-gradient(180deg, rgba(10, 33, 73, 0), rgba(10, 33, 73, .55)); }
.heroTx { position: relative; z-index: 2; width: min(560px, 44vw); margin-left: var(--gut); padding: 110px 0 70px; }
.hero picture { display: contents; }
.hero h1 { font-size: clamp(44px, 5vw, 80px); line-height: .98; text-shadow: var(--so); }
.hero .sub { max-width: 460px; margin: 20px 0 28px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; text-shadow: 0 2px 6px rgba(8, 26, 56, .85); }

/* ---------- caution tape ---------- */
.tape { height: 40px; background: repeating-linear-gradient(-45deg, var(--yl2) 0 30px, var(--ol) 30px 60px); border-top: 3px solid var(--ol); border-bottom: 3px solid var(--ol); position: relative; z-index: 3; }

/* ---------- highlight reel ---------- */
.reelW { padding: 80px var(--gut) calc(60px + var(--cut)); }
.reel { position: relative; max-width: 1340px; margin: 0 auto; border-radius: 22px; border: 3px solid var(--ol); overflow: hidden; background: #0d1b2e; box-shadow: 0 6px 0 #04102a; aspect-ratio: 16 / 9; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel figcaption { position: absolute; left: 26px; top: 20px; }
.reel h2 { font-size: clamp(26px, 3vw, 40px); text-shadow: var(--so); }
.playBtn { position: absolute; left: 50%; top: 50%; width: 112px; height: 112px; margin: -56px 0 0 -56px; border-radius: 50%; border: 4px solid var(--ol); cursor: pointer;
  background: linear-gradient(180deg, var(--or1), var(--or2) 55%, var(--or3)); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .45), 0 6px 0 var(--ol); display: grid; place-items: center; transition: opacity .25s, transform .1s; }
.playBtn i { border-left: 34px solid #fff; border-top: 21px solid transparent; border-bottom: 21px solid transparent; margin-left: 9px; filter: drop-shadow(0 2px 0 var(--ol)); }
.reel.on .playBtn { opacity: 0; }
.reel.on:hover .playBtn, .reel.on .playBtn:focus-visible { opacity: .9; }
.reel.on .playBtn i { border: 0; width: 34px; height: 40px; margin: 0; background: linear-gradient(90deg, #fff 0 36%, transparent 36% 64%, #fff 64%); }

/* ---------- the five pillar sections: diagonal cuts, navy/royal rhythm, one yellow ---------- */
.sec { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 4.5vw, 64px); align-items: center;
  padding: calc(var(--cut) * 2.4) var(--gut); margin-top: calc(var(--cut) * -1); clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
  scroll-margin-top: 40px; }
.sec .ph { max-width: 760px; justify-self: end; width: 100%; }
.sec.r .ph { order: 2; justify-self: start; }
.sec .ph img { width: 100%; height: auto; border-radius: 20px; border: 3px solid var(--ol); box-shadow: 0 8px 0 rgba(4, 16, 42, .6); }
.sec .tx { max-width: 600px; }
.sec h2 { font-size: clamp(38px, 4.6vw, 68px); line-height: 1; text-shadow: var(--so); margin-bottom: 20px; }
.sec h2 em { font-style: normal; color: var(--yl1); }
.sec p { color: var(--tx2); font-size: 18px; margin-bottom: 14px; }
.md { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.md span { width: 84px; height: 84px; border-radius: 50%; border: 3px solid var(--ol); background: var(--c); display: grid; place-items: center; box-shadow: inset 0 3px 0 rgba(255, 255, 255, .35), 0 4px 0 var(--ol); }
.md img { width: 62px; height: 62px; object-fit: contain; }
.md b { font: 900 14px Nunito, sans-serif; letter-spacing: .16em; color: var(--yl1); }
.s0, .s2 { background: var(--bg2); }
.s1, .s4 { background: linear-gradient(180deg, var(--pn1), var(--pn2)); }
.s3 { background: linear-gradient(180deg, var(--yl1), var(--yl2)); }
.s3 h2 em { color: var(--ol); text-shadow: none; }
.s3 p { color: #2a1a00; }
.s3 .md b { color: var(--ol); }
.s0 { margin-top: 0; }

/* ---------- time to get paid ---------- */
.close { position: relative; min-height: 600px; display: flex; align-items: center; margin-top: var(--cut);
  background: #081a38 url(../assets/landing/vault-2000.webp) right center / cover no-repeat; }
.close::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 26, 56, .95), rgba(8, 26, 56, .6) 45%, rgba(8, 26, 56, 0) 72%); }
.closeTx { position: relative; margin-left: var(--gut); padding: 70px 0; width: min(620px, 90vw); }
.close h2 { font-size: clamp(48px, 7vw, 100px); line-height: 1; text-shadow: var(--so); }
.closeSub { margin: 16px 0 26px; font-size: clamp(17px, 1.4vw, 21px); color: var(--tx2); text-shadow: 0 2px 6px rgba(8, 26, 56, .85); }

/* ---------- footer ---------- */
.foot { background: #06132b; color: #86a9d4; padding: 50px var(--gut) calc(30px + env(safe-area-inset-bottom)); font-size: 14px; }
.fTop { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot .logoImg { height: 88px; }
.foot nav { display: flex; gap: 28px; font: 400 19px "Lilita One"; color: #fff; }
.foot nav a:hover { color: var(--yl1); }
.fine { margin-top: 28px; padding-top: 20px; border-top: 2px solid #12284c; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.legal { display: flex; gap: 20px; flex-wrap: wrap; }
.legal a:hover { color: #fff; }

/* ---------- big screens ---------- */
@media (min-width: 1800px) {
  .heroTx { width: 700px; }
  .hero h1 { font-size: 96px; }
  .hero .sub { max-width: 560px; font-size: 23px; }
  .sec { grid-template-columns: 1fr 1fr; }
}

/* ---------- laptops / tablets landscape: slide the art left so Bubba clears the copy ---------- */
@media (max-width: 1300px) and (min-width: 821px) { .heroArt { object-position: 44% center; } }
@media (max-width: 1100px) and (min-width: 821px) { .heroArt { object-position: 26% center; } }

/* ---------- tablets ---------- */
@media (max-width: 1100px) {
  .heroTx { width: min(520px, 50vw); }
  .hero::before { background: linear-gradient(90deg, rgba(8, 26, 56, .88) 0%, rgba(8, 26, 56, .6) 38%, rgba(8, 26, 56, 0) 60%); }
  .sec { grid-template-columns: 1fr 1fr; }
}

/* ---------- phones (and narrow tablets): stack everything ---------- */
@media (max-width: 820px) {
  body { font-size: 16px; }
  .logoImg { height: 54px; }
  .foot .logoImg { height: 72px; }
  .nav { padding-top: max(10px, env(safe-area-inset-top)); padding-bottom: 10px; }
  .hero { display: block; min-height: 0; }
  .hero picture { display: block; }
  .heroArt { position: relative; height: auto; aspect-ratio: 1000 / 858; object-position: center; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 26, 56, .7) 0, rgba(8, 26, 56, 0) 90px); height: 120px; }
  .hero::after { display: none; }
  .heroTx { width: auto; margin: 0; padding: 22px var(--gut) 34px; background: var(--bg2); }
  .hero h1 { font-size: clamp(36px, 10vw, 56px); }
  .hero .sub { max-width: none; margin: 14px 0 22px; }
  .btn.big { width: 100%; }
  .reelW { padding: 50px var(--gut) calc(40px + var(--cut)); }
  .sec, .sec.r { grid-template-columns: 1fr; gap: 24px; padding: calc(var(--cut) * 2) var(--gut); }
  .sec .ph, .sec.r .ph { order: 0; justify-self: stretch; max-width: none; }
  .md span { width: 66px; height: 66px; } .md img { width: 48px; height: 48px; }
  .close { min-height: 0; background-image: none; display: block; }
  .close::before { display: none; }
  .close::after { content: ""; display: block; height: 260px; background: url(../assets/landing/vault-900.webp) center / cover no-repeat; border-top: 3px solid var(--ol); }
  .closeTx { margin: 0; padding: 44px var(--gut) 40px; width: auto; }
  .closeSub { margin: 12px 0 22px; }
  .fTop { flex-direction: column; align-items: flex-start; }
  .foot nav { gap: 22px; }
}

/* ---------- phones held sideways (short and wide): fit the whole hero, button included, on one screen ---------- */
@media (min-width: 821px) and (max-height: 520px) {
  .hero { min-height: 100vh; min-height: 100svh; }
  .heroTx { padding: 64px 0 22px; width: min(440px, 46vw); }
  .hero h1 { font-size: clamp(28px, 4.2vw, 40px); }
  .hero .sub { font-size: 15px; margin: 10px 0 16px; }
  .btn.big { font-size: 20px; padding: 10px 30px; }
  .logoImg { height: 48px; }
  .nav { padding-top: 10px; }
}

/* ---------- tablets held upright (iPad portrait): stacked hero like phones so the tall screen never zooms Bubba out of frame ---------- */
@media (min-width: 821px) and (max-width: 1100px) and (orientation: portrait) {
  .hero { display: block; min-height: 0; }
  .hero picture { display: block; }
  .heroArt { position: relative; height: auto; aspect-ratio: 1000 / 858; object-position: center; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 26, 56, .7) 0, rgba(8, 26, 56, 0) 110px); height: 140px; }
  .hero::after { display: none; }
  .heroTx { width: auto; margin: 0; padding: 34px var(--gut) 46px; background: var(--bg2); }
  .hero .sub { max-width: 640px; }
}
