/* Blizzard Blasting Solutions — light industrial
   Off-white paper, deep slate-navy ink, safety-yellow accent, soft shadows
   instead of hard borders, staggered asymmetric grids.
   Self-hosted fonts, no frameworks, no external requests. */

/* ---------- Fonts ---------- */
@font-face { font-family: "Anton"; src: url("../fonts/Anton-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --paper: #f6f7f8;          /* page */
  --paper-2: #eef0f2;        /* tinted band */
  --card: #ffffff;
  --navy: #14242e;           /* deep slate navy (header, footer, dark bands) */
  --navy-2: #1b303d;
  --ink: #101b22;            /* headings */
  --body-c: #45535c;         /* body text */
  --muted: #6b7880;
  --dim: #93a0a8;

  --hazard: #ffd400;         /* safety yellow */
  --hazard-deep: #f0b90b;
  --ice: #3ea8d2;            /* brand blue, secondary */
  --ice-soft: #dff1f9;
  --logo-blue: #a4e8ff;      /* exact blue sampled from the BBS logo */
  --logo-blue-lt: #c4f2ff;   /* hover / lighter */
  --logo-blue-dp: #2f9dc9;   /* deep, for text on light backgrounds */

  --line: rgba(16, 27, 34, .1);
  --line-soft: rgba(16, 27, 34, .06);
  --line-strong: rgba(16, 27, 34, .2);

  --shadow-sm: 0 1px 2px rgba(16, 27, 34, .05), 0 4px 14px -6px rgba(16, 27, 34, .1);
  --shadow-md: 0 2px 6px rgba(16, 27, 34, .05), 0 18px 40px -18px rgba(16, 27, 34, .22);
  --shadow-lg: 0 24px 60px -22px rgba(16, 27, 34, .32);

  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --pill: 999px;

  --pad: clamp(1.25rem, 5vw, 4rem);
  --sec: clamp(5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hex: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body-c);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--hazard); color: var(--ink); }

img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--ink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ice); }

h1, h2 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: .98;
  color: var(--ink);
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 8.4vw, 6.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: -.012em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 .5em;
}
h3 { font-size: 1.22rem; }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1.2em; }
p, li { max-width: 62ch; }
strong { color: var(--ink); font-weight: 600; }

:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; border-radius: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--hazard); color: var(--ink); padding: .8rem 1.4rem; font-weight: 600;
}
.skip:focus { left: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.narrow { max-width: 900px; }
.section { padding: var(--sec) 0; }
.section + .section { padding-top: 0; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.center { text-align: center; }
.center p, .center h1, .center h2 { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 1.5rem; }
.g2, .g3, .g4 { grid-template-columns: 1fr; }

.section-head { max-width: 820px; margin-bottom: clamp(2.25rem, 4.5vw, 4rem); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head > *:last-child { margin-bottom: 0; }
.section-head p { font-size: 1.1rem; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-weight: 600; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.25rem; max-width: none;
}
.eyebrow::before { content: ""; width: 26px; height: 4px; background: var(--hazard); }
.eyebrow.pill { color: var(--muted); }
.center .eyebrow { justify-content: center; }

/* ---------- Header (navy, like the reference sites) ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; }
.topbar {
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem var(--pad);
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: .82rem; letter-spacing: .02em;
}
.topbar .tb-item {
  display: inline-flex; align-items: center;
  padding: .3rem .85rem; border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .78); white-space: nowrap;
  background: rgba(255, 255, 255, .04);
}
.topbar a.tb-item:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.topbar .tb-tel { background: var(--hazard); border-color: var(--hazard); color: #000; font-weight: 600; }
.topbar .tb-tel:hover { background: #ffe14d; border-color: #ffe14d; color: #000; }
.topbar .tb-spacer { flex: 1; }
@media (max-width: 700px) {
  .topbar { justify-content: center; }
  .topbar .tb-hours, .topbar .tb-item[href^="mailto"], .topbar .tb-spacer { display: none; }
}

.navbar {
  display: flex; align-items: center; gap: 1rem;
  padding: .8rem var(--pad);
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .3s, padding .3s;
}
.navbar.scrolled { padding: .55rem var(--pad); box-shadow: 0 10px 30px -12px rgba(16, 27, 34, .45); }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }

.nav-links { display: none; align-items: center; gap: 1.9rem; margin-left: auto; }
.nav-links a { font-size: .98rem; color: rgba(255, 255, 255, .75); white-space: nowrap; }
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; box-shadow: 0 3px 0 var(--hazard); }

.nav-actions { display: flex; align-items: center; gap: .55rem; margin-left: auto; }
.nav-links + .nav-actions { margin-left: 1.9rem; }

.icon-btn {
  width: 42px; height: 42px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #fff; cursor: pointer;
  border-radius: var(--r-sm); transition: border-color .2s, background .2s;
}
.icon-btn:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }
.icon-btn.call { background: var(--hazard); border-color: var(--hazard); color: var(--ink); }
.icon-btn.call:hover { background: #ffe14d; border-color: #ffe14d; color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; stroke-width: 1.6; }

.mobile-panel {
  position: fixed; inset: 0; z-index: 99;
  background: var(--navy);
  display: none; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: .25rem; padding: 5.5rem var(--pad) 2rem; overflow-y: auto;
  justify-content: safe center; -webkit-overflow-scrolling: touch;
}
.mobile-panel[data-open="true"] { display: flex; }
.mobile-panel a {
  font-family: var(--display); text-transform: uppercase;
  color: #fff; font-size: 2.1rem; line-height: 1.1; padding: .3rem 0;
}
.mobile-panel a:hover, .mobile-panel a[aria-current="page"] { color: var(--hazard); }
.mobile-panel .btn { margin-top: 2rem; font-family: var(--sans); font-size: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  border: 1px solid transparent; border-radius: var(--r-sm);
  cursor: pointer; text-decoration: none; text-align: center; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--logo-blue); color: var(--ink); border-color: var(--logo-blue);
  box-shadow: 0 8px 20px -10px rgba(47, 157, 201, .85);
}
.btn-primary:hover { background: var(--logo-blue-lt); border-color: var(--logo-blue-lt); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
.navbar .btn-ghost, .mobile-panel .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.navbar .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.btn-sm { padding: .6rem 1.15rem; font-size: .9rem; }
.btn svg { width: 15px; height: 15px; opacity: .8; stroke-width: 1.8; transition: transform .25s var(--ease), opacity .25s; }
.btn:hover svg { opacity: 1; transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Phone buttons: always filled safety yellow, wherever they sit */
.btn[href^="tel:"],
.navbar .btn[href^="tel:"],
.mobile-panel .btn[href^="tel:"],
.call-band .btn[href^="tel:"] {
  background: var(--hazard); border-color: var(--hazard); color: #000;
  box-shadow: 0 8px 20px -10px rgba(240, 185, 11, .8);
}
.btn[href^="tel:"]:hover,
.navbar .btn[href^="tel:"]:hover,
.mobile-panel .btn[href^="tel:"]:hover,
.call-band .btn[href^="tel:"]:hover {
  background: #ffe14d; border-color: #ffe14d; color: #000;
}
.btn[href^="tel:"] svg { opacity: 1; }
.btn-row.center { justify-content: center; }

/* ---------- Surfaces ---------- */
.panel { background: var(--card); border: 0; border-radius: var(--r-lg); padding: clamp(1.75rem, 3.5vw, 2.75rem); box-shadow: var(--shadow-md); }
.panel > *:last-child { margin-bottom: 0; }

.card {
  background: var(--card); border: 0; border-radius: var(--r-md);
  padding: 1.9rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s, transform .35s var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card > *:last-child { margin-bottom: 0; }
.card h3 { font-size: 1.15rem; margin-bottom: .55em; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--ice); }
.card p { font-size: .97rem; color: var(--muted); }

.ico {
  width: 52px; height: 52px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--logo-blue); border-radius: 50%;
  margin-bottom: 1.4rem;
}
.ico svg { width: 24px; height: 24px; stroke-width: 1.5; }
.ico.hazard { background: var(--logo-blue); color: var(--ink); }

.lede { font-size: 1.18rem; color: var(--body-c); line-height: 1.65; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }

.checks { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .6rem; }
.checks li { display: flex; gap: .85rem; align-items: flex-start; }
.checks li::before { content: ""; flex-shrink: 0; margin-top: .72rem; width: 16px; height: 4px; background: var(--hazard); }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.tags li {
  padding: .42rem .95rem; border-radius: var(--pill); max-width: none;
  font-size: .86rem; font-weight: 600;
  background: #fff; box-shadow: var(--shadow-sm); color: var(--body-c);
}

blockquote.pull { margin: 0 0 1.5rem; padding: 0 0 0 1.4rem; border-left: 4px solid var(--hazard); color: var(--body-c); font-size: 1.06rem; }

/* ---------- Hero: light, blueprint lines, staggered collage ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(9rem, 17vw, 12.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  background: linear-gradient(180deg, #fdfdfe 0%, var(--paper) 100%);
}
/* faint technical-drawing grid, like the architectural line art on the reference site */
.hero-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(115deg, transparent 30%, #000 75%);
  -webkit-mask-image: linear-gradient(115deg, transparent 30%, #000 75%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero-inner { max-width: 660px; }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--dim); }
.hero h1 .grad {
  text-decoration: underline;
  text-decoration-color: var(--hazard);
  text-decoration-thickness: .13em;
  text-decoration-skip-ink: none;
  text-underline-offset: .06em;
}
.hero .tagline {
  display: flex; flex-wrap: wrap; gap: .5rem 0; max-width: none;
  font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1.75rem;
}
.hero .tagline span { display: inline-flex; align-items: center; }
.hero .tagline span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--hazard-deep); margin: 0 1rem; }
.hero .sub { max-width: 54ch; margin-bottom: 2rem; }
.hero-badge {
  list-style: none; padding: 1.4rem 0 0; margin: 2.5rem 0 0;
  display: flex; flex-wrap: wrap; gap: .6rem 2.25rem;
  border-top: 1px solid var(--line);
}
.hero-badge li { max-width: none; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.hero-collage { position: relative; display: none; min-height: 560px; }
.hero-collage figure { margin: 0; position: absolute; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; }
.hero-collage .c1 { top: 0; right: 0; width: 72%; aspect-ratio: 4 / 4.6; z-index: 2; }
.hero-collage .c2 { bottom: -6%; left: 0; width: 52%; aspect-ratio: 4 / 4.4; z-index: 3; }
.hero-collage .c-accent {
  position: absolute; z-index: 1; top: -7%; right: -6%;
  width: 46%; aspect-ratio: 1; border-radius: var(--r-md);
  background: var(--logo-blue);
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 4.5rem; }
  .hero-collage { display: block; }
}

/* ---------- Trust strip ---------- */
.trust {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
  max-width: 1280px; margin: 0 auto; padding: 0 var(--pad);
  position: relative; z-index: 3;
}
.trust div {
  padding: 1.5rem 1.6rem; text-align: left;
  background: var(--card); border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--hazard);
}
.trust strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.4rem; text-transform: uppercase; color: var(--ink); line-height: 1.1; }
.trust span { font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Banner: editorial statement ---------- */
.banner { position: relative; text-align: center; border: 0; border-radius: 0; background: none; padding: 0; max-width: 940px; margin: 0 auto; }
.banner h2 { font-size: clamp(2.1rem, 4.8vw, 3.9rem); }
.banner p { margin: 0 auto; font-size: 1.12rem; max-width: 60ch; }

/* ---------- Service tiles (asymmetric: first tile is the anchor) ---------- */
.svc-tile {
  display: flex; flex-direction: column; text-decoration: none;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--card); box-shadow: var(--shadow-sm);
  transition: box-shadow .35s, transform .35s var(--ease);
}
.svc-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.svc-tile .pic { display: block; overflow: hidden; aspect-ratio: 16 / 10; position: relative; }
.svc-tile .pic::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--hazard); }
.svc-tile .pic picture { display: block; width: 100%; height: 100%; }
.svc-tile .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-tile:hover .pic img { transform: scale(1.05); }
.svc-tile .body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.svc-tile .ico { margin: -3.1rem 0 .9rem; position: relative; z-index: 2; border: 4px solid var(--card); width: 58px; height: 58px; }
.svc-tile h3 { font-size: 1.16rem; margin-bottom: .5em; color: var(--ink); }
.svc-tile p { font-size: .95rem; color: var(--muted); flex: 1; }
.svc-tile .read-more { margin-top: .35rem; }
.svc-tile:hover .read-more { color: var(--ice); }
/* asymmetric layout at desktop: hero tile spans two tracks, the rest stagger */
@media (min-width: 900px) {
  .grid.g4 { grid-template-columns: repeat(3, 1fr); }
  .grid.g4 .svc-tile:first-child, .grid.g4 .svc-tile:last-child { grid-column: span 2; flex-direction: row; }
  .grid.g4 .svc-tile:first-child .pic, .grid.g4 .svc-tile:last-child .pic { aspect-ratio: auto; width: 46%; flex-shrink: 0; }
  .grid.g4 .svc-tile:first-child .pic::after, .grid.g4 .svc-tile:last-child .pic::after { inset: 0 0 0 auto; height: auto; width: 6px; }
  .grid.g4 .svc-tile:first-child .ico, .grid.g4 .svc-tile:last-child .ico { margin: 0 0 .9rem -3.4rem; }
  .grid.g4 .svc-tile:first-child h3, .grid.g4 .svc-tile:last-child h3 { font-size: 1.35rem; }
}

/* ---------- Media cards (staggered masonry feel) ---------- */
.media-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; aspect-ratio: 4 / 5;
  border: 0; border-radius: var(--r-md);
  background: var(--navy); text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .4s, transform .4s var(--ease);
}
.media-card:hover { box-shadow: var(--shadow-md); }
.media-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: .92; transition: transform 1.2s var(--ease), opacity .6s;
}
.media-card:hover img, .media-card:focus-within img { opacity: 1; transform: scale(1.04); }
.media-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 18, 23, .92) 0%, rgba(10, 18, 23, .35) 45%, transparent 75%);
}
.media-card .body { position: relative; z-index: 2; padding: 1.6rem; }
.media-card h3 { color: #fff; margin-bottom: .3rem; font-size: 1.2rem; }
.media-card p { color: #ccd6dc; font-size: .94rem; margin-bottom: 0; padding-right: 2.75rem; }
.media-card .more {
  position: absolute; z-index: 3; right: 1.25rem; bottom: 1.25rem;
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--logo-blue); color: var(--ink);
  transition: transform .3s var(--ease);
}
.media-card .more > svg { width: 16px; height: 16px; margin: 0; opacity: 1; stroke-width: 2; vertical-align: 0; }
.media-card:hover .more { transform: scale(1.1); }
.media-card:hover .more > svg { transform: none; }
@media (min-width: 900px) {
  .grid.g3 .media-card:nth-child(3n+2) { margin-top: 2.75rem; }
  .grid.g3 .media-card:nth-child(3n) { margin-top: -1.25rem; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.read-more { font-size: .84rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.read-more:hover { color: var(--ice); }

.read-more svg,
a > svg:last-child:not(.btn svg):not(.icon-btn svg), .more > svg {
  width: .85em; height: .85em; flex-shrink: 0; vertical-align: -.08em; margin-left: .1em;
  opacity: .6; stroke-width: 1.6; transition: transform .2s, opacity .2s;
}
a:hover > svg:last-child:not(.btn svg):not(.icon-btn svg),
a:hover .read-more svg { opacity: 1; transform: translateX(3px); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 1.25rem; counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start;
  padding: 1.9rem 1.75rem; background: var(--card); border: 0; border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.step .num { font-family: var(--display); font-size: 2.4rem; line-height: 1; color: var(--ink); background: var(--hazard); padding: .35rem .55rem .25rem; border-radius: var(--r-sm); }
.step h3 { margin-bottom: .35rem; }
.step p { margin: 0; font-size: .97rem; color: var(--muted); }

/* ---------- Split ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split img { border-radius: var(--r-md); border: 0; width: 100%; box-shadow: var(--shadow-md); }
.split > div > *:last-child { margin-bottom: 0; }
.stack-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.stack-imgs figure { margin: 0; }
.stack-imgs figure:last-child { margin-top: 3rem; }
.stack-imgs img { border-radius: var(--r-md); aspect-ratio: 3/4; object-fit: cover; width: 100%; box-shadow: var(--shadow-md); }
.stack-imgs figcaption { font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .8rem; }

/* ---------- Metrics ---------- */
.meter { margin-bottom: 1.6rem; }
.meter-top { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; font-size: .9rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--body-c); }
.meter-top span:last-child { color: var(--ink); font-family: var(--display); font-size: 1.2rem; }
.meter-track { height: 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.meter-fill { height: 100%; border-radius: 99px; background: var(--hazard); }

/* ---------- Gallery ---------- */
.bento { display: grid; gap: 1.25rem; grid-template-columns: 1fr; align-items: start; }
.reveal {
  position: relative; overflow: hidden; display: block; width: 100%; padding: 0;
  border: 0; border-radius: var(--r-md);
  background: var(--card); cursor: pointer; font-family: inherit; box-shadow: var(--shadow-sm);
}
.reveal img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.reveal .after { position: absolute; inset: 0; width: 0; overflow: hidden; transition: width .7s var(--ease); }
.reveal .after img { position: absolute; top: 0; left: 0; height: 100%; width: auto; max-width: none; aspect-ratio: 4/3; }
/* Portrait tiles - for upright subjects that a 4:3 window would crop badly */
.reveal.portrait img, .reveal.portrait .after img { aspect-ratio: 3/4; }
.reveal[aria-pressed="true"] .after { width: 100%; border-right: 3px solid var(--hazard); }
.reveal .label, .reveal .cap {
  position: absolute; z-index: 3; padding: .4rem .9rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-radius: var(--r-sm);
}
.reveal .label { left: .85rem; bottom: .85rem; background: var(--hazard); color: var(--ink); }
.reveal .cap { right: .85rem; top: .85rem; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow-sm); }

/* Standalone gallery tile - same frame as .reveal, no interaction */
.shot {
  position: relative; overflow: hidden; display: block; width: 100%; margin: 0;
  border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow-sm);
}
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; display: block; }
.shot .cap {
  position: absolute; z-index: 3; right: .85rem; top: .85rem; padding: .4rem .9rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow-sm);
}

/* ---------- Blog ---------- */
.posts { display: grid; gap: 1.5rem; }
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 0; border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  transition: box-shadow .35s, transform .35s var(--ease);
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.post-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.post-card .body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.18rem; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--ice); }
.post-card p { font-size: .96rem; flex: 1; color: var(--muted); }
.post-card .body > *:last-child { margin-bottom: 0; }
.meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-bottom: .85rem; max-width: none; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.meta .tag { color: var(--hazard-deep); }
.article { max-width: 760px; }
.article img.hero-img { border-radius: var(--r-md); margin-bottom: 2.5rem; width: 100%; box-shadow: var(--shadow-md); }
.article p { font-size: 1.08rem; }
/* Long-form article furniture: headings, lists and comparison tables */
.article h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.6rem 0 .9rem; }
.article h3 { font-size: clamp(1.15rem, 2.2vw, 1.35rem); margin: 2rem 0 .7rem; }
.article ul, .article ol { margin: 0 0 1.5rem; padding: 0 0 0 .2rem; list-style: none; display: grid; gap: .6rem; }
.article ol { counter-reset: n; }
.article li { display: flex; gap: .85rem; align-items: flex-start; font-size: 1.05rem; }
.article ul li::before {
  content: ""; flex-shrink: 0; margin-top: .72rem;
  width: 16px; height: 4px; background: var(--logo-blue);
}
.article ol li::before {
  counter-increment: n; content: counter(n); flex-shrink: 0;
  width: 1.6rem; font-weight: 700; color: var(--logo-blue-dp);
}
.article .table-wrap { overflow-x: auto; margin: 0 0 1.75rem; }
.article table { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 32rem; }
.article th, .article td { padding: .75rem .9rem; text-align: left; border-bottom: 1px solid rgba(16,27,34,.12); }
.article thead th { background: var(--navy); color: #fff; font-weight: 600; border-bottom: 0; }
.article tbody tr:nth-child(even) { background: rgba(62,168,210,.07); }
.article .note {
  margin: 2rem 0; padding: 1.1rem 1.3rem; border-left: 4px solid var(--logo-blue);
  background: var(--ice-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.article .note p { margin: 0; font-size: 1rem; }
/* Case study furniture: side-by-side before/after pairs and photo rows */
.article .ba { margin: 2rem 0 2.25rem; }
.article .ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.article .ba-side { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow-sm); }
.article .ba-side img { width: 100%; height: 100%; object-fit: cover; }
.article .ba-side span {
  position: absolute; z-index: 2; left: .7rem; top: .7rem; padding: .35rem .8rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-radius: var(--r-sm);
  background: var(--navy); color: #fff;
}
.article .ba-side.after span { background: var(--hazard); color: var(--ink); }
.article .ba figcaption, .article .photo-row figcaption { margin-top: .6rem; font-size: .92rem; color: var(--muted); line-height: 1.5; }
.article .photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 2rem 0 2.25rem; }
.article .photo-row figure { margin: 0; }
.article .photo-row img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.article .photo-row figcaption { margin-top: .45rem; font-size: .85rem; }
@media (max-width: 520px) {
  .article .ba-grid { gap: .4rem; }
  .article .ba-side span { left: .45rem; top: .45rem; padding: .25rem .55rem; font-size: .64rem; }
  .article .photo-row { grid-template-columns: 1fr 1fr; }
  .article .photo-row figure:nth-child(3) { grid-column: span 2; }
  .article .photo-row figure:nth-child(3) img { aspect-ratio: 4/3; }
}
.crumbs { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.75rem; max-width: none; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

/* ---------- Contact rows ---------- */
.contact-row {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.15rem 1.35rem; margin-bottom: .9rem;
  background: var(--card); border: 0; border-radius: var(--r-md); box-shadow: var(--shadow-sm);
  text-decoration: none; transition: box-shadow .3s, transform .3s var(--ease);
}
.contact-row:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-row .ico { width: 46px; height: 46px; margin-bottom: 0; }
.contact-row .ico svg { width: 20px; height: 20px; }
.contact-row > span:last-child { min-width: 0; flex: 1; }
.contact-row .t { display: block; margin-bottom: .1rem; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-row .v { display: block; color: var(--ink); font-weight: 600; font-size: 1.06rem; line-height: 1.35; overflow-wrap: anywhere; }

/* ---------- Forms ---------- */
form .field { margin-bottom: 1.15rem; }
form label { display: block; margin-bottom: .45rem; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
form input, form select, form textarea {
  width: 100%; display: block;
  padding: .9rem 1rem;
  font-family: var(--sans); font-size: 1.02rem; line-height: 1.4;
  color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
form input::placeholder, form textarea::placeholder { color: var(--dim); }
form input:hover, form select:hover, form textarea:hover { border-color: var(--line-strong); }
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--hazard-deep); box-shadow: 0 0 0 3px rgba(255, 212, 0, .28); }
form select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% + 1px), calc(100% - 12px) calc(50% + 1px);
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
form textarea { min-height: 140px; resize: vertical; }
form .hp { position: absolute; left: -9999px; }
form button { width: 100%; margin-top: .5rem; }
.form-note { font-size: .9rem; color: var(--muted); margin: 1rem 0 0; }

/* Small-team availability note (contact page, home enquiry block) */
.reach-note {
  margin: 1.25rem 0 0; padding: 1.05rem 1.25rem;
  border-left: 4px solid var(--logo-blue);
  background: var(--ice-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.reach-note p { margin: 0; font-size: .97rem; line-height: 1.6; color: var(--body-c); }
.reach-note strong { color: var(--ink); }
.map { border: 0; border-radius: var(--r-md); overflow: hidden; height: 340px; box-shadow: var(--shadow-sm); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .9rem; border: 0; }
.faq details { background: var(--card); border: 0; border-radius: var(--r-md); padding: 1.2rem 1.5rem; box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  font-weight: 600; font-size: 1.1rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper-2); font-weight: 400; font-size: 1.15rem; line-height: 1; color: var(--ink);
  transition: transform .3s var(--ease), background .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--hazard); }
.faq p { margin: 1rem 0 0; }

/* ---------- Call band & CTA: the navy sections ---------- */
.call-band {
  background: var(--navy);
  padding: clamp(2.75rem, 5vw, 3.75rem) 0;
  margin: var(--sec) 0;
  position: relative; overflow: hidden;
}
.call-band::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 8px;
  background: repeating-linear-gradient(115deg, var(--hazard) 0 22px, var(--navy) 22px 44px);
}
.section + .call-band { margin-top: 0; }
.call-band + .section { padding-top: 0; }
.call-band .wrap { display: grid; gap: .35rem 3rem; align-items: center; }
.call-band .cb-t { margin: 0; font-family: var(--display); text-transform: uppercase; color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.05; }
.call-band .cb-s { margin: 0 0 1rem; color: rgba(255, 255, 255, .68); font-size: 1.02rem; }
.call-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.call-band .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
@media (min-width: 900px) {
  .call-band .wrap { grid-template-columns: auto 1fr auto; }
  .call-band .cb-s { margin: 0; max-width: 44ch; }
}

.cta-band {
  position: relative; text-align: center;
  border: 0; border-radius: var(--r-lg); background: var(--navy);
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(115deg, transparent 40%, #000);
  -webkit-mask-image: linear-gradient(115deg, transparent 40%, #000);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: .45em; font-size: clamp(2.2rem, 5.4vw, 4.4rem); }
.cta-band p { margin: 0 auto 2rem; color: rgba(255, 255, 255, .7); font-size: 1.1rem; max-width: 56ch; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-band .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------- Testimonials ---------- */
.quotes { align-items: stretch; }
.quote {
  margin: 0; display: flex; flex-direction: column;
  padding: 1.9rem 1.75rem;
  background: var(--card); border: 0; border-radius: var(--r-md); box-shadow: var(--shadow-sm);
}
.quote blockquote { margin: 0 0 1.4rem; flex: 1; }
.quote blockquote::before { content: "\201C"; display: block; font-family: var(--display); font-size: 2.8rem; line-height: .6; color: var(--hazard-deep); margin-bottom: .8rem; }
.quote blockquote p { margin: 0; font-size: .99rem; }
.quote figcaption { display: flex; flex-direction: column; gap: .1rem; border-top: 1px solid var(--line-soft); padding-top: 1rem; }
.quote figcaption strong { color: var(--ink); font-size: .98rem; }
.quote figcaption span { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) {
  .quotes .quote:nth-child(2) { margin-top: 2rem; }
}

/* ---------- Service photo tile grid gap fix ---------- */
.grid { gap: 1.5rem; }

/* ---------- Footer (navy) ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding: clamp(3.5rem, 6vw, 5rem) 0 7rem; }
.site-footer::before { content: ""; display: block; height: 8px; margin-top: calc(-1 * clamp(3.5rem, 6vw, 5rem));
  background: repeating-linear-gradient(115deg, var(--hazard) 0 22px, var(--navy) 22px 44px); margin-bottom: clamp(3.5rem, 6vw, 5rem); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.footer-grid h4 { font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--hazard); margin-bottom: 1.1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-grid li { color: rgba(255, 255, 255, .72); font-size: .96rem; max-width: none; }
.footer-grid a { color: rgba(255, 255, 255, .72); font-size: .96rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 1.25rem; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between;
  font-size: .88rem; color: rgba(255, 255, 255, .5);
}
.footer-bottom p { margin: 0; max-width: none; }
.footer-bottom a { color: rgba(255, 255, 255, .72); }
.footer-bottom a:hover { color: #fff; }
address { font-style: normal; color: rgba(255, 255, 255, .72); font-size: .96rem; line-height: 1.75; }
address a { color: rgba(255, 255, 255, .72); }
address a:hover { color: #fff; }
.site-footer .small.muted { color: rgba(255, 255, 255, .55); }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .92); border-top: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.mobile-cta .btn { padding: .8rem .5rem; font-size: .92rem; }

/* ---------- Scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 620px) {
  .g2, .g4 { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: repeat(4, 1fr); }
  .posts { grid-template-columns: 1fr 1fr; }
  form button { width: auto; min-width: 240px; }
}
@media (min-width: 900px) {
  .g3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .split.wide-left { grid-template-columns: 1.05fr .95fr; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento .w2 { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1.1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .posts { grid-template-columns: repeat(3, 1fr); }
}
/* ---------- Mobile header fit ----------
   Below the desktop breakpoint the row was wider than a phone screen, which
   pushed the menu toggle off the right edge. Keep the toggle reachable. */
@media (max-width: 1059px) {
  .brand { flex-shrink: 1; min-width: 0; }
  .brand img { height: clamp(34px, 9vw, 52px); max-width: 100%; object-fit: contain; }
  .nav-toggle { flex-shrink: 0; }
}
@media (max-width: 700px) {
  /* the number already shows as a full yellow button in the top bar on mobile */
  .nav-actions .icon-btn.call { display: none; }
  .navbar { gap: .6rem; padding-left: 1rem; padding-right: 1rem; }
  .nav-actions { gap: .45rem; }
  .btn-sm { padding: .6rem .95rem; }
  /* clear the fixed top bar + navbar so the first link is never hidden behind it */
  .mobile-panel { padding-top: 8.5rem; }
}
@media (max-width: 380px) {
  /* "Get a free quote" is inside the menu panel, so nothing is lost */
  .nav-actions .btn-primary { display: none; }
}

@media (min-width: 1060px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-cta { display: none; }
  .site-footer { padding-bottom: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- Gallery videos ---------- */
.video-block { margin-top: clamp(3rem, 6vw, 4.5rem); }
.video-grid { display: grid; gap: 1.5rem; }
.video-card {
  margin: 0; display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s, transform .35s var(--ease);
}
.video-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.video-card video {
  width: 100%; height: auto; display: block; max-height: 60vh;
  background: #000; object-fit: contain;
}
.video-card figcaption { padding: 1.35rem 1.5rem 1.6rem; }
.video-card h3 { font-size: 1.12rem; margin-bottom: .4em; }
.video-card p { font-size: .95rem; color: var(--muted); margin: 0; }
@media (min-width: 700px) {
  .video-grid { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
}

/* ---------- Standalone photo figure ---------- */
.foam-shot { margin: 0; }
.foam-shot img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-md); box-shadow: var(--shadow-md);
}
.foam-shot figcaption {
  margin-top: 1rem; font-size: .95rem; color: var(--muted);
  max-width: 68ch;
}
