/* Project photography comes before the longer introduction. */
.work-preview {
  max-width: 1224px;
  margin: 0 auto;
  padding: 72px 28px 78px;
}
.work-preview-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.work-preview h2 {
  font:
    700 clamp(28px, 3vw, 39px)/1.2 Lato,
    Arial,
    sans-serif;
  letter-spacing: -0.025em;
  color: #173b29;
  margin: 0;
}
.work-preview-heading > a {
  color: #45682c;
  font:
    700 14px/1.5 Lato,
    Arial,
    sans-serif;
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 0;
}
.work-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.work-preview-project {
  display: block;
  color: #173b29;
  text-decoration: none !important;
}
.work-preview-project img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}
.work-preview-project > span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font:
    700 15px/1.5 Lato,
    Arial,
    sans-serif;
  margin-top: 13px;
}
.work-preview-project:focus-visible,
.work-preview-heading > a:focus-visible {
  outline: 3px solid #719143;
  outline-offset: 5px;
}
@media (max-width: 760px) {
  /* Reclaim the phone screen from repeated navigation and fixed CTA bars. */
  .landscape-topbar {
    display: none;
  }
  .landscape-header-main {
    min-height: 72px;
    padding: 6px 20px;
  }
  .landscape-logo {
    flex-basis: 108px;
  }
  .landscape-logo img {
    width: 108px;
    height: 60px;
  }
  .landscape-menu-toggle {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 13px;
  }
  .landscape-navigation {
    max-height: calc(100dvh - 72px);
    padding: 8px 20px 24px;
  }
  .landscape-nav-link,
  .landscape-mega > summary {
    font-size: 16px;
    padding: 15px 0;
  }
  .mega-shell,
  .mega-area-shell {
    padding: 16px;
  }
  .mega-service-link small,
  .mega-service-number,
  .mega-services > .landscape-eyebrow,
  .mega-area-intro,
  .mega-area-cta {
    display: none;
  }
  .mega-service-link {
    min-height: 48px;
    padding: 12px 0;
  }
  .mega-service-link strong {
    font-size: 14px;
  }
  .mega-city-grid {
    margin-top: 0;
  }
  .mobilebottombar {
    display: none !important;
  }
  body {
    padding-bottom: 0 !important;
  }
  /* Keep a clear photograph above the compact heading and actions. */
  .hero-inner,
  .landscape-hero--home .hero-inner {
    min-height: 470px;
    padding: 155px 22px 60px;
    align-items: flex-end;
  }
  .hero-copy {
    animation: none;
    width: 100%;
  }
  .hero-breadcrumb,
  .hero-copy > .landscape-eyebrow,
  .hero-local-note,
  .hero-breeze,
  .hero-photo-light {
    display: none;
  }
  .landscape-hero h1,
  .landscape-hero--home h1 {
    font-size: 34px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.65;
    margin-top: 16px !important;
    color: #f4f5ed;
  }
  .landscape-hero:after {
    background: linear-gradient(
      0deg,
      #0b2519ed 0%,
      #0b2519b8 36%,
      #0b251927 78%,
      #0b25190d 100%
    );
  }
  .hero-photo {
    object-position: center center;
  }
  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 14px;
    align-items: center;
    margin-top: 22px !important;
  }
  .hero-actions .landscape-button {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 48px;
    padding: 12px 10px !important;
    font-size: 13px !important;
  }
  .hero-actions .cta-arrow {
    display: none;
  }
  .hero-actions .landscape-button--secondary {
    flex: 1 1 0;
    border: 0;
    padding: 10px 0 !important;
    background: none;
    box-shadow: none;
    text-decoration: underline !important;
    text-underline-offset: 5px;
  }
  .hero-service-area {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 22px;
    min-height: 54px;
    background: #173b29;
  }
  .hero-service-area > span {
    flex-basis: auto;
    margin: 0;
    font-size: 9px;
    letter-spacing: 0.06em;
  }
  .hero-service-area > a:not(.hero-all-areas) {
    display: none;
  }
  .hero-service-area .hero-all-areas {
    min-height: 30px;
    font-size: 11px;
    white-space: nowrap;
    gap: 7px;
  }
  .hero-motion-toggle {
    top: auto;
    right: 22px;
    bottom: 65px;
    min-height: 30px;
    padding: 5px 8px;
    font-size: 9px;
    background: #102c2199;
  }
  .work-preview {
    padding: 34px 22px 42px;
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    box-sizing: border-box;
  }
  .work-preview-heading {
    display: block;
    margin-bottom: 19px;
  }
  .work-preview .content-eyebrow {
    font-size: 9px;
    letter-spacing: 0.1em;
    margin-bottom: 9px !important;
  }
  .work-preview h2 {
    font-size: 28px;
  }
  .work-preview-heading > a {
    display: inline-block;
    margin-top: 7px;
    font-size: 12px;
    min-height: 28px;
  }
  .work-preview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px 12px;
  }
  .work-preview-project:first-child {
    grid-column: 1/-1;
  }
  .work-preview-project img {
    height: 145px;
    border-radius: 8px;
  }
  .work-preview-project:first-child img {
    height: 235px;
  }
  .work-preview-project > span {
    font-size: 12px;
    margin-top: 9px;
  }
  /* Simpler edges and closer photo/text spacing throughout the site. */
  .hero-visual:before,
  .hero-visual:after,
  .island-photo-frame:before,
  .wpb_wrapper:has(> .optimizer-section-featured-image):before {
    display: none;
  }
  .optimizer-section--box-1-image-right .homepage-section,
  .optimizer-section--box-2-image-left .homepage-section {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
  .main-content .optimizer-section .wpb_text_column h2 {
    font-size: 27px !important;
    margin-bottom: 17px !important;
  }
  .main-content .optimizer-section .wpb_text_column p:not(.cta-group) {
    font-size: 15px;
    line-height: 1.75;
  }
  .optimizer-section-featured-image {
    height: 260px !important;
    border-radius: 9px !important;
    box-shadow: none;
  }
  .wpb_wrapper:has(> .optimizer-section-featured-image) {
    margin: 22px 0 8px;
  }
  .landscape-detail {
    display: flex;
    flex-direction: column;
    padding: 36px 16px 42px;
  }
  .detail-article,
  .detail-aside {
    display: contents;
  }
  .detail-article > .content-eyebrow {
    order: 1;
    font-size: 9px;
    margin-bottom: 12px !important;
  }
  .detail-article > h2 {
    order: 2;
    font-size: 28px;
    margin-bottom: 18px;
  }
  .detail-introduction {
    order: 3;
    margin-bottom: 20px;
  }
  .detail-aside > .island-photo-frame {
    order: 4;
    width: 100%;
    margin: 4px 0 28px;
  }
  .detail-aside .island-photo-frame img {
    height: 260px;
    border-radius: 9px;
  }
  .detail-topics {
    order: 5;
  }
  .detail-enquiry {
    order: 6;
    margin-top: 28px;
    padding: 25px 20px;
  }
  .detail-topic {
    gap: 0;
    padding: 22px 0;
  }
  .topic-number {
    display: none;
  }
  .detail-topic h3 {
    font-size: 21px;
  }
  .landscape-detail p {
    font-size: 15px;
    line-height: 1.75;
  }
  .optimizer-section--services {
    padding: 38px 0;
    background-image: none;
  }
  .optimizer-section--services .post-grid {
    gap: 18px;
    padding: 0 8px;
  }
  .optimizer-section--services .item-link-container {
    border-radius: 9px;
    box-shadow: none;
  }
  .optimizer-section--services .item-bg-container {
    padding-top: 210px;
    background-size: cover !important;
    background-position: top center !important;
  }
  .optimizer-section--services .item-bg-container > div {
    padding: 20px !important;
  }
  .optimizer-section--services .title {
    font-size: 22px !important;
  }
  .optimizer-section--services .excerpt {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
  .oahu-heading {
    padding-top: 36px;
    padding-bottom: 26px;
  }
  .oahu-heading h2 {
    font-size: 28px;
  }
  .oahu-heading > .landscape-button {
    margin-top: 18px;
    min-height: 46px;
  }
  .oahu-local-card {
    padding: 24px 22px;
  }
  .oahu-city-links > a {
    padding: 15px 12px;
  }
  .optimizer-section--reviews {
    padding: 38px 0;
  }
  .optimizer-section--contact-form-full-width {
    padding: 38px 0;
    background-image: none;
  }
  .footer-inner {
    padding-bottom: 16px;
  }
  .footer-welcome .content-eyebrow {
    display: none;
  }
  .footer-welcome h2 {
    font-size: 29px;
  }
  .footer-columns {
    gap: 28px 20px;
  }
  .footer-brand img {
    width: 125px;
  }
  .island-footer h3 {
    font-size: 14px;
  }
  .footer-columns li {
    margin-bottom: 10px;
  }
  .footer-columns a {
    font-size: 12px;
  }
  #back-to-top {
    display: none !important;
  }
  #yard-enquiry {
    scroll-margin-top: 90px;
  }
}
@media (max-width: 760px) {
  .landscape-detail {
    gap: 0;
  }
}
