/* Focused homepage redesign. The original HMT palette and typography remain in styles.css. */
.hmt-site .project-showcase {
  padding: 96px var(--pad) 100px;
  background: var(--paper);
}
.project-showcase .showcase-inner {
  max-width: 1700px;
  margin: auto;
}
.hmt-site .project-showcase h2 {
  max-width: 1050px;
  margin: 0 0 58px;
  font-size: clamp(44px, 5.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--ink);
}
.project-layout {
  display: grid;
  grid-template-areas: 'thumb image detail';
  grid-template-columns: 108px minmax(0, 1.35fr) minmax(350px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}
.project-thumbnails {
  grid-area: thumb;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.project-thumbnail {
  position: relative;
  width: 100%;
  height: calc((560px - 28px) / 3);
  padding: 0;
  border: 2px solid transparent;
  background: #ddd;
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 0.25s,
    transform 0.3s;
}
.project-thumbnail[aria-pressed='true'] {
  border-color: var(--accent);
}
.project-thumbnail:hover {
  transform: translateX(4px);
}
.project-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-thumbnail span {
  position: absolute;
  bottom: 6px;
  right: 6px;
  padding: 3px 5px;
  background: #111c;
  color: white;
  font-size: 12px;
  font-weight: 700;
}
.project-main-image {
  grid-area: image;
  position: relative;
  display: block;
  height: 560px;
  padding: 0;
  border: 0;
  background: #252525;
  overflow: hidden;
  text-align: left;
  cursor: zoom-in;
}
.project-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.25s,
    transform 0.7s var(--ease);
}
.project-main-image:hover img {
  transform: scale(1.035);
}
.project-image-expand {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: #fff;
  font-size: 24px;
}
.project-information {
  grid-area: detail;
  min-height: 560px;
  padding: clamp(28px, 3vw, 52px);
  background: #fff;
  border: 1px solid var(--line);
}
.project-information-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.project-number {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.project-information h3 {
  font-size: clamp(31px, 3vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 50px 0 24px;
  color: var(--ink);
}
.project-information p {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.6;
  color: #484848;
  margin: 0 0 auto;
}
.project-scope-label {
  padding-top: 26px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.project-information ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.project-information li {
  padding: 9px 0;
  border-bottom: 1px solid #eee;
  font-size: 15px;
  line-height: 1.35;
  color: #222;
}
.project-information li::before {
  content: '↗';
  margin-right: 10px;
  color: var(--accent);
}
.project-image-dialog {
  max-width: min(94vw, 1500px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: #111;
  box-shadow: 0 30px 90px #0008;
}
.project-image-dialog::backdrop {
  background: #000d;
}
.project-image-dialog img {
  display: block;
  max-width: 94vw;
  max-height: 92vh;
  object-fit: contain;
}
.project-image-dialog button {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  background: #111c;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.hmt-site .greenfield-wheel-section {
  padding: 86px 0 20px;
  background: var(--paper);
  overflow: hidden;
}
.wheel-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 44px;
  padding: 0 var(--pad);
  max-width: 1800px;
  margin: auto;
}
.wheel-intro > div {
  max-width: 750px;
}
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 15px;
  font-weight: 700;
}
.hmt-site .wheel-intro h2 {
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1.04;
  color: var(--ink);
  margin: 0;
}
.wheel-intro > p {
  max-width: 460px;
  margin: 0 0 7px;
  color: #545454;
  font-size: 18px;
  line-height: 1.55;
}
.wheel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 24px var(--pad) 0;
}
.wheel-controls button,
.brownfield-strip-controls button,
.industry-rail-controls button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #c7c7c1;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 20px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.wheel-controls button:hover,
.brownfield-strip-controls button:hover,
.industry-rail-controls button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.wheel-stage {
  position: relative;
  height: 560px;
  perspective: 1300px;
  perspective-origin: 50% 35%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  isolation: isolate;
  outline-offset: -5px;
  cursor: ew-resize;
}
.wheel-stage::-webkit-scrollbar {
  display: none;
}
.wheel-stage::before {
  content: '';
  position: sticky;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 0;
  box-shadow: 0 0 100px 65px #e8e6df33;
  pointer-events: none;
}
.wheel-stage::after {
  content: '';
  position: sticky;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 160px;
  margin-top: -160px;
  border-radius: 50% 50% 0 0;
  background: var(--paper);
  transform: translateY(107px);
  pointer-events: none;
  z-index: 4;
}
.wheel-track {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  width: max-content;
  min-width: 100%;
  height: 100%;
  padding: 0 var(--pad) 36px;
}
.wheel-card {
  position: relative;
  flex: 0 0 clamp(230px, 22vw, 350px);
  width: clamp(230px, 22vw, 350px);
  height: 475px;
  padding: 0;
  border: 0;
  background: #262626;
  color: #fff;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  transform-origin: 50% 100%;
  backface-visibility: hidden;
  will-change: transform;
}
.wheel-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.65s var(--ease);
}
.wheel-card:hover img {
  transform: scale(1.06);
}
.wheel-card-shade {
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, #000b);
}
.wheel-card-title {
  position: absolute;
  left: 22px;
  right: 20px;
  bottom: 67px;
  font-size: clamp(23px, 2.3vw, 35px);
  line-height: 1.06;
  font-weight: 700;
  text-shadow: 0 2px 8px #000;
}

.hmt-site .brownfield-photo-section {
  padding: 54px 0 66px;
  background: #111;
  overflow: hidden;
}
.brownfield-strip-controls {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 0 var(--pad) 18px;
}
.brownfield-photo-row {
  display: flex;
  gap: 18px;
  padding: 0 var(--pad) 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: none;
  cursor: ew-resize;
}
.brownfield-photo-row::-webkit-scrollbar,
.industry-thumbnail-rail::-webkit-scrollbar {
  display: none;
}
.brownfield-photo {
  flex: 0 0 clamp(230px, 26vw, 370px);
  height: 540px;
  overflow: hidden;
  background: #fff;
  color: #111;
}
.brownfield-photo img {
  display: block;
  width: 100%;
  height: 355px;
  object-fit: cover;
  filter: saturate(0.9);
  transition:
    transform 0.7s var(--ease),
    filter 0.35s;
}
.brownfield-photo:hover img {
  transform: scale(1.045);
  filter: saturate(1.1);
}
.brownfield-photo-details {
  position: relative;
  height: 185px;
  padding: 35px 20px 20px;
  background: #fff;
}
.brownfield-photo-details > span {
  position: absolute;
  top: 19px;
  right: 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.brownfield-photo-details h3 {
  max-width: 13ch;
  margin: 50px 0 0;
  color: #111;
  font-size: clamp(21px, 1.75vw, 29px);
  line-height: 1.1;
  font-weight: 700;
}

.hmt-site .industry-cinema-section {
  padding: 0;
  background: #111;
}
.industry-cinema-stage {
  position: relative;
  width: 100%;
  height: calc(100svh - 80px);
  min-height: 660px;
  margin: 0;
  overflow: clip;
  background: #111;
  color: #fff;
}
.industry-feature-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.25s,
    transform 1s var(--ease);
}
.industry-cinema-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #000d 0%, #0008 39%, #0002 80%),
    linear-gradient(0deg, #000b, transparent 65%);
}
.industry-feature-copy {
  position: absolute;
  left: 4%;
  top: 15%;
  width: min(38%, 490px);
  z-index: 1;
  text-shadow: 0 2px 10px #0008;
}
.industry-feature-copy > p {
  margin: 0 0 18px;
  color: #ff8c60;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.hmt-site .industry-feature-copy h2 {
  color: #fff;
  font-size: clamp(43px, 4.3vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  opacity: 1 !important;
  transform: none !important;
}
.industry-feature-copy > span {
  display: block;
  max-width: 380px;
  font-size: 19px;
  line-height: 1.45;
  color: #fff;
}
.industry-rail-wrap {
  position: absolute;
  z-index: 2;
  right: 4%;
  bottom: 6%;
  width: min(63%, 950px);
}
.industry-rail-controls {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-bottom: 12px;
}
.industry-thumbnail-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: none;
}

/* Every horizontal gallery accepts trackpad/touch panning in both directions. */
.hmt-site #greenfield-wheel,
.hmt-site #brownfield-row,
.hmt-site #industry-row,
.hmt-site #why-hmt .story-accordion {
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y pinch-zoom;
  scroll-behavior: auto;
  scroll-snap-type: none;
}
.video-review-page { background: #101719; color: #fff; }
.video-review-bar { display: flex; justify-content: space-between; gap: 20px; padding: 20px 4%; font-size: 13px; }
.video-review-bar a { color: #bde9ff; }
.video-review-bar span { color: #adbfc7; }
.scroll-video-review .scroll-hero-video { object-fit: contain; background: #101719; }
.scroll-video-review .scroll-hero-shade { display: none; }
.video-review-player { max-width: 1100px; margin: auto; padding: 80px 24px; }
.video-review-player h1 { font-size: clamp(32px, 5vw, 56px); margin: 16px 0; }
.video-review-player p { color: #bdd0d9; line-height: 1.7; }
.video-review-player video { display: block; width: 100%; margin: 30px 0; }
.video-review-download { display: inline-block; background: #174d6c; padding: 15px 22px; border-radius: 5px; color: white; }

.industry-thumbnail {
  position: relative;
  flex: 0 0 clamp(120px, 11vw, 160px);
  height: 138px;
  padding: 0;
  border: 0;
  background: #222;
  color: #fff;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.industry-thumbnail[aria-pressed='true'] {
  box-shadow: inset 0 -4px var(--accent);
  transform: translateY(-5px);
}
.industry-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.industry-thumbnail::after {
  content: '';
  position: absolute;
  inset: 25% 0 0;
  background: linear-gradient(transparent, #000e);
}
.industry-thumbnail span {
  position: absolute;
  z-index: 1;
  left: 9px;
  right: 7px;
  bottom: 9px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.12;
  text-shadow: 0 1px 4px #000;
}

.hmt-site .why-with-stories {
  padding-top: 65px;
}
.hmt-site .why-with-stories .why-stories-layout {
  margin-top: 0 !important;
}

@media (max-width: 1100px) {
  .project-layout {
    grid-template-columns: 90px minmax(0, 1fr) minmax(270px, 0.75fr);
  }
  .project-thumbnail {
    height: calc((500px - 28px) / 3);
  }
  .project-main-image,
  .project-information {
    height: 500px;
    min-height: 500px;
  }
  .project-information {
    padding: 28px;
  }
  .project-information h3 {
    margin-top: 30px;
  }
  .wheel-stage {
    height: 525px;
  }
  .wheel-card {
    height: 435px;
  }
  .industry-cinema-stage {
    min-height: 620px;
  }
}
@media (max-width: 800px) {
  .hmt-site .project-showcase {
    padding: 72px var(--pad);
  }
  .hmt-site .project-showcase h2 {
    margin-bottom: 34px;
  }
  .project-layout {
    grid-template-areas: 'thumb thumb' 'image detail';
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  }
  .project-thumbnails {
    flex-direction: row;
  }
  .project-thumbnail {
    height: 100px;
    flex: 1;
  }
  .project-main-image,
  .project-information {
    height: 510px;
    min-height: 510px;
  }
  .wheel-intro {
    display: block;
  }
  .wheel-intro > p {
    margin-top: 16px;
  }
  .industry-feature-copy {
    width: 52%;
  }
  .industry-rail-wrap {
    width: 78%;
  }
}
@media (max-width: 600px) {
  .hmt-site .project-showcase {
    padding: 62px 22px 72px;
  }
  .hmt-site .project-showcase h2 {
    font-size: clamp(42px, 12vw, 60px);
    margin-bottom: 30px;
  }
  .project-layout {
    display: grid;
    grid-template-areas: 'thumb' 'image' 'detail';
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .project-thumbnails {
    gap: 9px;
  }
  .project-thumbnail {
    height: 100px;
  }
  .project-thumbnail:hover {
    transform: none;
  }
  .project-main-image {
    height: 410px;
    min-height: 0;
  }
  .project-information {
    height: auto;
    min-height: 0;
    padding: 27px 25px 30px;
  }
  .project-information h3 {
    font-size: 37px;
    margin: 21px 0 18px;
  }
  .project-information p {
    font-size: 16px;
  }
  .project-scope-label {
    margin-top: 24px;
  }
  .hmt-site .greenfield-wheel-section {
    padding-top: 58px;
  }
  .wheel-intro {
    padding: 0 22px;
  }
  .hmt-site .wheel-intro h2 {
    font-size: 40px;
  }
  .wheel-intro > p {
    font-size: 16px;
  }
  .wheel-controls {
    padding: 15px 22px 0;
  }
  .wheel-stage {
    height: 425px;
    perspective: 950px;
  }
  .wheel-track {
    padding: 0 22px 25px;
    gap: 4px;
  }
  .wheel-card {
    flex-basis: 72vw;
    width: 72vw;
    max-width: 300px;
    height: 355px;
  }
  .wheel-card-title {
    font-size: 25px;
    left: 18px;
    bottom: 65px;
  }
  .wheel-stage::after {
    height: 135px;
    margin-top: -135px;
    transform: translateY(90px);
  }
  .hmt-site .brownfield-photo-section {
    padding: 40px 0 48px;
  }
  .brownfield-photo-row {
    padding-left: 22px;
    padding-right: 22px;
  }
  .brownfield-photo {
    flex-basis: 74vw;
    height: 455px;
  }
  .brownfield-photo img {
    height: 300px;
  }
  .brownfield-photo-details {
    height: 155px;
    padding: 20px;
  }
  .brownfield-photo-details h3 {
    font-size: 23px;
    margin-top: 38px;
  }
  .brownfield-strip-controls {
    padding-right: 22px;
  }
  .hmt-site .industry-cinema-section {
    padding: 0;
  }
  .industry-cinema-stage {
    height: calc(100svh - 70px);
    min-height: 650px;
  }
  .industry-feature-image {
    object-position: center;
  }
  .industry-cinema-shade {
    background: linear-gradient(180deg, #0008, #0003 42%, #000e);
  }
  .industry-feature-copy {
    top: 7%;
    left: 22px;
    width: calc(100% - 44px);
  }
  .hmt-site .industry-feature-copy h2 {
    font-size: 43px;
    max-width: 11ch;
  }
  .industry-feature-copy > span {
    font-size: 16px;
    max-width: 30ch;
  }
  .industry-rail-wrap {
    right: 0;
    bottom: 30px;
    width: 100%;
  }
  .industry-rail-controls {
    padding-right: 22px;
  }
  .industry-thumbnail-rail {
    padding: 0 22px;
  }
  .industry-thumbnail {
    flex-basis: 130px;
    height: 125px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .project-main-image img,
  .wheel-card img,
  .brownfield-photo img,
  .industry-feature-image,
  .industry-thumbnail {
    transition: none;
  }
}

/* The three project photographs behave like a compact product-image selector. */
.project-layout {
  grid-template-columns: 78px minmax(340px, 520px) minmax(340px, 1fr);
  column-gap: 30px;
}
.project-thumbnails {
  gap: 0;
  overflow: hidden;
}
.project-thumbnail {
  height: calc(620px / 3);
  border: 0;
  border-left: 3px solid transparent;
  filter: saturate(0.72);
  transition:
    filter 0.3s,
    border-color 0.3s;
}
.project-thumbnail[aria-pressed='true'] {
  border-color: var(--accent);
  filter: saturate(1);
}
.project-thumbnail:hover {
  transform: none;
  filter: saturate(1);
}
.project-thumbnail span {
  display: none;
}
.project-main-image {
  height: 620px;
  border-radius: 49% 49% 0 0 / 24% 24% 0 0;
  background: transparent;
}
.project-main-image img {
  object-position: center;
}
.project-information {
  height: 620px;
  min-height: 620px;
  padding: 30px clamp(20px, 3vw, 50px);
  background: transparent;
  border: 0;
}
.project-information h3 {
  margin-top: 60px;
}
.project-written-title span {
  display: inline-block;
  white-space: nowrap;
}
.hmt-site.motion-ready .project-written-title span {
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transition:
    clip-path 0.7s var(--ease),
    opacity 0.4s;
  transition-delay: calc((3 - var(--word)) * 0.07s);
}
.project-written-title span:nth-child(1) {
  --word: 0;
}
.project-written-title span:nth-child(2) {
  --word: 1;
}
.project-written-title span:nth-child(3) {
  --word: 2;
}
.hmt-site.motion-ready .project-showcase.is-in-view .project-written-title span {
  clip-path: inset(0);
  opacity: 1;
  transition-delay: calc(var(--word) * 0.18s);
}

/* Plain written process labels: two rows, replaying as the section enters and exits. */
.hmt-site .process-journey {
  position: relative;
  padding: 112px var(--pad) 130px;
  background: var(--paper);
  overflow: hidden;
}
.process-journey-inner {
  max-width: 1700px;
  margin: 0 auto;
}
.hmt-site .process-journey h2 {
  margin: 0 0 85px;
  color: var(--ink);
  font-size: clamp(42px, 4.4vw, 68px);
}
.process-writing-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 85px 24px;
}
.process-written-step {
  position: relative;
  min-height: 112px;
  padding: 0 5px 0 0;
}
.process-written-step::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -17px;
  height: 1px;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(1);
}
.process-written-number {
  display: block;
  margin-bottom: 15px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.process-written-label {
  display: block;
  max-width: 18ch;
  color: var(--ink);
  font-size: clamp(18px, 1.45vw, 25px);
  font-weight: 700;
  line-height: 1.16;
}
.hmt-site.motion-ready .process-written-number,
.hmt-site.motion-ready .process-written-label {
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transition:
    clip-path 0.5s var(--ease),
    opacity 0.3s ease;
  transition-delay: calc((13 - var(--step)) * 0.035s);
}
.hmt-site.motion-ready .process-written-step::after {
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
  transition-delay: calc((13 - var(--step)) * 0.035s);
}
.hmt-site.motion-ready .process-journey.is-in-view .process-written-number,
.hmt-site.motion-ready .process-journey.is-in-view .process-written-label {
  clip-path: inset(0);
  opacity: 1;
  transition-delay: calc(var(--step) * 0.125s);
}
.hmt-site.motion-ready .process-journey.is-in-view .process-written-step::after {
  transform: scaleX(1);
  transition-delay: calc(var(--step) * 0.125s + 0.15s);
}

/* Four distinct enquiry forms share one rotating surface. */
.hmt-site .contact-desk {
  padding: 100px var(--pad) 115px;
  background: #f4f3ef;
}
.contact-desk-inner {
  max-width: 1700px;
  margin: 0 auto;
}
.hmt-site .contact-desk h2 {
  max-width: 950px;
  margin: 0;
  font-size: clamp(40px, 4.5vw, 70px);
  line-height: 1.05;
  color: var(--ink);
}
.contact-intro {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: #555;
}
.contact-intents {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 48px 0 34px;
}
.contact-intent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 180px;
  padding: 23px 22px;
  border: 1px solid #cecec8;
  background: #fff;
  color: #171717;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.25s,
    border-color 0.25s,
    background 0.25s,
    color 0.25s;
}
.contact-intent:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}
.contact-intent[aria-pressed='true'] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.contact-intent-index {
  display: block;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--accent);
}
.contact-intent[aria-pressed='true'] .contact-intent-index {
  color: #fff;
}
.contact-intent strong {
  font-size: 21px;
  line-height: 1.1;
}
.contact-intent > span:last-child {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.35;
  color: #666;
}
.contact-intent[aria-pressed='true'] > span:last-child {
  color: #fff;
}
.contact-form-perspective {
  perspective: 1600px;
  scroll-margin-top: 110px;
}
.contact-form-stage {
  min-height: 640px;
  padding: clamp(25px, 4vw, 58px);
  background: #fff;
  box-shadow: 0 18px 45px #0000000b;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition:
    transform 0.38s ease-in,
    opacity 0.38s ease-in;
}
.contact-form-stage.is-turning {
  transform: rotateY(-90deg) scale(0.96);
  opacity: 0.55;
}
.contact-form-stage.is-returning {
  transition:
    transform 0.5s var(--ease),
    opacity 0.5s var(--ease);
}
.contact-variant-form[hidden] {
  display: none !important;
}
.contact-form-heading {
  margin-bottom: 36px;
}
.contact-form-heading > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.contact-form-heading h3 {
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: clamp(33px, 3vw, 48px);
  line-height: 1.1;
}
.contact-form-heading p {
  margin: 0;
  color: #555;
  font-size: 17px;
}
.contact-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}
.contact-field {
  display: block;
  color: #555;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-field > span {
  color: var(--accent);
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  display: block;
  width: 100%;
  margin-top: 9px;
  padding: 15px 16px;
  border: 1px solid #d8d8d2;
  background: #f8f8f6;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  outline: none;
  transition: border-color 0.2s;
}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--accent);
}
.contact-message {
  margin-top: 20px;
}
.contact-honeypot {
  position: absolute;
  left: -9999px;
}
.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
  padding: 16px 25px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.contact-submit:hover {
  background: #df4617;
}

/* Industrial artwork sits behind the footer without weakening text contrast. */
.hmt-site footer.hmt-footer {
  background: #121414;
  color: #fff;
  isolation: isolate;
}
.hmt-site footer.hmt-footer::before {
  content: '';
  position: absolute;
  inset: -8px;
  background: url('/assets/hmt/factory-setup.webp') center/cover no-repeat;
  filter: grayscale(1) blur(2px) contrast(1.25);
  opacity: 0.5;
  z-index: 0;
}
.hmt-site footer.hmt-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #101313c9, #101313b4);
  pointer-events: none;
  z-index: 0;
}
.hmt-site footer.hmt-footer > .relative {
  z-index: 1;
}
.hmt-site footer.hmt-footer .text-text-primary {
  color: #fff;
}
.hmt-site footer.hmt-footer .text-text-secondary {
  color: #e9e9e5cb;
}
.hmt-site footer.hmt-footer .bg-background\/60 {
  background: #0e1010b8;
}
.hmt-site footer.hmt-footer a:hover {
  color: var(--accent);
}
.footer-safety-tail {
  height: 76px !important;
  background: #111;
  overflow: hidden;
  z-index: 1;
}
.footer-safety-tail > div:first-child {
  top: 0 !important;
  height: 76px !important;
  transform: none !important;
}
.wheel-stage,
.brownfield-photo-row,
.wheel-card {
  cursor: default;
}

@media (max-width: 1100px) {
  .project-layout {
    grid-template-columns: 64px minmax(280px, 0.95fr) minmax(270px, 1fr);
    column-gap: 22px;
  }
  .project-thumbnail {
    height: calc(560px / 3);
  }
  .project-main-image,
  .project-information {
    height: 560px;
    min-height: 560px;
  }
  .process-writing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 55px 20px;
  }
}
@media (max-width: 800px) {
  .project-layout {
    grid-template-areas: 'thumb image' 'detail detail';
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 0 18px;
  }
  .project-thumbnails {
    flex-direction: column;
  }
  .project-thumbnail {
    flex: none;
    height: calc(520px / 3);
  }
  .project-main-image {
    height: 520px;
    min-height: 0;
  }
  .project-information {
    height: auto;
    min-height: 0;
    padding: 30px 0 0;
  }
  .project-information h3 {
    margin-top: 24px;
  }
  .contact-intents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .hmt-site .project-showcase {
    padding-bottom: 65px;
  }
  .project-layout {
    grid-template-areas: 'thumb image' 'detail detail';
    grid-template-columns: 53px minmax(0, 1fr);
    gap: 0 10px;
  }
  .project-thumbnail {
    height: calc(390px / 3);
  }
  .project-main-image {
    height: 390px;
    min-height: 0;
    border-radius: 48% 48% 0 0 / 19% 19% 0 0;
  }
  .project-written-title span {
    white-space: normal;
  }
  .project-information {
    padding: 25px 0 0;
  }
  .project-information h3 {
    font-size: 34px;
  }
  .project-information p {
    margin-bottom: 25px;
  }
  .hmt-site .process-journey {
    padding: 72px 22px 90px;
  }
  .hmt-site .process-journey h2 {
    margin-bottom: 55px;
    font-size: 40px;
  }
  .process-writing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 43px 20px;
  }
  .process-written-step {
    min-height: 112px;
  }
  .process-written-label {
    font-size: 18px;
  }
  .hmt-site .contact-desk {
    padding: 72px 22px 88px;
  }
  .hmt-site .contact-desk h2 {
    font-size: 40px;
  }
  .contact-intro {
    font-size: 16px;
  }
  .contact-intents {
    gap: 8px;
    margin: 32px 0 25px;
  }
  .contact-intent {
    min-height: 185px;
    padding: 17px 13px;
  }
  .contact-intent strong {
    font-size: 17px;
  }
  .contact-intent > span:last-child {
    font-size: 12px;
  }
  .contact-form-stage {
    min-height: 0;
    padding: 24px 18px;
  }
  .contact-fields-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-safety-tail,
  .footer-safety-tail > div:first-child {
    height: 64px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-form-stage,
  .contact-intent,
  .project-written-title span,
  .process-written-number,
  .process-written-label,
  .process-written-step::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Client photograph and motion pass. */
.hmt-site .project-showcase {
  padding-top: 54px;
  padding-bottom: 48px;
}
.hmt-site .project-showcase h2 {
  margin-bottom: 30px;
  font-size: clamp(42px, 4.8vw, 76px);
}
.project-layout {
  grid-template-columns: 68px minmax(300px, 430px) minmax(340px, 1fr);
  column-gap: 25px;
  perspective: 1500px;
}
.project-thumbnail {
  height: calc(580px / 3);
}
.project-main-image {
  height: 580px;
  transform-origin: 50% 65%;
  transition:
    transform 0.45s var(--ease),
    opacity 0.3s;
}
.project-main-image.is-switching {
  transform: rotateY(-18deg) rotateZ(-2deg) scale(0.96);
  opacity: 0;
}
.project-main-image img {
  object-position: center center;
}
.project-information {
  height: auto;
  min-height: 0;
  padding: 20px 28px;
  align-self: center;
  transition:
    opacity 0.3s,
    transform 0.4s var(--ease);
}
.project-information.is-switching {
  opacity: 0;
  transform: translateY(14px);
}
.project-information-panel {
  height: auto;
  display: block;
}
.project-information h3 {
  margin: 24px 0 22px;
  font-size: clamp(31px, 3vw, 47px);
}
.project-information p {
  margin: 0 0 25px;
  font-size: 18px;
  line-height: 1.55;
}
.project-scope-label {
  margin-top: 20px;
  padding-top: 20px;
}
.project-information ul {
  margin-top: 13px;
}
.project-information li {
  padding: 10px 0;
}
.hmt-site .greenfield-wheel-section {
  padding-top: 44px;
  padding-bottom: 16px;
}
.wheel-stage {
  height: 530px;
}
.wheel-card {
  height: 450px;
}
.wheel-intro > div {
  max-width: 720px;
}
.hmt-site .brownfield-photo-section {
  padding-top: 28px;
  padding-bottom: 32px;
}
.brownfield-photo-row {
  gap: 12px;
}
.brownfield-photo {
  height: 480px;
}
.brownfield-photo img {
  height: 370px;
}
.brownfield-photo-details {
  height: 110px;
  padding: 20px;
}
.brownfield-photo-details > span {
  top: 10px;
  right: 13px;
  font-size: 12px;
}
.brownfield-photo-details h3 {
  max-width: 22ch;
  margin: 17px 0 0;
  font-size: 23px;
}
.hmt-site .why-with-stories {
  padding-top: 28px;
  padding-bottom: 16px;
}

/* Straight safety ribbons at both ends of the homepage. */
.hero-tape-slope:not(section):not(footer) > div > div.relative {
  transform: none !important;
  rotate: 0deg !important;
}
.hmt-site footer.footer-tape-clip {
  clip-path: none !important;
}
.footer-safety-tail,
.footer-safety-tail > div:first-child {
  height: 60px !important;
}

/* Illustrated, connected process sequence. */
.hmt-site .process-journey {
  padding: 32px var(--pad) 48px;
}
.hmt-site .process-journey h2 {
  margin-bottom: 36px;
  font-size: clamp(39px, 4vw, 60px);
}
.process-writing-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 45px 28px;
}
.process-written-step {
  grid-column: var(--column);
  grid-row: var(--row);
  min-height: 185px;
  padding: 0;
  text-align: center;
}
.process-vector {
  display: block;
  width: 86px;
  height: 86px;
  margin: 0 auto 12px;
  color: #1b1b1b;
  overflow: visible;
}
.process-written-number {
  margin-bottom: 7px;
  font-size: 12px;
}
.process-written-label {
  max-width: 21ch;
  margin: auto;
  font-size: 18px;
  line-height: 1.2;
}
.process-written-step::after {
  content: '→';
  position: absolute;
  left: auto;
  right: -26px;
  top: 32px;
  bottom: auto;
  width: auto;
  height: auto;
  background: none;
  color: var(--accent);
  font-size: 32px;
  line-height: 1;
  transform: none !important;
  opacity: 1;
  transition: opacity 0.4s;
}
.process-written-step:nth-child(7)::after {
  content: '↓';
  top: auto;
  right: calc(50% - 12px);
  bottom: -43px;
}
.process-written-step:nth-child(n + 8)::after {
  content: '←';
  right: auto;
  left: -26px;
}
.process-written-step:last-child::after {
  display: none;
}
.hmt-site.motion-ready .process-written-step::after {
  opacity: 0;
}
.hmt-site.motion-ready .process-journey.is-in-view .process-written-step::after {
  opacity: 1;
}
.hmt-site.motion-ready .process-vector :is(path, circle, rect) {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 0.95s var(--ease);
  transition-delay: calc(var(--step) * 0.085s);
}
.hmt-site.motion-ready .process-journey.is-in-view .process-vector :is(path, circle, rect) {
  stroke-dashoffset: 0;
}
.process-journey.is-in-view .vector-motion {
  animation: process-work 2.6s ease-in-out infinite;
  animation-delay: calc(var(--step) * 0.09s);
}
.process-journey.is-in-view .vector-clock {
  transform-origin: 45px 44px;
  animation: process-clock 7s linear infinite;
}
@keyframes process-work {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
@keyframes process-clock {
  to {
    transform: rotate(360deg);
  }
}
.hmt-site .contact-desk {
  padding-top: 58px;
  padding-bottom: 65px;
}
.contact-intents {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}
.contact-intent {
  min-height: 160px;
}

@media (max-width: 1100px) {
  .project-layout {
    grid-template-columns: 60px minmax(280px, 0.9fr) minmax(290px, 1fr);
    column-gap: 20px;
  }
  .project-information {
    padding: 10px 15px;
  }
  .process-writing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 35px 28px;
  }
  .process-written-step {
    grid-column: auto;
    grid-row: auto;
    min-height: 200px;
  }
  .process-written-step:nth-child(n)::after {
    content: '→';
    left: auto;
    right: -26px;
    top: 32px;
    bottom: auto;
  }
  .process-written-step:nth-child(4n)::after {
    display: none;
  }
}
@media (max-width: 800px) {
  .project-layout {
    grid-template-areas: 'thumb image' 'detail detail';
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 0 18px;
  }
  .project-main-image {
    height: 540px;
  }
  .project-thumbnail {
    height: 180px;
  }
  .project-information {
    padding: 25px 0 0;
  }
  .project-information h3 {
    margin-top: 20px;
  }
  .contact-intents {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .hmt-site .project-showcase {
    padding: 38px 22px;
  }
  .hmt-site .project-showcase h2 {
    font-size: 42px;
    margin-bottom: 24px;
  }
  .project-layout {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 0 10px;
  }
  .project-main-image {
    height: 400px;
  }
  .project-thumbnail {
    height: calc(400px / 3);
  }
  .project-information h3 {
    font-size: 32px;
  }
  .project-information p {
    font-size: 16px;
  }
  .hmt-site .greenfield-wheel-section {
    padding-top: 32px;
  }
  .wheel-stage {
    height: 420px;
  }
  .wheel-card {
    height: 355px;
  }
  .brownfield-photo {
    height: 420px;
  }
  .brownfield-photo img {
    height: 315px;
  }
  .brownfield-photo-details {
    height: 105px;
  }
  .brownfield-photo-details h3 {
    font-size: 21px;
  }
  .hmt-site .process-journey {
    padding: 35px 22px 45px;
  }
  .hmt-site .process-journey h2 {
    font-size: 38px;
    margin-bottom: 30px;
  }
  .process-writing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 25px;
  }
  .process-written-step {
    min-height: 180px;
  }
  .process-vector {
    width: 80px;
    height: 80px;
  }
  .process-written-label {
    font-size: 17px;
  }
  .process-written-step:nth-child(2n)::after {
    display: none;
  }
  .hmt-site .contact-desk {
    padding: 45px 22px 55px;
  }
  .contact-intents {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 24px;
  }
  .contact-intent {
    min-height: 0;
    padding: 18px 20px;
  }
  .contact-intent-index {
    margin-bottom: 9px;
  }
  .contact-intent strong {
    font-size: 21px;
  }
  .contact-intent > span:last-child {
    font-size: 14px;
  }
  .footer-safety-tail,
  .footer-safety-tail > div:first-child {
    height: 50px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .process-vector * {
    animation: none !important;
    transition: none !important;
    stroke-dashoffset: 0 !important;
  }
  .project-main-image,
  .project-information {
    transition: none !important;
  }
}

/* Preserve the headings printed into the supplied service posters. */
.wheel-card img {
  object-position: center top;
}
.hmt-site footer.hmt-footer::before {
  background-image: url('/assets/hmt/client-why-execution.webp');
  background-position: center 44%;
}

/* A single route carries the process signal from one illustrated stage to the next. */
.process-sequence {
  position: relative;
}
.process-connector {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.process-rail {
  stroke: #d6d2c9;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.process-progress {
  stroke: #171717;
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.process-traveller {
  fill: #171717;
  transition: opacity 0.3s;
}
.process-journey:not(.is-in-view) .process-traveller {
  opacity: 0;
}
.process-journey:not(.is-in-view) .process-progress {
  transition: stroke-dashoffset 0.5s;
}
.process-writing-grid {
  position: relative;
  z-index: 1;
  --process-columns: 7;
}
.process-written-step::after {
  display: none !important;
}
.process-vector {
  position: relative;
  z-index: 2;
  padding: 6px;
  box-sizing: content-box;
  background: var(--paper);
  color: #1b1b1b;
  transition: color 0.4s;
}
.process-reached .process-vector {
  color: var(--accent);
}
.hmt-site.motion-ready .process-vector :is(path, circle, rect) {
  stroke-dasharray: none !important;
  stroke-dashoffset: 0 !important;
  transition: none;
}
.process-journey .process-vector .vector-motion,
.process-journey .process-vector .vector-clock {
  animation: none;
}
.process-journey .process-current .process-vector .vector-motion {
  animation: process-work 0.9s ease-in-out infinite;
}
.process-journey .process-current .process-vector .vector-clock {
  animation: process-clock 2s linear infinite;
}
.process-current .process-vector > g {
  animation: process-active 1.2s ease-in-out infinite;
  transform-origin: 48px 48px;
}
@keyframes process-active {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.035);
  }
}
@media (max-width: 1100px) {
  .process-writing-grid {
    --process-columns: 4;
  }
}
@media (max-width: 600px) {
  .process-writing-grid {
    --process-columns: 2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .process-current .process-vector > g {
    animation: none;
  }
  .process-traveller {
    display: none;
  }
  .process-progress {
    stroke-dashoffset: 0;
  }
}

/* Scroll-scrubbed opening film: native page scrolling, then an ordinary handoff. */
.hmt-site #hero.scroll-video-hero {
  position: relative;
  height: calc(100svh + clamp(6400px, 850svh, 10000px));
  min-height: 0;
  max-height: none;
  padding: 0;
  overflow: visible;
  background: #111;
  --hero-copy-opacity: 1;
  --hero-copy-shift: 0px;
}
.scroll-hero-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #111;
}
.scroll-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Opening gate: native video keeps buffering behind the white logo screen. */
html:has(.hero-opening-loader) {
  overflow: hidden;
  overscroll-behavior: none;
}
.hero-opening-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #fff;
  color: #202020;
  outline: none;
}
.hero-opening-loader-content { width: min(280px, 80vw); text-align: center; }
.hero-opening-loader-content img { display: block; width: 200px; height: auto; margin: 0 auto 38px; }
.hero-opening-loader-caption { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: .025em; }
.hero-opening-loader-track { height: 3px; margin-top: 12px; overflow: hidden; background: #e7e7e7; }
.hero-opening-loader-track > span { display: block; height: 100%; background: #ed713b; transition: width .15s linear; }
.hero-opening-loader-content p { margin: 13px 0 0; color: #777; font-size: 10px; }
@media (prefers-reduced-motion: reduce) {
  .hero-opening-loader-track > span { transition: none; }
}
.scroll-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #000b, transparent 85%);
  opacity: var(--hero-copy-opacity);
  pointer-events: none;
}
.scroll-hero-copy {
  position: absolute;
  inset: 0;
  opacity: var(--hero-copy-opacity);
  transform: translateY(var(--hero-copy-shift));
  will-change: opacity, transform;
}
.scroll-hero-copy > div {
  height: 100%;
  min-height: 0;
  max-width: none;
  padding: 150px 6.5vw 100px;
  justify-content: center;
}
.scroll-hero-copy a[aria-label='Scroll to divisions'] {
  display: none !important;
}
.hero-copy-hidden .scroll-hero-copy {
  visibility: hidden;
  pointer-events: none;
}
.hero-copy-hidden .scroll-hero-shade {
  display: none;
}
.scroll-hero-sticky.hmt-hero > .scroll-hero-guide {
  position: absolute;
  inset: auto 5vw 30px auto;
  display: flex;
  align-items: center;
  gap: 16px;
  width: auto;
  height: auto;
  min-height: 0;
  padding: 10px 16px;
  background: #1119;
  backdrop-filter: blur(8px);
  color: white;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.scroll-hero-guide progress {
  appearance: none;
  width: 100px;
  height: 2px;
  border: 0;
  background: #ffffff50;
  color: var(--accent);
}
.scroll-hero-guide progress::-webkit-progress-bar {
  background: #ffffff50;
}
.scroll-hero-guide progress::-webkit-progress-value {
  background: var(--accent);
}
.scroll-hero-guide progress::-moz-progress-bar {
  background: var(--accent);
}
.scroll-hero-guide a {
  color: white;
  border-left: 1px solid #ffffff50;
  padding-left: 16px;
  white-space: nowrap;
}
.hero-video-failed.scroll-video-hero {
  height: 100svh !important;
}
@media (max-width: 600px) {
  .scroll-hero-copy > div {
    padding: 120px 6.5vw 110px;
  }
  .scroll-hero-sticky.hmt-hero > .scroll-hero-guide {
    left: 6.5vw;
    right: 82px;
    bottom: 22px;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    font-size: 9px;
  }
  .scroll-hero-guide progress {
    display: none;
  }
  .scroll-hero-guide a {
    padding-left: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hmt-site #hero.scroll-video-hero {
    height: 100svh;
  }
  .scroll-hero-sticky {
    position: relative;
  }
  .scroll-hero-guide > span,
  .scroll-hero-guide progress {
    display: none;
  }
  .scroll-hero-copy {
    bottom: 70px;
    pointer-events: none;
  }
  .scroll-hero-copy a {
    pointer-events: auto;
  }
  .scroll-hero-sticky.hmt-hero > .scroll-hero-guide {
    bottom: 64px;
  }
}

/* Light editorial footer, with the supplied industrial artwork along its lower edge. */
.hmt-site footer.hmt-footer {
  padding-top: 0 !important;
  background: #faf8f1;
  color: #1b1b1b;
}
.hmt-site footer.hmt-footer > div[aria-hidden='true'] {
  display: none;
}
.hmt-site footer.hmt-footer::before {
  inset: auto 0 47px 0;
  height: 300px;
  background: url('/assets/hmt/footer-panorama-clean.webp') center 50% / cover no-repeat;
  filter: none;
  opacity: 1;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 18%,
    #000 92%,
    transparent 100%
  );
}
.hmt-site footer.hmt-footer::after {
  display: none;
}
.hmt-site footer.hmt-footer > div.relative.grid {
  grid-template-columns: 1.8fr repeat(4, minmax(0, 1fr));
  gap: 30px;
  max-width: none;
  padding: 52px var(--pad) 290px;
  align-items: start;
}
.hmt-site footer.hmt-footer > div.relative.grid > div {
  grid-column: auto !important;
  min-width: 0;
}
.hmt-site footer.hmt-footer > div.relative.grid > div:first-child > a img {
  width: 240px;
  height: auto;
  max-width: 100%;
}
.hmt-site footer.hmt-footer > div.relative.grid > div:first-child > p {
  font-size: 14px;
  line-height: 1.55;
  max-width: 46ch;
}
.hmt-site footer.hmt-footer > div.relative.grid > div:first-child > p.text-accent {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.16em;
  max-width: 100%;
}
.hmt-site footer.hmt-footer .text-text-primary {
  color: #171717;
}
.hmt-site footer.hmt-footer .text-text-secondary {
  color: #57564f;
}
.hmt-site footer.hmt-footer li {
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.hmt-site footer.hmt-footer li a {
  font-size: 14px;
}
.hmt-site footer.hmt-footer h2 {
  font-size: 12px;
  color: #171717;
}
.hmt-site footer.hmt-footer .bg-background\/60 {
  background: #faf8f1 !important;
}
.hmt-site footer.hmt-footer > .relative.border-t {
  border-color: #dedbd1;
}
.hmt-site footer.hmt-footer > .relative.border-t > div {
  max-width: none;
  padding: 15px var(--pad);
}
.hmt-site footer.hmt-footer a.grid {
  background: transparent;
  border-color: #ccc8bd;
  color: #1b1b1b;
}
.footer-safety-tail {
  background: #faf8f1;
}
.brownfield-photo {
  height: 442px;
}
.brownfield-photo-details {
  height: 72px;
  display: flex;
  align-items: center;
  padding: 10px 27px 10px 16px;
}
.brownfield-photo-details > span {
  top: 6px;
  right: 8px;
  font-size: 10px;
}
.brownfield-photo-details h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.04;
  max-width: 24ch;
}
@media (max-width: 900px) {
  .hmt-site footer.hmt-footer > div.relative.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 35px;
  }
  .hmt-site footer.hmt-footer > div.relative.grid > div:first-child {
    grid-column: 1/-1 !important;
  }
  .hmt-site footer.hmt-footer > div.relative.grid > div:first-child > p {
    max-width: 65ch;
  }
}
@media (max-width: 600px) {
  .hmt-site footer.hmt-footer > div.relative.grid {
    padding: 35px 22px 220px;
    gap: 27px 22px;
  }
  .hmt-site footer.hmt-footer > div.relative.grid > div:first-child > a img {
    width: 215px;
  }
  .hmt-site footer.hmt-footer::before {
    height: 210px;
    bottom: 69px;
    background-position: center 50%;
  }
  .hmt-site footer.hmt-footer::after {
    bottom: 175px;
    left: 17%;
    width: 140px;
    height: 55px;
  }
  .hmt-site footer.hmt-footer > .relative.border-t > div {
    padding: 13px 22px;
  }
  .hmt-site footer.hmt-footer li,
  .hmt-site footer.hmt-footer li a {
    font-size: 13px;
  }
  .brownfield-photo {
    height: 379px;
  }
  .brownfield-photo-details {
    height: 64px;
    padding: 9px 23px 9px 14px;
  }
  .brownfield-photo-details h3 {
    font-size: 23px;
  }
}
@media (max-width: 360px) {
  .brownfield-photo:nth-child(11) .brownfield-photo-details h3 {
    font-size: 20px;
  }
}

/* Client heading, spacing and footer refinements. */
.hero-division-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 860px;
}
.hero-brand {
  margin: 0 0 22px;
  padding-left: 48px;
  position: relative;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.hero-brand::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 34px;
  height: 2px;
  background: var(--accent);
}
.scroll-hero-copy .hero-division-writing h1 {
  font-size: clamp(68px, 8vw, 138px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 0;
  color: #fff;
  font-weight: 700;
}
.hero-division-tagline {
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  margin: 30px 0 0;
  max-width: 510px;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.45;
  color: #fff;
}
.hero-division-writing {
  animation: hero-division-in 0.55s var(--ease);
}
@keyframes hero-division-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-division-options {
  display: flex;
  gap: 14px;
  margin-top: 36px;
}
.hero-division-options button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-width: 210px;
  padding: 18px 24px;
  border: 1px solid #fff;
  background: #1116;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.hero-division-options button[aria-pressed='true'],
.hero-division-options button:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.hmt-site .project-showcase {
  padding-bottom: 25px;
}
.project-showcase .section-eyebrow {
  margin-bottom: 12px;
}
.hmt-site .greenfield-wheel-section {
  padding-top: 0;
}
.wheel-controls {
  padding-top: 0;
  padding-bottom: 0;
}
.strip-section-heading {
  margin: 0 0 22px;
  padding: 0 var(--pad);
  font-size: clamp(32px, 3.2vw, 52px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
}
.brownfield-photo-section .strip-section-heading {
  color: #fff;
}
.brownfield-strip-controls {
  padding-bottom: 14px;
  margin-top: -55px;
}
.why-with-stories .strip-section-heading {
  padding: 0;
  margin-bottom: 25px;
  color: var(--ink);
}
.industry-feature-copy > p {
  font-size: clamp(19px, 1.8vw, 28px);
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}
.hmt-site .process-journey {
  padding-bottom: 24px;
}
.hmt-site .contact-desk {
  padding-top: 20px;
  padding-bottom: 35px;
}
.hmt-site footer.hmt-footer::before {
  bottom: 0;
}
.hmt-site footer.hmt-footer::after {
  bottom: 153px;
}
.hmt-site footer.hmt-footer > div.relative.grid {
  padding-bottom: 310px;
}
.footer-copyright {
  position: absolute;
  z-index: 1;
  left: var(--pad);
  bottom: 280px;
  margin: 0;
  color: #34332d;
  font-size: 13px !important;
  line-height: 1.4;
}
@media (max-width: 600px) {
  .hero-brand {
    font-size: 10px;
    letter-spacing: 0.16em;
    padding-left: 36px;
    margin-bottom: 20px;
  }
  .hero-brand::before {
    width: 24px;
  }
  .scroll-hero-copy .hero-division-writing h1 {
    font-size: clamp(51px, 13vw, 78px);
  }
  .hero-division-tagline {
    font-size: 18px;
    margin-top: 22px;
    padding-left: 13px;
    max-width: 32ch;
  }
  .hero-division-options {
    gap: 10px;
    width: 100%;
    margin-top: 27px;
  }
  .hero-division-options button {
    min-width: 0;
    flex: 1;
    padding: 16px 13px;
    gap: 12px;
    font-size: 10px;
  }
  .hmt-site .project-showcase {
    padding-bottom: 16px;
  }
  .hmt-site .greenfield-wheel-section {
    padding-top: 0;
  }
  .brownfield-strip-controls {
    margin-top: -50px;
    padding-bottom: 16px;
  }
  .strip-section-heading {
    font-size: 34px;
    margin-bottom: 22px;
  }
  .industry-feature-copy > p {
    font-size: 20px;
    line-height: 1.25;
  }
  .hmt-site .process-journey {
    padding-bottom: 20px;
  }
  .hmt-site .contact-desk {
    padding-top: 18px;
    padding-bottom: 30px;
  }
  .hmt-site footer.hmt-footer > div.relative.grid {
    padding-bottom: 260px;
  }
  .hmt-site footer.hmt-footer::before {
    bottom: 0;
  }
  .hmt-site footer.hmt-footer::after {
    bottom: 105px;
  }
  .footer-copyright {
    left: 22px;
    bottom: 222px;
    font-size: 11px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-division-writing {
    animation: none;
  }
  .scroll-hero-copy button {
    pointer-events: auto;
  }
}

/* White branding stays legible throughout the film, including reverse scrolling. */
.hmt-header.over-hero {
  background: linear-gradient(#111b, #1115);
  border-bottom-color: transparent;
}
.hmt-site #site-header.hero-nav-hidden {
  transform: translate3d(0, -110%, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.scroll-hero-copy .hero-division-writing h1 {
  font-size: clamp(64px, 7.1vw, 128px);
}
.contact-field input[type='date'] {
  color-scheme: light;
  min-width: 0;
  cursor: pointer;
}
.contact-field input[type='date']::-webkit-calendar-picker-indicator {
  cursor: pointer;
  padding: 5px;
}

/* Textured steam is drawn in scene coordinates over the smoke-free panorama. */
.hmt-site footer.hmt-footer {
  --footer-art-height: 300px;
}
.hmt-site footer.hmt-footer:not(.footer-assets-ready)::before {
  background-image: none;
}
.footer-smoke-canvas {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: calc(var(--footer-art-height) + 140px);
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 600px) {
  .scroll-hero-copy .hero-division-writing h1 {
    font-size: clamp(32px, 11vw, 66px);
  }
  .hmt-site footer.hmt-footer {
    --footer-art-height: 210px;
  }
}
