/* The studio surface is isolated from individual game identities. */
body[data-site-kind=studio] {
  --sg-paper: #edece7;
  --sg-ink: #171719;
  --sg-soft: #b3b1b7;
  --sg-red: #e11d48;
  --sg-header-height: 92px;
}
body[data-site-kind=studio] .wrap { width: min(1320px, calc(100% - 112px)); }
body[data-site-kind=studio] .site-header {
  background: #08080ac7; border-color: #ffffff1a;
  -webkit-backdrop-filter: blur(20px) saturate(130%); backdrop-filter: blur(20px) saturate(130%);
  box-shadow: 0 8px 28px #00000014;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
/* The glass default also keeps navigation readable without JavaScript. */
body[data-site-kind=studio] .site-header.is-at-top:not(:has(.mobile-menu[open])) {
  background: transparent; border-color: transparent; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
body[data-site-kind=studio].page-home .site-header { margin-bottom: calc(-1 * (var(--sg-header-height) + 1px)); }
body[data-site-kind=studio].page-home .sg-hero { padding-top: calc(var(--sg-header-height) + 1px); }
body[data-site-kind=studio] .header-inner { height: var(--sg-header-height); }
body[data-site-kind=studio] .desktop-nav { gap: 32px; }
body[data-site-kind=studio] .desktop-nav a { color: #e8e5ea; font-size: 13px; }
body[data-site-kind=studio] .desktop-nav a:last-child { color: #f3f2f4; border-bottom: 1px solid #e11d48; }
body[data-site-kind=studio] :focus-visible { outline-color: #ff6688; }
.sg-kicker, .sg-small-label, .sg-section-label, .sg-hero-foot, .sg-engine-control>span:first-child, .sg-story>div, .sg-footer-bottom {
  font-family: var(--mono); font-size: 10px; line-height: 1.6; letter-spacing: .09em; text-transform: uppercase;
}
.sg-kicker { color: #c8c4cc; display: flex; align-items: center; gap: 12px; }
.sg-kicker>span { width: 6px; height: 6px; background: var(--sg-red); }
.sg-hero { overflow: hidden; background: #08080a; }
.sg-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 10px; position: relative; }
.sg-hero-copy { position: relative; z-index: 1; padding: 75px 0 68px; }
.sg-hero h1 { font-size: clamp(64px, 7.6vw, 106px); line-height: .98; letter-spacing: -.065em; margin: 30px 0 30px; }
.sg-hero h1 em { color: var(--sg-red); white-space: nowrap; }
.sg-hero-intro { max-width: 465px; font-size: 16px; color: var(--sg-soft); line-height: 1.7; }
.sg-hero .actions { margin-top: 30px; gap: 28px; }
.sg-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 52px; padding: 16px 22px; color: #fff; background: var(--sg-red); font-size: 13px; font-weight: 650; transition: background .2s; }
.sg-button:hover { background: #b31338; }
.sg-button>span { font-size: 20px; font-weight: 400; }
.sg-link { display: inline-flex; align-items: center; gap: 18px; font-size: 13px; line-height: 1.6; font-weight: 650; padding: 9px 0; border-bottom: 1px solid currentColor; }
.sg-link:hover { color: #ff6688; }
.sg-hero-foot { grid-column: 1/-1; display: flex; justify-content: space-between; gap: 24px; padding: 23px 0; border-top: 1px solid #ffffff1e; color: #96939f; font-size: 9px; letter-spacing: .03em; }
.sg-hero-foot a { color: #ccc8d0; }
.sg-hero-foot a>b { color: #e11d48; padding: 0 16px; }
.sg-hero-foot a>span { padding-left: 24px; }
.sg-paper { color: var(--sg-ink); background: var(--sg-paper); }
.sg-paper em { color: #b7193c; }
.sg-section-label { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #b3aeb9; border-bottom: 1px solid #ffffff26; padding-bottom: 22px; }
.sg-section-label>span:first-child { color: #f4f2f6; }
.sg-paper .sg-section-label { color: #646269; border-color: #17171930; }
.sg-paper .sg-section-label>span:first-child { color: #171719; }
.sg-about { padding: 72px 0 80px; }
.sg-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 58px; align-items: start; }
.sg-about h2, .sg-craft h2, .sg-project h2, .sg-journal h2 { font-size: clamp(40px, 4.3vw, 61px); line-height: 1.06; letter-spacing: -.052em; }
.sg-about-copy .sg-lead { font-size: 23px; color: #222126; line-height: 1.45; margin-bottom: 28px; }
.sg-about-copy>p { font-size: 15px; color: #5d5a61; line-height: 1.8; margin-bottom: 21px; }
.sg-about-copy .sg-link { margin-top: 28px; }
.sg-about-art { max-width: 440px; margin-top: 22px; }
.sg-about-art img { width: 100%; height: auto; animation: sg-studio-float 8s ease-in-out infinite; animation-play-state: paused; }
.sg-about-art figcaption { color: #675e62; font: 8px/1.6 var(--mono); letter-spacing: .07em; text-transform: uppercase; margin-top: 4px; }
.sg-studio-icon { display: block; flex: none; width: 68px; height: 68px; color: #393438; }
.sg-studio-values { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; list-style: none; padding: 24px 0 0; margin: 26px 0 0; border-top: 1px solid #17171924; }
.sg-studio-values li { display: flex; align-items: start; gap: 12px; }
.sg-studio-values .sg-studio-icon { width: 34px; height: 34px; stroke-width: 2.3; }
.sg-studio-values strong { display: block; font-size: 13px; line-height: 1.5; letter-spacing: -.02em; }
.sg-studio-values li span { display: block; margin-top: 6px; font-size: 12px; line-height: 1.65; color: #5d5a61; }
@keyframes sg-studio-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.sg-paper .sg-link:hover { color: #ad1134; }
.sg-practice { display: grid; grid-template-columns: 1fr 3fr; gap: 46px; margin-top: 52px; padding-top: 32px; border-top: 1px solid #17171930; }
.sg-small-label { color: #b7aeba; }
.sg-paper .sg-small-label { color: #675e62; }
.sg-practice-intro h3 { margin-top: 16px; font-size: 20px; line-height: 1.25; letter-spacing: -.03em; }
.sg-practice ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 0; padding: 0; list-style: none; }
.sg-practice-route { display: block; margin-top: 24px; color: #b7193c; font-size: 36px; font-weight: 400; }
.sg-practice li { min-width: 0; border-left: 1px solid #17171924; padding-left: 24px; }
.sg-practice-art { display: flex; align-items: start; justify-content: space-between; gap: 12px; min-height: 72px; }
.sg-practice-art>span { padding-top: 7px; color: #8e2039; font: 8px/1.6 var(--mono); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.sg-practice-art .sg-studio-icon { transition: transform .35s ease; }
@media (hover: hover) { .sg-practice li:hover .sg-studio-icon { transform: translateY(-5px) rotate(-4deg); } }
.sg-practice li>h3 { font-size: 18px; margin: 18px 0 14px; letter-spacing: -.03em; }
.sg-practice li>p { color: #5d5a61; font-size: 13px; line-height: 1.75; }
.sg-craft { padding: 76px 0 68px; background: #f3f1eb; }
.sg-craft-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; align-items: end; padding: 58px 0 52px; }
.sg-craft-heading h2 em { color: #b7193c; }
.sg-craft-heading>p { font-size: 15px; color: #5d5a61; line-height: 1.8; }
.sg-engine-workbench { display: grid; grid-template-columns: minmax(205px,.65fr) minmax(0,1.65fr); gap: 36px; border-top: 1px solid #17171930; padding-top: 30px; }
.sg-engine-controls { align-self: start; }
.sg-engine-control { position: relative; display: flex; align-items: center; gap: 18px; padding: 27px 16px; font-size: clamp(22px,2.2vw,30px); font-weight: 650; letter-spacing: -.04em; border-bottom: 1px solid #17171924; color: #59545a; transition: background .2s, color .2s; }
.sg-engine-control:last-child { border-bottom-color: transparent; }
.sg-engine-control>span:first-child { color: #62585c; font-weight: 400; font-size: 9px; }
.sg-engine-name small { display: block; margin-top: 9px; font: 11px/1.5 var(--font); color: #675e62; letter-spacing: 0; }
.sg-engine-control .sg-engine-arrow { margin-left: auto; font-size: 23px; font-weight: 400; }
.sg-engine-control[aria-selected=true] { background: #e9e4dc; color: #171719; }
.sg-engine-control[aria-selected=true]:before { content: ''; position: absolute; left: 0; top: 20px; bottom: 20px; width: 3px; background: #b7193c; }
.sg-engine-control:hover { color: #b7193c; background: #ede8e1; }
.sg-engine-control[aria-selected=true]>span:first-child, .sg-engine-control[aria-selected=true] .sg-engine-arrow { color: #b7193c; }
body[data-site-kind=studio] .sg-craft :focus-visible { outline-color: #b7193c; outline-offset: 4px; }
.sg-engine-panels { padding: 32px; border: 1px solid #d9d4ca; background: #eae6dd; }
.sg-engine-panel { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 24px; align-items: center; min-height: 345px; }
.sg-engine-panel[hidden] { display: none; }
.sg-engine-panel+.sg-engine-panel:not([hidden]) { margin-top: 44px; padding-top: 38px; border-top: 1px solid #cfc7ba; }
.sg-engine-controls[role=tablist]+.sg-engine-panels .sg-engine-panel { margin-top: 0; padding-top: 0; border-top: 0; }
.sg-engine-illustration { min-width: 0; }
.sg-engine-illustration img { display: block; width: 100%; height: auto; animation: sg-studio-float 8s ease-in-out infinite; animation-play-state: paused; }
.sg-engine-story { min-width: 0; }
.sg-engine-story .sg-small-label { color: #8e2039; font-size: 8px; letter-spacing: .05em; }
.sg-engine-panel h3 { font-size: clamp(24px,2.3vw,34px); line-height: 1.12; margin: 18px 0; letter-spacing: -.04em; }
.sg-engine-story>p:not(.sg-small-label) { font-size: 14px; color: #554f53; line-height: 1.8; }
.sg-engine-panel ul { display: flex; flex-wrap: wrap; list-style: none; gap: 7px 16px; padding: 0; margin: 24px 0 14px; font: 8px/1.6 var(--mono); text-transform: uppercase; color: #51474b; }
.sg-engine-panel ul li:before { content: '+'; color: #a61334; padding-right: 7px; }
.sg-engine-panel .sg-link { font-size: 11px; color: #302a2d; }
.sg-engine-panel .sg-link:hover { color: #a61334; }
.sg-craft-note { font-size: 12px; color: #675e62; margin-top: 26px; text-align: right; }
.sg-project { padding: 56px 0 64px; }
.sg-project-feature { display: grid; grid-template-columns: minmax(0,1.22fr) minmax(0,1fr); align-items: center; gap: clamp(32px,4vw,64px); margin-top: 36px; }
.sg-project-art { overflow: hidden; background: #080d26; }
.sg-project-art img { width: 100%; height: auto; }
.sg-project-copy { min-width: 0; }
.sg-project-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; color: #5e555c; font: 9px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .035em; }
.sg-project-status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border: 1px solid #b7193c40; color: #94132f; }
.sg-project-status:before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.sg-project-copy h2 { font-size: clamp(42px,4.2vw,60px); margin: 20px 0 12px; line-height: 1; }
.sg-project-copy h2>span { color: #b7193c; }
.sg-project-lead { color: #302a2d; font-size: clamp(18px,1.7vw,23px); font-weight: 650; letter-spacing: -.025em; line-height: 1.35; }
.sg-project-description { max-width: 470px; color: #5d555c; font-size: 14px; line-height: 1.8; margin-top: 13px; }
.sg-project-copy .sg-link { color: #9e1533; margin-top: 18px; }
.sg-project-copy .sg-link:hover { color: #171719; }
body[data-site-kind=studio] .sg-project :focus-visible { outline-color: #b7193c; }
.sg-journal { padding: 72px 0 80px; }
.sg-journal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 54px; }
.sg-journal h2 em { color: #9c96a1; }
.sg-story { display: block; padding: 0 48px 24px 0; position: relative; }
.sg-story+.sg-story { padding-top: 32px; border-top: 1px solid #ffffff26; }
.sg-story>div { font-size: 9px; color: #a79fae; display: flex; justify-content: space-between; gap: 12px; }
.sg-story h3 { font-size: 27px; line-height: 1.23; letter-spacing: -.035em; margin: 25px 0 16px; }
.sg-story p { font-size: 14px; color: #aaa3b1; }
.sg-story-arrow { position: absolute; top: 42px; right: 0; font-size: 30px; color: #ff6688; }
.sg-story:hover h3 { color: #ff6688; }
.sg-contact { background: #b91538; padding: 60px 0; }
.sg-contact-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 64px; align-items: center; }
.sg-contact .sg-small-label { color: #ffe1e8; font-size: 9px; }
.sg-contact h2 { font-size: clamp(38px,4.3vw,62px); line-height: 1.06; letter-spacing: -.05em; margin-top: 23px; color: #fff8f4; }
.sg-contact h2 em { color: #fff8f4; }
.sg-contact-intro { max-width: 480px; color: #ffe7ec; font-size: 14px; line-height: 1.8; margin-top: 22px; }
.sg-contact-details { border-left: 1px solid #ffffff40; padding-left: 44px; }
.sg-contact-email { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 0; border-bottom: 1px solid #ffffff80; color: #fff8f4; font-size: clamp(19px,2vw,28px); font-weight: 650; letter-spacing: -.025em; }
.sg-contact-email:hover { color: #fff; border-bottom-color: #fff; }
.sg-contact-email>span { font-weight: 400; }
.sg-contact-topics { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; margin: 20px 0 18px; color: #ffe7ec; font-size: 11px; }
.sg-contact-topics li:before { content: '+'; padding-right: 7px; }
.sg-contact-details .sg-link { color: #fff8f4; font-size: 12px; }
body[data-site-kind=studio] .sg-contact :focus-visible { outline-color: #fff8f4; }
body[data-site-kind=studio] .zix-network { --zix-bg: #101013; --zix-line: #ffffff24; --zix-muted: #b3aeb9; background: #101013; border: none; padding: 44px 56px; }
body[data-site-kind=studio] .zix-inner { max-width: 1320px; display: grid; grid-template-columns: .8fr 1.2fr; column-gap: 55px; }
body[data-site-kind=studio] .zix-network .zix-links { grid-column: 1; grid-row: 2; border: 0; padding: 0; margin: 16px 0 0; gap: 24px; font-size: 12px; }
body[data-site-kind=studio] .zix-network .zix-heading { grid-column: 1; grid-row: 1; margin: 0; }
body[data-site-kind=studio] .zix-network .zix-heading h2 { font-size: 27px; }
body[data-site-kind=studio] .zix-network .zix-heading>p { font-size: 13px; }
body[data-site-kind=studio] .zix-network .zix-heading .zix-eyebrow { font-size: 9px; }
body[data-site-kind=studio] .zix-network .zix-grid { grid-column: 2; grid-row: 1/3; grid-template-columns: 1fr 1fr; gap: 28px; align-self: center; }
body[data-site-kind=studio] .zix-network .zix-card { border: none; border-left: 1px solid #ffffff24; padding: 0 0 0 24px; border-radius: 0; }
body[data-site-kind=studio] .zix-network .zix-card h3 { font-size: 16px; }
body[data-site-kind=studio] .zix-network .zix-card p { font-size: 12px; }
body[data-site-kind=studio] .zix-network .zix-status { font-size: 10px; color: #b3aeb9; }
.sg-footer { background: #08080a; padding: 42px 0 26px; border-top: 1px solid #ffffff1f; }
.sg-footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start; }
.sg-footer-top>p { font-size: 14px; color: #a9a1ad; }
.sg-footer-top>nav { display: flex; flex-direction: column; align-items: end; gap: 14px; font-size: 12px; color: #b3aeb9; }
.sg-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; color: #948b9c; font-size: 8px; }
body[data-site-kind=studio] .zix-page, body[data-site-kind=studio] .editorial { padding-block: 90px; }
body[data-site-kind=studio] .editorial h1 { max-width: 740px; }
@media (min-width: 1600px) {
  .sg-hero-copy { padding-block: 88px 80px; }
  .sg-hero h1 { font-size: 116px; }
}
@media (max-width: 1100px) {
  body[data-site-kind=studio] .wrap { width: calc(100% - 64px); }
  .sg-hero h1 { font-size: clamp(60px, 7.8vw, 87px); }
  .sg-about-grid, .sg-craft-heading, .sg-journal-grid { gap: 45px; }
  .sg-practice { grid-template-columns: 1fr; gap: 28px; }
  .sg-practice-intro h3 br { display: none; }
  .sg-practice-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 30px; }
  .sg-practice-route { display: none; }
  .sg-studio-values { grid-template-columns: 1fr; gap: 18px; }
  .sg-about-art { margin-top: 30px; }
  .sg-engine-workbench { gap: 24px; }
  .sg-engine-panels { padding: 26px; }
  .sg-engine-panel { gap: 18px; }
  .sg-engine-control { padding-inline: 12px; gap: 12px; }
}
@media (max-width: 760px) {
  body[data-site-kind=studio] .wrap { width: calc(100% - 40px); }
  body[data-site-kind=studio] { --sg-header-height: 74px; }
  body[data-site-kind=studio] .desktop-nav { display: none; }
  body[data-site-kind=studio] .mobile-menu { display: block; }
  .sg-hero-grid { grid-template-columns: 1fr; }
  .sg-hero-copy { padding: 48px 0 0; }
  .sg-hero h1 { font-size: clamp(58px, 12.3vw, 92px); margin: 28px 0; }
  .sg-hero-intro { font-size: 15px; max-width: 460px; }
  .sg-hero .actions { gap: 23px; }
  .sg-hero-foot { flex-direction: column; gap: 9px; padding-block: 20px; font-size: 8px; }
  .sg-hero-foot a>b { padding-inline: 10px; }
  .sg-hero-foot a>span { padding-left: 10px; }
  .sg-about, .sg-project, .sg-craft, .sg-journal { padding-block: 48px 56px; }
  .sg-section-label { font-size: 8px; padding-bottom: 19px; }
  .sg-section-label>span:last-child { max-width: 160px; text-align: right; }
  .sg-about-grid, .sg-craft-heading, .sg-journal-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 38px; }
  .sg-about h2, .sg-craft h2, .sg-journal h2 { font-size: clamp(39px, 8.5vw, 52px); }
  .sg-about-copy .sg-lead { font-size: 21px; }
  .sg-about-copy>p { font-size: 14px; }
  .sg-practice { margin-top: 40px; }
  .sg-practice-intro { display: block; }
  .sg-practice-intro h3 { margin-top: 12px; }
  .sg-practice-intro h3 br { display: initial; }
  .sg-practice ol { grid-template-columns: 1fr; gap: 22px; }
  .sg-about-art { max-width: 380px; margin-top: 18px; }
  .sg-studio-values { grid-template-columns: 1fr 1fr; gap: 20px; }
  .sg-studio-values li { flex-direction: column; gap: 10px; }
  .sg-about-copy .sg-link { margin-top: 24px; }
  .sg-practice li { display: grid; grid-template-columns: 68px 1fr; column-gap: 22px; border-left: 0; border-bottom: 1px solid #17171920; padding: 0 0 24px; }
  .sg-practice-art { grid-row: 1/3; display: flex; flex-direction: column; align-items: center; justify-content: start; gap: 8px; }
  .sg-practice-art>span { padding-top: 0; font-size: 7px; }
  .sg-practice li>h3 { margin: 2px 0 9px; font-size: 19px; }
  .sg-practice li>p { grid-column: 2; }
  .sg-practice li:last-child { border-bottom: 0; padding-bottom: 0; }
  .sg-craft-heading { padding: 0 0 30px; }
  .sg-craft-heading>p { font-size: 14px; }
  .sg-engine-workbench { grid-template-columns: 1fr; gap: 24px; padding-top: 16px; }
  .sg-engine-controls { padding: 0; }
  .sg-engine-control { padding: 18px 14px; font-size: 26px; }
  .sg-engine-name small { margin-top: 5px; }
  .sg-engine-panels { padding: 22px 24px 28px; }
  .sg-engine-panel { grid-template-columns: 1fr; gap: 12px; min-height: 0; }
  .sg-engine-illustration { width: min(250px,100%); margin-inline: auto; }
  .sg-engine-panel h3 { font-size: 30px; }
  .sg-craft-note { text-align: left; font-size: 11px; }
  .sg-project-feature { grid-template-columns: 1fr; gap: 24px; margin-top: 26px; }
  .sg-project-copy h2 { font-size: 46px; margin-top: 18px; }
  .sg-project-lead { font-size: 21px; }
  .sg-project-copy .sg-link { margin-top: 14px; }
  .sg-story { padding-right: 35px; }
  .sg-story>div { font-size: 8px; }
  .sg-story h3 { font-size: 24px; }
  .sg-story p { font-size: 13px; }
  .sg-contact { padding-block: 44px; }
  .sg-contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .sg-contact h2 { font-size: clamp(35px,8.8vw,50px); margin-top: 20px; }
  .sg-contact-intro { margin-top: 18px; }
  .sg-contact-details { padding: 24px 0 0; border-left: 0; border-top: 1px solid #ffffff40; }
  .sg-contact-email { font-size: clamp(20px,5.7vw,28px); }
  body[data-site-kind=studio] .zix-network { padding: 34px 20px; }
  body[data-site-kind=studio] .zix-inner { grid-template-columns: 1fr; gap: 28px; }
  body[data-site-kind=studio] .zix-network .zix-links { grid-row: 3; margin: 0; gap: 20px; }
  body[data-site-kind=studio] .zix-network .zix-grid { grid-column: 1; grid-row: 2; gap: 24px; }
  body[data-site-kind=studio] .zix-network .zix-card { padding-left: 16px; }
  .sg-footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .sg-footer-top>p { grid-column: 1; font-size: 12px; }
  .sg-footer-top>nav { grid-column: 2; grid-row: 1/3; font-size: 11px; gap: 18px; }
  .sg-footer-bottom { font-size: 7px; margin-top: 32px; }
}
@media (max-width: 350px) {
  .sg-hero h1 { font-size: 51px; }
  .sg-hero .actions { gap: 16px; }
  .sg-button { padding: 14px 16px; gap: 18px; font-size: 12px; }
  .sg-link { font-size: 12px; }
  .sg-contact h2 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .sg-button { transition: none; }
}

/* Motion stays decorative: content is visible before JavaScript runs. */
.sg-hero-line { display: block; }
.sg-button, .sg-link { transition: color .2s, background .2s, transform .25s; }
.sg-button>span, .sg-link>span, .sg-story-arrow { transition: transform .3s; }
.sg-button:hover>span, .sg-link:hover>span { transform: translate(3px,-3px); }
.sg-story:hover .sg-story-arrow { transform: translate(4px,-4px); }
body[data-site-kind=studio] .desktop-nav a { position: relative; }
body[data-site-kind=studio] .desktop-nav a:not(:last-child):after { content: ''; position: absolute; bottom: 6px; left: 0; width: 100%; height: 1px; background: #e11d48; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
body[data-site-kind=studio] .desktop-nav a:hover:after { transform: scaleX(1); }
.sg-world { background: #08080a; overflow: hidden; }
.sg-world-scene { position: relative; min-height: 540px; height: min(670px, 49vw); overflow: hidden; }
.sg-world-scene>img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; animation: sg-world-drift 20s ease-in-out infinite alternate; }
.sg-world-shade { position: absolute; inset: 0; background: linear-gradient(90deg,#08080aa6 0%,#08080a55 40%,transparent 72%),linear-gradient(0deg,#08080a66,transparent 45%); }
.sg-world-copy { position: relative; height: 100%; min-height: inherit; display: flex; flex-direction: column; justify-content: center; align-items: start; padding-block: 60px; }
.sg-world-copy .sg-small-label { color: #e5dfe1; font-size: 9px; }
.sg-world-copy h2 { color: #f8f5f3; font-size: clamp(52px,5.8vw,84px); font-weight: 750; letter-spacing: -.055em; line-height: 1.02; margin-top: 24px; }
.sg-world-copy .sg-world-intro { max-width: 420px; margin-top: 24px; color: #e0dadd; font-size: 15px; line-height: 1.8; }
.sg-world-copy .sg-link { margin-top: 27px; color: #f8f5f3; }
.sg-world-copy em { color: #ff6889; }
.sg-world figcaption { padding: 20px 56px; display: flex; justify-content: space-between; gap: 20px; color: #aca4af; font: 9px/1.7 var(--mono); text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid #ffffff24; }
.sg-world figcaption>span:first-child { color: #ece6ed; }
.sg-engine-panel { position: relative; }
.sg-contact { position: relative; isolation: isolate; overflow: hidden; }
.sg-contact>.wrap { position: relative; z-index: 1; }
.sg-contact-orbit { position: absolute; width: 360px; height: 360px; right: -110px; top: -130px; opacity: .5; pointer-events: none; animation: sg-orbit 60s linear infinite; }
.sg-contact-orbit span { position: absolute; inset: 0; border: 1px solid #250b1338; border-radius: 50%; }
.sg-contact-orbit span:nth-child(2) { transform: scaleX(.5) rotate(35deg); }
.sg-contact-orbit span:nth-child(3) { transform: scaleX(.5) rotate(-35deg); }
.sg-contact-orbit:after { content: ''; position: absolute; width: 16px; height: 16px; border: 1px solid #250b1380; background: #d81943; top: 73px; right: 74px; transform: rotate(45deg); }
html[data-studio-motion=on] [data-in-view=false] *, html[data-studio-background=true] body * { animation-play-state: paused !important; }
html[data-studio-motion=off] { scroll-behavior: auto; }
html[data-studio-motion=off] body[data-site-kind=studio] *, html[data-studio-motion=off] body[data-site-kind=studio] *:after { transition: none; }
@keyframes sg-orbit { to { transform: rotate(360deg); } }
@keyframes sg-world-drift { from { transform: scale(1.03) translateX(-.5%); } to { transform: scale(1.10) translateX(.5%); } }
@media (max-width:760px) {
  .sg-world-scene { height: 610px; }
  .sg-world-scene>img { object-position: 90% center; }
  .sg-world-shade { background: linear-gradient(0deg,#08080aee 0%,#08080aaa 44%,#08080a18 85%); }
  .sg-world-copy { justify-content: end; padding-block: 42px; }
  .sg-world-copy h2 { font-size: clamp(42px,11.5vw,66px); margin-top: 20px; }
  .sg-world-copy .sg-world-intro { max-width: 400px; margin-top: 20px; font-size: 14px; line-height: 1.75; }
  .sg-world-copy .sg-link { margin-top: 22px; }
  .sg-world-copy .sg-small-label { font-size: 8px; }
  .sg-world figcaption { padding: 18px 20px; font-size: 8px; flex-direction: column; gap: 5px; }
  .sg-contact-orbit { right: -230px; top: -60px; }
  .sg-footer { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .sg-motion-layer * { animation: none !important; }
}

/* A real video, with a first-frame poster behind it at every loading stage. */
.sg-hero { position: relative; isolation: isolate; }
.sg-hero-background { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #08080a; }
.sg-hero-poster, .sg-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.sg-hero-video { opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.sg-hero-video[data-ready=true] { opacity: 1; }
.sg-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg,#08080af5 0%,#08080ada 30%,#08080a70 52%,#08080a18 78%),linear-gradient(0deg,#08080af0 0%,transparent 27%,transparent 80%,#08080a44 100%); }
.sg-hero-copy { padding-block: 88px 100px; }
.sg-hero h1 em { color: #ff4c76; }
.sg-hero-intro { color: #d3cbd0; }
.sg-hero-art-note { align-self: end; justify-self: end; margin: 0 0 34px; color: #e4d9de; font: 8px/1.7 var(--mono); letter-spacing: .13em; }
.sg-hero-foot { position: relative; color: #bbb1bb; border-top-color: #ffffff38; }
.sg-hero-foot a { color: #eee5ec; }
.sg-world-scene>img, .sg-contact-orbit { animation-play-state: paused; }
html[data-studio-motion=on] :is(.sg-world-scene>img,.sg-contact-orbit,.sg-about-art img,.sg-engine-illustration img) { animation-play-state: running; }
@media (min-width:1600px) { .sg-hero-copy { padding-block: 110px 125px; } }
@media (max-width:760px) {
  .sg-hero-copy { padding-block: 72px 100px; }
  .sg-hero-poster, .sg-hero-video { object-position: 64% center; }
  .sg-hero-shade { background: linear-gradient(90deg,#08080aeb 0%,#08080ab0 55%,#08080a66 100%),linear-gradient(0deg,#08080aee 0%,transparent 35%); }
  .sg-hero-art-note { justify-self: start; margin-bottom: 24px; font-size: 7px; }
  .sg-hero-intro { max-width: 430px; }
}
@media (prefers-reduced-motion: reduce) { .sg-hero-video { display: none; } }
