/* Shared layout for the Lumen and Northgate concept demos (fictional businesses).
   Each concept sets its own palette, type and shape in <slug>/<slug>.css via the custom properties below. */
:root {
  --bg: #fff; --panel: #f5f5f5; --ink: #222; --ink-soft: #555; --line: rgba(0,0,0,.12);
  --brand: #333; --brand-hover: #111; --on-brand: #fff; --accent: #333; --dark: #222; --on-dark: #fff;
  --head-font: Georgia, serif; --body-font: system-ui, sans-serif; --head-weight: 600;
  --radius: 12px; --btn-radius: 999px; --gut: 20px; --banner: 36px; --ease: cubic-bezier(.22,1,.36,1);
}
@media (min-width: 640px) { :root { --gut: 32px; } }
@media (min-width: 1024px) { :root { --gut: 48px; } }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body.dk { font-family: var(--body-font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; padding-top: calc(var(--banner) + 68px); }
@media (max-width: 639px) { body.dk { font-size: 16px; } }
.dk h1, .dk h2, .dk h3 { font-family: var(--head-font); font-weight: var(--head-weight); line-height: 1.1; letter-spacing: -0.015em; color: var(--ink); text-wrap: balance; }
.dk h1 { font-size: clamp(36px, 6vw, 68px); max-width: 15ch; }
.dk h2 { font-size: clamp(28px, 3.8vw, 44px); max-width: 20ch; }
.dk h3 { font-size: 21px; }
:where(.dk) a { color: inherit; }
.dk img { max-width: 100%; display: block; }
.dk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dk-wrap { max-width: calc(1200px + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.dk-skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--dark); color: var(--on-dark); padding: 10px 14px; border-radius: 8px; }
.dk-skip:focus { top: 44px; }
.dk :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Concept banner (persistent) */
.dk-concept { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--banner); display: flex; align-items: center; justify-content: center; background: var(--dark); color: var(--on-dark); font-size: 13px; padding: 0 12px; text-align: center; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.dk-concept a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; display: inline-flex; min-height: 36px; align-items: center; }
.dk-concept-short { display: none; }
@media (max-width: 699px) { .dk-concept-long { display: none; } .dk-concept-short { display: inline; } .dk-concept strong::after { content: " ·"; } }

/* Nav */
.dk-nav { position: fixed; top: var(--banner); left: 0; right: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); transition: box-shadow 280ms var(--ease); }
.dk-nav.is-scrolled { box-shadow: 0 8px 24px -16px rgba(0,0,0,.35); }
.dk-nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.dk-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head-font); font-weight: 700; font-size: 21px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; min-height: 44px; }
.dk-logo-sub { font-weight: 400; color: var(--ink-soft); }
.dk-logo-mark { width: 26px; height: 26px; flex: none; }
.dk-menu { display: flex; gap: 28px; margin-left: auto; }
.dk-menu a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.dk-menu a:hover, .dk-menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.dk-menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.dk-menu-btn i { width: 22px; height: 2px; background: currentColor; transition: transform 200ms var(--ease); }
.dk-nav.is-open .dk-menu-btn i:first-of-type { transform: translateY(4px) rotate(45deg); }
.dk-nav.is-open .dk-menu-btn i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 899px) {
  .dk-menu-btn { display: inline-flex; order: 3; }
  .dk-btn--sm { margin-left: auto; }
  .dk-menu { display: none; position: fixed; inset: calc(var(--banner) + 68px) 0 0 0; flex-direction: column; gap: 0; padding: 12px var(--gut); background: var(--bg); }
  .dk-nav.is-open .dk-menu { display: flex; }
  .dk-menu a { font-family: var(--head-font); font-size: 30px; min-height: 64px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 399px) { .dk-logo-sub { display: none; } .dk-nav-inner { gap: 12px; } }

/* Buttons and links */
.dk-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: var(--btn-radius); background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid var(--brand); transition: background-color 150ms var(--ease), border-color 150ms var(--ease); cursor: pointer; font-family: var(--body-font); text-align: center; }
.dk-btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.dk-btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; white-space: nowrap; }
.dk-btn--ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.dk-btn--ghost:hover { background: var(--panel); border-color: var(--ink); }
.dk-btn--full { width: 100%; }
.dk-btn--on-dark { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }
.dk-btn--on-dark:hover { background: var(--panel); border-color: var(--panel); }
.dk-link { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; font-weight: 600; color: var(--brand); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.dk-link span { transition: transform 280ms var(--ease); }
@media (hover: hover) { .dk-link:hover span { transform: translateX(4px); } }
.dk-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 639px) { .dk-btns { flex-direction: column; } .dk-btns .dk-btn { width: 100%; } }

/* Hero and page heads */
.dk-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; font-family: var(--body-font); }
.dk-lead { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.5; max-width: 42ch; margin-top: 18px; color: var(--ink-soft); }
.dk-hero { padding: 48px 0 64px; }
@media (min-width: 960px) { .dk-hero { padding: 80px 0 96px; } }
.dk-hero-inner, .dk-head-inner { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .dk-hero-inner { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.dk-hero-media picture, .dk-split-media picture, .dk-head-media picture { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.dk-img { width: 100%; height: 100%; object-fit: cover; }
.dk-head { padding: 44px 0 52px; background: var(--panel); }
@media (min-width: 960px) { .dk-head { padding: 72px 0 80px; } }
@media (min-width: 900px) { .dk-head--media .dk-head-inner { grid-template-columns: 1.2fr 1fr; gap: 56px; } }
.dk-head-media picture { aspect-ratio: 3 / 2; }

/* Sections */
.dk-section { padding: 64px 0; }
@media (min-width: 960px) { .dk-section { padding: 104px 0; } }
.dk-section--tight { padding-top: 40px; }
.dk-section--panel { background: var(--panel); }
.dk-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dk-strip-list { list-style: none; display: grid; gap: 0; }
.dk-strip-list li { padding: 20px 0; display: grid; gap: 2px; border-bottom: 1px solid var(--line); }
.dk-strip-list li:last-child { border-bottom: 0; }
.dk-strip-list span { color: var(--ink-soft); font-size: 15px; }
@media (min-width: 800px) { .dk-strip-list { grid-template-columns: repeat(3, 1fr); gap: 32px; } .dk-strip-list li { border-bottom: 0; padding: 28px 0; } }
.dk-cards { list-style: none; display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 800px) { .dk-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .dk-cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .dk-cards--4 { grid-template-columns: repeat(4, 1fr); } }
.dk-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.dk-section--panel .dk-card { background: var(--bg); }
.dk-card p { color: var(--ink-soft); }
.dk-card .dk-link { margin-top: auto; }
.dk-more { margin-top: 24px; }
.dk-split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .dk-split { grid-template-columns: 1fr 1fr; gap: 64px; } .dk-split--text { grid-template-columns: 5fr 7fr; align-items: start; } }
.dk-split p { margin-top: 14px; max-width: 56ch; }
.dk-prose p { margin-top: 0; }
.dk-prose p + p { margin-top: 16px; }
.dk-ticks { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.dk-ticks li { position: relative; padding-left: 28px; }
.dk-ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 13px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.dk-steps { list-style: none; display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 800px) { .dk-section .dk-wrap > .dk-steps { grid-template-columns: repeat(3, 1fr); } }
.dk-steps li { border-top: 2px solid var(--brand); padding-top: 14px; }
.dk-steps p { margin-top: 6px; color: var(--ink-soft); }
.dk-step-n { display: block; font-weight: 600; color: var(--brand); font-size: 13px; letter-spacing: .08em; margin-bottom: 6px; }
.dk-split .dk-steps, .dk-contact .dk-steps { grid-template-columns: 1fr; }

/* Service / treatment list */
.dk-jump { padding-top: 28px; }
.dk-jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.dk-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--btn-radius); text-decoration: none; font-size: 15px; font-weight: 500; }
.dk-jump a:hover { border-color: var(--brand); color: var(--brand); }
.dk-items { display: grid; }
.dk-item { display: grid; gap: 12px; padding: 36px 0; border-top: 1px solid var(--line); }
.dk-item:last-child { border-bottom: 1px solid var(--line); }
.dk-item h2 { font-size: clamp(26px, 3vw, 34px); }
.dk-item-sub { margin-top: 8px; color: var(--brand); font-weight: 600; }
.dk-item p { max-width: 60ch; }
.dk-best { margin-top: 16px; color: var(--ink-soft); font-size: 15px; }
@media (min-width: 900px) { .dk-item { grid-template-columns: 5fr 7fr; gap: 64px; padding: 48px 0; } }

/* FAQ */
.dk-faq { display: grid; gap: 28px; }
@media (min-width: 960px) { .dk-faq { grid-template-columns: 5fr 7fr; gap: 64px; } }
.dk-faq-item { border-top: 1px solid var(--line); padding: 14px 0; }
.dk-faq-item:last-child { border-bottom: 1px solid var(--line); }
.dk-faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 44px; font-family: var(--head-font); font-weight: var(--head-weight); font-size: 20px; }
.dk-faq-item summary::-webkit-details-marker { display: none; }
.dk-faq-item summary::after { content: "+"; color: var(--brand); font-family: var(--body-font); font-size: 24px; transition: transform 280ms var(--ease); }
.dk-faq-item[open] summary::after { transform: rotate(45deg); }
.dk-faq-item p { margin-top: 6px; max-width: 60ch; color: var(--ink-soft); }

/* CTA band */
.dk-cta { background: var(--dark); color: var(--on-dark); }
.dk .dk-cta h2 { color: var(--on-dark); }
.dk-cta p { margin-top: 12px; opacity: .88; max-width: 48ch; }
.dk-cta-inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .dk-cta-inner { grid-template-columns: 1fr auto; gap: 48px; } }
@media (max-width: 639px) { .dk-cta .dk-btn { width: 100%; } }

/* Contact */
.dk-contact { display: grid; gap: 40px; }
@media (min-width: 960px) { .dk-contact { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.dk-contact h2 { font-size: 26px; }
.dk-contact p { margin-top: 10px; }
.dk-mt { margin-top: 36px; }
.dk-hours { margin-top: 14px; display: grid; gap: 8px; }
.dk-hours div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.dk-hours dd { font-weight: 600; }
.dk-demo-box { margin-top: 28px; border: 1.5px dashed var(--ink-soft); border-radius: var(--radius); padding: 16px 18px; font-size: 15px; background: var(--panel); }
.dk-demo-box p { margin: 0; }
.dk-form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 24px 48px -32px rgba(0,0,0,.35); }
@media (min-width: 700px) { .dk-form-card { padding: 36px; } }
.dk-demo-banner { background: var(--panel); border-radius: calc(var(--radius) * .6); padding: 12px 14px; font-size: 15px; margin: 0 0 18px !important; }
.dk-form { display: grid; gap: 18px; }
.dk-field { display: grid; gap: 6px; border: 0; min-width: 0; }
.dk-field label, .dk-field legend { font-weight: 600; font-size: 15px; }
.dk-opt { font-weight: 400; color: var(--ink-soft); }
.dk-field input, .dk-field select, .dk-field textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: calc(var(--radius) * .6); min-height: 48px; padding: 10px 14px; width: 100%; }
.dk-field input:focus, .dk-field select:focus, .dk-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 35%, transparent); }
.dk-field [aria-invalid="true"] { border-color: #B3261E; }
.dk-checks { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 4px; }
.dk-check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; }
.dk-check input { width: 20px; height: 20px; accent-color: var(--brand); }
.dk-form-error { color: #B3261E; font-weight: 600; font-size: 15px; margin: 0 !important; }
.dk-demo-note { font-size: 14px; color: var(--ink-soft); margin: 0 !important; }
.dk-done p + p { margin-top: 12px; }
.dk-done a { color: var(--brand); font-weight: 600; text-underline-offset: 4px; }

/* Footer */
.dk-footer { background: var(--dark); color: var(--on-dark); padding: 56px 0 40px; border-top: 1px solid rgba(255,255,255,.12); }
.dk-footer-top { display: grid; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.18); }
@media (min-width: 900px) { .dk-footer-top { grid-template-columns: 1fr 1fr; align-items: start; } }
.dk-footer-top p { color: rgba(255,255,255,.85); margin-top: 8px; }
.dk-logo--footer, .dk-logo--footer .dk-logo-sub { color: var(--on-dark) !important; margin-top: 0 !important; }
.dk-footer nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.dk-footer nav a { color: var(--on-dark); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.dk-footer nav a:hover, .dk-footer nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); }
.dk-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 14px; color: rgba(255,255,255,.85); }
.dk-footer-bottom p { max-width: 70ch; }
.dk-footer-bottom a { color: var(--on-dark); font-weight: 600; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
