/**
 * Homepage-only Mission Chrome geometry lock.
 * Permanently full expanded two-bar Chrome; no scroll-driven collapse.
 * Loads after toward-mission-chrome-v3.css; does not mutate Mission canon blobs.
 */

body.ph-home.toward-mission,
body.ph-home.toward-mission.tm-controls-compact,
body.ph-home.toward-mission[data-tm-chrome-state="retracting"],
body.ph-home.toward-mission[data-tm-chrome-state="floating"],
body.ph-home.toward-mission[data-tm-chrome-state="compact"] {
  --tm-chrome-left: 0px !important;
  --tm-top-width: 100% !important;
  --tm-controls-width: 100% !important;
  --tm-top-height: 72px !important;
  --tm-controls-height: 42px !important;
  --tm-top-radius: 0px !important;
  --tm-controls-radius: 0px !important;
  --tm-lockup-height: 56px !important;
  --tm-mark-height: 40px !important;
  --tm-lockup-opacity: 1 !important;
  --tm-mark-opacity: 0 !important;
  --tm-mark-visibility: hidden !important;
  --tm-chrome-gap: 10px !important;
  --ph-chrome-pad: calc(
    72px + 42px + 10px + env(safe-area-inset-top, 0px) + 8px
  ) !important;
}

body.ph-home.toward-mission .aa-chrome-header .header-bars {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

body.ph-home.toward-mission .aa-chrome-header .glass-bar.top-bar,
body.ph-home.toward-mission .aa-chrome-header .glass-bar.controls-bar {
  margin-left: 0 !important;
  left: 0 !important;
  border-radius: 0 !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

body.ph-home.toward-mission .tm-brand-mark,
body.ph-home.toward-mission .tm-home-glyph,
body.ph-home.toward-mission .tm-theme-compact,
body.ph-home.toward-mission .tm-theme-popover {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.ph-home.toward-mission .aa-chrome-brand-lockup-img {
  opacity: 1 !important;
  visibility: visible !important;
}

body.ph-home.toward-mission.tm-controls-compact .aa-chrome-controls-end,
body.ph-home.toward-mission.tm-controls-compact .mode-rail--theme-only {
  display: flex !important;
}

body.ph-home.toward-mission.tm-controls-compact .tm-home-label {
  display: inline !important;
}

body.ph-home.toward-mission.tm-controls-compact .aa-chrome-nav-toggle,
body.ph-home.toward-mission.tm-controls-compact .aa-chrome-home-slot,
body.ph-home.toward-mission.tm-controls-compact .tm-theme-compact {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: inherit !important;
  display: revert !important;
}

body.ph-home.toward-mission .ph-stage {
  padding-top: calc(var(--ph-chrome-pad) + clamp(10px, 2.2vh, 20px)) !important;
}
