/* Larpeon / public site */
:root {
  --sky: rgb(67, 167, 255);
  --citrus: rgb(255, 167, 67);
  --ink: #0f172a;
  --copy: #334155;
  --quiet: #64748b;
  --paper: #f8fafc;
  --white: #ffffff;
  --rule: #e2e8f0;
  --ice: #edf7ff;
  --sand: #fff6eb;
  --jakarta: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --jetbrains: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  font-family: var(--jakarta);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
}

a { color: inherit; }
img { max-width: 100%; }
figure { margin: 0; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(67, 167, 255, .48);
  outline-offset: 3px;
}

.skipLink {
  position: absolute;
  z-index: 200;
  top: 9px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skipLink:focus { transform: translateY(0); }

.topbar {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 255, 255, .98);
}

.topbar-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brandLink,
.footerBrand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -.045em;
  text-decoration: none;
}

.brandLink img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.drawer-panel {
  display: flex;
  align-items: center;
  gap: 5px;
}

.drawer-panel a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--copy);
  font-size: .88rem;
  font-weight: 650;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

.drawer-panel a:hover,
.drawer-panel a[aria-current="page"] {
  background: var(--ice);
  color: var(--ink);
}

.drawerToggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.drawerToggle svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

#routeStage { min-height: 58vh; }

.eyebrow,
.mono-label {
  margin: 0 0 15px;
  color: #2563a6;
  font: 650 .7rem/1.5 var(--jetbrains);
  letter-spacing: .085em;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: anywhere; }

.pageDeck {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--copy);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.8;
}

h1 {
  max-width: 810px;
  margin: 0;
  font-size: clamp(2.55rem, 6.1vw, 4.75rem);
  line-height: 1.035;
  letter-spacing: -.075em;
  font-weight: 800;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -.06em;
}

h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.3;
  letter-spacing: -.035em;
}

.actionBtn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

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

.btn-sky {
  border-color: #3298ed;
  background: var(--sky);
  color: #08233d;
}
.btn-sky:hover { background: #56b2ff; }

.btn-citrus {
  border-color: #ef9c3b;
  background: var(--citrus);
  color: #3c260d;
}
.btn-citrus:hover { background: #ffb65d; }

.btn-outline {
  border-color: var(--rule);
  background: #fff;
  color: var(--ink);
}
.btn-outline:hover {
  border-color: #a8b7c9;
  background: #f8fafc;
}

.btn-muted {
  border-color: #dbe3ec;
  background: #f1f5f9;
  color: var(--quiet);
  cursor: not-allowed;
}

.fruitHero {
  padding: 86px 0 78px;
  border-bottom: 1px solid var(--rule);
  background: var(--white);
}

.fruitHero-inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(230px, .65fr);
  align-items: center;
  gap: 52px;
}

.heroIntro,
.pageDeck {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--copy);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.8;
}

.heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin: 28px 0 0;
}

.heroActions .actionBtn { margin-right: 1px; }

.fruitHero-mark {
  width: min(100%, 300px);
  aspect-ratio: 1;
  justify-self: end;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid #c9e6ff;
  border-radius: 14px;
  background: var(--ice);
}

.fruitHero-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.citrusStory {
  padding: 76px 0;
  background: #fff;
}

.citrusStory-inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.citrusStory-heading { margin-bottom: 29px; }
.citrusStory-heading .eyebrow { margin-bottom: 11px; }

.citrusStory-content {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
}

.citrusFruit {
  padding: 12px;
  border: 1px solid #c9e6ff;
  border-radius: 12px;
  background: var(--ice);
}

.citrusFruit img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.citrusFruit figcaption {
  padding: 8px 2px 1px;
  color: var(--quiet);
  font-size: .66rem;
  line-height: 1.5;
}

.citrusStory-copy p {
  margin: 0 0 14px;
  color: var(--copy);
  line-height: 1.8;
}

.brandPalette {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 21px 0 0;
}

.brandPalette > div { min-width: 175px; }
.brandPalette dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 700;
}
.brandPalette dd {
  margin: 5px 0 0 21px;
  color: var(--quiet);
  font: .66rem var(--jetbrains);
}
.swatch {
  width: 13px;
  height: 13px;
  display: inline-block;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 2px;
}
.swatch-sky { background: var(--sky); }
.swatch-citrus { background: var(--citrus); }

.teamRoom {
  padding: 76px 0;
  border-top: 1px solid var(--rule);
  background: #f0f6fc;
}

.teamRoom-inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.teamRoom-title { margin-bottom: 29px; }
.teamRoom-title .eyebrow { margin-bottom: 11px; }

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

.developer-card {
  min-width: 0;
  padding: 19px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
}

.avatarPair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 18px;
}

.avatarPair figure { min-width: 0; }
.avatarPair img,
.avatar-initial {
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--rule);
  border-radius: 7px;
  background: #eef3f8;
  object-fit: cover;
}

.avatar-initial {
  place-items: center;
  color: #60758a;
  font: 700 1.45rem var(--jetbrains);
}

.avatarPair figcaption {
  margin-top: 6px;
  color: var(--quiet);
  font: .62rem var(--jetbrains);
}

.developer-role {
  margin: 0 0 8px;
  color: #2563a6;
  font: 650 .68rem var(--jetbrains);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.developer-card h3 { margin-bottom: 8px; }

.developer-bio {
  min-height: 3.1em;
  margin: 0;
  color: var(--copy);
  font-size: .88rem;
  line-height: 1.65;
}

.developer-tag {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 15px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  color: var(--quiet);
  font: .66rem var(--jetbrains);
}
.developer-tag dd {
  margin: 0;
  color: var(--ink);
  text-align: right;
  font-weight: 500;
}

/* Roblox group directory */
.robloxLanding,
.socialLanding,
.contactLanding {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 76px;
}

.robloxIntro .pageDeck,
.socialIntro .pageDeck,
.contactIntro .pageDeck { margin-bottom: 0; }

.arcadeShelf {
  display: grid;
  gap: 20px;
  margin-top: 38px;
}

.arcade-group {
  padding: 27px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
}

.arcade-groupHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}

.arcade-groupHead .mono-label { margin-bottom: 8px; }
.arcade-groupHead h2 { font-size: clamp(1.55rem, 3vw, 2rem); }

.group-alias {
  margin: 7px 0 0;
  color: var(--quiet);
  font-size: .9rem;
}

.group-id {
  margin: 7px 0 0;
  color: #8290a2;
  font: .62rem var(--jetbrains);
}

.arcade-games {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  padding-top: 20px;
}

.roblox-experience {
  padding: 20px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: #fbfdff;
}

.experience-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.experience-topline .mono-label {
  margin: 0;
  font-size: .62rem;
}
.release-state {
  color: var(--quiet);
  font: .62rem var(--jetbrains);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.experience-copy {
  min-height: 3em;
  margin: 10px 0 15px;
  color: var(--copy);
  font-size: .88rem;
  line-height: 1.65;
}
.game-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 17px;
}
.genre-tag {
  padding: 5px 8px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: #60758a;
  font: .63rem var(--jetbrains);
}
.roblox-experience .actionBtn { min-width: 140px; }

/* Blunvox */
.blunvoxMasthead {
  padding: 82px 0 72px;
  border-bottom: 1px solid var(--rule);
  background: #fff;
}

.blunvoxMasthead-inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.blunvoxMasthead h1 { font-size: clamp(3rem, 8vw, 5.4rem); }
.blunvoxMasthead .pageDeck { margin-bottom: 25px; }

.blunvoxOverview { padding: 76px 0; }
.articleNarrow {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}
.blockHeading { margin-bottom: 27px; }
.blockHeading .eyebrow { margin-bottom: 11px; }

.blunvoxOverview > .articleNarrow > p {
  max-width: 740px;
  color: var(--copy);
  line-height: 1.75;
}

.gameplayBeats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.gameplayBeats li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 12px;
  border: 1px solid #d8ebfb;
  border-radius: 6px;
  background: var(--ice);
}
.gameplayBeats span {
  color: #2563a6;
  font: .7rem var(--jetbrains);
}
.gameplayBeats strong { font-size: .82rem; }

.blunvoxSystems,
.screenshotRoom {
  padding: 76px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: #f0f6fc;
}

.mechanicBoard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.mechanic-note {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: #fff;
}
.mechanic-note .mono-label { margin-bottom: 15px; }
.mechanic-note h3 { margin-bottom: 9px; }
.mechanic-note p:last-child {
  margin-bottom: 0;
  color: var(--copy);
  font-size: .87rem;
  line-height: 1.7;
}

.patchRoom { padding: 76px 0; }
.patchFeed { border-top: 1px solid var(--rule); }

.patch-entry {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 25px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}

.patch-date {
  color: #2563a6;
  font: .68rem var(--jetbrains);
}
.patch-entry h3 { margin-bottom: 6px; font-size: 1rem; }
.patch-entry p {
  margin: 0;
  color: var(--copy);
  font-size: .88rem;
  line-height: 1.7;
}

.captureWall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.gallery-shot { min-width: 0; }
.gallery-frame {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  padding: 15px;
  border: 1px dashed #afbfce;
  border-radius: 8px;
  background: #e7edf4;
  color: #60758a;
  font: .68rem var(--jetbrains);
  text-align: center;
}
.gallery-frame img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 7px;
}
.gallery-frame.capture-missing { border-color: #dc2626; }

/* Social links, ordered by studio priority */
.commsList {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.commsList > li {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.commsList > li.primary-item { grid-column: 1 / -1; }

.comms-entry {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 21px;
  border: 1px solid var(--rule);
  border-radius: 9px;
  background: #fff;
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.comms-entry:hover {
  border-color: #9bcefa;
  transform: translateY(-2px);
}
.comms-entry.primary-social {
  border-color: #b7ddfa;
  background: var(--ice);
}
.comms-symbol {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 7px;
  background: #fff;
}
.comms-symbol svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.comms-copy { min-width: 0; display: block; }
.comms-copy strong {
  display: block;
  margin-bottom: 5px;
  font-size: .92rem;
}
.comms-copy > span {
  display: block;
  color: var(--quiet);
  font-size: .8rem;
  overflow-wrap: anywhere;
}
.comms-order {
  margin-left: auto;
  color: #2563a6;
  font: .68rem var(--jetbrains);
}

/* Contact desk */
.inquiryLayout {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: start;
  gap: 22px;
  margin-top: 38px;
}

.communityCard,
.inquiryBox {
  min-width: 0;
  padding: 27px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
}

.communityCard {
  border-color: #c5e3fa;
  background: var(--ice);
}
.communityCard h2 { font-size: 1.75rem; }
.communityCard > p:not(.mono-label) {
  margin: 12px 0 19px;
  color: var(--copy);
  font-size: .9rem;
  line-height: 1.75;
}
.communityCard > .actionBtn { width: 100%; }

.inlineRoute {
  display: inline-block;
  margin-top: 15px;
  color: #1d5f9c;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inquiryAddress {
  margin-top: 29px;
  padding-top: 21px;
  border-top: 1px solid #c5dff3;
  font-style: normal;
}
.inquiryAddress .mono-label { margin-bottom: 8px; }
.inquiryAddress p:not(.mono-label) {
  margin: 0 0 7px;
  color: var(--copy);
  font-size: .86rem;
  line-height: 1.65;
}
.inquiryAddress a { font-weight: 700; text-underline-offset: 3px; }
.inquiryAddress small { color: var(--quiet); font-size: .7rem; }

.inquiryBox h2 { font-size: 1.6rem; }
.formIntro {
  margin: 11px 0 22px;
  color: var(--copy);
  font-size: .86rem;
  line-height: 1.7;
}
.fieldRow { margin-bottom: 16px; }
.fieldRow label {
  display: block;
  margin-bottom: 7px;
  font-size: .82rem;
  font-weight: 700;
}
.fieldRow input,
.fieldRow textarea {
  display: block;
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}
.fieldRow textarea { min-height: 138px; resize: vertical; }
.fieldRow input[aria-invalid="true"],
.fieldRow textarea[aria-invalid="true"] { border-color: #dc2626; }

.fieldError {
  min-height: 1.1em;
  margin: 5px 0 0;
  color: #b91c1c;
  font-size: .74rem;
}

.dispatchMail { min-width: 150px; }
.cooldownLine,
.feedbackLine {
  margin: 12px 0 0;
  color: var(--quiet);
  font-size: .78rem;
  line-height: 1.6;
}
.feedbackLine { color: #166534; }

.honeyField {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.footerBar {
  margin-top: 34px;
  padding: 34px 0 24px;
  background: #0f172a;
  color: #cbd5e1;
}
.footerBar-inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}
.footer-brandRow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}
.footerBrand { color: #fff; font-size: 1.1rem; }
.footer-brandRow > p {
  margin: 0;
  color: #94a3b8;
  font-size: .82rem;
}
.footerJumps {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: auto;
}
.footerJumps a {
  color: #cbd5e1;
  font-size: .8rem;
  text-decoration: none;
}
.footerJumps a:hover { color: #fff; }
.copyrightLine {
  margin: 25px 0 0;
  padding-top: 16px;
  border-top: 1px solid #334155;
  color: #94a3b8;
  font: .65rem var(--jetbrains);
}

.errPage {
  min-height: 58vh;
  display: grid;
  align-items: center;
  padding: 76px 20px;
}
.errPage > div {
  width: min(1080px, 100%);
  margin: 0 auto;
}
.errPage .pageDeck { margin-bottom: 27px; }

.standalone404 {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px 0;
}
.errPage-card { width: min(650px, calc(100% - 40px)); }
.errPage-card .brandLink { margin-bottom: 66px; }
.errPage-card .eyebrow { margin-bottom: 18px; }
.errPage-card .pageDeck { margin-bottom: 27px; }

@media (max-width: 760px) {
  .topbar-inner {
    width: calc(100% - 32px);
    min-height: 68px;
  }
  .drawerToggle {
    display: grid;
    place-items: center;
  }
  .drawer-panel {
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 16px 18px;
    border-bottom: 1px solid var(--rule);
    background: #fff;
    box-shadow: 0 12px 20px rgba(15, 23, 42, .07);
  }
  .drawer-panel.is-open { display: grid; }
  .drawer-panel a { padding: 13px 12px; }

  .fruitHero { padding: 62px 0 55px; }
  .fruitHero-inner { grid-template-columns: 1fr; gap: 30px; }
  .fruitHero-mark { width: 190px; justify-self: start; }
  .citrusStory,
  .teamRoom,
  .blunvoxOverview,
  .blunvoxSystems,
  .patchRoom,
  .screenshotRoom { padding-top: 58px; padding-bottom: 58px; }
  .citrusStory-content { grid-template-columns: 1fr; }
  .citrusFruit { width: min(210px, 72%); justify-self: center; }
  .rosterGrid,
  .mechanicBoard,
  .captureWall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inquiryLayout { grid-template-columns: 1fr; }
  .footerJumps { width: 100%; margin-left: 0; }
  .blunvoxMasthead { padding: 62px 0 55px; }
}

@media (max-width: 500px) {
  .topbar-inner,
  .fruitHero-inner,
  .citrusStory-inner,
  .teamRoom-inner,
  .robloxLanding,
  .socialLanding,
  .contactLanding,
  .blunvoxMasthead-inner,
  .articleNarrow,
  .footerBar-inner { width: calc(100% - 32px); }

  .rosterGrid,
  .arcade-games,
  .mechanicBoard,
  .captureWall,
  .commsList { grid-template-columns: 1fr; }

  .commsList > li.primary-item { grid-column: auto; }

  .arcade-group,
  .communityCard,
  .inquiryBox { padding: 20px; }

  .arcade-groupHead {
    align-items: flex-start;
    flex-direction: column;
  }

  .gameplayBeats { grid-template-columns: 1fr; }
  .patch-entry { grid-template-columns: 1fr; gap: 7px; }
  .citrusStory-heading,
  .teamRoom-title { margin-bottom: 22px; }
}

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