/* Inner pages: Services, How It Works, Pricing, Contact, The Logbook.
   Same language as Home: paper, serif display, double-bezel surfaces,
   pill controls. Colours via lodge-theme.css tokens. */

/* ---------- Shared: page hero ---------- */
.page-hero { padding: 88px 0 72px; }
.page-hero .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.page-hero h1 { font-size: clamp(52px, 6.4vw, 92px); line-height: .98; max-width: 14ch; }
.page-hero .lede { max-width: 52ch; }
.page-hero.is-split .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.page-hero.is-split .hero-text { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }




.navy-panel {
  border-radius: var(--radius-core);
  background-color: var(--navy);
  background-image:
  box-shadow: inset 0 1px 0 var(--edge-hi), 0 30px 60px -44px var(--ui-shadow);
  color: var(--on-navy);
}
.navy-panel h2, .navy-panel h3 { color: var(--on-navy); }
.navy-panel p { color: var(--on-navy-muted); }

.tile { padding: 14px 0 0; box-shadow: 0 -1px 0 var(--line); }
.tile p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink); }

.check-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.check-list i { color: var(--amber-ink); font-size: 18px; margin-top: 2px; flex-shrink: 0; }

.cta-band { padding: 24px 0 0; }
.cta-band .cta-core { flex-direction: row; align-items: center; justify-content: space-between; padding: 64px; }
.cta-band .cta-core h2 { font-size: clamp(36px, 4.2vw, 56px); }

/* the amber CTA surface is shared with Home */
.cta-core {
  border-radius: var(--radius-core); height: 100%;
  background-color: var(--btn-amber);
  box-shadow: inset 0 1px 0 var(--edge-hi-strong), 0 30px 60px -44px var(--ui-shadow);
  padding: 72px 64px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
.cta-core h2 { color: var(--on-accent); }
.cta-core p { color: var(--on-accent); font-size: 17px; line-height: 1.65; margin: 14px 0 0; max-width: 56ch; }

/* ---------- Services ---------- */
.picker .bezel-core { padding: 40px; display: flex; flex-direction: column; gap: 28px; }
.picker-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.picker-head h2 { font-size: 32px; }
.picker-count { font-size: 13px; font-weight: 600; color: var(--amber-ink); }
.picker-reset { margin-left: auto; border: 0; background: transparent; cursor: pointer; font: 600 13px var(--font-body); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.picker-reset:hover { color: var(--ink); }
.picker-sub { margin: -14px 0 0; font-size: 15.5px; line-height: 1.65; color: var(--muted); max-width: 66ch; }
.picker-q { display: flex; flex-direction: column; gap: 12px; }
.picker-q > span { font-size: 15px; font-weight: 600; color: var(--ink); }
.picker-q > div { display: flex; gap: 10px; flex-wrap: wrap; }
.picker-result { padding: 30px 32px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; animation: lodgeRise 360ms var(--ease-out); }
.picker-result > div { flex: 1; min-width: 240px; display: flex; flex-direction: column; gap: 8px; }
.picker-result strong { font: 500 34px/1.1 var(--font-display); letter-spacing: -0.02em; color: var(--on-navy); }
.picker-result p { margin: 0; font-size: 15.5px; line-height: 1.6; }
/* content that swaps in place (picker answer, timeline detail, form step) rises a short way */
@keyframes lodgeRise { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }

.svc-list { display: flex; flex-direction: column; gap: 24px; padding: 40px 0 120px; }
.svc-detail { scroll-margin-top: 110px; transition: transform var(--t-state) var(--ease-out); }
.svc-detail.is-match { box-shadow: 0 0 0 1.5px var(--line-8C6424); }
.svc-detail .bezel-core { padding: 56px; display: grid; grid-template-columns: 7fr 5fr; gap: 56px; position: relative; overflow: hidden; }
.svc-detail-main { display: flex; flex-direction: column; gap: 18px; position: relative; }
.svc-detail-title { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.svc-detail-title h2 { font-size: clamp(40px, 4.4vw, 60px); }
.svc-detail .tagline { font: italic 400 22px/1.35 var(--font-display); color: var(--amber-ink); margin: 0; }
.svc-detail .desc { font-size: 16.5px; line-height: 1.75; color: var(--ink-2); margin: 0 0 8px; max-width: 58ch; }
.svc-detail-side { display: flex; flex-direction: column; gap: 14px; position: relative; padding-top: 6px; }
.svc-detail-side .btn { align-self: flex-start; margin-top: 10px; }
.svc-detail-side .applies { align-self: flex-start; }
/* The Build's inclusions: a two-column ruled list, lighter than the fit checklist */
.included-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.included-list li { padding: 10px 0 10px 18px; position: relative; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); box-shadow: 0 -1px 0 var(--line); }
.included-list li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
@media (max-width: 680px) { .included-list { grid-template-columns: 1fr; } }
.match-badge { font: 600 12.5px/1.2 var(--font-body); letter-spacing: 0.01em; color: var(--fg-6E4E1B); background: var(--bg-F3E7D4); border-radius: 999px; padding: 8px 13px; }

.tiers-band { padding: 0 0 24px; }
.tiers-band .navy-panel { padding: 88px 72px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.tiers-band h2 { font-size: clamp(36px, 4vw, 54px); max-width: 18ch; }
.tiers-band p { margin: 0; font-size: 16.5px; line-height: 1.7; max-width: 58ch; }
.tier-chain { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0 18px; }
.tier-chain span.step-pill {
  display: inline-flex; flex-direction: column; gap: 3px;
  border-radius: 1rem; padding: 10px 16px; font-size: 14.5px; font-weight: 600; color: var(--on-navy);
  box-shadow: inset 0 0 0 1px rgba(var(--line-rgb-246-243-236), .16);
}
.tier-chain span.step-pill small { font-size: 12px; font-weight: 500; color: var(--on-navy-muted); }
.tier-chain span.step-pill.is-finish { background: rgba(var(--bg-rgb-201-191-174), .14); }
.tier-chain span.step-pill.is-build { background: rgba(var(--bg-rgb-217-164-91), .16); box-shadow: inset 0 0 0 1px rgba(var(--line-rgb-217-164-91), .45); }
.tier-chain span.step-pill.is-build small { color: var(--fg-E6C79A); }   /* amber-light on the tinted pill was 4.2:1 */
.tier-chain i { color: var(--amber-light); font-size: 16px; }

/* ---------- How It Works ---------- */
.timeline { list-style: none; margin: 0; padding: 32px 0 120px; display: flex; flex-direction: column; gap: 16px; }
.t-step .bezel-core { position: relative; padding: 36px 40px; display: grid; grid-template-columns: 96px 1fr; gap: 28px; }
.t-num { font: italic 400 72px/0.85 var(--font-display); color: var(--amber-ink); }
.t-step h2 { font: 500 32px/1.12 var(--font-display); letter-spacing: -0.015em; margin: 6px 0 10px; color: var(--ink); }
.t-step p.body { font-size: 16.5px; line-height: 1.7; color: var(--muted); margin: 0; max-width: 68ch; }
.t-detail { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.t-detail .tile div { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin-top: 8px; }
.t-time { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.t-time i { font-size: 18px; color: var(--amber-ink); }
.t-time strong { color: var(--ink); font-weight: 600; }

/* ---------- Pricing ---------- */
.ptable .bezel-core { padding: 8px 8px; overflow: hidden; }
.ptable-head, .ptable-row { display: grid; gap: 16px; padding: 18px 28px; align-items: center; }
.ptable-head { padding-top: 22px; padding-bottom: 14px; }
.ptable-row { border-radius: 1.2rem; box-shadow: 0 -1px 0 var(--line); transition: background-color var(--t-fb) var(--ease-out); }
.ptable-row:first-of-type { box-shadow: none; }
.ptable-row .name { font: 500 22px/1.2 var(--font-display); color: var(--ink); }
.cols-3 { grid-template-columns: 1.2fr 1fr 1.2fr; }
.cols-4 { grid-template-columns: 2.2fr 1.4fr 1.2fr 0.9fr; }
/* v2 pricing tables: levels (level | what's included | rounds), target grade, express */
.cols-lv { grid-template-columns: 1.15fr 1.5fr 0.55fr; align-items: start; }
.cols-tg { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); }
.cols-ex { grid-template-columns: 0.8fr 1.3fr 1.3fr; align-items: start; }
.tier-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 8px 0 0 28px; }
.svc-badge { font: 600 12px/1 var(--font-body); letter-spacing: 0.01em; border-radius: 999px; padding: 6px 10px; }
.svc-badge.is-finish { color: var(--ink-2); background: rgba(var(--bg-rgb-201-191-174), .22); box-shadow: inset 0 0 0 1px var(--line); }
.svc-badge.is-build { color: var(--fg-6E4E1B); background: var(--bg-F3E7D4); }
.tier-line { font: italic 400 16px/1.2 var(--font-display); color: var(--amber-ink); }
.cols-lv .tier-note { margin-top: 8px; }
.tier-includes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tier-includes li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.tier-includes li::before { content: ""; position: absolute; left: 1px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.tier-cp { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.tier-cp b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.cols-lv .tier-rev { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tier-unit { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.3; }
.tg-target { font: italic 400 22px/1.2 var(--font-display); color: var(--amber-ink); }
.tg-why { grid-column: 1 / -1; margin: 2px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.tg-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; align-items: start; }
.tg-notsure { margin: 0; font: 400 19px/1.5 var(--font-display); color: var(--ink); max-width: 52ch; }
.equiv { display: flex; flex-direction: column; gap: 10px; }
.equiv dl { margin: 0; }
.equiv dl > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 9px 0; box-shadow: 0 -1px 0 var(--line); font-size: 14px; }
.equiv dt { font-weight: 600; color: var(--ink); }
.equiv dd { margin: 0; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.equiv p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--fg-8E9AAB); }
.grade-note { margin: 22px 4px 0; font: italic 400 18px/1.5 var(--font-display); color: var(--ink-2); max-width: 64ch; }
.est-row { display: flex; flex-wrap: wrap; gap: 8px; }
.rec-badge { display: inline-block; margin-right: 8px; font-size: 11.5px; font-weight: 600; color: var(--fg-on-amber); background: var(--amber-light); border-radius: 999px; padding: 3px 8px; }
.est-disclaimer { margin: 0; font-size: 12.5px; color: var(--on-navy-muted); }
.ptable-row.is-click { cursor: pointer; }
.ptable-row.is-click:hover { background: var(--bg-FAF6EC); }
.radio { width: 18px; height: 18px; border-radius: 999px; flex-shrink: 0; display: block; transition: background-color var(--t-fb) var(--ease-out), border-color var(--t-fb) var(--ease-out); }
.tier-note { font-size: 13px; line-height: 1.5; color: var(--fg-9CA6B4); margin: 4px 0 0 28px; }
.applies { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--fg-7A6033); background: var(--bg-F3E7D4); border-radius: 999px; padding: 8px 15px; }
.applies::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--amber); }
.small-note { font-size: 14px; line-height: 1.65; color: var(--fg-8E9AAB); margin: 18px 4px 0; max-width: 92ch; }

.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rules .bezel-core { padding: 36px; display: flex; flex-direction: column; gap: 12px; }
.rules h3 .rule-n { display: block; font: italic 400 18px/1.2 var(--font-display); color: var(--amber-ink); margin-bottom: 6px; }
.rules h3 { font: 500 26px/1.2 var(--font-display); margin: 6px 0 0; color: var(--ink); }
.rules p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.ref .bezel-core { padding: 12px 8px; }
.ref-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; padding: 16px 28px; box-shadow: 0 -1px 0 var(--line); }
.ref-row:first-of-type { box-shadow: none; }
.ref-row span:first-child { font-weight: 600; color: var(--ink); font-size: 15px; }
.ref-row span:last-child { color: var(--muted); font-size: 15px; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 44px; }
.pillars > div { padding-top: 18px; box-shadow: 0 -1px 0 var(--line-strong); }
.pillars h4 { font: 500 19px/1.25 var(--font-display); color: var(--ink); margin: 0 0 8px; }
.pillars p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--fg-8E9AAB); }

.estimator .navy-panel { padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.est-controls { display: flex; flex-direction: column; gap: 30px; }
.est-controls .label { display: block; margin-bottom: 12px; }
.est-select {
  width: 100%; padding: 14px 18px; border-radius: 999px; cursor: pointer;
  border: 0; box-shadow: inset 0 0 0 1px rgba(var(--line-rgb-246-243-236), .22);
  background: rgba(var(--bg-rgb-246-243-236), .06); color: var(--on-navy);
  font: 500 15px var(--font-body);
}
/* a long option label must not widen the panel on small phones */
.estimator .navy-panel > *, .est-controls > * { min-width: 0; }
.est-select { max-width: 100%; text-overflow: ellipsis; }
@media (max-width: 768px), (pointer: coarse) { .est-select { font-size: 16px; } }
.est-stack { display: flex; flex-direction: column; gap: 8px; }
.est-opt { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; text-align: left; color: var(--on-navy); }
.est-opt > span { display: inline-flex; align-items: center; gap: 8px; }
.est-opt small { font-size: 12.5px; color: var(--on-navy-muted); white-space: nowrap; }
/* small phones: the level's description drops under its name instead of overflowing */
@media (max-width: 400px) {
  .est-opt { flex-wrap: wrap; row-gap: 4px; }
  .est-opt small { white-space: normal; }
}
.est-range { display: flex; justify-content: space-between; font-size: 13px; color: var(--on-navy-muted); margin-top: 8px; }
.est-range b { color: var(--on-navy); font-size: 15px; }
input[type="range"] { accent-color: var(--amber); width: 100%; height: 44px; margin: 0; cursor: pointer; }  /* thin track, full-height hit area */
.est-summary {
  padding: 8px 0 8px 48px; box-shadow: -1px 0 0 rgba(var(--line-rgb-246-243-236), .16);
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
}
.est-summary .tierline { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--fg-E6C79A); border-radius: 999px; padding: 7px 14px; background: rgba(var(--bg-rgb-217-164-91), .14); box-shadow: inset 0 0 0 1px rgba(var(--line-rgb-217-164-91), .35); }
.est-summary .big { font: 400 32px/1.3 var(--font-display); color: var(--on-navy); margin: 0; letter-spacing: -0.01em; }
.est-summary .btn { align-self: flex-start; margin-top: 8px; }

.advisor .bezel-core { padding: 32px 36px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.advisor-mark { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); font-size: 32px; color: var(--amber-ink); }
.advisor h3 { font: 500 28px/1.15 var(--font-display); margin: 8px 0 6px; color: var(--ink); }
.advisor p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 48ch; }

.faq dl { margin: 0; }
.faq-row { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; padding: 32px 0; box-shadow: 0 -1px 0 var(--line-strong); }
.faq dt { font: 500 22px/1.3 var(--font-display); color: var(--ink); letter-spacing: -0.01em; }
.faq dd { margin: 0; font-size: 16px; line-height: 1.75; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: start; padding-bottom: 120px; }
.contact-aside { position: sticky; top: 110px; }
.contact-aside .navy-panel { padding: 36px; display: flex; flex-direction: column; gap: 20px; }
/* the navy mascot needs paper behind it on the navy panel: a round seal (the same
   treatment the logo gets in dark mode), not a second card inside the card */
.contact-aside .plate {
  width: 116px; aspect-ratio: 1; border-radius: 999px; background: var(--ui-plate);
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 0 0 6px rgba(var(--line-rgb-246-243-236), .06);
}
.contact-aside .plate img { width: 84%; height: auto; display: block; translate: 0 6%; }
.contact-aside h2 { font-size: 30px; line-height: 1.15; }
.contact-aside p { margin: 0; font-size: 15px; line-height: 1.65; }
.recap { padding-top: 20px; box-shadow: 0 -1px 0 rgba(var(--line-rgb-246-243-236), .14); display: flex; flex-direction: column; gap: 12px; }
.recap-row { display: flex; gap: 14px; align-items: baseline; }
.recap-row span:first-child { font-size: 12.5px; color: var(--on-navy-muted); min-width: 82px; flex-shrink: 0; }
.recap-row span:last-child { font-size: 14.5px; font-weight: 600; color: var(--on-navy); line-height: 1.45; }
.form-card .bezel-core { padding: 44px 48px 48px; display: flex; flex-direction: column; gap: 28px; }
.stepbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 999px; background: var(--ui-shell); box-shadow: inset 0 0 0 1px var(--ui-ring); }
.stepbar button { border: 0; border-radius: 999px; padding: 10px 14px; cursor: pointer; text-align: left; font-family: var(--font-body); transition: background-color var(--t-fb) var(--ease-out), box-shadow var(--t-fb) var(--ease-out); display: flex; align-items: baseline; gap: 10px; }
.stepbar button .n { font: italic 400 20px/1 var(--font-display); }
.stepbar button .l { font-size: 14px; font-weight: 600; }
.form-pane { display: flex; flex-direction: column; gap: 22px; animation: lodgeRise 360ms var(--ease-out); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field > span.flabel { font-size: 14px; font-weight: 600; color: var(--ink); }
.input {
  padding: 14px 18px; border-radius: 1rem; border: 1.5px solid var(--line);
  background: var(--bg-FDFBF6); color: var(--ink);
  font: 400 16px var(--font-body); outline: none;
  transition: border-color var(--t-fb) var(--ease-out), box-shadow var(--t-fb) var(--ease-out);
}
.input:focus { border-color: var(--line-8C6424); box-shadow: 0 0 0 4px rgba(var(--line-rgb-178-124-51), .14); }
textarea.input { resize: vertical; min-height: 150px; line-height: 1.6; }
.hint { font-size: 13px; color: var(--fg-8E9AAB); }
.hint a { color: var(--amber-ink); font-weight: 600; text-decoration: none; }
.err { font-size: 13px; color: var(--fg-B4553C); }
.svc-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* the academic-integrity confirmation on the last step */
.check-field { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.55; color: var(--ink); padding: 14px 16px; border-radius: 1rem; box-shadow: inset 0 0 0 1px var(--line-strong); background: var(--bg-FDFBF6); }
.check-field input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--amber); cursor: pointer; }
.check-field:has(input:focus-visible) { outline: 2px solid var(--line-B27C33); outline-offset: 2px; }
.check-field:has(input[aria-invalid="true"]) { box-shadow: inset 0 0 0 1.5px var(--line-C98570); }
.svc-choice { text-align: left; padding: 16px 20px; border-radius: 1.2rem; border: 1.5px solid transparent; cursor: pointer; font-family: var(--font-body); transition: border-color var(--t-fb) var(--ease-out), background-color var(--t-fb) var(--ease-out); }
.svc-choice:hover { border-color: var(--line-8C6424) !important; }
.svc-choice b { display: block; font: 500 19px/1.2 var(--font-display); }
.svc-choice small { display: block; font-size: 12.5px; margin-top: 4px; }
.form-actions { display: flex; gap: 12px; align-items: center; margin-top: 4px; }
.form-actions .btn-primary-wide { flex: 1; justify-content: space-between; color: var(--on-accent); }
.success { padding: 72px 48px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.success img { width: 120px; height: auto; }
.success p { font: 400 28px/1.35 var(--font-display); color: var(--ink); margin: 0; max-width: 24ch; }

/* ---------- The Logbook ---------- */
.feature .bezel-core { position: relative; padding: 0; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.feature .navy-panel { border-radius: 0; box-shadow: none; padding: 52px 56px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.feature { transition: transform var(--t-state) var(--ease-out); }
@media (hover: hover) { .feature:hover { transform: translateY(-4px); } }
.cover {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px; min-height: 180px;
}
.cover::before { content: ""; position: absolute; inset: 0; background: var(--ui-plate); opacity: .84; }
.cover::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(var(--bg-rgb-38-54-77), .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--bg-rgb-38-54-77), .05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cover > * { position: relative; z-index: 1; }
.cover .glyph { font: italic 400 96px/0.8 var(--font-display); color: var(--paper-ink); align-self: flex-end; letter-spacing: -0.03em; }
.cover .glyph small { font: italic 400 .32em/1 var(--font-display); letter-spacing: 0; margin-left: 4px; }
.feature .cover { min-height: 420px; padding: 40px; }
.feature .cover .glyph { font-size: 200px; }
.cover-tag { align-self: flex-start; font: 600 12.5px/1.2 var(--font-body); letter-spacing: 0.01em; color: var(--on-accent); background: var(--paper-tag); border-radius: 999px; padding: 8px 13px; }
.byline { display: flex; align-items: center; gap: 12px; }
.avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font: 500 14px var(--font-display); color: var(--on-accent); flex-shrink: 0; }
.byline b { display: block; font-size: 14px; font-weight: 600; }
.byline small { display: block; font-size: 12.5px; }

.filters { padding: 56px 0 18px; }
.filters .wrap { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; min-width: 280px; }
.toolbar { padding: 0 0 22px; }
.toolbar .wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.toolbar .count { font-size: 13.5px; color: var(--fg-8E9AAB); }
.toolbar .right { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.toolbar .chip { padding: 8px 14px; font-size: 13px; gap: 7px; }
.toolbar .sep { width: 1px; height: 20px; background: var(--line-strong); }
.toolbar .sort-l { font-size: 12.5px; color: var(--fg-8E9AAB); }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { cursor: pointer; transition: transform var(--t-state) var(--ease-out); }
@media (hover: hover) { .post:hover { transform: translateY(-4px); } }
.post .bezel-core { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.post-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-body .cat { font: 600 12.5px/1.2 var(--font-body); letter-spacing: 0.01em; color: var(--fg-8A6A3B); }
.post-body h3 { font: 500 23px/1.32 var(--font-display); letter-spacing: -0.01em; color: var(--ink); margin: 0; }
.post-body p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; flex: 1; }
.post-body .byline { padding-top: 14px; box-shadow: 0 -1px 0 var(--line); margin-top: 6px; }
.post-body .byline .avatar { width: 32px; height: 32px; border-radius: 10px; font-size: 12px; }
.post-body .byline b { font-size: 13px; color: var(--ink-2); }
.post-body .byline small { font-size: 12px; color: var(--fg-8E9AAB); }
.save-btn {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 44px; height: 44px; border-radius: 999px; border: 0; cursor: pointer;
  display: grid; place-items: center; font-size: 17px;
  background: var(--paper-well); box-shadow: 0 6px 18px -8px var(--paper-shadow);
  transition: transform var(--t-state) var(--ease-out);
}
@media (hover: hover) { .save-btn:hover { transform: scale(1.1); } }
.empty { text-align: center; padding: 80px 0; color: var(--fg-8E9AAB); font-size: 16px; max-width: 44ch; margin: 0 auto; line-height: 1.65; }
.more { text-align: center; padding: 48px 0 120px; }

/* reader panel */
.reader-backdrop { position: absolute; inset: 0; background: rgba(var(--bg-rgb-28-42-61), .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: lodgeFade 320ms var(--ease-out); }
.reader { position: relative; width: min(680px, 100%); height: 100%; overflow-y: auto; background: var(--cream); box-shadow: -40px 0 80px -30px rgba(var(--shadow-rgb-28-42-61), .5); animation: lodgeSlide var(--t-overlay) var(--ease-out); }
/* the reader slides in from the edge it lives on; the backdrop dims underneath */
@keyframes lodgeFade { from { opacity: 0; } }
@keyframes lodgeSlide { from { translate: 100% 0; } }
.reader-bar { position: sticky; top: 0; z-index: 3; background: var(--ui-glass-strong); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.reader-bar .row { display: flex; align-items: center; gap: 12px; padding: 14px 28px; }
.reader-bar .meta { font-size: 13px; color: var(--fg-8E9AAB); }
.reader-bar .acts { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.reader-bar .meta::before { content: "· "; }
.reader-bar .acts .chip { white-space: nowrap; }
/* phones: category over reading time on the left, actions on the right, every label on one line */
@media (max-width: 480px) {
  .reader-bar .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; padding: 12px 16px; }
  .reader-bar .row > .label { grid-column: 1; grid-row: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .reader-bar .row > .meta { grid-column: 1; grid-row: 2; white-space: nowrap; }
  .reader-bar .row > .meta::before { content: none; }
  .reader-bar .row > .acts { grid-column: 2; grid-row: 1 / span 2; }
}
.icon-btn { width: 38px; height: 38px; border-radius: 999px; border: 0; cursor: pointer; display: grid; place-items: center; font-size: 17px; color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color var(--t-fb) var(--ease-out); }
.icon-btn:hover { background: var(--ui-shell); }
.reader .cover { min-height: 220px; margin: 20px 28px 0; border-radius: 1.4rem; }
.reader article { padding: 36px 48px 20px; }
.reader h2 { font-size: clamp(32px, 4vw, 42px); line-height: 1.12; margin: 0 0 20px; }
.reader .byline { padding-bottom: 24px; box-shadow: 0 1px 0 var(--line); margin-bottom: 28px; }
.reader .byline b { color: var(--ink-2); }
.reader .byline small { color: var(--fg-8E9AAB); }
.reader .dek { font: italic 400 22px/1.5 var(--font-display); color: var(--ink-2); margin: 0 0 24px; }
.reader article > p.para { font-size: 16.5px; line-height: 1.8; color: var(--fg-42506A); margin: 0 0 20px; }
/* richer article bodies: subheadings, lists, numbered steps, example boxes */
.reader article > h3.para-h { font: 500 23px/1.3 var(--font-display); color: var(--ink); margin: 34px 0 12px; }
.reader article > ul.para-list, .reader article > ol.para-steps { margin: 0 0 22px; padding-left: 22px; font-size: 16.5px; line-height: 1.75; color: var(--fg-42506A); }
.reader article > ul.para-list li + li, .reader article > ol.para-steps li + li { margin-top: 8px; }
.reader article > ul.para-list li::marker, .reader article > ol.para-steps li::marker { color: var(--amber); font-weight: 600; }
.para-box { margin: 4px 0 24px; padding: 18px 22px; border-radius: 1rem; background: var(--bg-FAF6EC); border: 1px solid var(--line); }
/* the drafting metaphor: a "before" is still a draft (dashed outline, untinted, quieter text); an "after" is the finished drawing */
.para-box.is-before { background: transparent; border: 1px dashed var(--line-strong); }
.para-box.is-before .label { color: var(--muted); }
.para-box.is-before p { color: var(--muted); }
.para-box.is-after { border-color: var(--line-strong); }
.para-box.is-before + .para-box.is-after { margin-top: -10px; }
.para-box p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.takeaway { margin-top: 10px; border-radius: 1.2rem; padding: 22px 26px; background: var(--bg-FBF6EC); box-shadow: inset 0 0 0 1px var(--line-EADFCB); }
.takeaway div { font: 500 19px/1.45 var(--font-display); color: var(--ink); margin-top: 10px; }
.reader-nav { padding: 14px 48px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reader-nav button { border: 0; border-radius: 1.2rem; padding: 18px 20px; cursor: pointer; font-family: var(--font-body); background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color var(--t-fb) var(--ease-out); }
.reader-nav button:hover:not(:disabled) { background: var(--ui-shell); }
.reader-nav button:disabled { cursor: default; }
.reader-nav small { display: block; font: 600 12.5px/1.2 var(--font-body); letter-spacing: 0.01em; color: var(--fg-8E9AAB); margin-bottom: 8px; }
.reader-nav span { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .posts { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .page-hero.is-split .wrap, .svc-detail .bezel-core, .estimator .navy-panel, .contact-grid, .feature .bezel-core, .rules { grid-template-columns: 1fr; }
  .page-hero.is-split .hero-text, .contact-aside { position: static; }
  .svc-detail-side { padding-top: 0; }
  .cta-band .cta-core { flex-direction: column; align-items: flex-start; }
  .advisor .bezel-core { grid-template-columns: 1fr; }
  .feature .cover { min-height: 260px; }
  .feature .cover .glyph { font-size: 150px; }
}
@media (max-width: 768px) {
  .page-hero { padding: 48px 0 48px; }
  .page-hero h1 { font-size: clamp(44px, 12vw, 60px); }
  .picker .bezel-core, .svc-detail .bezel-core, .form-card .bezel-core { padding: 30px 24px; }
  .tiers-band .navy-panel, .estimator .navy-panel, .cta-band .cta-core { padding: 52px 24px; }
  .t-step .bezel-core { grid-template-columns: 1fr; gap: 6px; padding: 28px 24px; }
  .t-num { font-size: 56px; }
  .t-detail, .field-row, .svc-choices { grid-template-columns: 1fr; }
  .ptable-head { display: none; }
  .ptable-row { padding: 18px 20px; }
  .ptable-row.cols-3 { grid-template-columns: 1fr 1fr; }
  .ptable-row.cols-3 > :first-child { grid-column: 1 / -1; }
  .ptable-row.cols-4 { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .ptable-row.cols-4 > :first-child, .ptable-row.cols-4 > .tier-rev { grid-column: 1 / -1; }
  .ptable-head.cols-lv, .ptable-head.cols-ex { display: none; }
  .ptable-row.cols-lv { grid-template-columns: 1fr auto; gap: 14px 16px; }
  .ptable-row.cols-lv > :nth-child(3) { grid-column: 1 / -1; grid-row: 2; }
  .ptable-row.cols-lv > .tier-rev { grid-column: 2; grid-row: 1; }
  .ptable-row.cols-tg { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px 12px; }
  .ptable-row.cols-ex { grid-template-columns: 1fr; gap: 8px; }
  .ptable-row.cols-ex .m-label { display: block; margin-bottom: 2px; }
  .tg-foot { grid-template-columns: 1fr; }
  .tier-rev { display: flex; align-items: baseline; gap: 10px; text-align: left !important; }
  .tier-rev .m-label { display: inline; }
  .ref-row, .faq-row { grid-template-columns: 1fr; gap: 8px; }
  .pillars { grid-template-columns: 1fr; }
  .est-summary { padding: 32px 0 0; box-shadow: 0 -1px 0 rgba(var(--line-rgb-246-243-236), .16); }
  .contact-aside .navy-panel { padding: 28px 24px; }
  .stepbar button { flex-direction: column; gap: 4px; padding: 10px 12px; }
  .posts { grid-template-columns: 1fr; }
  .feature .navy-panel { padding: 36px 26px; }
  .search, .search input { width: 100%; }
  .reader article { padding: 28px 24px 16px; }
  .reader-nav { padding: 12px 24px 40px; grid-template-columns: 1fr; }
  .reader .cover { margin: 16px 16px 0; }
}

/* ---------- Hardening ---------- */
.post .bezel-core:has(.stretch:focus-visible), .feature .bezel-core:has(.stretch:focus-visible), .t-step .bezel-core:has(.stretch:focus-visible) {
  outline: 2px solid var(--line-B27C33); outline-offset: 3px;
}
.ptable-row.is-click { position: relative; }
.ptable-row:has(input:focus-visible) { outline: 2px solid var(--line-B27C33); outline-offset: -2px; }
.recap-row span:last-child { min-width: 0; overflow-wrap: anywhere; }
.svc-choice[aria-checked="true"] { outline: none; }
.send-error {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 0 0;
  box-shadow: 0 -1px 0 var(--line-C98570);
  color: var(--ink); font-size: 14.5px; line-height: 1.55;
}
.send-error strong { color: var(--fg-B4553C); font-weight: 600; }
.send-error-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.send-error .flabel { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
/* email mode: the brief has been handed to the visitor's mail app; not an error, so it reads as a calm next step */
.send-handoff {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 0 0;
  box-shadow: 0 -1px 0 var(--line-B27C33);
  color: var(--ink); font-size: 14.5px; line-height: 1.55;
}
.send-handoff:focus { outline: none; }
.send-handoff strong { color: var(--ink); font-weight: 600; }
.send-handoff .flabel { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
.brief-text { margin-top: 8px; font-size: 14px; line-height: 1.6; min-height: 0; resize: vertical; background: var(--bg-FDFBF6); }
/* spam trap: off-screen, not display:none, so form-filling bots still see it */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* direct channels in the navy aside */
.channels { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.channels .label { margin-bottom: 4px; }
.channel {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; max-width: 100%;
  color: var(--on-navy); font-size: 15px; font-weight: 600; text-decoration: none;
  overflow-wrap: anywhere; transition: color var(--t-fb) var(--ease-out);
}
.channel i { font-size: 20px; color: var(--amber-light); flex-shrink: 0; }
.channel:hover { color: var(--amber-light); }
.channel span:not(.sr-only) { text-decoration: underline; text-decoration-color: rgba(var(--line-rgb-246-243-236), .3); text-underline-offset: 4px; }
/* not ready yet, but still pressable (it shows what's missing), so the label stays readable */
.form-actions .btn-primary-wide[aria-disabled="true"] { cursor: not-allowed; color: var(--ink-2); }
.form-actions .btn-primary-wide[aria-disabled="true"] .btn-icon { background: rgba(var(--bg-rgb-38-54-77), .08); }
.btn-primary-wide[aria-busy="true"] .btn-icon i { animation: lodge-spin 1s linear infinite; }
@keyframes lodge-spin { to { rotate: 360deg; } }

/* ---------- Static styles lifted out of the page markup ---------- */
.ta-c { text-align: center; }
.sec-flush { padding-bottom: 0; }
#promise, #tiers, #target-promise { scroll-margin-top: 100px; }
.rules { margin-bottom: 20px; }
.estimator { padding-bottom: 32px; }
.advisor-sec { padding: 0 0 24px; }
.page-hero.is-tight { padding-bottom: 48px; }
.wrap.is-narrow { max-width: 1000px; }
.end-space { height: 96px; }
.bezel.r-xl { --radius-shell: 3rem; }
.bezel.r-lg { --radius-shell: 2.5rem; }
.bezel.r-pill { --radius-shell: 999px; }
.bezel > .navy-panel { border-radius: var(--radius-shell); }

/* Pricing tables */
.cell-strong { font-size: 15.5px; color: var(--ink-2); }
.cell-muted { font-size: 15.5px; color: var(--muted); }
.tier-name { display: flex; align-items: center; gap: 10px; }
.tier-commit { font-weight: 600; font-size: 15px; color: var(--amber-ink); }
.tier-bands { font-size: 14px; color: var(--muted); line-height: 1.6; }
.tier-bands b { color: var(--ink); font-weight: 600; }
.tier-none { color: var(--fg-C0B8A8); font-size: 14.5px; }
.tier-rev { text-align: center; }
.tier-rev-n { font: italic 400 34px/1 var(--font-display); color: var(--ink); }
.ptable-row.is-click { background: var(--bg-FFFFFF); }
.ptable-row.is-base { background: var(--bg-FAF7F0); }
.ptable-row.is-base .tier-commit { color: var(--fg-6F7B8D); }
/* the native radio is visually hidden; the row and its dot show the choice */
.radio { border: 1.5px solid var(--line-D3CABA); }
.ptable-row:has(input:checked) { background: var(--bg-F7EFE1); }
.ptable-row:has(input:checked) .radio { border-color: var(--line-B27C33); background: var(--bg-B27C33); box-shadow: inset 0 0 0 3px var(--bg-F7EFE1); }
.ref-head { padding: 16px 28px 10px; }
.est-note { font-size: 15px; line-height: 1.65; margin: 0; }
.estimator option { color: var(--fg-26364D); background: var(--bg-FFFFFF); }
.tier-link { display: flex; align-items: center; gap: 10px; }

/* Logbook */
.feature-title { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.18; }
.feature-dek { margin: 0; font-size: 16px; line-height: 1.65; }
.byline.is-inverse { margin: 8px 0 6px; }
.byline.is-inverse b { color: var(--on-navy); }
.byline.is-inverse small { color: var(--on-navy-muted); }
.link-arrow.is-inverse { color: var(--amber-light); }
.link-arrow.is-inverse .btn-icon { box-shadow: inset 0 0 0 1px rgba(var(--line-rgb-246-243-236), .2); }
.reader-layer { position: fixed; inset: 0; z-index: 120; display: flex; justify-content: flex-end; }
.read-track { height: 2px; background: var(--line); }
.read-progress { height: 2px; background: var(--amber); }

/* Contact */
.recap-empty { font-size: 14px; }
.contact-stack { display: flex; flex-direction: column; gap: 28px; }
.input.is-select { cursor: pointer; text-overflow: ellipsis; }
/* Grid tracks default to min-content, so a long option label ("The Frame · Structure and
   argument review") would widen the whole form card past the viewport. Let every column
   and field shrink; the select then truncates its own label instead. */
.contact-grid > *, .field-row > *, .field { min-width: 0; }
.field > .input { width: 100%; max-width: 100%; box-sizing: border-box; }
.btn.btn-back { padding-left: 7px; padding-right: 22px; }

/* The target promise (Rule 3): full-width card with refund table + terms */
.tp { margin-bottom: 20px; }
.tp > .bezel-core { padding: 36px; }
.tp h3 { font: 500 26px/1.2 var(--font-display); margin: 6px 0 0; color: var(--ink); }
.tp h3 .rule-n { display: block; font: italic 400 18px/1.2 var(--font-display); color: var(--amber-ink); margin-bottom: 6px; }
.tp-body { margin: 12px 0 18px; font-size: 15.5px; line-height: 1.7; color: var(--muted); max-width: 76ch; }
.tp .ptable-head, .tp .ptable-row { padding-left: 0; padding-right: 0; }
.tp .cols-ex { grid-template-columns: 1.3fr 1fr 1.2fr; }
.tp .ptable-row .name { font-size: 20px; }
.tp-terms { margin-top: 26px; }
.tp-terms > .label { display: block; margin-bottom: 8px; }
.tp-note { margin: 14px 0 0; font-size: 14px; line-height: 1.6; color: var(--fg-8E9AAB); max-width: 92ch; }
@media (max-width: 768px) { .tp > .bezel-core { padding: 30px 24px; } .tp .ptable-row.cols-ex { grid-template-columns: 1fr; } }
