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

:root {
  --background: #f7f0dc;
  --text-dark: #1b1208;
  --accent: #c32626;
}

body {
  background-color: var(--background);
  color: var(--text-dark);
  font-family: "Acme", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

header,
main,
section,
nav {
  display: block;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #000;
  color: #fff;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 35%, rgba(0, 0, 0, 0.85) 100%);
}

.hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(104%);
}

.main-nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem 3rem 1rem;
  font-size: 1.1rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.nav-link {
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-link:focus,
.nav-link:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem 6rem;
  text-align: center;
}

.hero__content h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero__content p {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  max-width: 40rem;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.85);
}

main {
  background-color: var(--background);
}

.section {
  padding: 6rem 1.5rem;
}

.section--alt {
  background-color: rgba(255, 255, 255, 0.8);
}

.section__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.product-section {
  max-width: 1100px;
}

.section__inner h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}

.section__inner p {
  font-size: 1.15rem;
  color: rgba(0, 0, 0, 0.7);
}

.section__tagline {
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-size: 1.3rem;
}

.section__copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.78);
}

.section__copy--accent {
  color: var(--accent);
}

.section__copy--accent p {
  color: inherit;
}

.section__copy--careers {
  font-size: 1.05rem;
  max-width: 60rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.careers-tagline {
  font-size: 1.15rem;
  color: rgba(0, 0, 0, 0.65);
  letter-spacing: 0.05em;
}

.career-grid {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
}

.career-card {
  background: rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.career-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
}

.career-card__department {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(0, 0, 0, 0.65);
}

.career-card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.career-card__title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.4;
  color: var(--accent);
}

.career-card__meta {
  display: flex;
  gap: 1.5rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.7);
}

.career-card__cta {
  display: flex;
  justify-content: flex-end;
}

.button--dark {
  background: #0f0f0f;
  color: #fdfdfd;
  box-shadow: 0 12px 24px rgba(15, 15, 15, 0.28);
}

.button--dark:hover,
.button--dark:focus {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px rgba(15, 15, 15, 0.36);
}

.product-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 36px;
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  box-shadow: 0 30px 60px rgba(27, 18, 8, 0.1);
  text-align: left;
}

.product-card__header h3 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.product-card__subtitle {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.7);
  text-transform: uppercase;
}

.product-card__body {
  display: grid;
  gap: 2rem;
}

.product-card__body h4 {
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.product-card__body p,
.product-card__body li {
  font-size: 1.05rem;
  color: rgba(0, 0, 0, 0.78);
  line-height: 1.7;
}

.product-card__artists {
  background: rgba(255, 195, 0, 0.12);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: inset 0 0 0 1px rgba(195, 38, 38, 0.18);
}

.product-card__note {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.6);
  margin-bottom: 1.5rem;
}

.product-card__genie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.product-card__genie-grid figure {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 12px 28px rgba(27, 18, 8, 0.16);
}

.product-card__genie-grid img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.product-card__genie-grid figcaption {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-card__artists p {
  font-size: 1.08rem;
}

.product-card__concepts {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 2rem;
}

.product-card__concept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.product-card__concept-grid figure {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 12px 30px rgba(27, 18, 8, 0.12);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  cursor: pointer;
}

.product-card__concept-grid img {
  width: 100%;
  border-radius: 14px;
  object-fit: contain;
  aspect-ratio: 4 / 3;
}

.product-card__concept-grid figure:hover,
.product-card__concept-grid figure:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(27, 18, 8, 0.18);
}

/* removed Explore overlay */

.product-card__concept-grid figcaption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.concept-note {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.72);
}

.product-card__cta {
  display: flex;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.6rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text-dark);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 14px 40px rgba(27, 18, 8, 0.18);
}

.button:hover,
.button:focus {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(27, 18, 8, 0.24);
}

.button--dark {
  background: #0f0f0f;
  color: #fdfdfd;
  box-shadow: 0 12px 24px rgba(15, 15, 15, 0.28);
}

.button--dark:hover,
.button--dark:focus {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px rgba(15, 15, 15, 0.36);
}

.button--accent {
  background: var(--accent);
  color: #fff;
}

.button--accent:hover,
.button--accent:focus {
  box-shadow: 0 24px 50px rgba(195, 38, 38, 0.4);
}

.field__options {
  display: grid;
  gap: 0.6rem;
}

.field__options--checkbox label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: none;
  color: rgba(0, 0, 0, 0.75);
}

.field__options--checkbox input {
  width: auto;
  accent-color: var(--accent);
}

.job-detail {
  background: var(--background);
  color: var(--text-dark);
  font-family: "Acme", "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
}

.job-detail__masthead {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
  text-align: left;
}

.job-detail__back {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.job-detail__masthead h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.job-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.65);
}

.job-detail__content {
  max-width: 880px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem 4rem;
  display: grid;
  gap: 3rem;
}

.job-detail__content section h2 {
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.job-detail__content p,
.job-detail__content li {
  font-size: 1.05rem;
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.8;
}

.job-detail__content ul {
  list-style: disc;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.job-detail__cta {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
}

.apply-page {
  background: var(--background);
  color: var(--text-dark);
  font-family: "Acme", "Helvetica Neue", Arial, sans-serif;
}

.apply {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  display: grid;
  gap: 3rem;
}

.apply__intro {
  text-align: left;
  display: grid;
  gap: 1rem;
}

.apply__back {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apply__intro h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--accent);
}

.apply__time {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.55);
}

.apply__note {
  font-size: 1.05rem;
  color: rgba(0, 0, 0, 0.65);
}

.apply__form {
  display: grid;
  gap: 2.5rem;
}

.apply__section {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.85);
  display: grid;
  gap: 1.75rem;
}

.apply__section legend {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  padding: 0 0.5rem;
}

.field {
  display: grid;
  gap: 0.65rem;
  text-align: left;
}

.field label {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.75);
}

.field input[type="text"],
.field input[type="email"],
.field input[type="url"],
.field input[type="file"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-family: inherit;
  color: rgba(0, 0, 0, 0.8);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(195, 38, 38, 0.2);
}

.field__hint {
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.55);
}

.field__group {
  display: grid;
  gap: 0.75rem;
}

.field--stack label {
  margin-bottom: 0.25rem;
}

.field--checkbox {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.field--checkbox input {
  width: auto;
  accent-color: var(--accent);
}

.conditional[hidden] {
  display: none;
}

.apply__hint {
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.55);
}

.apply__voluntary {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.75);
  padding: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

.apply__voluntary h2 {
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.waitlist {
  gap: 2.5rem;
}

.waitlist__intro h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}

.waitlist__extras {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.75);
  padding: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

.waitlist__extras h2 {
  font-size: 1.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.waitlist__extras ul {
  list-style: disc;
  padding-left: 1.4rem;
  display: grid;
  gap: 0.85rem;
  font-size: 1.05rem;
  color: rgba(0, 0, 0, 0.7);
}

.apply__dialog {
  border: none;
  border-radius: 24px;
  padding: 0;
  max-width: 420px;
}

.apply__dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.apply__dialog-content {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

.apply__submit {
  justify-self: center;
}

.preview-dialog {
  width: min(960px, 96vw);
  border: none;
  border-radius: 16px;
  padding: 0;
}

.preview-dialog__header,
.preview-dialog__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.preview-dialog__footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: none;
}

.preview-dialog__body {
  padding: 0;
  background: #000000;
}

.viewer-mount {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #0b0b0b;
  position: relative;
}

.preview-status {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.75rem;
  padding: 0.75rem 1rem 1rem;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(19, 19, 27, 0.85), rgba(12, 12, 16, 0.9));
}

.spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.status-logs {
  max-height: 120px;
  overflow: auto;
  margin: 0.25rem 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.icon-button {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: inherit;
}

.button--subtle {
  background: #262626;
  color: #ffffff;
}

.button--ghost {
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
}

@media (max-width: 600px) {
  .main-nav {
    gap: 1.5rem;
    font-size: 1rem;
    padding: 1.5rem;
  }

  .section {
    padding: 4rem 1rem;
  }

  .product-card {
    padding: 2.5rem 1.75rem;
    border-radius: 28px;
  }

  .product-card__concept-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .apply {
    padding: 3rem 1rem 4rem;
  }

  .apply__section {
    padding: 1.75rem 1.25rem;
  }

  .field--checkbox {
    align-items: flex-start;
  }

  .waitlist__extras {
    padding: 2rem;
  }

  .viewer-mount {
    aspect-ratio: 3 / 2;
  }
}


/* Temporarily hide Genie app card */
article.product-card[aria-labelledby="genie-card"] {
  display: none;
}

/* Temporarily hide Character Roster section */
.product-card__concepts {
  display: none !important;
}

