/* SureSight industry pages — shared styles for /industries/ and every /industries/<slug>/ page.
   Palette and base rules mirror site/case-studies/_style.css; nav and footer rules mirror the
   inline copies in site/case-studies/index.html ("identical to the homepage"). Edit here once:
   every industry page links this file. See industry_pages_plan.md. */
:root{
  --cream:#f3eee5; --cream-2:#ece5d8; --panel:#e7dfd0; --panel-line:#d8cfbd;
  --ink:#1a1714; --ink-2:#12100d; --ink-line:#332c24;
  --orange:#d96a2c; --orange-soft:#e07b3e;
  --muted:#6f6656; --muted-ink:#9a8f7d; --cream-dim:#c9c0b0;
  --mono:ui-monospace,"Cascadia Code",Consolas,"SF Mono",Menlo,monospace;
  --sans:"Helvetica Neue",Arial,system-ui,-apple-system,"Segoe UI",sans-serif;
  --maxw:1180px;
}
*{margin:0;padding:0;box-sizing:border-box}
body{background:var(--cream);color:var(--ink);font-family:var(--sans);
  font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;
  display:flex;flex-direction:column;min-height:100vh}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 clamp(20px,5vw,56px)}
a{color:var(--orange);text-decoration:none}
a:hover{text-decoration:underline}
p{margin:0 0 16px}
.eyebrow{display:inline-block;font-family:var(--mono);font-size:12px;letter-spacing:.22em;
  text-transform:uppercase;color:var(--orange);font-weight:500}
h1{font-size:clamp(30px,5vw,48px);font-weight:700;letter-spacing:-.02em;line-height:1.06;
  margin:14px 0 12px;text-wrap:balance;max-width:22ch}
h2{font-size:clamp(24px,3vw,30px);font-weight:700;letter-spacing:-.01em;line-height:1.15;
  margin:0 0 14px;text-wrap:balance}
h2 .num{font-family:var(--mono);font-size:13px;letter-spacing:.1em;color:var(--orange);
  display:block;margin-bottom:8px;font-weight:500}
.intro{max-width:66ch;color:var(--muted);font-size:18px}

/* header / nav — identical to the homepage and other subpages */
.nav{position:sticky;top:0;z-index:50;background:rgba(26,23,20,.86);
  backdrop-filter:saturate(1.2) blur(12px);border-bottom:1px solid transparent;transition:border-color .3s}
.nav.scrolled{border-color:var(--ink-line)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{font-weight:700;letter-spacing:-.03em;font-size:20px;color:var(--cream)}
.brand:hover{text-decoration:none}
.brand .dot{color:var(--orange)}
.nav-links{display:flex;gap:30px;align-items:center}
.nav-links a{font-family:var(--sans);font-size:14.5px;color:var(--cream-dim);transition:color .2s}
.nav-links a:hover{color:var(--cream);text-decoration:none}
.btn{font-family:var(--sans);font-size:14.5px;font-weight:500;letter-spacing:-.01em;
  padding:10px 18px;border-radius:2px;border:1px solid var(--cream);color:var(--ink);
  background:var(--cream);cursor:pointer;text-decoration:none;
  transition:transform .15s,background .2s,color .2s;display:inline-block;text-align:center}
.btn:hover{background:var(--orange);border-color:var(--orange);color:#fff;transform:translateY(-1px);text-decoration:none}
.btn.ghost{background:transparent;color:var(--cream)}
.btn.ghost:hover{background:var(--cream);color:var(--ink)}
.nav .btn{padding:9px 16px;font-size:13.5px}
@media(max-width:820px){.nav-links a:not(.pill){display:none}}

/* page content grows to push the footer down */
main{flex:1 0 auto}
main.wrap{padding-top:28px;padding-bottom:80px}

/* breadcrumb */
.crumbs{font-family:var(--mono);font-size:12px;letter-spacing:.06em;color:var(--muted);margin-bottom:30px}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px}
.crumbs li+li::before{content:"›";margin-right:6px;color:var(--muted-ink)}
.crumbs a{color:var(--muted)} .crumbs a:hover{color:var(--orange)}

/* hero — full-width background image with the text over a dark gradient on the left
   (layout modeled on the reference Eddy picked, 2026-10-17). The image is an <img class="ind-hero-bg">
   so it can carry alt text and srcset; until Eddy's image is in, a .hero-ph placeholder fills it. */
.ind-hero{position:relative;overflow:hidden;background:var(--ink-2);color:var(--cream);
  min-height:min(86vh,780px);display:flex;align-items:flex-end}
.ind-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% center}
.ind-hero::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(18,16,13,.92) 0%,rgba(18,16,13,.72) 38%,rgba(18,16,13,.18) 72%,rgba(18,16,13,0) 100%),
             linear-gradient(0deg,rgba(18,16,13,.55) 0%,rgba(18,16,13,0) 45%)}
.ind-hero-in{position:relative;z-index:2;width:100%;padding-top:72px;padding-bottom:clamp(48px,8vw,96px)}
.ind-hero-in>*{max-width:640px}
.ind-hero .crumbs{color:var(--cream-dim);margin-bottom:clamp(24px,6vh,64px)}
.ind-hero .crumbs a{color:var(--cream-dim)} .ind-hero .crumbs a:hover{color:var(--orange-soft)}
.ind-hero .crumbs li+li::before{color:var(--muted-ink)}
.ind-hero .eyebrow{color:var(--orange-soft)}
.ind-hero h1{color:var(--cream);max-width:18ch}
.ind-hero .intro{color:var(--cream-dim);font-size:18px}
.ind-hero .ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
@media(max-width:700px){
  .ind-hero{min-height:0}
  .ind-hero::after{background:linear-gradient(0deg,rgba(18,16,13,.94) 0%,rgba(18,16,13,.8) 55%,rgba(18,16,13,.62) 100%)}
}
/* background placeholder: dark stripes, with its note pinned top-right so it stays clear of the headline */
.img-ph.hero-ph{position:absolute;inset:0;border:0;border-radius:0;padding:0;display:block;
  background:repeating-linear-gradient(135deg,#2a241e 0 18px,#221d18 18px 36px)}
.img-ph.hero-ph>*{position:relative;z-index:3}
.hero-ph .img-ph-label,.hero-ph .img-ph-desc,.hero-ph .img-ph-meta{display:block}
.hero-ph{color:var(--cream)}
.ind-hero .hero-ph .img-ph-desc,.ind-hero .hero-ph .img-ph-meta{color:var(--cream-dim);max-width:none}
.ind-hero .img-ph.hero-ph>.img-ph-label{margin-top:28px}
.ind-hero .img-ph.hero-ph>*{width:min(380px,calc(100% - 40px));margin:0 clamp(20px,4vw,48px) 0 auto;
  background:rgba(18,16,13,.82);padding:6px 14px}
.hero-ph .img-ph-label{border:2px dashed var(--orange);border-bottom:0;padding-top:12px}
.hero-ph .img-ph-desc{border-left:2px dashed var(--orange);border-right:2px dashed var(--orange)}
.hero-ph .img-ph-meta{border:2px dashed var(--orange);border-top:0;padding-bottom:12px}
/* on phones the note sits above the text instead of under it */
@media(max-width:700px){
  .ind-hero:has(.hero-ph){flex-direction:column;align-items:stretch}
  .img-ph.hero-ph{position:relative;inset:auto;padding:20px 0 0}
  .ind-hero .img-ph.hero-ph>*{width:auto;margin:0 20px}
  .ind-hero .img-ph.hero-ph>.img-ph-label{margin-top:0}
  .ind-hero:has(.hero-ph) .ind-hero-in{padding-top:24px}
}

/* sections */
.sec{margin-top:clamp(64px,8vw,96px)}
.sec>.lead{max-width:66ch;color:var(--muted);margin-bottom:28px}

/* IMAGE PLACEHOLDER — Eddy supplies every image. Replace the whole <figure class="img-ph">
   with an <img> (width, height, alt) when the image arrives. `grep img-ph` finds what's left.
   Set aspect-ratio inline to the real image's ratio so nothing jumps when it's swapped. */
.img-ph{margin:0;display:flex;flex-direction:column;justify-content:center;gap:8px;
  width:100%;padding:clamp(16px,3vw,28px);border:2px dashed var(--orange);border-radius:6px;
  background:repeating-linear-gradient(135deg,var(--cream-2) 0 14px,var(--panel) 14px 28px);
  color:var(--ink)}  /* no overflow:hidden: on narrow screens the box grows past its ratio rather than clipping text */
.img-ph-label{font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--orange);font-weight:600}
.img-ph .img-ph-desc{font-size:14px;line-height:1.45;margin:0;max-width:52ch}
.img-ph .img-ph-meta{font-family:var(--mono);font-size:11px;letter-spacing:.04em;color:var(--muted);margin:0;
  word-break:break-word}

/* industry cards (hub) — same look as the case-studies index cards */
.cards{margin-top:36px;display:grid;gap:22px;grid-template-columns:repeat(auto-fill,minmax(330px,1fr))}
@media(max-width:420px){.cards{grid-template-columns:1fr}}
.card{display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--panel-line);
  border-radius:6px;overflow:hidden;color:var(--ink);transition:transform .15s,border-color .2s,box-shadow .2s}
a.card:hover{transform:translateY(-3px);border-color:var(--orange);text-decoration:none;
  box-shadow:0 12px 30px rgba(26,23,20,.10)}
.card>.img-ph{border-width:0 0 2px;border-radius:0;padding:14px 18px;gap:6px}
.card>.img-ph .img-ph-desc{font-size:13px}
.card-thumb{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;
  background:var(--cream-2);border-bottom:1px solid var(--panel-line)}
.card-body{padding:22px 24px;display:flex;flex-direction:column;flex:1 0 auto}
.card .tag{font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--orange)}
.card h3{font-size:20px;letter-spacing:-.01em;line-height:1.16;margin:9px 0 9px}
.card p{font-size:14.5px;color:var(--muted);margin:0 0 16px}
.card .m{font-family:var(--mono);font-size:11.5px;letter-spacing:.04em;color:var(--muted);
  margin-top:auto;padding-top:13px;border-top:1px solid var(--panel-line)}

/* closing call to action */
.cta-band{background:var(--ink);color:var(--cream);border-radius:6px;padding:clamp(28px,4vw,44px);
  display:flex;flex-wrap:wrap;gap:20px 40px;align-items:center;justify-content:space-between}
.cta-band h2{color:var(--cream);margin:0 0 6px}
.cta-band p{color:var(--cream-dim);margin:0;max-width:56ch}

/* ---- industry page sections (see the template table in industry_pages_plan.md) ---- */
/* 3. the inspection problem: three short cards */
.probs{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.prob{background:var(--panel);border:1px solid var(--panel-line);border-top:3px solid var(--orange);
  border-radius:4px;padding:22px 24px}
.prob h3{font-size:18px;line-height:1.2;margin-bottom:8px}
.prob p{font-size:15px;color:var(--muted);margin:0}

/* 4. regulations and standards */
.stds{list-style:none;border-top:1px solid var(--panel-line)}
.stds li{display:grid;grid-template-columns:minmax(180px,260px) 1fr;gap:6px 28px;
  padding:16px 0;border-bottom:1px solid var(--panel-line)}
.stds .code{font-family:var(--mono);font-size:13px;letter-spacing:.03em;color:var(--ink);font-weight:600}
.stds .code small{display:block;font-weight:400;color:var(--muted);letter-spacing:0;margin-top:2px;font-size:12px}
.stds p{margin:0;font-size:15.5px;color:var(--muted)}
@media(max-width:640px){.stds li{grid-template-columns:1fr}}
.std-note{margin-top:18px;font-size:14.5px;color:var(--muted);max-width:70ch}

/* 5. applications: tiles with an image each */
.apps{display:grid;gap:22px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
/* four tiles read better as 2x2 than 3+1 */
.apps.n4{grid-template-columns:repeat(auto-fill,minmax(min(100%,420px),1fr))}
@media(max-width:420px){.apps{grid-template-columns:1fr}}
.app{background:var(--panel);border:1px solid var(--panel-line);border-radius:6px;overflow:hidden;
  display:flex;flex-direction:column}
.app>.img-ph{border-width:0 0 2px;border-radius:0;padding:14px 18px;gap:6px}
.app>.img-ph .img-ph-desc{font-size:13px}
.app-img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-bottom:1px solid var(--panel-line)}
.app-body{padding:20px 22px 22px}
.app h3{font-size:18px;line-height:1.2;margin-bottom:8px}
.app p{font-size:14.5px;color:var(--muted);margin:0 0 10px}
.app dl{font-size:14px;margin:0}
.app dt{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--orange);margin-top:10px}
.app dd{color:var(--ink);margin:2px 0 0}

/* 6. how it fits + 7. data and security */
.fit{display:grid;gap:22px 48px;grid-template-columns:repeat(2,1fr);list-style:none;max-width:980px}
@media(max-width:700px){.fit{grid-template-columns:1fr}}
.fit li{padding-left:18px;border-left:2px solid var(--orange)}
.fit b{display:block;font-size:16.5px;margin-bottom:4px}
.fit span{font-size:15px;color:var(--muted)}
.data-note{margin-top:34px;background:var(--panel);border:1px solid var(--panel-line);border-left:3px solid var(--orange);
  padding:18px 22px;border-radius:2px;font-size:15.5px;color:var(--muted)}
.data-note b{color:var(--ink)}
.data-note p:last-child{margin:0}

/* 8. related case studies reuse .cards/.card; a short note explains cross-industry picks */
.xnote{font-size:14.5px;color:var(--muted);max-width:70ch;margin-top:-10px}
.disclaimer{font-size:13px;color:var(--muted);margin-top:18px;max-width:80ch}

/* 9. FAQ */
.faq{border-top:1px solid var(--panel-line);max-width:860px}
.faq details{border-bottom:1px solid var(--panel-line)}
.faq summary{cursor:pointer;list-style:none;padding:18px 36px 18px 0;font-weight:600;font-size:17px;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:4px;top:14px;font-family:var(--mono);font-size:22px;color:var(--orange)}
.faq details[open] summary::after{content:"\2212"}
.faq details p{color:var(--muted);font-size:15.5px;padding:0 0 18px;margin:0;max-width:72ch}

/* 11. founder line */
.founder{margin-top:28px;font-size:15.5px;color:var(--muted);max-width:72ch;padding-left:18px;border-left:2px solid var(--panel-line)}

/* footer — identical to the homepage and other subpages */
footer{flex-shrink:0;background:var(--ink-2);color:var(--cream-dim);padding:56px 0 38px;border-top:1px solid var(--ink-line)}
.f-top{display:flex;justify-content:space-between;flex-wrap:wrap;gap:28px 48px;align-items:flex-start;
  padding-bottom:30px;border-bottom:1px solid var(--ink-line)}
footer .brand{color:var(--cream);font-size:22px}
.f-tag{margin-top:12px;font-size:14.5px;line-height:1.5;color:var(--cream-dim)}
.f-cols{display:flex;gap:44px 64px;flex-wrap:wrap}
.f-col{display:flex;flex-direction:column;gap:11px}
.f-col h4{font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--muted-ink);font-weight:400;margin-bottom:3px}
.f-col a{font-size:14px;color:var(--cream-dim)} .f-col a:hover{color:var(--orange-soft);text-decoration:none}
.f-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:24px}
.f-fine{font-family:var(--mono);font-size:11.5px;letter-spacing:.06em;color:var(--muted-ink)}
.f-fine b{color:var(--cream-dim);font-weight:400}
