/* Catalyst Works — fractional offer pages.
   Loaded ON TOP of lens-pages.css (which supplies the nav, hero, section,
   cta-strip and footer primitives). This file only adds what the fractional
   pages need and nothing else owns:

     .weekstrip   the seven-day strip that makes "one day a week" a picture
     .tiers       the sliding scale and its three marked points
     .stepdown    the descending ladder, drawn so it visibly gets smaller
     .cost        the no-headcount block that sits adjacent to the price
     .nots        the disqualification list
     .plain       the no-logos honesty block
     .startbox    email capture, then the booking

   Organic-geometry first pass (memory/feedback_no_visible_grid_organic_geometry):
   every accent rule on this page is an irregular inline SVG stroke, and every
   major seam is a torn edge. No `border-top: 1px` used as a decorative rule and
   no CSS gradient bar standing in for an inked line.
*/

/* ── No orphans (HARD RULE: minimum two words per line) ──────────────
   The hero H1 on /fractional/ai/ broke as "...confusion and the" /
   "overwhelm." at 1440, dropping one word onto its own line. `balance`
   redistributes the headline across its lines instead, and `pretty` stops
   the same thing happening at the end of any body paragraph or list item.
   Scoped here rather than in lens-pages.css so it cannot alter a page that
   was already signed off. */
.hero h1,
.section h2,
.tier-name,
.cta-strip h3,
.cost h3 { text-wrap: balance; }

.hero .lede,
.section p,
.section li,
.tier p,
.cost p,
.plain p,
.nots li,
.step span { text-wrap: pretty; }

/* ── Torn seam between major bands ───────────────────────────────── */
.seam { display: block; width: 100%; height: 26px; line-height: 0; }
.seam svg { display: block; width: 100%; height: 26px; }

/* ── The week strip ──────────────────────────────────────────────── */
.weekstrip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  max-width: 340px;
  margin: 0 0 16px;
}
.weekstrip span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t-dim);
  text-align: center;
  padding: 9px 0;
  border-radius: 6px;
  background: rgba(245, 239, 226, 0.04);
}
.weekstrip span.on {
  color: var(--ink);
  background: var(--amber);
  font-weight: 600;
}
.weekstrip span.half {
  color: var(--amber);
  background: rgba(232, 166, 107, 0.16);
  box-shadow: inset 0 0 0 1px rgba(232, 166, 107, 0.4);
}

/* ── The sliding scale ───────────────────────────────────────────── */
.scale { max-width: 820px; margin: 4px 0 34px; }
.scale-line {
  position: relative;
  height: 34px;
  margin: 26px 0 10px;
}
.scale-line svg { position: absolute; inset: 0; width: 100%; height: 34px; }
.scale-ends {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--t-muted);
  letter-spacing: 0.04em;
}
.scale-ends b { color: var(--paper); font-weight: 500; }

/* ── Tier cards ──────────────────────────────────────────────────── */
.tiers { display: flex; flex-direction: column; gap: 16px; max-width: 900px; }
.tier {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 28px;
  align-items: start;
  padding: 26px 28px;
  border-radius: 16px;
  background: rgba(22, 29, 39, 0.5);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 260ms var(--ease), transform 260ms var(--ease);
}
.tier:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(232, 166, 107, 0.3); }
.tier.is-anchor {
  background: linear-gradient(180deg, rgba(232, 166, 107, 0.08) 0%, rgba(15, 20, 28, 0.62) 100%);
  box-shadow: inset 0 0 0 1px rgba(232, 166, 107, 0.36);
}
.tier-flag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.tier-name {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  color: var(--paper);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.tier p { font-size: 15.5px; color: var(--t-mid); line-height: 1.58; margin: 0; max-width: 50ch; }
.tier-aside { text-align: right; }
.tier-price {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.03em;
  line-height: 1;
}
.tier-price small {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--t-muted);
  letter-spacing: 0.04em;
  margin-top: 9px;
  line-height: 1.5;
}

/* ── No-headcount cost block, sits next to the price on purpose ──── */
.cost {
  margin: 30px 0 0;
  max-width: 900px;
  padding: 24px 26px;
  border-radius: 14px;
  background: rgba(91, 192, 190, 0.06);
  box-shadow: inset 0 0 0 1px rgba(91, 192, 190, 0.22);
}
.cost h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--paper);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.cost p { font-size: 15.5px; color: var(--t-mid); line-height: 1.6; margin: 0 0 12px; max-width: 66ch; }
.cost p:last-child { margin-bottom: 0; }

/* ── Step-down ladder, drawn descending ──────────────────────────── */
.stepdown { max-width: 820px; margin: 8px 0 0; display: flex; flex-direction: column; gap: 10px; }
.step {
  padding: 18px 22px;
  border-radius: 12px;
  background: rgba(245, 239, 226, 0.05);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.step:nth-child(1) { width: 100%; }
.step:nth-child(2) { width: 84%; background: rgba(245, 239, 226, 0.038); }
.step:nth-child(3) { width: 68%; background: rgba(245, 239, 226, 0.026); }
.step b {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 7px;
  font-weight: 500;
}
.step span { font-size: 15px; color: var(--t-mid); line-height: 1.55; }

/* ── Disqualification list ───────────────────────────────────────── */
.nots { list-style: none; max-width: 780px; margin: 6px 0 0; }
.nots li {
  position: relative;
  padding: 13px 0 13px 34px;
  font-size: 16px;
  color: var(--t-mid);
  line-height: 1.55;
}
.nots li + li { background-image: none; }
.nots li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 21px;
  width: 14px;
  height: 1.5px;
  background: var(--rust);
  transform: rotate(-4deg);
}

/* ── The honesty block ───────────────────────────────────────────── */
.plain {
  max-width: 820px;
  margin: 8px 0 0;
  padding: 26px 28px;
  border-radius: 14px;
  background: rgba(200, 85, 61, 0.06);
  box-shadow: inset 0 0 0 1px rgba(200, 85, 61, 0.22);
}
.plain p { font-size: 16px; color: var(--t-mid); line-height: 1.62; margin: 0 0 14px; max-width: 64ch; }
.plain p:last-child { margin-bottom: 0; }
.plain strong { color: var(--paper); font-weight: 600; }

/* ── Start box: email first, then the booking ────────────────────── */
.startbox {
  max-width: 620px;
  margin: 26px auto 0;
  text-align: left;
}
.startbox label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t-muted);
  margin-bottom: 8px;
}
.startbox input,
.startbox textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line);
  background: rgba(10, 14, 20, 0.7);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.startbox textarea { resize: vertical; min-height: 74px; }
.startbox input:focus,
.startbox textarea:focus { outline: 0; box-shadow: inset 0 0 0 1px var(--amber); }
.startbox input::placeholder,
.startbox textarea::placeholder { color: var(--t-dim); }
.startbox button {
  width: 100%;
  padding: 15px 22px;
  border: 0;
  border-radius: 11px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 260ms;
}
.startbox button:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(245, 239, 226, 0.18); }
.startbox button[disabled] { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }
.startbox .note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--t-dim);
  letter-spacing: 0.03em;
  margin-top: 12px;
  line-height: 1.6;
}
.startbox .err {
  font-size: 14px;
  color: var(--amber);
  margin-top: 10px;
  line-height: 1.5;
  display: none;
}
.startbox .err.show { display: block; }

/* ── Small screens ───────────────────────────────────────────────── */
@media (max-width: 760px) {
  .tier { grid-template-columns: 1fr; gap: 18px; padding: 22px 20px; }
  .tier-aside { text-align: left; }
  .tier p { max-width: none; }
  .step:nth-child(2), .step:nth-child(3) { width: 100%; }
  .weekstrip { max-width: none; }
  .cost, .plain { padding: 20px 18px; }
  .scale-ends { font-size: 11px; }
}
