/* Detroit Signal — token-driven shared site sections.
   Every prototype maps its palette/fonts onto the --s-* tokens via an inline
   style on the .stsite wrapper (and on the hero + header wrappers). Sections are
   static HTML for SEO. Generic across verticals: "services" replaces a menu,
   "contact" replaces an order band, "gallery" is any project/photo grid. */
.stsite,.st-nav,.st-hero-wrap{
  --_bg:var(--s-bg,#faf6ef); --_surface:var(--s-surface,#ffffff);
  --_ink:var(--s-ink,#1e1a17); --_muted:var(--s-muted,#5c554e);
  --_accent:var(--s-accent,#8a1c1c); --_accent2:var(--s-accent2,#ff5a1f);
  --_line:var(--s-line,#e9ddcc); --_body:var(--s-body,inherit); --_display:var(--s-display,inherit);
}
.stsite{background:var(--_bg);color:var(--_ink);font-family:var(--_body)}

/* ---- site header / nav (baked above the hero on each prototype) ---- */
.st-nav{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:12px clamp(16px,4vw,40px);background:color-mix(in srgb,var(--_bg) 88%,transparent);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--_line);font-family:var(--_body)}
.st-nav__brand{display:inline-flex;align-items:center;gap:10px;font-family:var(--_display);font-weight:700;font-size:1.15rem;color:var(--_ink);letter-spacing:-.01em}
.st-nav__brand img{height:34px;width:auto}
.st-nav__links{display:flex;align-items:center;gap:22px}
.st-nav__links a{color:var(--_muted);font-size:.92rem;font-weight:500}
.st-nav__links a:hover{color:var(--_ink)}
.st-nav__cta{display:inline-flex;align-items:center;gap:8px}
.st-nav__phone{color:var(--_ink);font-weight:700;font-size:.95rem;white-space:nowrap}
.st-nav__btn{display:inline-flex;align-items:center;padding:9px 16px;border-radius:999px;font-weight:700;font-size:.9rem;
  background:linear-gradient(180deg,var(--_accent2),var(--_accent));color:#fff;white-space:nowrap}
.st-nav__btn:hover{filter:brightness(1.06)}
@media(max-width:820px){.st-nav__links{display:none}}

/* ---- shared section shell ---- */
.stsite .st-sec{padding:clamp(40px,6vw,72px) 0;border-top:1px solid var(--_line)}
.stsite .st-wrap{max-width:1000px;margin:0 auto;padding:0 clamp(18px,4vw,40px)}

/* banded backgrounds — alternate section fills for rhythm (theme-adaptive) */
.stsite .st-sec--alt{background:color-mix(in srgb, var(--_ink) 5%, var(--_bg));border-top-color:transparent}
/* wood band: one shared 40KB texture (shared/wood.jpg) under a theme-tinted wash,
   so it reads as subtle grain and matches each site's palette. Cards keep --_surface. */
.stsite .st-sec--wood{
  background-image:
    linear-gradient(color-mix(in srgb,var(--_bg) 88%,transparent), color-mix(in srgb,var(--_bg) 90%,transparent)),
    url(wood.jpg);
  background-size:cover;background-position:center;border-top-color:transparent}
.stsite .st-sec--wood h2,.stsite .st-sec--wood .st-sub{position:relative}
.stsite h2{font-family:var(--_display);font-weight:700;font-size:clamp(1.6rem,4vw,2.4rem);margin:0 0 8px;color:var(--_ink);letter-spacing:-.01em}
.stsite .st-sechead{display:flex;align-items:center;justify-content:space-between;gap:14px 20px;flex-wrap:wrap;margin:0 0 8px}
.stsite .st-sechead h2{margin:0}
.stsite .st-sub{color:var(--_muted);max-width:64ch;line-height:1.6;margin:0 0 18px}

/* highlight cards (about) */
.stsite .st-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:18px}
@media(max-width:760px){.stsite .st-cards{grid-template-columns:1fr 1fr}}
.stsite .st-card{background:var(--_surface);border:1px solid var(--_line);border-radius:12px;padding:16px}
.stsite .st-card h3{font-size:1rem;color:var(--_accent);margin:0 0 4px}
.stsite .st-card p{color:var(--_muted);font-size:.9rem;line-height:1.5}

/* reviews */
.stsite .st-reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}
@media(max-width:760px){.stsite .st-reviews{grid-template-columns:1fr}}
.stsite .st-rev{background:var(--_surface);border:1px solid var(--_line);border-radius:12px;padding:18px;display:flex;flex-direction:column;gap:10px}
.stsite .st-rev__stars{color:var(--_accent);letter-spacing:2px;font-size:1rem;line-height:1}
.stsite .st-rev__text{color:var(--_ink);line-height:1.55;margin:0;flex:1;font-size:.95rem}
.stsite .st-rev__by{display:flex;align-items:center;gap:8px;margin-top:2px}
.stsite .st-rev__av{width:30px;height:30px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem;color:#fff;background:linear-gradient(135deg,var(--_accent),var(--_accent2))}
.stsite .st-rev__name{font-weight:700;color:var(--_ink);font-size:.9rem;line-height:1.1}
.stsite .st-rev__meta{color:var(--_muted);font-size:.78rem;line-height:1.1}
.stsite .st-rev__cta{margin-top:16px;color:var(--_muted);font-size:.92rem}
.stsite .st-rev__cta a{color:var(--_accent);font-weight:600}

/* services (was menu) — two-column list of offerings with optional price */
.stsite .st-cols{columns:2;column-gap:48px}
@media(max-width:680px){.stsite .st-cols{columns:1}}
.stsite .st-cat{break-inside:avoid;margin:0 0 18px}
.stsite .st-cat h3{font-family:var(--_display);font-size:1.15rem;color:var(--_accent);border-bottom:2px solid var(--_line);padding-bottom:6px;margin:0 0 4px;letter-spacing:.01em}
.stsite .st-note{color:var(--_muted);font-size:.86rem;margin:0 0 6px}
.stsite .st-item{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:8px 0;border-bottom:1px dashed var(--_line)}
.stsite .st-thumb{width:52px;height:52px;border-radius:8px;object-fit:cover;flex-shrink:0;cursor:zoom-in;border:1px solid var(--_line);background:color-mix(in srgb,var(--_ink) 8%,var(--_surface));transition:transform .2s}
.stsite .st-thumb:hover{transform:scale(1.06)}
.stsite .st-item .n{font-weight:600;flex:1}
.stsite .st-item .d{display:block;color:var(--_muted);font-weight:400;font-size:.84rem;line-height:1.35}
.stsite .st-item .p{color:var(--_accent);font-weight:700;white-space:nowrap}

/* gallery */
.stsite .st-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
@media(max-width:680px){.stsite .st-gallery{grid-template-columns:1fr 1fr}}
.stsite .st-gallery img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;border-radius:12px;border:1px solid var(--_line);cursor:zoom-in}

/* visit / contact info + map */
.stsite .st-visit{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
@media(max-width:760px){.stsite .st-visit{grid-template-columns:1fr}}
.stsite .st-visit img{width:100%;height:auto;border-radius:12px;border:1px solid var(--_line);object-fit:cover;aspect-ratio:4/3;max-height:460px}
.stsite .st-info{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;margin:0 0 12px}
.stsite .st-info dt{color:var(--_muted);font-weight:600}
.stsite .st-info dd{margin:0}
.stsite .st-info a{color:var(--_accent);font-weight:600}
.stsite .st-map{border:1px solid var(--_line);border-radius:12px;overflow:hidden;line-height:0}
.stsite .st-map iframe{width:100%;height:300px;border:0;display:block}
.stsite .st-area{color:var(--_muted);line-height:1.7;margin:0}

/* contact — a brand-colored call-to-action band (adapts to each theme's accent) */
.stsite #contact{border-top:none;color:#fff;
  background:color-mix(in srgb,var(--_accent) 92%,#000);
  background:linear-gradient(135deg, color-mix(in srgb, var(--_accent) 60%, #120a06), color-mix(in srgb, var(--_accent2) 55%, #0e0805))}
.stsite #contact h2{color:#fff}
.stsite #contact .st-sub{color:rgba(255,255,255,.85)}
.stsite .st-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.stsite #contact .st-actions a{padding:11px 20px;border:1px solid rgba(255,255,255,.32);border-radius:999px;font-weight:700;color:#fff}
.stsite #contact .st-actions a.pri{background:#fff;color:#160a05;border-color:transparent}
.stsite #contact .st-actions a:hover{border-color:#fff;background:rgba(255,255,255,.12)}
.stsite #contact .st-actions a.pri:hover{background:rgba(255,255,255,.9)}

/* faq */
.stsite .st-faq details{background:var(--_surface);border:1px solid var(--_line);border-radius:12px;padding:2px 16px;margin-bottom:10px}
.stsite .st-faq summary{padding:12px 0;font-weight:600;cursor:pointer;list-style:none}
.stsite .st-faq summary::-webkit-details-marker{display:none}
.stsite .st-faq summary::after{content:"+";float:right;color:var(--_accent);font-weight:700}
.stsite .st-faq details[open] summary::after{content:"\2013"}
.stsite .st-faq p{color:var(--_muted);padding-bottom:12px;line-height:1.55}

/* shared footer (always dark, works under any theme) */
.st-foot{background:#0e0b09;color:#b3a390;padding:32px 0;font-family:var(--s-body,inherit)}
.st-foot .st-wrap{max-width:1000px;margin:0 auto;padding:0 clamp(18px,4vw,40px)}
.st-foot a{color:var(--s-accent,#ffb02a);font-weight:600}
.st-foot strong{color:#f6efe1}
.st-foot p{line-height:1.7;margin:0 0 4px}
.st-foot p:last-child{text-align:center;margin-top:10px}
