/* ============================================================
   Quick Wins page — extends css/styles.css tokens/utilities.
   ============================================================ */

/* .qw2-topbar now lives in css/styles.css — it's sitewide, not page-specific. */

/* ---------- Hero ---------- */
.qw2-hero {
  position: relative;
  /* Cap the box's own aspect ratio so object-fit:cover never has to crop
     the video beyond its safe margin — on wide-short windows the hero
     simply grows taller instead of cropping the source frame. */
  min-height: max(88vh, calc(100vw / 1.8));
  min-height: max(88dvh, calc(100vw / 1.8));
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--space-6) + 64px) 0 var(--space-6);
}
.qw2-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.qw2-hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% 52%;
}
.qw2-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--porcelain) 0%, rgba(250, 249, 246, 0.94) 22%, rgba(250, 249, 246, 0.55) 42%, transparent 62%, transparent 100%);
}
.qw2-hero__inner {
  display: flex;
  justify-content: flex-start;
}
.qw2-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(192, 108, 56, 0.35);
  border-radius: 999px;
  margin-bottom: var(--space-3);
}
.qw2-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rust);
  flex-shrink: 0;
}
.qw2-typewriter {
  white-space: nowrap;
  border-right: 2px solid var(--rust);
  padding-right: 2px;
}
.qw2-typewriter.is-done {
  border-right: none;
}
.qw2-hero__copy {
  max-width: 520px;
  width: 100%;
}
.qw2-hero h1 { max-width: 14ch; }
.qw2-hero__sub {
  margin-top: var(--space-3);
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 46ch;
}
@media (max-width: 900px), (max-aspect-ratio: 4/3) {
  .qw2-hero__scrim {
    background: linear-gradient(
      180deg,
      rgba(250, 249, 246, 0.35) 0%,
      rgba(250, 249, 246, 0.9) 45%,
      rgba(250, 249, 246, 0.97) 100%
    );
  }
  .qw2-hero__inner { justify-content: flex-start; }
  .qw2-hero__copy { max-width: none; }
  .qw2-hero h1 { max-width: none; }
}

/* ---------- Card grid intro ---------- */
.qw2-cards {
  padding: var(--space-7) 0;
  background: var(--porcelain);
}
.qw2-cards .section__head { margin-bottom: var(--space-2); }

/* ---------- Service breakdown — alternating media/content rows ---------- */
.qw2-service { padding: var(--space-7) 0; }
.qw2-service:first-of-type { padding-top: var(--space-3); }
.qw2-service--alt { background: var(--sand); }

.qw2-service__row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-6);
  align-items: center;
}
.qw2-service--alt .qw2-service__row { grid-template-columns: 1.15fr 0.85fr; }
.qw2-service--alt .qw2-service__media { order: 2; }
.qw2-service--alt .qw2-service__content { order: 1; }
.qw2-service--wide .qw2-service__row { grid-template-columns: 0.8fr 1.2fr; }

.qw2-service__media { position: relative; }
.qw2-service__placeholder {
  aspect-ratio: 4 / 5;
  border: 2px dashed var(--service-color, var(--rust));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--service-color, var(--rust)) 6%, var(--porcelain));
  color: var(--service-color, var(--rust));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-align: center;
  padding: var(--space-4);
}
.qw2-service__placeholder svg { width: 40px; height: 40px; opacity: 0.7; }
.qw2-service__placeholder span {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
  max-width: 18ch;
}
.qw2-service__dots {
  position: absolute;
  width: 110px;
  height: 110px;
  bottom: -24px;
  left: -24px;
  background-image: radial-gradient(var(--service-color, var(--rust)) 1.5px, transparent 1.5px);
  background-size: 13px 13px;
  opacity: 0.4;
  z-index: -1;
}
.qw2-service--alt .qw2-service__dots { left: auto; right: -24px; }

/* ---------- The Lander — real build-out video ---------- */
.qw2-service__video {
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(51, 51, 51, 0.35);
}
.qw2-service__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qw2-service__content h2 { margin-bottom: var(--space-1); }

.qw2-eyebrow {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: var(--space-1);
}
.qw2-hook {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: var(--space-3);
}

.qw2-detail__desc { color: var(--text-muted); margin-bottom: var(--space-3); }
.qw2-service__content h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: var(--space-1);
}

@media (max-width: 900px) {
  .qw2-service__row,
  .qw2-service--alt .qw2-service__row,
  .qw2-service--wide .qw2-service__row { grid-template-columns: 1fr; }
  .qw2-service--alt .qw2-service__media,
  .qw2-service--alt .qw2-service__content { order: initial; }
  .qw2-service__media { max-width: 340px; margin: 0 auto var(--space-4); }
  .qw2-service--wide .qw2-service__media { max-width: 420px; }
}
.qw2-list { margin-bottom: var(--space-3); }
.qw2-list li {
  position: relative;
  padding-left: 1.3em;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.4em;
}
.qw2-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}
.qw2-list--not li::before { content: "–"; color: #b5a98f; }
.qw2-list--not li { color: #8a8478; }

.qw2-priceblock {
  background: var(--sand);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  margin-bottom: var(--space-3);
}
.qw2-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--charcoal);
  margin-bottom: 0.5em;
}
.qw2-price span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.qw2-meta { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.35em; }
.qw2-meta strong { color: var(--charcoal); }

.qw2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: var(--space-2);
}
.btn--ghost-dark {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--border);
}
.btn--ghost-dark:hover { border-color: var(--rust); color: var(--rust); }

/* Tier toggle (Card 2 — Social Content Studio) */
.qw2-tiers {
  display: flex;
  gap: 0.4rem;
  padding: 0.3rem;
  background: var(--sand);
  border-radius: 999px;
  margin-bottom: var(--space-3);
  width: fit-content;
}
.qw2-tier-btn {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.qw2-tier-btn.is-active { background: var(--charcoal); color: var(--porcelain); }
.qw2-tier-panel { display: none; }
.qw2-tier-panel.is-active { display: block; }

/* ---------- Comparison table ---------- */
.qw2-compare {
  padding: 0 0 var(--space-7);
  background: var(--porcelain);
}
.qw2-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.qw2-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--porcelain);
}
.qw2-table th,
.qw2-table td {
  text-align: left;
  padding: var(--space-3);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 0.95rem;
}
.qw2-table th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--charcoal);
  background: var(--sand);
}
.qw2-table td:first-child,
.qw2-table th:first-child { color: var(--text-muted); font-weight: 700; width: 22%; }
.qw2-table tr:last-child td { border-bottom: none; }
.qw2-table td.qw2-col--rust { color: var(--rust); font-weight: 700; }

/* ---------- FAQ ---------- */
.qw2-faq {
  padding: 0 0 var(--space-7);
  background: var(--porcelain);
}
.qw2-faq-list { max-width: 760px; margin: 0 auto; }

/* Intro hero — reuses the Phase 1 photo from TheBuild, same dark-scrim
   recipe as the other page heroes. */
.qw2-faq-hero {
  position: relative;
  min-height: 46vh;
  min-height: 46dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--space-6) + 64px) 0 var(--space-6);
}
.qw2-faq-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/img/thebuild-phase1-bg.jpg");
  background-size: cover;
  background-position: center;
}
.qw2-faq-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,
    rgba(51,51,51,0.88) 0%,
    rgba(51,51,51,0.6) 32%,
    rgba(51,51,51,0.22) 58%,
    rgba(51,51,51,0) 80%);
}
.qw2-faq-hero .section__head {
  max-width: 640px;
  margin: 0;
  text-align: left;
}
.qw2-faq-hero .eyebrow { color: var(--rust); }
.qw2-faq-hero h1 { color: var(--porcelain); }

@media (max-width: 899px) {
  .qw2-faq-hero__scrim {
    background: linear-gradient(180deg,
      rgba(51,51,51,0.5) 0%,
      rgba(51,51,51,0.75) 55%,
      rgba(51,51,51,0.85) 100%);
  }
}
.qw2-faq-item {
  border-bottom: 1px solid var(--border);
  padding: var(--space-3) 0;
}
.qw2-faq-item h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 0.5em;
}
.qw2-faq-item p {
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0;
}

/* ---------- Closing CTA ---------- */
.qw2-closing { padding: var(--space-7) 0; background: var(--sand); }
.qw2-closing .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.qw2-path {
  background: var(--porcelain);
  border-radius: var(--radius);
  padding: var(--space-5);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.qw2-path p { color: var(--text-muted); margin-bottom: var(--space-3); }
@media (max-width: 720px) {
  .qw2-closing .container { grid-template-columns: 1fr; }
}
