/* Atlas Global public components. Source: atlas-system theme app.css and
   atlas-header-navigation/navigation.css, captured 2026-11-02.
   This shell owns its selectors; legacy Hub hero/header selectors are retired
   from the markup. Hub section navigation and its 62 languages remain intact. */
.atlas-public-header {
  position: sticky; top: 0; z-index: 50; width: 100%;
  background: var(--bg); border: 0; box-shadow: none; backdrop-filter: none;
}
.atlas-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 80px; gap: 24px; padding-block: 16px;
}
.atlas-header__brand { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; text-decoration: none; }
.atlas-header__promo {
  border-inline-start: 1px solid var(--line); padding-inline-start: 12px;
  color: var(--ink); font: 600 20px/1.15 Manrope, sans-serif; letter-spacing: -.04em;
}
.atlas-header__brand img { display: block; width: 153px; height: 40px; object-fit: cover; }
.atlas-public-header .desktop-nav { display: flex; align-items: center; gap: 4px; margin: 0 0 0 auto; }
.atlas-public-header .desktop-nav a {
  display: flex; align-items: center; min-height: 40px; padding: 8px 10px;
  font: 500 14px/20px Manrope, sans-serif; color: var(--ink); border-radius: 8px;
  white-space: nowrap; text-decoration: none;
}
.atlas-public-header .desktop-nav a:hover { background: #fdefdc; color: #250c01; }
.atlas-header__actions { display: flex; align-items: center; gap: 8px; }
.atlas-button {
  display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box; min-height: 48px; padding: 12px 18px; gap: 8px;
  border: 0; border-radius: 12px; cursor: pointer; text-align: center;
  font: 600 16px/1.1 Manrope, 'Manrope Fallback', sans-serif;
  text-decoration: none; box-shadow: 0 1px 2px #0a0d120d;
  transition: background-position .5s ease, background-color .2s ease;
}
.atlas-button--primary {
  color: #fff; background: linear-gradient(to right, #ff8008 0%, #ffc837 51%, #ff8008 100%);
  background-size: 200% auto; background-position: left center;
}
.atlas-button--primary:hover { color: #fff; background-position: right center; }
.atlas-button--secondary { color: #ff6e2b; border: 1px solid #ff6e2b; background: transparent; }
.atlas-button--secondary:hover { color: #ff6e2b; background: #fce3d1; }
.atlas-button--icon { padding: 6px 18px; gap: 6px; }
.atlas-button__icon { display: block; flex: 0 0 32px; width: 32px; height: 32px; }
.atlas-button--secondary .atlas-button__icon path { fill: #ff6e2b; }
.atlas-button__separator { width: 1px; height: 16px; flex: 0 0 1px; margin-inline: 5px; background: #ffbf80; }
.atlas-header__official { white-space: nowrap; }
.atlas-language-trigger {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; max-width: 185px; padding: 10px 12px;
  border: 1px solid #e96d00; border-radius: 12px; background: var(--bg);
  color: var(--ink); font: 600 14px/20px Manrope, sans-serif; cursor: pointer;
}
#current-language { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.atlas-flag { display: block; width: 18px; height: 13.5px; object-fit: cover; flex: 0 0 18px; border-radius: 2px; }
.atlas-chevron { --text: currentColor; width: 20px; height: 20px; flex: 0 0 20px; transition: transform .2s; }
.atlas-language-trigger[aria-expanded=true] .atlas-chevron { transform: rotate(180deg); }
.atlas-theme-toggle {
  display: flex; flex: 0 0 74px; align-items: center; box-sizing: border-box;
  width: 74px; height: 48px; padding: 9px 8px;
  border: 1px solid #e96d00; border-radius: 100px; background: transparent; cursor: pointer;
}
.atlas-theme-toggle>span { display: flex; padding: 4px; border-radius: 100%; }
.atlas-theme-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.atlas-theme-toggle__light { background: #ff961d; }
.atlas-theme-toggle__light svg path:first-child { stroke: #fff; }
.atlas-theme-toggle__light svg path:not(:first-child) { fill: #fff; }
.atlas-theme-toggle__dark svg path { fill: #a4a7ae; }
.atlas-menu-toggle {
  display: none; flex: 0 0 40px; width: 40px; height: 42px; padding: 10px;
  border: 1px solid #ff961d; border-radius: 8px; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px; color: #e96d00;
}
.atlas-menu-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .2s; }
.atlas-menu-toggle[aria-expanded=true] span:first-child { transform: translateY(6.5px) rotate(45deg); }
.atlas-menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.atlas-menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-6.5px) rotate(-45deg); }
.atlas-mobile-menu:not([hidden]) {
  display: flex; flex-direction: column; gap: 8px; padding: 20px 32px 28px;
  position: absolute; inset-inline: 0; top: 100%; background: var(--bg);
  border-block: 1px solid var(--line); box-shadow: 0 16px 24px #250c0110;
  max-height: calc(100dvh - 120px); overflow: auto;
}
.atlas-mobile-menu a { display: block; padding: 12px; color: var(--ink); font: 500 18px/28px Manrope, sans-serif; border-radius: 8px; }
.atlas-mobile-menu a:hover { background: var(--surface); }
.atlas-mobile-menu .atlas-button { color: #fff; font-size: 16px; margin-top: 8px; }
#language-dialog.atlas-language-panel {
  position: fixed; inset: auto; margin: 0; width: min(320px, calc(100vw - 32px));
  max-height: calc(100dvh - 140px); padding: 16px; border: 1px solid #e8d7c5;
  border-radius: 12px; background: var(--bg); color: var(--ink);
  box-shadow: 0 8px 24px #250c0126; overflow: auto;
}
#language-dialog.atlas-language-panel::backdrop { background: transparent; backdrop-filter: none; }
.atlas-language-panel .language-heading { gap: 12px; margin-bottom: 12px; }
.atlas-language-panel .language-heading h2 { font: 700 16px/24px Manrope, sans-serif; margin: 0; }
.atlas-language-panel .language-heading p { font-size: 12px; margin: 2px 0 0; }
.atlas-language-panel #close-language { width: 32px; height: 32px; min-height: 32px; padding: 0; border: 0; }
.atlas-language-panel .language-search { padding: 0 10px; border-radius: 8px; margin-bottom: 10px; }
.atlas-language-panel .language-search input { min-height: 40px; font-size: 14px; }
.atlas-language-panel .language-list { display: flex; flex-direction: column; gap: 2px; max-height: min(390px, 43dvh); padding: 2px; }
.atlas-language-panel .language-option { flex-shrink: 0; min-height: 42px; padding: 10px 8px; gap: 10px; border: 0; border-radius: 6px; }
.atlas-language-panel .language-option:hover,.atlas-language-panel .language-option.selected { background: #fdefdc; color: #250c01; }
.atlas-language-panel .language-option strong { font: 600 14px/20px Manrope, sans-serif; }
.atlas-language-panel .language-option small { display: none; }
.atlas-language-panel .language-note { font-size: 11px; line-height: 16px; margin: 12px 0 0; padding-top: 10px; }
main>.atlas-hero {
  display: flex; flex-direction: column; align-items: center; padding-top: 40px; padding-bottom: 0; gap: 0;
  text-align: center; min-height: 0;
}
.atlas-hero__copy { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 1007px; }
.atlas-hero h1 { margin: 0 0 16px; font: 700 56px/64px Manrope, sans-serif; letter-spacing: normal; color: var(--ink); }
.atlas-hero h1 em { font-style: normal; color: inherit; background: none; -webkit-text-fill-color: currentColor; }
.atlas-hero__description {
  margin: 0 0 32px; max-width: 1007px; font: 700 30px/38px Manrope, sans-serif;
  background: var(--global-heading-gradient); background-clip: text; -webkit-background-clip: text; color: transparent;
}
.atlas-hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px; }
.atlas-hero__art { position: relative; width: 100%; margin: 32px 0 0; aspect-ratio: 1920/978; background: var(--bg); overflow: hidden; }
.atlas-hero__art>video,.atlas-hero__art>img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.atlas-hero__art>video { opacity: 0; }
.atlas-hero__art.scene-video-ready>video { opacity: 1; }
.atlas-hero__art.scene-video-ready>img { opacity: 0; }
.atlas-hero__pause { position: absolute; inset-inline-end: 12px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #ff961d; border-radius: 8px; background: var(--bg); color: #e96d00; cursor: pointer; }
.atlas-hero__pause svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.atlas-hero__pause { z-index: 3; }
.hero-creators-tracked { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero-creators-tracked .scene-review { pointer-events: all; cursor: pointer; }
.scene-review:hover .scene-review-ring,.scene-review:focus-visible .scene-review-ring { stroke: #ff8008; stroke-width: 5; }
.scene-review:focus-visible { outline: none; }
.atlas-hero__art[data-scene-theme=dark]>video,.atlas-hero__art[data-scene-theme=dark]>img { height: calc(100% * 1000 / 978); bottom: auto; object-fit: fill; object-position: top; }
[data-theme=dark] .scene-review-ring { stroke: #704427; }
[data-theme=dark] .scene-review:hover .scene-review-ring,[data-theme=dark] .scene-review:focus-visible .scene-review-ring { stroke: #ff962f; }
.catalog-page .atlas-hero { display: none; }
.atlas-public-header :focus-visible,.atlas-hero :focus-visible { outline: 2px solid #e96d00; outline-offset: 4px; }
[data-theme=dark] .atlas-theme-toggle__light { background: transparent; }
[data-theme=dark] .atlas-theme-toggle__light svg path:first-child { stroke: #a05637; }
[data-theme=dark] .atlas-theme-toggle__light svg path:not(:first-child) { fill: #a05637; }
[data-theme=dark] .atlas-theme-toggle__dark { background: #ff961d; }
[data-theme=dark] .atlas-theme-toggle__dark svg path { fill: #fff; }
[data-theme=dark] .atlas-language-panel .language-option:hover,[data-theme=dark] .atlas-language-panel .language-option.selected,[data-theme=dark] .atlas-public-header .desktop-nav a:hover { background: #4a2b1b; color: #ffe1bf; }
[data-theme=dark] .atlas-button--secondary:hover { background: #3c2316; }
@media(max-width:1438px) {
  .atlas-public-header .desktop-nav { display: none; }
  .atlas-menu-toggle { display: flex; order: -1; }
  .atlas-header__brand { margin-inline-end: auto; }
  .atlas-header__inner { gap: 24px; }
}
@media(max-width:767px) {
  .atlas-header__inner { gap: 12px; }
  .atlas-header__official { font-size: 14px; padding-inline: 12px; }
  .atlas-hero h1 { font-size: 30px; line-height: 38px; }
  .atlas-hero__description { font-size: 20px; line-height: 28px; margin-bottom: 24px; }
  .atlas-hero__actions { gap: 12px; }
  .atlas-hero__art { margin-top: 24px; }
  main>.atlas-hero { padding-top: 32px; }
}
@media(min-width:721px) and (max-width:900px) {
  .atlas-header__brand { gap: 7px; }
  .atlas-header__brand img { width: 96px; height: auto; }
  .atlas-header__promo { padding-inline-start: 7px; font-size: 16px; }
}
@media(max-width:720px) {
  .atlas-header__inner { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding-block: 8px 10px; }
  .atlas-header__brand { width: fit-content; }
  .atlas-menu-toggle { order: 0; grid-column: 2; grid-row: 1; }
  .atlas-header__actions { grid-column: 1/-1; justify-content: space-between; gap: 12px; }
  .atlas-header__official { display: none; }
  .atlas-language-trigger { min-height: 44px; max-width: calc(100% - 86px); flex: 1; justify-content: flex-start; }
  .atlas-language-trigger .atlas-chevron { margin-inline-start: auto; }
  .atlas-theme-toggle { height: 44px; padding-block: 7px; }
  .atlas-mobile-menu:not([hidden]) { padding-inline: 16px; }
}
@media(max-width:600px) {
  .atlas-hero__actions { width: 100%; flex-direction: column; }
  .atlas-hero__actions .atlas-button { width: 100%; max-width: 343px; justify-content: space-between; }
  .atlas-hero__actions .atlas-button>span:first-child { flex: 1; }
  .atlas-hero__art { width: calc(100% + 32px); }
  #language-dialog.atlas-language-panel { max-height: calc(100dvh - 160px); }
}
@media(prefers-reduced-motion:reduce) {
  .atlas-public-header *, .atlas-hero * { transition: none; }
  .atlas-hero__pause { display: none; }
}
