/* ==========================================================================
   zejneba.com — How I work (how-i-work.html)
   --------------------------------------------------------------------------
   Nav, footer, buttons, tags, tabs, services and FAQ come from components.css
   and sections.css. Here are only the parts that live on this page.

   1. Accent color
   2. Hero (problem → answer)
   3. Process (steps with a visual each)
   4. Mock-ups inside the step visuals
   5. Responsive

   The contact section ("Let’s See How I Can Help") is shared: css/contact.css.
   ========================================================================== */


/* 1. Accent color
   ========================================================================== */

.hiw-accent {
  color: var(--brand-olive);
}


/* 2. Hero
   --------------------------------------------------------------------------
   Dark card like the CTA and the footer. A problem and its answer appear
   word by word (js/how-i-work.js), then make room for the next pair.
   ========================================================================== */

.hiw-hero {
  --hero-ease: var(--ease-out);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* 8px from the page edges, so the nav (16px from the top) sits inside the dark card */
  width: calc(100% - 16px);
  min-height: calc(100vh - 16px);
  min-height: calc(100svh - 16px);
  margin: 8px auto 0;
  padding: 120px 24px;
  overflow: hidden;
  border-radius: 32px;
  background: var(--base-black);
  text-align: center;
}

/* Soft moss glow top right — same as the other dark cards */
.hiw-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  corner-shape: round;
  pointer-events: none;
  top: -480px;
  right: 40px;
  width: 960px;
  height: 960px;
  background: radial-gradient(closest-side, rgba(92, 120, 77, 0.16), rgba(92, 120, 77, 0.06) 55%, rgba(92, 120, 77, 0));
}

.hiw-hero__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1100px;
  min-height: clamp(260px, 36vh, 360px);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.hiw-hero.is-leaving .hiw-hero__stage {
  opacity: 0;
  filter: blur(5px);
}

.hiw-hero__problem {
  max-width: 22ch;
  color: var(--base-white);
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.8vw, 68px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hiw-hero__answer {
  max-width: 36ch;
  margin-top: 32px;
  color: var(--brand-sage);
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.9vw, 26px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

/* Each word rises out of a blur */
.hiw-hero__word {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(0.28em);
  transition: opacity 0.6s var(--hero-ease), filter 0.6s var(--hero-ease), transform 0.6s var(--hero-ease);
}

.hiw-hero.is-showing .hiw-hero__word {
  opacity: 1;
  filter: none;
  transform: none;
}

.hiw-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 72px;
}

/* Outlined button on the dark card: no fill, thin light border */
.hiw-hero__ghost {
  --button-border: rgba(255, 255, 255, 0.24);
  --button-hover-border: rgba(255, 255, 255, 0.4);
  --button-hover-from: rgba(255, 255, 255, 0.06);
  --button-hover-to: rgba(255, 255, 255, 0.06);
  --button-glow: transparent;
  --button-ring: transparent;
  --button-shine: transparent;
  --button-tint: transparent;
}


/* 3. Process
   --------------------------------------------------------------------------
   Each step: icon on a vertical line, text, visual.
   ========================================================================== */

.hiw-process {
  width: min(1106px + var(--content-extra), 100% - 48px);
  margin: 0 auto;
  padding: 120px 0 72px;
}

/* Services after the process: more air above and below than on the home page */
.hiw-process + services-section .services {
  padding: 120px 0 220px;
}

.hiw-process h2 {
  color: var(--base-black);
}

.hiw-steps {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.hiw-step {
  display: grid;
  grid-template-columns: 56px 1fr 1fr;
  gap: 0 40px;
  padding-bottom: 80px;
}

.hiw-step:last-child {
  padding-bottom: 0;
}

.hiw-step__rail {
  position: relative;
  display: flex;
  justify-content: center;
}

.hiw-step__rail::after {
  content: "";
  position: absolute;
  top: 64px;
  bottom: -80px;
  width: 1px;
  background: var(--neutral-line);
}

.hiw-step:last-child .hiw-step__rail::after {
  display: none;
}

.hiw-step__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  corner-shape: round;
  background: var(--neutral-grey-100);
  box-shadow: inset 0 0 0 6px var(--base-white), 0 0 0 1px var(--neutral-line);
  color: var(--base-black);
  --icon-size: 22px;
}

.hiw-step__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 6px;
}

.hiw-step__number {
  color: var(--neutral-subtle);
}

.hiw-step__text h3 {
  margin-top: 6px;
  color: var(--base-black);
}

.hiw-step__intro {
  max-width: 400px;
  margin-top: 8px;
  color: var(--neutral-muted);
}

.hiw-step__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

/* The visual: a liquid animation (js/fluid.js) with a window on top that
   bleeds off the frame. Palettes light → deep, like the service cards. */
.hiw-art {
  --fluid-1: var(--scale-moss-50);
  --fluid-2: var(--brand-fog);
  --fluid-3: var(--brand-sage);
  --fluid-4: var(--scale-moss-400);

  position: relative;
  isolation: isolate;
  height: 340px;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background:
    radial-gradient(120% 90% at 100% 0%, var(--fluid-4), transparent 60%),
    radial-gradient(90% 80% at 70% 30%, var(--fluid-3), transparent 70%),
    linear-gradient(20deg, var(--fluid-1), var(--fluid-2));
  color: var(--base-black);
  font-size: 13px;
  line-height: 1.45;
}

.hiw-art--orange {
  --fluid-1: var(--neutral-grey-50);
  --fluid-2: var(--scale-orange-50);
  --fluid-3: var(--scale-orange-200);
  --fluid-4: var(--scale-orange-300);
}

.hiw-art--blue {
  --fluid-1: var(--neutral-grey-50);
  --fluid-2: var(--scale-blue-50);
  --fluid-3: var(--scale-blue-200);
  --fluid-4: var(--scale-blue-300);
}

.hiw-art--stone {
  --fluid-1: var(--neutral-grey-50);
  --fluid-2: var(--neutral-grey-200);
  --fluid-3: var(--brand-stone);
  --fluid-4: var(--scale-olive-300);
}


/* Mock-ups drawn at full size, shown smaller so the step stays compact.
   Phones get their own scale in the 640px breakpoint. */
@media (min-width: 641px) {
  .hiw-art > :not(canvas) {
    zoom: 0.84;
  }
}


/* 4. Mock-ups inside the step visuals
   --------------------------------------------------------------------------
   Small, made-up product screens. Decorative only (aria-hidden).
   ========================================================================== */

.hiw-art b {
  font-weight: 600;
}

.hiw-art small {
  display: block;
  color: var(--neutral-muted);
  font-size: 11.5px;
}

/* Window */
.mock-window {
  position: absolute;
  top: 48px;
  left: 40px;
  width: 600px;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--base-white);
  box-shadow: 0 0 0 1px rgba(20, 20, 20, 0.06), 0 40px 70px -34px rgba(40, 50, 30, 0.5);
}

.mock-window__head {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--neutral-grey-200);
  color: var(--neutral-muted);
}

.mock-window__head b {
  color: var(--base-black);
  font-size: 13.5px;
}

.mock-window__aside {
  margin-left: auto;
  font-size: 12px;
}

.mock-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  corner-shape: round;
  object-fit: cover;
}

/* Floating card on top of the window */
.mock-float {
  position: absolute;
  z-index: 2;
  border-radius: var(--radius-l);
  background: var(--base-white);
  box-shadow: 0 0 0 1px rgba(20, 20, 20, 0.05), 0 24px 40px -20px rgba(20, 20, 20, 0.4);
  font-size: 12.5px;
}

/* Step 1: calendar */
.mock-cal {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
}

.mock-cal__month {
  padding: 16px;
  border-right: 1px solid var(--neutral-grey-200);
}

.mock-cal__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 600;
}

.mock-cal__title span {
  color: var(--neutral-subtle);
  font-weight: 400;
  letter-spacing: 0.2em;
}

.mock-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}

.mock-cal__grid em {
  padding-bottom: 6px;
  color: var(--neutral-subtle);
  font-size: 10.5px;
  font-style: normal;
}

.mock-cal__grid span {
  display: grid;
  place-items: center;
  height: 30px;
  border-radius: var(--radius-s);
  color: #c4c4be;
  font-size: 12px;
}

.mock-cal__grid .is-open {
  background: var(--neutral-grey-100);
  color: var(--base-black);
  font-weight: 500;
}

.mock-cal__grid .is-picked {
  background: var(--base-black);
  color: var(--base-white);
}

.mock-cal__times {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
}

.mock-cal__times b {
  margin-bottom: 4px;
  font-size: 12px;
}

.mock-cal__times span,
.mock-cal__pick i {
  display: grid;
  place-items: center;
  height: 36px;
  border-radius: var(--radius-s);
  font-size: 12.5px;
  font-style: normal;
}

.mock-cal__times span {
  box-shadow: inset 0 0 0 1px var(--neutral-line);
}

.mock-cal__pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.mock-cal__pick i {
  background: var(--neutral-body);
  color: var(--base-white);
}

.mock-cal__pick i + i {
  background: var(--brand-moss);
}

.mock-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}

.mock-toast b {
  display: block;
}

/* Step 2: proposal */
.mock-doc {
  padding: 22px 24px;
}

.mock-doc__kicker,
.mock-doc__label {
  color: var(--neutral-muted);
  font-size: 11.5px;
}

.mock-doc__title {
  margin-top: 6px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.mock-doc__meta {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.mock-doc__meta span {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: var(--radius-xs);
  background: var(--neutral-grey-100);
  color: var(--neutral-body);
  font-size: 11.5px;
}

.mock-doc__label {
  margin-top: 18px;
}

.mock-doc ul {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.mock-doc li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 12.5px;
}

.mock-doc li z-icon {
  color: var(--brand-moss);
}

.mock-doc__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--neutral-grey-200);
}

.mock-doc__total span {
  color: var(--neutral-muted);
  font-size: 12px;
}

.mock-doc__total b {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: -0.03em;
}

.mock-comment {
  display: flex;
  gap: 10px;
  max-width: 250px;
  padding: 12px 14px;
}

.mock-comment b {
  display: block;
}

.mock-comment p {
  margin-top: 2px;
  color: var(--neutral-body);
  line-height: 1.4;
}

.mock-initials {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  corner-shape: round;
  background: var(--accent-blue);
  color: var(--base-white);
  font-size: 10px;
  font-weight: 600;
}

/* Step 3: discovery board */
.mock-board {
  position: relative;
  height: 360px;
  background-color: var(--neutral-grey-50);
  background-image: radial-gradient(#dcdcd6 1px, transparent 1px);
  background-size: 16px 16px;
}

.mock-board__label {
  position: absolute;
  top: 16px;
  left: 20px;
  color: var(--neutral-muted);
  font-size: 11px;
}

.mock-board__statement {
  position: absolute;
  top: 36px;
  left: 20px;
  width: 270px;
  padding: 16px;
  border-radius: var(--radius-m);
  background: var(--base-black);
  color: var(--base-white);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.mock-board__statement small {
  margin-bottom: 6px;
  color: #9b9b96;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 400;
}

.mock-note {
  position: absolute;
  width: 150px;
  padding: 12px;
  border-radius: var(--radius-xs);
  box-shadow: 0 8px 14px -10px rgba(20, 20, 20, 0.35);
  font-size: 12px;
  line-height: 1.35;
}

.mock-note small {
  margin-top: 8px;
  color: rgba(20, 20, 20, 0.55);
  font-size: 10.5px;
}

.mock-note--orange { background: var(--accent-orange-tint); }
.mock-note--blue   { background: var(--accent-blue-tint); }
.mock-note--fog    { background: var(--brand-fog); }

.mock-cursor {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  color: var(--brand-moss);
}

.mock-cursor svg {
  width: 16px;
  height: 16px;
}

.mock-cursor span {
  margin: 12px 0 0 -2px;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  background: var(--brand-moss);
  color: var(--base-white);
  font-size: 11px;
  font-weight: 500;
}

/* Step 4: design file + Slack message.
   The window fits inside the frame (--fit), the two screens sit centered on the canvas. */
.mock-window--fit {
  top: 32px;
  right: 32px;
  left: 32px;
  width: auto;
}

.mock-file__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 10px 0 16px;
  border-bottom: 1px solid var(--neutral-grey-200);
}

.mock-file__name {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--neutral-muted);
  white-space: nowrap;
}

.mock-file__name i {
  color: var(--neutral-subtle);
  font-style: normal;
}

.mock-file__name b {
  color: var(--base-black);
}

.mock-file__people {
  display: flex;
  margin-right: 4px;
}

.mock-file__people > * {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: -6px;
  border: 2px solid var(--base-white);
  border-radius: 50%;
  corner-shape: round;
  color: var(--base-white);
  font-size: 9px;
  font-weight: 600;
  object-fit: cover;
}

.mock-file__share {
  display: grid;
  place-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: var(--radius-s);
  background: var(--base-black);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: var(--base-white);
  font-size: 12px;
  font-weight: 500;
}

.mock-file__canvas {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  height: 300px;
  padding: 28px 20px 0;
  overflow: hidden;
  background-color: var(--neutral-grey-50);
  background-image: radial-gradient(#dcdcd6 1px, transparent 1px);
  background-size: 16px 16px;
}

.mock-phone {
  position: relative;
  flex: 0 0 168px;
  height: 260px;
  padding: 14px 12px;
  border-radius: var(--radius-xl);
  background: var(--base-white);
  box-shadow: 0 0 0 1px rgba(20, 20, 20, 0.06), 0 16px 30px -18px rgba(20, 20, 20, 0.35);
}

/* Frame name above the screen */
.mock-phone::before {
  content: attr(data-name);
  position: absolute;
  top: -20px;
  left: 2px;
  color: var(--neutral-muted);
  font-size: 10.5px;
}

.mock-phone.is-selected {
  box-shadow: 0 0 0 1.5px var(--accent-blue), 0 16px 30px -18px rgba(20, 20, 20, 0.35);
}

.mock-phone.is-selected::before {
  top: -22px;
  left: -1.5px;
  padding: 1px 6px;
  border-radius: var(--radius-xs) var(--radius-xs) 0 0;
  background: var(--accent-blue);
  color: var(--base-white);
}

.mock-phone__steps {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}

.mock-phone__steps i {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: var(--neutral-grey-200);
}

.mock-phone__steps .is-done {
  background: var(--brand-moss);
}

.mock-phone__title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mock-phone__row {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--neutral-grey-100);
  color: var(--neutral-body);
  font-size: 10.5px;
}

.mock-phone__pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  corner-shape: round;
  font-size: 10px;
  font-weight: 500;
}

.mock-phone__pill::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  corner-shape: round;
  background: currentColor;
}

.mock-phone__pill--moss  { background: var(--brand-fog); color: var(--brand-moss); }
.mock-phone__pill--amber { background: #fff3d6; color: #8a6100; }

.mock-phone__button {
  position: absolute;
  right: 12px;
  bottom: 14px;
  left: 12px;
  display: grid;
  place-items: center;
  height: 32px;
  border-radius: var(--radius-s);
  background: var(--brand-moss);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: var(--base-white);
  font-size: 11px;
  font-weight: 500;
}

/* Comment pin on a screen */
.mock-pin {
  position: absolute;
  top: -12px;
  right: -12px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 2px;
  border-radius: 50% 50% 50% 4px;
  corner-shape: round;
  background: var(--base-white);
  box-shadow: 0 6px 14px -6px rgba(20, 20, 20, 0.4);
}

.mock-pin span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  corner-shape: round;
  background: var(--brand-olive);
  color: var(--base-white);
  font-size: 9px;
  font-weight: 600;
}

.mock-cursor--blue {
  color: var(--accent-blue);
}

.mock-cursor--blue span {
  background: var(--accent-blue);
}

.mock-slack {
  width: 250px;
  padding: 12px 14px;
}

/* Only the message on the step 4 visual; the channel name would cover the screens */
.hiw-art--stone .mock-slack__channel {
  display: none;
}

.mock-slack__reactions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 8px 0 0 38px;
}

.mock-slack__reactions span {
  padding: 2px 7px;
  border: 1px solid var(--neutral-grey-200);
  border-radius: var(--radius-pill);
  corner-shape: round;
  background: var(--neutral-grey-50);
  font-size: 10.5px;
}

.mock-slack__reactions .mock-slack__reply {
  border: 0;
  background: none;
  color: var(--accent-blue-text);
  font-weight: 500;
}

.mock-slack__channel {
  margin-bottom: 8px;
  color: var(--neutral-muted);
  font-size: 11.5px;
}

.mock-slack__message {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
}

.mock-slack__message img {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-s);
  object-fit: cover;
}

.mock-slack__message time {
  margin-left: 4px;
  color: var(--neutral-subtle);
  font-size: 11px;
}

.mock-slack__message p {
  margin-top: 1px;
  line-height: 1.4;
}

/* Step 5: updates */
.mock-updates {
  padding: 6px 0;
}

.mock-update {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--neutral-grey-100);
}

.mock-update:last-child {
  border-bottom: 0;
}

.mock-update img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  corner-shape: round;
  object-fit: cover;
}

.mock-update p {
  max-width: 330px;
  margin-top: 1px;
  overflow: hidden;
  color: var(--neutral-muted);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mock-update time {
  color: var(--neutral-subtle);
  font-size: 11.5px;
}

.mock-update.is-new {
  background: var(--scale-moss-50);
}

.mock-update.is-new b::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-radius: 50%;
  corner-shape: round;
  background: var(--brand-moss);
  vertical-align: 1px;
}

/* "Next update" chip: frosted pill, a thin countdown ring with a clock, two-line text */
.mock-next {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-pill);
  corner-shape: round;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(20, 20, 20, 0.04), 0 12px 32px -12px rgba(20, 20, 20, 0.28);
}

.mock-next__ring {
  position: relative;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  corner-shape: round;
  background: var(--brand-fog);
  color: var(--brand-moss);
}

/* The arc: a conic gradient cut down to a 3px ring, about a third of the way round */
.mock-next__ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  corner-shape: round;
  background: conic-gradient(var(--brand-moss) 0 32%, rgba(63, 90, 52, 0.14) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
}

.mock-next__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mock-next__text small {
  color: var(--neutral-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mock-next__text b {
  color: var(--base-black);
  font-size: 13.5px;
  font-weight: 600;
}


/* Tools I work in (inside step 4): a row of round white tiles, grey until hovered */

.hiw-stack {
  margin-top: 24px;
}

.hiw-stack__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hiw-stack__logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--neutral-line);
  border-radius: 50%;
  corner-shape: round;
  background: var(--base-white);
  box-shadow: 0 1px 2px rgba(20, 20, 20, 0.04);
}

.hiw-stack__logo img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.hiw-stack__logo:hover img {
  filter: none;
  opacity: 1;
}


/* Before we work together: two simple lists side by side.
   Both columns share the parent's rows (subgrid), so item 1 sits next to item 1
   even when one side wraps to two lines. 6 rows = heading + 5 items. */

.hiw-fit {
  width: min(1106px + var(--content-extra), 100% - 48px);
  margin: 0 auto;
  padding: 140px 0 120px;
}

/* Order on the page: testimonials, then these lists, then the process.
   Each section brings its own space, so the one coming second starts closer. */
testimonials-section + .hiw-fit,
.hiw-fit + .hiw-process {
  padding-top: 40px;
}

.hiw-fit h2 {
  color: var(--base-black);
}

.hiw-fit__columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 64px;
  margin-top: 48px;
}

.hiw-fit__column {
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
}

.hiw-fit__column h3 {
  padding-bottom: 20px;
  color: var(--base-black);
}

.hiw-fit__list {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--neutral-muted);
}

.hiw-fit__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
}

/* The list is as wide as its last (shortest, one-line) item: the others don't count
   towards the width, so they all wrap at that same edge and the list tapers down. */
.hiw-fit__item:not(:last-child) {
  contain: inline-size;
}

.hiw-fit__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  corner-shape: round;
  background: var(--neutral-grey-100);
  color: var(--neutral-subtle);
}

.hiw-fit__column--yes .hiw-fit__icon {
  background: var(--scale-moss-100);
  color: var(--scale-moss-500);
}


/* 5. Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .hiw-step {
    grid-template-columns: 56px 1fr;
    gap: 0 24px;
  }

  .hiw-art {
    grid-column: 2;
    margin-top: 28px;
  }
}

@media (max-width: 860px) {
  .hiw-hero {
    border-radius: var(--radius-3xl);
  }

  .hiw-process + services-section .services {
    padding: 72px 0 136px;
  }

  .hiw-process {
    padding: 96px 0 40px;
  }

  .hiw-process h2 {
    font-size: 32px;
    line-height: 38px;
  }

  .hiw-steps {
    margin-top: 48px;
  }

  .hiw-fit {
    padding: 96px 0 80px;
  }

  .hiw-fit__columns {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 36px;
  }

  .hiw-fit__column + .hiw-fit__column {
    margin-top: 48px;
  }

  .hiw-fit h2 {
    font-size: 32px;
    line-height: 38px;
  }

  .hiw-step__text h3 {
    font-size: 28px;
    line-height: 36px;
  }

  .hiw-step__intro {
    font-size: 16px;
    line-height: 26px;
  }
}

@media (max-width: 640px) {
  .hiw-hero {
    padding: 110px var(--grid-inset) 120px;
    border-radius: var(--radius-2xl);
  }

  /* One column: the icon sits next to "Step 1", the text runs the full
     width of the grid, no line down the side */
  .hiw-step {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 64px;
  }

  .hiw-step__rail {
    position: absolute;
    top: 0;
    left: 0;
  }

  .hiw-step__rail::after {
    display: none;
  }

  .hiw-step__icon {
    width: 32px;
    height: 32px;
    box-shadow: inset 0 0 0 3px var(--base-white), 0 0 0 1px var(--neutral-line);
    --icon-size: 15px;
  }

  .hiw-step__text {
    padding-top: 0;
  }

  .hiw-step__number {
    display: flex;
    align-items: center;
    min-height: 32px;
    padding-left: 44px;
  }

  .hiw-step__text h3 {
    margin-top: 12px;
  }

  /* The mock-ups drawn at full size, shown at 60% so they fit the phone */
  .hiw-art {
    grid-column: 1 / -1;
    height: 250px;
    margin-top: 24px;
  }

  .hiw-art > :not(canvas) {
    zoom: 0.6;
  }

  .mock-window {
    top: 36px;
    left: 32px;
  }

  .mock-window--fit {
    top: 24px;
    right: 24px;
    left: 24px;
  }

  .hiw-art--stone {
    height: 290px;
  }

  .mock-file__people,
  .mock-phone:not(.is-selected),
  .mock-cursor--blue,
  .mock-slack__channel,
  .mock-slack__reactions {
    display: none;
  }

  .mock-file__canvas {
    justify-content: flex-start;
    padding: 36px 20px 0;
  }

  .mock-slack {
    width: 220px;
    transform-origin: right bottom;
  }

  .mock-comment {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hiw-hero__word {
    transition: none;
  }
}
