/* Kadabra Room v23 — Atheria, Studio, Bubbles, and Careers reels.
   Loaded last so the added public-facing programs can be polished without
   disturbing existing game, demo, phone, computer, or hover-stability rules. */

:root {
  --studio-gold: #c3a765;
  --studio-cream: #eee3c5;
  --studio-paper: #d8c498;
  --atheria-green: #8ea06c;
  --atheria-deep: #243124;
  --careers-red: #b94a40;
  --careers-deep: #3c1615;
}

/* ---------- conventional access routes ---------- */
.atheria-header-link {
  border-color: rgba(129, 160, 102, .58) !important;
  color: #bdd0a2 !important;
  background: linear-gradient(180deg, rgba(100, 132, 78, .15), rgba(0,0,0,.12)) !important;
}
.studio-header-link {
  border-color: rgba(197, 165, 96, .5) !important;
  color: #e1cf9c !important;
}
.careers-header-link {
  border-color: rgba(190, 69, 58, .68) !important;
  color: #f0b6aa !important;
  background: linear-gradient(180deg, rgba(164, 47, 41, .18), rgba(0,0,0,.12)) !important;
}
.atheria-header-link:hover,.atheria-header-link:focus-visible,
.studio-header-link:hover,.studio-header-link:focus-visible,
.careers-header-link:hover,.careers-header-link:focus-visible {
  color: #fff4d6 !important;
}

/* ---------- shelf expansion: 7 games + 4 studio reels ---------- */
.tape-stack {
  gap: 5px !important;
  padding-top: 7px !important;
  padding-bottom: 8px !important;
}
.tape-stack .vhs-tape {
  height: 55px !important;
}
.tape-stack .vhs-tape .tape-meta {
  margin: 6px 0 9px !important;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}
.tape-stack .vhs-tape .tape-window { bottom: 5px !important; height: 10px !important; }
.tape-stack .vhs-tape .tape-edge { bottom: 7px !important; }
.tape-stack .vhs-tape .tape-index,
.tape-stack .vhs-tape .tape-format { padding-bottom: 10px !important; }
.tape-stack .vhs-tape .tape-title { font-size: 8.25px !important; }
.tape-stack .vhs-tape .tape-code { font-size: 5.2px !important; }
.tape-stack .tape-demo-sticker,
.tape-stack .tape-service-sticker { top: 2px !important; transform: scale(.9) rotate(-2deg) !important; transform-origin: top left !important; }
.tape-stack .tape-service-sticker { transform: scale(.9) rotate(1.4deg) !important; transform-origin: top right !important; }

.tape-section-divider {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  min-height: 25px;
  margin: 3px 3px 1px;
  padding: 4px 8px;
  border: 1px solid rgba(174, 139, 73, .32);
  border-left: 4px solid rgba(174, 139, 73, .6);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 35%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 8px, rgba(0,0,0,.03) 8px 15px),
    #21160e;
  color: #d9c18c;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 2px 5px rgba(0,0,0,.36);
  pointer-events: none;
}
.tape-section-divider span { font: 900 7px/1 var(--ui); letter-spacing: .16em; }
.tape-section-divider small { color: #8f7b58; font: 800 4.8px/1 var(--mono); letter-spacing: .1em; }

.studio-reel-tape {
  box-shadow:
    inset 0 1px rgba(255,255,255,.1),
    inset 0 -2px 2px rgba(0,0,0,.72),
    0 7px 11px rgba(0,0,0,.5),
    0 0 0 1px rgba(184,156,94,.16) !important;
}
.studio-reel-sticker {
  position: absolute;
  z-index: 14;
  top: 2px;
  right: 30px;
  display: grid;
  justify-items: center;
  min-width: 48px;
  padding: 2px 4px;
  border: 1px solid rgba(37,31,19,.82);
  border-radius: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,.28), transparent 38%), #b4a365;
  color: #251d10;
  box-shadow: 0 2px 3px rgba(0,0,0,.48), inset 0 0 0 1px rgba(255,255,255,.18);
  transform: scale(.9) rotate(1.2deg);
  transform-origin: top right;
  pointer-events: none;
  font-family: var(--mono);
  text-transform: uppercase;
}
.studio-reel-sticker strong { font: 900 5.3px/1 var(--mono); letter-spacing: .08em; white-space: nowrap; }
.studio-reel-sticker small { margin-top: 1px; padding: 1px 3px; background: #332818; color: #f1dfad; font: 900 4px/1 var(--mono); letter-spacing: .07em; white-space: nowrap; }
.atheria-reel-tape .studio-reel-sticker { background-color: #92aa75; }
.studio-profile-tape .studio-reel-sticker { background-color: #d0b16b; }
.careers-reel-tape .studio-reel-sticker.is-hiring {
  left: 30px;
  right: auto;
  background-color: #b63830;
  color: #fff0c8;
  border-color: #53130e;
  transform: scale(.9) rotate(-1.8deg);
  transform-origin: top left;
}
.careers-reel-tape .studio-reel-sticker.is-hiring small { background: #efd172; color: #5a130e; }

/* ---------- shared studio-program language ---------- */
.studio-program-nav {
  position: sticky;
  top: 0;
  z-index: 8;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 12px;
  padding: 7px;
  border: 1px solid rgba(195,167,101,.34);
  background: rgba(3,7,5,.9);
  backdrop-filter: blur(7px);
  box-shadow: 0 4px 10px rgba(0,0,0,.36);
}
.studio-program-nav button {
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid rgba(195,167,101,.3);
  background: rgba(255,255,255,.025);
  color: #c7b98e;
  font: 900 7px/1 var(--ui);
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.studio-program-nav button:hover,
.studio-program-nav button:focus-visible,
.studio-program-nav button[aria-current="true"] {
  border-color: rgba(232,205,143,.76);
  color: #fff1c9;
  background: rgba(195,167,101,.12);
  outline: none;
}
.atheria-program,.studio-program,.careers-program { padding-bottom: 25px; }
.atheria-program h3,.studio-program h3,.careers-program h3 { margin: 0; color: #f0e4c4; font-family: var(--ui); }
.atheria-program p,.studio-program p,.careers-program p { line-height: 1.55; }
.atheria-program section,.studio-program section,.careers-program section { scroll-margin-top: 54px; }

/* ---------- Atheria ---------- */
.atheria-program { color: #d9e2cf; }
.atheria-program .program-topline,.atheria-heading .program-kicker { color: #9fbd82; }
.atheria-heading .program-title { color: #f0e6c6; text-shadow: 0 0 14px rgba(122,151,91,.18); }
.atheria-heading .program-tagline { color: #c8d3bc; }
.atheria-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(230px, 1.1fr);
  gap: 13px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid rgba(139,166,108,.38);
  background: linear-gradient(145deg, rgba(23,38,25,.94), rgba(8,15,10,.9));
}
.atheria-intro > div { padding: 9px; }
.atheria-intro span,.atheria-map-section header p,.atheria-search-section header p,.atheria-workflow > p {
  color: #a8c187;
  font: 900 7px/1 var(--mono);
  letter-spacing: .16em;
}
.atheria-intro h3 { margin: 6px 0 8px; font-size: clamp(16px, 2.3vw, 28px); line-height: 1.08; }
.atheria-intro img { width: 100%; height: 100%; min-height: 185px; object-fit: cover; border: 1px solid rgba(221,199,144,.42); filter: sepia(.15) contrast(1.02); }

.atheria-map-section,.atheria-search-section {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(139,166,108,.34);
  background: rgba(8,18,10,.82);
}
.atheria-map-section > header,.atheria-search-section > header,.studio-people > header,.studio-work > header,.career-openings > header,.career-week > header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 10px;
}
.atheria-map-section header h3,.atheria-search-section header h3 { margin-top: 4px; }
.atheria-map-section header span,.atheria-search-section header span { color: #87977b; font: 700 7px/1.3 var(--mono); text-align: right; }
.atheria-map-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(180px, .72fr); gap: 10px; }
.atheria-map {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  border: 1px solid rgba(216,194,142,.5);
  background: #8b7143;
  box-shadow: inset 0 0 30px rgba(42,29,15,.44);
}
.atheria-map > img { display: block; width: 100%; height: 100%; min-height: 290px; object-fit: cover; }
.atheria-map-marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%,-50%);
  cursor: pointer;
}
.atheria-map-marker i { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border: 2px solid #f0d692; border-radius: 50%; background: #40291a; box-shadow: 0 0 0 2px rgba(55,37,21,.68), 0 0 9px rgba(255,219,127,.7); transform: translate(-50%,-50%); }
.atheria-map-marker.is-city i { border-radius: 1px; transform: translate(-50%,-50%) rotate(45deg); background: #8d2e25; }
.atheria-map-marker.is-place i { background: #375f6d; }
.atheria-map-marker span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  display: none;
  min-width: max-content;
  max-width: 150px;
  padding: 3px 5px;
  border: 1px solid rgba(51,35,19,.7);
  background: rgba(239,220,176,.96);
  color: #302316;
  font: 900 6px/1.2 var(--mono);
  box-shadow: 0 2px 6px rgba(0,0,0,.45);
  transform: translateX(-50%);
  pointer-events: none;
}
.atheria-map-marker:hover span,.atheria-map-marker:focus-visible span,.atheria-map-marker[aria-current="true"] span { display: block; }
.atheria-map-marker:focus-visible { outline: 2px solid #fff0b5; outline-offset: 1px; }
.atheria-inspector { min-width: 0; padding: 12px; border: 1px solid rgba(139,166,108,.36); background: linear-gradient(180deg, rgba(20,36,23,.96), rgba(6,12,8,.96)); }
.atheria-inspector > p:first-child { color: #a7bf89; font: 900 6px/1 var(--mono); letter-spacing: .14em; }
.atheria-inspector h3 { margin: 6px 0; font-size: clamp(14px,2vw,22px); }
.atheria-record-coordinate { display: block; margin-bottom: 8px; color: #baa873; font: 800 6px/1 var(--mono); letter-spacing: .1em; }
.atheria-record-status { display: grid; gap: 4px; margin-top: 10px; }
.atheria-record-status span { padding: 5px; border-left: 3px solid #78945d; background: rgba(255,255,255,.035); color: #aebda5; font: 800 5.7px/1.25 var(--mono); }
.atheria-search { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; padding: 7px; border: 1px solid rgba(139,166,108,.3); background: #060b07; }
.atheria-search span { color: #a8c187; font: 900 7px/1 var(--mono); letter-spacing: .12em; }
.atheria-search input { min-width: 0; min-height: 34px; padding: 7px 9px; border: 1px solid rgba(196,214,176,.26); background: #101912; color: #edf2e9; font: 12px/1.2 var(--mono); }
.atheria-filters { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0; }
.atheria-filters button { min-height: 30px; padding: 5px 9px; border: 1px solid rgba(139,166,108,.3); background: rgba(255,255,255,.025); color: #aebda5; font: 800 7px/1 var(--mono); cursor: pointer; }
.atheria-filters button[aria-pressed="true"] { background: #6f8558; color: #10160e; border-color: #bbcd9f; }
.atheria-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; max-height: 300px; overflow: auto; padding-right: 4px; }
.atheria-result { display: grid; grid-template-columns: auto minmax(0,1fr); grid-template-rows: auto auto; gap: 2px 8px; min-height: 44px; padding: 7px; border: 1px solid rgba(139,166,108,.2); background: rgba(255,255,255,.025); color: #dfe8d8; text-align: left; cursor: pointer; }
.atheria-result span { grid-row: 1 / 3; align-self: center; color: #809b66; font: 900 5.5px/1 var(--mono); writing-mode: vertical-rl; transform: rotate(180deg); }
.atheria-result strong { overflow: hidden; font: 900 8px/1.15 var(--ui); text-overflow: ellipsis; white-space: nowrap; }
.atheria-result small { color: #879681; font: 700 6px/1 var(--mono); }
.atheria-result:hover,.atheria-result:focus-visible,.atheria-result[aria-current="true"] { border-color: #a8c187; background: rgba(139,166,108,.12); outline: none; }
.atheria-no-results { grid-column: 1/-1; padding: 18px; text-align: center; color: #9ba993; }
.atheria-workflow { margin-top: 12px; padding: 12px; border: 1px solid rgba(195,167,101,.3); background: rgba(18,16,10,.78); }
.atheria-workflow > div { display: grid; grid-template-columns: repeat(7,auto); align-items: stretch; gap: 5px; margin-top: 9px; }
.atheria-workflow article { min-width: 0; padding: 8px; border: 1px solid rgba(195,167,101,.22); background: rgba(255,255,255,.025); }
.atheria-workflow article span { color: #a8c187; font: 900 7px/1 var(--mono); }
.atheria-workflow article h3 { margin: 5px 0; font-size: 10px; }
.atheria-workflow article p { margin: 0; color: #b8c0ae; font-size: 7px; }
.atheria-workflow b { align-self: center; color: #a58d55; font-size: 16px; }
.atheria-boundary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.atheria-boundary > div { padding: 11px; border: 1px solid rgba(139,166,108,.25); background: rgba(255,255,255,.025); }
.atheria-boundary span { color: #a8c187; font: 900 7px/1 var(--mono); letter-spacing: .12em; }
.atheria-boundary ul { margin: 8px 0 0; padding-left: 17px; color: #c0cbbc; }
.atheria-boundary li { margin: 4px 0; font-size: 7px; line-height: 1.35; }

/* ---------- Studio ---------- */
.studio-program { color: #e3dcc8; }
.studio-program .program-topline,.studio-heading .program-kicker { color: #d1b66f; }
.studio-heading .program-title { color: #f4e8c8; }
.studio-heading .program-tagline { color: #d5ccb4; }
.studio-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(230px,.95fr); gap: 12px; align-items: stretch; padding: 12px; border: 1px solid rgba(195,167,101,.38); background: linear-gradient(145deg, rgba(36,28,19,.94), rgba(9,8,7,.94)); }
.studio-hero > div { padding: 10px; }
.studio-hero > div > span,.studio-people header p,.studio-work header p,.studio-bubbles .bubbles-copy > span,.studio-needs > div > span { color: #d3b971; font: 900 7px/1 var(--mono); letter-spacing: .15em; }
.studio-hero h3 { margin: 7px 0 9px; font-size: clamp(17px,2.5vw,30px); line-height: 1.05; }
.studio-hero img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; border: 1px solid rgba(195,167,101,.32); }
.studio-pill-row { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.studio-pill-row span { padding: 4px 6px; border: 1px solid rgba(195,167,101,.25); color: #cdbf9c; font: 800 5.8px/1 var(--mono); }
.studio-purpose { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 11px; }
.studio-purpose article { padding: 10px; border: 1px solid rgba(195,167,101,.25); background: rgba(255,255,255,.025); }
.studio-purpose article > span { color: #c4aa67; font: 900 6px/1 var(--mono); letter-spacing: .12em; }
.studio-purpose h3 { margin: 6px 0; font-size: 12px; }
.studio-purpose p { margin: 0; color: #bfb7a3; font-size: 7px; }
.studio-people,.studio-work { margin-top: 12px; padding: 12px; border: 1px solid rgba(195,167,101,.3); background: rgba(21,17,12,.84); }
.studio-people > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.studio-people article { position: relative; min-width: 0; padding: 10px; border: 1px solid rgba(195,167,101,.2); background: rgba(255,255,255,.025); }
.studio-person-id { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #4d3c24; color: #f0db9d; font: 900 14px/1 var(--ui); }
.studio-people article img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; border: 2px solid #9f8147; }
.studio-people h4 { margin: 8px 0 3px; color: #f0e4c4; font: 900 13px/1 var(--ui); }
.studio-people b { display: block; color: #c8ae6c; font: 800 6px/1.3 var(--mono); }
.studio-people article p { margin-bottom: 0; color: #bbb3a0; font-size: 7px; }
.studio-media-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.studio-media-grid figure { margin: 0; padding: 6px; border: 1px solid rgba(195,167,101,.2); background: rgba(0,0,0,.26); }
.studio-media-grid img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.studio-media-grid figcaption { padding: 6px 2px 1px; color: #bfb28e; font: 700 6px/1.35 var(--mono); }
.studio-bubbles { display: grid; grid-template-columns: minmax(230px,.9fr) minmax(0,1.1fr); gap: 12px; margin-top: 12px; padding: 12px; border: 1px solid rgba(197,141,73,.38); background: linear-gradient(145deg, rgba(43,28,17,.9), rgba(12,9,7,.94)); }
.bubbles-media video { display: block; width: 100%; max-height: 290px; object-fit: cover; border: 1px solid rgba(221,190,122,.38); background: #050403; }
.bubbles-media small { display: block; padding: 5px 0; color: #9e9072; font: 700 5.8px/1.3 var(--mono); }
.bubbles-copy h3 { margin: 7px 0; font-size: clamp(18px,2.4vw,28px); }
.bubbles-profit-note { margin: 10px 0; padding: 10px; border: 1px solid rgba(209,177,97,.42); border-left: 4px solid #c9a650; background: rgba(102,73,29,.22); }
.bubbles-profit-note strong { color: #f1d88f; font: 900 7px/1 var(--mono); letter-spacing: .12em; }
.bubbles-profit-note p { margin-bottom: 0; color: #dfd2b4; font-size: 7px; }
.bubbles-cost-note { color: #b9ae96; font-size: 6.8px; }
.bubbles-actions,.studio-needs-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.bubbles-actions a,.bubbles-actions button,.studio-needs-actions button { min-height: 34px; padding: 7px 9px; border: 1px solid rgba(211,181,111,.42); background: #21180f; color: #ead8aa; font: 900 6px/1 var(--ui); letter-spacing: .06em; cursor: pointer; }
.bubbles-actions button:disabled { opacity: .58; cursor: not-allowed; }
.studio-needs { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(220px,.8fr); gap: 12px; align-items: center; margin-top: 12px; padding: 12px; border: 1px solid rgba(190,69,58,.38); background: rgba(55,20,18,.48); }
.studio-needs h3 { margin: 6px 0; font-size: 18px; }
.studio-needs-actions { justify-content: flex-end; }

/* ---------- Careers ---------- */
.careers-program { color: #e5d8cc; }
.careers-program .program-topline,.careers-heading .program-kicker { color: #dc746b; }
.careers-heading .program-title { color: #fff0d4; text-shadow: 0 0 15px rgba(185,74,64,.22); }
.careers-heading .program-tagline { color: #d5c4b7; }
.careers-hero { display: grid; grid-template-columns: minmax(230px,.95fr) minmax(0,1.05fr); gap: 12px; align-items: stretch; padding: 12px; border: 1px solid rgba(185,74,64,.42); background: linear-gradient(145deg, rgba(58,21,20,.88), rgba(10,7,7,.94)); }
.careers-hero img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; border: 1px solid rgba(234,194,137,.32); }
.careers-hero > div { padding: 9px; }
.careers-hero > div > span,.career-openings header p,.career-week header p,.career-learning > div > span,.career-apply > div > span,.career-investors > span { color: #e07d72; font: 900 7px/1 var(--mono); letter-spacing: .14em; }
.careers-hero h3 { margin: 7px 0; font-size: clamp(18px,2.5vw,29px); line-height: 1.08; }
.career-clarity { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.career-clarity b { padding: 4px 6px; border: 1px solid rgba(214,112,101,.32); color: #e0b6a8; font: 800 5.5px/1 var(--mono); }
.career-openings,.career-week { margin-top: 12px; padding: 12px; border: 1px solid rgba(185,74,64,.3); background: rgba(31,14,13,.8); }
.career-openings header span { max-width: 250px; color: #ac978a; font: 700 6.5px/1.35 var(--mono); text-align: right; }
.career-role-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.career-role { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 8px; padding: 9px; border: 1px solid rgba(185,74,64,.22); background: rgba(255,255,255,.025); }
.career-role-number { display: grid; place-items: center; align-self: start; width: 32px; height: 32px; border: 1px solid rgba(225,118,105,.45); color: #ee968a; font: 900 9px/1 var(--mono); }
.career-role span { color: #e18479; font: 900 5.5px/1 var(--mono); letter-spacing: .08em; }
.career-role h3 { margin: 5px 0; font-size: 11px; }
.career-role h4 { margin: 8px 0 3px; color: #c8a79a; font: 900 6px/1 var(--mono); letter-spacing: .1em; }
.career-role p { margin: 0; color: #c2b2a7; font-size: 6.8px; }
.career-week > div { display: grid; grid-template-columns: repeat(5,1fr); gap: 5px; }
.career-week article { min-width: 0; padding: 8px; border: 1px solid rgba(185,74,64,.2); background: rgba(255,255,255,.025); }
.career-week article > span { color: #e1766c; font: 900 8px/1 var(--mono); }
.career-week h4 { margin: 6px 0; color: #f0dfc8; font: 900 8px/1.15 var(--ui); }
.career-week article p { margin: 0; color: #bfaea3; font-size: 6.4px; }
.career-week > small { display: block; margin-top: 8px; color: #9e8e84; font: 700 6px/1.35 var(--mono); }
.career-learning { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }
.career-learning > div { padding: 12px; border: 1px solid rgba(185,74,64,.26); background: rgba(33,15,14,.75); }
.career-learning h3 { margin: 6px 0; font-size: 14px; }
.career-learning p { color: #c6b6aa; font-size: 7px; }
.career-learning strong { display: block; padding: 7px; border-left: 3px solid #c94f45; background: rgba(185,74,64,.12); color: #e5afa7; font: 900 5.8px/1.35 var(--mono); }
.career-apply { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.9fr); gap: 10px; margin-top: 12px; padding: 12px; border: 1px solid rgba(195,167,101,.3); background: rgba(24,19,13,.85); }
.career-apply h3 { margin: 6px 0; font-size: 16px; }
.career-apply ol { margin: 8px 0 0; padding-left: 18px; color: #c9bfad; }
.career-apply li { margin: 5px 0; font-size: 7px; line-height: 1.35; }
.career-application-box { min-width: 0; padding: 9px; border: 1px solid rgba(195,167,101,.24); background: rgba(0,0,0,.24); }
.career-application-box p { color: #b8ae99; font-size: 7px; }
.career-application-box button { width: 100%; min-height: 36px; border: 1px solid rgba(213,179,98,.48); background: #2a2014; color: #f0dca6; font: 900 6px/1 var(--ui); cursor: pointer; }
.career-application-box pre { max-height: 165px; overflow: auto; margin: 8px 0 0; padding: 8px; border: 1px solid rgba(255,255,255,.08); background: #060505; color: #c8baa7; font: 6px/1.45 var(--mono); white-space: pre-wrap; }
.career-investors { margin-top: 12px; padding: 14px; border: 1px solid rgba(195,167,101,.32); border-left: 5px solid #b94a40; background: linear-gradient(90deg, rgba(185,74,64,.16), rgba(195,167,101,.05)); }
.career-investors h3 { margin: 6px 0; font-size: 17px; }
.career-investors p { margin-bottom: 0; color: #c8bcaa; }

/* ---------- persistent hiring notice: fixed, dismissible, never reflows room ---------- */
.hiring-ribbon {
  position: fixed;
  z-index: 80;
  right: 14px;
  bottom: 14px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  align-items: center;
  gap: 8px;
  max-width: min(520px, calc(100vw - 28px));
  padding: 9px 10px;
  border: 1px solid #6c201b;
  border-left: 5px solid #d4574b;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), transparent 30%),
    rgba(39,13,12,.96);
  color: #f2d8c4;
  box-shadow: 0 12px 30px rgba(0,0,0,.56), inset 0 0 0 1px rgba(255,255,255,.035);
}
.hiring-ribbon[hidden] { display: none !important; }
.hiring-ribbon span { display: block; color: #ef796e; font: 900 7px/1 var(--mono); letter-spacing: .16em; }
.hiring-ribbon strong { display: block; margin-top: 3px; font: 900 9px/1 var(--ui); letter-spacing: .04em; }
.hiring-ribbon button { min-height: 34px; padding: 7px 9px; border: 1px solid rgba(236,130,117,.42); background: #170908; color: #f1c7bc; font: 900 6px/1 var(--ui); cursor: pointer; }
.hiring-ribbon [data-dismiss-hiring] { width: 34px; padding: 0; font-size: 17px; }
body.onboarding-pending .hiring-ribbon,
body.onboarding-active .hiring-ribbon,
body.device-focus-open .hiring-ribbon,
body.game-demo-dialog-open .hiring-ribbon,
body.playable-demos-dialog-open .hiring-ribbon { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1050px) {
  .utility-nav { flex-wrap: wrap; }
  .atheria-workflow > div { grid-template-columns: 1fr; }
  .atheria-workflow > div > b { transform: rotate(90deg); justify-self: center; }
  .career-week > div { grid-template-columns: repeat(2,1fr); }
  .career-week article:last-child { grid-column: 1/-1; }
}

@media (max-width: 760px) {
  .tape-stack .vhs-tape { height: 54px !important; }
  .tape-section-divider { grid-template-columns: 1fr; gap: 2px; }
  .studio-program-nav { position: relative; top: auto; }
  .studio-program-nav button { min-height: 44px; flex: 1 1 42%; }
  .atheria-intro,.atheria-map-layout,.studio-hero,.studio-bubbles,.studio-needs,.careers-hero,.career-apply { grid-template-columns: 1fr; }
  .atheria-map { min-height: 320px; }
  .atheria-map > img { min-height: 320px; }
  .atheria-map-marker { width: 38px; height: 38px; }
  .atheria-map-marker i { width: 12px; height: 12px; }
  .atheria-map-marker[aria-current="true"] span { display: block; }
  .atheria-results,.career-role-grid,.career-learning,.atheria-boundary { grid-template-columns: 1fr; }
  .atheria-result { min-height: 48px; }
  .atheria-filters button,.bubbles-actions a,.bubbles-actions button,.studio-needs-actions button,.career-application-box button { min-height: 44px; }
  .studio-purpose,.studio-people > div,.studio-media-grid { grid-template-columns: 1fr; }
  .studio-media-grid img { aspect-ratio: 16/9; }
  .career-week > div { grid-template-columns: 1fr; }
  .career-week article:last-child { grid-column: auto; }
  .hiring-ribbon { left: 8px; right: 8px; bottom: 8px; max-width: none; grid-template-columns: 1fr auto; }
  .hiring-ribbon [data-dismiss-hiring] { position: absolute; right: 3px; top: -38px; }
}

@media (max-width: 430px) {
  .tape-stack { gap: 4px !important; }
  .tape-stack .vhs-tape { height: 52px !important; }
  .tape-stack .vhs-tape .tape-title { font-size: 7.7px !important; }
  .tape-stack .vhs-tape .tape-code { font-size: 4.8px !important; }
  .studio-reel-sticker,.tape-stack .tape-service-sticker,.tape-stack .tape-demo-sticker { transform: scale(.78) rotate(1deg) !important; }
  .careers-reel-tape .studio-reel-sticker.is-hiring { transform: scale(.78) rotate(-1.6deg) !important; }
  .atheria-map { min-height: 280px; }
  .atheria-map > img { min-height: 280px; }
  .studio-program-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .studio-program-nav button { width: 100%; }
  .hiring-ribbon strong { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hiring-ribbon,.atheria-map-marker,.studio-program-nav button { transition: none !important; animation: none !important; }
}

/* v23 final touch hardening: the new conventional navigation routes must be as
   easy to activate as the physical controls on phones and tablets. */
@media (pointer: coarse), (max-width: 780px) {
  .utility-nav a,
  .utility-nav .utility-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px !important;
    padding-block: 8px !important;
    touch-action: manipulation;
  }
}
