/* ============ Arbaa Studio — shared styles ============ */
:root {
  --bg: #060c26;
  --bg-2: #0b1435;
  --bg-3: #111c47;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f4f6ff;
  --muted: #9aa3c7;
  --red: #ff5a5f;
  --cyan: #00daf5;
  --yellow: #ffc700;
  --purple: #9b4dff;
  --radius: 22px;
  --radius-sm: 14px;
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--cyan); color: var(--bg); }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; border-radius: 3px;
  background: var(--dot, var(--cyan));
}
.section-title { font-size: clamp(36px, 5.4vw, 64px); margin: 14px 0 18px; }
.lede { color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 17px;
  padding: 14px 24px; border-radius: 14px;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--yellow); color: #1a1300; box-shadow: 0 6px 0 #b38b00; }
.btn-primary:hover { box-shadow: 0 8px 0 #b38b00; }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 2px 0 #b38b00; }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(6, 12, 38, 0.82); backdrop-filter: blur(14px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 24px; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 12px); gap: 3px; }
.brand-mark i { width: 12px; height: 12px; border-radius: 3.5px; display: block; }
.brand-mark i:nth-child(1) { background: var(--red); }
.brand-mark i:nth-child(2) { background: var(--cyan); transform: rotate(14deg) translate(1px, -2px); }
.brand-mark i:nth-child(3) { background: var(--yellow); }
.brand-mark i:nth-child(4) { background: var(--purple); }
.brand small { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .3em; color: var(--muted); margin-left: 2px; }
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  padding: 8px 14px; border-radius: 10px; font-weight: 500; font-size: 15px; color: var(--muted);
  transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.06); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; border-radius: 2px; transition: transform .2s, opacity .2s; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(6, 12, 38, 0.97); backdrop-filter: blur(14px);
    padding: 10px 16px 20px; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s ease;
  }
  .nav-links a { display: block; padding: 14px 10px; font-size: 18px; }
  .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav.open { background: rgba(6, 12, 38, 0.97); }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Sections ---------- */
section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-head { margin-bottom: 52px; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: 110px; overflow: hidden; }
#blockfield { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 200px;
  background: linear-gradient(transparent, var(--bg)); pointer-events: none;
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(52px, 8.4vw, 112px); font-weight: 700; margin: 22px 0 26px; }
.hero h1 .c-red { color: var(--red); }
.hero h1 .c-cyan { color: var(--cyan); }
.hero h1 .c-yellow { color: var(--yellow); }
.hero h1 .c-purple { color: var(--purple); }
.hero .lede { margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 48px; color: var(--muted); font-size: 14.5px; }
.hero-meta b { display: block; font-family: var(--display); font-size: 30px; color: var(--text); font-weight: 600; line-height: 1.1; }

.blocks {
  position: relative; width: min(420px, 100%); aspect-ratio: 1; margin-left: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6%;
  padding: 6%;
}
.blk {
  border-radius: 22%; position: relative; cursor: pointer;
  transition: transform .45s cubic-bezier(.34,1.56,.64,1);
  box-shadow: inset 0 -10px 0 rgba(0,0,0,.14);
}
.blk::before {
  content: ""; position: absolute; top: 17%; left: 17%; width: 22%; height: 22%;
  background: rgba(255,255,255,.75); border-radius: 3px;
}
.blk-r { background: var(--red); animation: bob 5s ease-in-out infinite; }
.blk-c { background: var(--cyan); transform: rotate(14deg) translate(4%, -8%); animation: bobTilt 5s ease-in-out infinite .6s; }
.blk-y { background: var(--yellow); animation: bob 5s ease-in-out infinite 1.2s; }
.blk-p { background: var(--purple); animation: bob 5s ease-in-out infinite 1.8s; }
.blk:hover { animation-play-state: paused; transform: translateY(-10px) rotate(-6deg) scale(1.04); }
.blk-c:hover { transform: rotate(28deg) translate(4%, -14%) scale(1.04); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes bobTilt { 0%,100% { transform: rotate(14deg) translate(4%, -8%); } 50% { transform: rotate(10deg) translate(4%, -12%); } }
.blocks-label {
  position: absolute; bottom: -8px; left: 0; right: 0; text-align: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em; color: var(--muted); text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .blocks { width: 240px; margin: 10px auto 0; order: -1; }
  .blocks-label { display: none; }
}

/* ---------- Name meaning strip ---------- */
.name-strip { padding: 0 0 clamp(60px, 8vw, 100px); }
.letters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.letter {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px 20px; position: relative; overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.letter:hover { transform: translateY(-4px); border-color: var(--accent); }
.letter .big { font-family: var(--display); font-weight: 700; font-size: 64px; line-height: 1; color: var(--accent); }
.letter .who { font-weight: 600; margin-top: 10px; }
.letter .role { font-size: 14px; color: var(--muted); }
.letter::after {
  content: ""; position: absolute; right: -18px; top: -18px; width: 64px; height: 64px;
  border-radius: 16px; background: var(--accent); opacity: .12; transform: rotate(18deg);
}
.name-note { margin-top: 22px; color: var(--muted); font-size: 15px; text-align: center; }
.name-note b { color: var(--text); }
@media (max-width: 760px) {
  .letters { grid-template-columns: repeat(2, 1fr); }
  .letter:last-child { grid-column: span 2; }
}

/* ---------- Games ---------- */
.feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: #02040d; border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
}
.feature-visual { position: relative; min-height: 420px; background: #000; overflow: hidden; }
.feature-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.feature-visual .hint {
  position: absolute; left: 18px; bottom: 16px; font-family: var(--mono); font-size: 12px;
  color: rgba(0, 218, 245, .7); letter-spacing: .14em; text-transform: uppercase;
}
.feature-body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--muted);
}
.tag.win { border-color: var(--yellow); color: var(--yellow); }
.feature h3 { font-size: clamp(52px, 6vw, 80px); letter-spacing: .04em; margin-bottom: 14px; }
.feature p { color: var(--muted); margin-bottom: 26px; }
.feature .btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature-visual { min-height: 300px; }
}

.upcoming { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.locked {
  border: 2px dashed var(--line-2); border-radius: var(--radius); padding: 30px;
  display: flex; align-items: center; gap: 22px; min-height: 140px;
}
.locked .slot {
  flex: none; width: 64px; height: 64px; border-radius: 16px; background: var(--bg-3);
  display: grid; place-items: center; font-family: var(--display); font-size: 28px; color: var(--muted);
}
.locked h4 { font-size: 22px; margin-bottom: 4px; }
.locked p { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .upcoming { grid-template-columns: 1fr; } }

/* ---------- Jam win ---------- */
.trophy {
  background: linear-gradient(135deg, #1b1500 0%, #2a1f00 40%, #120d33 100%);
  border: 1px solid rgba(255, 199, 0, .3); border-radius: 28px;
  padding: clamp(30px, 5vw, 64px); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  position: relative; overflow: hidden;
}
.trophy-badge {
  width: clamp(130px, 16vw, 190px); aspect-ratio: 1; border-radius: 32px; background: var(--yellow); color: #1a1300;
  display: grid; place-content: center; text-align: center; transform: rotate(-6deg);
  box-shadow: 0 10px 0 #b38b00, 0 30px 60px rgba(255, 199, 0, .25);
}
.trophy-badge b { font-family: var(--display); font-size: clamp(56px, 7vw, 84px); line-height: .9; }
.trophy-badge span { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.trophy h2 { font-size: clamp(30px, 4vw, 48px); margin: 12px 0 14px; }
.trophy p { color: #d8d2b8; max-width: 62ch; }
.prizes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.prize {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 10px 14px; font-size: 14.5px;
}
.prize b { color: var(--yellow); font-family: var(--display); font-weight: 600; margin-right: 6px; }
@media (max-width: 720px) { .trophy { grid-template-columns: 1fr; } .trophy-badge { margin: 0 auto 10px; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.member {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  transition: transform .2s, border-color .2s;
}
.member:hover { transform: translateY(-4px); border-color: var(--accent); }
.avatar {
  width: 64px; height: 64px; border-radius: 18px; background: var(--accent); color: #0a0f26;
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 28px;
  margin-bottom: 18px; position: relative;
}
.avatar::before { content: ""; position: absolute; top: 10px; left: 10px; width: 12px; height: 12px; background: rgba(255,255,255,.7); border-radius: 2px; }
.member h3 { font-size: 22px; }
.member .title { color: var(--accent); font-weight: 600; font-size: 14.5px; margin: 2px 0 10px; }
.member p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 1050px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .team { grid-template-columns: 1fr; } }

/* ---------- Roadmap ---------- */
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step {
  border-radius: var(--radius); padding: 28px; background: var(--bg-2); border: 1px solid var(--line);
  position: relative;
}
.step .num {
  font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: .15em;
}
.step h3 { font-size: 26px; margin: 12px 0 10px; }
.step p { color: var(--muted); font-size: 15.5px; }
.step .status {
  display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 600;
  padding: 5px 10px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent);
}
@media (max-width: 860px) { .road { grid-template-columns: 1fr; } }

/* ---------- News ---------- */
.news { display: grid; gap: 14px; }
.post {
  display: grid; grid-template-columns: 130px 1fr auto; gap: 24px; align-items: center;
  padding: 24px 26px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, transform .2s;
}
.post:hover { border-color: var(--accent); transform: translateX(4px); }
.post time { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.post h3 { font-size: 21px; margin-bottom: 4px; }
.post p { color: var(--muted); font-size: 15px; }
.post .pill {
  width: 14px; height: 14px; border-radius: 4px; background: var(--accent);
}
@media (max-width: 640px) {
  .post { grid-template-columns: 1fr; gap: 6px; }
  .post .pill { display: none; }
}

/* ---------- Contact / Footer ---------- */
.cta-box {
  text-align: center; border-radius: 32px; padding: clamp(44px, 7vw, 90px) 24px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,90,95,.18), transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(0,218,245,.18), transparent 40%),
    radial-gradient(circle at 20% 90%, rgba(255,199,0,.14), transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(155,77,255,.2), transparent 40%),
    var(--bg-2);
  border: 1px solid var(--line);
}
.cta-box h2 { font-size: clamp(36px, 5.5vw, 68px); margin: 14px 0 16px; }
.cta-box .lede { margin: 0 auto 32px; }
.cta-box .hero-cta { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 34px 0 40px; color: var(--muted); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-links a:hover { color: var(--cyan); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }



/* ============ ECHO page ============ */
.echo-page { background: #000; }
.echo-hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 0 0 clamp(60px, 9vw, 110px); overflow: hidden; }
#sonar { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
.echo-hero .wrap { position: relative; z-index: 2; pointer-events: none; }
.echo-hero .wrap a { pointer-events: auto; }
.echo-title {
  font-family: var(--display); font-weight: 700; font-size: clamp(90px, 18vw, 240px); letter-spacing: .06em; line-height: .85;
  color: transparent; -webkit-text-stroke: 2px var(--cyan); text-shadow: 0 0 40px rgba(0, 218, 245, .35);
}
.echo-tagline { font-size: clamp(19px, 2.2vw, 26px); max-width: 30ch; margin: 22px 0 30px; color: #cfe9ff; }
.click-hint {
  position: absolute; top: 96px; right: 24px; z-index: 2;
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(0, 218, 245, .7);
}
.echo-section { background: #000; }
.echo-section.alt { background: #030716; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.two-col h2 { font-size: clamp(34px, 4.6vw, 56px); margin: 14px 0 18px; }
.two-col p { color: var(--muted); margin-bottom: 14px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.twist {
  border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line);
}
.twist > div { padding: clamp(28px, 4vw, 50px); }
.twist .dark { background: #000; color: #cfe9ff; }
.twist .lit { background: #f6f1dd; color: #1b1a14; }
.twist .lit .eyebrow { color: #6b6450; }
.twist h3 { font-size: clamp(28px, 3.4vw, 40px); margin: 12px 0 12px; }
.twist .dark p { color: #8fb3c9; }
.twist .lit p { color: #4d4a3c; }
@media (max-width: 760px) { .twist { grid-template-columns: 1fr; } }

.tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tip { background: #070d22; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px; }
.key {
  display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px;
  border-radius: 10px; background: #111a3c; border: 1px solid var(--line-2); box-shadow: 0 4px 0 #050a1c;
  font-family: var(--mono); font-weight: 700; font-size: 16px; color: var(--cyan); margin-bottom: 16px;
}
.tip h4 { font-size: 19px; margin-bottom: 6px; }
.tip p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .tips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .tips { grid-template-columns: 1fr; } }

.facts { list-style: none; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.facts li span:first-child { color: var(--muted); }
.facts li span:last-child { text-align: right; }
.facts a { color: var(--cyan); }
.note {
  margin-top: 26px; padding: 18px 20px; border-radius: var(--radius-sm); font-size: 14.5px; color: var(--muted);
  background: rgba(0, 218, 245, .06); border: 1px solid rgba(0, 218, 245, .2);
}

/* ============ Official poster ============ */
.poster {
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(0, 218, 245, .25), 0 30px 80px rgba(0, 0, 0, .7), 0 0 60px rgba(0, 218, 245, .15);
}

/* Poster-style title: thin, wide-spaced, cream letters with a sonar "O" */
.echo-title {
  font-family: "Oswald", var(--display); font-weight: 300;
  font-size: clamp(72px, 13vw, 170px); letter-spacing: .14em; line-height: 1;
  color: #ece6d6; -webkit-text-stroke: 0; text-shadow: none;
  display: inline-flex; align-items: center; gap: .14em; white-space: nowrap;
}
.ring-o {
  display: inline-block; width: .78em; height: .78em; border-radius: 50%;
  background:
    radial-gradient(circle, #8ff6ff 0 13%, transparent 14% 27%, var(--cyan) 28% 40%, transparent 41% 55%, var(--cyan) 56% 69%, transparent 70%);
  box-shadow: 0 0 0 .055em var(--cyan), 0 0 40px rgba(0, 218, 245, .5);
  animation: ringPulse 2.6s ease-in-out infinite;
}
@keyframes ringPulse { 0%,100% { box-shadow: 0 0 0 .055em var(--cyan), 0 0 30px rgba(0,218,245,.35); } 50% { box-shadow: 0 0 0 .055em var(--cyan), 0 0 70px rgba(0,218,245,.75); } }
.echo-tagline {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em;
  font-size: clamp(15px, 1.7vw, 20px); color: var(--cyan); max-width: none; line-height: 1.5;
}
.headphones {
  margin: -14px 0 28px; font-family: var(--mono); font-size: 12px; letter-spacing: .28em;
  text-transform: uppercase; color: #8d8a80;
}

.echo-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.poster-hero { width: clamp(240px, 24vw, 340px); height: auto; transform: rotate(2.5deg); }
.poster-inline { display: none; width: min(320px, 100%); height: auto; margin-top: 28px; }
@media (max-width: 900px) {
  .echo-hero-grid { grid-template-columns: 1fr; }
  .poster-hero { display: none; }
  .poster-inline { display: block; }
}

/* Home: poster floating over the sonar demo */
.poster-float {
  position: absolute; z-index: 2; top: 50%; left: 50%;
  width: clamp(150px, 38%, 230px); transform: translate(-50%, -50%) rotate(-3deg);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.poster-float:hover { transform: translate(-50%, -52%) rotate(0deg) scale(1.03); }
.poster-float img { width: 100%; height: auto; }
.feature-visual { min-height: 460px; }
.echo-quote {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; font-size: 14px;
  color: var(--cyan) !important; margin-bottom: 14px !important;
}

/* ============ Trailer ============ */
.trailer-section { padding-top: clamp(60px, 8vw, 100px); }
.trailer {
  position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(0, 218, 245, .22), 0 40px 100px rgba(0, 0, 0, .8), 0 0 80px rgba(0, 218, 245, .1);
}
.trailer video { width: 100%; height: 100%; display: block; object-fit: cover; background: #000; }
.trailer-play {
  position: absolute; inset: 0; border: 0; cursor: pointer; color: #fff;
  background: radial-gradient(circle at center, rgba(0,0,0,.15), rgba(0,0,0,.6));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  transition: background .25s;
}
.trailer-play:hover { background: radial-gradient(circle at center, rgba(0,0,0,.05), rgba(0,0,0,.5)); }
.play-ring {
  width: clamp(70px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0, 218, 245, .15); border: 2px solid var(--cyan); color: var(--cyan);
  box-shadow: 0 0 0 0 rgba(0, 218, 245, .5); animation: playPing 2.2s ease-out infinite;
  transition: transform .2s;
}
.trailer-play:hover .play-ring { transform: scale(1.08); }
.play-ring svg { width: 40%; height: 40%; margin-left: 8%; }
@keyframes playPing { 0% { box-shadow: 0 0 0 0 rgba(0,218,245,.55); } 100% { box-shadow: 0 0 0 34px rgba(0,218,245,0); } }
.play-label { font-family: var(--mono); font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: #cfe9ff; text-shadow: 0 2px 10px #000; }
.trailer.playing .trailer-play { display: none; }

/* ============ ScribFight (notebook paper) ============ */
.scrib {
  margin-top: 22px; border-radius: 28px; overflow: hidden; color: #1d2340;
  padding: clamp(24px, 4vw, 48px);
  background:
    linear-gradient(90deg, transparent 54px, rgba(230, 70, 80, .35) 54px 56px, transparent 56px),
    repeating-linear-gradient(#f6f1e3 0 31px, #cfd8e8 31px 32px);
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  font-family: "Kalam", "Comic Sans MS", var(--body);
}
.scrib-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: end; margin-bottom: 26px; padding-left: clamp(0px, 4vw, 40px); }
.scrib-tag { border-color: rgba(29, 35, 64, .3) !important; color: #39405e !important; font-family: var(--mono); }
.scrib-title {
  font-family: "Permanent Marker", var(--display); font-weight: 400;
  font-size: clamp(48px, 7vw, 86px); line-height: 1; color: #1d2340; letter-spacing: .01em; margin-top: 4px;
}
.scrib-title span { color: #e5414f; }
.scrib-tagline { font-size: 22px; color: #39405e; margin-top: 6px; }
.scrib-pitch { font-size: 18px; line-height: 1.6; color: #2d3452; max-width: 52ch; }
.scrib-pitch b { color: #e5414f; font-weight: 700; }
.scrib-trailer {
  box-shadow: 0 0 0 6px #fff, 0 18px 40px rgba(29,35,64,.35);
  transform: rotate(-.6deg); border-radius: 6px;
}
.scrib-trailer .play-ring { background: #e5414f; border-color: #fff; color: #fff; animation-name: playPingRed; }
@keyframes playPingRed { 0% { box-shadow: 0 0 0 0 rgba(229,65,79,.6); } 100% { box-shadow: 0 0 0 34px rgba(229,65,79,0); } }
.scrib-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 32px; padding-left: clamp(0px, 4vw, 40px); }
.scrib-feats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 20px; }
.scrib-feats b { color: #e5414f; }
.scrib-keys { display: flex; flex-wrap: wrap; gap: 8px 16px; font-family: var(--body); font-size: 14px; color: #39405e; }
.scrib-keys kbd {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 5px; margin-right: 3px;
  border: 1.5px solid #1d2340; border-bottom-width: 3px; border-radius: 5px; background: #fff;
  font-family: var(--mono); font-size: 12px; font-weight: 700; color: #1d2340;
}
@media (max-width: 760px) {
  .scrib-head { grid-template-columns: 1fr; }
  .scrib { background:
    repeating-linear-gradient(#f6f1e3 0 31px, #cfd8e8 31px 32px); }
}
.play-label { background: rgba(0, 0, 0, .6); padding: 6px 12px; border-radius: 999px; }

/* ============ ECHO card (home) — cinematic ============ */
.echo-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1.25fr .75fr; align-items: center;
  min-height: clamp(520px, 50vw, 620px); border-radius: 28px;
  background: #000; border: 1px solid rgba(0, 218, 245, .2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 80px rgba(0, 218, 245, .08);
}
.ec-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.ec-shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 38%, rgba(0,0,0,.35) 72%, rgba(0,0,0,.55) 100%),
    linear-gradient(0deg, rgba(0,0,0,.65), transparent 45%);
}
.ec-scan {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(0deg, transparent 0 2px, rgba(0,0,0,.35) 2px 3px);
}
.ec-corner { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(0, 218, 245, .75); pointer-events: none; }
.ec-corner.tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.ec-corner.tr { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.ec-corner.bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.ec-corner.br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }
.ec-body { padding: clamp(32px, 5vw, 68px); }
.ec-tag { border-color: rgba(0, 218, 245, .35) !important; color: #9fdcea !important; background: rgba(0,0,0,.4); }
.ec-title {
  display: inline-flex; align-items: center; gap: .14em; white-space: nowrap;
  font-family: "Oswald", var(--display); font-weight: 300; letter-spacing: .14em; line-height: 1;
  font-size: clamp(64px, 8.5vw, 124px); color: #ece6d6; margin: 18px 0 18px;
}
.ec-tagline { font-family: var(--mono); text-transform: uppercase; letter-spacing: .12em; font-size: 15px; line-height: 1.6; color: var(--cyan); }
.ec-desc { color: #b4bfd3; max-width: 46ch; margin: 16px 0 30px; }
.echo-card .btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ec-ghost { background: rgba(0,0,0,.45); }
.ec-poster {
  justify-self: center; width: clamp(190px, 19vw, 260px); margin-right: clamp(10px, 3vw, 40px);
  transform: rotate(4deg); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.ec-poster img {
  width: 100%; height: auto; border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0, 218, 245, .35), 0 30px 60px rgba(0,0,0,.8), 0 0 50px rgba(0, 218, 245, .2);
}
.ec-poster:hover { transform: rotate(0deg) scale(1.04) translateY(-6px); }
@media (max-width: 860px) {
  .echo-card { grid-template-columns: 1fr; min-height: 0; }
  .ec-poster { display: none; }
  .ec-shade { background: linear-gradient(0deg, rgba(0,0,0,.95) 30%, rgba(0,0,0,.6) 100%); }
  .ec-title { font-size: clamp(54px, 15vw, 80px); }
}

/* ECHO trailer: keep the play button clear of the "THEY HUNT BY SOUND" title card */
#trailer .trailer-play { justify-content: flex-end; padding-bottom: 8%; gap: 14px; background: linear-gradient(0deg, rgba(0,0,0,.65), transparent 55%); }
#trailer .play-ring { width: clamp(58px, 6.5vw, 82px); }
@media (max-width: 860px) {
  .echo-card .ec-tag { display: none; }
  .echo-card .tag.win { font-size: 10.5px; letter-spacing: .08em; }
  .ec-shade { background: linear-gradient(0deg, rgba(0,0,0,.96) 35%, rgba(0,0,0,.72) 100%); }
  .ec-title { margin: 14px 0 14px; }
}
