@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600&family=Roboto:wght@400;500;700&display=swap");

:root {
  --color-primary-darker: #410809;
  --color-primary-dark: #5a0b0c;
  --color-primary: #911213;
  --color-primary-light: #a94647;
  --color-primary-lighter: #bb6c6d;
  --color-ink: #151515;
  --color-muted: #656565;
  --color-surface: #ffffff;
  --color-soft: #f5f2f1;
  --color-border: #ddd6d4;
  --site-width: 78rem;
  --reading-width: 78rem;
  --gutter: clamp(1rem, 3.5vw, 3rem);
  --section-space: clamp(2.5rem, 5vw, 4.5rem);
  --section-leading-space: 1rem;
  --section-trailing-space: 1rem;
  --title-band-space: clamp(1rem, 2vw, 1.5rem);
  --footer-font-size: 1rem;
  --shadow: 0 1.25rem 3rem rgb(42 12 12 / 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-ink);
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

img, video, iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--color-primary);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-primary-dark);
}

:focus-visible {
  outline: 3px solid var(--color-primary-light);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  margin-block: 0 0.75em;
  color: var(--color-primary-darker);
  font-weight: 700;
  font-family: "Oswald", "Roboto", Arial, sans-serif;
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  letter-spacing: -0.02em;
}

/* Give section headings consistent breathing room without changing wrapper gaps. */
h2, h3 {
  padding-top: 10px;
}

h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

p, ul, ol, blockquote {
  margin-block: 0 1.25rem;
}

.site-shell {
  width: min(calc(100% - 2 * var(--gutter)), var(--site-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  background: white;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  background: rgb(17 17 17 / 0.98);
  backdrop-filter: blur(16px);
}

.header-shell {
  /*
   * Page sections inset their content by one gutter inside the reading-width
   * canvas. Constrain the desktop header row to that same inner measure so the
   * logo and right-side action align with page copy on wide screens, while the
   * dark header background continues to span the viewport.
   */
  width: min(
    calc(100% - 2 * var(--gutter)),
    calc(var(--reading-width) - 2 * var(--gutter))
  );
  display: flex;
  min-height: 4.1rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: var(--color-primary);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand img {
  width: clamp(10.5rem, 19vw, 14.75rem);
  max-height: 3.2rem;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 0.2rem;
}

.primary-nav > a,
.nav-group > summary {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.55rem 0.72rem;
  border-radius: 0.25rem;
  color: white;
  font-family: "Oswald", "Roboto", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  text-decoration: none;
  cursor: pointer;
}

.primary-nav > a:hover,
.nav-group > summary:hover {
  background: rgb(255 255 255 / 0.1);
  color: white;
}

.nav-group {
  position: relative;
}

.nav-group > summary {
  list-style: none;
}

.nav-group > summary::-webkit-details-marker {
  display: none;
}

.nav-group > summary::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  flex: 0 0 auto;
  margin-left: 0.45rem;
  border-right: 0.125rem solid white;
  border-bottom: 0.125rem solid white;
  transform: translateY(-0.1rem) rotate(45deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  display: grid;
  width: max-content;
  min-width: 14rem;
  padding: 0.55rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 0.4rem;
  background: var(--color-ink);
  box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 0.32);
}

.nav-menu a {
  padding: 0.6rem 0.75rem;
  border-radius: 0.25rem;
  color: white;
  text-decoration: none;
}

.nav-menu a:hover {
  background: var(--color-primary-dark);
  color: white;
}

.primary-nav > .nav-service-agent {
  margin-left: auto;
  padding-inline: 1.44rem;
  background: var(--color-primary);
  color: white;
}

.primary-nav > .nav-service-agent:hover {
  background: var(--color-primary-light);
}

.mobile-nav {
  position: relative;
  display: none;
  color: white;
}

.mobile-nav > summary {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0;
  font-family: "Oswald", "Roboto", Arial, sans-serif;
  font-size: 1rem;
  list-style: none;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-nav > summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-icon {
  /* Integer pixel dimensions prevent the three strokes from rasterizing at
   * visibly different weights on high-density and scaled displays. */
  display: flex;
  width: 1.8rem;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-icon span {
  display: block;
  height: 3px;
  flex: 0 0 3px;
  background: white;
}

.mobile-nav-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  display: grid;
  width: min(22rem, calc(100vw - 2rem));
  max-height: calc(100vh - 6rem);
  gap: 0.25rem;
  padding: 1rem;
  overflow-y: auto;
  border: 1px solid rgb(255 255 255 / 0.18);
  background: #111;
  box-shadow: var(--shadow);
}

.mobile-nav-panel a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 0.2rem;
  color: white;
  font-weight: 500;
  text-decoration: none;
}

.mobile-nav-panel a:hover {
  background: rgb(255 255 255 / 0.1);
}

.mobile-nav-group {
  display: grid;
  gap: 0.1rem;
  padding-block: 0.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.14);
}

.mobile-nav-group h2 {
  margin: 0;
  padding: 10px 0.75rem 0.25rem;
  color: rgb(255 255 255 / 0.68);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Main content takes its natural height; short pages must not acquire an
 * artificial empty band above the footer. */
.legacy-content {
  width: min(100%, var(--reading-width));
  margin-inline: auto;
}

.legacy-fragment {
  display: contents;
}

.legacy-content > h1,
.legacy-content > .page-section:first-child h1 {
  max-width: 16ch;
}

.page-section {
  display: flow-root;
}

/*
 * Squarespace wraps real visual sections in structural section elements. Only
 * leaf sections receive spacing. Styling every wrapper caused the migration's
 * two-to-threefold page-height inflation and repeated nested backgrounds.
 */
.page-section:not(:has(> .page-section)) {
  padding: var(--section-leading-space) var(--gutter) var(--section-trailing-space);
  background: var(--color-surface);
}

/* Section edges own spacing across the whole imported tree. Remove only the
 * first/last child's exterior margins; retain internal paragraph rhythm and
 * explicit gallery/video grid gaps. This also applies to appended U.S. notes.
 * Two neighboring ordinary sections contribute 16px each, yielding 32px. */
.page-section > :first-child,
.content-block > :first-child,
.flow > :first-child {
  margin-top: 0;
}
.page-section > :last-child,
.content-block > :last-child,
.flow > :last-child,
.legacy-content li:last-child > :last-child,
.legacy-content blockquote > :last-child,
.legacy-content figcaption > :last-child {
  margin-bottom: 0;
}

/*
 * The first image-only section on selected legacy pages is a true page hero.
 * Let it meet the header and viewport edges so the banner is not presented as
 * a smaller content image surrounded by section padding.
 */
.legacy-content > .legacy-fragment > .page-section >
  .page-section:first-child:has(> img:only-child) {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding: 0;
}

.legacy-content > .legacy-fragment > .page-section >
  .page-section:first-child:has(> img:only-child) > img {
  width: 100%;
}

/* A single title band owns the title-to-introduction gap. Structural blocks
 * inside it contribute no margins, and the next content wrapper starts flush. */
.page-section.page-title-band {
  padding-block: var(--title-band-space) 0;
}
.page-title-band .content-block { margin-block: 0; }
.page-heading-standalone + .page-section,
.page-title-band + .page-section:not(:has(> .page-section)) {
  padding-top: 1.5rem;
}
.page-heading-standalone + .page-section > .content-block:first-child,
.page-title-band + .page-section > .content-block:first-child,
.page-title-band + .page-section > .media-block:first-child,
.page-title-band + .page-section > .gallery:first-child {
  margin-top: 0;
}
.page-heading h1 { margin-bottom: 0; }
.page-heading { margin-bottom: 1.25rem; }
.page-title-band .page-heading { margin-bottom: 0; }
.page-heading-standalone {
  padding: var(--title-band-space) var(--gutter) 0;
  margin-bottom: 0;
}
.breadcrumbs { font: 0.875rem/1.5 "Roboto", Arial, sans-serif; margin-bottom: 0.75rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li { min-width: 0; overflow-wrap: anywhere; }
.breadcrumbs li > span[aria-hidden] { margin-right: 0.5rem; }
.breadcrumbs a { text-decoration: none; }
.page-home .page-heading .breadcrumbs { color: white; }
/* Legal copy contains both linked and plain-text URLs; both must wrap. */
.page-legal { overflow-wrap: anywhere; }

/* Category introductions and their tile grids are one content group. Let the
 * grid own the single gap instead of stacking paragraph margins, block margins,
 * and the outgoing and incoming section padding. */
.page-section:has(+ :is(.hypertherm-product-grid, .powercut-product-grid, .hypertherm-service-grid, .retrofit-project-grid)) {
  padding-bottom: 0;
}
.page-section:has(+ :is(.hypertherm-product-grid, .powercut-product-grid, .hypertherm-service-grid, .retrofit-project-grid)) .content-block:last-child,
.page-section:has(+ :is(.hypertherm-product-grid, .powercut-product-grid, .hypertherm-service-grid, .retrofit-project-grid)) .flow > :last-child {
  margin-bottom: 0;
}
.page-section:is(.hypertherm-product-grid, .powercut-product-grid, .hypertherm-service-grid, .retrofit-project-grid) {
  padding-top: 1.5rem;
}

/* Linked index pages use route-specific generator hooks so their layouts stay
 * stable even if imported wrapper positions change during a refresh. */
.page-section.powercut-index-intro {
  padding-bottom: 0;
}

/* The Retrofit Services introduction now ends with its explanatory paragraph.
 * Keep the project grid nearby without changing shared section spacing on
 * other index and detail pages. */
.page-section.retrofit-index-intro {
  padding-bottom: 0;
}

.powercut-product-grid,
.hypertherm-product-grid,
.retrofit-project-grid,
.hypertherm-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}

.powercut-product-grid > a,
.hypertherm-product-grid > a,
.retrofit-project-grid > a,
.hypertherm-service-grid > a {
  min-width: 0;
}

.powercut-product-grid > a img,
.hypertherm-product-grid > a img,
.retrofit-project-grid > a img,
.hypertherm-service-grid > a img {
  width: 100%;
}

.powercut-product-grid > a h3,
.hypertherm-product-grid > a h2,
.hypertherm-product-grid > a h3,
.retrofit-project-grid > a h3,
.hypertherm-service-grid > a h3 {
  margin: 0.65rem 0 0;
}

/* Imported Hypertherm tile labels use mixed h2 and h3 markup. Preserve that
 * semantic source structure while presenting every label with one consistent
 * visual hierarchy. */
.hypertherm-product-grid > a h2,
.hypertherm-product-grid > a h3 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  letter-spacing: normal;
}

/* These hooks are limited to the consumables route. The nested action wrapper
 * remains intact, and contained square artwork keeps the labels baked into all
 * six linked source images visible without inheriting the shared media shadow. */
.hypertherm-consumables-store-action,
.hypertherm-consumables-store-action .actions {
  justify-content: center;
}

.gallery.hypertherm-consumables-gallery img {
  aspect-ratio: 1;
  background: white;
  object-fit: contain;
  box-shadow: none;
}

/* The XPR overview repeats its three machine cards in two catalogue sections.
 * Keep both reviewed surfaces explicitly white, preserve every photograph
 * without cropping, and center only the store and model-detail actions. */
.page-section.hypertherm-xpr-white-section {
  background: white;
}

.hypertherm-xpr-machine-image {
  width: 100%;
  aspect-ratio: 1;
  background: white;
  object-fit: contain;
}

.hypertherm-xpr-action,
.hypertherm-xpr-action .actions {
  justify-content: center;
}

/* The XPR170 detail route mixes equipment photographs with wide technical
 * tables. Contain the four reviewed equipment images in square white frames,
 * but remove the shared 4:3 crop and height cap from the three table images so
 * their full source content remains readable at its intrinsic ratio. */
.media-block img.hypertherm-xpr170-square-image {
  width: 100%;
  max-height: none;
  aspect-ratio: 1;
  background: white;
  object-fit: contain;
}

.media-block img.hypertherm-xpr170-fit-image {
  width: 100%;
  max-height: none;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.hypertherm-xpr170-action,
.hypertherm-xpr170-action .actions {
  justify-content: center;
}

/* The XPR300 detail route follows the XPR170 media contract with three
 * equipment photographs and three technical-table images. Strong selectors
 * override the shared 4:3 crop without changing media on any other route. */
.media-block img.hypertherm-xpr300-square-image {
  width: 100%;
  max-height: none;
  aspect-ratio: 1;
  background: white;
  object-fit: contain;
}

.media-block img.hypertherm-xpr300-fit-image {
  width: 100%;
  max-height: none;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.hypertherm-xpr300-action,
.hypertherm-xpr300-action .actions {
  justify-content: center;
}

/* The XPR460 detail route uses square white frames for its three equipment
 * photographs and intrinsic geometry for its three technical tables. These
 * route-specific hooks override the shared 4:3 crop without affecting media
 * on other Hypertherm or product pages. */
.media-block img.hypertherm-xpr460-square-image {
  width: 100%;
  max-height: none;
  aspect-ratio: 1;
  background: white;
  object-fit: contain;
}

.media-block img.hypertherm-xpr460-fit-image {
  width: 100%;
  max-height: none;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.hypertherm-xpr460-action,
.hypertherm-xpr460-action .actions {
  justify-content: center;
}

/* The product partnership page has two independent imported action wrappers.
 * Center both without changing the shared action layout on any other route. */
.hypertherm-product-partnership-action,
.hypertherm-product-partnership-action .actions {
  justify-content: center;
}

/* Center the reviewed Upgrade Kits store action without changing the shared
 * alignment of its kit table, inline contact link, or actions on other pages. */
.hypertherm-upgrade-kits-store-action,
.hypertherm-upgrade-kits-store-action .actions {
  justify-content: center;
}

/* Center only the reviewed Preventive Maintenance store action. The service
 * headings, maintenance lists, photograph, and U.S. note keep their layout. */
.hypertherm-preventive-maintenance-store-action,
.hypertherm-preventive-maintenance-store-action .actions {
  justify-content: center;
}

.hypertherm-store-action,
.hypertherm-store-action .actions {
  justify-content: center;
}

.section-dark {
  background: linear-gradient(135deg, var(--color-primary-darker), #1d0909) !important;
  color: white;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark a {
  color: white;
}

.flow {
  width: min(100%, 72rem);
  margin-inline: auto;
}

.content-grid {
  display: grid;
  width: min(100%, 72rem);
  margin-inline: auto;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}

.content-grid > * {
  grid-column: span 6;
}

.content-grid > h1,
.content-grid > h2,
.content-grid > p,
.content-grid > ul,
.content-grid > ol,
.content-grid > .flow {
  grid-column: 1 / -1;
}

.content-block {
  margin-block: 1rem;
}

/* The extractor preserves nested Squarespace block wrappers for safety. Their
 * inner copies are structural, so they must not add a second margin layer. */
.content-block > .content-block {
  display: contents;
}

.media-block,
.gallery {
  margin-block: 1rem;
}

/* Imported media wrappers can nest two or three levels deep. Their inner
 * layers are structural and must not multiply the vertical section spacing. */
.media-block > .content-block,
.media-block .media-block,
.media-block figure {
  margin: 0;
}

/* Flat image surfaces blend white source artwork into the page canvas. */
.media-block img,
.gallery img,
.legacy-content > img {
  width: 100%;
  max-height: 44rem;
  border-radius: 0.35rem;
  object-fit: cover;
  box-shadow: none;
}

.media-block img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* The local JPG is the complete initial player surface. YouTube is loaded only
 * after the visitor activates the theme-colored control. */
.youtube-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 0.35rem;
  background: #140404;
  box-shadow: none;
}

.youtube-player .youtube-thumbnail,
.youtube-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: none;
}

.youtube-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: clamp(4rem, 8vw, 5.25rem);
  aspect-ratio: 1;
  padding: 0;
  border: 0.2rem solid white;
  border-radius: 50%;
  place-items: center;
  background: var(--color-primary);
  box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 0.45);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: background 160ms ease, transform 160ms ease;
}

.youtube-play span {
  width: 0;
  height: 0;
  margin-left: 0.32rem;
  border-top: 0.75rem solid transparent;
  border-bottom: 0.75rem solid transparent;
  border-left: 1.15rem solid white;
}

.youtube-play:hover {
  background: var(--color-primary-light);
  transform: translate(-50%, -50%) scale(1.06);
}

.youtube-play:focus-visible {
  outline: 0.22rem solid white;
  outline-offset: 0.28rem;
}

.legacy-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
  cursor: zoom-in;
}

.legacy-lightbox-trigger img {
  width: 100%;
  max-height: 44rem;
  border-radius: 0.35rem;
  object-fit: cover;
  box-shadow: none;
}

.legacy-button-copy {
  margin-block: 0.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.8rem;
}

/* Squarespace's gallery block is wrapped three times in the source DOM. The
 * wrappers remain in the sanitized HTML, but `display: contents` promotes the
 * real image/link tiles into a single responsive grid. */
.gallery > .content-block,
.gallery > .content-block > .gallery,
.gallery > .content-block > .gallery > .gallery {
  display: contents;
}

.gallery img {
  aspect-ratio: 4 / 3;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button,
.actions a {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--color-primary);
  border-radius: 0.25rem;
  background: var(--color-primary);
  color: white;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.actions a:hover {
  background: var(--color-primary-dark);
  color: white;
}

.page-home .legacy-content {
  width: 100%;
  max-width: none;
}

.page-home .page-section:has(> img):has(> .actions) {
  position: relative;
  display: flex;
  min-height: 15.75rem;
  padding: var(--section-space) var(--gutter);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.65rem;
  overflow: hidden;
  background: #111;
  color: white;
  text-align: center;
}

.page-home .legacy-fragment:first-child > .page-section > .page-section:first-child {
  min-height: 18.25rem;
}

.page-home .page-section:has(> img):has(> .actions)::after {
  position: absolute;
  z-index: 0;
  background: rgb(0 0 0 / 0.42);
  content: "";
  inset: 0;
}

.page-home .page-section:has(> img):has(> .actions) > img {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
  inset: 0;
}

.page-home .page-section:has(> img):has(> .actions) > :not(img) {
  position: relative;
  z-index: 1;
  margin: 0;
}

.page-home .page-section:has(> img):has(> .actions) h1 {
  max-width: none;
  margin-bottom: 0.4rem;
  color: white;
  font-size: clamp(2rem, 4vw, 2.7rem);
  letter-spacing: 0.02em;
}

.page-home .page-section:has(> img):has(> .actions) h2,
.page-home .page-section:has(> img):has(> .actions) h3,
.page-home .page-section:has(> img):has(> .actions) a {
  color: white;
}

.page-home .page-section:has(> img):has(> .actions) .actions {
  justify-content: center;
}

.page-home .page-section:has(> img):has(> .actions) .actions a {
  border-color: white;
  background: white;
  color: var(--color-ink);
  /* A compact line box optically centers uppercase labels while the flex
   * alignment and equal block padding retain a consistent hit target. */
  line-height: 1.2;
  text-transform: uppercase;
}

.page-home .page-section:has(> img):has(> .actions) .content-block,
.page-home .page-section:has(> img):has(> .actions) p,
.page-home .page-section:has(> img):has(> .actions) h2 {
  margin: 0;
}

.page-home .page-section:not(:has(> .page-section)) > .gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-home .home-values {
  width: 60%;
  margin: 2rem auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.35rem, 1vw, 0.75rem);
}

.page-home .home-values img {
  aspect-ratio: 1;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

/* The first post-banner action belongs to the centered value proposition,
 * rather than to an individual text column. Both wrapper layers are flex
 * containers in the imported markup, so centering each keeps the button
 * aligned even if the legacy nesting changes its intrinsic width. */
.page-home .home-store-action,
.page-home .home-store-action .actions {
  justify-content: center;
}

/* The POWERCUT media starts the section as a true right float so the lead copy
 * occupies the remaining measure. Constraining the section to the site's
 * established 72 rem content canvas keeps the image from extending beyond the
 * copy alignment on wide screens. The action row clears the photograph and
 * preserves the existing paired, centered calls to action below the content. */
.page-home .home-powercut-details {
  display: block;
  width: min(100%, 72rem);
  margin-inline: auto;
}

.page-home .home-powercut-details > .home-powercut-media {
  float: right;
  width: calc(50% - 1rem);
  margin: 0 0 1.5rem 2rem;
}

/* This product cutout sits on its own white field, so the shared editorial
 * image shadow adds an unintended card edge. Keep the figure flat and align
 * its linked caption to the same right edge as the image. */
.page-home .home-powercut-media img {
  box-shadow: none;
}

.page-home .home-powercut-media figcaption p {
  text-align: right;
}

.page-home .home-powercut-actions {
  display: flex;
  clear: both;
  justify-content: center;
  gap: 0.75rem;
}

.page-home .home-powercut-actions > .actions,
.page-home .home-powercut-actions .actions {
  width: auto;
  justify-content: center;
}

/* Two consecutive direct action blocks form one logical call-to-action row.
 * Non-action children keep full width, while the final buttons share a
 * centered flex row and wrap only when the available viewport is too narrow. */
.page-home .page-section:has(> .actions + .actions) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.75rem;
}

.page-home .page-section:has(> .actions + .actions) > :not(.actions) {
  flex: 0 0 100%;
}

.page-home .page-section:has(> .actions + .actions) > .actions {
  width: auto;
}

.page-home .legacy-fragment > .page-section > .media-block {
  width: min(100%, 16.1rem);
  margin-inline: auto;
}

.page-home .legacy-fragment > .page-section > .media-block img {
  aspect-ratio: 1;
}

@media (min-width: 48.001rem) {
  .page-home .page-section:not(:has(> .page-section)) > .content-grid {
    grid-template-areas:
      "intro intro intro intro"
      "products products services services"
      "accordion accordion accordion accordion"
      "image-one image-two image-three image-four"
      "label-one label-two label-three label-four"
      "action-one action-one action-two action-two";
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem 2rem;
  }

  .page-home .content-grid > :nth-child(1) { grid-area: intro; }
  .page-home .content-grid > :nth-child(2) { grid-area: products; }
  .page-home .content-grid > :nth-child(3) { grid-area: services; }
  .page-home .content-grid > :nth-child(4) { grid-area: accordion; }
  .page-home .content-grid > :nth-child(5) { grid-area: image-one; }
  .page-home .content-grid > :nth-child(6) { grid-area: image-two; }
  .page-home .content-grid > :nth-child(7) { grid-area: label-one; }
  .page-home .content-grid > :nth-child(8) { grid-area: image-three; }
  .page-home .content-grid > :nth-child(9) { grid-area: label-two; }
  .page-home .content-grid > :nth-child(10) { grid-area: image-four; }
  .page-home .content-grid > :nth-child(11) { grid-area: label-three; }
  .page-home .content-grid > :nth-child(12) { grid-area: label-four; }
  .page-home .content-grid > :nth-child(13) { grid-area: action-one; }
  .page-home .content-grid > :nth-child(14) { grid-area: action-two; }

  .page-home .content-grid > .media-block,
  .page-home .content-grid > .media-block .media-block,
  .page-home .content-grid > .actions,
  .page-home .content-grid > .content-block {
    margin: 0;
  }

  .page-home .content-grid > .media-block img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
}

/* Hypertherm product artwork includes important detail near every edge. Keep
 * each tile square but contain the complete source image instead of cropping
 * it into the general 4:3 editorial-media treatment above. The product cutouts
 * already sit on white fields, so flatten only these four images and center
 * their linked labels without affecting the descriptive links above them. */
.page-home .content-grid > .media-block img {
  padding: 10px;
  aspect-ratio: 1;
  background: white;
  object-fit: contain;
}

.page-home .home-hypertherm-grid > .media-block img {
  box-shadow: none;
}

.page-home .home-hypertherm-grid > .content-block a:not(:has(img)) {
  display: block;
  text-align: center;
}

/* Only direct, standalone video blocks use the narrower editorial measure.
 * Players inside grids and cards retain the width supplied by their context. */
.standalone-video {
  width: 60%;
  margin-inline: auto;
}

/* The standard POWERCUT 10 x 5 page has seven related demonstrations with
 * captions and explanatory copy. This route-specific wrapper presents them as
 * one compact catalogue without changing the shared standalone player width
 * elsewhere or affecting the gallery that precedes the series. */
.powercut-10x5-video-grid {
  display: grid;
  width: min(100%, 72rem);
  margin: clamp(1rem, 2.5vw, 2rem) auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
}

.powercut-10x5-video-grid > .standalone-video {
  width: 100%;
  margin: 0;
}

/* The named video series on this one POWERCUT detail page is a compact media
 * catalogue rather than a sequence of full-width editorial players. The
 * route-specific wrapper owns its columns, so the shared standalone width is
 * reset only for these twelve verified click-to-load players. */
.powercut-hd-video-grid {
  display: grid;
  width: min(100%, 72rem);
  margin: clamp(1rem, 2.5vw, 2rem) auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.powercut-hd-video-grid > .standalone-video {
  width: 100%;
  margin: 0;
}

/* The POWERCUT XPR page contains ten related demonstrations with retained
 * captions and descriptions. Its route-specific wrapper owns the two-column
 * desktop catalogue without changing standalone players on any other page. */
.powercut-xpr-video-grid {
  display: grid;
  width: min(100%, 72rem);
  margin: clamp(1rem, 2.5vw, 2rem) auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
}

.powercut-xpr-video-grid > .standalone-video {
  width: 100%;
  margin: 0;
}

/* The FIBER MASTER page distributes eight demonstrations across three
 * narrative sections. A route-specific grid on each verified section allows
 * up to two players per row while every heading, photograph, gallery, and copy
 * block keeps its original full-width position and reading order. */
.fiber-master-video-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
}

/* Grid gaps own row spacing; child margins must not add another layer. */
.fiber-master-video-layout > *,
.page:not(.page-home) .content-grid > .content-block {
  margin-block: 0;
}

.fiber-master-video-layout > :not(.standalone-video) {
  grid-column: 1 / -1;
}

.fiber-master-video-layout > .standalone-video {
  width: 100%;
  min-width: 0;
  margin: 0;
}

/* The aluminium demonstration is followed by two differently proportioned
 * source photographs. A separate grid creates the requested visual break from
 * the player while `contain` preserves each complete photograph without
 * turning the portrait image into a crop. */
.powercut-hd-photo-pair {
  display: grid;
  width: min(100%, 72rem);
  margin: clamp(2rem, 4vw, 3rem) auto clamp(1rem, 2.5vw, 2rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.powercut-hd-photo-pair .media-block {
  width: 100%;
  margin: 0;
}

.powercut-hd-photo-pair img {
  width: 100%;
  max-height: none;
  border-radius: 0.35rem;
  aspect-ratio: 4 / 3;
  background: white;
  object-fit: contain;
}

/* The two named About photographs precede the copy they illustrate. Clearing
 * at the CTA and video heading keeps each float within its intended passage. */
.page:not(.page-home) .about-float-media {
  float: right;
  width: calc(50% - 1rem);
  margin: 0 0 1.5rem 2rem;
}

.about-detail-action,
.about-video-heading {
  clear: both;
}

.about-detail-action,
.about-detail-action .actions {
  justify-content: center;
}

/* These Hypertherm photographs illustrate the detailed copy that follows
 * them. Each centered action is the explicit clear point before later page
 * content, while route-specific hooks prevent accidental inheritance. */
.page:not(.page-home) .hpr-service-media,
.page:not(.page-home) .xpr-service-media,
.page:not(.page-home) .hpr-retrofit-media,
.page:not(.page-home) .xpr-retrofit-media,
.page:not(.page-home) .hypertherm-partnership-media {
  float: right;
  width: 50%;
  margin: 0 0 1.5rem 2rem;
}

.hpr-service-action,
.xpr-service-action,
.hpr-retrofit-action,
.xpr-retrofit-action,
.hypertherm-partnership-action {
  clear: both;
}

.hpr-service-action,
.hpr-service-action .actions,
.xpr-service-action,
.xpr-service-action .actions,
.hpr-retrofit-action,
.hpr-retrofit-action .actions,
.xpr-retrofit-action,
.xpr-retrofit-action .actions,
.hypertherm-partnership-action,
.hypertherm-partnership-action .actions {
  justify-content: center;
}

.page-home .content-grid > .actions,
.page-home .content-grid > .actions .actions {
  justify-content: center;
}

.legacy-accordion-item {
  margin: 0;
  list-style: none;
}

.legacy-accordion {
  border-top: 1px solid var(--color-border);
}

.legacy-accordion:last-child {
  border-bottom: 1px solid var(--color-border);
}

.legacy-accordion summary {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  color: var(--color-primary-darker);
  font-family: "Oswald", "Roboto", Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.legacy-accordion summary::-webkit-details-marker {
  display: none;
}

.legacy-accordion summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}

.legacy-accordion[open] summary::after {
  content: "−";
}

.legacy-accordion-content {
  padding: 0.25rem 0 1rem;
}

.legacy-content table {
  display: block;
  width: 100%;
  margin-block: 2rem;
  overflow-x: auto;
  border-collapse: collapse;
}

.legacy-content th,
.legacy-content td {
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--color-border);
  text-align: left;
}

.legacy-content blockquote {
  padding-left: 1.2rem;
  border-left: 0.3rem solid var(--color-primary);
  color: var(--color-muted);
  font-size: 1.18rem;
}

.not-found {
  width: min(calc(100% - 2 * var(--gutter)), 62rem);
  margin: 0 auto var(--section-space);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  background: var(--color-soft);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  padding: clamp(1rem, 3vw, 2.5rem);
  border: 0;
  background: rgb(15 5 5 / 0.92);
  color: white;
}

.lightbox-overlay:not([open]) {
  display: none;
}

.lightbox-overlay[open] {
  display: grid;
  place-items: center;
}

.lightbox-overlay::backdrop {
  background: rgb(15 5 5 / 0.72);
}

.lightbox-dialog {
  position: relative;
  display: grid;
  width: min(100%, 90rem);
  max-height: calc(100vh - 2rem);
  place-items: center;
}

.lightbox-image-slot {
  display: grid;
  width: 100%;
  min-width: 0;
  place-items: center;
}

.lightbox-image-slot img {
  max-width: 100%;
  max-height: calc(100vh - 4rem);
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 3rem;
  min-height: 3rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 0.9);
  border-radius: 50%;
  background: rgb(65 8 9 / 0.92);
  color: white;
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close {
  top: 0.75rem;
  right: 0.75rem;
  font-size: 1.65rem;
}

.lightbox-nav {
  top: 50%;
  font-size: 2.25rem;
  transform: translateY(-50%);
}

.lightbox-previous {
  left: 0.75rem;
}

.lightbox-next {
  right: 0.75rem;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--color-primary);
}

.site-footer {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--color-primary-darker);
  color: #eee7e7;
  font-weight: 300;
  line-height: 1.35;
  font-family: "Oswald", "Roboto", Arial, sans-serif;
  font-size: var(--footer-font-size);
}

/* Footer option 3 preserves the condensed brand face with lighter weights.
 * Link feedback uses color; the shared keyboard-focus outline stays visible. */
.site-footer h2 {
  color: white;
  font-weight: 400;
  line-height: 1.35;
}

.site-footer a {
  color: #eee7e7;
  text-decoration: none;
  transition: color 150ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #e5aaaa;
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
}

.footer-grid h2 {
  font-size: inherit;
  letter-spacing: 0;
}

.footer-about {
  border: 0;
}

.footer-about summary {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: white;
  font-family: "Oswald", "Roboto", Arial, sans-serif;
  font-size: inherit;
  font-weight: 400;
  list-style: none;
  cursor: pointer;
}

.footer-about summary::-webkit-details-marker {
  display: none;
}

.footer-about summary::after {
  content: "+";
  font-family: "Roboto", Arial, sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}

.footer-about[open] summary::after {
  content: "−";
}

.footer-about-content {
  padding-top: 0.75rem;
}

.footer-links {
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.15rem;
}

.footer-store {
  padding-block: 0 1.75rem;
  text-align: center;
  text-transform: uppercase;
}

.footer-store a {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  padding: 0.75rem 1.1rem;
  border: 1px solid white;
  border-radius: 0.25rem;
  font-weight: 300;
  text-decoration: none;
}

.footer-base {
  margin-top: 3rem;
  padding-block: 1.2rem;
  border-top: 1px solid rgb(255 255 255 / 0.18);
  font-size: inherit;
}

.footer-base p {
  margin-bottom: 0.35rem;
}

.eyebrow {
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* The US contact path is intentionally visually distinct from migrated page
 * sections so visitors can recognize the local service handoff immediately. */
.us-service-banner {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-block: 1px solid var(--color-border);
  background:
    linear-gradient(120deg, rgb(65 8 9 / 0.96), rgb(145 18 19 / 0.92)),
    var(--color-primary-darker);
  color: white;
}

.us-service-banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.us-service-banner .eyebrow,
.us-service-banner h2,
.us-service-banner a:not(.button) {
  color: white;
}

.us-service-banner h2 {
  max-width: none;
  margin-bottom: 0.5rem;
}

.us-service-banner p:last-child {
  max-width: 50rem;
  margin-bottom: 0;
}

.us-service-actions {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  text-align: center;
}

.us-service-actions .button {
  border-color: white;
  background: white;
  color: var(--color-primary-darker);
}

.network-location {
  margin-bottom: 0.4rem;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-map-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: 1.5rem;
}

.service-map {
  width: 100%;
  min-height: 27rem;
  border: 1px solid var(--color-border);
  border-radius: 0.4rem;
  box-shadow: var(--shadow);
}

.network-section {
  padding-block: 1rem;
  background: var(--color-soft);
}

.network-intro {
  max-width: 48rem;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.network-card {
  display: flex;
  min-height: 16rem;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 0.35rem;
  background: white;
}

.network-card h3 {
  font-size: 1.45rem;
}

.network-card a {
  margin-top: auto;
  font-weight: 700;
}

.service-network-note {
  padding-block: 1rem;
}

.service-network-note p {
  max-width: 55rem;
}

@media (max-width: 68rem) {
  .header-shell {
    position: relative;
    min-height: 4.25rem;
    justify-content: center;
    gap: 1rem;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: absolute;
    left: 0;
    display: block;
  }

  .mobile-nav-panel {
    right: auto;
    left: 0;
  }
}

@media (max-width: 48rem) {
  h1 {
    font-size: clamp(1.9rem, 8vw, 2.55rem);
  }

  .brand img {
    width: min(15rem, 65vw);
  }

  .page-home .legacy-fragment:first-child > .page-section > .page-section:first-child {
    min-height: 17.5rem;
  }

  .page-home .page-section:has(> img):has(> .actions) {
    min-height: 17.5rem;
  }

  .page-home .legacy-fragment > .page-section > .media-block {
    width: min(100%, 20.25rem);
  }

  .page-heading-standalone + .page-section,
  .page-title-band + .page-section:not(:has(> .page-section)) { padding-top: 1.125rem; }

  .page-home .home-values,
  .standalone-video {
    width: 100%;
  }

  .page-home .home-values {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .powercut-10x5-video-grid,
  .powercut-hd-video-grid,
  .powercut-xpr-video-grid,
  .fiber-master-video-layout,
  .powercut-hd-photo-pair {
    grid-template-columns: 1fr;
  }

  .page-home .home-powercut-details > .home-powercut-media,
  .page:not(.page-home) .about-float-media,
  .page:not(.page-home) .hpr-service-media,
  .page:not(.page-home) .xpr-service-media,
  .page:not(.page-home) .hpr-retrofit-media,
  .page:not(.page-home) .xpr-retrofit-media,
  .page:not(.page-home) .hypertherm-partnership-media {
    float: none;
    width: 100%;
    margin: 0 0 1.5rem;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  }

  .powercut-product-grid,
  .hypertherm-product-grid,
  .retrofit-project-grid,
  .hypertherm-service-grid {
    grid-template-columns: 1fr;
  }

  .page-home .page-section:not(:has(> .page-section)) > .gallery:not(.home-values) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-grid {
    display: block;
  }

  .page-home .page-section:not(:has(> .page-section)) > .content-grid {
    display: grid;
    grid-template-areas:
      "intro intro"
      "products products"
      "services services"
      "accordion accordion"
      "image-one image-two"
      "label-one label-two"
      "image-three image-four"
      "label-three label-four"
      "action-one action-two";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .page-home .content-grid > :nth-child(1) { grid-area: intro; }
  .page-home .content-grid > :nth-child(2) { grid-area: products; }
  .page-home .content-grid > :nth-child(3) { grid-area: services; }
  .page-home .content-grid > :nth-child(4) { grid-area: accordion; }
  .page-home .content-grid > :nth-child(5) { grid-area: image-one; }
  .page-home .content-grid > :nth-child(6) { grid-area: image-two; }
  .page-home .content-grid > :nth-child(7) { grid-area: label-one; }
  .page-home .content-grid > :nth-child(8) { grid-area: image-three; }
  .page-home .content-grid > :nth-child(9) { grid-area: label-two; }
  .page-home .content-grid > :nth-child(10) { grid-area: image-four; }
  .page-home .content-grid > :nth-child(11) { grid-area: label-three; }
  .page-home .content-grid > :nth-child(12) { grid-area: label-four; }
  .page-home .content-grid > :nth-child(13) { grid-area: action-one; }
  .page-home .content-grid > :nth-child(14) { grid-area: action-two; }

  .page-home .content-grid > .media-block,
  .page-home .content-grid > .media-block .media-block,
  .page-home .content-grid > .actions,
  .page-home .content-grid > .content-block {
    margin: 0;
  }

  .content-grid > * {
    margin-block: 1rem;
  }

  .footer-grid,
  .service-map-section,
  .us-service-banner-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .us-service-actions {
    justify-items: start;
    text-align: left;
  }

  .service-map {
    min-height: 22rem;
  }

  .footer-base {
    margin-top: 1rem;
    padding-block: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.media-block img.intrinsic-2238-1046 { aspect-ratio: auto 2238 / 1046; }
.media-block img.intrinsic-1022-846 { aspect-ratio: auto 1022 / 846; }
.media-block img.intrinsic-2230-2720 { aspect-ratio: auto 2230 / 2720; }
.media-block img.intrinsic-1840-1004 { aspect-ratio: auto 1840 / 1004; }
.media-block img.intrinsic-1834-672 { aspect-ratio: auto 1834 / 672; }
.media-block img.intrinsic-1834-2947 { aspect-ratio: auto 1834 / 2947; }
.media-block img.intrinsic-2244-1308 { aspect-ratio: auto 2244 / 1308; }
.media-block img.intrinsic-2238-1164 { aspect-ratio: auto 2238 / 1164; }
.media-block img.intrinsic-1838-4248 { aspect-ratio: auto 1838 / 4248; }
