@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans-400-italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: block;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans-500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/dm-sans-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: block;
}

/* ==========================================================================
   Olympian Gaming — Design Tokens
   ========================================================================== */

:root {
  /* Brand greens (from OG logo) */
  --green:            #006A39;
  --green-mid:        #1A8C40;
  --green-highlight:  #34B247;
  --green-light:      #C5FBDB;
  --green-tint:       #EBF5EF;
  --green-rule:       #BDE0C9;
  --felt:             #0A3326;
  --felt-border:      rgba(52, 178, 71, 0.2);

  /* Neutrals */
  --bg:               #F5F5F3;
  --surface:          #FFFFFF;
  --ink:              #1A1A1A;
  --ink-muted:        #555555;
  --ink-faint:        #888888;
  --rule:             #E0E0DC;

  /* Typography */
  --font-sans:        'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono:        'JetBrains Mono', 'Courier New', monospace;

  /* Sizing */
  --max-w:            1120px;
  --content-w:        720px;
  --radius:           8px;
  --radius-lg:        12px;

  /* Transitions */
  --ease:             0.2s ease;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color var(--ease);
}

a:hover {
  color: var(--green-mid);
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.content-width {
  max-width: var(--content-w);
}

.section {
  padding: 72px 0;
}

.section-sm {
  padding: 40px 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  color: var(--ink);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary,
a.btn--primary {
  background: var(--green) !important;
  color: #fff !important;
  border-color: var(--green) !important;
}

.btn--primary:hover,
a.btn--primary:hover {
  background: var(--green-mid) !important;
  color: #fff !important;
  border-color: var(--green-mid) !important;
}

.btn--white {
  background: #fff;
  color: var(--green);
  border-color: #fff;
}

.btn--white:hover {
  background: var(--green-tint);
  border-color: var(--green-tint);
  color: var(--green);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--outline:hover {
  border-color: #fff;
  color: #fff;
}

.btn--outline-green {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.btn--outline-green:hover {
  background: var(--green);
  color: #fff;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.125rem; }
h4 { font-size: 1rem; }

p {
  line-height: 1.7;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 0.5px solid var(--rule);
  box-shadow: 0 1px 0 var(--rule);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
  flex-shrink: 0;
  min-width: 144px;
}

.nav__logo img {
  height: 48px;
  width: auto;
  aspect-ratio: 254 / 78;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.nav__cta {
  margin-left: 8px;
}

/* Hamburger */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
  border-radius: var(--radius);
}

.nav__toggle:hover {
  background: var(--bg);
}

.nav__toggle svg {
  display: block;
  width: 24px;
  height: 24px;
}

.nav__mobile {
  display: none;
  flex-direction: column;
  border-top: 0.5px solid var(--rule);
  background: var(--surface);
}

.nav__mobile a {
  display: block;
  padding: 14px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-muted);
  border-bottom: 0.5px solid var(--rule);
  text-decoration: none;
  transition: color var(--ease), background var(--ease);
}

.nav__mobile a:hover {
  color: var(--green);
  background: var(--bg);
}

.nav__mobile .btn {
  margin: 16px 24px;
  display: block;
  text-align: center;
}

.nav__mobile .btn--primary {
  color: #fff !important;
}

.nav__mobile.open {
  display: flex;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background: var(--green);
  padding: 40px 0 48px;
}

.hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.hero h1 {
  color: #fff;
  max-width: 600px;
  margin-bottom: 14px;
}

.hero__sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero__btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Service Pillars
   ========================================================================== */

.pillars {
  background: var(--surface);
  border-bottom: 0.5px solid var(--rule);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.pillar {
  padding: 40px 32px;
  border-right: 0.5px solid var(--rule);
}

.pillar:last-child {
  border-right: none;
}

.pillar__icon {
  width: 36px;
  height: 36px;
  color: var(--green);
  margin-bottom: 18px;
}

.pillar h3 {
  margin-bottom: 12px;
}

.pillar p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

.pillar__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}

.pillar__link:hover {
  color: var(--green-mid);
}

/* ==========================================================================
   Bio Snapshot
   ========================================================================== */

.bio-snap {
  padding: 48px 0;
  border-bottom: 0.5px solid var(--rule);
}

.bio-snap__inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: start;
  padding: 20px 0 20px;
}

.bio-snap__photo {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 1 / 1;
  object-position: bottom center;
  background: var(--rule);
}

.bio-snap__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.bio-snap h2 {
  margin-bottom: 16px;
}

.bio-snap__text {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.bio-snap__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 0.5px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--surface);
}

.bio-snap__stat {
  padding: 18px 12px;
  text-align: center;
  border-right: 0.5px solid var(--rule);
}

.bio-snap__stat:last-child {
  border-right: none;
}

.bio-snap__stat-num {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green);
  font-family: var(--font-mono);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.bio-snap__stat-label {
  font-size: 0.6875rem;
  color: var(--ink-faint);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

/* ==========================================================================
   Game Cards
   ========================================================================== */

.games-section {
  padding: 72px 0;
}

.games-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}

.games-section__header h2 {
  font-size: 1.25rem;
}

.games-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.game-card {
  background: var(--felt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}

.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(10, 51, 38, 0.2);
}

.game-card__thumb {
  height: 84px;
  background: #071F17;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--felt-border);
  font-size: 28px;
  color: rgba(197, 251, 219, 0.35);
  letter-spacing: 6px;
}

.game-card__body {
  padding: 16px 18px 18px;
}

.game-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.game-card__type {
  font-size: 0.75rem;
  color: rgba(197, 251, 219, 0.45);
  margin-bottom: 14px;
}

.game-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-highlight);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.game-card__link:hover {
  color: #fff;
}

/* ==========================================================================
   Credential Bar
   ========================================================================== */

.cred-bar {
  background: var(--surface);
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  padding: 24px 0;
}

.cred-bar__inner {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.cred-bar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.cred-bar__item svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
}

.cred-bar__item a {
  color: var(--green);
  font-weight: 500;
}

/* ==========================================================================
   CTA Strip
   ========================================================================== */

.cta-strip {
  background: var(--green-tint);
  border-top: 0.5px solid var(--green-rule);
  padding: 40px 0;
}

.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-strip h3 {
  color: #004D29;
  margin-bottom: 4px;
}

.cta-strip p {
  font-size: 0.9rem;
  color: var(--green-mid);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.5);
  padding: 56px 0 36px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}

.footer__brand p {
  font-size: 0.875rem;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
}

.footer__logo-text {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 16px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--ease);
}

.footer__col a:hover {
  color: #fff;
}

.footer__bottom {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
}

/* ==========================================================================
   Page Hero (inner pages)
   ========================================================================== */

.page-hero {
  background: var(--green);
  padding: 40px 0 32px;
}

.page-hero .page-hero__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 14px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  font-size: 1.0625rem;
}

.page-hero a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero a:hover {
  color: #fff;
}

/* ==========================================================================
   Content Pages
   ========================================================================== */

.page-content {
  padding: 64px 0 88px;
}

.page-content h2 {
  font-size: 1.375rem;
  margin: 44px 0 14px;
  padding-top: 12px;
  border-top: 0.5px solid var(--rule);
}

.page-content h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.page-content h3 {
  margin: 32px 0 10px;
  color: var(--green);
  font-size: 1.05rem;
}

.page-content p {
  margin-bottom: 18px;
  color: var(--ink-muted);
}

.page-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 18px;
  color: var(--ink-muted);
}

.page-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-content a {
  color: var(--green);
  font-weight: 500;
}

/* Callout block */
.callout {
  border-left: 3px solid var(--green);
  padding: 18px 22px;
  background: var(--green-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
}

.callout p {
  margin: 0;
  color: #004D29;
  font-size: 0.9375rem;
}

/* Matter cards */
.matter {
  background: var(--surface);
  border: 0.5px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 14px;
}

.matter p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

.matter strong {
  color: var(--ink);
  font-weight: 600;
}

/* ==========================================================================
   About Page
   ========================================================================== */

.about__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.about__photo {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 1 / 1;
  object-position: bottom center;
  background: var(--rule);
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.about__stat {
  background: var(--surface);
  border: 0.5px solid var(--rule);
  border-radius: var(--radius);
  padding: 16px;
}

.about__stat-num {
  font-family: var(--font-mono);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--green);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.about__stat-label {
  font-size: 0.75rem;
  color: var(--ink-faint);
  font-weight: 500;
}

.client-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 28px;
}

.client-list__tag {
  background: var(--bg);
  border: 0.5px solid var(--rule);
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Contact Form
   ========================================================================== */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.form__group {
  margin-bottom: 22px;
}

.form__group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink);
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius);
  padding: 11px 14px;
  transition: border-color var(--ease), box-shadow var(--ease);
  appearance: none;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 106, 57, 0.08);
}

.form__group textarea {
  min-height: 150px;
  resize: vertical;
}

.form__note {
  font-size: 0.8125rem;
  color: var(--ink-faint);
  margin-top: 6px;
}

.contact__aside {
  background: var(--surface);
  border: 0.5px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-aside h3 {
  margin-bottom: 18px;
  font-size: 1rem;
}

.contact__detail {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.contact__detail svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
}

.form__success {
  display: none;
  background: var(--green-tint);
  border: 0.5px solid var(--green-rule);
  border-radius: var(--radius);
  padding: 22px 24px;
  color: #004D29;
  font-size: 0.9375rem;
  margin-bottom: 24px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }

  .pillars__grid { grid-template-columns: 1fr; }
  .pillar {
    border-right: none;
    border-bottom: 0.5px solid var(--rule);
  }
  .pillar:last-child { border-bottom: none; }

  .bio-snap__inner { grid-template-columns: 1fr; }
  .bio-snap__photo {
    max-width: 240px;
    aspect-ratio: 1 / 1;
    object-position: bottom center;
  }
.bio-snap__stats { grid-template-columns: repeat(2, 1fr); }
   .bio-snap__stat:nth-child(2) { border-bottom: 0.5px solid var(--rule); }
   .bio-snap__stat:nth-child(3) { border-top: 0.5px solid var(--rule); }

  .games-section__grid { grid-template-columns: repeat(2, 1fr); }

  .about__grid { grid-template-columns: 1fr; }
  .about__photo { max-width: 240px; aspect-ratio: 1 / 1; object-position: bottom center; }

  .contact__grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .cta-strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cred-bar__inner { gap: 24px; }
}

@media (max-width: 600px) {
  .section { padding: 48px 0; }
  .hero { padding: 48px 0 40px; }
  .games-section__grid { grid-template-columns: 1fr; }
.bio-snap__stats { grid-template-columns: repeat(2, 1fr); }
   .bio-snap__stat:nth-child(2) { border-bottom: 0.5px solid var(--rule); }
   .bio-snap__stat:nth-child(3) { border-top: 0.5px solid var(--rule); }
  .footer__grid { grid-template-columns: 1fr; }
  .about__stats { grid-template-columns: repeat(2, 1fr); }
  .cred-bar__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ==========================================================================
   Game Canvas & OG Engine
   ========================================================================== */

.game-page-header {
  background: var(--surface);
  border-bottom: 0.5px solid var(--rule);
  padding: 28px 0;
}

.game-page-header h1 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.game-page-header p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  max-width: 640px;
}

.game-canvas__wrap {
  background: var(--felt);
  padding: 16px;
  display: flex;
  justify-content: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.game-canvas__container {
  position: relative;
  width: 100%;
  aspect-ratio: 17 / 10;
  margin: 0 auto;
  overflow: hidden;
}

#game-root {
  width: 100%;
  height: 100%;
}

#game-root canvas {
  display: block;
  margin: 0 auto;
}

.game-canvas__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Mobile Fullscreen Gate — see games-engine/og-engine.js */

/* "Play Fullscreen" prompt shown in place of the game on phones */
.fullscreen-gate {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--felt);
  z-index: 10;
}

.fullscreen-gate__card {
  padding: 32px;
}

.fullscreen-gate__icon {
  width: 48px;
  height: 48px;
  color: var(--green-light);
  margin: 0 auto 16px;
}

.fullscreen-gate__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 20px;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}

.fullscreen-gate__btn {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--green);
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  cursor: pointer;
}

.fullscreen-gate__btn:hover {
  background: var(--green-mid);
}

/* True fullscreen takeover. Applied to .game-canvas__wrap when the visitor
   taps "Play Fullscreen". Fixed positioning covers the entire viewport,
   including site header/nav, regardless of whether the real Fullscreen
   API succeeded — this guarantees full coverage on iOS Safari. */
.game-canvas__wrap--fullscreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1000 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.game-canvas__wrap--fullscreen .game-canvas__container {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-width: none !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
}

body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.fullscreen-exit {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1001;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.fullscreen-exit svg {
  width: 20px;
  height: 20px;
}

.fullscreen-exit:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Game testcase / dev banner */

.game-dev-banner {
  background: #FFF4E0;
  border-bottom: 1px solid #F0D9A8;
  color: #6B4E16;
  font-size: 0.8125rem;
  text-align: center;
  padding: 8px 16px;
}

@media (max-width: 600px), (max-height: 500px) {
  .game-canvas__wrap { padding: 0 24px; }
  .game-canvas__container { min-height: 120px; aspect-ratio: auto; max-width: 100%; }
  #game-root canvas { display: none; }
  .game-canvas__wrap--fullscreen #game-root canvas { display: block !important; }
  .fullscreen-gate__card { padding: 12px 20px; }
  .fullscreen-gate__icon { width: 28px; height: 28px; margin-bottom: 6px; }
  .fullscreen-gate__text { font-size: 0.8125rem; margin-bottom: 10px; }
  .fullscreen-gate__btn { padding: 8px 18px; font-size: 0.8125rem; }
}

/* ==========================================================================
   Patent table
   ========================================================================== */

.patent-table__heading {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  margin-top: 40px;
}

.patent-table__heading:first-child {
  margin-top: 0;
}

.patent-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.patent-table thead th {
  text-align: left;
  padding: 8px 12px 8px 0;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.patent-table thead th:last-child {
  padding-right: 0;
}

.patent-table tbody tr {
  border-bottom: 0.5px solid var(--rule);
}

.patent-table tbody td {
  padding: 8px 12px 8px 0;
}

.patent-table tbody td:last-child {
  padding-right: 0;
}

.patent-table__num {
  white-space: nowrap;
}

.patent-table__title {
  line-height: 1.4;
}

.patent-table__assignee {
  color: var(--ink-faint);
  font-size: 0.8125rem;
}

.patent-table__year {
  color: var(--ink-muted);
  white-space: nowrap;
}
