/* Shared navigation and contact controls on every page. */
:root { --site-top: calc(76px + env(safe-area-inset-top, 0px)); }
html { scroll-padding-top: calc(var(--site-top) + 20px); }
.svc { padding-top: var(--site-top); }
.doc { padding-top: calc(var(--site-top) + clamp(32px, 5vw, 64px)); }
.top.site-header {
  position: fixed; inset: 0 0 auto; z-index: 80; height: var(--site-top); box-sizing: border-box;
  padding: env(safe-area-inset-top, 0px) var(--gx, clamp(20px, 6.6vw, 118px)) 0;
  display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px);
  color: #2B2A29; background: rgba(241,241,241,.97); border-bottom: 1px solid rgba(43,42,41,.13);
  pointer-events: auto; backdrop-filter: blur(14px);
}
.site-header .logo { flex: none; color: #2B2A29; }
.site-header .logo svg { height: 31px; width: calc(31px * 1103 / 204); filter: none; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.25vw, 24px); margin: 0 auto; }
.site-nav a {
  position: relative; color: #2B2A29; text-decoration: none; white-space: nowrap; padding: 12px 0;
  font: 500 clamp(13px, .8vw, 15px)/1.35 var(--f-sans); letter-spacing: .01em; text-transform: none;
}
.site-nav a:hover, .site-nav a[aria-current], .site-nav a.act { color: #E32125; }
.site-nav a[aria-current]::after, .site-nav a.act::after { content: ''; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: currentColor; }
.site-header .top-tel { display: inline-flex; align-items: center; gap: 7px; flex: none; color: #2B2A29; text-decoration: none; white-space: nowrap; font: 500 14px/1.3 var(--f-sans); }
.site-header .top-tel svg { width: 16px; height: 16px; fill: none; stroke: #E32125; stroke-width: 1.8; }
.site-header .site-cta { flex: none; height: 44px; padding: 0 21px; color: white; background: #E32125; font: 700 13px/1 var(--f-sans); letter-spacing: .02em; text-transform: none; white-space: nowrap; box-shadow: 0 5px 18px rgba(227,33,37,.16); }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 9px; border: 1px solid rgba(43,42,41,.25); background: transparent; color: #2B2A29; height: 40px; padding: 0 13px; border-radius: 7px; cursor: pointer; font: 500 14px/1 var(--f-sans); }
.menu-toggle i, .menu-toggle i::before, .menu-toggle i::after { display: block; width: 16px; height: 1px; background: currentColor; position: relative; }
.menu-toggle i::before, .menu-toggle i::after { content: ''; position: absolute; top: -5px; }
.menu-toggle i::after { top: 5px; }
.site-header a:focus-visible, .menu-toggle:focus-visible { outline: 2px solid #E32125; outline-offset: 4px; }
.sf { scroll-margin-top: var(--site-top); }
.sf-col a { width: fit-content; }
html.site-home .chrome { z-index: 70; }
html.site-home .cta-fixed { bottom: calc(env(safe-area-inset-bottom, 0px) + 66px); }
html.site-home .cta-fixed.hide { animation: none; }
html.site-home #cta.free { overflow: visible; }
html.site-home.footer-view .chrome > :not(.top) { opacity: 0; pointer-events: none; }
html.site-home #spacer { height: 1700vh; }
/* Keep navigation reachable while a project is open. */
.lb { inset-block-start: var(--site-top); }
.filters { top: var(--site-top); }
/* Real workshop photos and the supplied floor plan. */
.factory-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 22px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.factory-photo { margin: 0; padding: 0; border: 1px solid rgba(43,42,41,.22); background: transparent; color: inherit; cursor: pointer; text-align: left; scroll-snap-align: start; }
.factory-photo img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; display: block; }
.factory-photo span { display: block; padding: 9px 10px; font: 500 12px/1.35 var(--f-sans); }
.factory-photo:hover, .factory-photo:focus-visible { border-color: #E32125; }
.plan-wrap { display: flex; align-items: center; justify-content: center; }
.floor-plan-card { width: 100%; overflow: hidden; border: 1px solid #D7DBD5; border-radius: 14px; background: #FAFBF8; box-shadow: 0 20px 50px -25px rgba(48,60,49,.22); }
.floor-plan-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 24px 6px; }
.floor-plan-heading h3 { margin: 0; color: #303A33; font: 400 23px/1.2 var(--f-disp); }
.floor-plan-heading span { color: #768075; font: 500 10px/1.4 var(--f-mono); white-space: nowrap; }
.plan-visual { display: block; position: relative; width: 100%; border: 0; padding: 0; background: #FAFBF8; cursor: zoom-in; }
.plan-visual img { display: block; width: 100%; height: auto; }
.plan-expand { position: absolute; right: 18px; bottom: 10px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #D7DBD5; border-radius: 30px; color: #4B554B; background: rgba(255,255,255,.95); font: 400 11px/1.2 var(--f-sans); }
.plan-expand b { font-size: 18px; font-weight: 400; color: #E32125; }
.plan-legend { list-style: none; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px 16px; margin: 0; padding: 15px 24px 22px; border-top: 1px solid #E7EAE3; }
.plan-legend li { display: flex; align-items: center; gap: 9px; color: #4B554B; font: 400 12px/1.35 var(--f-sans); }
.plan-legend b { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #E8CAC8; border-radius: 50%; color: #CE2529; background: #FFF; font: 500 10px/1 var(--f-mono); }
.workshop-viewer .viewer-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.workshop-viewer .viewer-toolbar form { margin: 0 0 0 auto; }
.workshop-zoom { padding: 9px 13px; border: 1px solid #777B75; border-radius: 30px; color: #F1F1F1; background: transparent; cursor: pointer; font: 400 13px/1.2 var(--f-sans); }
.workshop-zoom[hidden], .viewer-legend[hidden] { display: none; }
.workshop-viewer .viewer-figure { margin: 0; }
.workshop-viewer.is-plan .viewer-image { max-height: calc(100svh - var(--site-top) - 300px); overflow: auto; background: #F7F8F4; border-radius: 5px; }
.workshop-viewer.is-plan img { max-height: none; }
.workshop-viewer.is-plan.zoomed img { width: 200%; max-width: none; }
.workshop-viewer.is-plan .viewer-image { overscroll-behavior: contain; scrollbar-width: thin; }
.workshop-viewer .viewer-legend { margin-top: 12px; border-color: #50554E; padding: 14px 0 0; gap: 10px 18px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.workshop-viewer .viewer-legend li { color: #E4E8DF; }
.workshop-viewer { width: min(1160px, calc(100vw - 32px)); max-height: calc(100svh - var(--site-top) - 32px); box-sizing: border-box; border: 0; padding: 18px; background: #252422; color: #F1F1F1; border-radius: 8px; }
.workshop-viewer::backdrop { background: rgba(20,20,20,.88); }
.workshop-viewer form { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.workshop-viewer img { width: 100%; max-height: calc(100svh - var(--site-top) - 160px); object-fit: contain; display: block; background: #FFFFFF; }
.workshop-viewer figcaption { margin-top: 10px; font: 400 15px/1.5 var(--f-sans); }

/* Readable interface type; geometric display headings keep the drawing's identity. */
html.site-home .h1, html.site-home .h2,
html.site-home .h1 em, html.site-home .h2 em { font-weight: 650; }
/* Copy exits as a whole, including nested links and highlighted phrases. */
html.site-home .rv:not(.in) { visibility: hidden; }
html.site-home .mobile-copy { display: none; }
html.site-home :is(.lead, .steps p, .vq-a p, .sf-brand p) strong { font-weight: 700; }
html.site-home .eyebrow { font: 500 13px/1.4 var(--f-sans); letter-spacing: .035em; text-transform: none; }
html.site-home :is(.hint, .demo-note, .cases-count, .steps .sn, .stats span, .vq-head, .vq-n) {
  font-family: var(--f-sans); font-size: 12px; letter-spacing: .02em; text-transform: none;
}
html.site-home :is(.more, .cases-all, .sheet-all .sheet-art i) {
  font: 500 14px/1.4 var(--f-sans); letter-spacing: 0; text-transform: none;
}
html.site-home :is(.scene .pill, .cta-fixed, .sf-cta) {
  font: 700 14px/1 var(--f-sans); letter-spacing: .02em; text-transform: none;
}
html.site-home .pill.hero-cta, html.site-home .pill.cta-fixed {
  justify-content: space-between; gap: 28px; min-width: 270px; height: 64px; padding: 0 30px;
  border: 2px solid rgba(255,255,255,.94); font: 700 16px/1.2 var(--f-sans); letter-spacing: 0;
  box-shadow: 0 0 0 1px rgba(227,33,37,.18), 0 12px 30px rgba(227,33,37,.3);
}
html.site-home :is(.hero-cta, .cta-fixed) .ar { font-size: 24px; line-height: 1; }
html.site-home :is(.hero-cta, .cta-fixed):hover { box-shadow: 0 0 0 5px rgba(227,33,37,.15), 0 14px 34px rgba(227,33,37,.35); }
html.site-home #hero .hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 28px; }
html.site-home #hero .hero-lead { margin: 16px 0 0; max-width: 32ch; }
html.site-home .hero-cta:focus-visible, html.site-home .cta-fixed:focus-visible { outline: 3px solid var(--fg); outline-offset: 4px; }
html.site-home .hud {
  right: var(--gx); font: 500 13px/1.4 var(--f-sans); letter-spacing: 0; text-transform: none;
}
html.site-home .hud b { font-weight: 700; }
html.site-home .hud li.dim { opacity: .6; }
html.site-home #ledHud {
  top: calc(var(--site-top) + 24px); width: min(430px, calc(100vw - 2 * var(--gx)));
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
  padding: 0; background: transparent; border: 0; backdrop-filter: none;
}
html.site-home #ledHud li {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; margin: 0;
  padding: 15px 14px; border: 1px solid rgba(241,241,241,.2); border-radius: 12px;
  background: rgba(39,38,36,.92); box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
html.site-home #ledHud span { font-size: 12px; color: rgba(241,241,241,.82); }
html.site-home #ledHud b { font: 700 21px/1.15 var(--f-sans); letter-spacing: -.02em; white-space: nowrap; }
html.site-home .steps4 li { gap: 24px; padding-block: 9px; }
html.site-home .steps4 b { font-size: 14px; }
html.site-home #autoHud { width: min(680px, calc(100% - 2 * var(--gx))); grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
html.site-home #autoHud li {
  min-width: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 8px;
  padding: 14px; border: 1px solid color-mix(in srgb, var(--fg) 22%, transparent); border-radius: 10px;
  color: var(--fg); background: var(--bgc); box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
html.site-home #autoHud li.dim { opacity: 1; }
html.site-home #autoHud span { font-size: 12px; font-weight: 500; }
html.site-home #autoHud b { font-size: 14px; line-height: 1.4; }
/* The transition shares the model's SVG viewport, including mobile browser resizing. */
html.site-home .diode { inset: 0; width: 100%; height: 100%; border-radius: 0; background: none; box-shadow: none; will-change: opacity; }
html.site-home .diode-view { display: block; width: 100%; height: 100%; overflow: visible; }
html.site-home .stamp { font-family: var(--f-sans); text-transform: none; }
html.site-home .stamp span { font-size: 11px; letter-spacing: .02em; opacity: .75; }
html.site-home .stamp b { font-size: 13px; font-weight: 500; letter-spacing: 0; }
html.site-home .sheet-stamp { font-family: var(--f-sans); text-transform: none; }
html.site-home .sheet-stamp span { font-size: 11px; letter-spacing: .02em; }
html.site-home .sheet-stamp b { font-weight: 600; }
html.site-home .sheet-stamp .m b { font: 500 13px/1.3 var(--f-sans); letter-spacing: 0; }
html.site-home .steps h3 { font-weight: 600; }
html.site-home .stats b { font-weight: 600; }
html.site-home :is(#factory .copy, #factory .plan-wrap, .cases-head, .faq-grid, .steps, .spec) { right: var(--gx); }
html.site-home #factory .plan-wrap { left: var(--gx); right: auto; }
html.site-home .floor-plan-heading h3 { font-family: var(--f-sans); font-weight: 500; }
html.site-home .floor-plan-heading span { font: 500 12px/1.4 var(--f-sans); }
html.site-home .plan-legend b { font: 700 11px/1 var(--f-sans); }
html.site-home :is(.node label, .node legend, .node .err, .chips span) {
  font-family: var(--f-sans); font-size: 13px; letter-spacing: 0; text-transform: none;
}
html.site-home .node input:not([type=file]), html.site-home .node textarea { font: 400 18px/1.4 var(--f-sans); }
html.site-home .node textarea { min-height: calc(2.8em + 12px); }
html.site-home .vq-q { font-family: var(--f-sans); font-weight: 500; }
html.site-home .sf h2 { font: 700 13px/1.4 var(--f-sans); letter-spacing: .02em; text-transform: none; }
html.site-home .sf-big { font-family: var(--f-sans); font-weight: 500; }
html.site-home :is(.sf-k, .sf-soc a, .sf-legal) { font-family: var(--f-sans); font-size: 12px; letter-spacing: 0; text-transform: none; }

/* The same type hierarchy on service pages and the project archive. */
html.site-service .top.site-header {
  padding-inline: max(var(--gx), calc((100% - var(--max)) / 2 + var(--gx)));
  gap: 16px;
}
html.site-service .site-nav { gap: clamp(12px, .85vw, 16px); }
html.site-service .site-nav a { font-size: 13px; }
html:is(.site-service, .site-portfolio) .mono,
html:is(.site-service, .site-portfolio) :is(.pt-no, .facts li, .s-art figcaption, .spec-t dt, .work .v, .work .cap span, .work-all i, .steps .sn, .contacts dt, .lf .fld label, .svc-tag, .chip.ind, .chip sup, .dcard sup) {
  font-family: var(--f-sans); font-size: 12px; line-height: 1.45;
  letter-spacing: .015em; text-transform: none;
}
html:is(.site-service, .site-portfolio) :is(h1, h1 em, .sheet h2, .sheet h2 em, .thead h2, .tier > h2) { font-weight: 650; }
html:is(.site-service, .site-portfolio) :is(.kinds h3, .steps h3, .facts b, .stats b, .work-all b, .stamp h2) { font-weight: 600; }
html:is(.site-service, .site-portfolio) :is(.lead, .kinds p, .steps p, .qa .a p, .thead p, .sf-brand p) strong { font-weight: 700; }
html:is(.site-service, .site-portfolio) :is(.pill, .all, .work-all i, .close) { font: 700 14px/1.2 var(--f-sans); letter-spacing: .015em; text-transform: none; }
html.site-service :is(.s-art figcaption b, .work .cap b, .contacts dd, .call) { font-family: var(--f-sans); font-weight: 500; }
html.site-service .spec-t { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
html.site-service .spec-t dt { font-weight: 500; font-size: 14px; }
html.site-service .qa h3 { font-family: var(--f-sans); font-weight: 500; }
html.site-service .lf .fld label { font-size: 13px; }
html.site-portfolio :is(.dcard b, .tile .cap b) { font-family: var(--f-sans); font-weight: 500; line-height: 1.3; }
html.site-portfolio .chip { font: 500 14px/1.3 var(--f-sans); }
html.site-portfolio .chip.ind { font-size: 13px; }
html.site-portfolio .chip sup { font-size: 11px; }
html.site-portfolio .stats span { font-size: 13px; }
html.site-portfolio .hero-cap { max-width: 28%; }
html.site-portfolio .stamp :is(dt, dd, .pn button) { font-family: var(--f-sans); font-size: 13px; }
html.site-portfolio .tile .tag i { font-size: 11px; }
html:is(.site-service, .site-portfolio) .sf h2 { font: 700 13px/1.4 var(--f-sans); letter-spacing: .02em; text-transform: none; }
html:is(.site-service, .site-portfolio) .sf-big { font-family: var(--f-sans); font-weight: 500; }
html:is(.site-service, .site-portfolio) :is(.sf-k, .sf-soc a, .sf-legal) { font-family: var(--f-sans); font-size: 12px; letter-spacing: 0; text-transform: none; }

@media (min-width: 761px) and (max-height: 980px) {
  html.site-home #factory .h2 { font-size: clamp(34px, 3.5vw, 58px); }
  html.site-home #factory .lead { margin-top: 18px; font-size: clamp(15px, 1.08vw, 16px); line-height: 1.5; }
  html.site-home .factory-gallery { gap: 6px; margin-top: 18px; }
  html.site-home .factory-photo img { aspect-ratio: 16/10; }
  html.site-home .factory-photo span { padding: 7px 8px; }
  html.site-home .stats { gap: 18px; margin-top: 24px; padding-top: 16px; }
  html.site-home .stats b { font-size: clamp(32px, 2.9vw, 44px); }
  html.site-home .stats span { font-size: 11.5px; }
}
@media (min-width: 761px) and (max-height: 760px) {
  html.site-home #hero .h1 { font-size: clamp(40px, 8.5vh, 64px); }
  html.site-home #hero .hero-actions { margin-top: 20px; gap: 12px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  html.site-home .factory-gallery { display: flex; overflow-x: auto; padding-bottom: 5px; }
  html.site-home .factory-photo { flex: 0 0 calc((100% - 12px) / 3); }
}
@media (max-width: 1580px) { .site-header .top-tel span { display: none; } .site-header .top-tel { justify-content: center; width: 32px; height: 40px; } }
@media (min-width: 761px) and (max-width: 1580px) {
  html.site-home #autoHud { top: calc(var(--site-top) + 20px); bottom: auto; }
}
@media (max-width: 1500px) {
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .site-header .site-cta { display: none; }
  .site-nav { display: grid; grid-template-columns: repeat(3,1fr); gap: 0 28px; position: absolute; top: 100%; left: 0; right: 0; margin: 0; max-height: calc(100svh - var(--site-top)); overflow-y: auto; padding: 18px 24px 26px; background: #F1F1F1; border-bottom: 1px solid rgba(43,42,41,.18); box-shadow: 0 20px 25px rgba(0,0,0,.08); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); clip-path: inset(0 0 100% 0); transition: clip-path .36s cubic-bezier(.2,.7,.2,1), transform .36s cubic-bezier(.2,.7,.2,1), opacity .24s ease, visibility 0s .36s; }
  .site-header.menu-open .site-nav { opacity: 1; visibility: visible; pointer-events: auto; transform: none; clip-path: inset(0); transition-delay: 0s; }
  .site-nav a { padding: 18px 0; font-size: 15px; white-space: normal; min-width: 0; border-bottom: 1px solid rgba(43,42,41,.1); opacity: 0; transform: translateY(-7px); transition: opacity .22s ease, transform .3s ease; }
  .site-header.menu-open .site-nav a { opacity: 1; transform: none; transition-delay: calc(50ms + var(--menu-index,0) * 22ms); }
  .menu-toggle i { transition: background-color .2s; }
  .menu-toggle i::before, .menu-toggle i::after { transition: transform .28s ease, top .28s ease; }
  .menu-open .menu-toggle i { background: transparent; }
  .menu-open .menu-toggle i::before { top: 0; transform: rotate(45deg); }
  .menu-open .menu-toggle i::after { top: 0; transform: rotate(-45deg); }
  html.menu-is-open .cta-fixed { opacity: 0; pointer-events: none; }
  .site-nav a[aria-current]::after { display: none; }
  html.site-service .site-nav a { font-size: 15px; }
  .factory-gallery { gap: 5px; }
}
@media (max-width: 760px) {
  :root { --site-top: calc(68px + env(safe-area-inset-top, 0px)); }
  .top.site-header { padding-inline: var(--gx, 22px); gap: 10px; }
  .site-header .logo svg { height: 25px; width: calc(25px * 1103 / 204); }
  .site-header .top-tel { display: none; }
  .menu-toggle { width: 40px; padding: 0; flex: none; }
  .menu-toggle span { display: none; }
  .site-nav { grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
  html.site-home .cases-head { top: calc(var(--site-top) + 12px); gap: 12px; flex-wrap: wrap; }
  html.site-home .cases-head .eyebrow { margin-bottom: 12px; }
  html.site-home .cases-head .h2 { font-size: clamp(30px, 8.4vw, 38px); }
  html.site-home .faq-grid { top: calc(var(--site-top) + 12px); }
  html.site-home #faq .eyebrow { margin-bottom: 12px; }
  html.site-home #faq .h2 { font-size: clamp(30px, 8.4vw, 38px); }
  html.site-home .cases-all { font-size: 12px; }
  html.site-home .track { bottom: calc(var(--fr) + 88px); }
  html.site-home .steps li { padding-block: 0; }
  html.site-portfolio .hero h1 { font-size: clamp(38px, 11.5vw, 54px); }
  html.site-home #ledHud { top: auto; bottom: calc(var(--fr) + 86px); width: auto; gap: 8px; }
  html.site-home #ledHud li { padding: 12px 10px; gap: 7px; }
  html.site-home #ledHud span { font-size: 11px; }
  html.site-home #ledHud b { font-size: 18px; }
  html.site-home #hero .hero-cta { display: none; }
  html.site-home #hero .hero-actions { margin-top: 20px; }
  html.site-home #hero .h1 { font-size: clamp(34px, 10.1vw, 51px); }
  html.site-home #hero .hero-lead { margin-top: 12px; }
  html.site-home .pill.cta-fixed { min-width: 250px; height: 56px; font-size: 15px; padding: 0 26px; bottom: calc(env(safe-area-inset-bottom, 0px) + 30px); }
  html.site-home .pill.cta-fixed { max-width: calc(100% - 28px); gap: 14px; }
  #factory .stats, #factory #statsNote { display: none; }
  #factory .lead { margin-top: 12px; font-size: 13.5px; line-height: 1.5; }
  .factory-gallery { margin-top: 14px; }
  .factory-gallery { display: flex; overflow-x: auto; padding-bottom: 5px; }
  .factory-photo { flex: 0 0 calc((100% - 10px) / 3); }
  .factory-photo span { display: block; padding: 7px 8px; font-size: 11px; }
  #factory .plan-wrap { left: var(--gx); width: calc(100% - 2 * var(--gx)); top: 43%; bottom: 98px; align-items: stretch; }
  .floor-plan-card { display: flex; flex-direction: column; border-radius: 10px; }
  .floor-plan-heading { padding: 12px 14px 0; }
  .floor-plan-heading h3 { font-size: 18px; }
  .floor-plan-heading span { font-size: 9px; }
  .plan-visual { flex: 1; min-height: 0; }
  .plan-visual img { height: 100%; object-fit: contain; }
  .plan-expand { padding: 5px 9px; font-size: 10px; right: 10px; bottom: 8px; }
  .floor-plan-card > .plan-legend { display: none; }
  .workshop-viewer .viewer-legend { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .workshop-viewer .viewer-legend li { font-size: 11px; }
}
@media (max-width: 370px) { .site-header .logo svg { height: 21px; width: calc(21px * 1103 / 204); } .top.site-header { gap: 8px; padding-inline: var(--gx, 22px); } }
@media (prefers-reduced-motion: reduce) {
  html.site-home .cta-fixed { animation: none; }
  .site-nav, .site-nav a, .menu-toggle i, .menu-toggle i::before, .menu-toggle i::after { transition: none !important; }
}

.lead-photo { min-width: 0; }
.cform .lead-photo { margin-top: 10px; }
.lead-photo > label { display: block; margin-bottom: 5px; font-size: 13px; }
.lead-photo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.cform input.lead-photo-file, .lf input.lead-photo-file {
  flex: 1 1 190px;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  border: 0;
  font: 400 13px/1.4 var(--f-sans, sans-serif);
}
.lead-photo-file::file-selector-button {
  padding: 7px 9px;
  margin-right: 7px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.lead-photo-remove {
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}
.lead-photo-file:focus-visible, .lead-photo-remove:focus-visible {
  outline: 2px solid #e32125;
  outline-offset: 3px;
}
.lead-photo-hint, .lead-photo-error { display: block; font-size: 12px; line-height: 1.4; }
.lead-photo-hint { margin-top: 4px; }
.lead-photo-error { color: #b72525; }

/* Mobile chapters keep the offer readable and leave space for the fixed action. */
@media (max-width: 760px) {
  html.site-home { --mobile-cta-space: calc(112px + env(safe-area-inset-bottom, 0px)); }
  html.site-home .desktop-copy { display: none; }
  html.site-home .mobile-copy { display: inline; }
  html.site-home :is(#hero, #signs, #led, #auto, #process, #factory) > .copy { top: calc(var(--site-top) + 12px); }
  html.site-home .copy .eyebrow, html.site-home .cases-head .eyebrow { font-size: 11px; line-height: 1.35; margin-bottom: 12px; }
  html.site-home :is(#signs, #led, #auto, #process, #factory, #faq) .h2 { font-size: clamp(27px, 7.5vw, 32px); line-height: 1.1; }
  html.site-home .copy .lead { margin-top: 12px; font-size: 14px; line-height: 1.5; }
  html.site-home .copy .more { margin-top: 16px; font-size: 13px; line-height: 1.4; }
  html.site-home #ledCopy .eyebrow { max-width: 23em; }
  html.site-home #ledHud { bottom: var(--mobile-cta-space); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.site-home #ledHud li:last-child { display: none; }
  html.site-home #ledHud li { padding: 10px 12px; gap: 5px; }
  html.site-home #ledHud b { font-size: 18px; }
  html.site-home .steps { padding-left: 28px; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
  html.site-home .steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: start; min-height: 34px; }
  html.site-home .steps li::before { left: -26px; }
  html.site-home .steps li > * { opacity: 1; transform: none; }
  html.site-home .steps .sn { font-size: 11px; padding-top: 4px; }
  html.site-home .steps h3 { font-size: 18px; line-height: 1.3; margin: 0; }
  html.site-home .faq-grid { display: flex; flex-direction: column; align-items: stretch; gap: 18px; bottom: var(--mobile-cta-space); }
  html.site-home #faqCopy { flex: none; }
  html.site-home .vq { --c1: 28px; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
  html.site-home .vq-head { display: none; }
  html.site-home .vq-h button { grid-template-columns: var(--c1) minmax(0, 1fr) 32px; }
  html.site-home .vq-n { padding: 16px 0 16px 4px; font-size: 11px; }
  html.site-home .vq-q { padding: 15px 0 15px 8px; font-size: 16px; line-height: 1.35; }
  html.site-home .vq-a p { padding: 0 12px 16px calc(var(--c1) + 8px); font-size: 14px; line-height: 1.5; }
  html.site-home .vq-ic { transform: scale(.8); }
}
