/* Hire Anthony: only what sits inside a visual. Everything else is ../assets/system.css. */

.hero--split .hero__lead { color: var(--ink); }
/* the portrait is upright: beside the words on a tablet, tall enough for the whole face on a phone */
@media (min-width: 640px) and (max-width: 1023px) {
  main#top > .hero--split { min-height: 0; height: auto; }
  main > .hero--split > .wrap { height: auto; }
  .hero--split .hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 42%; column-gap: var(--s-6); align-items: stretch; }
  .hero--split .hero__text { grid-column: 1; }
  .hero--split .hero__media { grid-column: 2; margin-top: 0; min-height: 430px; height: 100%; }
  #hero-h { font-size: 6.3vw; }
}
@media (max-width: 639px) {
  main > .hero--split { height: auto; min-height: 100svh; }
  main > .hero--split > .wrap { height: auto; }
  .hero--split .hero__media { flex: none; aspect-ratio: 7 / 8; }
}
.nowrap { white-space: nowrap; }
/* the name sits in the middle of the bar only where the links leave it room */
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav--split .nav__bar { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: var(--s-6); }
  .nav--split .nav__logo { grid-column: 1; justify-self: start; }
  .nav--split .nav__links { grid-column: 2; }
}
/* the name stays on one line beside the picture, scrollbar or not */
@media (min-width: 1024px) and (max-width: 1535px) { #hero-h { font-size: calc(5.9vw - 10px); } }
.legal__marks { order: 3; width: 100%; }
/* the legal row reads from the left; a phone's footer keeps the last column (the header's menu has the rest) */
.footer__legal { justify-content: flex-start; }
@media (min-width: 640px) and (max-width: 1023px) { .closing__links .footer__col { grid-column: span 4; } }
@media (max-width: 639px) {
  .closing__links .footer__col:not(:last-child) { display: none; }
  .closing__links .footer__col { grid-column: 1 / -1; }
  .closing__links .footer__col ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
}
@media (max-width: 1279px) { :is(#ibm, #training, #experience, #festival, #social-care, #certificates) .fill { flex: 1 0 auto; } }
#experience .rows > li > p { grid-column: 1 / -1; }
@media (min-width: 1024px) and (max-width: 1279px) { .rows > li { padding-block: 10px; } }
@media (min-width: 1280px) { #certificates .rows > li { padding-block: 11px; } }
@media (max-width: 639px) {
  .rows > li { padding-block: var(--s-3); }
  :is(#experience, #social-care) .grid.fill > .frame--fill { min-height: 150px; }
  :is(#experience, #social-care, #certificates) .split-col { gap: var(--s-4); }
  :is(#experience, #social-care, #certificates) .grid.fill { gap: var(--s-4); }
  #social-care .t-lead { font-size: 16px; line-height: 24px; }
}

/* the three chapters: the picture as tall as every other split's, and whole screens where they stand still */
@media (min-width: 1024px) {
  main #work[data-moment].is-live > .mo-pc__grid { align-content: start; padding-top: var(--padt); }
  #work.is-live .mo-pc__visuals { height: calc(100svh - var(--padt) - var(--padb)); max-height: none; aspect-ratio: auto; }
}
@media (min-width: 640px) and (max-width: 1023px) { #work[data-moment]:not(.is-live) .mo-pc__visual > img { height: 19svh; aspect-ratio: auto; } }
@media (max-width: 639px) {
  main > #work[data-moment]:not(.is-live) { min-height: 200svh; }
  #work[data-moment]:not(.is-live) .mo-pc__visual > img { aspect-ratio: 1 / 0.96; max-height: none; }
}

/* 36 days to under two: two bars across the green section, the figures in the display face */
.ict { display: flex; margin-top: var(--s-7); }
.ict__in { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: var(--s-5); }
.ict__t, .ict__s { font-size: var(--t-lead); line-height: 1.4; }
.ict__row { display: grid; gap: var(--s-4); }
.ict__row b { font: 400 clamp(56px, 8.4vw, 120px)/1 var(--font-display); letter-spacing: -0.016em; }
.ict__row i { display: block; width: var(--w); height: 24px; border-radius: 4px; background: currentColor; }
@media (max-width: 639px) { .ict { margin-top: var(--s-5); } }

/* the headland across the page, the five changes under it */
.sys__photo { margin-top: var(--s-6); min-height: 240px; }
.sys { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: var(--s-5); }
.sys h3 { font: 500 18px/24px var(--font-text); letter-spacing: 0; }
.sys p { margin-top: var(--s-1); }
@media (max-width: 1023px) { .sys { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-4); } }
@media (max-width: 639px) { .sys__photo { min-height: 200px; } .sys { grid-template-columns: 1fr; row-gap: var(--s-3); } }

/* the IBM work: two kinds of pipeline carry the data, three kinds of care sit under them */
.di { margin-top: var(--s-6); display: grid; grid-template-rows: minmax(min-content, 1.25fr) minmax(min-content, 1fr); padding: 0 var(--s-6); border-radius: var(--r-lg); background: #cdd6c6; --soft: #3d463f; }
.di__part { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 4fr); gap: var(--s-6); align-items: center; padding: var(--s-6) 0; }
.di__part + .di__part { border-top: 1px solid rgb(10 10 10 / .14); }
.di .di__name { font: 400 28px/1.1 var(--font-display); letter-spacing: var(--display-tracking); color: var(--ink); }
.di h3 { font: 500 18px/26px var(--font-text); letter-spacing: 0; }
.di p { color: var(--soft); font-size: 15px; line-height: 22px; }
.di__side p + p { margin-top: var(--s-2); max-width: 22ch; }
.di__flow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s-5); align-items: center; }
.di__ends { display: grid; gap: var(--s-2); }
.di__ends li { padding: 8px 14px; border-radius: var(--r-btn); background: #fff; font-size: 15px; line-height: 22px; font-weight: 500; }
.di__lanes { display: grid; gap: var(--s-5); }
.di__lanes li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--s-3); align-items: baseline; }
/* a batch goes as a block, a live change goes on its own */
.di__track { grid-column: 1 / -1; height: 36px; margin-top: var(--s-2); background: radial-gradient(circle, var(--accent) 3.2px, transparent 3.8px) 0 50% / 24px 24px space no-repeat; }
.di__track--batch { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='36' fill='%231b6235'%3E%3Ccircle cx='24' cy='6' r='3.4'/%3E%3Ccircle cx='36' cy='6' r='3.4'/%3E%3Ccircle cx='48' cy='6' r='3.4'/%3E%3Ccircle cx='60' cy='6' r='3.4'/%3E%3Ccircle cx='72' cy='6' r='3.4'/%3E%3Ccircle cx='24' cy='18' r='3.4'/%3E%3Ccircle cx='36' cy='18' r='3.4'/%3E%3Ccircle cx='48' cy='18' r='3.4'/%3E%3Ccircle cx='60' cy='18' r='3.4'/%3E%3Ccircle cx='72' cy='18' r='3.4'/%3E%3Ccircle cx='24' cy='30' r='3.4'/%3E%3Ccircle cx='36' cy='30' r='3.4'/%3E%3Ccircle cx='48' cy='30' r='3.4'/%3E%3Ccircle cx='60' cy='30' r='3.4'/%3E%3Ccircle cx='72' cy='30' r='3.4'/%3E%3C/svg%3E") 0 0 / 96px 36px space no-repeat; }
.di__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.di__cards li { display: grid; gap: var(--s-1); align-content: start; padding: var(--s-5); border-radius: var(--r-md, 12px); background: #fff; }
@media (min-width: 1280px) and (min-height: 821px) {
  .di .di__name { font-size: 34px; }
  .di p { font-size: 17px; line-height: 25px; }
  .di__ends li { padding: 11px 18px; font-size: 17px; line-height: 24px; }
  .di__cards li { padding: var(--s-6); }
}
@media (min-width: 1024px) and (max-width: 1279px) { .di__lanes li { grid-template-columns: 1fr; } }
@media (max-width: 1023px) {
  .di { grid-template-rows: auto auto; }
  .di__part { grid-template-columns: 1fr; gap: var(--s-4); }
  .di__side p + p { max-width: none; margin-top: var(--s-1); }
}
@media (max-width: 639px) {
  .di { padding: 0 var(--s-4); }
  .di__part { padding: var(--s-5) 0; }
  .di__flow, .di__cards { grid-template-columns: 1fr; }
  .di__ends { display: none; }
  .di__lanes li { grid-template-columns: 1fr; }
  .di__cards { gap: var(--s-2); }
  .di__cards li { padding: var(--s-4); }
}

/* the training: five levels, as many blocks filled as the level reached; a product set in belongs to the one above it */
.lv { --in: 32px; display: flex; flex-direction: column; margin-top: var(--s-6); }
.lv__row { display: grid; flex: 1 1 auto; grid-template-columns: 4fr 5fr 4fr 2fr; column-gap: var(--gutter); align-items: center; min-height: 48px; border-top: 1px solid var(--line); font-size: 18px; line-height: 24px; }
.lv__group { display: flex; flex: var(--rows) 1 auto; flex-direction: column; }
.lv__row > :nth-child(1) { font-weight: 500; }
.lv__row--in { border-top: 0; background: linear-gradient(var(--line), var(--line)) var(--in) 0 / 100% 1px no-repeat; }
.lv__row--in > :nth-child(1) { padding-left: var(--in); font-weight: 400; }
.lv__row > :nth-child(2) { color: var(--muted); }
.lv__row > :nth-child(4) { text-align: right; white-space: nowrap; }
.lv__row--head { flex: none; border-top: 0; min-height: 40px; font-size: 16px; }
.lv__row--head > span:nth-child(n) { font-weight: 500; color: var(--ink); }
.lv__level { display: flex; align-items: center; gap: var(--s-4); white-space: nowrap; }
.lv__level i { flex: none; width: 156px; height: 14px; background: linear-gradient(90deg, var(--accent) calc(var(--n) * 20%), #d9ddd6 0); -webkit-mask: repeating-linear-gradient(90deg, #000 0 28px, transparent 28px 32px); mask: repeating-linear-gradient(90deg, #000 0 28px, transparent 28px 32px); }
@media (min-width: 640px) and (max-width: 1279px) { .lv__row { grid-template-columns: 4fr 5fr 140px 126px; padding-block: 10px; font-size: 16px; line-height: 22px; } .lv__level { gap: var(--s-3); } .lv__level i { width: 76px; -webkit-mask: repeating-linear-gradient(90deg, #000 0 12px, transparent 12px 16px); mask: repeating-linear-gradient(90deg, #000 0 12px, transparent 12px 16px); } }
@media (max-width: 639px) {
  .lv__row { grid-template-columns: 1fr auto; gap: 2px var(--s-3); align-content: center; padding-block: var(--s-3); font-size: 16px; line-height: 22px; }
  .lv__row > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 15px; }
  .lv__row > :nth-child(3) { grid-column: 1 / -1; grid-row: 3; margin-top: var(--s-1); }
  .lv { --in: 20px; }
  .lv__row--in > * { margin-left: var(--in); }
  .lv__row--in > :nth-child(1) { padding-left: 0; }
  .lv__row--in > :nth-child(4) { margin-left: 0; }
  .lv__row > :nth-child(4) { grid-column: 2; grid-row: 1; font-size: 15px; }
  .lv__row--head { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; overflow: hidden; clip-path: inset(50%); }
  .lv__row--head + .lv__group > :first-child { border-top: 0; }
}

/* the tools, by their own logos */
.tools { display: grid; height: 100%; min-height: 300px; border-radius: var(--r-lg); background: #cdd6c6; }
.tools ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(min-content, 1fr); row-gap: var(--s-5); padding: var(--s-6) 0; }
.tools li { display: grid; gap: var(--s-3); align-content: center; justify-items: center; font-weight: 500; text-align: center; }
@media (max-width: 639px) { .tools ul { padding: var(--s-3) 0; } .tools li { gap: var(--s-2); font-size: 14px; line-height: 20px; } .tools .ic-tile { --tile: 40px; } }

/* the festival: the photograph, and what the till answers for each thing brought to it */
.fest { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gutter); margin-top: var(--s-6); }
.fest__photo { height: 100%; min-height: 280px; }
.fest__photo .frame__img { object-position: 0 50%; }
.till { display: grid; grid-auto-rows: minmax(min-content, 1fr); padding: var(--s-2) var(--s-6); border-radius: var(--r-lg); background: #cdd6c6; }
.till li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; align-items: center; gap: var(--s-2) var(--s-3); padding-block: var(--s-3); }
.till li + li { border-top: 1px solid rgb(10 10 10 / .14); }
.till h3 { font: 500 18px/26px var(--font-text); letter-spacing: 0; }
.till p { grid-column: 1 / -1; grid-row: 2; color: #3d463f; font-size: 16px; line-height: 23px; }
.till__say, .till__pay > span { padding: 5px 12px; border-radius: var(--r-btn); background: #fff; font-size: 15px; line-height: 22px; font-weight: 500; }
.till__say::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 9px; border-radius: 50%; background: var(--accent); }
.till__say--no { color: #9a3412; }
.till__say--no::before { background: #c2410c; border-radius: 2px; }
.till__pay { display: flex; gap: var(--s-2); }
@media (min-width: 1024px) and (max-width: 1279px) { .fest { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .fest__photo .frame__img { object-position: 42% 50%; } }
@media (max-width: 1023px) { .fest { grid-template-columns: 1fr; } .fest__photo { height: auto; aspect-ratio: 3 / 2; } }
@media (max-width: 639px) { .fest { margin-top: var(--s-5); } .fest__photo { min-height: 0; } .till { padding: var(--s-1) var(--s-4); } .till li { column-gap: var(--s-2); } .till__say, .till__pay > span { padding-inline: 9px; font-size: 14px; } .till__say::before { margin-right: 7px; } }
