/* HMT brand colours, typography and homepage layouts. */
:root {
  --paper: #f7f7f5;
  --accent: #ff5a1f;
  --accent-hover: #e64a0f;
  --ink: #111;
  --line: #dddcd6;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: 5vw;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
.hmt-site {
  margin: 0;
  background: var(--paper);
  color: #111;
  font-family: 'Times New Roman', Times, serif;
  overflow-x: clip;
}
.hmt-site button,
.hmt-site input,
.hmt-site select,
.hmt-site textarea {
  font-family: inherit;
}
.hmt-site button,
.hmt-site a {
  -webkit-tap-highlight-color: transparent;
}
.hmt-site button:focus-visible,
.hmt-site a:focus-visible,
.hmt-site summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.hmt-site main h2 {
  font-size: clamp(30px, 3.25vw, 54px);
  line-height: 1.08;
  letter-spacing: -1.3px;
}
.hmt-site [hidden] {
  display: none !important;
}
.hmt-section {
  scroll-margin-top: 75px;
}
.hmt-section > div.max-w-site,
.hmt-section > div.relative.max-w-site {
  max-width: none;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.hmt-section {
  padding-top: 65px;
  padding-bottom: 65px;
}
.hmt-header {
  transition:
    background-color 0.3s,
    border-color 0.3s,
    backdrop-filter 0.3s;
}
.hmt-header > div:first-child {
  max-width: none;
  padding-left: var(--pad);
  padding-right: var(--pad);
  height: 80px;
}
.hmt-header.scrolled {
  background: #ffffffed;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.hmt-header.scrolled nav > a,
.hmt-header.scrolled nav > div > a {
  color: #111;
}
.hmt-header.scrolled nav a:hover {
  color: var(--accent);
}
.hmt-header nav > div > div {
  transition:
    opacity 0.2s,
    visibility 0.2s;
}
.hmt-header nav > div:hover > div,
.hmt-header nav > div:focus-within > div,
.hmt-header nav > div.menu-open > div {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.hmt-header nav > div.menu-open > a {
  color: var(--accent);
}
.hmt-header nav > div.menu-open > a > svg {
  transform: rotate(180deg);
}
.hmt-header nav > div > div ul a:hover {
  background: #ff5a1f0a;
}
.hmt-header img {
  max-width: 210px;
}
.hmt-header button#menu-trigger {
  color: white;
}
.hmt-header.scrolled button#menu-trigger {
  color: #111;
}
.hmt-site a[data-noop] {
  cursor: pointer;
}
.hmt-site #hero {
  padding: 0;
  min-height: 100svh;
  height: 100svh;
  max-height: 1200px;
  clip-path: none;
}
.hmt-hero > div:last-child {
  height: 100%;
  min-height: 0;
  padding-left: 6.5vw;
  padding-right: 6.5vw;
  padding-top: 185px;
  padding-bottom: 100px;
  justify-content: center;
}
.hmt-hero h1 {
  margin-top: 16px;
}
.hmt-hero h1 > span:first-child > span {
  font-size: clamp(85px, 8.5vw, 150px);
}
.hmt-hero h1 > span:last-child > span {
  font-size: clamp(30px, 3.2vw, 54px);
  max-width: 16ch;
}
.hmt-hero p.text-base {
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1.5;
}
.hmt-site #hero a[href='#divisions'] {
  right: 6.5vw;
}
.hmt-site .hero-tape-slope:not(section):not(footer) {
  pointer-events: none;
}
.hmt-site .hero-tape-slope .will-change-transform {
  animation: hmt-tape 20s linear infinite;
}
.hmt-site footer ~ div.hero-tape-slope .will-change-transform {
  animation-direction: reverse;
}
@keyframes hmt-tape {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.hmt-divisions {
  padding-top: 85px;
  padding-bottom: 30px;
  clip-path: none !important;
}
.hmt-divisions > div:last-child > div:first-child {
  max-width: 1000px;
}
.hmt-divisions h2 span {
  display: inline;
  margin-left: 8px;
  color: #777;
}
.hmt-divisions .division-card {
  min-height: 420px;
  border: 0;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
}
.division-card > div.relative {
  min-height: 420px;
  padding: 35px;
}
.division-card h3 {
  font-size: 32px;
}
.division-card .absolute.text-white\/20 {
  font-size: 90px;
}
.hmt-divisions > div:last-child > div:last-child {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  max-width: 75%;
  margin: 40px 0 0 auto;
}
.hmt-moods {
  padding: 30px var(--pad) 60px;
  background: var(--paper);
}
.mood-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  max-width: 1300px;
  margin: auto;
  padding: 0 3vw;
}
.mood-card {
  display: block;
  text-align: center;
  min-width: 0;
}
.mood-card > div {
  aspect-ratio: 0.76;
  overflow: hidden;
  border-radius: 160px 160px 0 0;
  background: #e2e1db;
}
.mood-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.mood-card:hover {
  transform: translateY(-8px);
}
.mood-card:hover img {
  transform: scale(1.04);
}
.mood-card > span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-top: 15px;
  line-height: 1.5;
}
.hmt-gallery {
  background: var(--paper);
  overflow: hidden;
  padding-top: 5px;
  padding-bottom: 20px;
}
.gallery-heading {
  padding: 0 var(--pad) 30px;
  max-width: 1000px;
}
.gallery-heading p {
  font-size: 11px;
  letter-spacing: 2.4px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.gallery-heading h2 {
  font-weight: 700;
}
.curved-stage {
  height: 420px;
  position: relative;
  overflow: hidden;
}
.curved-track {
  display: flex;
  gap: 5px;
  position: absolute;
  left: 50%;
  height: 100%;
  width: max-content;
  transform: translateX(-50%);
  transition: transform 0.7s var(--ease);
}
.curved-card {
  position: relative;
  width: 20vw;
  min-width: 215px;
  max-width: 350px;
  height: 100%;
  overflow: hidden;
  background: #272b2a;
  color: white;
  flex-shrink: 0;
}
.curved-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.curved-card:hover img {
  transform: scale(1.04);
}
.curved-card:after {
  content: '';
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, #111e);
}
.curved-card > span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 65px;
  font-size: 24px;
  z-index: 1;
  line-height: 1.2;
}
.curved-card small {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 15px;
}
.arc-mask {
  position: absolute;
  left: -5%;
  width: 110%;
  background: var(--paper);
  pointer-events: none;
  z-index: 2;
}
.arc-top {
  top: -1px;
  height: 78px;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    95% 84%,
    90% 68%,
    85% 54%,
    80% 42%,
    75% 31%,
    70% 23%,
    65% 16%,
    60% 11%,
    55% 8%,
    50% 7%,
    45% 8%,
    40% 11%,
    35% 16%,
    30% 23%,
    25% 31%,
    20% 42%,
    15% 54%,
    10% 68%,
    5% 84%,
    0 100%
  );
}
.arc-bottom {
  bottom: -55px;
  border-radius: 50% 50% 0 0;
  height: 115px;
}
.gallery-arrow {
  position: absolute;
  z-index: 3;
  top: 48%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f7f7f5ed;
  transition:
    background 0.3s,
    color 0.3s;
}
.gallery-arrow:hover {
  background: var(--accent);
  color: #fff;
}
.gallery-arrow.prev {
  left: 20px;
}
.gallery-arrow.next {
  right: 20px;
}
.hmt-services {
  border: 0;
  padding-top: 35px;
  padding-bottom: 55px;
}
.hmt-services > div > div:first-child {
  display: block;
  max-width: 1000px;
}
.hmt-services > div > div:first-child > div {
  grid-column: auto;
}
.hmt-services h2 {
  max-width: 780px;
}
.hmt-services > div > div:first-child p:last-child {
  font-size: 15px;
  line-height: 1.6;
  max-width: 650px;
  margin-top: 17px;
}
.hmt-services > div > div:last-child {
  margin-top: 25px;
}
.row-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 15px 0 20px;
}
.row-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    background 0.3s,
    color 0.3s;
}
.row-controls button:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.hmt-site .service-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 96px) / 4.7);
  gap: 24px;
  overflow: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  align-items: start;
  margin-top: 0;
  padding: 12px 0 10px;
}
.service-row::-webkit-scrollbar,
.industry-row::-webkit-scrollbar {
  display: none;
}
.hmt-site article.service-card {
  position: relative;
  min-height: 0;
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
  scroll-snap-align: start;
  transition: transform 0.35s var(--ease);
  color: inherit;
}
.service-card:hover {
  transform: translateY(-8px);
}
.service-photo {
  aspect-ratio: 0.8;
  overflow: hidden;
  background: #ddd;
}
.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.service-card:hover .service-photo img {
  transform: scale(1.04);
}
.service-details {
  padding: 18px 0 0;
  position: relative;
}
.service-details > span[aria-hidden] {
  display: none;
}
.service-details > div:first-of-type {
  display: none;
}
.hmt-site .service-details h3 {
  font-size: 18px;
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: 0;
  min-height: 44px;
}
.hmt-site .service-details p {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 6px;
  min-height: 55px;
  color: #4f4f4f;
}
.hmt-site .service-details a:not(.absolute) {
  font-size: 10px;
  margin-top: 15px;
  letter-spacing: 1.1px;
}
.hmt-brownfield {
  position: relative;
  background: #111 !important;
  color: #fff;
  padding-top: 100px;
  padding-bottom: 100px;
  overflow: visible;
}
.hmt-brownfield:before,
.hmt-brownfield:after {
  content: '';
  position: absolute;
  width: 110%;
  left: -5%;
  height: 45px;
  background: var(--paper);
  pointer-events: none;
}
.hmt-brownfield:before {
  top: -1px;
  border-radius: 0 0 50% 50%;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 20%,
    90% 60%,
    80% 30%,
    70% 80%,
    60% 40%,
    50% 90%,
    40% 45%,
    30% 80%,
    20% 30%,
    10% 60%,
    0 20%
  );
}
.hmt-brownfield:after {
  bottom: -1px;
  clip-path: polygon(
    0 80%,
    10% 40%,
    20% 70%,
    30% 20%,
    40% 55%,
    50% 10%,
    60% 60%,
    70% 20%,
    80% 70%,
    90% 40%,
    100% 80%,
    100% 100%,
    0 100%
  );
}
.hmt-site .hmt-brownfield h2 {
  font-size: clamp(30px, 3vw, 50px);
}
.hmt-site .hmt-brownfield p {
  color: #ccc;
}
.hmt-brownfield > div.relative > div:first-child {
  display: grid;
  grid-template-columns: 1fr 36%;
  gap: 5vw;
  align-items: center;
}
.hmt-brownfield > div.relative > div:first-child > div {
  grid-column: auto;
}
.hmt-brownfield > div.relative > div:first-child > div:last-child {
  height: 350px;
  min-height: 0;
}
.hmt-brownfield .service-row {
  grid-auto-columns: calc((100% - 96px) / 4.7);
}
.hmt-brownfield .service-details {
  background: #fff;
  color: #111;
  padding: 16px 13px;
  min-height: 200px;
}
.hmt-brownfield .service-details h3 {
  color: #111;
}
.hmt-site .hmt-brownfield .service-details p {
  color: #4f4f4f;
}
.hmt-brownfield .service-details a {
  color: #111;
}
.hmt-brownfield .row-controls button {
  border-color: #777;
}
.hmt-brownfield > div.relative > div:last-child {
  border-color: #444;
}
.hmt-brownfield > div.relative > div:last-child a {
  color: white;
  border-color: #777;
}
.hmt-brownfield .service-details a:hover {
  color: var(--accent);
}
.hmt-arches {
  padding: 65px var(--pad);
  background: var(--paper);
}
.arch-heading {
  display: grid;
  grid-template-columns: 18% 1fr;
  align-items: start;
  gap: 40px;
  margin-bottom: 35px;
}
.arch-heading > p {
  text-transform: uppercase;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 2px;
  max-width: 120px;
  padding-top: 10px;
}
.hmt-site .arch-heading h2 {
  font-size: clamp(30px, 3vw, 48px);
  max-width: 900px;
}
.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 76%;
  margin-left: auto;
}
.arch-grid > a {
  position: relative;
  display: block;
  aspect-ratio: 0.72;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  color: #fff;
}
.arch-grid img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.arch-grid > a:hover img {
  transform: scale(1.04);
}
.arch-grid > a:after {
  content: '';
  position: absolute;
  inset: 60% 0 0;
  background: linear-gradient(transparent, #111b);
}
.arch-grid span {
  position: absolute;
  z-index: 1;
  bottom: 25px;
  left: 20px;
  font-size: 13px;
  right: 15px;
  line-height: 1.4;
}
.hmt-industries {
  padding-top: 25px;
  border: 0;
}
.hmt-industries > div > div:first-child {
  max-width: 850px;
}
.industry-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 3.75);
  gap: 24px;
  overflow: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding-top: 12px;
}
.hmt-site article.industry-card {
  position: relative;
  border: 0;
  background: transparent;
  min-height: 390px;
  scroll-snap-align: start;
  transition: transform 0.35s var(--ease);
  overflow: hidden;
}
.industry-card > span[aria-hidden] {
  display: none;
}
.industry-card > div.absolute {
  opacity: 1;
}
.industry-card > div.relative {
  padding: 25px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  color: white;
  background: linear-gradient(transparent, #111d);
}
.hmt-site .industry-card h3 {
  color: white;
  font-size: 25px;
  line-height: 1.1;
  max-width: 95%;
  margin: 0;
}
.industry-card > div.relative > div {
  display: none;
}
.industry-card img {
  opacity: 1 !important;
  object-fit: cover;
}
.industry-card > a.absolute {
  z-index: 2;
}
.industry-card:hover {
  transform: translateY(-8px);
}
.industry-select {
  position: absolute;
  right: 15px;
  bottom: 15px;
  z-index: 4;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 22px;
  transition:
    background 0.3s,
    color 0.3s;
}
.industry-select[aria-pressed='true'],
.industry-select:hover {
  background: var(--accent);
  color: white;
}
.industry-panels {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.industry-panel p {
  color: #4f4f4f;
  font-size: 15px;
  line-height: 1.8;
  margin-top: 0;
  max-width: 1280px;
}
.industry-panel p + p {
  margin-top: 16px;
}
.hmt-why {
  padding-top: 20px;
  padding-bottom: 35px;
}
.hmt-why > div.relative > div:first-child {
  display: grid;
  grid-template-columns: 1fr 25%;
  gap: 45px;
}
.hmt-why > div.relative > div:first-child > div,
.hmt-why aside {
  grid-column: auto;
}
.hmt-why aside {
  min-height: 160px;
}
.hmt-why > div.relative > div:nth-child(2) {
  display: grid;
  grid-template-columns: 43% 1fr;
  gap: 6vw;
}
.hmt-why .why-photo {
  min-height: 620px;
  grid-column: auto;
  overflow: hidden;
}
.hmt-why .why-list {
  grid-column: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 35px;
  align-content: center;
}
.why-item p {
  font-size: 13px;
  line-height: 1.6;
}
.why-item p:first-child {
  font-size: 18px;
  font-weight: 700;
}
.why-item > svg {
  color: var(--accent);
}
.hmt-stories {
  padding: 20px var(--pad) 65px;
  background: var(--paper);
}
.story-accordion {
  display: flex;
  gap: 12px;
  height: 420px;
}
.story-card {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-width: 0;
  transition: flex 0.7s var(--ease);
  padding: 0;
  text-align: left;
  color: #fff;
  background: #222;
}
.story-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.4s;
}
.story-card:after {
  content: '';
  position: absolute;
  inset: 20% 0 0;
  background: linear-gradient(transparent, #111e);
}
.story-card.active {
  flex: 5;
}
.story-card.active > img {
  filter: grayscale(0);
}
.story-label {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg) translateX(50%);
  font-size: 10px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.story-card.active > .story-label {
  opacity: 0;
}
.story-copy {
  position: absolute;
  left: 30px;
  bottom: 30px;
  z-index: 1;
  right: 30px;
  opacity: 0;
  transform: translateY(15px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease);
  pointer-events: none;
}
.story-card.active .story-copy {
  opacity: 1;
  transform: none;
  transition-delay: 0.2s;
}
.story-copy svg {
  display: none;
}
.story-copy p {
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
  max-width: 450px;
}
.story-copy p:first-child {
  font-size: 29px;
  font-weight: 700;
  margin-bottom: 12px;
}
.hmt-cinema {
  position: relative;
  height: 820px;
  color: #fff;
  overflow: hidden;
  background: #111;
}
.cinema-backdrop,
.cinema-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cinema-shade {
  background:
    linear-gradient(0deg, #111f, transparent 80%), linear-gradient(90deg, #111a, transparent);
}
.cinema-heading {
  position: absolute;
  left: 6.5%;
  top: 19%;
  right: 6.5%;
}
.cinema-heading p {
  font-size: 11px;
  letter-spacing: 2.5px;
  color: #fff;
  text-transform: uppercase;
}
.hmt-site .cinema-heading h2 {
  font-size: clamp(55px, 5.8vw, 96px);
  line-height: 0.98;
  max-width: 650px;
  margin-top: 22px;
  color: white;
}
.cinema-strip {
  position: absolute;
  bottom: 70px;
  left: 6.5%;
  right: 6.5%;
  display: flex;
  gap: 20px;
  align-items: flex-end;
}
.cinema-card {
  flex: 1;
  min-width: 0;
  position: relative;
  text-align: left;
  transition: flex 0.35s var(--ease);
  padding: 0;
  color: #fff;
}
.cinema-card img {
  width: 100%;
  height: 125px;
  object-fit: cover;
  opacity: 0.65;
  transition:
    height 0.35s var(--ease),
    opacity 0.35s;
}
.cinema-card.active {
  flex: 1.5;
}
.cinema-card.active img {
  height: 210px;
  opacity: 1;
}
.cinema-card:after {
  content: '';
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(transparent, #111c);
}
.cinema-card > span {
  position: absolute;
  z-index: 1;
  bottom: 12px;
  left: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.hmt-process {
  padding-top: 65px;
  padding-bottom: 65px;
}
.hmt-process #process-title {
  font-size: 25px;
}
.process-panel {
  min-height: 230px;
}
.process-panel p {
  font-size: 15px;
  line-height: 1.7;
}
.hmt-site #process button {
  transition:
    transform 0.35s var(--ease),
    color 0.35s,
    border-color 0.35s,
    background 0.35s;
}
.hmt-site #process button.selected {
  color: var(--accent);
}
.hmt-site #process button.selected > span:first-child {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.hmt-site #process button.completed > span:first-child {
  border-color: var(--accent);
}
.hmt-contact {
  padding-bottom: 85px;
}
.hmt-contact > div.relative > div:first-child {
  max-width: 850px;
}
.hmt-contact #contact-form {
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}
.hmt-contact #contact-form > div {
  padding: 35px;
}
.hmt-contact form input,
.hmt-contact form textarea,
.hmt-contact form select {
  font-size: 15px;
}
.hmt-contact [data-intent] {
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s,
    background 0.35s;
}
.hmt-contact [data-intent]:hover {
  transform: translateY(-8px);
}
.hmt-contact [data-intent].selected {
  border-color: var(--accent);
  background: #ff5a1f0c;
}
.preview-status {
  color: #4f4f4f;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 12px;
}
.hmt-footer {
  padding-top: 80px;
}
.hmt-footer > div.max-w-site {
  max-width: none;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.hmt-footer h2 {
  font-size: 15px;
}
.hmt-footer p,
.hmt-footer a {
  font-size: 14px;
}
.hmt-footer > div:last-child p {
  font-size: 11px;
}
.hmt-footer > div:last-child {
  margin-top: 0;
}
.hmt-site .scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 1px;
  width: 100%;
  background: var(--accent);
  z-index: 80;
  transform-origin: left;
  transform: scaleX(0);
}
#survey-dialog {
  padding: 0;
  border: 0;
  background: #fff;
  width: min(768px, calc(100vw - 48px));
  max-width: none;
  max-height: 94svh;
  color: #111;
  overflow: visible;
  animation: popup-in 0.4s var(--ease);
}
#survey-dialog > div {
  max-height: 94svh;
  overflow-y: auto;
}
#survey-dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(4px);
  animation: backdrop-in 0.4s var(--ease);
}
#survey-dialog input {
  font-size: 15px;
}
#survey-dialog form [data-project-type].selected {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
#survey-dialog .preview-status {
  grid-column: 1/-1;
  padding-top: 5px;
}
body:has(#survey-dialog[open]) {
  overflow: hidden;
}
@keyframes popup-in {
  from {
    opacity: 0;
    transform: translateY(48px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#mobile-menu {
  background: #fff;
  color: #111;
  max-height: calc(100svh - 70px);
  overflow-y: auto;
  border-top: 1px solid var(--line);
  padding: 20px 6vw;
  box-shadow: 0 15px 30px #1112;
}
#mobile-menu nav {
  display: block !important;
}
#mobile-menu nav > a,
#mobile-menu summary {
  display: block;
  padding: 16px 0;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
#mobile-menu details > ul {
  padding: 10px 0;
}
#mobile-menu li a {
  font-size: 14px;
  color: #111;
}
#mobile-menu details > a {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent);
  padding: 14px 0;
}
#mobile-menu details[open] > summary {
  color: var(--accent);
}
@media (min-width: 1700px) {
  .curved-stage {
    height: 490px;
  }
  .story-accordion {
    height: 480px;
  }
  .hmt-cinema {
    height: 950px;
  }
  .hmt-why .why-photo {
    min-height: 720px;
  }
}
@media (max-width: 1100px) {
  .hmt-header nav[aria-label='Primary'] {
    gap: 18px;
  }
  .hmt-header img {
    max-width: 180px;
  }
  .hmt-header > div:first-child {
    height: 70px;
  }
  .hmt-divisions > div:last-child > div:last-child {
    max-width: 85%;
  }
  .mood-grid {
    padding: 0;
    gap: 20px;
  }
  .curved-stage {
    height: 350px;
  }
  .curved-card > span {
    font-size: 21px;
  }
  .service-row,
  .hmt-brownfield .service-row {
    grid-auto-columns: calc((100% - 54px) / 3.7) !important;
    gap: 18px !important;
  }
  .hmt-site .service-details h3 {
    font-size: 17px;
  }
  .hmt-site .service-details p {
    font-size: 12px;
  }
  .arch-grid {
    width: 82%;
    gap: 22px;
  }
  .hmt-why .why-photo {
    min-height: 620px;
  }
  .hmt-why .why-list {
    gap: 20px;
  }
  .why-item p:first-child {
    font-size: 16px;
  }
  .industry-row {
    grid-auto-columns: calc((100% - 36px) / 2.7);
    gap: 18px;
  }
  .hmt-site article.industry-card {
    min-height: 370px;
  }
  .hmt-site .industry-card h3 {
    font-size: 23px;
  }
  .story-accordion {
    height: 370px;
  }
  .story-copy p:first-child {
    font-size: 25px;
  }
}
@media (max-width: 760px) {
  :root {
    --pad: 6vw;
  }
  html {
    scroll-padding-top: 80px;
  }
  .hmt-site main h2 {
    font-size: 32px;
    letter-spacing: -0.7px;
  }
  .hmt-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .hmt-header > div:first-child {
    height: 70px;
    padding: 0 6vw;
  }
  .hmt-header img {
    max-width: 165px;
  }
  .hmt-site #hero {
    min-height: 680px;
    max-height: 1000px;
    height: 100svh;
  }
  .hmt-hero > div:last-child {
    padding: 170px 7vw 130px;
  }
  .hmt-hero h1 > span:first-child > span {
    font-size: 90px;
  }
  .hmt-hero h1 > span:last-child > span {
    font-size: 35px;
    max-width: 13ch;
  }
  .hmt-hero h1 {
    margin-top: 20px;
  }
  .hmt-hero p.text-base {
    font-size: 15px;
    line-height: 1.65;
  }
  .hmt-hero p.text-base + div {
    flex-direction: row;
    margin-top: 25px;
    gap: 12px;
  }
  .hmt-hero p.text-base + div > a {
    min-width: 0;
    font-size: 10px;
    letter-spacing: 1px;
    padding: 13px 17px;
  }
  .hmt-divisions {
    padding-top: 55px;
    padding-bottom: 20px;
  }
  .hmt-divisions h2 span {
    display: block;
    margin-left: 0;
  }
  .hmt-divisions > div:last-child > div:last-child {
    max-width: none;
    gap: 18px;
    margin-top: 30px;
  }
  .hmt-divisions .division-card {
    min-height: 330px;
    border-radius: 100px 100px 0 0;
  }
  .division-card > div.relative {
    min-height: 330px;
    padding: 90px 17px 20px;
  }
  .division-card h3 {
    font-size: 24px;
    line-height: 1.1;
  }
  .division-card p {
    font-size: 12px;
    line-height: 1.5;
  }
  .division-card > div.relative > span {
    font-size: 70px;
  }
  .division-card span.text-[10px] {
    font-size: 8px;
  }
  .division-card .mt-8 {
    margin-top: 15px;
  }
  .hmt-moods {
    padding-top: 15px;
    padding-bottom: 35px;
  }
  .mood-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px 15px;
  }
  .mood-card > span {
    font-size: 9px;
    letter-spacing: 0.3px;
    margin-top: 11px;
    line-height: 1.5;
  }
  .hmt-gallery {
    padding-bottom: 10px;
  }
  .gallery-heading {
    padding-bottom: 23px;
  }
  .gallery-heading p {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .curved-stage {
    height: 310px;
  }
  .curved-card {
    min-width: 190px;
    width: 48vw;
  }
  .curved-card > span {
    bottom: 55px;
    left: 15px;
    font-size: 21px;
  }
  .curved-card small {
    font-size: 9px;
  }
  .arc-top {
    height: 50px;
  }
  .gallery-arrow {
    width: 30px;
    height: 30px;
  }
  .gallery-arrow.prev {
    left: 10px;
  }
  .gallery-arrow.next {
    right: 10px;
  }
  .hmt-services {
    padding-top: 25px;
    padding-bottom: 35px;
  }
  .hmt-services > div > div:first-child p:last-child {
    font-size: 14px;
    line-height: 1.7;
  }
  .row-controls {
    margin-top: 20px;
    margin-bottom: 12px;
    gap: 9px;
  }
  .row-controls button {
    height: 28px;
    width: 28px;
  }
  .hmt-site .service-row,
  .hmt-brownfield .service-row {
    grid-auto-columns: calc((100% - 15px) / 2.1) !important;
    gap: 15px !important;
    margin-right: -6vw;
    padding-right: 6vw;
  }
  .hmt-site .service-details h3 {
    font-size: 16px;
    min-height: 38px;
    line-height: 1.2;
  }
  .hmt-site .service-details p {
    font-size: 12px;
    min-height: 76px;
    line-height: 1.6;
  }
  .hmt-site .service-details a:not(.absolute) {
    font-size: 9px;
    margin-top: 12px;
  }
  .service-details {
    padding-top: 14px;
  }
  .hmt-services > div > div:last-child {
    margin-top: 20px;
  }
  .hmt-brownfield {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .hmt-brownfield > div.relative > div:first-child {
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
    align-items: stretch;
  }
  .hmt-brownfield > div.relative > div:first-child > div:last-child {
    height: 350px;
    max-height: none;
  }
  .hmt-site .hmt-brownfield h2 {
    font-size: 32px;
  }
  .hmt-brownfield .service-details {
    padding: 14px 11px;
    min-height: 205px;
  }
  .hmt-brownfield:before,
  .hmt-brownfield:after {
    height: 35px;
  }
  .hmt-arches {
    padding-top: 35px;
    padding-bottom: 35px;
  }
  .arch-heading {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 25px;
  }
  .arch-heading > p {
    font-size: 9px;
    max-width: none;
    letter-spacing: 2px;
    padding: 0;
  }
  .hmt-site .arch-heading h2 {
    font-size: 30px;
  }
  .arch-grid {
    width: 100%;
    gap: 12px;
  }
  .arch-grid > a {
    aspect-ratio: 0.61;
  }
  .arch-grid span {
    font-size: 10px;
    left: 10px;
    right: 8px;
    bottom: 15px;
  }
  .hmt-industries {
    padding-top: 10px;
    padding-bottom: 35px;
  }
  .industry-row {
    grid-auto-columns: calc((100% - 15px) / 2.1);
    gap: 15px;
    margin-right: -6vw;
    padding-right: 6vw;
  }
  .hmt-site article.industry-card {
    min-height: 280px;
  }
  .hmt-site .industry-card h3 {
    font-size: 20px;
  }
  .industry-card > div.relative {
    padding: 20px 12px 50px;
  }
  .industry-select {
    bottom: 12px;
    right: 12px;
    width: 29px;
    height: 29px;
  }
  .industry-panels {
    margin-top: 22px;
    padding-top: 20px;
  }
  .industry-panel p {
    font-size: 14px;
    line-height: 1.8;
  }
  .hmt-why {
    padding-top: 10px;
    padding-bottom: 25px;
  }
  .hmt-why > div.relative > div:first-child {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .hmt-why aside {
    min-height: 120px;
  }
  .hmt-why > div.relative > div:nth-child(2) {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
  }
  .hmt-why .why-photo {
    min-height: 0;
    height: 430px;
  }
  .hmt-why .why-list {
    gap: 25px 20px;
    grid-template-columns: 1fr 1fr;
  }
  .why-item p {
    font-size: 13px;
  }
  .why-item p:first-child {
    font-size: 17px;
  }
  .hmt-stories {
    padding-top: 5px;
    padding-bottom: 35px;
  }
  .story-accordion {
    height: 330px;
    gap: 7px;
  }
  .story-card.active {
    flex: 6;
  }
  .story-label {
    font-size: 8px;
    letter-spacing: 0.3px;
    bottom: 20px;
  }
  .story-copy {
    left: 15px;
    right: 15px;
    bottom: 25px;
  }
  .story-copy p {
    font-size: 12px;
    line-height: 1.65;
  }
  .story-copy p:first-child {
    font-size: 25px;
    line-height: 1.15;
  }
  .hmt-cinema {
    height: 760px;
  }
  .cinema-heading {
    top: 20%;
    left: 6%;
    right: 6%;
  }
  .cinema-heading p {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .hmt-site .cinema-heading h2 {
    font-size: 43px;
    letter-spacing: -1px;
    line-height: 1.05;
  }
  .cinema-strip {
    bottom: 90px;
    left: 6%;
    right: 6%;
    gap: 10px;
  }
  .cinema-card img {
    height: 110px;
  }
  .cinema-card.active img {
    height: 175px;
  }
  .cinema-card > span {
    font-size: 10px;
    left: 8px;
    bottom: 10px;
    right: 7px;
  }
  .hmt-process {
    padding-top: 40px;
    padding-bottom: 35px;
  }
  .process-panel {
    min-height: 0;
  }
  .hmt-contact {
    padding-top: 15px;
    padding-bottom: 75px;
  }
  .hmt-contact #contact-form > div {
    padding: 23px;
  }
  .hmt-contact form input,
  .hmt-contact form select,
  .hmt-contact form textarea {
    font-size: 15px;
  }
  .hmt-footer {
    padding-top: 65px;
  }
  .hmt-footer p,
  .hmt-footer a {
    font-size: 14px;
  }
  .hmt-footer > div:last-child {
    display: block;
    padding-top: 22px;
    padding-bottom: 22px;
  }
  .hmt-footer > div:last-child p {
    font-size: 11px;
    line-height: 1.7;
  }
  .hmt-footer > div:last-child p + p {
    margin-top: 9px;
  }
  #survey-dialog {
    width: 100%;
    max-height: 94svh;
    margin: auto 0 0;
  }
  #survey-dialog > div {
    width: 100%;
    max-width: none;
    max-height: 94svh;
  }
  #survey-dialog > div > div:last-child {
    padding: 25px 24px;
  }
  #survey-dialog h2 {
    font-size: 25px;
  }
  #survey-dialog form {
    margin-top: 18px;
  }
  #survey-dialog input {
    font-size: 15px;
  }
  #survey-dialog button[type='submit'] {
    font-size: 12px;
  }
  #survey-dialog > div > button[aria-label='Close'] {
    background: #1116;
    color: white;
  }
  .preview-status {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
.hmt-site #hero > .will-change-transform {
  animation: none !important;
}
.hmt-site .hero-tape-slope:not(section):not(footer) .will-change-transform {
  animation: hmt-tape 20s linear infinite;
}
.hmt-site main ~ .hero-tape-slope .will-change-transform {
  animation-direction: reverse;
}
.industry-panel p {
  opacity: 1;
  max-height: none;
  overflow: visible;
  display: block;
  -webkit-line-clamp: unset;
}
.hmt-services > div > div:first-child p:last-child {
  margin-left: 0;
}
.hmt-site .service-card {
  height: auto;
}
.service-details > span.mb-5 {
  display: none;
}
.service-details > span:last-child {
  font-size: 10px;
  margin-top: 14px;
}
@keyframes popup-out {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translateY(32px) scale(0.97);
  }
}
#survey-dialog.closing {
  animation: popup-out 0.4s var(--ease) forwards;
}
#survey-dialog.closing::backdrop {
  animation: backdrop-in 0.4s var(--ease) reverse forwards;
}
.hmt-site .hmt-brownfield h2 {
  color: #fff;
}
.hmt-services > div > div:first-child > p {
  margin-left: 0;
}
.hmt-hero .mt-10.flex > a {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
}
.hmt-site .hmt-brownfield > div.relative > div:first-child > div:first-child > p:first-child {
  color: var(--accent);
}
@media (max-width: 760px) {
  .hmt-hero .mt-10.flex {
    flex-direction: row;
    gap: 12px;
  }
  .hmt-hero .mt-10.flex > a {
    font-size: 10px;
    letter-spacing: 1px;
    padding: 14px 12px;
  }
  .hmt-hero .mt-10.flex > a > span {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 380px) {
  .hmt-header img {
    max-width: 120px;
  }
  .hmt-header > div:first-child > div > a {
    font-size: 10px;
    padding: 12px;
    letter-spacing: 1px;
  }
  .hmt-header > div:first-child > div > a svg {
    width: 13px;
    height: 13px;
  }
}
.service-control {
  display: block;
  min-width: 0;
  height: auto;
}
.hmt-hero .mt-10.flex > div {
  flex: 1 1 0;
  min-width: 0;
}
.hmt-brownfield:before {
  clip-path: none;
  border-radius: 0;
  background: transparent
    url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 1600 70%27 preserveAspectRatio=%27none%27%3E%3Cpath fill=%27%23f7f7f5%27 d=%27M0 0H1600V35C1410 88 1310-2 1150 27S1000 37 920 21 780 61 650 60 430-3 290 19 100 52 0 36Z%27/%3E%3C/svg%3E')
    center/100% 100% no-repeat;
}
.hmt-brownfield:after {
  clip-path: none;
  background: transparent
    url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 1600 70%27 preserveAspectRatio=%27none%27%3E%3Cpath fill=%27%23f7f7f5%27 d=%27M0 35C180 88 280 5 450 28S650 76 810 33 980 35 1090 29 1290 76 1420 31 1520 7 1600 25V70H0Z%27/%3E%3C/svg%3E')
    center/100% 100% no-repeat;
}
@media (max-width: 760px) {
  .hmt-hero .mt-10.flex > div > a {
    padding: 12px 10px;
    font-size: 10px;
    gap: 8px;
    letter-spacing: 1px;
  }
  .hmt-hero .mt-10.flex > div > a > span:last-child {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 380px) {
  .hmt-hero .mt-10.flex > div > a {
    font-size: 9px;
    gap: 6px;
    padding: 12px 8px;
  }
}
.hmt-site #hero > .will-change-transform {
  transform-origin: center;
}
.hmt-site #hero > .will-change-transform[style] {
}
@media (prefers-reduced-motion: no-preference) {
  .hmt-site #hero > .will-change-transform {
  }
  .hmt-hero a[href='#divisions'] > span:last-child {
    animation: hmt-scroll-cue 2.2s ease-in-out infinite;
  }
  #survey-dialog .border-dashed {
    animation: hmt-survey-badge 0.4s var(--ease) 0.25s backwards;
  }
}
@keyframes hmt-scroll-cue {
  0%,
  100% {
    transform: scaleY(0.45);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}
@keyframes hmt-survey-badge {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.hmt-site #process button:not(.selected) > span:first-child {
  background: var(--paper);
  color: #111;
  border-color: var(--border);
}
.hmt-site #process button.completed > span:first-child {
  background: #fff;
  color: var(--accent);
  border-color: var(--accent);
}

/* Keep every photo caption readable over the supplied industrial images. */
.division-card {
  isolation: isolate;
}
.division-card:after {
  content: '';
  position: absolute;
  inset: 20% 0 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0.92) 100%
  );
}
.division-card > div.relative {
  z-index: 2;
}
.hmt-site .division-card h3,
.hmt-site .division-card p,
.hmt-site .division-card > div.relative > div:last-child {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}
.hmt-site .division-card p {
  opacity: 1;
}
.curved-card:after {
  inset: 25% 0 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.95) 100%
  );
}
.curved-card > span,
.curved-card small {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
}
.arch-grid > a:after {
  inset: 35% 0 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.42) 40%,
    rgba(0, 0, 0, 0.92) 100%
  );
}
.arch-grid span {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
}
.industry-card {
  isolation: isolate;
}
.industry-card:after {
  content: '';
  position: absolute;
  inset: 30% 0 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.96) 100%
  );
}
.industry-card > div.relative {
  z-index: 3;
  background: none;
}
.industry-card > div.absolute.bottom-0 {
  z-index: 3;
  padding: 24px 20px 58px;
  color: #fff;
}
.hmt-site .industry-card h3,
.hmt-site .industry-card h3 a {
  color: #fff;
  text-shadow: 0 2px 7px #000;
}
.story-card:after {
  inset: 15% 0 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.12),
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0.95)
  );
}
.story-label {
  color: #fff;
  text-shadow: 0 1px 5px #000;
}
.story-copy p,
.story-copy p:first-child {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
}
.story-copy span {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
}
.story-copy > span:first-child {
  display: none;
}
.story-copy > span:last-child > span:first-child {
  font-size: 29px;
  line-height: 1.15;
  font-weight: 700;
}
.story-copy > span:last-child > span:last-child {
  font-size: 15px;
  line-height: 1.6;
  margin-top: 12px;
}
.cinema-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.83), rgba(0, 0, 0, 0.25)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.95), transparent 85%);
}
.hmt-site .cinema-heading h2,
.cinema-heading p {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.cinema-card:after {
  inset: 25% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
}
.cinema-card > span {
  color: #fff;
  text-shadow: 0 1px 5px #000;
}
.hmt-site .hmt-brownfield > div.relative > div:first-child > div:last-child p,
.hmt-site .hmt-brownfield > div.relative > div:first-child > div:last-child h3 {
  color: #fff;
  text-shadow: 0 2px 6px #000;
}
.hmt-brownfield > div.relative > div:first-child > div:last-child > .absolute.inset-0 {
  background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.3) 55%, rgba(0, 0, 0, 0.92));
}
.hmt-contact > div.pointer-events-none,
.hmt-process > div.pointer-events-none {
  opacity: 0.09;
}
@media (max-width: 760px) {
  .arch-grid span {
    font-size: 11px;
    line-height: 1.4;
  }
  .cinema-card > span {
    font-size: 11px;
  }
  .story-label {
    font-weight: 700;
  }
  .industry-card > div.absolute.bottom-0 {
    padding: 20px 12px 53px;
  }
  .story-copy > span:last-child > span:first-child {
    font-size: 25px;
  }
  .story-copy > span:last-child > span:last-child {
    font-size: 12px;
  }
}

/* Restore the reference effects within the original Greenfield and Why HMT sections. */
.greenfield-flow {
  height: 520px;
  width: calc(100% + 2 * var(--pad));
  margin-left: calc(-1 * var(--pad));
  margin-top: 0 !important;
}
.hmt-site #greenfield-row.curved-track {
  display: flex !important;
  position: absolute;
  inset: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: none;
  gap: 5px !important;
  padding: 0 var(--pad);
  margin: 0;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--pad);
}
#greenfield-row .curved-service {
  flex: 0 0 clamp(270px, 23vw, 360px);
  width: clamp(270px, 23vw, 360px);
  height: 100%;
  scroll-snap-align: start;
}
.hmt-site #greenfield-row article.service-card {
  height: 100%;
  overflow: hidden;
  background: #222;
  transform: none;
}
#greenfield-row .service-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
#greenfield-row .service-card:after {
  content: '';
  position: absolute;
  inset: 25% 0 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65) 45%, rgba(0, 0, 0, 0.96));
}
#greenfield-row .service-details {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 82px;
  padding: 0;
  color: #fff;
}
#greenfield-row .service-details > span.mb-5 {
  display: none;
}
.hmt-site #greenfield-row .service-details h3 {
  font-size: 25px;
  line-height: 1.12;
  min-height: 0;
  color: #fff;
  text-shadow: 0 2px 7px #000;
}
.hmt-site #greenfield-row .service-details p {
  min-height: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #fff;
  text-shadow: 0 2px 6px #000;
  margin-top: 12px;
}
#greenfield-row .service-details > span:last-child {
  opacity: 1;
  color: #fff;
  margin-top: 18px;
  font-size: 10px;
  text-shadow: 0 2px 5px #000;
}
.greenfield-flow .arc-mask {
  z-index: 3;
}
.why-with-stories .why-stories-layout {
  display: block !important;
  margin-top: 35px;
}
.hmt-site .why-with-stories .why-list.story-accordion {
  display: flex !important;
  gap: 10px;
  height: 460px;
  padding: 0;
  max-width: 100%;
  list-style: none;
  align-content: normal;
}
.why-with-stories .story-card {
  display: block;
  flex: 1;
  min-width: 0;
  padding: 0;
  isolation: isolate;
  scroll-snap-align: center;
}
.why-with-stories .story-card.active {
  flex: 5.5;
}
.why-with-stories .story-card:after {
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.9));
}
.why-with-stories .story-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  text-align: left;
  color: #fff;
}
.why-with-stories .story-trigger:focus-visible {
  outline-offset: -4px;
  outline: 2px solid var(--accent);
}
.why-with-stories .story-trigger img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition:
    filter 0.4s var(--ease),
    transform 0.7s var(--ease);
}
.why-with-stories .story-card.active img {
  filter: grayscale(0);
  transform: scale(1.025);
}
.why-with-stories .story-content {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 26px;
  writing-mode: vertical-rl;
  transform: rotate(180deg) translateX(50%);
  max-height: calc(100% - 52px);
}
.hmt-site .why-with-stories .story-title {
  display: block;
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0.6px;
  white-space: nowrap;
  text-shadow: 0 2px 6px #000;
}
.why-with-stories .story-description {
  display: none;
}
.why-with-stories .story-card.active .story-content {
  left: 28px;
  right: 28px;
  bottom: 30px;
  writing-mode: horizontal-tb;
  transform: none;
  max-height: none;
}
.hmt-site .why-with-stories .story-card.active .story-title {
  font-size: 28px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0;
  white-space: normal;
}
.hmt-site .why-with-stories .story-card.active .story-description {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: 15px;
  line-height: 1.6;
  text-shadow: 0 2px 6px #000;
  animation: story-copy-in 0.35s var(--ease) both;
}
@keyframes story-copy-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1700px) {
  .greenfield-flow {
    height: 580px;
  }
  .hmt-site .why-with-stories .why-list.story-accordion {
    height: 520px;
  }
}
@media (max-width: 1100px) {
  .greenfield-flow {
    height: 480px;
  }
  .hmt-site .why-with-stories .why-list.story-accordion {
    height: 420px;
    gap: 8px;
  }
  .hmt-site .why-with-stories .story-card.active .story-title {
    font-size: 25px;
  }
  .why-with-stories .story-card.active .story-content {
    left: 20px;
    right: 20px;
  }
  .hmt-site .why-with-stories .story-title {
    font-size: 10px;
  }
}
@media (max-width: 760px) {
  .greenfield-flow {
    height: 450px;
  }
  .hmt-site #greenfield-row.curved-track {
    padding: 0 var(--pad);
    margin: 0;
    gap: 5px !important;
  }
  #greenfield-row .curved-service {
    flex-basis: 72vw;
    width: 72vw;
  }
  #greenfield-row .service-details {
    left: 20px;
    right: 20px;
    bottom: 78px;
  }
  .hmt-site #greenfield-row .service-details h3 {
    font-size: 23px;
  }
  .hmt-site #greenfield-row .service-details p {
    font-size: 13px;
    line-height: 1.55;
  }
  .hmt-site .why-with-stories .why-list.story-accordion {
    height: 390px;
    gap: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    padding: 0 0 8px;
  }
  .why-with-stories .story-card {
    flex: 0 0 40px;
    transition: flex-basis 0.7s var(--ease);
  }
  .why-with-stories .story-card.active {
    flex: 0 0 min(74vw, 300px);
  }
  .why-with-stories .story-content {
    bottom: 22px;
  }
  .why-with-stories .story-card.active .story-content {
    left: 20px;
    right: 20px;
    bottom: 25px;
  }
  .hmt-site .why-with-stories .story-card.active .story-title {
    font-size: 25px;
  }
  .hmt-site .why-with-stories .story-card.active .story-description {
    font-size: 14px;
  }
  .why-with-stories .story-accordion::-webkit-scrollbar {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .why-with-stories .story-card,
  .why-with-stories .story-trigger img {
    transition: none;
  }
  .hmt-site .why-with-stories .story-card.active .story-description {
    animation: none;
  }
}

/* More pronounced Greenfield arc; all horizontal galleries track wheel and pointer input smoothly. */
.greenfield-flow {
  height: 600px;
}
.greenfield-flow .arc-top {
  height: 160px;
}
.greenfield-flow .arc-bottom {
  height: 230px;
  bottom: -70px;
}
.hmt-site #greenfield-row .service-details {
  bottom: 174px;
}
.hmt-site #greenfield-row.curved-track,
.hmt-site #brownfield-row,
.hmt-site #industry-row {
  scroll-snap-type: none;
}
@media (min-width: 1700px) {
  .greenfield-flow {
    height: 660px;
  }
}
@media (max-width: 1100px) {
  .greenfield-flow {
    height: 540px;
  }
  .greenfield-flow .arc-top {
    height: 135px;
  }
  .greenfield-flow .arc-bottom {
    height: 195px;
    bottom: -62px;
  }
  .hmt-site #greenfield-row .service-details {
    bottom: 148px;
  }
}
@media (max-width: 760px) {
  .greenfield-flow {
    height: 480px;
  }
  .greenfield-flow .arc-top {
    height: 115px;
  }
  .greenfield-flow .arc-bottom {
    height: 170px;
    bottom: -50px;
  }
  .hmt-site #greenfield-row .service-details {
    bottom: 135px;
  }
}
