@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/_astro/manrope-latin-wght-normal.DHIcAJRg.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/_astro/instrument-serif-latin-400-normal.DnYpCC2O.woff2')
    format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url('/_astro/instrument-serif-latin-400-italic.DKMiL14s.woff2')
    format('woff2');
}
/* Design tokens, base elements, and the pieces every page shares. */
:root {
  color-scheme: dark;
  --bg: #07080a;
  --surface: #101216;
  --ink: #f4f0e9;
  --soft: #d2cec6;
  --muted: #9a9892;
  --line: #ffffff21;
  --accent: #ff9379;
  --on-accent: #0b0b0c;
  --tone: var(--accent);
  /* Dark surfaces and the accent gradient used by the shared home sections. */
  --deep: #050607;
  --deep-2: #101216;
  --glow: linear-gradient(100deg, #f4f0e9, #ff9379 55%, #ffc56b);
  --display: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --display-weight: 400;
  --display-tracking: -0.025em;
  --display-leading: 0.95;
  --display-case: none;
  --radius: 14px;
  --pill: 100px;
  --header-h: 84px;
  --gutter: clamp(20px, 4.6vw, 72px);
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Manrope Variable', Manrope, Arial, sans-serif;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  font-family: var(--sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  color: var(--ink);
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--on-accent);
}
.skip-link:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Parts of a page that sit on imagery or a dark stage keep light text in every design. */
.on-dark {
  color-scheme: dark;
  --ink: #f4f0e9;
  --soft: #d6d2ca;
  --muted: #a8a59e;
  --line: #ffffff26;
  --mark: initial;
  --stroke: initial;
  color: var(--ink);
}

/* Display type */
.display {
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: var(--display-leading);
  text-transform: var(--display-case);
  text-wrap: balance;
}
.display em {
  font-style: italic;
  color: var(--mark, var(--tone));
}
.eyebrow,
.slate {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--mark, var(--tone));
}
.slate {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}
.slate i {
  flex-shrink: 0;
  width: 34px;
  height: 1px;
  background: var(--mark, var(--tone));
}
.slate b {
  font-weight: 700;
  color: var(--mark, var(--tone));
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--pill);
  background: var(--tone);
  color: #0b0b0c;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.25s;
}
.button svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px -12px var(--tone);
}
.button:hover svg {
  transform: translate(3px, -3px);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid currentColor;
  font-size: 15px;
  font-weight: 550;
  white-space: nowrap;
  transition:
    color 0.25s,
    gap 0.35s var(--ease);
}
.text-link svg {
  width: 16px;
  height: 16px;
}
.text-link:hover {
  gap: 16px;
  color: var(--mark, var(--tone));
}

/* Brand marks. The logos are drawn for dark backgrounds, so they only appear over imagery. */
.brand-mark img:not(.ponderchess-brand img) {
  display: block;
  width: auto;
  height: var(--logo-h, 56px);
  max-width: min(100%, var(--logo-w, 320px));
  object-fit: contain;
  object-position: left center;
}
.brand-mark.superbdent img {
  height: calc(var(--logo-h, 56px) * 1.45);
  margin: calc(var(--logo-h, 56px) * -0.2) 0 calc(var(--logo-h, 56px) * -0.25)
    calc(var(--logo-h, 56px) * -0.2);
}
.brand-mark.poweroutmap img {
  height: calc(var(--logo-h, 56px) * 0.62);
}
.brand-mark .text-brand {
  font-size: calc(var(--logo-h, 56px) * 0.8);
  line-height: 1.1;
}
.text-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.04em;
  text-transform: none;
  white-space: nowrap;
  color: #f4f0e9;
}
.text-brand b {
  color: #ff6b3d;
}
.text-brand[class~='3dprintsy'] {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 750;
  letter-spacing: -1.25px;
}

/* Reveal once on scroll. Nothing is hidden unless the motion script is running. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease) var(--d, 0s),
    transform 0.9s var(--ease) var(--d, 0s);
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* Simple pages */
.plain-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 26px;
  padding: calc(var(--header-h) + 60px) var(--gutter) 120px;
}
.plain-page h1 {
  font-size: clamp(56px, 11vw, 180px);
}
.plain-page > p:not(.slate) {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 740px) {
  :root {
    --header-h: 68px;
  }
  .eyebrow,
  .slate {
    font-size: 10px;
    letter-spacing: 0.2em;
  }
  .button {
    min-height: 48px;
    padding: 11px 20px;
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
/*
  Scroll-linked motion shared by every page. It uses CSS scroll timelines, which the browser
  runs off the main thread, and only where they are supported and the visitor has not asked
  for reduced motion. Without it the pages are simply static.
*/
.page-progress {
  display: none;
}

/* ---------- Scroll-linked motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* Reading progress along the top edge. */
    .page-progress {
      display: block;
      position: fixed;
      inset: 0 0 auto;
      z-index: 70;
      height: 2px;
      background: var(--glow);
      transform-origin: left;
      animation: page-progress linear both;
      animation-timeline: scroll(root);
    }
    @keyframes page-progress {
      from {
        transform: scaleX(0);
      }
    }

    /* Venture pages: the hero image lingers while its copy lifts away. */
    .project-backdrop {
      animation: c-hero-image linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
    }
    @keyframes c-hero-image {
      to {
        transform: translateY(16vh) scale(1.08);
      }
    }
    .project-hero-copy,
    .project-numeral {
      animation: c-hero-copy linear both;
      animation-timeline: scroll(root);
      animation-range: 0 80vh;
    }
    .project-numeral {
      animation-name: c-hero-numeral;
    }
    @keyframes c-hero-copy {
      to {
        opacity: 0;
        translate: 0 -12vh;
      }
    }
    @keyframes c-hero-numeral {
      to {
        opacity: 0;
        translate: 0 -24vh;
      }
    }

    /* Cards and frames swing up into place as they arrive. */
    .js :is(.feature-grid article, .principle, .library-card, .world)[data-reveal],
    :is(.library-card, .project-gallery figure) {
      opacity: 1;
      transform: none;
      transition: none;
      animation: c-swing-in linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 26%;
    }
    @keyframes c-swing-in {
      from {
        opacity: 0;
        transform: translateY(100px) scale(0.9);
      }
    }
    /* Big frames open up from a smaller, rounder shape. */
    :is(.play-container, .next-world) {
      animation: c-open linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 34%;
    }
    @keyframes c-open {
      from {
        opacity: 0.3;
        transform: scale(0.84);
      }
    }
    .next-world img {
      animation: c-settle linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 60%;
    }
    @keyframes c-settle {
      from {
        transform: scale(1.3);
      }
    }
    /* Section headlines slide in from the side they read from. */
    :is(.project-invitation h2, .footer-body h2, .world-index h2, .c-bento h2)[class] {
      animation: c-headline linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }
    .js :is(.project-invitation h2, .world-index h2, .c-bento h2)[data-reveal] {
      opacity: 1;
      transform: none;
      transition: none;
    }
    @keyframes c-headline {
      from {
        opacity: 0;
        transform: translateX(-8vw);
      }
    }
    /* The footer wordmark rises into view last. */
    .footer-wordmark {
      animation: c-wordmark linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
    @keyframes c-wordmark {
      from {
        transform: translateY(70%);
      }
    }
  }
}
.navigation-space {
  height: var(--header-h);
}
.site-header {
  position: fixed;
  z-index: 60;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
  padding: 0 var(--gutter);
  background: var(--bg);
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s,
    border-color 0.3s;
}
/* Over a hero the bar is clear until the page scrolls. */
.site-header.on-hero:not(.is-scrolled) {
  background: transparent;
  color: #f4f0e9;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.menu-open .site-header {
  background: var(--bg);
  color: var(--ink);
  border-bottom-color: transparent;
}
.wordmark {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.4em;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
}
.nav-link {
  padding: 10px 0;
  border-bottom: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: border-color 0.25s;
}
.nav-link:hover,
.nav-link[aria-current] {
  border-bottom-color: currentColor;
}

/* Trigger */
.menu-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 7px 0 18px;
  border: 1px solid currentColor;
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.menu-trigger::-webkit-details-marker {
  display: none;
}
.menu-trigger small {
  font-size: 10px;
  opacity: 0.7;
  font-variant-numeric: tabular-nums;
}
.menu-label-close,
.menu[open] .menu-label-open,
.menu[open] .menu-trigger small {
  display: none;
}
.menu[open] .menu-label-close {
  display: inline;
}
.menu-icon {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: calc(var(--pill) - 6px);
  background: var(--accent);
}
.menu-icon i {
  position: absolute;
  left: 9px;
  right: 9px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: var(--on-accent);
  transition: transform 0.35s var(--ease);
}
.menu-icon i:first-child {
  transform: translateY(-3px);
}
.menu-icon i:last-child {
  transform: translateY(3px);
}
.menu[open] .menu-icon i:first-child {
  transform: rotate(45deg);
}
.menu[open] .menu-icon i:last-child {
  transform: rotate(-45deg);
}

/* Full-screen panel */
.menu-open,
.menu-open body {
  overflow: hidden;
}
.menu-panel {
  position: fixed;
  inset: var(--header-h) 0 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
  color: var(--ink);
  animation: menu-in 0.45s var(--ease) both;
}
.menu-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(16px, 3vh, 36px) var(--gutter) 90px;
}
.menu-worlds {
  list-style: none;
  margin: clamp(14px, 2.4vh, 28px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  column-gap: clamp(24px, 5vw, 90px);
}
.menu-worlds li {
  border-bottom: 1px solid var(--line);
  animation: menu-rise 0.7s var(--ease) calc(var(--i) * 35ms + 0.05s) both;
}
.menu-worlds a {
  display: flex;
  align-items: baseline;
  gap: clamp(12px, 1.4vw, 22px);
  padding: clamp(8px, 1.5vh, 16px) 0;
  transition:
    padding 0.4s var(--ease),
    color 0.25s;
}
.menu-worlds small {
  width: 2.2em;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.menu-name {
  font-size: clamp(30px, min(5vw, 7.4vh), 74px);
  line-height: 1;
  white-space: nowrap;
}
.menu-category {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-align: right;
  color: var(--muted);
}
.menu-worlds a:hover,
.menu-worlds a:focus-visible,
.menu-worlds a[aria-current] {
  padding-left: 16px;
  color: var(--mark, var(--tone));
}
.menu-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin-top: auto;
  padding-top: 28px;
  animation: menu-rise 0.7s var(--ease) 0.45s both;
}
.menu-pages a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.menu-pages a:hover,
.menu-pages a[aria-current] {
  color: var(--accent);
}
@keyframes menu-in {
  from {
    opacity: 0;
  }
}
@keyframes menu-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}
@media (max-width: 900px) {
  .menu-worlds {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-template-rows: none;
  }
  .menu-category {
    display: none;
  }
  .menu-name {
    font-size: clamp(24px, 5.2vh, 44px);
  }
  .menu-worlds a {
    padding: clamp(5px, 0.9vh, 12px) 0;
  }
}
@media (max-width: 740px) {
  .wordmark {
    font-size: 13px;
    letter-spacing: 0.3em;
  }
  .nav-link {
    display: none;
  }
}
.site-footer {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
.footer-marquee {
  padding-top: clamp(30px, 4vw, 56px);
}
.footer-track {
  display: flex;
  width: max-content;
  animation: footer-scroll 60s linear infinite;
}
.footer-track p {
  display: flex;
  flex-shrink: 0;
}
.footer-track span {
  display: flex;
  align-items: center;
  font-family: var(--display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  text-transform: var(--display-case);
  font-size: clamp(30px, 4.6vw, 70px);
  line-height: 1.15;
  white-space: nowrap;
  color: color-mix(in srgb, var(--ink) 26%, transparent);
}
.footer-track i {
  margin: 0 clamp(16px, 2.2vw, 36px);
  font-size: 0.36em;
  font-style: normal;
  color: var(--accent);
}
.footer-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: clamp(56px, 8vw, 120px) var(--gutter) clamp(40px, 6vw, 80px);
}
.site-footer h2 {
  font-size: clamp(42px, 7.6vw, 128px);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 34px;
  margin-top: 8px;
}
.footer-base {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 0 var(--gutter) 78px;
}
.footer-wordmark {
  font-size: clamp(34px, 9vw, 150px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: color-mix(in srgb, var(--ink) 16%, transparent);
  transition: color 0.4s;
}
.footer-wordmark:hover {
  color: var(--accent);
}
.footer-base p {
  padding-bottom: 0.6em;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}
@keyframes footer-scroll {
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 740px) {
  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
