/* ============================================================
   COMPONENTS — reusable, content-agnostic building blocks.
   Every rule here reads --line / --line-strong / --teal-acc /
   --btn-* from the section colour mode, so a component renders
   correctly on navy or cream without special-casing.
   ============================================================ */

/* ---------- buttons / CTA ---------- */
.btn{
  display:inline-block; font-weight:600; font-size:15px; padding:14px 26px;
  text-decoration:none; background:var(--btn-bg); color:var(--btn-fg);
  transition:transform .18s ease; min-height:44px; line-height:1.4;
}
.btn:hover{ transform:translateY(-1px); }
.btn-text{
  font-family:var(--font-mono); font-size:13.5px; text-decoration:none;
  padding-bottom:2px; position:relative; display:inline-block;
}
.btn-text::after{ content:''; position:absolute; left:0; right:0; bottom:0; height:1px; background:currentColor; transform:scaleX(1); transform-origin:left; }
.btn-text:hover::after{ animation:underline-pulse .5s ease; }
@keyframes underline-pulse{ 0%{transform:scaleX(1);} 45%{transform:scaleX(0); transform-origin:left;} 55%{transform-origin:right;} 100%{transform:scaleX(1); transform-origin:right;} }
html.reduce-motion .btn{ transition:none; }
html.reduce-motion .btn:hover{ transform:none; }
html.reduce-motion .btn-text:hover::after{ animation:none; }
.cta-row{ display:flex; align-items:center; gap:24px; flex-wrap:wrap; margin-top:8px; }

/* =========================================================
   HERO DRAWING — "the line draws itself" (desktop)
   ========================================================= */
.hero h1{ font-size:clamp(42px,6vw,74px); line-height:1.02; margin-bottom:24px; max-width:13ch; }
.hero .sub{ font-size:19px; max-width:42ch; margin-bottom:22px; opacity:.92; }
.hero .credential{ font-size:13px; opacity:.7; margin-bottom:34px; }
.hero .credential .name{ opacity:1; }

.hero-idx{ border-top:1px solid var(--line-strong); padding-top:18px; margin-top:10px; }
.hero-idx .idx-lede{ font-family:var(--font-serif); font-style:italic; font-size:14px; opacity:.6; margin-bottom:16px; }
.hero-idx .idx-flow{ display:flex; flex-wrap:wrap; align-items:baseline; gap:0; }
.hero-idx .idx-item{ display:inline-flex; align-items:baseline; gap:8px; opacity:.5; transition:opacity .5s ease; }
.hero-idx .idx-item.lit{ opacity:1; }
.hero-idx .idx-num{ font-size:11px; color:var(--c-gold); }
.hero-idx .idx-name{ font-family:var(--font-sans); font-size:14px; font-weight:600; }
.hero-idx .idx-sep{ margin:0 14px; opacity:.35; font-size:12px; }
@media (max-width:980px){ .hero-idx{ margin-top:32px; } }

.hero-drawing-wrap{ margin-top:56px; position:relative; }
.hero-drawing{ width:100%; height:auto; }
.hd-grid-line{ stroke:var(--line); stroke-width:1; }
.hd-arc{ stroke:var(--c-gold); stroke-width:1.1; fill:none; opacity:0; transition:opacity 1.1s ease .45s; }
.hd-path{ stroke:var(--c-gold); fill:none; stroke-width:2.5; stroke-linecap:square; stroke-dasharray:2600; stroke-dashoffset:2600; transition:stroke-dashoffset 1.15s var(--ease-draw); }
.hd-path-extend{ stroke:var(--c-gold); fill:none; stroke-width:1; stroke-dasharray:2 5; opacity:0; transition:opacity .7s ease .95s; }
.hero-drawing.animate .hd-path-extend{ opacity:.4; }
.hd-tick{ stroke:var(--line-strong); stroke-width:1; opacity:0; transition:opacity .45s ease; }
.hd-node{ fill:none; stroke:var(--c-gold); stroke-width:1.4; opacity:0; transform:scale(.7); transform-origin:center; transition:opacity .45s ease, transform .45s var(--ease-settle); }
.hd-node-teal{ stroke:var(--c-teal-lt); }
.hd-num{ fill:#9DA9BA; font-size:11px; font-family:var(--font-mono); opacity:0; transition:opacity .45s ease; letter-spacing:.04em; }
.hd-terminus{ fill:var(--c-gold); opacity:0; transform:scale(.6); transform-origin:center; transition:opacity .45s ease, transform .45s var(--ease-settle); }
.hd-crop{ stroke:var(--line-strong); stroke-width:1; fill:none; opacity:0; transition:opacity .5s ease; }
.hd-dim{ stroke:#9DA9BA; stroke-width:1; opacity:0; transition:opacity .4s ease; }
.hd-dimtext{ fill:#9DA9BA; font-size:10px; font-family:var(--font-mono); letter-spacing:.08em; opacity:0; transition:opacity .4s ease; }

.hero-drawing.animate .hd-path{ stroke-dashoffset:0; }
.hero-drawing.animate .hd-arc{ opacity:.4; }
.hero-drawing.animate .hd-crop{ opacity:.5; transition-delay:.15s; }
.hero-drawing.animate .hd-tick{ opacity:1; transition-delay:.7s; }
.hero-drawing.animate .hd-dim{ opacity:.5; transition-delay:.8s; }
.hero-drawing.animate .hd-dimtext{ opacity:1; transition-delay:.9s; }
.hero-drawing.animate .hd-node{ opacity:1; transform:scale(1); }
.hero-drawing.animate .hd-node:nth-of-type(1){ transition-delay:.55s; }
.hero-drawing.animate .hd-node:nth-of-type(2){ transition-delay:.68s; }
.hero-drawing.animate .hd-node:nth-of-type(3){ transition-delay:.81s; }
.hero-drawing.animate .hd-num{ transition-delay:.85s; }
.hero-drawing.animate .hd-terminus{ opacity:1; transform:scale(1); transition-delay:1s; }

html.reduce-motion .hd-path, html.reduce-motion .hd-path-extend, html.reduce-motion .hd-arc,
html.reduce-motion .hd-tick, html.reduce-motion .hd-node, html.reduce-motion .hd-num,
html.reduce-motion .hd-crop, html.reduce-motion .hd-dim, html.reduce-motion .hd-dimtext,
html.reduce-motion .hd-terminus{ transition:none !important; stroke-dashoffset:0 !important; opacity:1 !important; transform:none !important; }
html.reduce-motion .hd-arc{ opacity:.4 !important; }
html.reduce-motion .hd-path-extend{ opacity:.4 !important; }
html.reduce-motion .hd-crop{ opacity:.5 !important; }
html.reduce-motion .hd-dim{ opacity:.5 !important; }
html:not(.js-enabled) .hd-path, html:not(.js-enabled) .hd-path-extend, html:not(.js-enabled) .hd-arc,
html:not(.js-enabled) .hd-tick, html:not(.js-enabled) .hd-node, html:not(.js-enabled) .hd-num,
html:not(.js-enabled) .hd-crop, html:not(.js-enabled) .hd-dim, html:not(.js-enabled) .hd-dimtext,
html:not(.js-enabled) .hd-terminus{ stroke-dashoffset:0; opacity:1; transform:none; }
html:not(.js-enabled) .hd-arc{ opacity:.4; }
html:not(.js-enabled) .hd-path-extend{ opacity:.4; }
html:not(.js-enabled) .hd-crop{ opacity:.5; }
html:not(.js-enabled) .hd-dim{ opacity:.5; }

.hero-drawing-desktop{ display:block; }
.hero-drawing-mobile{ display:none; }
@media (max-width:767px){
  .hero-drawing-desktop{ display:none; }
  .hero-drawing-mobile{ display:block; margin-top:8px; }
}

/* =========================================================
   PROBLEM — situations list
   ========================================================= */
.situations{ margin-top:22px; }
.situation{ display:grid; grid-template-columns:36px 1fr; gap:8px; padding:18px 0; border-top:1px solid var(--line); align-items:baseline; }
.situation:last-of-type{ border-bottom:1px solid var(--line); }
.situation .mark{ font-size:12px; color:var(--c-grey); }
.situation p{ margin:0; font-size:17px; }

/* =========================================================
   FOUR PILLARS
   ========================================================= */
.svc-list{ margin-top:20px; }
.svc-row{ display:grid; grid-template-columns:64px 1fr; gap:24px; padding:44px 0; border-top:1px solid var(--line); position:relative; }
.svc-row:last-child{ border-bottom:1px solid var(--line); }
.svc-num{ font-family:var(--font-mono); font-size:15px; color:var(--c-gold); padding-top:4px; transition:font-size .2s ease; }
.svc-row.tech .svc-num{ color:var(--teal-acc); }
/* decorative registration mark + "of 4" counter — ties the pillar number
   into the foundation-line system; enlarged into a chapter mark on mobile
   (see responsive.css). Generated content is ornamental only — the
   accessible reading order already conveys position via heading order. */
.svc-num::before{ content:'+'; opacity:.4; margin-right:6px; transition:opacity .6s ease; }
html.js-enabled .svc-row.in-view .svc-num::before{ opacity:1; }
html:not(.js-enabled) .svc-num::before{ opacity:1; }
.svc-num::after{ content:attr(data-of); opacity:.35; font-size:.7em; margin-left:6px; display:none; }
.svc-body{ display:grid; grid-template-columns:1fr 1fr; gap:28px 36px; align-items:start; }

/* Services page: standalone full-section chapter mark. Desktop keeps the
   established col-idx kicker ("01 · Accounting") consistent with every
   other section's rail label. On mobile the col-idx rail loses its visual
   weight, so this becomes the same oversized foundation-line chapter
   number used for the homepage pillars (see responsive.css) — hidden on
   desktop to avoid duplicating the kicker's numeral. */
.svc-chapter{ display:none; }
.svc-chapter.tech{ color:var(--teal-acc); }
@media (max-width:860px){ .svc-body{ display:block; } }
.svc-name{ font-size:24px; margin-bottom:10px; }
.svc-desc{ font-size:16px; max-width:48ch; opacity:.9; margin-bottom:12px; }
.svc-logic{ display:flex; align-items:center; flex-wrap:wrap; gap:6px 0; font-family:var(--font-mono); font-size:12.5px; letter-spacing:.03em; }
.svc-logic .step{ padding:5px 10px; border:1px solid var(--line-strong); }
.svc-logic .arrow{ padding:0 8px; opacity:.6; }
.svc-row.tech .svc-logic .step{ border-color:var(--teal-acc); color:var(--teal-acc); }
.learn{ font-family:var(--font-mono); font-size:13px; border-bottom:1px solid currentColor; padding-bottom:2px; display:inline-block; margin-top:14px; text-decoration:none; }

/* --- 01 Accounting: masked figures settle into alignment --- */
.ledger{ margin-top:6px; }
.ledger-row{ display:grid; grid-template-columns:1fr auto; gap:14px; padding:9px 0; border-bottom:1px solid var(--line); align-items:center; }
.ledger-row .lbl{ font-family:var(--font-mono); font-size:11px; letter-spacing:.05em; opacity:.6; text-transform:uppercase; }
.ledger-mask{ height:9px; background:var(--line-strong); width:var(--w,60px); margin-left:auto; transition:width .5s var(--ease-draw), background-color .4s ease; }
html.js-enabled .ledger-mask{ width:var(--w0,60px); }
html.js-enabled .svc-row.in-view .ledger-mask{ width:var(--w,60px); }
.ledger-row:nth-child(1) .ledger-mask{ transition-delay:.05s; }
.ledger-row:nth-child(2) .ledger-mask{ transition-delay:.15s; }
.ledger-row:nth-child(3) .ledger-mask{ transition-delay:.25s; }
.ledger-row.final .ledger-mask{ background:var(--c-gold); transition-delay:.4s; }
.ledger-row.final{ border-bottom-width:2px; border-bottom-color:var(--line-strong); }
html.reduce-motion .ledger-mask{ transition:none; }

/* --- 02 Grants: possible routes resolve to one, qualified --- */
.route-svg{ width:100%; height:auto; margin-top:4px; }
.route-path{ stroke:var(--line-strong); stroke-width:1.6; fill:none; stroke-dasharray:3 4; transition:stroke .5s ease, opacity .5s ease, stroke-dasharray .5s ease; }
.route-path.chosen{ stroke-dasharray:0; }
html.js-enabled .svc-row.in-view .route-path.chosen{ stroke:var(--c-gold); stroke-dasharray:0; }
html.js-enabled .svc-row.in-view .route-path.dropped{ opacity:.25; }
.route-dot{ fill:var(--c-navy); stroke:var(--line-strong); stroke-width:2; transition:stroke .5s ease .3s; }
.mode-navy .route-dot{ fill:var(--c-navy); }
html.js-enabled .svc-row.in-view .route-dot.final{ stroke:var(--c-gold); }
.route-annot{ font-family:var(--font-mono); font-size:8.5px; fill:var(--c-grey); letter-spacing:.05em; opacity:.7; }
.route-annot.resolved{ opacity:0; fill:var(--c-gold); transition:opacity .4s ease .5s; }
html.js-enabled .svc-row.in-view .route-annot.resolved{ opacity:.85; }
html.reduce-motion .route-annot.resolved{ transition:none; }

/* --- 03 Automation & AI: repetition collapses into one flow --- */
.auto-repeat{ display:flex; align-items:center; gap:10px; margin-top:6px; flex-wrap:wrap; }
.auto-tick{
  display:flex; align-items:center; justify-content:center; width:34px; height:26px;
  border:1.4px solid var(--line-strong); font-family:var(--font-mono); font-size:11px; color:var(--c-grey);
  transition:transform .55s var(--ease-draw), opacity .5s ease, border-color .4s ease, color .4s ease;
}
html.js-enabled .auto-tick{ transform:translateX(var(--ix,0)) translateY(var(--iy,0)); }
html.js-enabled .svc-row.in-view .auto-tick{ transform:translateX(0) translateY(0); }
.auto-tick:nth-child(2){ transition-delay:.06s; } .auto-tick:nth-child(3){ transition-delay:.12s; } .auto-tick:nth-child(4){ transition-delay:.18s; }
html.js-enabled .svc-row.in-view .auto-tick.collapse{ opacity:0; transition-delay:.3s; }
html.js-enabled .svc-row.in-view .auto-tick.keep{ border-color:var(--teal-acc); color:var(--teal-acc); transition-delay:.3s; }
.auto-result{ display:inline-flex; align-items:center; gap:8px; opacity:0; transition:opacity .4s ease .55s; }
html.js-enabled .svc-row.in-view .auto-result{ opacity:1; }
.auto-result .rline{ width:26px; height:1px; background:var(--teal-acc); }
.auto-result .rlabel{ font-family:var(--font-mono); font-size:12px; color:var(--teal-acc); letter-spacing:.03em; }
html.reduce-motion .auto-tick, html.reduce-motion .auto-result{ transition:none; }

/* --- 04 Digital Enablement: construction frame resolves to a browser --- */
.construct-wrap{ position:relative; width:100%; max-width:220px; margin-top:6px; }
.construct-svg{ width:100%; height:auto; }
.construct-rect{ stroke:var(--line-strong); fill:none; stroke-width:1.4; stroke-dasharray:4 4; stroke-dashoffset:400; transition:stroke-dashoffset .8s ease; }
html.js-enabled .svc-row.in-view .construct-rect{ stroke-dashoffset:0; }
.browser-mini{ position:absolute; inset:8px; border:1px solid var(--line-strong); background:var(--c-cream); opacity:0; transform:scale(.96); transition:opacity .5s ease .55s, transform .5s var(--ease-settle) .55s; }
html.js-enabled .svc-row.in-view .browser-mini{ opacity:1; transform:scale(1); }
.browser-mini .bar{ display:flex; align-items:center; gap:3px; padding:5px 6px; border-bottom:1px solid var(--line); }
.browser-mini .dot{ width:4px; height:4px; border-radius:50%; background:var(--line-strong); }
.browser-mini .navrow{ display:flex; gap:6px; padding:5px 8px; border-bottom:1px solid var(--line); }
.browser-mini .navrow .ni{ width:14px; height:3px; background:var(--line-strong); }
.browser-mini .body{ padding:8px; }
.browser-mini .h{ height:7px; width:60%; background:var(--c-ink); opacity:.55; margin-bottom:6px; }
.browser-mini .l{ height:4px; background:var(--line); margin-bottom:5px; }
.browser-mini .l.short{ width:55%; }
.browser-mini .row2{ display:flex; gap:6px; margin-top:6px; }
.browser-mini .cta{ width:34px; height:9px; background:var(--c-gold); }
.browser-mini .chip{ width:9px; height:9px; border:1.2px solid var(--teal-acc); }
html.reduce-motion .construct-rect, html.reduce-motion .browser-mini{ transition:none; }

/* =========================================================
   FOUNDER — margin-note treatment
   ========================================================= */
.founder-grid{ display:grid; grid-template-columns:1fr 1fr; gap:0 48px; align-items:start; }
@media (max-width:860px){ .founder-grid{ display:block; } }
.founder-quote{ font-style:italic; font-size:clamp(26px,3.2vw,38px); line-height:1.25; margin-bottom:0; }
.quote-mark-lg{ font-size:110px; line-height:.4; color:var(--c-gold); opacity:.35; display:block; margin-bottom:8px; }
.founder-note{ font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; opacity:.6; text-transform:uppercase; margin-bottom:18px; }
.founder-body p{ font-size:16.5px; }
.credential-tags{ display:flex; gap:10px; flex-wrap:wrap; margin:18px 0 6px; }
.credential-tag{ font-family:var(--font-mono); font-size:12px; padding:6px 12px; border:1px solid var(--line-strong); }
.founder-divider{ margin:36px 0; display:flex; align-items:center; gap:12px; }
.founder-divider .mono{ font-size:11px; opacity:.6; }

/* =========================================================
   WORKSHOP — build strip
   ========================================================= */
.workshop-meta{ display:flex; gap:36px; flex-wrap:wrap; margin:26px 0 44px; padding:22px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.workshop-meta .item{ display:flex; flex-direction:column; gap:4px; }
.workshop-meta .k{ font-size:11px; opacity:.6; text-transform:uppercase; letter-spacing:.06em; }
.workshop-meta .v{ font-size:15px; font-family:var(--font-mono); }

.build-strip{ display:flex; gap:0; margin:8px 0 40px; overflow-x:auto; padding-bottom:8px; }
.frame{ flex:0 0 auto; width:184px; margin-right:22px; position:relative; opacity:.35; transform:translateY(10px); transition:opacity .5s ease, transform .5s var(--ease-reveal); }
html:not(.js-enabled) .frame{ opacity:1; transform:none; }
.frame.on{ opacity:1; transform:translateY(0); }
.frame:last-child{ margin-right:0; }
.frame-chrome{ border:1px solid var(--line-strong); background:var(--c-white); }
.frame-bar{ display:flex; align-items:center; gap:4px; padding:7px 8px; border-bottom:1px solid var(--line); }
.frame-dot{ width:5px; height:5px; border-radius:50%; background:var(--line-strong); }
.frame-addr{ flex:1; height:8px; margin-left:6px; background:var(--line); }
.frame-body{ height:120px; padding:10px; display:flex; flex-direction:column; gap:6px; }
.frame-body .bl{ height:6px; background:var(--line); }
.frame-body .bl.short{ width:60%; }
.frame-body .fnav{ display:flex; gap:4px; margin-bottom:2px; }
.frame-body .fnav span{ width:12px; height:3px; background:var(--line-strong); }
.frame-body .fh{ height:9px; width:70%; background:var(--line-strong); margin-bottom:2px; }
.frame-body .fcta{ width:36px; height:8px; background:var(--c-gold); margin-top:2px; }
.frame-body .fchip{ width:8px; height:8px; border:1.2px solid var(--teal-acc); margin-top:2px; }
.frame-label{ display:flex; align-items:baseline; gap:8px; margin-top:10px; }
.frame-label .num{ font-size:11px; color:var(--c-gold); }
.frame-label .name{ font-family:var(--font-sans); font-size:13px; font-weight:600; }
.frame-connector{ position:absolute; top:60px; right:-22px; width:22px; height:1px; background:var(--line-strong); }
.frame:last-child .frame-connector{ display:none; }
html.reduce-motion .frame{ transition:none; }

/* =========================================================
   HOW WE WORK
   ========================================================= */
.how-list{ margin-top:8px; }
.how-row{ display:grid; grid-template-columns:64px 1fr; gap:24px; padding:26px 0; border-top:1px solid var(--line); align-items:baseline; }
.how-row:last-of-type{ border-bottom:1px solid var(--line); }
.how-row .n{ font-family:var(--font-mono); font-size:14px; color:var(--c-navy); }
.how-row h3{ font-size:19px; margin:0; }

/* =========================================================
   CLOSING
   ========================================================= */
.closing .kicker{ color:#B9C2CE; }
.closing h2{ font-size:clamp(30px,4vw,46px); max-width:14ch; }
.closing p{ max-width:56ch; opacity:.9; }
.closing-terminus{ display:flex; align-items:center; margin-top:44px; }
.closing-terminus .line{ flex:1; height:1px; background:rgba(242,236,221,.25); transform-origin:left; }
html.js-enabled .closing-terminus .line{ transform:scaleX(0); transition:transform 1s var(--ease-draw); }
html.js-enabled .reveal.is-visible .closing-terminus .line{ transform:scaleX(1); }
.closing-terminus .dot{ width:11px; height:11px; border-radius:50%; background:var(--c-gold); margin-left:-1px; opacity:0; transform:scale(.4); transition:opacity .4s ease .9s, transform .4s var(--ease-settle) .9s; }
html.js-enabled .reveal.is-visible .closing-terminus .dot{ opacity:1; transform:scale(1); }
html:not(.js-enabled) .closing-terminus .line{ transform:scaleX(1); }
html:not(.js-enabled) .closing-terminus .dot{ opacity:1; transform:scale(1); }
html.reduce-motion .closing-terminus .line, html.reduce-motion .closing-terminus .dot{ transition:none; transform:scaleX(1) !important; opacity:1 !important; }
html.reduce-motion .closing-terminus .dot{ transform:scale(1) !important; }

/* =========================================================
   PHASE 2 — internal-page components (About / Services)
   Shared across any inner page; nothing homepage-specific lives here.
   ========================================================= */

/* ---------- internal-page hero: a slim horizontal foundation strip,
   not the full architectural drawing — establishes the same system
   in a quieter register for inner pages ---------- */
.page-hero{ padding:52px 0 76px; }
.page-hero .kicker{ margin-bottom:18px; }
.page-hero h1{ font-size:clamp(34px,4.6vw,54px); line-height:1.08; max-width:16ch; margin-bottom:22px; }
.page-hero .sub{ font-family:var(--font-serif); font-style:italic; font-size:19px; max-width:52ch; opacity:.9; margin-bottom:0; }

.hero-strip{ margin-top:48px; }
.hero-strip svg{ width:100%; height:auto; }
.hs-line{ stroke:var(--c-gold); stroke-width:2; stroke-dasharray:1400; stroke-dashoffset:1400; transition:stroke-dashoffset 1s var(--ease-draw); }
html.js-enabled .reveal.is-visible .hs-line{ stroke-dashoffset:0; }
html:not(.js-enabled) .hs-line{ stroke-dashoffset:0; }
.hs-crop{ stroke:var(--line-strong); stroke-width:1; fill:none; opacity:.5; }
.hs-node{ fill:none; stroke:var(--c-gold); stroke-width:1.4; opacity:0; transition:opacity .4s ease; }
html.js-enabled .reveal.is-visible .hs-node{ opacity:1; transition-delay:.6s; }
html:not(.js-enabled) .hs-node{ opacity:1; }
.hs-node.teal{ stroke:var(--c-teal-lt); }
.hs-terminus{ fill:var(--c-gold); opacity:0; transition:opacity .4s ease; }
html.js-enabled .reveal.is-visible .hs-terminus{ opacity:1; transition-delay:.8s; }
html:not(.js-enabled) .hs-terminus{ opacity:1; }
.hs-label{ fill:#9DA9BA; font-size:10px; font-family:var(--font-mono); letter-spacing:.06em; }
html.reduce-motion .hs-line, html.reduce-motion .hs-node, html.reduce-motion .hs-terminus{ transition:none !important; stroke-dashoffset:0 !important; opacity:1 !important; }

/* ---------- editorial story text (no cards) ---------- */
.story-text{ font-size:18px; line-height:1.65; max-width:62ch; }
.story-text p:first-of-type{ font-family:var(--font-serif); font-style:italic; font-size:22px; }

/* ---------- principles: numbered editorial rows with room to breathe ---------- */
.principle-list{ margin-top:8px; }
.principle-row{ display:grid; grid-template-columns:64px 1fr; gap:24px; padding:32px 0; border-top:1px solid var(--line); align-items:baseline; }
.principle-row:last-child{ border-bottom:1px solid var(--line); }
.principle-row .num{ font-family:var(--font-mono); font-size:16px; color:var(--c-gold); align-self:start; padding-top:3px; }
.principle-row h3{ font-size:21px; margin-bottom:8px; }
.principle-row p{ font-size:15.5px; opacity:.85; margin:0; max-width:54ch; }
@media (max-width:480px){ .principle-row{ grid-template-columns:1fr; gap:8px; } .principle-row .num{ font-size:26px; } }

/* ---------- two perspectives: an information-design split, not cards ---------- */
.perspective-split{ display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:8px; margin:8px 0 12px; }
.perspective-split .side .label{ font-family:var(--font-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase; opacity:.6; margin-bottom:10px; }
.perspective-split .side h3{ font-size:clamp(22px,2.6vw,30px); margin-bottom:10px; }
.perspective-split .side p{ font-size:15px; opacity:.85; margin:0; max-width:34ch; }
.perspective-split .plus{ font-family:var(--font-mono); font-size:30px; color:var(--c-gold); text-align:center; padding:0 20px; opacity:.8; }
.perspective-note{ font-family:var(--font-serif); font-style:italic; font-size:17px; opacity:.85; max-width:56ch; margin-top:28px; padding-top:24px; border-top:1px solid var(--line); }
@media (max-width:760px){
  .perspective-split{ grid-template-columns:1fr; text-align:left; }
  .perspective-split .plus{ padding:14px 0; text-align:left; }
}

/* ---------- honesty / referral statement — visually memorable, not a sales claim ---------- */
.statement-block .statement{ font-family:var(--font-serif); font-style:italic; font-size:clamp(26px,3.6vw,42px); line-height:1.32; max-width:18ch; margin:0 0 22px; }
.statement-block p:not(.statement){ font-size:16.5px; max-width:52ch; opacity:.88; }

/* ---------- connected system: four disciplines on one foundation line, vertical ---------- */
.connect-flow{ position:relative; margin:36px 0 44px; padding-left:40px; }
.connect-line{ position:absolute; left:9px; top:10px; bottom:10px; width:1px; background:var(--line-strong); transform-origin:top; transform:scaleY(0); transition:transform 1s var(--ease-draw); }
html.js-enabled .connect-flow.is-visible .connect-line{ transform:scaleY(1); }
html:not(.js-enabled) .connect-line{ transform:scaleY(1); }
html.reduce-motion .connect-line{ transition:none; transform:scaleY(1); }
.connect-node{ position:relative; padding:18px 0; }
.connect-node::before{ content:''; position:absolute; left:-35px; top:26px; width:9px; height:9px; margin-left:-4.5px; border-radius:50%; background:var(--c-navy); border:2px solid var(--c-gold); opacity:.35; transition:opacity .4s ease; transition-delay:calc(var(--i, 0) * .12s + .25s); }
.mode-cream .connect-node::before{ background:var(--c-cream); }
html.js-enabled .connect-flow.is-visible .connect-node::before{ opacity:1; }
html:not(.js-enabled) .connect-node::before{ opacity:1; }
html.reduce-motion .connect-node::before{ transition:none; opacity:1; }
.connect-node .cn-num{ font-family:var(--font-mono); font-size:12px; color:var(--c-gold); margin-right:10px; }
.connect-node .cn-name{ font-family:var(--font-sans); font-weight:600; font-size:18px; }
.connect-node .cn-desc{ font-size:14.5px; opacity:.75; margin-top:4px; max-width:44ch; }
.connect-flow-note{ font-size:15px; opacity:.85; max-width:56ch; margin-top:8px; font-style:italic; font-family:var(--font-serif); }

/* ---------- scope list reuses .situations/.situation from components.css ---------- */

/* =========================================================
   PHASE 3 — Workshop / Showcase
   Everything here is either a small extension of an existing
   component (a modifier, a new descendant) or a page-specific
   variant built strictly from the same visual vocabulary
   (hairlines, mono labels, registration marks, foundation line).
   Nothing new is introduced: no cards, no gradients, no icons.
   ========================================================= */

/* ---------- hero-strip, workshop variant: more nodes + numerals,
   the same SVG vocabulary evolved to preview the five-step process
   the page is about to walk through ---------- */
.hs-num{ fill:var(--c-gold); font-size:11px; font-family:var(--font-mono); text-anchor:middle; opacity:0; transition:opacity .4s ease; }
html.js-enabled .reveal.is-visible .hs-num{ opacity:.85; transition-delay:.7s; }
html:not(.js-enabled) .hs-num{ opacity:.85; }
html.reduce-motion .hs-num{ transition:none; opacity:.85; }

/* ---------- workshop price strip: shown immediately in the hero,
   reuses .workshop-meta's key/value pattern but sits on navy ---------- */
.hero .workshop-meta, .page-hero .workshop-meta{ margin:28px 0 0; border-color:var(--line); }

/* ---------- build-strip frame description: short line under each
   frame's label, used when a strip needs to explain each step
   rather than just name it ---------- */
.frame-desc{ font-size:12.5px; opacity:.7; margin-top:4px; max-width:24ch; }

/* ---------- day-flow: BEFORE / DURING / AFTER, reuses .principle-row
   with a wider label column so a word fits as comfortably as a
   numeral did ---------- */
.principle-row.principle-row--label{ grid-template-columns:96px 1fr; }
.principle-row.principle-row--label .num{ font-size:13px; letter-spacing:.05em; }
.principle-row .sub-list{ margin-top:10px; }
.principle-row .sub-list li{ font-size:15px; opacity:.85; padding:4px 0; list-style:none; }
.principle-row .sub-list li::before{ content:'— '; color:var(--c-gold); opacity:.8; }
@media (max-width:480px){ .principle-row.principle-row--label{ grid-template-columns:1fr; } }

/* ---------- good-fit / not-a-fit split: two plain columns, no
   cards — reuses .founder-grid's layout mechanics with a divider
   label instead of a name ---------- */
.fit-split{ display:grid; grid-template-columns:1fr 1fr; gap:0 48px; align-items:start; }
@media (max-width:860px){ .fit-split{ display:block; } .fit-split > div + div{ margin-top:36px; } }
.fit-split .fit-label{ font-family:var(--font-mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase; opacity:.6; margin-bottom:14px; }

/* ---------- FAQ: native <details>/<summary> — accessible and
   keyboard-operable with zero JS, matches the hairline-rule rhythm
   used throughout the site ---------- */
.faq-list{ margin-top:8px; border-bottom:1px solid var(--line); }
.faq-row{ border-top:1px solid var(--line); padding:6px 0; }
.faq-row summary{ display:flex; align-items:baseline; justify-content:space-between; gap:16px; padding:18px 0; cursor:pointer; font-family:var(--font-sans); font-weight:600; font-size:17px; list-style:none; }
.faq-row summary::-webkit-details-marker{ display:none; }
.faq-row summary::after{ content:'+'; font-family:var(--font-mono); font-weight:400; font-size:20px; color:var(--c-gold); flex:0 0 auto; transition:transform .25s ease; }
.faq-row[open] summary::after{ content:'–'; }
.faq-row .faq-a{ font-size:15.5px; opacity:.85; max-width:58ch; padding:0 0 22px; }
.faq-row summary:focus-visible{ outline:2px solid var(--c-gold); outline-offset:4px; }

/* ---------- showcase: beautifully-empty state, not an apology.
   A dashed frame with registration corners and a single unlit
   foundation node — the same construction vocabulary used
   everywhere else, deliberately left unresolved. ---------- */
.empty-frame{ border:1px dashed var(--line-strong); padding:64px 40px; text-align:center; margin:32px 0 8px; position:relative; }
.empty-frame::before, .empty-frame::after{ content:''; position:absolute; width:14px; height:14px; border:1px solid var(--c-gold); opacity:.55; }
.empty-frame::before{ top:-1px; left:-1px; border-right:none; border-bottom:none; }
.empty-frame::after{ bottom:-1px; right:-1px; border-left:none; border-top:none; }
.empty-frame .ef-node{ width:10px; height:10px; border-radius:50%; border:2px solid var(--c-gold); background:transparent; margin:0 auto 22px; opacity:.7; }
.empty-frame h3{ font-size:clamp(22px,3vw,30px); max-width:24ch; margin:0 auto 12px; }
.empty-frame p{ font-size:15.5px; opacity:.8; max-width:44ch; margin:0 auto; }

/* ---------- future showcase entry: the structure of what a real
   entry will look like, explicitly tagged so it cannot be mistaken
   for actual content ---------- */
.future-entry{ border:1px dashed var(--line); padding:32px 28px; margin-top:40px; }
.future-entry .fe-tag{ font-family:var(--font-mono); font-size:11px; letter-spacing:.06em; color:var(--c-gold); text-transform:uppercase; margin-bottom:20px; display:inline-block; }
.future-entry .fe-fields{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:18px 24px; }
.future-entry .fe-field{ border-top:1px solid var(--line); padding-top:8px; }
.future-entry .fe-field .fe-k{ font-family:var(--font-mono); font-size:11px; opacity:.55; text-transform:uppercase; letter-spacing:.05em; display:block; margin-bottom:4px; }
.future-entry .fe-field .fe-v{ font-size:14px; opacity:.4; font-style:italic; }

/* ---------- bare .svc-row modifier: on the Services page, a pillar's
   process visual sometimes needs to sit inside its own scroll-trigger
   wrapper without inheriting the homepage pillar's 64px-number grid,
   border or padding. Two classes together always beat the plain
   .svc-row rule, regardless of source order. ---------- */
.svc-row.svc-row--bare{ display:block; padding:0; border:0; }

/* ---------- internal-page breadcrumb (mono, understated) ---------- */
.crumb{ font-family:var(--font-mono); font-size:11.5px; opacity:.55; padding:16px 0 0; }
.crumb a{ text-decoration:none; }
.crumb a:hover{ text-decoration:underline; }

/* =========================================================
   PHASE 4 — Contact form
   Editorial field rows on hairlines — no cards, no rounded
   inputs, no floating-label tricks. Native controls throughout.
   Reads --line / --line-strong / --ink from the section's colour
   mode like everything else, so it renders correctly on either
   background even though it currently only appears on cream.
   ========================================================= */

.contact-form{ margin-top:4px; }
.field-row{ padding:24px 0; border-top:1px solid var(--line); }
.field-row:last-of-type{ border-bottom:1px solid var(--line); }
.field-row > label{
  display:block; font-family:var(--font-mono); font-size:12px;
  letter-spacing:.06em; text-transform:uppercase; opacity:.75; margin-bottom:12px;
}
.field-row .req{ color:var(--c-gold); opacity:1; font-weight:600; text-transform:none; letter-spacing:0; margin-left:2px; }
.field-row .opt{ opacity:.5; font-weight:400; text-transform:none; letter-spacing:0; margin-left:4px; }

.field-row input[type="text"],
.field-row input[type="email"],
.field-row input[type="tel"],
.field-row select,
.field-row textarea{
  width:100%; display:block; background:transparent; color:inherit;
  border:none; border-bottom:1px solid var(--line-strong); border-radius:0;
  padding:11px 2px; font-family:var(--font-sans); font-size:16.5px;
  min-height:44px;
}
.field-row textarea{ min-height:120px; padding-top:10px; resize:vertical; line-height:1.5; }
.field-row select{ cursor:pointer; }
.field-row input::placeholder, .field-row textarea::placeholder{ color:currentColor; opacity:.45; }

.field-row input:focus, .field-row select:focus, .field-row textarea:focus{
  outline:none; border-bottom-color:var(--c-gold); border-bottom-width:2px; padding-bottom:10px;
}
.field-row input:focus-visible, .field-row select:focus-visible, .field-row textarea:focus-visible{
  outline:2px solid var(--c-gold); outline-offset:4px;
}

/* radio group for preferred contact method — native inputs, laid
   out as a plain row, not a segmented control */
.radio-group{ display:flex; flex-wrap:wrap; gap:22px 32px; }
.radio-group .radio-opt{ display:flex; align-items:center; gap:9px; min-height:44px; }
.radio-group input[type="radio"]{ width:18px; height:18px; accent-color:var(--c-gold); margin:0; }
.radio-group label{ font-size:15.5px; cursor:pointer; }

/* error state: never colour-only — a heavier border plus an
   explicit "Error —" text prefix carry the meaning */
.field-row.has-error input, .field-row.has-error select, .field-row.has-error textarea{
  border-bottom-color:var(--c-rust); border-bottom-width:2px;
}
.field-error{
  display:block; margin-top:10px; font-family:var(--font-sans); font-size:13.5px;
  color:var(--c-rust); font-weight:600;
}
.field-error:empty{ display:none; }

/* honeypot: invisible and unreachable for people and screen
   readers, but present in the DOM for simple bots that fill every
   field. Never display:none an input a real user might have
   autofill land in, but this one no autofill or AT can reach. */
.hp-field{ position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }

/* form status: one aria-live region reused for the validation
   summary, the unconnected-development notice, and (once a real
   endpoint exists) the processing / success / error states */
.form-status{ margin-top:28px; padding:20px 22px; border:1px dashed var(--line-strong); font-size:14.5px; line-height:1.55; }
.form-status.is-error{ border-color:var(--c-rust); border-style:solid; color:var(--c-rust); font-weight:600; }
.form-status.is-unconnected{ font-family:var(--font-mono); font-size:13px; opacity:.85; }
.form-status.is-processing{ font-family:var(--font-mono); font-size:13px; opacity:.7; }
.form-status.is-success{ border-color:var(--c-gold); border-style:solid; }
.form-status.is-submit-error{ border-color:var(--c-rust); border-style:solid; color:var(--c-rust); }

.form-submit-row{ margin-top:32px; display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.form-submit-row .btn{ border:none; cursor:pointer; font-family:var(--font-sans); }
.form-submit-row .btn:disabled{ opacity:.6; cursor:default; transform:none; }
.form-note{ font-size:13px; opacity:.6; max-width:34ch; }

@media (max-width:640px){
  .form-submit-row .btn{ width:100%; text-align:center; }
  .radio-group{ gap:16px 26px; }
}

/* Direct WhatsApp contact uses the normal page flow to avoid covering controls. */
.whatsapp-contact { margin-top: 18px; }
.whatsapp-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; max-width: 100%; color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.whatsapp-link svg { flex: 0 0 22px; }
.whatsapp-number { display: block; white-space: nowrap; }
.whatsapp-link:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }

/* Floating direct contact, opposite Sprout; above the mobile action bar. */
.whatsapp-float{position:fixed;left:22px;bottom:22px;z-index:95;display:flex;align-items:center;gap:9px;text-decoration:none;color:#102d50;font-family:var(--font-sans);}
.whatsapp-float-label{background:#fff;border-radius:999px;padding:10px 16px;font-size:14px;font-weight:600;box-shadow:0 3px 16px #0002;}
.whatsapp-float-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#25d366;color:#fff;box-shadow:0 4px 18px #0003;border:2px solid #fff;}
.whatsapp-float-icon svg{width:30px;height:30px;}
.whatsapp-float:hover .whatsapp-float-icon{background:#128c4a;}
.whatsapp-float:focus-visible{outline:3px solid #102d50;outline-offset:5px;border-radius:999px;}
body:has(#ylpp-sprout-root.sp-open) .whatsapp-float{display:none;}
@media(max-width:640px){.whatsapp-float{left:14px;bottom:calc(82px + env(safe-area-inset-bottom,0px));gap:6px;}.whatsapp-float-icon{width:50px;height:50px;}.whatsapp-float-label{font-size:12px;padding:9px 12px;}}
@media(max-width:380px){.whatsapp-float-label{display:none;}}

/* Revised contact dock: keep the content's left reading edge clear. */
.whatsapp-float{left:auto;right:22px;}
.whatsapp-float-label{display:none;}
.whatsapp-float:hover .whatsapp-float-label,.whatsapp-float:focus-visible .whatsapp-float-label{display:block;}
.footer-socials{display:flex;gap:12px;margin-top:18px;flex-wrap:wrap;}
.footer-socials a{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#0f2d52;color:white;}
.footer-socials a:hover{background:#107c8c;}
.footer-socials a:focus-visible{outline:3px solid #d9a441;outline-offset:4px;}
@media(max-width:640px){
.whatsapp-float{left:auto;right:14px;bottom:calc(9px + env(safe-area-inset-bottom,0px));}
.whatsapp-float:hover .whatsapp-float-label,.whatsapp-float:focus-visible .whatsapp-float-label{display:none;}
.mobile-sticky-cta{padding-right:78px;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px));}
body:has(.mobile-sticky-cta.is-hidden) .whatsapp-float{display:none;}
}

/* Leave footer text clear of the corner contact dock. */
@media(min-width:641px){.footer-bottom{padding-right:110px;}}
/* Compact icons: quiet visual weight with generous clickable areas. */
.whatsapp-float-icon{width:44px;height:44px;border-width:1px;box-shadow:0 2px 8px #0002;}
.whatsapp-float-icon svg{width:24px;height:24px;}
.whatsapp-float:focus-visible{outline-color:var(--c-gold);}
.footer-socials{gap:4px;margin-top:12px;}
.footer-socials a{position:relative;isolation:isolate;background:transparent;color:var(--c-cream,#f5f1e7);}
.footer-socials a::before{content:"";position:absolute;inset:6px;border-radius:50%;border:1px solid #ffffff40;background:#ffffff08;z-index:-1;}
.footer-socials a svg{width:17px;height:17px;}
.footer-socials a:hover{background:transparent;color:var(--c-gold);}
.footer-socials a:hover::before{border-color:currentColor;}
@media(max-width:640px){.whatsapp-float{bottom:calc(12px + env(safe-area-inset-bottom,0px));}}
/* Header contact option: understated icon beside the enquiry link. */
.main-nav a.header-whatsapp{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:11px;color:#F2ECDD;}
.main-nav a.header-whatsapp svg{width:22px;height:22px;flex:none;}
.main-nav a.header-whatsapp:hover{color:var(--c-gold);background:rgba(242,236,221,.08);}
.main-nav a.header-whatsapp:focus-visible{outline:2px solid var(--c-gold);outline-offset:2px;}
@media(min-width:641px){.whatsapp-float{display:none;}}
@media(max-width:640px){.header-whatsapp-item{display:none;}}
