/* Software by industry (/industries/). The page's own idea: a bento of photographs. Every industry is one tile with its photograph, name and
   one line showing at once; a big tile leads, the rest vary in size. Below it, a dark band with two plain ledgers, then a drawn list.
   Every default here is the finished picture. Only transform and opacity move. */

.ix { --ix-soft: #f5f5f7; --ix-grey: color-mix(in srgb, var(--ink) 52%, transparent); overflow-x: clip; }
.ix-grey { color: var(--ix-grey); }
.ix-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.ix .kit-h2 { max-width: 16em; }
.ix .kit-p { max-width: 36em; }

/* ---------------------------------------------------------------- hero: three words of headline, then the bento */
.ix-hero { padding-top: 56px; padding-bottom: 96px; }
.ix-hero .kit-hero-wash { height: 100%; background: radial-gradient(70% 55% at 50% 60%, color-mix(in srgb, var(--kit-accent) 14%, transparent), transparent 74%); }
.ix-wrap { margin-top: 36px; text-align: left; }

.ix-bento { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 204px; gap: 14px; }
.ix-tile { min-width: 0; grid-column: span 3; }
.ix-tile:nth-child(1) { grid-column: span 6; grid-row: span 2; }
.ix-tile:nth-child(7) { grid-column: span 6; }
.ix-tile:nth-child(n+9) { grid-column: span 4; }

.ix-card { position: relative; display: block; height: 100%; border-radius: 24px; overflow: hidden; isolation: isolate; color: #fff; text-decoration: none; background: #2a2a30;
  box-shadow: 0 0 0 1px var(--kit-line), 0 18px 36px -24px rgb(16 24 40 / 40%); transition: transform .35s var(--kit-ease); }
.ix-card:active { transform: scale(.985); }
.ix-card:active img { transform: scale(1.04); }
.ix-card:active .ix-go { background: rgb(0 0 0 / 70%); transform: translateX(4px); }
.ix-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--kit-ease); }
.ix-card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgb(0 0 0 / 92%) 0, rgb(0 0 0 / 86%) 42%, rgb(0 0 0 / 66%) 68%, rgb(0 0 0 / 8%) 100%); }
.ix-body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 4px; padding: 22px 64px 22px 24px; }
.ix-t { font: 400 26px/1.15 var(--font-display); letter-spacing: -.004em; }
.ix-line { font: 400 15px/21px var(--font-text); color: #fff; max-width: 30em; }
.ix-tile:nth-child(1) .ix-t { font-size: 40px; }
.ix-tile:nth-child(1) .ix-line { font-size: 18px; line-height: 26px; }
.ix-tile:nth-child(1) .ix-body { padding: 32px 80px 32px 32px; gap: 8px; }
.ix-go { position: absolute; right: 18px; bottom: 20px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgb(0 0 0 / 45%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 55%); transition: transform .6s var(--kit-ease), background-color .4s ease; }
.ix-tile:nth-child(1) .ix-go { right: 28px; bottom: 32px; width: 44px; height: 44px; }
.ix-arrow { width: 20px; height: 20px; }
.ix-arrow path, .ix-rule path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ix-card:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ix-card:hover img { transform: scale(1.06); }
  .ix-card:hover .ix-go { transform: translateX(4px); background: rgb(0 0 0 / 65%); }
}

@media (max-width: 1023px) {
  .ix-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .ix-tile, .ix-tile:nth-child(7), .ix-tile:nth-child(n+9) { grid-column: span 1; }
  .ix-tile:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .ix-tile:nth-child(1) .ix-t { font-size: 32px; }
}
@media (max-width: 599px) {
  .ix-hero { padding-top: 40px; padding-bottom: 64px; }
  .ix-wrap { margin-top: 28px; }
  .ix-bento { grid-template-columns: 1fr; grid-auto-rows: minmax(112px, auto); gap: 12px; }
  .ix-tile, .ix-tile:nth-child(1) { grid-column: auto; grid-row: auto; }
  .ix-card { display: flex; align-items: flex-end; min-height: 112px; border-radius: 20px; }
  .ix-tile:nth-child(1) .ix-card { min-height: 240px; }
  .ix-card::before { background: linear-gradient(90deg, rgb(0 0 0 / 86%), rgb(0 0 0 / 80%) 60%, rgb(0 0 0 / 66%) 82%, rgb(0 0 0 / 10%) 100%); }
  .ix-tile:nth-child(1) .ix-card::before { background: linear-gradient(to top, rgb(0 0 0 / 90%) 0, rgb(0 0 0 / 80%) 36%, rgb(0 0 0 / 12%) 74%, rgb(0 0 0 / 0%) 100%); }
  .ix-body, .ix-tile:nth-child(1) .ix-body { position: relative; padding: 16px 64px 16px 18px; gap: 4px; }
  .ix-tile:nth-child(1) .ix-body { padding-bottom: 20px; }
  .ix-t { font-size: 26px; }
  .ix-tile:nth-child(1) .ix-t { font-size: 34px; }
  .ix-line, .ix-tile:nth-child(1) .ix-line { font-size: 14px; line-height: 20px; max-width: 17em; }
  .ix-go, .ix-tile:nth-child(1) .ix-go { right: 14px; bottom: auto; top: 50%; margin-top: -19px; width: 38px; height: 38px; background: rgb(0 0 0 / 70%); }
  .ix-tile:nth-child(1) .ix-go { top: auto; bottom: 18px; margin-top: 0; }
}

/* ---------------------------------------------------------------- other ways in: a dark band with two plain ledgers */
.ix-more { position: relative; background: #08080c; color: #fff; overflow: clip; --ix-grey: rgb(255 255 255 / 52%); }
.ix-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(46% 60% at 82% 38%, color-mix(in srgb, var(--kit-accent) 34%, transparent), transparent 70%), radial-gradient(34% 40% at 6% 100%, color-mix(in srgb, var(--kit-accent) 16%, transparent), transparent 70%); }
.ix-more .wrap { position: relative; }
.ix-more .kit-h2, .ix-more .kit-h3 { color: #fff; }
.ix-more .kit-p { color: rgb(255 255 255 / 76%); }
.ix-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
.ix-col .kit-h3 { max-width: none; }
.ix-col > .kit-p { margin-top: 8px; }
.ix-rows { list-style: none; margin: 32px 0 0; padding: 0; }
.ix-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 40px; column-gap: 16px; align-items: center; padding: 22px 0 26px; color: #fff; text-decoration: none; }
.ix-row-t { grid-column: 1; font: 400 24px/30px var(--font-display); transition: transform .6s var(--kit-ease); }
.ix-row-p { grid-column: 1; margin-top: 4px; font: 400 16px/24px var(--font-text); color: rgb(255 255 255 / 78%); max-width: 34em; }
.ix-row .ix-arrow { grid-column: 2; grid-row: 1 / span 2; justify-self: end; box-sizing: content-box; width: 20px; height: 20px; padding: 9px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 45%); transition: transform .6s var(--kit-ease); }
.ix-rule { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 6px; overflow: visible; pointer-events: none; }
.ix-rule path { stroke: rgb(255 255 255 / 32%); stroke-width: 1.5; }
.ix-row:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 8px; }
  .ix-row:active .ix-row-t { transform: translateX(6px); }
.ix-row:active .ix-arrow { transform: translateX(4px); background: rgb(255 255 255 / 14%); }
@media (hover: hover) {
  .ix-row:hover .ix-row-t { transform: translateX(8px); }
  .ix-row:hover .ix-arrow { transform: translateX(6px); }
}

/* ---------------------------------------------------------------- not in the list */
.ix-miss-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.ix-miss-link { margin: 24px 0 0; }
.ix-frame { width: 100%; max-width: 340px; height: auto; justify-self: end; overflow: visible; }
.ix-frame .ink { stroke-width: 1.8; }
.ix-frame .soft { stroke: color-mix(in srgb, var(--ink) 28%, transparent); stroke-width: 2.2; }

@media (prefers-reduced-motion: no-preference) {
  .ix-frame.kit-armed.is-in [pathLength] { animation-duration: 420ms !important; animation-delay: calc(var(--k, 0) * 1ms) !important; }
}

/* ---------------------------------------------------------------- the offer, last */
.ix .ix-close.kit-section { padding-top: 0; }
.ix-close-card { background: linear-gradient(135deg, #fff 30%, var(--c-ind-wash) 100%); text-align: left; padding: 56px 48px; }
.ix-close-card .kit-hero-actions { justify-content: flex-start; margin-top: 28px; }
.ix-close-card .kit-p { margin-top: 16px; font-size: 19px; line-height: 28px; }

@media (max-width: 1023px) {
  .ix-glow { background: radial-gradient(circle 420px at 78% 22%, color-mix(in srgb, var(--kit-accent) 32%, transparent), transparent 100%), radial-gradient(circle 300px at 0% 100%, color-mix(in srgb, var(--kit-accent) 16%, transparent), transparent 100%); }
  .ix-cols { grid-template-columns: 1fr; gap: 56px; }
  .ix-miss-grid { grid-template-columns: 1fr; gap: 40px; }
  .ix-frame { justify-self: start; max-width: 280px; }
}
@media (max-width: 767px) {
  .ix .kit-section { padding-block: 64px; }
  .ix .ix-close.kit-section { padding-top: 0; }
  .ix-row-t { font-size: 22px; line-height: 28px; }
  .ix-close-card { padding: 36px 22px; }
}

/* motion off: every state is the finished one */
@media (prefers-reduced-motion: reduce) {
  .ix-card img, .ix-go, .ix-row-t, .ix-row .ix-arrow { transition: none; }
}
