/* Smith & Co Electrical — format based on dennissnellenberg.com reference */

:root {
   --dark: #161B26;
   --navy: #2B3A55;
   --accent: #E9A13B;
   --text: #1A202B;
   --body: #4A4F58;
   --grey: #8E939D;
   --stripe: rgba(26, 32, 43, 0.16);
   --stripe-light: rgba(255, 255, 255, 0.25);
   --font: 'Inter Tight', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { background: var(--dark); overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
   font-family: var(--font);
   background: #fff;
   color: var(--text);
   -webkit-font-smoothing: antialiased;
   text-rendering: optimizeLegibility;
   overflow-x: hidden;
   min-height: 100svh;
   min-height: 100dvh;
}

img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
a, button { touch-action: manipulation; cursor: pointer; }
button { font: inherit; background: none; border: 0; color: inherit; }

::selection { background: var(--accent); color: var(--dark); }

a:focus-visible, button:focus-visible {
   outline: 2px solid var(--accent);
   outline-offset: 4px;
   border-radius: 2px;
}

.skip-link {
   position: fixed; top: -100px; left: 16px; z-index: 300;
   background: var(--dark); color: #fff; padding: 12px 20px; border-radius: 40px;
   transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

h1, h2, h3, h4 { font-weight: 400; }
h5 {
   font-size: 12px; font-weight: 500;
   text-transform: uppercase; letter-spacing: 0.14em;
   color: var(--grey);
}

.container {
   max-width: 1680px;
   margin-inline: auto;
   padding-inline: clamp(20px, 5vw, 80px);
}

section { padding-block: clamp(52px, 6.5vw, 104px); }

.label { margin-bottom: clamp(26px, 3.4vw, 46px); }

.stripe {
   height: 1px; width: 100%;
   background: var(--stripe);
   transform-origin: left center;
}

.arrow { width: 15px; height: 15px; color: currentColor; }
.arrow svg { display: block; width: 100%; height: 100%; }

/* ---------------------------------------------------------------- loader */

.loader {
   position: fixed; top: 0; left: 0; right: 0; z-index: 200;
   height: 115svh;
   padding-bottom: 15svh;
   background: var(--dark);
   border-radius: 0 0 50% 50% / 0 0 9svh 9svh;
   display: flex; align-items: center; justify-content: center;
   will-change: transform;
}
.loader-words { position: relative; height: 60px; width: 100%; }
.loader-word {
   position: absolute; inset: 0;
   display: flex; align-items: center; justify-content: center;
   color: #fff;
   font-size: clamp(28px, 4vw, 44px);
   font-weight: 400;
   opacity: 0;
}
.loader-word .dot {
   width: 0.22em; height: 0.22em; border-radius: 50%;
   background: var(--accent);
   margin-left: 0.18em;
   transform: translateY(0.32em);
}

/* ------------------------------------------------------------- buttons */

.btn-fill {
   position: absolute; left: 50%; top: 50%;
   width: 190%; aspect-ratio: 1; border-radius: 50%;
   transform: translate(-50%, 78%);
   transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
   pointer-events: none;
}
.btn-text {
   position: relative; z-index: 1;
   display: inline-block;
   transition: color 0.35s;
}

.btn-pill:hover .btn-fill, .btn-pill:focus-visible .btn-fill {
   transform: translate(-50%, -50%);
}

.btn-pill {
   position: relative;
   display: inline-flex; align-items: center;
   padding: 19px 36px; border-radius: 60px;
   border: 1px solid var(--stripe-light);
   overflow: hidden;
   font-size: 16px; font-weight: 450; color: #fff;
}
.btn-pill .btn-fill { background: var(--accent); }
.btn-pill:hover .btn-text, .btn-pill:focus-visible .btn-text { color: var(--dark); }
.btn-pill.dark { border-color: rgba(26, 32, 43, 0.3); color: var(--text); }
.btn-pill.dark .btn-fill { background: var(--dark); }
.btn-pill.dark:hover .btn-text, .btn-pill.dark:focus-visible .btn-text { color: #fff; }

/* link hover dot (top nav, footer socials) */
.dot-link { position: relative; }
.dot-link::after {
   content: ''; position: absolute;
   left: 50%; bottom: -11px;
   width: 6px; height: 6px; border-radius: 50%;
   background: currentColor;
   transform: translateX(-50%) scale(0);
   transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}
.dot-link:hover::after, .dot-link:focus-visible::after { transform: translateX(-50%) scale(1); }

/* ----------------------------------------------------------- hamburger */

.btn-hamburger {
   position: relative;
   z-index: 2;
   width: clamp(54px, 5.2vw, 72px); aspect-ratio: 1;
   border-radius: 50%;
   background: #fff;
   box-shadow: 0 4px 24px rgba(10, 14, 22, 0.18);
   overflow: hidden;
   display: flex; align-items: center; justify-content: center;
   opacity: 1; pointer-events: auto;
   transition: background 0.35s, box-shadow 0.35s, transform 0.35s;
}
.btn-hamburger.is-shown, .btn-hamburger.menu-open {
   opacity: 1; pointer-events: auto; transform: translateY(0);
}
.btn-hamburger:focus-visible { border-radius: 50%; }
.btn-hamburger .btn-fill { background: var(--accent); }
.btn-hamburger:hover .btn-fill { transform: translate(-50%, -50%); }
.burger { display: block; width: 26px; }
.burger i {
   display: block; height: 2px; width: 100%;
   background: var(--dark); border-radius: 2px;
   transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}
.burger i + i { margin-top: 7px; }
.menu-open .burger i:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-open .burger i:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.nav-bar.is-scrolled .btn-hamburger {
   background: var(--navy);
   box-shadow: none;
}
.nav-bar.is-scrolled .burger i { background: #fff; }
.nav-bar.menu-open .btn-hamburger {
   background: #fff;
   box-shadow: 0 4px 24px rgba(10, 14, 22, 0.18);
}
.nav-bar.menu-open .burger i { background: var(--dark); }

/* ----------------------------------------------------------- menu panel */

.nav-backdrop {
   position: fixed; inset: 0; z-index: 100;
   background: rgba(10, 13, 20, 0.45);
   opacity: 0; visibility: hidden;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s; }
.fixed-nav.is-open { transform: none; visibility: visible; transition: transform 0.4s; }
.fixed-nav {
   position: fixed; top: 0; right: 0; z-index: 115;
   height: 100dvh; width: min(480px, 94vw);
   background: var(--dark); color: #fff;
   padding: clamp(70px, 13vh, 120px) clamp(34px, 5vw, 62px) clamp(34px, 6vh, 56px);
   padding-top: max(clamp(70px, 13vh, 120px), calc(env(safe-area-inset-top, 0px) + 56px));
   padding-right: max(clamp(34px, 5vw, 62px), env(safe-area-inset-right, 0px));
   padding-bottom: max(clamp(34px, 6vh, 56px), env(safe-area-inset-bottom, 0px));
   display: flex; flex-direction: column; justify-content: space-between;
   transform: translateX(calc(100% + 120px));
   visibility: hidden;
   overflow-y: auto;
   -webkit-overflow-scrolling: touch;
}
.nav-curve {
   position: absolute; top: 0; right: calc(100% - 1px);
   width: 90px; height: 100%;
}
.nav-curve path { fill: var(--dark); }
.fixed-nav h5 { color: #717784; }
.nav-stripe { height: 1px; background: rgba(255, 255, 255, 0.18); margin: 16px 0 34px; }
.nav-links a {
   position: relative;
   display: inline-block;
   font-size: clamp(36px, 5.2vh, 52px);
   padding: 9px 0;
   transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}
.nav-links a::before {
   content: ''; position: absolute;
   left: -26px; top: 50%;
   width: 9px; height: 9px; border-radius: 50%;
   background: var(--accent);
   transform: translateY(-50%) scale(0);
   transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}
.nav-links a:hover, .nav-links a:focus-visible { transform: translateX(22px); }
.nav-links a:hover::before, .nav-links a:focus-visible::before { transform: translateY(-50%) scale(1); }
.nav-socials ul { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 16px; }
.nav-socials a { font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.nav-socials a:hover { color: var(--accent); }

/* ---------------------------------------------------------------- hero */

.hero {
   position: relative;
   height: 100svh;
   height: 100dvh;
   min-height: 560px;
   background: var(--dark); color: #fff;
   overflow: hidden;
}
.hero-img {
   position: absolute; inset: 0;
   width: 100%; height: 100%;
   object-fit: cover;
   transform: scale(1.1);
   will-change: transform;
}
.hero-shade {
   position: absolute; inset: 0;
   background: linear-gradient(180deg, rgba(16, 21, 32, 0.66) 0%, rgba(16, 21, 32, 0.34) 46%, rgba(16, 21, 32, 0.82) 100%);
}

.nav-bar {
   position: fixed; top: 0; left: 0; right: 0; z-index: 125;
   display: flex; align-items: center; justify-content: space-between;
   padding: clamp(16px, 2.2vw, 28px) clamp(20px, 5vw, 72px);
   padding-top: max(clamp(16px, 2.2vw, 28px), env(safe-area-inset-top, 0px));
   padding-left: max(clamp(20px, 5vw, 72px), env(safe-area-inset-left, 0px));
   padding-right: max(clamp(20px, 5vw, 72px), env(safe-area-inset-right, 0px));
   color: #fff;
   transform: translateY(0);
   transition: transform 0.36s cubic-bezier(0.33, 1, 0.68, 1), background 0.3s, color 0.3s, box-shadow 0.3s;
   will-change: transform;
}
.nav-bar.is-hidden { transform: translateY(-110%); }
.nav-bar.is-scrolled {
   background: rgba(255, 255, 255, 0.92);
   color: var(--navy);
   box-shadow: 0 10px 30px rgba(10, 14, 22, 0.08);
   -webkit-backdrop-filter: blur(18px);
   backdrop-filter: blur(18px);
}
.nav-bar.menu-open {
   background: transparent;
   color: #fff;
   box-shadow: none;
   -webkit-backdrop-filter: none;
   backdrop-filter: none;
}
.brand {
   display: inline-flex;
   align-items: center;
   color: inherit;
   line-height: 1;
   white-space: nowrap;
}
.brand-logo {
   display: block;
   width: clamp(136px, 15vw, 188px);
   height: auto;
   overflow: visible;
}
.brand-logo-main, .brand-logo-sub {
   fill: currentColor;
   font-family: var(--font);
   font-weight: 650;
}
.brand-logo-main {
   font-size: 15px;
   letter-spacing: 0.24em;
}
.brand-logo-sub {
   font-size: 6px;
   letter-spacing: 0.52em;
   opacity: 0.92;
}
.brand-logo-icon circle {
   fill: none;
   stroke: currentColor;
   stroke-width: 1.4;
}
.brand-logo-icon path { fill: var(--accent); }

.hero-copy {
   position: absolute;
   left: 0;
   right: 0;
   bottom: clamp(54px, 8vw, 118px);
   z-index: 3;
}

.hero-intro {
   display: inline;
   margin-left: 0.3em;
   font-size: inherit;
   font-weight: inherit;
   letter-spacing: inherit;
   vertical-align: baseline;
   white-space: nowrap;
}

.hero-cta {
   pointer-events: auto;
}

@media (min-width: 901px) {
   .hero-copy .hero-cta {
      position: absolute;
      left: clamp(16px, 3vw, 48px);
      bottom: calc(100% + clamp(20px, 3vh, 36px));
      margin: 0;
   }
}

.big-name {
   position: relative;
   overflow: visible;
   pointer-events: none;
}
.name-wrap { overflow: visible; }
.big-name h1 {
   white-space: nowrap;
   font-size: clamp(40px, 7.5vw, 96px);
   font-weight: 400;
   letter-spacing: -0.025em;
   line-height: 1.02;
   padding-left: clamp(16px, 3vw, 48px);
   padding-right: clamp(16px, 3vw, 48px);
   will-change: transform;
}
.big-name .spacer { margin-left: 0.22em; }

@media (min-width: 901px) {
   .big-name h1 {
      font-size: clamp(30px, 5.2vw, 70px);
      padding-right: clamp(24px, 4vw, 56px);
   }
}

@media (min-width: 901px) and (max-height: 820px) {
   .hero-copy {
      bottom: clamp(40px, 6vw, 72px);
   }
   .big-name h1 {
      font-size: clamp(26px, 4.6vw, 58px);
   }
}

.hero-curve {
   position: absolute; bottom: -1px; left: -10%; z-index: 4;
   width: 120%; height: clamp(34px, 4.5vw, 76px);
   background: #fff;
   border-radius: 100% 100% 0 0;
}

/* --------------------------------------------------------------- intro */

.intro .row {
   display: grid;
   grid-template-columns: 1.45fr 1fr;
   gap: clamp(40px, 6vw, 110px);
   align-items: start;
}
.intro h4 {
   font-size: clamp(26px, 2.9vw, 44px);
   line-height: 1.28;
   letter-spacing: -0.01em;
}
.col-side { padding-top: 6px; }
.col-side p {
   font-size: 17px; line-height: 1.65; color: var(--body);
   max-width: 42ch;
   margin-bottom: clamp(28px, 3vw, 40px);
}

/* split-lines structure (added by JS) */
.split-lines .line { display: block; overflow: hidden; }
.split-lines .line-inner { display: block; will-change: transform; }

/* ------------------------------------------------------------- services */

.service-list { margin-top: -10px; }
.service-row { position: relative; }
.service-row .stripe, .process-row .stripe { position: absolute; top: 0; left: 0; }
.stripe.last { display: block; }
.service-row a {
   display: grid;
   grid-template-columns: 1fr auto;
   align-items: center;
   gap: 24px;
   padding: clamp(24px, 3.2vw, 44px) 0;
}
.service-row h3 {
   font-size: clamp(38px, 5.6vw, 92px);
   letter-spacing: -0.02em;
   line-height: 1;
   transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.3s;
}
.service-row p {
   font-size: 15px; font-weight: 450; color: var(--grey);
   transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.3s;
}
@media (hover: hover) {
   .service-list:hover .service-row:not(:hover) h3,
   .service-list:hover .service-row:not(:hover) p { opacity: 0.25; }
   .service-row:hover h3 { transform: translateX(clamp(8px, 1.2vw, 18px)); }
   .service-row:hover p { transform: translateX(-14px); }
}
/* touch: spotlight the row passing through the viewport centre (class added by JS) */
.service-list.touch-active .service-row:not(.is-active) h3,
.service-list.touch-active .service-row:not(.is-active) p { opacity: 0.28; }
.service-row.is-active h3 { transform: translateX(clamp(6px, 2vw, 14px)); }
.service-row.is-active p { transform: translateX(-10px); }
.grid-after-btn {
   display: flex; justify-content: center;
   margin-top: clamp(34px, 4.5vw, 60px);
}


/* -------------------------------------------------------------- process */

.process { padding-top: 0; }
.process-row {
   position: relative;
   display: grid;
   grid-template-columns: 90px 1fr 1.2fr;
   gap: clamp(20px, 4vw, 60px);
   align-items: start;
   padding: clamp(26px, 3.2vw, 44px) 0;
}
.step-num { color: var(--accent); font-size: 15px; font-weight: 500; padding-top: 8px; }
.process-row h3 {
   font-size: clamp(26px, 2.6vw, 40px);
   font-weight: 450; letter-spacing: -0.01em;
}
.process-row p {
   font-size: 16.5px; line-height: 1.65; color: var(--body);
   max-width: 52ch;
}

/* ------------------------------------------------------------- coverage */

.coverage { padding-top: 0; }
.marquee {
   display: flex;
   overflow: hidden;
   white-space: nowrap;
   user-select: none;
   margin-block: clamp(6px, 1.5vw, 24px);
}
.marquee-track {
   display: flex; align-items: center;
   gap: clamp(28px, 3vw, 56px);
   padding-right: clamp(28px, 3vw, 56px);
   flex-shrink: 0;
   animation: marquee 38s linear infinite;
}
.marquee-track span {
   font-size: clamp(54px, 7.5vw, 128px);
   letter-spacing: -0.02em; line-height: 1.15;
   color: transparent;
   -webkit-text-stroke: 1px rgba(26, 32, 43, 0.6);
}
.marquee-track i {
   width: clamp(10px, 1.2vw, 18px); aspect-ratio: 1;
   border-radius: 50%; background: var(--accent);
   flex-shrink: 0;
}
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }
.coverage-note {
   margin-top: clamp(24px, 3vw, 42px);
   font-size: 17px; line-height: 1.65; color: var(--body);
   max-width: 52ch;
}

/* --------------------------------------------------------------- footer */

.footer-wrap {
   position: relative;
   background: var(--dark); color: #fff;
}
.footer-curve {
   position: absolute; top: -1px; left: -10%;
   width: 120%; height: clamp(40px, 6vw, 100px);
   background: #fff;
   border-radius: 0 0 50% 50%;
}
.footer {
   padding-top: clamp(78px, 9vw, 140px);
   padding-bottom: 36px;
}
.footer-head .arrow { margin-bottom: 22px; }
.footer h2 {
   font-size: clamp(52px, 8.6vw, 148px);
   letter-spacing: -0.025em;
   line-height: 1.06;
}
.h2-line { display: block; }
.logo-dot,
.footer-head-mark {
   display: inline-flex; align-items: center; justify-content: center;
   width: clamp(44px, 6.5vw, 112px); height: clamp(44px, 6.5vw, 112px);
   border-radius: 50%;
   background: var(--accent); color: var(--accent);
   vertical-align: middle;
   transform: translateY(-0.18em);
   margin-right: 0.12em;
   flex-shrink: 0;
   overflow: hidden;
}
.footer-head-mark svg {
   display: block;
   width: 62%;
   height: 62%;
}
.footer-contacts {
   display: flex; flex-wrap: wrap; gap: 16px;
   margin-top: clamp(40px, 5vw, 64px);
}
.footer-stripe {
   height: 1px;
   background: rgba(255, 255, 255, 0.18);
   margin-top: clamp(60px, 8vw, 110px);
   margin-bottom: clamp(40px, 5vw, 64px);
}
.footer-grid {
   display: grid;
   grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
   gap: clamp(32px, 4vw, 72px);
   align-items: start;
}
.footer-col h5 {
   color: #717784;
   margin-bottom: 18px;
}
.footer-logo {
   display: inline-flex;
   margin-bottom: 22px;
   color: #fff;
}
.footer-logo .brand-logo { width: 168px; }
.footer-tagline {
   font-size: 15px;
   line-height: 1.65;
   color: rgba(255, 255, 255, 0.72);
   max-width: 34ch;
}
.footer-links {
   display: flex;
   flex-direction: column;
   gap: 12px;
}
.footer-links a {
   font-size: 15px;
   color: rgba(255, 255, 255, 0.88);
   transition: color 0.25s, transform 0.25s;
}
.footer-links a:hover, .footer-links a:focus-visible { color: var(--accent); }
.footer-contact-list a { font-weight: 450; }
.footer-note {
   margin-top: 18px;
   font-size: 14px;
   line-height: 1.6;
   color: #717784;
   max-width: 30ch;
}
/* footer columns collapse into accordions on mobile (JS adds the wrappers);
   the chevron and collapse only show below, so desktop keeps full columns */
.footer-chev { display: none; }
/* the "Get your free quote" link is lifted out of the collapse so it stays
   visible; on desktop it sits flush under the rest of the nav list */
.footer-acc-pinned { margin-top: 12px; }
.footer-bottom {
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   align-items: center;
   gap: 20px 32px;
   margin-top: clamp(48px, 6vw, 80px);
   padding-top: 28px;
   border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-copy { font-size: 14px; color: #8a909c; }
.footer-socials {
   display: flex;
   flex-wrap: wrap;
   gap: 10px 24px;
}
.footer-socials a {
   font-size: 14px;
   color: rgba(255, 255, 255, 0.88);
   transition: color 0.25s;
}
.footer-socials a:hover, .footer-socials a:focus-visible { color: var(--accent); }
.site-credit { margin-top: 28px; font-size: 13px; color: #59606E; }
.site-credit a { text-decoration: underline; text-underline-offset: 3px; }
.site-credit a:hover { color: #fff; }

/* ----------------------------------------------------- top call + hero cta */

.top-call {
   border: 1px solid rgba(255, 255, 255, 0.4);
   border-radius: 60px;
   padding: 9px 18px;
   transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.top-call:hover, .top-call:focus-visible {
   background: var(--accent); border-color: var(--accent); color: var(--dark);
}

/* --------------------------------------------------------------- trust strip */

.trust { padding-block: clamp(36px, 4.5vw, 64px); }
.trust-list {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: clamp(24px, 3vw, 48px);
   border-top: 1px solid var(--stripe);
   padding-top: clamp(32px, 3.6vw, 52px);
}
.trust-item { display: flex; gap: 16px; align-items: flex-start; }
.trust-ico {
   flex-shrink: 0;
   width: 44px; height: 44px; border-radius: 50%;
   display: flex; align-items: center; justify-content: center;
   background: rgba(233, 161, 59, 0.14); color: var(--accent);
}
.trust-ico svg { width: 22px; height: 22px; }
.trust-item h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 4px; }
.trust-item p { font-size: 14.5px; line-height: 1.5; color: var(--body); }

/* ------------------------------------------------------------- work gallery */

.work-head {
   display: flex; flex-wrap: wrap; align-items: baseline;
   justify-content: space-between; gap: 16px 40px;
}
.work-intro {
   font-size: 17px; line-height: 1.6; color: var(--body);
   max-width: 46ch; margin-bottom: clamp(26px, 3vw, 40px);
}
.work-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: clamp(14px, 1.6vw, 26px);
}
.work-tile {
   position: relative;
   aspect-ratio: 4 / 3;
   border-radius: 14px;
   overflow: hidden;
   background: var(--dark);
}
.work-tile img {
   width: 100%; height: 100%; object-fit: cover;
   transition: transform 0.7s cubic-bezier(0.33, 1, 0.68, 1);
}
.work-tile::after {
   content: ''; position: absolute; inset: 0;
   background: linear-gradient(180deg, rgba(16,21,32,0) 42%, rgba(16,21,32,0.78) 100%);
   opacity: 0; transition: opacity 0.4s;
}
@media (hover: hover) {
   .work-tile:hover img { transform: scale(1.06); }
   .work-tile:hover::after { opacity: 1; }
   .work-tile:hover figcaption { transform: translateY(0); opacity: 1; }
}
.work-tile figcaption {
   position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
   display: flex; flex-direction: column; gap: 2px;
   padding: 20px 22px; color: #fff;
   transform: translateY(8px); opacity: 0;
   transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.4s;
}
.wt-job { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.wt-loc { font-size: 13px; color: var(--accent); font-weight: 450; }
.work .grid-after-btn { margin-top: clamp(30px, 4vw, 52px); }
@media (hover: none) {
   /* no-JS / reduced-motion fallback: captions always visible */
   .work-tile::after { opacity: 1; }
   .work-tile figcaption { transform: none; opacity: 1; }
   /* JS scroll-reveal active: start hidden, reveal as each tile reaches centre */
   .work-grid.reveal-ready .work-tile::after { opacity: 0; }
   .work-grid.reveal-ready .work-tile figcaption { transform: translateY(8px); opacity: 0; }
   .work-grid.reveal-ready .work-tile.is-revealed img { transform: scale(1.06); }
   .work-grid.reveal-ready .work-tile.is-revealed::after { opacity: 1; }
   .work-grid.reveal-ready .work-tile.is-revealed figcaption { transform: translateY(0); opacity: 1; }
}

/* ---------------------------------------------------------------- reviews */

.reviews-head {
   display: flex; flex-wrap: wrap; align-items: baseline;
   justify-content: space-between; gap: 12px 40px;
   margin-bottom: clamp(28px, 3.4vw, 46px);
}
.reviews-head .label { margin-bottom: 0; }
.reviews-stars {
   font-size: 16px; color: var(--body);
   display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.stars { color: var(--accent); letter-spacing: 2px; font-size: 16px; }
.review-grid {
   display: grid; grid-template-columns: repeat(3, 1fr);
   gap: clamp(16px, 1.8vw, 28px);
}
.review-card {
   display: flex; flex-direction: column;
   padding: clamp(26px, 2.4vw, 38px);
   border: 1px solid var(--stripe);
   border-radius: 16px;
   background: #fafaf8;
}
.review-card .stars { font-size: 17px; margin-bottom: 16px; }
.review-card blockquote {
   font-size: 17px; line-height: 1.6; color: var(--text);
   letter-spacing: -0.005em; margin-bottom: 20px; flex-grow: 1;
}
.review-card figcaption { display: flex; align-items: baseline; gap: 8px; }
.rc-name { font-weight: 500; }
.rc-loc { font-size: 14px; color: var(--grey); }

/* ------------------------------------------------------------- quote form */

.quote { background: var(--dark); color: #fff; }
.quote-row {
   display: grid; grid-template-columns: 1fr 1fr;
   gap: clamp(40px, 6vw, 96px); align-items: start;
}
.quote .label { color: #717784; }
.quote-intro h2 {
   font-size: clamp(30px, 3.4vw, 52px);
   line-height: 1.18; letter-spacing: -0.02em;
   margin-bottom: clamp(26px, 3vw, 40px);
}
.quote-points { display: flex; flex-direction: column; gap: 16px; }
.quote-points li {
   position: relative; padding-left: 30px;
   font-size: 16.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.82);
}
.quote-points li::before {
   content: ''; position: absolute; left: 0; top: 8px;
   width: 16px; height: 16px; border-radius: 50%;
   background: var(--accent);
   -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center/contain no-repeat;
           mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.quote-points a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.quote-points a:hover { color: var(--accent); }

.quote-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quote-form label {
   font-size: 12px; font-weight: 500; text-transform: uppercase;
   letter-spacing: 0.12em; color: #8a909c;
}
.quote-form input, .quote-form textarea {
   font: inherit; font-size: 16px; color: #fff;
   background: rgba(255, 255, 255, 0.05);
   border: 1px solid rgba(255, 255, 255, 0.16);
   border-radius: 12px;
   padding: 14px 16px;
   transition: border-color 0.25s, background 0.25s;
}
.quote-form textarea { resize: vertical; min-height: 110px; }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #6b7280; }
.quote-form input:focus, .quote-form textarea:focus {
   outline: none; border-color: var(--accent);
   background: rgba(255, 255, 255, 0.08);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-submit { align-self: flex-start; margin-top: 4px; }
.quote-submit.dark { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.quote-submit.dark .btn-fill { background: var(--accent); }
.quote-submit.dark:hover .btn-text, .quote-submit.dark:focus-visible .btn-text { color: var(--dark); }
.quote-form.is-sending .quote-submit { opacity: 0.6; pointer-events: none; }
.form-status { font-size: 15px; line-height: 1.5; min-height: 1px; }
.form-status.is-ok { color: #6fcf97; }
.form-status.is-err { color: #ff9b8a; }
.form-smallprint { font-size: 13px; line-height: 1.5; color: #6b7280; }

/* ---------------------------------------------------------- mobile call */

.mobile-call {
   position: fixed;
   right: max(18px, env(safe-area-inset-right, 0px));
   bottom: max(18px, env(safe-area-inset-bottom, 0px));
   z-index: 90;
   width: 58px; aspect-ratio: 1; border-radius: 50%;
   background: var(--accent); color: var(--dark);
   display: none; align-items: center; justify-content: center;
   box-shadow: 0 8px 24px rgba(10, 14, 22, 0.3);
   transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mobile-call svg { width: 24px; height: 24px; }
/* stowed while the hero is on screen so it never sits over the headline (toggled by JS) */
.mobile-call.is-stowed {
   opacity: 0;
   transform: scale(0.6) translateY(14px);
   pointer-events: none;
}

/* ------------------------------------------------------------ responsive */

/* Tablet landscape and small laptop */
@media (min-width: 901px) and (max-width: 1200px) {
   .review-grid { grid-template-columns: repeat(2, 1fr); }
   .review-grid .review-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 14px); justify-self: center; }
   .footer-grid { grid-template-columns: 1fr 1fr; }
   .footer-brand { grid-column: 1 / -1; }
   .footer-tagline, .footer-note { max-width: 52ch; }
}

@media (max-width: 900px) {
   /* Clear the fixed call button by extending the dark footer, not with
      white padding under it (which showed as a blank strip at the bottom). */
   .footer { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }

   .btn-hamburger { width: 54px; }
   .brand-logo { width: 132px; }

   .hero-copy {
      bottom: clamp(36px, 7vw, 72px);
   }
   .hero-copy .hero-cta {
      position: relative;
      left: auto;
      bottom: auto;
      display: inline-flex;
      margin: 0 0 16px clamp(20px, 4vw, 60px);
   }
   .big-name h1 {
      white-space: nowrap;
      font-size: clamp(26px, 7.6vw, 42px);
      line-height: 1.04;
      letter-spacing: -0.02em;
   }

   .intro .row { grid-template-columns: 1fr; gap: 36px; }
   .col-side p { max-width: none; }

   .service-row a { grid-template-columns: 1fr; gap: 10px; padding-block: 28px; }
   .service-row h3 { font-size: clamp(34px, 9.6vw, 52px); }

   .process-row { grid-template-columns: 1fr; gap: 12px; padding-block: 30px; }
   .step-num { padding-top: 0; }
   .process-row p { max-width: none; }

   .coverage-note { max-width: none; }

   .footer-contacts { margin-top: 40px; }
   .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 40px; }
   .footer-brand { grid-column: 1 / -1; }
   .footer-tagline, .footer-note { max-width: none; }
   .footer-bottom { flex-direction: column; align-items: flex-start; }

   .trust-list { grid-template-columns: 1fr 1fr; gap: 26px 28px; }
   .work-grid { grid-template-columns: 1fr 1fr; }
   .work-intro { max-width: none; }
   .review-grid { grid-template-columns: 1fr; gap: 16px; }
   .quote-row { grid-template-columns: 1fr; gap: 40px; }

   .mobile-call { display: flex; }
}

@media (min-width: 561px) and (max-width: 900px) {
   .review-grid { grid-template-columns: repeat(2, 1fr); }
   .review-grid .review-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
   .container { padding-inline: clamp(16px, 4.5vw, 20px); }

   .btn-pill { padding: 16px 28px; font-size: 15px; }
   .quote-submit { width: 100%; justify-content: center; }

   .trust-list { grid-template-columns: 1fr; }
   .work-grid { grid-template-columns: 1fr; }
   .field-row { grid-template-columns: 1fr; }
   .work-tile figcaption { transform: none; opacity: 1; }

   .footer h2 { font-size: clamp(40px, 12vw, 72px); }
   .footer-contacts .btn-pill { width: 100%; justify-content: center; }
   .footer-grid { grid-template-columns: 1fr; gap: 0; }
   .footer-brand { margin-bottom: 26px; }

   /* collapsible columns: Navigation, Services, Contact */
   .footer-acc { border-top: 1px solid rgba(255, 255, 255, 0.12); }
   .footer-acc:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
   .footer-acc > h5 {
      display: flex; align-items: center; justify-content: space-between;
      gap: 16px; margin: 0; padding: 17px 0; cursor: pointer;
      -webkit-user-select: none; user-select: none;
   }
   .footer-acc .footer-chev {
      display: block; width: 15px; height: 15px; flex: none;
      color: #717784; transition: transform 0.3s ease;
   }
   .footer-acc.is-open .footer-chev { transform: rotate(180deg); }
   .footer-acc-body {
      display: grid; grid-template-rows: 0fr;
      transition: grid-template-rows 0.35s ease;
   }
   .footer-acc.is-open .footer-acc-body { grid-template-rows: 1fr; }
   .footer-acc-inner { overflow: hidden; min-height: 0; }
   .footer-acc.is-open .footer-acc-inner { padding-bottom: 20px; }
   /* always-visible free quote link sits under the header (collapsed) or
      after the list (expanded), with room before the next divider */
   .footer-acc-pinned { margin-top: 0; padding-bottom: 20px; }
}

@media (max-width: 420px) {
   .hero { min-height: 520px; }
   .big-name h1 { font-size: clamp(20px, 7vw, 32px); }
}

/* Short viewports: landscape phones and compact laptops */
@media (max-height: 700px) and (max-width: 900px) {
   .hero { min-height: 100dvh; height: auto; }
   .hero-copy { bottom: 28px; }
   .big-name h1 { font-size: clamp(18px, 6vw, 28px); }
   .nav-links a { font-size: clamp(28px, 4.8vh, 40px); padding: 6px 0; }
}

@media (max-height: 500px) and (orientation: landscape) {
   .hero { min-height: 100dvh; }
   .hero-copy { bottom: 20px; }
   .big-name h1 { font-size: clamp(16px, 5.5vw, 24px); }
   .loader { height: 100dvh; padding-bottom: 0; }
}

/* Large desktops */
@media (min-width: 1600px) {
   .work-grid { gap: 28px; }
}

/* ---------------------------------------------------------- inner pages */

.is-inner .loader { display: none !important; }

.page-hero {
   position: relative;
   padding-top: clamp(110px, 14vw, 150px);
   padding-bottom: clamp(52px, 6.5vw, 88px);
   background: var(--dark);
   color: #fff;
   overflow: hidden;
}
.page-hero .nav-bar {
   color: #fff;
}
.page-hero .nav-bar.is-scrolled,
.is-inner .nav-bar {
   background: rgba(255, 255, 255, 0.92);
   color: var(--navy);
   box-shadow: 0 10px 30px rgba(10, 14, 22, 0.08);
   -webkit-backdrop-filter: blur(18px);
   backdrop-filter: blur(18px);
}
.is-inner .nav-bar .burger i { background: var(--dark); }
.is-inner .nav-bar.is-scrolled .burger i,
.is-inner .nav-bar .burger i { background: var(--dark); }
.is-inner .nav-bar.menu-open { background: transparent; color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.is-inner .nav-bar.menu-open .burger i { background: var(--dark); }

.page-kicker {
   font-size: 12px;
   font-weight: 500;
   text-transform: uppercase;
   letter-spacing: 0.14em;
   color: var(--accent);
   margin-bottom: 18px;
}
.page-hero h1 {
   font-size: clamp(40px, 6.5vw, 88px);
   letter-spacing: -0.025em;
   line-height: 1.04;
   max-width: 14ch;
}
.page-lead {
   margin-top: clamp(20px, 2.4vw, 30px);
   font-size: clamp(17px, 1.8vw, 21px);
   line-height: 1.65;
   color: rgba(255, 255, 255, 0.82);
   max-width: 52ch;
}
.page-breadcrumb {
   display: flex;
   flex-wrap: wrap;
   gap: 8px;
   margin-bottom: 22px;
   font-size: 13px;
   color: rgba(255, 255, 255, 0.55);
}
.page-breadcrumb a { color: rgba(255, 255, 255, 0.78); transition: color 0.25s; }
.page-breadcrumb a:hover, .page-breadcrumb a:focus-visible { color: var(--accent); }
.page-breadcrumb span[aria-hidden="true"] { opacity: 0.45; }

.page-content { padding-bottom: clamp(20px, 3vw, 40px); }
.page-block + .page-block { margin-top: clamp(52px, 6.5vw, 88px); }
.page-block h2 {
   font-size: clamp(28px, 3.2vw, 44px);
   letter-spacing: -0.02em;
   line-height: 1.15;
   margin-bottom: clamp(18px, 2vw, 28px);
}
.page-block > p,
.page-copy p {
   font-size: 17px;
   line-height: 1.7;
   color: var(--body);
   max-width: 62ch;
}
.page-copy p + p { margin-top: 16px; }

.detail-grid {
   display: grid;
   grid-template-columns: 1.1fr 1fr;
   gap: clamp(32px, 4vw, 72px);
   align-items: start;
}
.detail-list {
   display: flex;
   flex-direction: column;
   gap: 12px;
}
.detail-list li {
   position: relative;
   padding-left: 22px;
   font-size: 16.5px;
   line-height: 1.55;
   color: var(--body);
}
.detail-list li::before {
   content: '';
   position: absolute;
   left: 0;
   top: 10px;
   width: 7px;
   height: 7px;
   border-radius: 50%;
   background: var(--accent);
}

.service-cards {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: clamp(16px, 2vw, 28px);
}
.service-card {
   display: flex;
   flex-direction: column;
   padding: clamp(26px, 2.6vw, 38px);
   border: 1px solid var(--stripe);
   border-radius: 16px;
   background: #fafaf8;
   transition: border-color 0.3s, transform 0.3s;
}
.service-card h3 {
   font-size: clamp(24px, 2.4vw, 34px);
   letter-spacing: -0.02em;
   margin-bottom: 12px;
}
.service-card p {
   font-size: 16px;
   line-height: 1.6;
   color: var(--body);
   margin-bottom: 18px;
   flex-grow: 1;
}
.service-card .card-link {
   font-size: 15px;
   font-weight: 500;
   color: var(--text);
   display: inline-flex;
   align-items: center;
   gap: 8px;
   transition: color 0.25s, gap 0.25s;
}
.service-card .card-link:hover, .service-card .card-link:focus-visible { color: var(--accent); gap: 12px; }
@media (hover: hover) {
   .service-card:hover { border-color: rgba(233, 161, 59, 0.45); transform: translateY(-2px); }
}

.area-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: clamp(14px, 1.6vw, 24px);
}
.area-card {
   padding: 18px 20px;
   border: 1px solid var(--stripe);
   border-radius: 12px;
   background: #fafaf8;
}
.area-card h3 {
   font-size: 18px;
   font-weight: 500;
   letter-spacing: -0.01em;
   margin-bottom: 6px;
}
.area-card p {
   font-size: 14.5px;
   line-height: 1.5;
   color: var(--body);
}

.highlight-panel {
   padding: clamp(28px, 3vw, 42px);
   border-radius: 16px;
   background: var(--dark);
   color: #fff;
}
.highlight-panel h3 {
   font-size: clamp(22px, 2.2vw, 30px);
   letter-spacing: -0.01em;
   margin-bottom: 14px;
}
.highlight-panel p {
   font-size: 16.5px;
   line-height: 1.65;
   color: rgba(255, 255, 255, 0.82);
   max-width: 52ch;
}
.highlight-panel .btn-pill { margin-top: 22px; }

.page-cta {
   padding-block: clamp(52px, 6.5vw, 88px);
   background: #f7f6f2;
   border-top: 1px solid var(--stripe);
}
.page-cta h2 {
   font-size: clamp(30px, 3.6vw, 52px);
   letter-spacing: -0.02em;
   line-height: 1.12;
   margin-bottom: 14px;
}
.page-cta p {
   font-size: 17px;
   line-height: 1.6;
   color: var(--body);
   max-width: 46ch;
   margin-bottom: 28px;
}
.page-cta .footer-contacts { margin-top: 0; }

.section-link {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   margin-top: clamp(24px, 3vw, 36px);
   font-size: 15px;
   font-weight: 500;
   color: var(--text);
   transition: color 0.25s, gap 0.25s;
}
.section-link:hover, .section-link:focus-visible { color: var(--accent); gap: 12px; }

@media (max-width: 900px) {
   .detail-grid { grid-template-columns: 1fr; gap: 28px; }
   .service-cards { grid-template-columns: 1fr; }
   .area-grid { grid-template-columns: 1fr 1fr; }
   .page-hero h1 { max-width: none; }
}
@media (max-width: 560px) {
   .area-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
   .loader { display: none; }
   .marquee-track { animation: none; }
   *, *::before, *::after {
      transition-duration: 0.01ms !important;
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
   }
}
