/* =========================================================
   COREWORKS STUDIO — style.css
   Component + section styles. Tokens live in theme.css.
   ========================================================= */

/* ---------------------------------------------------------
   Buttons & text links
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.95em 1.9em;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #17130a;
  border: 1px solid var(--gold);
}
.btn-primary:hover { transform: translateY(-1px); background: linear-gradient(180deg, #e6c383, var(--gold-bright)); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold-bright); }

.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--paper);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.text-link:hover { color: var(--gold-bright); border-color: var(--gold); }
.text-link svg { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

.text-link--gold { color: var(--gold); border-color: var(--line-gold); }
.text-link--gold:hover { color: var(--gold-bright); }

/* ---------------------------------------------------------
   Announcement bar
   --------------------------------------------------------- */
.announce {
  background: #050506;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.announce__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  padding-block: 0.6rem;
  text-align: center;
  position: relative;
}
.announce__link {
  display: none;
  color: var(--paper-faint);
  border-left: 1px solid var(--line);
  padding-left: var(--sp-4);
  white-space: nowrap;
}
.announce__link:hover { color: var(--gold); }
@media (min-width: 700px) {
  .announce__row { justify-content: space-between; text-align: left; }
  .announce__link { display: inline; }
}

/* ---------------------------------------------------------
   Header / Nav
   --------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 300;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}
.header.is-scrolled {
  background: rgba(6, 6, 8, 0.97);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  transition: height var(--dur-med) var(--ease);
}
.header.is-scrolled .nav { height: 72px; }

.nav__brand { display: flex; align-items: center; }
.nav__brand img {
  height: clamp(26px, 3.4vw, 34px);
  width: auto;
  transition: height var(--dur-med) var(--ease);
}

.nav__links {
  display: none;
  align-items: center;
  gap: clamp(1.1rem, 1.8vw, 2rem);
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
}
.nav__link {
  position: relative;
  padding-block: var(--sp-2);
  color: var(--paper-dim);
  transition: color var(--dur-fast) var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.nav__link:hover { color: var(--paper); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--paper); }
.nav__link.is-active::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: var(--sp-4); }
.nav__cta { display: none; }

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 34px;
  height: 34px;
  z-index: 210;
  position: relative;
}
.nav__toggle span {
  display: block;
  height: 1.5px;
  background: var(--paper);
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease), width var(--dur-fast) var(--ease);
}
.nav__toggle span:nth-child(1) { width: 26px; }
.nav__toggle span:nth-child(2) { width: 19px; }
.nav__toggle span:nth-child(3) { width: 26px; }
.nav__toggle:hover span { width: 26px; }

.menu-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 26px; }
.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 26px; }

@media (min-width: 1140px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
}

/* Mobile full-screen menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #08080a;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--sp-8) var(--gutter);
  padding-top: max(var(--sp-8), 108px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), visibility 0s linear var(--dur-med);
}
.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease), visibility 0s;
}
.mobile-menu__links { display: flex; flex-direction: column; gap: var(--sp-2); }
.mobile-menu__links a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  font-weight: 600;
  color: var(--paper);
  padding-block: var(--sp-2);
  border-bottom: 1px solid var(--line);
}
.mobile-menu__links a span {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gold);
  margin-right: var(--sp-3);
  vertical-align: middle;
}
.mobile-menu__foot {
  margin-top: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.menu-open { overflow: hidden; }

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: -1px; /* seam with header */
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,6,8,0.55) 0%, rgba(6,6,8,0.05) 22%, rgba(6,6,8,0.15) 60%, rgba(6,6,8,0.9) 100%),
    linear-gradient(100deg, rgba(6,6,8,0.94) 0%, rgba(6,6,8,0.8) 26%, rgba(6,6,8,0.25) 56%, rgba(6,6,8,0.05) 74%);
}
.hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero__content { max-width: 700px; padding-block: var(--sp-14) var(--sp-10); }
.hero__eyebrow { display: block; margin-bottom: var(--sp-5); }
.hero__title {
  font-size: var(--text-4xl);
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--paper);
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero__lede {
  margin-top: var(--sp-5);
  color: var(--paper-dim);
  font-size: var(--text-md);
  max-width: 48ch;
  line-height: 1.65;
}
.hero__actions {
  margin-top: var(--sp-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.hero__social {
  position: absolute;
  left: var(--gutter);
  bottom: var(--sp-6);
  z-index: 2;
  display: none;
  gap: var(--sp-4);
}
.hero__social a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--paper-dim);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.hero__social a:hover { color: var(--gold); border-color: var(--gold); }
.hero__social svg { width: 15px; height: 15px; }

.hero__scroll {
  position: absolute;
  right: var(--sp-6);
  bottom: var(--sp-8);
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  color: var(--paper-faint);
}
.hero__scroll span {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(var(--paper-faint), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: var(--gold);
  animation: scrollDrip 2.4s ease-in-out infinite;
}
@keyframes scrollDrip {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

@media (min-width: 780px) {
  .hero__social, .hero__scroll { display: flex; }
}
@media (max-width: 640px) {
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .hero__media img { object-position: 68% center; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(6,6,8,0.35) 0%, rgba(6,6,8,0.15) 30%, rgba(6,6,8,0.55) 62%, rgba(6,6,8,0.97) 100%);
  }
  .hero__content { padding-block: var(--sp-12) var(--sp-8); }
}

/* ---------------------------------------------------------
   Section header (shared pattern used selectively)
   --------------------------------------------------------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-6);
  margin-bottom: var(--sp-10);
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: var(--text-2xl);
  line-height: 1.08;
  max-width: 16ch;
}
.section-head .text-link { flex-shrink: 0; }

/* ---------------------------------------------------------
   About
   --------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-12);
  align-items: center;
}
.about__title {
  font-size: var(--text-2xl);
  line-height: 1.1;
  margin-top: var(--sp-4);
  max-width: 14ch;
}
.about__body { margin-top: var(--sp-5); }

.about__pillars {
  margin-top: var(--sp-10);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.pillar__mark { width: 14px; height: 2px; background: var(--gold); margin-bottom: var(--sp-3); }
.pillar h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pillar p { margin-top: var(--sp-2); color: var(--paper-faint); font-size: var(--text-sm); line-height: 1.6; }

.about__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-10);
}
.about__art::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--gold-wash), transparent 68%);
}
.about__art img { position: relative; width: min(280px, 70%); opacity: 0.96; }
.about__rule {
  position: relative;
  width: 64px;
  height: 1px;
  background: var(--line-gold);
  margin: var(--sp-5) auto 0;
}

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: var(--sp-10); }
  .about__art { order: -1; padding: var(--sp-4); }
  .about__art img { width: min(220px, 55%); }
  .about__pillars { grid-template-columns: 1fr; gap: var(--sp-5); }
}

/* ---------------------------------------------------------
   Featured Games
   --------------------------------------------------------- */
.games__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.game-card {
  background: var(--ink-raised);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}
.game-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.game-card__media { position: relative; aspect-ratio: 1.32 / 1; overflow: hidden; }
.game-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease);
}
.game-card:hover .game-card__media img { transform: scale(1.055); }

.status-pill {
  position: absolute;
  top: var(--sp-3); left: var(--sp-3);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: rgba(6,6,8,0.66);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong);
  padding: 0.35em 0.75em;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.status-pill i {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--paper-faint);
  display: inline-block;
}
.status-pill.is-dev i { background: var(--gold); }
.status-pill.is-dev { color: var(--paper); }

.game-card__body { padding: var(--sp-5); }
.game-card__title { font-size: var(--text-lg); }
.game-card__meta {
  margin-top: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.game-card__desc {
  margin-top: var(--sp-3);
  color: var(--paper-faint);
  font-size: var(--text-sm);
  line-height: 1.6;
}
.game-card__link { margin-top: var(--sp-5); }

@media (max-width: 900px) {
  .games__grid {
    display: flex;
    gap: var(--sp-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-bottom: var(--sp-3);
    scrollbar-width: none;
  }
  .games__grid::-webkit-scrollbar { display: none; }
  .game-card { min-width: 82%; scroll-snap-align: start; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .games__grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
}

/* ---------------------------------------------------------
   Technology
   --------------------------------------------------------- */
.tech { position: relative; background: var(--ink-raised); }
.tech__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--sp-12);
}
.tech__intro { position: relative; }
.tech__watermark {
  position: absolute;
  left: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 140%;
  max-width: 640px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.tech__intro > * { position: relative; z-index: 1; }
.tech__title { font-size: var(--text-2xl); line-height: 1.1; margin-top: var(--sp-4); max-width: 13ch; }
.tech__body { margin-top: var(--sp-5); }

.tech__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tech-feature {
  background: var(--ink-raised);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 190px;
}
.tech-feature svg { width: 26px; height: 26px; color: var(--gold); margin-bottom: var(--sp-4); }
.tech-feature h3 { font-size: var(--text-base); letter-spacing: 0.01em; }
.tech-feature p { margin-top: var(--sp-2); color: var(--paper-faint); font-size: var(--text-sm); line-height: 1.6; }

@media (max-width: 900px) {
  .tech__grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .tech__watermark { display: none; }
  .tech__features { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Services
   --------------------------------------------------------- */
.services__list { border-top: 1px solid var(--line); }
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1.1fr 1.6fr;
  align-items: center;
  gap: var(--sp-6);
  padding-block: var(--sp-6);
  border-bottom: 1px solid var(--line);
  transition: padding-left var(--dur-med) var(--ease);
}
.service-row::before {
  content: '';
  position: absolute;
  left: -1px; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--dur-med) var(--ease);
}
.service-row:hover { padding-left: var(--sp-3); }
.service-row:hover::before { transform: scaleY(1); }
.service-row svg { width: 26px; height: 26px; color: var(--gold); }
.service-row h3 {
  font-family: var(--font-display);
  font-size: var(--text-md);
}
.service-row p { color: var(--paper-faint); font-size: var(--text-sm); }

@media (max-width: 700px) {
  .service-row { grid-template-columns: 40px 1fr; row-gap: var(--sp-2); }
  .service-row p { grid-column: 2; }
}

/* ---------------------------------------------------------
   Studio Philosophy
   --------------------------------------------------------- */
.philosophy {
  position: relative;
  background: var(--ink-raised);
  overflow: hidden;
  text-align: center;
  padding-block: var(--sp-16);
}
.philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, var(--gold-wash), transparent 60%);
}
.philosophy__mark {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, 150vw);
  opacity: 0.045;
  pointer-events: none;
}
.philosophy__inner { position: relative; z-index: 1; max-width: 780px; margin-inline: auto; }
.philosophy__rule { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); margin: 0 auto var(--sp-6); }
.philosophy__quote {
  font-size: var(--text-3xl);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.philosophy__quote em {
  font-style: normal;
  color: var(--gold-bright);
}
.philosophy__sub { margin-top: var(--sp-6); color: var(--paper-faint); }

/* ---------------------------------------------------------
   News
   --------------------------------------------------------- */
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}
.news-card { border-top: 1px solid var(--line-strong); padding-top: var(--sp-5); }
.news-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--ink-raised); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__date {
  display: block;
  margin-top: var(--sp-4);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
}
.news-card__title { margin-top: var(--sp-2); font-size: var(--text-md); line-height: 1.3; }
.news-card__excerpt { margin-top: var(--sp-2); color: var(--paper-faint); font-size: var(--text-sm); line-height: 1.6; }
.news-card__link { margin-top: var(--sp-4); }

@media (max-width: 900px) {
  .news__grid { grid-template-columns: 1fr; gap: var(--sp-8); }
}

/* ---------------------------------------------------------
   Careers
   --------------------------------------------------------- */
.careers { position: relative; text-align: center; }
.careers__inner { max-width: 640px; margin-inline: auto; }
.careers__title { font-size: var(--text-2xl); margin-top: var(--sp-4); }
.careers__sub { margin: var(--sp-4) auto 0; color: var(--paper-dim); }
.careers__actions { margin-top: var(--sp-8); display: flex; justify-content: center; }

/* ---------------------------------------------------------
   Final CTA
   --------------------------------------------------------- */
.final-cta {
  position: relative;
  text-align: center;
  padding-block: var(--sp-16);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: min(900px, 140vw);
  height: 100%;
  background: radial-gradient(ellipse at 50% 30%, var(--gold-wash), transparent 62%);
  pointer-events: none;
}
.final-cta__inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.final-cta__title { font-size: var(--text-3xl); line-height: 1.08; }
.final-cta__sub { margin: var(--sp-5) auto 0; color: var(--paper-dim); max-width: 46ch; }
.final-cta__actions { margin-top: var(--sp-8); display: flex; justify-content: center; }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding-top: var(--sp-14); }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.85fr);
  gap: var(--sp-8);
}
.footer__brand img { height: 30px; width: auto; }
.footer__tagline { margin-top: var(--sp-4); color: var(--paper-faint); font-size: var(--text-sm); max-width: 30ch; line-height: 1.6; }
.footer__social { margin-top: var(--sp-6); display: flex; gap: var(--sp-3); }
.footer__social a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--paper-faint);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.footer__social a:hover { color: var(--gold); border-color: var(--gold); }
.footer__social svg { width: 14px; height: 14px; }

.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-faint);
  font-weight: 500;
}
.footer__col ul { margin-top: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__col a { color: var(--paper-dim); font-size: var(--text-sm); transition: color var(--dur-fast) var(--ease); }
.footer__col a:hover { color: var(--gold); }

.footer__newsletter { grid-column: span 4; margin-top: var(--sp-6); padding-top: var(--sp-8); border-top: 1px solid var(--line); }
.footer__newsletter-inner { max-width: 480px; }
.footer__newsletter h4 {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--paper-faint); font-weight: 500;
}
.footer__newsletter p { margin-top: var(--sp-3); color: var(--paper-dim); font-size: var(--text-sm); }
.newsletter-form { margin-top: var(--sp-5); display: flex; gap: var(--sp-3); }
.newsletter-form input {
  flex: 1;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 0.85em 1.1em;
  color: var(--paper);
  font-size: var(--text-sm);
}
.newsletter-form input::placeholder { color: var(--paper-faint); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
  width: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold);
  color: #17130a;
  transition: background var(--dur-fast) var(--ease);
}
.newsletter-form button:hover { background: var(--gold-bright); }
.newsletter-form button svg { width: 16px; height: 16px; }
.newsletter-msg {
  margin-top: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--gold-bright);
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}
.newsletter-msg.is-shown { height: auto; opacity: 1; }
.newsletter-msg.is-error { color: #e0937d; }

.footer__bottom {
  margin-top: var(--sp-10);
  padding-block: var(--sp-6);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-size: var(--text-xs);
  color: var(--paper-faint);
}
.footer__bottom .back-top {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  color: var(--paper-dim);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.footer__bottom .back-top:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.footer__bottom .back-top svg { width: 14px; height: 14px; }

@media (max-width: 980px) {
  .footer__top { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: span 2; }
  .footer__newsletter { grid-column: span 2; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; gap: var(--sp-8); }
  .footer__brand { grid-column: span 1; }
  .footer__newsletter { grid-column: span 1; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { width: 100%; height: 44px; }
}

/* ---------------------------------------------------------
   Misc
   --------------------------------------------------------- */
@media (max-width: 640px) {
  .section-head { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
}

/* ---------------------------------------------------------
   Interior page header (games / news / careers / legal)
   --------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-raised);
  padding-block: calc(var(--sp-14) + 40px) var(--sp-10);
  text-align: left;
}
.page-hero__mark {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: min(620px, 70vw);
  opacity: 0.05;
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 62ch; }
.page-hero__title { font-size: var(--text-3xl); line-height: 1.06; margin-top: var(--sp-4); }
.page-hero__lede { margin-top: var(--sp-5); }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-faint);
}
.breadcrumb a { color: var(--paper-faint); transition: color var(--dur-fast) var(--ease); }
.breadcrumb a:hover { color: var(--gold); }

/* ---------------------------------------------------------
   Full games / news listing (interior pages)
   --------------------------------------------------------- */
.games-full__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
}
.game-card--full .game-card__media { aspect-ratio: 16/10; }
.game-card--full .game-card__body { padding: var(--sp-6); }
.game-card--full .game-card__title { font-size: var(--text-xl); }
.game-card__features {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
}
.game-card__features span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--paper-faint);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.game-card__features span::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--gold);
  display: inline-block;
}
@media (max-width: 780px) {
  .games-full__grid { grid-template-columns: 1fr; }
}

.news-full__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}
@media (max-width: 900px) {
  .news-full__grid { grid-template-columns: 1fr; max-width: 480px; }
}

.archive-note {
  margin-top: var(--sp-10);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--paper-faint);
  font-size: var(--text-sm);
}

/* ---------------------------------------------------------
   Careers: culture strip + job listings
   --------------------------------------------------------- */
.culture__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: var(--sp-10);
}
.culture-item h3 { font-size: var(--text-base); letter-spacing: 0.01em; }
.culture-item p { margin-top: var(--sp-2); color: var(--paper-faint); font-size: var(--text-sm); line-height: 1.6; }
@media (max-width: 900px) {
  .culture__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .culture__grid { grid-template-columns: 1fr; }
}

.job-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr auto;
  align-items: center;
  gap: var(--sp-5);
  padding-block: var(--sp-5);
  border-bottom: 1px solid var(--line);
}
.job-row__title { font-family: var(--font-display); font-size: var(--text-md); }
.job-row__tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-faint);
}
@media (max-width: 780px) {
  .job-row { grid-template-columns: 1fr; row-gap: var(--sp-2); text-align: left; }
  .job-row .text-link { margin-top: var(--sp-2); }
}

/* ---------------------------------------------------------
   Legal / long-form prose pages
   --------------------------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: var(--text-lg); margin-top: var(--sp-10); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: var(--sp-4); color: var(--paper-dim); line-height: 1.75; }
.prose ul { margin-top: var(--sp-4); padding-left: 1.2em; list-style: disc; color: var(--paper-dim); line-height: 1.75; }
.prose li { margin-top: var(--sp-2); }
.prose strong { color: var(--paper); }
.placeholder-note {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  background: var(--ink-raised);
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--gold);
  padding: var(--sp-5);
  margin-bottom: var(--sp-10);
  font-size: var(--text-sm);
  color: var(--paper-dim);
  line-height: 1.6;
}
.placeholder-note strong { color: var(--gold-bright); }
.legal-note {
  margin-top: var(--sp-12);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
  color: var(--paper-faint);
  font-size: var(--text-xs);
  line-height: 1.7;
  font-style: italic;
}

/* ---------------------------------------------------------
   Simple content section (no full-bleed image) shared width
   --------------------------------------------------------- */
.narrow { max-width: 900px; }

/* ---------------------------------------------------------
   Empty state (used where real content doesn't exist yet)
   --------------------------------------------------------- */
.empty-state {
  text-align: center;
  max-width: 480px;
  margin-inline: auto;
  padding-block: var(--sp-12);
}
.empty-state img { width: 64px; margin-inline: auto; opacity: 0.5; }
.empty-state h2 { font-size: var(--text-lg); margin-top: var(--sp-6); }
.empty-state p { margin-top: var(--sp-3); color: var(--paper-faint); font-size: var(--text-sm); line-height: 1.6; }
.empty-state .btn, .empty-state .text-link { margin-top: var(--sp-6); }

/* ---------------------------------------------------------
   Contact cards
   --------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.contact-card { background: var(--ink); padding: var(--sp-8); }
.contact-card h3 { font-size: var(--text-md); }
.contact-card p { margin-top: var(--sp-3); color: var(--paper-faint); font-size: var(--text-sm); line-height: 1.6; }
.contact-card a.text-link { margin-top: var(--sp-5); }
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Value / info grid (About, Technology, Security pages)
   --------------------------------------------------------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
}
.info-grid--2 { grid-template-columns: repeat(2, 1fr); }
.info-item h3 { font-size: var(--text-md); display: flex; align-items: center; gap: var(--sp-3); }
.info-item h3 svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.info-item p { margin-top: var(--sp-3); color: var(--paper-faint); font-size: var(--text-sm); line-height: 1.7; }
@media (max-width: 900px) {
  .info-grid, .info-grid--2 { grid-template-columns: 1fr; gap: var(--sp-8); }
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-8);
}
.stat-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-dim);
  border: 1px solid var(--line-strong);
  padding: 0.6em 1.1em;
}

/* Coming-soon status pill variant (neutral, not tied to real dev status) */
.status-pill.is-soon { color: var(--paper-dim); }

/* Security / long-form page contact box */
.contact-box {
  margin-top: var(--sp-10);
  padding: var(--sp-6);
  background: var(--ink-raised);
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--gold);
}
.contact-box p { margin: 0; color: var(--paper-dim); font-size: var(--text-sm); line-height: 1.6; }
.contact-box a { color: var(--gold-bright); }

/* ---------------------------------------------------------
   Co-brand credit strip (games page)
   --------------------------------------------------------- */
.games-credit {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--line);
}
.games-credit span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-faint);
}
.games-credit img { height: 30px; width: auto; opacity: 0.92; }
@media (max-width: 560px) {
  .games-credit { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
}
