.profile-jump a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 5px;
  font-weight: 700;
}

.profile-jump a span {
  color: var(--orange);
  font-size: 15px;
  line-height: 1;
}

.profile-jump a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 70px) clamp(22px, 3.6vw, 52px);
}

.profile-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-bottom: 1px solid var(--line);
}

.profile-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.05;
  border-radius: 4px;
  background: var(--soft);
}

.profile-media img,
.profile-film-frame img {
  width: 100%;
  height: 100%;
}

.profile-card-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: start;
  padding-block: 25px 25px;
}

.profile-card-copy h3 {
  margin: 13px 0 15px;
  font-size: clamp(27px, 3vw, 43px);
}

.profile-card-copy p,
.profile-care-copy p {
  max-width: 60ch;
  color: var(--muted);
  font-size: 15px;
}

.profile-card-copy strong {
  color: var(--ink);
}

.profile-card-copy > .text-link,
.profile-links {
  margin-top: auto;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 24px;
}

.profile-links .text-link {
  gap: 14px;
}

.profile-system-art {
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: clamp(20px, 3vw, 38px);
  background:
    linear-gradient(90deg, #f6f3ed11 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(0deg, #f6f3ed11 1px, transparent 1px) 0 0 / 30px 30px,
    #294b3d;
  color: #f6f3ed;
}

.profile-art-kicker,
.profile-game-art > span,
.profile-game-art small,
.profile-care-art span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.profile-system-sheet {
  width: min(320px, 80%);
  padding: 8px 15px;
  border: 1px solid #f6f3ed65;
  background: #1a3429;
}

.profile-system-sheet > span {
  display: flex;
  align-items: baseline;
  gap: 15px;
  padding: 8px 0;
  font-size: clamp(11px, 1.5vw, 17px);
}

.profile-system-sheet > span + span {
  border-top: 1px solid #f6f3ed36;
}

.profile-system-sheet b {
  color: #ffb481;
  font-size: 10px;
  letter-spacing: .08em;
}

.profile-art-spark {
  position: absolute;
  right: 4%;
  top: 15%;
  z-index: -1;
  color: #e5b387;
  font-size: clamp(80px, 13vw, 182px);
  line-height: 1;
}

.profile-commerce-art {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #f9f9f8;
}

.profile-commerce-art img {
  min-height: 0;
}

.profile-commerce-art img:first-child {
  object-fit: contain;
}

.profile-commerce-art img:last-child {
  object-position: center 29%;
}

.profile-travel-art img {
  object-position: center 55%;
}

.profile-culture {
  padding-block: clamp(56px, 8vw, 110px);
}

.profile-culture-grid,
.profile-care {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.profile-culture-copy .eyebrow,
.profile-games .eyebrow {
  color: #d1d9c6;
}

.profile-culture h2,
.profile-care h2 {
  margin: 18px 0 24px;
}

.profile-culture h2 em {
  color: #edb78d;
}

.profile-culture-copy p,
.profile-games p {
  max-width: 59ch;
  color: #dee4d8;
  font-size: 15px;
}

.profile-culture-copy strong {
  color: #fff7e9;
}

.profile-culture-copy .button {
  margin-top: 12px;
}

.profile-film {
  min-width: 0;
  margin: 0;
}

.profile-film-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1.38;
  border: 1px solid #f4f2e85e;
  border-radius: 5px;
  background: #23372e;
}

.profile-film-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #12181590, transparent 37%);
  pointer-events: none;
  content: "";
}

.profile-film-frame img {
  object-position: center;
}

.profile-film-mark {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  color: #fff7e9;
  font-size: clamp(16px, 2.2vw, 31px);
  font-weight: 700;
  letter-spacing: -.06em;
}

.profile-film-mark span {
  color: #ff985e;
}

.profile-film figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 13px;
}

.profile-film figcaption em {
  font-size: 20px;
  letter-spacing: -.03em;
}

.profile-film figcaption span {
  color: #d1d9c6;
  font-size: 12px;
}

.profile-games {
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, 1fr);
  gap: clamp(25px, 5vw, 66px);
  align-items: center;
  margin-top: clamp(38px, 6vw, 78px);
  padding-top: clamp(28px, 4.5vw, 58px);
  border-top: 1px solid #f4f2e84a;
}

.profile-game-art {
  display: grid;
  gap: 13px;
  padding: clamp(16px, 2.5vw, 30px);
  border-radius: 5px;
  background: #edb78d;
  color: #332921;
}

.profile-game-art > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.profile-game-art b {
  padding: 8px 10px;
  border: 1px solid #3329216e;
  border-radius: 2px;
  background: #f7d9ba;
  font-size: 15px;
  letter-spacing: .12em;
}

.profile-games h3 {
  margin-block: 9px 12px;
  font-size: clamp(27px, 3.2vw, 44px);
}

.profile-care-art {
  aspect-ratio: 1.3;
  background: #263d58;
  color: #fff7e9;
}

.profile-care-art img {
  position: absolute;
  inset: 0;
}

.profile-care-art > div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(23px, 4vw, 49px);
  background: linear-gradient(90deg, #112445e8, #11244518);
}

.profile-care-art strong {
  max-width: 8ch;
  font-size: clamp(37px, 6vw, 82px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .98;
}

.profile-care-art strong em {
  color: #ffce9a;
}

.profile-care + #portfolio {
  border-top: 1px solid var(--line);
}

@media (max-width: 850px) {
  .profile-media {
    aspect-ratio: 1.62;
  }

  .profile-care-art {
    aspect-ratio: 1.15;
  }

  .profile-card-copy p,
  .profile-care-copy p,
  .profile-culture-copy p,
  .profile-games p {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .company-story .about-story-text h2 {
    margin-bottom: 0;
  }

  .profile-system-art {
    min-height: 180px;
  }

  .profile-grid,
  .profile-culture-grid,
  .profile-games,
  .profile-care {
    grid-template-columns: 1fr;
  }

  .profile-media {
    aspect-ratio: 1.75;
  }

  .profile-games {
    align-items: start;
  }

  .profile-game-art {
    max-width: 330px;
  }

  .profile-jump a {
    gap: 5px;
    font-size: 9px;
    letter-spacing: .055em;
  }

  .profile-jump a span {
    font-size: 12px;
  }
}

.portfolio-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: clamp(24px, 4vw, 42px) 0;
  border: 1px solid #dedcd4;
  border-radius: 4px;
  background: #fff;
  color: #242820;
  list-style: none;
}

.portfolio-logos li {
  padding: 0 clamp(15px, 3.3vw, 42px);
  text-align: center;
}

.portfolio-logos li + li {
  border-inline-start: 1px solid #dedcd4;
}

.portfolio-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(88px, 13vw, 132px);
  margin: 0 0 18px;
}

.portfolio-logo-mark img {
  width: min(100%, 176px);
  height: 100%;
  object-fit: contain;
}

.portfolio-logos h3 {
  margin: 0 0 8px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.25;
}

.portfolio-logos p {
  max-width: 29ch;
  margin: 0 auto;
  color: #565950;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 630px) {
  .portfolio-logos {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 clamp(15px, 5vw, 24px);
  }

  .portfolio-logos li {
    padding-block: 24px;
  }

  .portfolio-logos li + li {
    border-inline-start: 0;
    border-block-start: 1px solid #dedcd4;
  }
}
