/* Sitehaus demo kit: base layout and components.
   Every color, font and radius comes from tokens set in theme.css, so each site looks like its own business. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  transition: background-color 300ms var(--ease), color 300ms var(--ease);
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

:root {
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --margin: clamp(1rem, 0.6rem + 2vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --step-hero: clamp(2.6rem, 1.5rem + 5vw, 5.75rem);
  --step-h2: clamp(1.9rem, 1.3rem + 2.6vw, 3.4rem);
  --step-h3: clamp(1.2rem, 1.08rem + 0.5vw, 1.5rem);
  --step-lead: clamp(1.15rem, 1.04rem + 0.5vw, 1.4rem);
}

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--margin); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--bg); padding: 0.75rem 1rem; border-radius: 999px; }
.skip:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, .h1 { font-family: var(--font-display); font-size: var(--step-hero); line-height: 0.98; letter-spacing: var(--display-tracking); font-weight: var(--display-weight); font-variation-settings: var(--display-variation, normal); text-wrap: balance; }
h2, .h2 { font-family: var(--font-display); font-size: var(--step-h2); line-height: 1.04; letter-spacing: var(--display-tracking); font-weight: var(--display-weight); font-variation-settings: var(--display-variation, normal); text-wrap: balance; }
h3, .h3 { font-size: var(--step-h3); line-height: 1.22; letter-spacing: -0.015em; font-weight: 650; text-wrap: balance; }
.lead { font-size: var(--step-lead); line-height: 1.45; color: var(--ink-2); max-width: 40ch; text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin-block-end: 1rem; }
.eyebrow::before { content: ""; width: 1.25rem; height: 2px; background: currentColor; border-radius: 2px; }
.muted { color: var(--ink-2); }
.small { font-size: 0.9375rem; }
.prose { max-width: 68ch; }
.prose > * + * { margin-block-start: 1.1em; }
.prose p, .prose li { text-wrap: pretty; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-block-start: 2em; }
.prose h3 { margin-block-start: 1.6em; }
.prose li + li { margin-block-start: 0.4em; }
.prose a { color: var(--accent-text); font-weight: 600; }

/* ---------- concept banner (honesty: every demo says it is fictional) ---------- */
.concept { background: var(--ink); color: var(--bg); font-size: 0.8125rem; line-height: 1.35; }
.concept .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.25rem 0.9rem; padding-block: 0.55rem; text-align: center; }
.concept strong { font-weight: 700; letter-spacing: 0.02em; }
.concept a { font-weight: 650; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 3.25rem; padding: 0 1.5rem; border-radius: var(--btn-radius, 999px); border: 0;
  font-weight: 650; font-size: 1rem; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none;
  transition: transform 160ms var(--ease), background-color 200ms var(--ease), box-shadow 200ms var(--ease), color 200ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 1px 2px rgb(0 0 0 / 0.18), 0 8px 20px -10px var(--accent); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--quiet { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--on-deep { background: var(--on-deep); color: var(--deep); }
.btn--sm { min-height: 2.5rem; padding: 0 1.1rem; font-size: 0.9375rem; }
.btn__arrow { transition: transform 200ms var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: var(--accent-hover); }
  .btn--ink:hover { background: var(--ink-2); }
  .btn--quiet:hover { background: var(--surface); }
  .btn:hover .btn__arrow { transform: translateX(3px); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.textlink { display: inline-flex; align-items: center; gap: 0.35em; font-weight: 650; color: var(--accent-text); text-decoration: none; }
.textlink::after { content: "→"; transition: transform 200ms var(--ease); }
@media (hover: hover) { .textlink:hover::after { transform: translateX(3px); } }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: var(--bar-bg); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); transition: box-shadow 240ms var(--ease); }
.bar.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgb(0 0 0 / 0.35); }
.bar__inner { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-inline-end: auto; font-family: var(--font-display); font-weight: var(--brand-weight, 700); font-size: 1.2rem; letter-spacing: var(--brand-tracking, -0.03em); line-height: 1; font-variation-settings: var(--display-variation, normal); }
.brand svg { width: 2rem; height: 2rem; flex: none; }
.brand small { display: block; font-family: var(--font-body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-top: 0.2rem; font-variation-settings: normal; }
.nav__links { display: none; gap: 0.15rem; }
.nav__links a, .menu__panel a:not(.btn) { text-decoration: none; padding: 0.5rem 0.8rem; border-radius: 999px; font-weight: 550; font-size: 0.95rem; color: var(--ink-2); transition: background-color 180ms var(--ease), color 180ms var(--ease); }
.nav__links a:hover { color: var(--ink); background: var(--surface-2); }
.nav__links a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.bar__phone { display: none; font-weight: 650; font-size: 0.95rem; text-decoration: none; font-variant-numeric: tabular-nums; }
.bar__cta { display: none; }
.icon-btn { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; flex: none; transition: background-color 160ms var(--ease), transform 160ms var(--ease); }
.icon-btn svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:active { transform: scale(0.94); }
@media (hover: hover) { .icon-btn:hover { background: var(--surface-2); } }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; } :root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .i-sun { display: block; } :root:not([data-theme="light"]) .i-moon { display: none; } }
.menu { position: relative; }
.menu summary { list-style: none; display: flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-weight: 650; font-size: 0.95rem; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu summary::-webkit-details-marker { display: none; }
.menu__icon { width: 14px; height: 8px; border-block: 2px solid currentColor; transition: height 200ms var(--ease); }
.menu[open] .menu__icon { height: 2px; border-bottom: 0; }
.menu__panel { position: absolute; right: 0; top: calc(100% + 0.5rem); width: min(20rem, calc(100vw - 2 * var(--margin))); background: var(--surface); border-radius: var(--radius-sm); padding: 0.6rem; box-shadow: var(--shadow-lg); transform-origin: top right; animation: pop 220ms var(--ease); }
.menu__panel ul { list-style: none; padding: 0; margin: 0 0 0.6rem; display: grid; }
.menu__panel a:not(.btn) { display: block; padding: 0.8rem 0.9rem; font-size: 1.0625rem; color: var(--ink); border-radius: calc(var(--radius-sm) - 6px); }
.menu__panel a[aria-current="page"] { background: var(--surface-2); }
.menu__panel .btn { width: 100%; }
.menu__panel .btn + .btn { margin-top: 0.5rem; }
@keyframes pop { from { opacity: 0; transform: scale(0.96) translateY(-4px); } }
@media (min-width: 980px) {
  .nav__links { display: flex; }
  .bar__cta { display: inline-flex; }
  .menu { display: none; }
}
@media (min-width: 1180px) { .bar__phone { display: inline-flex; } }

.crumbs { padding-block: 1.25rem 0; font-size: 0.875rem; color: var(--ink-2); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-inline-end: 0.4rem; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section--alt { background: var(--bg-2); }
.section--deep { background: var(--deep); color: var(--on-deep); }
.section--deep .lead, .section--deep .muted { color: var(--on-deep-2); }
.section--deep .eyebrow { color: var(--on-deep-accent, var(--on-deep-2)); }
.section__head { display: grid; gap: 1rem; margin-block-end: clamp(2.25rem, 1.5rem + 3vw, 4rem); max-width: 46rem; }
.section__head p { color: var(--ink-2); font-size: var(--step-lead); line-height: 1.45; max-width: 42ch; }
.section--deep .section__head p { color: var(--on-deep-2); }
.section__head--split { max-width: none; }
@media (min-width: 900px) { .section__head--split { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 3rem; } }

.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: center; } .split--top { align-items: start; } .split--wide { grid-template-columns: 1.25fr 1fr; } }

.page-hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(2.5rem, 1.5rem + 3vw, 4rem); display: grid; gap: 1.25rem; }
.page-hero h1 { font-size: clamp(2.3rem, 1.4rem + 4vw, 4.6rem); max-width: 18ch; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 1rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column; gap: 0.75rem;
  padding: clamp(1.4rem, 1.1rem + 1vw, 2rem); border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.card p { color: var(--ink-2); }
.card .textlink { margin-top: auto; padding-top: 0.5rem; }
a.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (hover: hover) and (pointer: fine) { a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); } a.card:hover .textlink::after { transform: translateX(3px); } }
.card__icon { width: 3rem; height: 3rem; border-radius: calc(var(--radius-sm) - 4px); display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 0.5rem; }
.card__icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card__num { font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; color: var(--accent-text); letter-spacing: 0.04em; }

.ticks { display: grid; gap: 0.7rem; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before, .ticks li::after { content: ""; position: absolute; left: 0; top: 0.3em; width: 1.15rem; height: 1.15rem; border-radius: 50%; }
.ticks li::before { background: var(--accent-soft); }
.ticks li::after { background: var(--accent-text); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; }
.section--deep .ticks li::before { background: rgb(255 255 255 / 0.1); }
.section--deep .ticks li::after { background: var(--on-deep-accent, var(--on-deep)); }

/* numbered steps */
.steps { display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(var(--cols, 3), 1fr); } }
.step { counter-increment: step; padding: 1.75rem; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); display: grid; gap: 0.6rem; align-content: start; }
.section--deep .step { background: var(--deep-2); box-shadow: none; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; color: var(--accent-text); font-size: 0.95rem; letter-spacing: 0.04em; }
.section--deep .step::before { color: var(--on-deep-accent, var(--on-deep-2)); }
.step p { color: var(--ink-2); }
.section--deep .step p { color: var(--on-deep-2); }

/* facts: plain who / what / where statements that search engines and AI assistants can quote */
.facts { display: grid; gap: 0; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.facts div { display: grid; gap: 0.2rem; padding: 1.1rem 1.4rem; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
@media (min-width: 700px) { .facts div { grid-template-columns: 11rem 1fr; gap: 1.5rem; } }
.facts dt { font-weight: 650; font-size: 0.9rem; color: var(--ink-2); }
.facts dd { margin: 0; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; list-style: none; }
.chips li, .chips a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1rem; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-weight: 550; font-size: 0.95rem; text-decoration: none; }
.chips a { transition: background-color 180ms var(--ease), box-shadow 180ms var(--ease); }
@media (hover: hover) { .chips a:hover { box-shadow: inset 0 0 0 1.5px var(--accent); } }

/* FAQ */
.faqs { display: grid; gap: 0.6rem; max-width: 52rem; }
.faq { border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.2rem 1.4rem; font-weight: 650; font-size: 1.0625rem; cursor: pointer; -webkit-tap-highlight-color: transparent; border-radius: inherit; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%23777' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 60% no-repeat; transition: transform 260ms var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 1.4rem 1.3rem; color: var(--ink-2); max-width: 64ch; }
.faq__a p + p { margin-top: 0.8em; }

/* panels and notes */
.panel { border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); padding: clamp(1.4rem, 1rem + 2vw, 2.5rem); }
.demo-note { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.9rem; color: var(--ink-2); }
.demo-note::before { content: "Sample"; flex: none; font-size: 0.7rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 999px; background: var(--ink); color: var(--bg); margin-top: 0.1rem; }

/* booking mock-up (a real build embeds the client's own Cal.com / Calendly / Google Calendar) */
.booker { display: grid; gap: 1.25rem; }
.booker__days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.4rem; }
.booker__days button, .booker__slots button {
  border: 0; border-radius: calc(var(--radius-sm) - 4px); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
  padding: 0.7rem 0.25rem; cursor: pointer; font-weight: 600; line-height: 1.2; -webkit-tap-highlight-color: transparent;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease), transform 160ms var(--ease);
}
.booker__days button span { display: block; font-size: 0.75rem; font-weight: 500; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.06em; }
.booker__slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
.booker button:active { transform: scale(0.97); }
.booker button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.booker button[aria-pressed="true"] span { color: inherit; opacity: 0.85; }
.booker button:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.booker__out { min-height: 1.6em; font-weight: 600; }
.booker__label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }

/* CTA band */
.cta-band { border-radius: var(--radius); background: var(--deep); color: var(--on-deep); padding: clamp(2rem, 1.2rem + 4vw, 4.5rem); display: grid; gap: 1.75rem; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-band p { color: var(--on-deep-2); max-width: 44ch; font-size: var(--step-lead); line-height: 1.45; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.3fr 1fr; align-items: end; } .cta-band .btn-row { justify-content: flex-end; } }
.cta-band > * { position: relative; }

/* ---------- footer ---------- */
.foot { background: var(--deep); color: var(--on-deep); padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) 2rem; margin-top: var(--section); }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__top { display: grid; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--deep-line); }
@media (min-width: 900px) { .foot__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot .brand { color: var(--on-deep); }
.foot .brand small { color: var(--on-deep-2); }
.foot__pitch { color: var(--on-deep-2); max-width: 34ch; margin-top: 1rem; }
.foot h2 { font-family: var(--font-body); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--on-deep-2); margin-bottom: 0.9rem; font-variation-settings: normal; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.foot__base { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; padding-top: 1.5rem; font-size: 0.875rem; color: var(--on-deep-2); }
.foot__concept { width: 100%; padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: var(--deep-2); color: var(--on-deep); }
.foot__concept a { text-decoration: underline; }

/* ---------- scroll reveal (only when JS runs and motion is allowed) ---------- */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* mobile call bar: the main action is always one tap away on phones */
.callbar { position: fixed; left: 0.75rem; right: 0.75rem; bottom: max(0.75rem, env(safe-area-inset-bottom)); z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.5rem; border-radius: calc(var(--btn-radius, 999px) + 0.5rem); background: var(--bar-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow-lg); transform: translateY(150%); transition: transform 400ms var(--ease); }
.callbar.is-on { transform: none; }
.callbar .btn { min-height: 2.9rem; padding: 0 0.75rem; font-size: 0.95rem; }
@media (min-width: 980px) { .callbar { display: none; } }
@media (max-width: 979px) { .foot { padding-bottom: 6rem; } }
@media print { .bar, .callbar, .concept { position: static; } }

/* Northdraft Heating & Air (concept): cool paper, deep navy, signal blue, with an ember tone for heat. Manrope throughout. */
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --display-weight: 750; --display-tracking: -0.04em;
  --brand-weight: 800; --brand-tracking: -0.035em;
  --radius: 26px; --radius-sm: 18px; --btn-radius: 999px;

  --bg: #f4f6f9; --bg-2: #e9eef5; --surface: #ffffff; --surface-2: #edf1f7;
  --ink: #0d1a2b; --ink-2: #4a5a70; --line: rgb(13 26 43 / 0.1);
  --accent: #2459e0; --accent-hover: #1c4ac2; --accent-ink: #ffffff; --accent-text: #1f4fcf; --accent-soft: #dde7fd;
  --heat: #e8622c; --cool: #2a8fd8;
  --deep: #0d1a2b; --deep-2: #17273d; --deep-line: rgb(255 255 255 / 0.1);
  --on-deep: #eef3fa; --on-deep-2: #9fb0c6; --on-deep-accent: #8db0ff;
  --bar-bg: rgb(244 246 249 / 0.82);
  --shadow: 0 1px 2px rgb(13 26 43 / 0.05), 0 0 0 1px rgb(13 26 43 / 0.04), 0 18px 40px -24px rgb(13 26 43 / 0.28);
  --shadow-lg: 0 2px 6px rgb(13 26 43 / 0.06), 0 40px 80px -32px rgb(13 26 43 / 0.4);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #08111e; --bg-2: #0c1727; --surface: #101d30; --surface-2: #17263c;
    --ink: #eaf0f8; --ink-2: #9fb0c6; --line: rgb(255 255 255 / 0.09);
    --accent: #6f9bff; --accent-hover: #89aeff; --accent-ink: #08111e; --accent-text: #8db0ff; --accent-soft: #172a4d;
    --heat: #ff8a57; --cool: #5ab4f5;
    --deep: #0e1a2c; --deep-2: #17263c;
    --bar-bg: rgb(8 17 30 / 0.8);
    --shadow: 0 0 0 1px rgb(255 255 255 / 0.06), 0 18px 40px -24px rgb(0 0 0 / 0.9);
    --shadow-lg: 0 0 0 1px rgb(255 255 255 / 0.07), 0 40px 80px -32px rgb(0 0 0 / 0.95);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08111e; --bg-2: #0c1727; --surface: #101d30; --surface-2: #17263c;
  --ink: #eaf0f8; --ink-2: #9fb0c6; --line: rgb(255 255 255 / 0.09);
  --accent: #6f9bff; --accent-hover: #89aeff; --accent-ink: #08111e; --accent-text: #8db0ff; --accent-soft: #172a4d;
  --heat: #ff8a57; --cool: #5ab4f5;
  --deep: #0e1a2c; --deep-2: #17263c;
  --bar-bg: rgb(8 17 30 / 0.8);
  --shadow: 0 0 0 1px rgb(255 255 255 / 0.06), 0 18px 40px -24px rgb(0 0 0 / 0.9);
  --shadow-lg: 0 0 0 1px rgb(255 255 255 / 0.07), 0 40px 80px -32px rgb(0 0 0 / 0.95);
}

/* soft cool glow behind the page top */
body { background-image: radial-gradient(60rem 30rem at 85% -10%, var(--accent-soft), transparent 70%); background-repeat: no-repeat; }

/* ---------- hero ---------- */
.hero { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 4rem); padding-block: clamp(2.5rem, 1.5rem + 5vw, 6rem) clamp(3rem, 2rem + 4vw, 6rem); align-items: center; }
@media (min-width: 960px) { .hero { grid-template-columns: 1.15fr 1fr; } }
.hero h1 { max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--mode, var(--accent-text)); transition: color 500ms var(--ease); }
.hero__copy { display: grid; gap: 1.5rem; }
.hero__areas { font-size: 0.95rem; color: var(--ink-2); }
.hero__areas b { color: var(--ink); font-weight: 650; }

/* comfort dial */
.dial { --mode: var(--heat); position: relative; border-radius: calc(var(--radius) + 8px); background: var(--surface); box-shadow: var(--shadow-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); display: grid; gap: 1.25rem; isolation: isolate; overflow: hidden; }
.dial[data-mode="cool"] { --mode: var(--cool); }
.dial::before { content: ""; position: absolute; inset: -30% -30% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--mode); opacity: 0.12; filter: blur(50px); z-index: -1; transition: background-color 600ms var(--ease); }
.dial__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.dial__label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 0.45rem 0.95rem; font-weight: 700; font-size: 0.875rem; cursor: pointer; color: var(--ink-2); transition: background-color 250ms var(--ease), color 250ms var(--ease), box-shadow 250ms var(--ease); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / 0.12); }
.dial__face { position: relative; width: min(100%, 300px); margin-inline: auto; aspect-ratio: 1; }
.dial__face svg { width: 100%; height: 100%; }
.dial__ticks line { stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; opacity: 0.28; }
.dial__track { fill: none; stroke: var(--surface-2); stroke-width: 14; stroke-linecap: round; }
.dial__arc { fill: none; stroke: var(--mode); stroke-width: 14; stroke-linecap: round; transition: stroke 600ms var(--ease), stroke-dashoffset 900ms var(--ease); }
.dial__knob { fill: var(--surface); stroke: var(--mode); stroke-width: 4; transition: stroke 600ms var(--ease); }
.dial__read { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.dial__temp { font-size: clamp(3.5rem, 2.5rem + 3vw, 4.75rem); font-weight: 750; letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.dial__temp sup { font-size: 0.45em; vertical-align: 0.9em; margin-left: 0.05em; color: var(--mode); transition: color 600ms var(--ease); }
.dial__state { font-size: 0.9rem; font-weight: 650; color: var(--ink-2); margin-top: 0.35rem; }
.dial__air { display: flex; justify-content: center; gap: 0.6rem; height: 26px; }
.dial__air svg { width: 64px; height: 26px; }
.dial__air path { fill: none; stroke: var(--mode); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 10 8; opacity: 0.7; transition: stroke 600ms var(--ease); }
@media (prefers-reduced-motion: no-preference) { .dial__air path { animation: flow 1.6s linear infinite; } .dial__air svg:nth-child(2) path { animation-duration: 1.9s; } }
@keyframes flow { to { stroke-dashoffset: -36; } }
.dial__list { display: grid; gap: 0.5rem; padding: 0; margin: 0; list-style: none; }
.dial__list li { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.9rem; border-radius: 14px; background: var(--surface-2); font-weight: 600; font-size: 0.95rem; }
.dial__list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mode); flex: none; transition: background-color 600ms var(--ease); }
.dial__list a { text-decoration: none; }
.dial__list a:hover { text-decoration: underline; }
.dial [data-for] { display: none; }
.dial[data-mode="heat"] [data-for="heat"], .dial[data-mode="cool"] [data-for="cool"] { display: grid; }
.dial__foot { font-size: 0.8rem; color: var(--ink-2); text-align: center; }

/* one-sentence summary that answers "who, what, where" */
.summary { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius); background: var(--deep); color: var(--on-deep); font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); line-height: 1.3; letter-spacing: -0.025em; font-weight: 600; text-wrap: balance; }
.summary b { color: var(--on-deep-accent); font-weight: 700; }

/* season columns */
.seasons { display: grid; gap: 1rem; }
@media (min-width: 860px) { .seasons { grid-template-columns: 1fr 1fr; } }
.season { border-radius: var(--radius); padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem); background: var(--surface); box-shadow: var(--shadow); display: grid; gap: 1rem; position: relative; overflow: hidden; }
.season::after { content: ""; position: absolute; right: -4rem; top: -4rem; width: 12rem; height: 12rem; border-radius: 50%; background: var(--tone); opacity: 0.12; filter: blur(30px); }
.season--heat { --tone: var(--heat); } .season--cool { --tone: var(--cool); }
.season .eyebrow { color: var(--tone); }
.season .ticks li::before { background: color-mix(in srgb, var(--tone) 18%, transparent); }
.season .ticks li::after { background: var(--tone); }

/* service detail blocks on /services/ */
.svc { display: grid; gap: 1.5rem; padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); border-top: 1px solid var(--line); scroll-margin-top: 5rem; }
.svc:first-child { border-top: 0; }
@media (min-width: 900px) { .svc { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }
.svc__icon { width: 3.5rem; height: 3.5rem; border-radius: 18px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 1rem; }
.svc__icon svg { width: 1.7rem; height: 1.7rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc__cols { display: grid; gap: 1rem; }
@media (min-width: 640px) { .svc__cols { grid-template-columns: 1fr 1fr; } }
.svc__cols > div { padding: 1.4rem; border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow); }
.svc__cols h3 { font-size: 1rem; margin-bottom: 0.9rem; }
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.jump a { padding: 0.55rem 1rem; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; font-weight: 650; font-size: 0.95rem; }
.jump a:hover { color: var(--accent-text); }

/* area map (Peak plan town pages) */
.areamap { border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); padding: 1rem; }
.areamap svg { width: 100%; height: auto; }
.areamap .river { fill: none; stroke: var(--river); stroke-width: 6; stroke-linecap: round; }
.areamap .road { fill: none; stroke: var(--ink-2); opacity: 0.35; stroke-width: 2.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.areamap .town circle { fill: var(--accent); }
.areamap .town circle.halo { opacity: 0.18; }
.areamap .town text { fill: var(--ink); font: 700 15px var(--font-body); }
.areamap .town a:hover text, .areamap .town a:focus text { fill: var(--accent-text); text-decoration: underline; }
.areamap .label { fill: var(--ink-2); font: 600 11px var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; }
:root { --river: #b9d3ef; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --river: #1d3a5e; } }
:root[data-theme="dark"] { --river: #1d3a5e; }
@media (prefers-reduced-motion: no-preference) { .areamap .halo { animation: ping 2.6s var(--ease) infinite; transform-box: fill-box; transform-origin: center; } }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.4; } 100% { transform: scale(1.7); opacity: 0; } }
.article-meta { color: var(--ink-2); font-size: 0.95rem; }
.toc { padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.toc h2 { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 0.6rem; }
.toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; }
