/* DLRS Cleaning. Light theme only: the logo is drawn for a white ground. */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #0c2a3e;
  --navy: #14588a;
  --green: #86bd40;
  --green-ink: #44700f;
  --paper: #f3f6f4;
  --white: #fdfefd;
  --tint: #e6eee4;
  --line: #cfd9d3;
  --mute: #485a66;
  --error: #a3261d;
  --r: 4px;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  /* z scale: 10 header, 20 mobile bar, 30 dialog */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Archivo", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 40; background: var(--white); padding: 10px 14px; }

h1, h2, .wide {
  font-stretch: 122%;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 4.1vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.9rem); }
h3 { font-stretch: 112%; font-weight: 700; font-size: 1.2rem; line-height: 1.2; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.06rem, 1.35vw, 1.22rem); color: var(--mute); max-width: 56ch; }
.sec { padding: clamp(64px, 9vw, 128px) 0; }
.sec-head { max-width: 780px; margin-bottom: clamp(32px, 5vw, 64px); }
.sec-head p { margin-top: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border: 2px solid var(--ink); border-radius: var(--r);
  background: transparent; color: var(--ink);
  font: inherit; font-weight: 700; font-stretch: 108%; font-size: 1rem;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--ink); color: var(--white); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-go { background: var(--green); border-color: var(--green); color: var(--ink); }
.btn-go:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }

/* Header */
.head { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-weight: 600; font-size: 0.97rem; text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; transition: border-color 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--green); }
.head-tel { font-weight: 700; font-stretch: 108%; text-decoration: none; white-space: nowrap; }
.head-tel:hover { color: var(--navy); }
.menu-btn { display: none; margin-left: auto; background: none; border: 2px solid var(--ink); border-radius: var(--r); font: inherit; font-weight: 700; padding: 8px 14px; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { padding: clamp(32px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); }
.hero-in { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-pics { position: relative; padding-bottom: 56px; }
.hero-main { aspect-ratio: 5 / 5.4; width: 100%; object-fit: cover; border-radius: var(--r); }
.hero-inset {
  position: absolute; left: -9%; bottom: 0; width: 38%;
  aspect-ratio: 316 / 410; object-fit: cover;
  border-radius: var(--r); border: 8px solid var(--paper);
}
.hero-pics figcaption { position: absolute; right: 0; bottom: 14px; width: 54%; font-size: 0.9rem; color: var(--mute); line-height: 1.4; }

/* Who we clean for */
.who { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.who ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.who li { padding: 30px 28px 32px 0; }
.who li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.who p { margin-top: 8px; font-size: 0.97rem; color: var(--mute); line-height: 1.5; }

/* Post-construction phases */
.phase { display: grid; grid-template-columns: 0.9fr 1.3fr 190px; gap: clamp(24px, 4vw, 64px); align-items: start; padding: clamp(28px, 4vw, 48px) 0; border-top: 2px solid var(--ink); }
.phase-name { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.phase-when { margin-top: 10px; font-weight: 600; color: var(--green-ink); }
.phase-body p { max-width: 58ch; }
.phase-body ul { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; font-size: 0.98rem; }
.phase-body li { padding-left: 18px; position: relative; }
.phase-body li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 9px; height: 2px; background: var(--green); }
.clip { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--ink); border-radius: var(--r); overflow: hidden; cursor: pointer; aspect-ratio: 4 / 5; font: inherit; color: #fff; text-align: left; }
.clip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), opacity 0.3s; opacity: 0.88; }
.clip:hover img { transform: scale(1.04); opacity: 1; }
.clip span { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--ink); font-weight: 700; font-size: 0.92rem; }
.clip span::before { content: ""; border-left: 11px solid var(--green); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.scope-note { margin-top: 28px; font-size: 0.95rem; color: var(--mute); }

/* Other services */
.svc { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.cell { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r); overflow: hidden; }
.cell img { width: 100%; height: 300px; object-fit: cover; }
.cell-txt { padding: 22px 24px 26px; }
.cell-txt p { margin-top: 8px; color: var(--mute); font-size: 0.98rem; line-height: 1.5; }
.c-multi { grid-column: span 8; }
.c-multi img { height: 400px; }
.c-win { grid-column: span 4; }
.c-win img { height: 400px; object-position: 50% 70%; }
.c-off { grid-column: span 5; }
.c-res { grid-column: span 4; }
.c-sol { grid-column: span 3; background: var(--ink); color: var(--white); justify-content: flex-end; }
.c-sol .cell-txt p { color: #c9d6dd; }
.c-sol .bar { height: 6px; width: 64px; background: var(--green); margin: 24px 24px 0; }

/* Work strip */
.work-rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 18px; scrollbar-color: var(--navy) transparent; }
.work-rail img { height: clamp(260px, 30vw, 390px); width: auto; flex: none; scroll-snap-align: center; border-radius: var(--r); }
.work-rail:focus-visible { outline-offset: -3px; }

/* Standards */
.std { background: var(--tint); }
.std blockquote { margin: 0; font-size: clamp(1.5rem, 3vw, 2.5rem); max-width: 22ch; }
.std-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.std dl { margin: 0; }
.std dt { font-weight: 700; font-stretch: 112%; font-size: 1.1rem; padding-top: 18px; border-top: 1px solid #b5c7b4; }
.std dd { margin: 6px 0 20px; color: var(--mute); }

/* Quote */
.quote-in { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.reach { margin-top: 36px; display: grid; gap: 4px; }
.reach a { display: block; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; }
.reach a:hover b { color: var(--navy); }
.reach small { display: block; font-size: 0.9rem; color: var(--mute); }
.reach b { font-stretch: 112%; font-size: 1.25rem; transition: color 0.2s; overflow-wrap: anywhere; }
.reach address { font-style: normal; padding: 16px 0; border-top: 1px solid var(--line); color: var(--mute); }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3.2vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.f { display: grid; gap: 7px; align-content: start; }
.f.full { grid-column: 1 / -1; }
.f label, .f legend { font-weight: 650; font-size: 0.95rem; padding: 0; }
.f label i, .f legend i { font-style: normal; font-weight: 400; color: var(--mute); }
.f input, .f select, .f textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid #8497a1; border-radius: var(--r);
}
.f textarea { min-height: 120px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.f .err { display: none; color: var(--error); font-size: 0.9rem; font-weight: 600; }
.f.bad input, .f.bad select, .f.bad textarea { border-color: var(--error); }
.f.bad .err { display: block; }
fieldset.f { border: 0; margin: 0; padding: 0; min-width: 0; }
.yn { display: flex; gap: 10px; }
.yn label { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border: 1.5px solid #8497a1; border-radius: var(--r); background: #fff; font-weight: 500; cursor: pointer; }
.yn input { width: 18px; min-height: 0; height: 18px; accent-color: var(--navy); }
.form-end { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.form-note { grid-column: 1 / -1; font-size: 0.92rem; color: var(--mute); }
.form-ok { grid-column: 1 / -1; display: none; padding: 14px 16px; background: var(--tint); border-left: 4px solid var(--green); font-weight: 600; }
.form-ok.on { display: block; }

/* Hiring row */
.hire { background: var(--white); border-top: 1px solid var(--line); }
.hire-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 44px; padding-bottom: 44px; }
.hire p { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }

/* Careers page */
.page-top { padding: clamp(40px, 6vw, 88px) 0 clamp(28px, 4vw, 48px); }
.page-top .lede { margin-top: 20px; }
.careers-in { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(64px, 9vw, 120px); }
.aside-pic img { border-radius: var(--r); width: 100%; }
.aside-pic p { margin-top: 14px; color: var(--mute); font-size: 0.97rem; }

/* Footer */
.foot { background: var(--ink); color: #dbe5ea; padding: 64px 0 110px; font-size: 0.98rem; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.foot .wide { color: #fff; font-size: 1.5rem; }
.foot h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--green); }
.foot li { padding: 4px 0; }
.foot address { font-style: normal; margin-top: 14px; line-height: 1.55; }
.fine { margin-top: 48px; padding-top: 22px; border-top: 1px solid #2c4a5e; font-size: 0.88rem; color: #a9bcc7; display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }

/* Mobile action bar */
.bar-m { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
.bar-m a { flex: 1; min-height: 48px; padding: 0 8px; font-size: 0.95rem; }

/* Video dialog */
dialog.player { z-index: 30; padding: 0; border: 0; border-radius: var(--r); background: #000; width: min(92vw, calc(82dvh * 9 / 16)); overflow: visible; }
dialog.player::backdrop { background: rgba(12, 42, 62, 0.86); }
dialog.player iframe { display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; }
dialog.player form { position: absolute; right: 0; top: -52px; }
dialog.player button { min-height: 44px; padding: 0 16px; background: #fff; color: var(--ink); border: 0; border-radius: var(--r); font: inherit; font-weight: 700; cursor: pointer; }

/* Entry motion: sections rise once as they enter, so the eye follows the page order. */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .hero-main { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease) 0.1s; }
  .js .hero-inset { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease) 0.55s, transform 0.7s var(--ease) 0.55s; }
  .js.ready .hero-main { clip-path: inset(0); }
  .js.ready .hero-inset { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .head-tel { display: none; }
  .phase { grid-template-columns: 1fr 150px; }
  .phase-name-col { grid-column: 1 / -1; }
  .c-multi, .c-win { grid-column: span 12; }
  .c-win img { height: 340px; object-position: 50% 40%; }
  .c-off, .c-res { grid-column: span 6; }
  .c-sol { grid-column: span 12; }
}
@media (max-width: 820px) {
  html { scroll-padding-top: 76px; }
  .menu-btn { display: block; }
  .head-in { height: 64px; gap: 12px; }
  .brand img { height: 40px; }
  .head .btn { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 6px var(--pad) 16px; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .hero-in, .std-in, .quote-in, .careers-in, .foot-in { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero-pics { padding-bottom: 0; }
  .hero-inset { position: relative; left: 0; width: 36%; margin-top: -24%; }
  .hero-pics figcaption { position: static; width: auto; margin-top: 12px; }
  .hero-main { aspect-ratio: 4 / 3.4; }
  .who ul { grid-template-columns: 1fr 1fr; }
  .who li, .who li + li { padding: 22px 16px 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .who li:nth-child(-n+2) { border-top: 0; }
  .who li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .phase { grid-template-columns: 1fr; }
  .clip { aspect-ratio: 16 / 10; max-width: 420px; }
  .clip img { object-position: 50% 35%; }
  .phase-body ul { grid-template-columns: 1fr; }
  .c-off, .c-res { grid-column: span 12; }
  .cell img, .c-multi img { height: 240px; }
  .form { grid-template-columns: 1fr; }
  .form-end .btn { flex: 1 1 100%; }
  .bar-m { display: flex; }
  .aside-pic { order: -1; max-width: 420px; }
  .aside-pic img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 62%; }
}
