/* The nine-industry showcase (home page only): light cards in the Kanban Studios industries layout (badge
   top-right, title, one line of benefit), a poster, and a film panel that loads a video only when opened. */

.industries .head p:not(.kicker) { max-width: 640px; margin-inline: auto; }

/* Show it. Ask it. Review it. Approve it. */
.ind-how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 auto 40px; max-width: 980px; padding: 0; list-style: none; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: rgba(255, 255, 255, 0.94); box-shadow: var(--shadow); }
.ind-how li { position: relative; padding: 18px 20px 18px; }
.ind-how li + li { border-inline-start: 1.5px solid var(--line); }
.ind-how b { display: block; font: 700 19px/1.1 var(--display); color: var(--ink); }
.ind-how b span { margin-inline-end: 8px; font: 700 11px/1 var(--mono); letter-spacing: 0.2em; color: var(--turq-ink); vertical-align: 3px; }
.ind-how p { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }

.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ind-card { position: relative; display: flex; flex-direction: column; padding: 0; overflow: hidden; background: #fbfaf7; border-color: var(--line); transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms; }
.ind-card:nth-child(even) { background: #f1f0eb; }
.ind-card:nth-child(3n + 2) { transition-delay: 60ms; }
.ind-card:nth-child(3n) { transition-delay: 120ms; }
.ind-card:hover, .ind-card:focus-within { transform: translateY(-3px); border-color: var(--turq); box-shadow: 0 28px 50px -30px rgba(6, 40, 44, 0.55); }
.ind-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); border-bottom: 1.5px solid var(--line); }
.ind-thumb img, .ind-thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ind-thumb video { opacity: 0; transition: opacity 260ms var(--ease); }
.ind-thumb video.on { opacity: 1; }
.ind-len { position: absolute; inset-inline-end: 10px; bottom: 10px; padding: 5px 8px; border-radius: 7px; background: rgba(6, 36, 42, 0.78); color: #fff; font: 700 10px/1 var(--mono); letter-spacing: 0.16em; }
.ind-body { display: flex; flex: 1; flex-direction: column; padding: 18px 22px 20px; }
.ind-badge { align-self: flex-end; font: 600 11px/1 var(--mono); letter-spacing: 0.24em; color: var(--ink-soft); }
.ind-body h3 { margin-top: 10px; font: 700 23px/1.12 var(--display); color: var(--ink); }
.ind-body p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.ind-watch { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: auto; padding: 14px 0 0; border: 0; background: none; color: var(--turq-ink); font: 700 12px/1 var(--mono); letter-spacing: 0.16em; cursor: pointer; }
.ind-watch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* the whole card is the button's hit area */
.ind-watch i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; font-size: 11px; transition: background 160ms; }
.ind-card:hover .ind-watch i { background: var(--turq-ink); }
.ind-note { margin-top: 22px; text-align: center; font-size: 13px; color: var(--ink-soft); }

/* the film panel */
.ind-dialog { width: min(1180px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1.5px solid var(--line-2); border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 40px 90px -30px rgba(6, 36, 42, 0.55); overflow: auto; }
.ind-dialog::backdrop { background: rgba(6, 36, 42, 0.58); backdrop-filter: blur(3px); }
.ind-dialog[open] { animation: pop-in 240ms var(--ease); }
.ind-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 20px; border-bottom: 1.5px solid var(--line); background: #fbfefe; }
.ind-top .clip-label { font: 700 11px/1 var(--mono); letter-spacing: 0.22em; color: var(--ink-2); }
.ind-top .grow { flex: 1; }
.ind-nav, .ind-close { display: grid; place-items: center; height: 40px; min-width: 40px; padding: 0 12px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink-2); font: 700 11px/1 var(--mono); letter-spacing: 0.14em; cursor: pointer; }
.ind-nav:hover, .ind-close:hover { border-color: var(--turq); color: var(--turq-ink); }
.ind-main { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 26px; padding: 22px; }
.ind-player { position: relative; align-self: start; overflow: hidden; border-radius: 16px; background: #0b1a1f; aspect-ratio: 16 / 9; }
.ind-player.portrait { aspect-ratio: 9 / 16; max-height: calc(100dvh - 140px); margin-inline: auto; width: auto; }
.ind-player video { display: block; width: 100%; height: 100%; object-fit: contain; background: #0b1a1f; }
.ind-copy .ind-badge { display: block; text-align: start; }
.ind-copy h2 { margin-top: 10px; font: 700 clamp(26px, 3vw, 36px)/1.08 var(--display); }
.ind-copy .ind-title { margin-top: 8px; font-size: 17px; font-style: italic; color: var(--ink-2); }
.ind-copy h4 { margin-top: 20px; font: 700 11px/1 var(--mono); letter-spacing: 0.22em; color: var(--turq-ink); }
.ind-copy p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.ind-tasks { display: grid; gap: 10px; margin-top: 10px; padding: 0; list-style: none; }
.ind-tasks li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 14.5px; line-height: 1.45; color: var(--ink); }
.ind-chip { margin-top: 1px; padding: 5px 7px; border-radius: 6px; font: 700 9.5px/1 var(--mono); letter-spacing: 0.12em; white-space: nowrap; }
.ind-chip.ok { background: var(--mist); color: var(--turq-ink); }
.ind-chip.concept { background: #fff4e0; color: #8a5a00; }
.ind-control { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--paper-2); border: 1.5px solid var(--line); }
.ind-control p { margin: 0; font-size: 14px; }
.ind-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.ind-cta .btn { height: 46px; }

@media (max-width: 1100px) {
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-main { grid-template-columns: 1fr; }
  .ind-player.portrait { max-height: 72dvh; }
}
@media (max-width: 760px) {
  .ind-how { grid-template-columns: repeat(2, 1fr); }
  .ind-how li:nth-child(3) { border-inline-start: 0; }
  .ind-how li:nth-child(n + 3) { border-top: 1.5px solid var(--line); }
  .ind-grid { grid-template-columns: 1fr; }
  .ind-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; }
  .ind-main { padding: 14px; gap: 18px; }
  .ind-top .clip-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ind-card, .ind-thumb video, .ind-dialog[open] { transition: none; animation: none; }
  .ind-card:hover, .ind-card:focus-within { transform: none; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ind-control h4 { margin-top: 0; }
