/* =====================================================================
   Industry pages, clean style (2026-11-15).
   The single and the list are composed from shared blocks, so nothing here
   touches a block's PHP or its global CSS: every rule is scoped to
   .single-industry or .post-type-archive-industry and gives the shared
   output the values of the clean recipe (.ix-card, .ix-photo, .ix-chips,
   a.pl-link) defined in theme.css and shared-platform-commerce.css.
   The closing form and the FAQ block are deliberately left alone.
   Loaded after readability.css (inc/clean-industry.php). The readability layer forces 13px on
   small labels through :is() lists that carry an id's weight; :not(#_) matches every element
   and lifts a rule above them where a label has to be 14px or 15px like the reference pages.
   ===================================================================== */
.single-industry,.post-type-archive-industry{--ind-pad:clamp(20px,2.2vw,28px);--ind-gap:clamp(14px,1.6vw,22px)}

/* ---------- Rhythm: every section sits one theme section gap below the one before ----------
   (the two sections that come from post content had 4vw and 7vw above them; the rest had the gap token) */
.single-industry .ix-main > :is(section,nav).sec:not(.ix-faq),.single-industry .ix-main > .ix-content > .sec{margin-top:var(--sec-gap)!important;margin-block-start:var(--sec-gap)!important}
/* The closing section brings its own padding-block (8vw). As a direct child of main it also picked up the template's 8vw section
   margin, a doubled gap of about 166px; other families nest it in the post content, where it has the padding only. */
.single-industry .ix-main > section.ix-close,.post-type-archive-industry .ix-main > section.ix-close{margin-top:0!important;margin-block-start:0!important}

/* ---------- Hero: copy, three facts, one photograph in a plain frame ---------- */
.single-industry .svc-hero .wrap > *{min-width:0}
.single-industry .svc-hero .crumbs{flex-wrap:wrap}
.single-industry .svc-hero h1 .plus{color:inherit}
.single-industry .svc-hero .hero-image{order:0;align-self:start;margin:clamp(0px,3vw,40px) 0 0;padding:0;overflow:hidden;aspect-ratio:1/1;
  border-radius:var(--r-lg);background:var(--surface,#e7e3da);box-shadow:none}
.single-industry .svc-hero .hero-image::before{content:none}
.single-industry .svc-hero .hero-image img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}
@media (max-width:1100px){.single-industry .svc-hero .hero-image{aspect-ratio:21/9;margin-top:0}}
@media (max-width:640px){.single-industry .svc-hero .hero-image{aspect-ratio:16/10}}
.single-industry .hero-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.single-industry .hero-meta:has(> :nth-child(4):last-child),.single-industry .hero-meta:has(> :nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.single-industry .hero-meta li{background:var(--card);box-shadow:0 0 0 1px var(--line);border-radius:var(--r-md);padding:12px 14px;-webkit-backdrop-filter:none;backdrop-filter:none}
.single-industry .hero-meta b{font-size:1.15rem;font-weight:500;letter-spacing:-.02em;line-height:1.15}
.single-industry .hero-meta span{font-size:14px;line-height:1.4;color:var(--ink-2)}
@media (max-width:640px){
  .single-industry .hero-meta.hero-meta{grid-template-columns:minmax(0,1fr)}
}

/* ---------- One grid for challenges, related cards and platform links ----------
   Three to a row. A remainder never leaves a lone card: four sit two and two,
   five sit three and two, seven sit three, two and two. */
.single-industry :is(.ix-problem-grid,.ix-related-cards .cards,.ix-link-row){display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:var(--ind-gap)!important;list-style:none;margin:0;padding:0}
.single-industry :is(.ix-problem-grid,.ix-related-cards .cards,.ix-link-row) > *{min-width:0}
@media (min-width:1001px){
  .single-industry :is(.ix-problem-grid,.ix-related-cards .cards,.ix-link-row) > *{grid-column:span 2!important}
  .single-industry :is(.ix-problem-grid,.ix-related-cards .cards,.ix-link-row):has(> :last-child:nth-child(3n+2)) > :nth-last-child(-n+2){grid-column:span 3!important}
  .single-industry :is(.ix-problem-grid,.ix-related-cards .cards,.ix-link-row):has(> :last-child:nth-child(3n+1)) > :nth-last-child(-n+4){grid-column:span 3!important}
  .single-industry :is(.ix-problem-grid,.ix-related-cards .cards,.ix-link-row):has(> :only-child) > :only-child:nth-child(n):nth-child(n){grid-column:span 6!important}
}
@media (min-width:641px) and (max-width:1000px){
  .single-industry :is(.ix-problem-grid,.ix-related-cards .cards,.ix-link-row) > *{grid-column:span 3!important}
  .single-industry :is(.ix-problem-grid,.ix-related-cards .cards,.ix-link-row) > :last-child:nth-child(odd){grid-column:span 6!important}
}
@media (max-width:640px){
  .single-industry :is(.ix-problem-grid,.ix-related-cards .cards,.ix-link-row) > *{grid-column:span 6!important}
}

/* ---------- Challenges: uniform cards, the answer under a hairline ---------- */
.single-industry .ix-problem{display:flex;flex-direction:column;padding:var(--ind-pad);border-radius:var(--r-lg);background:var(--card);color:var(--ink);
  box-shadow:0 0 0 1px var(--line);-webkit-backdrop-filter:none;backdrop-filter:none}
.single-industry .ix-problem h3{display:block;font-size:1.25rem;font-weight:500;line-height:1.2;letter-spacing:-.02em}
.single-industry .ix-problem .ix-fix-head{margin:14px 0 0;padding-top:12px;border-top:1px solid var(--line)}
.single-industry:not(#_) .ix-problem .ix-fix-label{font-family:"Geist",system-ui,sans-serif;font-size:14px!important;font-weight:500;line-height:1.3;letter-spacing:-.005em;
  text-transform:none;color:var(--muted);margin:0}
.single-industry .ix-problem .ix-fix-head + p{margin-top:4px;font-size:16px;line-height:1.55;color:var(--ink-2)}

/* ---------- "How we see it": heading block, prose, one dark quote card ---------- */
.single-industry .ixb-expl{gap:clamp(24px,4vw,64px);align-items:start}
.single-industry .ixb-prose > .pill{align-self:flex-start}
.single-industry .ix-content .ixb-prose h2{font-size:clamp(2rem,4.2vw,3.5rem);margin:14px 0 clamp(24px,3vw,40px)}
.single-industry .ixb-prose h2 + p{margin-top:0}
.single-industry .ixb-prose p{font-size:17px;line-height:1.6;color:var(--ink-2);max-width:68ch}
.single-industry .ix-content .ixb-prose h3{font-size:1.25rem;font-weight:500;line-height:1.2;letter-spacing:-.02em;margin-top:28px}
.single-industry .ixb-quote-card{position:static;padding:var(--ind-pad);border-radius:var(--r-lg);background:var(--dark);color:#f6f4ef;box-shadow:none}
.single-industry .ixb-quote-card blockquote p{font-size:clamp(1.25rem,2vw,1.6rem);font-weight:500;line-height:1.3;letter-spacing:-.02em;color:#f6f4ef;max-width:none}
.single-industry .ixb-quote-card blockquote p::before{content:none}
.single-industry:not(#_) .ixb-quote-card cite{margin-top:14px;font-family:"Geist",system-ui,sans-serif;font-size:14px!important;font-weight:500;line-height:1.3;
  letter-spacing:-.005em;text-transform:none;color:#d6d2c8}
@media (min-width:901px){.single-industry .ixb-quote-card{margin-top:clamp(40px,4vw,52px)}}
@media (max-width:600px){.single-industry .ix-content .ixb-prose h2{font-size:min(1.5rem,6.4vw);line-height:1.1}}

/* ---------- "A typical first two months": static steps, the last one blue ---------- */
.single-industry .ixb-htl.timeline{grid-template-columns:repeat(var(--ixb-n,4),minmax(0,1fr));gap:var(--ind-gap)}
.single-industry .ixb-htl.timeline:has(> li:nth-of-type(5)){grid-template-columns:repeat(3,minmax(0,1fr))}
.single-industry .ixb-htl.timeline > li{grid-column:auto;display:flex;flex-direction:column;padding:var(--ind-pad);border-radius:var(--r-lg);background:var(--card);
  color:var(--ink);box-shadow:0 0 0 1px var(--line);translate:none!important;transition:none}
.single-industry .ixb-htl.timeline > li::before{content:none}
.single-industry .ixb-htl.timeline > li > *{opacity:1!important}
.single-industry .ixb-htl.timeline :is(.gm-rail,.gm-tick,.gm-glow,.gm-badge){display:none!important}
.single-industry .ixb-htl.timeline h3{font-size:1.25rem;font-weight:500;line-height:1.2;letter-spacing:-.02em;margin:0 0 8px}
.single-industry .ixb-htl.timeline p{font-size:16px;line-height:1.55;color:var(--ink-2);max-width:none}
.single-industry:not(#_) .ixb-htl.timeline .when{order:-1;display:block;margin:0 0 8px;padding:0;background:none;font-family:"Geist",system-ui,sans-serif;
  font-size:14px!important;font-weight:500;line-height:1.3;letter-spacing:-.005em;text-transform:none;color:var(--muted)!important}
.single-industry .ixb-htl.timeline > li:last-of-type{background:var(--lime-2);color:#fff;box-shadow:none}
.single-industry .ixb-htl.timeline > li:last-of-type p,.single-industry:not(#_) .ixb-htl.timeline > li:last-of-type .when{color:#fff!important}
.single-industry .ixb-tl-sec .ixb-note{margin-top:14px;font-size:14px;line-height:1.4;color:var(--muted)}
@media (max-width:1000px){
  .single-industry .ixb-htl.timeline.timeline{grid-template-columns:repeat(2,minmax(0,1fr))}
  .single-industry .ixb-htl.timeline > li:last-of-type:nth-of-type(odd){grid-column:1 / -1}
}
@media (max-width:640px){
  .single-industry .ixb-htl.timeline.timeline{grid-template-columns:minmax(0,1fr)}
  .single-industry .ixb-htl.timeline > li:last-of-type:nth-of-type(odd){grid-column:auto}
}

/* ---------- Related services and related work: whole-card links ---------- */
.single-industry .ix-related-cards .card.ix-entry{min-height:0;gap:6px;padding:var(--ind-pad);border-radius:var(--r-lg);background:var(--card);color:var(--ink);
  box-shadow:0 0 0 1px var(--line);-webkit-backdrop-filter:none;backdrop-filter:none;text-decoration:none;transition:transform .3s var(--ease),box-shadow .3s}
.single-industry .ix-related-cards .card.ix-entry:hover{transform:translateY(-3px);background:var(--card);box-shadow:0 0 0 1px var(--line),0 22px 44px -30px rgb(22 21 19/.45)}
.single-industry .ix-related-cards a.card.ix-entry:focus-visible{outline:2px solid var(--lime-2);outline-offset:2px}
.single-industry .ix-related-cards .ix-card-icon{display:none}
.single-industry .ix-related-cards .ix-entry-top:not(:has(.ix-entry-label)){display:none}
.single-industry:not(#_) .ix-related-cards .ix-entry-label{font-family:"Geist",system-ui,sans-serif;font-size:14px!important;font-weight:500;letter-spacing:-.005em;
  text-transform:none;text-align:left;color:var(--muted)}
.single-industry .ix-related-cards .ix-entry-media{margin:calc(var(--ind-pad) * -1) calc(var(--ind-pad) * -1) 12px;aspect-ratio:16/10;background:var(--surface,#e7e3da)}
.single-industry .ix-related-cards .ix-entry h3{margin-top:0;font-size:1.25rem;font-weight:500;line-height:1.2;letter-spacing:-.02em}
.single-industry .ix-related-cards .ix-entry p{font-size:15px;line-height:1.5;color:var(--ink-2);max-width:none}
.single-industry .ix-related-cards .ix-entry .foot{justify-content:flex-start;gap:6px;margin-top:auto;padding-top:14px;border-top:0;color:var(--lime-2)}
.single-industry:not(#_) .ix-related-cards .ix-entry .foot span{font-family:"Geist",system-ui,sans-serif;font-size:15px!important;font-weight:500;line-height:1.3;
  letter-spacing:-.005em;text-transform:none;color:var(--lime-2)}

/* ---------- Platforms we work with: the same card, one line tall ---------- */
.single-industry .ix-related-links .sec-h h2{font-size:clamp(2rem,4.2vw,3.5rem)}
.single-industry .ix-link-row a{display:flex;align-items:center;gap:10px;min-height:60px;padding:14px 18px;border-radius:var(--r-lg);background:var(--card);
  color:var(--ink);box-shadow:0 0 0 1px var(--line);-webkit-backdrop-filter:none;backdrop-filter:none;font-size:1.0625rem;font-weight:500;line-height:1.25;
  letter-spacing:-.01em;text-decoration:none;transition:transform .3s var(--ease),box-shadow .3s}
.single-industry .ix-link-row a:hover{transform:translateY(-3px);color:var(--ink);box-shadow:0 0 0 1px var(--line),0 22px 44px -30px rgb(22 21 19/.45)}
.single-industry .ix-link-row a:focus-visible{outline:2px solid var(--lime-2);outline-offset:2px}
.single-industry .ix-link-row img{flex:none;width:22px;height:22px}
.single-industry .ix-link-row a > span{min-width:0;overflow-wrap:anywhere}
.single-industry .ix-link-row i{margin-left:auto;font-style:normal;color:var(--lime-2)}

/* ---------- Previous / next ---------- */
.single-industry .ix-pager{gap:var(--ind-gap)}
.single-industry .ix-pager a{gap:6px;padding:var(--ind-pad);border-radius:var(--r-lg);background:var(--card);color:var(--ink);box-shadow:0 0 0 1px var(--line);
  -webkit-backdrop-filter:none;backdrop-filter:none;transition:transform .3s var(--ease),box-shadow .3s}
.single-industry .ix-pager a:hover{transform:translateY(-3px);box-shadow:0 0 0 1px var(--line),0 22px 44px -30px rgb(22 21 19/.45)}
.single-industry .ix-pager a:focus-visible{outline:2px solid var(--lime-2);outline-offset:2px}
.single-industry:not(#_) .ix-pager small{font-family:"Geist",system-ui,sans-serif;font-size:14px!important;font-weight:500;line-height:1.3;letter-spacing:-.005em;
  text-transform:none;color:var(--muted)}
.single-industry .ix-pager b{font-size:1.25rem;font-weight:500;line-height:1.2;letter-spacing:-.02em}

@media (prefers-reduced-motion:reduce){
  .single-industry :is(.ix-related-cards .card.ix-entry,.ix-link-row a,.ix-pager a){transition:none}
  .single-industry :is(.ix-related-cards .card.ix-entry,.ix-link-row a,.ix-pager a):hover{transform:none}
}

/* =====================================================================
   The list: one photo card for every industry, as on /work/.
   ===================================================================== */
.post-type-archive-industry .ix-collection .cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--ind-gap)!important}
.post-type-archive-industry .ix-collection .cards > *{grid-column:auto!important;min-width:0}
.post-type-archive-industry .ix-collection .card.ix-entry{min-height:0;gap:6px;padding:var(--ind-pad);border-radius:var(--r-lg);overflow:hidden;background:var(--card);
  color:var(--ink);box-shadow:0 0 0 1px var(--line);-webkit-backdrop-filter:none;backdrop-filter:none;transition:transform .3s var(--ease),box-shadow .3s}
.post-type-archive-industry .ix-collection .card.ix-entry:hover{transform:translateY(-3px);background:var(--card);box-shadow:0 0 0 1px var(--line),0 22px 44px -30px rgb(22 21 19/.45)}
.post-type-archive-industry .ix-collection .card.ix-entry:focus-within{outline:2px solid var(--lime-2);outline-offset:2px}
.post-type-archive-industry .ix-collection .ix-entry-media{flex:none;margin:calc(var(--ind-pad) * -1) calc(var(--ind-pad) * -1) 12px;border-radius:0;aspect-ratio:16/10;
  background:var(--surface,#e7e3da)}
.post-type-archive-industry .ix-collection .ix-entry-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.post-type-archive-industry .ix-collection .card.ix-entry:hover .ix-entry-media img{transform:scale(1.03)}
.post-type-archive-industry .ix-collection .ix-entry h3{margin-top:0;font-size:1.25rem;font-weight:500;line-height:1.2;letter-spacing:-.02em}
.post-type-archive-industry .ix-collection .ix-entry p{font-size:15px;line-height:1.5;color:var(--ink-2);max-width:none}
.post-type-archive-industry .ix-collection .ix-tags{gap:6px;margin:8px 0 0;padding:0}
.post-type-archive-industry .ix-collection .ix-tags li{font-family:"Geist",system-ui,sans-serif;font-size:13px!important;line-height:1.2;letter-spacing:0;padding:4px 9px;
  border-radius:999px;background:var(--surface,#e7e3da);color:var(--ink);box-shadow:none}
.post-type-archive-industry .ix-collection .ix-entry .foot{justify-content:flex-start;gap:6px;margin-top:auto;padding-top:14px;border-top:0;color:var(--lime-2)}
.post-type-archive-industry:not(#_) .ix-collection .ix-entry .foot span{font-family:"Geist",system-ui,sans-serif;font-size:15px!important;font-weight:500;line-height:1.3;
  letter-spacing:-.005em;text-transform:none;color:var(--lime-2)}

/* A card left alone on the last row lies down across the row: its photograph keeps the width of
   the first column, so it still lines up with the cards above. */
@media (min-width:641px){
  .post-type-archive-industry .ix-collection .cards > .card.ix-entry:last-child:nth-child(3n+1){grid-column:1 / -1!important;display:grid;
    grid-template-columns:calc((100% + var(--ind-pad) * 2 - var(--ind-gap) * 2) / 3 - var(--ind-pad)) minmax(0,1fr);
    grid-template-rows:auto auto auto minmax(0,1fr);column-gap:calc(var(--ind-gap) + var(--ind-pad));row-gap:6px;align-items:start}
  .post-type-archive-industry .ix-collection .cards > .card.ix-entry:last-child:nth-child(3n+1) > *{grid-column:2}
  .post-type-archive-industry .ix-collection .cards > .card.ix-entry:last-child:nth-child(3n+1) > .ix-entry-media{grid-column:1;grid-row:1 / -1;align-self:stretch;
    margin:calc(var(--ind-pad) * -1) 0 calc(var(--ind-pad) * -1) calc(var(--ind-pad) * -1);aspect-ratio:auto;min-height:220px}
  .post-type-archive-industry .ix-collection .cards > .card.ix-entry:last-child:nth-child(3n+1) > .foot{align-self:end}
}
@media (min-width:641px) and (max-width:1000px){
  .post-type-archive-industry .ix-collection .cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .post-type-archive-industry .ix-collection .cards > .card.ix-entry:last-child:nth-child(3n+1){display:flex;grid-column:auto!important}
  .post-type-archive-industry .ix-collection .cards > .card.ix-entry:last-child:nth-child(3n+1) > .ix-entry-media{margin:calc(var(--ind-pad) * -1) calc(var(--ind-pad) * -1) 12px;aspect-ratio:16/10;min-height:0;align-self:auto}
  .post-type-archive-industry .ix-collection .cards > .card.ix-entry:last-child:nth-child(3n+1) > .foot{align-self:auto}
  .post-type-archive-industry .ix-collection .cards > .card.ix-entry:last-child:nth-child(odd){grid-column:1 / -1!important;display:grid;
    grid-template-columns:calc((100% + var(--ind-pad) * 2 - var(--ind-gap)) / 2 - var(--ind-pad)) minmax(0,1fr);
    grid-template-rows:auto auto auto minmax(0,1fr);column-gap:calc(var(--ind-gap) + var(--ind-pad));row-gap:6px;align-items:start}
  .post-type-archive-industry .ix-collection .cards > .card.ix-entry:last-child:nth-child(odd) > *{grid-column:2}
  .post-type-archive-industry .ix-collection .cards > .card.ix-entry:last-child:nth-child(odd) > .ix-entry-media{grid-column:1;grid-row:1 / -1;align-self:stretch;
    margin:calc(var(--ind-pad) * -1) 0 calc(var(--ind-pad) * -1) calc(var(--ind-pad) * -1);aspect-ratio:auto;min-height:220px}
  .post-type-archive-industry .ix-collection .cards > .card.ix-entry:last-child:nth-child(odd) > .foot{align-self:end}
}
@media (max-width:640px){
  .post-type-archive-industry .ix-collection .cards{grid-template-columns:minmax(0,1fr)!important}
}
@media (prefers-reduced-motion:reduce){
  .post-type-archive-industry .ix-collection .card.ix-entry,.post-type-archive-industry .ix-collection .ix-entry-media img{transition:none}
  .post-type-archive-industry .ix-collection .card.ix-entry:hover,.post-type-archive-industry .ix-collection .card.ix-entry:hover .ix-entry-media img{transform:none}
}
