:root {
  color-scheme: light;
  --white: #fcfdfe;
  --ink: #172337;
  --blue: #526ddf;
  --muted: #68778c;
  --line: #e2e7ee;
  --sky: #d8eff8;
  --pale: #f4f7fb;
  --gutter: clamp(24px, 6vw, 96px);
  --body-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --legal-font: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body-font); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 4px; }
section:focus, main:focus { outline: none; }
::selection { color: var(--ink); background: #dae2ff; }
.container { width: min(1440px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.eyebrow { color: var(--blue); font-size: 10px; font-weight: 500; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase; }
.numeric { font-variant-numeric: tabular-nums; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px 18px; border-radius: 6px; background: var(--ink); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.arrow { display: inline-block; font-family: Arial, sans-serif; font-size: 24px; line-height: 1; font-weight: 400; transition: transform .22s ease; }
.text-link { display: inline-flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; line-height: 1.5; }
.text-link:hover .arrow, .button:hover .arrow { transform: translate(2px, -2px); }
.blue-link { color: var(--blue); }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 10px 24px; gap: 30px; border-radius: 30px; font-size: 14px; font-weight: 600; line-height: 1.4; transition: background-color .22s ease; }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: #2a3c58; }

.site-header { display: flex; justify-content: space-between; align-items: center; gap: 36px; position: relative; padding-block: 37px; }
.brand { flex: 0 0 auto; }
.brand img { width: 176px; height: auto; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(36px, 4.25vw, 68px); font-size: 15px; line-height: 1.5; }
.main-nav > a:not(.button) { transition: color .2s ease; }
.main-nav > a:not(.button):hover { color: var(--blue); }
.nav-contact { min-width: 180px; margin-left: clamp(30px, 6vw, 94px); }
.menu-toggle { display: none; }

.hero { padding-top: 59px; }
.hero > .eyebrow { font-size: 11px; }
.hero-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 70px; align-items: center; margin-top: 27px; }
.hero h1 { font-size: clamp(58px, 6.25vw, 100px); font-weight: 700; letter-spacing: -.045em; line-height: 1.24; }
.hero-intro { max-width: 380px; padding-top: 5px; }
.hero-intro > p { font-size: clamp(18px, 1.32vw, 21px); line-height: 1.6; }
.hero-intro .text-link { margin-top: 58px; gap: 52px; font-size: 15px; }

.project { margin-top: 80px; padding-bottom: 121px; }
.project-panel { overflow: hidden; padding: 30px 40px 15px; border-radius: 26px; background: var(--sky); }
.project-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.game-identity { display: flex; align-items: center; gap: 16px; }
.game-icon { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px; }
.game-identity p { font-size: 23px; font-weight: 600; line-height: 1.4; }
.project-role { margin-right: 8%; color: #476f89; font-size: 12px; line-height: 1.5; }
.game-artwork { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 6.4%; margin-top: 39px; }
.game-key-art { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.game-screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 14%; padding: 0 7px 21px; }
.game-screen { width: 100%; padding: 7px; border-radius: 18px; background: #fff; box-shadow: 0 20px 35px -15px rgb(60 97 128 / 18%); }
.game-screen img { width: 100%; aspect-ratio: 9 / 16; border-radius: 11px; object-fit: cover; }
.game-screen-first { transform: translateY(-6px) rotate(-3deg); }
.game-screen-second { transform: translateY(12px) rotate(3deg); }
.project-caption { display: flex; justify-content: space-between; align-items: flex-start; gap: 36px; margin-top: 29px; }
.project-caption h2 { font-size: 23px; font-weight: 600; line-height: 1.5; }
.project-caption > div > p { margin-top: 9px; color: var(--muted); font-size: 16px; }
.project-stores { flex: 0 0 auto; padding-top: 5px; }
.store-links { display: flex; align-items: center; gap: 31px; }
.store-links .text-link { gap: 23px; }
.project-stores .platforms { margin-top: 13px; text-align: right; color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }

.section-tint { background: var(--pale); }
.expertise { padding-block: 60px 94px; }
.section-heading-row { display: flex; justify-content: space-between; gap: 72px; align-items: center; margin-top: 30px; }
.display-heading { font-size: clamp(42px, 3.8vw, 60px); font-weight: 700; line-height: 1.22; letter-spacing: -.04em; }
.section-description { max-width: 435px; padding-top: 2px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px; margin-top: 78px; }
.service { position: relative; border-top: 1px solid #d6dfea; padding-top: 30px; }
.service::before { content: ""; position: absolute; top: -2px; left: 0; width: 40px; height: 3px; background: var(--blue); }
.service h3 { font-size: 32px; font-weight: 600; line-height: 1.35; letter-spacing: -.025em; }
.service-subtitle { margin-top: 15px; color: var(--blue); font-size: 16px; font-weight: 600; }
.service > p:last-child { max-width: 398px; margin-top: 26px; color: var(--muted); font-size: 16px; line-height: 1.7; }

.company { padding-top: 101px; }
.company-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 8%; margin-top: 37px; }
.company .display-heading { font-size: clamp(44px, 4.125vw, 66px); }
.company-description { margin-top: 45px; color: var(--muted); font-size: 18px; line-height: 1.72; }
.city-word { margin-top: 26px; margin-left: -6px; color: #e4eaf6; font-size: clamp(80px, 7.3vw, 117px); font-weight: 700; letter-spacing: -.045em; line-height: 1.15; text-transform: uppercase; }
.location-label { margin-top: 33px; font-size: 10px; letter-spacing: .155em; }
.company-signature { margin-top: 18px; font-size: 20px; font-weight: 600; }
.company-profile { border-top: 1px solid var(--line); }
.profile-row { display: grid; grid-template-columns: 27% minmax(0, 1fr); gap: 0 10px; padding-block: 19px; border-bottom: 1px solid var(--line); }
.profile-row dt { padding-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.profile-row dd { min-width: 0; font-size: 16px; line-height: 1.65; }
.legal-text { display: block; margin-top: 5px; color: var(--muted); font-family: var(--legal-font); font-size: 13px; font-weight: 400; line-height: 1.65; }
.name-alternative { margin-top: 2px; font-size: 12px; }
.address-row { padding-block: 22px; }
.address-row address { font-size: 14px; line-height: 1.8; }
.address-row .legal-text { margin-top: 8px; font-size: 12px; }
.phone-link { transition: color .2s ease; }
.phone-link:hover { color: var(--blue); }

.contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .68fr); gap: 80px; align-items: center; padding-top: 108px; padding-bottom: 110px; }
.contact .display-heading { margin-top: 29px; font-size: clamp(40px, 3.45vw, 55px); }
.contact-details > p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.contact-phone { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 35px; font-size: clamp(24px, 2.1vw, 33px); font-weight: 600; letter-spacing: -.02em; line-height: 1.5; }
.contact-phone-arrow { display: flex; align-items: center; justify-content: center; flex: 0 0 50px; width: 50px; height: 50px; border-radius: 50%; color: #fff; background: var(--blue); transition: background-color .22s ease; }
.contact-phone:hover .contact-phone-arrow { background: #3d57c4; }
.contact-phone:hover .arrow { transform: translate(2px, -2px); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 35px; border-top: 1px solid var(--line); padding-block: 34px 35px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.footer-brand { flex: 0 0 auto; }
.footer-brand img { width: 160px; }
.footer-location { display: flex; align-items: center; gap: 47px; }
.footer-location a { font-size: 11px; white-space: nowrap; }
.footer-location a:hover { color: var(--blue); }
.footer-location a span { margin-left: 5px; }

.not-found { width: min(960px, calc(100% - var(--gutter) * 2)); min-height: 100vh; margin-inline: auto; padding-block: 70px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.not-found > a:first-child { margin-bottom: 56px; }
.not-found img { width: 180px; height: auto; }
.not-found > p:first-of-type { color: var(--blue); font-size: 12px; font-weight: 600; letter-spacing: .18em; }
.not-found h1 { max-width: 760px; margin-top: 18px; font-size: clamp(42px, 6vw, 80px); font-weight: 700; letter-spacing: -.045em; line-height: 1.16; }
.not-found > p:not(:first-of-type) { max-width: 620px; margin-top: 24px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.not-found > a:last-child { display: inline-flex; align-items: center; margin-top: 32px; padding: 12px 24px; border-radius: 30px; color: #fff; background: var(--ink); font-size: 14px; font-weight: 600; }
.not-found > a:last-child:hover { background: #2a3c58; }

@media (min-width: 1601px) {
  .hero-copy { grid-template-columns: minmax(0, 1fr) 380px; gap: 92px; }
}

@media (max-width: 1250px) {
  .brand img { width: 176px; }
  .main-nav { gap: 32px; }
  .nav-contact { margin-left: 25px; min-width: 162px; padding-inline: 20px; }
  .hero-copy { grid-template-columns: minmax(0, 1fr) minmax(250px, 300px); gap: 35px; }
  .hero h1 { font-size: clamp(56px, 6.1vw, 77px); }
  .hero-intro > p { font-size: 18px; }
  .hero-intro .text-link { margin-top: 35px; gap: 30px; }
  .project-role { margin-right: 0; }
  .project-panel { padding-inline: 28px; }
  .project-caption h2 { font-size: 21px; }
  .project-caption > div > p { font-size: 14px; }
  .store-links { gap: 20px; }
  .store-links .text-link { gap: 14px; }
  .section-description { max-width: 340px; font-size: 16px; }
  .services { gap: 35px; }
  .service h3 { font-size: 28px; }
  .service-subtitle, .service > p:last-child { font-size: 15px; }
  .company-grid { gap: 7%; }
  .company-description { font-size: 16px; }
  .contact { gap: 50px; grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr); }
  .contact-phone { font-size: 26px; gap: 15px; }
  .footer-brand img { width: 160px; }
}

@media (max-width: 980px) {
  :root { --gutter: 36px; }
  .site-header { padding-block: 28px; flex-wrap: wrap; gap: 24px; }
  .brand img { width: 166px; }
  .main-nav { width: 100%; justify-content: space-between; gap: 24px; }
  .nav-contact { margin-left: 0; min-width: 162px; }
  .js .site-header { flex-wrap: nowrap; }
  .js .menu-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-width: 95px; min-height: 44px; padding: 8px 0 8px 10px; background: transparent; color: var(--ink); border: 0; cursor: pointer; }
  .menu-toggle-label { font-size: 14px; font-weight: 600; }
  .menu-toggle-icon { display: grid; align-content: center; gap: 6px; width: 21px; height: 22px; }
  .menu-toggle-icon span { display: block; width: 21px; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-open .menu-toggle-icon span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-open .menu-toggle-icon span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .js .main-nav { display: none; position: absolute; z-index: 10; top: calc(100% - 1px); left: calc(-1 * var(--gutter)); width: calc(100% + var(--gutter) * 2); padding: 14px var(--gutter) 30px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 15px 25px rgb(23 35 55 / 5%); }
  .js .menu-open .main-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .js .menu-open .main-nav { max-height: calc(100dvh - 144px); overflow-y: auto; }
  .js .main-nav > a:not(.button) { padding-block: 15px; font-size: 22px; }
  .js .main-nav .button { align-self: flex-start; margin-top: 15px; }
  .hero { padding-top: 42px; }
  .hero-copy { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 25px; }
  .hero h1 { font-size: clamp(58px, 8.8vw, 84px); }
  .hero-intro { display: flex; justify-content: space-between; gap: 36px; align-items: flex-end; max-width: none; padding-top: 0; }
  .hero-intro > p { max-width: 420px; font-size: 18px; }
  .hero-intro .text-link { flex: 0 0 auto; margin-top: 0; margin-bottom: 3px; gap: 24px; font-size: 14px; }
  .project { margin-top: 48px; padding-bottom: 85px; }
  .project-panel { padding: 25px 26px 20px; border-radius: 22px; }
  .game-identity p { font-size: 21px; }
  .game-icon { width: 38px; height: 38px; }
  .project-role { max-width: 130px; text-align: right; font-size: 11px; }
  .game-artwork { gap: 4.7%; margin-top: 30px; }
  .game-screens { gap: 12%; padding: 0 4px 10px; }
  .game-screen { padding: 5px; border-radius: 13px; }
  .game-screen img { border-radius: 8px; }
  .game-key-art { border-radius: 13px; }
  .project-caption { gap: 23px; }
  .project-caption h2 { font-size: 18px; }
  .project-stores .text-link { gap: 10px; font-size: 12px; }
  .store-links { gap: 20px; }
  .project-stores .arrow { font-size: 21px; }
  .expertise { padding-block: 58px 70px; }
  .section-heading-row { gap: 36px; }
  .display-heading { font-size: 45px; }
  .section-description { max-width: 270px; font-size: 15px; }
  .services { gap: 28px; margin-top: 56px; }
  .service h3 { font-size: 26px; }
  .service-subtitle { font-size: 14px; line-height: 1.6; }
  .service > p:last-child { margin-top: 19px; font-size: 14px; }
  .company { padding-top: 75px; }
  .company-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.2fr); gap: 7%; margin-top: 30px; }
  .company .display-heading { font-size: 45px; }
  .company-description { margin-top: 32px; font-size: 16px; }
  .desktop-break { display: none; }
  .city-word { margin-top: 34px; font-size: 76px; }
  .company-signature { font-size: 16px; }
  .profile-row { grid-template-columns: 29% minmax(0, 1fr); padding-block: 17px; gap: 0 12px; }
  .profile-row dt { font-size: 11px; }
  .profile-row dd { font-size: 14px; }
  .legal-text { font-size: 12px; }
  .address-row address { font-size: 13px; }
  .address-row .legal-text, .name-alternative { font-size: 11px; }
  .contact { padding-block: 82px 79px; gap: 36px; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); }
  .contact .display-heading { font-size: 39px; }
  .contact-details > p { font-size: 15px; }
  .contact-phone { font-size: 23px; gap: 12px; margin-top: 25px; }
  .contact-phone-arrow { flex-basis: 42px; width: 42px; height: 42px; }
  .site-footer { flex-wrap: wrap; gap: 24px; padding-block: 29px; }
  .footer-brand img { width: 150px; }
  .footer-location { gap: 25px; margin-left: auto; }
}

@media (max-width: 700px) {
  :root { --gutter: 24px; }
  html { scroll-padding-top: 22px; }
  .site-header { padding-block: 23px; gap: 15px; }
  .brand img { width: 158px; }
  .js .menu-open .main-nav { max-height: calc(100dvh - 132px); }
  .main-nav { flex-wrap: wrap; gap: 16px 22px; font-size: 13px; }
  .main-nav .button { min-width: 150px; min-height: 43px; font-size: 12px; }
  .js .menu-toggle { min-width: 82px; gap: 10px; }
  .menu-toggle-label { font-size: 13px; }
  .hero { padding-top: 41px; }
  .hero > .eyebrow { font-size: 10px; }
  .hero-copy { gap: 23px; margin-top: 23px; }
  .hero h1 { font-size: clamp(38px, 8.9vw, 62px); letter-spacing: -.05em; line-height: 1.22; }
  .hero-intro { display: block; }
  .hero-intro > p { max-width: 440px; font-size: 17px; line-height: 1.65; }
  .hero-intro .text-link { margin-top: 24px; gap: 28px; font-size: 14px; }
  .project { margin-top: 40px; padding-bottom: 66px; }
  .project-panel { padding: 21px 20px 25px; border-radius: 20px; }
  .project-panel-heading { align-items: flex-start; gap: 12px; }
  .game-identity { gap: 10px; }
  .game-icon { width: 34px; height: 34px; border-radius: 9px; }
  .game-identity p { max-width: 132px; font-size: 17px; line-height: 1.25; }
  .project-role { max-width: 115px; padding-top: 3px; font-size: 10px; }
  .game-artwork { display: block; margin-top: 25px; }
  .game-key-art { border-radius: 11px; }
  .game-screens { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15%; width: 86%; max-width: 360px; margin: 25px auto 0; padding: 0 2px 5px; }
  .game-screen { padding: 5px; border-radius: 13px; }
  .game-screen-first { transform: translateY(-2px) rotate(-3deg); }
  .game-screen-second { transform: translateY(7px) rotate(3deg); }
  .project-caption { display: block; margin-top: 23px; }
  .project-caption h2 { font-size: 20px; line-height: 1.45; }
  .project-caption > div > p { max-width: 440px; font-size: 14px; line-height: 1.65; }
  .project-stores { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 21px; padding-top: 0; }
  .store-links { gap: 27px; }
  .project-stores .text-link { font-size: 13px; gap: 17px; }
  .project-stores .platforms { margin: 0; font-size: 9px; }
  .expertise { padding-block: 47px 51px; }
  .section-heading-row { display: block; margin-top: 22px; }
  .display-heading { font-size: clamp(36px, 8.4vw, 47px); }
  .section-description { max-width: 440px; margin-top: 25px; padding: 0; font-size: 16px; }
  .services { grid-template-columns: minmax(0, 1fr); gap: 33px; margin-top: 40px; }
  .service { padding-top: 23px; }
  .service h3 { font-size: 29px; }
  .service-subtitle { margin-top: 9px; font-size: 15px; }
  .service > p:last-child { max-width: 440px; margin-top: 14px; font-size: 15px; }
  .company { padding-top: 60px; }
  .company-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 24px; }
  .company .display-heading { font-size: clamp(42px, 10vw, 55px); }
  .company-description { max-width: 390px; margin-top: 26px; font-size: 16px; }
  .city-word { margin-top: 26px; margin-left: -3px; font-size: clamp(78px, 21vw, 100px); }
  .location-label { margin-top: 20px; font-size: 9px; }
  .company-signature { margin-top: 12px; font-size: 18px; }
  .profile-row { grid-template-columns: 29% minmax(0, 1fr); gap: 14px; padding-block: 18px; }
  .profile-row dt { font-size: 11px; }
  .profile-row dd { font-size: 14px; }
  .legal-text { font-size: 12px; }
  .name-alternative { font-size: 11px; }
  .address-row address { font-size: 13px; }
  .address-row .legal-text { font-size: 11px; }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 31px; padding-block: 63px 54px; }
  .contact .display-heading { margin-top: 24px; font-size: clamp(32px, 8vw, 47px); }
  .contact-details { max-width: 440px; }
  .contact-details > p { font-size: 16px; }
  .contact-phone { margin-top: 21px; font-size: 28px; }
  .contact-phone-arrow { flex-basis: 45px; width: 45px; height: 45px; }
  .site-footer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 28px 31px; font-size: 11px; }
  .footer-brand img { width: 140px; }
  .footer-location { margin-left: 0; justify-content: space-between; gap: 24px; }
}

@media (max-width: 360px) {
  :root { --gutter: 20px; }
  .brand img { width: 148px; }
  .hero h1 { font-size: 34px; }
  .project-panel { padding-inline: 16px; }
  .game-identity p { max-width: 90px; font-size: 16px; }
  .project-role { max-width: 105px; font-size: 9px; }
  .project-stores .text-link { gap: 12px; }
  .store-links { gap: 21px; }
  .profile-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .profile-row dt { padding-top: 0; }
  .contact-phone { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .text-link:hover .arrow, .button:hover .arrow, .contact-phone:hover .arrow { transform: none; }
}
