@font-face {
  font-family: 'Commissioner'; font-style: normal; font-weight: 400 500;
  font-display: swap; src: url('/fonts/system/commissioner-text.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 500;
  font-display: swap; src: url('/fonts/system/fraunces-display.woff2') format('woff2');
}
* { box-sizing: border-box; }
:root {
  color-scheme: dark; --ground: #163526; --ink: #dce6cf; --gutter: 22px;
  --type-reading: 'Commissioner', 'Trebuchet MS', sans-serif;
  --type-expression: 'Fraunces', Georgia, serif;
  --type-body: clamp(1.125rem, 1.065rem + .3vw, 1.25rem);
  --type-leading: 1.6;
}
html, body { margin: 0; min-width: 240px; background: var(--ground); }
body {
  color: var(--ink);
  font-family: var(--type-reading);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(ellipse at 44% 39%, #2d5037 0%, #21412e 42%, #163526 85%);
}
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 34rem;
  padding: max(20px, env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) max(var(--gutter), env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  overflow: hidden;
  isolation: isolate;
  touch-action: manipulation;
}
/* The column anchors the rocket; the full-page canvas lets particles escape it. */
.careers-art { position: relative; min-width: 0; min-height: 0; }
.careers-sky {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: #163526;
  opacity: 0;
}
.careers-poster {
  position: absolute; inset: 0; pointer-events: none;
  background: url('/images/careers-rocket-poster-mobile.webp') center / contain no-repeat;
  opacity: 0; visibility: hidden;
}
.careers-sky.is-fallback ~ .careers-page .careers-poster { visibility: inherit; }
.careers-sky.is-rendered ~ .careers-page .careers-poster { visibility: hidden; }
.careers-sky canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 220ms ease-out; }
.careers-sky.is-rendered canvas { opacity: 1; }
.careers-sky::after { content: none; }
.navigation { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; width: 100%; pointer-events: none; }
.brand-mark { display: block; flex: none; width: 32px; height: 36px; fill: currentColor; }
.brand-reset { display: flex; align-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.brand-reset .brand-mark { transform-origin: 50% 55%; transition: transform 260ms cubic-bezier(.2, 1.4, .45, 1); }
.brand-reset:active .brand-mark { transform: translateY(1px) scale(.92); transition: transform 65ms ease-out; }
.brand-reset:focus-visible { outline: 1px solid var(--ink); outline-offset: 5px; border-radius: 2px; }
.careers {
  display: inline-grid; align-items: center; justify-items: end; min-width: 44px; min-height: 44px; padding: 0 2px;
  position: relative; pointer-events: auto; color: var(--ink); font-size: 1rem;
  font-family: var(--type-reading);
  font-weight: 400; line-height: 1.3; letter-spacing: 0; cursor: pointer; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
/* Matched fades keep the handoff continuous, including when navigation reverses. */
.careers-label {
  grid-area: 1 / 1; position: relative; white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity 240ms ease-in-out;
}
.careers[data-destination="careers"] [data-label="careers"],
.careers[data-destination="home"] [data-label="home"] {
  opacity: 1;
}
.careers-label::after {
  content: ""; position: absolute; height: 1px; left: 0; right: 0; bottom: -.22em;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease;
}
.careers:focus { outline: none; }
.careers:focus-visible .careers-label::after { transform: scaleX(1); }
.careers:focus-visible .careers-label::after { height: 2px; transition: none; }
@media (hover: hover) and (pointer: fine) { .careers:hover .careers-label::after { transform: scaleX(1); } }
@media (forced-colors: active) { .careers:focus-visible { outline: 2px solid LinkText; outline-offset: 4px; } }
.toy-stage { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fig-loading .toy-scene { visibility: hidden; }
.toy-scene {
  display: block; position: absolute; bottom: max(var(--gutter), env(safe-area-inset-bottom)); left: max(var(--gutter), env(safe-area-inset-left)); width: min(70vw, 42svh, 360px);
  height: auto; overflow: visible; transform: none; touch-action: none;
  user-select: none; -webkit-user-select: none;
}
.piece { outline: none; cursor: grab; }
.piece.is-held { cursor: grabbing; }
.hero.is-manipulating { touch-action: none; }
.hero.is-rotating * { cursor: inherit; }
.rotation-handle {
  position: absolute; left: 0; top: 0; z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px;
  padding: 0; border: 0; border-radius: 50%; background: transparent;
  color: #d2dec5; cursor: grab; touch-action: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.rotation-handle[hidden] { display: none; }
.rotation-handle svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.rotation-handle:active { cursor: grabbing; }
.rotation-handle:focus-visible { outline: 1px solid currentColor; outline-offset: -3px; }
.piece-side, .shadows, .sockets { display: none; }
.piece use { pointer-events: none; }
.piece .piece-hit { fill: transparent; fill-rule: evenodd; stroke: transparent; stroke-width: 8; pointer-events: all; }
.toy-scene.is-blooming .piece-hit { pointer-events: none; }
.flower { pointer-events: none; }
.focus-ring { fill: none; stroke: #f1f5de; stroke-width: 2; stroke-dasharray: 2 2; opacity: 0; }
.piece:focus-visible .focus-ring { opacity: 1; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.home-copy {
  position: relative; z-index: 1; align-self: flex-end;
  width: min(46%, 28rem); margin-top: auto; padding-top: 3rem;
  transition: opacity 240ms ease;
}
.home-copy h1 {
  position: relative; margin: 0 0 1.5rem;
  font-family: var(--type-expression); font-optical-sizing: auto;
  font-weight: 500; font-size: clamp(2rem, 1.15rem + 2vw, 2.75rem);
  line-height: 1.14; letter-spacing: -.025em; text-wrap: balance;
  overflow-wrap: anywhere;
}
.home-copy p {
  margin: 0 0 1rem; max-width: 40ch;
  font-size: 1.125rem; font-weight: 400; line-height: 1.6;
  text-wrap: pretty; overflow-wrap: anywhere;
}
.hero.is-careers .home-copy { opacity: 0; pointer-events: none; }
.careers-page {
  position: absolute; z-index: 1; inset: clamp(96px, 13dvh, 140px) 0 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  column-gap: clamp(32px, 5vw, 88px);
  overflow: auto; overscroll-behavior: contain; scrollbar-width: thin;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
}
.careers-page[hidden] { display: grid; visibility: hidden; pointer-events: none; }
.careers-page[inert] { pointer-events: none; }
.careers-copy { grid-column: 1; grid-row: 1; align-self: center; width: 100%; max-width: 34rem; margin: 0; }
.careers-art { grid-column: 2; grid-row: 1; }
.careers-copy h1 {
  margin: 0 0 1.5rem; font-size: .875rem; font-weight: 400; line-height: 1.5; letter-spacing: 0;
}
.careers-copy h1:focus { outline: none; }
.careers-copy p {
  margin: 0 0 1.25em; font-size: var(--type-body);
  font-weight: 400; line-height: var(--type-leading); letter-spacing: 0; text-wrap: pretty;
  overflow-wrap: anywhere;
}
.careers-copy .careers-lead {
  margin-bottom: clamp(2rem, 4.5vw, 2.75rem);
  font-family: var(--type-expression); font-optical-sizing: auto;
  font-weight: 500; font-size: clamp(1.625rem, 1.28rem + 1.8vw, 2rem);
  line-height: 1.23; letter-spacing: -.025em; text-wrap: balance; hyphens: auto;
  transform-origin: 8% 75%;
}
.careers-copy p:last-child { margin-bottom: 0; }
.careers-contact {
  display: inline-flex; align-items: center; min-height: 44px; color: inherit;
  font-size: 1rem; line-height: 1.3; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: .28em;
  -webkit-tap-highlight-color: transparent;
}
.careers-contact:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; border-radius: 2px; }
@media (hover: hover) { .careers-contact:hover { text-decoration-thickness: 2px; } }
.copy-reveal { opacity: 0; }
@media (min-width: 960px) {
  .careers-poster { background-image: url('/images/careers-rocket-poster-desktop.webp'); }
  .careers-copy { --copy-inset: clamp(24px, 2.5vw, 40px); margin-left: var(--copy-inset); width: calc(100% - var(--copy-inset)); }
  .careers-copy .careers-lead { font-size: clamp(1.75rem, 1rem + 1.5vw, 2.5rem); margin-bottom: clamp(1.5rem, 3dvh, 2.5rem); }
}
.hero.is-careers .toy-scene { pointer-events: none; }
.hero.is-careers .piece .piece-hit { pointer-events: none; }
.hero.is-careers .brand-mark { transform: none; }
/* Copy and launch share one mobile viewport; the renderer fits the space left. */
@media (max-width: 959px) {
  body { min-height: 100svh; }
  .hero.is-careers {
    height: 100svh; min-height: 100svh;
    justify-content: flex-start; overflow: hidden;
  }
  .hero.is-careers .home-copy { display: none; }
  .hero .careers-page {
    top: max(clamp(80px, 11svh, 100px), calc(env(safe-area-inset-top) + 60px));
    grid-template-columns: minmax(0, 1fr); grid-template-rows: max-content minmax(9rem, 1fr);
    row-gap: 12px; column-gap: 0;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
  .hero .careers-copy { grid-column: 1; grid-row: 1; align-self: start; justify-self: center; }
  .hero .careers-art { grid-column: 1; grid-row: 2; }
  .hero .careers-copy h1 { margin-bottom: 12px; }
  .hero .careers-copy p { font-size: 1rem; line-height: 1.42; margin-bottom: 10px; }
  .hero .careers-copy .careers-lead {
    font-size: clamp(1.25rem, 2.7svh, 1.5rem); line-height: 1.2; margin-bottom: 14px;
  }
  .hero .careers-copy p:last-child { margin-bottom: 0; }
  .hero.is-careers::after { content: none; display: none; }
}
@media (max-width: 959px) and (max-height: 700px) {
  .hero .careers-copy p { line-height: 1.36; }
}
@media (min-width: 768px) {
  :root { --gutter: clamp(28px, 2.5vw, 56px); }
  .hero { padding-top: max(var(--gutter), env(safe-area-inset-top)); }
}
@media (max-width: 767px), (max-width: 960px) and (orientation: landscape) and (pointer: coarse) {
  .hero {
    height: 100svh; min-height: 0;
    justify-content: flex-start;
    overflow-y: auto;
  }
  .hero::after { content: none; }
  .navigation { order: 1; flex: none; }
  .home-copy {
    order: 2; flex: none; width: 100%; align-self: flex-start;
    padding-top: 0; margin-top: clamp(1rem, 3.5svh, 2rem);
  }
  .home-copy h1 { font-size: clamp(1.625rem, 3.6svh, 1.875rem); margin-bottom: 1rem; }
  .home-copy p { max-width: 34ch; font-size: 1rem; line-height: 1.45; margin-bottom: 0; }
  .hero:not(.is-careers) .toy-stage {
    position: relative; inset: auto; order: 3; flex: 1 1 0;
    width: 100%; min-height: 100px; margin-top: 20px;
  }
  .toy-scene {
    top: auto; left: 50%;
    bottom: max(var(--gutter), env(safe-area-inset-bottom));
    width: var(--mobile-mark-width, min(100%, 32svh));
    transform: translateX(-50%);
  }
  .hero:not(.is-careers) .toy-scene { bottom: 0; }
}
@media (max-width: 960px) and (orientation: landscape) and (pointer: coarse) {
  .home-copy { margin-top: 12px; }
  .home-copy h1 { font-size: 1.625rem; margin-bottom: .5rem; }
  .home-copy p { max-width: none; }
  .hero:not(.is-careers) .toy-stage { margin-top: 12px; min-height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-copy { transition: none; }
  .careers .careers-label, .careers[data-destination] .careers-label, .careers-label::after { transition: none; }
  .brand-reset .brand-mark, .brand-reset:active .brand-mark { transition: none; }
  .brand-reset:active .brand-mark { transform: none; opacity: .72; }
  .fig-loading .toy-scene { visibility: visible; }
}

.nav-actions { display: flex; gap: 18px; align-items: center; }

/* One page: the letters introduce it, then keep their place in the header.
   The SVG coordinate surface never moves when the reading layout appears. */
.single-page { height: 100svh; min-height: 0; overflow: hidden; }
.single-page .nav-contact { pointer-events: auto; }
.single-page .toy-stage {
  position: absolute; inset: 0; width: auto; min-height: 0; margin: 0;
  visibility: hidden; pointer-events: none;
}
.fig-opening .single-page .toy-stage,
.fig-ready .single-page .toy-stage { visibility: visible; }
.single-page .toy-scene { width: min(76vw, 62svh, 640px); pointer-events: none; }
.single-page .piece .piece-hit { pointer-events: none; }
.single-page .copy-reveal { opacity: 1; }
.fig-opening .single-page:not(.is-careers) .careers-page { visibility: hidden; pointer-events: none; }
.single-page .careers-copy h1 { text-wrap: balance; }
.single-page .careers-copy p:last-child { margin-bottom: 0; }
@media (max-width: 959px) {
  .hero.single-page .careers-page {
    top: max(clamp(112px, 15svh, 144px), calc(env(safe-area-inset-top) + 92px));
  }
}
@media (max-width: 767px), (max-width: 960px) and (orientation: landscape) and (pointer: coarse) {
  .hero.single-page .toy-stage { position: absolute; inset: 0; min-height: 0; margin: 0; }
  .hero.single-page .toy-scene {
    width: min(calc(100vw - 2 * var(--gutter)), 54svh, 440px);
    bottom: max(40px, 8svh, env(safe-area-inset-bottom));
  }
}

/* Review still uses a frame of the actual particle model while its worker
   prepares, and for reduced motion / unavailable WebGL. */
html[data-particle-preview="humanoid"] .careers-poster {
  background-image: url('/images/humanoid-poster-mobile.jpg');
  visibility: inherit;
}
@media (min-width: 960px) {
  html[data-particle-preview="humanoid"] .careers-poster {
    background-image: url('/images/humanoid-poster-desktop.jpg');
  }
}
html[data-particle-preview="humanoid"] .careers-sky.is-rendered ~ .careers-page .careers-poster {
  visibility: hidden; transition: visibility 0s 220ms;
}
html[data-particle-preview="piano"] .careers-poster {
  background-image: url('/images/piano-poster-mobile.jpg'); visibility: inherit;
}
@media (min-width: 960px) {
  html[data-particle-preview="piano"] .careers-poster { background-image: url('/images/piano-poster-desktop.jpg'); }
}
html[data-particle-preview="piano"] .careers-sky.is-rendered ~ .careers-page .careers-poster {
  visibility: hidden; transition: visibility 0s 220ms;
}
