/* Premier Doors: design system and site styles.
   Served as /assets/site.css on the live site and as /webfreezee-editor.css
   inside the Webfreezee editor preview. Colours come only from the --wf-*
   palette roles, so a palette change in the Portal flows through. */

/* ---------- Fonts (self-hosted, variable weight files) ---------- */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(/assets/fonts/montserrat.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/sourcesans3.woff2) format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/sourcesans3-400-italic.woff2) format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  /* Palette roles (defaults; the Worker overrides them from site settings). */
  --wf-primary: #104277;
  --wf-secondary: #0b2d52;
  --wf-accent: #d4a056;
  --wf-light: #f6f3ee;
  --wf-dark: #141a22;
  --wf-text: #1a2230;
  --wf-muted: #5c6675;
  --wf-border: #dcd6cc;
  /* Foregrounds on each role (the Worker computes them from luminance). */
  --wf-on-primary: #ffffff;
  --wf-on-secondary: #ffffff;
  --wf-on-accent: #141a22;
  --wf-on-light: #1a2230;
  --wf-on-dark: #ffffff;
  /* Derived tints and shades. */
  --wf-primary-soft: color-mix(in srgb, var(--wf-primary) 8%, white);
  --wf-primary-deep: color-mix(in srgb, var(--wf-primary) 80%, black);
  --wf-accent-text: color-mix(in srgb, var(--wf-accent) 60%, black);
  --wf-accent-soft: color-mix(in srgb, var(--wf-accent) 16%, white);
  --wf-white: #ffffff;
  --wf-paper: var(--wf-light);
  --wf-soft: color-mix(in srgb, var(--wf-light) 70%, var(--wf-primary) 6%);
  --wf-line-on-dark: color-mix(in srgb, var(--wf-on-primary) 18%, transparent);
  --wf-muted-on-dark: color-mix(in srgb, var(--wf-on-primary) 72%, transparent);
  --wf-success: #1f7a4d;
  --wf-warning: #9a6b00;
  --wf-error: #b3261e;
  --wf-info: var(--wf-primary);

  /* Type */
  --wf-font-display: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --wf-font-body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --fs-h1: clamp(2.5rem, 1.4rem + 4.4vw, 4.5rem);
  --fs-h1-inner: clamp(2.1rem, 1.3rem + 3vw, 3.4rem);
  --fs-h2: clamp(1.875rem, 1.3rem + 2vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-body: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --fs-lead: clamp(1.15rem, 1.05rem + 0.5vw, 1.375rem);
  --fs-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --lh-tight: 1.05;
  --lh-body: 1.6;

  /* Shape, space, depth */
  --radius: 6px;
  --radius-lg: 12px;
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-5: 1.5rem;
  --space-6: 2rem; --space-7: 3rem; --space-8: 4rem; --space-9: 6rem;
  --section-y: clamp(3.5rem, 3rem + 3vw, 6rem);
  --container: 1200px;
  --gutter: clamp(1rem, 0.5rem + 2vw, 2.5rem);
  --shadow-sm: 0 1px 2px rgb(20 26 34 / 0.08), 0 1px 1px rgb(20 26 34 / 0.04);
  --shadow-md: 0 8px 24px rgb(20 26 34 / 0.12);
  --shadow-lg: 0 24px 60px rgb(20 26 34 / 0.22);
  --focus: 0 0 0 3px color-mix(in srgb, var(--wf-accent) 70%, white);
  --header-h: 76px;

  /* AI Chat widget */
  --wf-chat-font: var(--wf-font-body);
  --wf-chat-radius: 8px;
  --wf-chat-side: right;
  --wf-chat-bottom: 18px;
}

/* ---------- Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--wf-font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--wf-text);
  background: var(--wf-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--wf-font-display); font-weight: 800; line-height: var(--lh-tight); margin: 0 0 0.5em; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: 1.125rem; line-height: 1.3; }
p, ul, ol { margin: 0 0 1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 600; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius); }
::selection { background: var(--wf-accent); color: var(--wf-on-accent); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem; background: var(--wf-accent); color: var(--wf-on-accent); font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }
.accent { color: var(--wf-accent); font-style: normal; }
.on-light .accent, .bg-white .accent, .bg-light .accent, .bg-soft .accent { color: var(--wf-accent-text); }
.hide-mobile { display: none; } .hide-desktop { display: block; }
@media (min-width: 900px) { .hide-mobile { display: block; } .hide-desktop { display: none; } }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--wide { --container: 1400px; }
.container--narrow { --container: 820px; }

/* ---------- Section grounds (contrast-aware foregrounds) ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--small { --section-y: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section--large { --section-y: clamp(4.5rem, 4rem + 4vw, 8rem); }
.bg-white { background: var(--wf-white); color: var(--wf-text); --fg: var(--wf-text); --fg-muted: var(--wf-muted); --line: var(--wf-border); --surface: var(--wf-paper); }
.bg-light { background: var(--wf-light); color: var(--wf-on-light); --fg: var(--wf-on-light); --fg-muted: var(--wf-muted); --line: var(--wf-border); --surface: var(--wf-white); }
.bg-soft { background: var(--wf-soft); color: var(--wf-on-light); --fg: var(--wf-on-light); --fg-muted: var(--wf-muted); --line: var(--wf-border); --surface: var(--wf-white); }
.bg-primary { background: var(--wf-primary); color: var(--wf-on-primary); --fg: var(--wf-on-primary); --fg-muted: var(--wf-muted-on-dark); --line: var(--wf-line-on-dark); --surface: color-mix(in srgb, var(--wf-on-primary) 8%, transparent); }
.bg-secondary { background: var(--wf-secondary); color: var(--wf-on-secondary); --fg: var(--wf-on-secondary); --fg-muted: color-mix(in srgb, var(--wf-on-secondary) 72%, transparent); --line: color-mix(in srgb, var(--wf-on-secondary) 18%, transparent); --surface: color-mix(in srgb, var(--wf-on-secondary) 8%, transparent); }
.bg-accent { background: var(--wf-accent); color: var(--wf-on-accent); --fg: var(--wf-on-accent); --fg-muted: color-mix(in srgb, var(--wf-on-accent) 75%, transparent); --line: color-mix(in srgb, var(--wf-on-accent) 20%, transparent); --surface: color-mix(in srgb, var(--wf-on-accent) 8%, transparent); }
.bg-dark { background: var(--wf-dark); color: var(--wf-on-dark); --fg: var(--wf-on-dark); --fg-muted: color-mix(in srgb, var(--wf-on-dark) 72%, transparent); --line: color-mix(in srgb, var(--wf-on-dark) 18%, transparent); --surface: color-mix(in srgb, var(--wf-on-dark) 8%, transparent); }
.on-dark { color: var(--wf-on-primary); }

.eyebrow { font-family: var(--wf-font-display); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wf-accent-text); margin: 0 0 0.75rem; display: flex; align-items: center; gap: 0.6rem; }
.eyebrow::before { content: ''; width: 1.5rem; height: 3px; background: var(--wf-accent); border-radius: 2px; }
.bg-primary .eyebrow, .bg-secondary .eyebrow, .bg-dark .eyebrow { color: var(--wf-accent); }
.lead { font-size: var(--fs-lead); line-height: 1.5; }
.muted { color: var(--fg-muted, var(--wf-muted)); }
.section-head { max-width: 46rem; margin-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); }
.section-head--split { display: grid; gap: 1rem 3rem; align-items: end; max-width: none; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1fr auto; } .section-head--split .block-text { max-width: 34rem; } }
.align-center { text-align: center; }
.align-right { text-align: right; }
.align-left { text-align: left; }
.colour-primary { color: var(--wf-primary); } .colour-secondary { color: var(--wf-secondary); } .colour-accent { color: var(--wf-accent-text); }
.colour-text { color: var(--wf-text); } .colour-muted { color: var(--wf-muted); } .colour-light { color: var(--wf-light); } .colour-dark { color: var(--wf-dark); }
.bg-primary .colour-accent, .bg-secondary .colour-accent, .bg-dark .colour-accent { color: var(--wf-accent); }

/* ---------- Primitives ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.8rem 1.4rem;
  font-family: var(--wf-font-display); font-weight: 600; font-size: 1rem; line-height: 1.2; letter-spacing: 0.01em;
  border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  background: var(--wf-accent); color: var(--wf-on-accent);
}
.button:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--wf-accent) 88%, white); text-decoration: none; }
.button:active { transform: translateY(0); }
.button--primary, .button--accent { background: var(--wf-accent); color: var(--wf-on-accent); }
.button--secondary { background: var(--wf-primary); color: var(--wf-on-primary); }
.button--secondary:hover { background: var(--wf-primary-deep); }
.bg-primary .button--secondary, .bg-secondary .button--secondary, .bg-dark .button--secondary { background: var(--wf-on-primary); color: var(--wf-primary); }
.button--outline, .button--quiet { background: transparent; color: var(--fg, var(--wf-text)); border-color: currentColor; }
.button--outline:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.button--text { background: transparent; color: var(--wf-accent-text); padding-inline: 0.25rem; min-height: 0; text-decoration: underline; text-underline-offset: 0.25em; }
.bg-primary .button--text, .bg-secondary .button--text, .bg-dark .button--text { color: var(--wf-accent); }
.button--text:hover { background: transparent; transform: none; }
.button--large { min-height: 56px; padding: 1rem 1.8rem; font-size: 1.0625rem; }
.button--small { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.9375rem; }
.button--block { width: 100%; }
.button[aria-disabled="true"], .button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.button .icon { width: 1.1em; height: 1.1em; flex: none; }
.button-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }
.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.field { display: grid; gap: 0.35rem; }
.field label, .field-label { font-weight: 600; font-size: 0.9375rem; }
.field .hint { font-size: var(--fs-small); color: var(--fg-muted, var(--wf-muted)); margin: 0; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem; font: inherit; color: var(--wf-text);
  background: var(--wf-white); border: 1.5px solid var(--wf-border); border-radius: var(--radius);
}
.textarea { min-height: 8rem; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--wf-muted) 50%), linear-gradient(135deg, var(--wf-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--wf-primary); box-shadow: var(--focus); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--wf-error); }
.checkbox { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9375rem; }
.checkbox input { width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--wf-primary); flex: none; }
.field-error { color: var(--wf-error); font-size: var(--fs-small); }

.card { background: var(--surface, var(--wf-white)); border: 1px solid var(--line, var(--wf-border)); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1vw, 2rem); }
.badge { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.7rem; border-radius: 999px; font-family: var(--wf-font-display); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.02em; background: var(--wf-accent); color: var(--wf-on-accent); }
.badge--outline { background: transparent; border: 1.5px solid currentColor; }
.badge--primary { background: var(--wf-primary); color: var(--wf-on-primary); }
.notice { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; padding: 1rem 1.1rem; border-radius: var(--radius); border: 1px solid; font-size: 0.9375rem; }
.notice .icon { margin-top: 0.15rem; }
.notice p { margin: 0; }
.notice--info { background: var(--wf-primary-soft); color: var(--wf-text); border-color: color-mix(in srgb, var(--wf-primary) 30%, transparent); }
.notice--success { background: color-mix(in srgb, var(--wf-success) 10%, white); color: #0f4a2e; border-color: color-mix(in srgb, var(--wf-success) 40%, transparent); }
.notice--warning { background: color-mix(in srgb, var(--wf-warning) 12%, white); color: #5a3e00; border-color: color-mix(in srgb, var(--wf-warning) 40%, transparent); }
.notice--error { background: color-mix(in srgb, var(--wf-error) 8%, white); color: #7a1a14; border-color: color-mix(in srgb, var(--wf-error) 40%, transparent); }
.skeleton { background: linear-gradient(90deg, color-mix(in srgb, var(--wf-border) 60%, transparent), color-mix(in srgb, var(--wf-border) 25%, transparent), color-mix(in srgb, var(--wf-border) 60%, transparent)); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: var(--radius); min-height: 1em; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 2.5rem 1.5rem; border: 1.5px dashed var(--line, var(--wf-border)); border-radius: var(--radius-lg); color: var(--fg-muted, var(--wf-muted)); }
.empty h3 { color: var(--fg, var(--wf-text)); }
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 1rem; background: rgb(20 26 34 / 0.6); }
.modal__panel { width: min(100%, 32rem); max-height: 90vh; overflow: auto; background: var(--wf-white); color: var(--wf-text); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-lg); }
.drawer { position: fixed; inset: 0 0 0 auto; width: min(100%, 26rem); z-index: 90; background: var(--wf-white); color: var(--wf-text); box-shadow: var(--shadow-lg); display: grid; grid-template-rows: auto 1fr auto; }
.drawer__head, .drawer__foot { padding: 1rem 1.25rem; border-block: 1px solid var(--wf-border); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.drawer__body { padding: 1rem 1.25rem; overflow: auto; }
.kit-preview .drawer, .kit-preview .modal { position: relative; inset: auto; width: 100%; max-width: 26rem; background: var(--wf-white); border: 1px solid var(--wf-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 0; }
.kit-preview .modal { display: block; max-width: 32rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--wf-white); color: var(--wf-text); border-bottom: 1px solid var(--wf-border); }
.site-header__bar { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; }
.brand__mark { height: 46px; width: auto; }
.brand__word { height: 15px; width: auto; }
.nav { display: none; }
.nav__list { display: flex; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 0.8rem; font-family: var(--wf-font-display); font-weight: 600; font-size: 0.9375rem; text-decoration: none; border-radius: var(--radius); color: var(--wf-text); }
.nav__link:hover { background: var(--wf-primary-soft); }
.nav__link[aria-current="page"] { color: var(--wf-primary); box-shadow: inset 0 -3px 0 var(--wf-accent); border-radius: 0; }
.header-actions { display: none; align-items: center; gap: 0.6rem; }
.phone-pill { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.5rem 0.9rem; font-family: var(--wf-font-display); font-weight: 600; font-size: 0.95rem; text-decoration: none; border: 1.5px solid var(--wf-border); border-radius: var(--radius); color: var(--wf-primary); white-space: nowrap; }
.phone-pill:hover { border-color: var(--wf-primary); }
.menu-toggle { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; min-width: 44px; padding: 0.5rem 0.75rem; background: transparent; border: 1.5px solid var(--wf-border); border-radius: var(--radius); font: inherit; font-family: var(--wf-font-display); font-weight: 600; color: var(--wf-text); cursor: pointer; }
.menu-toggle .icon { width: 1.4rem; height: 1.4rem; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.mobile-menu { display: none; border-top: 1px solid var(--wf-border); background: var(--wf-white); padding: 0.75rem 0 1.25rem; }
.mobile-menu[data-open="true"] { display: block; }
.mobile-menu .nav__list { flex-direction: column; gap: 0; }
.mobile-menu .nav__link { min-height: 48px; font-size: 1.0625rem; }
.mobile-menu .button-row { margin-top: 1rem; }
@media (min-width: 1024px) {
  .nav { display: block; }
  .header-actions { display: flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Heroes ---------- */
.hero { position: relative; overflow: hidden; background: var(--wf-primary); color: var(--wf-on-primary); --fg: var(--wf-on-primary); --fg-muted: var(--wf-muted-on-dark); --line: var(--wf-line-on-dark); }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 20%, color-mix(in srgb, var(--wf-on-primary) 10%, transparent), transparent 70%), linear-gradient(180deg, transparent, color-mix(in srgb, var(--wf-dark) 35%, transparent)); pointer-events: none; }
.hero > .container { position: relative; }
.hero--home { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(3rem, 2rem + 4vw, 6rem); }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero__eyebrow { color: var(--wf-accent); }
.hero__title { margin-bottom: 1rem; color: var(--wf-on-primary); }
.hero__title .accent { color: var(--wf-accent); }
.hero__lead { max-width: 36rem; margin-bottom: 1.75rem; color: var(--wf-muted-on-dark); font-size: var(--fs-lead); }
.hero__actions { margin-bottom: 1.5rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--wf-line-on-dark); font-size: 0.9375rem; color: var(--wf-muted-on-dark); list-style: none; margin: 0; padding-left: 0; }
.hero__proof li { display: flex; align-items: center; gap: 0.5rem; }
.hero__proof .icon { width: 1rem; height: 1rem; color: var(--wf-accent); }
.hero__media { position: relative; justify-self: center; width: min(100%, 420px); }
.arch { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 50% 50% 0 0 / 37.5% 37.5% 0 0; background: var(--wf-secondary); box-shadow: var(--shadow-lg); }
.arch::after { content: ''; position: absolute; inset: 0; border: 3px solid color-mix(in srgb, var(--wf-accent) 70%, transparent); border-bottom: 0; border-radius: inherit; pointer-events: none; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame { position: absolute; inset: -14px -14px 0; border: 2px solid var(--wf-line-on-dark); border-bottom: 0; border-radius: 50% 50% 0 0 / 36% 36% 0 0; pointer-events: none; }
.hero__chip { position: absolute; left: -1rem; bottom: 2rem; display: grid; gap: 0.1rem; padding: 0.75rem 1rem; background: var(--wf-white); color: var(--wf-text); border-radius: var(--radius); box-shadow: var(--shadow-md); font-size: 0.875rem; max-width: 15rem; }
.hero__chip strong { font-family: var(--wf-font-display); font-size: 0.9375rem; color: var(--wf-primary); }
.hero__chip .icon { color: var(--wf-accent-text); }
.hero__mark { position: absolute; right: 0; top: 0; width: clamp(140px, 20vw, 260px); opacity: 0.06; pointer-events: none; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
  .hero__media { width: min(100%, 460px); justify-self: end; }
}
.hero--inner { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.hero--inner .hero__grid { grid-template-columns: 1fr; }
.hero--inner .hero__title { font-size: var(--fs-h1-inner); }
.hero--inner .hero__media { width: min(100%, 300px); }
.hero--inner .arch { aspect-ratio: 4 / 5; border-radius: 50% 50% 0 0 / 40% 40% 0 0; }
@media (min-width: 900px) { .hero--inner .hero__grid { grid-template-columns: 1.3fr 0.7fr; } }
@media (max-width: 899px) { .hero--inner .hero__media { display: none; } }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0 0 1.25rem; padding: 0; font-size: 0.875rem; color: var(--wf-muted-on-dark); }
.breadcrumb a { color: inherit; }
.breadcrumb li + li::before { content: '/'; margin-right: 0.35rem; opacity: 0.6; }
.hero--plain .hero__media { display: none; }

/* ---------- Trust strip ---------- */
.strip { background: var(--wf-white); border-bottom: 1px solid var(--wf-border); }
.strip__list { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.strip .stat-card { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--wf-border); }
.strip .stat-card:last-child { border-bottom: 0; }
.strip .stat-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50% 50% 0 0 / 40% 40% 0 0; background: var(--wf-primary-soft); color: var(--wf-primary); }
.strip .stat-card__icon .icon { width: 1.3rem; height: 1.3rem; }
.strip .stat-value { font-family: var(--wf-font-display); font-weight: 800; font-size: 1.0625rem; color: var(--wf-primary); margin: 0; line-height: 1.2; }
.strip .stat-label { margin: 0; font-size: 0.9375rem; color: var(--wf-muted); font-weight: 400; }
.strip .stat-detail { display: none; }
@media (min-width: 720px) {
  .strip__list { grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 2rem; }
  .strip .stat-card { border-bottom: 0; padding: 1.4rem 0; }
  .strip .stat-card + .stat-card { border-left: 1px solid var(--wf-border); padding-left: 2rem; }
}

/* ---------- Door finder (signature) ---------- */
.finder__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .finder__grid { grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 1.5rem; } }
.door-tile { position: relative; display: grid; gap: 0; text-decoration: none; color: inherit; }
.door-tile__arch { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 50% 50% 0 0 / 40% 40% 0 0; background: var(--wf-secondary); box-shadow: var(--shadow-md); isolation: isolate; }
.door-tile__arch::before { content: ''; position: absolute; inset: 0; z-index: 1; border: 3px solid color-mix(in srgb, var(--wf-accent) 60%, transparent); border-bottom: 0; border-radius: inherit; pointer-events: none; }
.door-tile__arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.door-tile:hover .door-tile__arch img, .door-tile:focus-within .door-tile__arch img { transform: translateY(-3%) scale(1.04); }
.door-tile__arch--mark { display: grid; place-items: center; background: var(--wf-primary); }
.door-tile__arch--mark img { width: 45%; height: auto; object-fit: contain; opacity: 0.95; }
.door-tile__body { padding: 1rem 0.25rem 0; }
.door-tile .feature-card { background: transparent; border: 0; padding: 0; }
.door-tile .feature-card__eyebrow { font-size: 0.75rem; }
.door-tile .feature-card__title { font-size: 1.2rem; margin-bottom: 0.35rem; }
.door-tile .feature-card__title a { text-decoration: none; }
.door-tile .feature-card__title a:hover { text-decoration: underline; }
.door-tile .feature-card__body { font-size: 0.9375rem; color: var(--fg-muted, var(--wf-muted)); margin-bottom: 0.6rem; }
.door-tile .feature-card__link { font-family: var(--wf-font-display); font-weight: 600; font-size: 0.9375rem; color: var(--wf-primary); text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.door-tile .feature-card__link::after { content: '→'; transition: transform 0.2s ease; }
.door-tile:hover .feature-card__link::after { transform: translateX(3px); }

/* ---------- Statement ---------- */
.statement { display: grid; gap: 1.5rem; }
.statement .block-heading { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.15; max-width: 22ch; }
.statement .block-heading .accent { color: var(--wf-accent-text); }
.statement__cols { display: grid; gap: 1.25rem 3rem; }
.statement .block-text { font-size: 1.0625rem; }
.statement .list-block { margin-top: 0.5rem; }
@media (min-width: 900px) {
  .statement { grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
  .statement__cols { grid-template-columns: 1fr; }
}

/* ---------- Photo band ---------- */
.band { position: relative; min-height: clamp(280px, 40vw, 560px); display: grid; align-items: end; overflow: hidden; background: var(--wf-dark); color: var(--wf-on-dark); --fg: var(--wf-on-dark); }
.band picture, .band > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgb(20 26 34 / 0.75)); }
.band__caption { position: relative; z-index: 1; padding-block: 2rem; font-family: var(--wf-font-display); font-weight: 600; font-size: clamp(1.1rem, 1rem + 0.8vw, 1.6rem); max-width: 40rem; text-shadow: 0 1px 2px rgb(0 0 0 / 0.3); }
.band__caption p { margin: 0; }
.band .container { position: relative; z-index: 1; }

/* ---------- Steps ---------- */
.steps__grid { display: grid; gap: 2rem 2.5rem; counter-reset: step; }
@media (min-width: 720px) { .steps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps__grid { grid-template-columns: repeat(var(--cols, 4), 1fr); } }
.steps .feature-card { counter-increment: step; position: relative; background: transparent; border: 0; padding: 0 0 0 0; border-top: 1px solid var(--line); padding-top: 1.25rem; border-radius: 0; }
.steps .feature-card::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--wf-font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--wf-accent); margin-bottom: 0.75rem; }
.steps .feature-card__eyebrow { display: none; }
.steps .feature-card__title { font-size: 1.25rem; }
.steps .feature-card__body { color: var(--fg-muted); }
.steps .feature-card__link { color: var(--wf-accent); }
.steps__foot { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ---------- Pricing ticket ---------- */
.ticket { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .ticket { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.ticket__card { background: var(--wf-white); border: 1px solid var(--wf-border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-sm); position: relative; }
.ticket__card::before { content: ''; position: absolute; left: 0; top: 1.5rem; bottom: 1.5rem; width: 4px; background: var(--wf-accent); border-radius: 0 4px 4px 0; }
.ticket__card .block-heading { font-size: 1.35rem; }
.ticket__card .list-block { gap: 0; }
.ticket__card .list-block li { padding-block: 0.6rem; border-bottom: 1px dashed var(--wf-border); }
.ticket__card .list-block li::before { top: 1.1em; }
.ticket__card .list-block li:last-child { border-bottom: 0; }

/* ---------- Mosaic gallery ---------- */
.mosaic { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 1.25rem; } }
.mosaic .content-image { margin: 0; }
.mosaic .content-image img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; border-radius: var(--radius); }
.mosaic .content-image figcaption { font-size: 0.9375rem; color: var(--fg-muted); margin-top: 0.6rem; }
.gallery-foot { margin-top: 2rem; }

/* ---------- Quotes ---------- */
.quotes__grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .quotes__grid { grid-template-columns: repeat(2, 1fr); } }
.quotes__grid--wall { display: block; columns: 1; column-gap: 1.25rem; }
.quotes__grid--wall > .quote-card { break-inside: avoid; margin-bottom: 1.25rem; }
@media (min-width: 720px) { .quotes__grid--wall { columns: 2; } }
@media (min-width: 1100px) { .quotes__grid--wall { columns: 3; } }
.quotes__actions { margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.quote-card { position: relative; margin: 0; padding: clamp(1.25rem, 1rem + 1vw, 2rem) clamp(1.25rem, 1rem + 1vw, 2rem) clamp(1.25rem, 1rem + 1vw, 2rem) calc(clamp(1.25rem, 1rem + 1vw, 2rem) + 1.25rem); background: var(--surface, var(--wf-white)); border: 1px solid var(--line, var(--wf-border)); border-radius: var(--radius-lg); }
.quote-card::before { content: '\201C'; position: absolute; left: 1rem; top: 0.4rem; font-family: var(--wf-font-display); font-size: 3.5rem; line-height: 1; color: var(--wf-accent); }
.quote-card blockquote { margin: 0; font-size: 1.0625rem; }
.quote-card blockquote p { margin: 0; }
.quote-card figcaption { margin-top: 0.75rem; font-family: var(--wf-font-display); font-weight: 600; font-size: 0.9rem; color: var(--fg-muted, var(--wf-muted)); }

/* ---------- Areas ---------- */
.areas { display: grid; gap: 2rem; }
@media (min-width: 900px) { .areas { grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; } }
.areas__county .list-block__title { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; color: var(--wf-accent); border-bottom: 1px solid var(--line); padding-bottom: 0.5rem; margin-bottom: 1rem; }
.areas .list-block { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.areas .list-block li { padding: 0.4rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9375rem; }
.areas .list-block li::before { display: none; }
.areas__intro .section-head { margin-bottom: 1rem; }
.areas__intro .block-text { color: var(--fg-muted); }
.areas__intro .content-flow { margin-top: 1.5rem; }

/* ---------- Cards (services hub, generic grids) ---------- */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 1.5rem; } }
.feature-card { display: flex; flex-direction: column; background: var(--surface, var(--wf-white)); border: 1px solid var(--line, var(--wf-border)); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.feature-card__eyebrow { font-family: var(--wf-font-display); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wf-accent-text); margin: 0 0 0.5rem; }
.bg-primary .feature-card__eyebrow, .bg-secondary .feature-card__eyebrow, .bg-dark .feature-card__eyebrow { color: var(--wf-accent); }
.feature-card__title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.feature-card__title a { text-decoration: none; }
.feature-card__title a:hover { text-decoration: underline; }
.feature-card__body { flex: 1; margin-bottom: 1rem; }
.feature-card__body:last-child { margin-bottom: 0; }
.feature-card__link { font-family: var(--wf-font-display); font-weight: 600; text-decoration: none; color: var(--wf-primary); display: inline-flex; gap: 0.35rem; align-items: center; min-height: 44px; }
.feature-card__link::after { content: '→'; }
.bg-primary .feature-card__link, .bg-secondary .feature-card__link, .bg-dark .feature-card__link { color: var(--wf-accent); }
.photo-card { display: flex; flex-direction: column; overflow: hidden; background: var(--surface, var(--wf-white)); border: 1px solid var(--line, var(--wf-border)); border-radius: var(--radius-lg); }
.photo-card .content-image { margin: 0; }
.photo-card .content-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.photo-card .feature-card { border: 0; border-radius: 0; flex: 1; }
.photo-card--wide { grid-column: 1 / -1; }
@media (min-width: 900px) { .photo-card--wide { display: grid; grid-template-columns: 1fr 1fr; } .photo-card--wide .content-image img { height: 100%; aspect-ratio: auto; } }

/* ---------- Details (service pages) ---------- */
.details { display: grid; gap: 2rem; }
@media (min-width: 900px) { .details { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; } }
.details .block-heading { font-size: var(--fs-h2); }
.details .block-heading + .block-heading, .details h3.block-heading { font-size: var(--fs-h3); }
.details aside .card { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.details aside .list-block__title, .details aside h3.block-heading { font-size: 1.1rem; margin: 0; }
.details aside .card { gap: 1.25rem; }
.two-col { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .two-col--left-small { grid-template-columns: 2fr 3fr; }
  .two-col--left-large { grid-template-columns: 3fr 2fr; }
  .two-col--reverse > :first-child { order: 2; }
}
.two-col .content-image img { border-radius: var(--radius-lg); width: 100%; }
.column { display: grid; gap: 1rem; align-content: start; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 2rem; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 1.4fr; gap: 4rem; } }
.faq__list { display: grid; gap: 0; border-top: 1px solid var(--line, var(--wf-border)); }
.faq-item { border-bottom: 1px solid var(--line, var(--wf-border)); }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.1rem 0; font-family: var(--wf-font-display); font-weight: 600; font-size: 1.0625rem; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--wf-accent-text); transition: transform 0.2s ease; }
.bg-primary .faq-item summary::after, .bg-dark .faq-item summary::after { color: var(--wf-accent); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__answer { padding: 0 0 1.25rem; color: var(--fg-muted, var(--wf-muted)); max-width: 60ch; }
.faq-item__answer p { margin: 0; }

/* ---------- Forms ---------- */
.form-section { display: grid; gap: 2rem; }
@media (min-width: 900px) { .form-section { grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; } }
.form-section__intro .block-text { color: var(--fg-muted); }
.wf-form { display: grid; gap: 1rem; background: var(--wf-white); color: var(--wf-text); border: 1px solid var(--wf-border); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); box-shadow: var(--shadow-sm); }
.wf-form__row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .wf-form__row { grid-template-columns: 1fr 1fr; } }
.wf-form .hp { position: absolute; left: -9999px; }
.wf-form__status:empty { display: none; }
.wf-form__consent { font-size: 0.875rem; color: var(--wf-muted); }

/* ---------- Channels (contact page) ---------- */
.channels { display: grid; gap: 0; margin-top: 1rem; }
.channel { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--line, var(--wf-border)); align-items: start; }
.channel:last-child { border-bottom: 1px solid var(--line, var(--wf-border)); }
.channel__icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--wf-primary); color: var(--wf-on-primary); border-radius: 50% 50% 0 0 / 40% 40% 0 0; }
.channel__icon .icon { width: 1.3rem; height: 1.3rem; }
.channel h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.channel p { margin: 0; }
.channel a { font-weight: 600; color: var(--wf-primary); }
.contact-details { display: grid; gap: 0.75rem; padding: 1.25rem; background: var(--wf-primary-soft); border-radius: var(--radius-lg); }
.contact-details h3 { font-size: 1.1rem; margin: 0; }
.contact-details dl { display: grid; gap: 0.5rem; margin: 0; }
.contact-details dt { font-weight: 600; font-size: 0.875rem; color: var(--fg-muted, var(--wf-muted)); }
.contact-details dd { margin: 0 0 0.5rem; }
.contact-details a { color: var(--wf-primary); font-weight: 600; }
.bg-primary .contact-details a, .bg-secondary .contact-details a, .bg-dark .contact-details a { color: var(--wf-accent); }

/* ---------- Contact band / CTA ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__grid { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .cta-band__grid { grid-template-columns: 1.4fr 1fr; gap: 3rem; } }
.cta-band__title { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); margin-bottom: 0.5rem; }
.cta-band__body { color: var(--fg-muted); max-width: 40rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .cta-band__actions { justify-content: flex-end; } }
.cta-band__mark { position: absolute; right: -2rem; bottom: -4rem; width: clamp(220px, 24vw, 360px); opacity: 0.07; pointer-events: none; }
.cta-band--media .cta-band__grid { grid-template-columns: 1fr; }
@media (min-width: 900px) { .cta-band--media .cta-band__grid { grid-template-columns: 1fr auto; } .cta-band__photo { width: 220px; } }
.cta-band__photo .arch { aspect-ratio: 4 / 5; border-radius: 50% 50% 0 0 / 40% 40% 0 0; }
.cta { text-align: left; }
.cta .cta-band__actions { margin-top: 0; }

/* ---------- Generic blocks (editor canonical classes) ---------- */
.block-heading { margin-bottom: 0.6em; }
.block-text { max-width: 65ch; }
.block-text--lead { font-size: var(--fs-lead); }
.block-text--small { font-size: var(--fs-small); }
.list-block { display: grid; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.list-block li { position: relative; padding-left: 1.75rem; }
.list-block li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 0.6rem; height: 0.6rem; border-radius: 50% 50% 0 0 / 40% 40% 0 0; background: var(--wf-accent); }
.list-block--checks li::before { width: 1.1rem; height: 1.1rem; top: 0.3em; border-radius: 50%; background: var(--wf-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141a22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 60% no-repeat; }
.list-block--numbered { counter-reset: li; }
.list-block--numbered li { padding-left: 2.25rem; }
.list-block--numbered li::before { counter-increment: li; content: counter(li); width: 1.5rem; height: 1.5rem; top: 0.1em; border-radius: 50%; background: var(--wf-primary); color: var(--wf-on-primary); font-family: var(--wf-font-display); font-weight: 700; font-size: 0.8rem; display: grid; place-items: center; }
.bg-primary .list-block--numbered li::before, .bg-secondary .list-block--numbered li::before { background: var(--wf-accent); color: var(--wf-on-accent); }
.list-block__title { font-size: 1.1rem; margin-bottom: 0.5rem; }
.content-image { margin: 0; }
.content-image img { width: 100%; border-radius: var(--radius-lg); }
.content-image figcaption { font-size: var(--fs-small); color: var(--fg-muted, var(--wf-muted)); margin-top: 0.5rem; }
.crop-cover-top img { object-position: top; } .crop-cover-bottom img { object-position: bottom; } .crop-contain img { object-fit: contain; }
.divider { border: 0; border-top: 1px solid var(--line, var(--wf-border)); margin: 1.5rem 0; }
.divider--dashed { border-top-style: dashed; } .divider--subtle { opacity: 0.5; }
.spacer { display: block; } .spacer-small { height: 1rem; } .spacer-medium { height: 2rem; } .spacer-large { height: 4rem; }
.video-block { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--wf-dark); }
.video-block iframe { width: 100%; height: 100%; border: 0; }
.video-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--wf-primary); }
.stat-card { display: grid; gap: 0.25rem; }
.stat-value { font-family: var(--wf-font-display); font-weight: 800; font-size: 2.25rem; color: var(--wf-accent); margin: 0; }
.stat-label { font-weight: 600; margin: 0; }
.stat-detail { font-size: var(--fs-small); color: var(--fg-muted, var(--wf-muted)); margin: 0; }
.stats-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(var(--cols, 3), 1fr); } }
.profile-card { display: grid; gap: 1rem; background: var(--surface, var(--wf-white)); border: 1px solid var(--line, var(--wf-border)); border-radius: var(--radius-lg); padding: 1.25rem; }
.profile-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 50% 50% 0 0 / 40% 40% 0 0; }
.profile-card__name { font-size: 1.2rem; margin-bottom: 0.1rem; }
.profile-card__role { color: var(--wf-accent-text); font-family: var(--wf-font-display); font-weight: 600; font-size: 0.875rem; margin-bottom: 0.5rem; }
.team-grid { display: grid; gap: 1.5rem; } @media (min-width: 720px) { .team-grid { grid-template-columns: repeat(var(--cols, 3), 1fr); } }
.grid { display: grid; gap: 1.5rem; } @media (min-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1024px) { .grid { grid-template-columns: repeat(var(--cols, 3), 1fr); } }
.content-flow { display: grid; gap: 1.25rem; max-width: 65ch; }
.prose .block-heading { font-size: var(--fs-h3); margin-top: 1rem; }
.content-flow--prose { max-width: 70ch; margin-inline: auto; }
.story { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.story .arch { aspect-ratio: 4 / 5; border-radius: 50% 50% 0 0 / 40% 40% 0 0; width: min(100%, 420px); margin-inline: auto; }
.image-section .content-image img { aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wf-secondary); color: var(--wf-on-secondary); --fg: var(--wf-on-secondary); --fg-muted: color-mix(in srgb, var(--wf-on-secondary) 72%, transparent); --line: color-mix(in srgb, var(--wf-on-secondary) 16%, transparent); padding-block: var(--space-8) var(--space-6); }
.site-footer a { color: inherit; }
.footer-grid { display: grid; gap: 2.5rem 3rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.1fr 0.9fr 1.1fr; gap: 2.5rem 2rem; } }
.footer-brand img { height: 72px; width: auto; }
.footer-brand p { color: var(--fg-muted); margin-top: 1rem; max-width: 30rem; }
.footer-heading { font-family: var(--wf-font-display); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wf-accent); margin: 0 0 1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer-contact { display: grid; gap: 0.75rem; }
.footer-contact a { font-weight: 600; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; font-size: 0.875rem; color: var(--fg-muted); }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); }
.wf-credit { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8125rem; color: var(--fg-muted); text-decoration: none; padding: 0.3rem 0.5rem; border-radius: var(--radius); }
.wf-credit img { width: 16px; height: 16px; border-radius: 3px; }
.wf-credit:hover { color: var(--fg); background: var(--surface, color-mix(in srgb, var(--fg) 8%, transparent)); }

/* ---------- Mobile bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.6rem calc(0.75rem + env(safe-area-inset-left)) calc(0.6rem + env(safe-area-inset-bottom)) calc(0.75rem + env(safe-area-inset-right)); background: var(--wf-white); border-top: 1px solid var(--wf-border); box-shadow: 0 -8px 24px rgb(20 26 34 / 0.08); }
.mobile-bar .button { min-height: 48px; }
body:has(.mobile-bar) { padding-bottom: 76px; }
/* The chat launcher reads --wf-chat-bottom from :root, so it clears the bar on phones. */
@media (max-width: 1023px) { :root { --wf-chat-bottom: 88px; } }
@media (min-width: 1024px) { .mobile-bar { display: none; } body:has(.mobile-bar) { padding-bottom: 0; } }

/* ---------- 404 ---------- */
.not-found .hero__title { font-size: var(--fs-h1); }

/* ---------- Module kits (dormant) ---------- */
.kit { display: grid; gap: 1.5rem; }
.kit__services { display: grid; gap: 1rem; } @media (min-width: 720px) { .kit__services { grid-template-columns: repeat(2, 1fr); } }
.service-option { display: grid; gap: 0.35rem; text-align: left; padding: 1.1rem 1.25rem; background: var(--wf-white); border: 1.5px solid var(--wf-border); border-radius: var(--radius-lg); font: inherit; cursor: pointer; color: var(--wf-text); }
.service-option[aria-pressed="true"] { border-color: var(--wf-primary); box-shadow: inset 0 0 0 1px var(--wf-primary); }
.service-option__name { font-family: var(--wf-font-display); font-weight: 700; }
.service-option__meta { font-size: 0.875rem; color: var(--wf-muted); display: flex; gap: 0.75rem; }
.service-option__price { font-weight: 700; color: var(--wf-primary); }
.week { display: grid; gap: 0.75rem; }
.week__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.week__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.35rem; }
.day { display: grid; gap: 0.15rem; justify-items: center; padding: 0.6rem 0.2rem; background: var(--wf-white); border: 1.5px solid var(--wf-border); border-radius: var(--radius); font: inherit; cursor: pointer; min-height: 60px; }
.day__name { font-size: 0.75rem; color: var(--wf-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.day__num { font-family: var(--wf-font-display); font-weight: 700; }
.day__count { font-size: 0.7rem; color: var(--wf-success); }
.day[aria-pressed="true"] { border-color: var(--wf-primary); background: var(--wf-primary-soft); }
.day:disabled { opacity: 0.45; cursor: not-allowed; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: 0.5rem; }
.time { min-height: 44px; font: inherit; font-weight: 600; background: var(--wf-white); border: 1.5px solid var(--wf-border); border-radius: var(--radius); cursor: pointer; }
.time[aria-pressed="true"] { background: var(--wf-primary); color: var(--wf-on-primary); border-color: var(--wf-primary); }
.summary-box { display: grid; gap: 0.5rem; padding: 1.25rem; background: var(--wf-primary-soft); border-radius: var(--radius-lg); }
.summary-box dl { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1rem; margin: 0; }
.summary-box dt { color: var(--wf-muted); } .summary-box dd { margin: 0; font-weight: 600; }
.product-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); } @media (min-width: 900px) { .product-grid { grid-template-columns: repeat(var(--cols, 3), 1fr); } }
.product-card { display: grid; gap: 0.5rem; background: var(--wf-white); border: 1px solid var(--wf-border); border-radius: var(--radius-lg); overflow: hidden; }
.product-card__media { aspect-ratio: 1; background: var(--wf-soft); display: grid; place-items: center; color: var(--wf-muted); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 0 1rem 1rem; display: grid; gap: 0.35rem; }
.product-card__name { font-family: var(--wf-font-display); font-weight: 700; font-size: 1rem; margin: 0; overflow-wrap: anywhere; }
.product-card__price { font-weight: 700; color: var(--wf-primary); }
.product-card__price .from { font-weight: 400; font-size: 0.875rem; color: var(--wf-muted); }
.product-card--soldout .product-card__media { filter: grayscale(1); opacity: 0.7; }
.product-page { display: grid; gap: 2rem; } @media (min-width: 900px) { .product-page { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.product-page__media { aspect-ratio: 1; background: var(--wf-soft); border-radius: var(--radius-lg); overflow: hidden; }
.product-page__media img { width: 100%; height: 100%; object-fit: cover; }
.qty { display: inline-grid; grid-template-columns: 44px 56px 44px; border: 1.5px solid var(--wf-border); border-radius: var(--radius); overflow: hidden; }
.qty button { font: inherit; font-weight: 700; background: var(--wf-white); border: 0; cursor: pointer; min-height: 44px; }
.qty input { text-align: center; border: 0; border-inline: 1.5px solid var(--wf-border); font: inherit; min-width: 0; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; padding: 0.9rem 0; border-bottom: 1px solid var(--wf-border); }
.cart-line img, .cart-line__thumb { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); background: var(--wf-soft); }
.cart-total { display: flex; justify-content: space-between; font-family: var(--wf-font-display); font-weight: 700; font-size: 1.1rem; padding-top: 1rem; }
.cart-button { position: relative; }
.cart-button__count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--wf-accent); color: var(--wf-on-accent); font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; }
.account-panel { display: grid; gap: 1rem; }
.order-row { display: grid; grid-template-columns: 1fr auto; gap: 0.5rem 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--wf-border); }
.order-row__meta { font-size: 0.875rem; color: var(--wf-muted); }
.kit-preview { display: grid; gap: 4rem; }
.kit-preview__section { display: grid; gap: 1.5rem; }
.kit-preview__section > h2 { padding-bottom: 0.5rem; border-bottom: 3px solid var(--wf-accent); }
.kit-preview__state { display: grid; gap: 0.75rem; justify-items: start; }
.kit-preview__state > * { width: 100%; }
.kit-preview__state > .button, .kit-preview__state > .cart-button { width: auto; }
.kit-preview__state > h3 { font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wf-muted); }

/* ---------- Motion ---------- */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .door-tile:hover .door-tile__arch img { transform: none; }
}

/* ---------- Print ---------- */
@media print { .site-header, .mobile-bar, .site-footer .footer-social, .skip-link { display: none !important; } .hero { background: none; color: #000; } }
