:root {
  --ink: #24211e;
  --muted: #746d63;
  --line: #ebe1d4;
  --paper: #fbf6ee;
  --white: #fffefb;
  --teal: #28221d;
  --teal-2: #a05a28;
  --mint: #f2e7d8;
  --gold: #b97738;
  --gold-soft: #f7ead7;
  --shadow: 0 22px 55px rgba(54, 42, 30, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fffaf3;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.site-header[data-scrolled="true"] {
  color: var(--ink);
  background: rgba(255, 250, 243, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 243, 0.52);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.95);
  box-shadow: 0 8px 20px rgba(60, 45, 30, 0.12);
}

.site-header[data-scrolled="true"] .brand-mark {
  border-color: var(--line);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.88rem;
  letter-spacing: 0;
}

.brand small {
  color: currentColor;
  font-size: 0.76rem;
  opacity: 0.75;
}

.nav-links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.92rem;
}

.nav-links a {
  opacity: 0.86;
}

.nav-links a:hover {
  opacity: 1;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.header-cta {
  border: 1px solid currentColor;
  padding: 0 16px;
  font-size: 0.88rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  overflow: hidden;
  color: var(--white);
}

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

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(25, 23, 21, 0.9) 0%, rgba(31, 28, 25, 0.72) 38%, rgba(31, 28, 25, 0.18) 78%),
    linear-gradient(0deg, rgba(25, 23, 21, 0.46), rgba(25, 23, 21, 0.06));
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(760px, calc(100% - 36px));
  margin: 0 0 clamp(52px, 9vh, 88px) clamp(18px, 7vw, 92px);
  padding-top: 120px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f3c47c;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  border: 1px solid transparent;
  padding: 0 20px;
  cursor: pointer;
  font-size: 0.94rem;
}

.button.primary {
  color: var(--white);
  background: var(--teal-2);
}

.button.primary:hover {
  background: #84481f;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 250, 243, 0.56);
  background: rgba(255, 250, 243, 0.08);
}

.button.ghost {
  color: var(--teal);
  border-color: var(--line);
  background: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(680px, 100%);
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-stats div {
  padding: 16px 18px 4px 0;
}

.hero-stats dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
}

.hero-stats dd {
  margin: 2px 0 0;
  font-size: 1rem;
  font-weight: 800;
}

.band,
.section,
.contact {
  padding: clamp(68px, 9vw, 118px) 0;
}

.band {
  background: var(--paper);
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.two-column,
.scope-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-copy p:last-child,
.section-heading p:last-child,
.contact-layout p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading.compact {
  max-width: 680px;
}

.service-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-categories {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.price-card,
.scope-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(54, 42, 30, 0.02);
}

.service-card {
  min-height: 230px;
  padding: 24px;
}

.service-card .icon {
  display: inline-grid;
  width: 42px;
  height: 34px;
  margin-bottom: 28px;
  place-items: center;
  border-left: 3px solid var(--gold);
  color: var(--teal-2);
  font-weight: 800;
}

.service-card p,
.price-card p,
.scope-panel li,
.process-list p,
.form-note {
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-left: 18px;
  color: var(--muted);
}

.service-card li {
  padding-left: 4px;
}

.feature-list,
.support-grid,
.faq-grid {
  display: grid;
  gap: 14px;
}

.feature-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-list div,
.support-grid article,
.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-list div {
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 800;
}

.support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-grid article {
  min-height: 120px;
  padding: 22px;
  color: var(--ink);
  font-weight: 800;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-grid article {
  padding: 24px;
}

.faq-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.pricing-grid {
  align-items: stretch;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  position: relative;
  padding: 24px;
  box-shadow: none;
}

.price-card.featured {
  border-color: rgba(160, 90, 40, 0.5);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-block;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--teal);
  background: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
}

.price-head {
  min-height: 86px;
  margin-bottom: 14px;
}

.price {
  color: var(--teal-2);
  font-size: 1.35rem;
  font-weight: 900;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.price-card ul,
.scope-panel ul {
  display: grid;
  gap: 10px;
  padding-left: 19px;
}

.price-card li,
.scope-panel li {
  padding-left: 4px;
}

.addon-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.addon-strip div {
  min-height: 116px;
  padding: 20px;
  background: #fffaf3;
}

.addon-strip strong,
.addon-strip span {
  display: block;
}

.addon-strip span {
  margin-top: 8px;
  color: var(--muted);
}

.pricing-explainer {
  display: grid;
  gap: 22px;
  margin-top: 28px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf3;
  box-shadow: var(--shadow);
}

.pricing-explainer-intro {
  max-width: 820px;
}

.pricing-explainer h3 {
  max-width: 780px;
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.06;
}

.pricing-explainer h4 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.pricing-explainer p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
}

.pricing-explainer p + p {
  margin-top: 10px;
}

.pricing-factor-block {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.factor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.factor-grid li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 650;
}

.pricing-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pricing-info-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.pricing-info-grid ul {
  display: grid;
  gap: 8px;
  margin: 8px 0 12px;
  padding-left: 18px;
}

.section-link-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.section-link-note a {
  color: var(--teal-2);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.scope-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.scope-panel {
  padding: 24px;
}

.scope-panel.included {
  border-top: 4px solid var(--teal-2);
}

.scope-panel.separate {
  border-top: 4px solid var(--gold);
  background: #fffaf1;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}

.process-list li {
  min-height: 190px;
  border-top: 1px solid var(--line);
  padding: 24px 0 0;
}

.process-list span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.contact {
  color: var(--white);
  background: var(--teal);
}

.estimate-cta {
  padding: clamp(54px, 7vw, 86px) 0;
  color: var(--white);
  background: linear-gradient(135deg, #28221d, #3b2a20 58%, #6c3519);
}

.estimate-cta .eyebrow {
  color: #f3c47c;
}

.estimate-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.estimate-cta-inner p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.estimate-page {
  background: var(--paper);
}

.estimate-page .site-header,
.estimator-header {
  position: sticky;
  color: var(--ink);
  background: rgba(255, 250, 243, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.estimator-hero {
  padding: 126px 0 50px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(40, 34, 29, 0.96), rgba(95, 53, 30, 0.9)),
    url("assets/ignite-workflow-hero.png") center / cover;
}

.estimator-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
}

.estimator-hero h1 {
  max-width: 780px;
  font-size: clamp(2.5rem, 5vw, 4.9rem);
}

.estimator-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.estimator-note {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.estimator-note span {
  color: rgba(255, 255, 255, 0.78);
}

.estimator-shell {
  padding-top: 48px;
}

.estimator-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.progress-panel,
.estimator-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(60, 45, 30, 0.08);
}

.progress-panel {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.progress-panel h2 {
  margin-bottom: 22px;
  font-size: 1.6rem;
}

.step-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.step-list li {
  border-left: 3px solid var(--line);
  padding: 9px 0 9px 12px;
  color: var(--muted);
  font-weight: 800;
}

.step-list li.is-active,
.step-list li.is-complete {
  border-left-color: var(--teal-2);
  color: var(--ink);
}

.estimator-form {
  padding: clamp(22px, 4vw, 38px);
}

.estimator-step {
  display: none;
}

.estimator-step.is-active {
  display: block;
  margin-bottom: 34px;
}

.estimator-step[data-step="2"].is-active {
  margin-bottom: 50px;
}

.estimator-step h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.step-help {
  max-width: 720px;
  color: var(--muted);
}

.option-grid,
.checkbox-grid,
.volume-grid {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.option-grid,
.checkbox-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.volume-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-card {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--paper);
  cursor: pointer;
  font-weight: 800;
}

.choice-card:has(input:checked) {
  border-color: rgba(160, 90, 40, 0.72);
  background: #f6eadb;
}

.choice-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal-2);
}

.field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.upload-panel {
  margin: 6px 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fffaf3;
}

.selected-file-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.selected-file-list li {
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.estimator-controls,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 42px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.result-actions {
  margin-top: 36px;
}

.result-actions .button {
  width: auto;
  max-width: 460px;
}

.result-disclaimer {
  max-width: 820px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.result-step {
  text-align: left;
}

.result-price {
  margin: 12px 0 18px;
  color: var(--teal-2);
  font-size: clamp(1.9rem, 4vw, 3.35rem);
  font-weight: 900;
  line-height: 1.08;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.result-grid div {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--paper);
}

.result-grid span {
  color: var(--muted);
}

.contact .eyebrow {
  color: #f3c47c;
}

.contact-layout p {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: -4px 0 0;
  font-size: 0.84rem;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #211b17;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 960px) {
  .site-header {
    position: sticky;
    color: var(--ink);
    background: #fffaf3;
    border-bottom: 1px solid var(--line);
  }

  .nav-links {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    min-height: 860px;
  }

  .hero-content {
    width: min(680px, calc(100% - 36px));
    margin-left: 18px;
  }

  .service-grid,
  .service-categories,
  .pricing-grid,
  .project-grid,
  .addon-strip,
  .pricing-info-grid,
  .process-list,
  .support-grid,
  .option-grid,
  .checkbox-grid,
  .volume-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .scope-layout,
  .contact-layout,
  .estimate-cta-inner,
  .estimator-hero-inner,
  .estimator-layout {
    grid-template-columns: 1fr;
  }

  .progress-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 66px;
    gap: 12px;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: 790px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(25, 23, 21, 0.92), rgba(25, 23, 21, 0.7)),
      linear-gradient(0deg, rgba(25, 23, 21, 0.42), rgba(25, 23, 21, 0.14));
  }

  .hero-content {
    margin-bottom: 42px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  .button {
    width: 100%;
  }

  .hero-stats,
  .service-grid,
  .service-categories,
  .pricing-grid,
  .project-grid,
  .addon-strip,
  .pricing-info-grid,
  .factor-grid,
  .scope-panels,
  .process-list,
  .feature-list,
  .support-grid,
  .faq-grid,
  .option-grid,
  .checkbox-grid,
  .volume-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .estimator-hero {
    padding-top: 96px;
  }

  .estimator-controls,
  .result-actions {
    display: grid;
  }

  .hero-stats div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .footer-inner {
    display: grid;
  }
}
