/* XoiGame — shared studio and game page styles. */
:root {
  color-scheme: dark;
  --ink: #11120f;
  --surface: #1b1d17;
  --surface-raised: #23261e;
  --paper: #f5f2e9;
  --muted: #a6ab9b;
  --line: #ffffff20;
  --accent: #d9f66f;
  --orange: #ffab6e;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--ink); color: var(--paper); line-height: 1.65; }
::selection { background: var(--accent); color: var(--ink); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 6px;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.045em; }
h1 { font-size: clamp(3.4rem, 7.6vw, 7rem); font-weight: 850; }
h2 { font-size: clamp(2.3rem, 4.8vw, 4.25rem); font-weight: 800; }
h3 { font-size: 1.6rem; font-weight: 750; }
p { margin-bottom: 1.4rem; }
.wrap { width: min(100%, 1228px); margin-inline: auto; padding-inline: 24px; }
.muted { color: var(--muted); }
.eyebrow {
  display: block; color: var(--accent); font-size: .72rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px;
}
.site-header {
  position: sticky; top: 0; z-index: 20; background: #11120ff2;
  border-bottom: 1px solid var(--line); backdrop-filter: blur(18px);
}
.site-header > .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.4rem; font-weight: 850; letter-spacing: -.06em; flex-shrink: 0; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; color: var(--ink);
  border-radius: 11px; background: var(--accent); font-size: 1.45rem; font-weight: 950;
}
.nav { display: flex; align-items: center; gap: 29px; font-size: .85rem; font-weight: 650; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: #d2d5c9; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .nav-cta { padding-inline: 18px; border: 1px solid var(--line); border-radius: 100px; }
.button {
  display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px;
  padding: 13px 25px; border-radius: 100px; font-size: .85rem; font-weight: 800;
  border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s;
}
.button.primary { color: var(--ink); background: var(--accent); }
.button.primary:hover { background: var(--paper); transform: translateY(-2px); }
.button.secondary { border-color: #ffffff45; color: var(--paper); background: #11120f35; }
.button.secondary:hover { border-color: var(--paper); background: #ffffff0d; transform: translateY(-2px); }
.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid var(--line);
  border-radius: 100px; font-size: .63rem; line-height: 1.6; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.pill.live { color: var(--accent); background: #d9f66f0c; }
.pill.live::before { content: ""; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.pill.soon { color: var(--orange); background: #ffab6e0c; }
.hero { position: relative; }
.home-hero {
  isolation: isolate; min-height: 710px; min-height: min(790px, calc(100svh - 88px));
  display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line);
}
.hero-background { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, #11120ff2 0%, #11120fd4 35%, #11120f35 72%, #11120f12 100%);
}
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #11120f 0%, transparent 30%, #11120f15 100%); }
.hero-content { padding-top: 76px; padding-bottom: 72px; }
.home-hero h1 { max-width: 790px; margin-bottom: 28px; }
.home-hero h1 em, .game-hero h1 em { font-style: normal; color: var(--accent); }
.home-hero .hero-copy { max-width: 540px; color: #d0d4c5; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 48px; font-size: .72rem; color: #babfaf; }
.hero-meta > span + span { border-left: 1px solid #ffffff35; padding-left: 22px; }
main > section.wrap, main > .wrap > section { padding-top: 92px; padding-bottom: 16px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 36px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { max-width: 365px; margin-bottom: 0; font-size: .9rem; color: var(--muted); }
.section-head .eyebrow { margin-bottom: 17px; }
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.game-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; transition: transform .25s, border-color .25s; }
.game-card:hover { transform: translateY(-6px); border-color: #ffffff55; }
.card-art { display: block; aspect-ratio: 1.22; position: relative; overflow: hidden; background: #282b20; }
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.game-card:hover .card-art img { transform: scale(1.04); }
.card-art .pill { position: absolute; left: 20px; top: 20px; background: #11120fe8; }
.card-body { display: flex; flex-direction: column; padding: 25px 25px 22px; flex: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-top h3 { margin: 0; font-size: 1.45rem; }
.card-top .pill { flex-shrink: 0; }
.card-body p { color: var(--muted); font-size: .85rem; margin-bottom: 23px; }
.card-link { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-size: .78rem; font-weight: 800; color: var(--accent); }
.studio-section { display: grid; grid-template-columns: 1.1fr 1fr; gap: 100px; border-top: 1px solid var(--line); margin-top: 90px; padding-bottom: 65px !important; }
.studio-section h2 { max-width: 530px; margin-bottom: 25px; }
.studio-section p { color: var(--muted); }
.studio-section > :last-child { align-self: center; }
.studio-note { padding: 25px 0; border-bottom: 1px solid var(--line); }
.studio-note:first-child { border-top: 1px solid var(--line); }
.studio-note h3 { font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: 9px; }
.studio-note p { margin-bottom: 0; font-size: .85rem; }
.contact-band { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 46px; border-radius: 24px; background: var(--accent); color: var(--ink); margin-top: 40px; margin-bottom: 88px; }
.contact-band h2 { font-size: clamp(2rem, 4vw, 3.15rem); margin-bottom: 10px; }
.contact-band p { margin-bottom: 0; color: #11120fb3; font-size: .9rem; }
.contact-band .button { background: var(--ink); color: var(--paper); flex-shrink: 0; }
.contact-band .button:hover { background: #313529; }
.site-footer { border-top: 1px solid var(--line); padding-block: 33px; }
.site-footer > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer p { margin: 0; color: var(--muted); font-size: .73rem; }
.footer-links { display: flex; gap: 23px; font-size: .73rem; color: var(--muted); }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a:hover { color: var(--paper); }
.breadcrumb { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; margin-top: 30px; color: var(--muted); font-size: .75rem; }
.breadcrumb:hover { color: var(--accent); }
.game-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 66px; align-items: center; padding-top: 42px; padding-bottom: 70px; }
.game-hero h1 { font-size: clamp(3.6rem, 6.3vw, 6.1rem); margin-bottom: 26px; }
.game-hero .hero-copy > p { color: var(--muted); max-width: 480px; font-size: 1rem; }
.game-hero .hero-art { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.game-hero .hero-art > img { width: 100%; aspect-ratio: .95; object-fit: cover; }
.game-hero .eyebrow { margin-bottom: 20px; }
.game-icon { width: 62px; height: 62px; object-fit: cover; border-radius: 17px; border: 1px solid var(--line); margin-bottom: 24px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-block: 1px solid var(--line); padding-block: 27px; gap: 20px; }
.facts dl { margin: 0; padding-left: 26px; border-left: 1px solid var(--line); }
.facts dl:first-child { padding-left: 0; border-left: 0; }
.facts dt { text-transform: uppercase; letter-spacing: .13em; color: var(--muted); font-size: .62rem; font-weight: 700; margin-bottom: 8px; }
.facts dd { margin: 0; font-weight: 700; font-size: .9rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.feature-number { display: block; color: var(--accent); font-size: .75rem; font-weight: 800; margin-bottom: 46px; letter-spacing: .08em; }
.feature-card h3 { font-size: 1.45rem; margin-bottom: 16px; }
.feature-card p { color: var(--muted); font-size: .85rem; margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.shot, .gallery figure { margin: 0; min-width: 0; }
.shot img, .gallery figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.shot figcaption, .gallery figcaption { color: var(--muted); font-size: .73rem; padding-top: 12px; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.related-grid .game-card { display: grid; grid-template-columns: 40% 1fr; }
.related-grid .card-art { height: 100%; aspect-ratio: auto; }
.related-grid .card-body { padding: 25px; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.split-section p { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--accent); font-size: .85rem; font-weight: 750; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 22px; background: var(--accent); color: var(--ink); border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 12px; }
.intro-line { display: flex; align-items: end; justify-content: space-between; gap: 35px; padding-top: 63px; padding-bottom: 43px; }
.intro-line h1 { margin: 0; max-width: 820px; font-size: clamp(3.4rem, 7.5vw, 6.8rem); }
.intro-line > p { color: var(--muted); max-width: 270px; font-size: .88rem; margin-bottom: 7px; }
.intro-line + .home-hero, .wrap > .home-hero { border: 1px solid var(--line); border-radius: 28px; min-height: 580px; align-items: end; }
.intro-line + .home-hero .hero-content, .wrap > .home-hero .hero-content { padding: 46px; }
.intro-line + .home-hero::before, .wrap > .home-hero::before { background: linear-gradient(0deg, #11120ff2 0%, #11120fbb 28%, #11120f05 75%); }
.intro-line + .home-hero h1, .wrap > .home-hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); max-width: 650px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.filter-bar button { min-height: 44px; padding: 10px 20px; background: transparent; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
.filter-bar button:hover { border-color: var(--accent); color: var(--paper); }
.filter-bar button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.games-note { color: var(--muted); font-size: .75rem; margin-top: 22px; }
video { display: block; width: 100%; max-height: 75svh; aspect-ratio: 16 / 9; object-fit: contain; background: #000; border-radius: 20px; border: 1px solid var(--line); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.video-card { min-width: 0; margin: 0; }
.video-card figcaption, .video-card .caption { font-size: .8rem; color: var(--muted); margin-top: 13px; }
.video-card h3 { font-size: 1.1rem; margin: 17px 0 8px; }
[hidden] { display: none !important; }
@media (min-width: 1500px) { .home-hero { min-height: 790px; } }
@media (max-width: 1000px) {
  .nav { gap: 20px; }
  .home-hero { min-height: 690px; }
  .home-hero h1 { max-width: 670px; }
  .home-hero::before { background: linear-gradient(90deg, #11120feb, #11120fb3 50%, #11120f40); }
  .game-grid { gap: 16px; }
  .card-body { padding: 22px 20px; }
  .card-top { align-items: start; flex-direction: column; }
  .studio-section { gap: 45px; }
  .game-hero { gap: 35px; }
  .game-hero h1 { font-size: 4.2rem; }
  .feature-card { padding: 25px; }
  .related-grid .game-card { grid-template-columns: 1fr; }
  .related-grid .card-art { aspect-ratio: 1.7; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 126px; }
  .wrap { padding-inline: 20px; }
  .site-header > .wrap { min-height: 76px; flex-wrap: wrap; gap: 0; padding-top: 14px; padding-bottom: 5px; }
  .brand { font-size: 1.3rem; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; font-size: 1.3rem; }
  .nav { width: 100%; overflow-x: auto; gap: 25px; font-size: .74rem; margin-top: 8px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { min-height: 44px; }
  .nav .nav-cta { border: 0; padding: 0; }
  .home-hero { min-height: 720px; align-items: end; }
  .hero-background { object-position: 63% center; }
  .home-hero::before { background: linear-gradient(0deg, #11120ff5 0%, #11120fdb 40%, #11120f4d 80%); }
  .home-hero::after { background: linear-gradient(90deg, #11120f4d, transparent); }
  .hero-content { padding-top: 200px; padding-bottom: 42px; }
  .home-hero h1 { font-size: clamp(3.4rem, 13vw, 5.2rem); margin-bottom: 22px; }
  .home-hero .hero-copy { font-size: .94rem; }
  .eyebrow { font-size: .66rem; margin-bottom: 19px; }
  .hero-actions { gap: 10px; margin-top: 25px; }
  .button { min-height: 50px; padding-inline: 21px; font-size: .79rem; }
  .hero-meta { margin-top: 30px; gap: 12px; font-size: .63rem; }
  .hero-meta > span + span { padding-left: 12px; }
  main > section.wrap, main > .wrap > section { padding-top: 62px; }
  .section-head { display: block; margin-bottom: 27px; }
  .section-head p { margin-top: 18px; font-size: .86rem; }
  .section-head h2 { font-size: 2.7rem; }
  .game-grid { grid-template-columns: 1fr; gap: 24px; }
  .card-art { aspect-ratio: 1.3; }
  .card-body { padding: 25px; }
  .card-top { flex-direction: row; align-items: center; }
  .card-top h3 { font-size: 1.6rem; }
  .studio-section { grid-template-columns: 1fr; gap: 28px; margin-top: 55px; padding-bottom: 22px !important; }
  .studio-section h2 { font-size: 2.6rem; }
  .contact-band { flex-direction: column; align-items: start; padding: 30px 25px; gap: 25px; margin-top: 35px; margin-bottom: 58px; }
  .contact-band h2 { font-size: 2.25rem; }
  .site-footer > .wrap { align-items: start; flex-direction: column; gap: 14px; }
  .footer-links { flex-wrap: wrap; gap: 22px; }
  .breadcrumb { margin-top: 19px; }
  .game-hero { grid-template-columns: 1fr; padding-top: 26px; padding-bottom: 40px; gap: 35px; }
  .game-hero h1 { font-size: clamp(3.35rem, 13vw, 5rem); }
  .game-hero .hero-art { border-radius: 22px; }
  .game-hero .hero-art > img { aspect-ratio: 1.1; }
  .game-hero .hero-copy > p { font-size: .95rem; }
  .game-icon { width: 54px; height: 54px; border-radius: 14px; margin-bottom: 19px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 23px; }
  .facts dl { padding-left: 20px; }
  .facts dl:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts dd { font-size: .83rem; }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 28px; }
  .feature-number { margin-bottom: 27px; }
  .gallery, .related-grid { grid-template-columns: 1fr; }
  .shot img, .gallery figure img { border-radius: 17px; }
  .split-section { grid-template-columns: 1fr; gap: 22px; }
  .intro-line { display: block; padding-top: 40px; padding-bottom: 30px; }
  .intro-line h1 { font-size: clamp(3.25rem, 12.8vw, 5.2rem); }
  .intro-line > p { margin-top: 22px; max-width: 330px; }
  .intro-line + .home-hero, .wrap > .home-hero { min-height: 580px; border-radius: 23px; }
  .intro-line + .home-hero .hero-content, .wrap > .home-hero .hero-content { padding: 28px 24px; }
  .intro-line + .home-hero h1, .wrap > .home-hero h1 { font-size: 2.9rem; }
  .video-grid { grid-template-columns: 1fr; gap: 28px; }
  video { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
/* Integration adjustments: preserve complete promotional art and screenshots. */
.site-header.wrap { display:flex;align-items:center;justify-content:space-between;min-height:88px;gap:24px; }
.site-footer.wrap { display:flex;align-items:center;justify-content:space-between;gap:24px; }
.home-hero { position:relative; }
.home-hero .eyebrow { display:flex;align-items:center;gap:16px; }
.home-hero h2 { margin-bottom:20px; }
.card-top .eyebrow { margin:0;font-size:.6rem;letter-spacing:.07em; }
.card-top .pill { font-size:.56rem; }
.game-hero .hero-art { margin:0; }
.game-hero .hero-art > img { aspect-ratio:16/10;object-fit:contain; }
.game-hero h1 { overflow-wrap:anywhere;font-size:clamp(2.8rem,5.2vw,5.1rem);margin-top:24px; }
.game-hero .tagline { color:var(--paper);font-size:1.15rem;font-weight:650; }
.facts { grid-template-columns:repeat(3,minmax(0,1fr));margin-top:32px; }
.gallery .shot img { height:auto;aspect-ratio:auto;object-fit:contain; }
.gallery { align-items:start; }
.contact-band .eyebrow { color:#11120fb3; }
.contact-band h2 { overflow-wrap:anywhere; }
@media(max-width:700px) {
 .site-header.wrap { flex-wrap:wrap;gap:0;padding-top:14px;padding-bottom:5px; }
 .site-footer.wrap { flex-direction:column;align-items:start; }
 .game-hero h1 { font-size:clamp(2.65rem,11vw,4.2rem); }
 .facts { grid-template-columns:1fr; }
 .facts dl { border:0;padding-left:0; }
 .contact-band { max-width:calc(100% - 40px); }
 .card-top { flex-wrap:wrap; }
}
.game-grid,.video-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.card-art { aspect-ratio:16/9; }
@media(max-width:700px) { .game-grid,.video-grid { grid-template-columns:1fr; } }
.game-hero .hero-art > img { height:auto;aspect-ratio:auto; }
video { height:auto; }
/* Studio polish: motion enhances the layout without affecting image proportions. */
body { background-image:radial-gradient(ellipse at 85% 8%,#d9f66f07,transparent 38%),radial-gradient(ellipse at 8% 58%,#ffab6e05,transparent 34%); }
.accent-word { color:var(--accent); }
.intro-line { position:relative; }
.intro-line h1 { letter-spacing:-.065em; }
.scroll-progress { position:absolute;bottom:-1px;left:0;width:100%;height:2px;background:var(--accent);transform:scaleX(var(--scroll-progress,0));transform-origin:left;pointer-events:none;box-shadow:0 0 12px #d9f66f60; }
.site-header.wrap { max-width:none;padding-inline:max(24px,calc((100vw - 1180px)/2)); }
.brand-mark { box-shadow:0 0 26px #d9f66f10;transition:transform .25s; }
.brand:hover .brand-mark { transform:translateY(-2px); }
.hero-trailer-link { position:absolute;top:27px;right:27px;z-index:3; }
.hero-trailer-link { backdrop-filter:blur(14px);background:#11120f87;box-shadow:0 4px 22px #0003; }
.hero-background { animation:hero-breathe 22s ease-in-out infinite alternate; }
.home-hero { box-shadow:0 25px 80px #0003; }
.home-hero .hero-content { position:relative;z-index:2; }
.home-hero h2 { text-shadow:0 3px 24px #0006; }
.game-card { background:linear-gradient(135deg,#25291d,#191b16 70%);box-shadow:0 7px 24px #0002; }
.game-card:hover { border-color:#d9f66f80;box-shadow:0 18px 42px #0004,0 0 0 1px #d9f66f0c; }
.card-link { transition:color .2s; }
.card-link::after { transition:transform .2s; }
.game-card:hover .card-link::after { transform:translateX(4px); }
.feature-card { transition:transform .25s,border-color .25s; }
.feature-card:hover { transform:translateY(-4px);border-color:#ffffff50; }
.play-ribbon { overflow:hidden;width:100%;border-block:1px solid #d9f66f35;background:#d9f66f0a;margin-top:62px;padding-block:20px; }
.ribbon-track { display:flex;gap:48px;width:max-content;animation:ribbon-drift 42s linear infinite; }
.ribbon-track span { display:block;flex-shrink:0;color:var(--accent);font-size:clamp(1.5rem,4vw,3rem);font-weight:900;letter-spacing:.07em;line-height:1.2;white-space:nowrap; }
.studio-section { position:relative;grid-template-columns:1.25fr .9fr;gap:70px;align-items:center; }
.studio-visual { width:min(100%,360px);margin:0;justify-self:center;text-align:center; }
.studio-mascot { display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 20px 24px #0003);animation:mascot-bob 6s ease-in-out infinite; }
.studio-visual figcaption { font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-top:16px; }
.studio-tags { display:flex;flex-wrap:wrap;gap:8px;margin-top:25px; }
.studio-tags span { padding:7px 12px;border:1px solid var(--line);border-radius:100px;color:#c7cdbb;font-size:.66rem;line-height:1.5; }
.video-card { background:var(--surface);border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 8px 26px #0002; }
.video-card video { border:0;border-bottom:1px solid var(--line);border-radius:0; }
.video-card figcaption,.video-card .caption { padding:0 23px 23px;margin-top:20px; }
.video-card figcaption h3,.video-card .caption h3 { color:var(--paper);margin-top:0; }
.video-card figcaption p,.video-card .caption p { margin-bottom:0; }
.video-card > h3 { padding-inline:23px; }
.contact-band { box-shadow:0 12px 60px #d9f66f09; }
.reveal-ready .reveal { opacity:0;transform:translateY(20px);transition:opacity .65s ease,transform .65s ease; }
.reveal-ready .reveal.is-visible { opacity:1;transform:none; }
@keyframes mascot-bob { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-9px); } }
@keyframes hero-breathe { from { transform:scale(1); } to { transform:scale(1.035); } }
@keyframes ribbon-drift { from { transform:translateX(0); } to { transform:translateX(-25%); } }
@media(max-width:700px) {
 .site-header.wrap { padding-inline:20px; }
 .nav { max-width:100%;gap:22px; }
 .hero-trailer-link { top:18px;right:18px; }
 .hero-trailer-link { min-height:44px;padding:10px 16px;font-size:.7rem; }
 .studio-section { grid-template-columns:1fr;gap:35px; }
 .studio-visual { width:min(100%,290px); }
 .studio-tags { gap:7px; }
 .play-ribbon { margin-top:42px;padding-block:16px; }
 .ribbon-track { gap:30px; }
 .video-card { border-radius:18px; }
 .video-card figcaption,.video-card .caption { padding-inline:20px; }
}
@media(prefers-reduced-motion:reduce) {
 .studio-mascot,.hero-background,.ribbon-track { animation:none;transform:none; }
 .reveal-ready .reveal { opacity:1;transform:none;transition:none; }
 .game-card:hover,.feature-card:hover,.brand:hover .brand-mark { transform:none; }
}

.scroll-progress { position:fixed;top:0;bottom:auto;z-index:60; }
.hero-trailer-link { display:inline-flex;align-items:center;gap:10px;border:1px solid #ffffff40;border-radius:100px;padding:12px 20px;font-size:.8rem;font-weight:750;min-height:44px; }
.studio-mascot { border-radius:30px; }
.ribbon-track i { font-style:normal;color:var(--orange);padding-inline:20px; }

/* CR films retain their portrait framing; players load only on request. */
.intro-films-link { display:inline-flex;margin-top:14px;color:var(--accent);font-weight:700; }
.films-section { padding-top:88px; }
.films-intro { display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px; }
.films-intro p { max-width:680px;color:var(--muted);margin:0; }
.films-intro strong { color:var(--paper); }
.films-intro .pill { flex-shrink:0; }
.films-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px; }
.film-card { display:grid;grid-template-columns:44% 1fr;align-items:stretch; }
.film-screen { position:relative;aspect-ratio:9/16;min-width:0;background:#080907; }
.film-play { display:block;position:relative;width:100%;height:100%;overflow:hidden; }
.film-play img { width:100%;height:100%;object-fit:cover;transition:transform .4s; }
.film-play::after { content:"";position:absolute;inset:0;background:linear-gradient(transparent 55%,#000b);pointer-events:none; }
.film-play:hover img { transform:scale(1.035); }
.film-play:focus-visible { outline-offset:-5px; }
.film-play-icon { position:absolute;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:58px;height:58px;border:1px solid #ffffff80;border-radius:50%;background:#11120f9c;backdrop-filter:blur(10px);color:var(--accent);font-size:1.1rem; }
.film-play-caption { position:absolute;z-index:1;bottom:20px;left:0;width:100%;text-align:center;font-size:.7rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase; }
.film-screen iframe { display:block;position:absolute;inset:0;width:100%;height:100%;border:0; }
.film-copy { display:flex;flex-direction:column;align-items:flex-start;padding:28px 24px; }
.film-copy .eyebrow { margin-bottom:22px;font-size:.66rem;letter-spacing:.1em; }
.film-copy .eyebrow span { color:var(--muted);font-weight:500;letter-spacing:0; }
.film-copy h3 { font-size:clamp(1.7rem,2.5vw,2.5rem);line-height:1.05;margin:0 0 20px; }
.film-copy p.muted { font-size:.84rem;line-height:1.7; }
.film-category { font-size:.65rem;color:var(--orange);margin-bottom:18px; }
.film-copy .card-link { margin-top:auto;font-size:.75rem; }
.films-follow { display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:30px;padding:22px 0;border-bottom:1px solid var(--line); }
.films-follow p { margin:0;font-size:.8rem; }
@media(max-width:1000px) { .films-grid { grid-template-columns:1fr; } .film-card { grid-template-columns:minmax(180px,36%) 1fr; } .film-copy { padding:35px; } .studio-home .site-header.wrap { flex-wrap:wrap;gap:0;padding-top:14px;padding-bottom:5px; } .studio-home .nav { width:100%;margin-top:8px; } }
@media(max-width:700px) { .films-intro,.films-follow { align-items:flex-start;flex-direction:column;gap:16px; } .films-section { padding-top:65px; } .film-copy { padding:25px; } .film-copy h3 { font-size:2rem; } .studio-home .nav { gap:16px;flex-wrap:nowrap; } .studio-home .nav .nav-cta { display:none; } }
@media(max-width:440px) { .film-card { grid-template-columns:1fr; } .film-screen { width:100%;max-width:280px;justify-self:center; } .film-copy { padding:24px; } .film-copy .eyebrow { margin-bottom:14px; } .films-follow .footer-links { flex-wrap:wrap; } }
@media(prefers-reduced-motion:reduce) { .film-play img { transition:none; } .film-play:hover img { transform:none; } }

/* The film library has its own entrance and an uninterrupted portrait shelf. */
.film-library-main { padding-top:70px; }
.film-library-hero { padding-bottom:50px;border-bottom:1px solid var(--line);margin-bottom:40px; }
.film-library-hero h1 { font-size:clamp(3.3rem,7.5vw,6.5rem);max-width:1000px;margin-bottom:26px; }
.film-library-hero p.muted { max-width:680px;font-size:1.05rem; }
.film-library-hero .eyebrow { color:var(--orange); }
.film-library-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px; }
.film-library-grid .film-card { grid-template-columns:1fr; }
.film-library-grid .film-screen { width:100%; }
.film-library-grid .film-copy { min-height:310px;padding:28px; }
.film-library-grid .film-copy h3 { font-size:2.1rem; }
.films-page .films-follow { margin-block:35px 65px; }
.films-page .site-footer { padding-block:30px;flex-wrap:wrap;gap:20px; }
.films-page .site-footer .footer-links { flex-wrap:wrap; }
@media(max-width:1000px) { .film-library-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .film-library-main { padding-top:42px; } .film-library-hero { padding-bottom:30px;margin-bottom:28px; } .film-library-hero h1 { font-size:clamp(2.8rem,11vw,4.2rem); } .film-library-grid { grid-template-columns:1fr; } .film-library-grid .film-card { grid-template-columns:minmax(150px,40%) 1fr; } .film-library-grid .film-copy { min-height:0;padding:24px; } }
@media(max-width:440px) { .film-library-grid .film-card { grid-template-columns:1fr; } .film-library-grid .film-copy { min-height:290px; } }
