.layout-container .layout__main--homepage { grid-column: full; min-width: 0; }
.layout__main--homepage > .region-content { padding: 0; }
.layout__main--homepage > .region-content > .region__inner { max-width: none; }
.layout__main--homepage :is(.region-highlighted, .region-help, .block-local-tasks-block) {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.front-redesign {
  & {
    --ink: #123940;
    --body: #3c595f;
    --teal: #006575;
    --teal-hover: #004f5d;
    --foam: #e9f5f6;
    --paper: #f4f9fa;
    --line: #c9e0e3;
    --focus: #147889;
    color: var(--ink);
    font-family: "Open Sans", system-ui, sans-serif;
  }

  & .wrap { width: min(100% - 2.5rem, 1180px); margin-inline: auto; }
  & h1 { font-size: clamp(2rem, 4.15vw, 3.8rem); line-height: 1.1; letter-spacing: -.04em; overflow-wrap: break-word; }
  & h2 { font-size: clamp(1.85rem, 3.3vw, 2.9rem); letter-spacing: -.035em; }
  & p { color: var(--body); }
  & .section { padding: clamp(2.75rem, 5.5vw, 5.25rem) 0; }

  .work-section, .publications { background: linear-gradient(115deg, #f8fbfc, #e2f2f4); }

  .hero {
    position: relative;
    isolation: isolate;
    color: #fff;
    background: #092f39;
  }
  .hero-image, .hero::before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .hero-image {
    z-index: -2;
    object-fit: cover;
    object-position: center 53%;
  }
  .hero::before {
    content: "";
    z-index: -1;
    background: linear-gradient(90deg, #092f39 0%, #092f39f5 28%, #092f39dc 45%, #092f3940 74%, transparent);
  }
  .hero-inner {
    display: flex;
    align-items: center;
    min-height: clamp(27rem, 40vw, 35rem);
    padding-block: clamp(2.5rem, 5vw, 5rem);
  }
  .hero-copy { width: min(100%, 34rem); }
  & .hero h1 { font-size: clamp(1.85rem, 3.6vw, 3.25rem); text-wrap: balance; }
  & .eyebrow {
    display: flex;
    gap: .7rem;
    align-items: center;
    margin: 0 0 1.2rem;
    color: #ccedf1;
    font-size: .82rem;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: #8ed4df; }
  & .hero .intro { max-width: 32rem; color: #e1f6f8; font-size: clamp(1rem, 1.55vw, 1.15rem); }
  & .hero a:focus-visible { outline-color: #b8f0f6; }

  .actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.35rem; margin-top: 1.65rem; }
  & :is(.button, .secondary, .more, address a) {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    min-height: 44px;
    color: var(--teal);
    font-weight: 700;
    text-underline-offset: .2em;
  }
  & .button {
    justify-content: space-between;
    gap: 1.15rem;
    min-height: 52px;
    padding: .75rem 1.1rem;
    border: 1px solid var(--teal);
    border-radius: .4rem;
    color: #fff;
    background: var(--teal);
    text-decoration: none;
    transition: background-color 180ms ease;
  }
  & .button:hover { background: var(--teal-hover); }
  & .hero .button { color: #004f5d; background: #e1f6f8; border-color: #e1f6f8; }
  & .hero .button:hover { background: #c7edf2; }
  & .hero .secondary { color: #e1f6f8; }


  .section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1rem; margin-bottom: 1.5rem; }
  .grid { display: grid; gap: clamp(.85rem, 2vw, 1.4rem); }
  .services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .articles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: .65rem;
    color: var(--ink);
    background: #fff;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
  }
  .card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--foam); }
  .services img { filter: saturate(.72); }
  .services .service-photo--lift-shadows { filter: saturate(.72) brightness(1.62) contrast(.72); }
  .card span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    min-height: 4rem;
    padding: .65rem .9rem;
    font-weight: 720;
    line-height: 1.4;
  }
  .card b {
    display: grid;
    place-items: center;
    flex: 0 0 2rem;
    height: 2rem;
    border-radius: 50%;
    color: var(--teal);
    background: var(--foam);
  }
  .card:hover { border-color: var(--teal); box-shadow: 0 5px 15px #00526114; }
  .card:hover span { text-decoration: underline; text-underline-offset: .18em; }
  .articles img { aspect-ratio: 4 / 3; }

  .about, .publications { border-block: 1px solid var(--line); }
  .about { background: #fff; }
  .about-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(1.5rem, 6vw, 5rem); }
  .about p, .contact p { max-width: 31rem; font-size: 1.1rem; }
  .about ul { margin: 0; padding: 0; list-style: none; }
  .about li {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    border-bottom: 1px solid var(--line);
    padding-block: .75rem;
  }
  .about li:first-child { border-top: 1px solid var(--line); }
  .about li::before { content: ""; flex: 0 0 .42rem; height: .42rem; border-radius: 50%; background: var(--teal); }
  .clients { grid-column: 1 / -1; }
  .logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .65rem; margin-top: 1rem; }
  .logos img { width: 100%; height: clamp(4.5rem, 8vw, 6.5rem); object-fit: contain; padding: .75rem; border: 1px solid var(--line); border-radius: .45rem; background: #fff; }

  .contact { background: #fff; }
  & .contact-grid {
    width: min(100% - 2.5rem, 1180px);
    align-items: center;
    padding: clamp(1.1rem, 4vw, 3.25rem);
    border: 1px solid var(--line);
    border-radius: .75rem;
    background: linear-gradient(115deg, var(--paper), var(--foam));
  }
  .contact .button { margin-top: 1.3rem; }
  & address {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-inline-start: clamp(1rem, 3vw, 2rem);
    border-inline-start: 1px solid var(--line);
    font-style: normal;
    overflow-wrap: anywhere;
  }

  @media (max-width: 65rem) {
    .articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 48rem) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-inner { min-height: 0; padding-block: clamp(10rem, 36vw, 16rem) 2rem; }
    .hero-image { height: min(100%, 22rem); object-position: 59% top; }
    .hero::before { background: linear-gradient(180deg, transparent 4rem, #092f39ec 10rem, #092f39 20rem); }
    .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    & address { padding: .75rem 0 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  }
  @media (max-width: 34rem) {
    .section-head { flex-direction: column; align-items: flex-start; gap: 0; margin-bottom: .85rem; }
    .services, .articles { grid-template-columns: 1fr; }
    .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  @media (prefers-reduced-motion: reduce) {
    & :is(.card, .button) { transition: none; }
  }

  .project-showcase {
    display: grid;
    grid-template-areas: "preview choices";
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: clamp(.85rem, 2vw, 1.4rem);
    align-items: start;
  }
  .project-options {
    grid-area: choices;
    display: grid;
    gap: .55rem;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .project-legend, .project-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
  }
  .project-option { position: relative; cursor: pointer; }
  .project-option-inner {
    display: grid;
    grid-template-columns: clamp(4.5rem, 9vw, 7.25rem) minmax(0, 1fr);
    align-items: center;
    gap: .7rem;
    min-height: 4.75rem;
    border: 1px solid var(--line);
    border-radius: .55rem;
    padding: .38rem .65rem .38rem .38rem;
    background: var(--paper);
  }
  .project-option img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: .32rem; }
  .project-option small, .project-preview small { display: block; color: var(--teal); font-weight: 700; }
  .project-option strong, .project-preview strong { display: block; line-height: 1.3; }
  .project-option:hover .project-option-inner,
  .project-option input:checked + .project-option-inner {
    border-color: var(--teal);
    background: var(--foam);
  }
  .project-option input:focus-visible + .project-option-inner {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
  }
  .project-previews { grid-area: preview; }
  .project-preview {
    display: none;
    background: #fff;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: .65rem;
    text-decoration: none;
  }
  .project-showcase:has([value="metal"]:checked) [data-project="metal"],
  .project-showcase:has([value="factory"]:checked) [data-project="factory"],
  .project-showcase:has([value="pipe"]:checked) [data-project="pipe"],
  .project-showcase:has([value="grounds"]:checked) [data-project="grounds"],
  .project-showcase:has([value="hotel"]:checked) [data-project="hotel"] { display: block; }
  .project-preview img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--foam); }
  .project-preview-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1rem;
  }
  .project-preview strong { font-size: clamp(1.05rem, 2vw, 1.35rem); }
  .project-preview:hover strong { text-decoration: underline; text-underline-offset: .18em; }
  .project-arrow {
    display: grid;
    place-items: center;
    flex: 0 0 2rem;
    height: 2rem;
    border-radius: 50%;
    color: var(--teal);
    background: var(--foam);
  }

  @media (max-width: 48rem) {
    .project-showcase {
      grid-template-areas: "choices" "preview";
      grid-template-columns: minmax(0, 1fr);
    }
  }

  .service-layout {
    display: grid;
    grid-template-columns: minmax(13rem, .8fr) minmax(0, 3fr);
    gap: clamp(1rem, 2.5vw, 2rem);
    align-items: start;
  }
  .service-nav {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: .65rem;
    padding: 1rem;
  }
  .service-nav h3 { font-size: 1.1rem; margin-bottom: .6rem; }
  .service-nav ul { list-style: none; padding: 0; margin: 0; }
  .service-nav li + li { border-top: 1px solid var(--line); }
  .service-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    min-height: 44px;
    padding: .55rem .1rem;
    color: var(--teal);
    font-weight: 650;
    line-height: 1.35;
    text-decoration: none;
  }
  .service-nav a:hover { text-decoration: underline; text-underline-offset: .15em; }
  .service-nav a > [aria-hidden="true"] { flex: none; font-size: 1.25rem; }
  .service-nav-label { min-width: 0; }
  .service-nav-badge { display: block; width: fit-content; margin-top: .3rem; }

  .request-section {
    border-block: 1px solid var(--line);
    background: var(--foam);
  }
  .request-section + .about { border-top: 0; }
  & .request-section { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
  & .request-section h2 {
    max-width: 58rem;
    font-size: clamp(1.4rem, 2.3vw, 2rem);
    line-height: 1.2;
  }

  @media (max-width: 60rem) {
    .service-content .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 48rem) {
    .service-layout { grid-template-columns: minmax(0, 1fr); }
  }
  @media (max-width: 34rem) {
    .service-content .services { grid-template-columns: minmax(0, 1fr); }
  }

  .home-service-layout {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: .75rem;
    background: var(--foam);
  }
  .home-service-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(.6rem, 1.3vw, 1.25rem);
    z-index: 1;
    grid-area: 1 / 1 / 2 / 6;
    margin: clamp(1rem, 3vw, 2.5rem);
    margin-right: 0;
    padding: clamp(1rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: .65rem;
    background: #fff;
    box-shadow: 0 6px 18px #12394020;
  }
  & .home-service-label { display: inline-block; margin: 0 0 .55rem; }
  & :is(.home-service-label, .service-nav-badge) {
    padding: .2rem .45rem;
    border-radius: .25rem;
    background: var(--foam);
    color: var(--teal);
    font-size: .78rem;
    font-weight: 700;
  }
  & .home-service h2 {
    font-size: clamp(1.45rem, 2.55vw, 2.35rem);
    line-height: 1.15;
  }
  .home-service-layout { color: inherit; text-decoration: none; }
  .home-service-text > p { margin: .65rem 0 0; }
  .home-service-arrow {
    display: grid;
    place-items: center;
    width: clamp(2.75rem, 4.2vw, 3.5rem);
    aspect-ratio: 1;
    border-radius: 50%;
    color: var(--teal);
    background: var(--foam);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 750;
  }
  .home-service-layout:is(:hover, :focus-visible) .home-service-arrow { color: #fff; background: var(--teal); }
  .home-service-image {
    grid-area: 1 / 4 / 2 / 11;
    align-self: stretch;
    width: 100%;
    height: 100%;
    min-height: 20rem;
    max-height: 26rem;
    object-fit: cover;
    object-position: 60% center;
  }

  @media (max-width: 48rem) {
    .home-service-layout { grid-template-columns: minmax(0, 1fr); }
    .home-service-image { grid-area: 1 / 1; height: auto; min-height: 0; aspect-ratio: 16 / 9; }
    .home-service-copy { grid-area: 2 / 1; margin: -1.25rem 1rem 1rem; }
  }
}
.front-redesign h1, .front-redesign h2, .front-redesign h3 { margin: 0; line-height: 1.12; color: inherit; }
.front-redesign a { color: inherit; }
.front-redesign p { margin: 1rem 0 0; }
.front-redesign img { display: block; max-width: 100%; }
.front-redesign a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.front-redesign .request-section .webform-submission-form { margin-top: .8rem; }
.front-redesign .request-section .webform-type-processed-text { display: none; }
.front-redesign .request-section .webform-flexbox { margin-inline: 0; gap: .85rem; }
.front-redesign .request-section .webform-flex--container { margin-inline: 0; }
.front-redesign .request-section :is(input[type="text"], input[type="tel"], select) {
  width: 100%;
  min-height: 44px;
  border: 1px solid #8aaeb2;
  border-radius: .35rem;
  padding: .5rem;
  color: var(--ink);
  background: white;
}
.front-redesign .request-section .form-actions .button {
  width: auto;
  min-height: 44px;
  cursor: pointer;
}
.front-redesign .request-section .webform-flexbox label.visually-hidden {
  position: static !important;
  width: auto;
  height: auto;
  margin: 0 0 .35rem;
  overflow: visible;
  clip: auto;
  clip-path: none;
  display: block;
  font-weight: 700;
}
@media (max-width: 767px) {
  .front-redesign .request-section .webform-flexbox { display: block; }
  .front-redesign .request-section .webform-flexbox .webform-flex { margin-block: .65rem; }
}
