/* Visual system: light studio pages and an immersive Born of the Damned world.
   Behaviour and accessibility foundations remain in site.css. */
:root {
  --paper: #f7f5ef;
  --white: #fffefa;
  --soft: #eeebe2;
  --line: #ded9cc;
  --muted: #625f57;
  --gold: #765b2d;
}
body {
  background: var(--paper);
}
.wrap {
  width: min(1200px, calc(100% - 96px));
}
.header-inner {
  width: min(1320px, calc(100% - 80px));
}
.site-header {
  background: #f7f5eff5;
  border-bottom: 1px solid #d8d0bf;
  box-shadow: 0 4px 24px #342b1305;
}
#main-nav {
  gap: 30px;
}
.eyebrow {
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
}
.button {
  border-radius: 5px;
  padding: 14px 25px;
  box-shadow: 0 5px 16px #16191112;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.text-link {
  font-weight: 500;
}
.home-hero {
  grid-template-columns: 1.3fr 1fr;
  gap: 5%;
  min-height: 610px;
  padding-block: 70px;
}
.home-hero .hero-copy {
  grid-column: 1;
  grid-row: 1;
}
.home-hero .hero-art {
  grid-column: 2;
  grid-row: 1;
  padding: 35px 15px 0;
  isolation: isolate;
}
.hero-art:before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(100%, 390px);
  aspect-ratio: 1;
  top: 0;
  border-radius: 50%;
  border: 1px solid #b8a77d66;
  background: radial-gradient(circle, #dfd4b744, transparent 70%);
  box-shadow:
    0 0 0 24px #d9cba51a,
    0 0 0 25px #d2c6a52b;
}
.home-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin: 25px 0;
}
.home-hero .lead {
  max-width: 520px;
  font-size: 1.1rem;
  line-height: 1.8;
}
.hero-emblem {
  width: 235px;
  height: 310px;
}
.hero-caption {
  margin-top: 26px;
}
.hero-actions {
  gap: 25px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.section-heading {
  margin-bottom: 32px;
  align-items: center;
}
.section-heading h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}
.games-section {
  padding-block: 25px 90px;
}
.game-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  grid-template-rows: auto auto;
  border-radius: 14px;
  overflow: hidden;
  background: #10191c;
  color: #f7eee0;
  border: 1px solid #39413d;
  box-shadow: 0 18px 45px #17221c18;
}
.game-card-art {
  grid-row: 1 / 3;
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(90deg, #09101230, #09101288),
    url("/assets/born-of-the-damned/blackwood-atmosphere.webp") center 45% /
      cover;
  padding: 25px;
  min-height: 460px;
}
.game-card-art img {
  width: 230px;
  max-width: 100%;
  height: auto;
  max-height: 410px;
  object-fit: contain;
  box-shadow: 0 16px 45px #0008;
  border: 1px solid #b79a6266;
}
.game-card-title {
  grid-column: 2;
  grid-row: 1;
  padding: 48px 48px 0;
  background: transparent;
}
.game-card-title:before {
  display: none;
}
.game-card-title .eyebrow,
.game-card .badge {
  color: #dac49f;
}
.game-card h2,
.game-card h3 {
  max-width: 500px;
  font-size: clamp(2rem, 3.3vw, 3rem);
  margin-top: 16px;
}
.game-card p,
.game-card .game-facts {
  color: #c9ccc6;
}
.game-card-copy {
  grid-column: 2;
  grid-row: 2;
  padding: 20px 48px 44px;
  gap: 20px;
  justify-content: flex-start;
}
.game-card-copy > p {
  font-size: 1rem;
}
.game-card .button {
  background: #e1c79b;
  color: #211c16;
  border-color: #e1c79b;
}
.game-card:hover .button {
  background: #f5dfbb;
  color: #211c16;
}
.studio-section {
  border-top: 0;
  padding-block: 20px 80px;
}
.values {
  gap: 24px;
}
.values article {
  padding: 30px;
  border: 1px solid #ded9cc;
  border-radius: 10px;
  background: #fffefa;
}
.values h3 {
  margin: 16px 0 12px;
}
.news-section {
  padding-bottom: 90px;
}
.news-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 32px;
  gap: 40px;
  grid-template-columns: 180px 1fr;
}
.page-hero {
  background: linear-gradient(120deg, #efeadc, #f7f5ef 70%);
  padding-block: 65px;
}
.page-hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.4rem);
}
.page-hero .lead {
  max-width: 680px;
  font-size: 1.1rem;
}
.page-body {
  padding-block: 55px 80px;
}
.support-grid > *,
.support-card {
  border-radius: 10px;
}
.site-footer {
  background: #eeebe2;
  padding-block: 50px 30px;
}
.footer-top,
.footer-bottom {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
.footer-bottom {
  flex-wrap: wrap;
  row-gap: 20px;
}
.footer-bottom nav {
  gap: 12px 22px;
}
.games-panel {
  border-radius: 0 0 12px 12px;
}
.panel-game {
  border-radius: 8px;
}
/* Game theme applies to the entire document, including navigation and footer. */
.theme-gothic {
  --paper: #0c1215;
  --white: #141d22;
  --soft: #10191e;
  --ink: #f3eadb;
  --muted: #c1c6c5;
  --gold: #ddc193;
  --line: #8e79534d;
  background-color: #0c1215;
  background-image:
    linear-gradient(#0c1215db, #0c1215e8),
    url("/assets/born-of-the-damned/blackwood-atmosphere.webp");
  background-size: 100% auto;
  background-position: center top;
}
.theme-gothic .site-header {
  background: #0c1215f7;
  border-color: #ad8e554d;
  box-shadow: 0 8px 35px #0004;
}
.theme-gothic h1,
.theme-gothic h2,
.theme-gothic .bloodline-card h3 {
  text-shadow: 0 3px 25px #0005;
}
.theme-gothic .game-hero.has-key-art {
  background:
    linear-gradient(90deg, #080e12f0 10%, #080e1280 70%, #080e1288),
    url("/assets/born-of-the-damned/blackwood-atmosphere.webp") center 43% /
      cover;
  padding-block: 55px;
  border-color: #b4986055;
}
.game-hero-layout {
  grid-template-columns: 1.3fr 0.8fr;
  gap: 65px;
  min-height: 540px;
}
.game-hero-copy {
  max-width: 620px;
}
.has-key-art h1 {
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 24px 0;
}
.game-hero .lead {
  font-size: 1.15rem;
  line-height: 1.8;
  margin: 0 0 24px;
}
.game-hero .game-facts {
  justify-content: flex-start;
}
.game-title-art {
  max-width: 300px;
}
.game-title-image {
  border: 1px solid #c2a77877;
  box-shadow:
    0 25px 60px #0009,
    0 0 45px #c8ab6320;
}
.theme-gothic .button {
  background: #712b33;
  color: #fff3e3;
  border-color: #a66d64;
  border-radius: 2px;
}
.theme-gothic .button:hover {
  background: #943a44;
  color: #fff3e3;
  border-color: #d1aa7b;
}
.theme-gothic .game-subnav {
  background: #0b1116;
  padding: 16px 30px;
  gap: 12px 26px;
  border-color: #b4986055;
}
.game-subnav a {
  min-height: 40px;
  display: flex;
  align-items: center;
}
.theme-gothic .game-section {
  padding-block: 75px;
  border-color: #8e795338;
}
.theme-gothic .game-section h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}
.game-overview {
  gap: 70px;
  align-items: center;
}
.game-overview h2 {
  margin-bottom: 0;
}
.game-overview > p {
  font-size: 1.1rem;
  line-height: 1.9;
}
.theme-gothic .feature-grid {
  gap: 20px;
  margin-top: 32px;
}
.theme-gothic .feature-grid article {
  background: linear-gradient(140deg, #1d282ce8, #0c1318ee);
  border: 1px solid #a88e5938;
  padding: 26px;
}
.feature-grid h3 {
  margin-top: 12px;
}
.theme-gothic .number {
  font-size: 0.8rem;
}
.theme-gothic .trailer-layout {
  background: linear-gradient(135deg, #252325e8, #0a1217f5);
  border: 1px solid #aa8f5d55;
  padding: 36px;
  gap: 55px;
}
.trailer-copy h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.trailer-copy details {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.theme-gothic .icon-gallery {
  gap: 22px;
}
.theme-gothic .icon-gallery a {
  background: radial-gradient(ellipse at 50% 25%, #38434599, #131c21dd 70%);
  border: 1px solid #ad92615c;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.theme-gothic .icon-gallery a:hover {
  background: #2b363a;
  border-color: #d7b476;
}
.theme-gothic .icon-gallery img {
  padding: 18px 8px 0;
}
.theme-gothic .media-gallery figcaption {
  font-family: var(--serif);
  color: #e7d4af;
  font-size: 1.12rem;
  margin-top: 14px;
}
.theme-gothic .bloodline-card {
  background: radial-gradient(ellipse at 50% 20%, #43232a88, #111a20ee 70%);
  border: 1px solid #ad92615c;
  padding: 35px;
}
.theme-gothic .bloodline-card:nth-child(2) {
  background: radial-gradient(ellipse at 50% 20%, #354c5588, #111a20ee 70%);
}
.theme-gothic .bloodline-card > img {
  height: 380px;
  filter: drop-shadow(0 12px 20px #0008);
}
.theme-gothic #game-support {
  gap: 24px;
}
.theme-gothic #game-support > div {
  background: #111a20e8;
  border: 1px solid var(--line);
  padding: 30px;
}
.theme-gothic #availability {
  text-align: center;
  padding: 70px 20px;
}
.theme-gothic .site-footer {
  background: #080e12;
  border-top: 1px solid #ad8e5555;
}
.theme-gothic .page-hero {
  background:
    linear-gradient(90deg, #0c1215e8, #0c1215b0),
    url("/assets/born-of-the-damned/blackwood-atmosphere.webp") center 40% /
      cover;
}
@media (min-width: 1001px) {
  .feature-grid article:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .home-hero {
    min-height: 530px;
  }
  .hero-emblem {
    width: 195px;
    height: 260px;
  }
  .game-card-title {
    padding: 32px 30px 0;
  }
  .game-card-copy {
    padding: 20px 30px 32px;
  }
  .game-card-art {
    min-height: 430px;
  }
  .game-hero-layout {
    gap: 35px;
  }
  .game-title-art {
    max-width: 270px;
  }
  .values article {
    padding: 24px;
  }
  .theme-gothic .trailer-layout {
    gap: 30px;
    padding: 25px;
  }
}
@media (max-width: 700px) {
  .wrap,
  .header-inner {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 108px;
  }
  #main-nav {
    gap: clamp(10px, 4vw, 23px);
  }
  .home-hero {
    display: flex;
    flex-direction: column;
    gap: 35px;
    padding-block: 48px;
    text-align: center;
  }
  .home-hero .hero-copy {
    order: 0;
  }
  .home-hero .hero-art {
    order: 1;
    width: 100%;
    padding: 15px 0 0;
  }
  .home-hero h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }
  .home-hero .hero-actions {
    justify-content: center;
    gap: 16px;
  }
  .hero-emblem {
    width: 115px;
    height: 152px;
  }
  .hero-art:before {
    width: 185px;
    box-shadow: 0 0 0 13px #d9cba51a;
  }
  .hero-caption {
    margin-top: 18px;
    font-size: 0.65rem;
  }
  .games-section,
  .studio-section,
  .news-section {
    padding-block: 32px 40px;
  }
  .section-heading {
    gap: 16px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .section-heading .text-link {
    font-size: 0.9rem;
  }
  .game-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    border-radius: 10px;
  }
  .game-card-art {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
    padding: 28px;
  }
  .game-card-art img {
    height: 300px;
    width: auto;
  }
  .game-card-title {
    grid-column: 1;
    grid-row: 2;
    padding: 28px 25px 0;
  }
  .game-card-copy {
    grid-column: 1;
    grid-row: 3;
    padding: 20px 25px 30px;
  }
  .values {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .values article {
    padding: 26px;
  }
  .values h3 {
    margin: 10px 0;
  }
  .news-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px;
  }
  .news-date {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  .page-hero {
    padding-block: 45px;
  }
  .site-footer {
    padding-inline: 0;
  }
  .footer-top,
  .footer-bottom {
    width: calc(100% - 40px);
  }
  .theme-gothic .game-hero.has-key-art {
    padding-block: 40px;
  }
  .game-hero-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: center;
    min-height: 0;
  }
  .has-key-art h1 {
    font-size: clamp(2.7rem, 10vw, 4rem);
  }
  .game-hero .game-facts,
  .game-hero .hero-actions {
    justify-content: center;
  }
  .game-hero .lead {
    font-size: 1rem;
  }
  .game-title-art {
    width: 220px;
    max-width: 85%;
  }
  .theme-gothic .game-subnav {
    gap: 4px 16px;
    padding: 12px 20px;
    font-size: 0.78rem;
  }
  .theme-gothic .game-section {
    padding-block: 45px;
  }
  .game-overview {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .theme-gothic .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .theme-gothic .trailer-layout {
    padding: 18px;
    gap: 30px;
  }
  .theme-gothic .bloodline-card {
    padding: 25px;
  }
  .theme-gothic .bloodline-card > img {
    height: 300px;
  }
  .theme-gothic .icon-gallery {
    gap: 22px 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .theme-gothic .media-gallery figcaption {
    font-size: 1rem;
  }
  .theme-gothic #game-support > div {
    padding: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .button,
  .theme-gothic .icon-gallery a {
    transition: none;
  }
  .button:hover {
    transform: none;
  }
}

/* Keep the emblem and studio caption comfortably inside the circular frame. */
.home-hero .hero-emblem,
.home-hero .hero-caption {
  transform: translateY(-30px);
}
.game-platforms {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 22px;
}
@media (min-width: 701px) and (max-width: 1000px) {
  .home-hero .hero-emblem {
    width: 129px;
    height: 170px;
  }
  .home-hero .hero-caption {
    margin-top: 16px;
    font-size: 0.6rem;
    gap: 12px;
  }
}
@media (max-width: 700px) {
  .home-hero .hero-art {
    min-height: 240px;
  }
  .home-hero .hero-art:before {
    width: min(100%, 240px);
  }
  .home-hero .hero-emblem,
  .home-hero .hero-caption {
    transform: translateY(-8px);
  }
}
