/* ============================================
   Pocket Worlds — Corporate Site
   Cinematic, glass-led design system
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #050506;
  --bg-raised: #0b0b0e;
  --bg-card: rgba(255, 255, 255, 0.055);
  --paper: #f2f0ea;
  --white: #ffffff;
  --accent: #ff006b;
  --accent-light: #ff006b;
  --accent-glow: rgba(255, 0, 107, 0.24);
  --accent-soft: rgba(255, 0, 107, 0.09);
  --gray-100: #efeff2;
  --gray-300: #b5b5bd;
  --gray-500: #777780;
  --gray-700: #303036;
  --highrise: #6C5CE7;
  --everskies: #E84393;
  --font-sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --glass-border: rgba(255, 255, 255, 0.11);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  background-image:
    radial-gradient(circle at 50% -15%, rgba(255, 0, 107, 0.08), transparent 34%),
    linear-gradient(var(--bg), var(--bg));
}

::selection {
  color: #050506;
  background: var(--accent-light);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 56px;
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.78), rgba(5, 5, 6, 0.52));
  backdrop-filter: blur(26px) saturate(145%);
  -webkit-backdrop-filter: blur(26px) saturate(145%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease);
  animation: nav-arrive 1s var(--ease) 0.1s both;
}

.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.035), transparent);
}

.nav.is-scrolled {
  background: rgba(8, 8, 10, 0.68);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.2);
}

@keyframes nav-arrive {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 56px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-map {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px;
  border: 0;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.035);
  transform: translateX(-50%);
}

.nav-map a {
  padding: 8px 15px;
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav-map a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.logo-img {
  height: 25px;
  width: auto;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 24px;
  border-radius: 100px;
  background: var(--white);
  color: #050506;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.nav-cta:hover {
  color: var(--white);
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px var(--accent-glow);
}

.nav-cta:focus-visible,
.careers-cta:focus-visible,
.recognition-cta:focus-visible,
.placeholder-cta:focus-visible,
.career-primary-cta:focus-visible,
.career-job:focus-visible,
.page-primary-cta:focus-visible,
.legal-world-link:focus-visible,
.legal-source-link:focus-visible,
.footer-link:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 24px; height: 60px; }
  .logo-img { height: 20px; }
  .nav-cta { padding: 8px 18px; font-size: 13px; }
  .nav-map { display: none; }
}

/* --- Hero --- */
.hero {
  height: 100svh;
  min-height: 720px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #050506;
}

.hero-grid {
  position: absolute;
  inset: -2%;
  display: flex;
  gap: 14px;
  padding: 0 14px;
  justify-content: center;
  perspective: 1500px;
  transform: scale(1.025);
}

.hero-col {
  flex: 0 0 calc((100% - 98px) / 7);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(calc(var(--col-offset, 0%) + var(--hero-shift, 0px)));
  animation: hero-column-arrive 1.8s var(--ease) both;
  will-change: transform, opacity;
}

.hero-col:nth-child(1) { animation-delay: 0.08s; }
.hero-col:nth-child(2) { animation-delay: 0.16s; }
.hero-col:nth-child(3) { animation-delay: 0.24s; }
.hero-col:nth-child(4) { animation-delay: 0.32s; }
.hero-col:nth-child(5) { animation-delay: 0.4s; }
.hero-col:nth-child(6) { animation-delay: 0.48s; }
.hero-col:nth-child(7) { animation-delay: 0.56s; }

@keyframes hero-column-arrive {
  from {
    opacity: 0;
    transform: translateY(calc(var(--col-offset, 0%) + 8%)) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(calc(var(--col-offset, 0%) + var(--hero-shift, 0px))) scale(1);
  }
}

.hero-col img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  aspect-ratio: 360 / 520;
  flex-shrink: 0;
  filter: saturate(0.82) brightness(0.78) contrast(1.03);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 44% at 50% 50%, rgba(255, 0, 107, 0.1) 0%, transparent 72%),
    radial-gradient(ellipse 60% 52% at 50% 50%, rgba(5, 5, 6, 0.94) 0%, rgba(5, 5, 6, 0.67) 58%, rgba(5, 5, 6, 0.26) 100%),
    linear-gradient(to bottom, var(--bg) 0%, transparent 16%, transparent 80%, var(--bg) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  flex-direction: column;
  padding-top: 56px;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(54px, 7.9vw, 116px);
  font-weight: 400;
  line-height: 0.96;
  text-align: center;
  letter-spacing: -0.062em;
  color: var(--white);
}

.hero-line {
  display: block;
  overflow: hidden;
  padding: 0 0.08em 0.08em;
  margin: 0 -0.08em;
}

.hero-line > span {
  display: block;
  transform: translateY(112%);
}

.is-ready .hero-line:first-child > span {
  animation: hero-copy-arrive 1.25s var(--ease) 0.38s forwards;
}

.is-ready .hero-line:last-child > span {
  animation: hero-copy-arrive 1.25s var(--ease) 0.5s forwards;
}

@keyframes hero-copy-arrive {
  to { transform: translateY(0); }
}

.hero-title em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.035em;
  color: var(--accent-light);
  text-shadow: 0 0 64px var(--accent-glow);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-col,
  .nav,
  .is-ready .hero-line > span { animation: none; }
  .hero-line > span { transform: none; }
}

@media (max-width: 900px) {
  .hero-grid { gap: 8px; padding: 0 8px; }
  .hero-col { flex: 0 0 calc((100% - 48px) / 5); gap: 8px; --col-offset: -5% !important; }
  .hero-col:nth-child(2) { --col-offset: -12% !important; }
  .hero-col:nth-child(3) { --col-offset: -2% !important; }
  .hero-col:nth-child(4) { --col-offset: -9% !important; }
  .hero-col:nth-child(5) { --col-offset: -7% !important; }
  .hero-col:nth-child(6),
  .hero-col:nth-child(7) { display: none; }
  .hero-col img { border-radius: 12px; }
}

@media (max-width: 600px) {
  .hero { height: 88svh; min-height: 600px; }
  .hero-grid { gap: 6px; padding: 0 6px; }
  .hero-col { flex: 0 0 calc((100% - 18px) / 4); gap: 6px; --col-offset: -6% !important; }
  .hero-col:nth-child(2) { --col-offset: -15% !important; }
  .hero-col:nth-child(3) { --col-offset: -3% !important; }
  .hero-col:nth-child(4) { --col-offset: -10% !important; }
  .hero-col:nth-child(5),
  .hero-col:nth-child(6),
  .hero-col:nth-child(7) { display: none; }
  .hero-col img { border-radius: 9px; aspect-ratio: 2 / 3; }
  .hero-content { padding-top: 46px; }
  .hero-title { font-size: clamp(46px, 14vw, 68px); line-height: 0.98; }
}

/* --- Metrics --- */
.metrics {
  padding: 190px 0 170px;
  position: relative;
}

.metrics::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  width: min(92%, 1280px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
}

.metrics-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 130px;
}

.metric {
  font-family: var(--font-sans);
  text-align: center;
  width: 100%;
}

.metric-number {
  font-size: clamp(74px, 11vw, 146px);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: -0.07em;
  color: rgba(255, 255, 255, 0.96);
}

.metric-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.035em;
  color: var(--accent-light);
  text-shadow: 0 0 52px var(--accent-glow);
}

.metric-label {
  font-size: clamp(17px, 1.7vw, 22px);
  color: var(--gray-300);
  margin-top: 18px;
  letter-spacing: -0.015em;
  font-weight: 400;
}

/* --- Recognition --- */
.recognition {
  padding: 180px 0;
  text-align: center;
  position: relative;
}

.recognition .container {
  max-width: 1120px;
  padding-top: 100px;
  padding-bottom: 100px;
  border: 1px solid var(--glass-border);
  border-radius: 44px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 0, 107, 0.15), transparent 40%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.2);
}

.recognition-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: 34px;
}

.recognition-title {
  max-width: 940px;
  margin: 0 auto 42px;
  font-size: clamp(42px, 5.3vw, 72px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.recognition-body {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--gray-300);
  max-width: 760px;
  margin: 0 auto 50px;
}

.recognition-body strong {
  color: #fff;
  font-weight: 600;
}

.recognition-cta {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 40px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.recognition-cta:hover {
  color: #050506;
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* --- Mission --- */
.mission {
  padding: 190px 0 230px;
}

.mission-blocks {
  max-width: 1248px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 180px;
}

.mission-text {
  font-family: var(--font-sans);
  max-width: none;
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.034em;
  color: rgba(255, 255, 255, 0.94);
}

.mission-emphasis {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--accent-light);
  padding-bottom: 0.1em;
}

.word-reveal-ready .reveal-word {
  display: inline;
  opacity: 0.12;
  filter: blur(5px);
  will-change: opacity, filter;
}

/* --- Products --- */
.products {
  padding: 160px 0;
  position: relative;
  color: #0a0a0b;
  background:
    radial-gradient(circle at 16% 15%, rgba(255, 255, 255, 0.95), transparent 30%),
    var(--paper);
  border-radius: 52px 52px 0 0;
}

.products::before { display: none; }

.section-eyebrow {
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.section-title {
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.065em;
  margin-bottom: 86px;
}

.product-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.product-card {
  min-height: 720px;
  margin: 0;
  padding: 48px;
  border-radius: 40px;
  color: #09090a;
  background: #d9d2ff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(22, 14, 40, 0.09);
}

.product-card-highrise {
  background:
    linear-gradient(rgba(108, 92, 231, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 92, 231, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 80% 82%, rgba(255, 255, 255, 0.42), transparent 34%),
    linear-gradient(145deg, #d9d4ff, #a89bf7);
  background-size: 34px 34px, 34px 34px, auto, auto;
}

.product-card-everskies {
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 85%, rgba(255, 255, 255, 0.48), transparent 34%),
    linear-gradient(145deg, #f7d7e7, #efa2c7);
  background-size: 38px 38px, auto, auto;
}

.product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  position: relative;
  z-index: 2;
}

.product-name {
  font-size: clamp(42px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.world-badge {
  padding: 8px 12px;
  border: 1px solid rgba(9, 9, 10, 0.18);
  border-radius: 100px;
  color: rgba(9, 9, 10, 0.58);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
  max-width: 88%;
}

.product-stats li {
  font-size: clamp(13px, 1.25vw, 15px);
  color: rgba(9, 9, 10, 0.64);
  line-height: 1.45;
  padding-left: 18px;
  position: relative;
}

.product-stats li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.stat-highlight {
  color: #09090a;
}

.product-collage {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 250px;
  bottom: -56px;
  pointer-events: none;
  perspective: 1200px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 100%);
}

.product-collage::before {
  content: '';
  position: absolute;
  inset: 18% 4% 4%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  filter: blur(54px);
}

.product-shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 28px 55px rgba(28, 18, 50, 0.24);
  transition: transform 0.9s var(--ease), box-shadow 0.9s var(--ease);
  will-change: transform;
}

.product-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-shot-primary {
  z-index: 3;
  right: 2%;
  bottom: 0;
  width: 50%;
  height: 82%;
  transform: rotate(3deg) translateZ(30px);
}

.product-shot-secondary {
  z-index: 2;
  left: 3%;
  bottom: 20%;
  width: 42%;
  height: 62%;
  transform: rotate(-7deg) translateZ(5px);
}

.product-shot-tertiary {
  z-index: 4;
  left: 31%;
  bottom: -1%;
  width: 31%;
  height: 47%;
  transform: rotate(6deg) translateZ(55px);
}

.product-collage-highrise .product-shot-primary img { object-position: center 32%; }
.product-collage-highrise .product-shot-secondary img { object-position: center 48%; }
.product-collage-highrise .product-shot-tertiary img { object-position: center 32%; }

.product-collage-everskies .product-shot-primary {
  left: 2%;
  right: auto;
  transform: rotate(-3deg) translateZ(30px);
}

.product-collage-everskies .product-shot-secondary {
  left: auto;
  right: 3%;
  transform: rotate(7deg) translateZ(5px);
}

.product-collage-everskies .product-shot-tertiary {
  left: auto;
  right: 31%;
  transform: rotate(-6deg) translateZ(55px);
}

.product-collage-everskies .product-shot-primary img { object-position: center 28%; }
.product-collage-everskies .product-shot-secondary img { object-position: center 58%; }
.product-collage-everskies .product-shot-tertiary img { object-position: center 34%; }

.product-card:hover .product-shot-primary {
  transform: rotate(1deg) translateY(-14px) translateZ(42px) scale(1.018);
  box-shadow: 0 38px 70px rgba(28, 18, 50, 0.29);
}

.product-card:hover .product-shot-secondary {
  transform: rotate(-4deg) translate(-5px, -6px) translateZ(12px);
}

.product-card:hover .product-shot-tertiary {
  transform: rotate(3deg) translate(4px, -10px) translateZ(62px);
}

.product-card-everskies:hover .product-shot-primary {
  transform: rotate(-1deg) translateY(-14px) translateZ(42px) scale(1.018);
}

.product-card-everskies:hover .product-shot-secondary {
  transform: rotate(4deg) translate(5px, -6px) translateZ(12px);
}

.product-card-everskies:hover .product-shot-tertiary {
  transform: rotate(-3deg) translate(-4px, -10px) translateZ(62px);
}

.product-card-placeholder {
  min-height: 0;
  margin-top: 28px;
  padding: 56px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 0, 107, 0.24), transparent 30%),
    #0a0a0c;
  box-shadow: 0 24px 70px rgba(22, 14, 40, 0.12);
}

.product-card-placeholder .product-stats { max-width: 780px; }
.product-card-placeholder .product-stats li { color: var(--gray-300); }
.product-card-placeholder .stat-highlight { color: var(--white); }

.placeholder-name {
  color: var(--white);
  font-weight: 400;
}

.placeholder-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 24px;
  transition: gap 0.2s var(--ease);
}

.placeholder-cta:hover {
  gap: 14px;
}

@media (max-width: 768px) {
  .products { padding: 110px 0; border-radius: 34px 34px 0 0; }
  .product-showcase-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 620px; padding: 34px 28px; }
  .product-collage { left: 16px; right: 16px; top: 250px; bottom: -46px; }
  .product-shot { border-radius: 20px; }
  .product-shot-primary { width: 52%; height: 76%; }
  .product-shot-secondary { width: 45%; height: 62%; }
  .product-shot-tertiary { width: 33%; height: 43%; }
  .product-card-placeholder { min-height: 0; padding: 40px 28px; }
  .product-stats { max-width: 100%; }
}

/* --- Technology --- */
.technology {
  padding: 190px 0 170px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 29%, rgba(255, 0, 107, 0.12), transparent 24%),
    var(--bg);
}

.technology::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.11), transparent);
}

.tech-header .section-title {
  max-width: 980px;
  margin-bottom: 30px;
}

.tech-header.is-visible .section-title {
  opacity: 1;
  transform: translateY(0);
}

.tech-subtitle {
  font-size: clamp(18px, 1.55vw, 21px);
  color: var(--gray-300);
  line-height: 1.55;
  letter-spacing: -0.015em;
  max-width: 720px;
  margin-bottom: 74px;
}

.tech-labs-link {
  color: var(--accent-light);
  font-weight: 500;
  transition: opacity 0.2s;
}

.tech-labs-link:hover {
  opacity: 0.8;
}

.engine-core {
  --engine-rx: 0deg;
  --engine-ry: 0deg;
  --engine-tx: 0px;
  --engine-ty: 0px;
  --engine-scale: 1;
  --engine-light-x: 50%;
  --engine-light-y: 42%;
  width: min(430px, 80vw);
  aspect-ratio: 1;
  margin: 0 auto 104px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background:
    radial-gradient(circle at var(--engine-light-x) var(--engine-light-y), rgba(255, 0, 107, 0.19), transparent 39%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018));
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -50px 90px rgba(255, 0, 107, 0.025),
    0 38px 90px rgba(0, 0, 0, 0.18),
    0 0 110px rgba(255, 0, 107, 0.08);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.28s var(--ease-soft), box-shadow 0.65s var(--ease), border-color 0.65s var(--ease), background 0.3s var(--ease-soft);
}

.engine-core::before,
.engine-core::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.engine-core::before {
  inset: 9%;
  background: radial-gradient(circle, transparent 58%, rgba(255, 255, 255, 0.055) 59%, rgba(255, 255, 255, 0.055) 64%, transparent 65%);
  box-shadow:
    inset 0 0 70px rgba(255, 255, 255, 0.012);
  transform: translateZ(14px);
}

.engine-core::after {
  inset: 26%;
  background: rgba(255, 0, 107, 0.035);
  box-shadow: inset 0 0 42px rgba(255, 0, 107, 0.08), 0 0 52px rgba(255, 0, 107, 0.07);
  transform: translateZ(28px);
}

.engine-core-orbit {
  position: absolute;
  inset: -4%;
  z-index: 3;
  pointer-events: none;
  transform-style: preserve-3d;
  animation: engine-breathe 8s var(--ease-soft) infinite;
}

.engine-core-orbit span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 0, 107, 0.09));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 32px rgba(0, 0, 0, 0.18), 0 0 28px rgba(255, 0, 107, 0.09);
  transition: transform 0.34s var(--ease-soft), box-shadow 0.34s var(--ease-soft);
}

.engine-core-orbit span:first-child { width: 56px; height: 56px; left: 5%; top: 12%; transform: translate3d(var(--orbit-one-x, 0px), var(--orbit-one-y, 0px), 74px); }
.engine-core-orbit span:nth-child(2) { width: 40px; height: 40px; right: -1%; top: 49%; transform: translate3d(var(--orbit-two-x, 0px), var(--orbit-two-y, 0px), 48px); background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(136, 115, 255, 0.12)); }
.engine-core-orbit span:last-child { width: 28px; height: 28px; left: 23%; bottom: 1%; transform: translate3d(var(--orbit-three-x, 0px), var(--orbit-three-y, 0px), 34px); }

@keyframes engine-breathe {
  50% { transform: translateY(-4px) scale(1.015); }
}

.engine-core-copy {
  position: relative;
  z-index: 4;
  text-align: center;
  transform: translateZ(48px);
  transition: transform 0.34s var(--ease-soft);
}

.engine-core-copy span,
.engine-core-copy small { display: block; font-family: var(--font-sans); }

.engine-core-copy span { margin-bottom: 14px; color: var(--accent-light); font-size: 15px; font-weight: 600; letter-spacing: -0.015em; }
.engine-core-copy strong { display: block; font-size: clamp(34px, 4.2vw, 52px); font-weight: 500; line-height: 1; letter-spacing: -0.055em; }
.engine-core-copy small { max-width: 230px; margin: 18px auto 0; color: var(--gray-300); font-size: 15px; line-height: 1.45; letter-spacing: -0.015em; }

.engine-core.is-linked {
  border-color: rgba(255, 0, 107, 0.28);
  --engine-scale: 1.01;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -50px 90px rgba(255, 0, 107, 0.04),
    0 42px 96px rgba(0, 0, 0, 0.2),
    0 0 120px rgba(255, 0, 107, 0.14);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  position: relative;
}

.tech-grid::before {
  content: '';
  position: absolute;
  left: 4%;
  right: 4%;
  top: -84px;
  height: 100px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 0, 107, 0.14), rgba(255, 0, 107, 0.035) 35%, transparent 72%);
  filter: blur(12px);
  pointer-events: none;
  opacity: 0.65;
  transition: opacity 0.45s var(--ease), filter 0.45s var(--ease);
}

.technology.has-active-module .tech-grid::before {
  opacity: 1;
  filter: blur(8px);
}

.tech-card {
  min-height: 326px;
  padding: 31px 20px 0;
  position: relative;
  background:
    radial-gradient(circle at 50% 112%, rgba(255, 0, 107, 0.055), transparent 50%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--glass-border);
  border-radius: 26px;
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 70px rgba(0, 0, 0, 0.16);
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition-property: opacity, transform, filter, border-color, background, box-shadow;
}

.tech-card::before {
  content: '';
  width: 76px;
  height: 4px;
  position: absolute;
  left: 50%;
  top: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.04);
  transform: translateX(-50%);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.tech-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 0, 107, 0.3);
  background:
    radial-gradient(circle at 50% 112%, rgba(255, 0, 107, 0.1), transparent 52%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 0, 107, 0.028));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 30px 80px rgba(0, 0, 0, 0.22),
    0 0 38px rgba(255, 0, 107, 0.055);
}

.tech-card:hover::before { background: var(--accent); box-shadow: 0 0 18px rgba(255, 0, 107, 0.34); }

.tech-name {
  margin-top: 4px;
  font-size: clamp(22px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  color: var(--white);
}

.tech-desc {
  font-size: clamp(14px, 1.15vw, 16px);
  color: var(--gray-300);
  line-height: 1.5;
  max-width: 280px;
}

.tech-illustration {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 190px;
}

.tech-canvas {
  width: 100%;
  height: 190px;
  display: block;
}

.tech-more {
  text-align: center;
  padding-top: 58px;
  font-size: 16px;
  color: var(--gray-500);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.tech-more.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tech-grid::before { display: none; }
  .tech-card { min-height: 360px; }
}

@media (max-width: 600px) {
  .tech-grid { grid-template-columns: 1fr; }
  .technology { padding: 120px 0; }
  .tech-card { min-height: 350px; padding: 34px 24px 0; border-radius: 24px; }
  .engine-core { width: min(350px, 88vw); margin-bottom: 76px; }
  .engine-core-copy span { font-size: 14px; }
  .engine-core-copy small { max-width: 190px; font-size: 15px; }
}

/* --- Thesis --- */
.thesis {
  padding: 180px 0;
  position: relative;
}

.thesis::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.thesis-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.thesis-card {
  min-height: 360px;
  padding: 42px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.068), rgba(255, 255, 255, 0.024));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  transition-property: opacity, transform, filter, border-color, background;
}

.thesis-card::before {
  display: none;
}

.thesis-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 0, 107, 0.32);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 0, 107, 0.035));
}

.thesis-number {
  font-family: var(--font-mono);
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 70px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

.thesis-heading {
  font-size: clamp(24px, 2.25vw, 31px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.thesis-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-300);
}

@media (max-width: 900px) {
  .thesis-blocks { grid-template-columns: 1fr; gap: 24px; }
  .thesis-card { min-height: 0; padding: 34px 28px; }
  .thesis-number { margin-bottom: 42px; }
  .thesis-card::before { left: 24px; right: 24px; }
}

/* --- Featured In --- */
.featured-in {
  padding: 110px 0 70px;
}

.featured-in-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.04em;
  text-align: center;
  margin-bottom: 48px;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px 56px;
}

.press-logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.58;
  filter: brightness(0) invert(1);
}

.press-logo-img-builtin {
  height: 48px;
}

/* --- Investors --- */
.investors {
  padding: 60px 0 100px;
}

.investors-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.04em;
  text-align: center;
  margin-bottom: 48px;
}

.logo-row-top {
  margin-bottom: 32px;
}

.investor-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  opacity: 0.58;
  filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
  .logo-row { gap: 28px 36px; }
  .press-logo-img { height: 22px; }
  .press-logo-img-builtin { height: 38px; }
  .investor-logo-img { height: 26px; }
}

/* --- Careers --- */
.careers {
  padding: 170px 0;
}

.careers-inner {
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
  padding: 110px 64px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 50% 112%, rgba(255, 0, 107, 0.28), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 38px 100px rgba(0, 0, 0, 0.24);
  position: relative;
  overflow: hidden;
}

.careers-inner::before,
.careers-inner::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  pointer-events: none;
}

.careers-inner::before { width: 92%; height: 165%; }
.careers-inner::after { width: 66%; height: 116%; border-color: rgba(255, 0, 107, 0.16); transform: translate(-50%, -50%) rotate(13deg); }

.careers-title,
.careers-body,
.careers-cta { position: relative; z-index: 2; }

.careers-title {
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin-bottom: 28px;
}

.careers-body {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--gray-300);
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto 44px;
}

.careers-cta {
  display: inline-flex;
  align-items: center;
  padding: 16px 40px;
  border-radius: 100px;
  background: var(--white);
  color: #050506;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
}

.careers-cta:hover {
  color: var(--white);
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 0 50px var(--accent-glow);
}

@media (max-width: 768px) {
  .careers { padding: 120px 0; }
  .careers-inner { padding: 76px 28px; border-radius: 30px; }
  .recognition { padding: 120px 24px; }
  .recognition .container { padding: 72px 28px; border-radius: 30px; }
}

/* --- Footer --- */
.footer {
  padding: 100px 0 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 80px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.footer-link {
  display: block;
  font-size: 15px;
  color: var(--gray-300);
  padding: 6px 0;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.footer-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-legal {
  font-size: 13px;
  color: var(--gray-500);
}

.footer-tagline {
  text-align: right;
}

.tagline-main {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--gray-700);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 48px; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; gap: 32px; }
  .footer-tagline { text-align: left; }
}

/* --- Careers page --- */
.careers-page {
  background-image:
    radial-gradient(circle at 50% 0%, rgba(255, 0, 107, 0.09), transparent 24%),
    linear-gradient(var(--bg), var(--bg));
}

.career-hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.career-hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url('https://cdn.highrisegame.com/web/pw/images/banners/pw-team-banner.webp');
  background-position: center;
  background-size: cover;
  filter: saturate(0.58) contrast(1.02) brightness(0.48);
  transform: scale(1.025);
  animation: career-hero-arrive 2s var(--ease) both;
}

@keyframes career-hero-arrive {
  from { opacity: 0; transform: scale(1.07); filter: saturate(0.38) contrast(1.02) brightness(0.32); }
  to { opacity: 1; transform: scale(1.025); filter: saturate(0.58) contrast(1.02) brightness(0.48); }
}

.career-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 62% 58% at 50% 48%, rgba(5, 5, 6, 0.16), rgba(5, 5, 6, 0.7) 88%),
    linear-gradient(to bottom, rgba(5, 5, 6, 0.36), rgba(5, 5, 6, 0.26) 48%, #050506 100%);
}

.career-hero-content {
  padding-top: 120px;
  padding-bottom: 72px;
  text-align: center;
}

.career-hero-title {
  max-width: 920px;
  margin: 0 auto;
  font-size: clamp(50px, 6vw, 88px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.058em;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.5);
}

.career-hero-title span,
.career-hero-title em { display: block; }

.career-hero-title em,
.career-section-title em {
  color: var(--accent);
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.035em;
  text-shadow: 0 0 48px var(--accent-glow);
}

.career-hero-copy {
  max-width: 650px;
  margin: 28px auto 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
}

.career-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding: 13px 24px;
  border-radius: 100px;
  color: #050506;
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  transition: color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.career-primary-cta:hover {
  color: var(--white);
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 18px 54px var(--accent-glow);
}

.career-primary-cta span { font-family: var(--font-mono); }

.career-principles,
.career-pedigree,
.career-voices,
.career-openings {
  padding: 180px 0;
  position: relative;
}

.career-section-header {
  max-width: 980px;
  margin-bottom: 80px;
}

.career-section-header-centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.career-section-title {
  font-size: clamp(48px, 6.4vw, 88px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.career-principles::before,
.career-pedigree::before,
.career-voices::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(92%, 1280px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.11), transparent);
}

.career-principles-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.career-principle {
  grid-column: span 5;
  min-height: 330px;
  padding: 38px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 6%, rgba(255, 0, 107, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 26px 70px rgba(0, 0, 0, 0.16);
  transition-property: opacity, transform, filter, border-color, background, box-shadow;
}

.career-principle::before {
  content: '';
  position: absolute;
  width: 210px;
  height: 210px;
  right: -92px;
  top: -92px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.014);
}

.career-principle:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 0, 107, 0.36);
  background:
    radial-gradient(circle at 90% 6%, rgba(255, 0, 107, 0.19), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 32px 84px rgba(0, 0, 0, 0.24);
}

.career-principle-featured { grid-column: span 7; }
.career-principle-wide { grid-column: span 7; }

.career-card-index {
  position: absolute;
  left: 38px;
  top: 34px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.career-principle h3 {
  max-width: 520px;
  margin-bottom: 16px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.career-principle p {
  max-width: 540px;
  color: var(--gray-300);
  font-size: 16px;
  line-height: 1.6;
}

.career-life {
  padding: 160px 0 130px;
  overflow: hidden;
  color: #09090a;
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.96), transparent 30%),
    var(--paper);
  border-radius: 52px 52px 0 0;
}

.career-life-heading { margin-bottom: 78px; }
.career-life-heading .career-section-title { max-width: 940px; }
.career-life-heading > p:last-child { max-width: 660px; margin-top: 30px; color: rgba(9, 9, 10, 0.62); font-size: 18px; line-height: 1.6; }
.career-life .career-section-title em { text-shadow: none; }

.career-gallery {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
}

.career-gallery::-webkit-scrollbar { display: none; }

.career-gallery-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 56px 44px;
}

.career-gallery figure {
  width: clamp(230px, 23vw, 350px);
  aspect-ratio: 0.92;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 30px;
  scroll-snap-align: center;
  box-shadow: 0 24px 55px rgba(28, 18, 50, 0.18);
  transform: rotate(var(--gallery-rotate, 0deg));
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}

.career-gallery figure:nth-child(3n + 1) { --gallery-rotate: -2deg; }
.career-gallery figure:nth-child(3n + 2) { --gallery-rotate: 1.5deg; }
.career-gallery figure:nth-child(4n) { --gallery-rotate: -1deg; }
.career-gallery figure:hover { transform: rotate(0) translateY(-9px) scale(1.015); box-shadow: 0 34px 70px rgba(28, 18, 50, 0.24); }
.career-gallery img { width: 100%; height: 100%; object-fit: cover; }

.career-pedigree {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 0, 107, 0.07), transparent 34%),
    var(--bg);
}

.career-company-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.career-company-grid img {
  width: 100%;
  height: 120px;
  padding: 38px;
  object-fit: contain;
  opacity: 0.58;
  filter: brightness(0) invert(1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
  transition: opacity 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.career-company-grid img:hover { opacity: 0.92; border-color: rgba(255, 0, 107, 0.26); transform: translateY(-4px); }

.career-voices-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.career-voice {
  min-height: 390px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 0, 107, 0.11), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.022));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition-property: opacity, transform, filter, border-color, background, box-shadow;
}

.career-voice:hover { transform: translateY(-6px); border-color: rgba(255, 0, 107, 0.32); }
.career-quote { height: 64px; color: var(--accent); font-family: var(--font-serif); font-size: 86px; line-height: 1; }
.career-voice > p { max-width: 620px; margin: 12px 0 48px; font-size: clamp(22px, 2.3vw, 31px); line-height: 1.25; letter-spacing: -0.03em; }
.career-person { display: flex; align-items: center; gap: 14px; }
.career-person img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.2); }
.career-person strong, .career-person span { display: block; }
.career-person strong { font-size: 16px; font-weight: 500; }
.career-person span { margin-top: 2px; color: var(--gray-500); font-size: 13px; }

.career-openings {
  min-height: 840px;
  overflow: hidden;
  isolation: isolate;
}

.career-openings-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('https://cdn.highrisegame.com/web/pw/images/banners/careers-banner.webp');
  background-position: center;
  background-size: cover;
  filter: saturate(0.72) brightness(0.38);
}

.career-openings::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, var(--bg), transparent 36%, rgba(5, 5, 6, 0.66)),
    radial-gradient(circle at 24% 54%, rgba(255, 0, 107, 0.2), transparent 36%);
}

.career-openings-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: start;
}

.career-openings-copy { position: sticky; top: 150px; }
.career-openings-copy > p:last-child { max-width: 540px; margin-top: 28px; color: var(--gray-300); font-size: 17px; line-height: 1.65; }

.career-jobs { display: flex; flex-direction: column; gap: 14px; }

.career-job,
.career-job-loading,
.career-job-empty {
  min-height: 170px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background: rgba(9, 9, 12, 0.68);
  backdrop-filter: blur(22px) saturate(125%);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 24px 60px rgba(0, 0, 0, 0.2);
}

.career-job { transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease); }
.career-job:hover { transform: translateY(-5px); border-color: rgba(255, 0, 107, 0.52); background: rgba(20, 13, 18, 0.82); }
.career-job-team { color: var(--accent); font-family: var(--font-mono); font-size: 9px; font-weight: 500; letter-spacing: 0.13em; text-transform: uppercase; }
.career-job h3 { margin-top: 12px; font-size: clamp(26px, 2.8vw, 38px); font-weight: 500; line-height: 1; letter-spacing: -0.045em; }
.career-job p { margin-top: 12px; color: var(--gray-300); font-size: 14px; }
.career-job-arrow { color: var(--accent); font-family: var(--font-mono); font-size: 28px; }
.career-job-loading, .career-job-empty { justify-content: center; color: var(--gray-300); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

@media (max-width: 900px) {
  .career-principles-grid { grid-template-columns: 1fr; }
  .career-principle,
  .career-principle-featured,
  .career-principle-wide { grid-column: auto; min-height: 300px; }
  .career-company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .career-voices-grid { grid-template-columns: 1fr; }
  .career-openings-shell { grid-template-columns: 1fr; gap: 70px; }
  .career-openings-copy { position: static; }
}

@media (max-width: 600px) {
  .career-hero { min-height: 760px; }
  .career-hero-content { padding-top: 110px; }
  .career-hero-title { font-size: clamp(46px, 13.2vw, 64px); line-height: 0.97; }
  .career-hero-copy { font-size: 15px; }
  .career-principles,
  .career-pedigree,
  .career-voices,
  .career-openings { padding: 120px 0; }
  .career-section-header { margin-bottom: 54px; }
  .career-section-title { font-size: clamp(43px, 12vw, 62px); }
  .career-principle { min-height: 280px; padding: 30px 26px; border-radius: 24px; }
  .career-card-index { left: 26px; top: 26px; }
  .career-life { padding: 110px 0 90px; border-radius: 34px 34px 0 0; }
  .career-life-heading { margin-bottom: 52px; }
  .career-gallery-track { gap: 14px; padding: 8px 24px 34px; }
  .career-gallery figure { width: 72vw; border-radius: 24px; }
  .career-company-grid { gap: 12px; }
  .career-company-grid img { height: 96px; padding: 30px 24px; border-radius: 18px; }
  .career-voice { min-height: 350px; padding: 30px 26px; border-radius: 24px; }
  .career-job, .career-job-loading, .career-job-empty { min-height: 154px; padding: 24px; border-radius: 22px; }
  .career-job h3 { font-size: 26px; }
  .career-job-arrow { font-size: 22px; }
}

/* --- Trust, safety, and legal pages --- */
.content-page {
  background-image:
    radial-gradient(circle at 65% 0%, rgba(255, 0, 107, 0.08), transparent 30%),
    linear-gradient(var(--bg), var(--bg));
}

.page-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 23px;
  border: 0;
  border-radius: 100px;
  color: #050506;
  background: var(--white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.page-primary-cta:hover {
  transform: translateY(-3px);
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 18px 46px var(--accent-glow);
}

.page-primary-cta span { font-family: var(--font-sans); }

.safety-hero {
  min-height: 920px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.safety-hero::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(120deg, #050506 0%, #050506 57%, #240611 57%, #10080c 100%);
}

.safety-hero-layout {
  width: 100%;
  padding-top: 130px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 60px;
  align-items: center;
}

.safety-hero-copy h1 {
  max-width: 810px;
  font-size: clamp(62px, 7.4vw, 108px);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: -0.068em;
}

.safety-hero-copy h1 em,
.content-section-heading h2 em,
.safety-statement em,
.legal-hero h1 em {
  color: var(--accent);
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.035em;
}

.safety-hero-copy > p:not(.section-eyebrow) {
  max-width: 630px;
  margin-top: 30px;
  color: var(--gray-300);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.58;
}

.safety-hero-copy .page-primary-cta { margin-top: 34px; }

.sentinel-editorial {
  width: min(520px, 42vw);
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sentinel-editorial-title {
  min-height: 150px;
  margin-left: 44px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #08080a;
  background: var(--paper);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.sentinel-editorial-title strong {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.sentinel-editorial-title span {
  margin-top: 12px;
  color: rgba(8, 8, 10, 0.6);
  font-size: 17px;
}

.sentinel-editorial-step {
  min-height: 118px;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.sentinel-editorial-step b { font-size: 34px; font-weight: 500; line-height: 1; }
.sentinel-editorial-step strong { display: block; font-size: 22px; font-weight: 500; letter-spacing: -0.035em; }
.sentinel-editorial-step span { display: block; margin-top: 7px; font-size: 15px; line-height: 1.4; }
.sentinel-editorial-signal { margin-right: 30px; color: var(--white); background: #19191e; }
.sentinel-editorial-signal span { color: var(--gray-300); }
.sentinel-editorial-human { margin-left: 30px; color: var(--white); background: var(--accent); }
.sentinel-editorial-human span { color: rgba(255, 255, 255, 0.78); }
.sentinel-editorial-learn { margin-right: 54px; color: #08080a; background: #d8c9ff; }
.sentinel-editorial-learn span { color: rgba(8, 8, 10, 0.64); }


.safety-belief {
  padding: 170px 0;
  color: #08080a;
  background:
    radial-gradient(circle at 74% 36%, rgba(255, 0, 107, 0.12), transparent 25%),
    var(--paper);
  border-radius: 52px 52px 0 0;
}

.safety-statement {
  max-width: 1160px;
  font-size: clamp(52px, 7.1vw, 98px);
  line-height: 0.99;
  letter-spacing: -0.062em;
}

.safety-system-section,
.safety-intelligence,
.safety-commitments,
.safety-resources { padding: 170px 0; position: relative; }

.content-section-heading { max-width: 960px; margin-bottom: 76px; }
.content-section-heading h2 { font-size: clamp(48px, 6vw, 86px); font-weight: 400; line-height: 0.98; letter-spacing: -0.06em; }
.content-section-heading > p:last-child { max-width: 690px; margin-top: 28px; color: var(--gray-300); font-size: 18px; line-height: 1.62; }

.safety-loop {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.safety-loop article {
  min-height: 340px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 18px;
  background: #15151a;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.18);
}

.safety-loop article:nth-child(2n) { background: #211119; }
.safety-loop article:last-child { color: #08080a; background: #d8c9ff; }
.safety-loop article > span {
  margin-bottom: auto;
  color: var(--accent);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
}

.safety-loop strong { display: block; margin-bottom: 14px; font-size: 28px; font-weight: 500; letter-spacing: -0.04em; }
.safety-loop p { color: var(--gray-300); font-size: 15px; line-height: 1.62; }
.safety-loop article:last-child > span { color: #6d40d8; }
.safety-loop article:last-child p { color: rgba(8, 8, 10, 0.64); }

.safety-intelligence {
  color: #08080a;
  background: var(--paper);
}

.safety-intelligence .section-eyebrow { color: var(--accent); }
.safety-intelligence .content-section-heading { position: sticky; top: 140px; margin: 0; }
.safety-intelligence-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 90px; align-items: start; }
.safety-principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.safety-principles article {
  min-height: 330px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(36, 21, 28, 0.08);
}
.safety-principles article:nth-child(2), .safety-principles article:nth-child(3) { transform: translateY(36px); }
.safety-icon { margin-bottom: auto; color: var(--accent); font-family: var(--font-sans); font-size: 32px; }
.safety-principles h3 { margin: 48px 0 12px; font-size: 25px; font-weight: 500; letter-spacing: -0.04em; }
.safety-principles p { color: rgba(8, 8, 10, 0.62); font-size: 15px; line-height: 1.6; }

.safety-commitments { overflow: hidden; }
.safety-commitment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.safety-commitment-grid article {
  min-height: 350px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 18px;
  background: #15151a;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.16);
  transition-property: opacity, transform, filter, background, box-shadow;
}
.safety-commitment-grid article:nth-child(2), .safety-commitment-grid article:nth-child(3) { background: #211119; }
.safety-commitment-grid article:hover { transform: translateY(-6px); background: #28141e; }
.safety-commitment-grid article > span { margin-bottom: auto; color: var(--accent); font-size: 16px; font-weight: 500; }
.safety-commitment-grid h3 { margin: 80px 0 14px; font-size: clamp(30px, 3.2vw, 44px); font-weight: 500; line-height: 1; letter-spacing: -0.05em; }
.safety-commitment-grid p { max-width: 550px; color: var(--gray-300); font-size: 16px; line-height: 1.62; }

.safety-resources { padding-top: 30px; }
.safety-resources-card {
  padding: 80px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  border-radius: 22px;
  background: #15151a;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}
.safety-resources-card h2 { max-width: 720px; font-size: clamp(42px, 5vw, 70px); font-weight: 400; line-height: 0.98; letter-spacing: -0.058em; }
.safety-resources-card p:not(.section-eyebrow) { max-width: 690px; margin-top: 22px; color: var(--gray-300); font-size: 17px; line-height: 1.6; }
.safety-resource-links {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.safety-resource-links .page-primary-cta { justify-content: space-between; }

.page-secondary-cta {
  color: var(--white);
  background: #303036;
}

.legal-hero {
  min-height: 560px;
  padding: 156px 0 76px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 74% 42%, rgba(255, 0, 107, 0.055), transparent 32%),
    #100d0f;
}

.legal-hero-layout {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.55fr);
  gap: 96px;
  align-items: end;
}

.legal-hero .section-eyebrow {
  color: rgba(242, 240, 234, 0.62);
}

.legal-hero h1 {
  color: var(--paper);
  font-size: clamp(70px, 8vw, 112px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.062em;
}

.legal-hero-note {
  max-width: 370px;
  padding: 0 0 8px;
  color: var(--paper);
}

.legal-hero-note::before {
  content: '';
  width: 52px;
  height: 6px;
  margin-bottom: 28px;
  display: block;
  border-radius: 999px;
  background: var(--accent);
}

.legal-hero-note strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal-hero-note p {
  max-width: 360px;
  margin-top: 20px;
  color: rgba(242, 240, 234, 0.68);
  font-size: 18px;
  line-height: 1.52;
  letter-spacing: -0.018em;
}

.legal-meta {
  margin-top: 40px;
  display: flex;
  gap: 34px;
  color: rgba(242, 240, 234, 0.52);
  font-size: 15px;
  letter-spacing: -0.01em;
}

.legal-content {
  padding: 120px 0 150px;
  color: #0a0a0b;
  background: var(--paper);
}

.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 780px); gap: 110px; justify-content: center; align-items: start; }
.legal-sidebar { position: sticky; top: 132px; display: flex; flex-direction: column; }
.legal-sidebar p { margin-bottom: 20px; color: #0a0a0b; font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.legal-sidebar a { padding: 8px 0; color: rgba(10, 10, 11, 0.58); font-size: 15px; transition: color 0.25s var(--ease), transform 0.25s var(--ease); }
.legal-sidebar a:hover { color: var(--accent); transform: translateX(4px); }

.legal-directory-label {
  margin: 42px 0 14px;
  color: rgba(10, 10, 11, 0.58);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal-world-links {
  margin-bottom: 88px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.legal-world-link {
  min-height: 158px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 0;
  border-left: 7px solid #6c5ce7;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(26, 15, 20, 0.05);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.legal-world-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(26, 15, 20, 0.09);
}

.legal-world-link:nth-child(2) { border-left-color: #e84393; }

.legal-world-link > span:first-child { display: flex; flex-direction: column; }
.legal-world-link small { margin-bottom: 7px; color: rgba(10, 10, 11, 0.56); font-size: 14px; font-weight: 500; }
.legal-world-link strong { font-size: 27px; font-weight: 500; letter-spacing: -0.045em; }
.legal-world-link > span:last-child { color: rgba(10, 10, 11, 0.58); font-size: 15px; }

.legal-notice {
  margin-bottom: 22px;
  padding: 34px;
  color: #0a0a0b;
  border-radius: 18px;
  background: #e7e1df;
}
.legal-notice > span { color: var(--accent); font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
.legal-notice p { margin: 18px 0 24px; color: rgba(10, 10, 11, 0.72); font-size: 17px; line-height: 1.6; }
.legal-notice a, .legal-source-link { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-size: 14px; font-weight: 500; }
.legal-notice a:hover, .legal-source-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.legal-document > section { padding: 0 0 20px; margin-bottom: 92px; scroll-margin-top: 120px; }
.legal-document > section:last-child { margin-bottom: 0; }
.legal-index { display: none; }
.legal-document h2 { margin-bottom: 30px; font-size: clamp(38px, 4.8vw, 62px); font-weight: 400; line-height: 1; letter-spacing: -0.055em; }
.legal-document section p { margin-top: 18px; color: rgba(10, 10, 11, 0.69); font-size: 18px; line-height: 1.72; }
.legal-document section p strong { color: #0a0a0b; font-weight: 600; }
.legal-document section p a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.legal-list { margin-top: 26px; display: flex; flex-direction: column; gap: 15px; }
.legal-list li { padding-left: 24px; position: relative; color: rgba(10, 10, 11, 0.69); font-size: 18px; line-height: 1.65; }
.legal-list li::before { content: ''; width: 8px; height: 8px; position: absolute; left: 0; top: 0.7em; border-radius: 2px; background: var(--accent); }
.legal-document .legal-emphasis { color: rgba(10, 10, 11, 0.84); font-size: 15px; font-weight: 500; letter-spacing: 0.015em; line-height: 1.72; }
.legal-document address { margin-top: 28px; color: rgba(10, 10, 11, 0.69); font-size: 17px; font-style: normal; line-height: 1.65; }
.legal-source-link { margin-top: 30px; }

@media (max-width: 1020px) {
  .safety-hero-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr); gap: 30px; }
  .sentinel-editorial { width: min(470px, 42vw); }
  .sentinel-editorial-title { margin-left: 22px; }
  .sentinel-editorial-step { grid-template-columns: 38px minmax(0, 1fr); padding: 22px; }
  .sentinel-editorial-step b { font-size: 28px; }
  .sentinel-editorial-step strong { font-size: 19px; }
  .safety-loop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .safety-loop article { min-height: 280px; }
  .safety-intelligence-layout { grid-template-columns: 1fr; }
  .safety-intelligence .content-section-heading { position: static; }
  .legal-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 64px; }
  .legal-hero-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; }
}

@media (max-width: 720px) {
  .safety-hero { min-height: 920px; }
  .safety-hero-layout { padding-top: 118px; grid-template-columns: 1fr; }
  .safety-hero-copy h1 { font-size: clamp(54px, 16vw, 78px); }
  .sentinel-editorial { width: 100%; margin: 24px auto 0; }
  .sentinel-editorial-title { min-height: 130px; margin-left: 24px; padding: 24px; }
  .sentinel-editorial-step { min-height: 108px; }
  .sentinel-editorial-signal { margin-right: 18px; }
  .sentinel-editorial-human { margin-left: 18px; }
  .sentinel-editorial-learn { margin-right: 32px; }
  .safety-belief, .safety-system-section, .safety-intelligence, .safety-commitments, .safety-resources { padding: 112px 0; }
  .safety-belief { border-radius: 34px 34px 0 0; }
  .safety-statement { font-size: clamp(44px, 13vw, 64px); }
  .content-section-heading { margin-bottom: 54px; }
  .content-section-heading h2 { font-size: clamp(43px, 12vw, 62px); }
  .content-section-heading > p:last-child { font-size: 16px; }
  .safety-loop { grid-template-columns: 1fr; }
  .safety-loop article { min-height: 280px; padding: 28px 26px; }
  .safety-principles { grid-template-columns: 1fr; }
  .safety-principles article, .safety-principles article:nth-child(2), .safety-principles article:nth-child(3) { min-height: 290px; transform: none; }
  .safety-commitment-grid { grid-template-columns: 1fr; }
  .safety-commitment-grid article { min-height: 310px; padding: 30px 26px; border-radius: 24px; }
  .safety-resources-card { padding: 52px 30px; flex-direction: column; align-items: flex-start; border-radius: 30px; }
  .safety-resource-links { width: 100%; }
  .legal-hero { min-height: 0; padding: 138px 0 68px; }
  .legal-hero-layout { grid-template-columns: 1fr; gap: 50px; }
  .legal-hero h1 { font-size: clamp(64px, 19vw, 92px); }
  .legal-hero-note { max-width: 420px; padding-bottom: 0; }
  .legal-hero-note::before { margin-bottom: 24px; }
  .legal-hero-note p { font-size: 18px; }
  .legal-meta { margin-top: 38px; flex-direction: column; gap: 8px; }
  .legal-content { padding: 80px 0 110px; }
  .legal-layout { grid-template-columns: 1fr; gap: 0; }
  .legal-sidebar { display: none; }
  .legal-world-links { grid-template-columns: 1fr; }
  .legal-world-link { min-height: 138px; }
  .legal-world-links { margin-bottom: 70px; }
  .legal-notice { margin-bottom: 18px; padding: 28px 24px; }
  .legal-document > section { padding-bottom: 62px; margin-bottom: 62px; }
  .legal-document h2 { font-size: clamp(38px, 11vw, 54px); }
  .legal-document section p { font-size: 16px; }
  .legal-list li { font-size: 16px; }
}

/* --- Animations --- */
.js [data-animate] {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(44px) scale(0.988);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease),
    filter 1s var(--ease),
    border-color 0.45s var(--ease),
    background 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.js [data-animate].is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.js .engine-core.is-visible {
  transform:
    perspective(900px)
    translate3d(var(--engine-tx), var(--engine-ty), 0)
    rotateX(var(--engine-rx))
    rotateY(var(--engine-ry))
    scale(var(--engine-scale));
}

.js .engine-core.is-visible.is-tracking {
  transition-duration: 0.12s, 0.65s, 0.65s, 0.18s;
}

.js .tech-card.is-visible:hover,
.js .thesis-card.is-visible:hover {
  transform: translateY(-6px);
}

@media (max-width: 768px) {
  .metrics { padding: 120px 0; }
  .metrics-grid { gap: 92px; }
  .metric-number { font-size: clamp(58px, 18vw, 86px); }
  .mission { padding: 130px 0 160px; }
  .mission-blocks { gap: 100px; }
  .mission-text { font-size: clamp(31px, 8.4vw, 43px); line-height: 1.2; letter-spacing: -0.03em; }
  .section-title { margin-bottom: 58px; }
  .thesis { padding: 120px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-animate] {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
