/* PCA site — shared design system for interior pages.
   Homepage (content/concept/v3-brand-correct.html) stays self-contained since it has
   the heavy custom SVG maps/marquees; this file is for every OTHER page. */

/* ---------- Self-hosted fonts (latin subset, variable) ---------- */
@font-face {
  font-family: "Noto Serif"; font-style: normal; font-weight: 100 900;
  font-display: swap; src: url("fonts/notoserif.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Serif"; font-style: italic; font-weight: 100 900;
  font-display: swap; src: url("fonts/notoserif-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 100 900;
  font-display: swap; src: url("fonts/geist.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono"; font-style: normal; font-weight: 100 900;
  font-display: swap; src: url("fonts/geistmono.woff2") format("woff2");
}

:root {
  --ink: #1a1816;
  --ink-brown: #2e1f17;
  --paper: #ffffff;
  --paper-warm: #f6efe4;
  --cream: #f4e9d0;
  --purple: #36286f;
  --purple-deep: #241854;
  --lavender: #c7bbdc;
  --lavender-soft: #ede7f5;
  --marker: #d9432d;
  --marker-deep: #bd3520;
  --rule: rgba(26,24,22,0.15);
  --serif: "Noto Serif", "Times New Roman", Georgia, serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 700px) { .wrap { padding: 0 24px; } }
.it { font-family: var(--serif); font-style: italic; font-weight: 400; }
a { color: inherit; text-decoration: none; }
/* keep underlines where they aid affordance: inline links inside body copy */
.content-block p > a, .faq-item .a a, .post-body p a { text-decoration: underline; text-underline-offset: 2px; }

/* Accessibility: skip link (shared across all interior pages) */
.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 999;
  background: var(--paper); color: var(--ink);
  padding: 12px 20px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  border: 2px solid var(--purple);
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

/* Header / nav — light, for interior pages */
.site-header {
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}
.site-header .bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-header .wordmark { height: 28px; width: auto; }
.site-nav { display: flex; gap: 28px; align-items: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(26,24,22,0.65); }
.site-nav a { position: relative; padding: 6px 0; }
.site-nav a:hover, .site-nav a.active { color: var(--purple); }
.site-nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--purple); }
@media (max-width: 900px) { .site-nav { display: none; } }
.cta-pill {
  display: inline-block;
  color: var(--paper); background: var(--purple);
  padding: 11px 22px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--purple);
  transition: background .2s ease, color .2s ease;
}
.cta-pill:hover { background: var(--purple-deep); }
/* Button spec: 2px indigo ring, 2px offset. The other interactive elements
   already carry explicit rings; these four were relying on the UA default,
   which reads poorly against the indigo fill. */
.cta-pill:focus-visible, .submit-btn:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.btn-ghost:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.cta-banner .btn-ghost:focus-visible, .band-dark .btn-ghost:focus-visible { outline-color: var(--lavender); }
.enter-platform:focus-visible { outline: 2px solid var(--lavender); outline-offset: 2px; }
.btn-ghost {
  display: inline-block;
  color: var(--ink); background: transparent;
  padding: 11px 22px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--ink);
}
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); }

/* Page hero — light, simpler than homepage's dark hero */
.page-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--rule); }
.page-hero .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--purple); margin-bottom: 18px; }
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin-bottom: 20px; }
.page-hero .sub { font-size: 17px; color: rgba(26,24,22,0.75); max-width: 640px; line-height: 1.6; }

/* Content sections */
.content-block { padding: 48px 0; }
.content-block + .content-block { border-top: 1px solid var(--rule); }
.content-block h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin-bottom: 16px; }
.content-block h2 .it { color: var(--purple); }
.content-block p { margin-bottom: 16px; max-width: 720px; color: var(--ink-brown); }
.content-block ul, .content-block ol { margin: 0 0 16px 20px; max-width: 720px; color: var(--ink-brown); }
.content-block li { margin-bottom: 8px; }
.content-block strong { color: var(--ink); }
.section-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--purple); margin-bottom: 12px; }

/* Comparison / scope tables */
.pca-table { width: 100%; max-width: 900px; border-collapse: collapse; margin: 24px 0; font-size: 14.5px; }
.pca-table th { background: var(--purple); color: var(--paper); text-align: left; padding: 10px 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.pca-table td { padding: 10px 14px; border-bottom: 1px solid var(--rule); color: var(--ink-brown); vertical-align: top; }
.pca-table tr:nth-child(even) td { background: var(--paper-warm); }
.pca-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.pca-table .yes { color: var(--purple); font-weight: 600; }
.service-cat { border: 1px solid var(--rule); padding: 24px; margin-bottom: 16px; }
.service-cat .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--purple); }
.service-cat h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; margin: 6px 0 10px; }
.service-cat .delivers-yours { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 14px; }
.service-cat .delivers-yours > div { font-size: 13.5px; }
.service-cat .delivers-yours .label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(26,24,22,0.62); margin-bottom: 6px; }
.service-cat ul { margin: 0 0 0 16px; }
.service-cat li { margin-bottom: 4px; }
@media (max-width: 700px) { .service-cat .delivers-yours { grid-template-columns: 1fr; } }
.fee-highlight { background: var(--lavender-soft); border: 1px solid var(--purple); padding: 24px; display: flex; align-items: center; gap: 24px; max-width: 720px; flex-wrap: wrap; }
.fee-highlight .n { font-family: var(--serif); font-weight: 500; font-size: 44px; color: var(--purple-deep); line-height: 1; }
.fee-highlight p { margin: 0; max-width: 480px; }

/* Timeline scenario blocks */
.scenario-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
@media (max-width: 800px) { .scenario-grid { grid-template-columns: 1fr; } }
.scenario { border: 1px solid var(--rule); padding: 20px; }
.scenario .hdr { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--rule); padding-bottom: 10px; margin-bottom: 14px; }
.scenario .hdr .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.scenario .hdr .wks { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--purple); }
.scenario .step { display: flex; gap: 12px; margin-bottom: 14px; }
.scenario .step .wk { font-family: var(--mono); font-size: 10px; color: var(--purple); white-space: nowrap; min-width: 52px; padding-top: 2px; }
.scenario .step .txt strong { display: block; font-size: 14px; color: var(--ink); }
.scenario .step .txt span { font-size: 12.5px; color: rgba(26,24,22,0.65); }
.deal-period-box { background: var(--lavender-soft); border: 1px solid var(--purple); padding: 20px 24px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin: 24px 0; max-width: 800px; }
.deal-period-box .n { font-family: var(--serif); font-weight: 500; font-size: 40px; color: var(--purple-deep); line-height: 1; }
.deal-period-box p { margin: 0; max-width: 560px; }
.after-protection { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
@media (max-width: 700px) { .after-protection { grid-template-columns: 1fr; } }
.after-protection .step { border: 1px solid var(--rule); padding: 16px; }
.after-protection .step .num { font-family: var(--mono); font-size: 11px; color: var(--purple); }
.after-protection .step strong { display: block; margin: 4px 0; font-family: var(--serif); font-size: 16px; }
.fine-print { font-size: 11.5px; color: rgba(26,24,22,0.62); margin-top: 8px; }

/* FAQ-specific */
.faq-group { margin-bottom: 40px; }
.faq-group h2 { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 10px; margin-bottom: 20px; }
.faq-item { margin-bottom: 24px; max-width: 720px; }
.faq-item .q { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--purple); margin-bottom: 8px; }
.faq-item .a { color: var(--ink-brown); line-height: 1.6; }
.faq-item .a a { color: var(--purple); text-decoration: underline; }

/* CTA banner */
.cta-banner { background: var(--ink); color: var(--paper); padding: 48px 0; text-align: center; }
.cta-banner p { font-family: var(--serif); font-style: italic; font-size: 22px; margin-bottom: 20px; }
.cta-banner .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn-ghost { color: var(--paper); border-color: rgba(255,255,255,0.4); }
.cta-banner .btn-ghost:hover { border-color: var(--paper); color: var(--paper); }

/* Legal pages */
.legal-status {
  background: var(--lavender-soft); border: 1px solid var(--purple); color: var(--purple-deep);
  padding: 14px 18px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; line-height: 1.6;
  margin-bottom: 32px;
}
.legal-checklist { list-style: none; margin-left: 0; }
.legal-checklist li::before { content: "☐ "; color: var(--purple); }

/* Footer */
.foot {
  border-top: 2px solid var(--ink);
  padding: 40px 0;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end;
}
.foot .wordmark-purple { height: 36px; width: auto; margin-bottom: 12px; }
.foot .sign { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--purple); }
.foot .sign .sub { display: block; font-family: var(--mono); font-style: normal; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-top: 8px; }
.foot .right { text-align: right; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(26,24,22,0.55); }
.foot .right a { display: block; margin-top: 6px; }
.foot .right a:hover { color: var(--purple); }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr; } .foot .right { text-align: left; margin-top: 16px; } }

/* Qualifying forms (shared with homepage — plain email routing, no CRM) */
.form-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(26,24,22,0.72);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.form-modal:target { opacity: 1; pointer-events: auto; }
.form-modal .sheet {
  background: var(--paper); color: var(--ink);
  max-width: 560px; width: 100%; max-height: 88vh; overflow-y: auto;
  border: 1px solid var(--ink); position: relative;
  padding: 40px;
}
.form-modal .close-x { position: absolute; top: 16px; right: 20px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(26,24,22,0.55); text-decoration: none; }
.form-modal .close-x:hover { color: var(--purple); }
.form-modal .kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--purple); margin-bottom: 10px; }
.form-modal h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin-bottom: 8px; }
.form-modal .sub { font-size: 14px; color: rgba(26,24,22,0.65); margin-bottom: 28px; line-height: 1.5; }
.form-modal .field-group-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--purple); margin: 18px 0 -4px; border-top: 1px solid var(--rule); padding-top: 18px; }
.form-modal .field-group-label:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.form-modal form { display: flex; flex-direction: column; gap: 16px; }
.form-modal label { display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(26,24,22,0.65); }
.form-modal input, .form-modal select, .form-modal textarea {
  font-family: var(--sans); font-size: 14.5px; color: var(--ink);
  border: 1px solid var(--rule); background: var(--paper-warm);
  padding: 10px 12px; width: 100%;
}
.form-modal input:focus, .form-modal select:focus, .form-modal textarea:focus { outline: 2px solid var(--purple); outline-offset: 1px; }
.form-modal textarea { resize: vertical; min-height: 70px; font-family: var(--sans); }
.form-modal .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-modal .row-2 { grid-template-columns: 1fr; } .form-modal .sheet { padding: 28px 20px; } }
.form-modal .submit-btn {
  margin-top: 8px; align-self: flex-start;
  background: var(--purple); color: var(--paper); border: 1px solid var(--purple);
  padding: 13px 26px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; transition: background .2s ease;
}
.form-modal .submit-btn:hover { background: var(--purple-deep); }
.form-modal .honey { position: absolute; left: -9999px; }

/* ---------- Journal ---------- */
.draft-banner {
  background: var(--marker-deep); color: var(--paper);
  padding: 10px 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  text-align: center;
}
.journal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; margin-top: 8px; }
.journal-card { display: block; border: 1px solid var(--rule); padding: 24px; transition: border-color .2s ease; }
.journal-card:hover { border-color: var(--purple); }
.journal-card .meta { display: flex; gap: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(26,24,22,0.62); margin-bottom: 12px; }
.journal-card .meta .cat { color: var(--purple); }
.journal-card h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.2; margin-bottom: 10px; }
.journal-card p { font-size: 14px; color: var(--ink-brown); margin-bottom: 14px; }
.journal-card .read { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple); }

/* Journal post body */
.post-body { max-width: 680px; }
.post-body h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 36px 0 14px; }
.post-body p { font-size: 16.5px; line-height: 1.75; color: var(--ink-brown); margin-bottom: 18px; }
.post-meta { display: flex; gap: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(26,24,22,0.62); margin-bottom: 18px; }
.post-meta .cat { color: var(--purple); }
.post-nav { border-top: 1px solid var(--rule); margin-top: 48px; padding-top: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.post-nav a { color: var(--purple); }

/* ---------- Portfolio ---------- */
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 8px; }
.store-card { border: 1px solid var(--rule); padding: 20px; }
.store-card .nm { font-family: var(--serif); font-weight: 500; font-size: 18px; margin-bottom: 6px; }
.store-card .nb { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(26,24,22,0.62); }
.store-card .op { font-size: 13px; color: var(--ink-brown); margin-top: 10px; }
.store-card .site { font-family: var(--mono); font-size: 11px; color: var(--purple); margin-top: 8px; display: inline-block; }
.store-card.soon { border-style: dashed; border-color: var(--purple); }
.store-card.soon .badge { display: inline-block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple); border: 1px solid var(--purple); padding: 2px 8px; margin-top: 10px; }
.region-head { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 10px; margin: 40px 0 20px; display: flex; justify-content: space-between; }
.region-head .ct { color: var(--purple); }

/* ---------- Section rhythm: alternating bands break up the all-white wall ---------- */
.band-cream      { background: var(--cream); }
.band-paper-warm { background: var(--paper-warm); }
.band-lavender   { background: var(--lavender-soft); }
.band-dark {
  background: var(--ink); color: var(--paper);
}
.band-dark h2 { color: var(--paper); }
.band-dark h2 .it { color: var(--lavender); }
.band-dark p { color: rgba(255,255,255,0.78); }
.band-dark .section-label { color: var(--lavender); }
.band-dark strong { color: var(--paper); }
/* bands supply their own separation, so drop the hairline rule between them */
.content-block + .content-block { border-top: 1px solid var(--rule); }
.band-cream + .content-block, .content-block + .band-cream,
.band-paper-warm + .content-block, .content-block + .band-paper-warm,
.band-lavender + .content-block, .content-block + .band-lavender,
.band-dark + .content-block, .content-block + .band-dark { border-top: 0; }

/* ---------- Readability ---------- */
.content-block p { font-size: 17px; line-height: 1.7; max-width: 62ch; }
.content-block li { line-height: 1.65; }
.page-hero .sub { font-size: 18px; max-width: 58ch; }
.content-block h2 { font-size: 30px; line-height: 1.15; max-width: 20ch; }
.section-label {
  display: inline-block; padding-bottom: 7px; margin-bottom: 16px;
  border-bottom: 1px solid var(--purple);
}

/* ---------- Pull quote / emphasis callout ---------- */
.pull {
  border-left: 3px solid var(--purple);
  padding: 4px 0 4px 22px;
  margin: 26px 0;
  max-width: 60ch;
}
.pull p {
  font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.45;
  color: var(--purple-deep); margin: 0; max-width: none;
}
.band-dark .pull { border-left-color: var(--lavender); }
.band-dark .pull p { color: var(--lavender); }

/* ---------- Stat row ---------- */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; margin: 28px 0; }
.stat { border-top: 2px solid var(--purple); padding-top: 14px; }
.stat .n { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1; color: var(--purple-deep); }
.stat .l { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(26,24,22,0.62); margin-top: 8px; line-height: 1.5; }
.band-dark .stat { border-top-color: var(--lavender); }
.band-dark .stat .n { color: var(--paper); }
.band-dark .stat .l { color: rgba(255,255,255,0.65); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.team-card { background: var(--paper); border: 1px solid var(--rule); padding: 26px 24px; }
.team-mark { width: 54px; height: 54px; margin-bottom: 14px; }
/* Headshots on the About cards. Circular to match the icon system's filled
   circular containers; initial-circle fallback for anyone without a photo so
   the row reads as one deliberate set rather than photos plus leftover glyphs. */
.team-photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
  display: block; margin-bottom: 16px; border: 1px solid var(--rule); background: var(--lavender-soft); }
.team-initial { width: 88px; height: 88px; border-radius: 50%; margin-bottom: 16px;
  background: var(--purple); color: var(--paper); display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 34px; }
.team-mark svg { width: 100%; height: 100%; }
.team-card h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin-bottom: 4px; }
.team-role { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple); margin-bottom: 12px; }
.team-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-brown); margin: 0; max-width: none; }

/* ---------- Nav dropdown (hover + keyboard via :focus-within) ---------- */
.site-nav .has-sub { position: relative; display: inline-flex; align-items: center; }
.site-nav .has-sub > a::after {
  content: "▾"; margin-left: 6px; font-size: 9px; opacity: 0.7;
}
.site-nav .sub {
  position: absolute; top: 100%; left: -14px;
  min-width: 190px; padding: 8px 0;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(26,24,22,0.09);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 60;
}
.site-nav .has-sub:hover .sub,
.site-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav .sub a {
  display: block; padding: 9px 16px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(26,24,22,0.72); white-space: nowrap;
}
.site-nav .sub a:hover, .site-nav .sub a:focus { background: var(--lavender-soft); color: var(--purple); }
.site-nav .sub a::after { display: none; }
/* keep the hover bridge so the menu doesn't close in the gap */
.site-nav .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }

/* ---------- Enter The Platform (intranet entry: stores, staff, shareholders) ---------- */
.enter-platform {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple-deep); color: var(--paper);
  padding: 11px 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--purple-deep);
  transition: background .2s ease, border-color .2s ease;
}
.enter-platform::after { content: "→"; color: var(--lavender); }
.enter-platform:hover { background: var(--purple); border-color: var(--lavender); }
/* .utility-row shares its element with .wrap, so only touch vertical padding —
   a `padding: 10px 0 0` shorthand here wipes out .wrap's side gutters and the
   button goes flush to the screen edge on mobile. */
.utility-row { display: flex; justify-content: flex-end; padding-top: 10px; }
.utility-row + .bar { padding-top: 6px; }

/* ================================================================
   TEXT-DENSITY PASS (2026-08-15)
   Four changes, all aimed at giving pages a visual rhythm rather
   than cutting copy: photographed portfolio cards, collapsible
   FAQs, a service-category index, and prose-to-structure grids.
   ================================================================ */

/* ---------- 1. Portfolio: photographed store cards ---------- */
.store-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.store-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.store-card .shot {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-bottom: 1px solid var(--rule); background: var(--paper-warm);
}
.store-card .shot-none {
  aspect-ratio: 4 / 3; border-bottom: 1px solid var(--rule);
  background: var(--lavender-soft);
  display: flex; align-items: center; justify-content: center;
}
.store-card .shot-none svg { width: 84px; height: 64px; opacity: 0.5; }
.store-card .body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.store-card .site { margin-top: auto; padding-top: 10px; }
.store-card.soon .shot-none { background: repeating-linear-gradient(45deg, var(--lavender-soft), var(--lavender-soft) 9px, var(--paper-warm) 9px, var(--paper-warm) 18px); }

/* ---------- 2. FAQ: collapsible answers ---------- */
.faq-item { max-width: 780px; margin-bottom: 0; border-bottom: 1px solid var(--rule); }
.faq-item > summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 17px 44px 17px 0;
  font-family: var(--serif); font-style: italic; font-size: 18.5px;
  color: var(--purple); line-height: 1.35;
  transition: color .15s ease;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-style: normal; font-size: 19px; line-height: 1;
  color: var(--purple); transition: transform .15s ease;
}
.faq-item[open] > summary::after { content: "\2212"; }
.faq-item > summary:hover { color: var(--purple-deep); }
.faq-item > summary:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.faq-item .a { padding: 0 44px 22px 0; font-size: 16px; }
.faq-group { margin-bottom: 44px; }
.faq-utils { display: flex; gap: 18px; margin-bottom: 26px; }
.faq-utils button {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--purple);
  border-bottom: 1px solid transparent;
}
.faq-utils button:hover { border-bottom-color: var(--purple); }
.faq-utils button:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

/* ---------- 3. Service-category index (For Operators) ---------- */
.cat-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0 36px; }
.cat-index .ci {
  border: 1px solid var(--rule); padding: 20px 18px 18px;
  display: flex; flex-direction: column; gap: 2px;
  transition: border-color .2s ease, background .2s ease;
}
.cat-index .ci:hover, .cat-index .ci:focus-visible { border-color: var(--purple); background: var(--lavender-soft); }
.cat-index .ci:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.cat-index .ico { width: 40px; height: 40px; margin-bottom: 12px; }
.cat-index .ico svg { width: 100%; height: 100%; }
.cat-index .n { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--purple); }
.cat-index .t { font-family: var(--serif); font-weight: 500; font-size: 17px; line-height: 1.2; margin: 3px 0 6px; }
.cat-index .d { font-size: 13px; line-height: 1.5; color: var(--ink-brown); }
@media (max-width: 900px) { .cat-index { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-index { grid-template-columns: 1fr; } }

/* service-cat header now carries its own mark */
.service-cat { scroll-margin-top: 90px; }
.service-cat .hd { display: flex; align-items: flex-start; gap: 16px; }
.service-cat .hd .mk { width: 38px; height: 38px; flex: none; margin-top: 2px; }
.service-cat .hd .mk svg { width: 100%; height: 100%; }
.service-cat .hd h3 { margin: 4px 0 8px; }

/* ---------- 4a. Capital components (Loan Program) ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0 8px; }
.cap {
  border: 1px solid var(--rule); background: var(--paper);
  padding: 24px 22px; display: flex; flex-direction: column;
}
.cap .ico { width: 42px; height: 42px; margin-bottom: 14px; }
.cap .ico svg { width: 100%; height: 100%; }
.cap h3 { font-family: var(--serif); font-weight: 500; font-size: 18.5px; margin-bottom: 8px; }
.cap p { font-size: 14.5px; line-height: 1.6; margin: 0 0 16px; max-width: none; }
.cap .tag {
  margin-top: auto; align-self: flex-start;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--purple); border: 1px solid var(--purple); padding: 3px 9px;
}
@media (max-width: 860px) { .cap-grid { grid-template-columns: 1fr; } }

/* ---------- 4b. Workstream chips + phase cards (Days to Open) ---------- */
.workstreams { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 8px; list-style: none; max-width: 860px; }
.workstreams li {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-brown); background: var(--paper);
  border: 1px solid var(--rule); padding: 7px 12px; margin: 0; line-height: 1.3;
}
.band-cream .workstreams li { background: var(--paper); }
.phase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 26px 0 8px; }
.phase {
  border-top: 2px solid var(--purple); padding-top: 16px;
}
.phase .n { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--purple); }
.phase h3 { font-family: var(--serif); font-weight: 500; font-size: 18px; margin: 6px 0 8px; line-height: 1.2; }
.phase p { font-size: 14.5px; line-height: 1.6; margin: 0; max-width: none; }
@media (max-width: 780px) { .phase-grid { grid-template-columns: 1fr; } }

/* Fee basis disclosure (gross revenue definition) */
.fee-note {
  font-size: 12.5px; line-height: 1.55; color: var(--ink-brown);
  max-width: 62ch; margin-top: 12px;
}
.fee-highlight .fee-note { margin: 10px 0 0; max-width: 480px; }

/* Wide tables inside a journal post break out of the 680px reading measure */
.post-body .table-breakout { overflow-x: auto; width: 900px; max-width: calc(100vw - 96px); margin: 24px 0; }
@media (max-width: 1000px) { .post-body .table-breakout { width: 100%; } }

/* The CTA banner is full-bleed dark; the footer's 2px rule is inset to .wrap,
   so it read as a black line with visible ends under the band. The banner
   already separates the footer, so drop the rule when it directly precedes. */
.cta-banner + footer .foot { border-top: 0; padding-top: 40px; }

/* ================================================================
   MOBILE PASS (2026-08-15)
   The nav was display:none below 900px with nothing replacing it,
   so interior pages had no navigation at all on a phone.
   ================================================================ */
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .site-header { padding: 12px 0; }
  .utility-row { padding-top: 4px; }
  .utility-row .enter-platform { padding: 9px 14px; font-size: 10px; }

  .site-header .bar { flex-wrap: wrap; row-gap: 12px; column-gap: 12px; }
  .site-header .bar > a:first-child { order: 1; }
  .nav-toggle { order: 2; margin-left: auto; }
  .site-nav { order: 3; }
  .site-header .cta-pill { order: 4; width: 100%; text-align: center; padding: 15px 22px; }

  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 48px; height: 48px; padding: 13px;
    background: none; border: 1px solid var(--rule); cursor: pointer;
  }
  .nav-toggle span {
    display: block; height: 2px; width: 100%; background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

  .site-nav { display: none; }
  .site-nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    width: 100%; border-top: 1px solid var(--rule); font-size: 12.5px;
  }
  .site-nav.open > a,
  .site-nav.open .has-sub > a,
  .site-nav.open .sub a { display: block; }
  .site-nav.open > a,
  .site-nav.open .has-sub > a { padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .site-nav.open a.active::after { display: none; }
  .site-nav.open .has-sub { display: block; position: static; }
  .site-nav.open .has-sub::after { display: none; }
  .site-nav.open .has-sub > a::after { content: ""; margin: 0; }
  .site-nav.open .sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0; min-width: 0; background: none;
  }
  .site-nav.open .sub a {
    padding: 14px 0 14px 20px; border-bottom: 1px solid var(--rule);
    color: rgba(26,24,22,0.6);
  }

  /* tap targets: nothing interactive below 44px */
  .cta-pill, .btn-ghost, .enter-platform { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .foot .right a { padding: 11px 0; display: inline-block; }
  .form-modal .close-x { padding: 10px; margin: -10px; }
  .faq-item > summary { padding-top: 19px; padding-bottom: 19px; }

  /* body copy that was set for desktop density */
  .service-cat .delivers-yours > div { font-size: 15px; }
  .cap p, .phase p, .team-card p, .cat-index .d { font-size: 15px; }
  .page-hero { padding: 36px 0 28px; }
  .content-block { padding: 36px 0; }

  /* wide tables get a visible scroll affordance instead of a silent cut */
  .table-breakout, div[style*="overflow-x"] { -webkit-overflow-scrolling: touch; }
}

@media (max-width: 560px) {
  .cta-banner .actions { flex-direction: column; align-items: stretch; }
  .cta-banner .actions a { width: 100%; }
}

/* Remaining sub-44px tap targets on phones */
@media (max-width: 900px) {
  .store-card .site { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 0; }
  .site-header .bar > a:first-child { display: inline-flex; align-items: center; min-height: 44px; }
  .foot .right a { padding: 13px 0; }
  .post-nav a { display: inline-block; padding: 12px 0; }
  .cat-index .ci { min-height: 44px; }
}

/* ================================================================
   OPERATORS PAGE, SECOND DENSITY PASS (2026-08-15)
   "Services & scope of work" was 59% of the page's words. The four
   category blocks now collapse; their headers carry the summary, so
   the separate .cat-index (which repeated them) is gone.
   ================================================================ */
details.service-cat { padding: 0; }
details.service-cat > summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 54px 22px 22px;
}
details.service-cat > summary::-webkit-details-marker { display: none; }
details.service-cat > summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 20px; line-height: 1; color: var(--purple);
}
details.service-cat[open] > summary::after { content: "\2212"; }
details.service-cat > summary:hover { background: var(--lavender-soft); }
details.service-cat > summary:focus-visible { outline: 2px solid var(--purple); outline-offset: -2px; }
details.service-cat .hd { display: flex; align-items: flex-start; gap: 16px; }
details.service-cat .hd .mk { width: 38px; height: 38px; flex: none; margin-top: 2px; display: block; }
details.service-cat .hd .mk svg { width: 100%; height: 100%; display: block; }
details.service-cat .hd-txt { display: block; }
details.service-cat .hd-txt .num { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--purple); }
details.service-cat .hd-txt h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; margin: 5px 0 7px; }
details.service-cat .hd-txt .lede { display: block; font-size: 15px; line-height: 1.55; color: var(--ink-brown); }
details.service-cat .delivers-yours { margin: 0; padding: 0 22px 24px 76px; }
@media (max-width: 700px) { details.service-cat .delivers-yours { padding-left: 22px; } }

/* "Also included" + "three reasons": prose lists become card grids */
.inc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0 8px; }
.inc { border-top: 2px solid var(--purple); padding-top: 14px; }
.inc h4 { font-family: var(--serif); font-weight: 500; font-size: 16px; margin-bottom: 6px; line-height: 1.2; }
.inc p { font-size: 13.5px; line-height: 1.55; margin: 0; max-width: none; color: var(--ink-brown); }
@media (max-width: 900px) { .inc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .inc-grid { grid-template-columns: 1fr; } }

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 22px 0 4px; }
.reason .n { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--purple); }
.reason h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; margin: 6px 0 8px; }
.reason p { font-size: 14.5px; line-height: 1.6; margin: 0; max-width: none; }
@media (max-width: 780px) { .reasons { grid-template-columns: 1fr; } }

/* Walkthrough: numbered prose list becomes a stepper */
.stepper { display: grid; gap: 0; margin: 22px 0 4px; max-width: 860px; }
.step-row { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--rule); }
.step-row:last-child { border-bottom: 1px solid var(--rule); }
.step-row .sn { font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--purple); }
.step-row h4 { font-family: var(--serif); font-weight: 500; font-size: 17px; margin-bottom: 5px; }
.step-row p { font-size: 14.5px; line-height: 1.6; margin: 0; max-width: none; }

/* ---------- Journal subscribe ---------- */
.subscribe-form { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; margin: 20px 0 10px; max-width: 520px; }
.subscribe-form input[type="email"] {
  flex: 1 1 240px; min-width: 0;
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  border: 1px solid var(--ink); background: var(--paper); padding: 13px 14px;
}
.subscribe-form input[type="email"]:focus { outline: 2px solid var(--purple); outline-offset: 1px; }
.subscribe-form button { border: 1px solid var(--purple); cursor: pointer; }
.subscribe-form .honey { position: absolute; left: -9999px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Business address in the footer: CAN-SPAM needs it published, and consistent
   name/address/phone is a local-SEO signal. */
.foot .right .addr { display: block; margin-bottom: 8px; color: rgba(26,24,22,0.75); font-style: normal; }

/* ---------- Testimonial ----------
   One real operator voice is worth more than the whole rest of the page, so it
   gets the storefront photo beside it rather than sitting as another pull quote. */
.testimonial { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: center; max-width: 980px; }
.testimonial .shot { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; border: 1px solid var(--rule); }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p {
  font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.5;
  color: var(--purple-deep); margin: 0 0 18px; max-width: 46ch;
}
.testimonial figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.testimonial figcaption .role { display: block; color: rgba(26,24,22,0.62); margin-top: 5px; letter-spacing: 0.1em; }
@media (max-width: 780px) {
  .testimonial { grid-template-columns: 1fr; gap: 22px; }
  .testimonial blockquote p { font-size: 19px; max-width: none; }
}
