/* 16 Nov 2026 (Yahia: say the G1's work in facilities and factories clearly, not as a passing line): the "G1 at work" block,
   on the home page (#g1-at-work) and the G1 page (#at-work). Markup by tools/edits/g1_at_work_2026-11-16.mjs. */
.hwork.band-deep { background: var(--deep); }
.band-deep .hw-task { background: var(--black); }
.hwork .hw-sub { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--teal); margin: 0 0 16px; }
html[data-lang="en"] .hwork .hw-sub { letter-spacing: .08em; text-transform: uppercase; font-size: 12.5px; }
.hw-tasks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; margin: 0 0 clamp(48px, 6vw, 72px); padding: 0; list-style: none; }
.hw-task { background: var(--deep); padding: 30px 26px 32px; display: grid; gap: 10px; align-content: start; transition: background .4s; }
.hw-task:hover { background: var(--panel); }
.hw-task svg { width: 30px; height: 30px; color: var(--teal); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.hw-task h3 { font-weight: 700; font-size: 19px; line-height: 1.4; }
.hw-task p { color: var(--soft); font-size: 15px; line-height: 1.7; font-weight: 300; margin: 0; }
.hw-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.hw-steps li { padding: 26px 0 0; padding-inline-end: 30px; display: grid; gap: 10px; align-content: start; }
.hw-steps .n { font-family: "Lato", sans-serif; font-weight: 900; font-style: italic; font-size: 46px; line-height: 1; color: var(--teal); }
.hw-steps h3 { font-weight: 700; font-size: 19px; }
.hw-steps p { color: var(--soft); font-size: 15px; line-height: 1.7; font-weight: 300; margin: 0; }
.hw-note { color: var(--dim); font-size: 15.5px; line-height: 1.7; margin: clamp(30px, 4vw, 44px) 0 0; max-width: 70ch; }
.hw-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 1000px) {
  .hw-tasks, .hw-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hw-steps { gap: 8px 0; }
}
@media (max-width: 700px) {
  .hw-tasks { grid-template-columns: 1fr; border-radius: 18px; }
  .hw-task { padding: 20px 20px 22px; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; }
  .hw-task svg { grid-row: span 2; margin: 2px 0 0; width: 26px; height: 26px; }
  .hw-task h3 { font-size: 17.5px; }
  .hw-steps { grid-template-columns: 1fr; border-top: 0; gap: 0; }
  .hw-steps li { grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 4px; padding: 16px 0; padding-inline-end: 0; border-top: 1px solid var(--line); }
  .hw-steps .n { grid-row: span 2; font-size: 32px; }
  .hw-steps h3 { font-size: 17.5px; }
  .hw-cta .btn { flex: 1 1 100%; white-space: normal; text-align: center; }
}
