/* One footer for every page on dkre.ca (markup in tools/footer.js). Tightened 2026-10-21
   (Dan: "a bit bulky and large for no real reason"): one compact top row (name | phone),
   the site links and the elsewhere links as two short rows, the legal lines in small print.
   Pages still carry an old generic `footer{...}` rule; footer.foot wins by specificity.
   The phone number is set in Bricolage Grotesque, the site's headline face. */
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:200 800;font-stretch:75% 100%;font-display:swap;src:url(/assets/fonts/bricolage-grotesque-latin.woff2) format('woff2')}
/* The old footer (until 2026-10-28) below is kept for pages still carrying its markup; the new one (class "f2") follows. */
footer.foot:not(.f2){display:block;margin:0;margin-top:clamp(40px,5vw,64px);border:0;background:#121316;color:#b9bec6;padding:clamp(28px,3.5vw,40px) max(16px,env(safe-area-inset-right,0px)) calc(24px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));font:400 16px/1.5 'Montserrat',system-ui,sans-serif;text-align:left}
footer.foot:not(.f2) *{box-sizing:border-box}
footer.foot:not(.f2) .f-in{max-width:1180px;margin:0 auto}
footer.foot:not(.f2) a{color:#f1f2f4}
footer.foot:not(.f2) p{margin:0}
footer.foot:not(.f2) .f-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px 40px;padding-bottom:18px;border-bottom:1px solid #2a2d33}
footer.foot:not(.f2) .f-id{display:flex;align-items:center;gap:12px}
footer.foot:not(.f2) .f-id .f-mark{font:800 26px/.85 'Montserrat',system-ui,sans-serif;letter-spacing:-.055em;color:#ff4d54;flex:none}
footer.foot:not(.f2) .f-id .f-mark i{font-style:normal;color:inherit}
footer.foot:not(.f2) .f-id p{display:grid;gap:0}
footer.foot:not(.f2) .f-id b{font-weight:800;font-size:16px;line-height:1.3;color:#f1f2f4}
footer.foot:not(.f2) .f-id p span{font-size:14px;color:#9aa1ab}
footer.foot:not(.f2) .f-call{display:grid;justify-items:end;gap:2px;text-align:right}
footer.foot:not(.f2) .f-say{display:none}
footer.foot:not(.f2) .f-phone{font:800 28px/1.1 'Bricolage Grotesque','Montserrat',system-ui,sans-serif;letter-spacing:-.01em;text-decoration:none;color:#fff;white-space:nowrap;min-height:44px;display:inline-flex;align-items:center}
footer.foot:not(.f2) .f-phone:hover{color:#ff4d54}
footer.foot:not(.f2) .f-where{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:2px 16px;font-size:14px}
footer.foot:not(.f2) .f-where span{color:#9aa1ab}
footer.foot:not(.f2) .f-where a{min-height:40px;display:inline-flex;align-items:center}
footer.foot:not(.f2) .f-links,footer.foot:not(.f2) .f-social{display:flex;flex-wrap:wrap;gap:0 22px}
footer.foot:not(.f2) .f-links{padding-top:10px}
footer.foot:not(.f2) .f-links a{font-weight:700;font-size:15px;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
footer.foot:not(.f2) .f-social{padding-bottom:10px}
footer.foot:not(.f2) .f-social a{color:#b9bec6;text-decoration:none;min-height:40px;display:inline-flex;align-items:center;font-size:14px}
footer.foot:not(.f2) .f-links a:hover,footer.foot:not(.f2) .f-social a:hover{color:#ff4d54}
footer.foot:not(.f2) .f-legal{border-top:1px solid #2a2d33;padding-top:14px;font-size:12.5px;line-height:1.5;display:grid;gap:4px;color:#8d939c}
footer.foot:not(.f2) .f-legal p{max-width:120ch}
footer.foot:not(.f2) .f-legal b{color:#c4c9d0}
footer.foot:not(.f2) a:focus-visible{outline:3px solid #ff4d54;outline-offset:3px}
@media (max-width:760px){
  footer.foot:not(.f2) .f-top{flex-direction:column;align-items:flex-start}
  footer.foot:not(.f2) .f-call{justify-items:start;text-align:left}
  footer.foot:not(.f2) .f-where{justify-content:flex-start}
  footer.foot:not(.f2) .f-links,footer.foot:not(.f2) .f-social{gap:0 18px}
  footer.foot:not(.f2) .f-legal{font-size:12px}
}

/* ===== The footer, rebuilt 2026-10-28 and redone the same day to Halo Lab's footer standard (Dan): the company name
   big, few elements, generous space, three short link columns, contact on one line, the legal words on a thin line at
   the bottom, a way back to the top. Markup: tools/footer.js (class "f2").
   Nothing here is under 14 px: Dan's small-print rule (2026-10-10; header.css forces footer paragraphs to 14 px). ===== */
footer.foot.f2{display:block;margin:48px 0 0;border:0;background:#121316;color:#b9bec6;padding:0 max(16px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(16px,env(safe-area-inset-left,0px));font:400 16px/1.5 'Montserrat',system-ui,sans-serif;text-align:left}
footer.foot.f2 *{box-sizing:border-box}
footer.foot.f2 .f-in{max-width:1180px;margin:0 auto}
footer.foot.f2 p{margin:0}
footer.foot.f2 a{color:#fff;text-decoration:none}
footer.foot.f2 a:hover{text-decoration:underline;text-decoration-color:#CE2027;text-decoration-thickness:2px;text-underline-offset:4px}
footer.foot.f2 a:focus-visible,footer.foot.f2 summary:focus-visible{outline:3px solid #ff4d54;outline-offset:3px}
/* 1 · the ask (tour pages only) */
footer.foot.f2 .f-ask{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px 48px;align-items:center;padding:40px 0;border-bottom:1px solid #2a2d33}
footer.foot.f2 .f-ask h2{margin:0 0 16px;font:800 clamp(28px,2.6vw,38px)/1.15 'Bricolage Grotesque','Montserrat',system-ui,sans-serif;letter-spacing:-.02em;color:#fff}
footer.foot.f2 .f-ask-t p{font-size:18px!important;line-height:1.6;color:#c9cdd3!important;max-width:52ch}
footer.foot.f2 .f-ask-b{display:flex;gap:16px;justify-content:flex-end}
footer.foot.f2 .f-ask .btn{margin:0;text-decoration:none}
footer.foot.f2 .f-ask .btn:not(.ghost){color:#fff}
footer.foot.f2 .f-ask .btn.ghost{background:transparent;border-color:#fff;color:#fff}
footer.foot.f2 .f-ask .btn.ghost:hover{background:#fff;color:#191c22}
/* the tour pages' "How selling works" link: on its own line under the two buttons, so the buttons column stays as wide as before (2026-10-28) */
footer.foot.f2 .f-ask-b:has(.f-ask-l){display:grid;grid-template-columns:auto auto;justify-content:end;align-items:center}
footer.foot.f2 .f-ask-l{grid-column:1/-1;justify-self:end;display:inline-flex;align-items:center;min-height:48px;font-size:16px;font-weight:600;color:#fff}
/* 2 · the brand: the wordmark big (the header's treatment, two-tone turned for the dark), the name, the brokerage; three link columns */
footer.foot.f2 .f-brand{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:48px;padding:40px 0 32px;align-items:start}
footer.foot.f2 .f-word{font:800 clamp(72px,8vw,120px)/.85 'Montserrat',system-ui,sans-serif!important;letter-spacing:-.055em;color:#CE2027!important;margin:0 0 24px}
footer.foot.f2 .f-word i{font-style:normal;color:#fff}
footer.foot.f2 .f-name{font-size:18px!important;font-weight:700;line-height:1.35;color:#fff!important}
footer.foot.f2 .f-bkg{margin-top:8px;font-size:14px;line-height:1.5;color:#b9bec6!important}
footer.foot.f2 .f-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
footer.foot.f2 .f-cols nav{display:grid;align-content:start}
footer.foot.f2 .f-h{font:700 14px/1.3 'Montserrat',system-ui,sans-serif!important;letter-spacing:.12em;text-transform:uppercase;color:#8b919b!important;margin:0 0 8px}
footer.foot.f2 .f-cols a{font-size:16px;font-weight:600;min-height:32px;display:flex;align-items:center;line-height:1.25}
/* 3 · contact on one line, back to top at its end */
footer.foot.f2 .f-contact{display:flex;flex-wrap:wrap;align-items:center;gap:8px 32px;padding:16px 0;border-top:1px solid #2a2d33;border-bottom:1px solid #2a2d33;font-size:16px;color:#b9bec6}
footer.foot.f2 .f-contact a{min-height:32px;display:inline-flex;align-items:center}
footer.foot.f2 .f-contact a[href^="mailto"]{color:#b9bec6}
footer.foot.f2 .f-phone{font:800 22px/1.2 'Bricolage Grotesque','Montserrat',system-ui,sans-serif;color:#fff;white-space:nowrap}
footer.foot.f2 .f-totop{margin-left:auto;color:#fff;font-weight:600}
/* 4 · the legal words: one paragraph with privacy and terms at its right, the trademark sentence quieter under it */
footer.foot.f2 .f-legal{position:relative;padding:20px 0 24px}
footer.foot.f2 .f-l1{display:flex;justify-content:space-between;align-items:baseline;gap:8px 32px}
footer.foot.f2 .f-l1>p:first-child{font-size:14px;line-height:1.5;color:#8b919b!important;max-width:100ch}
footer.foot.f2 .f-ll{flex:none;font-size:14px;line-height:1.5;color:#8b919b!important;white-space:nowrap}
footer.foot.f2 .f-ll a{color:#b9bec6;padding:7px 0}
footer.foot.f2 .f-legal:has(.f-src) .f-ll{padding-right:196px}
footer.foot.f2 .f-tm{margin-top:8px;font-size:14px;line-height:1.5;color:#6f7580!important;max-width:none}
footer.foot.f2 .f-src>summary{position:absolute;top:20px;right:0;list-style:none;cursor:pointer;font-size:14px;line-height:1.5;color:#b9bec6;display:inline-flex;align-items:center;gap:8px;padding:7px 0;margin-top:-7px}
footer.foot.f2 .f-src>summary::-webkit-details-marker{display:none}
footer.foot.f2 .f-src>summary::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
footer.foot.f2 .f-src[open]>summary::after{transform:translateY(1px) rotate(-135deg)}
footer.foot.f2 .f-src>summary:hover{color:#fff}
footer.foot.f2 .f-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
footer.foot.f2 .f-srcs{padding-top:24px}
footer.foot.f2 .t-src{margin:0 0 8px;font-size:14px;line-height:1.6;color:#b9bec6}
footer.foot.f2 .t-src b{display:inline-block;margin-right:8px;font:700 14px/1.6 'Montserrat',system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#fff}
footer.foot.f2 .t-src a{color:#b9bec6;padding:7px 0}
footer.foot.f2 .t-src a:hover,footer.foot.f2 .t-src a:focus-visible{color:#fff}
footer.foot.f2 .t-fine{margin-top:16px;font-size:14px;line-height:1.5;color:#8b919b;max-width:90ch}
@media (max-width:899.98px){
  footer.foot.f2 .f-ask{grid-template-columns:minmax(0,1fr);padding:40px 0}
  footer.foot.f2 .f-ask-b{display:grid;gap:12px;justify-content:stretch}
  footer.foot.f2 .f-ask-b:has(.f-ask-l){grid-template-columns:minmax(0,1fr)}
  footer.foot.f2 .f-ask-l{justify-self:start}
  footer.foot.f2 .f-ask .btn{min-height:48px;width:100%}
  footer.foot.f2 .f-brand{grid-template-columns:minmax(0,1fr);gap:32px;padding:40px 0 24px}
  footer.foot.f2 .f-word{font-size:clamp(64px,18vw,96px)!important;margin-bottom:16px}
  /* phones: one list, every link and the sources summary 48 px tall (padding, so the list stays tight) */
  footer.foot.f2 .f-cols{grid-template-columns:minmax(0,1fr);gap:16px}
  footer.foot.f2 .f-cols a,footer.foot.f2 .f-contact a,footer.foot.f2 .f-ll a,footer.foot.f2 .f-src>summary,footer.foot.f2 .t-src a{min-height:48px;display:flex;align-items:center;padding:0}
  footer.foot.f2 .f-ll a{display:inline-flex}
  footer.foot.f2 .t-src a{display:inline-flex}
  footer.foot.f2 .f-contact{display:grid;gap:4px;justify-items:start}
  footer.foot.f2 .f-totop{margin-left:0;margin-top:8px}
  footer.foot.f2 .f-l1{display:block}
  footer.foot.f2 .f-ll{margin-top:8px}
  footer.foot.f2 .f-legal:has(.f-src) .f-ll{padding-right:0}
  footer.foot.f2 .f-src>summary{position:static;margin-top:8px;min-height:48px}
}
@media (prefers-reduced-motion:reduce){footer.foot.f2 *{transition:none!important}}
