/* industry.css - the shared look of the industry sample sites (PLAN IND). Each page sets only its theme
   variables (colours + fonts) in a small <style> block; everything else lives here and, for a designed layout, in
   l-<layout>.css. Copied into bot/samples/industries/ by samples-src/build.py - edit THIS file, not the copy.

   Scope (IND14): the classic rules apply only where <body> names no layout. `:where(body:not([class*="L-"]))` adds no
   specificity, so a classic page (and the gallery) - whose <body> has no class at all - matches exactly as it always
   has, and a designed page (<body class="L-editorial ...">) starts from the shared base below, not from classic. */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.6 var(--body),system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
:focus-visible{outline:3px solid var(--highlight);outline-offset:3px;border-radius:6px}
:where(body:not([class*="L-"])) .wrap{width:min(1160px,100% - 40px);margin-inline:auto}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:var(--bg);padding:10px 14px;z-index:100}
.skip:focus{left:10px;top:10px}
:where(body:not([class*="L-"])) h1,:where(body:not([class*="L-"])) h2,:where(body:not([class*="L-"])) h3{font-family:var(--display),Georgia,serif;font-weight:var(--display-weight,600);line-height:1.08;letter-spacing:-.01em;margin:0}
:where(body:not([class*="L-"])) h2{font-size:clamp(2rem,1.4rem + 2.4vw,3.1rem)}
:where(body:not([class*="L-"])) h3{font-size:1.45rem}
:where(body:not([class*="L-"])) em.accent{font-style:italic;color:var(--accent)}
:where(body:not([class*="L-"])) .eyebrow{display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--highlight)}
:where(body:not([class*="L-"])) .lede{color:var(--muted);font-size:1.08rem;max-width:60ch}

/* the demo label: the first and the last line of every sample page */
.demo-bar{background:var(--ink);color:var(--bg);font-size:.8rem;text-align:center;padding:8px 16px;line-height:1.4}
.demo-bar b{letter-spacing:.08em}
.demo-bar a{color:inherit;text-underline-offset:2px}

/* header */
:where(body:not([class*="L-"])) .nav{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--bg) 92%,transparent);backdrop-filter:saturate(1.2) blur(10px);border-bottom:1px solid var(--line)}
:where(body:not([class*="L-"])) .nav .wrap{display:flex;align-items:center;gap:24px;min-height:68px}
:where(body:not([class*="L-"])) .brand{font-family:var(--display),Georgia,serif;font-size:1.55rem;font-weight:600;text-decoration:none;white-space:nowrap}
:where(body:not([class*="L-"])) .brand small{display:block;font-family:var(--body),sans-serif;font-size:.62rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-top:-2px}
:where(body:not([class*="L-"])) .nav ul{list-style:none;display:flex;gap:22px;margin:0 0 0 auto;padding:0}
:where(body:not([class*="L-"])) .nav ul a{text-decoration:none;font-weight:600;font-size:.94rem;color:var(--muted)}
:where(body:not([class*="L-"])) .nav ul a:hover{color:var(--ink)}
:where(body:not([class*="L-"])) .menu-btn{display:none;margin-left:auto;background:none;border:1px solid var(--line);border-radius:10px;padding:8px 12px;font:inherit;font-weight:600;color:var(--ink);cursor:pointer}
:where(body:not([class*="L-"])) .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:13px 22px;font:600 .96rem/1 var(--body),sans-serif;text-decoration:none;cursor:pointer;border:1.5px solid transparent;transition:transform .15s ease,background .15s ease}
:where(body:not([class*="L-"])) .btn:hover{transform:translateY(-1px)}
:where(body:not([class*="L-"])) .btn-primary{background:var(--accent);color:var(--accent-ink)}
:where(body:not([class*="L-"])) .btn-ghost{background:transparent;color:inherit;border-color:currentColor}
:where(body:not([class*="L-"])) .nav .btn{padding:10px 18px}
@media (max-width:860px){
  :where(body:not([class*="L-"])) .menu-btn{display:block}
  :where(body:not([class*="L-"])) .nav ul{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;gap:0;background:var(--bg);border-bottom:1px solid var(--line);padding:6px 20px 14px}
  :where(body:not([class*="L-"])) .nav ul.open{display:flex}
  :where(body:not([class*="L-"])) .nav ul a{display:block;padding:12px 0;font-size:1.05rem}
  :where(body:not([class*="L-"])) .nav .btn{display:none}
}

/* hero */
:where(body:not([class*="L-"])) .hero{position:relative;min-height:min(88vh,760px);display:grid;align-items:end;color:#fff;isolation:isolate;overflow:hidden}
:where(body:not([class*="L-"])) .hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
:where(body:not([class*="L-"])) .hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(0,0,0,.5) 0%,rgba(0,0,0,.18) 55%,rgba(0,0,0,0) 80%),linear-gradient(180deg,rgba(0,0,0,.05) 20%,rgba(0,0,0,.62) 78%)}
:where(body:not([class*="L-"])) .hero .wrap{padding:120px 0 56px}
:where(body:not([class*="L-"])) .hero .eyebrow{color:#fff;opacity:.92}
:where(body:not([class*="L-"])) .hero h1{font-size:clamp(2.7rem,1.6rem + 5vw,5.6rem);max-width:14ch;margin:14px 0 16px}
:where(body:not([class*="L-"])) .hero h1 em{font-style:italic}
:where(body:not([class*="L-"])) .hero p{font-size:1.14rem;max-width:52ch;margin:0 0 26px;opacity:.95}
:where(body:not([class*="L-"])) .hero .btn-ghost{color:#fff}
:where(body:not([class*="L-"])) .hero-ctas{display:flex;flex-wrap:wrap;gap:12px}
:where(body:not([class*="L-"])) .facts{display:flex;flex-wrap:wrap;gap:10px 28px;margin-top:34px;padding-top:20px;border-top:1px solid rgba(255,255,255,.3);font-size:.95rem}
:where(body:not([class*="L-"])) .facts span{opacity:.8;margin-right:6px}

:where(body:not([class*="L-"])) section{padding:clamp(64px,8vw,110px) 0}
:where(body:not([class*="L-"])) .sec-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:18px 40px;margin-bottom:40px}
:where(body:not([class*="L-"])) .sec-head .lede{margin:10px 0 0}

/* featured services */
:where(body:not([class*="L-"])) .cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
:where(body:not([class*="L-"])) .card{background:var(--surface);border:1px solid var(--line);border-radius:24px;overflow:hidden;display:flex;flex-direction:column}
:where(body:not([class*="L-"])) .card img{aspect-ratio:4/3;object-fit:cover;width:100%}
:where(body:not([class*="L-"])) .card div{padding:20px 22px 24px}
:where(body:not([class*="L-"])) .card h3{margin-bottom:6px}
:where(body:not([class*="L-"])) .card p{margin:0;color:var(--muted);font-size:.95rem}
@media (max-width:1000px){:where(body:not([class*="L-"])) .cards{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){:where(body:not([class*="L-"])) .cards{grid-template-columns:1fr}:where(body:not([class*="L-"])) .card img{aspect-ratio:16/10}}

/* price list */
:where(body:not([class*="L-"])) .prices{background:var(--soft)}
:where(body:not([class*="L-"])) .price-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
:where(body:not([class*="L-"])) .price-col{background:var(--surface);border-radius:24px;padding:26px 28px;border:1px solid var(--line)}
:where(body:not([class*="L-"])) .price-col h3{margin-bottom:12px}
:where(body:not([class*="L-"])) .row{display:grid;grid-template-columns:1fr auto;gap:2px 16px;padding:12px 0;border-top:1px dashed var(--line)}
:where(body:not([class*="L-"])) .row:first-of-type{border-top:0}
:where(body:not([class*="L-"])) .row b{font-weight:600}
:where(body:not([class*="L-"])) .row .p{font-weight:700;color:var(--accent);text-align:right;white-space:nowrap}
:where(body:not([class*="L-"])) .row .t{grid-column:1;font-size:.85rem;color:var(--muted)}
:where(body:not([class*="L-"])) .price-note{margin:22px 0 0;color:var(--muted);font-size:.9rem}
@media (max-width:760px){:where(body:not([class*="L-"])) .price-grid{grid-template-columns:1fr}}

/* the assistant band */
:where(body:not([class*="L-"])) .ask{background:var(--accent);color:var(--accent-ink)}
:where(body:not([class*="L-"])) .ask .wrap{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center}
:where(body:not([class*="L-"])) .ask h2{color:inherit}
:where(body:not([class*="L-"])) .ask .eyebrow{color:inherit;opacity:.8}
:where(body:not([class*="L-"])) .ask :focus-visible{outline-color:var(--accent-ink)}
:where(body:not([class*="L-"])) .ask p{opacity:.9;max-width:52ch}
:where(body:not([class*="L-"])) .chips{display:flex;flex-direction:column;gap:10px}
:where(body:not([class*="L-"])) .chip{background:color-mix(in srgb,var(--accent-ink) 12%,transparent);color:inherit;border:1px solid color-mix(in srgb,var(--accent-ink) 35%,transparent);border-radius:18px;padding:14px 18px;text-align:left;font:500 1rem/1.35 var(--body),sans-serif;cursor:pointer}
:where(body:not([class*="L-"])) .chip:hover{background:color-mix(in srgb,var(--accent-ink) 20%,transparent)}
:where(body:not([class*="L-"])) .ask .btn{background:var(--accent-ink);color:var(--accent);margin-top:8px}
:where(body:not([class*="L-"])) .ask-fallback{margin:16px 0 0;padding:12px 16px;border-radius:14px;background:color-mix(in srgb,var(--accent-ink) 16%,transparent);font-weight:600}
:where(body:not([class*="L-"])) .ask-fallback[hidden]{display:none}
@media (max-width:860px){:where(body:not([class*="L-"])) .ask .wrap{grid-template-columns:1fr}}

/* about + policies */
:where(body:not([class*="L-"])) .about .wrap{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
:where(body:not([class*="L-"])) .about img{border-radius:28px;aspect-ratio:4/5;object-fit:cover;width:100%}
:where(body:not([class*="L-"])) .policies{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:12px}
:where(body:not([class*="L-"])) .policies li{padding-left:28px;position:relative;color:var(--muted)}
:where(body:not([class*="L-"])) .policies li::before{content:"";position:absolute;left:4px;top:.6em;width:10px;height:10px;border-radius:50%;background:var(--highlight)}
@media (max-width:860px){:where(body:not([class*="L-"])) .about .wrap{grid-template-columns:1fr}:where(body:not([class*="L-"])) .about img{aspect-ratio:4/3}}

/* gallery */
:where(body:not([class*="L-"])) .gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
:where(body:not([class*="L-"])) .gallery-grid figure{margin:0}
:where(body:not([class*="L-"])) .gallery-grid img{border-radius:20px;aspect-ratio:1;object-fit:cover;width:100%}
:where(body:not([class*="L-"])) .gallery-grid figcaption{font-size:.85rem;color:var(--muted);margin-top:8px}
@media (max-width:520px){:where(body:not([class*="L-"])) .gallery-grid{grid-template-columns:repeat(2,1fr)}}

/* faq */
:where(body:not([class*="L-"])) .faq-list{display:grid;gap:12px;max-width:860px}
:where(body:not([class*="L-"])) .faq-list details{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:4px 22px}
:where(body:not([class*="L-"])) .faq-list summary{cursor:pointer;font-weight:600;padding:16px 0;list-style:none;display:flex;justify-content:space-between;gap:16px}
:where(body:not([class*="L-"])) .faq-list summary::-webkit-details-marker{display:none}
:where(body:not([class*="L-"])) .faq-list summary::after{content:"+";font-size:1.4rem;line-height:1;color:var(--accent)}
:where(body:not([class*="L-"])) .faq-list details[open] summary::after{content:"\2212"}
:where(body:not([class*="L-"])) .faq-list details p{margin:0 0 18px;color:var(--muted)}

/* visit + book */
:where(body:not([class*="L-"])) .visit{background:var(--soft)}
:where(body:not([class*="L-"])) .visit .wrap{display:grid;grid-template-columns:1fr 1.1fr;gap:40px;align-items:start}
:where(body:not([class*="L-"])) .hours{width:100%;border-collapse:collapse;background:var(--surface);border-radius:20px;overflow:hidden;border:1px solid var(--line)}
:where(body:not([class*="L-"])) .hours th,:where(body:not([class*="L-"])) .hours td{text-align:left;padding:12px 18px;border-top:1px solid var(--line);font-weight:500}
:where(body:not([class*="L-"])) .hours tr:first-child th,:where(body:not([class*="L-"])) .hours tr:first-child td{border-top:0}
:where(body:not([class*="L-"])) .hours th{font-weight:600}
:where(body:not([class*="L-"])) .hours tr.today{background:color-mix(in srgb,var(--highlight) 16%,var(--surface))}
:where(body:not([class*="L-"])) .hours tr.today th::after{content:" \2022 today";color:var(--highlight);font-size:.8rem;font-weight:700}
:where(body:not([class*="L-"])) .contact-lines{margin:18px 0 0;display:grid;gap:6px;color:var(--muted)}
:where(body:not([class*="L-"])) .contact-lines b{color:var(--ink)}
:where(body:not([class*="L-"])) form.book{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:26px}
:where(body:not([class*="L-"])) .field{display:grid;gap:6px;margin-bottom:14px}
:where(body:not([class*="L-"])) .field label{font-weight:600;font-size:.92rem}
:where(body:not([class*="L-"])) .field input,:where(body:not([class*="L-"])) .field select,:where(body:not([class*="L-"])) .field textarea{font:inherit;padding:12px 14px;border-radius:12px;border:1px solid var(--muted);background:var(--bg);color:var(--ink)}
:where(body:not([class*="L-"])) .two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
:where(body:not([class*="L-"])) .demo-note{display:none;margin:14px 0 0;padding:14px 16px;border-radius:14px;background:color-mix(in srgb,var(--highlight) 18%,var(--surface));border:1px solid var(--highlight);font-size:.93rem}
:where(body:not([class*="L-"])) .demo-note.show{display:block}
:where(body:not([class*="L-"])) .form-foot{font-size:.82rem;color:var(--muted);margin:12px 0 0}
@media (max-width:860px){:where(body:not([class*="L-"])) .visit .wrap{grid-template-columns:1fr}}
@media (max-width:480px){:where(body:not([class*="L-"])) .two{grid-template-columns:1fr}}

/* footer */
:where(body:not([class*="L-"])) footer{background:var(--ink);color:color-mix(in srgb,var(--bg) 82%,transparent);padding:56px 0 0;font-size:.9rem}
:where(body:not([class*="L-"])) footer .cols{display:grid;grid-template-columns:1.2fr 1fr 1.4fr;gap:32px}
:where(body:not([class*="L-"])) footer h3{font-family:var(--body),sans-serif;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:var(--bg);margin:0 0 10px}
:where(body:not([class*="L-"])) footer ul{list-style:none;padding:0;margin:0;display:grid;gap:6px}
:where(body:not([class*="L-"])) footer a{color:inherit;text-underline-offset:2px}
:where(body:not([class*="L-"])) .credits li{font-size:.8rem;line-height:1.45}
:where(body:not([class*="L-"])) .made{margin:34px 0 0;padding:18px 0;border-top:1px solid color-mix(in srgb,var(--bg) 20%,transparent)}
:where(body:not([class*="L-"])) footer .demo-bar{margin-top:0;background:#000;color:#fff}
@media (max-width:860px){:where(body:not([class*="L-"])) footer .cols{grid-template-columns:1fr}:where(body:not([class*="L-"])) footer .demo-bar{padding-right:96px;text-align:left}}

/* the gallery of samples (bot/samples/industries/index.html) */
.hub-hero{padding:72px 0 24px}
.hub-hero h1{font-size:clamp(2.4rem,1.6rem + 4vw,4.4rem);max-width:18ch;margin:12px 0}
.hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding-bottom:90px}
.hub-card{background:var(--surface);border:1px solid var(--line);border-radius:24px;overflow:hidden;text-decoration:none;display:flex;flex-direction:column}
.hub-card img{aspect-ratio:16/10;object-fit:cover;width:100%}
.hub-card div{padding:18px 20px 22px}
.hub-card span{font-size:.75rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--highlight)}
.hub-card h2{font-size:1.5rem;margin:6px 0}
.hub-card p{margin:0;color:var(--muted);font-size:.93rem}
@media (max-width:900px){.hub-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.hub-grid{grid-template-columns:1fr}}

/* ---- engine base (IND14, ENGINE-SPEC 4.7-4.9): these elements exist only on designed pages ---- */
/* reveals hide content ONLY once the engine has booted (html.js-rv); the static page never hides anything */
html.js-rv .rv{opacity:0;transform:translateY(var(--rv-y,28px))}
html.js-rv .rv.in{opacity:1;transform:none;transition:opacity .9s cubic-bezier(.2,.7,.1,1) calc(var(--i,0) * 70ms),transform .9s cubic-bezier(.2,.7,.1,1) calc(var(--i,0) * 70ms)}
/* count-up: the real number stays in the DOM (screen readers, no JS); a decorative twin counts over it */
.cu{color:transparent!important}
.cu-anim{position:absolute;pointer-events:none;white-space:nowrap;text-align:right}
/* the themed cursor: drawn by the engine, never takes focus; native cursor back over fields and the chat widget */
.cur{display:block;will-change:transform;transition:opacity .2s ease}
.cur.is-hidden{opacity:0}
body.has-cur,body.has-cur a,body.has-cur button,body.has-cur summary,body.has-cur [data-cursor]{cursor:none}
body.has-cur.cur-native{cursor:auto}
/* the pinned story is stacked (every chapter with its own photo) unless the engine pins it */
.story .stage{display:none}
.story.pinned .stage{display:block}
.progress{display:block}
html.rm .progress,html.rm .cur{display:none}
@media (prefers-reduced-motion:reduce){.progress,.cur{display:none}}
