/* Industry pages under /industries/ (_skyprep_industry_page.php, DESIGN-SYSTEM.md). The sections come from the LMS page
   (skyprep-lms.css) and the product cards from the feature pages (skyprep-feature.css); this file adds the hero board,
   the industry logo strip, the platform picture and the use case tabs. Prefix in-. */

/* Hero: the LMS page's blue hero. An industry page is a detail page, so its eyebrow is the small dashed label. */
.in-hero .lm-eyebrow{display:flex;margin-bottom:20px!important;color:#cfe0ff;font-family:var(--lm-heading);font-size:13px;font-weight:600;letter-spacing:.08em}
.in-hero .lm-eyebrow:before{content:""}
.in-hero h1{text-wrap:balance}
/* The orange underline sits close under the letters, as on the homepage ("the mess"), and just clears descenders
   (the g in "moving."). Solid orange, without the light edge the LMS hero gives it. */
.in-hero h1>span:not(.in-h1-intro):after{bottom:-.12em;box-shadow:none}
.in-hero .lm-hero-labels{padding:0;list-style:none}

/* Board: the team card, with two cards floating over its corners. */
.in-board{position:relative;padding:40px 36px 56px 28px}
.in-board-main{position:relative;padding:24px;border-radius:24px;color:var(--lm-ink);box-shadow:0 30px 70px #04173961}
.in-board-main .fe-head strong{font-size:19px}
.in-board-main .fe-rows{margin-top:16px!important}
.in-board-main .fe-rows li{padding-block:11px}
.in-board-float{position:absolute;z-index:1;padding:14px 16px;color:var(--lm-ink);box-shadow:0 20px 44px #0417394d}
.in-board-float strong{font-size:15px}
.in-board-cert{top:0;right:0}
.in-board-remind{bottom:0;left:0}

/* Logo strip: the industry's own clients in colour files, shown grey like the other strips. */
.in-logos .sp-logos-inner img{width:140px;height:56px;filter:grayscale(1);mix-blend-mode:multiply;opacity:.75}
/* A page with fewer approved logos than six keeps them in one centred row. */
.in-logos .sp-logos-inner ul{grid-template-columns:repeat(var(--in-logos,6),minmax(0,180px));justify-content:center}
/* Logo files with wide empty margins, scaled up to match the others; each cell clips the scaled margins. */
.in-logos .sp-logos-inner li{overflow:hidden}
.in-logos .sp-logos-inner img[alt='Interbake Foods'],.in-logos .sp-logos-inner img[alt='Swann'],.in-logos .sp-logos-inner img[alt='PatientPing'],.in-logos .sp-logos-inner img[alt='Woof Gang Bakery']{transform:scale(1.7)}

/* Platform: the features as an icon list in two columns, and the employee's learning as stacked cards. */
.in-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;margin:28px 0 30px!important}
.in-features li{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:600;line-height:1.35}
.in-features .fe-icon-sq{width:36px;height:36px;border-radius:10px;background:#fff;box-shadow:0 6px 14px #1847940f}
.in-features .fe-icon-sq svg{width:18px;height:18px}
.in-platform-art>div{display:grid;gap:18px}
.in-journey strong,.in-record strong{margin-top:4px;font-size:18px}
.in-journey .fe-milestones{margin-top:22px!important}
.in-record{margin-left:clamp(0px,4vw,48px)}
/* A record card on its own (manufacturing) sits square, with the doc's line under it. */
.in-platform-art .in-record:first-child{margin-left:0}
.in-platform-art .in-platform-note{justify-self:center;text-align:center}

/* Use cases: tabs on the left, the chosen one's text and picture on the right. */
.in-tabs{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,2fr);align-items:start;gap:28px}
/* !important: the old theme's unify-components.css sets every [role="tablist"] to display:block with a stronger selector. */
.in-tab-list{display:grid!important;gap:10px}
.in-tab{display:flex;align-items:center;gap:14px;padding:18px 20px;border:2px solid transparent;border-radius:18px;background:var(--lm-surface);color:var(--lm-ink);font-family:var(--lm-heading);font-size:17px;font-weight:600;line-height:1.35;text-align:left;cursor:pointer;transition:background .2s,border-color .2s,box-shadow .2s}
.in-tab span{display:grid;flex:none;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff;color:var(--lm-blue);font-size:13px}
.in-tab:hover{background:var(--lm-blue-soft)}
.in-tab:focus-visible{outline:3px solid var(--lm-blue);outline-offset:3px}
.in-tab[aria-selected="true"]{border-color:var(--lm-blue);background:#fff;box-shadow:0 18px 40px #3772e92e}
.in-tab[aria-selected="true"] span{background:var(--lm-blue);color:#fff}
.in-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:center;gap:clamp(24px,4vw,48px);padding:36px;border-radius:28px;background:linear-gradient(125deg,#f2f7ff,#e6efff);animation:in-panel-in .3s ease}
.in-panel+.in-panel{margin-top:16px}
.in-panel[hidden]{display:none}
.in-panel-label{color:var(--lm-blue);font-family:var(--lm-heading);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.in-panel h3{margin-top:10px;font-size:28px;--lm-lh:1.25}
.in-panel-copy>p:last-child{margin-top:14px!important;color:var(--lm-muted);font-size:17px;line-height:1.55}
.in-panel-vis{min-height:260px;background:#ffffffa6}
.in-panel-vis .fe-steps li{padding-block:8px}
@keyframes in-panel-in{from{opacity:0;translate:0 8px}}
@media (prefers-reduced-motion:reduce){.in-panel{animation:none}}

/* A quote from a customer story links to the story under the customer's name. */
.in-story-link{display:inline-flex;align-items:center;gap:6px;margin-top:2px;color:#fff!important;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.in-story-link svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}

/* Workflow: the LMS page's dark band; the steps are an ordered list. */
.in-steps{margin:0!important;padding:0;list-style:none}
.in-steps .lm-number{letter-spacing:.1em}

@media (max-width:1020px){
    .in-board{max-width:560px;margin-inline:auto}
    .in-tabs{grid-template-columns:1fr}
    .in-tab-list{grid-template-columns:repeat(2,minmax(0,1fr))}
    .in-panel{grid-template-columns:1fr}
}
@media (max-width:700px){
    .in-board{padding:52px 0 48px}
    .in-board-main{padding:18px}
    .in-board-main .fe-rows small{display:none}
    .in-board-cert{right:-4px}
    .in-board-remind{left:-4px}
    .in-logos .sp-logos-inner ul{grid-template-columns:repeat(3,minmax(0,1fr))}
    .in-logos .sp-logos-inner img{width:100px;height:44px}
    .in-features{grid-template-columns:1fr}
    .in-record{margin-left:0}
    .in-tab-list{grid-template-columns:1fr;gap:8px}
    .in-tab{padding:14px 16px;font-size:16px}
    .in-panel{padding:24px 20px;border-radius:22px}
    .in-panel h3{font-size:23px}
    .in-panel-copy>p:last-child{font-size:16px}
    .in-panel-vis{min-height:0;padding:16px}
}

/* People-led hero: opt-in per industry; the other industry illustrations keep their existing layout. */
.in-hero-people .lm-hero-grid{grid-template-columns:1.02fr .98fr;gap:clamp(36px,4vw,64px)}
.in-hero-people h1{font-size:clamp(48px,4.1vw,60px);text-wrap:balance}
.in-hero-people h1 .in-h1-intro{display:block;margin-bottom:5px;white-space:normal}
.in-hero-people h1 .in-h1-intro:after{content:none}
.in-hero-people .lm-hero-copy>p:not(.lm-eyebrow){max-width:535px;margin-top:30px!important;font-size:19px;line-height:1.5}
.in-hero-people .in-board-people{width:100%;max-width:none;padding:18px 8px 36px 16px}
.in-care-visual{position:relative;isolation:isolate}
.in-care-visual:before{content:"";position:absolute;z-index:-1;inset:8px -10px -10px 8px;border-radius:30px;background:#a6c9ff47;transform:rotate(-3deg)}
.in-care-photo{position:relative;aspect-ratio:4/3;overflow:hidden;border:6px solid #ffffffed;border-radius:28px;background:#e6effb;box-shadow:0 28px 65px #04173959;transform:rotate(1deg)}
.in-care-photo img{display:block;width:100%;height:100%;object-fit:cover}
/* A SkyPrep card over the photo: the team's progress on the lower left edge. */
.in-photo-card{position:absolute;z-index:1;padding:14px 18px 14px 14px;color:var(--lm-ink);box-shadow:0 18px 40px #04173938}
.in-photo-card strong{font-size:15px}
.in-photo-card .fe-ring,.in-photo-card .fe-ring svg{width:52px;height:52px}
.in-photo-card .fe-ring b{font-size:12px}
.in-photo-card-a{left:-20px;bottom:-24px}
.in-hero-people .lm-hero-labels{margin-top:40px!important}
.in-hero-people .lm-hero-labels li{font-size:15px}
@media(max-width:1020px){
    .in-hero-people .lm-hero-grid{grid-template-columns:1fr;gap:32px}
    .in-hero-people h1{max-width:760px;font-size:clamp(44px,6vw,56px)}
    .in-hero-people .lm-hero-copy>p:not(.lm-eyebrow){max-width:660px}
    .in-hero-people .in-board-people{max-width:620px;padding:12px 12px 32px;margin-inline:auto}
}
@media(max-width:700px){
    .in-hero-people h1{font-size:clamp(36px,10vw,44px)}
    .in-hero-people h1 .in-h1-intro{margin-bottom:4px}
    .in-hero-people .lm-hero-copy>p:not(.lm-eyebrow){margin:24px 0!important;font-size:17px;line-height:1.5}
    .in-hero-people .in-board-people{padding:8px 0 28px}
    .in-care-photo{border-width:4px;border-radius:24px;transform:none}
    .in-care-visual:before{inset:8px -6px -7px 6px;border-radius:24px;transform:rotate(-2deg)}
    .in-photo-card-a{left:12px;bottom:-20px;max-width:calc(100% - 24px);padding:10px 14px 10px 10px}
    .in-photo-card-a .fe-ring,.in-photo-card-a .fe-ring svg{width:44px;height:44px}
    .in-photo-card strong{font-size:14px}
    .in-hero-people .lm-hero-labels{margin-top:28px!important}
    .in-hero-people .lm-hero-labels li{padding:10px 14px;font-size:15px}
}
