:root {
  --purple: #743bb9;
  --bright: #984dff;
  --ink: #fff;
  --dark: #201134;
  --muted: #eadbff;
  --header: 120px;
  color-scheme: dark;
  font-family:
    Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--purple);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ffe387;
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  line-height: 1.1;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(36px, 4.7vw, 72px);
}
h2 {
  font-size: clamp(32px, 3.5vw, 54px);
}
p {
  line-height: 1.75;
}
strong {
  font-weight: 700;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--dark);
  padding: 16px;
  z-index: 50;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  height: var(--header);
  padding: 24px 3%;
  display: flex;
  align-items: center;
  background: var(--bright);
  position: sticky;
  top: 0;
  z-index: 20;
  gap: 24px;
}
.brand {
  font-weight: 900;
  font-size: clamp(28px, 3.7vw, 56px);
  letter-spacing: -0.045em;
  text-decoration: none;
  white-space: nowrap;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.header-menu {
  display: contents;
}
.primary-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-right: auto;
}
.primary-nav a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 0;
  white-space: nowrap;
}
.primary-nav a[aria-current] {
  border-bottom: 1px solid #fff;
}
.primary-nav a:hover {
  opacity: 0.7;
}
.social-links {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-left: auto;
}
.social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #101010;
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
}
.social-links a:first-child {
  font-size: 20px;
}
.social-links svg {
  width: 55%;
  height: 55%;
  fill: #101010;
}
.language-switch {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13px;
  white-space: nowrap;
  margin-left: 20px;
}
.language-switch a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  opacity: 0.65;
}
.language-flag {
  width: 22px;
  height: 15px;
  flex: none;
  border-radius: 2px;
  overflow: hidden;
}
.language-switch a[aria-current] {
  opacity: 1;
  border-bottom: 1px solid #fff;
  padding: 6px 0;
}
.menu-toggle {
  display: none;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #743bb9;
}
.geometric:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -30%;
  background:
    repeating-linear-gradient(
      150deg,
      transparent 0 230px,
      #984dff55 231px 245px,
      transparent 246px 460px
    ),
    repeating-linear-gradient(
      30deg,
      transparent 0 350px,
      #6630aa4d 351px 550px
    ),
    linear-gradient(130deg, #743bb9, #8544d7);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  max-width: 1600px;
  margin: auto;
  min-height: 740px;
  padding: 45px 3% 0;
  gap: 5%;
}
.portrait {
  align-self: end;
  display: flex;
  justify-content: center;
}
.portrait img {
  height: 700px;
  width: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.hero-copy {
  padding: 40px 0 85px;
}
.hero h1 {
  font-size: clamp(40px, 5vw, 76px);
  white-space: nowrap;
  margin-bottom: 42px;
}
.hero p {
  font-size: 24px;
  line-height: 1.75;
  margin-bottom: 0;
  max-width: 650px;
}
.hero .eyebrow p {
  margin-bottom: 28px;
}
.feature {
  padding: 72px 3%;
  background: var(--bright);
}
.feature:nth-of-type(odd) {
  background: var(--purple);
}
.feature-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  align-items: center;
  max-width: 1440px;
  margin: auto;
}
.feature-inner.reverse .feature-image {
  order: 2;
}
.feature-inner.reverse .feature-copy {
  order: 1;
}
.feature-copy p {
  font-size: 24px;
  line-height: 1.75;
}
.feature-copy h2 {
  margin-bottom: 34px;
}
.feature-image img {
  width: 100%;
  max-height: 740px;
  object-fit: contain;
}
.feature-1 .feature-image img {
  border-radius: 55px;
}
.feature-2 .feature-image img {
  max-height: 690px;
}
.button {
  background: #fff;
  color: #7136b2;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 21px 35px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover:not(:disabled) {
  background: #eadbff;
  transform: translateY(-2px);
}
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.store-links .button {
  font-size: 15px;
  padding: 18px 24px;
  gap: 18px;
}
.asset-section {
  padding: 56px 2.5%;
}
.asset-section .feature-inner {
  gap: 5%;
}
.asset-section:nth-of-type(even) {
  background: var(--bright);
}
.asset-section .feature-image {
  padding: 8px;
}
.portfolio-grid {
  padding: 42px 3% 70px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 35px 38px;
}
.project-card {
  position: relative;
  text-decoration: none;
  overflow: hidden;
  background: #251336;
  aspect-ratio: 16/9;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.project-title {
  opacity: 0;
  transition: opacity 0.2s;
  position: absolute;
  inset: auto 0 0;
  background: linear-gradient(transparent, #130c24eb);
  padding: 48px 22px 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
}
.project-title h2 {
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
}
.project-title span {
  font-size: 25px;
}
.project-card:hover img,
.project-card:focus-visible img {
  transform: scale(1.04);
}
.project-page {
  padding: 42px 3% 0;
  max-width: 1800px;
  margin: auto;
}
.project-banner img {
  width: 100%;
  height: auto;
  max-height: 850px;
  object-fit: contain;
}
.project-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7%;
  padding: 75px 0;
}
.project-copy h1 {
  font-size: clamp(38px, 4vw, 62px);
}
.project-copy h2,
.project-copy h3 {
  font-size: 30px;
  margin: 35px 0 18px;
}
.project-copy p {
  font-size: 21px;
  margin: 0;
  line-height: 1.65;
}
.project-copy .button {
  margin-top: 35px;
}
.back-link {
  display: inline-block;
  margin-bottom: 25px;
  font-size: 15px;
  text-decoration: none;
}
.project-media {
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.video-shell {
  aspect-ratio: 16/9;
  background: #201134;
}
.video-load {
  border: 0;
  padding: 0;
  background: #211135;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.video-load img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}
.play-circle {
  display: grid;
  place-items: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  background: #30154f99;
  font-size: 25px;
  padding-left: 5px;
}
.play-label {
  position: absolute;
  bottom: 18px;
  left: 0;
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  text-shadow: 0 1px 8px #000;
}
.video-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.store-embed {
  width: 100%;
  max-width: 680px;
  border: 0;
  min-height: 190px;
}
.project-pagination {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid #ffffff40;
  padding: 40px 0;
}
.project-pagination a {
  font-size: clamp(21px, 2.3vw, 36px);
  font-weight: 600;
  text-decoration: none;
  max-width: 47%;
  line-height: 1.25;
}
.project-pagination a:last-child {
  text-align: right;
}
.project-pagination small {
  display: block;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 14px;
}
.about-page {
  max-width: 1600px;
  margin: auto;
  padding: 44px 3%;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5%;
  align-items: center;
}
.about-image {
  /* Retain the left 70% of the 1500 × 844 original. */
  aspect-ratio: 1050 / 844;
  overflow: hidden;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}
.about-copy p {
  font-size: 22px;
  line-height: 1.75;
}
.about-copy h1 {
  font-size: 48px;
}
.luminous {
  max-width: 1600px;
  margin: auto;
  padding: 40px 3% 80px;
}
.luminous-banner img {
  width: 100%;
  height: auto;
}
.luminous-intro {
  max-width: 1050px;
  margin: 70px auto;
  text-align: center;
}
.luminous-intro p {
  font-size: 24px;
  line-height: 1.85;
}
.gallery-section h2 {
  text-align: center;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.gallery-item {
  padding: 0;
  border: 0;
  background: none;
  overflow: hidden;
}
.gallery-item img {
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.luminous-media {
  max-width: 1000px;
  margin: 70px auto 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}
.luminous-media .video-shell {
  width: 100%;
}
.kickstarter-note {
  text-align: center;
  padding: 20px;
  background: #201134;
  font-size: 20px;
}
.legal {
  max-width: 940px;
  padding: 65px 30px;
  margin: auto;
}
.legal h1 {
  font-size: 48px;
}
.legal h2 {
  font-size: 32px;
  margin-top: 45px;
}
.legal h3 {
  font-size: 25px;
  margin-top: 32px;
}
.legal p,
.legal li {
  font-size: 18px;
  line-height: 1.75;
}
.contact-page {
  max-width: 1000px;
  padding: 70px 35px 100px;
  margin: auto;
  min-height: 80vh;
}
.contact-page h1 {
  font-size: 48px;
  margin-bottom: 40px;
}
.form-note {
  font-size: 15px;
  line-height: 1.6;
  background: #30194c66;
  padding: 20px;
  border-left: 3px solid #dec5ff;
  margin-bottom: 35px;
}
.form-note:empty {
  display: none;
}
.name-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
label {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
}
label span {
  font-size: 13px;
  opacity: 0.75;
}
input,
textarea {
  background: #faf7ff;
  color: #21122e;
  width: 100%;
  border: 1px solid #e9d7ff;
  border-radius: 0;
  padding: 15px 17px;
  line-height: 1.5;
}
input {
  min-height: 54px;
}
.field {
  margin-bottom: 24px;
}
textarea {
  resize: vertical;
  margin-bottom: 28px;
}
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
#form-status {
  margin-top: 20px;
}
.not-found {
  padding: 100px 5%;
  text-align: center;
  min-height: 75vh;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  padding: 34px 3%;
  background: #301849;
  font-size: 13px;
  color: #e8daf7;
}
footer a {
  text-decoration: none;
}
footer a:first-child {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: -0.025em;
}
dialog {
  border: 0;
  padding: 45px 55px 40px;
  background: #170c28;
  color: white;
  max-width: 96vw;
  width: 1400px;
  max-height: 94dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #0c0418e8;
}
dialog img {
  max-height: 76dvh;
  width: 100%;
  object-fit: contain;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 1;
  border: 0;
  background: #381c59;
  border-radius: 50%;
  width: 38px;
  height: 38px;
}
.lightbox-close {
  right: 8px;
  top: 6px;
  font-size: 28px;
}
.lightbox-prev {
  left: 8px;
  top: 50%;
}
.lightbox-next {
  right: 8px;
  top: 50%;
}
.lightbox-count {
  text-align: center;
  margin: 12px 0 0;
  font-size: 14px;
}
@media (min-width: 1101px) and (max-width: 1350px) {
  .brand {
    font-size: 36px;
  }
  .primary-nav {
    gap: 12px;
  }
  .primary-nav a {
    font-size: 12px;
  }
  .social-links a {
    width: 33px;
    height: 33px;
    font-size: 20px;
  }
  .language-switch {
    margin-left: 8px;
  }
  .site-header {
    gap: 12px;
  }
  .hero h1 {
    font-size: 4.6vw;
  }
  .hero p {
    font-size: 22px;
  }
}
@media (max-width: 1100px) {
  :root {
    --header: 95px;
  }
  .site-header {
    padding: 24px 5%;
    justify-content: space-between;
  }
  .brand {
    position: static;
    transform: none;
    font-size: 38px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    background: none;
    border: 0;
    width: 42px;
    height: 42px;
    padding: 4px;
  }
  .menu-toggle span {
    display: block;
    width: 32px;
    height: 1px;
    background: #fff;
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .header-menu {
    display: none;
    position: fixed;
    inset: var(--header) 0 0;
    background: var(--bright);
    padding: 40px 6%;
    overflow: auto;
  }
  .header-menu.is-open {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .primary-nav {
    flex-direction: column;
    margin: 0;
    gap: 15px;
  }
  .primary-nav a {
    font-size: 30px;
    white-space: normal;
    text-align: center;
  }
  .social-links {
    margin: 0;
  }
  .language-switch {
    margin: 0;
    font-size: 18px;
  }
  .hero-inner {
    min-height: 620px;
    gap: 3%;
    padding-top: 25px;
  }
  .portrait img {
    height: 600px;
  }
  .hero h1 {
    white-space: normal;
    font-size: 50px;
  }
  .hero p {
    font-size: 20px;
  }
  .hero-copy {
    padding-bottom: 40px;
  }
  .feature-copy p {
    font-size: 21px;
  }
  .feature-inner {
    gap: 5%;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-page {
    gap: 4%;
  }
  .about-copy p {
    font-size: 19px;
  }
  .project-body {
    gap: 5%;
  }
}
@media (max-width: 700px) {
  :root {
    --header: 94px;
  }
  .brand {
    font-size: clamp(25px, 7vw, 38px);
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 0 6% 38px;
    gap: 0;
  }
  .portrait {
    height: 410px;
    overflow: hidden;
  }
  .portrait img {
    height: 480px;
    width: 100%;
    object-position: center top;
    object-fit: contain;
    align-self: start;
    margin-top: -8px;
  }
  .hero-copy {
    padding: 15px 0 10px;
  }
  .hero h1 {
    font-size: clamp(34px, 8.8vw, 54px);
    white-space: normal;
    margin-bottom: 25px;
    letter-spacing: -0.04em;
  }
  .hero .eyebrow p {
    margin-bottom: 0;
    font-size: 20px;
  }
  .hero p {
    font-size: 20px;
    line-height: 1.7;
  }
  .feature {
    padding: 48px 6%;
  }
  .feature-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-inner.reverse .feature-image {
    order: 0;
  }
  .feature-inner.reverse .feature-copy {
    order: 1;
  }
  .feature-copy h2 {
    font-size: 38px;
    margin-bottom: 24px;
  }
  .feature-copy p {
    font-size: 20px;
    line-height: 1.7;
  }
  .feature-image img {
    max-height: 520px;
  }
  .feature-1 .feature-image img {
    border-radius: 28px;
  }
  .button {
    padding: 18px 27px;
    font-size: 16px;
  }
  .asset-section .feature-image {
    padding: 0;
  }
  .asset-section {
    padding: 32px 4%;
  }
  .asset-section .feature-inner {
    gap: 24px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    padding: 25px 6% 45px;
    gap: 22px;
  }
  .project-title h2 {
    font-size: 24px;
  }
  .project-page {
    padding: 25px 6% 0;
  }
  .project-body {
    grid-template-columns: 1fr;
    padding: 35px 0;
    gap: 20px;
  }
  .project-copy h1 {
    font-size: 38px;
  }
  .project-copy p {
    font-size: 19px;
  }
  .project-copy h2 {
    font-size: 27px;
  }
  .project-media {
    padding-top: 10px;
  }
  .project-pagination {
    padding: 30px 0;
  }
  .project-pagination a {
    font-size: 20px;
  }
  .about-page {
    grid-template-columns: 1fr;
    padding: 24px 4%;
    gap: 24px;
  }
  .about-image img {
    object-fit: cover;
  }
  .about-copy h1 {
    font-size: 38px;
  }
  .about-copy p {
    font-size: 20px;
  }
  .luminous {
    padding: 25px 6% 45px;
  }
  .luminous-intro {
    margin: 40px 0;
  }
  .luminous-intro p {
    font-size: 19px;
    text-align: left;
  }
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .luminous-media {
    margin-top: 35px;
  }
  .contact-page {
    padding: 38px 6% 65px;
  }
  .contact-page h1 {
    font-size: 38px;
  }
  .name-fields {
    gap: 15px;
  }
  .legal {
    padding: 35px 6%;
  }
  .legal h1 {
    font-size: 36px;
  }
  .legal h2 {
    font-size: 28px;
  }
  .legal p,
  .legal li {
    font-size: 17px;
  }
  footer {
    flex-wrap: wrap;
    padding: 28px 6%;
    font-size: 12px;
  }
  footer a:first-child {
    width: 100%;
  }
  dialog {
    padding: 45px 35px 30px;
  }
  .lightbox-prev {
    left: 0;
  }
  .lightbox-next {
    right: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.project-card:hover .project-title,
.project-card:focus-visible .project-title {
  opacity: 1;
}
@media (hover: none) {
  .project-title {
    opacity: 1;
  }
}
/* Unlisted console porting landing page and project showcases. */
.porting-page { background:#000; }
.porting-page h2 {font-size:clamp(36px,4.9vw,70px);line-height:1.08;text-align:center;margin:0 auto 38px;max-width:1100px;}
.port-photo {background:linear-gradient(#0008,#0008),var(--port-background) center/cover;}
.port-hero {padding:48px 3%;}
.port-hero-copy {max-width:570px;}
.port-hero h1 {font-size:clamp(42px,4.9vw,72px);line-height:1;letter-spacing:-2px;margin:0 0 64px;}
.port-hero p {font-size:25px;line-height:1.75;margin:44px 0 14px;}
.port-hero .button {background:white;color:black;min-width:274px;border-radius:0;justify-content:center;}
.console-logos {display:grid;grid-template-columns:.65fr 1.4fr 1.4fr;gap:20px;}
.console-family {display:grid;grid-template-rows:1fr 1fr;gap:12px;align-items:center;justify-items:center;}
.console-family img {height:70px;width:100%;object-fit:contain;}
.nintendo {color:#ff2430}.playstation {color:#00baff}.xbox {color:#92c83e}
.port-services,.port-engines,.port-platforms,.port-work,.port-contact {padding:64px 3%;}
.port-service-grid {display:grid;grid-template-columns:repeat(5,1fr);gap:40px;text-align:center;}
.port-service-grid img {width:72px;height:72px;object-fit:contain;margin:0 auto 20px;}
.port-service-grid h3 {font-size:25px;line-height:1.35;margin:0 0 12px;}
.port-service-grid p {font-size:17px;line-height:1.7;margin:0;}
.port-engines h2 {max-width:650px;}
.engine-panels {display:grid;grid-template-columns:1fr 1.8fr;gap:22px;max-width:920px;margin:auto;}
.engine-panel {padding:34px 40px;background:#0008;border-radius:20px;}
.engine-panel h3 {text-align:center;font-size:46px;text-decoration:underline;text-underline-offset:9px;margin:0 0 40px;}
.modern-logos {display:grid;gap:30px;}
.modern-logos img {width:210px;height:100px;object-fit:contain;margin:auto;}
.retro-logos {display:grid;grid-template-columns:1fr 1fr;gap:30px 22px;align-items:center;}
.retro-logos img {width:100%;height:100px;object-fit:contain;}
.port-platforms {background:linear-gradient(#0003,#0003),var(--port-background) center 60%/cover;}
.port-platforms .console-logos {grid-template-columns:repeat(3,1fr);max-width:1040px;margin:auto;gap:12px;}
.port-platforms .console-family {background:#0009;border-radius:20px;padding:40px;gap:18px;}
.port-platforms img {height:105px;}
.port-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;}
.port-card {text-decoration:none;}
.port-card img {width:100%;aspect-ratio:16/9;object-fit:cover;transition:filter .2s;}
.port-card:hover img {filter:brightness(1.15);}
.port-card h3 {font-size:24px;margin:16px 0 28px;}
.port-contact {background:#570b85;scroll-margin-top:130px;}
#porting-form {max-width:790px;margin:auto;}
#porting-form label,#porting-form legend {font-size:18px;display:block;margin:0 0 9px;}
#porting-form small {font-size:13px;opacity:.8;font-weight:normal;}
#porting-form input:not([type=checkbox]),#porting-form select,#porting-form textarea {width:100%;background:#250636;color:#fff;border:1px solid #ba92d0;border-radius:3px;padding:14px;font:inherit;min-height:48px;}
#porting-form input::placeholder,#porting-form textarea::placeholder {color:#d4c1df;opacity:1;}
#porting-form .quote-field,#porting-form fieldset,#porting-form .name-fields {margin:0 0 26px;}
#porting-form fieldset {border:0;padding:0;min-width:0;}
.quote-choices {display:flex;gap:10px;flex-wrap:wrap;}
#porting-form .quote-choice {position:relative;margin:0;font-size:14px;cursor:pointer;}
.quote-choice input {position:absolute;opacity:0;width:1px;height:1px;}
.quote-choice span {display:block;padding:10px 16px;border:2px solid #b49ac7;border-radius:5px;background:#13041e;}
.quote-choice input:checked + span {background:#fff;color:#45076b;border-color:#fff;}
.quote-choice input:focus-visible + span {outline:3px solid #ffe387;outline-offset:3px;}
#porting-form select:focus-visible {outline:3px solid #ffe387;outline-offset:3px;}
#porting-form .button {width:100%;justify-content:center;background:white;color:black;border-radius:0;}
.port-detail {background:#000;text-align:center;padding-bottom:24px;}
.port-detail-banner {max-width:960px;margin:auto;}
.port-detail-banner img {width:100%;}
.port-detail-logos {display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:24px;max-width:760px;margin:40px auto;}
.port-detail-logos img {max-width:230px;max-height:100px;width:auto;object-fit:contain;}
.port-detail .back-link {display:inline-block;margin:16px;}
@media(max-width:1000px) {
 .port-service-grid {grid-template-columns:repeat(3,1fr);gap:36px 24px;}
 .port-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 .engine-panel {padding:28px 22px;}
}
@media(max-width:600px) {
 .port-hero {padding:40px 5%;background-position:60% center;}
 .port-hero h1 {margin-bottom:36px;letter-spacing:-1px;}
 .port-hero p {font-size:20px;margin-top:28px;}
 .console-logos {gap:12px;}
 .console-family img {height:50px;}
 .port-services,.port-engines,.port-platforms,.port-work,.port-contact {padding:42px 5%;}
 .port-service-grid,.port-grid {grid-template-columns:1fr;}
 .port-service-grid article {max-width:340px;margin:auto;}
 .engine-panels {grid-template-columns:1fr;}
 .engine-panel h3 {font-size:34px;}
 .modern-logos {grid-template-columns:repeat(3,1fr);gap:14px;}
 .modern-logos img {height:75px;}
 .port-platforms .console-logos {gap:8px;}
 .port-platforms .console-family {padding:18px 8px;border-radius:10px;}
 .port-platforms img {height:58px;}
 .port-detail-logos {padding:0 20px;gap:18px;}
 .port-detail-logos img {max-width:130px;max-height:70px;}
}
/* Match the original two-column portfolio with titles revealed on focus or hover. */
.port-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;}
.port-card {position:relative;overflow:hidden;}
.port-card h3 {position:absolute;inset:0;display:grid;place-items:center;text-align:center;margin:0;padding:24px;background:#0009;font-size:clamp(24px,3vw,42px);opacity:0;transition:opacity .2s;}
.port-card:hover h3,.port-card:focus-visible h3 {opacity:1;}
@media(hover:none) {.port-card h3 {opacity:1;inset:auto 0 0;background:#000b;font-size:20px;padding:14px;}}
@media(max-width:600px) {.port-grid {grid-template-columns:1fr;gap:24px;}}
