:root {
  --ink: #f4f1ea;
  --muted: rgba(244, 241, 234, 0.68);
  --paper: #0a0d14;
  --panel: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.085);
  --amber: #d4b582;
  --amber-dark: #a88652;
  --teal: #7da08b;
  --blue: #223049;
  --coal: #07090f;
  --white: #f4f1ea;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.13) inset, 0 28px 64px rgba(0, 0, 0, 0.36);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  background: var(--coal);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::selection {
  background: rgba(238, 177, 69, 0.35);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

.scroll-meter {
  position: fixed;
  z-index: 90;
  inset: 0 0 auto;
  height: 3px;
  background: transparent;
  pointer-events: none;
}

.scroll-meter span {
  display: block;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--teal));
}

.ambient-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(212, 181, 130, 0.08), transparent 34%, rgba(125, 160, 139, 0.08) 72%, transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 44px),
    var(--coal);
  background-size: 140% 140%, 44px 44px, auto;
  animation: ambient-drift 24s ease-in-out infinite alternate;
}

.ambient-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
  z-index: 80;
  top: max(10px, env(safe-area-inset-top));
  left: 12px;
  right: 12px;
  min-height: 54px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(17, 19, 19, 0.52);
  color: var(--white);
  backdrop-filter: blur(22px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.16);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-header.is-elevated {
  background: rgba(17, 19, 19, 0.86);
  border-color: rgba(255, 255, 255, 0.14);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 820;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--amber), #f47636 48%, var(--teal));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.brand-mark span,
.brand-mark::before,
.brand-mark::after {
  position: absolute;
  content: "";
  left: 7px;
  right: 7px;
  height: 2px;
  background: rgba(17, 19, 19, 0.58);
  transform: rotate(-18deg);
}

.brand-mark span {
  top: 9px;
}

.brand-mark::before {
  top: 14px;
}

.brand-mark::after {
  top: 19px;
}

.nav-links {
  display: none;
}

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 13px;
  font-weight: 780;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 88dvh;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: var(--coal);
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 57% center;
  transform: translate3d(0, calc(var(--hero-drift, 0) * 1px), 0) scale(1.045);
  transform-origin: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 10, 9, 0.88) 0%, rgba(8, 10, 9, 0.64) 38%, rgba(8, 10, 9, 0.24) 68%, rgba(8, 10, 9, 0.48) 100%),
    linear-gradient(0deg, rgba(8, 10, 9, 0.88) 0%, rgba(8, 10, 9, 0.06) 44%, rgba(8, 10, 9, 0.28) 100%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) 20px 40px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(56px, 17vw, 132px);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 600px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 5vw, 25px);
  line-height: 1.24;
}

.hero-actions,
.priority-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 26px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 820;
  letter-spacing: 0;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:active,
.priority:active,
.nav-cta:active,
.sticky-cta:active {
  transform: scale(0.98);
}

.button.primary {
  background: linear-gradient(135deg, var(--amber), #f17737);
  color: #19130b;
  box-shadow: 0 16px 38px rgba(222, 122, 37, 0.28);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.button.full {
  width: 100%;
}

.priority-picker {
  max-width: 700px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.priority-picker p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 750;
}

.priority {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 8px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.11);
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 780;
  white-space: nowrap;
}

.priority.is-active {
  border-color: rgba(255, 224, 156, 0.80);
  background: rgba(238, 177, 69, 0.95);
  color: #19130b;
}

.proof-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-band div {
  min-height: 94px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--paper);
}

.proof-band span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: var(--coal);
  color: var(--amber);
  font-size: 13px;
  font-weight: 850;
}

.proof-band p {
  max-width: 420px;
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 730;
  line-height: 1.35;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0;
}

.section-heading {
  max-width: 760px;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 9vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading > p:not(.eyebrow),
.estimator-copy > p:not(.eyebrow),
.local-panel > p,
.consult-copy > p {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.56;
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 34px;
}

.fit-card,
.step,
.faq {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(24, 28, 26, 0.06);
}

.fit-card {
  min-height: 210px;
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.fit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.fit-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 8px;
  background: rgba(29, 111, 108, 0.10);
  color: var(--teal);
  font-weight: 850;
  font-size: 13px;
}

.fit-card p,
.step p,
.faq p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.estimator-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.estimator {
  display: grid;
  gap: 20px;
  padding: 20px;
  border-radius: 8px;
  background: var(--coal);
  color: var(--white);
  box-shadow: var(--shadow);
}

.estimator label {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 760;
}

.range-value {
  color: var(--amber);
  font-size: 20px;
  font-weight: 850;
}

input[type="range"] {
  width: 100%;
  height: 30px;
  accent-color: var(--amber);
}

.fit-output {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.fit-score {
  display: block;
  color: var(--amber);
  font-size: 48px;
  font-weight: 900;
  line-height: 0.9;
}

.score-label {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 840;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.fit-output p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.42;
}

.energy-flow {
  padding: 26px 20px;
  background: var(--coal);
  color: var(--white);
}

.flow-track {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.flow-node {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.flow-node span {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--amber), var(--teal));
  box-shadow: 0 0 28px rgba(238, 177, 69, 0.24);
}

.flow-node p {
  margin: 0;
  font-weight: 820;
}

.flow-line {
  display: none;
  position: relative;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.flow-line span {
  position: absolute;
  inset: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  animation: flow 2.2s linear infinite;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 34px;
}

.step {
  padding: 22px;
}

.step span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.local-section {
  width: 100%;
  max-width: none;
  padding: 74px 20px;
  background: linear-gradient(135deg, #f7f2e8 0%, #f7f7f2 48%, #eaf4f1 100%);
}

.local-panel {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.comparison-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.comparison-list span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid rgba(17, 19, 19, 0.12);
  border-radius: 8px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--coal);
  font-size: 13px;
  font-weight: 820;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.faq {
  padding: 0 18px;
}

.faq summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  font-weight: 820;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--teal);
  font-size: 24px;
}

.faq[open] summary::after {
  content: "-";
}

.faq p {
  padding: 0 0 18px;
}

.consult-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 76px 20px 100px;
  background: var(--coal);
  color: var(--white);
}

.consult-copy,
.consult-form {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.consult-copy h2 {
  color: var(--white);
}

.consult-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.consult-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.consult-form label,
.consult-form legend {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 780;
}

.consult-form label {
  display: grid;
  gap: 8px;
}

.consult-form input[type="text"],
.consult-form input[type="tel"],
.consult-form select {
  min-height: 50px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.consult-form fieldset {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.consult-form legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.consult-form fieldset label {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.consult-form input[type="radio"] {
  accent-color: var(--amber);
}

.form-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.45;
}

.site-footer {
  padding: 34px 20px calc(88px + env(safe-area-inset-bottom));
  background: #0e1010;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer .brand {
  color: var(--white);
}

.site-footer p {
  width: min(1120px, 100%);
  margin: 14px auto 0;
  line-height: 1.5;
}

.footer-brand {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.sticky-cta {
  position: fixed;
  z-index: 75;
  left: 14px;
  right: 14px;
  bottom: max(12px, env(safe-area-inset-bottom));
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--amber), #f17737);
  color: #19130b;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  font-weight: 860;
  transition: opacity 180ms ease, transform 180ms ease;
}

.sticky-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
}

.sticky-cta.is-hidden-hero {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

body.js .reveal {
  opacity: 0.82;
  transform: translateY(12px);
  transition: opacity 520ms ease, transform 520ms ease;
}

body.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes flow {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(240%);
  }
}

@media (min-width: 720px) {
  .site-header {
    left: 22px;
    right: 22px;
    grid-template-columns: 1fr auto auto;
    padding: 8px 10px 8px 14px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .nav-links a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    padding: 0 12px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    font-weight: 740;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.10);
    color: var(--white);
  }

  .hero {
    min-height: 86dvh;
  }

  .hero-inner {
    padding: 150px 32px 54px;
  }

  .proof-band {
    grid-template-columns: repeat(3, 1fr);
  }

  .proof-band div {
    padding: 24px;
  }

  .fit-grid,
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .estimator-section {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.68fr);
    align-items: center;
  }

  .flow-track {
    grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
    align-items: center;
  }

  .flow-node {
    min-width: 128px;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }

  .flow-line {
    display: block;
  }

  .consult-section {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    align-items: start;
    padding-left: max(32px, calc((100% - 1120px) / 2));
    padding-right: max(32px, calc((100% - 1120px) / 2));
  }

  .consult-copy,
  .consult-form {
    width: 100%;
  }

  .sticky-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 34px;
  }
}

@media (min-width: 1040px) {
  .hero-media img {
    object-position: center center;
  }

  .section {
    padding: 104px 0;
  }

  .local-section {
    padding: 104px 20px;
  }
}

@media (max-width: 380px) {
  .site-header {
    left: 8px;
    right: 8px;
  }

  .brand {
    font-size: 14px;
  }

  .nav-cta {
    padding: 0 10px;
  }

  .hero-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .button {
    width: 100%;
  }

  .priority {
    flex: 1 1 calc(50% - 6px);
  }

  .section {
    width: calc(100% - 32px);
  }

  .consult-form fieldset {
    grid-template-columns: 1fr;
  }
}

/* Premium motion refresh */
@keyframes ambient-drift {
  from {
    background-position: 0% 0%, 0 0, 0 0;
  }
  to {
    background-position: 100% 40%, 30px 0, 0 0;
  }
}

@keyframes panel-shimmer {
  0%, 100% {
    opacity: 0.55;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.site-header {
  background: rgba(7, 9, 15, 0.56);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.10) inset, 0 18px 36px rgba(0, 0, 0, 0.22);
}

.site-header.is-elevated {
  background: rgba(7, 9, 15, 0.84);
  border-color: rgba(212, 181, 130, 0.20);
}

.brand {
  font-family: var(--serif);
  font-weight: 420;
  font-size: 17px;
}

.brand-mark {
  background: linear-gradient(145deg, rgba(212, 181, 130, 0.95), rgba(125, 160, 139, 0.70));
}

.nav-cta,
.nav-links a {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-cta {
  background: rgba(244, 241, 234, 0.10);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.10) inset;
}

.hero {
  min-height: 94dvh;
  background: var(--coal);
}

.hero-media,
.hero-fallback,
.hero-fallback img,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video,
.hero-fallback img {
  object-fit: cover;
  object-position: center center;
}

.hero-video {
  z-index: 1;
  filter: brightness(0.82) saturate(0.82) contrast(1.08);
}

.hero-fallback {
  z-index: 0;
}

.hero-fallback img {
  transform: scale(1.04);
}

.solar-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0.36;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-shade {
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(7, 9, 15, 0.94) 0%, rgba(7, 9, 15, 0.72) 42%, rgba(7, 9, 15, 0.34) 72%, rgba(7, 9, 15, 0.62) 100%),
    linear-gradient(0deg, rgba(7, 9, 15, 0.98) 0%, rgba(7, 9, 15, 0.20) 44%, rgba(7, 9, 15, 0.48) 100%);
}

.hero-inner {
  z-index: 5;
  display: grid;
  gap: 28px;
  align-items: end;
}

.hero-content {
  max-width: 740px;
}

.eyebrow {
  font-family: var(--mono);
  color: var(--amber);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: linear-gradient(90deg, transparent, currentColor);
}

.hero h1,
h2 {
  font-family: var(--serif);
  font-weight: 360;
  letter-spacing: -0.035em;
}

.hero h1 {
  font-size: clamp(58px, 18vw, 126px);
  line-height: 0.92;
}

.hero h1 em {
  display: inline-block;
  color: var(--amber);
  font-style: italic;
  font-variation-settings: "SOFT" 60, "WONK" 1;
}

.hero-copy {
  color: rgba(244, 241, 234, 0.78);
  font-weight: 300;
  line-height: 1.42;
}

.button {
  min-height: 50px;
  font-weight: 700;
}

.button.primary,
.sticky-cta {
  background: linear-gradient(135deg, var(--amber), #e8c9a0);
  color: #0a0d14;
  box-shadow: 0 12px 30px rgba(212, 181, 130, 0.20), 0 1px 0 rgba(255, 255, 255, 0.32) inset;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.priority-picker,
.hero-panel,
.fit-card,
.step,
.faq,
.estimator,
.consult-form,
.flow-node {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(24px) saturate(150%);
  box-shadow: var(--shadow);
}

.priority-picker {
  padding: 18px;
  border-radius: 8px;
}

.priority {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.13);
  color: rgba(244, 241, 234, 0.82);
}

.priority.is-active {
  background: rgba(212, 181, 130, 0.92);
  border-color: rgba(255, 235, 198, 0.88);
  color: #090c0a;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.30), transparent);
}

.panel-kicker {
  font-family: var(--mono);
  color: rgba(244, 241, 234, 0.54);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin: 18px 0;
}

.panel-grid span {
  aspect-ratio: 1.45;
  border: 1px solid rgba(212, 181, 130, 0.20);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(244, 241, 234, 0.11), transparent 42%),
    rgba(14, 18, 26, 0.68);
  transform: skewX(-9deg);
  animation: panel-shimmer 3.4s ease-in-out infinite;
}

.panel-grid span:nth-child(3n + 1) {
  animation-delay: 0.4s;
}

.panel-grid span:nth-child(3n + 2) {
  animation-delay: 0.85s;
}

.panel-meter {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(7, 9, 15, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-meter span,
.panel-rows span {
  display: block;
  color: rgba(244, 241, 234, 0.48);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-meter strong,
.panel-rows strong {
  display: block;
  margin-top: 3px;
  color: var(--white);
  font-size: 16px;
}

.panel-meter i {
  position: relative;
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.panel-meter i span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 78%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

.panel-rows {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.panel-rows p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-rows p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.panel-rows strong {
  max-width: 52%;
  text-align: right;
  font-size: 14px;
}

.proof-band {
  background: rgba(255, 255, 255, 0.08);
}

.proof-band div,
.local-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    var(--paper);
}

.proof-band p,
h2,
h3 {
  color: var(--white);
}

.proof-band span,
.fit-icon {
  background: rgba(212, 181, 130, 0.11);
  color: var(--amber);
}

.fit-card:hover {
  border-color: rgba(212, 181, 130, 0.24);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset, 0 34px 70px rgba(0, 0, 0, 0.38);
}

.range-value,
.fit-score,
.faq summary::after,
.step span {
  color: var(--amber);
}

input[type="range"],
.consult-form input[type="radio"] {
  accent-color: var(--amber);
}

.energy-flow,
.consult-section,
.site-footer {
  background: rgba(7, 9, 15, 0.94);
}

.flow-node span {
  background: linear-gradient(135deg, var(--amber), var(--teal));
  box-shadow: 0 0 28px rgba(212, 181, 130, 0.22);
}

.flow-line span {
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}

.comparison-list span {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.10);
  color: var(--white);
}

.consult-form input[type="text"],
.consult-form input[type="tel"],
.consult-form select {
  background: rgba(244, 241, 234, 0.94);
  color: #0a0d14;
}

.consult-form input::placeholder {
  color: rgba(10, 13, 20, 0.52);
}

@media (min-width: 720px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    padding: 150px 32px 58px;
  }

  .hero-panel {
    align-self: end;
  }
}

@media (max-width: 719px) {
  .hero {
    min-height: 94dvh;
  }

  .hero-inner {
    padding-bottom: 32px;
  }

  .hero-panel {
    max-width: 100%;
  }

  .panel-grid {
    display: none;
  }

  .panel-meter {
    margin-top: 14px;
  }

  .panel-rows {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .panel-rows p {
    display: block;
    padding: 0;
    border: 0;
  }

  .panel-rows strong {
    max-width: none;
    text-align: left;
    font-size: 12px;
    line-height: 1.25;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    align-items: start;
    min-height: 720px;
  }

  .hero-inner {
    padding-top: 150px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: clamp(54px, 10vw, 84px);
  }

  .hero-copy {
    max-width: 560px;
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .hero-media img {
    transform: scale(1.02);
  }
}
