:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #17211d;
  background: #f5f3ec;
  font-synthesis: none;
  --green: #c5f06b;
  --ink: #17211d;
  --line: #d7dcd0;
}
.gallery {
  margin: 40px 0;
}
.gallery img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #e9ecdf;
  border-radius: 12px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid #436d12;
  outline-offset: 5px;
}
button,
summary {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
}
img {
  max-width: 100%;
  height: auto;
}
main {
  max-width: 1240px;
  margin: auto;
  padding: 0 40px 64px;
}
.header {
  min-height: 88px;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
}
.brand > span {
  background: var(--ink);
  color: var(--green);
  font-size: 28px;
  padding: 6px 12px;
  letter-spacing: -3px;
}
.header nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
}
.header nav a {
  text-decoration: none;
}
.skip {
  position: absolute;
  top: -100px;
  padding: 12px;
  background: var(--green);
  z-index: 9;
}
.skip:focus {
  top: 4px;
}
.hero {
  padding: 42px 0 36px;
  position: relative;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1.7;
}
.hero h1 {
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -3px;
  margin: 24px 0;
}
.hero h1 em {
  font-style: normal;
  color: #476c32;
}
.hero > p:not(.eyebrow) {
  max-width: 580px;
  font-size: 18px;
  line-height: 1.65;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 13px 20px;
  background: var(--ink);
  color: white;
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.hero .button {
  margin-top: 12px;
  background: var(--green);
  color: var(--ink);
  border-color: var(--green);
}
.hero-note {
  position: absolute;
  right: 0;
  bottom: 60px;
  max-width: 210px;
}
.hero-note > span {
  font-size: 50px;
  letter-spacing: -3px;
  font-weight: 700;
}
.hero-note p {
  white-space: pre-line;
  line-height: 1.6;
  font-size: 14px;
  color: #526052;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.section-heading h2 {
  font-size: 28px;
  letter-spacing: -1px;
}
.section-heading > span {
  font-size: 13px;
  color: #526052;
}
.filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 14px;
  background: #e9ecdf;
  padding: 22px;
  border-radius: 10px;
  margin: 16px 0 30px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
input,
select,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #8b9882;
  border-radius: 5px;
  background: #fff;
  padding: 12px;
  color: var(--ink);
  min-height: 44px;
}
textarea {
  resize: vertical;
  line-height: 1.5;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 20px;
}
.art {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e4e9d8;
  text-decoration: none;
  overflow: hidden;
}
.art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-agigame .art {
  background: #203d35;
  color: #c5f06b;
}
.card-idleelevator .art {
  background: #dde4b8;
  color: #36492b;
}
.lettermark {
  font-size: 64px;
  font-family: monospace;
  font-weight: 700;
}
.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body .eyebrow {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  letter-spacing: 0.6px;
  font-size: 10px;
}
.ready {
  color: #3c631e;
}
.muted {
  color: #586451;
}
.card h3 {
  font-size: 25px;
  letter-spacing: -0.7px;
  margin: 16px 0 6px;
}
.card h3 a {
  text-decoration: none;
}
.card p {
  font-size: 14px;
  line-height: 1.7;
  color: #4a5748;
  margin: 5px 0 18px;
}
.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: auto;
  margin-bottom: 18px;
}
.chips span {
  font-size: 10px;
  border: 1px solid var(--line);
  padding: 6px 8px;
  border-radius: 20px;
  line-height: 1.3;
}
.text-link {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
}
.group-title {
  font-size: 18px;
  margin: 30px 0 18px;
}
.group-title small {
  font-size: 12px;
  font-weight: 400;
  color: #586451;
  margin-left: 12px;
}
.empty {
  padding: 45px;
  border: 1px dashed #8b9882;
  border-radius: 10px;
}
.back {
  display: inline-block;
  margin-top: 30px;
  font-size: 14px;
}
.product-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  padding: 40px 0;
}
.product-hero h1,
.form-shell h1,
.prose h1 {
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: -2px;
  margin: 18px 0;
}
.lead {
  font-size: 19px;
  line-height: 1.65;
}
.product-image {
  display: block;
  border: 1px solid var(--line);
  padding: 20px;
  background: white;
  border-radius: 12px;
}
.product-image img {
  max-height: 480px;
  object-fit: contain;
  display: block;
  margin: auto;
}
.product-image > span {
  display: block;
  font-size: 12px;
  margin-top: 16px;
}
.product-placeholder {
  background: #203d35;
  color: var(--green);
  height: 330px;
  display: grid;
  place-items: center;
  font-family: monospace;
  font-size: 72px;
  border-radius: 12px;
}
.channels {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}
.channels article {
  background: #fff;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.channels h2 {
  font-size: 20px;
  margin: 0;
}
.channels h2 span {
  font-size: 12px;
  font-weight: 400;
  margin-left: 8px;
}
.channels p {
  line-height: 1.6;
  font-size: 14px;
}
.channels small {
  display: block;
  margin-top: 14px;
}
.channels code {
  word-break: break-all;
  font-size: 12px;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.facts h2 {
  font-size: 18px;
}
.facts p {
  line-height: 1.7;
  color: #4a5748;
}
.feedback-cta {
  padding: 36px;
  background: #e3edcf;
  border-radius: 12px;
  margin: 30px 0;
}
.feedback-cta h2 {
  font-size: 30px;
  margin: 12px 0;
}
.feedback-cta p {
  line-height: 1.6;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.secondary {
  background: transparent;
  color: var(--ink);
}
.form-shell {
  max-width: 720px;
  margin: auto;
}
.form-shell > p {
  line-height: 1.7;
}
.form-shell form {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 12px;
  margin-top: 30px;
}
.form-shell label {
  margin: 0 0 24px;
}
.form-shell label small {
  font-weight: 400;
  color: #586451;
}
.form-shell fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.form-shell details {
  margin: 20px 0;
  padding: 16px;
  background: #f5f3ec;
  border-radius: 8px;
}
.form-shell details[open] summary {
  margin-bottom: 25px;
}
summary {
  line-height: 1.5;
  min-height: 30px;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.privacy-note {
  font-size: 12px;
  line-height: 1.7;
}
.status-message {
  font-weight: 700;
  line-height: 1.7;
}
.prose {
  max-width: 780px;
  margin: 60px auto;
}
.prose p {
  line-height: 1.8;
}
.prose h2 {
  font-size: 23px;
  margin-top: 32px;
}
footer {
  background: var(--ink);
  color: #f5f3ec;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
footer p {
  font-size: 13px;
  color: #d3ddca;
}
footer > div:nth-child(2) {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  font-size: 13px;
}
footer small {
  width: 100%;
  font-size: 11px;
  color: #d3ddca;
}
.admin {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
}
.admin .filters {
  grid-template-columns: repeat(5, 1fr);
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}
td,
th {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.table-wrap {
  overflow: auto;
}
.admin dl {
  background: white;
  padding: 25px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.admin dt {
  font-weight: 700;
  margin-top: 18px;
}
.admin dd {
  margin: 8px 0 20px;
}
.admin textarea {
  min-height: 110px;
}
.admin button {
  margin: 5px;
}
.admin .actions {
  margin: 20px 0;
}
@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-note {
    display: none;
  }
  .product-hero {
    gap: 30px;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .admin .filters {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  main {
    padding: 0 20px 40px;
  }
  .header {
    padding: 14px 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    min-height: 100px;
  }
  .header nav {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }
  .brand {
    font-size: 12px;
  }
  .hero {
    padding: 38px 0;
    margin-bottom: 24px;
  }
  .hero h1 {
    letter-spacing: -1.8px;
  }
  .hero > p:not(.eyebrow) {
    font-size: 16px;
  }
  .filters {
    padding: 15px;
    gap: 12px;
  }
  .filters label:first-child {
    grid-column: 1/-1;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .art {
    height: 215px;
  }
  .product-hero {
    grid-template-columns: 1fr;
    padding-top: 24px;
  }
  .facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .feedback-cta {
    padding: 25px;
  }
  .form-shell form {
    padding: 20px;
  }
  .form-shell h1 {
    font-size: 38px;
  }
  .actions .button {
    width: 100%;
  }
  footer {
    padding: 28px 20px;
  }
  footer > div:nth-child(2) {
    flex-wrap: wrap;
  }
  .group-title small {
    display: block;
    margin: 8px 0;
  }
  .admin .filters {
    grid-template-columns: 1fr;
  }
  .product-placeholder {
    height: 200px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}

.filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0;
  color: #476c32;
  font-size: 14px;
}
.filter-summary button {
  background: none;
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 24px;
  color: var(--ink);
}
.image-preview {
  display: block;
  text-decoration: none;
}
.image-preview > img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  background: #e9ecdf;
  border-radius: 12px;
}
.image-preview > span {
  display: block;
  margin-top: 10px;
  text-decoration: underline;
}
.image-dialog {
  border: 0;
  border-radius: 16px;
  padding: 20px;
  max-width: 92vw;
  max-height: 92vh;
  background: var(--ink);
  color: white;
}
.image-dialog::backdrop {
  background: rgba(10, 20, 16, 0.8);
}
.image-dialog form {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.image-dialog img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  margin: auto;
}
.field-count {
  text-align: right;
  font-weight: 400;
  color: #52604f;
}

/* Studio art direction: original paper texture, real product artwork, quiet depth. */
.header {
  background: #fbfaf5;
}
.brand > span {
  border-radius: 13px 13px 13px 3px;
  transform: rotate(-5deg);
}
.hero {
  min-height: 480px;
  padding: 50px 38px;
  margin: 24px -12px 38px;
  border: 1px solid #e1e2d4;
  border-radius: 28px;
  background: #f7f5ec url("/assets/studio-paper.webp") center / cover;
  isolation: isolate;
}
.hero h1 {
  font-size: clamp(40px, 4.6vw, 64px);
  max-width: 58%;
  letter-spacing: -2.7px;
}
.hero > p:not(.eyebrow) {
  max-width: 47%;
  font-size: 17px;
}
.hero .eyebrow {
  max-width: 55%;
  color: #53654c;
}
.hero .button {
  border-radius: 100px;
  box-shadow: 0 4px 0 #9fbf59;
}
.hero-showcase {
  position: absolute;
  width: 43%;
  right: 24px;
  top: 52px;
  height: 380px;
}
.showcase-caption {
  position: absolute;
  top: 0;
  left: 15%;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #54644c;
}
.showcase-piece {
  position: absolute;
  display: block;
  padding: 8px;
  background: #fffdf5;
  border: 1px solid #dfdfd1;
  border-radius: 16px;
  box-shadow:
    0 14px 32px #24322122,
    0 2px 3px #24322110;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.showcase-piece img {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.showcase-piece > span {
  display: flex;
  justify-content: space-between;
  padding: 10px 4px 3px;
  font-size: 12px;
  font-weight: 700;
}
.showcase-turraboom {
  width: 67%;
  right: 3%;
  top: 35px;
  transform: rotate(7deg);
}
.showcase-turraboom img {
  aspect-ratio: 1.5;
}
.showcase-rogueball {
  width: 37%;
  left: 0;
  top: 133px;
  transform: rotate(-9deg);
  z-index: 2;
}
.showcase-rogueball img {
  aspect-ratio: 1;
}
.showcase-dubarena {
  width: 51%;
  right: 4%;
  top: 237px;
  transform: rotate(3deg);
  z-index: 3;
}
.showcase-dubarena img {
  aspect-ratio: 1.9;
  object-position: top;
}
.showcase-piece:hover,
.showcase-piece:focus-visible {
  transform: rotate(0) translateY(-4px);
  z-index: 4;
  box-shadow: 0 18px 38px #24322130;
}
.play-sprite {
  position: absolute;
  width: 160px;
  height: 160px;
  right: -35px;
  top: 122px;
  pointer-events: none;
  z-index: 4;
}
#catalog {
  scroll-margin-top: 24px;
}
.section-heading h2 {
  font-size: 34px;
}
.section-heading > span {
  background: #e6ebdd;
  border-radius: 30px;
  padding: 8px 13px;
}
.filters {
  background: #e9eddf;
  border: 1px solid #d8dece;
  border-radius: 18px;
  box-shadow: inset 0 1px #fff9;
}
.filters input,
.filters select {
  border-color: #bec8b5;
  border-radius: 9px;
}
.card {
  border-radius: 20px;
  border-color: #e0e4d8;
  box-shadow: 0 4px 16px #23311a06;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px #23311a12;
}
.art {
  height: 235px;
  margin: 10px 10px 0;
  border-radius: 13px;
  background: radial-gradient(ellipse at top, #f9faf2, #dfe6d3);
}
.art img {
  padding: 8px;
}
.card-turraboom .art,
.card-pulso .art {
  background: #182d30;
}
.card-turraboom .art img,
.card-pulso .art img {
  padding: 0;
  object-fit: cover;
}
.card-rogueball .art img {
  border-radius: 24px;
  padding: 14px;
}
.card-dubarena .art {
  background: #eeedf7;
}
.card-momentos-magicos .art {
  background: #f4eada;
}
.card .ready {
  background: #edf5df;
  border-radius: 15px;
  padding: 1px 7px;
}
.card .text-link {
  border-top: 1px solid #e6e9df;
  padding-top: 16px;
}
.group-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.group-title::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #769357;
  flex-shrink: 0;
}
.product-hero {
  background: radial-gradient(ellipse at right top, #e6ebd8aa, transparent 65%);
}
.product-image,
.image-preview > img {
  border-radius: 18px;
  box-shadow: 0 12px 30px #203d3510;
}
.feedback-cta {
  background: #eff1e2 url("/assets/studio-paper.webp") center / cover;
  border: 1px solid #dce3d0;
  border-radius: 22px;
}
.feedback-cta p {
  max-width: 680px;
}
footer {
  border-radius: 28px 28px 0 0;
}
@media (max-width: 1050px) and (min-width: 761px) {
  .hero {
    padding: 40px 26px;
  }
  .hero-showcase {
    right: 16px;
    width: 42%;
    top: 85px;
  }
  .showcase-rogueball {
    top: 112px;
  }
  .showcase-dubarena {
    top: 210px;
  }
}
@media (max-width: 760px) {
  .hero {
    margin: 20px 0 30px;
    padding: 30px 24px 20px;
    min-height: 0;
  }
  .hero h1,
  .hero > p:not(.eyebrow),
  .hero .eyebrow {
    max-width: 100%;
  }
  .hero h1 {
    font-size: clamp(37px, 7.5vw, 56px);
    letter-spacing: -1.7px;
  }
  .hero-showcase {
    position: relative;
    width: 100%;
    right: auto;
    top: auto;
    margin: 30px auto 0;
    height: 310px;
    max-width: 400px;
  }
  .showcase-caption {
    left: 0;
    font-size: 8px;
  }
  .showcase-turraboom {
    top: 28px;
  }
  .showcase-rogueball {
    top: 100px;
  }
  .showcase-dubarena {
    top: 187px;
  }
  .play-sprite {
    width: 115px;
    height: 115px;
    right: -18px;
    top: 108px;
  }
  .art {
    height: 230px;
  }
  .group-title {
    flex-wrap: wrap;
  }
  .group-title small {
    margin: 0;
  }
}
@media (max-width: 380px) {
  .hero {
    padding: 25px 18px 12px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-showcase {
    height: 265px;
  }
  .showcase-dubarena {
    top: 165px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .card,
  .showcase-piece {
    transition: none;
  }
  .card:hover {
    transform: none;
  }
}
