:root {
  --cream: #fcf7f1;
  --ink: #102039;
  --muted: #39465b;
  --berry: #ec416a;
  --line: #e7dcd6;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 15px/1.4 Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid #345c94; outline-offset: 5px; }
.container { width: min(1180px, 91%); margin-inline: auto; }
.eyebrow { color: #dc2855; text-transform: uppercase; letter-spacing: .09em; font-size: 13px; margin: 0 0 8px; }
h1, h2 { font-family: var(--serif); letter-spacing: -.045em; font-weight: 500; }
h2 { font-size: clamp(30px, 3.35vw, 43px); line-height: 1; margin: 0 0 14px; }
p { margin: 0 0 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 41px; padding: 9px 20px; border: 1px solid var(--berry); border-radius: 99px; background: var(--berry); color: white; font-size: 13px; font-weight: 600; }
.button:hover { background: #cf2e57; }
.button.outline { color: var(--ink); border-color: var(--ink); background: #fff9; }
.site-header { position: relative; z-index: 5; background: #fcf7f1ef; }
.nav { height: 105px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { width: 220px; flex-shrink: 0; }
.brand img { width: 100%; height: 89px; object-fit: contain; }
.nav-links { display: flex; gap: 26px; align-items: center; font-size: 13px; }
.nav-links a { padding-block: 10px; }
.nav-links .active { border-bottom: 2px solid var(--berry); }
.nav-cta { white-space: nowrap; }
.menu-toggle { display: none; }
.hero { background: linear-gradient(90deg,#fcf7f1f5 0%,#fcf7f1ea 28%,#fcf7f170 43%,transparent 65%),url('images/studio-hero-background.webp') center/cover; overflow: hidden; }
.hero-inner { min-height: 510px; position: relative; }
.hero-copy { width: 36%; position: relative; z-index: 2; padding: 28px 0 38px; }
.hero h1 { font-size: clamp(42px,5.1vw,68px); line-height: .96; margin: 12px 0 22px; }
.hero h1 em { color: var(--berry); font-style: normal; }
.hero-lead { font-size: 14px; line-height: 1.45; }
.hero-actions { display: flex; gap: 10px; margin-top: 24px; }
.hero-actions .button { padding-inline: 16px; font-size: 12px; white-space: nowrap; }
.hero-values { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 34px; text-align: center; font-size: 11px; }
.line-icon { display: block; margin: 0 auto 8px; width: 30px; height: 30px; }
.icon { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.hero-values > div:nth-child(2) { color: var(--berry); }
.hero-values > div:nth-child(2) span { color: var(--ink); }
.product-stage { position: absolute; right: 1%; bottom: 28px; z-index: 1; width: 62%; height: 450px; isolation: isolate; }
.hero-box { --contact: 0%; position: absolute; height: auto; margin: 0; transform-origin: center bottom; }
.hero-box::after { content: ""; position: absolute; left: 5%; right: 1%; bottom: var(--contact); z-index: 0; height: clamp(8px,1.1vw,15px); border-radius: 50%; background: radial-gradient(ellipse at center,rgba(54,31,20,.52) 0%,rgba(70,42,27,.3) 43%,rgba(87,55,36,0) 76%); filter: blur(4px); transform: translate(5%,42%) skewX(-12deg); }
.hero-box img { position: relative; z-index: 1; width: 100%; height: auto; object-fit: contain; object-position: bottom; filter: drop-shadow(3px 8px 7px rgba(57,34,23,.2)); }
.hero-box.ecotiles { left: 4%; bottom: 70px; width: 24%; z-index: 1; }
.hero-box.alicia { --contact: 3.2%; left: 28%; bottom: 72px; width: 29%; z-index: 2; }
.hero-box.tanzaku { left: 59%; bottom: 66px; width: 21%; z-index: 1; }
.hero-box.dulce { --contact: 1.6%; left: 19%; bottom: 0; width: 21%; z-index: 4; }
.hero-box.marchando { --contact: .4%; left: 43%; bottom: 0; width: 33%; z-index: 5; }
.hero-box.chapuzon { left: 78%; bottom: 0; width: 13%; z-index: 6; }
.spark { position: absolute; right: 2%; top: 25px; font: italic 19px/1.35 var(--serif); text-align: center; transform: rotate(-7deg); }
.section { padding: 26px 0; }
.games-section > .container { display: grid; grid-template-columns: 35% 1fr; gap: 28px; align-items: center; }
.games-intro p:not(.eyebrow) { font-size: 14px; color: var(--muted); }
.games-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.game-card { border-radius: 12px; overflow: hidden; background: #fff9; box-shadow: 0 5px 16px #5f3e3910; }
.game-visual { height: 185px; display: flex; justify-content: center; align-items: flex-end; padding: 10px 12px 0; background: linear-gradient(130deg,#ffedf0,#fffaf6); }
.game-card:nth-child(2) .game-visual { background: linear-gradient(130deg,#edf4ed,#fffaf6); }
.game-card:nth-child(3) .game-visual { background: linear-gradient(130deg,#edf7ff,#fffaf6); }
.game-card:nth-child(4) .game-visual { background: linear-gradient(130deg,#fff0df,#fffaf6); }
.game-card:nth-child(5) .game-visual { background: linear-gradient(130deg,#eaf6e6,#fffaf6); }
.game-card:nth-child(6) .game-visual { background: linear-gradient(130deg,#eef4f6,#fff9f4); }
.game-visual img { height: 100%; width: 100%; object-fit: contain; object-position: center bottom; }
.game-card.compact .game-visual img { height: 70%; width: 75%; }
.game-card.landscape .game-visual img { height: auto; width: 100%; align-self: center; }
.game-copy { padding: 12px 15px 15px; }
.game-copy h3 { font-size: 15px; margin: 0 0 5px; }
.game-copy p { font-size: 12px; line-height: 1.3; min-height: 47px; margin-bottom: 9px; }
.game-copy a { color: #d62c57; font-size: 13px; }
.studio-grid { display: grid; grid-template-columns: 37% 35% 28%; align-items: stretch; }
.studio-copy { padding: 12px 34px 12px 0; }
.studio-copy > p:not(.eyebrow) { font-size: 14px; color: var(--muted); }
.studio-copy blockquote { margin: 24px 0 0; color: #e93360; font: italic 23px/1.3 var(--serif); transform: rotate(-3deg); }
.studio-copy cite { display: block; margin-top: 10px; text-align: center; font: 11px Arial,sans-serif; letter-spacing: .12em; }
.studio-photo { min-height: 350px; position: relative; overflow: hidden; border-radius: 9px 0 0 9px; }
/* The photo and banner are windows onto the approved artwork. All page copy is HTML. */
.studio-photo::before { content: ""; position: absolute; inset: 0; background-image: url('images/studio-approved-reference.webp'); background-size: 315.08% 526.03%; background-position: 56.8% 62.86%; }
.values { padding: 24px 24px; background: #fce8ec; display: grid; gap: 20px; align-content: center; border-radius: 0 9px 9px 0; }
.value { display: grid; grid-template-columns: 40px 1fr; gap: 15px; align-items: start; }
.value b { height: 36px; width: 36px; color: var(--berry); font-weight: normal; }
.value span { font-size: 12px; line-height: 1.4; }
.value strong { display: block; font-size: 13px; margin-bottom: 5px; }
.process-grid { display: grid; grid-template-columns: 35% 1fr; gap: 34px; align-items: center; }
.process-copy p:not(.eyebrow) { font-size: 14px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.step { position: relative; }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 40px; color: var(--berry); font-size: 23px; }
.step i { display: grid; place-items: center; height: 95px; width: 95px; border-radius: 50%; margin-bottom: 12px; color: #ee990c; background: #fff0df; }
.step i .icon { width: 57px; height: 57px; }
.step:nth-child(2) i { background: #f6eae4; color: #755748; }
.step:nth-child(3) i { background: #edf5ec; color: #279e76; }
.step:nth-child(4) i { background: #ffedf0; color: var(--berry); }
.step strong { font-size: 14px; }
.step p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.closing { position: relative; width: 100%; min-width: 0; overflow: hidden; aspect-ratio: 1024/147; background: url('images/studio-approved-reference.webp') center 91.86%/100% auto; display: grid; align-items: center; }
.closing .container { width: 44%; margin-left: 30%; align-self: stretch; display: grid; place-items: center; background: linear-gradient(90deg,transparent,#f6e4d5 12%,#f6e4d5 88%,transparent); }
.closing blockquote { margin: 0; padding: 12px 0; text-align: center; font: 28px/1.08 var(--serif); letter-spacing: -.03em; }
.closing cite { display: block; font: 10px Arial,sans-serif; letter-spacing: .16em; margin-top: 12px; }
.closing .heart { display: block; color: var(--berry); font-size: 23px; margin-top: 6px; }
.universe-footer { position: relative; overflow: hidden; padding: 30px clamp(28px,4.5vw,64px) 25px; background: linear-gradient(#fff,#fffdfa); color: var(--ink); }
.universe-footer::before,.universe-footer::after { content: ""; position: absolute; bottom: -35px; width: 120px; height: 155px; border-radius: 60% 40% 0 0; background: linear-gradient(135deg,#b9d8ad,#5f9b68); opacity: .28; }
.universe-footer::before { left: -45px; transform: rotate(22deg); }
.universe-footer::after { right: -45px; transform: rotate(-22deg); }
.universe-footer-top { position: relative; z-index: 2; display: grid; grid-template-columns: 230px 1fr 250px; align-items: center; gap: 24px; padding-bottom: 23px; border-bottom: 1px solid #e8e4dd; }
.universe-footer-intro h2 { margin: 0; font: 700 35px/1.05 var(--serif); letter-spacing: -.04em; }
.universe-footer-intro p { margin: 7px 0 0; font-size: 14px; }
.universe-worlds { display: grid; grid-template-columns: repeat(5,1fr); gap: 9px; }
.universe-worlds a { display: grid; min-height: 92px; place-items: center; border-radius: 17px; transition: transform .18s,background .18s; }
.universe-worlds a:hover { transform: translateY(-3px); background: #fff4f6; }
.universe-worlds a.current { background: #fff0f3; }
.universe-worlds img { display: block; width: 100%; max-width: 118px; height: 90px; object-fit: contain; }
.universe-socials { display: flex; align-items: center; justify-content: center; gap: 15px; border-left: 1px solid #e8e4dd; }
.universe-socials a { display: grid; width: 34px; height: 34px; place-items: center; color: #2d8a65; font-size: 26px; font-weight: 900; }
.universe-footer-bottom { position: relative; z-index: 2; display: grid; grid-template-columns: 280px 1fr 330px; align-items: center; gap: 20px; padding-top: 19px; font-size: 11px; }
.universe-signature { display: flex; align-items: center; gap: 14px; }
.universe-signature img { display: block; width: 112px; height: 88px; object-fit: contain; }
.universe-signature p { margin: 0; font-size: 10px; }
.universe-footer-bottom>nav,.universe-legal nav { display: flex; align-items: center; justify-content: center; gap: 15px; flex-wrap: wrap; }
.universe-legal { text-align: right; }
.universe-legal p { margin: 0 0 8px; }
.universe-legal nav { justify-content: flex-end; }
dialog { width: min(650px,calc(100% - 32px)); border: 1px solid var(--line); border-radius: 18px; padding: 30px; background: var(--cream); color: var(--ink); max-height: 85vh; }
dialog::backdrop { background: #10203985; backdrop-filter: blur(4px); }
dialog img { width: 170px; max-height: 210px; object-fit: contain; margin: 0 auto 20px; }
dialog h2 { font-size: 32px; margin-right: 22px; }
.dialog-close { position: absolute; right: 12px; top: 10px; border: 0; background: none; font-size: 30px; }
dialog p { line-height: 1.6; }
@media(min-width:1400px) { .hero-inner { min-height: 550px; } .product-stage { bottom: 30px; } }
@media(max-width:1050px) {
  .nav { gap: 14px; height: 90px; } .brand { width: 185px; } .nav-links { gap: 16px; } .nav-cta { font-size: 11px; padding-inline: 12px; }
  .hero-inner { min-height: 480px; } .hero-copy { width: 38%; } .hero-actions { flex-wrap: wrap; margin-top: 16px; } .hero-values { margin-top: 24px; }
  .product-stage { width: 60%; height: 420px; bottom: 26px; } .hero h1 { font-size: 51px; }
  .games-section > .container { grid-template-columns: 34% 1fr; gap: 18px; } .game-visual { height: 153px; } .game-copy { padding: 10px; } .game-copy h3 { font-size: 13px; }
  .studio-copy { padding-right: 22px; } .values { padding: 20px 15px; } .value { gap: 9px; grid-template-columns: 32px 1fr; } .value b { width: 29px; }
  .step i { width: 77px; height: 77px; } .steps { gap: 16px; } .step:not(:last-child)::after { right: -13px; top: 28px; }
  .universe-footer-top { grid-template-columns: 190px 1fr 210px; } .universe-footer-bottom { grid-template-columns: 220px 1fr 280px; } .closing blockquote { font-size: 25px; }
}
@media(max-width:850px) {
  .nav-cta { display: none; } .hero-copy { width: 47%; } .hero h1 { font-size: 49px; } .product-stage { width: 54%; height: 395px; bottom: 24px; } .spark { font-size: 16px; }
  .hero-inner { min-height: 540px; } .hero-values { font-size: 10px; }
  .games-section > .container { display: block; } .games-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 20px; }
  .game-visual { height: 190px; } .game-copy p { min-height: 47px; } .studio-grid { grid-template-columns: 1fr 1fr; }
  .studio-copy { grid-column: 1 / -1; padding: 0 0 24px; max-width: 650px; } .studio-copy blockquote { margin-top: 18px; } .studio-copy cite { text-align: left; } .studio-photo { min-height: 335px; }
  .process-grid { grid-template-columns: 1fr; gap: 15px; } .process-copy { max-width: 620px; } .steps { gap: 32px; } .step:not(:last-child)::after { right: -19px; }
  .closing { min-height: 170px; aspect-ratio: auto; background-size: auto 1044.9%; } .closing .container { width: 52%; margin-left: 25%; } .closing blockquote { font-size: 24px; }
  .universe-footer-top { grid-template-columns: 1fr; text-align: center; } .universe-socials { border-left: 0; } .universe-footer-bottom { display: flex; flex-direction: column; text-align: center; } .universe-legal { text-align: center; } .universe-legal nav { justify-content: center; }
}
@media(max-width:600px) {
  .container { width: calc(100% - 36px); } .nav { height: 78px; } .brand { width: 168px; } .brand img { height: 70px; }
  .menu-toggle { display: block; border: 1px solid var(--line); border-radius: 50%; width: 40px; height: 40px; background: transparent; color: var(--ink); font-size: 23px; }
  .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 18px; background: var(--cream); box-shadow: 0 12px 20px #10203918; }
  .menu-open .nav-links { display: flex; flex-direction: column; gap: 4px; align-items: stretch; } .nav-links a { padding: 10px; }
  .hero { background: linear-gradient(180deg,#fcf7f1f5 0%,#fcf7f1e8 43%,#fcf7f140 72%,transparent),url('images/studio-hero-background.webp') 67% center/cover; }
  .hero-inner { min-height: 0; padding-bottom: 24px; } .hero-copy { width: 100%; padding-top: 22px; padding-bottom: 0; }
  .hero h1 { font-size: clamp(43px,11.8vw,64px); max-width: 440px; margin: 10px 0 18px; }
  .hero-lead { font-size: 14px; max-width: 440px; } .hero-actions { flex-wrap: nowrap; gap: 8px; }
  .hero-actions .button { font-size: 11px; padding-inline: 12px; white-space: normal; text-align: center; }
  .hero-values { margin-top: 24px; gap: 8px; font-size: 10px; } .spark { display: none; }
  .product-stage { position: relative; width: 100%; right: auto; bottom: auto; height: clamp(300px,86vw,370px); margin-top: 24px; }
  .hero-box.ecotiles { left: 2%; bottom: 86px; width: 26%; }
  .hero-box.alicia { left: 29%; bottom: 82px; width: 31%; }
  .hero-box.tanzaku { left: 64%; bottom: 82px; width: 23%; }
  .hero-box.dulce { left: 14%; width: 22%; }
  .hero-box.marchando { left: 39%; width: 38%; }
  .hero-box.chapuzon { left: 79%; width: 17%; }
  .section { padding: 27px 0; } h2 { font-size: 34px; } .games-intro { display: block; } .games-grid { grid-template-columns: 1fr; gap: 17px; }
  .game-card { display: grid; grid-template-columns: 43% 1fr; } .game-visual { height: 192px; padding: 12px 8px; } .game-copy { align-self: center; padding: 14px; }
  .game-copy h3 { font-size: 16px; } .game-copy p { min-height: 0; font-size: 13px; margin-bottom: 14px; } .game-card.compact .game-visual img { height: 73%; align-self: center; } .game-card.landscape .game-visual img { width: 96%; }
  .studio-grid { grid-template-columns: 1fr; } .studio-copy { padding-bottom: 24px; } .studio-photo { min-height: 0; aspect-ratio: 325/292; border-radius: 9px 9px 0 0; }
  .values { border-radius: 0 0 9px 9px; padding: 26px; gap: 23px; } .value { grid-template-columns: 38px 1fr; gap: 15px; } .value strong { font-size: 14px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px; } .step:nth-child(2)::after { display: none; } .step i { width: 85px; height: 85px; }
  .closing { min-height: 0; aspect-ratio: auto; padding-top: 148px; background-image: none; background-color: #f5e7dc; }
  .closing::before, .closing::after { content: ""; position: absolute; top: 0; width: 50%; height: 148px; background-image: url('images/studio-approved-reference.webp'); background-size: 1024px 1536px; background-repeat: no-repeat; }
  .closing::before { left: 0; background-position: left -1276px; }
  .closing::after { right: 0; background-position: right -1276px; }
  .closing .container { position: relative; z-index: 1; width: 100%; margin: 0; padding: 20px 18px; background: #fcf3e9; } .closing blockquote { font-size: 27px; padding: 0; }
  .universe-footer { padding: 28px 14px 22px; } .universe-footer-intro h2 { font-size: 32px; } .universe-worlds { grid-template-columns: repeat(6,1fr); gap: 4px; } .universe-worlds a { grid-column: span 2; } .universe-worlds a:nth-child(4) { grid-column: 2/span 2; } .universe-worlds a:nth-child(5) { grid-column: 4/span 2; } .universe-worlds img { height: 82px; } .universe-footer-bottom>nav { gap: 10px 15px; } .universe-signature { flex-direction: column; } .universe-signature img { width: 128px; height: 100px; } .universe-signature p { margin-top: 5px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }

.spark { padding: 7px 12px; border-radius: 10px; background: #fcf7f1b8; }
@media (min-width:1051px) { .hero-actions { flex-wrap: wrap; } }
