/* ==========================================================================
   Dash Studios Interactive — brand layer
   Loaded after the shared stylesheet. It re-tunes the existing swatch system
   to a glossy purple family (same theme slots, same per-section colour shifts)
   and adds the "Interactive" logo lockup. No layout rules live here.
   ========================================================================== */

:root {
  /* Neutrals */
  --swatch--light-base: #f8f4ff;
  --swatch--light-card: #ffffff;
  --swatch--dark-base: #160a29;
  --swatch--dark-card: #0e061c;

  /* Violet — primary accent ("Our Games" theme) */
  --swatch--green: #7c3aed;
  --swatch--green-base: #ebe2ff;
  --swatch--green-light: #c6b0ff;
  --swatch--green-dark: #2a0f5c;

  /* Amethyst ("Our Process" theme) */
  --swatch--gold: #a855f7;
  --swatch--gold-base: #f3e6ff;
  --swatch--gold-light: #dcb8ff;
  --swatch--gold-dark: #451070;

  /* Indigo ("About" theme) */
  --swatch--fuchsia: #6457f5;
  --swatch--fuchsia-base: #e6e4ff;
  --swatch--fuchsia-light: #b7b2ff;
  --swatch--fuchsia-dark: #1f1960;

  /* Orchid */
  --swatch--coral: #d65cf0;
  --swatch--coral-base: #fae4ff;
  --swatch--coral-light: #efb6fb;
  --swatch--coral-dark: #651478;

  /* Iris */
  --swatch--teal: #4c3fd6;
  --swatch--teal-base: #e2e3ff;
  --swatch--teal-light: #abb0ff;
  --swatch--teal-dark: #1c1a5a;

  --dsi-glow: 124, 58, 237;
}

/* --------------------------------------------------------------------------
   Section rhythm — tighter vertical spacing site-wide
   -------------------------------------------------------------------------- */
:root {
  --_spacing---section-space--small: clamp(2rem, 3.5vw, 3.5rem);
  --_spacing---section-space--main: clamp(2.75rem, 5vw, 6rem);
  --_spacing---section-space--large: clamp(4rem, 7.5vw, 8.5rem);
  --_spacing---section-space--page-top: clamp(7rem, 9.5vw, 10.5rem);
}

/* Where one section ends on a spacer and the next opens with one, keep only the first */
.u-section:has(> .u-section-spacer:last-child) + .u-section > .u-section-spacer:first-child,
.u-section:has(> .u-section-spacer:last-child) + .u-section > .u-embed-css:first-child + .u-section-spacer {
  display: none;
}

/* Home: the runner already leaves clear space beneath it, so the intro
   section drops its own top spacer and tucks up under the hero */
.hero_home_wrap + .how_wrap > .u-section-spacer:first-child {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero_home_wrap + .how_wrap {
    position: relative;
    margin-top: -10vh;
  }
}

/* No spacer in front of an empty grid */
.u-section-spacer:has(+ .how_layout:empty) {
  display: none;
}

/* --------------------------------------------------------------------------
   Flat colour only — no gradients anywhere on the site.
   The :root prefix outranks the per-page embeds that defined the originals.
   -------------------------------------------------------------------------- */
:root [data-gradient-bg] {
  background: var(--swatch--green);
  background-image: none;
  animation: none;
}

:root .u-heading-accent strong,
:root .u-heading-accent b {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  color: var(--swatch--green);
  animation: none;
}

/* The CTA sits on purple now, so its label reads light */
.nav_links_link.is-cta,
.nav_links_link.is-cta.u-theme-light {
  --_theme---text: var(--swatch--light-card);
  color: var(--swatch--light-card);
}

/* Main buttons: soft violet lift */
.button_main_base.u-cover-absolute {
  box-shadow: 0 0.75rem 1.75rem -0.75rem rgba(var(--dsi-glow), 0.55);
}

.tooltip {
  color: var(--swatch--light-card);
  border-color: var(--swatch--green-dark);
}

/* --------------------------------------------------------------------------
   Home hero — the artwork resolves into the Dash runner
   -------------------------------------------------------------------------- */
@media (min-width: 62em) and (prefers-reduced-motion: no-preference) {
  .hero_home_visual_wrap {
    filter: drop-shadow(0 1.5rem 2.25rem rgba(var(--dsi-glow), 0.38));
  }
}

/* --------------------------------------------------------------------------
   Logo lockup — "INTERACTIVE" set beneath the Dash Studios mark,
   spaced to the width of the logo frame
   -------------------------------------------------------------------------- */
.dsi_logo {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.dsi_logo_tag {
  display: flex;
  justify-content: space-between;
  align-self: flex-start;
  width: 68.4%;
  margin-left: 16.7%;
  margin-top: 3.2cqw;
  font-family: var(--_typography---font--primary-family);
  font-size: 7.6cqw;
  font-weight: 500;
  font-style: normal;
  line-height: 1;
  text-transform: uppercase;
  color: currentColor;
  -webkit-user-select: none;
  user-select: none;
}

.dsi_logo_tag i {
  font-style: inherit;
  display: block;
}

.dsi_logo_tag::before,
.dsi_logo_tag::after {
  content: none !important;
}

/* The mark is black artwork; flip it wherever the nav sits on a dark theme */
.nav_component.u-theme-dark [data-nav-logo] img {
  filter: invert(1);
}

.transition_logo .dsi_logo_tag {
  color: #ffffff;
}

/* ==========================================================================
   Careers — job cards, role page and application form.
   Built from the site's own parts: shaped chips, pill buttons, bordered
   cards, theme tokens.
   ========================================================================== */
.dsi_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  align-items: stretch;
}

.dsi_chip {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.1rem;
  background-color: color-mix(in srgb, currentColor 10%, transparent);
  font-family: var(--_typography---font--primary-family);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.dsi_chip.is-hex {
  padding-inline: 1.35rem;
  clip-path: polygon(0.75rem 0%, calc(100% - 0.75rem) 0%, 100% 50%, calc(100% - 0.75rem) 100%, 0.75rem 100%, 0% 50%);
}

.dsi_chip.is-notch {
  clip-path: polygon(0% 0.4375rem, 0.4375rem 0.4375rem, 0.4375rem 0%, calc(100% - 0.4375rem) 0%, calc(100% - 0.4375rem) 0.4375rem, 100% 0.4375rem, 100% calc(100% - 0.4375rem), calc(100% - 0.4375rem) calc(100% - 0.4375rem), calc(100% - 0.4375rem) 100%, 0.4375rem 100%, 0.4375rem calc(100% - 0.4375rem), 0% calc(100% - 0.4375rem));
}

.dsi_chip.is-round { border-radius: 0.25rem; }

.dsi_chip.is-pill {
  border-radius: 100vw;
  background-color: transparent;
  box-shadow: inset 0 0 0 0.0625rem color-mix(in srgb, currentColor 25%, transparent);
}

.dsi_chip.is-solid {
  background-color: var(--_theme---text);
  color: var(--_theme---background);
}

a.dsi_chip { color: inherit; text-decoration: none; transition: background-color 0.2s ease; }
a.dsi_chip:hover { background-color: color-mix(in srgb, currentColor 18%, transparent); }

/* ---- roles list ---- */
.jobs_list {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  max-width: 60rem;
  margin-inline: auto;
  text-align: left;
}

.job_card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3.4vw, 2.75rem);
  border: var(--border-width--large, 0.25rem) solid var(--_theme---background-2);
  border-radius: var(--radius--large, 1.5rem);
  background-color: var(--swatch--light-card);
  color: var(--swatch--dark-base);
  text-decoration: none;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), border-color 0.3s ease;
}

.job_card:hover { transform: translateY(-0.375rem); border-color: var(--_theme---heading-accent); }

.job_card_title {
  font-family: var(--_typography---font--secondary-family);
  font-weight: 700;
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 16ch;
  margin: 0;
}

.job_card_title::before, .job_card_title::after,
.job_card_text::before, .job_card_text::after { content: none !important; }

.job_card_text { max-width: 46ch; margin: 0; font-size: 1.125rem; line-height: 1.4; color: color-mix(in srgb, currentColor 70%, transparent); }

.job_card_foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 0.0625rem solid color-mix(in srgb, currentColor 14%, transparent);
}

.job_meta { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin: 0; }
.job_meta div { display: flex; flex-direction: column; gap: 0.3rem; }
.job_meta dt { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: color-mix(in srgb, currentColor 55%, transparent); }
.job_meta dd { margin: 0; font-weight: 500; }

.job_card_cta { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; font-weight: 500; text-transform: uppercase; }

.job_card_arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  aspect-ratio: 1;
  color: #fff;
  clip-path: polygon(50% 0%, 85% 15%, 100% 50%, 85% 85%, 50% 100%, 15% 85%, 0% 50%, 15% 15%);
  transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.job_card_arrow svg { width: 40%; }
.job_card:hover .job_card_arrow { transform: rotate(180deg); }

/* ---- role page ---- */
.job_hero_layout { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2rem; }

.job_hero_title {
  font-family: var(--_typography---font--secondary-family);
  font-weight: 700;
  font-size: clamp(2.5rem, 7.2vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 14ch;
  margin: 0;
  text-wrap: balance;
}

.job_hero_title::before, .job_hero_title::after { content: none !important; }

.job_facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  margin: 0;
  text-align: left;
}

.job_fact {
  padding: 1.5rem;
  border: var(--border-width--large, 0.25rem) solid var(--_theme---background-2);
  border-radius: var(--radius--main, 1rem);
  background-color: var(--swatch--light-card);
  color: var(--swatch--dark-base);
}

.job_fact dt { margin-bottom: 0.75rem; font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; color: color-mix(in srgb, currentColor 55%, transparent); }
.job_fact dd { margin: 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; }

@container (width < 62em) { .job_facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (width < 30em) { .job_facts { grid-template-columns: 1fr; } }

.job_side { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }
.job_side_nav { display: flex; flex-direction: column; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.job_side_nav a { display: inline-block; padding: 0.3rem 0; color: color-mix(in srgb, currentColor 60%, transparent); text-decoration: none !important; font-weight: 500; transition: color 0.2s ease, transform 0.4s cubic-bezier(0.19, 1, 0.22, 1); }
.job_side_nav a:hover { color: var(--_theme---heading-accent); transform: translateX(0.375rem); }

.job_rich { max-width: 58ch; }
.job_rich > :first-child { margin-top: 0; }
.job_rich h2 { margin: 3.5rem 0 1.5rem; font-family: var(--_typography---font--secondary-family); font-weight: 700; font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1; letter-spacing: -0.02em; scroll-margin-top: 8rem; }
.job_rich h3 { margin: 2.25rem 0 1rem; font-size: 0.875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; color: var(--_theme---heading-accent); }
.job_rich h2::before, .job_rich h2::after, .job_rich h3::before, .job_rich h3::after,
.job_rich p::before, .job_rich p::after { content: none !important; }
.job_rich p { margin: 0 0 1.25rem; line-height: 1.5; color: color-mix(in srgb, currentColor 78%, transparent); }
.job_rich p.is-lead { font-size: 1.25rem; line-height: 1.4; color: inherit; }
.job_rich ul { display: flex; flex-direction: column; gap: 0.8rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.job_rich li { position: relative; padding-left: 1.6rem; line-height: 1.45; color: color-mix(in srgb, currentColor 78%, transparent); }
.job_rich li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 0.6rem; aspect-ratio: 1; background: var(--_theme---heading-accent); clip-path: polygon(50% 0%, 85% 15%, 100% 50%, 85% 85%, 50% 100%, 15% 85%, 0% 50%, 15% 15%); }
.job_rich li strong, .job_rich p strong { color: var(--_theme---text); font-weight: 700; }
.job_rich a { color: var(--_theme---heading-accent); }

.job_steps { display: grid; gap: 1rem; margin: 0 0 1.25rem; padding: 0; list-style: none; counter-reset: step; }
.job_steps li { padding: 1.25rem 1.25rem 1.25rem 4.25rem; border-radius: var(--radius--main, 1rem); background-color: color-mix(in srgb, currentColor 6%, transparent); counter-increment: step; }
.job_steps li::before { content: counter(step); top: 50%; left: 1.1rem; width: 2.25rem; display: flex; align-items: center; justify-content: center; transform: translateY(-50%); color: #fff; font-weight: 700; font-size: 0.9rem; }
.job_steps li strong { display: block; margin-bottom: 0.25rem; }

/* ---- application form ---- */
.apply_card {
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: var(--border-width--large, 0.25rem) solid var(--_theme---background-2);
  border-radius: var(--radius--large, 1.5rem);
  background-color: var(--swatch--light-card);
  color: var(--swatch--dark-base);
  text-align: left;
  --_theme---text: var(--swatch--dark-base);
  --_theme---border: var(--swatch--dark-base-o20);
}

.apply_form { display: flex; flex-direction: column; gap: 2.5rem; margin: 0; }
.apply_group { display: flex; flex-direction: column; gap: 1.25rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.apply_legend { display: flex; align-items: center; gap: 0.75rem; padding: 0; margin-bottom: 1rem; font-family: var(--_typography---font--secondary-family); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.apply_legend span { display: flex; align-items: center; justify-content: center; width: 2rem; aspect-ratio: 1; font-family: var(--_typography---font--primary-family); font-size: 0.8rem; color: #fff; clip-path: polygon(50% 0%, 85% 15%, 100% 50%, 85% 85%, 50% 100%, 15% 85%, 0% 50%, 15% 15%); }
.apply_row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@container (width < 40em) { .apply_row { grid-template-columns: 1fr; } }

.apply_field { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.apply_label { font-size: 0.8125rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; }
.apply_label em { font-style: normal; color: var(--swatch--green); }
.apply_hint { font-size: 0.875rem; line-height: 1.35; color: color-mix(in srgb, currentColor 60%, transparent); }

.apply_card .form_field {
  width: 100%;
  margin: 0;
  border: 0.0625rem solid color-mix(in srgb, var(--swatch--dark-base) 18%, transparent);
  border-radius: 0.75rem;
  background-color: var(--swatch--light-base);
  color: var(--swatch--dark-base);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.apply_card .form_field.is-textarea { min-height: 8rem; padding-top: 0.8rem; resize: vertical; }
.apply_card .form_field:focus { outline: none; border-color: var(--swatch--green); box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--swatch--green) 22%, transparent); }

.apply_file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 0.125rem dashed color-mix(in srgb, var(--swatch--green) 45%, transparent);
  border-radius: 0.75rem;
  background-color: var(--swatch--green-base);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.apply_file:hover, .apply_file:focus-within, .apply_file.is-over { border-color: var(--swatch--green); background-color: color-mix(in srgb, var(--swatch--green-light) 55%, #fff); }
.apply_file.has-file { border-style: solid; }
.apply_file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.apply_file_icon { flex: none; display: flex; align-items: center; justify-content: center; width: 2.75rem; aspect-ratio: 1; color: #fff; clip-path: polygon(50% 0%, 85% 15%, 100% 50%, 85% 85%, 50% 100%, 15% 85%, 0% 50%, 15% 15%); }
.apply_file_icon svg { width: 42%; }
.apply_file_text { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.apply_file_name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.apply_check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9375rem; line-height: 1.4; }
.apply_check input { flex: none; width: 1.15rem; height: 1.15rem; margin: 0.15rem 0 0; accent-color: var(--swatch--green); }
.apply_check a { color: var(--swatch--green); }

.apply_error { display: none; padding: 0.9rem 1.1rem; border-radius: 0.75rem; background-color: #ffe9ef; color: #8a1238; font-weight: 500; }
.apply_error.is-visible { display: block; }
.apply_foot { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; }
.apply_form .button_main_wrap { align-self: flex-start; }
.apply_form.is-sending { opacity: 0.6; pointer-events: none; }
.apply_trap { position: absolute !important; left: -200vw; width: 1px; height: 1px; opacity: 0; }

.apply_done { display: none; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; padding: 1.5rem 0; }
.apply_done_mark { display: flex; align-items: center; justify-content: center; width: 5rem; aspect-ratio: 1; color: #fff; clip-path: polygon(50% 0%, 85% 15%, 100% 50%, 85% 85%, 50% 100%, 15% 85%, 0% 50%, 15% 15%); }
.apply_done_mark svg { width: 44%; }
.apply_done h3 { margin: 0; font-family: var(--_typography---font--secondary-family); font-weight: 700; font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1; letter-spacing: -0.02em; }
.apply_done h3::before, .apply_done h3::after, .apply_done p::before, .apply_done p::after { content: none !important; }
.apply_done p { margin: 0; max-width: 38ch; color: color-mix(in srgb, currentColor 70%, transparent); }
.apply_card.is-done .apply_form { display: none; }
.apply_card.is-done .apply_done { display: flex; }

/* --------------------------------------------------------------------------
   Inline title pictures (About, Careers, Our Process heroes) take the same
   treatment as the floating portrait cards: rounded, tilted, soft shadow
   -------------------------------------------------------------------------- */
.hero_gamer_title_visual,
.hero_studio_title_visual {
  rotate: 7deg;
}

.hero_gamer_title_visual > .c-image-wrap,
.hero_studio_title_visual > .c-image-wrap {
  overflow: hidden;
  border-radius: 22%;
  box-shadow:
    rgb(from var(--_theme---shadow) r g b / 0.04) 0 0.25em 0.5em 0,
    rgb(from var(--_theme---shadow) r g b / 0.06) 0 0.5em 0.75em 0,
    rgb(from var(--_theme---shadow) r g b / 0.08) 0 1em 1.5em 0;
}

.hero_gamer_title_visual .c-image,
.hero_studio_title_visual .c-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Fixed header vs. page content
   -------------------------------------------------------------------------- */
/* Menu chips: near-solid frosted backing so text scrolling underneath
   doesn't show through and tangle with the labels */
.nav_links_link:not(.is-cta):where(.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6) {
  background-color: color-mix(in srgb, color-mix(in srgb, currentColor 10%, var(--_theme---background)) 94%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

/* Sticky side headings (role page, Terms, Privacy) park below the logo
   instead of sliding underneath it */
.legal_header.u-column-6 {
  top: calc(var(--site--margin) + clamp(7.5rem, 9.5vw, 10rem));
}

/* Scrolled state (class set by js/dash-nav.js): solid bar + compact logo */
.nav_component.is-scrolled {
  background-color: var(--_theme---background);
  box-shadow: 0 0.0625rem 0 var(--_theme---border);
}

.nav_desktop_logo,
.nav_mobile_logo {
  transition: width 0.3s ease;
}

.nav_component.is-scrolled .nav_desktop_logo,
.nav_component.is-scrolled .nav_mobile_logo {
  width: 7rem;
}

.nav_desktop_wrap,
.nav_mobile_wrap {
  transition: margin 0.3s ease, padding 0.3s ease;
}

.nav_component.is-scrolled .nav_desktop_wrap,
.nav_component.is-scrolled .nav_mobile_wrap {
  margin-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.nav_component.is-scrolled .nav_desktop_layout,
.nav_component.is-scrolled .nav_mobile_layout {
  align-items: center;
}

/* Sticky side columns sit below the compact bar */
.nav_component.is-scrolled ~ .page_main .legal_header.u-column-6,
.legal_header.u-column-6 {
  top: 7.5rem;
}

/* "Ecosystem support." — the second word was a gradient clipped to the
   letters; with gradients gone it is plain accent-coloured text */
:root .stagger_title_span.is-2[data-gradient-bg] {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  color: var(--swatch--green);
  box-shadow: none;
}

/* Footer: sized by its content instead of filling a whole screen */
:root .footer_contain.u-min-height-screen {
  min-height: 0;
  padding-top: var(--_spacing---section-space--main);
}

/* Mobile menu: the links start below the logo instead of running into it,
   (the tighter section spacing had pulled them up under it) */
:root .nav_menu { padding-top: clamp(5.5rem, 22vw, 7.5rem); }

/* Closing runner shape on tall (phone) screens: size it to the screen width so
   the whole figure, head included, stays in view. Matches the portrait test in
   the page script (width < 0.9 x height). */
@media (max-aspect-ratio: 9/10) {
  .cta_background { width: 100%; height: auto; }
}

/* Small screens: headings and paragraphs capped with a "ch" width sit inside
   centred columns, where that cap could be wider than the phone itself and the
   text ran off both edges. They now never exceed the space they are in. */
.c-heading[class*="u-max-width-"], .c-text[class*="u-max-width-"] { width: 100%; }
.job_hero_title { max-width: min(14ch, 100%); overflow-wrap: break-word; }
.job_card_title { max-width: min(16ch, 100%); overflow-wrap: break-word; }
/* The accent (purple) part of a heading may wrap like any other text; the
   accent animation pins it to one unbreakable line, which ran off narrow screens. */
.u-heading-accent strong,
.u-heading-accent span:has(> strong) { max-width: 100%; white-space: normal !important; }
.u-heading-accent span:has(> strong) > span { width: 100%; white-space: normal !important; }
.nh_step p a, .job_rich a { overflow-wrap: anywhere; }
.legal_content, .job_rich { overflow-wrap: break-word; }
.nh_hero_title { max-width: 100%; font-size: min(var(--_typography---font-size--display), 13.5vw); }

/* ==========================================================================
   NOUNS HUNT — game page (our-games.html) and the Games submenu
   Flat colour only. --nh-plum / --nh-stage are the game's own backdrop
   colours, taken from its store screenshots and host screen.
   ========================================================================== */
:root {
  --nh-plum: #240436;
  --nh-stage: #3a1547;
}

/* ---- Games submenu (header chips + mobile menu) ---- */
.nav_links_item.has-sub { position: relative; }

.nav_sub { margin: 0; padding: 0; list-style: none; }
.nav_links_wrap.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6 .nav_sub > li { height: var(--nav-chip-h, 3.0625rem); }

.nav_sub_link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
  font-family: var(--_typography---font--primary-family);
  font-size: var(--_typography---font-size--h5);
  font-weight: var(--_typography---font--primary-medium);
  letter-spacing: var(--_typography---letter-spacing--tight);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* desktop: a chip that drops out from under "Our Games" */
.nav_links_wrap.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6 .has-sub > .nav_links_link::after {
  content: "";
  flex: none;
  width: 0.4rem;
  aspect-ratio: 1;
  margin-left: -0.35rem;
  border-right: 0.125rem solid currentColor;
  border-bottom: 0.125rem solid currentColor;
  transform: translateY(-25%) rotate(45deg);
  transition: transform 0.3s ease;
}

.nav_links_wrap.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6 .has-sub:hover > .nav_links_link::after,
.nav_links_wrap.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6 .has-sub:focus-within > .nav_links_link::after {
  transform: translateY(15%) rotate(225deg);
}

.nav_links_wrap.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6 .nav_sub {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 5;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.375rem);
  transition: opacity 0.2s ease, transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), visibility 0s linear 0.2s;
}

.nav_links_wrap.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6 .has-sub:hover .nav_sub,
.nav_links_wrap.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6 .has-sub:focus-within .nav_sub {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.nav_links_wrap.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6 .nav_sub_link {
  justify-content: center;
  height: 100%;
  padding: 0 1rem;
  background-color: color-mix(in srgb, color-mix(in srgb, currentColor 10%, var(--_theme---background)) 94%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  clip-path: polygon(0.75rem 0%, calc(100% - 0.75rem) 0%, 100% 50%, calc(100% - 0.75rem) 100%, 0.75rem 100%, 0% 50%);
}

.nav_links_wrap.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6 .nav_sub_link:hover,
.nav_links_wrap.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6 .nav_sub_link:focus-visible {
  background-color: var(--_theme---text);
  color: var(--_theme---background);
}

/* mobile menu: "Our Games" gets a toggle; tapping it opens the list of games */
.nav_sub_toggle { display: none; }

.nav_links_wrap:not(.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6) .has-sub {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  align-items: center;
  column-gap: 1rem;
}

.nav_links_wrap:not(.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6) .has-sub > .nav_links_link { flex: none; width: auto; }

.nav_links_wrap:not(.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6) .nav_sub_toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  color: inherit;
  cursor: pointer;
  pointer-events: auto;
  background-color: color-mix(in srgb, currentColor 10%, transparent);
  clip-path: polygon(50% 0%, 85% 15%, 100% 50%, 85% 85%, 50% 100%, 15% 85%, 0% 50%, 15% 15%);
}

.nav_links_wrap:not(.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6) .nav_sub_toggle::before {
  content: "";
  width: 0.55rem;
  aspect-ratio: 1;
  border-right: 0.15rem solid currentColor;
  border-bottom: 0.15rem solid currentColor;
  transform: translateY(-20%) rotate(45deg);
  transition: transform 0.3s ease;
}

.nav_links_wrap:not(.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6) .has-sub.is-open .nav_sub_toggle::before { transform: translateY(15%) rotate(225deg); }

.nav_links_wrap:not(.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6) .nav_sub {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-height: 0;
  margin-left: 0.25rem;
  padding-left: 1.25rem;
  overflow: hidden;
  border-left: 0.125rem solid color-mix(in srgb, currentColor 20%, transparent);
  transition: max-height 0.5s cubic-bezier(0.19, 1, 0.22, 1), margin 0.3s ease;
}

.nav_links_wrap:not(.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6) .has-sub.is-open .nav_sub,
.nav_links_wrap:not(.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6) .has-sub:not(.has-toggle) .nav_sub { max-height: 30rem; margin-block: 0.75rem 1rem; }

.nav_links_wrap:not(.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6) .nav_sub_link {
  padding: 0.4rem 0;
  font-family: var(--_typography---font--secondary-family);
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: color-mix(in srgb, currentColor 70%, transparent);
}

.nav_links_wrap:not(.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6) .nav_sub_link:hover, .nav_links_wrap:not(.w-variant-23049969-09ac-2789-520b-3c6ae895bbc6) .nav_sub_link:focus-visible { color: var(--swatch--green); }

/* ---- hero: static title, pictures change behind it ---- */
.nh_hero { overflow: hidden; }
.nh_hero .hero_about_contain { text-align: center; }

.nh_hero_title {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.1em;
  padding: 0 0.4em;
}

.nh_hero_h1 {
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  line-height: 1;
  white-space: nowrap;
}

.nh_hero_h1::before, .nh_hero_h1::after { content: none !important; }

.nh_hero_ring {
  position: absolute;
  inset: 0;
  border: 0.25rem solid var(--swatch--green);
  border-radius: var(--radius--round, 100vw);
  pointer-events: none;
}

.nh_hero_tag { margin-top: 2rem; }
.nh_hero .dsi_chips { justify-content: center; margin-top: 1.75rem; }

.nh_hero_images > .c-image-wrap { opacity: 0; will-change: opacity, transform; }
.nh_hero_images > .c-image-wrap:first-child { opacity: 1; }
.nh_hero_images .c-image { width: 100%; height: 100%; object-fit: cover; }

.nh_hero_dots {
  position: absolute;
  left: 50%;
  bottom: clamp(1.5rem, 4vw, 3rem);
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  transform: translateX(-50%);
}

.nh_hero_dot {
  width: 2rem;
  height: 0.25rem;
  background-color: color-mix(in srgb, currentColor 30%, transparent);
  transition: background-color 0.4s ease, width 0.4s ease;
}

.nh_hero_dot.is-active { width: 3.5rem; background-color: var(--swatch--green); }

/* ---- shared pieces ---- */
.nh_head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.nh_head .product_header { margin-bottom: 2rem; }

.nh_phone {
  padding: clamp(0.75rem, 1.6vw, 1.5rem);
  border-radius: var(--radius--large, 2rem);
  background-color: var(--nh-plum);
  overflow: hidden;
  box-shadow:
    rgb(from var(--_theme---shadow) r g b / 0.04) 0 0.25rem 0.5rem 0,
    rgb(from var(--_theme---shadow) r g b / 0.06) 0 0.5rem 0.75rem 0,
    rgb(from var(--_theme---shadow) r g b / 0.08) 0 1rem 1.5rem 0;
}

.nh_phone img { display: block; width: 100%; height: auto; }

.nh_store { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ---- intro ---- */
.nh_split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.nh_split_text { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }
.nh_split_text .product_header { margin: 0; }

.nh_intro_visual { position: relative; width: min(100%, 23rem); margin-inline: auto; }
.nh_intro_visual .nh_phone { rotate: 5deg; }

.nh_icon {
  position: absolute;
  left: -14%;
  bottom: 9%;
  width: 34%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 22%;
  rotate: -9deg;
  box-shadow:
    rgb(from var(--_theme---shadow) r g b / 0.06) 0 0.5rem 0.75rem 0,
    rgb(from var(--_theme---shadow) r g b / 0.12) 0 1rem 1.5rem 0;
}

.nh_icon img { display: block; width: 100%; height: 100%; object-fit: cover; }

.nh_facts { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ---- how a round works ---- */
.nh_round {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  text-align: left;
}

.nh_duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.75rem, 1.5vw, 1.25rem); padding-block: 2rem; }
.nh_duo .nh_phone:first-child { rotate: -3deg; translate: 0 -1.5rem; }
.nh_duo .nh_phone:last-child { rotate: 3deg; translate: 0 1.5rem; }

.nh_steps { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; counter-reset: nh; }

.nh_step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  border-radius: var(--radius--main, 1.5rem);
  background-color: color-mix(in srgb, currentColor 7%, transparent);
  counter-increment: nh;
}

.nh_step_num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  aspect-ratio: 1;
  background-color: var(--_theme---text);
  color: var(--_theme---background);
  font-weight: 700;
  clip-path: polygon(50% 0%, 85% 15%, 100% 50%, 85% 85%, 50% 100%, 15% 85%, 0% 50%, 15% 15%);
}

.nh_step_num::before { content: counter(nh); }

.nh_step h3, .nh_card h3, .nh_score h3 {
  margin: 0 0 0.6rem;
  font-family: var(--_typography---font--secondary-family);
  font-weight: 700;
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.nh_step h3::before, .nh_step h3::after, .nh_card h3::before, .nh_card h3::after,
.nh_score h3::before, .nh_score h3::after, .nh_step p::before, .nh_step p::after,
.nh_card p::before, .nh_card p::after, .nh_score p::before, .nh_score p::after { content: none !important; }

.nh_step p, .nh_card p, .nh_score p { margin: 0; line-height: 1.45; color: color-mix(in srgb, currentColor 72%, transparent); }

.nh_scores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); text-align: left; }

.nh_score {
  padding: 1.5rem;
  border: var(--border-width--large, 0.25rem) solid var(--_theme---background-2);
  border-radius: var(--radius--main, 1.5rem);
  background-color: var(--swatch--light-card);
  color: var(--swatch--dark-base);
}

.nh_score_pts {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--_typography---font--secondary-family);
  font-weight: 700;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--swatch--green);
}

/* ---- feature cards ---- */
.nh_cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; text-align: left; }

.nh_card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.25rem, 1.8vw, 1.75rem);
  border: var(--border-width--large, 0.25rem) solid var(--_theme---background-2);
  border-radius: var(--radius--large, 2rem);
  background-color: var(--swatch--light-card);
  color: var(--swatch--dark-base);
  transition: translate 0.6s cubic-bezier(0.19, 1, 0.22, 1), border-color 0.3s ease;
}

.nh_card:hover { translate: 0 -0.375rem; border-color: var(--_theme---heading-accent); }
.nh_card_body { display: flex; flex-direction: column; gap: 1rem; padding: 0.25rem 0.25rem 0; }
.nh_card_body h3 { margin: 0; }

.nh_card_shot {
  position: relative;
  margin-top: auto;
  aspect-ratio: 1 / 1.02;
  overflow: hidden;
  border-radius: var(--radius--main, 1.5rem);
  background-color: var(--nh-plum);
}

.nh_card_shot img {
  position: absolute;
  top: 9%;
  left: 13%;
  display: block;
  width: 74%;
  height: auto;
  transition: transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.nh_card:hover .nh_card_shot img { transform: translateY(-14%); }

/* ---- host mode ---- */
.nh_host_actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: center; margin-top: 2.5rem; }

.nh_tv { width: 100%; max-width: 70rem; margin-inline: auto; }

.nh_tv_frame {
  padding: clamp(0.4rem, 1vw, 0.875rem);
  border-radius: clamp(1rem, 2.4vw, 2rem);
  background-color: var(--swatch--dark-card);
  box-shadow: 0 0 0 0.125rem var(--_theme---border);
}

.nh_tv_screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: clamp(0.6rem, 1.6vw, 1.25rem);
  background-color: var(--nh-stage);
}

.nh_tv_screen img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.nh_tv_screen img.is-active { opacity: 1; }

.nh_tv_neck { width: 12%; height: clamp(0.75rem, 2vw, 1.5rem); margin-inline: auto; background-color: var(--swatch--dark-card); box-shadow: 0 0 0 0.125rem var(--_theme---border); }
.nh_tv_foot { width: 34%; height: 0.5rem; margin-inline: auto; border-radius: 0.5rem; background-color: var(--swatch--dark-card); box-shadow: 0 0 0 0.125rem var(--_theme---border); }

.nh_tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.375rem; margin-top: 2rem; }

.nh_tab {
  border: 0;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nh_tab:hover { background-color: color-mix(in srgb, currentColor 18%, transparent); }
.nh_tab.is-active { background-color: var(--_theme---text); color: var(--_theme---background); }

.nh_tv_caption {
  max-width: 44ch;
  min-height: 3.2em;
  margin: 1.5rem auto 0;
  font-size: 1.125rem;
  line-height: 1.45;
  text-align: center;
  color: color-mix(in srgb, currentColor 78%, transparent);
}

.nh_tv_caption strong { color: var(--_theme---text); }

.nh_host_steps { grid-template-columns: repeat(3, minmax(0, 1fr)); text-align: left; }
.nh_host_steps .nh_step { grid-template-columns: minmax(0, 1fr); }

.nh_keys { display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; align-items: center; justify-content: center; margin: 0; padding: 0; list-style: none; }
.nh_key { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.9375rem; color: color-mix(in srgb, currentColor 75%, transparent); }

.nh_key kbd {
  min-width: 2.25rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.25rem;
  background-color: var(--_theme---text);
  color: var(--_theme---background);
  font-family: var(--_typography---font--primary-family);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.nh_note { max-width: 52ch; margin: 2rem auto 0; text-align: center; color: color-mix(in srgb, currentColor 65%, transparent); }

.nh_gap { height: clamp(2.5rem, 5vw, 4.5rem); }

.cta_content .dsi_chips { justify-content: center; margin-top: 1.5rem; }

@container (width < 62em) {
  .nh_split, .nh_round { grid-template-columns: minmax(0, 1fr); }
  .nh_split_text { align-items: center; text-align: center; }
  .nh_split_text .nh_store { justify-content: center; }
  .nh_intro_visual { width: min(78%, 21rem); }
  .nh_duo { max-width: 34rem; margin-inline: auto; }
  .nh_cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nh_host_steps { grid-template-columns: minmax(0, 1fr); }
  .nh_host_steps .nh_step { grid-template-columns: auto minmax(0, 1fr); }
}

@container (width < 40em) {
  .nh_cards, .nh_scores { grid-template-columns: minmax(0, 1fr); }
  .nh_card_shot { aspect-ratio: 1 / 0.9; }
  .nh_step { padding: 1.25rem; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .nh_card, .nh_card_shot img, .nh_tv_screen img { transition: none; }
}
