/* Mean Clean Windows. Colors come from Zack's logo: navy starfield, electric blue, chrome. */

@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-600-italic.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-700-italic.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-800-italic.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin-wght-normal.woff2) format("woff2"); }

:root {
  --navy-950: #040b18;
  --navy-900: #07142a;
  --navy-800: #0d2142;
  --navy-700: #16315f;
  --blue: #2b8cff;
  --blue-600: #1670e0;
  --blue-300: #8cc8ff;
  --chrome: #eef3f9;
  --steel: #a9b9cf;
  --ink: #0b1526;
  --text: #2b3649;
  --muted: #5b6982;
  --pale: #f1f5fb;
  --line: #dbe4ef;
  --radius: 14px;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 18px 40px -18px rgba(4, 11, 24, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); }
a:hover { color: var(--blue); }
h1, h2, h3 { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; line-height: 1; letter-spacing: .005em; color: var(--ink); margin: 0 0 .4em; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.kicker { font-family: var(--display); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 1rem; color: var(--blue-600); margin-bottom: .6em; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 14px; height: 14px; flex: none; background: currentColor; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--display); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.15rem; line-height: 1; padding: 15px 26px; border-radius: 10px; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(43, 140, 255, .8); }
.btn-blue:hover { background: var(--blue-600); color: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { color: #fff; background: var(--ink); }
.btn-sm { font-size: 1rem; padding: 11px 18px; margin-top: 8px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Starfield used on every dark band, echoing the logo background */
.stars {
  background-color: var(--navy-900);
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, rgba(255,255,255,.75) 50%, transparent 51%),
    radial-gradient(1px 1px at 90px 120px, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 160px 60px, rgba(140,200,255,.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 230px 170px, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 60px 210px, rgba(140,200,255,.55) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 200px 15px, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(ellipse at 70% 0%, rgba(43,140,255,.28), transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(22,49,95,.9), transparent 60%);
  background-size: 260px 240px, 260px 240px, 260px 240px, 260px 240px, 260px 240px, 260px 240px, 100% 100%, 100% 100%;
  color: var(--chrome);
}

/* Top bar and header */
.topbar { background: var(--navy-950); color: var(--steel); font-size: .9rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; }
.topbar-links { display: flex; gap: 20px; }
.topbar-links a { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.topbar-links a:hover { color: var(--blue-300); }
.topbar svg { width: 15px; height: 15px; fill: var(--blue); }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-900); border-bottom: 1px solid rgba(43, 140, 255, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 64px; height: auto; border-radius: 10px; }
.brand-text { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.65rem; line-height: 1; color: #fff; letter-spacing: .01em; }
.brand-text em { font-style: italic; color: var(--blue); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.site-nav a:not(.btn) { color: var(--chrome); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { color: #fff; border-bottom-color: var(--blue); }
.nav-cta { padding: 12px 20px; font-size: 1.05rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform .2s ease; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 120px; }
.hero::before { /* the blue light streak across the top of his banner */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px;
  background: linear-gradient(90deg, transparent, var(--blue) 30%, #fff 50%, var(--blue) 70%, transparent);
  opacity: .9;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .3em; }
.hero h1 .chrome { background: linear-gradient(180deg, #fff 0%, #dfe7f1 48%, #9fb0c6 52%, #e9eef5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .blue { background: linear-gradient(180deg, #a9d6ff 0%, #4aa0ff 50%, #1670e0 52%, #63b1ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .kicker { color: var(--blue-300); }
.hero .lede { color: var(--steel); font-size: 1.25rem; }
.hero .btn-row { margin-top: 28px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--chrome); font-weight: 600; font-size: .98rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 10px; height: 10px; background: var(--blue); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.hero-art { position: relative; }
.hero-art img { width: 100%; max-width: 560px; margin-inline: auto; -webkit-mask-image: radial-gradient(ellipse 58% 58% at 50% 52%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 58% 58% at 50% 52%, #000 70%, transparent 100%); }
.glint { position: absolute; width: 34px; height: 34px; background: #fff; clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); filter: drop-shadow(0 0 8px rgba(140, 200, 255, .9)); opacity: 0; animation: glint 4.8s ease-in-out infinite; }
.glint-1 { top: 22%; left: 30%; }
.glint-2 { top: 14%; right: 26%; width: 22px; height: 22px; animation-delay: 2.4s; }
@keyframes glint { 0%, 70%, 100% { opacity: 0; transform: scale(.3) rotate(0deg); } 80% { opacity: 1; transform: scale(1) rotate(45deg); } 90% { opacity: 0; transform: scale(.4) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) { .glint { display: none; } html { scroll-behavior: auto; } .btn { transition: none; } }

/* Promise cards overlap the hero */
.promises { position: relative; margin-top: -72px; z-index: 2; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise { background: #fff; border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); border-top: 4px solid var(--blue); }
.promise h3 { font-size: 1.55rem; margin-bottom: .3em; }
.promise p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Sections */
.section { padding: 96px 0; }
.section.pale { background: var(--pale); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .kicker { justify-content: center; }
.section-head .lede { margin: 0; }
.section-head.center .lede { margin-inline: auto; }

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.service-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.service-card div { padding: 20px 22px 24px; }
.service-card h3 { font-size: 1.45rem; margin-bottom: .3em; }
.service-card p { margin: 0; font-size: .98rem; color: var(--muted); }

/* Work strip and gallery */
.work-strip { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.work-strip .tile:first-child { grid-column: span 2; grid-row: span 2; }
.tile { display: block; border-radius: 10px; overflow: hidden; position: relative; background: var(--navy-800); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile:hover img { transform: scale(1.04); }
.section-foot { margin-top: 32px; display: flex; justify-content: center; }

.jobs { display: grid; gap: 56px; }
.job { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: start; padding-top: 40px; border-top: 1px solid var(--line); }
.job:first-child { border-top: 0; padding-top: 0; }
.job-meta { position: sticky; top: 100px; }
.job-date { font-family: var(--display); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-600); margin: 0 0 6px; }
.job-town { display: inline-block; background: var(--navy-900); color: #fff; font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; margin-bottom: 14px; }
.job blockquote { margin: 0; font-size: 1.15rem; color: var(--ink); font-weight: 500; }
.job blockquote::before { content: "\201C"; display: block; font-family: Georgia, serif; font-size: 3.4rem; line-height: .7; color: var(--blue); margin-bottom: 4px; }
.job-photos { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; gap: 10px; }
.job-photos .tile:first-child { grid-column: span 2; grid-row: span 2; }
.job-photos.n1 { grid-template-columns: 1fr; grid-auto-rows: 360px; }
.job-photos.n1 .tile:first-child { grid-column: auto; grid-row: auto; }
.job-photos.n2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 320px; }
.job-photos.n2 .tile:first-child { grid-column: auto; grid-row: auto; }

/* Dark band with quote */
.band-dark { padding: 96px 0; position: relative; overflow: hidden; }
.band-dark h2 { color: #fff; }
.band-dark .kicker { color: var(--blue-300); }
.band-dark p { color: var(--steel); }
.big-quote { font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.12; color: #fff; text-transform: none; margin: 0 0 18px; max-width: 26ch; }
.big-quote span { color: var(--blue); }
.attrib { color: var(--steel); font-weight: 600; }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.portrait img { aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-style: italic; font-weight: 800; font-size: 3rem; line-height: 1; color: var(--blue); display: block; margin-bottom: 10px; }
.steps h3 { font-size: 1.45rem; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Area */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.town-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.town-list li { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.town-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.area-card { border-radius: var(--radius); padding: 36px; }
.area-card h3 { color: #fff; font-size: 2rem; }
.area-card p { color: var(--steel); }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--blue-600), var(--blue) 55%, #4fa6ff); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .9); }
.cta-band .btn-blue { background: var(--navy-900); box-shadow: none; }
.cta-band .btn-blue:hover { background: var(--navy-950); }
.cta-band .btn-ghost { border-color: rgba(255, 255, 255, .6); }

/* Page hero for inner pages */
.page-hero { padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, transparent, var(--blue) 30%, #fff 50%, var(--blue) 70%, transparent); }
.page-hero h1 { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
.page-hero .kicker { color: var(--blue-300); }
.page-hero .lede { color: var(--steel); margin: 0; }

/* Services page detail */
.service-detail { padding: 80px 0; scroll-margin-top: 90px; }
.service-detail:nth-child(even) { background: var(--pale); }
.service-detail ul { padding-left: 1.2em; margin: 0 0 1.4em; }
.service-detail li { margin-bottom: .3em; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.pill { background: var(--navy-900); color: #fff; font-size: .82rem; font-weight: 600; padding: 4px 12px; border-radius: 99px; }

/* Log quotes on About */
.log { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.log figure { margin: 0; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 10px; padding: 22px 24px; }
.log blockquote { margin: 0 0 8px; font-size: 1.12rem; color: var(--ink); font-weight: 500; }
.log figcaption { color: var(--muted); font-size: .9rem; }

/* Contact / quote */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.contact-card:hover { border-color: var(--blue); transform: translateY(-2px); color: var(--ink); }
.contact-card .icon { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--navy-900); display: grid; place-items: center; }
.contact-card svg { width: 22px; height: 22px; fill: var(--blue); }
.contact-card strong { display: block; font-family: var(--display); font-style: italic; text-transform: uppercase; font-size: 1.3rem; line-height: 1.1; }
.contact-card span { color: var(--muted); font-size: .95rem; word-break: break-word; }
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; border-top: 4px solid var(--blue); }
.form-card h2 { font-size: 2.2rem; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .95rem; }
.field fieldset { border: 0; margin: 0; padding: 0; }
.opt { color: var(--muted); font-weight: 400; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(43, 140, 255, .2); }
.field textarea { min-height: 120px; resize: vertical; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.checks label { display: flex; gap: 10px; align-items: center; font-weight: 500; margin: 0; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--blue); }
.inline-radios { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.inline-radios label { display: flex; gap: 8px; align-items: center; font-weight: 500; margin: 0; cursor: pointer; }
.inline-radios input { accent-color: var(--blue); width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; }
.note { color: var(--muted); font-size: .92rem; }

/* Thanks / 404 */
.thanks { text-align: center; padding: 120px 0; }
.thanks .kicker { justify-content: center; }
.thanks .lede { margin-inline: auto; }
.thanks .btn-row { justify-content: center; margin-top: 24px; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(4, 11, 24, .9); }
.lightbox img { max-height: 82vh; max-width: min(1100px, 94vw); width: auto; margin-inline: auto; border-radius: 10px; }
.lightbox-caption { color: #fff; text-align: center; margin: 12px 0 0; }
.lightbox-close { position: absolute; top: -46px; right: 0; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; width: 44px; height: 44px; }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--steel); padding: 72px 0 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand img { width: 120px; border-radius: 12px; margin-bottom: 16px; }
.footer-brand strong { color: #fff; }
.footer-head { color: #fff; font-size: 1.35rem; margin-bottom: .7em; }
.footer-links { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.site-footer a:not(.btn) { color: var(--chrome); text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--blue-300); }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 56px; padding: 22px 0; font-size: .88rem; }
.footer-base p { margin: 0; }

/* Mobile call bar */
.call-bar { display: none; }

@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .job { grid-template-columns: 1fr; gap: 18px; }
  .job-meta { position: static; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: 0; background: var(--navy-950); flex-direction: column; align-items: stretch; justify-content: center; gap: 28px; padding: 80px 28px 40px; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; z-index: 1; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 6px; }
  .site-nav a:not(.btn) { font-family: var(--display); font-style: italic; text-transform: uppercase; font-weight: 800; font-size: 2.2rem; display: block; border: 0; }
  .nav-toggle { position: relative; z-index: 2; }
  .hero { padding: 48px 0 110px; }
  .hero-grid, .split, .area, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { order: -1; max-width: 300px; margin: 0 auto -12px; }
  .split.reverse > :first-child { order: 0; }
  .promise-grid, .steps { grid-template-columns: 1fr; }
  .work-strip { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .log { grid-template-columns: 1fr; }
  .section, .band-dark { padding: 72px 0; }
}

@media (max-width: 640px) {
  body { padding-bottom: 64px; }
  .topbar p:first-child { display: none; }
  .topbar-inner { justify-content: center; }
  .brand-text { font-size: 1.35rem; }
  .brand img { width: 52px; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row, .checks { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .job-photos { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .job-photos.n1 { grid-auto-rows: 240px; }
  .job-photos.n2 { grid-auto-rows: 200px; }
  .cta-inner .btn-row { width: 100%; }
  .cta-inner .btn { flex: 1; }
  .call-bar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy-950); border-top: 1px solid rgba(43, 140, 255, .35); padding: 8px; gap: 8px; }
  .call-bar a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 8px; font-family: var(--display); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; color: #fff; border: 1.5px solid rgba(255, 255, 255, .25); }
  .call-bar a.primary { background: var(--blue); border-color: var(--blue); }
}

/* Services page gear band: the equipment photo is portrait, so keep it narrow */
.gear-img img { max-width: 420px; margin-inline: auto; }

/* Four-photo jobs: the fourth photo runs the full width under the others */
.job-photos .tile:nth-child(4):last-child { grid-column: 1 / -1; }

/* Zack's own photos are tall phone shots: crop them to a steady shape, keeping the action in frame */
.service-detail .split-img img { aspect-ratio: 4 / 5; object-fit: cover; max-height: 640px; }
img[src*="pole-action"] { object-position: 50% 20%; }
.band-dark .split-img:not(.portrait) img { aspect-ratio: 4 / 5; object-fit: cover; max-height: 600px; }
