/* ============================================================
   Freedom35 Web Design — site-specific components
   Loaded AFTER base.css. Only things that exist on this site and
   nowhere in the kit belong here; anything reusable should be
   promoted back into the kit's base.css.
   ============================================================ */

/* ---------- "The catch" panel ------------------------------
   The single highest-leverage block on the homepage. A free-website
   offer reads as a scam until the catch is stated, so it is stated
   first, in plain language, above everything else.
   ----------------------------------------------------------- */
.catch {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 240px at 12% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 65%),
    var(--surface);
  padding: clamp(1.8rem, 4vw, 2.8rem);
}
.catch h2 { margin-bottom: 1.2rem; }
.catch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 820px) { .catch-list { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; } }
.catch-list li { padding-left: 2.4rem; position: relative; }
.catch-list li b { display: block; color: var(--ink); font-family: var(--display); font-size: 1.05rem; }
.catch-list li::before {
  content: attr(data-n);
  position: absolute; left: 0; top: .1rem;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-dark);
  font-size: .8rem; font-weight: 700; font-family: var(--display);
}

/* The Freedom35Studios mark ships on its own dark ground rather than a
   transparent one, so round its corners — otherwise it reads as a stray square
   sitting on the header instead of a deliberate tile. */
.brand img { border-radius: 9px; }
.hero-art img { border-radius: 18px; }

/* Three footer columns, not the kit's four — this site has no legal column. */
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
}

/* ---------- Portfolio / work cards ------------------------- */
.work-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.work-card .screenshot { border: 0; border-radius: 0; box-shadow: none; }
.work-card__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.work-card__body h3 { margin-bottom: .3rem; }
.work-card__meta { color: var(--muted); font-size: .85rem; margin-bottom: .9rem; }
.work-card__body .btn { margin-top: auto; align-self: flex-start; }

/* A slot for a portfolio piece that does not exist yet. Better than inventing
   a fake project, and it makes the roadmap read as momentum rather than a gap. */
.work-card--pending {
  border-style: dashed;
  background: transparent;
  display: grid; place-items: center; text-align: center;
  padding: 2.6rem 1.6rem; min-height: 260px;
}
.work-card--pending h3 { color: var(--muted); }

/* ---------- Comparison table ------------------------------- */
/* The DIY-platform comparison is the argument that closes price-sensitive
   visitors, so it gets its own treatment rather than the default table look. */
.compare thead th { background: var(--dark-2); }
.compare th:first-child { width: 34%; }
.compare .us { color: var(--ink); font-weight: 650; }
.compare td .yes { color: var(--ok); font-weight: 700; }
.compare td .no { color: var(--muted); }
.compare tbody tr:nth-child(even) { background: color-mix(in srgb, var(--brand) 4%, transparent); }

/* ---------- Plan cards on the pricing page ----------------- */
.plan-note {
  border-top: 1px solid var(--line);
  margin-top: 1.2rem; padding-top: 1.1rem;
  font-size: .88rem; color: var(--muted);
}

/* ---------- Intake form ------------------------------------ */
.intake { max-width: 760px; margin-inline: auto; }
.intake fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.intake legend { padding: 0; }
.intake legend h2 { margin-bottom: .3rem; }
.intake .legend-sub { color: var(--muted); margin-bottom: 1.6rem; }

/* Saved-draft notice. People do abandon a five-step form and come back. */
.draft-note {
  display: flex; align-items: center; gap: .6rem;
  font-size: .86rem; color: var(--muted); margin-bottom: 1rem;
}

/* ---------- Admin pipeline board --------------------------- */
/* Seven pipeline stages will never fit as equal columns on any screen, so the
   board is a horizontally scrolling kanban rather than a squeezed grid. It
   scrolls inside its own container — the page body never scrolls sideways. */
.board {
  display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .6rem;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.board-col {
  flex: 0 0 clamp(230px, 82vw, 260px);
  scroll-snap-align: start;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .9rem; min-height: 120px;
}
@media (min-width: 900px) { .board-col { flex-basis: 250px; } }
.board-col h3 {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); margin-bottom: .8rem;
}
.board-col h3 .count {
  background: var(--brand-soft); color: var(--brand-dark);
  border-radius: 999px; padding: .1rem .5rem; margin-left: .4rem; font-size: .74rem;
}
.lead-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: .85rem .9rem; margin-bottom: .7rem;
  cursor: pointer; transition: border-color .16s var(--ease), transform .16s var(--ease);
}
.lead-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.lead-card b { display: block; color: var(--ink); font-size: .95rem; }
.lead-card span { display: block; color: var(--muted); font-size: .8rem; }

/* Detail drawer. Deliberately a plain fixed panel rather than a <dialog>:
   the admin page is used on a phone as often as a desktop, and this keeps the
   background page scrollable behind it. */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(560px, 100%); z-index: 80;
  background: var(--surface); border-left: 1px solid var(--line);
  box-shadow: var(--shadow-lg); overflow-y: auto; padding: 1.6rem;
  transform: translateX(100%); transition: transform .3s var(--ease);
}
.drawer.open { transform: none; }
.drawer dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1rem; margin: 0 0 1.4rem; }
.drawer dt { color: var(--muted); font-size: .85rem; }
.drawer dd { margin: 0; }
.drawer dd.wrap { white-space: pre-wrap; }
