/* INKY ANT Games — dark, purple glow */
:root {
  --bg: #050409;
  --panel: #121019;
  --line: rgba(255,255,255,.09);
  --text: #f2f0fa;
  --muted: #9a96ad;
  --violet: #f5b52e;
  --violet-2: #e08a12;
  --en: "Space Grotesk", "Zen Kaku Gothic New", sans-serif;
  --ja: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; color: var(--text); font-family: var(--ja); line-height: 1.8; -webkit-font-smoothing: antialiased; padding: 48px 40px; background: radial-gradient(120% 80% at 10% 100%, #b8741c 0%, #5a3410 32%, #1c1008 68%, #0c0805 100%); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.frame { max-width: 1280px; margin: 0 auto; padding: 14px; border-radius: 34px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.screen { position: relative; background: var(--bg); border-radius: 24px; overflow: hidden; }

/* header */
.header { position: relative; z-index: 5; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 40px 64px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { filter: invert(1) brightness(1.4); }
.logo-mark { height: 28px; width: auto; }
.logo-text { height: 13px; width: auto; }
.nav { display: flex; justify-content: center; gap: 36px; font-family: var(--en); font-size: 15px; color: var(--muted); }
.nav a:hover { color: #fff; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--en); font-weight: 500; font-size: 15px; padding: 14px 26px; border-radius: 16px; cursor: default; }
a.btn { cursor: pointer; }
.btn.glow { color: #1a1206; background: linear-gradient(180deg, #ffd166, #f0a019); box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset, 0 8px 30px rgba(245,170,40,.45); transition: transform .2s, box-shadow .2s; }
a.btn.glow:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset, 0 12px 40px rgba(245,170,40,.65); }
.btn.small { font-size: 14px; padding: 12px 20px; }

/* hero */
.hero { position: relative; min-height: 760px; padding: 80px 64px 0; }
.hero-text { position: relative; z-index: 3; max-width: 560px; }
.hero h1 { font-family: var(--en); font-weight: 600; font-size: 72px; line-height: 1.08; letter-spacing: -.02em; background: linear-gradient(180deg, #fff 30%, #b8a990); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-ja { color: #c9c5d8; font-size: 16px; margin: 26px 0 36px; }

.beam { position: absolute; z-index: 3; top: -40px; right: 25%; width: 140px; height: 520px; transform: translateX(50%); pointer-events: none; }
.beam::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 70px; transform: translateX(-50%); background: linear-gradient(180deg, rgba(255,170,40,0), rgba(255,170,40,.5) 40%, rgba(255,220,140,.9)); filter: blur(22px); }
.beam span { position: absolute; left: 50%; top: 0; bottom: 0; width: 6px; transform: translateX(-50%); background: linear-gradient(180deg, rgba(255,180,60,0), #ffbf47 35%, #fff); filter: blur(1.5px); box-shadow: 0 0 24px 6px rgba(255,180,60,.8); }
.beam::after { content: ""; position: absolute; left: 50%; bottom: -30px; width: 760px; height: 80px; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 50%, rgba(255,255,255,.95), rgba(255,190,80,.7) 30%, rgba(255,150,30,0) 70%); filter: blur(8px); }

.win { border-radius: 12px; overflow: hidden; background: #0d0c13; border: 1px solid rgba(255,255,255,.14); }
.win .bar { display: flex; gap: 6px; padding: 9px 12px; background: #16141d; border-bottom: 1px solid rgba(255,255,255,.06); }
.win .bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.win .bar i:nth-child(2) { background: #febc2e; }
.win .bar i:nth-child(3) { background: #28c840; }
.win img, .win video { display: block; width: 100%; height: auto; }
.hero .win { position: absolute; }
.hero .win.front { z-index: 2; right: 64px; top: 470px; width: 52%; box-shadow: 0 -10px 60px rgba(255,170,50,.45), 0 0 0 1px rgba(255,200,120,.35); }
.hero .win.back { z-index: 1; left: 64px; top: 600px; width: 40%; opacity: .75; box-shadow: 0 -10px 50px rgba(255,170,50,.3); }
.hero { min-height: calc(600px + 25vw); }

/* sections */
main { position: relative; z-index: 3; }
.section { padding: 110px 64px 0; }
.label { font-family: var(--en); font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--violet); }
.h2 { font-family: var(--en), var(--ja); font-weight: 700; font-size: 34px; line-height: 1.4; margin-top: 12px; }
.lead { color: var(--muted); font-size: 15px; margin-top: 16px; max-width: 720px; }
.feature-sub { margin-top: 14px; font-weight: 700; color: #ffd27a; letter-spacing: .1em; }

.win.video { margin: 48px 0 24px; box-shadow: 0 0 60px rgba(255,170,50,.22); }

.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.shots.more { grid-template-columns: repeat(4, 1fr); margin-bottom: 40px; }
.shots figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.shots .thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.shots img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.shots figure:hover img { transform: scale(1.03); }
.shots figcaption { padding: 10px 16px; font-size: 13px; font-weight: 700; color: #d9d6e6; }

.card { background: linear-gradient(180deg, #17151f, #100e16); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.work .thumb { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #1b1925; }
.work .thumb img { width: 100%; height: 100%; object-fit: cover; }
.work .thumb.empty { display: grid; place-items: center; font-family: var(--en); font-size: 12px; letter-spacing: .2em; color: #5f5b70; }
.work h3 { font-size: 17px; margin-top: 10px; }
.work p { font-size: 13px; color: var(--muted); }
a.work { transition: border-color .2s, box-shadow .2s; }
a.work:hover { border-color: rgba(245,181,46,.6); box-shadow: 0 0 40px rgba(245,170,40,.2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tags span { font-size: 11px; padding: 2px 10px; border-radius: 999px; background: rgba(245,181,46,.12); color: #ffd27a; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.num { font-family: var(--en); font-weight: 700; color: var(--violet); }
.grid h3 { font-size: 17px; margin: 8px 0 10px; }
.grid li { font-size: 13px; color: var(--muted); }

.contact { padding-bottom: 110px; }
.contact .btn { margin-top: 32px; }

.footer { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 32px 64px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer .copy { margin-left: auto; font-family: var(--en); font-size: 11px; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  body { padding: 0; }
  .frame { padding: 0; border: 0; border-radius: 0; background: none; }
  .screen { border-radius: 0; }
  .header { grid-template-columns: 1fr auto; padding: 22px 20px; gap: 14px; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 20px; font-size: 13px; }
  .btn.small { font-size: 12px; padding: 9px 14px; border-radius: 12px; }
  .hero { min-height: 0; padding: 30px 20px 0; }
  .hero h1 { font-size: 46px; }
  .hero-ja { font-size: 14px; }
  .beam { right: 50%; top: 250px; height: 220px; width: 80px; }
  .beam::after { width: 360px; }
  .hero .win, .hero .win.front, .hero .win.back { position: relative; right: auto; left: auto; top: auto; width: 100%; }
  .hero .win.front { margin-top: 110px; }
  .hero .win.back { display: none; }
  .section { padding: 72px 20px 0; }
  .h2 { font-size: 22px; }
  .h2 br { display: none; }
  .shots, .works, .grid { grid-template-columns: 1fr; }
  .shots.more { grid-template-columns: 1fr 1fr; }
  .contact { padding-bottom: 72px; }
  .footer { padding: 24px 20px; }
  .footer .copy { margin-left: 0; width: 100%; }
}


/* contact form */
.cform { display: grid; gap: 18px; max-width: 640px; margin-top: 32px; }
.cform label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.cform input, .cform select, .cform textarea { font: inherit; font-weight: 500; font-size: 15px; width: 100%; padding: 12px 14px; }
.cform textarea { resize: vertical; }
.cform button { font: inherit; cursor: pointer; justify-self: start; }
.cform button:disabled { opacity: .5; cursor: wait; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform-status { font-size: 13px; min-height: 1.5em; }
.cform input, .cform textarea { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; color: var(--text); }
.cform input:focus, .cform textarea:focus { outline: none; border-color: rgba(245,181,46,.6); box-shadow: 0 0 0 3px rgba(245,181,46,.15); }
.cform label { color: #d9d6e6; }
.cform button { border: 0; font-family: var(--en); font-weight: 600; font-size: 15px; padding: 14px 28px; border-radius: 16px; color: #1a1206; background: linear-gradient(180deg, #ffd166, #f0a019); box-shadow: 0 8px 30px rgba(245,170,40,.45); }
.cform-status { color: var(--muted); }

/* ===== lightbox ===== */
img.zoomable { cursor: zoom-in; transition: opacity .2s; }
img.zoomable:hover { opacity: .88; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10,10,10,.92); display: none; align-items: center; justify-content: center; flex-direction: column; padding: 56px 64px 24px; }
.lightbox.open { display: flex; animation: lbIn .2s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox .lb-cap { color: #ddd; font-size: 13px; letter-spacing: .08em; margin-top: 14px; min-height: 1em; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 40px; line-height: 1; padding: 8px 14px; opacity: .75; }
.lightbox button:hover { opacity: 1; }
.lightbox .lb-close { top: 10px; right: 14px; font-size: 34px; }
.lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
@media (max-width: 640px) { .lightbox { padding: 52px 8px 16px; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 8px; transform: none; } }

.case-for { display:block; font-size:13px; font-weight:700; color:var(--muted); letter-spacing:.04em; margin-bottom:4px; }

.dl-btn { margin: 4px 0 24px; }
