/* BADASS Studios — site styles. Colours/type from the BADASS design system.
   Sizes are rem against a fluid root, so the whole layout scales with the screen. */
@font-face { font-family: "Volda Sans"; src: url("fonts/VoldaSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Volda Sans"; src: url("fonts/VoldaSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Gunterz"; src: url("fonts/Gunterz-Black.otf") format("opentype"); font-weight: 900; font-display: swap; }

:root {
  --neon: #CDFF3C;
  --navy: #151d24;
  --navy-deep: #0d1319;
  --raised: #1c2831;
  --raised-hover: #232e37;
  --black: #111;
  --muted: #b3b3b3;
  --meta: #939393;
  --dim: #4a545c;
  --hairline: rgba(255,255,255,.14);
  --font-body: "Volda Sans", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Gunterz", "Volda Sans", Arial, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
  --gutter: clamp(1rem, 3vw, 2.5rem);
  --pad-y: clamp(4.5rem, 10vh, 8.25rem);
}

/* Fluid root: 16px up to ~1600px wide, scaling to 22px on 2560px+ monitors. */
html { font-size: clamp(16px, 0.625vw + 6px, 22px); }
* { box-sizing: border-box; }
html { scroll-padding-top: 4.5rem; }
body { margin: 0; background: var(--navy); color: #fff; font-family: var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--neon); text-decoration: none; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--neon); color: var(--navy); }
:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(1400%); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }

/* ---------- Loader ---------- */
.badass-loader { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; background: var(--navy); transition: opacity .5s ease, visibility .5s ease; }
.badass-loader.is-done { opacity: 0; visibility: hidden; }
.badass-loader__mark { position: relative; width: 120px; aspect-ratio: 585 / 480; }
.badass-loader__mark img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .18; transform: scale(.985); transform-origin: 47% 60%; animation: badass-charge-left 2.6s infinite; }
.badass-loader__mark img + img { animation-name: badass-charge-right; }
@keyframes badass-charge-left {
  0%, 3.85% { opacity: .18; transform: scale(.985); animation-timing-function: cubic-bezier(.16,1,.3,1); }
  23.08%, 73.08% { opacity: 1; transform: scale(1); animation-timing-function: cubic-bezier(.32,0,.67,0); }
  96.15%, 100% { opacity: .18; transform: scale(.985); }
}
@keyframes badass-charge-right {
  0%, 26.92% { opacity: .18; transform: scale(.985); animation-timing-function: cubic-bezier(.16,1,.3,1); }
  46.15%, 73.08% { opacity: 1; transform: scale(1); animation-timing-function: cubic-bezier(.32,0,.67,0); }
  96.15%, 100% { opacity: .18; transform: scale(.985); }
}

/* ---------- Layout ---------- */
.wrap { max-width: 80rem; margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--pad-y) 0; }
.section.deep { background: var(--navy-deep); border-top: 1px solid var(--hairline); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); gap: 2.25rem; }
.gap-b { margin-bottom: 3.5rem; }
.neon-bar { height: 5px; background: var(--neon); }

/* ---------- Type ---------- */
.eyebrow-row { display: flex; align-items: baseline; gap: clamp(.875rem, 2vw, 1.625rem); padding-top: 1rem; margin-bottom: 1.875rem; position: relative; }
.eyebrow-row::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: rgba(255,255,255,.16); transform-origin: left; }
.eyebrow-row .num { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.875rem, 3.4vw, 3.25rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.3); }
.eyebrow-row .rule { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(205,255,60,.65), rgba(205,255,60,0)); transform-origin: left; }
.label { font-size: .8125rem; letter-spacing: .25em; text-transform: uppercase; color: var(--neon); }
.label.sm { font-size: .6875rem; letter-spacing: .2em; }
h1, h2, .display { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; color: #fff; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.875rem, 4.2vw, 4rem); line-height: 1.02; max-width: 20ch; margin-bottom: 1.5rem; }
h2.h2-sm { font-size: clamp(1.75rem, 3.4vw, 3.25rem); max-width: 22ch; margin-bottom: 2.75rem; }
h3 { font-size: clamp(1.375rem, 2.2vw, 2rem); font-weight: 700; line-height: 1.2; color: #fff; margin: 0 0 1rem; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.6; color: #fff; }
.body { font-size: 1.0625rem; line-height: 1.7; color: var(--muted); }
.neon { color: var(--neon); }
.split-line { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; } /* SplitText line masks */

/* ---------- Buttons: fill wipes in from the left ---------- */
.btn { position: relative; isolation: isolate; overflow: hidden; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .6875rem 1.625rem; border: 2px solid var(--neon); border-radius: 3rem; background: var(--neon); color: var(--navy); font: .75rem/1 var(--font-body); letter-spacing: .15em; text-transform: uppercase; cursor: pointer; transition: color .5s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn:hover, .btn:focus-visible { color: var(--neon); }
.btn.outline { background: transparent; color: var(--neon); }
.btn.outline::before { background: var(--neon); }
.btn.outline:hover, .btn.outline:focus-visible { color: var(--navy); }
.btn-row { display: flex; align-items: center; gap: .875rem; flex-wrap: wrap; }

/* Arrow + plus icons that animate on parent hover */
.arrow { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1.5px solid currentColor; border-radius: 50%; vertical-align: middle; margin-left: .5rem; overflow: hidden; position: relative; transition: background .4s var(--ease), border-color .4s var(--ease); }
.arrow::before, .arrow::after { content: "→"; font-style: normal; font-size: .8125rem; line-height: 1; transition: transform .5s var(--ease); }
.arrow::after { position: absolute; transform: translateX(-180%); }
.plus { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1.5px solid var(--neon); border-radius: 50%; color: var(--neon); flex: none; transition: transform .6s var(--ease), background .4s var(--ease), color .4s var(--ease); }
.plus::before { content: "+"; font-style: normal; font-size: 1rem; line-height: 1; }
.arrows { display: flex; gap: .625rem; }
.arrows .arrow-btn, .arrows button { width: 2.875rem; height: 2.875rem; border: 2px solid currentColor; border-radius: 3rem; background: transparent; color: inherit; font-size: 1rem; cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 80; display: flex; align-items: center; gap: 1.5rem; padding: 0 var(--gutter); height: 4.875rem; background: rgba(21,29,36,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--hairline); transition: height .4s var(--ease), background .4s ease, transform .6s var(--ease); }
.site-header.scrolled { height: 3.875rem; background: rgba(21,29,36,.94); }
.site-header.hide { transform: translateY(-100%); }
.site-header .logo img { height: 2.375rem; width: auto; }
.site-header nav { margin-left: auto; display: flex; align-items: center; gap: .125rem; }
.site-header nav a { position: relative; flex: none; padding: .625rem .8125rem; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; transition: color .3s ease; }
.site-header nav a::after { content: ""; position: absolute; left: .8125rem; right: .8125rem; bottom: .25rem; height: 2px; background: var(--neon); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.site-header nav a:hover::after, .site-header nav a.active::after { transform: scaleX(1); transform-origin: left; }
.site-header nav a.active { color: var(--neon); }
.site-header > .btn { flex: none; }
.menu-btn { display: none; }
@media (max-width: 1120px) { .site-header > .btn { display: none; } }
@media (max-width: 760px) {
  .site-header .logo img { height: 1.875rem; }
  .menu-btn { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 24px; height: 2px; background: #fff; transition: transform .4s var(--ease), background .3s ease; }
  .menu-btn span { position: relative; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; }
  .site-header.open .menu-btn span { background: transparent; }
  .site-header.open .menu-btn span::before { transform: translateY(7px) rotate(45deg); background: var(--neon); }
  .site-header.open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); background: var(--neon); }
  .site-header nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 0 24px; background: rgba(21,29,36,.98); border-bottom: 3px solid var(--neon); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .6s var(--ease), visibility .6s; }
  .site-header.open nav { clip-path: inset(0 0 0 0); visibility: visible; }
  .site-header nav a { padding: 16px var(--gutter); font-size: 15px; letter-spacing: 2px; border-bottom: 1px solid var(--hairline); }
  .site-header nav a::after { display: none; }
}

/* ---------- Hero: always fits one screen ---------- */
.hero { position: relative; height: 100svh; min-height: 36rem; display: flex; align-items: flex-end; overflow: hidden; }
.hero .bg { position: absolute; inset: -10% 0; z-index: 0; }
.hero .bg video, .hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, var(--navy) 2%, rgba(21,29,36,0) 45%), linear-gradient(90deg, rgba(21,29,36,.95) 0%, rgba(21,29,36,.75) 45%, rgba(21,29,36,.25) 100%); }
.hero .scan { position: absolute; inset: 0 0 auto 0; height: 2px; z-index: 2; background: linear-gradient(90deg, transparent, rgba(205,255,60,.55), transparent); animation: scan 9s linear infinite; }
.hero .wrap { position: relative; z-index: 3; width: 100%; padding-top: 6rem; padding-bottom: clamp(2rem, 6svh, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; align-items: end; gap: 3rem; }
.hero .live { display: flex; align-items: center; gap: .75rem; margin-bottom: clamp(.75rem, 2svh, 1.375rem); }
.hero .live i { width: 9px; height: 9px; background: var(--neon); border-radius: 50%; animation: pulse 2.4s ease-in-out infinite; }
/* Headline scales with BOTH width and height so it fits laptops */
.hero h1 { font-size: clamp(2.25rem, min(5.6vw, 9svh), 6.5rem); line-height: .98; letter-spacing: -.01em; max-width: 15ch; margin-bottom: clamp(1rem, 2.6svh, 1.75rem); }
.hero p.lead { font-size: clamp(.9375rem, min(1.2vw, 2.15svh), 1.25rem); color: #e6e6e6; max-width: 58ch; margin-bottom: clamp(.5rem, 1.4svh, .875rem); }
.hero p.body { font-size: clamp(.875rem, min(1.05vw, 1.9svh), 1.125rem); max-width: 56ch; margin-bottom: clamp(1rem, 3svh, 2.25rem); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--neon); z-index: 4; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
@media (max-width: 600px) { .hero { height: auto; min-height: 100svh; } .hero h1 { font-size: clamp(2.25rem, 11vw, 3.5rem); } }

/* Video button */
.video-btn { display: flex; align-items: center; gap: 1rem; width: 100%; max-width: 24rem; background: rgba(21,29,36,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-left: 3px solid var(--neon); padding-right: 1.25rem; color: #fff; transition: background .5s var(--ease); }
.video-btn .media { position: relative; flex: none; width: 8.5rem; aspect-ratio: 16/10; overflow: hidden; }
.video-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.video-btn .play { position: absolute; inset: 0; margin: auto; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--neon); display: grid; place-items: center; transition: transform .6s var(--ease); }
.video-btn .play::before { content: ""; border-left: .7rem solid var(--navy); border-top: .45rem solid transparent; border-bottom: .45rem solid transparent; margin-left: .2rem; }
.video-btn strong { display: block; font-size: .8125rem; letter-spacing: .15em; text-transform: uppercase; color: var(--neon); margin-bottom: .25rem; }
.video-btn span { font-size: .8125rem; line-height: 1.5; color: var(--muted); }
.video-btn:hover { background: rgba(35,46,55,.9); }
.video-btn:hover img { transform: scale(1.08); }
.video-btn:hover .play { transform: scale(1.15); }
@media (max-width: 600px) { .video-btn .media { width: 6rem; } }

/* ---------- Cards: image buttons with text over them ---------- */
.cards { display: grid; gap: 1rem; }
.cards.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); }
.cards.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 4.5rem; }
@media (max-width: 1100px) { .cards.cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .cards.cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .cards.cols-5 { grid-template-columns: 1fr; } }
.card { position: relative; display: block; width: 100%; overflow: hidden; aspect-ratio: 4/3; background: var(--raised); color: #fff; text-align: left; padding: 0; border: 0; font: inherit; cursor: pointer; }
.card.tall { aspect-ratio: 3/4; }
@media (max-width: 460px) { .card.tall { aspect-ratio: 4/3; } }
.card .media { position: absolute; inset: 0; overflow: hidden; transition: transform 1.4s var(--ease); }
.card .media img { width: 100%; height: 120%; margin-top: -10%; object-fit: cover; filter: saturate(.85); transition: filter .8s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(13,19,25,.95) 0%, rgba(13,19,25,.35) 55%, rgba(13,19,25,.05) 100%); transition: opacity .8s var(--ease); }
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 3; background: var(--neon); transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease); }
.card .txt { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1.375rem 1.5rem; transition: transform .8s var(--ease); }
.card .label { display: block; margin-bottom: .5rem; }
.card .title { display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.card .more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .7s var(--ease), opacity .5s ease; }
.card .more p { overflow: hidden; min-height: 0; margin: 0; padding-top: .625rem; font-size: .9375rem; line-height: 1.55; color: #d7dde2; }
@media (hover: hover) {
  .card:hover .media { transform: scale(1.06); }
  .card:hover .media img { filter: saturate(1.1); }
  .card:hover::after { transform: scaleX(1); transform-origin: left; }
  .card:hover .more { grid-template-rows: 1fr; opacity: 1; }
  .card:hover .arrow { background: var(--neon); border-color: var(--neon); color: var(--navy); }
  .card:hover .arrow::before { transform: translateX(180%); }
  .card:hover .arrow::after { transform: none; }
  .card:hover .plus { background: var(--neon); color: var(--navy); transform: rotate(90deg); }
}
.card:focus-visible::after { transform: scaleX(1); }
.card:focus-visible .more { grid-template-rows: 1fr; opacity: 1; }
@media (hover: none) { .card .more { grid-template-rows: 1fr; opacity: 1; } }

/* ---------- Flow chart ---------- */
.flow-head h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.05; max-width: 22ch; margin: .75rem 0 2rem; }
.flow { --h: 2rem; display: grid; grid-template-columns: minmax(0, .85fr) 4rem minmax(0, 1.25fr) 4rem minmax(0, 1fr); align-items: stretch; margin-bottom: 2.5rem; }
.flow .col { display: flex; flex-direction: column; }
.flow .h { height: var(--h); font-size: .875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.flow .stack { flex: 1; display: flex; flex-direction: column; }
.in-box, .out-box { flex: 1; display: flex; }
.in-box { margin: .75rem 0; background: var(--raised); border-left: 3px solid var(--neon); padding: 0 1.25rem; align-items: center; min-height: 4.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.out-box { margin: .5625rem 0; min-height: 4.5rem; border: 2px solid var(--neon); padding: .625rem 1.125rem; flex-direction: column; justify-content: center; gap: .125rem; transition: background .5s var(--ease); }
.out-box:hover { background: rgba(205,255,60,.08); }
.out-box div { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--neon); }
.out-box p { margin: 0; font-size: .875rem; line-height: 1.35; color: #d7dde2; }
.core { flex: 1; margin: .75rem 0; background: var(--neon); color: var(--navy); padding: clamp(1.375rem, 2.5vw, 2rem); display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; }
.core-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.625rem, 2.7vw, 2.125rem); text-transform: uppercase; line-height: 1; margin-bottom: .625rem; }
.core p { font-weight: 700; font-size: 1.1875rem; line-height: 1.4; margin: 0; }
.core ol { list-style: none; margin: 0; padding: 0; }
.core li { border-top: 1px solid rgba(21,29,36,.3); padding: .75rem 0; display: flex; gap: .875rem; align-items: baseline; font-size: 1rem; line-height: 1.35; }
.core li > span:first-child { font-family: var(--font-display); font-weight: 900; font-size: 1.125rem; }
.wire { position: relative; margin-top: var(--h); }
.wire i { position: absolute; background: var(--neon); }
.wire .hx { left: 0; width: 50%; height: 2px; margin-top: -1px; transform-origin: left; }
.wire .hx.out { left: 50%; width: auto; right: .625rem; }
.wire .vx { left: 50%; width: 2px; margin-left: -1px; transform-origin: top; }
.wire b { position: absolute; right: 0; margin-top: -7px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 12px solid var(--neon); }
.flow-tag { border-top: 1px solid var(--hairline); padding-top: 1.5rem; margin-bottom: 4rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); gap: 1rem 2.25rem; align-items: baseline; }
.flow-tag .display { font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.15; }
.flow-tag p { margin: 0; }
@media (max-width: 900px) {
  .flow { display: flex; flex-direction: column; }
  .flow .h { height: auto; padding-bottom: .5rem; }
  .flow .col:first-child .stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .75rem; }
  .flow .col:last-child .stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .75rem; }
  .in-box, .out-box, .core { margin: 0; }
  .in-box { min-height: 3.5rem; }
  .wire { margin: 0; height: 3rem; }
  .wire i, .wire b { display: none; }
  .wire::before { content: ""; position: absolute; left: 50%; top: .25rem; bottom: .75rem; width: 2px; margin-left: -1px; background: var(--neon); }
  .wire::after { content: ""; position: absolute; left: 50%; bottom: .25rem; margin-left: -7px; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 12px solid var(--neon); }
}

/* ---------- CTA band ---------- */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; background: var(--raised); border-left: 3px solid var(--neon); padding: clamp(1.5rem, 3vw, 2.75rem); }
.cta-band > div:first-child { flex: 1 1 28rem; }
.cta-band .label { display: block; margin-bottom: .75rem; }
.cta-band h3 { margin: 0; }
.cta-band .body { margin: .75rem 0 0; max-width: 60ch; }
.events { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 2px; }
.events:empty { display: none; }
.events a { display: block; padding: .875rem 1rem; background: var(--navy); color: #fff; }

/* ---------- Our Work ---------- */
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr)); gap: 1rem; }
.project.open { grid-column: 1 / -1; }
.project.open > .card { display: none; }
.project .detail { display: none; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); background: var(--raised); border-left: 3px solid var(--neon); }
.project.open .detail { display: grid; animation: fadeUp .8s var(--ease); }
.project .detail video, .project .detail > img { width: 100%; height: 100%; min-height: 19rem; max-height: 70vh; object-fit: cover; background: #000; }
.project .detail .contain { object-fit: contain; }
.project .detail .copy { padding: clamp(1.5rem, 3vw, 2.75rem); }
.project .detail .head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem; margin-bottom: 1.125rem; }
.project .detail h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 2.6vw, 2.5rem); line-height: 1.05; margin: .5rem 0 0; }
.btn.close { min-height: 2.25rem; padding: .5625rem 1.125rem; font-size: .6875rem; background: transparent; color: var(--neon); }
.btn.close::before { background: var(--neon); }
.btn.close:hover { color: var(--navy); }
.reel { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); align-items: stretch; background: var(--raised); border-left: 3px solid var(--neon); }
.reel .copy { padding: clamp(1.5rem, 3vw, 2.75rem); align-self: center; }
.reel .label { display: block; margin-bottom: .875rem; }
.reel .body { margin: 0; }
.reel .media { overflow: hidden; min-height: 16rem; }
.reel video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Partners ---------- */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(10rem, 45%), 1fr)); gap: 1px; background: var(--hairline); }
.logos div { display: flex; align-items: center; justify-content: center; background: var(--navy-deep); padding: 2.125rem 1.5rem; min-height: 7.5rem; transition: background .5s var(--ease); }
.logos div:hover { background: var(--navy); }
.logos img { max-width: 8rem; max-height: 3.25rem; object-fit: contain; filter: grayscale(1) brightness(2.2); opacity: .55; transition: filter .6s var(--ease), opacity .6s var(--ease), transform .6s var(--ease); }
.logos div:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* ---------- Testimonials ---------- */
.quotes { background: var(--neon); color: var(--navy); padding: clamp(3.5rem, 8vh, 6.5rem) 0; }
.quotes .wrap { max-width: 72rem; }
.quotes .top { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; border-top: 1px solid rgba(21,29,36,.35); padding-top: 1rem; margin-bottom: 2.125rem; font-size: .8125rem; letter-spacing: .25em; text-transform: uppercase; }
.quotes .count { font-family: var(--font-display); font-weight: 900; font-size: .9375rem; letter-spacing: .05em; }
.quotes .stack { display: grid; } /* all quotes share one cell: height = tallest */
.quotes figure { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(1rem); filter: blur(4px); visibility: hidden; transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease), visibility .8s; }
.quotes figure.on { opacity: 1; transform: none; filter: none; visibility: visible; }
.quotes blockquote { margin: 0; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.125rem, 2vw, 1.875rem); line-height: 1.2; }
.quotes figcaption { margin-top: 1.5rem; font-size: .875rem; letter-spacing: .15em; text-transform: uppercase; opacity: .75; }
.quotes .controls { display: flex; align-items: center; gap: 1.625rem; margin-top: 2.125rem; flex-wrap: wrap; }
.quotes .arrows button:hover { background: var(--navy); color: var(--neon); }
.quotes .dots { display: flex; gap: .625rem; }
.quotes .dots button { width: 8px; height: 8px; border: 0; padding: 0; background: var(--navy); opacity: .3; cursor: pointer; transition: width .6s var(--ease), opacity .4s ease; }
.quotes .dots button.on { width: 2.5rem; opacity: 1; }

/* ---------- Team: horizontal rail of equal flip cards ---------- */
.team-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.team-head .arrows button { color: var(--neon); }
.team-head .arrows button:hover { background: var(--neon); color: var(--navy); }
.tag { display: inline-block; padding: .4375rem .875rem; border: 2px solid var(--neon); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--neon); }
.team-rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(14rem, 21vw, 18rem); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 max(var(--gutter), calc((100vw - 80rem) / 2 + var(--gutter))); padding: 0 max(var(--gutter), calc((100vw - 80rem) / 2 + var(--gutter))) 1.5rem; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.team-rail::-webkit-scrollbar { display: none; }
.person { scroll-snap-align: start; aspect-ratio: 3/4; perspective: 1200px; }
.person .inner { position: relative; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.person.flipped .inner { transform: rotateY(180deg); }
.person .face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; padding: 1.5rem; background: var(--raised); border-bottom: 3px solid var(--neon); }
.person .front { align-items: flex-start; justify-content: flex-end; transition: background .5s var(--ease); }
.person .front:hover { background: var(--raised-hover); }
.person .back { transform: rotateY(180deg); background: var(--neon); color: var(--navy); border-bottom-color: var(--navy); }
.avatar { position: absolute; top: 1.5rem; left: 1.5rem; width: 5.5rem; height: 5.5rem; border: 2px solid var(--neon); border-radius: 50%; display: grid; place-items: center; overflow: hidden; font-family: var(--font-display); font-weight: 900; font-size: 2.25rem; color: var(--neon); transition: transform .8s var(--ease); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person .front:hover .avatar { transform: scale(1.06); }
.person .name { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.person .role { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--meta); margin-top: .375rem; min-height: 2em; }
.person .flip { margin-top: 1.125rem; display: inline-flex; align-items: center; gap: .5rem; padding: 0; border: 0; background: none; color: var(--neon); font: .75rem var(--font-body); letter-spacing: .15em; text-transform: uppercase; cursor: pointer; }
.person .flip i { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border: 1.5px solid currentColor; border-radius: 50%; font-style: normal; transition: transform .6s var(--ease), background .4s ease, color .4s ease; }
.person .front .flip:hover i { transform: rotate(90deg); background: var(--neon); color: var(--navy); }
.person .front::after { content: ""; position: absolute; inset: 0; cursor: pointer; } /* whole front face is clickable */
.person .back p { font-size: .9375rem; line-height: 1.55; margin: .875rem 0 auto; }
.person .back .row { display: flex; align-items: center; justify-content: space-between; }
.person .back a { color: var(--navy); font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.person .back .flip { margin: 0; width: 2.25rem; height: 2.25rem; justify-content: center; border: 2px solid var(--navy); border-radius: 50%; color: var(--navy); font-size: 1.125rem; transition: transform .6s var(--ease); }
.person .back .flip:hover { transform: rotate(90deg); }

/* ---------- News ---------- */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2.75rem; }
@media (max-width: 900px) { .news { grid-template-columns: 1fr; } }
.news-card { position: relative; display: flex; overflow: hidden; background: var(--raised); color: #fff; border-left: 3px solid var(--neon); transition: background .5s var(--ease); }
.news-card:hover { background: var(--raised-hover); }
.news-card .txt { display: flex; flex-direction: column; gap: .75rem; padding: 1.75rem 1.625rem; position: relative; z-index: 2; }
.news-card .head { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.news-card p { font-size: .9375rem; line-height: 1.6; color: var(--muted); margin: 0; flex: 1; }
.news-card .go { font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--neon); display: flex; align-items: center; }
.news-card:hover .arrow { background: var(--neon); border-color: var(--neon); color: var(--navy); }
.news-card:hover .arrow::before { transform: translateX(180%); }
.news-card:hover .arrow::after { transform: none; }
/* Feature: full-width hero box, image fills the box under a solid scrim */
.news-card.feature { grid-column: 1 / -1; min-height: clamp(22rem, 38vw, 32rem); align-items: flex-end; }
.news-card.feature .media { position: absolute; inset: 0; overflow: hidden; transition: transform 1.4s var(--ease); }
.news-card.feature .media img { width: 100%; height: 120%; margin-top: -10%; object-fit: cover; }
.news-card.feature::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13,19,25,.96) 0%, rgba(13,19,25,.85) 40%, rgba(13,19,25,.2) 100%), linear-gradient(0deg, rgba(13,19,25,.8) 0%, rgba(13,19,25,0) 60%); }
.news-card.feature:hover .media { transform: scale(1.04); }
.news-card.feature .txt { padding: clamp(1.75rem, 4vw, 3.5rem); max-width: 50rem; }
.news-card.feature .head { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 2.25rem); line-height: 1.08; }
.news-card.feature p { font-size: 1.0625rem; color: #d7dde2; }
@media (max-width: 700px) { .news-card.feature::before { background: linear-gradient(0deg, rgba(13,19,25,.97) 30%, rgba(13,19,25,.5) 100%); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(21rem, 100%), 1fr)); gap: clamp(2.25rem, 5vw, 5rem); }
form.enquiry { display: grid; gap: 1.125rem; align-content: start; }
form.enquiry label { display: grid; gap: .5rem; }
form.enquiry label[hidden] { display: none; }
form.enquiry label > span { font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--meta); }
form.enquiry input, form.enquiry textarea, form.enquiry select { background: var(--navy-deep); border: 1px solid var(--hairline); border-bottom: 2px solid rgba(205,255,60,.4); color: #fff; font: 1rem var(--font-body); padding: .8125rem .875rem; outline: none; border-radius: 0; transition: border-color .4s var(--ease), background .4s var(--ease); }
form.enquiry input:focus, form.enquiry textarea:focus, form.enquiry select:focus { border-bottom-color: var(--neon); background: var(--raised); }
form.enquiry textarea { resize: vertical; }
form.enquiry .small { font-size: .8125rem; line-height: 1.6; color: var(--meta); margin: 0; }
form.enquiry .btn { justify-self: start; padding: .8125rem 2.5rem; }
form.enquiry .status { color: var(--neon); font-size: .9375rem; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); padding: clamp(3.5rem, 7vh, 5.5rem) 0 2.5rem; }
.site-footer .cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--hairline); }
@media (max-width: 800px) { .site-footer .cols { grid-template-columns: repeat(3, 1fr); } .site-footer .brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer .cols > div { display: grid; gap: .75rem; align-content: start; }
.site-footer .h { font-size: .6875rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.site-footer .cols a { justify-self: start; position: relative; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.site-footer .cols a.neon { color: var(--neon); }
.site-footer .cols a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.site-footer .cols a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-footer .brand img { height: 2.5rem; width: auto; }
.site-footer .brand p { font-size: .9375rem; line-height: 1.6; color: var(--meta); margin: 1.25rem 0 0; max-width: 34ch; }
.site-footer .base { padding-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .75rem; letter-spacing: .08em; color: var(--dim); }
.site-footer .base a { color: var(--dim); }

/* ---------- E1 Game landing page ---------- */
.game-hero .shade { background: linear-gradient(0deg, var(--navy) 2%, rgba(21,29,36,0) 50%), linear-gradient(90deg, rgba(21,29,36,.92) 0%, rgba(21,29,36,.6) 45%, rgba(21,29,36,.1) 100%); }
.game-hero h1 { max-width: 12ch; }
.game-hero p.lead { max-width: 52ch; margin-bottom: clamp(1rem, 3svh, 2.25rem); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }
.feature { position: relative; overflow: hidden; background: var(--raised); border-left: 3px solid var(--neon); padding: clamp(1.5rem, 3vw, 2.25rem); transition: background .5s var(--ease); }
.feature::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--neon); transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease); }
.feature:hover { background: var(--raised-hover); }
.feature:hover::after { transform: scaleX(1); transform-origin: left; }
.feature.wide { grid-column: 1 / -1; }
.feature.wide h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.05; }
.feature .label { display: block; margin-bottom: .75rem; }
.feature h3 { margin-bottom: .625rem; }
.feature p { margin: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--muted); max-width: 60ch; }
.venues { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
@media (max-width: 760px) { .venues { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.venues li { display: flex; flex-direction: column; gap: .75rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--navy); font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.25rem, 2.6vw, 2.25rem); line-height: 1; transition: background .5s var(--ease), color .5s var(--ease); }
.venues li span { font-size: clamp(1.5rem, 2.6vw, 2.5rem); color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.3); transition: -webkit-text-stroke-color .5s var(--ease); }
.venues li:hover { background: var(--raised); color: var(--neon); }
.venues li:hover span { -webkit-text-stroke-color: var(--neon); }
.beta .beta-title { color: var(--navy); font-size: clamp(1.75rem, 3.6vw, 3.5rem); max-width: 22ch; margin-bottom: 2rem; }
.btn.dark { background: var(--navy); border-color: var(--navy); color: var(--neon); }
.btn.dark::before { background: var(--neon); }
.btn.dark:hover, .btn.dark:focus-visible { color: var(--navy); }
.help { margin-top: var(--pad-y); align-items: end; }
.help .h2-sm { margin-bottom: 0; }
.help .lead { margin: 0; }

/* ---------- Legal pages ---------- */
.legal { padding: 8.75rem 0 var(--pad-y); }
.legal .wrap { max-width: 54rem; }
.legal h1 { font-size: clamp(1.875rem, 4.2vw, 3.5rem); line-height: 1.02; margin-bottom: 1.5rem; }
.legal h4, .legal h5, .legal h6 { font-size: 1.125rem; font-weight: 700; color: var(--neon); margin: 2.25rem 0 .75rem; letter-spacing: .05em; text-transform: uppercase; }
.legal p, .legal li { font-size: 1rem; line-height: 1.7; color: var(--muted); }
