:root {
  --ink: #1c1c1e;
  --charcoal: #2b2b2e;
  --gold: #c2a15e;
  --gold-d: #a5843f;
  --gold-text: #71551f;
  --gold-aa: #806326;
  --gold-aa-hover: #6f5421;
  --gold-overlay: rgba(112, 83, 30, .93);
  --paper: #ffffff;
  --wash: #f4f3f1;
  --line: #e4e1db;
  --muted: #5d5b57;
  --success: #255e39;
  --error: #9e231d;
  --shadow: 0 18px 50px rgba(28, 28, 30, .11);
  --radius: 22px;
  --content: 1180px;
  --header-h: 92px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--gold-text); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #745718; outline-offset: 4px; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 999;
  left: 1rem;
  top: -5rem;
  background: var(--paper);
  color: var(--ink);
  padding: .75rem 1rem;
  border-radius: .5rem;
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }
.container { width: min(var(--content), calc(100% - 2.5rem)); margin-inline: auto; }
.narrow { width: min(800px, calc(100% - 2.5rem)); margin-inline: auto; }
.lede { color: var(--muted); font-size: 1.08rem; max-width: 760px; }
.declarative { font-size: clamp(1.05rem, 2vw, 1.22rem); }
.eyebrow {
  margin: 0 0 .65rem;
  color: var(--gold-text);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kicker { color: var(--gold); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.promo {
  position: relative;
  z-index: 90;
  min-height: 38px;
  padding: .45rem 3.5rem .45rem 1rem;
  background: var(--gold-aa);
  color: var(--paper);
  text-align: center;
  font-size: .86rem;
  font-weight: 800;
}
.promo button {
  position: absolute;
  right: .5rem;
  top: 50%;
  translate: 0 -50%;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 1.25rem;
}

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  color: var(--paper);
  background: rgba(28, 28, 30, .97);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
}
.nav-wrap {
  /* must match .container so the header lines up with the page content below it */
  width: min(var(--content), calc(100% - 2.5rem));
  min-height: var(--header-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { color: var(--paper); text-decoration: none; display: flex; align-items: center; gap: .75rem; }
.brand-mark {
  display: none; /* interim: hide old "B" mark until Ben's ULS logo vector lands; wordmark carries the header */
  position: relative;
  width: 44px;
  height: 52px;
  flex: 0 0 auto;
  background: var(--paper);
  -webkit-mask: url('img/logo-mark.png') center / contain no-repeat;
  mask: url('img/logo-mark.png') center / contain no-repeat;
}
.brand-copy { display: grid; line-height: 1.02; font-weight: 900; letter-spacing: .02em; }
.brand-copy small { margin-top: .35rem; color: #d9d6d0; font-size: .58rem; letter-spacing: .17em; }
.nav-toggle {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: transparent;
  color: white;
  font-size: 1.25rem;
}
.main-nav {
  display: none;
  /* anchored to the header itself, not the viewport, so the promo bar cannot
     push the header down underneath the open panel and bury the close button */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 1.2rem;
  background: var(--ink);
}
.main-nav.open { display: grid; align-content: start; }
.main-nav a {
  min-height: 48px;
  padding: .75rem .85rem;
  color: white;
  text-decoration: none;
  font-weight: 750;
}
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a[aria-current="page"] { color: #ead7ae; }
/* underline hugs the label itself. an inset box-shadow spans the anchor's
   padding too, which drew a rule ~56% wider than the word and read as off-centre */
.main-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.phone-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 999px;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .72rem 1.35rem;
  border: 2px solid var(--gold-aa);
  border-radius: 999px;
  background: var(--gold-aa);
  color: white;
  text-decoration: none;
  font-weight: 850;
  line-height: 1.2;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { background: var(--gold-aa-hover); border-color: var(--gold-aa-hover); transform: translateY(-1px); }
.button.light { color: var(--ink); background: white; border-color: white; }
.button.light:hover { background: var(--wash); border-color: var(--wash); }
.button.outline { color: var(--gold-text); background: transparent; border-color: var(--gold-d); }
.button.outline:hover { color: white; background: var(--gold-aa); border-color: var(--gold-aa); }
.button.dark { color: white; background: var(--ink); border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(14, 14, 16, .97) 0%, rgba(14, 14, 16, .84) 42%, rgba(14, 14, 16, .24) 78%, rgba(14, 14, 16, .05) 100%),
    var(--hero-image, url('img/job-hero.jpg') 62% center / cover no-repeat);
}
.hero-inner { padding: 6rem 0 7rem; max-width: 690px; }
.hero h1 {
  margin: .2rem 0 1.25rem;
  max-width: 760px;
  font-size: clamp(2.8rem, 7.4vw, 5.75rem);
  line-height: .96;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.hero .declarative { max-width: 660px; color: #f3f1ed; }
.proof-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2rem; }
.proof {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .48rem .78rem;
  border: 1px solid rgba(255, 255, 255, .27);
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  backdrop-filter: blur(8px);
  font-size: .82rem;
  font-weight: 800;
}
.stars { color: #f0cf86; letter-spacing: .06em; }

.section { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.section.wash { background: var(--wash); }
.section.dark { color: white; background: var(--ink); }
.section-head { max-width: 820px; margin: 0 auto 3rem; text-align: center; }
.section-title {
  margin: 0;
  font-size: clamp(1.9rem, 4.4vw, 3.3rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 1rem auto 0;
  background: var(--gold);
}
.section-head .lede { margin: 1.3rem auto 0; }
.dark .section-title::after, .gold-band .section-title::after { background: white; }

.welcome-grid { display: grid; gap: 3rem; align-items: center; }
.welcome-copy h2 { margin: 0 0 1.1rem; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.04em; }
.monogram-photo {
  width: min(100%, 500px);
  aspect-ratio: 570 / 582;
  justify-self: center;
  background: url('img/uls-logo.svg') center / contain no-repeat;
  border-radius: 22px;
}
.cable-rule { height: 3px; width: 150px; margin-top: 2.2rem; background: linear-gradient(90deg, var(--gold), transparent); }

.work-list { display: grid; gap: clamp(4rem, 8vw, 7rem); }
.work-row { display: grid; gap: 2rem; align-items: center; }
.work-copy h3 { margin: 0 0 .9rem; font-size: clamp(1.45rem, 3vw, 2.1rem); text-transform: uppercase; letter-spacing: -.02em; }
.work-media { position: relative; }
.work-media img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gold-band { padding: 4rem 0; color: white; background: var(--gold-aa); text-align: center; }
.gold-band .section-title { font-size: clamp(1.65rem, 3vw, 2.6rem); }
.gold-band p { max-width: 900px; margin: 1.5rem auto 0; font-size: 1.08rem; }

.service-grid, .review-grid, .project-grid, .footer-grid, .blog-grid, .facts-grid { display: grid; gap: 1.35rem; }
.service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: .75rem .75rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
  text-align: center;
}
.service-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 15px; }
.service-card h3 { margin: 1.25rem .5rem .55rem; color: var(--gold-text); font-size: 1.1rem; text-transform: uppercase; line-height: 1.25; }
.service-card h3::after { content: ""; display: block; width: 54px; height: 2px; margin: .75rem auto 0; background: var(--gold); }
.service-card p { margin: .2rem .75rem 1rem; color: var(--muted); font-size: .94rem; }
.service-card .text-link { margin-top: auto; }
.text-link { color: var(--gold-text); font-size: .82rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.projects-band {
  position: relative;
  isolation: isolate;
  background: var(--wash);
}
.projects-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 28% 0 0;
  background: url('img/blueprint.svg') center bottom / cover no-repeat;
  opacity: .34;
}
.project-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.project-card img { width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; }
.project-card-body { padding: 1.3rem 1.4rem 1.55rem; }
.project-card h3 { margin: 0 0 .35rem; font-size: 1.25rem; }
.project-card p { margin: 0; color: var(--muted); }

.gallery-shell { position: relative; }
.gallery-viewport { overflow: hidden; }
.gallery-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { min-width: min(78vw, 340px); scroll-snap-align: start; }
.gallery-slide button { width: 100%; padding: 0; border: 0; background: transparent; border-radius: 16px; overflow: hidden; }
.gallery-slide img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.gallery-controls { display: flex; justify-content: center; gap: .7rem; margin-top: 1.5rem; }
.round-button { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); font-size: 1.3rem; }
.round-button:hover { color: white; background: var(--gold-aa); border-color: var(--gold-aa); }
.lightbox { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; padding: 2rem; background: rgba(12, 12, 13, .93); }
.lightbox img { max-height: 82vh; max-width: min(1100px, 92vw); }
.lightbox-close { position: fixed; right: 1rem; top: 1rem; width: 52px; height: 52px; border: 1px solid white; border-radius: 50%; background: var(--ink); color: white; font-size: 1.6rem; }

.contact-band {
  color: white;
  background:
    linear-gradient(var(--gold-overlay), var(--gold-overlay)),
    url('img/rack-finished.jpg') center / cover fixed;
}
.contact-band .section-title { color: white; }
.contact-layout { display: grid; gap: 2.25rem; align-items: start; }
.contact-panel { padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: var(--radius); background: rgba(28, 28, 30, .9); }
.contact-panel h2, .contact-panel h3 { margin-top: 0; }
.contact-panel a { color: white; font-weight: 850; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.contact-list li { margin: 1.1rem 0; }
.contact-label { display: block; color: #e9d9b8; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 850; }
.offer-note { padding: 1rem; border-left: 3px solid var(--gold); background: rgba(255, 255, 255, .09); }

.quote-card { padding: clamp(1.3rem, 3vw, 2.5rem); color: var(--ink); background: rgba(255, 255, 255, .97); border-radius: var(--radius); box-shadow: var(--shadow); }
.quote-card h2 { margin-top: 0; }
.form-grid { display: grid; gap: 1rem; }
.field label, .fieldset legend { display: block; margin-bottom: .35rem; color: var(--ink); font-size: .9rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 49px;
  padding: .7rem .8rem;
  border: 1px solid #817e78;
  border-radius: 8px;
  color: var(--ink);
  background: white;
}
.field textarea { min-height: 135px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #71551f; outline: 3px solid #e2cfa7; }
.fieldset { margin: 1.25rem 0 0; padding: 0; border: 0; }
.choices { display: grid; gap: .55rem; }
.choice { display: flex; align-items: flex-start; gap: .55rem; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 8px; background: var(--wash); }
.choice input { width: 20px; height: 20px; margin: .12rem 0 0; accent-color: var(--gold-text); }
.required, .error { color: var(--error); }
.error { display: block; margin-top: .35rem; font-size: .86rem; font-weight: 800; }
.form-note { margin: 1.1rem 0; padding: .9rem 1rem; border-left: 4px solid var(--gold-d); background: #f6f0e5; color: #4c3a18; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.success { padding: 1.5rem; border: 1px solid #75a583; border-radius: 12px; background: #edf7f0; color: #174126; }

.page-hero {
  position: relative;
  min-height: 410px;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(20, 20, 22, .97), rgba(20, 20, 22, .73) 65%, rgba(20, 20, 22, .34)),
    url('img/rack-termination.jpg') center / cover;
}
.page-hero-inner { max-width: 850px; padding: 5rem 0; }
.page-hero h1 { margin: .15rem 0 1rem; font-size: clamp(2.45rem, 6.5vw, 4.8rem); line-height: 1; letter-spacing: -.045em; text-transform: uppercase; }
.page-hero .declarative { color: #f2f0eb; max-width: 780px; }
.breadcrumbs { margin: 0 0 1rem; color: #e1ddd5; font-size: .85rem; }
.breadcrumbs a { color: white; }

.content-grid { display: grid; gap: 2.5rem; align-items: start; }
.content h2 { margin-top: 2.5rem; font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1.16; }
.content h2:first-child { margin-top: 0; }
.content h3 { margin-top: 1.6rem; }
.content ul { padding-left: 1.2rem; }
.content li { margin-block: .45rem; }
.sidebar-card { padding: 1.35rem; border: 1px solid var(--line); border-radius: 16px; background: var(--wash); }
.sidebar-card h2, .sidebar-card h3 { margin-top: 0; }
.check-list { padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.5rem; margin: .55rem 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-text); font-weight: 900; }
.service-groups { display: grid; gap: 1.4rem; }
.group-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: white; }
.group-card h2 { margin-top: 0; }
.group-card ul { columns: 1; padding-left: 1.2rem; }
.faq-list { display: grid; gap: .8rem; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: white; }
.faq-item summary { padding: 1rem 3rem 1rem 1rem; cursor: pointer; list-style: none; font-weight: 850; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1rem; top: .72rem; color: var(--gold-text); font-size: 1.5rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 1rem 1rem; color: var(--muted); }
.faq-answer p { margin: 0; }

.review-card { padding: 1.5rem; border-top: 3px solid var(--gold); border-radius: 0 0 16px 16px; background: white; box-shadow: var(--shadow); }
.review-card blockquote { margin: 0; }
.review-card footer { margin-top: 1rem; color: var(--gold-text); font-weight: 850; }
.badge-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem; margin-top: 2rem; }
.badge-row img { max-height: 86px; width: auto; }
.rating-badge { display: inline-flex; flex-direction: column; align-items: center; gap: .3rem; padding: 1.4rem 2.2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.badge-row a { text-decoration: none; color: var(--ink); }
.badge-row a:hover .rating-badge { border-color: var(--gold-d); }
.rating-badge-score { font-size: 2.6rem; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.rating-badge-stars { color: var(--gold-d); font-size: 1.05rem; letter-spacing: .18em; }
.rating-badge-label { font-size: .95rem; color: var(--muted); }
.rating-badge-cta { font-size: .9rem; font-weight: 600; color: var(--gold-text); }
.case-study { display: grid; gap: 2rem; align-items: center; margin-bottom: clamp(4rem, 8vw, 7rem); }
.case-study:last-child { margin-bottom: 0; }
.case-study img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.case-study h2 { margin: .4rem 0 .75rem; font-size: clamp(1.6rem, 3vw, 2.6rem); }
.case-label { color: var(--gold-text); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 900; }
.city-list { columns: 2; padding-left: 1.1rem; }
.facts-grid { margin-top: 2rem; }
.fact { padding: 1.25rem; border-left: 3px solid var(--gold); background: var(--wash); }
.fact strong { display: block; font-size: 1.2rem; }
.post-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.post-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { padding: 1.5rem; }
.post-card h2 { margin: .4rem 0 .75rem; line-height: 1.18; }
.post-meta { color: var(--muted); font-size: .84rem; }
.article { max-width: 780px; }
.article > p:first-of-type { font-size: 1.18rem; }
.article h2 { margin-top: 2.6rem; line-height: 1.2; }

.site-footer { padding: 4rem 0 6rem; color: #dedbd5; background: var(--charcoal); }
.footer-brand { color: white; font-size: 1.45rem; font-weight: 900; text-transform: uppercase; }
.footer-brand::before {
  content: "";
  width: 62px;
  height: 74px;
  display: block;
  margin-bottom: .8rem;
  background: white;
  -webkit-mask: url('img/logo-mark.png') center / contain no-repeat;
  mask: url('img/logo-mark.png') center / contain no-repeat;
}
.site-footer h2, .site-footer h3 { color: white; text-transform: uppercase; font-size: 1rem; letter-spacing: .08em; }
.site-footer h3::after { content: ""; display: block; width: 44px; height: 2px; margin-top: .55rem; background: var(--gold); }
.site-footer a { color: white; }
.footer-links { display: grid; gap: .4rem; }
.social-row { display: flex; gap: .55rem; margin-top: 1.2rem; }
.social-link { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #797875; border-radius: 50%; text-decoration: none; background: white; }
.social-link:hover { border-color: var(--gold); }
.social-link svg { width: 20px; height: 20px; display: block; }
.legal { margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid #666568; font-size: .85rem; }
.mobile-bar { position: fixed; z-index: 100; inset: auto 0 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: .5rem; padding: .5rem; background: white; border-top: 1px solid var(--line); }
.mobile-bar .button { min-height: 50px; padding: .55rem .65rem; font-size: .88rem; }

@media (min-width: 620px) {
  .form-grid.two, .choices, .facts-grid { grid-template-columns: 1fr 1fr; }
  .service-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .group-card ul { columns: 2; }
  .city-list { columns: 3; }
}

@media (min-width: 800px) {
  .welcome-grid { grid-template-columns: 1fr .9fr; }
  .welcome-copy { padding-right: 2rem; }
  .work-row { grid-template-columns: 1fr 1fr; }
  .work-row:nth-child(even) .work-media { order: -1; }
  .work-row:nth-child(odd) .work-copy { padding-right: 2rem; }
  .work-row:nth-child(even) .work-copy { padding-left: 2rem; }
  .contact-layout { grid-template-columns: .72fr 1.55fr; }
  .content-grid { grid-template-columns: minmax(0, 1.55fr) minmax(250px, .65fr); }
  .sidebar-card { position: sticky; top: 105px; }
  .case-study { grid-template-columns: 1fr 1fr; }
  
  .footer-grid { grid-template-columns: 1.25fr .75fr 1fr 1fr; }
}

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .main-nav { display: flex; position: static; max-height: none; overflow: visible; padding: 0; align-items: center; gap: .15rem; background: transparent; }
  .main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .65rem .7rem; font-size: .88rem; }
  .phone-pill { margin-left: .6rem; padding-inline: 1rem !important; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .mobile-bar { display: none; }
  .site-footer { padding-bottom: 4rem; }
}

@media (max-width: 619px) {
  .container, .narrow { width: min(100% - 1.5rem, var(--content)); }
  .brand-copy { font-size: .82rem; }
  .brand-copy small { display: none; }
  .hero { min-height: 690px; background-position: 69% center; }
  .hero-inner { padding-block: 5rem; }
  .contact-band { background-attachment: scroll; }
  .site-footer { padding-bottom: 6.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .contact-band { background-attachment: scroll; }
}

/* --- Scripted lead-capture chat widget --- */
.bc-chat-fab{position:fixed;right:20px;bottom:24px;z-index:130;width:60px;height:60px;border-radius:50%;border:none;background:var(--gold);color:#1c1c1e;box-shadow:var(--shadow);cursor:pointer;display:grid;place-items:center;transition:transform .18s ease}
.bc-chat-fab:hover{transform:translateY(-2px)}
.bc-chat-fab svg{width:27px;height:27px}
.bc-chat-fab .bc-close-ico{font-size:1.6rem;line-height:1;display:none}
.bc-chat-fab.open .bc-open-ico{display:none}
.bc-chat-fab.open .bc-close-ico{display:block}
.bc-chat-teaser{position:fixed;right:90px;bottom:32px;z-index:129;max-width:210px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:10px 13px;box-shadow:var(--shadow);font-size:.88rem;font-weight:650;cursor:pointer;text-align:left}
.bc-chat-teaser[hidden]{display:none}
.bc-chat-panel{position:fixed;right:20px;bottom:96px;z-index:130;width:min(372px,calc(100vw - 40px));max-height:min(76vh,600px);display:flex;flex-direction:column;background:var(--paper);border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}
.bc-chat-panel[hidden]{display:none}
.bc-chat-head{background:var(--charcoal);color:#fff;padding:13px 15px;display:flex;align-items:center;gap:10px}
.bc-chat-head .bc-avatar{width:38px;height:38px;border-radius:50%;background:var(--gold);color:#1c1c1e;display:grid;place-items:center;font-weight:800;flex:none}
.bc-chat-head b{display:block;font-size:.97rem;line-height:1.2}
.bc-chat-head small{color:#cfcdc7;font-size:.75rem}
.bc-chat-head .bc-x{margin-left:auto;background:transparent;border:none;color:#fff;font-size:1.4rem;cursor:pointer;width:34px;height:34px;border-radius:8px}
.bc-chat-head .bc-x:hover{background:rgba(255,255,255,.14)}
.bc-chat-log{flex:1;overflow-y:auto;padding:15px;display:flex;flex-direction:column;gap:9px;background:var(--wash)}
.bc-msg{max-width:82%;padding:10px 13px;border-radius:14px;font-size:.92rem;line-height:1.45}
.bc-msg.bot{align-self:flex-start;background:#fff;color:var(--ink);border:1px solid var(--line);border-bottom-left-radius:4px}
.bc-msg.user{align-self:flex-end;background:var(--gold-aa);color:#fff;border-bottom-right-radius:4px}
.bc-typing{align-self:flex-start;display:flex;gap:4px;padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:14px}
.bc-typing span{width:6px;height:6px;border-radius:50%;background:var(--muted);animation:bc-blink 1s infinite}
.bc-typing span:nth-child(2){animation-delay:.2s}.bc-typing span:nth-child(3){animation-delay:.4s}
@keyframes bc-blink{0%,60%,100%{opacity:.25}30%{opacity:1}}
.bc-chat-foot{border-top:1px solid var(--line);padding:11px 12px;background:#fff}
.bc-chips{display:flex;flex-wrap:wrap;gap:7px}
.bc-chip{border:1.5px solid var(--gold-d);background:#fff;color:var(--gold-text);font-weight:700;font-size:.85rem;padding:8px 13px;border-radius:20px;cursor:pointer;line-height:1.2}
.bc-chip:hover,.bc-chip:focus-visible{background:var(--gold);color:#1c1c1e;border-color:var(--gold)}
.bc-input-row{display:flex;gap:8px}
.bc-input-row input{flex:1;min-height:44px;border:1px solid #aeb4ab;border-radius:10px;padding:8px 12px;font:inherit}
.bc-input-row input:focus{outline:3px solid #ecdcae;border-color:var(--gold-d)}
.bc-send{flex:none;min-width:46px;border:none;border-radius:10px;background:var(--gold-aa);color:#fff;font-weight:800;font-size:1.1rem;cursor:pointer}
.bc-send:hover{background:var(--gold-aa-hover)}
.bc-skip{display:inline-block;background:transparent;border:none;color:var(--muted);font-size:.82rem;text-decoration:underline;cursor:pointer;margin-top:8px}
@media(max-width:849px){.bc-chat-fab{bottom:84px}.bc-chat-teaser{bottom:94px;right:80px}.bc-chat-panel{bottom:84px;right:12px;left:12px;width:auto;max-height:70vh}}
@media(prefers-reduced-motion:reduce){.bc-chat-fab{transition:none}.bc-typing span{animation:none;opacity:.5}}
.bc-msg .bc-link{color:#1f2430;font-weight:700;text-decoration:underline;text-decoration-color:var(--gold,#c89b3c);text-underline-offset:2px}

.brand-logo{height:42px;width:auto;display:block}
@media (max-width:600px){.brand-logo{height:34px}}
.brand-mark-img{height:44px;width:auto;display:block}
@media (max-width:600px){.brand-mark-img{height:36px}}

/* ===== ULS new-logo brand theme (navy default; ?theme=light flips to light header) ===== */
:root{
  --nav-bg:#0a2e5d; --nav-fg:#ffffff; --nav-accent:#e7c887; --nav-border:rgba(255,255,255,.16);
  --pill-bg:transparent; --pill-fg:#ffffff; --pill-border:rgba(255,255,255,.72);
  --foot-bg:#0a2e5d; --navy:#0a2e5d;
}
:root[data-theme="light"]{
  --nav-bg:#ffffff; --nav-fg:#0a2e5d; --nav-accent:#a5843f; --nav-border:#e6e4df;
  --pill-bg:#0a2e5d; --pill-fg:#ffffff; --pill-border:#0a2e5d;
}
.site-header{ background:var(--nav-bg); color:var(--nav-fg); border-bottom:1px solid var(--nav-border); -webkit-backdrop-filter:none; backdrop-filter:none; }
.brand{ color:var(--nav-fg); }
.brand-lockup{ height:66px; width:auto; display:block; }
@media (max-width:600px){ :root{ --header-h:74px; } .brand-lockup{ height:50px; } }
.brand .for-light{ display:none; }
:root[data-theme="light"] .brand .for-dark{ display:none; }
:root[data-theme="light"] .brand .for-light{ display:block; }
.nav-toggle{ color:var(--nav-fg); border-color:var(--nav-border); }
.main-nav{ background:var(--nav-bg); }
.main-nav a{ color:var(--nav-fg); }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a[aria-current="page"]{ color:var(--nav-accent); }
.main-nav a[aria-current="page"]{ text-decoration-color:var(--nav-accent); }
.main-nav a.phone-pill{ background:var(--pill-bg); color:var(--pill-fg); border:1.5px solid var(--pill-border); }
/* footer + accent sections -> brand navy (gold-band stays gold) */
.site-footer{ background:var(--foot-bg); }
.footer-logo{ height:54px; width:auto; display:block; margin-bottom:1.05rem; }
.contact-panel{ background:rgba(10,46,93,.92); }
.contact-band{ background:linear-gradient(rgba(10,46,93,.90),rgba(10,46,93,.90)), url('img/rack-finished.jpg') center / cover fixed; }

/* ===== Photo fans =====
   Three photos dealt out on an arc like a hand of cards. Every photo in the set
   stays in the DOM so the viewer can step through the rest (see FAN_CARDS in
   site.js). The compact variant sits inside a case-study column. */
.photo-fan { position: relative; height: 430px; margin: 2.5rem 0 0; opacity: 0; transition: opacity .4s ease; }
.photo-fan.ready { opacity: 1; }
.photo-fan.fan-compact { height: 320px; margin: 0; }
.fan-card {
  position: absolute; left: 50%; top: 50%; width: 268px; height: 340px;
  transform: translate(-50%, -50%) translateX(var(--x, 0)) translateY(var(--y, 0)) rotate(var(--rot, 0deg));
  transition: transform .42s cubic-bezier(.2, .7, .3, 1);
}
.fan-compact .fan-card { width: 202px; height: 256px; }
.fan-card button {
  display: block; width: 100%; height: 100%; padding: 8px; border: 0; line-height: 0;
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 16px 38px rgba(10, 24, 46, .28), 0 2px 6px rgba(10, 24, 46, .16);
}
.fan-compact .fan-card button { padding: 6px; }
.fan-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.fan-card:hover, .fan-card:focus-within {
  z-index: 30 !important;
  transform: translate(-50%, -50%) translateX(var(--x, 0)) translateY(calc(var(--y, 0px) - 30px)) rotate(var(--rot, 0deg)) scale(1.07);
}
.fan-card:hover button, .fan-card:focus-within button { box-shadow: 0 26px 54px rgba(10, 24, 46, .38); }
.fan-more { display: block; margin: 1.1rem auto 0; }
.fan-compact + .fan-more { margin-top: .2rem; }
@media (max-width: 559px) {
  .photo-fan { height: 300px; margin-top: 1.75rem; }
  .photo-fan.fan-compact { height: 262px; }
  .fan-card { width: 186px; height: 236px; }
  .fan-compact .fan-card { width: 162px; height: 206px; }
  .fan-card button { padding: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-fan, .fan-card { transition: none; }
  .fan-card:hover, .fan-card:focus-within { transform: translate(-50%, -50%) translateX(var(--x, 0)) translateY(var(--y, 0)) rotate(var(--rot, 0deg)); }
}

/* The case-study photo is a fan card now, so the even-row order swap has to
   target the fan wrapper that sits in the grid. */
@media (min-width: 800px) { .case-study:nth-child(even) > .photo-fan { order: 2; } }

/* ===== Lightbox: stepping through a set ===== */
.lightbox-figure { margin: 0; display: grid; justify-items: center; gap: .75rem; }
.lightbox-caption { margin: 0; max-width: min(1100px, 92vw); color: #e8e6e1; font-size: .88rem; text-align: center; }
.lightbox-count { position: fixed; left: 50%; bottom: 1.15rem; transform: translateX(-50%); margin: 0; color: #e8e6e1; font-size: .85rem; letter-spacing: .04em; }
.lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(12,12,13,.6); color: #fff; font-size: 1.5rem; }
.lightbox-nav:hover { background: var(--navy); border-color: #fff; }
.lightbox-nav.prev { left: 1rem; }
.lightbox-nav.next { right: 1rem; }
.lightbox.single .lightbox-nav, .lightbox.single .lightbox-count { display: none; }
@media (max-width: 640px) {
  .lightbox { padding: 1rem; }
  .lightbox-nav { width: 46px; height: 46px; top: auto; bottom: 3.4rem; transform: none; }
  .lightbox-nav.prev { left: .75rem; }
  .lightbox-nav.next { right: .75rem; }
  .lightbox-caption { display: none; }
}

/* ===== Google review pill (replaces the unlabelled icon) ===== */
.review-pill { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem .9rem .5rem .6rem; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }
.review-pill:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.5); }
.review-pill .review-g { flex: none; width: 30px; height: 30px; display: grid; place-items: center; background: #fff; border-radius: 50%; }
.review-pill .review-g svg { width: 17px; height: 17px; display: block; }
.review-pill .review-meta b { display: block; font-size: .92rem; line-height: 1.15; }
.review-pill .review-meta small { display: block; color: #cfd8e6; font-size: .76rem; }

/* ===== Navy chat widget + navy phone numbers ===== */
.bc-chat-fab { background: var(--navy); color: #fff; }
.bc-chat-fab svg { fill: currentColor; }
.bc-chat-head { background: var(--navy); }
.bc-chat-head .bc-avatar { background: #fff; color: var(--navy); }
.bc-chat-head small { color: #c3d0e2; }
.bc-msg.user { background: var(--navy); }
.bc-chip { border-color: var(--navy); color: var(--navy); }
.bc-chip:hover, .bc-chip:focus-visible { background: var(--navy); color: #fff; border-color: var(--navy); }
.bc-input-row input:focus { outline-color: #b9cae4; border-color: var(--navy); }
.bc-send { background: var(--navy); }
.bc-send:hover { background: #071f3f; }
.bc-msg .bc-link { text-decoration-color: var(--navy); }
.site-footer a[href^="tel:"], .site-footer a[href^="mailto:"] { color: #fff; text-decoration-color: rgba(255,255,255,.6); }
.mobile-bar .button.dark { background: var(--navy); border-color: var(--navy); }
