/* Kastur Construction – public site. Colours come from CSS variables set in the dashboard (Settings → Colours). */
/* Fonts are hosted locally (v1.4: faster, no Google request). SIL Open Font License – see assets/fonts. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --font-head: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(16, 12, 40, .06), 0 8px 24px rgba(16, 12, 40, .07);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --focus: 3px solid var(--accent-bright);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--page-bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: var(--focus); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--brand-dark); margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--brand-dark); color: var(--on-dark); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.small { font-size: .9rem; color: var(--muted); }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.eyebrow { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--accent); margin-bottom: .6rem; }
main:focus { outline: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .6em 1.15em; border-radius: var(--radius); border: 2px solid transparent; font: 600 1rem/1.2 var(--font-head); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn-lg { min-height: 52px; padding: .8em 1.4em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--accent); color: var(--brand-dark); }
.btn-gold:hover { background: var(--accent-bright); color: var(--brand-dark); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-outline-light { border-color: var(--on-dark); color: var(--on-dark); background: transparent; }
.btn-outline-light:hover { background: var(--on-dark); color: var(--brand-dark); }
.btn-ghost { color: var(--brand); background: transparent; border-color: transparent; }
.btn-ghost:hover { background: rgba(51, 0, 102, .07); }
.link-arrow { font-family: var(--font-head); font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after, a:hover .link-arrow::after { transform: translateX(3px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brand-dark); margin-right: auto; }
.brand img { width: 84px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); font-size: 1.05rem; }
.brand-text span { font-size: .8rem; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: 10px 12px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .98rem; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { color: var(--brand); }
.site-nav ul a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--accent); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); font: 600 .95rem var(--font-head); color: var(--brand-dark); cursor: pointer; }
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; } .menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1020px) {
  .brand-text span { display: none; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; }
  .js .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 3px 0 0 var(--accent); padding-left: 12px; }
  .nav-actions { flex-direction: column; align-items: stretch; margin-top: 12px; }
  html:not(.js) .site-nav { flex-wrap: wrap; }
}

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-tight { padding: clamp(20px, 3vw, 36px) 0; }
.section-tint { background: color-mix(in srgb, var(--brand) 4%, var(--page-bg)); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head .section-title { margin: 0; }
.section-title { position: relative; padding-bottom: 14px; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 56px; background: var(--accent); transform-origin: left; }
.js .section-title[data-draw]::after { transform: scaleX(0); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.js .section-title[data-draw].is-drawn::after { transform: scaleX(1); }
.page-head { padding: clamp(28px, 5vw, 56px) 0 clamp(24px, 4vw, 40px); background: color-mix(in srgb, var(--brand) 4%, var(--page-bg)); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-head-media img, .page-head-media .photo-placeholder { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .split, .two-col { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow); }
.panel-title { font-size: 1.25rem; }
.prose { max-width: 70ch; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--accent); }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }

/* Hero */
.hero { background: var(--surface); padding: clamp(24px, 4vw, 48px) 0 clamp(32px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-copy h1 { margin-bottom: .4em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-media { position: relative; margin: 0; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--brand-dark); box-shadow: var(--shadow); }
.hero-media .hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption { position: absolute; left: 12px; bottom: 12px; background: rgba(11, 10, 46, .78); color: var(--on-dark); padding: 6px 12px; border-radius: 4px; font-size: .88rem; z-index: 2; }
.hero-caption a { color: var(--on-dark); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-media { order: -1; } }

/* Foundation to Frame preloader */
.hero-build { position: absolute; inset: 0; display: none; place-items: center; background: var(--brand-dark); color: var(--on-dark); z-index: 1; transition: opacity .18s ease; }
.hero-build svg { width: 72%; height: auto; max-height: 86%; }
.hero-build path { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.hero-build .b-foundation { stroke-width: 6; }
[data-hero].is-building .hero-build, [data-hero].is-static .hero-build, [data-hero].is-done .hero-build { display: grid; }
[data-hero].is-building .hero-build path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: kcl-draw .2s ease-out forwards; }
[data-hero].is-building .b-foundation { animation-delay: 0s !important; animation-duration: .16s !important; }
[data-hero].is-building .b-col1 { animation-delay: .14s !important; }
[data-hero].is-building .b-col2 { animation-delay: .2s !important; }
[data-hero].is-building .b-col3 { animation-delay: .26s !important; }
[data-hero].is-building .b-slab { animation-delay: .38s !important; animation-duration: .1s !important; }
[data-hero].is-building .b-roof { animation-delay: .46s !important; animation-duration: .14s !important; }
[data-hero].is-done .hero-build { opacity: 0; pointer-events: none; }
[data-hero].is-failed .hero-img { visibility: hidden; }
[data-hero].is-failed::after { content: "Project photo unavailable"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--on-dark); font-family: var(--font-head); background: linear-gradient(135deg, var(--brand-dark), var(--brand)); }
@keyframes kcl-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { [data-hero].is-building .hero-build path { animation: none; stroke-dashoffset: 0; } .hero-build { transition-duration: .01s; } }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.project-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.project-card:hover, .project-card:focus-within { border-color: var(--accent); box-shadow: var(--shadow); }
.project-card-link { display: block; text-decoration: none; color: inherit; }
.project-card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--line); }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-card:hover .project-card-media img, .project-card-link:focus-visible .project-card-media img { transform: scale(1.03); }
.project-card-body { padding: 16px 18px 18px; border-top: 3px solid transparent; transition: border-color .2s; }
.project-card:hover .project-card-body, .project-card:focus-within .project-card-body { border-top-color: var(--accent); }
.project-card-title { margin: 0 0 4px; font-size: 1.15rem; color: var(--brand-dark); }
.project-card-meta { margin: 0; font-size: .9rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .project-card-media img { transition: none; } }

.service-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.service-item a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.service-item a:hover { border-color: var(--accent); transform: translateY(-2px); }
.svc-icon { color: var(--accent); flex: none; }
.service-item-title { font-family: var(--font-head); font-weight: 700; color: var(--brand-dark); font-size: 1.08rem; }
.service-item-sum { font-size: .95rem; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 24px; }
.service-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service-card:hover { border-color: var(--accent); }
.service-card-link { display: block; text-decoration: none; color: var(--ink); }
.service-card-media { aspect-ratio: 16/10; overflow: hidden; } .service-card-media img { width: 100%; height: 100%; object-fit: cover; }
.service-card-body { padding: 20px; }
.service-card-body h2 { font-size: 1.3rem; display: flex; gap: 10px; align-items: center; }

.intro-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center; }
.facts { display: grid; gap: 12px; margin: 0; }
.facts div { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 14px 18px; }
.facts dt { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.facts dd { margin: 0; font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--brand); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

.cta-band { background: var(--brand-dark); color: var(--on-dark); padding: clamp(40px, 6vw, 72px) 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 24px 24px; }
.cta-band h2 { color: var(--on-dark); }
.cta-band p { color: color-mix(in srgb, var(--on-dark) 82%, transparent); max-width: 60ch; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Process strip */
.process-strip { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; counter-reset: step; }
.process-strip li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 16px 0; }
.process-strip li::before { content: ""; position: absolute; top: 20px; left: 44px; right: 0; height: 2px; background: var(--accent); transform-origin: left; }
.process-strip li:last-child::before { display: none; }
.js .process-strip[data-draw] li::before { transform: scaleX(0); transition: transform .5s ease; }
.js .process-strip[data-draw].is-drawn li::before { transform: scaleX(1); }
.js .process-strip[data-draw].is-drawn li:nth-child(2)::before { transition-delay: .25s; }
.step-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 700; }
.process-strip strong { font-family: var(--font-head); color: var(--brand-dark); font-size: 1.05rem; margin-top: 6px; }
.process-strip span:last-child { color: var(--muted); font-size: .95rem; }
@media (max-width: 640px) { .process-strip { grid-template-columns: 1fr; } .process-strip li::before { display: none; } }

/* Filters */
.filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 16px; align-items: end; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; }
.filter-actions { display: flex; gap: 8px; }
.js [data-autosubmit] .filter-actions .btn-primary { display: none; }
@media (max-width: 860px) { .filters { grid-template-columns: 1fr; } }
.result-count { color: var(--muted); font-size: .95rem; }
.empty-state { text-align: center; padding: 48px 16px; border: 2px dashed var(--line); border-radius: var(--radius); }

/* Project detail */
.project-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.project-meta li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .9rem; }
.project-cover { margin: 0; } .project-cover img { width: 100%; border-radius: var(--radius); max-height: 70vh; object-fit: cover; }
.project-cover figcaption, .gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery a { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.03); }
.preview-banner { background: var(--accent-bright); color: var(--brand-dark); text-align: center; padding: 10px; font-weight: 600; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; color: #fff; }
.lightbox::backdrop { background: rgba(5, 4, 20, .9); }
.lightbox img { max-width: 92vw; max-height: 82vh; margin: 0 auto; border-radius: 4px; }
.lightbox p { text-align: center; margin: 8px 0 0; }
.lightbox-close { position: fixed; top: 12px; right: 16px; width: 48px; height: 48px; font-size: 2rem; background: rgba(0,0,0,.5); color: #fff; border: 0; border-radius: 50%; cursor: pointer; }
.lightbox-nav { position: fixed; inset: 50% 8px auto; display: flex; justify-content: space-between; pointer-events: none; }
.lightbox-nav button { pointer-events: auto; width: 48px; height: 64px; font-size: 2.2rem; background: rgba(0,0,0,.5); color: #fff; border: 0; border-radius: 6px; cursor: pointer; }

/* Before / after */
.compare { position: relative; overflow: hidden; border-radius: var(--radius); max-height: 75vh; background: var(--line); }
.compare figure { margin: 0; position: absolute; inset: 0; }
.compare img { width: 100%; height: 100%; object-fit: cover; }
.compare figcaption { position: absolute; top: 12px; background: rgba(11,10,46,.8); color: #fff; padding: 4px 10px; border-radius: 4px; font-weight: 600; font-size: .9rem; }
.compare-after figcaption { right: 12px; } .compare-before figcaption { left: 12px; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); border-right: 3px solid var(--accent-bright); }
.compare-control { position: absolute; inset: auto 0 12px; display: flex; justify-content: center; }
.compare-control input { width: min(90%, 520px); accent-color: var(--accent); min-height: 32px; }

/* About */
.ceo { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; }
.ceo-photo img, .ceo-photo .photo-placeholder { border-radius: var(--radius); }
.ceo-quote { margin: 0; font-size: 1.1rem; }
.ceo-quote footer { font-weight: 600; color: var(--brand); }
@media (max-width: 760px) { .ceo { grid-template-columns: 1fr; } }
.wide-photo { width: 100%; border-radius: var(--radius); }

/* Contact & forms */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
a.contact-card:hover { border-color: var(--accent); }
.contact-label { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-card strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--brand-dark); overflow-wrap: anywhere; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.route-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.route-tab { display: flex; flex-direction: column; padding: 16px 18px; border: 2px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--surface); }
.route-tab strong { font-family: var(--font-head); color: var(--brand-dark); }
.route-tab span { font-size: .9rem; color: var(--muted); }
.route-tab[aria-current="page"] { border-color: var(--brand); box-shadow: inset 0 -4px 0 var(--accent); }
@media (max-width: 560px) { .route-tabs { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
legend { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--brand-dark); margin-bottom: 12px; padding: 0; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
label { font-weight: 600; }
.req, .opt { font-weight: 400; font-size: .85rem; color: var(--muted); margin-left: 4px; }
.hint { font-size: .92rem; color: var(--muted); margin: 0; }
input:not([type=checkbox]):not([type=range]):not([type=file]), select, textarea { width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid color-mix(in srgb, var(--ink) 30%, transparent); border-radius: var(--radius); }
textarea { min-height: 120px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: var(--focus); outline-offset: 1px; border-color: var(--brand); }
input[type=file] { padding: 10px; border: 1.5px dashed color-mix(in srgb, var(--ink) 30%, transparent); border-radius: var(--radius); width: 100%; background: #fff; }
[aria-invalid="true"] { border-color: #b42318 !important; }
.field-error { color: #b42318; font-weight: 600; font-size: .93rem; margin: 0; }
.check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.check label { flex: 1; font-weight: 400; }
.check .field-error { flex-basis: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; border-left: 4px solid; }
.alert ul { margin: 6px 0 0; padding-left: 1.2em; }
.alert-error { background: #fdecea; border-color: #b42318; color: #7a1a12; }
.alert-error a { color: #7a1a12; }
.alert-info { background: color-mix(in srgb, var(--brand) 7%, #fff); border-color: var(--brand); }
.form-panel h2 { margin-top: 0; }

/* Confirmation, 404, chips */
.received { text-align: center; }
.received-mark { color: var(--accent); display: flex; justify-content: center; margin-bottom: 12px; }
.ref-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); letter-spacing: .06em; color: var(--brand); background: var(--surface); border: 2px dashed var(--accent); display: inline-block; padding: 8px 20px; border-radius: var(--radius); }
.steps { text-align: left; display: inline-block; }
.received .lead { margin: 0 auto .4em; }
.chip-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-block; padding: 8px 16px; border: 1.5px solid var(--brand); border-radius: 999px; text-decoration: none; font-weight: 600; }
.chip:hover { background: var(--brand); color: #fff; }

/* Photo placeholders (iTach standard: show what photo is needed) */
.photo-placeholder { margin: 0; width: 100%; display: grid; place-items: center; background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--brand) 6%, #fff) 0 12px, color-mix(in srgb, var(--brand) 10%, #fff) 12px 24px); border: 2px dashed color-mix(in srgb, var(--brand) 35%, transparent); border-radius: var(--radius); color: var(--brand-dark); text-align: center; padding: 16px; min-height: 160px; }
.ph-inner { display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 34ch; }
.ph-inner strong { font-family: var(--font-head); }
.ph-size { font-family: ui-monospace, monospace; font-size: .85rem; background: var(--accent); color: var(--brand-dark); padding: 1px 8px; border-radius: 4px; }
.ph-desc { font-size: .88rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--brand-dark); color: color-mix(in srgb, var(--on-dark) 85%, transparent); padding-top: 56px; }
.site-footer a { color: var(--on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer-logo { background: #fff; padding: 8px 12px; border-radius: var(--radius); width: 120px; margin-bottom: 12px; }
.footer-h { color: var(--accent); font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; padding-bottom: 16px; font-size: .9rem; }
.footer-base p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile quick bar: Call + Request a Quotation always within reach */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 64px; }
  .mobile-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--brand-dark); padding: 8px; gap: 8px; box-shadow: 0 -4px 16px rgba(0,0,0,.18); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--radius); font: 700 1rem var(--font-head); text-decoration: none; }
  .mobile-bar-call { border: 2px solid var(--on-dark); color: var(--on-dark); }
  .mobile-bar-quote { background: var(--accent); color: var(--brand-dark); }
}
@media print { .site-header, .mobile-bar, .site-footer, .cta-band { display: none; } }

/* ===================== Homepage hero slider (v1.1) ===================== */
.hero-slider { position: relative; background: var(--brand-dark); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.slides { position: relative; height: clamp(540px, 82vh, 780px); }
.slide { position: absolute; inset: 0; display: flex; align-items: center; }
.js .slide { opacity: 0; visibility: hidden; transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1), visibility 0s linear .9s; }
.js .slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1), visibility 0s; z-index: 2; }
.js .effect-slide .slide { transform: translateX(6%); }
.js .effect-slide .slide.is-leaving { transform: translateX(-6%); }
.js .effect-slide .slide.is-active { transform: none; }
.js .effect-zoom .slide { transform: scale(1.06); }
.js .effect-zoom .slide.is-active { transform: none; }
.slide-media { position: absolute; inset: 0; margin: 0; background: var(--brand-dark); overflow: hidden; }
.slide-media .slide-img { width: 100%; height: 100%; object-fit: cover; }
.slide-media .photo-placeholder { height: 100%; border-radius: 0; }
.focal-top .slide-img { object-position: center 20%; } .focal-bottom .slide-img { object-position: center 80%; }
.focal-left .slide-img { object-position: 20% center; } .focal-right .slide-img { object-position: 80% center; }
/* Ken Burns: slow drift on the active photo, alternating direction */
.has-kenburns .slide.is-active .slide-img { animation: kcl-kb var(--slide-ms, 7s) ease-out both; }
.has-kenburns .slide:nth-child(even).is-active .slide-img { animation-name: kcl-kb-alt; }
@keyframes kcl-kb { from { transform: scale(1.12) translate(1.5%, 1%); } to { transform: scale(1.02) translate(0, 0); } }
@keyframes kcl-kb-alt { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.slide-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--brand-dark) 92%, transparent) 0%, color-mix(in srgb, var(--brand-dark) 70%, transparent) 38%, color-mix(in srgb, var(--brand-dark) 10%, transparent) 72%),
              linear-gradient(0deg, color-mix(in srgb, var(--brand-dark) 60%, transparent), transparent 35%); }
.slide-copy { position: relative; z-index: 3; width: 100%; padding-top: 24px; padding-bottom: 96px; }
.slide-copy > * { max-width: 620px; }
.slide-eyebrow { color: var(--accent-bright); display: inline-flex; align-items: center; gap: 10px; }
.slide-eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--accent-bright); }
.slide-title { color: #fff; font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.9rem); font-weight: 800; line-height: 1.05; margin: 0 0 .35em; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.slide-sub { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: color-mix(in srgb, #fff 88%, transparent); margin-bottom: 0; }
.slide-actions { margin-top: 28px; }
.slide-caption { position: absolute; z-index: 3; right: var(--gutter); bottom: 86px; margin: 0; font-size: .88rem; background: rgba(11,10,46,.62); padding: 6px 12px; border-left: 3px solid var(--accent); border-radius: 3px; backdrop-filter: blur(4px); }
.slide-caption a { color: #fff; }
/* text entrance animations (replayed on every slide change) */
.js .slide.is-active .slide-copy > * { animation: kcl-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.js .slide.is-active .slide-copy > :nth-child(1) { animation-delay: .25s; }
.js .slide.is-active .slide-copy > :nth-child(2) { animation-delay: .4s; }
.js .slide.is-active .slide-copy > :nth-child(3) { animation-delay: .55s; }
.js .slide.is-active .slide-copy > :nth-child(4) { animation-delay: .7s; }
.js .slide.anim-slide.is-active .slide-copy > * { animation-name: kcl-slide-in; }
.js .slide.anim-zoom.is-active .slide-copy > * { animation-name: kcl-zoom-in; }
.js .slide.anim-fade.is-active .slide-copy > * { animation-name: kcl-fade-in; }
.js .slide.is-active .slide-eyebrow::before { animation: kcl-line .7s .35s cubic-bezier(.2,.7,.2,1) both; transform-origin: left; }
.js .slide.is-active .slide-caption { animation: kcl-fade-in .6s 1s both; }
@keyframes kcl-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes kcl-slide-in { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
@keyframes kcl-zoom-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes kcl-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes kcl-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* controls */
.slider-controls { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 5; }
.slider-controls-inner { display: flex; align-items: center; gap: 10px; }
.slider-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); background: rgba(11,10,46,.35); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s; }
.slider-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--brand-dark); }
.ico-pause { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.is-paused .ico-pause { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.slider-dots { display: flex; gap: 8px; margin: 0 6px; }
.slider-dot { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.slider-dot::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 3px; margin-top: -1.5px; background: rgba(255,255,255,.35); border-radius: 2px; }
.dot-fill { position: absolute; left: 4px; top: 50%; height: 3px; margin-top: -1.5px; width: 0; background: var(--accent-bright); border-radius: 2px; }
.slider-dot[aria-current="true"] .dot-fill { width: calc(100% - 8px); }
.hero-slider.is-playing .slider-dot[aria-current="true"] .dot-fill { animation: kcl-progress var(--slide-ms, 7s) linear both; }
.hero-slider.is-hold .slider-dot[aria-current="true"] .dot-fill { animation-play-state: paused; }
@keyframes kcl-progress { from { width: 0; } to { width: calc(100% - 8px); } }
.slider-count { margin-left: auto; font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; font-size: .9rem; color: rgba(255,255,255,.8); }
.slider-count [data-slider-current] { color: var(--accent-bright); }
/* preloader sits inside the first slide's photo area; text stays readable above it */
.slide-media .hero-build { z-index: 1; }
.slide-media[data-hero].is-failed::after { z-index: 1; }
@media (max-width: 760px) {
  .slides { height: clamp(400px, calc(100svh - 150px), 620px); }
  .slide-title { font-size: clamp(1.75rem, 1.2rem + 3vw, 2.3rem); }
  .slide-sub { font-size: 1rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .slide-actions { gap: 10px; margin-top: 18px; }
  .slide-actions .btn-lg { min-height: 46px; padding: .6em 1em; font-size: .98rem; }
  .slider-controls { bottom: 12px; }
  .slider-btn { width: 40px; height: 40px; }
  .slide { align-items: flex-end; }
  .slide-shade { background: linear-gradient(0deg, color-mix(in srgb, var(--brand-dark) 95%, transparent) 0%, color-mix(in srgb, var(--brand-dark) 75%, transparent) 45%, color-mix(in srgb, var(--brand-dark) 15%, transparent) 80%); }
  .slide-copy { padding-bottom: 72px; }
  .slide-caption { top: 14px; bottom: auto; right: 12px; font-size: .8rem; }
  .slide-actions .btn { flex: 1 1 auto; }
  .slider-btn[data-slider-prev], .slider-btn[data-slider-next] { display: none; }
  .slider-dot { width: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .slide, .js .slide.is-active { transition: none; transform: none !important; }
  .has-kenburns .slide.is-active .slide-img, .js .slide.is-active .slide-copy > *, .js .slide.is-active .slide-eyebrow::before, .js .slide.is-active .slide-caption { animation: none !important; }
}

/* Stat strip with count-up */
.stat-strip { background: var(--accent); color: var(--brand-dark); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 22px 16px; border-left: 1px solid color-mix(in srgb, var(--brand-dark) 18%, transparent); display: flex; flex-direction: column; gap: 2px; }
.stat-item:first-child { border-left: 0; }
.stat-item strong { font-family: var(--font-head); font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-item span { font-size: .92rem; font-weight: 600; }
@media (max-width: 760px) { .stat-grid { grid-template-columns: 1fr 1fr; } .stat-item:nth-child(3) { border-left: 0; } .stat-item:nth-child(n+3) { border-top: 1px solid color-mix(in srgb, var(--brand-dark) 18%, transparent); } }
.intro-media img, .intro-media .photo-placeholder { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* Scroll reveal (only when JS runs and motion is allowed) */
.reveal-ready [data-reveal], .reveal-ready [data-reveal-group] > * { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-ready [data-reveal].is-visible, .reveal-ready [data-reveal-group].is-visible > * { opacity: 1; transform: none; }
.reveal-ready [data-reveal-group].is-visible > :nth-child(2) { transition-delay: .1s; }
.reveal-ready [data-reveal-group].is-visible > :nth-child(3) { transition-delay: .2s; }
.reveal-ready [data-reveal-group].is-visible > :nth-child(4) { transition-delay: .3s; }
.reveal-ready [data-reveal-group].is-visible > :nth-child(5) { transition-delay: .4s; }
.reveal-ready [data-reveal-group].is-visible > :nth-child(n+6) { transition-delay: .5s; }
@media (max-width: 760px) and (max-height: 640px) {
  .slide-sub { display: none; }
  .slide-eyebrow { margin-bottom: .3rem; }
}
.slider-count { white-space: nowrap; }
@media (max-width: 380px) {
  .menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .slider-dot { width: 26px; }
  .slider-dots { gap: 4px; margin: 0 2px; }
  .mobile-bar a { font-size: .9rem; }
}

/* ---------- v1.3 Animated logo preloader ---------- */
.kcl-preloader { display: none; }
.has-preloader .kcl-preloader { display: grid; place-items: center; position: fixed; inset: 0; z-index: 1000; background: var(--page-bg); transition: opacity .45s ease, visibility 0s .45s; animation: kcl-pl-failsafe .45s 4.2s forwards; }
.has-preloader.pl-done .kcl-preloader { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes kcl-pl-failsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.has-preloader:not(.pl-done) body { overflow: hidden; }
.pl-inner { display: grid; justify-items: center; gap: 12px; width: min(340px, 80vw); text-align: center; }
/* "Built from the foundation up": gold foundation line draws, the logo rises course by course behind a moving gold edge */
.pl-build { position: relative; width: 78%; }
.pl-logo { width: 100%; height: auto; clip-path: inset(100% 0 0 0); animation: kcl-pl-build 1s .45s cubic-bezier(.55,.1,.3,1) forwards; }
@keyframes kcl-pl-build { to { clip-path: inset(0 0 0 0); } }
.pl-crane { position: absolute; left: -6%; right: -6%; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent) 20%, var(--accent) 80%, transparent); opacity: 0; animation: kcl-pl-crane 1s .45s cubic-bezier(.55,.1,.3,1) forwards; }
@keyframes kcl-pl-crane { 0% { bottom: 0; opacity: 1; } 90% { opacity: 1; } 100% { bottom: 100%; opacity: 0; } }
.pl-foundation { width: 100%; height: 8px; margin-top: -6px; overflow: visible; }
.pl-foundation path { fill: none; stroke: var(--brand-dark); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 240; stroke-dashoffset: 240; animation: kcl-draw .5s cubic-bezier(.6,.05,.3,1) forwards; }
.pl-tagline { margin: 2px 0 0; font: 600 .78rem var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); opacity: 0; animation: kcl-fade-in .5s 1.1s forwards; }
.pl-bar { width: 140px; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--brand-dark) 12%, transparent); overflow: hidden; }
.pl-bar span { display: block; height: 100%; width: 0; background: var(--accent); animation: kcl-pl-bar 2.2s cubic-bezier(.3,.6,.3,1) forwards; }
@keyframes kcl-pl-bar { 0% { width: 0; } 60% { width: 72%; } 100% { width: 92%; } }
.pl-done .pl-bar span { width: 100%; transition: width .2s; animation: none; }
/* Hold the first slide's text animation until the preloader has gone */
.has-preloader:not(.pl-done) .slide.is-active .slide-copy > *, .has-preloader:not(.pl-done) .slide.is-active .slide-caption { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .pl-foundation path, .pl-logo, .pl-tagline, .pl-bar span, .pl-crane { animation: none !important; stroke-dashoffset: 0; opacity: 1; clip-path: none; }
  .pl-crane { display: none; }
  .has-preloader .kcl-preloader { animation-delay: 1.5s; }
}

/* ---------- v1.3 Social links + Google review ---------- */
.social-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; }
.social-list a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--on-dark) 35%, transparent); color: var(--on-dark); transition: background .2s, color .2s, transform .2s; }
.social-list a:hover { background: var(--accent); border-color: var(--accent); color: var(--brand-dark); transform: translateY(-2px); }
.small-light { margin-top: 12px; font-size: .92rem; }
.small-light a { color: var(--accent-bright); }

/* ---------- v1.3 Analytics consent banner ---------- */
.consent { position: fixed; z-index: 900; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto; background: var(--brand-dark); color: var(--on-dark); padding: 16px 18px; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.3); display: grid; gap: 12px; font-size: .95rem; animation: kcl-rise .5s both; }
.consent p { margin: 0; }
.consent a { color: var(--accent-bright); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent .btn { min-height: 42px; padding: 8px 16px; }
@media (max-width: 760px) { .consent { bottom: 76px; left: 10px; right: 10px; } }
@media print { .consent, .kcl-preloader { display: none !important; } }

/* ===================== v1.4 Design refresh ===================== */
picture { display: contents; }
/* Typography scale */
h1 { letter-spacing: -.02em; }
h2 { font-weight: 800; letter-spacing: -.015em; }
.lead { line-height: 1.55; }
.h3-like { font-size: 1.15rem; margin-top: 2rem; }
.btn { transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn-gold:hover, .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(16, 12, 40, .16); }
.btn-linklike { background: none; border: 0; padding: 0; color: var(--brand); text-decoration: underline; cursor: pointer; font: inherit; }

/* Menu: gold underline that grows on hover */
.site-nav ul a { position: relative; border-bottom: 0; }
.site-nav ul a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 1020px) { .site-nav ul a::after { display: none; } .site-nav ul a { border-bottom: 1px solid var(--line); } }

/* Sand sections + roof-line motif from the logo */
.section-alt { background: var(--section-alt, #f4efe3); }
.section-motif, .page-head-motif, .section-dark-motif { position: relative; overflow: hidden; isolation: isolate; }
.roof-motif { position: absolute; z-index: -1; pointer-events: none; color: var(--gold-soft, #e9cf8a); }
.motif-corner { right: -60px; bottom: -18px; width: min(520px, 70vw); height: auto; opacity: .55; }
.page-head-motif .motif-corner { opacity: .45; bottom: -30px; }
.section-dark-motif { background-color: var(--brand-dark); color: var(--on-dark);
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 28px 28px; }
.section-dark-motif .motif-corner { color: var(--accent); opacity: .18; }
.on-dark, .section-title.on-dark { color: #fff; }
a.on-dark { color: var(--accent-bright); }
.section-alt + .section-alt { padding-top: 0; }

/* Hero: lighter left-side gradient so more of the building shows; trust badge; optional video */
.slide-shade { background: linear-gradient(90deg, color-mix(in srgb, var(--brand-dark) 86%, transparent) 0%, color-mix(in srgb, var(--brand-dark) 55%, transparent) 34%, transparent 64%),
                           linear-gradient(0deg, color-mix(in srgb, var(--brand-dark) 55%, transparent), transparent 30%); }
.slide-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.slide-video.is-playing { opacity: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0; padding: 7px 14px 7px 10px; border-radius: 999px; font: 600 .9rem var(--font-head);
  color: var(--brand-dark); background: color-mix(in srgb, #fff 92%, transparent); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.hero-badge svg { color: var(--accent); }
.js .slide.is-active .slide-copy > :nth-child(5) { animation-delay: .85s; }
@media (max-width: 760px) { .hero-badge { margin-top: 14px; font-size: .8rem; } }

/* Featured project band (magazine layout) */
.feature-band { padding-bottom: clamp(24px, 4vw, 48px); }
.feature-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.feature-media { margin: 0; border-radius: 10px; overflow: hidden; box-shadow: 0 24px 60px rgba(16, 12, 40, .18); position: relative; aspect-ratio: 16 / 10; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.feature-media:hover img { transform: scale(1.04); }
.feature-media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 6px; background: var(--accent); }
.feature-title { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); }
.feature-facts { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.feature-facts li { background: var(--section-alt, #f4efe3); border: 1px solid var(--gold-soft, #e9cf8a); color: var(--brand-dark); border-radius: 999px; padding: 3px 12px; font-size: .88rem; font-weight: 600; }
.feature-story { font-size: 1.12rem; }
.feature-meta { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

/* Service image tiles */
.service-tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.service-tile a { position: relative; display: block; height: 340px; border-radius: 10px; overflow: hidden; color: #fff; text-decoration: none; background: var(--brand); isolation: isolate; }
.service-tile .tile-img, .service-tile .photo-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); z-index: -2; border: 0; border-radius: 0; }
.tile-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, color-mix(in srgb, var(--brand-dark) 94%, transparent) 8%, color-mix(in srgb, var(--brand-dark) 55%, transparent) 50%, color-mix(in srgb, var(--brand-dark) 10%, transparent)); transition: background .3s; }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.tile-body .svc-icon { color: var(--accent-bright); }
.tile-title { color: #fff; font-size: 1.2rem; margin: 0; }
.tile-sum { font-size: .92rem; color: rgba(255,255,255,.86); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile-more { font: 700 .9rem var(--font-head); color: var(--accent-bright); max-height: 0; opacity: 0; transition: max-height .3s, opacity .3s; }
.service-tile a:hover .tile-img, .service-tile a:focus-visible .tile-img { transform: scale(1.08); }
.service-tile a:hover .tile-more, .service-tile a:focus-visible .tile-more { max-height: 2em; opacity: 1; }
.service-tile a::after { content: ""; position: absolute; left: 20px; bottom: 0; width: 0; height: 4px; background: var(--accent); transition: width .35s; }
.service-tile a:hover::after, .service-tile a:focus-visible::after { width: calc(100% - 40px); }
@media (max-width: 640px) { .service-tile a { height: 240px; } .tile-more { max-height: 2em; opacity: 1; } }

/* Process timeline with photos */
.timeline { grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 32px); }
.timeline li { padding: 0; gap: 6px; }
.timeline .tl-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; margin-bottom: -26px; box-shadow: var(--shadow); }
.timeline .tl-photo img, .timeline .tl-photo .photo-placeholder { width: 100%; height: 100%; object-fit: cover; }
.timeline .step-num { position: relative; z-index: 2; width: 52px; height: 52px; margin-left: 16px; background: var(--accent); color: var(--brand-dark); font-size: 1.25rem; border: 4px solid var(--surface); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.section-alt .timeline .step-num { border-color: var(--section-alt, #f4efe3); }
.timeline li::before { display: none; }
.timeline strong { font-size: 1.15rem; }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; } .timeline .tl-photo { aspect-ratio: 16 / 9; } }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.testi { margin: 0; background: var(--surface); border-radius: 10px; padding: 26px 26px 22px; box-shadow: var(--shadow); border-top: 4px solid var(--accent); position: relative; }
.testi-mark { width: 40px; color: var(--gold-soft, #e9cf8a); margin-bottom: 8px; }
.testi blockquote { margin: 0 0 14px; font-size: 1.08rem; color: var(--ink); }
.testi figcaption { display: flex; flex-direction: column; gap: 2px; font-size: .92rem; color: var(--muted); }
.testi figcaption strong { color: var(--brand-dark); font-family: var(--font-head); font-size: 1rem; }

/* Pull quote (CEO message) */
.pull-quote { margin: 0; position: relative; padding: 8px 0 0 clamp(0px, 5vw, 72px); font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); }
.pull-mark { position: absolute; left: 0; top: 4px; width: clamp(36px, 4vw, 56px); color: var(--accent); }
.pull-quote footer { margin-top: 12px; font-family: var(--font-head); font-weight: 700; color: var(--brand); }
@media (max-width: 640px) { .pull-mark { position: static; display: block; margin-bottom: 8px; } }

/* Consistent card hover: lift + image zoom + gold edge */
.project-card, .service-card, .post-card, .area-card a, .mason-card { transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .25s; }
.project-card:hover, .project-card:focus-within, .service-card:hover, .area-card a:hover, .mason-card:hover, .mason-card:focus-within { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16, 12, 40, .14); border-color: var(--accent); }
.service-card-media img, .area-media img { transition: transform .5s ease; }
.service-card:hover .service-card-media img, .area-card a:hover .area-media img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .project-card, .service-card, .mason-card, .area-card a { transition: none; transform: none !important; } }

/* Masonry projects with hover captions */
.masonry { columns: 3 300px; column-gap: 22px; }
.masonry > * { break-inside: avoid; margin-bottom: 22px; display: inline-block; width: 100%; }
.mason-card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mason-link { display: block; color: inherit; text-decoration: none; }
.mason-media { position: relative; overflow: hidden; background: var(--line); }
.mason-media img { width: 100%; height: auto; max-height: 460px; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.mason-hover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 16px; color: #fff; font-weight: 600;
  background: linear-gradient(0deg, color-mix(in srgb, var(--brand-dark) 88%, transparent), transparent 70%); opacity: 0; transition: opacity .3s; }
.mason-photos { color: var(--accent-bright); font: 700 .9rem var(--font-head); }
.mason-card:hover .mason-hover, .mason-link:focus-visible .mason-hover { opacity: 1; }
.mason-card:hover .mason-media img { transform: scale(1.04); }
.mason-body { padding: 14px 18px 16px; border-top: 3px solid var(--accent); }
@media (hover: none) { .mason-hover { display: none; } }

/* Case-study hero + fact strip */
.case-hero { position: relative; height: clamp(360px, 64vh, 660px); background: var(--brand-dark); overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.case-hero-media { position: absolute; inset: 0; margin: 0; z-index: -2; }
.case-hero-media img, .case-hero-media .photo-placeholder { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.case-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, color-mix(in srgb, var(--brand-dark) 92%, transparent) 0%, color-mix(in srgb, var(--brand-dark) 40%, transparent) 45%, transparent 75%); }
.case-hero-copy { width: 100%; padding-bottom: clamp(24px, 4vw, 44px); color: #fff; }
.case-hero-copy h1 { color: #fff; margin-bottom: .2em; font-size: clamp(2.1rem, 1.4rem + 3vw, 3.8rem); }
.case-hero-copy .eyebrow { color: var(--accent-bright); }
.case-hero-caption { color: rgba(255,255,255,.85); margin: 0; }
.crumbs-light, .crumbs-light a { color: rgba(255,255,255,.82); }
.fact-strip { background: var(--brand-dark); color: var(--on-dark); border-top: 4px solid var(--accent); }
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 0 auto; }
.fact-grid > div { padding: 16px 18px; border-left: 1px solid rgba(255,255,255,.1); }
.fact-grid > div:first-child { border-left: 0; padding-left: 0; }
.fact-grid dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-bright); }
.fact-grid dd { margin: 2px 0 0; font-family: var(--font-head); font-weight: 700; color: #fff; }
.fact-grid dd a { color: #fff; }
@media (max-width: 640px) { .fact-grid > div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); } }

/* Before / after – prominent with a drag handle; the whole image is draggable */
.ba-section .compare { box-shadow: 0 20px 50px rgba(16,12,40,.18); border-radius: 10px; margin-bottom: 16px; }
.compare-before { border-right: 0; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 4px; margin-left: -2px; background: var(--accent-bright); z-index: 3; pointer-events: none; }
.compare-handle span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--accent-bright); color: var(--brand-dark); display: grid; place-items: center; font: 800 1.1rem var(--font-head); box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.compare-control { inset: 0; z-index: 4; }
.compare-control input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare:has(input:focus-visible) .compare-handle span { outline: var(--focus); outline-offset: 3px; }

/* FAQ accordion */
.faq-list { display: grid; gap: 10px; margin-bottom: 24px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--accent); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--section-alt, #f4efe3); color: var(--brand); font: 700 1.2rem var(--font-head); transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--brand-dark); }
.faq-q { margin: 0; font-size: 1.05rem; }
.faq-a { padding: 0 20px 16px; }
.faq-group { margin-top: 1.4em; }
.faq-group:first-child { margin-top: 0; }

/* Area pages */
.area-grid { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.area-card a { display: block; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; color: inherit; text-decoration: none; }
.area-media { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--brand-dark), var(--brand)); display: grid; place-items: center; color: var(--accent-bright); }
.area-media img { width: 100%; height: 100%; object-fit: cover; }
.area-body { padding: 16px 18px 18px; border-top: 3px solid var(--accent); }
.area-body h2 { font-size: 1.25rem; margin-bottom: 4px; }
.area-body p { color: var(--muted); margin-bottom: 8px; font-size: .92rem; }
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.plain-list a { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; padding: 6px 0; }

/* News */
.post-date { font-size: .85rem; color: var(--muted); margin: 0 0 4px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.post-noimg { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-dark), var(--brand)); }
.post-noimg .svc-icon { width: 54px; height: 54px; color: var(--accent-bright); }
.post-cover { margin-top: -10px; margin-bottom: 8px; }
.post-cover img { border-radius: 10px; box-shadow: var(--shadow); width: 100%; }
.post-body { font-size: 1.08rem; }
.post-project { margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--line); }

/* Contact map (click to load) */
.map-card { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--section-alt, #f4efe3); aspect-ratio: 4 / 3; }
.map-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px; color: var(--brand-dark);
  background-image: linear-gradient(color-mix(in srgb, var(--brand) 6%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--brand) 6%, transparent) 1px, transparent 1px); background-size: 22px 22px; }
.map-placeholder svg { color: var(--accent); }
.map-placeholder p { margin: 0; }
.map-card iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Floating WhatsApp (computers; phones use the bottom bar) */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 70; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #25d366; color: #fff; text-decoration: none; font: 700 .98rem var(--font-head); box-shadow: 0 10px 28px rgba(0,0,0,.25); transition: transform .2s, box-shadow .2s; }
.wa-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.3); }
@media (max-width: 760px) { .wa-float { display: none; } }
body:has(.consent:not([hidden])) .wa-float { bottom: 200px; }

/* Footer: mini project strip */
.footer-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-bottom: 28px; }
.fs-item { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; }
.fs-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; opacity: .85; }
.fs-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; font: 600 .82rem var(--font-head); color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent); }
.fs-item:hover img { transform: scale(1.06); opacity: 1; }
@media (max-width: 760px) { .footer-strip { grid-template-columns: repeat(2, 1fr); } }

/* 404 illustration: an unfinished building */
.nf-art { width: min(320px, 80vw); height: auto; margin: 0 auto 8px; display: block; }
.nf-art path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.nf-ground { stroke: var(--brand-dark); stroke-width: 6; }
.nf-frame { stroke: var(--brand); stroke-width: 5; stroke-dasharray: 10 7; }
.nf-roof { stroke: var(--accent); stroke-width: 6; }
.nf-crane { stroke: var(--muted); stroke-width: 4; }
.nf-load { fill: var(--accent); animation: kcl-swing 2.4s ease-in-out infinite alternate; transform-origin: 296px 22px; }
.nf-brick { stroke: var(--accent) !important; stroke-width: 3; fill: var(--gold-soft, #e9cf8a) !important; }
@keyframes kcl-swing { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.not-found { text-align: center; }
.not-found .chip-list { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .nf-load { animation: none; } }

/* Preloader: gold foundation line */
.pl-foundation path { stroke: var(--accent); }

/* Print: case studies print cleanly (Print or save as PDF) */
@media print {
  .wa-float, .consent, .kcl-preloader, .lightbox, .no-print, .filters, .crumbs, .mobile-bar, .footer-strip, .compare-control, .compare-handle, .roof-motif { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .case-hero { height: auto; display: block; background: none; }
  .case-hero-media { position: static; } .case-hero-media img { max-height: 9cm; border-radius: 0; }
  .case-hero-shade { display: none; }
  .case-hero-copy { color: #000; padding-top: 12px; } .case-hero-copy h1 { color: #000; }
  .fact-strip { background: none; color: #000; border: 1px solid #999; } .fact-grid dd, .fact-grid dd a { color: #000; } .fact-grid dt { color: #555; }
  .gallery { grid-template-columns: repeat(3, 1fr); } .gallery a { aspect-ratio: 4/3; }
  .section { padding: 12px 0; } .section-alt, .section-tint { background: none; }
  .panel { box-shadow: none; }
  a[href^="http"]::after { content: ""; }
  .reveal-ready [data-reveal], .reveal-ready [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
}

/* v1.4 header fit with more menu items */
.nav-actions .btn, .brand-text strong { white-space: nowrap; }
@media (min-width: 1021px) and (max-width: 1320px) {
  .site-nav { gap: 10px; }
  .site-nav ul a { padding: 10px 9px; font-size: .95rem; }
  .site-nav ul a::after { left: 9px; right: 9px; }
  .nav-phone .nav-phone-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-phone { min-width: 44px; padding-left: .6em; padding-right: .6em; }
}
@media (min-width: 1021px) and (max-width: 1140px) { .brand-text { display: none; } }

/* v1.4 accessibility fixes (Lighthouse) */
.eyebrow { color: color-mix(in srgb, var(--accent) 52%, var(--brand-dark)); }
.slide-eyebrow, .case-hero-copy .eyebrow, .section-dark-motif .eyebrow { color: var(--accent-bright); }
.site-footer .btn-gold, .site-footer .btn-gold:hover { color: var(--brand-dark); }
.btn-linklike { min-height: 24px; padding: 4px 0; }
@media (max-width: 480px) { .brand-text strong { white-space: normal; font-size: .95rem; } .brand img { width: 70px; } }
@media (max-width: 760px) { .hero-badge { display: none; } }

/* ===================== v1.4.1 Full-width layout ===================== */
:root { --wrap: 1760px; --gutter: clamp(16px, 4.5vw, 88px); }
.narrow { max-width: 940px; }
.wrap.narrow { max-width: calc(940px + 2 * var(--gutter)); }
.prose { max-width: 78ch; }
.card-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.masonry { columns: 4 320px; }
.gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.slide-copy > * { max-width: 680px; }
.feature-grid { grid-template-columns: 1.6fr 1fr; }
@media (min-width: 1600px) { body { font-size: 1.125rem; } .slide-title { font-size: 4.4rem; } }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

/* ===================== v1.4.1 Architectural drawing backgrounds =====================
   Original construction drawings (plan, elevation, section, details) shown faintly behind the page.
   Line colour: Settings → Colours → “Architectural drawing lines”; strength and on/off: Company & routing. */
.drawings { position: relative; isolation: isolate; }
.drawings::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--drawing-line, var(--brand)); opacity: var(--drawing-opacity, .08);
  -webkit-mask: url("../img/drawing-sheet.svg") 0 0 / 1500px auto repeat; mask: url("../img/drawing-sheet.svg") 0 0 / 1500px auto repeat; }
.drawings .page-head, .drawings .section-alt, .drawings .section-dark-motif, .drawings .cta-band, .drawings .site-footer, .drawings .stat-strip, .drawings .fact-strip { position: relative; isolation: isolate; overflow: hidden; }
.drawings .page-head::after, .drawings .section-alt::after, .drawings .section-dark-motif::after, .drawings .cta-band::after, .drawings .site-footer::after, .drawings .fact-strip::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; background: var(--drawing-line, var(--brand)); opacity: calc(var(--drawing-opacity, .08) * 1.6); }
.drawings .page-head::after { top: -20px; right: -40px; width: min(980px, 75%); height: calc(100% + 40px);
  -webkit-mask: url("../img/drawing-elevation.svg") right center / contain no-repeat; mask: url("../img/drawing-elevation.svg") right center / contain no-repeat; }
.drawings .section-alt::after { inset: 0;
  -webkit-mask: url("../img/drawing-plan.svg") right -60px bottom -40px / 760px auto no-repeat, url("../img/drawing-section.svg") left -80px top 20px / 520px auto no-repeat;
  mask: url("../img/drawing-plan.svg") right -60px bottom -40px / 760px auto no-repeat, url("../img/drawing-section.svg") left -80px top 20px / 520px auto no-repeat; }
/* light lines on dark backgrounds */
.drawings .section-dark-motif::after, .drawings .cta-band::after, .drawings .site-footer::after, .drawings .fact-strip::after { background: var(--on-dark); opacity: calc(var(--drawing-opacity, .08) * 1.3); }
.drawings .section-dark-motif::after { inset: 0; -webkit-mask: url("../img/drawing-sheet.svg") center / 1700px auto repeat; mask: url("../img/drawing-sheet.svg") center / 1700px auto repeat; }
.drawings .cta-band::after { top: -30px; bottom: -30px; right: 2%; width: min(760px, 70%); -webkit-mask: url("../img/drawing-elevation.svg") right center / contain no-repeat; mask: url("../img/drawing-elevation.svg") right center / contain no-repeat; }
.drawings .site-footer::after { inset: 0; -webkit-mask: url("../img/drawing-plan.svg") right -80px top -40px / 820px auto no-repeat; mask: url("../img/drawing-plan.svg") right -80px top -40px / 820px auto no-repeat; }
.drawings .fact-strip::after { inset: 0; -webkit-mask: url("../img/drawing-section.svg") right -40px center / 520px auto no-repeat; mask: url("../img/drawing-section.svg") right -40px center / 520px auto no-repeat; }
.drawings .cta-band, .drawings .section-dark-motif { background-image: none; }
.drawings .section-tint, .drawings .page-head { background-color: color-mix(in srgb, var(--brand) 4%, var(--page-bg)); }
/* keep cards readable above the drawings */
.drawings .panel, .drawings .project-card, .drawings .mason-card, .drawings .faq-item, .drawings .filters, .drawings .contact-card { background-color: var(--surface); }
/* Preloader: drawing sheet behind the logo, like a set of construction drawings */
.kcl-preloader::before { content: ""; position: absolute; inset: 0; background: var(--drawing-line, var(--brand)); opacity: .07;
  -webkit-mask: url("../img/drawing-sheet.svg") center / min(1500px, 140vw) auto no-repeat; mask: url("../img/drawing-sheet.svg") center / min(1500px, 140vw) auto no-repeat; animation: kcl-pl-sheet 1.2s both; }
@keyframes kcl-pl-sheet { from { opacity: 0; transform: scale(1.04); } to { opacity: .09; transform: none; } }
.kcl-preloader .pl-inner { position: relative; }
@media print { .drawings::before, .drawings *::after { display: none !important; } }
.drawings .page-head-motif .roof-motif { display: none; }

/* ---------- v1.5 Our journey: horizontal timeline of animated work lists (About page) ---------- */
.journey { overflow: hidden; }
.journey-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(18px, 3vw, 34px); }
.journey-head .lead { margin-bottom: 0; }
.journey-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.journey-stats > div { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 14px 16px; }
.journey-stats dt { font-size: .85rem; color: var(--muted); line-height: 1.3; }
.journey-stats dd { margin: 4px 0 0; font: 800 clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem)/1 var(--font-head); color: var(--brand-dark); }
@media (max-width: 900px) { .journey-head { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 480px) { .journey-stats > div { padding: 10px; } }

.tl { --tl-card: min(1080px, 88vw); position: relative; scroll-margin-top: 96px; }
.tl-top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.tl-rail-scroll { position: relative; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 6px 0 2px; }
.tl-rail-scroll::-webkit-scrollbar { display: none; }
.tl-rail { list-style: none; display: flex; justify-content: space-between; gap: 4px; margin: 0; padding: 0; min-width: max-content; position: relative; z-index: 1; }
.tl-rail li { flex: 1 0 auto; display: flex; justify-content: center; }
.tl-dot { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 4px 2px; text-decoration: none; color: var(--muted); font: 600 .78rem/1 var(--font-head); border-radius: var(--radius); }
.tl-dot-mark { width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid color-mix(in srgb, var(--brand) 40%, transparent); transition: transform .35s cubic-bezier(.3,1.6,.5,1), background-color .3s, border-color .3s; }
.tl-dot:hover { color: var(--brand); }
.tl-dot:hover .tl-dot-mark { border-color: var(--brand); transform: scale(1.25); }
.tl-dot.is-past .tl-dot-mark { background: var(--brand); border-color: var(--brand); }
.tl-dot[aria-current="true"] { color: var(--brand-dark); }
.tl-dot[aria-current="true"] .tl-dot-mark { background: var(--accent); border-color: var(--brand-dark); transform: scale(1.6); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 30%, transparent); }
.tl-dot[aria-current="true"] .tl-dot-year { font-size: .95rem; font-weight: 800; }
.tl-line { position: absolute; left: 22px; right: 22px; top: 15px; height: 3px; border-radius: 2px; background: color-mix(in srgb, var(--brand) 16%, transparent); z-index: 0; }
.tl-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width .6s cubic-bezier(.2,.7,.2,1); }
.tl-nav { display: flex; align-items: center; gap: 6px; flex: none; }
.tl-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--brand); background: var(--surface); color: var(--brand); cursor: pointer; transition: background-color .15s, color .15s, transform .15s; }
.tl-btn:hover:not(:disabled) { background: var(--brand); color: #fff; }
.tl-btn:active:not(:disabled) { transform: scale(.94); }
.tl-btn:disabled { opacity: .35; cursor: default; }
.tl-pos { font: 700 .9rem/1 var(--font-head); color: var(--brand-dark); min-width: 4.8em; text-align: center; font-variant-numeric: tabular-nums; }
.tl:not(.tl-js) .tl-nav { display: none; }

.tl-track { display: flex; align-items: flex-start; gap: clamp(14px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 10px max(var(--gutter), calc(50% - var(--tl-card) / 2)) 26px; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--brand) 35%, transparent) transparent; outline-offset: -3px; }
.tl-track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.tl-track.is-dragging * { pointer-events: none; }
.tl-card { flex: 0 0 var(--tl-card); scroll-snap-align: center; display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 110px; }

/* Side panel (replaces the photo): year, experience, figures, mix of work */
.tl-side { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(18px, 2.4vw, 30px); background: var(--brand-dark); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.tl-side::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12; background:
  linear-gradient(var(--on-dark) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, var(--on-dark) 1px, transparent 1px) 0 0 / 24px 24px; }
.tl-side::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border: 2px solid var(--accent); border-radius: 50%; opacity: .25; z-index: -1; }
.tl-year { font: 800 clamp(3rem, 2.2rem + 3vw, 4.6rem)/.9 var(--font-head); letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 2px var(--accent); background: linear-gradient(90deg, var(--accent) 0 50%, transparent 50%) 0 0 / 200% 100% no-repeat; -webkit-background-clip: text; background-clip: text; }
.tl-exp { align-self: flex-start; font-size: .9rem; color: var(--on-dark); background: color-mix(in srgb, var(--on-dark) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); padding: 4px 12px; border-radius: 999px; }
.tl-exp b { color: var(--accent); font: 800 1rem/1 var(--font-head); font-variant-numeric: tabular-nums; }
.tl-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.tl-figs > div { border-top: 1px solid color-mix(in srgb, var(--on-dark) 25%, transparent); padding-top: 8px; }
.tl-figs dt { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.tl-figs dd { margin: 2px 0 0; font: 800 1.7rem/1 var(--font-head); color: #fff; font-variant-numeric: tabular-nums; }
.tl-mix { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.tl-mix li { display: grid; grid-template-columns: 6.6em minmax(0, 1fr) 1.6em; align-items: center; gap: 8px; font-size: .8rem; }
.tl-mix-label { opacity: .85; }
.tl-mix b { text-align: right; font-family: var(--font-head); }
.tl-bar { height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--on-dark) 15%, transparent); overflow: hidden; }
.tl-bar > span { display: block; height: 100%; width: var(--w); border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); }

.tl-body { padding: clamp(18px, 2.4vw, 34px); min-width: 0; }
.tl-body h3 { font-size: clamp(1.3rem, 1.05rem + .8vw, 1.75rem); margin-bottom: .35em; }
.tl-summary { color: var(--ink); margin-bottom: .4em; max-width: 60ch; }
.tl-count { font: 700 .78rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 16px 0 10px; }
.tl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 8px 12px; }
.tl-item { display: grid; grid-template-columns: 2.1em minmax(0, 1fr); gap: 8px; align-items: start; padding: 10px 12px 10px 10px; background: color-mix(in srgb, var(--brand) 3%, var(--surface)); border: 1px solid color-mix(in srgb, var(--brand) 8%, transparent); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; line-height: 1.35; }
.tl-num { font: 800 1rem/1.4 var(--font-head); color: color-mix(in srgb, var(--brand) 45%, transparent); font-variant-numeric: tabular-nums; }
.tl-item-body { display: grid; gap: 3px; min-width: 0; }
.tl-item strong { font-weight: 600; font-size: .98rem; color: var(--brand-dark); }
.tl-meta { font-size: .86rem; color: var(--muted); }
.tl-cat { justify-self: start; font: 700 .66rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--brand); }
.tl-cat-commercial { background: color-mix(in srgb, var(--accent) 25%, transparent); color: var(--brand-dark); }
.tl-cat-industrial { background: color-mix(in srgb, var(--ink) 12%, transparent); color: var(--ink); }
.tl-cat-institutional { background: color-mix(in srgb, #2f7d6d 16%, transparent); color: #1e5a4e; }
.tl-cat-renovation, .tl-cat-maintenance { background: color-mix(in srgb, #b4532a 14%, transparent); color: #8a3c1c; }
.tl-live { justify-self: start; font: 700 .72rem/1 var(--font-head); color: #0f6b3a; display: inline-flex; align-items: center; gap: 6px; }
.tl-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #18a058; animation: tl-pulse 1.6s ease-out infinite; }
.tl-case { justify-self: start; font: 600 .84rem/1.2 var(--font-head); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; min-height: 28px; }
.tl-case::after { content: "→"; transition: transform .15s; }
.tl-case:hover::after { transform: translateX(3px); }
.tl-more { margin-top: 8px; }
.tl-more summary { cursor: pointer; font: 600 .92rem/1.2 var(--font-head); color: var(--brand); padding: 8px 0; min-height: 44px; display: flex; align-items: center; }
.tl-more[open] summary { margin-bottom: 4px; }
.tl-card-intro .tl-body { display: flex; flex-direction: column; justify-content: center; }
.tl-card-intro .tl-summary { font-size: 1.15rem; }
.tl-hint { margin-top: 0; text-align: center; }
.tl-hint-icon { color: var(--accent); font-weight: 700; margin-right: 4px; }
@media (min-width: 761px) {
  .tl-dot { min-width: 30px; }
  .tl-dot:not(.is-major):not([aria-current="true"]) .tl-dot-year { opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s; }
  .tl-dot:not(.is-major):hover .tl-dot-year, .tl-dot:not(.is-major):focus-visible .tl-dot-year { opacity: 1; transform: none; }
  .tl-rail li:has(+ li > [aria-current="true"]) .tl-dot.is-major:not([aria-current]) .tl-dot-year,
  .tl-rail li:has([aria-current="true"]) + li .tl-dot.is-major .tl-dot-year { opacity: 0; }
}
@media (max-width: 760px) {
  .tl { --tl-card: 88vw; }
  .tl-card { grid-template-columns: 1fr; }
  .tl-side { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 14px; }
  .tl-side .tl-year { grid-row: span 2; }
  .tl-figs { grid-column: 1 / -1; }
  .tl-mix { display: none; }
  .tl-side { padding: 16px 18px; }
  .tl-top { flex-wrap: wrap; }
  .tl-rail-scroll { flex-basis: 100%; }
  .tl-nav { margin: 0 auto; }
  .tl-dot { min-width: 48px; }
}

/* Animations – only once site.js has taken over (class tl-js) and motion is allowed */
@keyframes tl-pop { from { opacity: 0; transform: translateY(10px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes tl-pulse { 0% { box-shadow: 0 0 0 0 rgba(24,160,88,.5); } 100% { box-shadow: 0 0 0 9px rgba(24,160,88,0); } }
@keyframes tl-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@media (prefers-reduced-motion: no-preference) {
  .tl-js .tl-rail li { opacity: 0; }
  .tl-js.is-seen .tl-rail li { animation: tl-pop .5s cubic-bezier(.3,1.4,.5,1) both; animation-delay: calc(var(--i) * 28ms); }
  .tl-js .tl-line { transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.2,.7,.2,1) .15s; }
  .tl-js.is-seen .tl-line { transform: none; }
  .tl-js .tl-card { transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .5s, filter .5s; }
  .tl-js .tl-card:not(.is-active) { opacity: .5; transform: scale(.93); filter: saturate(.5); box-shadow: none; cursor: pointer; }
  .tl-js .tl-card.is-active { box-shadow: 0 2px 4px rgba(16,12,40,.06), 0 22px 50px rgba(16,12,40,.16); }
  .tl-js .tl-year { background-position: 100% 0; transition: background-position 1s cubic-bezier(.2,.7,.2,1) .15s; }
  .tl-js .tl-card.is-active .tl-year { background-position: 0 0; }
  .tl-js .tl-side::after { transform: scale(.4); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
  .tl-js .tl-card.is-active .tl-side::after { transform: none; }
  .tl-js .tl-exp, .tl-js .tl-figs > div, .tl-js .tl-mix li { opacity: 0; transform: translateX(-14px); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
  .tl-js .tl-card.is-active .tl-exp { opacity: 1; transform: none; transition-delay: .25s; }
  .tl-js .tl-card.is-active .tl-figs > div { opacity: 1; transform: none; transition-delay: .35s; }
  .tl-js .tl-card.is-active .tl-figs > div + div { transition-delay: .45s; }
  .tl-js .tl-card.is-active .tl-mix li { opacity: 1; transform: none; transition-delay: .5s; }
  .tl-js .tl-bar > span { width: 0; transition: width .9s cubic-bezier(.2,.7,.2,1) .6s; }
  .tl-js .tl-card.is-active .tl-bar > span { width: var(--w); }
  .tl-js .tl-anim { opacity: 0; transform: translateY(16px); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1); transition-delay: 0s; }
  .tl-js .tl-card.is-active .tl-anim { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 80ms + 150ms); }
  .tl-js .tl-item { transition-property: opacity, transform, border-color; }
  .tl-js .tl-card.is-active .tl-item:hover { border-left-color: var(--brand); transform: translateX(3px); transition-delay: 0s; }
  .tl-js.is-seen .tl-hint-icon { display: inline-block; animation: tl-nudge 1.2s ease-in-out 3; }
}
@media (prefers-reduced-motion: reduce) {
  .tl-live::before { animation: none; }
  .tl-fill { transition: none; }
}

/* Home page: featured milestones (text only) */
.journey-teaser { margin-top: clamp(26px, 4vw, 48px); position: relative; z-index: 1; }
.jt-list { list-style: none; margin: 0 0 14px; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; position: relative; }
.jt-list::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--accent)); opacity: .45; }
.jt-list li { scroll-snap-align: start; position: relative; }
.jt-item { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); padding: 16px 4px 4px; height: 100%; }
.jt-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brand); margin-bottom: 8px; transition: transform .25s cubic-bezier(.3,1.6,.5,1), background-color .2s; }
.jt-item:hover .jt-dot { transform: scale(1.35); background: var(--accent); }
.jt-item:hover { color: var(--ink); }
.jt-year { font: 800 1.35rem/1.05 var(--font-head); color: var(--brand-dark); }
.jt-text { font-size: .92rem; line-height: 1.3; color: var(--ink); }
.jt-count { font: 700 .72rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-top: 2px; }
@media (max-width: 640px) { .jt-list { grid-auto-columns: 46%; } }
