/* ==========================================================
   Hextalls – main stylesheet
   Brand colours live in :root – change them here.
   ========================================================== */
/* Fonts are stored on the site (no Google Fonts requests). Latin subsets, variable weight. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/assets/fonts/inter-latin-var.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('/assets/fonts/montserrat-latin-var.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500 600; font-display: swap; src: url('/assets/fonts/oswald-latin-var.woff2') format('woff2'); }

:root {
  --yellow: #ffc000;
  --yellow-dark: #e6ad00;
  --ink: #151515;
  --ink-2: #222;
  --text: #4b4b4b;
  --muted: #7a7a7a;
  --line: #e7e4dc;
  --bg: #ffffff;
  --alt: #f6f4ef;
  --radius: 4px;
  --wrap: 1200px;
  --head: 'Montserrat', Helvetica, Arial, sans-serif;
  --body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.7 var(--body); color: var(--text); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.35rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--yellow); color: var(--ink); padding: 10px 16px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .95em 1.8em; font: 600 .95rem/1 var(--head); text-decoration: none; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); position: relative; overflow: hidden; }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .7em 1.2em; font-size: .85rem; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.linkish { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--ink); color: #cfcfcf; font-size: .82rem; }
.topbar .wrap { display: flex; gap: 26px; align-items: center; min-height: 40px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.topbar svg { color: var(--yellow); }
.topbar a:hover { color: #fff; }
.tb-hours { margin-left: auto; }
.tb-g + .tb-fb { margin-left: -16px; }
.tb-fb { width: 28px; height: 28px; justify-content: center; border-radius: 50%; background: #2a2a2a; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.07); border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.scrolled .wrap { height: 64px; }
.brand { font: 600 1.85rem/1 'Oswald', 'Arial Narrow', sans-serif; letter-spacing: .14em; color: var(--ink); text-decoration: none; position: relative; padding-bottom: 4px; }
.brand::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 3px; width: 34%; background: var(--yellow); transition: width .4s var(--ease); }
.brand:hover::after { width: 100%; }
.brand-light { color: #fff; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; gap: 4px; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 10px 14px; font: 600 .92rem var(--head); text-decoration: none; color: var(--ink); position: relative; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a[aria-current]::after { transform: scaleX(1); }
.sub-toggle { display: none; }
.sub { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-top: 3px solid var(--yellow); box-shadow: 0 18px 40px rgba(0,0,0,.12); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { font-weight: 500; padding: 9px 20px; }
.sub a:hover, .sub a[aria-current] { background: var(--alt); }
.head-cta { flex: none; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: .3s var(--ease); }
.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- motion primitives ---------- */
/* text lines slide up from behind a mask (like the old slider) */
.mask { display: block; overflow: hidden; padding-bottom: .06em; }
.mask > span { display: inline-block; transform: translateY(110%); animation: lineUp 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes lineUp { to { transform: none; } }
.anim-up { opacity: 0; transform: translateY(24px); animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* scroll reveals (only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
/* images wipe in and settle (clip is on the <img>, so the observer can still see the frame) */
.js [data-reveal="img"] { opacity: 1; transform: none; }
.js [data-reveal="img"] img { clip-path: inset(0 0 100% 0); transform: scale(1.18); transition: clip-path 1.2s var(--ease), transform 1.6s var(--ease); transition-delay: var(--d, 0s); }
.js .row [data-reveal="img"] img { clip-path: inset(0 100% 0 0); }
.js .row.flip [data-reveal="img"] img { clip-path: inset(0 0 0 100%); }
.js [data-reveal="img"].in img, .js .row.flip [data-reveal="img"].in img { clip-path: inset(0 0 0 0); transform: scale(1); }
/* yellow underline grows when the heading appears */
.bar { position: relative; padding-bottom: .55em; }
.bar::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 56px; background: var(--yellow); transform-origin: left; }
.js .bar[data-reveal]::after, .js [data-reveal] .bar::after { transform: scaleX(0); transition: transform .9s var(--ease) .35s; }
.js .bar[data-reveal].in::after, .js [data-reveal].in .bar::after { transform: scaleX(1); }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); }
.hero-slides, .hero-shade { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease, transform 8s linear; }
.slide.is-active { opacity: 1; transform: scale(1); }
.hero-shade { background: linear-gradient(90deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.55) 45%, rgba(10,10,10,.15) 100%), linear-gradient(0deg, rgba(0,0,0,.35), transparent 40%); }
.hero-inner { position: relative; padding-top: 80px; padding-bottom: 110px; }
/* all slide texts share one grid cell, so the banner never jumps in height */
.slide-texts { display: grid; }
.slide-text { grid-area: 1 / 1; visibility: hidden; }
.slide-text.is-active { visibility: visible; }
.slide-text:not(.is-active) .mask > span, .slide-text:not(.is-active) .anim-up { animation: none; }
.hero .hero-title { color: #fff; font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin-bottom: .45em; }
.kicker { font: 600 .8rem var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1.2em; display: flex; align-items: center; gap: 14px; }
.kicker::before { content: ""; width: 38px; height: 2px; background: var(--yellow); }
.hero-text { max-width: 580px; font-size: 1.08rem; color: #e8e8e8; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2em; }
.hero-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 4px; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; position: relative; overflow: hidden; }
.hero-dots button[aria-selected="true"]::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform-origin: left; animation: dotFill var(--slide-ms, 6500ms) linear forwards; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; padding: 110px 0 80px; min-height: 420px; display: flex; align-items: flex-end; }
.ph-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .5; }
.kb { animation: kenburns 14s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1); } }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,10,.75), rgba(10,10,10,.1) 70%); }
.ph-inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.8rem); font-weight: 800; max-width: 900px; }
.ph-intro { max-width: 720px; font-size: 1.08rem; color: #e6e6e6; margin: 0; }
.crumbs { font-size: .82rem; color: #bdbdbd; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.alt { background: var(--alt); }
.eyebrow { font: 600 .78rem var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .8em; }
.lead { font-size: 1.12rem; max-width: 820px; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 10px; }

.trust { background: var(--ink); color: #fff; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.trust div { display: flex; align-items: center; gap: 10px; font: 600 .88rem var(--head); }
.trust svg { color: var(--ink); background: var(--yellow); border-radius: 50%; padding: 4px; width: 24px; height: 24px; }

.intro-head { max-width: 860px; margin-bottom: 48px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.duo .figure { aspect-ratio: 3 / 2; margin-bottom: 24px; }
.figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: #ddd; }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.prose .figure { margin: 2em 0; aspect-ratio: 16 / 9; }

/* service cards */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.svc-card { background: #fff; text-decoration: none; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.svc-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(0,0,0,.12); }
.svc-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ccc; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .svc-img img { transform: scale(1.08); }
.svc-num { position: absolute; left: 0; bottom: 0; background: var(--yellow); color: var(--ink); font: 800 .9rem var(--head); padding: 8px 14px; }
.svc-body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-body p { font-size: .95rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 8px; font: 600 .88rem var(--head); color: var(--ink); }
.more svg { color: var(--yellow-dark); transition: transform .3s var(--ease); }
a:hover .more svg { transform: translateX(5px); }

/* project cards */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.proj-card { text-decoration: none; display: block; }
.pc-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: #ccc; position: relative; }
.pc-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.35), transparent 50%); opacity: 0; transition: opacity .4s; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.proj-card:hover .pc-img img { transform: scale(1.07); }
.proj-card:hover .pc-img::after { opacity: 1; }
.pc-body { padding: 18px 2px 0; }
.pc-body h3 { margin: .35em 0 .4em; transition: color .25s; }
.tag { font: 600 .72rem var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow-dark); }
.proj-card[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters button { border: 1px solid var(--line); background: #fff; padding: .6em 1.2em; font: 600 .85rem var(--head); border-radius: 40px; cursor: pointer; transition: .2s; }
.filters button.is-on, .filters button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* parallax band */
.parallax { position: relative; padding: clamp(90px, 12vw, 160px) 0; background: var(--ink) var(--bg) center / cover no-repeat; background-attachment: fixed; }
.parallax::before { content: ""; position: absolute; inset: 0; background: rgba(10,10,10,.45); }
.parallax .wrap { position: relative; }
.panel { background: #fff; max-width: 560px; padding: clamp(32px, 4vw, 52px); border-left: 6px solid var(--yellow); }

.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: .7em 1.2em; border: 1px solid var(--line); border-radius: 40px; text-decoration: none; font: 600 .9rem var(--head); color: var(--ink); background: #fff; transition: .25s var(--ease); }
.chip svg { color: var(--yellow-dark); }
.chip:hover { background: var(--yellow); border-color: var(--yellow); transform: translateY(-2px); }
.chip:hover svg { color: var(--ink); }

/* service rows */
.rows { display: grid; gap: clamp(64px, 8vw, 110px); }
.row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; scroll-margin-top: 100px; }
.row.flip .row-img { order: 2; }
.row-img { aspect-ratio: 4 / 3; }
.row-num { display: block; font: 800 3.4rem/1 var(--head); color: transparent; -webkit-text-stroke: 1.5px #d8d3c6; margin-bottom: 8px; }
.prose ul.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.prose ul.ticks li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.prose ul.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 3px solid var(--yellow-dark); border-bottom: 3px solid var(--yellow-dark); transform: rotate(-45deg); }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.prose h2:first-child { margin-top: 0; }
.prose a:not(.btn) { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:not(.btn):hover { background: var(--yellow); }
.prose strong { color: var(--ink); }

/* project detail */
.proj-detail { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; margin-bottom: 56px; }
.proj-detail .prose p:first-child { font-size: 1.15rem; color: var(--ink-2); }
.proj-meta dl { margin: 0; background: var(--alt); padding: 28px; border-top: 4px solid var(--yellow); }
.proj-meta dt { font: 600 .72rem var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.proj-meta dd { margin: 0 0 16px; color: var(--ink); font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery.single { grid-template-columns: 1fr; max-width: 1000px; }
.g-item { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: #ccc; cursor: zoom-in; }
.gallery.single .g-item { aspect-ratio: auto; max-height: 80vh; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.g-item:hover img, .js .g-item.in:hover img { transform: scale(1.05); }
.proj-nav { display: flex; justify-content: space-between; gap: 16px; padding-top: 0; padding-bottom: 80px; font: 600 .9rem var(--head); flex-wrap: wrap; }
.proj-nav a { text-decoration: none; color: var(--ink); }
.proj-nav a:hover { color: var(--yellow-dark); }

.lightbox { position: fixed; inset: 0; background: rgba(8,8,8,.94); z-index: 200; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.lightbox.open { opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; transform: scale(.96); transition: transform .4s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; padding: 16px 22px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* areas */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.area-card { text-decoration: none; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; position: relative; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.area-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.area-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.area-card:hover::before { transform: scaleX(1); }
.ac-county { font: 600 .72rem var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.area-card h2 { font-size: 1.5rem; margin: .3em 0 .5em; }
.area-card p { font-size: .95rem; }
.regions { margin-top: 64px; }
.area-detail { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; align-items: start; }
.area-aside { position: sticky; top: 100px; background: var(--alt); padding: 30px; border-top: 4px solid var(--yellow); display: grid; gap: 12px; }
.area-aside ul { list-style: none; padding: 0; margin: 0 0 8px; }
.area-aside li a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 .95rem var(--head); color: var(--ink); }
.area-aside li a svg { color: var(--yellow-dark); transition: transform .3s; }
.area-aside li a:hover svg { transform: translateX(4px); }
.area-aside .btn { justify-content: center; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.info-list svg { width: 44px; height: 44px; padding: 11px; background: var(--yellow); color: var(--ink); border-radius: 50%; }
.info-list span { display: block; font: 600 .72rem var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.info-list a { text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.contact-form { background: var(--alt); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); }
.contact-form label { display: block; font: 600 .85rem var(--head); color: var(--ink); margin-bottom: 18px; }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; font: 1rem var(--body); color: var(--ink); background: #fff; border: 1px solid #d9d4c7; border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,192,0,.4); }
.contact-form .invalid { border-color: #c0392b; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute !important; left: -9999px; }
.form-status { margin: 16px 0 0; font-weight: 600; }
.form-status.ok { color: #1d7a3a; }
.form-status.err { color: #c0392b; }
.small { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* CTA band + footer */
.cta-band { background: var(--yellow); color: var(--ink); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .25em; }
.cta-band p { margin: 0; color: #3a3000; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: var(--ink); color: #a9a9a9; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.site-footer h3 { color: #fff; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.2em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .6em; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--yellow); }
.f-about p { margin: 22px 0; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact svg { color: var(--yellow); margin-top: .35em; }
.supplier { display: inline-flex; flex-direction: column; gap: 2px; padding: 14px 20px; border: 1px solid #333; border-left: 4px solid var(--yellow); border-radius: var(--radius); }
.supplier span { font: 600 .68rem var(--head); letter-spacing: .18em; text-transform: uppercase; color: #8a8a8a; }
.supplier strong { font: 700 1.25rem var(--head); color: #fff; letter-spacing: .02em; }
.supplier:hover strong { color: var(--yellow); }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #2a2a2a; padding-top: 22px; padding-bottom: 22px; font-size: .82rem; }

.mobile-bar { display: none; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin-left: auto; z-index: 120; background: #fff; color: var(--ink); padding: 18px 20px; border-radius: 6px; box-shadow: 0 20px 50px rgba(0,0,0,.25); display: flex; gap: 16px; align-items: center; font-size: .9rem; border-top: 4px solid var(--yellow); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.cookie div { display: flex; gap: 8px; flex: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust .wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .burger { display: block; margin-left: auto; }
  .head-cta { display: none; }
  .main-nav { position: fixed; inset: 0; top: 0; background: #fff; z-index: -1; padding: calc(var(--header-h) + 64px) 24px 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .35s var(--ease); }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
  .main-nav > ul > li > a { font-size: 1.25rem; padding: 16px 0; flex: 1; }
  .main-nav > ul > li > a::after { display: none; }
  .sub-toggle { display: block; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
  .sub-toggle::before { content: "+"; font: 400 1.6rem var(--head); }
  .sub-toggle[aria-expanded="true"]::before { content: "–"; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; display: none; width: 100%; min-width: 0; }
  .sub.open { display: block; }
  .row, .row.flip, .duo, .proj-detail, .area-detail, .contact-grid { grid-template-columns: 1fr; }
  .row.flip .row-img { order: 0; }
  .proj-grid, .area-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .area-aside { position: static; }
  .topbar .tb-hours { display: none; }
  .topbar .tb-g { margin-left: auto; }
  .parallax { background-attachment: scroll; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 15.5px; }
  .wrap { padding: 0 16px; }
  .section { padding: 52px 0; }
  .topbar a:nth-child(2) span { display: none; }
  .topbar .wrap { gap: 18px; min-height: 36px; }
  .brand { font-size: 1.5rem; }

  /* hero: shorter, darker overlay so text is readable on any photo */
  .hero { min-height: 0; }
  .hero-inner { padding-top: 48px; padding-bottom: 72px; }
  .hero-shade { background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.62) 55%, rgba(10,10,10,.82) 100%); }
  .hero .hero-title { font-size: 2.35rem; }
  .kicker { font-size: .66rem; letter-spacing: .14em; gap: 10px; margin-bottom: 1em; }
  .kicker::before { width: 22px; }
  .hero-text { font-size: 1rem; line-height: 1.6; }
  .hero-actions { margin-top: 1.4em; }
  .hero-actions .btn { flex: 1; justify-content: center; padding: .95em 1em; }
  .hero-dots { bottom: 22px; }

  /* inner page hero */
  .page-hero { min-height: 0; padding: 56px 0 40px; }
  .page-hero h1 { font-size: 2rem; }
  .ph-intro { font-size: .98rem; line-height: 1.6; }
  .crumbs { margin-bottom: 12px; }

  /* trust strip: compact 2 x 2 */
  .trust .wrap { grid-template-columns: 1fr 1fr; gap: 12px 14px; padding-top: 18px; padding-bottom: 18px; }
  .trust div { font-size: .76rem; line-height: 1.3; gap: 8px; }
  .trust svg { width: 20px; height: 20px; }

  /* intro: smaller images, tighter spacing */
  .intro-head { margin-bottom: 28px; }
  .lead { font-size: 1.02rem; }
  .duo { gap: 32px; }
  .duo .figure { aspect-ratio: 16 / 9; margin-bottom: 16px; }

  /* services: compact side-by-side cards */
  .svc-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .svc-card { flex-direction: row; }
  .svc-img { flex: 0 0 36%; aspect-ratio: auto; min-height: 150px; }
  .svc-num { padding: 5px 9px; font-size: .75rem; }
  .svc-body { padding: 16px 16px 18px; }
  .svc-body h3 { font-size: 1.02rem; margin-bottom: .35em; }
  .svc-body p { font-size: .86rem; line-height: 1.5; margin-bottom: .6em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

  /* projects: swipeable row on home/service/area pages, grid on the projects page */
  .proj-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 24px; }
  .proj-grid:not([data-filterable]) { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-right: -16px; padding-right: 16px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .proj-grid:not([data-filterable])::-webkit-scrollbar { display: none; }
  .proj-grid:not([data-filterable]) .proj-card { flex: 0 0 78%; scroll-snap-align: start; }
  .js .proj-grid:not([data-filterable]) [data-reveal] { opacity: 1; transform: none; }
  .pc-body h3 { font-size: 1.05rem; }
  .split-head { align-items: center; }
  .split-head .btn { padding: .6em 1em; font-size: .82rem; }

  .parallax { padding: 56px 0; }
  .panel { padding: 26px 22px; }

  /* service page rows */
  .rows { gap: 52px; }
  .row { gap: 20px; }
  .row-img { aspect-ratio: 16 / 10; }
  .row-num { font-size: 2.2rem; margin-bottom: 4px; }
  .prose h2 { font-size: 1.4rem; }

  .area-grid, .gallery, .f-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .area-card { padding: 22px; }
  .proj-detail, .area-detail, .contact-grid { gap: 32px; }
  .contact-form { padding: 22px 18px; }
  .info-list li { padding: 14px 0; }

  .cta-band .wrap { padding-top: 40px; padding-bottom: 40px; gap: 20px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-band .btn { justify-content: center; width: 100%; }

  /* footer: two columns for the link lists */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 48px; padding-bottom: 32px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }

  /* gentler, quicker scroll animations on phones */
  .js [data-reveal] { transform: translateY(18px); transition-duration: .6s; }
  .js [data-reveal="img"] img { transition-duration: .9s, 1.1s; }

  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; box-shadow: 0 -6px 20px rgba(0,0,0,.12); transform: translateY(100%); transition: transform .35s var(--ease); }
  .mobile-bar.show { transform: none; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px; font: 700 .95rem var(--head); text-decoration: none; background: var(--ink); color: #fff; }
  .mobile-bar .mb-quote { background: var(--yellow); color: var(--ink); }
  .site-footer { padding-bottom: 54px; }
  .cookie { flex-direction: column; align-items: stretch; bottom: 70px; left: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .mask > span, .anim-up { transform: none; opacity: 1; }
  .parallax { background-attachment: scroll; }
}

/* Cloudflare Turnstile (spam check) */
.cf-turnstile { margin: 4px 0 18px; min-height: 65px; }
