/* Page sections: header, hero, fix packages, how it works, Jade, contact, footer. */

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(14 16 15 / 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ink-3);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--paper);
  text-decoration: none;
}

.brand__mark {
  width: 0.75rem;
  height: 1.75rem;
  border-radius: 3px;
  background: var(--jade);
  flex: none;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }

.brand__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.brand__name--sm { font-size: 1em; }
.brand__accent { color: var(--jade); }

.brand__sub {
  font-size: 0.75rem;
  color: var(--paper-dim);
  letter-spacing: 0.02em;
}

.header-link {
  color: var(--paper);
  font-weight: 600;
  font-size: var(--step--1);
  text-decoration: none;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--ink-3);
  border-radius: 999px;
  white-space: nowrap;
}

.header-link:hover { border-color: var(--jade-deep); color: var(--jade); }

.brand__sub { white-space: nowrap; }

/* Very narrow screens / heavy zoom: keep brand and link on one row. */
@media (max-width: 23rem) {
  .site-header__inner { gap: 0.5rem; padding-inline: 1rem; }
  .brand__mark { display: none; }
  .brand__sub { font-size: 0.6875rem; }
  .header-link { font-size: 0.8125rem; padding: 0.5rem 0.7rem; }
}

/* ---------- Hero ---------- */
.lead {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 2rem + 4vw, 6rem) var(--section);
}

.hero h1 { margin-top: 1rem; }

.hero__body {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: var(--step-1);
  color: var(--paper-dim);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

.hero { max-width: 52rem; }

/* Desktop-only menu card beside the hero. Below 60rem the full cards follow right after the hero. */
.hero-card { display: none; }

@media (min-width: 60rem) {
  .lead {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
    gap: 4rem;
  }

  .hero-card {
    display: block;
    background: var(--ink-2);
    border: 1px solid var(--ink-3);
    border-radius: var(--radius);
    box-shadow: inset 0 4px 0 var(--jade);
    padding: 2rem;
  }
}

.hero-card__tag {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
}

.hero-card__title { margin-top: 0.5rem; font-size: var(--step-2); }

.menu {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.menu__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
  border-top: 1px solid var(--ink-3);
}

.menu__row:last-child { border-bottom: 1px solid var(--ink-3); }

.menu__text { display: flex; flex-direction: column; gap: 0.15rem; }

.menu__name { font-weight: 700; color: var(--paper); line-height: 1.3; }

.menu__desc { font-size: var(--step--1); color: var(--paper-dim); line-height: 1.4; }

.menu__price {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  min-height: 2.75rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--jade);
  color: var(--jade-ink);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

.menu__price:hover { background: #6fe0b6; }

.hero-card__note {
  margin-top: 1.25rem;
  font-size: var(--step--1);
  color: var(--paper-dim);
}

.hero__price {
  margin-top: 1.25rem;
  font-size: var(--step-1);
  color: var(--paper);
}

.hero__price strong { color: var(--jade); }

/* ---------- Fix packages ---------- */
.fixes__head { max-width: 44rem; }

.fixes__sub {
  margin-top: 0.75rem;
  color: var(--paper-dim);
}

.fixes__grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 48rem) {
  .fixes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}

.fix {
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: var(--radius);
  box-shadow: inset 0 4px 0 var(--jade);
  padding: clamp(1.5rem, 1rem + 1.5vw, 2rem);
}

.fix__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.fix__num {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  color: var(--violet);
}

.fix__price { display: inline-flex; align-items: baseline; gap: 0.45rem; line-height: 1; }

.fix__amount {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.5rem, 2rem + 2vw, 3.25rem);
  color: var(--jade);
  letter-spacing: -0.03em;
}

.fix__flat {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--paper);
}

.fix__title {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--step-2);
  line-height: 1.15;
}

.fix__copy { margin: 0.85rem 0 1.25rem; }

/* Scope + CTA sit at the bottom so they line up across a row. */
.fix__scope {
  margin-top: auto;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgb(79 209 161 / 0.08);
  border: 1px solid rgb(79 209 161 / 0.25);
  font-size: var(--step--1);
  color: var(--paper);
}

.fix__scope-label {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jade);
}

.fix__cta { margin-top: 1.25rem; align-self: flex-start; }

.fixes__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-3);
  color: var(--paper-dim);
}

.fixes__note p { max-width: 40rem; }

.hero__aside {
  margin-top: 1.25rem;
  font-size: var(--step--1);
}

.hero__aside a { color: var(--paper-dim); }
.hero__aside a:hover { color: var(--paper); }

/* ---------- Audits (secondary to the fixes) ---------- */
.eyebrow--violet { color: var(--violet); }

.audits__head { max-width: 44rem; }
.audits__head h2 { margin-top: 0.75rem; }

.audits__lede {
  margin-top: 0.85rem;
  color: var(--paper-dim);
  font-size: var(--step-1);
  line-height: 1.5;
}

.audits__grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
}

@media (min-width: 60rem) {
  .audits__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
}

.audit {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ink-3);
  border-top: 2px solid var(--violet);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.audit__price { display: flex; align-items: baseline; gap: 0.4rem; line-height: 1; }

.audit__amount {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 2rem;
  color: var(--paper);
  letter-spacing: -0.02em;
}

.audit__flat {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--paper-dim);
}

.audit__title {
  margin-top: 0.75rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--step-1);
  line-height: 1.2;
}

.audit__copy {
  margin: 0.6rem 0 1rem;
  font-size: var(--step--1);
  line-height: 1.55;
}

.audit__scope {
  margin-top: auto;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--paper-dim);
  padding-top: 0.85rem;
  border-top: 1px dashed var(--ink-3);
}

.audit__scope-label {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
}

.audit__cta { margin-top: 1.25rem; align-self: flex-start; }

.audits__deliverable {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--violet);
  background: var(--ink-2);
  border-radius: 0 10px 10px 0;
  max-width: 52rem;
}

.audits__deliverable strong { color: var(--paper); }

.audits__fine {
  margin-top: 0.6rem;
  font-size: var(--step--1);
  color: var(--paper-dim);
}

/* ---------- Generic section ---------- */
.section {
  padding-block: var(--section);
  border-top: 1px solid var(--ink-3);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.demo-label {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet);
  border: 1px dashed var(--violet);
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
}

/* ---------- How it works ---------- */
.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: none;
}

@media (min-width: 48rem) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}

.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-top: 1.25rem;
  border-top: 1px solid var(--jade-deep);
  font-size: var(--step-1);
  line-height: 1.4;
}

.steps__n {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--jade);
  flex: none;
  padding-top: 0.25rem;
}

.also {
  margin-top: 3rem;
  max-width: 44rem;
  color: var(--paper-dim);
}

.also strong { color: var(--paper); font-weight: 600; }

/* ---------- Jade + contact ---------- */
.jade__inner {
  display: grid;
  gap: 3rem;
}

@media (min-width: 60rem) {
  .jade__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 5rem; align-items: start; }
}

.jade__intro {
  font-family: var(--font-serif);
  font-size: var(--step-2);
  line-height: 1.35;
  max-width: 34ch;
}

.jade__sig {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  color: var(--paper-dim);
  font-size: var(--step--1);
}

.jade__fox { width: 64px; height: 64px; flex: none; }

.jade__name { color: var(--jade); font-weight: 700; }

.jade__more {
  margin-top: 2rem;
  max-width: 38rem;
  color: var(--paper-dim);
}

.ask {
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-left: 4px solid var(--jade);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
}

.ask p { margin-top: 0.75rem; }
.ask .btn { margin-top: 1.5rem; }

.ask__note {
  font-size: var(--step--1);
  color: var(--paper-dim);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--ink-3);
  padding-block: 2rem;
  font-size: var(--step--1);
  color: var(--paper-dim);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

.site-footer .brand__name { color: var(--paper); }
