@font-face {
  font-family: Archivo;
  src: url('/media/archivo.woff2') format('woff2');
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url('/media/ibm-plex-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --ink: #141b26;
  --navy: #101824;
  --navy-soft: #1a2534;
  --paper: #f6f3ec;
  --white: #fffcf6;
  --gold: #e7ba82;
  --muted: #55595d;
  --line: #d7d1c5;
  --wrap: min(92%, 1440px);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body, figure { margin: 0; }
a { color: inherit; text-underline-offset: .28em; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid #a86631; outline-offset: 5px; }
h1, h2, h3, p { margin: 0 0 1rem; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: Archivo, Arial, sans-serif; font-weight: 400; letter-spacing: -.027em; line-height: .92; }
h1 { font-size: clamp(3.9rem, 8vw, 9rem); }
h2 { font-size: clamp(3rem, 5.9vw, 6rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 2.1rem); line-height: 1.16; letter-spacing: -.05em; }
p { max-width: 62ch; }
.wrap { width: var(--wrap); margin-inline: auto; }
.kicker { font-weight: 800; text-transform: uppercase; letter-spacing: .145em; font-size: .875rem; margin-bottom: 1.25rem; }
.masthead, .hero, .footer { background: var(--navy); color: var(--white); }
.head { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 86px; border-bottom: 1px solid #38414d; }
.brand { display: inline-block; flex-shrink: 0; }
.brand img { width: clamp(96px, 10vw, 133px); height: auto; }
.desktop, .head-actions, .foot-links, .actions { display: flex; align-items: center; gap: clamp(.8rem, 2.2vw, 2.5rem); }
.desktop a, .mobile a { font-size: .9rem; font-weight: 700; text-decoration: none; }
.desktop a:hover, .mobile a:hover { color: var(--gold); }
.mobile { display: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 49px;
  padding: .75rem 1.3rem; color: var(--ink); background: var(--gold);
  border: 1px solid transparent; text-decoration: none; font-weight: 800; font-size: .9rem;
  cursor: pointer; text-align: center; transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: #f3d0a4; }
.btn.outline { background: transparent; border-color: #8a929c; color: inherit; }
.btn.outline:hover { border-color: var(--gold); color: var(--gold); }
.btn.dark { background: var(--navy); color: var(--white); }
.btn.dark:hover { background: #28394e; }
.hero-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: min(5vw, 86px); padding: clamp(2.5rem, 5vw, 5.4rem) 0; }
.hero h1 { font-size: clamp(4rem, 7.15vw, 8.35rem); text-wrap: initial; margin: 0 0 1.6rem; }
.hero em, .case-feature em, .cta em { color: var(--gold); }
.hero .kicker { color: var(--gold); }
.hero-deck { color: #e0e1e0; font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 32ch; }
.actions { flex-wrap: wrap; gap: .6rem; margin-top: 1.7rem; }
.hero-photo { position: relative; height: clamp(420px, 43vw, 670px); background: var(--navy-soft); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.hero-photo figcaption, .case-photos figcaption { position: absolute; bottom: 0; left: 0; background: var(--navy); color: white; padding: .55rem .85rem; font-size: .875rem; font-weight: 700; }
.strip { background: #e9e0d0; }
.strip .wrap { display: grid; grid-template-columns: repeat(3,1fr); }
.strip span, .strip a { padding: 1rem .7rem; text-align: center; border-right: 1px solid #c9bfae; font-weight: 800; font-size: .9rem; }
.strip a { border: 0; }
.section { padding-block: clamp(3.6rem, 8vw, 8.2rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(1.5rem, 3vw, 2.75rem); }
.section-head h2 { margin-bottom: 0; }
.section-head > p { max-width: 33ch; color: var(--muted); }
.practice { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 260px; border: 1px solid var(--line); border-bottom: 0; }
.practice:last-child { border-bottom: 1px solid var(--line); }
.practice-photo { overflow: hidden; position: relative; }
.practice-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.practice:nth-of-type(2) .practice-photo img { object-position: 50% 42%; }
.practice-copy { padding: clamp(1.6rem, 5vw, 4rem); align-self: center; }
.practice-copy h3 { font-family: Archivo, Arial, sans-serif; font-weight: 400; font-size: clamp(2.4rem, 4.6vw, 5rem); line-height: .98; }
.practice-copy p { color: var(--muted); }
.text-link, .card a { font-weight: 800; }
.case-feature { background: var(--navy-soft); color: var(--white); padding-block: clamp(3rem, 7vw, 7.2rem); }
.case-layout { display: grid; grid-template-columns: .73fr 1.27fr; align-items: center; gap: clamp(1.6rem, 5vw, 5.5rem); }
.case-copy p:not(.kicker) { color: #dfdfdf; }
.case-photos, .project-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.case-photos figure, .project-gallery figure { position: relative; overflow: hidden; background: #ddd5c9; }
.case-photos img, .project-gallery img { width: 100%; aspect-ratio: .79; object-fit: cover; }
.project-gallery figure { margin-bottom: 1.5rem; }
.project-gallery figcaption { padding: .5rem 1rem; font-weight: 800; }
.location-feature { background: #e9e0d0; }
.location-feature img, .division-body img, .body-grid > img { width: 100%; height: min(460px, 42vw); min-height: 260px; object-fit: cover; }
.location-feature .body-grid, .commercial-feature .body-grid { align-items: center; }
.intro { color: var(--white); background: var(--navy); }
.intro .wrap { padding-block: clamp(3rem, 6vw, 6.7rem); }
.intro h1 { max-width: 18ch; font-size: clamp(3.4rem, 7vw, 7.2rem); }
.intro .kicker { color: var(--gold); }
.intro p:not(.kicker) { color: #e3e2dd; font-size: clamp(1rem, 1.8vw, 1.25rem); }
.grid, .body-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem, 2.2vw, 2.4rem); }
.body-grid { grid-template-columns: 1.23fr 1fr; gap: clamp(1.8rem, 7vw, 7rem); align-items: start; }
.card { display: flex; flex-direction: column; align-items: start; border-top: 1px solid var(--line); padding: 1.4rem 0; }
.card img { width: 100%; aspect-ratio: 1.28; object-fit: cover; margin-bottom: 1.4rem; }
.card p { color: var(--muted); }
.list { list-style: none; margin: 0; padding: 0; }
.list li, details { border-top: 1px solid var(--line); }
.list a { display: block; padding: .95rem 0; font-weight: 800; }
.list li:last-child { border-bottom: 1px solid var(--line); }
.cta { background: var(--gold); }
.cta .wrap { padding-block: clamp(2.7rem, 6vw, 6rem); }
.cta .btn { background: var(--navy); color: var(--white); }
.cta .btn:hover { background: #2d3b4d; }
.footer { padding-block: clamp(2.5rem, 6vw, 5rem); }
.footer h2 { font-family: "IBM Plex Sans", Arial, sans-serif; font-size: 1.05rem; font-weight: 800; letter-spacing: 0; }
.footer a { display: inline-block; margin-bottom: .35rem; }
.footer p { color: #deded9; }
.foot-links { flex-wrap: wrap; align-items: start; gap: .35rem 1rem; }
.form { background: var(--white); padding: clamp(1rem, 3vw, 2.75rem); border: 1px solid var(--line); min-width: 0; }
.form h2 { font-size: clamp(2.8rem, 4.3vw, 4.6rem); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form label { display: block; font-weight: 800; margin-bottom: 1rem; min-width: 0; }
.form input, .form select, .form textarea { display: block; margin-top: .3rem; width: 100%; border: 1px solid #88847d; padding: .65rem; border-radius: 0; color: var(--ink); background: white; }
.form textarea { min-height: 8rem; }
.form [role="status"] { margin: .6rem 0 0; }
.contact-body { grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); }
.small { font-size: .9rem; }
details { padding: 1rem 0; }
summary { cursor: pointer; font-weight: 800; }
details p { margin-top: 1rem; }
.skip { position: absolute; left: .5rem; top: .5rem; transform: translateY(-160%); padding: .75rem; background: white; color: black; z-index: 20; }
.skip:focus { transform: none; }
@media (max-width: 1050px) {
  .desktop { display: none; }
  .head { min-height: 74px; gap: 1rem; }
  .head-actions { gap: .6rem; }
  .mobile { display: block; position: relative; padding: 0; border: 0; }
  .mobile summary { list-style: none; border: 1px solid #8a929c; padding: .7rem .8rem; min-height: 49px; font-size: .9rem; }
  .mobile summary::-webkit-details-marker { display: none; }
  .mobile i { display: inline-block; width: 10px; height: 7px; margin-left: .25rem; border-block: 1px solid currentColor; vertical-align: .12em; }
  .mobile nav { position: absolute; right: 0; top: calc(100% + .6rem); z-index: 5; width: min(80vw, 290px); padding: .45rem 1rem; background: var(--navy); border: 1px solid #596471; }
  .mobile a { display: block; padding: .7rem 0; }
}
@media (max-width: 760px) {
  .hero-layout, .grid, .body-grid, .case-layout { grid-template-columns: 1fr; }
  .hero-layout { gap: 1.9rem; padding-block: 2.4rem 1.4rem; }
  .hero h1 { font-size: clamp(3.2rem, 10.3vw, 5.1rem); }
  .hero-photo { height: clamp(230px, 67vw, 420px); }
  .section-head { display: block; }
  .section-head > p { margin-top: 1rem; }
  .section-head > .text-link { display: inline-block; margin-top: .65rem; }
  .practice { grid-template-columns: 1fr; }
  .practice-photo { min-height: 210px; }
  .practice + .practice { margin-top: 1rem; }
  .practice { border-bottom: 1px solid var(--line); }
  .strip .wrap { width: 100%; }
  .strip span, .strip a { font-size: .77rem; padding: .8rem .3rem; }
  .fields:not(.project-gallery) { grid-template-columns: 1fr; gap: 0; }
  .head-actions > .btn { padding-inline: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
@media (min-width: 761px) {
  .practice:nth-of-type(even) { grid-template-columns: 1.1fr .9fr; }
  .practice:nth-of-type(even) .practice-photo { grid-column: 2; grid-row: 1; }
  .practice:nth-of-type(even) .practice-copy { grid-column: 1; grid-row: 1; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: clamp(2.7rem, 14vw, 3.2rem); }
  .head .brand img { width: 79px; }
  .head-actions { gap: .4rem; }
  .head-actions .btn, .mobile summary { padding-inline: .45rem; }
}

/* Edge-to-edge photography and warmer editorial tones. */
:root {
  --navy: #181714;
  --navy-soft: #26231e;
  --ink: #232018;
  --paper: #f5f1e8;
  --white: #fffcf5;
  --gold: #dfc5a1;
  --line: #d4cbba;
  --wrap: min(88%, 1440px);
}
.masthead { position: relative; z-index: 6; }
.homepage .masthead { position: absolute; inset: 0 0 auto; background: linear-gradient(180deg,#120f0de6,transparent); }
.head { min-height: 94px; border-color: #ffffff44; }
.head-actions > .btn { background: transparent; color: var(--white); border-color: #ffffff80; }
.head-actions > .btn:hover { background: var(--white); color: var(--ink); }
.hero { position: relative; isolation: isolate; }
.hero-photo { position: absolute; z-index: -2; inset: 0; height: auto; }
.hero-photo img { object-position: 55% 52%; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,#100e0be8 0%,#100e0b9c 37%,#100e0b24 69%,#100e0b22),
              linear-gradient(0deg,#100e0baf,transparent 40%);
}
.hero-photo figcaption { z-index: 1; left: auto; right: 6%; bottom: 1.2rem; padding: 0; background: none; color: #fff; font-weight: 500; }
.hero-layout { display: flex; align-items: flex-end; min-height: clamp(690px, 89svh, 950px); padding: 125px 0 clamp(4rem, 9vh, 8rem); }
.hero h1 { font-size: clamp(6rem, 11.5vw, 13rem); line-height: .82; margin: 0 0 1.55rem; }
.hero .kicker { margin-bottom: clamp(1.2rem, 3vh, 2.25rem); color: var(--white); }
.hero em { color: #f2dac0; }
.hero-deck { max-width: none; color: var(--white); }
.hero .btn { background: var(--white); }
.hero .btn:hover { background: var(--gold); }
.hero .btn.outline { background: transparent; color: white; border-color: #ffffff80; }
.hero .btn.outline:hover { background: var(--white); color: var(--ink); }
.strip { background: #ede5d5; }
.strip span, .strip a { font-size: .875rem; }
.practices .wrap { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 2rem 1.8rem; }
.practices .section-head { grid-column: 1/-1; }
.practices .practice { display: flex; flex-direction: column; border: 0; grid-column: span 4; min-width: 0; }
.practices .practice:nth-of-type(2) { margin-top: clamp(1rem, 4vw, 4rem); }
.practices .practice:nth-of-type(3) { margin-top: clamp(2rem, 8vw, 8rem); }
.practice-photo { aspect-ratio: .94; width: 100%; background: #ded8ce; }
.practice-photo img { transition: transform .5s ease; }
.practice:hover .practice-photo img { transform: scale(1.045); }
.practice-copy { align-self: stretch; padding: 1.35rem 0 1.2rem; border-bottom: 1px solid var(--line); }
.practice-copy h3 { font-size: clamp(2rem, 3.3vw, 3.8rem); }
.case-feature { background: var(--navy); }
.case-photos { gap: 1rem; }
.case-photos figure:first-child { margin-top: 2rem; }
.case-photos figure:last-child { margin-bottom: 2rem; }
.case-photos img { aspect-ratio: .84; }
.commercial-feature { background: #ece3d2; }
.location-feature { background: var(--paper); }
.intro .wrap { position: relative; }
.intro-with-photo { background: var(--paper); color: var(--ink); }
.intro-with-photo .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 6vw, 6rem); align-items: center; }
.intro-with-photo p:not(.kicker) { color: var(--muted); }
.intro-with-photo img { width: 100%; aspect-ratio: 1.38; object-fit: cover; }
.division-body { align-items: start; }
.cta { background: #e3d2b8; }
@media (max-width: 1050px) {
  .head { min-height: 76px; }
}
@media (max-width: 760px) {
  :root { --wrap: 90%; }
  .hero-layout { min-height: clamp(600px, 86svh, 725px); padding: 100px 0 3.6rem; }
  .hero-photo img { object-position: 61% 50%; }
  .hero-photo::after { background: linear-gradient(0deg,#100e0bea 0%,#100e0b88 53%,#100e0b37 78%,#100e0b42); }
  .hero-photo figcaption { left: 5%; right: auto; bottom: .65rem; font-size: .78rem; }
  .hero h1 { font-size: clamp(4.2rem, 14.8vw, 7rem); }
  .hero-deck { max-width: 33ch; }
  .practices .wrap { display: block; }
  .practices .practice:nth-of-type(n) { margin-top: 2rem; }
  .practice-photo { aspect-ratio: 1.35; }
  .case-photos { gap: .55rem; }
  .intro-with-photo .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: clamp(3.7rem, 14vw, 4.2rem); }
}

/* The homepage leads with construction capability and a real site photograph. */
.homepage .masthead { position: relative; background: #151b1a; }
.homepage .head { border-color: #ffffff32; }
.contractor-hero { background: #151b1a; }
.contractor-layout {
  display: grid;
  grid-template-columns: 1fr .98fr;
  align-items: center;
  gap: clamp(1.75rem, 6vw, 6.75rem);
  padding-block: clamp(2rem, 4.65vw, 5.1rem);
}
.contractor-hero h1 {
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: clamp(3.3rem, 6.15vw, 7.55rem);
  line-height: .97;
  font-weight: 800;
  letter-spacing: -.081em;
  margin-bottom: 1.75rem;
}
.contractor-hero .kicker { color: #dcc3a0; }
.contractor-hero .hero-deck { max-width: 37ch; color: #e7e6df; }
.contractor-photo { position: relative; overflow: hidden; background: #292e29; }
.contractor-photo img { width: 100%; height: clamp(440px, 43vw, 660px); object-fit: cover; object-position: 50% 46%; }
.contractor-photo figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: .65rem .95rem;
  background: #151b1a;
  color: var(--white);
  font-size: .86rem;
}
.homepage .strip { background: #e1cdad; }
.homepage .practices .section-head h2,
.homepage .case-feature h2,
.homepage .commercial-feature h2 {
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5.1vw, 5.5rem);
  line-height: 1;
  letter-spacing: -.073em;
}
.work-features { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 3rem); }
.work-feature { padding: clamp(1.25rem, 3vw, 3rem); border: 1px solid #726c61; }
.work-feature .kicker { color: var(--gold); }
.work-feature p:not(.kicker) { color: #e2ded6; }
@media (max-width: 760px) {
  .contractor-layout, .work-features { grid-template-columns: 1fr; }
  .contractor-photo img { height: clamp(300px, 92vw, 490px); }
  .contractor-hero h1 { font-size: clamp(2.9rem, 11vw, 5rem); }
  .case-feature .section-head .btn { margin-top: 1.2rem; }
}
.fleet-photo video {
  display: block;
  width: 100%;
  height: clamp(370px, 37vw, 570px);
  object-fit: cover;
  object-position: 48% 62%;
}
.fleet-toggle {
  position: absolute;
  bottom: .65rem;
  right: .65rem;
  min-height: 44px;
  padding: .35rem .75rem;
  background: #151b1a;
  color: var(--white);
  border: 1px solid #b1aea7;
  font-weight: 700;
  font-size: .875rem;
  cursor: pointer;
}
@media (max-width: 760px) {
  .fleet-photo video { height: clamp(245px, 67vw, 470px); }
}

/* MIPA contractor identity */
:root {
  --navy: #101a23;
  --navy-soft: #1c2b36;
  --ink: #16232c;
  --paper: #f3f4f1;
  --white: #fff;
  --gold: #e4bb79;
  --line: #d6dbd8;
  --muted: #4a565e;
  --wrap: min(89%, 1320px);
}
h1, h2, h3, .practice-copy h3 {
  font-family: Archivo, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.08;
}
h1 { font-size: clamp(2.55rem, 5.25vw, 5.55rem); }
h2, .homepage .practices .section-head h2,
.homepage .case-feature h2, .homepage .commercial-feature h2 {
  font-family: Archivo, Arial, sans-serif;
  font-size: clamp(2rem, 4.3vw, 4.05rem);
  letter-spacing: -.039em;
  font-weight: 700;
  line-height: 1.07;
}
.intro h1 { font-size: clamp(2.55rem, 5.4vw, 5rem); }
.practice-copy h3 { font-size: clamp(1.55rem, 2.45vw, 2.4rem); }
.footer h2 { font-weight: 600; }
.homepage .masthead { background: var(--navy); }
.head { min-height: 82px; }
.desktop a, .mobile a, .btn { font-weight: 600; font-size: 1rem; }
.homepage .head-actions > .btn { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.homepage .head-actions > .btn:hover { background: var(--white); border-color: var(--white); }
.contractor-hero { background: #16232b; isolation: isolate; }
.contractor-layout {
  min-height: clamp(520px, 42vw, 660px);
  display: flex;
  align-items: center;
  padding-block: 4.3rem 5rem;
}
.contractor-hero .hero-copy { max-width: 740px; }
.contractor-hero h1 {
  color: #fff;
  font-family: Archivo, Arial, sans-serif;
  font-size: clamp(2.8rem, 5.3vw, 5.45rem);
  font-weight: 700;
  letter-spacing: -.042em;
  line-height: 1.01;
  margin-bottom: 1.3rem;
}
.contractor-hero .kicker { color: #f4d7a4; }
.contractor-hero .hero-deck { max-width: 40ch; color: #f3f4f4; }
.contractor-hero .actions .btn:not(.outline) { background: var(--gold); }
.contractor-hero .actions .btn:not(.outline):hover { background: var(--white); }
.fleet-photo { position: absolute; inset: 0; background: transparent; z-index: -1; }
.fleet-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,#0b151e 1%,#0b151ee8 23%,#1019238c 51%,#0b151e16 100%),
              linear-gradient(0deg,#0b151e9c,transparent 45%);
}
.fleet-photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-position: center 61%; }
.fleet-photo figcaption { display: none; }
.fleet-toggle { z-index: 2; right: max(1rem,5.5%); bottom: 1rem; background: #101a23; }
.home-facts { background: var(--navy-soft); color: var(--white); }
.home-facts .wrap { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.home-facts .wrap > div { padding: 1.35rem clamp(.85rem,2.4vw,2.4rem); border-left: 1px solid #ffffff35; }
.home-facts .wrap > div:first-child { padding-left: 0; border-left: 0; }
.home-facts strong, .home-facts a { display: block; font-size: clamp(1.05rem,1.9vw,1.55rem); font-weight: 600; line-height: 1.15; margin-bottom: .25rem; }
.home-facts span { color: #dce2e4; font-size: .95rem; }
.practices .practice:nth-of-type(n) { margin-top: 0; }
.practice-photo { aspect-ratio: 1.28; }
.commercial-feature, .cta { background: #e5eae7; }
@media (max-width: 760px) {
  .head { min-height: 72px; }
  .head-actions .btn, .mobile summary { font-size: .9rem; }
  .contractor-layout { min-height: 560px; align-items: flex-end; padding-block: 3rem 5.2rem; }
  .contractor-hero h1 { font-size: clamp(2.45rem,9vw,4.2rem); }
  .hero-break { display: none; }
  .fleet-photo video { object-position: 59% 51%; }
  .fleet-photo::after { background: linear-gradient(0deg,#0b151efa 0%,#0b151edb 47%,#0b151e22 100%); }
  .home-facts .wrap { grid-template-columns: 1fr; }
  .home-facts .wrap > div { padding: .85rem 0; border: 0; }
  .home-facts .wrap > div + div { border-top: 1px solid #ffffff35; }
  .practices .practice:nth-of-type(n) { margin-top: 1.5rem; }
}
.contractor-layout { pointer-events: none; }
.contractor-hero .hero-copy { pointer-events: auto; }
.fleet-photo { z-index: 0; }
.contractor-layout { position: relative; z-index: 1; }

.fleet-toggle { pointer-events: auto; }

/* Deep graphite surfaces, cool light and restrained dimensional detail. */
:root {
  color-scheme: dark;
  --paper: #090d14;
  --navy: #090d14;
  --navy-soft: #101722;
  --ink: #eef3fc;
  --white: #f6f8ff;
  --gold: #9bceff;
  --muted: #a6b2c5;
  --line: #ffffff18;
  --wrap: min(89%, 1320px);
  background: var(--paper);
}
body {
  background: radial-gradient(ellipse at 90% 2%,#173c692b,transparent 33%),#090d14;
  color: var(--ink);
}
h1,h2,h3,.practice-copy h3,.contractor-hero h1,
.homepage .practices .section-head h2,.homepage .case-feature h2,
.homepage .commercial-feature h2,.intro h1 {
  font-family: Archivo,Arial,sans-serif;
  font-weight: 600;
  letter-spacing: -.045em;
}
p { color: #b4bed0; }
.kicker { color: #91bce5; }
.masthead,.homepage .masthead { background: transparent; }
.head {
  min-height: 86px;
  border-bottom: 1px solid #ffffff12;
}
.desktop a { color: #c5cddd; font-weight: 500; font-size: .95rem; }
.desktop a:hover { color: white; }
.brand img { width: 118px; }
.btn {
  border-radius: 10px;
  background: linear-gradient(135deg,#d1eaff,#83b9f9);
  color: #081421;
  font-weight: 600;
  box-shadow: 0 3px 0 #ffffff26 inset,0 8px 28px #1675da18;
  border: 1px solid #c4e4ff;
}
.btn:hover { background: #d9edff; }
.btn.outline,.btn.dark {
  background: linear-gradient(135deg,#ffffff0d,#ffffff03);
  border-color: #ffffff30;
  box-shadow: 0 1px 0 #ffffff12 inset;
  color: #e9effa;
}
.btn.outline:hover,.btn.dark:hover { background: #ffffff12; border-color: #98caff; color:white; }
.homepage .head-actions > .btn { background: #ffffff08; border-color: #ffffff24; color: #e5edfa; }
.contractor-hero { overflow: hidden; background: transparent; }
.contractor-layout {
  display:grid; grid-template-columns: 1.1fr .9fr;
  min-height: 620px; gap: 2rem; padding-block: 5.5rem;
}
.contractor-hero .hero-copy { max-width: none; }
.contractor-hero h1 {
  font-size: clamp(2.8rem,4.65vw,5rem);
  line-height:1.08; color: #f1f5fd;
}
.accent-text {
  color:#9fcaff;
  background: linear-gradient(105deg,#eff7ff,#85baff);
  background-clip:text; -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.contractor-hero .kicker { color: #9eb9d5; }
.contractor-hero .hero-deck { max-width: 43ch; color:#aebbd0; font-size:1.12rem; }
.contractor-hero .actions { margin-top:2rem; }
.contractor-hero .actions .btn:not(.outline) { background:linear-gradient(135deg,#d1eaff,#83b9f9); }
.fleet-photo {
  inset: auto; top: 12%; bottom: 12%; right: 4%; width: 41%;
  border-radius: 26px;
  border:1px solid #ffffff2c;
  background:#111c2b;
  box-shadow:0 0 0 10px #ffffff03,0 22px 70px #0009,0 0 100px #317cdc2b;
  transform: perspective(1500px) rotateY(-9deg) rotateX(2deg);
}
.fleet-photo video { border-radius:25px; object-position:56% 60%; }
.fleet-photo::after {
  border-radius:25px;
  background:linear-gradient(0deg,#081325a3,transparent 45%),linear-gradient(90deg,#09142536,transparent);
}
.contractor-hero::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background:radial-gradient(ellipse at 75% 50%,#266ac72e,transparent 50%);
}
.fleet-toggle { background:#09111edb; color:white; border-color:#ffffff50; border-radius:8px; right:1rem; }
.home-facts { background:transparent; }
.home-facts .wrap {
  background:linear-gradient(120deg,#152031b8,#0f1520);
  border:1px solid #ffffff1c; border-radius:18px; overflow:hidden;
  box-shadow:0 16px 50px #0003;
}
.home-facts .wrap > div { padding:1.7rem 2rem; border-color:#ffffff15; }
.home-facts .wrap > div:first-child { padding-left:2rem; }
.home-facts strong,.home-facts a { font-size:1.25rem; font-weight:500; color:#e9effa; }
.home-facts span { color:#9daac0; }
.section { padding-block:clamp(2.75rem,5vw,5rem); }
.practices .section-head { margin-bottom:1.5rem; }
.practices .practice {
  border:1px solid #ffffff18;
  border-radius:18px; overflow:hidden;
  background:linear-gradient(150deg,#17202d,#0d131d 70%);
  box-shadow:0 20px 35px #0002;
}
.practice-copy { padding:1.65rem; border:0; }
.practice-copy h3 { font-size:1.65rem; color:#eef3fc; }
.practice-copy p { font-size:1rem; }
.practice-photo { aspect-ratio:1.7; }
.practice-photo::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,#15203166,transparent); pointer-events:none; }
.text-link,.card a { color:#badbff; font-weight:500; }
.case-feature { background:linear-gradient(135deg,#101927,#0b1019); border-block:1px solid #ffffff0e; }
.work-feature {
  background:linear-gradient(120deg,#ffffff05,transparent);
  border:1px solid #ffffff1a;
  border-radius:18px;
}
.work-feature p:not(.kicker),.case-copy p:not(.kicker) { color:#aebbd0; }
.work-feature h3 { font-size:1.8rem; }
.commercial-feature,.location-feature { background:transparent; }
.location-feature img,.division-body img,.body-grid > img { border-radius:18px; border:1px solid #ffffff1a; }
.list li,.list li:last-child,details { border-color:#ffffff1c; }
.list a { font-weight:500; color:#d9e8fc; }
.intro,.intro-with-photo { background:radial-gradient(ellipse at 95% 5%,#15365b,transparent 60%),#0c131e; color:var(--ink); }
.intro .wrap { padding-block:clamp(2.5rem, 5vw, 4rem); }
.intro p:not(.kicker),.intro-with-photo p:not(.kicker) { color:#b4bed0; }
.intro-with-photo img { border-radius:20px; border:1px solid #ffffff2a; }
.card { border-color:#ffffff1c; }
.card img,.project-gallery figure { border-radius:14px; }
.cta {
  width:var(--wrap); margin:0 auto 4rem;
  border:1px solid #ffffff20; border-radius:22px;
  background:radial-gradient(ellipse at 100% 10%,#1d4c8459,transparent 70%),linear-gradient(120deg,#142131,#101722);
}
.cta .wrap { width:88%; }
.cta h2 { max-width:18ch; font-size:clamp(2.2rem,4.3vw,4rem); }
.cta .btn { background:linear-gradient(135deg,#d1eaff,#83b9f9); color:#081421; }
.footer { background:#070b10; border-top:1px solid #ffffff12; }
.footer p { color:#a6b2c5; }
.form { background:linear-gradient(140deg,#152031,#0c131e); border-color:#ffffff25; border-radius:20px; }
.form input,.form select,.form textarea { background:#080e18; color:#e8effb; border:1px solid #ffffff35; border-radius:8px; }
.form label { font-weight:500; }
.form h2 { font-size:2.4rem; }
.mobile nav { background:#0d1522; border-radius:12px; border-color:#ffffff30; }
.mobile summary { border-color:#ffffff30; border-radius:8px; }
:focus-visible { outline:3px solid #9fcaff; }
@media(max-width:760px) {
  .contractor-layout { display:block; min-height:0; padding-block:3.2rem 2.4rem; }
  .contractor-hero h1 { font-size:clamp(2.4rem,8.9vw,4rem); }
  .fleet-photo { position:relative; inset:auto; width:100%; height:clamp(220px, 60vw, 350px); margin-top:2rem; transform:none; border-radius:20px; }
  .fleet-photo video,.fleet-photo::after { border-radius:19px; }
  .home-facts .wrap > div,.home-facts .wrap > div:first-child { padding:1rem 1.3rem; }
  .home-facts .wrap > div + div { border-color:#ffffff18; }
  .practices .practice:nth-of-type(n) { margin-top:1.2rem; }
}

.practice-link {
  color: inherit;
  text-decoration: none;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.practices .practice-link:is(:hover, :focus-visible) {
  border-color: #80baff85;
  box-shadow: 0 12px 44px #24599838;
}
.practice-link .practice-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.practice-link .text-link {
  margin-top: auto;
  align-self: flex-start;
  text-decoration: underline;
  text-underline-offset: .3em;
}
.work-feature { display: flex; flex-direction: column; }
.work-feature .text-link { align-self: flex-start; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .practice-link:hover { transform: translateY(-4px); }
}
@media (prefers-reduced-motion:reduce) {
  .practice-link,.practice-photo img { transition: none; }
  .practice:hover .practice-photo img { transform: none; }
}
@media (max-width:390px) {
  .contractor-hero .actions { gap: .65rem; }
  .contractor-hero .actions .btn { flex: 1 1 auto; }
}

.project-slideshow .project-slides, .project-slideshow .featured-slide {
  position: absolute;
  inset: 0;
  margin: 0;
}
.project-slideshow .featured-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.project-slideshow .featured-slide figcaption {
  display: block;
  z-index: 3;
  max-width: calc(100% - 9.5rem);
  font-weight: 600;
}
.slide-controls:not([hidden]) { display: flex; }
.slide-controls {
  position: absolute;
  z-index: 4;
  right: .65rem;
  bottom: .55rem;
  pointer-events: auto;
  border: 1px solid #ffffff52;
  border-radius: 24px;
  background: #09111eee;
}
.slide-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.slide-controls button:hover { background: #ffffff20; }
.slide-controls button::before { content: ""; }
.slide-controls [data-step]::before {
  width: 8px;
  height: 8px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
}
.slide-controls [data-step="-1"]::before { transform: rotate(135deg); }
.slide-controls [data-rotation]::before {
  border-block: 7px solid transparent;
  border-left: 10px solid currentColor;
  margin-left: 2px;
}
.slide-controls [data-rotation][data-playing="true"]::before {
  width: 10px;
  height: 13px;
  border: 0;
  border-inline: 3px solid currentColor;
  margin-left: 0;
}

@media (min-width: 761px) {
  .practices .practice { grid-column: span 6; }
}
@media (min-width: 1150px) {
  .practices .practice { grid-column: span 3; }
}

.hero-brand-region { display: block; }
@media (max-width: 767px), (max-width: 950px) and (max-height: 500px) and (pointer: coarse) {
  .hero-brand-names > span { display: block; }
  .hero-brand-names > .hero-brand-dot { display: none; }
}
@media (min-width: 768px) {
  .hero-brand-names { white-space: nowrap; }
  .hero-brands { letter-spacing: clamp(.045em, calc(.45vw - 2.8px), .15em); }
}
@media (min-width: 768px) and (max-width: 980px) {
  .hero-brands { font-size: .8125rem; }
}

.hmo-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
}
.hmo-feature img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  border-radius: 12px;
}
.hmo-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}
.hmo-walkthrough {
  width: min(100%, 360px);
  aspect-ratio: 512 / 910;
  display: block;
  background: #080e18;
  border-radius: 14px;
}
.hmo-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-block: 2rem;
}
.hmo-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}
.hmo-gallery figcaption { padding-block: .5rem; color: var(--muted); }
@media (max-width: 760px) {
  .hmo-feature, .hmo-overview { grid-template-columns: 1fr; }
  .hmo-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.kicker,
.head nav a,
.head .mobile summary {
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.head nav a,
.head .mobile summary {
  font-size: .75rem;
}
.head .desktop {
  gap: clamp(.8rem, 1.6vw, 1.8rem);
}
.head .desktop a {
  white-space: nowrap;
}

.intro h1:has(.division-logo) {
  max-width: none;
}
.intro .division-logo {
  position: relative;
  display: block;
  width: min(100%, 21rem);
  aspect-ratio: 3.2;
  overflow: hidden;
}
.intro .division-logo img {
  position: absolute;
  top: 50%;
  left: var(--logo-centre);
  width: var(--logo-image-width);
  max-width: none;
  height: auto;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  transform: translate(-50%, -50%);
}
.intro .joinery-kitchens-logo {
  --logo-centre: 49.9%;
  --logo-image-width: 102.2%;
}
.intro .construction-logo {
  --logo-centre: 47.2%;
  --logo-image-width: 137%;
  mix-blend-mode: screen;
}
@media (max-width: 640px) {
  .intro .division-logo {
    width: 100%;
  }
}

.intro:has(.division-logo) .wrap {
  padding-block: clamp(2rem, 4vw, 3.5rem);
}
.intro:has(.division-logo) p {
  max-width: 56ch;
  margin-block-end: 0;
}

.section.division-services-section {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
.division-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.division-service-link {
  display: block;
  height: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid #ffffff24;
  border-radius: 12px;
  background: #111b2a;
  text-decoration: none;
}
.division-service-link:is(:hover, :focus-visible) {
  background: #172941;
  border-color: #9fcaff;
}
.division-service-link h3 {
  margin: 0 0 .25rem;
  font-size: 1.1rem;
  letter-spacing: normal;
  color: #c8e1ff;
}
.division-service-link p {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 640px) {
  .division-services {
    grid-template-columns: 1fr;
  }
}

.grid { align-items: start; }

.accreditation-badge {
  display: block;
  width: min(10rem, 100%);
  height: auto;
}

.intro .accreditation-badge {
  margin-top: 1.25rem;
}

.hero-copy > .accreditation-badge {
  width: min(8.5rem, 100%);
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .intro-with-badge .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(2rem, 5vw, 5rem);
  }

  .intro-with-badge .intro-copy {
    min-width: 0;
  }

  .intro-with-badge .accreditation-badge {
    flex: 0 0 10rem;
    margin-top: 0;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.breadcrumb {
  padding-block: .75rem;
  font-size: .875rem;
}

.example-card, #main h2[id] { scroll-margin-top: 7rem; }
.example-card details { width: 100%; margin: .6rem 0; }
.example-card summary { cursor: pointer; }
.example-photos { display: grid; gap: .75rem; margin-top: .75rem; }
.example-photos img { display: block; height: auto; aspect-ratio: auto; margin: 0; object-fit: contain; }
