/* CG Spot Showcase: brand tokens from the 2026 brand sheet */
@font-face { font-family: "Montserrat"; src: url(/fonts/Montserrat-SemiBold.ttf) format("truetype"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url(/fonts/Montserrat-ExtraBold.ttf) format("truetype"); font-weight: 700 900; font-display: swap; }

:root {
  --navy: #0B0B2E; --red: #E61E2A; --white: #fff; --ink: #14142B; --mist: #A9ABC8; --wave: #262660;
  --paper: #F4F4F8; --line: #E1E2EC; --muted: #5A5C78;
  --font: "Montserrat", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  --r: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-weight: 500; color: var(--ink); background: var(--paper); line-height: 1.6; }
a { color: inherit; }
img, video { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h2 { font-size: 1.4rem; margin-top: 1.6em; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .8em; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sec { padding: 40px 0; }
.narrow { max-width: 560px; }
.muted { color: var(--muted); }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.inline { display: inline; }

/* buttons */
.btn { display: inline-block; background: var(--red); color: #fff; border: 2px solid var(--red); padding: .7em 1.3em; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .1s, filter .15s; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.sm { padding: .45em 1em; font-size: .9rem; }
.link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.link.danger { color: var(--red); margin-top: 1em; }

/* header */
.top { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 10; border-bottom: 1px solid #1c1c48; }
.top-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo img { height: 44px; width: auto; }
.logo-small { display: none; }
nav.main { display: flex; gap: 22px; flex: 1; }
nav.main a { text-decoration: none; color: var(--mist); font-weight: 600; font-size: .95rem; }
nav.main a:hover, nav.main a.on { color: #fff; }
nav.main a.on { box-shadow: inset 0 -3px 0 var(--red); padding-bottom: 4px; }
.acts { display: flex; gap: 14px; align-items: center; }
.acts .lang { color: var(--mist); text-decoration: none; font-size: .9rem; }
.acts .link { color: var(--mist); font-size: .9rem; }

/* seigaiha waves strip (brand pattern) */
.waves { height: 90px; background: url(/brand/waves.png) repeat-x left top / auto 180px; }

/* hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; min-height: 440px; padding: 56px 0 0; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.hero .lead { color: var(--mist); font-size: 1.1rem; max-width: 34em; }
.hero .stats { color: var(--mist); margin-top: 1.4em; }
.hero .stats b { color: #fff; font-size: 1.3rem; }
.hero-sun { width: min(360px, 32vw); aspect-ratio: 1; border-radius: 50%; background: var(--red); justify-self: center; transform: translateY(70px); }
.hero .waves { position: relative; z-index: 1; margin-top: -30px; }

/* search */
.search { display: flex; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 22px; margin-top: -10px; }
.search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 1.05rem; background: transparent; }

/* sections */
.sec-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sec-h h2 { margin-top: 0; }
.sec-h a { color: var(--muted); text-decoration: none; font-weight: 600; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card { background: #fff; border-radius: var(--r); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(11,11,46,.12); }
.cover { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--navy); }
.card-b { padding: 14px 16px 16px; }
.card-b h3 { margin: .35em 0 .2em; }
.card-b p { margin: 0; font-size: .9rem; }
.tag { display: inline-block; background: #EEEFF6; color: var(--ink); border-radius: 999px; padding: .15em .7em; font-size: .78rem; font-weight: 600; margin: 0 .35em .35em 0; }
.ph { display: grid; place-items: center; background: var(--navy) url(/brand/waves.png) repeat-x left bottom / auto 120px; }
.ph .sun { width: 26%; aspect-ratio: 1; border-radius: 50%; background: var(--red); }

/* issue band */
.issue-band { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; background: var(--navy); color: #fff; border-radius: var(--r); padding: 30px; text-decoration: none; }
.issue-band p { color: var(--mist); }
.issue-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; }
.seal { display: inline-block; writing-mode: vertical-rl; background: var(--red); color: #fff; font-weight: 800; padding: .5em .35em; border-radius: 6px;
  outline: 2px solid #fff; outline-offset: -5px; margin-bottom: 12px; letter-spacing: .1em; }
.seal.sm { font-size: .85rem; }
.issue-head { background: var(--navy); color: #fff; padding-top: 48px; }
.issue-head .prose { color: var(--mist); max-width: 46em; }
.issue-row { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; margin-bottom: 12px; text-decoration: none; }

/* news */
.newslist { display: grid; gap: 8px; }
.news { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: baseline; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 14px 18px; text-decoration: none; }
.news .nt { font-weight: 700; }
.date { color: var(--red); font-weight: 700; font-size: .85rem; font-variant-numeric: tabular-nums; }

/* studios */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.filters input, .filters select { font: inherit; padding: .55em .9em; border: 1px solid var(--line); border-radius: 999px; background: #fff; min-width: 200px; }
.slist { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.scard { --h: 230; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.scard:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgb(11 11 46 / .14); border-color: #cfd0e0; }
.scard-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 15%, hsl(var(--h) 70% 38% / .6), transparent 60%), var(--navy); }
.scard-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.scard:hover .scard-cover img { transform: scale(1.04); }
.scard-cover::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgb(11 11 46 / .75)); }
.scard-name { position: absolute; left: 18px; right: 18px; top: 18px; color: #fff; font-weight: 900; font-size: 1.7rem; line-height: 1; letter-spacing: -.02em; }
.scard-cover .slogo { position: absolute; left: 14px; bottom: 12px; z-index: 1; width: auto; height: 46px; max-width: 60%; padding: 8px 12px; border-radius: 10px;
  background: rgb(11 11 46 / .82); border: 1px solid rgb(255 255 255 / .12); backdrop-filter: blur(6px); }
.scard-b { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.scard h3 { margin: 0; font-size: 1.1rem; }
.scard-t { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scard .tags { display: block; margin-top: 6px; }
.scard-f { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; padding-top: 8px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.slogo { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 12px; background: var(--navy); overflow: hidden; flex: none; }
.slogo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.slogo.ph .sun { width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--red); }
.slogo.lg { width: 120px; height: 120px; padding: 14px; }
.shead { background: var(--navy); color: #fff; }
.shead-in { display: flex; gap: 28px; align-items: center; padding: 44px 0; }
.shead .muted { color: var(--mist); }
.shead .tag { background: #1c1c48; color: #fff; }
.tag.ctry b { display: inline-block; background: var(--red, #E61E2A); color: #fff; border-radius: 3px; font-size: .68rem; letter-spacing: .04em; padding: 0 .3em; margin-right: .4em; line-height: 1.5; }

/* work page */
.crumb a { color: var(--muted); }
.work .gallery { display: grid; gap: 14px; margin: 20px 0 28px; }
.work .gallery img, .work .gallery video { width: 100%; border-radius: 10px; background: #000; }
.video { position: relative; aspect-ratio: 16/9; margin: 18px 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.prose { max-width: 46em; font-size: 1.03rem; }
.credits { color: var(--muted); font-size: .95rem; }

/* CTA + footer */
.cta { background: var(--red); color: #fff; margin-top: 40px; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 40px 0; flex-wrap: wrap; }
.cta h2 { margin: 0 0 .2em; }
.cta p { margin: 0; }
.cta .btn { background: var(--navy); border-color: var(--navy); }
.foot { background: var(--navy); color: var(--mist); margin-top: 0; }
.foot-in { padding: 10px 0 40px; }
.foot-logo { height: 46px; margin-bottom: 12px; }
.foot .muted { color: var(--mist); opacity: .7; }

/* join page */
.lead { font-size: 1.1rem; }
.cmp { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r); overflow: hidden; margin: 20px 0; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp thead th { background: var(--navy); color: #fff; }
.cmp td.yes { font-weight: 700; }
.cmp td.yes::before { content: "●"; color: var(--red); margin-right: .5em; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.plan.hl { border: 2px solid var(--red); }
.price { font-size: 1.5rem; font-weight: 800; color: var(--red); margin: .2em 0 .5em; }

/* forms */
.form { display: grid; gap: 14px; margin: 18px 0; }
.form.two { grid-template-columns: 1fr 1fr; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input:not([type=checkbox]):not([type=radio]), .form textarea, .form select {
  font: inherit; font-weight: 500; padding: .65em .85em; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus, .search:focus-within { outline: 2px solid var(--red); outline-offset: 1px; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; }
legend { font-weight: 700; padding: 0 6px; }
.form label.chk, label.chk { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; margin: 4px 16px 4px 0; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.mitem img, .mitem video { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.ok { background: #E8F6EE; border-left: 4px solid #1F9D55; padding: 12px 16px; border-radius: 8px; }
.err { background: #FDECEE; border-left: 4px solid var(--red); padding: 12px 16px; border-radius: 8px; }
.err p { margin: 0; }
.dev { background: #FFF6DB; border-left: 4px solid #E0A800; padding: 12px 16px; border-radius: 8px; word-break: break-all; font-size: .9rem; }
.flash { margin-top: 16px; background: #fff; border-left: 4px solid var(--red); padding: 12px 16px; border-radius: 8px; }

/* portal tables */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0 24px; }
.kpis div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: grid; }
.kpis b { font-size: 1.7rem; font-weight: 800; }
.kpis span { color: var(--muted); font-size: .9rem; }
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.tbl td, .tbl th { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; font-size: .93rem; }
.tbl select { font: inherit; padding: .2em; margin-right: .4em; }
.thumb { width: 72px; aspect-ratio: 16/10; object-fit: cover; border-radius: 6px; }
.thumb.ph .sun { width: 30%; }
.pill { display: inline-block; padding: .1em .65em; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #EEEFF6; }
.pill.published { background: #E8F6EE; color: #1F7A45; }
.pill.draft { background: #FFF6DB; color: #8A6500; }
.pill.feat { background: var(--red); color: #fff; }

/* responsive */
@media (max-width: 860px) {
  .logo-full { display: none; } .logo-small { display: block; height: 30px !important; }
  nav.main { gap: 14px; overflow-x: auto; }
  nav.main a { font-size: .85rem; white-space: nowrap; }
  .top-in { gap: 14px; }
  .hero-in { grid-template-columns: 1fr; padding-top: 36px; }
  .hero-sun { width: 180px; transform: translateY(40px); justify-self: end; margin-top: -40px; }
  .issue-band { grid-template-columns: 1fr; }
  .form.two { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .news { grid-template-columns: 1fr; gap: 2px; }
  .shead-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .top-in { flex-wrap: wrap; height: auto; padding: 10px 0; row-gap: 6px; }
  nav.main { order: 3; flex-basis: 100%; }
}

/* ------------------------------------------------------------------ editorial: stories */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.kicker { color: var(--red); font-weight: 800; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; margin-right: .6em; }
.tag.demo { background: #FFF6DB; color: #8A6500; border: 1px dashed #E0A800; }
.subnav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.subnav a { text-decoration: none; padding: .35em .95em; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem; }
.subnav a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.scover { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--navy); display: block; }
.card.story .card-b h3 { font-size: 1.08rem; }
.feature-row { margin: 10px 0 26px; }
.card.story.big { display: grid; grid-template-columns: 1.35fr 1fr; }
.card.story.big .card-b { padding: 28px; align-self: center; }
.card.story.big h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.lead.muted { max-width: 40em; }

.story-head { background: var(--navy); color: #fff; padding: 34px 0 120px; }
.story-head h1 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); max-width: 22em; }
.story-head .dek { color: var(--mist); font-size: 1.15rem; max-width: 40em; }
.story-head .byline { color: var(--mist); font-size: .92rem; }
.story-head .crumb a { color: var(--mist); }
.story-head .tag.demo { background: #3a3215; color: #FFD96A; border-color: #8a6a10; }
.story-top { min-height: 38px; margin-bottom: 18px; }
.story-cover { margin-top: -96px; }
.hero-cover { border-radius: var(--r); aspect-ratio: 16/9; box-shadow: 0 30px 60px rgba(11,11,46,.25); }
.story-body { display: grid; justify-items: center; padding: 34px 0 10px; }
.story-body > * { width: min(46em, 100%); }
.story-body .prose { font-size: 1.08rem; line-height: 1.75; }
.story-body .prose h2 { margin-top: 1.6em; }
.story-body .prose ol { padding-left: 1.3em; }
.story-body .prose li { margin-bottom: .4em; }
.note { background: #FFF6DB; border-left: 4px solid #E0A800; padding: 10px 14px; border-radius: 8px; font-size: .92rem; }
figure.wide { margin: 34px 0; width: min(1100px, calc(100vw - 40px)); position: relative; left: 50%; transform: translateX(-50%); }
figure.wide img { width: 100%; border-radius: 12px; background: var(--navy); }
figure.wide figcaption { color: var(--muted); font-size: .9rem; margin-top: 8px; text-align: center; }
.compare .passes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.compare .pass { position: relative; }
.compare .pass span { position: absolute; left: 10px; top: 10px; background: rgba(11,11,46,.85); color: #fff; font-weight: 700; font-size: .8rem; padding: .2em .7em; border-radius: 999px; }
.takeaway { background: var(--navy); color: #fff; border-radius: var(--r); padding: 22px 26px; margin: 26px 0; position: relative; overflow: hidden; }
.takeaway::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--red); opacity: .9; }
.takeaway h2 { margin: 0 0 .4em; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mist); }
.takeaway p { margin: 0; font-size: 1.1rem; font-weight: 700; max-width: 34em; position: relative; z-index: 1; }
.related ul { padding: 0; list-style: none; display: grid; gap: 8px; }
.related a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; font-weight: 700; text-decoration: none; }
.related a:hover { border-color: var(--red); }
.btn.back { background: #fff; color: var(--navy); border-color: #fff; }
.sec-links a { color: var(--muted); text-decoration: none; font-weight: 600; margin-left: 14px; }
@media (max-width: 860px) {
  .card.story.big { grid-template-columns: 1fr; }
  .compare .passes { grid-template-columns: 1fr 1fr 1fr; overflow-x: auto; }
  .story-head { padding-bottom: 80px; } .story-cover { margin-top: -64px; }
  .sec-h { flex-wrap: wrap; } .sec-links a { margin: 0 12px 0 0; }
}
/* Anchor links (#scene, #latest, #inspect) land below the sticky header. */
html { scroll-padding-top: 76px; }
@media (max-width: 560px) { html { scroll-padding-top: 130px; } }
.sec-h a.btn { color: #fff; }
.st-count { font-size: .55em; font-weight: 700; vertical-align: middle; }
