

  @import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=Inter:wght@400;500;600;700&display=swap");


  :root {
    --tm-work-green: #26382c;
    --tm-work-gold: #dda918;
    --tm-work-black: #20231f;
    --tm-work-white: #ffffff;
    --tm-work-soft: #f3f4f1;
    --tm-work-muted: #59615b;
    --tm-work-radius: 26px;
    --tm-work-photo-radius: 16px;
  }


  /* =========================================================
     PAGE PROTECTION
  ========================================================= */

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .tm-work,
  .tm-work *,
  .tm-work-intro,
  .tm-work-intro *,
  .tm-work-cta,
  .tm-work-cta * {
    box-sizing: border-box;
  }


  /* =========================================================
     PAGE INTRO
  ========================================================= */

  .tm-work-intro {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto 18px;
    padding: 32px 0 52px;
    border-radius: var(--tm-work-radius);
    background: #ffffff;
  }

  .tm-work-intro__wrap {
    width: min(1140px, calc(100% - 48px));
    margin: 0 auto;
  }

  .tm-work-intro h1 {
    max-width: 920px;
    margin: 0;
    color: var(--tm-work-black);
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.06;
    text-transform: none;
  }

  .tm-work-intro__copy {
    max-width: 720px;
    margin: 16px 0 0;
    color: var(--tm-work-muted);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
  }


  /* =========================================================
     PROJECT SECTIONS
  ========================================================= */

  .tm-work {
    position: relative;
    width: min(1240px, calc(100% - 32px));
    max-width: 100%;
    margin: 0 auto 26px;
    padding: clamp(68px, 8vw, 105px) 0;
    overflow: hidden;
    border-radius: var(--tm-work-radius);
  }

  .tm-work__wrap {
    width: min(1140px, calc(100% - 48px));
    min-width: 0;
    margin: 0 auto;
  }


  /* =========================================================
     SECTION COLORS
  ========================================================= */

  .tm-work--light {
    background: var(--tm-work-soft);
  }

  .tm-work--green {
    background: var(--tm-work-green);
  }


  /* =========================================================
     SERVICE HEADINGS
  ========================================================= */

  .tm-work__heading {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: clamp(35px, 5vw, 58px);
  }

  .tm-work__line {
    width: 42px;
    height: 4px;
    margin-top: 11px;
    flex: 0 0 42px;
    background: var(--tm-work-gold);
  }

  .tm-work__heading-copy {
    max-width: 820px;
  }

  .tm-work__heading h2 {
    margin: 0;
    color: var(--tm-work-black);
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-size: clamp(48px, 6vw, 82px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 0.92;
    text-transform: uppercase;
  }

  .tm-work__heading p {
    max-width: 740px;
    margin: 22px 0 0;
    color: var(--tm-work-muted);
    font-family: Inter, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.75;
  }

  .tm-work--green .tm-work__heading h2 {
    color: var(--tm-work-white);
  }

  .tm-work--green .tm-work__heading p {
    color: rgba(255, 255, 255, 0.74);
  }


  /* =========================================================
     SHARED PHOTOGRAPH STYLING
  ========================================================= */

  .tm-work__gallery {
    display: grid;
    min-width: 0;
    gap: 18px;
  }

  .tm-work__photo {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--tm-work-photo-radius);
    background: #d8dbd6;
  }

  .tm-work__photo img {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
  }

  .tm-work__photo:hover img {
    transform: scale(1.025);
  }


  /* =========================================================
     COMMERCIAL SITE CLEARING
  ========================================================= */

  .tm-work__gallery--commercial {
    grid-template-columns:
      minmax(0, 1.35fr)
      minmax(260px, 0.65fr);
    grid-template-rows: repeat(2, minmax(300px, 1fr));
  }

  .tm-work__photo--commercial-main {
    grid-row: 1 / 3;
    min-height: 720px;
  }

  .tm-work__photo--commercial-main img {
    object-position: center 65%;
  }


  /* =========================================================
     WOOD GRINDING
  ========================================================= */

  .tm-work__gallery--grinding {
    grid-template-columns:
      minmax(0, 1.15fr)
      minmax(230px, 0.7fr)
      minmax(230px, 0.7fr);
    grid-template-rows: repeat(2, minmax(310px, 1fr));
  }

  .tm-work__photo--grinding-main {
    grid-row: 1 / 3;
    min-height: 720px;
  }

  .tm-work__photo--grinding-wide {
    grid-column: 2 / 4;
  }


  /* =========================================================
     DRAINAGE
  ========================================================= */

  .tm-work__gallery--drainage {
    grid-template-columns: 1fr;
  }

  .tm-work__photo--drainage-main {
    width: min(760px, 100%);
    aspect-ratio: 4 / 3;
  }

  .tm-work__photo--drainage-main img {
    object-position: center 70%;
  }


  /* =========================================================
     FINAL CTA
  ========================================================= */

  .tm-work-cta {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto 26px;
    padding: 64px 0;
    overflow: hidden;
    border-radius: var(--tm-work-radius);
    background: var(--tm-work-green);
    color: #ffffff;
  }

  .tm-work-cta__wrap {
    display: grid;
    width: min(1140px, calc(100% - 48px));
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 55px;
    align-items: center;
  }

  .tm-work-cta__eyebrow {
    margin: 0 0 12px;
    color: var(--tm-work-gold);
    font-family: Inter, Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .tm-work-cta h2 {
    max-width: 760px;
    margin: 0;
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-size: clamp(42px, 5vw, 65px);
    font-weight: 800;
    line-height: 0.98;
    text-transform: uppercase;
  }

  .tm-work-cta p:not(.tm-work-cta__eyebrow) {
    max-width: 720px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
  }

  .tm-work-cta__button {
    display: inline-flex;
    min-height: 52px;
    padding: 0 26px;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--tm-work-green) !important;
    font-family: Inter, Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-decoration: none !important;
    text-transform: uppercase;
    transition:
      transform 180ms ease,
      background 180ms ease;
  }

  .tm-work-cta__button:hover {
    transform: translateY(-2px);
    background: #f3f4f1;
  }


  /* =========================================================
     TABLET
  ========================================================= */

  @media screen and (max-width: 900px) {

    .tm-work__gallery--commercial {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-rows: auto;
    }

    .tm-work__photo--commercial-main {
      grid-column: 1 / 3;
      grid-row: auto;
      min-height: 0;
      aspect-ratio: 16 / 10;
    }

    .tm-work__gallery--grinding {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-rows: auto;
    }

    .tm-work__photo--grinding-main {
      grid-column: 1 / 3;
      grid-row: auto;
      min-height: 0;
      aspect-ratio: 16 / 10;
    }

    .tm-work__photo--grinding-wide {
      grid-column: 1 / 3;
      aspect-ratio: 16 / 9;
    }

    .tm-work-cta__wrap {
      grid-template-columns: 1fr;
      gap: 30px;
    }

    .tm-work-cta__button {
      width: max-content;
    }
  }


  /* =========================================================
     MOBILE
  ========================================================= */

  @media screen and (max-width: 650px) {

    .tm-work-intro,
    .tm-work,
    .tm-work-cta {
      width: calc(100% - 16px);
      margin-bottom: 16px;
      border-radius: 21px;
    }

    .tm-work-intro {
      padding: 26px 0 40px;
    }

    .tm-work-intro__wrap,
    .tm-work__wrap,
    .tm-work-cta__wrap {
      width: calc(100% - 28px);
    }

    .tm-work-intro h1 {
      font-size: clamp(34px, 10vw, 46px);
      line-height: 1.08;
    }

    .tm-work-intro__copy {
      margin-top: 14px;
      font-size: 15px;
      line-height: 1.7;
    }

    .tm-work {
      padding: 58px 0;
    }

    .tm-work__heading {
      gap: 12px;
      margin-bottom: 32px;
    }

    .tm-work__line {
      width: 27px;
      height: 3px;
      flex-basis: 27px;
      margin-top: 9px;
    }

    .tm-work__heading h2 {
      font-size: clamp(43px, 13vw, 59px);
    }

    .tm-work__heading p {
      margin-top: 18px;
      font-size: 14px;
      line-height: 1.7;
    }

    .tm-work__gallery--commercial,
    .tm-work__gallery--grinding,
    .tm-work__gallery--drainage {
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: auto;
      gap: 14px;
    }

    .tm-work__photo--commercial-main,
    .tm-work__photo--grinding-main,
    .tm-work__photo--grinding-wide,
    .tm-work__photo--drainage-main,
    .tm-work__gallery--commercial .tm-work__photo,
    .tm-work__gallery--grinding .tm-work__photo {
      grid-column: auto;
      grid-row: auto;
      width: 100%;
      min-height: 0;
      aspect-ratio: 4 / 5;
    }

    .tm-work__photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .tm-work-cta {
      padding: 54px 0;
    }

    .tm-work-cta__button {
      width: 100%;
    }
  }


  /* =========================================================
     REDUCED MOTION
  ========================================================= */

  @media (prefers-reduced-motion: reduce) {

    .tm-work__photo img {
      transition: none;
    }

    .tm-work__photo:hover img {
      transform: none;
    }
  }


/* New demolition gallery follows the existing Our Work design language. */
.tm-demolition__photos {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:26px}
.tm-demolition__photos .tm-work__photo {min-height:0;aspect-ratio:4/3;position:relative;margin:0}
.tm-demolition__photos .tm-work__photo img {width:100%;height:100%;object-fit:cover}
.tm-demolition__photos figcaption {position:absolute;bottom:0;left:0;right:0;padding:32px 15px 14px;background:linear-gradient(transparent,rgba(0,0,0,.62));color:#fff;font:600 13px Inter,Arial,sans-serif}
.tm-demolition__film {max-width:960px;margin:46px auto 0}
.tm-demolition__film-label {font:700 14px Inter,Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;margin-bottom:14px}
.tm-demolition__film video {display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#0d0f0e;border-radius:16px}
@media(max-width:650px) {.tm-demolition__photos {grid-template-columns:1fr;gap:14px}.tm-demolition__photos .tm-work__photo {aspect-ratio:4/3}.tm-demolition__film {margin-top:34px}.tm-demolition__film video {border-radius:12px}}
