/* CT-005 R&R Solar & Electrical — page-local Design Gate Shell C
   Phone-first thin: typography mark, no photo assets
   Palette: warm cream + espresso + solar amber (distinct from AMCUR black/volt)
   Fonts: Unbounded (display) + Onest (body) */

:root {
  --espresso: #1f1810;
  --amber: #d97706;
  --amber-hot: #f59e0b;
  --amber-soft: #fff4e0;
  --cream: #fff9f0;
  --muted: #6b5e4e;
  --line: #eadfce;
  --white: #ffffff;
  --radius: 14px;
  --banner-h: 36px;
  --cta-bar-h: 64px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Onest", system-ui, sans-serif;
  --max: 920px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--espresso);
  background: var(--cream);
  padding-bottom: calc(var(--cta-bar-h) + 1rem);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--amber); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: #b45309; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--espresso);
  line-height: 1.12;
  margin: 0 0 0.6rem;
}
p { margin: 0 0 0.85rem; }
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.demo-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--espresso);
  color: var(--amber-hot);
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.55rem 1rem;
  min-height: var(--banner-h);
}

.topbar {
  position: sticky;
  top: var(--banner-h);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1rem;
  background: rgba(255, 249, 240, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-brand {
  text-decoration: none;
  color: var(--espresso);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.topbar-brand em {
  font-style: normal;
  color: var(--amber);
  font-weight: 700;
}
.topbar-actions { display: flex; gap: 0.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: var(--white);
}
.btn-primary:hover {
  background: #b45309;
  color: var(--white);
}
.btn-secondary {
  background: var(--espresso);
  color: var(--cream);
}
.btn-secondary:hover {
  background: #2c2418;
  color: var(--cream);
}
.btn-lg {
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
}

/* Shell C — warm typography hero */
.hero-thin {
  padding: 3.75rem 0 3.25rem;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(245, 158, 11, 0.18), transparent 55%),
    var(--cream);
}
.hero-thin .mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 14vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--espresso);
  margin: 0 0 0.35rem;
}
.hero-thin .mark span {
  color: var(--amber);
}
.hero-submark {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.5rem;
}
.hero-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.85rem;
}
.hero-thin h1 {
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  max-width: 18ch;
  margin-bottom: 0.85rem;
}
.hero-lead {
  color: var(--muted);
  max-width: 42ch;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.hero-meta {
  font-size: 0.9rem;
  color: var(--muted);
}

section { padding: 2.75rem 0; }
section.panel {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.section-title {
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  margin-bottom: 0.35rem;
}
.section-sub {
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 1.5rem;
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .services { grid-template-columns: 1fr 1fr; }
}
.services li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}
.services strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}
.services span {
  color: var(--muted);
  font-size: 0.92rem;
}

.fact-grid {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 560px) {
  .fact-grid { grid-template-columns: 1fr 1fr; }
}
.fact {
  background: var(--amber-soft);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--line);
}
.fact h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.fact p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.fact a { text-decoration: none; border-bottom: 1.5px solid var(--amber-hot); }

.honest {
  font-size: 0.9rem;
  color: var(--muted);
  border-left: 3px solid var(--amber-hot);
  padding-left: 1rem;
  margin-top: 1.5rem;
}

.cta-band {
  background: var(--espresso);
  color: var(--cream);
  text-align: center;
}
.cta-band .section-title { color: var(--cream); }
.cta-band .section-sub { color: rgba(255, 249, 240, 0.65); margin-inline: auto; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.site-foot {
  padding: 1.5rem 0 2rem;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 249, 240, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(31, 24, 16, 0.08);
}
.sticky-cta .btn { flex: 1; }
@media (min-width: 860px) {
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}
