/* ============================================================================
   WP-KIT — shared component vocabulary
   ----------------------------------------------------------------------------
   ONE stylesheet, used by BOTH the standalone prototype and the WordPress
   build. The class names are the contract: if both sides use them, the spec
   differ needs no hand-written selector map and nothing can hide from it.
   That is the whole point — a curated map only checks what you remember to
   list, which is how a header, a footer and every x-position once slipped
   through a check that kept reporting 100%.

   Prefix `k-`. Tokens are CSS custom properties so a WP theme.json palette
   can supply them without touching this file.
   ========================================================================= */

:root{
  /* ---- layout ---- */
  --k-shell: 1076px;        /* CONTENT box. A prototype shell of 1140 with 32px
                               padding has a 1076 content box — matching the
                               outer number instead costs 64px in every column. */
  --k-gutter: 32px;
  --k-gutter-sm: 20px;
  --k-sec-y: 84px;
  --k-radius: 3px;

  /* ---- type scale (px, not ch — `ch` resolves against the element's own
          font, so 56ch on a serif h2 is not 56ch of body text) ---- */
  --k-measure-lead: 582px;
  --k-measure-faq: 811px;
  --k-fs-eyebrow: .72rem;
  --k-fs-body: 17px;
  --k-fs-small: .92rem;
  --k-fs-tile-h: 1.3rem;
  --k-fs-h2: clamp(1.8rem, 3.5vw, 2.5rem);
  --k-fs-h1: clamp(2.4rem, 5.1vw, 3.9rem);

  /* ---- colour roles (override per client) ---- */
  --k-ground:#FCFAF6; --k-surface:#FFFFFF; --k-sunk:#F7F3EE;
  --k-ink:#1D1A17; --k-ink-muted:#5A544D; --k-ink-faint:#6E675F;
  --k-rule:#DDD6CE; --k-on-dark:#EDE7DF;
  --k-brand:#224D2F; --k-brand-deep:#0D2213; --k-brand-mid:#163620;
  --k-btn:#316843; --k-btn-ink:#FFFFFF; --k-accent:#78512E;
}

/* ============================================================================
   WORDPRESS RESET — the four systemic causes, solved once for every project.
   Harmless in a standalone prototype; essential in a block theme.
   ========================================================================= */

/* 1. WP inserts --wp--style--block-gap between sibling blocks. Components here
      space themselves with padding, so the gap made every one ~19px too tall. */
.k-tile > * + *, .k-tile__body > * + *, .k-person > * + *, .k-person__body > * + *,
.k-cap > * + *, .k-step > * + *, .k-dl__row > * + *, .k-hero__cta > * + *{
  margin-block-start:0 !important;
}
/* 2. padding must sit INSIDE a max-width, or 1076 renders as 1139 */
.k-tile, .k-cap, .k-person, .k-triage, .k-section, [class*="k-"]{ box-sizing:border-box; }
/* 3. WP core stacks columns under 781px with !important at (0,3,0). Grid sizes
      from the container and never fights an unknown flex basis. */
.k-grid{ display:grid !important; }
.k-grid > *{ flex-basis:auto !important; width:auto !important; }
/* 4. everything shares ONE left edge. This is the single difference between a
      page that reads as designed and one that reads as assembled. */
.k-section > *{
  margin-left: max(0px, calc((100% - var(--k-shell)) / 2)) !important;
  margin-right: 0 !important;
  max-width: var(--k-shell);
  /* block-gap lands here too — start only, so component margin-bottom lives */
  margin-block-start: 0 !important;
}
.k-section > .k-full{ margin-inline:auto !important; max-width:var(--k-shell); }

/* ============================================================================
   COMPONENTS
   ========================================================================= */

.k-section{ padding-block:var(--k-sec-y); padding-inline:var(--k-gutter) !important; margin-block:0 !important; }
.k-section--tight{ padding-block:calc(var(--k-sec-y) * .76); }
.k-section--dark{ background:var(--k-brand-deep); color:var(--k-on-dark); }

.k-eyebrow{ font-size:var(--k-fs-eyebrow); font-weight:700; letter-spacing:.15em;
  text-transform:uppercase; color:var(--k-accent); margin-block:0 14px !important; }
.k-h2{ font-size:var(--k-fs-h2); letter-spacing:-.01em; line-height:1.14; margin-block:0 14px !important;
  max-width:var(--k-measure-lead); }
.k-lede{ font-size:1.06rem; color:var(--k-ink-muted); margin-block:0 40px !important;
  max-width:var(--k-measure-lead); }

.k-btn{ display:inline-block; background:var(--k-btn); color:var(--k-btn-ink);
  padding:15px 28px; font-weight:600; font-size:1rem; border-radius:2px; text-decoration:none; }
.k-btn--ghost{ background:transparent; color:var(--k-brand);
  border:1.5px solid var(--k-rule); padding:15px 24px; font-size:var(--k-fs-body); }

/* placeholder art — obviously provisional, correct aspect, swap-in safe */
.k-ph{ position:relative; overflow:hidden; border-radius:var(--k-radius);
  background:
    radial-gradient(120% 90% at 22% 18%, color-mix(in srgb, var(--k-btn) 70%, white) 0%, transparent 55%),
    radial-gradient(100% 80% at 82% 78%, color-mix(in srgb, var(--k-accent) 55%, white) 0%, transparent 52%),
    linear-gradient(155deg, var(--k-brand), var(--k-brand-deep)); }
.k-ph::after{ content:""; position:absolute; inset:0;
  background-image:repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 4px); }
.k-ph__label{ position:absolute; left:14px; bottom:12px; z-index:2; margin:0 !important;
  font-size:.6rem; letter-spacing:.16em; text-transform:uppercase; font-weight:700;
  color:rgba(255,255,255,.92); }

.k-hero{ padding-block:88px 30px; }
.k-hero__cols{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.k-hero__h{ font-size:var(--k-fs-h1); letter-spacing:-.022em; line-height:1.14; margin-block:0 24px !important; }
.k-hero__art{ aspect-ratio:4/3.2; }
.k-hero__cta{ display:flex; gap:14px; flex-wrap:wrap; }

.k-caps{ padding-block:0 !important; }
.k-caps__grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:var(--k-rule); border:1px solid var(--k-rule); }
.k-cap{ background:var(--k-surface); padding:22px; }
.k-cap__n{ font-size:1.18rem; color:var(--k-brand); margin:0 0 3px !important; line-height:1.6; }
.k-cap__l{ font-size:.84rem; color:var(--k-ink-faint); margin:0 !important; }

.k-tiles{ display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }
.k-tile{ position:relative; border:1px solid var(--k-rule); border-radius:var(--k-radius);
  overflow:hidden; background:var(--k-surface); }
.k-tile__art{ aspect-ratio:4/3; filter:saturate(.45) brightness(.82); transition:filter .55s cubic-bezier(.2,.6,.3,1); }
.k-tile__body{ padding:22px 24px 26px; }
.k-tile__h{ font-size:var(--k-fs-tile-h); color:var(--k-brand); line-height:1.14; margin:0 !important;
  transition:transform .35s cubic-bezier(.2,.6,.3,1); }
.k-tile__d{ font-size:var(--k-fs-small); color:var(--k-ink-muted); margin:0 !important;
  max-height:0; opacity:0; overflow:hidden;
  transition:max-height .42s cubic-bezier(.2,.6,.3,1), opacity .32s ease, margin-top .42s ease; }
.k-tile::after{ content:""; position:absolute; left:0; bottom:0; height:3px; width:0; z-index:3;
  background:var(--k-accent); transition:width .5s cubic-bezier(.2,.6,.3,1); }
.k-tile:hover .k-tile__d, .k-tile:focus-within .k-tile__d, .k-tile.is-tapped .k-tile__d{
  max-height:90px; opacity:1; margin-top:8px !important; }
.k-tile:hover .k-tile__h, .k-tile.is-tapped .k-tile__h{ transform:translateY(-3px); }
.k-tile:hover::after, .k-tile.is-tapped::after{ width:100%; }
.k-tile:hover .k-tile__art, .k-tile.is-tapped .k-tile__art{ filter:none; }

.k-table{ width:100%; border-collapse:collapse; font-size:.94rem; min-width:640px;
  color:var(--k-on-dark); line-height:1.5; letter-spacing:normal; font-weight:400; }
.k-table th, .k-table td{ border:0 !important; background:transparent; }
.k-table th{ text-align:left; padding:16px 18px; font-size:.71rem; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; color:var(--k-rule);
  border-bottom:1px solid rgba(255,255,255,.16) !important; vertical-align:bottom; }
.k-table th.is-us{ color:#fff; background:rgba(255,255,255,.06) !important; }
.k-table td{ padding:15px 18px; border-bottom:1px solid rgba(255,255,255,.09) !important; color:var(--k-on-dark); }
.k-table td.is-us{ background:rgba(255,255,255,.06) !important; }
.k-mk{ display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px;
  border-radius:50%; font-size:.8rem; font-weight:700;
  /* middle, NOT baseline. An inline-flex box aligned on its baseline resolves
     that baseline from its own content, so the row height depends on glyph
     metrics and fractional column widths — it came out 0.85px taller per row
     on one side at one viewport only. `middle` makes the row deterministic. */
  vertical-align:middle; }
.k-mk--yes{ background:color-mix(in srgb, var(--k-btn) 70%, white); color:var(--k-brand-deep); }
.k-mk--no{ background:rgba(255,255,255,.10); color:#A49D94; }

.k-steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.k-step{ border-top:2px solid var(--k-accent); padding-top:20px; }
.k-step__n{ font-size:.77rem; font-weight:700; letter-spacing:.08em; color:var(--k-accent);
  font-variant-numeric:tabular-nums; margin:0 0 9px !important; }
.k-step__h{ font-size:1.22rem; color:var(--k-brand); margin:0 0 7px !important; }

.k-team{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.k-person{ border:1px solid var(--k-rule); border-radius:var(--k-radius); overflow:hidden; background:var(--k-surface); }
.k-person__art{ aspect-ratio:1/1; }
.k-person__body{ padding:20px 22px 24px; }

/* -- FAQ: numbered cards; the open one tints and lifts. No browser focus box on click. */
.k-faq{ max-width:var(--k-measure-faq); display:grid; gap:10px; counter-reset:k-faq; interpolate-size:allow-keywords; }
.k-faq__item{ counter-increment:k-faq; border:1px solid var(--k-rule); border-radius:var(--k-radius); background:var(--k-surface); transition:border-color .25s, box-shadow .25s, background-color .25s; }
.k-faq__item:hover{ border-color:var(--k-brand); }
.k-faq__item[open]{ border-color:var(--k-brand); background:var(--k-sunk, var(--k-surface)); box-shadow:0 16px 34px -26px rgba(20,14,5,.5); }
.k-faq__item summary{ cursor:pointer; padding:18px 60px 18px 62px; font-weight:600; position:relative; list-style:none; }
.k-faq__item summary::-webkit-details-marker, .k-faq__item summary::marker{ display:none; content:""; }
.k-faq__item summary::before{ content:counter(k-faq, decimal-leading-zero); position:absolute; left:20px; top:20px; font-weight:700; font-size:.9rem; letter-spacing:.06em; color:var(--k-accent, var(--k-btn)); }
.k-faq__item summary::after{ content:"+"; position:absolute; right:16px; top:50%; width:30px; height:30px; margin-top:-15px; border-radius:50%; display:grid; place-items:center; background:var(--k-brand); color:#fff; font-size:1.3rem; font-weight:500; line-height:1; transition:transform .3s cubic-bezier(.2,.6,.3,1), background-color .25s; }
.k-faq__item[open] summary::after{ transform:rotate(45deg); background:var(--k-accent, var(--k-btn)); }
.k-faq__item summary:focus{ outline:none; }
.k-faq__item summary:focus-visible{ box-shadow:inset 0 0 0 3px var(--k-btn); border-radius:var(--k-radius); }
.k-faq__item[open] .k-faq__a{ padding:0 24px 22px 62px; font-size:var(--k-fs-small); color:var(--k-ink-muted); margin:0 !important; }
@keyframes k-faq-in{ from{ opacity:0; transform:translateY(-6px); } to{ opacity:1; transform:none; } }
@supports selector(::details-content){
  .k-faq__item::details-content{ height:0; overflow:clip; transition:height .32s cubic-bezier(.2,.6,.3,1), content-visibility .32s allow-discrete; }
  .k-faq__item[open]::details-content{ height:auto; }
}
@media (max-width:560px){ .k-faq__item summary{ padding:16px 52px 16px 46px; } .k-faq__item summary::before{ left:14px; } .k-faq__a{ padding-left:46px !important; } }

.k-cta{ background:var(--k-brand-mid); color:#fff; padding-block:52px; }
.k-cta__h{ color:#fff; font-size:clamp(1.7rem,3.2vw,2.3rem); margin-block:0 !important; }

.k-dl{ display:flex; flex-direction:column; gap:18px; }
.k-dl__row{ display:grid; grid-template-columns:118px 1fr; gap:14px;
  padding-bottom:16px; border-bottom:1px solid var(--k-rule); }
.k-dl__k{ font-size:.72rem; font-weight:700; letter-spacing:.11em; text-transform:uppercase;
  color:var(--k-ink-faint); margin:0 !important; align-self:stretch; line-height:1.6; }
.k-map{ position:relative; aspect-ratio:4/3; border:1px solid var(--k-rule);
  border-radius:var(--k-radius); overflow:hidden; background:var(--k-sunk); }
.k-map::before{ content:""; position:absolute; inset:0;
  background-image:linear-gradient(var(--k-rule) 1px,transparent 1px),
                   linear-gradient(90deg,var(--k-rule) 1px,transparent 1px);
  background-size:46px 46px; opacity:.65; }
.k-map::after{ content:""; position:absolute; left:46%; top:44%; width:16px; height:16px;
  border-radius:50% 50% 50% 0; transform:rotate(-45deg); background:var(--k-accent);
  box-shadow:0 0 0 6px color-mix(in srgb, var(--k-accent) 18%, transparent); }


/* ============================================================================
   CHROME — header, footer, rail, triage.
   These live in the kit for one reason: they are exactly what a hand-curated
   spec map forgets. Header wordmark, footer colour and map size were all
   "100% passing" while being visibly wrong, because nobody had listed them.
   Anything on the page is in the vocabulary, or it is invisible to the differ.
   ========================================================================= */

/* ---- utility bar ---- */
.k-util{ background:var(--k-brand-deep); color:var(--k-on-dark); font-size:.78rem; }
.k-util__inner{ max-width:var(--k-shell); margin-inline:auto; padding:9px var(--k-gutter);
  display:flex; justify-content:space-between; align-items:center; gap:20px; box-sizing:content-box; }
.k-util__left{ display:flex; gap:26px; flex-wrap:wrap; }
.k-util__item{ margin:0 !important; opacity:.86; }
.k-util__social{ display:flex; gap:14px; }
.k-util__social a{ text-decoration:none; opacity:.7; font-size:.74rem; font-weight:700;
  letter-spacing:.06em; text-transform:uppercase; }

/* ---- masthead ---- */
.k-bar{ position:sticky; top:0; z-index:50; background:var(--k-surface);
  border-bottom:1px solid var(--k-rule); transition:transform .32s cubic-bezier(.2,.6,.3,1); }
.k-bar.is-hidden{ transform:translateY(-100%); }
.k-bar__inner{ max-width:var(--k-shell); margin-inline:auto; padding:0 var(--k-gutter);
  min-height:74px; display:flex; align-items:center; justify-content:space-between;
  gap:28px; box-sizing:content-box; }

/* wordmark: a two-line lockup, baseline-locked. Left-aligned with the shell —
   NOT centred, and NOT floating at the section padding edge. */
.k-mark{ display:flex; flex-direction:column; justify-content:center; gap:2px;
  text-decoration:none; line-height:1; flex:0 0 auto; }
.k-mark__name{ font-family:var(--k-font-display,inherit); font-size:1.32rem; font-weight:600;
  letter-spacing:-.012em; color:var(--k-brand); line-height:1.15; }
.k-mark__sub{ font-size:.63rem; font-weight:700; letter-spacing:.17em; text-transform:uppercase;
  color:var(--k-ink-faint); line-height:1.2; }

.k-navwrap{ display:flex; align-items:center; gap:23px; }
.k-nav__link{ font-size:.87rem; font-weight:500; color:var(--k-ink-muted); text-decoration:none;
  position:relative; padding-block:6px; white-space:nowrap; }
.k-nav__link::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:2px;
  background:var(--k-accent); transform:scaleX(0); transform-origin:left;
  transition:transform .28s cubic-bezier(.2,.6,.3,1); }
.k-nav__link:hover::after, .k-nav__link.is-active::after{ transform:scaleX(1); }
.k-book{ padding:11px 20px !important; font-size:.87rem !important; }

/* ---- triage ---- */
.k-triage-sec{ padding-block:var(--k-sec-y) 0 !important; }
.k-triage{ background:var(--k-sunk); border:1px solid var(--k-rule); border-radius:var(--k-radius);
  padding:34px 34px 30px; }
.k-triage__h{ font-size:1.5rem; color:var(--k-brand); margin:0 0 6px !important; }
.k-triage__sub{ font-size:var(--k-fs-small); color:var(--k-ink-faint); margin:0 0 22px !important; }
.k-triage__chips{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.k-chip{ text-align:left; background:var(--k-surface); border:1px solid var(--k-rule);
  border-radius:var(--k-radius); padding:16px 17px; cursor:pointer; font:inherit;
  transition:border-color .25s ease, transform .25s cubic-bezier(.2,.6,.3,1); }
.k-chip:hover{ border-color:var(--k-btn); transform:translateY(-2px); }
.k-chip[aria-pressed="true"]{ border-color:var(--k-btn); box-shadow:inset 0 0 0 1px var(--k-btn); }
.k-chip__w{ display:block; font-weight:600; font-size:.98rem; color:var(--k-brand); margin-bottom:4px; }
.k-chip__d{ display:block; font-size:.79rem; color:var(--k-ink-faint); line-height:1.45; }
.k-triage__out{ font-size:var(--k-fs-small); color:var(--k-ink-muted);
  max-height:0; overflow:hidden; transition:max-height .4s cubic-bezier(.2,.6,.3,1), margin-top .4s ease; }
.k-triage__out.is-open{ max-height:120px; margin-top:20px; }
.k-triage__out a{ color:var(--k-btn); font-weight:600; }

/* ---- comparison table wrapper: scrolls itself, never the page ---- */
.k-tablewrap{ overflow-x:auto; }

.k-step__d, .k-person__d{ font-size:var(--k-fs-small); color:var(--k-ink-muted); margin:0 !important; }
.k-person__n{ font-size:1.1rem; color:var(--k-brand); margin:0 0 4px !important; }
.k-faq__a{ padding:0 44px 22px 0; font-size:var(--k-fs-small); color:var(--k-ink-muted); margin:0 !important; }
.k-cta__p{ font-size:1.02rem; color:rgba(255,255,255,.8); margin-block:10px 26px !important; }
/* a margin SHORTHAND here would reset margin-left to 0 and beat the .k-section > * shell rule (same specificity, later in the file) — the CTA paragraph then sits at the page edge while its heading sits on the shell. margin-block only. */
.k-btn--inverse{ background:#fff; color:var(--k-brand-deep); }

/* ---- contact ---- */
.k-contact__cols{ display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:start; }
.k-dl__val{ font-size:1rem; margin:0 !important; }
.k-dl__sub{ font-size:.82rem; color:var(--k-ink-faint); margin:2px 0 0 !important; }
.k-map__label{ position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); z-index:2;
  margin:0 !important; font-size:.68rem; letter-spacing:.14em; text-transform:uppercase;
  font-weight:700; color:var(--k-ink-faint); }

/* ---- footer: same deep brand as the dark section. Not "some other dark". ---- */
.k-footer{ background:var(--k-brand-deep); color:var(--k-on-dark);
  padding:56px var(--k-gutter) 30px; }
.k-footer__cols{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:34px;
  max-width:var(--k-shell); margin-inline:auto; }
.k-footer .k-eyebrow{ color:rgba(255,255,255,.55); margin-block:0 12px !important; }
.k-footer__mark{ font-family:var(--k-font-display,inherit); font-size:1.24rem; font-weight:600;
  color:#fff; margin:0 0 10px !important; }
.k-footer__blurb{ font-size:.86rem; color:rgba(237,231,223,.68); margin:0 0 16px !important; max-width:330px; }
.k-footer__social{ display:flex; gap:14px; }
.k-footer__social a{ text-decoration:none; font-size:.74rem; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color:rgba(255,255,255,.6); }
.k-flink{ font-size:.86rem; color:rgba(237,231,223,.72); margin:0 0 8px !important; text-decoration:none; }
.k-footer__fine{ max-width:var(--k-shell); margin:34px auto 0 !important; padding-top:20px;
  border-top:1px solid rgba(255,255,255,.12); font-size:.76rem; color:rgba(237,231,223,.5); }

/* ---- scroll rail ---- */
.k-rail{ position:fixed; left:0; top:0; height:3px; width:100%; z-index:60; pointer-events:none; }
.k-rail > span{ display:block; height:100%; width:0; background:var(--k-accent);
  transition:width .12s linear; }


/* ============================================================================
   TYPOGRAPHIC SELF-SUFFICIENCY — cause #5.
   ----------------------------------------------------------------------------
   Every component below declares its own font-weight and line-height. Where it
   doesn't, it silently inherits the HOST document's opinion — and a child block
   theme inherits its PARENT theme.json, so "I didn't set it" means "whatever
   Twenty Twenty-Five thinks", not a browser default. That single gap produced
   315 of 431 findings on the first kit build: weight 300 and letter-spacing
   -0.1px leaking in from the parent, and heading line-height 1.14 landing on
   components the prototype rendered at 1.6.

   These values are the design, so both sides change together when they change.
   ========================================================================= */
.k-section, .k-util, .k-bar, .k-footer, .k-triage, .k-rail{ font-weight:400; letter-spacing:normal; }
.k-lede, .k-tile__d, .k-step__d, .k-person__d, .k-faq__a, .k-cap__l,
.k-chip__d, .k-dl__val, .k-flink, .k-footer__blurb, .k-util__item{
  font-weight:400; line-height:1.6; letter-spacing:normal; }

.k-hero__h{ font-weight:600; }
.k-h2{ font-weight:600; }
.k-cta__h{ font-weight:600; line-height:1.16; letter-spacing:-.01em; }
.k-tile__h{ font-weight:600; letter-spacing:normal; }
.k-step__h{ font-weight:600; line-height:1.2;letter-spacing:normal; }
.k-person__n{ font-weight:600; line-height:1.2;letter-spacing:normal; }
.k-triage__h{ font-weight:600; line-height:1.15;letter-spacing:normal; }
.k-cap__n{ font-weight:600;letter-spacing:normal; }
.k-mark__name{ line-height:1.15; letter-spacing:-.012em; }
.k-footer__mark{ font-weight:600; line-height:1.2;letter-spacing:normal; }
.k-eyebrow{ line-height:1.5; font-weight:700; }
.k-chip__w{ font-weight:600; line-height:1.35; }
.k-faq__item summary{ line-height:1.4; letter-spacing:normal; }
.k-mk{ line-height:1; font-weight:700; }
.k-dl__sub, .k-triage__sub, .k-cta__p, .k-map__label, .k-footer__fine{
  font-weight:400; line-height:1.6; letter-spacing:normal; }
.k-nav__link{ line-height:1.4; letter-spacing:normal; }
.k-btn{ line-height:1.5; letter-spacing:normal; }

/* ---- responsive: one set of breakpoints for every project ---- */
@media (max-width:900px){
  :root{ --k-sec-y:60px; }
  .k-hero{ padding-block:52px 24px; }
  .k-hero__cols{ grid-template-columns:1fr; }
  .k-caps__grid{ grid-template-columns:repeat(2,1fr); }
  .k-tiles, .k-steps, .k-team{ grid-template-columns:1fr; }
}
@media (max-width:560px){
  .k-section{ padding-inline:var(--k-gutter-sm) !important; }
  .k-caps__grid{ grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce){
  .k-tile__d{ max-height:90px; opacity:1; margin-top:8px !important; }
  .k-tile, .k-tile *, .k-tile::after{ transition:none !important; }
}

@media (max-width:900px){
  .k-triage__chips{ grid-template-columns:repeat(2,1fr); }
  .k-contact__cols{ grid-template-columns:1fr; }
  .k-footer__cols{ grid-template-columns:1fr 1fr; }
  .k-navwrap .k-nav__link{ display:none; }
}
@media (max-width:560px){
  .k-util__inner{ padding-inline:var(--k-gutter-sm); }
  .k-bar__inner{ padding-inline:var(--k-gutter-sm); }
  .k-triage__chips{ grid-template-columns:1fr; }
  .k-footer{ padding-inline:var(--k-gutter-sm); }
  .k-footer__cols{ grid-template-columns:1fr; }
}

/* ============================================================================
   ADDITIONS 2026-09-16 (M&J Home Services, first client run of the kit).
   Variants only; every measurement still lives here and nowhere else.
   ========================================================================= */
.k-tiles--3{ grid-template-columns:repeat(3,1fr); }
a.k-tile{ display:block; text-decoration:none; color:inherit; }
.k-team--2{ grid-template-columns:repeat(2,1fr); max-width:760px; }
.k-cta__actions{ display:flex; gap:14px; flex-wrap:wrap; }
.k-btn--onDark{ color:#fff; border-color:rgba(255,255,255,.35); }
@media (max-width:900px){
  .k-tiles--3{ grid-template-columns:repeat(2,1fr); }
  .k-team--2{ grid-template-columns:1fr; max-width:none; }
}
@media (max-width:560px){
  .k-tiles--3{ grid-template-columns:1fr; }
}
.k-flink{ display:block; }                       /* footer links are anchors, one per line */
.k-section--dark .k-lede{ color:rgba(255,255,255,.72); }  /* the lede's muted ink vanishes on the deep band */
.k-book{ white-space:nowrap; }
@media (max-width:560px){
  .k-util__item:nth-child(n+2){ display:none; }  /* phone keeps the phone number; address + email are in the footer */
}

/* ---- form + prose (added 2026-09-16, M&J contact/about) ------------------
   The form markup is authored to match Contact Form 7's output shape
   (<p><label>…<span class="wpcf7-form-control-wrap"><input></span></label></p>)
   so both sides measure the same; the kit only styles the k- wrapper + fields. */
.k-form{ background:var(--k-surface); border:1px solid var(--k-rule); border-radius:var(--k-radius); padding:28px; }
.k-form p{ margin:0 0 16px !important; }
.k-form label{ display:block; font-size:.8rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--k-ink-faint); line-height:1.5; }
.k-form input[type=text], .k-form input[type=tel], .k-form input[type=email], .k-form select, .k-form textarea{
  display:block; width:100%; box-sizing:border-box; margin-top:6px; padding:12px 14px; font:inherit; font-size:1rem;
  line-height:1.4; color:var(--k-ink); background:var(--k-ground); border:1px solid var(--k-rule); border-radius:2px; }
.k-form textarea{ min-height:150px; resize:vertical; }
.k-form input[type=file]{ display:block; margin-top:6px; font:inherit; font-size:.92rem; color:var(--k-ink-muted); }
.k-form input[type=submit], .k-form button[type=submit]{ display:inline-block; background:var(--k-btn); color:var(--k-btn-ink);
  padding:15px 28px; font:inherit; font-weight:600; font-size:1rem; line-height:1.5; border:0; border-radius:2px; cursor:pointer; }
.k-form__note{ font-size:.84rem; color:var(--k-ink-faint); margin:0 !important; line-height:1.6; }
.k-prose{ max-width:var(--k-measure-faq); }
.k-prose p{ font-size:1.02rem; line-height:1.7; color:var(--k-ink); margin:0 0 18px !important; font-weight:400; letter-spacing:normal; }
.k-prose h3{ font-size:1.22rem; color:var(--k-brand); margin:26px 0 8px !important; font-weight:600; line-height:1.2; letter-spacing:normal; }

/* ---- real photography (added 2026-09-16) ---------------------------------
   .k-photo is a drop-in for .k-ph: same box, same radius, same aspect from the
   sibling modifier (k-hero__art / k-tile__art / k-person__art). Swapping a
   placeholder for a photo therefore cannot move the layout, which is what lets
   the differ stay at zero while the page gains its images. */
.k-photo{ position:relative; overflow:hidden; border-radius:var(--k-radius); background:var(--k-sunk); }
.k-photo > img{ display:block; width:100%; height:100%; object-fit:cover; }

/* ============================================================================
   HEADER VARIANT: logo + phone over a nav band (added 2026-09-16).
   The default .k-util + .k-bar pair works until a site has eight nav items AND a
   phone AND a call-to-action, at which point one row overflows at laptop widths.
   This splits them: identity and contact on top, navigation on its own band.
   ========================================================================= */
.k-hdr{ position:sticky; top:0; z-index:50; transition:transform .32s cubic-bezier(.2,.6,.3,1); }
.k-hdr.is-hidden{ transform:translateY(-100%); }
/* Shrink-on-scroll. A slim nav bar can hide itself on the way down, but a header whose job
   is to keep a phone number reachable should contract instead of disappearing. */
.k-hdr__topin{ transition:padding-block .26s cubic-bezier(.2,.6,.3,1); }
.k-hdr__logo img{ transition:height .26s cubic-bezier(.2,.6,.3,1); }
.k-hdr__phone{ transition:font-size .26s cubic-bezier(.2,.6,.3,1); }
.k-hdr.is-stuck{ box-shadow:0 6px 20px rgba(10,43,72,.11); }
.k-hdr.is-stuck .k-hdr__topin{ padding-block:8px; }
.k-hdr.is-stuck .k-hdr__logo img{ height:40px; }
.k-hdr.is-stuck .k-hdr__phone{ font-size:1.14rem; }
.k-hdr.is-stuck .k-hdr__phone small{ display:none; }
@media (prefers-reduced-motion:reduce){
  .k-hdr__topin, .k-hdr__logo img, .k-hdr__phone{ transition:none; }
}
.k-hdr__top{ background:var(--k-surface); }
.k-hdr__topin{ max-width:var(--k-shell); margin-inline:auto; padding:16px var(--k-gutter);
  display:flex; align-items:center; gap:28px; box-sizing:content-box; }
.k-hdr__logo{ display:block; flex:0 0 auto; }
.k-hdr__logo img{ height:62px; width:auto; display:block; }
.k-hdr__right{ margin-left:auto; display:flex; align-items:center; gap:22px; }
.k-hdr__phone{ font-family:var(--k-font-display,inherit); font-size:1.42rem; font-weight:600;
  color:var(--k-brand); line-height:1.1; text-decoration:none; white-space:nowrap; letter-spacing:normal; }
.k-hdr__phone small{ display:block; font-family:var(--k-font-body,inherit); font-size:.64rem; font-weight:700;
  letter-spacing:.15em; text-transform:uppercase; color:var(--k-ink-faint); margin-bottom:3px; line-height:1.2; }
.k-hdr__bar{ background:var(--k-brand-deep); }
.k-hdr__barin{ max-width:var(--k-shell); margin-inline:auto; padding:0 var(--k-gutter);
  display:flex; align-items:center; gap:24px; min-height:46px; box-sizing:content-box; }
.k-hdr__link{ color:var(--k-on-dark); font-size:.87rem; font-weight:500; text-decoration:none;
  padding-block:13px; border-bottom:3px solid transparent; white-space:nowrap; line-height:1.4; letter-spacing:normal; }
.k-hdr__link:hover{ color:#fff; }
.k-hdr__link.is-active{ border-bottom-color:var(--k-btn); color:#fff; }
.k-hdr__area{ margin-left:auto; color:rgba(237,230,217,.62); font-size:.78rem; white-space:nowrap;
  font-weight:400; line-height:1.6; letter-spacing:normal; }

/* real social marks, not letters */
.k-social{ display:inline-flex; width:34px; height:34px; align-items:center; justify-content:center;
  border-radius:50%; color:rgba(237,230,217,.78); text-decoration:none; transition:color .2s ease; }
.k-social:hover{ color:#fff; }
.k-social svg{ width:21px; height:21px; display:block; fill:currentColor; }

@media (max-width:900px){
  .k-hdr__area{ display:none; }
  .k-hdr__logo img{ height:50px; }
  .k-hdr__phone{ font-size:1.16rem; }
  /* the nav band scrolls sideways rather than collapsing behind a menu button:
     seven links stay one tap away, which matters more than tidiness on a trade site */
  .k-hdr__barin{ overflow-x:auto; gap:18px; scrollbar-width:none; }
  .k-hdr__barin::-webkit-scrollbar{ display:none; }
}
@media (max-width:560px){
  .k-hdr__topin{ padding-inline:var(--k-gutter-sm); gap:12px; flex-wrap:wrap; }
  .k-hdr__barin{ padding-inline:var(--k-gutter-sm); }
  .k-hdr__right{ width:100%; margin-left:0; justify-content:space-between; gap:12px; }
  .k-hdr__logo img{ height:46px; }
}

/* ---- header variant: one dark row (added 2026-09-16) --------------------
   Same parts as the two-row header, folded onto a single band. Use when the nav
   fits: it reads as one deliberate object rather than a bar sitting under a bar. */
.k-hdr--dark{ background:var(--k-brand-deep); }
.k-hdr__solo{ max-width:var(--k-shell); margin-inline:auto; padding:14px var(--k-gutter);
  display:flex; align-items:center; gap:24px; box-sizing:content-box; }
.k-hdr__nav{ display:flex; align-items:center; gap:19px; margin-left:auto; }
.k-hdr--dark .k-hdr__link{ border-bottom:0; padding-block:5px; }
.k-hdr--dark .k-hdr__right{ margin-left:0; gap:18px; }
.k-hdr--dark .k-hdr__phone{ color:#fff; }
.k-hdr--dark .k-hdr__phone small{ color:rgba(237,230,217,.6); }
.k-hdr--dark.is-stuck{ box-shadow:0 6px 20px rgba(10,43,72,.22); }
.k-hdr--dark.is-stuck .k-hdr__solo{ padding-block:7px; }
.k-hdr--dark.is-stuck .k-hdr__logo img{ height:38px; }
@media (max-width:1100px){ .k-hdr__nav{ gap:15px; } .k-hdr__solo{ gap:18px; } }

/* ---- below 1025px the header becomes logo + menu button ------------------
   The phone and the estimate button move OUT of the header: .k-stick already
   carries both, pinned to the bottom of the screen, and duplicating them costs
   the whole top of a phone viewport. A row of eight links cannot live up here
   either; it either clips or scrolls sideways, and neither is a navigation. */
.k-hdr__toggle{ display:none; }
@media (max-width:1024px){
  .k-hdr__right{ display:none; }
  .k-hdr__toggle{ display:flex; margin-left:auto; align-items:center; justify-content:center;
    width:46px; height:46px; padding:0; border:0; background:transparent; cursor:pointer; color:#fff; }
  .k-hdr__toggle span{ position:relative; display:block; width:24px; height:2px;
    background:currentColor; border-radius:2px; transition:background .18s ease; }
  .k-hdr__toggle span::before, .k-hdr__toggle span::after{ content:""; position:absolute; left:0;
    display:block; width:24px; height:2px; background:currentColor; border-radius:2px;
    transition:transform .24s cubic-bezier(.2,.6,.3,1); }
  .k-hdr__toggle span::before{ top:-7px; }
  .k-hdr__toggle span::after{ top:7px; }
  .k-hdr__toggle[aria-expanded="true"] span{ background:transparent; }
  .k-hdr__toggle[aria-expanded="true"] span::before{ transform:translateY(7px) rotate(45deg); }
  .k-hdr__toggle[aria-expanded="true"] span::after{ transform:translateY(-7px) rotate(-45deg); }

  .k-hdr__nav{ position:absolute; top:100%; left:0; right:0; display:none; flex-direction:column;
    align-items:stretch; gap:0; margin:0; background:var(--k-brand-deep);
    box-shadow:0 16px 28px rgba(10,43,72,.3); max-height:70vh; overflow-y:auto; }
  .k-hdr__nav.is-open{ display:flex; }
  .k-hdr--dark .k-hdr__nav .k-hdr__link{ padding:15px var(--k-gutter); font-size:1rem;
    border-top:1px solid rgba(255,255,255,.11); }
  @media (prefers-reduced-motion:reduce){
    .k-hdr__toggle span, .k-hdr__toggle span::before, .k-hdr__toggle span::after{ transition:none; }
  }
}
@media (max-width:560px){
  .k-hdr--dark .k-hdr__nav .k-hdr__link{ padding-inline:var(--k-gutter-sm); }
}

/* ---- customer quotes ----------------------------------------------------- */
.k-quotes{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.k-quote{ background:var(--k-surface); border:1px solid var(--k-rule); border-radius:var(--k-radius);
  padding:24px 26px 26px; display:flex; flex-direction:column; }
.k-quote__stars{ color:var(--k-btn); font-size:.95rem; letter-spacing:.16em; line-height:1;
  margin:0 0 13px !important; font-weight:400; }
.k-quote__t{ font-size:var(--k-fs-small); color:var(--k-ink); line-height:1.65;
  margin:0 0 16px !important; font-weight:400; letter-spacing:normal; }
.k-quote__by{ margin:auto 0 0 !important; font-size:.79rem; color:var(--k-ink-faint);
  font-weight:400; line-height:1.5; letter-spacing:normal; }
.k-quote__by b{ color:var(--k-brand); font-weight:700; }
.k-rating{ font-size:var(--k-fs-small); color:var(--k-ink-muted); margin-block:0 40px !important;
  font-weight:400; line-height:1.6; letter-spacing:normal; }
/* margin-block, NOT the margin shorthand. A shorthand resets margin-left to 0 and, at equal
   specificity and later source order, beats the `.k-section > *` shell rule — so the line
   jumps to the page edge while everything around it stays on the content column. This is the
   second time: see the same note on .k-cta__p. */
.k-rating b{ color:var(--k-brand); font-weight:700; }
@media (max-width:900px){ .k-quotes{ grid-template-columns:1fr; } }

/* ---- mobile action bar (added 2026-09-16, the Dawley pattern in kit vocabulary) ----
   Fixed to the bottom on tablet and phone. On a trade site the call IS the conversion,
   so it should never be more than one tap away, whatever the visitor has scrolled past.
   Hidden from 1025px up, where the header already carries the number.
   body padding is scoped with :has so the rule cannot reach a kit site without the bar. */
.k-stick{ display:none; }
@media (max-width:1024px){
  .k-stick{ display:grid; grid-template-columns:1fr 1fr 1.25fr; position:fixed; left:0; right:0; bottom:0;
    z-index:9000; box-shadow:0 -6px 20px rgba(10,43,72,.24); }
  .k-stick a{ display:flex; align-items:center; justify-content:center; gap:8px; height:58px;
    font-family:var(--k-font-body,inherit); font-weight:700; font-size:.9rem; letter-spacing:.06em;
    text-transform:uppercase; text-decoration:none; line-height:1; }
  /* the first cell must not match the footer behind it, or the bar has no edge */
  .k-stick a:nth-child(1){ background:var(--k-brand); color:#fff; }
  .k-stick a:nth-child(2){ background:var(--k-brand-mid); color:#fff; }
  .k-stick a + a{ box-shadow:inset 1px 0 0 rgba(255,255,255,.16); }
  .k-stick a:nth-child(3){ background:var(--k-btn); color:var(--k-btn-ink); }
  .k-stick svg{ width:17px; height:17px; display:block; flex:0 0 auto; }
  body:has(.k-stick){ padding-bottom:58px; }
}

/* ---- comparison table on a phone (added 2026-09-16) ----------------------
   A four-column table cannot be read at 390px, and sideways scrolling inside a
   page is a worse answer than reformatting. Every row here ticks exactly ONE
   column, so on a phone the row collapses to the thing being asked about plus
   the single answer, and the empty columns are dropped rather than squeezed.
   The answer's wording comes from the table's own <th> via data-label, so a
   table with different columns still reads correctly. */
@media (max-width:720px){
  .k-tablewrap{ overflow-x:visible; }
  .k-table{ min-width:0; display:block; }
  .k-table thead{ display:none; }
  .k-table tbody, .k-table tr{ display:block; }
  .k-table tr{ padding:15px 0; border-bottom:1px solid rgba(255,255,255,.13); }
  .k-table tr:last-child{ border-bottom:0; }
  /* .is-us carries a highlight tint on desktop; at this width it survives as a stray
     full-width bar on some rows and not others, which reads as a rendering fault */
  .k-table td, .k-table td.is-us{ display:block; padding:0 !important; border:0 !important;
    background:transparent !important; }
  .k-table td:first-child{ font-size:1rem; color:#fff; margin-bottom:9px; line-height:1.4; }
  .k-table td:has(.k-mk--no){ display:none; }
  .k-table td:has(.k-mk--yes){ display:flex; align-items:center; gap:10px;
    font-size:.85rem; color:var(--k-on-dark); }
  .k-table td:has(.k-mk--yes)::after{ content:attr(data-label); }
}

/* ── Skip link ────────────────────────────────────────────────────────────────
   First focusable thing on the page. Off-screen until focused, then a real,
   visible, high-contrast target. `fixed` (not `absolute`) so it stays reachable
   no matter where the page is scrolled. Uses the client's own button tokens, so
   it inherits each brand's palette without a per-client rule. */
.k-skip{
  position:fixed; left:12px; top:12px; z-index:120;
  transform:translateY(calc(-100% - 20px));
  background:var(--k-btn); color:var(--k-btn-ink);
  padding:12px 20px; border-radius:9px;
  font-size:.95rem; font-weight:700; line-height:1; text-decoration:none;
}
/* the shadow only while it is shown: parked off-screen, its 24px blur still reached into view as a grey
   smudge at the top-left of every page (The Wellness Hub audit, 2026-10-12) */
.k-skip:focus{ transform:translateY(0); outline:3px solid var(--k-brand-deep); outline-offset:3px;
  box-shadow:0 8px 24px rgba(0,0,0,.28); }
@media (prefers-reduced-motion:no-preference){ .k-skip{ transition:transform .16s ease; } }

/* ── Inline prose link ────────────────────────────────────────────────────────
   There was no link style for running text, so every link in copy so far has had
   to be a button or a whole tile. Underlined by default because a colour-only
   link fails for anyone who cannot distinguish it from body text. */
.k-ilink{ color:var(--k-brand); font-weight:600; text-decoration:underline;
  text-decoration-thickness:1.5px; text-underline-offset:2.5px;
  text-decoration-color:color-mix(in srgb, var(--k-brand) 40%, transparent); }
.k-ilink:hover{ text-decoration-color:var(--k-brand); }
.k-ilink:focus-visible{ outline:3px solid var(--k-brand); outline-offset:2px; border-radius:2px; }
/* the immersive hero is dark too (a photo under a navy scrim) but is not .k-section--dark:
   without this an inline link in its lede rendered brand navy on navy (M&J Handyman hero, 2026-09-28) */
.k-section--dark .k-ilink, .k-hero--immersive .k-ilink{ color:#fff; text-decoration-color:rgba(255,255,255,.45); }
.k-section--dark .k-ilink:hover, .k-hero--immersive .k-ilink:hover{ text-decoration-color:#fff; }

/* ── Anchor targets under a sticky header ────────────────────────────────────
   Without this, every in-page jump parks the target flush at viewport top and
   the sticky header sits ON it — measured on M&J 2026-09-17: the town name was
   56px under the bar at 1440 and 60px at 390, i.e. the heading you navigated to
   was the one thing you could not see. `scroll-margin-top` moves the resting
   place, not the layout, so it costs nothing anywhere else.
   Generous enough for the tallest (unshrunk) header plus breathing room. */
.k-section[id], .k-tile[id], .k-faq__item[id], [id].k-hdr ~ * [id]{
  scroll-margin-top:96px;
}
@media (max-width:1024px){
  .k-section[id], .k-tile[id], .k-faq__item[id]{ scroll-margin-top:88px; }
}

/* ══ EDITORIAL MODIFIERS (opt-in per prototype) ══════════════════════════════
   Added 2026-09-17 after the M&J review: the default kit reads as heading →
   three white cards → heading → three white cards, which is the template look.
   Every rule below is a modifier, so a client that never opts in is untouched. */

/* -- Immersive hero: the photograph IS the section, text sits on it. --------- */
.k-hero--immersive{ position:relative; isolation:isolate; overflow:hidden; color:#fff;
  padding-block:clamp(96px,12vw,150px) clamp(72px,9vw,110px); min-height:min(78vh,720px);
  display:flex; align-items:center; }
.k-hero--immersive > .k-hero__bg{ position:absolute; inset:0; z-index:-2; width:100%; height:100%;
  object-fit:cover; object-position:center;
  /* The section's shell rule (.k-section > *) pins every direct child to 1076px with a centring
     margin. On an absolutely-positioned backdrop that produced a photo the width of the content
     column inside a full-width gradient — a two-tone band, visible at any viewport over ~1140. */
  max-width:none !important; margin-left:0 !important; margin-right:0 !important; }
.k-hero--immersive::before{ content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(100deg, rgba(8,26,45,.92) 0%, rgba(8,26,45,.78) 46%, rgba(8,26,45,.28) 100%); }
.k-hero--immersive .k-hero__panel{ width:100%; max-width:var(--k-shell); }  /* width:100% because the section is a flex row:
  without it the panel shrinks to its 640px copy and margin:auto centres that box — text left-aligned inside a centred block */   /* the panel spans the shell, so its
  left edge is the page's left edge — the strip below, every heading, every grid share it */
.k-hero--immersive .k-hero__panel > *{ max-width:640px; }          /* the copy itself stays a readable measure */
.k-hero--immersive .k-eyebrow{ color:var(--k-btn); }
.k-hero--immersive .k-hero__h{ color:#fff; font-size:clamp(2.5rem,5.4vw,4.1rem); }
.k-hero--immersive .k-lede{ color:rgba(255,255,255,.82); font-size:1.12rem; max-width:560px; }
@media (max-width:900px){
  .k-hero--immersive{ min-height:0; padding-block:88px 64px; }
  .k-hero--immersive::before{ background:linear-gradient(180deg, rgba(8,26,45,.55) 0%, rgba(8,26,45,.9) 34%, rgba(8,26,45,.94) 100%); }  /* the photo shows at the top, the copy sits on near-solid ink */
  .k-hero--immersive .k-hero__h, .k-hero--immersive .k-lede{ text-shadow:0 1px 2px rgba(0,0,0,.45); }
  .k-hero--immersive .k-lede{ color:rgba(255,255,255,.92); }
}

/* -- Sunk band: a second light surface so sections alternate. --------------- */
.k-section--sunk{ background:var(--k-sunk); }

/* -- Vivid tiles: real photographs shown as photographs, with depth. -------- */
.k-tiles--vivid .k-tile__art{ filter:none; }
.k-tiles--vivid .k-tile{ background:var(--k-surface);
  box-shadow:0 1px 2px rgba(20,14,5,.05), 0 14px 30px -20px rgba(20,14,5,.35);
  transition:transform .32s cubic-bezier(.2,.6,.3,1),.6,.3,1); }
.k-tiles--vivid .k-tile:hover, .k-tiles--vivid .k-tile:focus-within{ transform:translateY(-4px);
  box-shadow:0 2px 4px rgba(20,14,5,.06), 0 24px 40px -22px rgba(20,14,5,.45); }
.k-tiles--vivid .k-tile__art img{ transition:transform .5s cubic-bezier(.2,.6,.3,1); }
.k-tiles--vivid .k-tile:hover .k-tile__art img{ transform:scale(1.04); }
@media (prefers-reduced-motion:reduce){ .k-tiles--vivid .k-tile, .k-tiles--vivid .k-tile__art img{ transition:none; transform:none !important; } }

/* -- Live map: a real embed inside the same box the placeholder drew. ------- */
.k-map--live::before, .k-map--live::after{ display:none; }
.k-map--live .k-map__frame{ position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }

/* -- Text card: a tile with no photograph, sitting in a grid that has them. ---
   Without this it is a tall empty white box: the row stretches to the photo
   tiles' height and the description is hidden until hover. Sunk surface, gold
   rule, copy always visible, content centred in the height it is given. */
.k-tile--text{ background:var(--k-sunk); border-color:transparent;
  display:flex; flex-direction:column; justify-content:center; }
.k-tile--text .k-tile__body{ padding:30px 28px; }
.k-tile--text .k-tile__body::before{ content:""; display:block; width:34px; height:3px;
  background:var(--k-btn); margin-bottom:18px; }
.k-tile--text .k-tile__h{ font-size:1.34rem; }
.k-tile--text .k-tile__d{ max-height:none; opacity:1; margin-top:10px !important; font-size:.96rem; line-height:1.55; }
.k-tile--text:hover .k-tile__d, .k-tile--text:focus-within .k-tile__d, .k-tile--text.is-tapped .k-tile__d{ max-height:none; }   /* the reveal rule (0,3,0) capped an always-open description to 90px on hover (Metz 09-29) */
.k-tiles--vivid .k-tile--text{ box-shadow:none; background:var(--k-sunk); } /* .k-tiles--vivid .k-tile sets surface at the same specificity and later; restate here */
.k-tiles--vivid .k-tile--text:hover{ transform:none; box-shadow:none; }

/* -- Overlapping trust strip: the caps row rides up over the hero's lower edge. --
   Four bordered boxes butted against a full-bleed photo read as an abrupt stop;
   one card with hairline dividers, lifted 52px into the hero, hands the photo
   off into the page instead. Dividers still come from the 1px gap over the rule
   colour, so they hold at 4, 2 and 1 columns without per-breakpoint border maths. */
.k-caps--overlap{ position:relative; z-index:2; }
/* Not margin-top: the shell rule forces margin-block-start:0 !important on every section
   child (to kill WP's block-gap), so a negative margin is silently discarded. Relative
   offset lifts the strip; the negative margin-BOTTOM (which the shell rule leaves alone
   on purpose) pulls the following section up by the same amount. */
.k-caps--overlap .k-caps__grid{ position:relative; top:-52px; margin-bottom:-52px; border:0; border-radius:var(--k-radius); overflow:hidden;
  box-shadow:0 1px 2px rgba(20,14,5,.06), 0 26px 50px -26px rgba(20,14,5,.5); }
.k-caps--overlap .k-cap{ padding:26px 26px 24px; }
.k-caps--overlap .k-cap__n{ font-size:1.12rem; line-height:1.3; margin-bottom:6px !important; }
.k-caps--overlap .k-cap__n::before{ content:""; display:block; width:26px; height:3px; background:var(--k-btn); margin-bottom:12px; }
/* The hero underneath keeps the CTA clear of the strip. */
.k-hero--immersive.k-hero--overlapped{ padding-bottom:clamp(100px,11vw,136px); }
@media (max-width:900px){
  .k-caps--overlap .k-caps__grid{ top:-36px; margin-bottom:-36px; }
  .k-hero--immersive.k-hero--overlapped{ padding-bottom:92px; }
}

/* -- Triage as a band: when the triage SECTION is the sunk surface, the inner box
   drops its own background, border and padding — one surface, not a box in a box.
   Done at section level because on WordPress the inner markup comes from the
   mj/triage block's render callback, which the prototype cannot reach. */
.k-triage-sec.k-section--sunk{ padding-block:60px 64px !important; }
.k-triage-sec.k-section--sunk .k-triage{ background:transparent; border:0; border-radius:0; padding:0; }
.k-triage-sec.k-section--sunk .k-triage__h{ font-size:1.7rem; }
.k-triage-sec.k-section--sunk .k-chip{ box-shadow:0 1px 2px rgba(20,14,5,.05), 0 12px 24px -18px rgba(20,14,5,.35); border-color:transparent; }
.k-triage-sec.k-section--sunk .k-chip:hover{ border-color:var(--k-btn); }

/* Backdrop focal point. cover crops the sides at wide viewports, and a subject that sits at
   one edge of the frame can vanish under the text panel or the trust strip. Opt-in per photo. */
.k-hero--immersive > .k-hero__bg--east{ object-position:82% 45%; }
.k-hero--immersive > .k-hero__bg--west{ object-position:18% 45%; }
.k-hero--immersive > .k-hero__bg--north{ object-position:center 22%; }

/* -- Fun-pass components (opt-in) -------------------------------------------- */
.k-btn--pill, .k-hero--immersive .k-btn{ border-radius:999px; }
.k-hero__tag{ font-family:var(--k-font-display, inherit); font-style:italic; font-size:1.45rem; margin:0 0 14px !important; }
.k-tiles--square .k-tile__art{ aspect-ratio:1/1; }
/* on a photo board the caption is always open — the card tilts instead of growing */
.k-tiles--square .k-tile__d, .k-tiles--portrait .k-tile__d{ max-height:none; opacity:1; margin-top:8px !important; }
/* the hover lift on description cards was silently lost to the reveal rule's higher specificity */
html.k-fx-reveal .k-tiles--vivid .k-tile.is-in:hover{ transform:translateY(-4px); }
html.k-fx-tilt .k-tiles--vivid .k-tile.is-tiltable.is-in:hover{ transform:perspective(800px) translateY(-6px) rotateX(var(--k-tilt-x,0deg)) rotateY(var(--k-tilt-y,0deg)) scale(1.015); }
.k-fleet{ background:var(--k-brand-deep); color:var(--k-on-dark); }
.k-fleet .k-h2{ color:#fff; } .k-fleet .k-lede{ color:rgba(255,255,255,.78); }
.k-fleet__art{ border-radius:var(--k-radius); overflow:hidden; box-shadow:0 30px 60px -30px rgba(0,0,0,.7); }
.k-fleet__art img{ display:block; width:100%; height:auto; }
.k-tiles--portrait .k-tile__art{ aspect-ratio:2/3; }

/* -- CTA with a brand badge floating at the right edge (opt-in). ------------ */
.k-cta--badge{ position:relative; }
.k-cta--badge > .k-cta__badge{ position:absolute; right:var(--k-gutter); top:50%; transform:translateY(-50%) rotate(-6deg);
  width:168px; height:168px; border-radius:50%; object-fit:cover; z-index:1;
  box-shadow:0 18px 40px -16px rgba(0,0,0,.6), 0 0 0 6px rgba(255,255,255,.14);
  max-width:none !important; margin:0 !important; }   /* released from the shell rule, like the hero backdrop */
.k-cta--badge > *:not(.k-cta__badge){ position:relative; z-index:2; }
@media (min-width:1100px){ .k-cta--badge > .k-cta__badge{ right:calc((100% - var(--k-shell)) / 2 + 8px); } }
@media (max-width:900px){ .k-cta--badge > .k-cta__badge{ width:88px; height:88px; top:auto; bottom:18px; right:18px; transform:rotate(-6deg); } .k-cta--badge{ padding-bottom:116px; } }  /* inside the band: an overhang was painted over by the next section on phones */

/* ══ FX (opt-in via <meta name="k-fx">; every rule below is inert without it) ═══ */

/* -- Paragraph line-breaking: WordPress gives every core paragraph text-wrap:pretty (no orphans on
   the last line); the prototype must break lines the same way or every inline link near the end of
   a long paragraph lands a few px off and the differ flags it. Declared here so both sides agree. */
p, .k-lede, .k-tile__d, .k-faq__a, .k-step__d{ text-wrap:pretty; }

/* -- Reveal on scroll: the JS marks .k-reveal, then .is-in on entry. --------- */
html.k-fx-reveal .k-reveal{ opacity:0; transform:translateY(10px);
  transition:opacity .34s cubic-bezier(.2,.6,.3,1), transform .38s cubic-bezier(.2,.6,.3,1); }
html.k-fx-reveal .k-reveal.is-in{ opacity:1; transform:none; }
/* the late fallback (kit.js) reveals what is still unseen with NO animation — a burst of 30
   transitions mid-scroll is the jank people feel, and nothing should ever look staged */
html.k-fx-reveal .k-reveal.k-reveal--now{ transition:none !important; }
/* tiles already animate transform on hover; reveal must not fight the lift, and box-shadow
   never animates (it repaints the whole card every frame) */
html.k-fx-reveal .k-tiles--vivid .k-tile.k-reveal.is-in{ transition:opacity .34s cubic-bezier(.2,.6,.3,1), transform .26s cubic-bezier(.2,.6,.3,1); }

/* -- Tilt toward the cursor (JS sets --k-tilt-x/y per tile). ---------------- */
/* perspective() goes INSIDE the transform: set as a property on the tile it only projects
   the tile's children, and the tile's own rotation renders flat — invisible. */
/* will-change only while the cursor is on the card: a permanent layer per tile is what makes
   phones and older GPUs stutter on scroll. While tilting, the transform follows the cursor with
   a 60ms ease — a .26s ease restarted on every mousemove is the "slow and choppy" feel. */
html.k-fx-tilt .k-tiles--vivid .k-tile.is-tiltable.is-tilting{ will-change:transform; transition:transform .06s linear, opacity .34s; }
html.k-fx-tilt .k-tiles--vivid .k-tile.is-tiltable:hover{ transform:perspective(800px) translateY(-6px) rotateX(var(--k-tilt-x,0deg)) rotateY(var(--k-tilt-y,0deg)) scale(1.015); }

/* -- Badge wobble on hover. --------------------------------------------------- */
@keyframes k-wobble{ 0%{transform:translateY(-50%) rotate(-6deg)} 30%{transform:translateY(-52%) rotate(4deg) scale(1.06)} 60%{transform:translateY(-50%) rotate(-9deg) scale(1.03)} 100%{transform:translateY(-50%) rotate(-6deg)} }
.k-cta--badge > .k-cta__badge{ cursor:default; }
.k-cta--badge > .k-cta__badge:hover{ animation:k-wobble .9s cubic-bezier(.2,.6,.3,1) 1; }
@media (max-width:900px){ .k-cta--badge > .k-cta__badge:hover{ animation:none; } }

/* -- Wave divider at the foot of an immersive hero. --------------------------- */
.k-hero--immersive > .k-hero__wave{ position:absolute; left:0; right:0; bottom:-1px; width:100%; height:clamp(34px,5vw,72px);
  display:block; z-index:0; pointer-events:none; max-width:none !important; margin:0 !important; }
.k-hero--immersive > .k-hero__wave path{ fill:var(--k-ground); }

/* -- Town ribbon: one static box, its content drifts. The moving spans carry no
   kit class, so the differ measures the box and never the motion. ------------- */
.k-ribbon{ padding-block:14px !important; overflow:hidden; background:var(--k-brand); color:var(--k-on-dark); }
.k-ribbon > .k-ribbon__track{ display:flex; gap:0; width:max-content; max-width:none !important; margin:0 !important;
  animation:k-drift 48s linear infinite; }
.k-ribbon__track > a, .k-ribbon__track > span{ padding:0 26px; font-size:.86rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; white-space:nowrap;
  color:inherit; text-decoration:none; }
.k-ribbon__track > a:hover{ color:var(--k-btn); text-decoration:underline; text-underline-offset:4px; }
.k-ribbon__track > a::after, .k-ribbon__track > span::after{ content:"\2600"; margin-left:26px; color:var(--k-btn); }
@keyframes k-drift{ from{transform:translateX(0)} to{transform:translateX(-50%)} }
.k-ribbon:hover > .k-ribbon__track{ animation-play-state:paused; }
/* A visible Pause for the drifting ribbon (WCAG 2.2.2; opt-in, added 2026-09-29 for Metz): a checkbox in a label, so it
   works with JS off. Markup: <label class="k-ribbon__pause"><input type="checkbox"><span>Pause</span></label> as the
   ribbon's first child. Keyboard focus inside the ribbon also holds it still. */
.k-ribbon{ position:relative; }
.k-ribbon > .k-ribbon__pause{ position:absolute; right:12px; top:50%; transform:translateY(-50%); z-index:2; margin:0 !important;
  display:inline-flex; align-items:center; gap:8px; padding:7px 12px; cursor:pointer; font-size:.74rem; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; color:var(--k-on-dark); background:var(--k-brand-deep);
  border:1px solid rgba(255,255,255,.28); border-radius:var(--k-radius); line-height:1.2; }
.k-ribbon__pause input{ appearance:none; -webkit-appearance:none; margin:0; width:10px; height:12px; flex:0 0 auto;
  border-left:3px solid currentColor; border-right:3px solid currentColor; cursor:pointer; }
.k-ribbon__pause input:checked{ border:0; width:0; height:0; border-left:10px solid currentColor;
  border-top:6px solid transparent; border-bottom:6px solid transparent; }
.k-ribbon__pause:has(input:focus-visible){ outline:3px solid var(--k-focus, var(--k-btn)); outline-offset:2px; }
.k-ribbon:has(.k-ribbon__pause input:checked) > .k-ribbon__track, .k-ribbon:focus-within > .k-ribbon__track{ animation-play-state:paused; }

@media (prefers-reduced-motion:reduce){
  html.k-fx-reveal .k-reveal{ opacity:1; transform:none; transition:none; }
  .k-faq__item[open] .k-faq__a{ animation:none; }
  .k-ribbon > .k-ribbon__track{ animation:none; }
  .k-ribbon > .k-ribbon__pause{ display:none; }   /* nothing moves, so nothing to pause */
  .k-cta--badge > .k-cta__badge:hover{ animation:none; }
}

/* ══ PAGE-SPECIFIC MODULES (M&J 2026-09-22) — each replaces a repeated table ══ */
.k-note{ font-size:.95rem !important; margin-top:34px !important; max-width:none !important; display:flex; gap:12px; align-items:flex-start; padding:14px 18px; border:1px dashed var(--k-brand); border-radius:var(--k-radius); }
.k-section > .k-note{ max-width:var(--k-shell) !important; }   /* the max-width:none above un-pins a note that is a direct section child from the shell: it ran to the viewport edge (Metz 09-29) */
.k-note::before{ content:"i"; flex:0 0 auto; width:22px; height:22px; border-radius:50%; background:var(--k-brand); color:#fff; font-weight:700; font-size:.8rem; display:grid; place-items:center; margin-top:1px; }
.k-section--dark .k-note{ border-color:rgba(255,255,255,.4); } .k-section--dark .k-note::before{ background:var(--k-btn); color:var(--k-brand-deep); }

/* -- Timeline: six steps on a line; stacks on phones. ------------------------- */
.k-timeline{ list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(6,1fr); gap:18px; position:relative; }
.k-timeline::before{ content:""; position:absolute; left:0; right:0; top:11px; height:2px; background:rgba(255,255,255,.18); }
.k-tl{ position:relative; padding-top:30px; }
.k-tl::before{ content:""; position:absolute; left:0; top:4px; width:16px; height:16px; border-radius:50%; background:var(--k-btn); box-shadow:0 0 0 5px rgba(244,169,59,.22); }
.k-tl__day{ display:block; font-size:.74rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--k-btn); margin-bottom:8px; }
.k-tl__h{ letter-spacing:0; font-size:1.08rem; color:#fff; margin:0 0 6px !important; line-height:1.25; }
.k-tl__d{ font-size:.9rem; color:rgba(255,255,255,.74); margin:0 !important; line-height:1.5; }
.k-section--dark .k-note, .k-section--dark .k-note .k-ilink{ color:rgba(255,255,255,.8); }
@media (max-width:1024px){ .k-timeline{ grid-template-columns:repeat(3,1fr); } .k-timeline::before{ display:none; } }
@media (max-width:640px){ .k-timeline{ grid-template-columns:1fr; gap:10px; } .k-tl{ padding:0 0 0 30px; } .k-tl::before{ top:4px; } }

/* -- Color picker: paint chips recolor a CSS-drawn wall (JS sets --wall). ------
   .k-paint, not .k-chip: .k-chip is the triage pill and its handler would fight. */
.k-palette{ display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:32px; align-items:start; }
.k-palette__stage{ position:sticky; top:96px; display:grid; gap:14px; }
.k-palette__room{ position:relative; aspect-ratio:4/3; border-radius:var(--k-radius); overflow:hidden; box-shadow:0 24px 44px -28px rgba(20,14,5,.55); background:var(--wall,#D1CBC1); }
.k-palette__wall{ position:absolute; inset:0 0 22% 0; background:var(--wall,#D1CBC1); transition:background-color .35s; }
.k-palette__wall::after{ content:""; position:absolute; inset:0; background:linear-gradient(100deg, rgba(255,255,255,.16), rgba(0,0,0,.1) 75%); pointer-events:none; }
.k-palette__frame{ position:absolute; left:9%; top:16%; width:24%; aspect-ratio:1/1; border:6px solid #fff; box-shadow:0 8px 18px -10px rgba(0,0,0,.5); background:linear-gradient(160deg,#c9d8e2,#8fb0c4); }
.k-palette__window{ position:absolute; right:10%; top:12%; width:30%; height:60%; background:linear-gradient(180deg,#dcecf6,#bcd8ea); border:8px solid #fff; }
.k-palette__window::before, .k-palette__window::after{ content:""; position:absolute; background:#fff; }
.k-palette__window::before{ left:50%; top:0; bottom:0; width:6px; margin-left:-3px; }
.k-palette__window::after{ top:50%; left:0; right:0; height:6px; margin-top:-3px; }
.k-palette__base{ position:absolute; left:0; right:0; bottom:22%; height:14px; background:#fff; box-shadow:0 2px 3px rgba(0,0,0,.12); }
.k-palette__floor{ position:absolute; left:0; right:0; bottom:0; height:22%; background:repeating-linear-gradient(90deg,#c9ab86 0 60px,#bfa07b 60px 62px); }
.k-palette__pick{ position:absolute; left:16px; bottom:16px; margin:0 !important; padding:10px 14px; border-radius:8px; background:rgba(255,255,255,.94); box-shadow:0 8px 20px -12px rgba(0,0,0,.5); font-family:var(--k-font-display, inherit); font-size:1.15rem; line-height:1.2; color:var(--k-brand); }
.k-palette__code{ font-family:var(--k-font-body, inherit); font-size:.8rem; color:var(--k-ink-faint); margin-left:8px; letter-spacing:.04em; }
.k-palette__side{ display:grid; gap:16px; }
.k-palette__gl{ margin:0 0 6px !important; font-size:.74rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--k-ink-faint); }
.k-palette__chips{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.k-paint{ appearance:none; border:0; padding:0; cursor:pointer; background:transparent; text-align:left; display:grid; gap:5px; font:inherit; }
.k-paint::before{ content:""; display:block; aspect-ratio:5/3; border-radius:6px; background:var(--c); box-shadow:inset 0 0 0 1px rgba(0,0,0,.08); transition:transform .2s, box-shadow .2s; }
.k-paint:hover::before{ transform:translateY(-2px); }
.k-paint{ position:relative; }
.k-paint.is-on::before{ box-shadow:0 0 0 3px var(--k-sunk, #fff), 0 0 0 6px var(--k-accent, var(--k-btn)), 0 14px 26px -14px rgba(20,14,5,.5); transform:translateY(-3px) scale(1.04); }
.k-paint.is-on::after{ content:"\2713"; position:absolute; top:6px; right:6px; width:22px; height:22px; border-radius:50%; background:var(--k-accent, var(--k-btn)); color:#fff; font-size:.8rem; font-weight:700; display:grid; place-items:center; box-shadow:0 2px 6px rgba(0,0,0,.25); }
.k-paint.is-on .k-paint__n{ color:var(--k-brand); font-weight:700; }
.k-paint__n{ font-size:.74rem; line-height:1.2; color:var(--k-ink-muted); }
.k-paint:focus{ outline:none; }
.k-paint:focus-visible::before{ box-shadow:0 0 0 3px var(--k-sunk, #fff), 0 0 0 6px var(--k-btn); }  /* the ring goes on the chip, not a box around the name */
.k-palette__send{ justify-self:start; }
.k-palette__note{ margin:0 !important; font-size:.8rem; color:var(--k-ink-faint); max-width:420px; }
@media (max-width:900px){ .k-palette{ grid-template-columns:1fr; } .k-palette__stage{ position:static; } }
@media (max-width:480px){ .k-palette__chips{ grid-template-columns:repeat(3,1fr); } .k-palette__pick{ font-size:1rem; padding:8px 12px; } }

/* -- Chooser lists inside text tiles. ----------------------------------------- */
.k-tile__list{ list-style:none; padding:0; margin:12px 0 0 !important; font-size:.93rem; color:var(--k-ink-muted); line-height:1.5; }
.k-tile__list li{ padding:8px 0; border-top:1px solid var(--k-rule); }
.k-tile__list b{ color:var(--k-brand); }

/* -- Tile patterns, drawn in CSS. -------------------------------------------- */
.k-patterns{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.k-pattern{ text-align:left; }
.k-pattern__art{ display:block; aspect-ratio:1/1; border-radius:var(--k-radius); background-color:#E9E2D6; box-shadow:0 18px 36px -20px rgba(0,0,0,.7); margin-bottom:12px; --g:#9A8F7E; }
.k-pattern__art--subway{ background-image:linear-gradient(var(--g) 1.5px, transparent 1.5px), linear-gradient(90deg, var(--g) 1.5px, transparent 1.5px), linear-gradient(90deg, var(--g) 1.5px, transparent 1.5px); background-size:100% 25%, 50% 50%, 50% 50%; background-position:0 0, 0 0, 25% 25%; }
.k-pattern__art--stack{ background-image:linear-gradient(var(--g) 1.5px, transparent 1.5px), linear-gradient(90deg, var(--g) 1.5px, transparent 1.5px); background-size:100% 25%, 25% 100%; }
.k-pattern__art--herring{ background-image:repeating-linear-gradient(45deg, var(--g) 0 1.5px, transparent 1.5px 18px), repeating-linear-gradient(-45deg, var(--g) 0 1.5px, transparent 1.5px 18px); }
.k-pattern__art--large{ background-image:linear-gradient(var(--g) 2px, transparent 2px), linear-gradient(90deg, var(--g) 2px, transparent 2px); background-size:100% 50%, 50% 100%; }
.k-pattern__art--penny{ background-image:radial-gradient(circle, #DED5C5 42%, var(--g) 46%, transparent 50%); background-size:16% 16%; }
.k-pattern__n{ display:block; font-family:var(--k-font-display, inherit); font-weight:600; color:#fff; font-size:1.04rem; }
.k-pattern__d{ display:block; font-size:.82rem; color:rgba(255,255,255,.7); margin-top:3px; }
@media (max-width:900px){ .k-patterns{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:560px){ .k-patterns{ grid-template-columns:repeat(2,1fr); } }

/* -- Current page in the header: an accent underline (JS sets aria-current). -- */
.k-hdr__link{ position:relative; }
.k-hdr__link[aria-current="page"]::after{ content:""; position:absolute; left:0; right:0; bottom:-6px; height:3px; border-radius:2px; background:var(--k-accent, var(--k-btn)); }
@media (max-width:900px){ .k-hdr__link[aria-current="page"]::after{ left:0; right:auto; width:28px; bottom:2px; } }

/* -- Split: prose beside one photograph (the page opener). --------------------- */
.k-split{ display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:44px; align-items:center; }
.k-split__copy > .k-lede{ max-width:none; margin-top:0 !important; }
.k-split__copy > .k-lede + .k-lede{ margin-top:16px !important; }
.k-split__art{ margin:0 !important; position:relative; }
.k-split__art img{ display:block; width:100%; height:auto; border-radius:var(--k-radius); box-shadow:0 24px 44px -26px rgba(20,14,5,.55); }
.k-split__art figcaption{ margin-top:10px; font-size:.8rem; color:var(--k-ink-faint); }
@media (max-width:900px){ .k-split{ grid-template-columns:1fr; gap:26px; } .k-split__art{ order:-1; } }

/* -- Contact band fit + map alignment (2026-09-24). ---------------------------
   Phones: grid tracks default to min-width:auto, so the unbreakable email set
   the column's floor and pushed the page ~10px past the viewport (the form
   card on /contact/ went with it). Tracks shrink now, long values wrap, and
   under 560px the label sits above its value instead of beside it.
   Desktop: the map kept its 4:3 box and hung ~45px below the last contact
   row. It now takes the rows' height — same top edge, same bottom rule. */
.k-contact__cols > *{ min-width:0; }
.k-dl__row{ grid-template-columns:118px minmax(0,1fr); }
.k-dl__row > *{ min-width:0; }
.k-dl__val, .k-dl__sub{ overflow-wrap:anywhere; }
.k-contact__cols > .k-map{ width:100%; max-width:100%; }
.k-map--live .k-map__frame{ max-width:100%; }
@media (min-width:901px){
  .k-contact__cols > .k-map{ align-self:stretch; aspect-ratio:auto; min-height:300px; }
}
@media (max-width:900px){
  .k-contact__cols{ gap:32px; }
  .k-contact__cols > .k-map{ aspect-ratio:auto; height:320px; }
}
@media (max-width:560px){
  .k-dl__row{ grid-template-columns:minmax(0,1fr); gap:4px; }
  .k-form{ padding:22px 18px; }
}

/* ============================================================================
   ADDED 2026-09-28 for M&J (Jeff's 09-27 revisions). Every rule is opt-in by class:
   a page that does not carry the class is untouched.
   ========================================================================= */

/* -- Visually hidden but read and indexed (the poster hero's H1 on wide screens). */
.k-sr{ position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important;
  overflow:hidden !important; clip:rect(0 0 0 0) !important; clip-path:inset(50%) !important; white-space:nowrap !important; border:0 !important; }

/* -- Two ledes in a row read as one intro, not two blocks 40px apart. */
.k-section > .k-lede:has(+ .k-lede){ margin-block-end:16px !important; }
/* -- A step whose description runs to more than one paragraph; a closing line under a steps grid. */
.k-step__d + .k-step__d{ margin-block-start:.75em !important; }
.k-closer{ margin-top:34px !important; margin-bottom:0 !important; color:var(--k-ink); }

/* -- Poster hero: the image IS the message (words baked into the art), so it is shown whole at
      every width, never cropped and never covered. The H1 and the words are real text in
      .k-hero__copy: visually hidden where the art is readable, shown under the art on phones
      where it is not (the baked lines are ~7px tall at 390). */
.k-hero--poster{ padding:0 !important; background:var(--k-brand-deep); display:block; }
.k-hero--poster > .k-hero__poster{ display:block; width:100%; max-width:1600px; height:auto; margin:0 auto !important; }
.k-hero--poster > .k-hero__copy{ max-width:none !important; margin:0 !important; }
@media (min-width:701px){ .k-hero--poster > .k-hero__copy{ position:absolute !important; width:1px !important; height:1px !important; overflow:hidden !important;
  clip:rect(0 0 0 0) !important; clip-path:inset(50%) !important; white-space:nowrap !important; } }
@media (max-width:700px){
  .k-hero--poster > .k-hero__copy{ background:var(--k-ground); padding:24px var(--k-gutter) 30px; }
  .k-hero--poster .k-hero__h{ font-size:1.72rem; line-height:1.18; color:var(--k-brand-deep); margin:0 0 12px !important; }
  .k-hero--poster .k-hero__lines{ font-size:1rem; line-height:1.55; color:var(--k-ink); margin:0 0 10px !important; }
  .k-hero--poster .k-hero__close{ font-size:1.1rem; line-height:1.4; font-weight:700; color:var(--k-brand-deep); margin:0 !important; }
  .k-hero--poster .k-hero__lines b, .k-hero--poster .k-hero__close b{ color:var(--k-brand-mid); }
  .k-hero--poster .k-hero__h em{ font-style:italic; color:var(--k-accent, var(--k-brand)); }
  .k-hero--poster.k-hero--overlapped > .k-hero__copy{ padding-bottom:72px; }  /* room for the caps card lifted 36px into it */
}

/* -- Pattern cards cut from a photo chart (the Tile page's twelve layouts). */
.k-patterns--photo{ grid-template-columns:repeat(6,1fr); gap:16px; }
.k-pattern--photo .k-pattern__img{ display:block; width:100%; height:auto; border-radius:var(--k-radius); background:#F4F4F0;
  box-shadow:0 18px 36px -20px rgba(0,0,0,.7); margin-bottom:12px; }
.k-pattern__n small{ display:block; font-family:var(--k-font-body, inherit); font-size:.74rem; font-weight:600; letter-spacing:.02em;
  color:rgba(255,255,255,.72); margin-top:2px; }
.k-chartlink{ margin-top:22px !important; margin-bottom:0 !important; }
@media (max-width:1100px){ .k-patterns--photo{ grid-template-columns:repeat(4,1fr); } }
@media (max-width:900px){ .k-patterns--photo{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:560px){ .k-patterns--photo{ grid-template-columns:repeat(2,1fr); gap:14px; } }

/* -- Carousel: a scroll-snap track that works with no JS (swipe, trackpad, arrow keys on the
      focused track). kit.js adds previous/next, the counter and the optional auto-advance. */
.k-carousel{ position:relative; }
.k-carousel__track{ display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 40px) / 3); gap:20px;
  overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scrollbar-width:none;
  padding:4px 2px 18px; margin-inline:-2px; scroll-padding-inline:2px; }   /* scroll-padding = the side padding, or the first snap nudges the track 2px on load */
.k-carousel__track::-webkit-scrollbar{ display:none; }
.k-carousel__track:focus-visible{ outline:3px solid var(--k-btn); outline-offset:4px; border-radius:var(--k-radius); }
.k-carousel__track > *{ scroll-snap-align:start; min-width:0; }
.k-carousel__nav{ display:flex; align-items:center; gap:12px; margin-top:4px; }
.k-carousel__btn{ width:44px; height:44px; flex:0 0 44px; padding:0; border-radius:50%; border:1px solid var(--k-rule);
  background:var(--k-surface); color:var(--k-brand); display:grid; place-items:center; cursor:pointer; transition:border-color .2s; }
.k-carousel__btn svg{ width:18px; height:18px; }
.k-carousel__btn:hover{ border-color:var(--k-brand); }
.k-carousel__btn:focus-visible, .k-carousel__play:focus-visible{ outline:3px solid var(--k-btn); outline-offset:2px; }
.k-carousel__count{ margin:0 !important; min-width:9ch; text-align:center; font-size:.85rem; color:var(--k-ink-muted); font-variant-numeric:tabular-nums; }
.k-carousel__play{ margin-left:auto; padding:8px 2px; border:0; background:none; font:inherit; font-size:.85rem; font-weight:600;
  color:var(--k-brand); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.k-carousel__play[hidden]{ display:none; }
@media (max-width:900px){ .k-carousel__track{ grid-auto-columns:calc((100% - 16px) / 2); gap:16px; } }
@media (max-width:560px){ .k-carousel__track{ grid-auto-columns:84%; gap:14px; } }
/* photo slide */
.k-slide{ margin:0 !important; }
.k-slide img{ display:block; width:100%; height:auto; aspect-ratio:3/4; object-fit:cover; border-radius:var(--k-radius);
  background:var(--k-sunk); box-shadow:0 18px 34px -22px rgba(20,14,5,.55); }
.k-slide figcaption{ margin-top:10px; font-size:.84rem; line-height:1.45; color:var(--k-ink-muted); }
.k-slide figcaption b{ display:block; color:var(--k-brand); font-weight:700; }
.k-slide__of{ color:var(--k-ink-faint); white-space:nowrap; }
/* gallery sub-heads and the empty "coming soon" shelf */
.k-gal__h{ font-size:1.3rem; color:var(--k-brand); margin-block:0 16px !important; }
/* both new h3s carry their own type: undeclared, WordPress's parent theme.json lends them line-height 1.14 and
   letter-spacing -0.1px while the prototype inherits the body's 1.6 (live QA 2026-09-28: 6 + 8 findings, one cause) */
.k-gal__h, .k-verify__h{ font-family:var(--k-font-display, inherit); font-weight:600; line-height:1.3; letter-spacing:normal; }   /* margin-block: a shorthand would reset margin-left and beat the .k-section > * shell rule */
.k-carousel + .k-gal__h{ margin-top:44px !important; }
.k-soon{ display:grid; place-items:center; min-height:150px; border:1px dashed var(--k-brand); border-radius:var(--k-radius);
  background:var(--k-surface); }
.k-soon p{ margin:0 !important; font-family:var(--k-font-display, inherit); font-size:1.35rem; font-weight:600; letter-spacing:.06em;
  text-transform:uppercase; color:var(--k-brand); }
.k-soon + .k-lede{ margin-top:28px !important; margin-bottom:0 !important; }
/* review slide: the kit's quote card, with its source */
.k-carousel .k-quote{ height:100%; margin:0 !important; }   /* a <figure>: the browser gives it 40px side margins */
.k-quote__src{ display:block; margin-top:2px; }
.k-verify{ margin-top:40px !important; padding:26px 28px; border:1px solid var(--k-rule); border-radius:var(--k-radius); background:var(--k-surface); }
.k-verify__h{ font-size:1.22rem; color:var(--k-brand); margin:0 0 8px !important; }
.k-verify p{ margin:0 0 16px !important; font-size:var(--k-fs-small); color:var(--k-ink-muted); max-width:62ch; }
.k-verify__btns{ display:flex; flex-wrap:wrap; gap:12px; }
/* quote cards in a carousel: long reviews are clamped ONLY when kit.js is running (it adds .k-clamp and a
   "Read more" button per long card); with no JS every word shows. The words themselves are never cut in the HTML. */
.k-carousel--quotes .k-quote__t{ margin:0 0 14px !important; }
.k-carousel--quotes.k-clamp .k-quote:not(.is-open) .k-quote__t{ display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:8; line-clamp:8; overflow:hidden; }
.k-quote__more{ align-self:flex-start; margin:-6px 0 14px; padding:4px 0; border:0; background:none; font:inherit; font-size:.8rem; font-weight:700;
  color:var(--k-brand); text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.k-quote__more:focus-visible{ outline:3px solid var(--k-btn); outline-offset:2px; }
.k-quote__reply{ margin:0 0 14px !important; padding:10px 12px; border-left:3px solid var(--k-btn); background:var(--k-sunk, #f6f1e8);
  font-size:.82rem; line-height:1.55; color:var(--k-ink-muted); }
.k-quote__src--google::before, .k-quote__src--angi::before{ content:""; display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:6px; vertical-align:1px; }
.k-quote__src--google::before{ background:#4285F4; } .k-quote__src--angi::before{ background:#FF6153; }
@media (max-width:560px){ .k-carousel--quotes .k-carousel__track{ grid-auto-columns:88%; } }

/* -- A square brand badge as the header logo, a size up (84 / 68 / 60px, 50 stuck). M&J ran it for an hour on
      2026-09-28 and went back to the default 62px; kept for badge logos that need it. */
.k-hdr--badge .k-hdr__logo img{ height:84px; }
.k-hdr--badge.is-stuck .k-hdr__logo img{ height:50px; }
@media (max-width:900px){ .k-hdr--badge .k-hdr__logo img{ height:68px; } }
@media (max-width:560px){ .k-hdr--badge .k-hdr__logo img{ height:60px; } }
/* a carousel whose slides all fit needs no arrows (kit.js sets .is-static) */
.k-carousel.is-static .k-carousel__nav{ display:none; }

/* -- Framed poster (M&J, Steven 2026-09-28, after seeing the full-bleed version live: "heavy"). From 701px up the art sits
      on the page as a card: at most the content width, the kit's radius, and height-capped so the first screen at 1440x900
      also shows the trust strip. Scaled to fit, never cropped or covered (the caps card lifts into the section's bottom
      padding, not into the art). Phones keep the whole-width poster with the words as real text under it. */
@media (min-width:701px){
  .k-hero--poster.k-hero--framed{ background:var(--k-ground); padding:26px var(--k-gutter) 0 !important; }
  .k-hero--framed > .k-hero__poster{ width:auto; height:auto; max-width:min(100%, var(--k-shell));
    max-height:clamp(380px, calc(100vh - 290px), 700px); border-radius:var(--k-radius);
    box-shadow:0 26px 50px -30px rgba(20,14,5,.55); }
  .k-hero--framed.k-hero--overlapped{ padding-bottom:78px !important; }
}

/* ============================================================================
   INVENTORY (dealer sites; Metz Machines 2026-09-29). Opt-in: k-inv* / k-unit* / k-prices.
   The markup is emitted by a sync plugin's blocks on WordPress (metz-inventory: MM_Front::render_grid /
   render_detail) and hand-written in the prototype, byte for byte the same classes, so the differ measures it.
   Colour comes from tokens only: --k-accent = the price ink on light cards, --k-btn/--k-btn-ink = badges.
   ========================================================================= */
.k-inv-filter{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)) auto; gap:14px; align-items:end;
  padding:18px; background:var(--k-surface); border:1px solid var(--k-rule); border-radius:var(--k-radius);
  margin:0 0 18px !important; }
/* fewer selects (a preset landing grid fixes some dimensions): the columns follow the count, the button stays last */
@media (min-width:1025px){ .k-inv-filter:has(> .k-inv-filter__f:nth-of-type(3):last-of-type){ grid-template-columns:repeat(3, minmax(0,1fr)) auto; } }
@media (min-width:1025px){ .k-inv-filter:has(> .k-inv-filter__f:nth-of-type(2):last-of-type){ grid-template-columns:repeat(2, minmax(0,1fr)) auto; } }
@media (min-width:1025px){ .k-inv-filter:has(> .k-inv-filter__f:nth-of-type(1):last-of-type){ grid-template-columns:minmax(0,1fr) auto; } }
.k-inv-filter__f{ display:flex; flex-direction:column; gap:6px; font-size:.78rem; font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; color:var(--k-ink-muted); }
.k-inv-filter__f select{ font:inherit; font-size:1rem; font-weight:500; letter-spacing:0; text-transform:none; color:var(--k-ink);
  padding:11px 12px; border:1px solid var(--k-rule); border-radius:var(--k-radius); background:var(--k-ground); min-height:46px; }
.k-inv-filter .k-btn{ min-height:46px; padding-block:12px; border:0; cursor:pointer; font:inherit; font-weight:700; }
.k-inv__count{ font-size:.92rem; color:var(--k-ink-muted); margin:0 0 18px !important; }
.k-inv__grid{ list-style:none; padding:0; margin:0 !important; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:22px; }
.k-inv__card{ margin:0 !important; border:1px solid var(--k-rule); border-radius:var(--k-radius); background:var(--k-surface);
  overflow:hidden; transition:transform .25s, box-shadow .25s; }
.k-inv__card:hover, .k-inv__card:focus-within{ transform:translateY(-3px); box-shadow:0 16px 30px -18px rgba(0,0,0,.45); }
.k-inv__link{ display:flex; flex-direction:column; height:100%; color:inherit; text-decoration:none; }
.k-inv__art{ position:relative; aspect-ratio:4/3; background:var(--k-sunk); overflow:hidden; margin:0 !important; }
.k-inv__img{ display:block; width:100%; height:100%; object-fit:cover; }
.k-inv__noimg{ position:absolute; inset:0; display:grid; place-items:center; font-size:.85rem; color:var(--k-ink-faint); }
.k-inv__badge{ position:absolute; top:12px; left:12px; padding:5px 10px; border-radius:2px; font-size:.72rem; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; background:var(--k-brand-deep); color:var(--k-btn); line-height:1.2; }
.k-inv__badge--status{ left:auto; right:12px; background:var(--k-btn); color:var(--k-btn-ink); }
.k-inv__h{ font-size:1.15rem; line-height:1.25; margin:16px 18px 6px !important; font-weight:700; }
.k-inv__meta{ font-size:.86rem; color:var(--k-ink-muted); margin:0 18px !important; }
.k-inv__pricing{ margin:auto 18px 18px !important; padding-top:12px; display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; }
.k-inv__price{ font-size:1.5rem; font-weight:700; color:var(--k-accent); line-height:1; }
.k-inv__price--call{ font-size:1.05rem; }
.k-inv__msrp{ font-size:.86rem; color:var(--k-ink-faint); }
.k-inv__empty{ padding:28px; border:1px dashed var(--k-rule); border-radius:var(--k-radius); }
.k-inv__pages{ margin-top:30px !important; }
.k-inv__more{ margin-top:26px !important; }  /* a preset landing grid's link into the full listing (Metz, 2026-09-29) */
.k-inv__pages ul{ list-style:none; padding:0; margin:0; display:flex; gap:8px; flex-wrap:wrap; }
.k-inv__pages a, .k-inv__pages span{ display:inline-block; min-width:44px; padding:10px 14px; text-align:center;
  border:1px solid var(--k-rule); border-radius:var(--k-radius); text-decoration:none; color:inherit; }
.k-inv__pages .current{ background:var(--k-brand-deep); color:var(--k-on-dark); border-color:var(--k-brand-deep); }
@media (max-width:1024px){ .k-inv-filter{ grid-template-columns:repeat(2, minmax(0,1fr)); } .k-inv-filter .k-btn{ grid-column:1 / -1; } }
@media (max-width:900px){ .k-inv__grid{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:16px; } }
@media (max-width:560px){ .k-inv__grid{ grid-template-columns:1fr; } .k-inv-filter{ grid-template-columns:1fr; padding:14px; } }
@media (prefers-reduced-motion:reduce){ .k-inv__card{ transition:none; } .k-inv__card:hover{ transform:none; } }

/* unit detail: photos left, a sticky price panel right; one photo per view */
.k-unit{ display:grid; grid-template-columns:minmax(0,1.55fr) minmax(0,1fr); gap:20px 40px; align-items:start; }
.k-unit__gallery{ grid-column:1; min-width:0; }
.k-carousel--single .k-carousel__track, .k-unit__gallery .k-carousel__track{ grid-auto-columns:100%; gap:0; }
.k-unit__photo{ margin:0 !important; aspect-ratio:4/3; background:var(--k-sunk); border-radius:var(--k-radius); overflow:hidden; }
.k-unit__photo img{ display:block; width:100%; height:100%; object-fit:cover; }
.k-unit__noimg{ position:relative; aspect-ratio:4/3; background:var(--k-sunk); border-radius:var(--k-radius); }  /* a unit with no photos keeps the gallery box (it read as a blank gap, 2026-09-29) */
.k-unit__side{ grid-column:2; grid-row:1 / span 3; position:sticky; top:96px; padding:24px; background:var(--k-surface);
  border:1px solid var(--k-rule); border-radius:var(--k-radius); }
.k-unit__badge{ display:inline-block; margin:0 0 10px !important; padding:5px 10px; background:var(--k-btn); color:var(--k-btn-ink);
  font-size:.72rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; border-radius:2px; }
.k-unit__pricing{ margin:0 0 18px !important; display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; }
.k-unit__pricing .k-inv__price{ font-size:2.1rem; }
.k-unit__facts{ margin:0 0 20px !important; display:grid; gap:0; }
.k-unit__facts > div{ display:grid; grid-template-columns:9.5em 1fr; gap:12px; padding:9px 0; border-bottom:1px solid var(--k-rule); }
.k-unit__facts dt{ font-size:.78rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--k-ink-muted); padding-top:2px; }
.k-unit__facts dd{ margin:0; font-weight:600; overflow-wrap:anywhere; }
.k-unit__ctas{ display:flex; flex-direction:column; gap:10px; margin:0 !important; }
.k-unit__ctas .k-btn{ text-align:center; }
.k-unit__desc, .k-unit__form{ grid-column:1; margin:0 !important; }
.k-unit__desc > * + *{ margin-top:12px !important; }
@media (max-width:900px){
  .k-unit{ grid-template-columns:1fr; }
  .k-unit__side{ grid-column:1; grid-row:auto; position:static; }
}

/* a price sheet: label left, price right, dotted leader; one list per category */
.k-prices{ list-style:none; padding:0; margin:0 !important; border-top:1px solid var(--k-rule); }
.k-prices li{ display:flex; align-items:baseline; gap:12px; padding:12px 0; border-bottom:1px solid var(--k-rule); margin:0 !important; }
.k-prices__k{ flex:1 1 auto; }
.k-prices__k small{ display:block; font-size:.84rem; color:var(--k-ink-muted); }
.k-prices__v{ flex:0 0 auto; font-weight:700; color:var(--k-accent); font-variant-numeric:tabular-nums; }
ul.k-carousel__track{ list-style:none; padding:0; margin:0 !important; }   /* a rail of k-inv cards is a list */
.k-split__more{ margin-top:22px !important; }
.k-split__art.k-ph{ min-height:320px; }
.k-unit__formph{ min-height:260px; }

/* ============================================================================
   INTERACTIVE MODULES (2026-09-29): the five best behaviours from Paul's searchstrengthseo.com
   redesign (teardown: clients/search-strength/ss-site-teardown-2026-09-29/TEARDOWN.md), rewritten
   once as kit components. His pages carry each one as page-scoped CSS inside an Elementor HTML
   widget plus a global !important layer; here the geometry lives in this file, the colours come
   from the --k-* tokens, and kit.js adds behaviour only. Every rule is opt-in by class.
   Contract for all five: the HTML reads completely with JS off; every control is keyboard
   operable with a visible focus ring; nothing moves under prefers-reduced-motion; anything that
   moves on its own has a visible Pause control (WCAG 2.2.2; Paul's hover-only pause fails it).
   Type is declared on every text-bearing class, because an undeclared one inherits the HOST
   document (TT25's h3 is 300-weight with -0.1px tracking) and the prototype never sees that.
   Component ROOTS use margin-block only: a margin shorthand would beat the .k-section > * rule.
   ========================================================================= */

/* shared focus ring for the new controls */
.k-ba__range:focus-visible, .k-filter__btn:focus-visible, .k-proj__open:focus-visible, .k-lb__x:focus-visible,
.k-lb__nav:focus-visible, .k-area:focus-visible, .k-chipcloud a:focus-visible, .k-tabs__tab:focus-visible,
.k-tabs__play:focus-visible, .k-tabs__panel:focus-visible, .k-quiz__btn:focus-visible, .k-quiz__reset:focus-visible,
.k-filter__all:focus-visible{ outline:3px solid var(--k-focus, var(--k-btn)); outline-offset:2px; }

/* -- 1. Before/after slider --------------------------------------------------------------------
   Two photographs of THE SAME SCENE from the same angle (caption law: anything else is two tiles).
   The before image is clipped to --pos; a real <input type=range> carries keyboard + screen reader,
   and kit.js maps pointer/touch drags anywhere on the frame onto it. With JS off it rests at the
   split the markup gives (default 50%) with both images, both alts and both labels in place. */
.k-ba-fig{ margin:0; }   /* a <figure>: the browser gives it 40px side margins. No !important, so the .k-section > * shell rule still wins when it is a direct child */
.k-ba{ --pos:50%; position:relative; display:block; overflow:hidden; aspect-ratio:var(--k-ba-ratio, 3/2);
  border-radius:var(--k-radius); background:var(--k-sunk); user-select:none; -webkit-user-select:none; touch-action:pan-y;
  box-shadow:0 18px 40px -28px rgba(20,14,5,.55); }
.k-ba img{ position:absolute; inset:0; width:100%; height:100%; max-width:none; margin:0; object-fit:cover;
  object-position:var(--k-ba-focus, 50% 50%); display:block; pointer-events:none; -webkit-user-drag:none; }
.k-ba__before{ position:absolute; inset:0; clip-path:inset(0 calc(100% - var(--pos)) 0 0); }
.k-ba__line{ position:absolute; top:0; bottom:0; left:var(--pos); width:3px; margin-left:-1.5px; background:#fff;
  box-shadow:0 0 12px rgba(0,0,0,.35); pointer-events:none; }
.k-ba__line::after{ content:""; position:absolute; top:50%; left:50%; width:44px; height:44px; transform:translate(-50%,-50%);
  border-radius:50%; background:#fff; box-shadow:0 6px 18px rgba(0,0,0,.3); }
/* the handle's two outward chevrons: an SVG mask filled with the brand colour (a text glyph would take the host font) */
.k-ba__line::before{ content:""; position:absolute; top:50%; left:50%; z-index:1; width:24px; height:24px; transform:translate(-50%,-50%);
  background:var(--k-brand);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.k-ba__lab{ position:absolute; top:12px; z-index:2; margin:0; padding:7px 10px; border-radius:var(--k-radius);
  font-family:var(--k-font-body, inherit); font-size:.72rem; font-weight:700; line-height:1; letter-spacing:.08em;
  text-transform:uppercase; pointer-events:none; }
.k-ba__lab--before{ left:12px; background:rgba(0,0,0,.72); color:#fff; }
.k-ba__lab--after{ right:12px; background:var(--k-btn); color:var(--k-btn-ink); }
/* the range covers the frame so a screen reader finds it where the picture is; it is invisible,
   and pointer input goes to the frame (kit.js), so a stray tap on a phone never jumps the split */
.k-ba__range{ position:absolute; inset:0; width:100%; height:100%; margin:0; padding:0; opacity:0; z-index:3;
  cursor:ew-resize; -webkit-appearance:none; appearance:none; background:none; pointer-events:none; }
.k-ba.is-live{ cursor:ew-resize; }
.k-ba:has(.k-ba__range:focus-visible){ outline:3px solid var(--k-focus, var(--k-btn)); outline-offset:3px; }
.k-ba__cap{ margin:14px 0 0; max-width:var(--k-measure-lead); font-family:var(--k-font-body, inherit); font-size:var(--k-fs-small);
  font-weight:400; line-height:1.6; letter-spacing:normal; color:var(--k-ink-muted); }
@media (max-width:560px){
  .k-ba__lab{ top:8px; padding:6px 8px; font-size:.64rem; }
  .k-ba__lab--before{ left:8px; } .k-ba__lab--after{ right:8px; }
  .k-ba__line::after{ width:38px; height:38px; } .k-ba__line::before{ width:20px; height:20px; }
}

/* -- 2. Filterable project grid + lightbox ----------------------------------------------------
   Items are ANY element with data-k-tags inside .k-filter (a .k-proj card, or a .k-tile). The
   buttons are aria-pressed toggles; the count line is a polite live region; the empty state is a
   real paragraph (hidden until nothing matches). A card's image link goes straight to the full
   photo, so with JS off (or no <dialog>) it still opens; kit.js turns it into the lightbox. */
.k-filter{ margin-block:0 !important; }
.k-filter__bar{ display:flex; flex-wrap:wrap; gap:10px; margin:0 0 16px; padding:0; }
.k-filter__btn{ font-family:var(--k-font-body, inherit); font-size:.9rem; font-weight:600; line-height:1.2; letter-spacing:normal;
  min-height:44px; padding:11px 18px; border-radius:var(--k-radius-pill, 999px); border:1px solid var(--k-rule);
  background:var(--k-surface); color:var(--k-ink); cursor:pointer; transition:border-color .2s, background-color .2s, color .2s; }
.k-filter__btn:hover{ border-color:var(--k-brand); }
.k-filter__btn[aria-pressed="true"]{ background:var(--k-brand); border-color:var(--k-brand); color:#fff; }
.k-filter__count{ margin:0 0 24px; font-family:var(--k-font-body, inherit); font-size:var(--k-fs-small); font-weight:400;
  line-height:1.6; letter-spacing:normal; color:var(--k-ink-muted); }
.k-filter__count b{ font-weight:700; color:var(--k-ink); }
.k-filter__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.k-filter__grid > [hidden], .k-filter [data-k-tags][hidden]{ display:none !important; }
.k-filter__empty{ margin:0; padding:26px 24px; border:1px dashed var(--k-rule); border-radius:var(--k-radius);
  font-family:var(--k-font-body, inherit); font-size:var(--k-fs-small); font-weight:400; line-height:1.6; letter-spacing:normal;
  color:var(--k-ink-muted); background:var(--k-surface); }
.k-filter__empty[hidden]{ display:none; }
.k-filter__all{ margin-left:6px; padding:0; border:0; background:none; font:inherit; font-weight:700; color:var(--k-brand);
  text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
/* cards glide to their new place (kit.js, FLIP) and fade in when they return */
@keyframes k-filter-in{ from{ opacity:0; transform:scale(.97); } to{ opacity:1; transform:none; } }
.k-filter [data-k-tags].is-entering{ animation:k-filter-in .36s cubic-bezier(.2,.7,.2,1); }
@media (max-width:900px){ .k-filter__grid{ grid-template-columns:repeat(2,1fr); gap:16px; } }
@media (max-width:560px){
  /* one swipeable row of filters on a phone, never a four-line wall of pills */
  .k-filter__bar{ flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin-inline:calc(var(--k-gutter-sm) * -1);
    padding:2px var(--k-gutter-sm) 6px; scroll-padding-inline:var(--k-gutter-sm); }
  .k-filter__bar::-webkit-scrollbar{ display:none; }
  .k-filter__btn{ flex:none; }
  .k-filter__grid{ grid-template-columns:1fr; }
}

/* the project card */
.k-proj{ display:flex; flex-direction:column; margin:0; border:1px solid var(--k-rule); border-radius:var(--k-radius);
  overflow:hidden; background:var(--k-surface); }
.k-proj__open{ position:relative; display:block; overflow:hidden; aspect-ratio:var(--k-proj-ratio, 4/3); background:var(--k-sunk);
  color:inherit; text-decoration:none; }
.k-proj__open img{ display:block; width:100%; height:100%; max-width:none; margin:0; object-fit:cover;
  transition:transform .5s cubic-bezier(.2,.7,.2,1); }
.k-proj__open:hover img{ transform:scale(1.04); }
/* the "view larger" cue: always visible on touch, on hover/focus with a mouse */
.k-proj__open::after{ content:""; position:absolute; right:10px; bottom:10px; width:36px; height:36px; border-radius:50%;
  background:rgba(0,0,0,.66) no-repeat center / 18px 18px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M9 4H4v5M15 4h5v5M9 20H4v-5M15 20h5v-5'/%3E%3C/svg%3E");
  opacity:1; transition:opacity .2s; }
@media (hover:hover){ .k-proj__open::after{ opacity:0; } .k-proj__open:hover::after, .k-proj__open:focus-visible::after{ opacity:1; } }
.k-proj__body{ padding:16px 18px 20px; }
.k-proj__meta{ margin:0 0 4px; font-family:var(--k-font-body, inherit); font-size:.8rem; font-weight:600; line-height:1.5;
  letter-spacing:.02em; color:var(--k-ink-faint); }
.k-proj__h{ margin:0; font-family:var(--k-font-display, inherit); font-size:1.12rem; font-weight:600; line-height:1.3;
  letter-spacing:normal; color:var(--k-brand); }
/* opt-in caption under the title: one sentence that says what is in the photo (the lightbox shows it too) */
.k-proj__cap{ margin:6px 0 0; font-family:var(--k-font-body, inherit); font-size:var(--k-fs-small); font-weight:400; line-height:1.5;
  letter-spacing:normal; color:var(--k-ink-muted); }

/* opt-in mosaic (Metz Machines gallery, 2026-10-09): a 12-column grid where each card keeps its photo's own
   shape, so portraits and designed graphics show whole and wide shots are not shrunk to a thumbnail.
   --tall = a third, 3:4, shown whole (contain); --wide = two thirds, 3:2; --half = a half, 3:2; --pano = the
   full row at the photo's own ratio (set --k-proj-pano on the card, e.g. style="--k-proj-pano:1920/740"; 3:2 on phones). A wide + a tall, two halves, or three
   talls make one row of equal photo height. dense flow backfills the holes a filter leaves. */
.k-filter__grid--mosaic{ --k-mosaic-gap:22px; grid-template-columns:repeat(12, minmax(0,1fr)); grid-auto-flow:row dense;
  gap:var(--k-mosaic-gap); container-type:inline-size; }
.k-filter__grid--mosaic > *{ grid-column:span 4; }
.k-filter__grid--mosaic > .k-proj--wide{ grid-column:span 8; --k-proj-ratio:3/2; }
.k-filter__grid--mosaic > .k-proj--half{ grid-column:span 6; --k-proj-ratio:3/2; }
.k-filter__grid--mosaic > .k-proj--pano{ grid-column:1 / -1; --k-proj-ratio:var(--k-proj-pano, 21/9); }
.k-filter__grid--mosaic > .k-proj--tall{ --k-proj-ratio:3/4; }
.k-filter__grid--mosaic .k-proj__open img{ aspect-ratio:auto; height:100%; }
.k-filter__grid--mosaic .k-proj--tall .k-proj__open img{ object-fit:contain; }
/* --quarter (with --tall): a portrait a quarter of the row, shown whole; a --half + two --quarter = one even row */
.k-filter__grid--mosaic > .k-proj--quarter{ grid-column:span 3; }
/* opt-in grouping (Metz gallery v3, 2026-10-09): .k-filter__grid--grouped keeps every category together in source order
   (no dense backfill, which pulled later cards into earlier rows) under an <h2 class="k-filter__h"> that spans the row.
   The headings show in "All" only; a filtered view is one category, no heading. Each group must fill its own rows.
   --solo = a group's lone landscape, centred in "All" (in its own filter it is an ordinary --wide). */
.k-filter__grid--grouped{ grid-auto-flow:row; }
.k-filter__h, .k-filter__grid > .k-filter__h{ grid-column:1 / -1; margin:22px 0 -6px; padding-top:22px; border-top:1px solid var(--k-rule);
  font-family:var(--k-font-display, inherit); font-size:1.4rem; font-weight:600; line-height:1.25; letter-spacing:normal;
  color:var(--k-ink); }
.k-filter__h:first-child{ margin-top:0; padding-top:0; border-top:0; }
.k-filter[data-k-current]:not([data-k-current="all"]) .k-filter__h{ display:none; }
/* a wide card's photo is exactly as tall as the tall card beside it (4/3 of a third of the row) */
@media (min-width:901px){
  .k-filter__grid--mosaic > .k-proj--wide .k-proj__open{ aspect-ratio:auto; height:calc(((100cqw - 2 * var(--k-mosaic-gap)) / 3 - 2px) * 4 / 3); }   /* - 2px = the tall card's border */
  /* a quarter's photo is exactly as tall as the 3:2 half beside it */
  .k-filter__grid--mosaic > .k-proj--quarter .k-proj__open{ aspect-ratio:auto; height:calc(((100cqw - var(--k-mosaic-gap)) / 2 - 2px) * 2 / 3); }
  .k-filter:not([data-k-current]) .k-filter__grid--mosaic > .k-proj--solo,
  .k-filter[data-k-current="all"] .k-filter__grid--mosaic > .k-proj--solo{ grid-column:3 / span 8; }
}
@media (max-width:900px){
  .k-filter__grid--mosaic{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .k-filter__grid--mosaic > *, .k-filter__grid--mosaic > .k-proj--tall{ grid-column:span 1; }
  .k-filter__grid--mosaic > .k-proj--wide, .k-filter__grid--mosaic > .k-proj--half, .k-filter__grid--mosaic > .k-proj--pano,
  .k-filter__grid--mosaic > .k-proj--lead{ grid-column:1 / -1; }
  /* --lead: a tall PLACE photo that opens a run takes the row here, cut to 4:3 (never use it on a person or a graphic) */
  .k-filter__grid--mosaic > .k-proj--lead{ --k-proj-ratio:4/3; }
  .k-filter__grid--mosaic > .k-proj--lead.k-proj--tall .k-proj__open img{ object-fit:cover; }
}
@media (max-width:560px){
  .k-filter__grid--mosaic{ grid-template-columns:repeat(2, minmax(0,1fr)); --k-mosaic-gap:12px; }
  .k-filter__grid--mosaic > .k-proj--pano{ --k-proj-ratio:3/2; }
  .k-filter__grid--mosaic .k-proj--tall .k-proj__body{ padding:12px 12px 14px; }
}

/* opt-in photo strip (Metz Machines home, 2026-10-09): one row of photos at equal height, each as wide as its
   own shape (--r = width / height on the figure), nothing cropped. Two columns on tablets and phones, where a
   figure with --r above 1 takes the whole row. */
.k-strip{ display:flex; gap:12px; margin:0; }
.k-strip > figure{ flex:var(--r, 1) 1 0; min-width:0; margin:0; }
.k-strip > figure > img{ display:block; width:100%; height:auto; aspect-ratio:var(--r, 1); object-fit:cover; max-width:none; margin:0; }
.k-strip figcaption{ margin:8px 0 0; font-family:var(--k-font-body, inherit); font-size:var(--k-fs-small); font-weight:400; line-height:1.45;
  letter-spacing:normal; color:var(--k-ink-muted); }
@media (max-width:900px){
  .k-strip{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); grid-auto-flow:row dense; }
  .k-strip > .k-strip__wide{ grid-column:1 / -1; }
}

/* the lightbox: a native <dialog> (focus trap, Esc, inert page for free) */
.k-lb{ width:min(1100px, calc(100vw - 32px)); max-width:none; max-height:calc(100dvh - 32px); margin:auto; padding:0; border:0;
  border-radius:var(--k-radius); background:var(--k-brand-deep); color:var(--k-on-dark); overflow:hidden;
  box-shadow:0 40px 90px rgba(0,0,0,.5); overscroll-behavior:contain; }
.k-lb[open]{ display:flex; flex-direction:column; animation:k-lb-in .24s cubic-bezier(.2,.7,.2,1); }
.k-lb::backdrop{ background:rgba(6,8,10,.8); }
@keyframes k-lb-in{ from{ opacity:0; transform:translateY(10px) scale(.985); } to{ opacity:1; transform:none; } }
.k-lb__bar{ display:flex; align-items:center; gap:10px; min-height:56px; padding:8px 8px 8px 18px;
  border-bottom:1px solid rgba(255,255,255,.12); flex:none; }
.k-lb__t{ flex:1 1 auto; min-width:0; margin:0; font-family:var(--k-font-display, inherit); font-size:1rem; font-weight:600;
  line-height:1.3; letter-spacing:normal; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.k-lb__n{ flex:none; margin:0; font-family:var(--k-font-body, inherit); font-size:.8rem; font-weight:600; line-height:1;
  letter-spacing:normal; color:var(--k-on-dark); font-variant-numeric:tabular-nums; }
.k-lb__x, .k-lb__nav{ flex:none; display:grid; place-items:center; width:44px; height:44px; padding:0; margin:0; border-radius:50%;
  border:1px solid rgba(255,255,255,.3); background:rgba(255,255,255,.12); color:#fff; cursor:pointer; }
.k-lb__x:hover, .k-lb__nav:hover{ background:rgba(255,255,255,.24); }
.k-lb__x svg, .k-lb__nav svg{ width:18px; height:18px; display:block; }
.k-lb__nav[hidden]{ display:none; }
.k-lb__fig{ position:relative; flex:1 1 auto; min-height:0; margin:0; display:flex; flex-direction:column; background:#000; }
.k-lb__img{ display:block; flex:1 1 auto; min-height:0; width:100%; height:auto; max-height:calc(100dvh - 32px - 56px - 60px);
  max-width:none; margin:0; object-fit:contain; background:#000; }
.k-lb__cap{ flex:none; margin:0; padding:12px 18px 16px; font-family:var(--k-font-body, inherit); font-size:var(--k-fs-small);
  font-weight:400; line-height:1.5; letter-spacing:normal; color:var(--k-on-dark); background:var(--k-brand-deep); }
.k-lb__cap:empty{ display:none; }
/* the page does not scroll behind the dialog; the gutter stays so nothing jumps sideways */
html.k-lb-open{ overflow:hidden; scrollbar-gutter:stable; }

/* -- 3. Service-area cards + neighbourhood chips (CSS only) -----------------------------------
   Town cards grouped under small heads, then the long tail as a chip cloud. Every card and chip is
   a link to that town's page. ANCHOR TEXT follows Paul's in/near rule: "{Service} in {City}" only
   for the HQ city and its immediate area, "{Service} near {City}" for every other town — the same
   list the titles use (brand.notes). The component cannot know which is which; the author does. */
.k-areas{ margin-block:0 !important; }
.k-areas__h{ margin:0 0 14px; font-family:var(--k-font-body, inherit); font-size:var(--k-fs-eyebrow); font-weight:700;
  line-height:1.4; letter-spacing:.15em; text-transform:uppercase; color:var(--k-ink-faint); }
.k-areas__grid + .k-areas__h, .k-areas__grid + .k-chipcloud, .k-chipcloud + .k-areas__h{ margin-top:36px; }
.k-areas__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:0; padding:0; list-style:none; }
.k-area{ display:flex; flex-direction:column; gap:3px; height:100%; padding:18px 20px 20px; border:1px solid var(--k-rule);
  border-radius:var(--k-radius); background:var(--k-surface); color:var(--k-ink); text-decoration:none;
  transition:border-color .25s, transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.k-area:hover{ border-color:var(--k-brand); transform:translateY(-3px); box-shadow:0 16px 30px -24px rgba(20,14,5,.55); }
.k-area__town{ font-family:var(--k-font-display, inherit); font-size:1.12rem; font-weight:600; line-height:1.3; letter-spacing:normal;
  color:var(--k-brand); }
.k-area__sub{ font-family:var(--k-font-body, inherit); font-size:.86rem; font-weight:400; line-height:1.5; letter-spacing:normal;
  color:var(--k-ink-muted); }
.k-area__go{ margin-top:auto; padding-top:8px; font-family:var(--k-font-body, inherit); font-size:.86rem; font-weight:700;
  line-height:1.4; letter-spacing:normal; color:var(--k-btn); }
.k-area__go::after{ content:"\2192"; content:"\2192" / ""; display:inline-block; margin-left:6px; transition:transform .25s; }
.k-area:hover .k-area__go::after{ transform:translateX(4px); }
.k-area--home{ border-color:var(--k-brand); box-shadow:inset 0 3px 0 var(--k-accent); }
.k-chipcloud{ display:flex; flex-wrap:wrap; gap:10px; margin:0; padding:0; list-style:none; }
.k-chipcloud > li{ margin:0; padding:0; }
.k-chipcloud a{ display:inline-block; padding:9px 15px; border:1px solid var(--k-rule); border-radius:var(--k-radius-pill, 999px);
  background:var(--k-surface); font-family:var(--k-font-body, inherit); font-size:.88rem; font-weight:600; line-height:1.4;
  letter-spacing:normal; color:var(--k-ink); text-decoration:none; transition:border-color .2s, color .2s; }
.k-chipcloud a:hover{ border-color:var(--k-brand); color:var(--k-brand); text-decoration:underline; text-underline-offset:3px; }
.k-section--dark .k-area{ background:rgba(255,255,255,.05); border-color:rgba(255,255,255,.18); color:var(--k-on-dark); }
.k-section--dark .k-area__town, .k-section--dark .k-area__go{ color:#fff; }
.k-section--dark .k-area__sub, .k-section--dark .k-areas__h{ color:var(--k-on-dark); }
@media (max-width:900px){ .k-areas__grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .k-areas__grid{ grid-template-columns:1fr; gap:10px; } .k-area{ padding:14px 16px 16px; } }

/* -- 4. Tabs primitive ([data-k-tabs]) ---------------------------------------------------------
   Authored as a row of links (href="#panel-id") and the panels, all visible: with JS off it is a
   jump menu over readable sections. kit.js upgrades it to real ARIA tabs (roving tabindex, arrows,
   Home/End, automatic activation) and only THEN hides the other panels. A panel's own heading
   (.k-tabs__ph) is kept for no-JS readers and search, and visually hidden once the tab shows it.
   On a phone the tab row scrolls sideways with a fade on the edge that still has more. */
.k-tabs{ margin-block:0 !important; }
.k-tabs__bar{ display:flex; align-items:center; gap:12px; margin:0 0 22px; }
.k-tabs__list{ position:relative; display:flex; gap:8px; flex:1 1 auto; min-width:0; margin:0; padding:2px; overflow-x:auto; scrollbar-width:none;
  overscroll-behavior-x:contain; }
.k-tabs__list::-webkit-scrollbar{ display:none; }
.k-tabs__list.has-more{ -webkit-mask-image:linear-gradient(90deg, #000 calc(100% - 56px), transparent);
  mask-image:linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.k-tabs__list.has-more.is-end{ -webkit-mask-image:none; mask-image:none; }
.k-tabs__tab{ position:relative; flex:none; display:inline-flex; flex-direction:column; align-items:flex-start; justify-content:center;
  gap:2px; min-height:44px; padding:10px 18px; overflow:hidden; border:1px solid var(--k-rule); border-radius:var(--k-radius);
  background:var(--k-surface); font-family:var(--k-font-body, inherit); font-size:.92rem; font-weight:600; line-height:1.25;
  letter-spacing:normal; color:var(--k-ink); text-align:left; text-decoration:none; white-space:nowrap; cursor:pointer;
  transition:border-color .2s, background-color .2s, color .2s; }
.k-tabs__tab:hover{ border-color:var(--k-brand); }
.k-tabs__tab[aria-selected="true"]{ background:var(--k-brand); border-color:var(--k-brand); color:#fff; }
.k-tabs__sub{ display:block; font-size:.76rem; font-weight:400; line-height:1.3; color:var(--k-ink-muted); }
.k-tabs__tab[aria-selected="true"] .k-tabs__sub{ color:rgba(255,255,255,.86); }
/* autoplay progress: a thin bar filling along the running tab (only while autoplay runs) */
.k-tabs__tab::after{ content:""; position:absolute; left:0; bottom:0; height:3px; width:100%; transform:scaleX(0);
  transform-origin:left; background:var(--k-accent); }
.k-tabs__tab.is-run::after{ animation:k-tabs-run var(--k-tabs-ms, 6000ms) linear forwards; }
.k-tabs.is-held .k-tabs__tab.is-run::after{ animation-play-state:paused; }
@keyframes k-tabs-run{ to{ transform:scaleX(1); } }
.k-tabs__play{ flex:none; min-height:44px; padding:8px 4px; border:0; background:none; font-family:var(--k-font-body, inherit);
  font-size:.85rem; font-weight:700; line-height:1.2; letter-spacing:normal; color:var(--k-brand);
  text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.k-tabs__play[hidden]{ display:none; }
.k-tabs__panel{ margin:0; }
.k-tabs__panel + .k-tabs__panel{ margin-top:28px; }            /* no-JS: the panels stack as sections */
.k-tabs.is-live .k-tabs__panel + .k-tabs__panel{ margin-top:0; }
.k-tabs__panel[hidden]{ display:none !important; }
.k-tabs__panel:focus:not(:focus-visible){ outline:none; }   /* a click gets no ring; the keyboard keeps the :focus-visible ring (Metz 09-29: the bare :focus rule came later and ate it) */
.k-tabs__ph{ margin:0 0 10px; font-family:var(--k-font-display, inherit); font-size:1.22rem; font-weight:600; line-height:1.3;
  letter-spacing:normal; color:var(--k-brand); }
.k-tabs.is-live .k-tabs__ph{ position:absolute !important; width:1px !important; height:1px !important; margin:-1px !important;
  padding:0 !important; overflow:hidden !important; clip-path:inset(50%) !important; white-space:nowrap !important; }
/* vertical tabs (data-k-tabs="vertical"): the list becomes a column beside the panel from 901px up */
@media (min-width:901px){
  .k-tabs--vertical.is-live{ display:grid; grid-template-columns:minmax(220px, 1fr) 2.4fr; gap:28px; align-items:start; }
  .k-tabs--vertical .k-tabs__bar{ flex-direction:column; align-items:stretch; margin:0; }
  .k-tabs--vertical .k-tabs__list{ flex-direction:column; overflow:visible; -webkit-mask-image:none; mask-image:none; }
  .k-tabs--vertical .k-tabs__tab{ width:100%; white-space:normal; }
}

/* -- 5. Yes/No qualifier quiz (.k-quiz, the multi-question sibling of .k-triage) ---------------
   Put it on the triage box: class="k-triage k-quiz" borrows the box, heading and sub-line. Each
   question is a pair of aria-pressed buttons; the meter fills with the yes-count; the verdict is
   one of several authored bands (data-k-yes="0-1", "2", "3-4"), each with its own heading, text
   and call to action. With JS off every band is readable, each prefixed with its range, so the
   advice is never locked behind a script. The verdict copy is a claim: the claims audit applies. */
.k-quiz__cols{ display:grid; grid-template-columns:1.25fr 1fr; gap:24px; align-items:start; }
.k-quiz__qs{ display:grid; gap:10px; margin:0; padding:0; list-style:none; counter-reset:k-quiz; }
.k-quiz__q{ counter-increment:k-quiz; display:grid; grid-template-columns:1fr auto; gap:14px; align-items:center; margin:0;
  padding:14px 16px; border:1px solid var(--k-rule); border-radius:var(--k-radius); background:var(--k-surface);
  transition:border-color .25s, background-color .25s; }
.k-quiz__q.is-yes{ border-color:var(--k-brand); box-shadow:inset 3px 0 0 var(--k-accent); }
.k-quiz__t{ margin:0; font-family:var(--k-font-body, inherit); font-size:.98rem; font-weight:600; line-height:1.45;
  letter-spacing:normal; color:var(--k-ink); }
.k-quiz__t::before{ content:counter(k-quiz) ". "; color:var(--k-accent); font-variant-numeric:tabular-nums; }
.k-quiz__yn{ display:flex; gap:6px; }
.k-quiz__btn{ min-width:64px; min-height:44px; padding:10px 14px; border:1px solid var(--k-rule); border-radius:var(--k-radius);
  background:var(--k-surface); font-family:var(--k-font-body, inherit); font-size:.9rem; font-weight:700; line-height:1.2;
  letter-spacing:normal; color:var(--k-ink); cursor:pointer; transition:border-color .2s, background-color .2s, color .2s; }
.k-quiz__btn:hover{ border-color:var(--k-brand); }
.k-quiz__btn[aria-pressed="true"]{ background:var(--k-brand); border-color:var(--k-brand); color:#fff; }
.k-quiz__out{ position:sticky; top:96px; padding:24px 24px 26px; border-radius:var(--k-radius); background:var(--k-brand-deep);
  color:var(--k-on-dark); }
.k-quiz__scale{ display:flex; justify-content:space-between; margin:0 0 6px; font-family:var(--k-font-body, inherit);
  font-size:.72rem; font-weight:700; line-height:1.4; letter-spacing:.12em; text-transform:uppercase; color:var(--k-on-dark); }
.k-quiz__meter{ height:10px; margin:0 0 16px; border-radius:99px; background:rgba(255,255,255,.14); overflow:hidden; }
.k-quiz__meter > i{ display:block; height:100%; width:var(--k-quiz-fill, 0%); border-radius:inherit; background:var(--k-accent-on-dark, #fff);
  transition:width .45s cubic-bezier(.16,1,.3,1); }
.k-quiz__prog{ margin:0 0 12px; font-family:var(--k-font-body, inherit); font-size:.8rem; font-weight:600; line-height:1.4;
  letter-spacing:normal; color:var(--k-on-dark); }
.k-quiz__band + .k-quiz__band{ margin-top:18px; padding-top:18px; border-top:1px solid rgba(255,255,255,.14); }  /* no-JS: bands stack */
.k-quiz.is-live .k-quiz__band + .k-quiz__band{ margin-top:0; padding-top:0; border-top:0; }
.k-quiz__band[hidden]{ display:none !important; }
.k-quiz__range{ margin:0 0 4px; font-family:var(--k-font-body, inherit); font-size:.72rem; font-weight:700; line-height:1.4;
  letter-spacing:.12em; text-transform:uppercase; color:var(--k-on-dark); }
.k-quiz.is-live .k-quiz__range{ display:none; }
.k-quiz__vh{ margin:0 0 8px; font-family:var(--k-font-display, inherit); font-size:1.3rem; font-weight:600; line-height:1.25;
  letter-spacing:normal; color:#fff; }
.k-quiz__vt{ margin:0 0 16px; font-family:var(--k-font-body, inherit); font-size:var(--k-fs-small); font-weight:400; line-height:1.6;
  letter-spacing:normal; color:var(--k-on-dark); }
.k-quiz__band .k-btn{ margin:0; }
.k-quiz__reset{ display:inline-block; margin-top:16px; padding:6px 0; border:0; background:none; font-family:var(--k-font-body, inherit);
  font-size:.82rem; font-weight:700; line-height:1.3; letter-spacing:normal; color:#fff; text-decoration:underline;
  text-underline-offset:3px; cursor:pointer; }
.k-quiz__reset[hidden]{ display:none; }
.k-quiz__reset:focus-visible{ outline-color:#fff; }
/* no JS: the questions read as a checklist and every band is shown with its range; the controls,
   meter and the "answer the questions" start band only appear once kit.js is running */
.k-quiz:not(.is-live) .k-quiz__yn, .k-quiz:not(.is-live) .k-quiz__scale, .k-quiz:not(.is-live) .k-quiz__meter,
.k-quiz:not(.is-live) .k-quiz__prog, .k-quiz:not(.is-live) .k-quiz__band[data-k-start], .k-quiz:not(.is-live) .k-quiz__reset{ display:none; }
@media (max-width:900px){ .k-quiz__cols{ grid-template-columns:1fr; } .k-quiz__out{ position:static; } }
@media (max-width:560px){ .k-quiz__q{ grid-template-columns:1fr; gap:10px; } .k-quiz__btn{ flex:1 1 0; }
  .k-triage.k-quiz{ padding:24px 16px 20px; } .k-quiz__out{ padding:20px 18px 22px; }
  .k-lb__bar{ padding-left:14px; } .k-lb__t{ white-space:normal; font-size:.92rem; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; } }

@media (prefers-reduced-motion:reduce){
  .k-proj__open img, .k-area, .k-area__go::after, .k-quiz__meter > i, .k-quiz__q, .k-filter__btn, .k-tabs__tab{ transition:none !important; }
  .k-proj__open:hover img, .k-area:hover, .k-area:hover .k-area__go::after{ transform:none; }
  .k-lb[open], .k-filter [data-k-tags].is-entering, .k-tabs__tab.is-run::after{ animation:none !important; }
}

/* ══ CALM-PRACTICE MODULES (The Wellness Hub, 2026-10-08) ═══════════════════════════════════════
   Glass header, Services dropdown, left section index, still-photo "window" band, video slot,
   logo slots, check list, pending tag, tinted band, arched art. All opt-in by class: a site that
   never uses them is untouched. Behaviour (dropdown, index scrollspy) lives in kit.js in its own
   IIFE. Built for a clinic whose owners asked for "calm", "gorgeous", "glass", "shrink" and "the
   index" by name on the 10-07 demo call (clients/wellness-hub/client-input/DECISIONS-2026-10-08.md). */

/* -- Glass header: a frosted capsule floating over the page; shrinks with .is-stuck (kit.js). ---- */
.k-hdr--glass{ background:transparent; padding:14px var(--k-gutter) 0; pointer-events:none;
  transition:padding .26s cubic-bezier(.2,.6,.3,1); }
.k-hdr--glass .k-hdr__solo{ pointer-events:auto; position:relative; padding:9px 10px 9px 20px; border-radius:999px;
  background:color-mix(in srgb, var(--k-surface) 74%, transparent);
  -webkit-backdrop-filter:blur(18px) saturate(170%); backdrop-filter:blur(18px) saturate(170%);
  border:1px solid color-mix(in srgb, var(--k-ink) 9%, transparent);
  box-shadow:0 1px 0 rgba(255,255,255,.6) inset, 0 10px 30px -14px rgba(20,32,24,.24);
  transition:padding .26s cubic-bezier(.2,.6,.3,1), box-shadow .26s ease, background-color .26s ease; }
.k-hdr--glass.is-stuck{ padding-top:8px; box-shadow:none; }
.k-hdr--glass.is-stuck .k-hdr__solo{ padding-block:5px; background:color-mix(in srgb, var(--k-surface) 86%, transparent);
  box-shadow:0 1px 0 rgba(255,255,255,.6) inset, 0 14px 34px -14px rgba(20,32,24,.34); }
.k-hdr--glass .k-hdr__nav{ gap:22px; }
.k-hdr--glass .k-hdr__link{ color:var(--k-ink); border-bottom:0; padding-block:6px; font-size:.9rem; font-weight:500; }
.k-hdr--glass .k-hdr__link:hover{ color:var(--k-brand); }
.k-hdr--glass .k-hdr__right{ margin-left:0; gap:18px; }
.k-hdr--glass .k-book{ border-radius:999px; padding:11px 22px; transition:padding .26s cubic-bezier(.2,.6,.3,1); }
.k-hdr--glass.is-stuck .k-book{ padding-block:8px; }
.k-hdr--glass .k-hdr__toggle{ color:var(--k-brand); }
/* a text lockup instead of an image logo: a ring monogram + the name */
.k-hdr__brand{ display:flex; align-items:center; gap:12px; flex:0 0 auto; text-decoration:none; color:var(--k-brand); }
.k-hdr__mono{ display:grid; place-items:center; width:44px; height:44px; border-radius:50%; box-sizing:border-box;
  border:1.5px solid var(--k-accent); font-family:var(--k-font-display, inherit); font-size:.78rem; font-weight:600;
  letter-spacing:.1em; line-height:1; color:var(--k-brand); padding-left:.1em;
  transition:width .26s cubic-bezier(.2,.6,.3,1), height .26s cubic-bezier(.2,.6,.3,1); }
.k-hdr__name{ font-family:var(--k-font-display, inherit); font-size:1.16rem; font-weight:500; line-height:1.1;
  letter-spacing:.01em; white-space:nowrap; color:var(--k-brand); }
.k-hdr__name small{ display:block; margin-top:4px; font-family:var(--k-font-body, inherit); font-size:.6rem; font-weight:600;
  letter-spacing:.17em; text-transform:uppercase; line-height:1.2; color:var(--k-ink-faint); }
.k-hdr.is-stuck .k-hdr__mono{ width:36px; height:36px; }
.k-hdr__ins{ font-size:.9rem; font-weight:600; line-height:1.4; letter-spacing:normal; color:var(--k-brand);
  text-decoration:underline; text-decoration-color:color-mix(in srgb, var(--k-accent) 70%, transparent);
  text-decoration-thickness:2px; text-underline-offset:6px; white-space:nowrap; }
.k-hdr__ins:hover{ text-decoration-color:var(--k-accent); }
.k-hdr__link--mob{ display:none; }
@media (max-width:1100px){ .k-hdr--glass .k-hdr__nav{ gap:16px; } .k-hdr__name small{ display:none; } }

/* -- Dropdown inside .k-hdr__nav: hover / keyboard focus / click open it on desktop; inside the
   phone menu the links simply list under their label. Opens on :focus-visible, not :focus-within,
   or a mouse click would leave it pinned open after the button closes it. Escape adds .is-shut (kit.js) so the
   focus it returns to the button does not reopen the menu; leaving the dropdown clears it. ---------- */
.k-hdr__dd{ position:relative; }
.k-hdr__ddbtn{ display:inline-flex; align-items:center; gap:7px; margin:0; background:none; border:0; cursor:pointer;
  font-family:inherit; }
.k-hdr__ddbtn::after{ content:""; width:6px; height:6px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor;
  transform:translateY(-2px) rotate(45deg); transition:transform .2s ease; }
.k-hdr__dd.is-open .k-hdr__ddbtn::after{ transform:translateY(1px) rotate(-135deg); }
.k-hdr__menu{ position:absolute; left:50%; top:100%; z-index:5; min-width:268px; margin-top:14px; padding:8px; box-sizing:border-box;
  background:var(--k-surface); border:1px solid var(--k-rule); border-radius:16px;
  box-shadow:0 24px 48px -20px rgba(20,32,24,.38); opacity:0; visibility:hidden; transform:translate(-50%,6px);
  transition:opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.k-hdr__menu::before{ content:""; position:absolute; left:0; right:0; top:-16px; height:16px; }  /* hover bridge across the gap */
.k-hdr__dd:hover .k-hdr__menu, .k-hdr__dd:not(.is-shut):has(:focus-visible) .k-hdr__menu, .k-hdr__dd.is-open .k-hdr__menu{
  opacity:1; visibility:visible; transform:translate(-50%,0); transition:opacity .18s ease, transform .18s ease; }
.k-hdr__mlink{ display:block; padding:10px 14px; border-radius:10px; text-decoration:none; color:var(--k-ink);
  font-size:.92rem; font-weight:600; line-height:1.35; letter-spacing:normal; }
.k-hdr__mlink small{ display:block; margin-top:2px; font-size:.76rem; font-weight:400; line-height:1.4; color:var(--k-ink-faint); }
.k-hdr__mlink:hover, .k-hdr__mlink:focus-visible{ background:var(--k-sunk); color:var(--k-brand); }
.k-hdr__mrule{ height:1px; margin:6px 10px; background:var(--k-rule); border:0; }
@media (prefers-reduced-motion:reduce){ .k-hdr__menu, .k-hdr__ddbtn::after{ transition:none; } }
@media (max-width:1024px){
  .k-hdr--glass{ padding:10px var(--k-gutter-sm) 0; }
  .k-hdr--glass .k-hdr__solo{ padding:6px 6px 6px 14px; }
  .k-hdr--glass .k-hdr__nav{ top:calc(100% + 8px); left:0; right:0; padding:6px 0 10px; gap:0; background:var(--k-surface);
    border:1px solid var(--k-rule); border-radius:20px; box-shadow:0 24px 48px -20px rgba(20,32,24,.4); max-height:calc(100vh - 110px); }
  .k-hdr--glass .k-hdr__nav .k-hdr__link{ display:block; padding:12px 22px; font-size:1rem; border-top:0; }
  .k-hdr__nav .k-hdr__link--mob{ display:block; }
  .k-hdr__dd{ position:static; }
  .k-hdr__dd:not(.k-hdr__dd--tap) .k-hdr__ddbtn{ pointer-events:none; color:var(--k-ink-faint) !important; font-size:.72rem !important; font-weight:700 !important;
    letter-spacing:.15em !important; text-transform:uppercase; padding-bottom:2px !important; }
  .k-hdr__dd:not(.k-hdr__dd--tap) .k-hdr__ddbtn::after{ display:none; }
  .k-hdr__menu{ position:static; min-width:0; margin:0; padding:0 0 6px; border:0; border-radius:0; box-shadow:none; background:transparent;
    opacity:1; visibility:visible; transform:none !important; transition:none; }   /* !important: the desktop open states (hover, .is-open) centre it with translate(-50%) */
  /* opt-in .k-hdr__dd--tap (Metz Machines, 2026-10-09): in the phone menu the label is a real button that
     opens and closes its links (aria-expanded via kit.js), instead of an always-open heading. */
  .k-hdr__dd--tap .k-hdr__ddbtn{ display:flex; width:100%; justify-content:space-between; text-align:left; box-sizing:border-box; }
  .k-hdr__dd--tap .k-hdr__menu{ display:none; }
  .k-hdr__dd--tap.is-open .k-hdr__menu{ display:block; }
  .k-hdr__menu::before{ display:none; }
  .k-hdr__mlink{ padding:9px 22px 9px 34px; border-radius:0; font-weight:500; }
  .k-hdr__mlink small{ display:none; }
  .k-hdr__mrule{ display:none; }
}

/* -- Section index: a fixed column of dots on the left, one per section, the current one lit.
   Labels show beside the dots from 1400px; between 1180 and 1399 the dots stand alone and the
   label appears on hover or keyboard focus; under 1180 the index is hidden (phones have the
   .k-stick bar). Markup is static (works without JS); kit.js lights the current entry and fills
   the spine. It must sit OUTSIDE every .k-section: the shell rule would pin it to the column. ---- */
/* a frosted panel behind it, so the labels stay readable over a dark band or a photograph */
.k-index{ position:fixed; z-index:40; top:50%; left:max(10px, calc((100vw - var(--k-shell)) / 2 - 178px));
  transform:translateY(-50%); display:none; flex-direction:column; gap:0; margin:0; padding:10px 14px 10px 26px;
  border-radius:16px; background:color-mix(in srgb, var(--k-surface) 72%, transparent);
  -webkit-backdrop-filter:blur(14px) saturate(160%); backdrop-filter:blur(14px) saturate(160%);
  border:1px solid color-mix(in srgb, var(--k-ink) 7%, transparent); box-shadow:0 10px 28px -18px rgba(20,32,24,.35); }
@media (min-width:1180px){ .k-index{ display:flex; } }
.k-index::before, .k-index::after{ content:""; position:absolute; left:12px; top:25px; width:2px; border-radius:2px; }
.k-index::before{ bottom:25px; background:color-mix(in srgb, var(--k-ink) 13%, transparent); }
.k-index::after{ height:calc((100% - 50px) * var(--k-index-p, 0)); background:var(--k-accent);
  transition:height .28s cubic-bezier(.2,.7,.3,1); }
.k-index__a{ position:relative; display:flex; align-items:center; min-height:30px; text-decoration:none; color:var(--k-ink-faint); }
.k-index__a::before{ content:""; position:absolute; left:-18px; top:50%; width:10px; height:10px; margin-top:-5px; box-sizing:border-box;
  border-radius:50%; background:var(--k-ground); border:2px solid color-mix(in srgb, var(--k-ink) 26%, transparent); z-index:1;
  transition:transform .28s cubic-bezier(.34,1.4,.64,1), background-color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.k-index__t{ font-family:var(--k-font-body, inherit); font-size:.74rem; font-weight:600; line-height:1.3; letter-spacing:.03em;
  white-space:nowrap; opacity:.6; transform:translateX(-2px); transition:opacity .2s ease, color .2s ease, transform .2s ease; }
.k-index__a:hover::before, .k-index__a:focus-visible::before{ border-color:var(--k-accent); }
.k-index__a:hover .k-index__t, .k-index__a:focus-visible .k-index__t{ opacity:1; transform:none; color:var(--k-brand); }
.k-index__a.is-on::before{ background:var(--k-accent); border-color:var(--k-accent); transform:scale(1.3);
  box-shadow:0 0 0 4px color-mix(in srgb, var(--k-accent) 22%, transparent); }
.k-index__a.is-on .k-index__t{ opacity:1; transform:none; color:var(--k-ink); font-weight:700; }
.k-index__a:focus-visible{ outline:2px solid var(--k-accent); outline-offset:3px; border-radius:6px; }
@media (min-width:1180px) and (max-width:1399px){
  .k-index{ left:10px; padding-right:8px; }
  .k-index__a{ width:12px; }
  .k-index__t{ position:absolute; left:4px; top:50%; padding:4px 11px; border-radius:999px; background:var(--k-surface);
    border:1px solid var(--k-rule); box-shadow:0 8px 20px -12px rgba(20,32,24,.4); opacity:0; pointer-events:none;
    transform:translate(-4px,-50%); }
  .k-index__a.is-on .k-index__t{ opacity:0; transform:translate(-4px,-50%); }
  .k-index__a:hover .k-index__t, .k-index__a:focus-visible .k-index__t{ opacity:1; transform:translate(0,-50%); }
}
@media (prefers-reduced-motion:reduce){ .k-index::after, .k-index__a::before, .k-index__t{ transition:none; } }
/* -- Section index on phones and tablets (added 2026-10-12, The Wellness Hub: Heather looked at the demo on her
   phone and called the index "every ADHD person's dream"). Under 1180px the dot column becomes ONE pill at the
   bottom right, "On this page" plus the section you are in (above the .k-stick bar where a site has one). A tap
   opens the same links as a panel with the current one lit; Escape, a tap outside or picking a section closes it.
   The pill is a <button class="k-index__btn"> placed LAST in the nav (so the focus order matches what you see);
   kit.js adds .is-ready, so with no JS nothing changes under 1180px: the index stays hidden as before. -- */
.k-index__btn{ display:none; }
@media (max-width:1179px){
  .k-index.is-ready{ display:flex; flex-direction:column; align-items:stretch; top:auto; left:auto; right:12px;
    bottom:calc(14px + env(safe-area-inset-bottom, 0px)); transform:none; z-index:45; gap:0; margin:0; padding:0;
    max-width:calc(100vw - 24px); max-height:calc(100vh - 150px); overflow:visible;
    background:none; border:0; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; }
  .k-index.is-ready::before, .k-index.is-ready::after{ display:none; }
  .k-index.is-ready .k-index__a{ display:none; }
  .k-index.is-ready .k-index__btn{ display:flex; align-self:flex-end; align-items:center; gap:10px; min-height:44px; margin:0;
    padding:0 16px 0 15px; box-sizing:border-box; max-width:100%; border-radius:var(--k-radius-pill, 999px); cursor:pointer;
    border:1px solid color-mix(in srgb, var(--k-ink) 10%, transparent);
    background:color-mix(in srgb, var(--k-surface) 90%, transparent);
    -webkit-backdrop-filter:blur(14px) saturate(160%); backdrop-filter:blur(14px) saturate(160%);
    box-shadow:0 12px 28px -14px rgba(20,32,24,.5); color:var(--k-ink);
    font-family:var(--k-font-body, inherit); font-size:.8rem; font-weight:700; line-height:1.2; letter-spacing:.02em; text-align:left; }
  .k-index__ico{ flex:0 0 auto; width:9px; height:9px; border-radius:50%; background:var(--k-accent);
    box-shadow:0 0 0 4px color-mix(in srgb, var(--k-accent) 22%, transparent); }
  .k-index__lbl{ flex:0 0 auto; white-space:nowrap; }
  .k-index__now{ min-width:0; max-width:42vw; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
    font-weight:600; color:var(--k-accent); }
  .k-index__now:empty{ display:none; }
  .k-index__btn::after{ content:""; flex:0 0 auto; width:7px; height:7px; margin-left:2px; box-sizing:border-box;
    border-top:2px solid currentColor; border-right:2px solid currentColor; transform:translateY(2px) rotate(-45deg); }
  .k-index__btn:focus-visible{ outline:2px solid var(--k-focus, var(--k-btn)); outline-offset:3px; }
  /* open: the same links as a panel above the pill, the current one lit */
  .k-index.is-ready.is-open{ padding:8px; min-width:min(270px, calc(100vw - 24px)); overflow:auto;
    border-radius:calc(var(--k-radius) + 6px); border:1px solid color-mix(in srgb, var(--k-ink) 9%, transparent);
    background:color-mix(in srgb, var(--k-surface) 95%, transparent);
    -webkit-backdrop-filter:blur(16px) saturate(160%); backdrop-filter:blur(16px) saturate(160%);
    box-shadow:0 22px 48px -20px rgba(20,32,24,.55); }
  .k-index.is-ready.is-open .k-index__a{ display:flex; min-height:44px; padding:0 12px 0 32px; border-radius:10px; }
  .k-index.is-ready.is-open .k-index__a::before{ left:13px; }
  .k-index.is-ready.is-open .k-index__a.is-on{ background:color-mix(in srgb, var(--k-accent) 9%, transparent); }
  .k-index.is-ready.is-open .k-index__t{ opacity:1; transform:none; font-size:.92rem; white-space:normal; color:var(--k-ink); }
  .k-index.is-ready.is-open .k-index__btn{ margin-top:6px; border-color:transparent; box-shadow:none; background:transparent; }
  .k-index.is-ready.is-open .k-index__btn::after{ transform:translateY(-2px) rotate(135deg); }
  /* never over an open phone menu */
  body:has(.k-hdr__toggle[aria-expanded="true"]) .k-index.is-ready{ display:none; }
}
@media (max-width:1024px){ body:has(.k-stick) .k-index.is-ready{ bottom:calc(58px + 14px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width:1179px) and (prefers-reduced-motion:no-preference){ .k-index__btn::after{ transition:transform .2s ease; } }
@media print{ .k-index{ display:none !important; } }

/* -- Window band: a photograph that holds still while the page scrolls past it (the "picture in
   the back while they're scrolling" ask). clip-path on the section clips its position:fixed photo
   to the band, so this works on iOS where background-attachment:fixed does not. ----------- */
.k-window{ position:relative; isolation:isolate; clip-path:inset(0); color:#fff; display:grid; align-content:center;
  min-height:min(74vh,580px); }
.k-window > .k-window__bg{ position:fixed; inset:0; z-index:-2; width:100%; height:100vh; object-fit:cover; object-position:center;
  max-width:none !important; margin:0 !important; pointer-events:none; }
.k-window::before{ content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(100deg, color-mix(in srgb, var(--k-brand-deep) 86%, transparent) 0%,
    color-mix(in srgb, var(--k-brand-deep) 58%, transparent) 55%, color-mix(in srgb, var(--k-brand-deep) 18%, transparent) 100%); }
.k-window__q{ font-family:var(--k-font-display, inherit); font-size:clamp(1.75rem,3.4vw,2.7rem); font-weight:400; line-height:1.2;
  letter-spacing:-.005em; color:#fff; max-width:660px; margin:0 0 18px !important; text-wrap:balance; }
.k-window__s{ font-size:1.04rem; font-weight:400; line-height:1.6; letter-spacing:normal; color:rgba(255,255,255,.86);
  max-width:540px; margin:0 !important; }
.k-window .k-eyebrow{ color:var(--k-accent-on-dark, #E8D49C); }
.k-window .k-btn{ margin-top:26px; }
@media (max-width:900px){ .k-window{ min-height:440px; }
  .k-window::before{ background:color-mix(in srgb, var(--k-brand-deep) 72%, transparent); } }

/* -- Arched art: the hero photo in a doorway-shaped frame. ------------------------------- */
.k-hero__art--arch{ aspect-ratio:4/4.7; border-radius:999px 999px var(--k-radius) var(--k-radius);
  box-shadow:0 30px 60px -34px rgba(20,32,24,.5); }
@media (max-width:900px){ .k-hero__art--arch{ aspect-ratio:4/3.4; max-height:420px; } }

/* -- Tinted band: a third light surface (sage on a clinic) beside ground and sunk. --------- */
.k-section--tint{ background:var(--k-tint, var(--k-sunk)); }

/* -- Pending tag: a fact the client has not given yet, marked where it sits. ---------------- */
.k-pending{ display:inline-block; vertical-align:middle; margin-left:8px; padding:2px 9px; border-radius:999px;
  border:1px dashed var(--k-accent); color:var(--k-accent); background:transparent; font-family:var(--k-font-body, inherit);
  font-size:.66rem; font-weight:700; line-height:1.5; letter-spacing:.12em; text-transform:uppercase; white-space:nowrap; }
.k-section--dark .k-pending, .k-footer .k-pending, .k-window .k-pending{ border-color:rgba(255,255,255,.55); color:rgba(255,255,255,.85); }

/* -- Check list: a short list of what a service covers, two columns on wide screens. ------- */
.k-checks{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 28px; }
.k-checks li{ position:relative; padding-left:30px; font-size:1rem; font-weight:400; line-height:1.55; letter-spacing:normal; color:var(--k-ink); }
.k-checks li::before{ content:""; position:absolute; left:0; top:.32em; width:18px; height:18px; border-radius:50%;
  background:color-mix(in srgb, var(--k-accent) 18%, transparent); }
.k-checks li::after{ content:""; position:absolute; left:6px; top:calc(.32em + 4px); width:5px; height:9px;
  border-right:2px solid var(--k-accent); border-bottom:2px solid var(--k-accent); transform:rotate(45deg); }
.k-checks b{ font-weight:700; color:var(--k-brand); }
@media (max-width:700px){ .k-checks{ grid-template-columns:1fr; } }

/* -- Video slot: a 16:9 frame that holds a YouTube embed, or an honest "video coming" card. -- */
.k-video{ margin:0 !important; }
.k-video__frame{ position:relative; aspect-ratio:16/9; border-radius:calc(var(--k-radius) * 2 + 6px); overflow:hidden;
  background:linear-gradient(140deg, var(--k-tint, var(--k-sunk)) 0%, var(--k-sunk) 100%); border:1px solid var(--k-rule); }
.k-video__embed{ position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }
.k-video__ph{ position:absolute; inset:0; display:grid; place-content:center; justify-items:center; gap:10px; padding:24px; text-align:center; }
.k-video__play{ width:66px; height:66px; border-radius:50%; background:var(--k-surface); box-shadow:0 14px 30px -14px rgba(20,32,24,.45);
  position:relative; margin-bottom:6px; }
.k-video__play::after{ content:""; position:absolute; left:27px; top:21px; border-style:solid; border-width:12px 0 12px 19px;
  border-color:transparent transparent transparent var(--k-brand); }
.k-video__label{ margin:0 !important; font-family:var(--k-font-body, inherit); font-size:.72rem; font-weight:700; line-height:1.5;
  letter-spacing:.16em; text-transform:uppercase; color:var(--k-accent); }
.k-video__sub{ margin:0 !important; max-width:420px; font-size:.96rem; font-weight:400; line-height:1.55; letter-spacing:normal; color:var(--k-ink-muted); }
.k-video__cap{ margin-top:12px; font-size:.84rem; font-weight:400; line-height:1.55; color:var(--k-ink-faint); }
@media (max-width:560px){ .k-video__sub{ font-size:.86rem; } .k-video__play{ width:52px; height:52px; }
  .k-video__play::after{ left:21px; top:16px; border-width:10px 0 10px 15px; } }

/* -- Logo slots: insurer (or partner) logos in a grid; a pending slot is a dashed card. ----- */
.k-logos{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.k-logo{ display:grid; place-content:center; justify-items:center; gap:4px; min-height:112px; padding:18px; box-sizing:border-box;
  border-radius:calc(var(--k-radius) * 2 + 4px); background:var(--k-surface); border:1px solid var(--k-rule); text-align:center; }
.k-logo img{ max-width:100%; max-height:56px; width:auto; height:auto; display:block; }
.k-logo--pending{ background:transparent; border:1.5px dashed color-mix(in srgb, var(--k-ink) 22%, transparent); }
.k-logo__n{ margin:0 !important; font-size:.9rem; font-weight:600; line-height:1.4; letter-spacing:normal; color:var(--k-ink-muted); }
.k-logo__s{ margin:0 !important; font-size:.7rem; font-weight:700; line-height:1.4; letter-spacing:.12em; text-transform:uppercase; color:var(--k-accent); }
@media (max-width:900px){ .k-logos{ grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* -- Sample-photo tag (added 2026-10-12, The Wellness Hub): a stock photo standing in for the client's own,
   marked where it sits so nobody reads it as their office or their people ("I don't feel any attachment to
   these people because all these are stock photos"). Opt-in by attribute on the photo box; the words come from
   the attribute, so dropping the attribute at launch drops the tag. Bottom-left, so an arched top never clips it. */
[data-k-sample]{ position:relative; }
[data-k-sample]::before{ content:attr(data-k-sample); position:absolute; left:12px; bottom:12px; z-index:3; max-width:calc(100% - 24px);
  padding:3px 10px; border-radius:var(--k-radius-pill, 999px); box-sizing:border-box; pointer-events:none;
  background:color-mix(in srgb, var(--k-surface) 88%, transparent); color:var(--k-ink-muted);
  font-family:var(--k-font-body, inherit); font-size:.62rem; font-weight:700; line-height:1.5; letter-spacing:.1em;
  text-transform:uppercase; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

/* -- Social row on a light surface (the footer's .k-social is for dark ground). ------------ */
.k-socials{ display:flex; flex-wrap:wrap; gap:10px; margin:0; }
.k-socials .k-social{ color:var(--k-brand); background:var(--k-surface); border:1px solid var(--k-rule); width:42px; height:42px; }
.k-socials .k-social:hover{ color:var(--k-accent); border-color:var(--k-accent); }
/* -- Small utilities used by the modules above. ------------------------------------------- */
.k-more{ margin-top:28px !important; margin-bottom:0 !important; font-size:1rem; font-weight:600; line-height:1.5; letter-spacing:normal; }
.k-socials__h{ margin-top:30px !important; }
