/* ===========================================================
   My Toolkit (about) — the programs and frameworks I use.
   Light grey block: the title on the left content edge, a small label and
   text on the right (same head as the AI block), then the tools as a grid
   of touching outline circles, 5 across (4 on phones), centred. Each
   circle holds the tool's logo, or its letters (Ai, Ps…) for the Adobe
   apps. Hover fills the circle. toolkit.js fills it from Sanity and
   animates it in.
   =========================================================== */
.eod-toolkit {
  background: var(--eod-bg-secondary);
  color: var(--eod-ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 7.5em;   /* 120 */
  padding-bottom: 8.75em; /* 140 */
}

/* ---- Title + intro ---- */
.eod-toolkit__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3em;
  width: 100%;
  max-width: var(--eod-content-max);
  margin: 0 auto;
  padding-top: 1.5em; /* 24 */
}
.eod-toolkit__title {
  margin: 0;
  font-weight: 400;
  /* Header 2 */
  font-size: var(--eod-fs-h2);
  line-height: var(--eod-lh-h2);
  letter-spacing: var(--eod-ls-h2);
}
.eod-toolkit__intro {
  flex: 0 0 auto;
  width: 21.25em; /* 340 */
  padding-top: 0.375em;
  display: flex;
  flex-direction: column;
  gap: 0.625em;
}
.eod-toolkit__label,
.eod-toolkit__body {
  margin: 0;
}
.eod-toolkit__label {
  /* Caption, secondary */
  font-size: var(--eod-fs-c);
  line-height: var(--eod-lh-c);
  letter-spacing: var(--eod-ls-c);
  color: var(--eod-text-secondary);
  text-transform: uppercase;
}
.eod-toolkit__body {
  /* Paragraph 2 */
  font-size: var(--eod-fs-p2);
  line-height: var(--eod-lh-p2);
  letter-spacing: var(--eod-ls-p2);
}

/* ---- Grid of circles ---- */
.eod-toolkit__grid {
  --cols: 5;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  width: min(100%, calc(var(--cols) * 10em)); /* 160px circles */
  margin: 6em auto 0; /* 96 */
  padding: 0;
  list-style: none;
}
.eod-toolkit__tool {
  aspect-ratio: 1;
  container-type: inline-size;
}
.eod-toolkit__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 1px solid var(--eod-ink);
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.35s ease, color 0.35s ease;
}
.eod-toolkit__logo {
  display: block;
  width: 32.5cqw; /* 52 of 160 */
  height: 32.5cqw;
  transition: filter 0.35s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.eod-toolkit__letters {
  display: block;
  font-size: 28.75cqw; /* 46 of 160 */
  line-height: 1;
  letter-spacing: var(--eod-ls-h1);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) {
  .eod-toolkit__tool:hover .eod-toolkit__circle {
    background: var(--eod-ink);
    color: #fff;
  }
  .eod-toolkit__tool:hover .eod-toolkit__logo {
    filter: invert(1);
    transform: scale(1.08);
  }
  .eod-toolkit__tool:hover .eod-toolkit__letters {
    transform: scale(1.08);
  }
}

/* ---- Tablet / phone ---- */
@media (max-width: 767px) {
  .eod-toolkit {
    padding-top: 5em;
    padding-bottom: 5em;
  }
  .eod-toolkit__head {
    flex-direction: column;
    gap: 1.25em;
    padding-top: 0;
  }
  .eod-toolkit__intro {
    width: 100%;
    max-width: 21.25em;
    padding-top: 0;
  }
  .eod-toolkit__grid {
    margin-top: 3.5em;
  }
}
@media (max-width: 479px) {
  .eod-toolkit__grid {
    --cols: 4;
  }
}
