/* Summerfield Interactive */

@font-face { font-family: "Chillax"; src: url("../fonts/chillax-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Chillax"; src: url("../fonts/chillax-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0e0d0b;
  --bg-2: #13120f;
  --surface: #191713;
  --surface-2: #211e19;
  --surface-3: #2a2620;
  --line: rgba(250, 246, 240, .07);
  --line-2: rgba(250, 246, 240, .13);
  --line-3: rgba(250, 246, 240, .22);
  --cream: #faf6f0;
  --text-2: #d6cfc3;
  --text-3: #a39a8a;
  --muted: #8a8274;
  --dot: #bfb6a6;
  --mint: #3fe0c5;
  --mint-2: #2fc4ab;
  --mint-ink: #0e0d0b;
  --mint-soft: rgba(63, 224, 197, .12);
  --coral: #ef876f;
  --gutter: clamp(16px, 4px + 3vw, 40px);
  --max: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.3, .5, 1);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --font-display: "Chillax", "Satoshi", system-ui, sans-serif;
  --font-body: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--cream); font-family: var(--font-body); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); font-size: 16px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
::selection { background: var(--mint); color: var(--mint-ink); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; margin: 0; color: var(--cream); }
p { margin: 0; }
.mint { color: var(--mint); }
.nowrap { white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- background field ---------- */
#field { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; }
.no-field #field { display: none; }
.no-field body {
  background-image: radial-gradient(circle, rgba(191, 182, 166, .16) 1.3px, transparent 1.8px);
  background-size: 11px 11px;
  background-attachment: fixed;
}
main, .footer, .nav { position: relative; z-index: 1; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: var(--bg); transition: opacity .5s var(--ease), visibility .5s; }
.js .loader { display: grid; }
.loader img { animation: loader-pop 1.1s var(--spring) infinite alternate; }
.loader.is-done { opacity: 0; visibility: hidden; }
@keyframes loader-pop { from { transform: scale(.86) rotate(-6deg); } to { transform: scale(1.04) rotate(4deg); } }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 14px var(--gutter); }
.nav-inner { max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 12px; border-radius: 18px; border: 1px solid transparent; transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s; }
.nav.is-scrolled .nav-inner, .nav.is-open .nav-inner { background: rgba(19, 18, 15, .78); border-color: var(--line-2); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.03em; line-height: 1; display: inline-flex; align-items: baseline; gap: 6px; }
.brand-name span { font-family: var(--font-body); font-weight: 500; font-size: 13px; letter-spacing: 0; color: var(--text-3); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 12px; font-weight: 500; font-size: 15px; color: var(--text-2); transition: background .2s, color .2s; }
.nav-links a svg { font-size: 15px; opacity: .75; }
.nav-links a:hover { background: rgba(250, 246, 240, .06); color: var(--cream); }
.nav-links .nav-cta { margin-left: 6px; background: var(--mint); color: var(--mint-ink); font-weight: 700; }
.nav-links .nav-cta svg { opacity: 1; }
.nav-links .nav-cta:hover { background: #5ae8cf; color: var(--mint-ink); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; background: rgba(250, 246, 240, .06); }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--cream); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav.is-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: block; order: 1; }
  .nav-inner { flex-wrap: wrap; }
  .nav-links { order: 2; display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 6px 0 4px; }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { height: 48px; font-size: 16px; }
  .nav-links .nav-cta { margin: 6px 0 0; justify-content: center; }
}

/* ---------- shared bits ---------- */
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(63, 224, 197, .6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 224, 197, .55); } 70% { box-shadow: 0 0 0 7px rgba(63, 224, 197, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 224, 197, 0); } }

.btn { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 22px 0 7px; border-radius: 14px; background: rgba(25, 23, 19, .85); border: 1px solid var(--line-2); font-weight: 700; font-size: 16px; color: var(--cream); white-space: nowrap; transition: transform .25s var(--spring), background .2s, border-color .2s; backdrop-filter: blur(6px); }
.btn:hover { transform: translateY(-2px); border-color: var(--line-3); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(250, 246, 240, .07); font-size: 17px; }
.btn-mint { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); padding-right: 40px; border-radius: 14px 4px 4px 14px; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%); }
.btn-mint:hover { background: #5ae8cf; border-color: #5ae8cf; }
.btn-mint .btn-ico { background: var(--mint-ink); color: var(--mint); }

.chip { display: inline; color: var(--cream); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-3); text-decoration-thickness: 1px; text-underline-offset: 4px; white-space: nowrap; }
.chip svg { font-size: .9em; color: var(--text-3); vertical-align: -.1em; margin-right: 5px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 9px; border-radius: 8px 11px 9px 12px / 11px 8px 12px 9px; background: rgba(250, 246, 240, .07); color: var(--text-2); }

.band { height: 64px; background-image: radial-gradient(circle, rgba(191, 182, 166, .42) 1.25px, transparent 1.75px); background-size: 10px 10px; background-position: center; -webkit-mask-image: radial-gradient(ellipse 60% 100% at 50% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 100% at 50% 50%, #000 20%, transparent 75%); opacity: .7; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(110px, 14vh, 150px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.eyebrow .live-dot { animation: none; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--text-2); padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(25, 23, 19, .8); border: 1px solid var(--line-2); margin-bottom: 24px; }
.hero-title { font-size: clamp(40px, 3.4vw + 18px, 74px); letter-spacing: -.045em; line-height: .98; max-width: 13ch; }
.hero-title .mint { white-space: nowrap; }
.hero-kicker { margin-top: 24px; font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 6px; }
.kicker-ico { color: var(--mint); font-size: 16px; }
.hero-sub { margin-top: 10px; max-width: 52ch; color: var(--text-2); font-size: 17px; line-height: 1.75; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line-2); max-width: 560px; }
.hero-stats > div { flex: 1 1 0; min-width: 130px; padding: 16px 18px 0 0; display: flex; flex-direction: column-reverse; gap: 2px; }
.hero-stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-stats dt { font-size: 13px; color: var(--text-3); }
.hero-stats dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -.03em; display: flex; align-items: center; gap: 10px; }

.showcase { margin: 0; position: relative; }
.showcase-frame { padding: 10px; border-radius: 26px; background: linear-gradient(180deg, #24211b, #15130f); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); transform: perspective(1400px) rotateY(-7deg) rotateX(2deg); transition: transform .8s var(--ease); }
.showcase:hover .showcase-frame { transform: perspective(1400px) rotateY(-2deg) rotateX(0); }
.showcase-media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.showcase-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 5s linear; }
.showcase-media img.is-on { opacity: 1; transform: scale(1); }
.showcase-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(14, 13, 11, .45)); pointer-events: none; }
.showcase-cap { display: flex; align-items: center; gap: 10px; padding: 14px 8px 0; font-size: 14px; color: var(--text-3); }
.showcase-cap strong { color: var(--cream); font-weight: 700; white-space: nowrap; }
#showcaseStat { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.showcase-bar { margin-left: auto; width: 84px; flex: none; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.showcase-bar i { display: block; height: 100%; width: 0; background: var(--mint); }
.showcase-bar i.is-run { width: 100%; transition: width 4.5s linear; }

/* marquee rows */
.rows { margin-top: clamp(48px, 7vh, 80px); display: grid; gap: 10px; }
.row-label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-3); }
.row-label .tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 8px; background: var(--mint-soft); color: var(--mint); font-weight: 700; }
.row-label + .marquee { margin-bottom: 14px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 10px; animation: marquee var(--dur, 40s) linear infinite; }
.marquee-rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.m-item { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 20px 0 10px; border-radius: 14px; background: rgba(25, 23, 19, .72); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; white-space: nowrap; transition: border-color .2s, background .2s; }
.m-item:hover { border-color: var(--line-3); background: rgba(33, 30, 25, .9); }
.m-item img { width: 34px; height: 34px; border-radius: 9px; }
.logo { display: inline-block; width: 26px; height: 26px; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; flex: none; }
.m-item .logo { margin-left: 6px; color: var(--text-2); }

.hero .band { margin-top: clamp(40px, 6vh, 64px); }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.sec-head { max-width: 620px; }
.sec-head-center { margin: 0 auto; text-align: center; }
.sec-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-bottom: 14px; }
.sec-eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.sec-head-center .sec-eyebrow::after { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.sec-head h2 { font-size: clamp(36px, 2.6vw + 22px, 60px); }
.sec-head p:not(.sec-eyebrow) { margin-top: 16px; color: var(--text-2); font-size: 17px; line-height: 1.7; }
.sec-head p + p:not(.sec-eyebrow) { margin-top: 12px; }

/* games */
.tiles { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); background: rgba(25, 23, 19, .92); border: 1px solid var(--line); overflow: hidden; cursor: pointer; transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease); }
.tile:hover { transform: translateY(-4px); border-color: var(--line-3); box-shadow: 0 28px 60px -28px rgba(0, 0, 0, .9); }
.tile-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.05); }
.tile-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(25, 23, 19, .55)); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 9px; border-radius: 999px; background: rgba(14, 13, 11, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cream); }
.badge .live-dot { width: 7px; height: 7px; }
.tile-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tile h3 { font-size: 24px; letter-spacing: -.03em; }
.stats { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; padding-top: 4px; font-size: 14px; color: var(--text-3); }
.stats span { display: inline-flex; align-items: center; gap: 7px; }
.stats b { color: var(--cream); font-weight: 700; }
.stats svg { font-size: 15px; }
.stats .live-dot { width: 7px; height: 7px; }

.tile-featured { grid-column: 1 / -1; flex-direction: row; }
.tile-featured .tile-media { flex: 0 0 60%; aspect-ratio: auto; min-height: 340px; }
.tile-featured .tile-media::after { background: linear-gradient(90deg, transparent 60%, rgba(25, 23, 19, .9)); }
.tile-featured .tile-body { padding: clamp(24px, 3vw, 40px); justify-content: center; gap: 14px; }
.tile-featured h3 { font-size: clamp(34px, 2vw + 20px, 52px); }
.tile-rank { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.tile-blurb { color: var(--text-2); line-height: 1.7; }
.tile-featured .stats { margin-top: 6px; font-size: 15px; }

/* studio */
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cards { display: grid; gap: 14px; }
.card { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; row-gap: 6px; padding: 22px 24px; border-radius: var(--r-lg); background: rgba(25, 23, 19, .9); border: 1px solid var(--line); transition: border-color .3s, transform .45s var(--ease); }
.card:hover { border-color: var(--line-3); transform: translateX(4px); }
.card-ico { grid-row: span 2; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint); font-size: 22px; }
.card h3 { font-size: 21px; letter-spacing: -.025em; align-self: end; }
.card p { color: var(--text-2); font-size: 15.5px; line-height: 1.6; }

.numbers { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.numbers > div { padding: 28px 22px 26px; display: flex; flex-direction: column; gap: 6px; }
.numbers > div + div { border-left: 1px solid var(--line); }
.numbers b { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 3vw + 14px, 64px); letter-spacing: -.045em; line-height: 1; }
.numbers > div:first-child b { color: var(--mint); }
.numbers span { color: var(--text-3); font-size: 14px; }

/* partners */
.partners { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.partner { position: relative; aspect-ratio: 1 / .78; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border-radius: var(--r-lg); background: rgba(25, 23, 19, .9); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .45s var(--ease); }
.partner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(63, 224, 197, .18), transparent 60%); opacity: 0; transition: opacity .4s; }
.partner:hover { border-color: rgba(63, 224, 197, .35); transform: translateY(-4px); }
.partner:hover::before { opacity: 1; }
.partner .logo { width: 52px; height: 52px; color: var(--cream); position: relative; }
.partner strong { position: relative; font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -.03em; }
.partner span { position: relative; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-points li { display: flex; align-items: center; gap: 12px; color: var(--text-2); }
.contact-points svg { width: 26px; height: 26px; padding: 6px; border-radius: 8px; background: var(--mint-soft); color: var(--mint); stroke-width: 2.6; }

.form-card { position: relative; padding: clamp(22px, 3vw, 34px); border-radius: 26px; background: rgba(25, 23, 19, .94); border: 1px solid var(--line-2); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9); }
.topics { border: 0; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { padding: 0; margin-bottom: 12px; font-size: 14px; font-weight: 700; color: var(--text-2); }
.topics label { cursor: pointer; }
.topics input { position: absolute; opacity: 0; pointer-events: none; }
.topics span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: 10px 13px 11px 14px / 13px 10px 14px 11px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; color: var(--text-2); transition: background .2s, color .2s, border-color .2s; }
.topics label:hover span { border-color: var(--line-3); color: var(--cream); }
.topics input:checked + span { background: var(--mint); border-color: var(--mint); color: var(--mint-ink); font-weight: 700; }
.topics input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field > span { font-size: 14px; font-weight: 700; color: var(--text-2); }
.field em { font-style: normal; font-weight: 500; color: var(--muted); margin-left: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--cream); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 15px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input:hover, .field textarea:hover { border-color: var(--line-3); }
.field input:focus, .field textarea:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(63, 224, 197, .14); background: #16140f; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e07a6f; box-shadow: 0 0 0 4px rgba(224, 122, 111, .14); }
.form-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-error { margin-top: 12px; font-size: 14px; color: #ef9a8e; min-height: 1px; }
.form-error:empty { display: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn-ico svg { animation: fly .9s var(--ease) infinite; }
@keyframes fly { 0% { transform: translate(0, 0); opacity: 1; } 45% { transform: translate(14px, -14px); opacity: 0; } 55% { transform: translate(-14px, 14px); opacity: 0; } 100% { transform: translate(0, 0); opacity: 1; } }
.form-done { min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; animation: done-in .6s var(--spring); }
.form-done[hidden] { display: none; }
.done-ico { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--mint); color: var(--mint-ink); font-size: 34px; }
.done-ico svg { stroke-width: 3; }
.form-done h3 { font-size: clamp(26px, 2vw + 14px, 36px); max-width: 16ch; }
.link-btn { color: var(--text-3); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-3); }
.link-btn:hover { color: var(--cream); }
@keyframes done-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* footer */
.footer { padding-bottom: 28px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding-top: 32px; padding-bottom: 36px; }
.footer-brand p { margin-top: 12px; color: var(--text-3); font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.footer-links a { color: var(--text-2); font-weight: 500; transition: color .2s; }
.footer-links a:hover { color: var(--mint); }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.to-top { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); }
.to-top svg { transform: rotate(-90deg); }
.to-top:hover { color: var(--cream); }

/* modal */
.modal { width: min(880px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line-2); border-radius: 26px; background: var(--surface); color: var(--cream); overflow: auto; box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9); }
.modal::backdrop { background: rgba(8, 7, 6, .7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .45s var(--spring); }
.modal[open]::backdrop { animation: fade-in .3s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal-inner { position: relative; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(14, 13, 11, .75); backdrop-filter: blur(8px); font-size: 20px; transition: background .2s; }
.modal-close:hover { background: rgba(14, 13, 11, .95); }
.modal-media { aspect-ratio: 16 / 9; max-height: 42vh; max-height: 42dvh; overflow: hidden; background: #000; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.modal-body h3 { font-size: clamp(30px, 2vw + 18px, 44px); }
.modal-body > p { color: var(--text-2); line-height: 1.7; max-width: 62ch; }
.modal-stats { width: 100%; margin: 6px 0 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.modal-stats > div { padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column-reverse; gap: 4px; }
.modal-stats dt { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-3); }
.modal-stats dt svg { font-size: 14px; }
.modal-stats dt .live-dot { width: 7px; height: 7px; }
.modal-stats dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -.03em; }
body.modal-open { overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero-grid, .studio-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-title { max-width: 15ch; }
  .showcase { max-width: 640px; }
  .showcase-frame { transform: none; }
  .tile-featured { flex-direction: column; }
  .tile-featured .tile-media { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
  .tile-featured .tile-media::after { background: linear-gradient(180deg, transparent 55%, rgba(25, 23, 19, .55)); }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers > div:nth-child(3) { border-left: 0; }
  .numbers > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .tiles { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hero-sub, .sec-head p:not(.sec-eyebrow) { font-size: 16px; }
  .hero-stats > div { min-width: 0; padding-right: 10px; }
  .hero-stats > div + div { padding-left: 12px; }
  .hero-stats dd { font-size: 22px; gap: 8px; }
  .hero-stats dt { font-size: 12px; }
  .btn { height: 50px; font-size: 15px; }
  .btn-ico { width: 36px; height: 36px; }
  .m-item { height: 48px; font-size: 17px; }
  .m-item img { width: 30px; height: 30px; }
  .partners { gap: 12px; }
  .partner strong { font-size: 21px; }
  .partner .logo { width: 40px; height: 40px; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .modal-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner, .footer-base { flex-direction: column; align-items: flex-start; }
  .eyebrow { font-size: 12px; }
  .showcase-cap { font-size: 13px; gap: 8px; }
  .showcase-bar { width: 44px; }
}

/* ---------- nav extras ---------- */
.nav-links a.is-active { background: rgba(250, 246, 240, .07); color: var(--cream); }
.new-tag { margin-left: 2px; padding: 2px 6px; border-radius: 6px; background: var(--mint-soft); color: var(--mint); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }

/* ---------- summerfield ai teaser (home) ---------- */
.section.ai-teaser-sec { padding-top: 0; }
.ai-teaser { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(26px, 4vw, 56px); border-radius: 30px; background: linear-gradient(135deg, rgba(63, 224, 197, .14), rgba(25, 23, 19, .95) 45%); border: 1px solid rgba(63, 224, 197, .28); transition: border-color .3s, transform .45s var(--ease); }
.ai-teaser:hover { border-color: rgba(63, 224, 197, .5); }
.ai-teaser:hover .btn-mint { background: #5ae8cf; transform: translateY(-2px); }
.ai-teaser h2 { font-size: clamp(36px, 2.6vw + 22px, 58px); }
.ai-teaser-copy > p:not(.sec-eyebrow) { margin-top: 14px; color: var(--text-2); font-size: 17px; line-height: 1.7; max-width: 48ch; }
.ai-teaser .btn { margin-top: 26px; }
.ai-teaser-models { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ai-teaser-models li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: rgba(14, 13, 11, .55); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.ai-teaser-models .logo { width: 20px; height: 20px; color: var(--mint); }

/* ---------- ai page ---------- */
.proof { margin: 0; padding: 16px; border-radius: 26px; background: linear-gradient(180deg, #24211b, #15130f); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); display: grid; gap: 12px; }
.proof-head { display: flex; flex-direction: column; gap: 6px; padding: 6px 6px 4px; }
.proof-badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 7px 13px 7px 10px; border-radius: 999px; background: var(--mint); color: var(--mint-ink); font-weight: 700; font-size: 14px; }
.proof-badge svg { stroke-width: 3; }
.proof-sub { font-size: 14px; color: var(--text-3); padding-left: 2px; }
.proof-game { display: grid; grid-template-columns: 156px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 10px; border-radius: 18px; background: rgba(14, 13, 11, .6); border: 1px solid var(--line); transition: border-color .3s, transform .45s var(--ease); }
.proof-game:hover { border-color: var(--line-3); transform: translateX(4px); }
.proof-game img { width: 156px; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 11px; }
.proof-meta { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.proof-meta strong { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.03em; line-height: 1.1; }
.proof-meta > span { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--text-3); }
.proof-meta b { color: var(--cream); }
.proof-meta .live-dot { width: 7px; height: 7px; margin-left: 6px; }
.proof-go { color: var(--text-3); font-size: 18px; margin-right: 8px; }

.marquee-models .m-item { height: 64px; font-size: 24px; padding: 0 24px 0 18px; gap: 14px; }
.marquee-models .logo { width: 24px; height: 24px; margin: 0; color: var(--mint); }

.models { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.model { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--r-lg); background: rgba(25, 23, 19, .92); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .45s var(--ease); }
.model::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0%, rgba(63, 224, 197, .16), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.model:hover { border-color: rgba(63, 224, 197, .35); transform: translateY(-4px); }
.model:hover::before { opacity: 1; }
.model-wide { grid-column: span 2; }
.model-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.model-provider { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.model-provider .logo { width: 18px; height: 18px; color: var(--cream); }
.model h3 { position: relative; margin-top: 14px; font-size: clamp(32px, 1.2vw + 20px, 42px); letter-spacing: -.045em; line-height: .98; }
.model-family { display: block; margin-bottom: 4px; font-size: 18px; letter-spacing: -.02em; color: var(--mint); }
.model p { position: relative; color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
.model-plan { position: relative; margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--text-3); }
.model-plan svg { color: var(--mint); stroke-width: 3; }

.access-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.plan { padding: clamp(26px, 3vw, 40px); border-radius: 26px; background: linear-gradient(170deg, rgba(63, 224, 197, .13), rgba(25, 23, 19, .94) 50%); border: 1px solid rgba(63, 224, 197, .28); }
.plan h2 { font-size: clamp(40px, 2.6vw + 22px, 60px); }
.plan-price { margin-top: 10px; font-size: 18px; font-weight: 700; color: var(--mint); }
.plan-list { list-style: none; margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 14px; }
.plan-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); line-height: 1.5; }
.plan-list svg { width: 24px; height: 24px; padding: 5px; border-radius: 7px; background: var(--mint-soft); color: var(--mint); stroke-width: 3; }
.plan-list b { color: var(--cream); }

.gate { display: flex; padding: clamp(24px, 3vw, 40px); border-radius: 26px; background: rgba(25, 23, 19, .94); border: 1px solid var(--line-2); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9); }
.gate > * { width: 100%; }
.gate-lock, .gate-open { display: flex; flex-direction: column; gap: 14px; }
.gate-lock[hidden], .gate-open[hidden] { display: none; }
.gate-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint); font-size: 26px; }
.gate h2, .gate h3 { font-size: clamp(28px, 1.6vw + 16px, 38px); }
.gate p { color: var(--text-2); line-height: 1.65; }
.code-field { margin: 6px 0 0; }
.code-field input { font-size: 22px; font-weight: 700; letter-spacing: .18em; padding: 16px 18px; }
.code-field input::placeholder { font-size: 17px; font-weight: 500; letter-spacing: .02em; color: var(--muted); }
.gate-actions { display: flex; }
.gate .form-error { margin-top: 0; }
.gate p.gate-note { font-size: 14px; color: var(--muted); }
.gate-note a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.gate-note a:hover { color: var(--cream); }
.gate.is-open { border-color: rgba(63, 224, 197, .35); }
.gate.shake { animation: shake .45s; }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
.gate-open { animation: done-in .6s var(--spring); }
.gate-open .done-ico { width: 64px; height: 64px; border-radius: 18px; font-size: 30px; }
.gate-open .btn { align-self: flex-start; margin-top: 4px; }
.gate p.file-meta { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-3); }
.steps { margin: 8px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.steps li::before { content: counter(step); width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(250, 246, 240, .07); color: var(--cream); font-weight: 700; font-size: 14px; }
.steps b { color: var(--cream); }

@media (max-width: 1080px) {
  .models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-wide { grid-column: span 1; }
}
@media (max-width: 960px) {
  .ai-teaser, .access-grid { grid-template-columns: minmax(0, 1fr); }
  .proof { max-width: 640px; }
}
@media (max-width: 640px) {
  .models { grid-template-columns: minmax(0, 1fr); }
  .proof-game { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
  .proof-game img { width: 112px; }
  .proof-go { display: none; }
  .proof-meta strong { font-size: 19px; }
  .marquee-models .m-item { height: 54px; font-size: 19px; }
  .ai-teaser-models li { font-size: 16px; padding: 12px 14px; }
}
@media (max-width: 520px) {
  .ai-teaser-models { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- staff page ---------- */
.staff-hero { padding-bottom: clamp(24px, 6vh, 72px); }
.staff-hero .hero-grid { align-items: center; min-height: calc(100vh - 260px); }
.staff-hero .hero-sub { margin-top: 22px; }
.staff-points { list-style: none; max-width: 520px; margin: 30px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 14px; }
.staff-points li { display: flex; gap: 12px; align-items: center; color: var(--text-2); line-height: 1.5; }
.staff-points svg { width: 32px; height: 32px; padding: 7px; border-radius: 9px; background: var(--mint-soft); color: var(--mint); }
.staff-points b { color: var(--cream); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
