#homepage-hero {
  > .container { padding-block-end: 0 !important; }
  .product-window {
    position: relative;
    box-sizing: border-box;
    width: min(100%, 1180px);
    margin: 0 auto;
    border: 0;
    border-radius: 17px 17px 0 0;
    overflow: hidden;
    background: white;
    box-shadow: 0 0 38px #ac325835, 0 14px 60px #a0376030;
  }

  .window-bar { min-height: 38px; display: grid; place-items: center; position: relative; border-bottom: 1px solid #ede6eb; background: #faf8fa; font-size: 11px; font-weight: 600; color: #5f4d59; }
  .window-lights { position: absolute; inset-inline-start: 14px; display: flex; gap: 5px; }
  .window-lights i { width: 7px; height: 7px; border-radius: 50%; background: #d7c8d0; }
  .window-lights i:first-child { background: #c55477; }
  @media (max-width: 767px) {
    .product-window { border-radius: 11px 11px 0 0; }
    .window-bar { min-height: 30px; }

  }

  .work-dashboard {
    --work-ink: #27242c;
    --work-muted: #635e6c;
    --work-red: #9f1c39;
    --work-border: #e8e5ec;
    display: grid;
    grid-template-columns: clamp(162px, 16vw, 196px) minmax(0, 1fr);
    min-width: 0;
    background: #f6f6fa;
    color: var(--work-ink);
    text-align: left;
    font: 400 13px/1.45 var(--thl-type-family, sans-serif);
  }
  .work-dashboard :is(ul, h2, h3, p) { margin: 0 !important; padding: 0; }
  .work-dashboard ul { list-style: none; }
  .work-dashboard svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .work-sidebar { background: #fff; border-right: 1px solid var(--work-border); padding: 20px 13px; }
  .work-brand { display: flex; align-items: center; gap: 7px; padding: 4px 8px 15px; color: var(--work-red); font-size: 14px; font-weight: 700; }
  .work-sidebar li { display: flex; align-items: center; gap: 8px; padding: 8px; color: var(--work-muted); border-radius: 6px; white-space: nowrap; font-size: 12px; }
  .work-sidebar .work-selected { background: #f8e9ef; color: var(--work-red); font-weight: 600; }
  .work-main { min-width: 0; padding: clamp(16px, 2.3vw, 28px); }
  .work-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
  .work-dashboard .work-heading h2 { font-size: clamp(17px, 2vw, 23px) !important; line-height: 1.25; font-weight: 650; text-align: left; }
  .work-heading > span { color: var(--work-muted); font-size: 10px; border: 1px solid #dedbe5; border-radius: 4px; padding: 3px 6px; text-align: center; }
  .work-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .work-metrics li { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px; background: #fff; border: 1px solid var(--work-border); border-radius: 9px; }
  .work-tile-icon { display: grid; place-items: center; width: 31px; height: 31px; flex: none; border-radius: 8px; background: #f8e9ef; color: var(--work-red); }
  .work-metrics strong, .work-metrics li div span { display: block; }
  .work-metrics strong { font-size: 20px; font-weight: 650; }
  .work-metrics li div span { color: var(--work-muted); font-size: 11px; }
  .work-columns { margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); gap: 10px; }
  .work-tasks, .work-project { min-width: 0; background: #fff; border: 1px solid var(--work-border); border-radius: 9px; overflow: hidden; }
  .work-dashboard h3 { font-size: 13px !important; font-weight: 650; text-align: left; }
  .work-tasks h3 { display: flex; align-items: center; gap: 6px; padding: 10px !important; }
  .work-tasks h3 svg { color: var(--work-red); }
  .work-tasks li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px; align-items: center; padding: 8px 10px; border-top: 1px solid #f1eff3; font-size: 11px; }
  .work-tasks li svg { width: 13px; height: 13px; color: var(--work-muted); }
  .work-status { border-radius: 4px; padding: 3px 5px; font-size: 10px; white-space: nowrap; }
  .work-status.pending { background: #fff0da; color: #78500c; }
  .work-status.progress { background: #eaf0fe; color: #345799; }
  .work-status.done { background: #e4f4ed; color: #235d47; }
  .work-chart-heading { padding: 11px 12px 6px; }
  .work-project p { font-size: 11px; color: var(--work-muted); }
  @media (max-width: 767px) {
    .work-dashboard { grid-template-columns: minmax(0, 1fr); }
    .work-sidebar { display: none; }
    .work-main { padding: 10px; }
    .work-metrics li { padding: 6px; gap: 4px; flex-direction: column; align-items: start; }
    .work-metrics strong { font-size: 16px; }
    .work-metrics li div span { font-size: 10px; }
    .work-tile-icon { width: 23px; height: 23px; }
    .work-tile-icon svg { width: 13px; height: 13px; }
    .work-columns { grid-template-columns: 1fr; }

  }

  .product-window .window-bar { min-height: 31px; }
  .work-heading h2 { margin-inline: 0 !important; }
  .work-heading > span { display: inline-flex; flex: none; align-items: center; gap: 5px; }
  .work-heading > span svg { width: 12px; height: 12px; }
  .work-main { padding-bottom: 28px; }
  .work-bottom { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); gap: 10px; margin-top: 10px; }
  .work-bottom section { min-width: 0; background: #fff; border: 1px solid var(--work-border); border-radius: 9px; overflow: hidden; }
  .work-bottom h3 { display: flex; align-items: center; gap: 6px; padding: 10px !important; }
  .work-bottom h3 svg { color: var(--work-red); }
  .work-bottom li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 7px; align-items: center; min-height: 35px; padding: 7px 10px; border-top: 1px solid #f1eff3; }
  .work-bottom li svg { width: 14px; height: 14px; color: var(--work-muted); }
  .work-bottom .work-calendar li { grid-template-columns: auto auto minmax(0, 1fr); }
  .work-bottom time { font-size: 11px; color: var(--work-red); font-variant-numeric: tabular-nums; }
  @media (max-width: 767px) {
    .product-window .window-bar { min-height: 26px; }
      .work-bottom { grid-template-columns: 1fr; }
  }
  .work-dashboard .work-heading h2 { font-size: clamp(20px, 2vw, 25px) !important; line-height: 1.25; }
  .work-dashboard h3 { font-size: 15px !important; line-height: 1.35; }
  .work-dashboard :is(.work-sidebar li, .work-tasks li, .work-bottom li) { font-size: 13px !important; line-height: 1.35; }
  .work-metrics li div span { font-size: 12px; }
  .work-dashboard .work-chart {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 0 12px 10px !important;
  }
  .work-chart li {
    display: grid;
    grid-template-rows: 18px minmax(0, 1fr) 15px;
    justify-items: center;
    gap: 3px;
    height: 91px;
    padding: 0;
    font-size: 10px !important;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
  }
  .work-chart .bar-value { align-self: end; font-weight: 600; }
  .work-chart .bar-label { color: var(--work-muted); }
  .work-chart .bar-fill { align-self: end; width: min(68%, 41px); height: var(--bar-height); background: #db879e; border-radius: 4px 4px 0 0; }
  .work-chart li:nth-child(4) .bar-fill { background: var(--work-red); }
  @media (max-width: 767px) {
    .work-dashboard .work-heading h2 { font-size: 18px !important; }
    .work-dashboard h3 { font-size: 14px !important; }
    .work-dashboard :is(.work-tasks li, .work-bottom li) { font-size: 12px !important; }
    .work-metrics li div span { font-size: 11px; }
  }
  .hero-tech-decoration {
    position: absolute;
    inset: 0 0 auto;
    height: min(760px, 100svh);
    pointer-events: none;
    overflow: hidden;
  }
  .hero-tech-decoration i {
    position: absolute;
    display: block;
    inset-block-start: clamp(130px, 26%, 255px);
    width: clamp(100px, 19vw, 300px);
    height: 255px;
    background: radial-gradient(circle, #b10e234b 1px, transparent 1.5px) 0 0 / 16px 16px;
    mask-image: radial-gradient(ellipse, #000 10%, transparent 74%);
  }
  .hero-tech-decoration i:first-child { inset-inline-start: max(-70px, calc((100% - 1610px) / 2)); }
  .hero-tech-decoration i:last-child { inset-inline-end: max(-70px, calc((100% - 1610px) / 2)); translate: 0 100px; }
  .hero-tech-decoration::before,
  .hero-tech-decoration::after {
    content: "";
    position: absolute;
    inset-block-start: clamp(200px, 37%, 400px);
    width: clamp(110px, 15vw, 240px);
    height: 65px;
    border: 1px solid #b10e2336;
    border-radius: 0 38px 0 0;
  }
  .hero-tech-decoration::before {
    inset-inline-start: -36px;
    border-block-end: 0;
    border-inline-start: 0;
  }
  .hero-tech-decoration::after {
    inset-inline-end: -36px;
    border-block-end: 0;
    border-inline-start: 0;
    transform: scaleX(-1) translateY(110px);
  }
  @media (max-width: 767px) {
    .hero-tech-decoration { opacity: .46; }
    .hero-tech-decoration i { height: 190px; }
    .hero-tech-decoration::before,
    .hero-tech-decoration::after { width: 75px; height: 44px; }
  }
  .dashboard-scene { position: relative; width: 100%; min-width: 0; }
  .dashboard-highlights {
    list-style: none;
    margin: 0 auto 12px;
    padding: 0;
    width: min(100%, 1180px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
  }
  .dashboard-highlights li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px 5px 6px;
    border: 1px solid #e6d4da;
    border-radius: 999px;
    background: #fff;
    color: #332a30;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    box-shadow: 0 4px 14px #5f233317;
  }
  .dashboard-highlights svg {
    box-sizing: border-box;
    width: 23px;
    height: 23px;
    padding: 4px;
    border-radius: 50%;
    background: var(--icon-bg, #fae8ee);
    flex: none;
    fill: none;
    stroke: var(--icon-ink, #b10e23);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .dashboard-highlights li:nth-child(2) { --icon-ink: #6043ac; --icon-bg: #efe8fa; }
  .dashboard-highlights li:nth-child(3) { --icon-ink: #087364; --icon-bg: #e1f3ee; }
  .dashboard-highlights li:nth-child(4) { --icon-ink: #8f5413; --icon-bg: #faeddd; }
  @media (min-width: 768px) {
    .work-main { padding-bottom: 32px; }
    .work-metrics li { min-height: 82px; padding: 12px; }
    .work-metrics strong { font-size: 23px; }
    .work-tasks li { min-height: 42px; padding-block: 9px; }
    .work-bottom li { min-height: 42px; padding-block: 9px; }
    .work-chart li { height: 112px; }
  }
  @media (min-width: 1280px) {
    .dashboard-highlights { position: absolute; inset: 0; width: auto; margin: 0; display: block; z-index: 1; pointer-events: none; }
    .dashboard-highlights li { position: absolute; }
    .dashboard-highlights li:nth-child(1) { inset: 46px auto auto max(0px, calc((100% - 1180px) / 2 - 48px)); }
    .dashboard-highlights li:nth-child(2) { inset: -13px max(5%, calc((100% - 1180px) / 2 + 46px)) auto auto; }
    .dashboard-highlights li:nth-child(3) { inset: auto auto 65px max(-6px, calc((100% - 1180px) / 2 - 86px)); }
    .dashboard-highlights li:nth-child(4) { inset: 34% max(-6px, calc((100% - 1180px) / 2 - 68px)) auto auto; }
    .work-sidebar { padding-top: 54px; }
  }
}

@media (min-width: 1280px) and (prefers-reduced-motion: no-preference) {
  #homepage-hero .dashboard-scene.is-floating .dashboard-highlights li {
    animation: thl-hero-highlight-float 1050ms cubic-bezier(.45, 0, .44, 1) both;
  }
  #homepage-hero .dashboard-scene.is-floating .dashboard-highlights li:nth-child(2n) {
    animation-delay: 110ms;
  }
}
@keyframes thl-hero-highlight-float {
  0%, 100% { transform: translateY(0); }
  46% { transform: translateY(-7px); }
  76% { transform: translateY(2px); }
}
