/* ============================================================
   Homefront Web Design — revamp candidate
   20-work.css — Your Free Demo (#free-demo) + What We Do (#what-we-do)
   Tokens per COPY-DECK.md §1.1 (fallbacks = the deck's literal hex,
   so this fragment also renders standalone until 00-tokens-base.css lands).
   Mobile-first: base layout is the 390px single column.
   ============================================================ */

/* ---------- Shared section scaffolding ---------- */

.hf-wrap {
  max-width: var(--width-content, 980px);
  margin-inline: auto;
  padding-inline: 24px;
}

.hf-section-title {
  margin: 0 0 16px;
  font-family: var(--font-display, Fraunces, Georgia, serif);
  font-size: 2.05rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.012em;
}

.hf-section-sub {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.hf-section-head {
  max-width: var(--width-narrow, 680px);
  margin-inline: auto;
  margin-bottom: var(--gap, 40px);
  text-align: center;
}

/* ---------- Your Free Demo — dark band ---------- */

.hf-samples {
  background: var(--ground, #060D18);
  color: var(--text, #F5F5F7);
  padding-block: 56px;
}

.hf-samples .hf-eyebrow {
  color: var(--accent, #C9A45C);
}

.hf-samples .hf-section-sub {
  color: var(--muted, #A8B3C7);
} .hf-demo-btn {
  max-width: 100%;
  transform: none;
}

/* Section close — the "yours next" slot */
.hf-samples-close {
  margin-top: 0;
  text-align: center;
}

.hf-samples-close-title {
  margin: 0 0 18px;
  font-family: var(--font-display, Fraunces, Georgia, serif);
  font-size: 1.26rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text, #F5F5F7);
}

.hf-demo-btn {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--cta, #E8C476);
  color: var(--cta-text, #241B06);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.hf-demo-btn:hover,
.hf-demo-btn:focus-visible {
  background: var(--cta-hover, #DCC084);
}

.hf-demo-btn:active {
  background: var(--accent, #C9A45C);
}

/* ---------- What We Do — paper band (the one light band) ---------- */

.hf-what {
  background: var(--paper, #F6F1E8);
  color: var(--paper-ink, #1D1D1F);
  padding-block: 56px;
}

.hf-what .hf-eyebrow {
  color: var(--paper-gold, #7C5F00);
}

.hf-what-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 0;
}

.hf-what-card {
  background: var(--paper-well, #FFFDF8);
  border: 1px solid var(--paper-border, #DDD3BE);
  border-radius: var(--radius, 10px);
  padding: 24px 22px 28px;
}

.hf-what-card-title {
  margin: 0 0 10px;
  font-family: var(--font-display, Fraunces, Georgia, serif);
  font-size: 1.26rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--paper-ink, #1D1D1F);
}

.hf-what-card-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--paper-ink, #1D1D1F);
}

/* ---------- Wider viewports ---------- */

@media (min-width: 561px) {
  .hf-wrap {
    padding-inline: 24px;
  }

  .hf-samples,
  .hf-what {
    padding-block: 72px;
  }
}

@media (min-width: 821px) {

  .hf-what-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .hf-what-card {
    padding: 28px;
  }
}

/* Refresh polish 2026-11-11 (DESIGN 2.6): section titles step down on small screens. */
@media (max-width: 560px) {
  .hf-section-title { font-size: 1.75rem; }
}

/* ---------- How It Works — process band (added 2026-11-12, site-benchmark BUILD-3) ----------
   Dark surface band between Free Demo (ground) and What We Do (paper).
   No watermark in this section — restraint per DESIGN P6 pattern. */

.hf-process {
  background: var(--surface, #0B1526);
  color: var(--text, #F5F5F7);
  padding-block: 56px;
}

.hf-process .hf-eyebrow {
  color: var(--accent, #C9A45C);
}

.hf-process .hf-section-sub {
  color: var(--muted, #A8B3C7);
}

.hf-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 0;
}

.hf-process-step {
  background: var(--inset, #122239);
  border: 1px solid rgba(201, 164, 92, 0.28);
  border-radius: var(--radius, 10px);
  padding: 24px 22px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.hf-process-num {
  margin: 0 0 12px;
  font-family: var(--font-display, Fraunces, Georgia, serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent, #C9A45C);
}

.hf-process-step-title {
  margin: 0 0 10px;
  font-family: var(--font-display, Fraunces, Georgia, serif);
  font-size: 1.26rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text, #F5F5F7);
}

.hf-process-step-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted, #A8B3C7);
}

@media (min-width: 561px) {
  .hf-process {
    padding-block: 72px;
  }
}

@media (min-width: 821px) {
  .hf-process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .hf-process-step {
    padding: 28px;
  }
}
