/* Layout concept: an industrial site board. Full-bleed aerial roof photography,
   ink-black sections ribbed like corrugated sheeting, and the logo's brick red
   used sparingly for action and emphasis. Condensed signage type for headings. */
:root {
  --ink: #161412;
  --ink-2: #211f1c;
  --ink-3: #2d2a27;
  --paper: #f3f1ee;
  --card: #ffffff;
  --line: #dfdad4;
  --fg: #1d1b19;
  --muted: #625d57;
  --on-ink: #f3f1ee;
  --on-ink-muted: #b9b2aa;
  --red: #b84033;
  --red-hi: #d0503f;
  --red-deep: #8e2f25;
  --steel: #8b8e90;
  --wa: #25d366;
  --display: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0 0 .45em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 8.5vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; z-index: 300; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 10vw, 120px); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--white { background: var(--card); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 700; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: currentColor; }
.section--ink .eyebrow, .hero .eyebrow, .banner .eyebrow { color: var(--red-hi); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.section--ink .lede { color: var(--on-ink-muted); }
.prose { max-width: 66ch; }
.prose a, .lede a, .inline-link { color: var(--red); font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.section--ink .prose a, .section--ink .inline-link { color: var(--red-hi); }

/* corrugated texture */
.ribbed { position: relative; isolation: isolate; }
.ribbed::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 9px, rgba(0,0,0,.18) 9px 18px);
}

/* ---------- buttons ---------- */
.btn {
  --b: var(--red);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--body); font-weight: 700; font-size: .95rem;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  color: #fff; background: var(--b); border: 2px solid var(--b); border-radius: var(--radius);
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(184,64,51,.7); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.1); box-shadow: none; }
.btn--dark { --b: var(--ink); }
.btn--outline { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn--outline:hover { background: var(--fg); color: var(--paper); box-shadow: none; }
.btn--wa { --b: var(--wa); color: #0b2e17; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-items: center;
  background: var(--ink); color: var(--on-ink);
  transition: clip-path .35s var(--ease);
  clip-path: inset(0 0 0 0);
  animation: loader-failsafe 0s 1.2s forwards;
}
.loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; animation: none; }
.loader.is-leaving { clip-path: inset(0 0 0 0); animation: none; }
.loader.is-entering-cover { clip-path: inset(100% 0 0 0); transition: none; }
@keyframes loader-failsafe { to { clip-path: inset(0 0 100% 0); pointer-events: none; visibility: hidden; } }
.loader__inner { display: grid; justify-items: center; gap: 22px; }
.loader__logo { width: 116px; height: 116px; animation: loader-spin 2.4s var(--ease) infinite; filter: drop-shadow(0 8px 24px rgba(0,0,0,.5)); }
@keyframes loader-spin { 0% { transform: rotate(0) scale(.92); } 50% { transform: rotate(180deg) scale(1); } 100% { transform: rotate(360deg) scale(.92); } }
.loader__name { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: .2em; text-transform: uppercase; }
.loader__bar { width: 180px; height: 8px; background: var(--ink-3); border-radius: 2px; overflow: hidden; }
.loader__bar span {
  display: block; height: 100%; width: 40%;
  background: repeating-linear-gradient(90deg, var(--red) 0 6px, var(--red-hi) 6px 12px);
  animation: loader-run 1.1s var(--ease) infinite;
}
@keyframes loader-run { from { transform: translateX(-110%); } to { transform: translateX(260%); } }

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  color: #fff;
  transition: background .35s, box-shadow .35s, transform .35s var(--ease);
}
.header.is-solid { background: rgba(22,20,18,.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.header.is-hidden { transform: translateY(-100%); }
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 50px; height: 50px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-20deg); }
.brand span { font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
.brand small { display: block; font-family: var(--body); font-weight: 600; font-size: .62rem; letter-spacing: .2em; color: var(--on-ink-muted); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav__drop > button {
  font: 600 .86rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  color: inherit; text-decoration: none; background: none; border: 0; cursor: pointer;
  padding: 12px 12px; position: relative; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a::after, .nav__drop > button::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red-hi);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav > a:hover::after, .nav > a[aria-current="page"]::after, .nav__drop:hover > button::after, .nav__drop > button[aria-current="page"]::after { transform: scaleX(1); }
.nav__drop { position: relative; }
.nav__drop svg { width: 12px; height: 12px; transition: transform .3s; }
.nav__drop:hover svg, .nav__drop:focus-within svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: 100%; left: 0; min-width: 260px; padding: 8px;
  background: var(--ink-2); border-top: 3px solid var(--red); box-shadow: 0 20px 40px -12px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease);
}
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: block; padding: 11px 14px; text-decoration: none; font-size: .92rem; color: var(--on-ink); border-radius: 2px; transition: background .2s, padding .2s; }
.nav__menu a:hover { background: var(--ink-3); padding-left: 20px; }
.nav .btn { min-height: 44px; padding: 0 18px; margin-left: 10px; font-size: .82rem; }
.burger { display: none; width: 46px; height: 46px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; z-index: 120; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: .35s var(--ease); }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 30px; }
.nav-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 110; background: var(--ink); color: var(--on-ink);
  padding: calc(96px + env(safe-area-inset-top, 0px)) var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .6s var(--ease);
  visibility: hidden;
}
.nav-open .mobile-nav { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.mobile-nav a { font-family: var(--display); font-weight: 800; font-size: 2.1rem; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--ink-3);
  opacity: 0; transform: translateX(-20px); transition: .45s var(--ease); }
.mobile-nav a.sub { font-family: var(--body); font-weight: 500; font-size: 1.05rem; text-transform: none; color: var(--on-ink-muted); padding: 8px 0 8px 18px; }
.nav-open .mobile-nav a { opacity: 1; transform: none; }
.mobile-nav .btn { margin-top: 24px; font-family: var(--body); font-size: .95rem; }
@media (max-width: 980px) { .nav { display: none; } .burger { display: block; } }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: kenburns 22s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,20,18,.55) 0%, rgba(22,20,18,.25) 35%, rgba(22,20,18,.9) 100%),
    linear-gradient(90deg, rgba(22,20,18,.75) 0%, rgba(22,20,18,0) 70%);
}
.hero__content { position: relative; width: 100%; padding-top: 120px; padding-bottom: clamp(40px, 7vh, 80px); }
.hero h1 { max-width: 12ch; margin-bottom: .3em; }
.hero h1 em { font-style: normal; color: var(--red-hi); }
.hero p { max-width: 58ch; font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: #e9e5e0; }
.hero__creds { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: clamp(28px, 5vh, 52px); padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); }
.hero__creds li { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; letter-spacing: .04em; color: #e9e5e0; }
.hero__creds svg { width: 20px; height: 20px; color: var(--red-hi); flex: none; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: clamp(40px, 7vh, 80px); width: 26px; height: 44px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 700px) { .hero__scroll { display: none; } }
ul.clean { list-style: none; margin: 0; padding: 0; }

/* entrance stagger — only when JS is present */
.js [data-in] { opacity: 0; transform: translateY(30px); }
.ready [data-in] { animation: rise .7s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- inner page banner ---------- */
.banner { position: relative; color: #fff; background: var(--ink); overflow: hidden; min-height: 62vh; min-height: 62svh; display: flex; align-items: flex-end; }
.banner .hero__bg img { animation-duration: 16s; }
.banner__content { position: relative; width: 100%; padding-top: 130px; padding-bottom: clamp(36px, 6vw, 64px); }
.banner h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); max-width: 16ch; }
.banner p { max-width: 60ch; color: #e9e5e0; font-size: 1.08rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: 18px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--red-hi); }
.crumbs span[aria-hidden] { color: var(--red-hi); }

/* ---------- reveal ---------- */
.is-pre { opacity: 0; transform: translateY(36px); }
.is-pre.from-left { transform: translateX(-40px); }
.is-pre.from-right { transform: translateX(40px); }
.is-pre.zoom { transform: scale(.94); }
.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 100ms); }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--card); }
.pillar { padding: clamp(28px, 4vw, 44px); border-right: 1px solid var(--line); position: relative; overflow: hidden; transition: background .35s; }
.pillar:last-child { border-right: 0; }
.pillar::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.pillar:hover::before { transform: scaleX(1); }
.pillar:hover { background: #fbfaf9; }
.pillar__icon { width: 58px; height: 58px; display: grid; place-items: center; background: var(--ink); color: #fff; border-radius: 50%; margin-bottom: 22px; transition: transform .5s var(--ease), background .3s; }
.pillar:hover .pillar__icon { transform: rotate(-12deg) scale(1.08); background: var(--red); }
.pillar__icon svg { width: 28px; height: 28px; }
.pillar p { color: var(--muted); margin: 0; }
.pull-up { margin-top: -70px; position: relative; z-index: 2; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
  .pull-up { margin-top: 0; }
}

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split__media::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 46%; height: 46%; border-right: 4px solid var(--red); border-bottom: 4px solid var(--red); z-index: -1; }
.split--rev .split__media::after { right: auto; left: -14px; border-right: 0; border-left: 4px solid var(--red); }
.tag { position: absolute; left: 16px; bottom: 16px; background: var(--ink); color: #fff; padding: 8px 14px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* ---------- before / after ---------- */
.ba { position: relative; aspect-ratio: 16 / 8; max-width: 100%; overflow: hidden; border-radius: var(--radius); user-select: none; touch-action: pan-y; cursor: ew-resize; background: var(--ink-3); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 18px rgba(0,0,0,.4); }
.ba__handle {
  position: absolute; top: 50%; left: var(--pos, 50%); width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border-radius: 50%; background: var(--red); border: 3px solid #fff; display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.4); transition: transform .2s;
}
.ba:hover .ba__handle, .ba:focus-visible .ba__handle { transform: scale(1.1); }
.ba__handle svg { width: 26px; height: 26px; }
.ba__label { position: absolute; top: 16px; padding: 7px 14px; font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; background: rgba(22,20,18,.82); color: #fff; }
.ba__label--b { left: 16px; } .ba__label--a { right: 16px; background: var(--red); }
.ba-hint { display: flex; align-items: center; gap: 10px; color: var(--on-ink-muted); font-size: .9rem; margin-top: 16px; }
.ba-hint svg { width: 20px; height: 20px; color: var(--red-hi); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
@media (max-width: 600px) { .ba { aspect-ratio: 4 / 3; } }

/* ---------- process / steps ---------- */
.steps { counter-reset: s; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); position: relative; }
.section:not(.section--ink) .step { border-top-color: var(--line); }
.step__n { counter-increment: s; font-family: var(--display); font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--red-hi); }
.step__n::before { content: counter(s, decimal-leading-zero); }
.step h3 { font-size: 1.35rem; margin-bottom: .25em; }
.step p { margin: 0; color: var(--on-ink-muted); }
.section:not(.section--ink) .step p { color: var(--muted); }

/* ---------- service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--card); text-decoration: none; color: var(--fg);
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -28px rgba(22,20,18,.55), 0 0 0 1px var(--line); }
.card__img { overflow: hidden; aspect-ratio: 4 / 3; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__img img { transform: scale(1.07); }
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__body p { color: var(--muted); font-size: .97rem; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.card__more svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.card:hover .card__more svg { transform: translateX(6px); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 560px; } }

.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 5vw, 56px); }
.head-row > div { min-width: 0; max-width: 680px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; grid-auto-flow: dense; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); cursor: zoom-in; }
.gallery figure.wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.gallery figure.wide img { aspect-ratio: auto; }
.gallery figure:hover img { transform: scale(1.06); filter: brightness(.75); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff; font-weight: 600; font-size: .92rem;
  background: linear-gradient(transparent, rgba(22,20,18,.85)); transform: translateY(100%); transition: transform .45s var(--ease);
}
.gallery figure:hover figcaption, .gallery figure:focus-visible figcaption { transform: none; }
.gallery figure.is-hidden { display: none; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } .gallery figure.wide { grid-column: auto; } .gallery figure.wide img { aspect-ratio: 4 / 3; } .gallery figcaption { transform: none; } }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { font: 600 .85rem var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 10px 18px; border-radius: 40px; border: 1.5px solid var(--line); background: var(--card); color: var(--fg); cursor: pointer; transition: .25s; }
.chip:hover { border-color: var(--fg); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(12,11,10,.94); display: grid; place-items: center; padding: 60px 16px; opacity: 0; visibility: hidden; transition: .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 82vh; width: auto; border-radius: var(--radius); transform: scale(.92); transition: transform .45s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox p { color: var(--on-ink); text-align: center; margin-top: 14px; }
.lightbox button { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink-3); color: #fff; font-size: 1.6rem; cursor: pointer; }

/* ---------- CTA band ---------- */
.cta { background: var(--red); color: #fff; overflow: hidden; }
.cta.ribbed::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 10px, rgba(0,0,0,.1) 10px 20px); }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(48px, 7vw, 80px); }
.cta h2 { margin: 0; max-width: 18ch; }
.cta p { margin: 8px 0 0; color: #fbe7e3; max-width: 52ch; }
.cta .btn { --b: var(--ink); }
.cta .btn--ghost { border-color: rgba(255,255,255,.7); }

/* ---------- lists ---------- */
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.ticks svg { width: 22px; height: 22px; color: var(--red); margin-top: 3px; }
.section--ink .ticks svg { color: var(--red-hi); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--red); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--muted); animation: faqopen .4s var(--ease); }
@keyframes faqopen { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- related links ---------- */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 24px; border: 1.5px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 700; background: var(--card); transition: .3s var(--ease); }
.related a:hover { border-color: var(--red); color: var(--red); transform: translateX(4px); }
.related svg { width: 20px; height: 20px; flex: none; }

/* ---------- services overview rows ---------- */
.svc-row { padding-block: clamp(36px, 6vw, 64px); border-top: 1px solid var(--line); }
.svc-row:first-child { border-top: 0; padding-top: 0; }
.svc-num { font-family: var(--display); font-weight: 900; font-size: 1rem; letter-spacing: .2em; color: var(--red); margin-bottom: 6px; }

/* ---------- quote wizard ---------- */
.quote { background: var(--card); border-radius: 6px; box-shadow: 0 40px 80px -40px rgba(22,20,18,.45), 0 0 0 1px var(--line); overflow: hidden; }
.quote__top { background: var(--ink); color: var(--on-ink); padding: 20px clamp(18px, 4vw, 36px); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.quote__count { font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); }
.quote__count b { color: #fff; }
.progress { height: 10px; background: var(--ink-3); flex: 1 1 220px; border-radius: 2px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--red) 0 7px, var(--red-hi) 7px 14px); transition: width .6s var(--ease); }
.quote__body { padding: clamp(24px, 4vw, 44px); min-height: 440px; position: relative; }
.qstep { display: none; }
.qstep.is-active { display: block; animation: qin .55s var(--ease); }
.qstep.is-back { animation-name: qback; }
@keyframes qin { from { opacity: 0; transform: translateX(40px); } }
@keyframes qback { from { opacity: 0; transform: translateX(-40px); } }
.qstep h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .2em; }
.qstep > p { color: var(--muted); margin-bottom: 26px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 14px; }
.opt {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-align: left;
  padding: 20px 18px; border: 2px solid var(--line); border-radius: 6px; background: var(--card); color: var(--fg);
  font: inherit; cursor: pointer; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, background .25s;
  overflow: hidden;
}
.opt:hover { border-color: var(--fg); transform: translateY(-3px); box-shadow: 0 14px 24px -16px rgba(22,20,18,.5); }
.opt__icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); transition: .3s var(--ease); }
.opt__icon svg { width: 26px; height: 26px; }
.opt b { font-size: 1.02rem; line-height: 1.25; }
.opt small { color: var(--muted); font-size: .85rem; line-height: 1.4; }
.opt__check { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.opt__check svg { width: 15px; height: 15px; }
.opt.is-selected { border-color: var(--red); background: #fdf6f5; }
.opt.is-selected .opt__icon { background: var(--red); color: #fff; transform: rotate(-8deg) scale(1.05); }
.opt.is-selected .opt__check { transform: scale(1); }
.opt .ripple { position: absolute; border-radius: 50%; background: rgba(184,64,51,.25); transform: scale(0); animation: ripple .6s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }
.opts--pills { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
.opts--pills .opt { flex-direction: row; align-items: center; padding: 16px; }
.opts--pills .opt__icon { width: 40px; height: 40px; flex: none; }
.opts--pills .opt__icon svg { width: 20px; height: 20px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.field .control { position: relative; }
.field .control svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--steel); pointer-events: none; transition: color .2s; }
.field textarea + svg { top: 18px; transform: none; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--fg); background: var(--paper);
  border: 2px solid transparent; border-radius: 6px; padding: 15px 16px 15px 48px; transition: border-color .25s, background .25s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: var(--card); }
.field .control:focus-within svg { color: var(--red); }
.field.is-error input { border-color: var(--red); animation: shake .4s; }
.field .err { color: var(--red-deep); font-size: .85rem; font-weight: 600; min-height: 1.2em; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.quote__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px clamp(18px, 4vw, 36px); border-top: 1px solid var(--line); background: #faf9f8; flex-wrap: wrap; }
.back-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; font: 700 .86rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); cursor: pointer; padding: 12px 6px; }
.back-btn:hover { color: var(--fg); }
.back-btn svg { width: 18px; height: 18px; }
.back-btn[disabled] { visibility: hidden; }
.summary { display: grid; gap: 10px; margin-bottom: 26px; }
.summary__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; background: var(--paper); border-radius: 6px; animation: rise .5s var(--ease) backwards; animation-delay: calc(var(--d,0) * 70ms); }
.summary__row span { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.summary__row b { text-align: right; }
.summary__row button { background: none; border: 0; color: var(--red); font: 700 .8rem var(--body); text-transform: uppercase; letter-spacing: .08em; cursor: pointer; padding: 4px; }
.done { text-align: center; padding-block: 30px; }
.done__badge { width: 96px; height: 96px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; margin: 0 auto 24px; animation: pop .6s cubic-bezier(.3,1.6,.5,1); }
.done__badge svg { width: 48px; height: 48px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .35s forwards; }
@keyframes pop { from { transform: scale(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.done .btn-row { justify-content: center; }
.note { font-size: .88rem; color: var(--muted); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: grid; gap: 8px; align-content: start; transition: transform .35s var(--ease), border-color .3s; }
.contact-card:hover { transform: translateY(-5px); border-color: var(--red); }
.contact-card .pillar__icon { margin-bottom: 8px; width: 50px; height: 50px; }
.contact-card .pillar__icon svg { width: 24px; height: 24px; }
.contact-card span { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card a, .contact-card strong { font-weight: 700; font-size: 1.05rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--red); }
@media (max-width: 980px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } }
.map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); aspect-ratio: 16 / 9; max-width: 100%; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
@media (max-width: 600px) { .map { aspect-ratio: 4 / 5; } }
.map-static { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--on-ink); padding: 24px;
  background:
    radial-gradient(circle at 50% 46%, rgba(184,64,51,.25), transparent 40%),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(255,255,255,.06) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.06) 46px 48px), var(--ink-2); }
.map-static .pin { width: 54px; height: 54px; color: var(--red-hi); margin: 0 auto 12px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-ink-muted); padding-top: clamp(56px, 8vw, 90px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 1.3rem; letter-spacing: .06em; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color .2s, padding .2s; }
.footer ul a:hover { color: #fff; padding-left: 6px; }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact svg { width: 20px; height: 20px; color: var(--red-hi); flex: none; margin-top: 4px; }
.footer__contact a { overflow-wrap: anywhere; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); color: #fff; transition: background .3s, transform .3s var(--ease); }
.social a:hover { background: var(--red); transform: translateY(-4px) rotate(-8deg); }
.social svg { width: 20px; height: 20px; }
.footer__base { margin-top: 56px; border-top: 1px solid var(--ink-3); padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0,0,0,.45);
  transition: transform .3s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: wapulse 2.4s ease-out infinite; }
@keyframes wapulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 34px; height: 34px; }
.wa-float__tip {
  position: absolute; right: 74px; top: 50%; transform: translateY(-50%) translateX(8px); white-space: nowrap;
  background: var(--ink); color: #fff; font-size: .85rem; font-weight: 600; padding: 8px 14px; border-radius: 4px;
  opacity: 0; pointer-events: none; transition: .3s var(--ease);
}
.wa-float:hover .wa-float__tip { opacity: 1; transform: translateY(-50%); }

.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.stack { display: grid; gap: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-in] { opacity: 1; transform: none; }
  .is-pre { opacity: 1; transform: none; }
}

/* ---------- multi-project before/after + project story ---------- */
.ba-tabs { margin-bottom: 18px; }
.section--ink .ba-tabs .chip { background: transparent; color: var(--on-ink); border-color: var(--ink-3); }
.section--ink .ba-tabs .chip:hover { border-color: var(--on-ink-muted); }
.section--ink .ba-tabs .chip.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.ba img { transition: opacity .35s ease; }
.ba.is-swapping img { opacity: 0; }
.story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; }
.story__item { margin: 0; display: grid; gap: 12px; align-content: start; }
.story__img { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--ink-3); }
.story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.story__item:hover .story__img img { transform: scale(1.06); }
.story__tag { position: absolute; left: 12px; top: 12px; padding: 6px 12px; background: rgba(22,20,18,.85); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.story__tag.is-after { background: var(--red); }
.story figcaption { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } }

/* keep hero credentials clear of the overlapping pillar cards */
@media (min-width: 861px) {
  .hero__content { padding-bottom: calc(clamp(40px, 7vh, 80px) + 80px); }
  .hero__scroll { bottom: calc(clamp(40px, 7vh, 80px) + 80px); }
}

/* ---------- hero video ---------- */
.hero__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__pause {
  position: absolute; right: var(--gutter); bottom: calc(clamp(40px, 7vh, 80px) + 140px); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(22,20,18,.55); color: #fff; border: 1.5px solid rgba(255,255,255,.5);
  backdrop-filter: blur(4px); transition: background .25s, transform .25s var(--ease);
}
.hero__pause:hover { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.hero__pause svg { width: 18px; height: 18px; }
.hero__pause .i-play { display: none; }
.hero__pause.is-paused .i-play { display: block; }
.hero__pause.is-paused .i-pause { display: none; }
@media (max-width: 860px) { .hero__pause { top: calc(92px + env(safe-area-inset-top, 0px)); bottom: auto; } }

/* ---------- project videos ---------- */
.vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.vid { margin: 0; display: grid; gap: 12px; align-content: start; }
.vid__frame { position: relative; aspect-ratio: 16 / 9; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); box-shadow: 0 24px 40px -28px rgba(22,20,18,.6); }
.vid__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--ink-3); }
.vid figcaption { display: grid; gap: 4px; min-width: 0; }
.vid figcaption b { font-family: var(--display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .02em; }
.vid figcaption span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .vids { grid-template-columns: 1fr; max-width: 640px; } }

/* ---------- two-up pillars ---------- */
.pillars--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .pillars--2 { grid-template-columns: 1fr; } }

/* ---------- compliance partners (footer) ---------- */
.partners { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--ink-3); }
.partners h4 { color: #fff; font-size: 1.3rem; letter-spacing: .06em; margin-bottom: 18px; }
.partners__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.partner { display: grid; gap: 6px; align-content: start; padding: 20px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); transition: border-color .3s, transform .3s var(--ease); min-width: 0; }
.partner:hover { border-color: var(--red); transform: translateY(-3px); }
.partner__role { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red-hi); }
.partner strong { color: #fff; font-size: 1.05rem; }
.partner a { display: flex; align-items: center; gap: 10px; text-decoration: none; overflow-wrap: anywhere; font-size: .95rem; }
.partner a:hover { color: #fff; }
.partner svg { width: 18px; height: 18px; color: var(--red-hi); flex: none; }
@media (max-width: 860px) { .partners__grid { grid-template-columns: 1fr; } }
