/* TA Construction Solutions
   Brand colours are white, yellow and soft black. The welded name in the hero
   adds the one other colour family: the heat tint a weld leaves on steel. */

:root {
  --white: #FFFFFF;
  --paper: #F5F5F2;
  --line: #E6E6E1;
  --rule: #D5D5CF;
  --ink: #1D1E20;
  --ink-2: #2B2C2F;
  --muted: #5D6066;
  --muted-light: #A6A9AE;
  --yellow: #FFC21A;
  --yellow-deep: #EBAA00;
  --yellow-pale: #FFF4CC;
  --danger: #B3261E;

  --tint-straw: #EBCB7A;
  --tint-gold: #D79A3E;
  --tint-bronze: #A9643A;
  --tint-plum: #6E4A86;
  --tint-blue: #3D5FA8;

  /* yellow painted steel tread plate */
  --tread: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46' viewBox='0 0 46 46'%3E%3Cellipse cx='12.6' cy='12.8' rx='9.4' ry='2.5' transform='rotate(45 12.6 12.8)' fill='%239A6C00' fill-opacity='0.32'/%3E%3Cellipse cx='10.7' cy='10.6' rx='9.4' ry='2.5' transform='rotate(45 10.7 10.6)' fill='%23FFFFFF' fill-opacity='0.48'/%3E%3Cellipse cx='11.5' cy='11.5' rx='9.4' ry='2.5' transform='rotate(45 11.5 11.5)' fill='%23FFCB33' fill-opacity='1'/%3E%3Cellipse cx='35.6' cy='12.8' rx='9.4' ry='2.5' transform='rotate(-45 35.6 12.8)' fill='%239A6C00' fill-opacity='0.32'/%3E%3Cellipse cx='33.7' cy='10.6' rx='9.4' ry='2.5' transform='rotate(-45 33.7 10.6)' fill='%23FFFFFF' fill-opacity='0.48'/%3E%3Cellipse cx='34.5' cy='11.5' rx='9.4' ry='2.5' transform='rotate(-45 34.5 11.5)' fill='%23FFCB33' fill-opacity='1'/%3E%3Cellipse cx='12.6' cy='35.8' rx='9.4' ry='2.5' transform='rotate(-45 12.6 35.8)' fill='%239A6C00' fill-opacity='0.32'/%3E%3Cellipse cx='10.7' cy='33.6' rx='9.4' ry='2.5' transform='rotate(-45 10.7 33.6)' fill='%23FFFFFF' fill-opacity='0.48'/%3E%3Cellipse cx='11.5' cy='34.5' rx='9.4' ry='2.5' transform='rotate(-45 11.5 34.5)' fill='%23FFCB33' fill-opacity='1'/%3E%3Cellipse cx='35.6' cy='35.8' rx='9.4' ry='2.5' transform='rotate(45 35.6 35.8)' fill='%239A6C00' fill-opacity='0.32'/%3E%3Cellipse cx='33.7' cy='33.6' rx='9.4' ry='2.5' transform='rotate(45 33.7 33.6)' fill='%23FFFFFF' fill-opacity='0.48'/%3E%3Cellipse cx='34.5' cy='34.5' rx='9.4' ry='2.5' transform='rotate(45 34.5 34.5)' fill='%23FFCB33' fill-opacity='1'/%3E%3C/svg%3E");
  /* four slotted screws, for anything that should look bolted on */
  --screws:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cdefs%3E%3CradialGradient id='g' cx='36%' cy='32%' r='72%'%3E%3Cstop offset='0' stop-color='%23F4F6F7'/%3E%3Cstop offset='.5' stop-color='%23AEB5BA'/%3E%3Cstop offset='1' stop-color='%23555D64'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='10.3' cy='10.9' r='8.8' fill='%23000' fill-opacity='.5'/%3E%3Ccircle cx='10' cy='10' r='8.4' fill='url(%23g)' stroke='%23272D33' stroke-width='.8'/%3E%3Cg transform='rotate(28 10 10)'%3E%3Crect x='2.9' y='8.7' width='14.2' height='2.6' rx='1.1' fill='%23262C31'/%3E%3Crect x='3.2' y='10.9' width='13.6' height='.7' rx='.35' fill='%23FFFFFF' fill-opacity='.45'/%3E%3C/g%3E%3C/svg%3E") left 9px top 9px / 15px 15px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cdefs%3E%3CradialGradient id='g' cx='36%' cy='32%' r='72%'%3E%3Cstop offset='0' stop-color='%23F4F6F7'/%3E%3Cstop offset='.5' stop-color='%23AEB5BA'/%3E%3Cstop offset='1' stop-color='%23555D64'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='10.3' cy='10.9' r='8.8' fill='%23000' fill-opacity='.5'/%3E%3Ccircle cx='10' cy='10' r='8.4' fill='url(%23g)' stroke='%23272D33' stroke-width='.8'/%3E%3Cg transform='rotate(112 10 10)'%3E%3Crect x='2.9' y='8.7' width='14.2' height='2.6' rx='1.1' fill='%23262C31'/%3E%3Crect x='3.2' y='10.9' width='13.6' height='.7' rx='.35' fill='%23FFFFFF' fill-opacity='.45'/%3E%3C/g%3E%3C/svg%3E") right 9px top 9px / 15px 15px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cdefs%3E%3CradialGradient id='g' cx='36%' cy='32%' r='72%'%3E%3Cstop offset='0' stop-color='%23F4F6F7'/%3E%3Cstop offset='.5' stop-color='%23AEB5BA'/%3E%3Cstop offset='1' stop-color='%23555D64'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='10.3' cy='10.9' r='8.8' fill='%23000' fill-opacity='.5'/%3E%3Ccircle cx='10' cy='10' r='8.4' fill='url(%23g)' stroke='%23272D33' stroke-width='.8'/%3E%3Cg transform='rotate(-36 10 10)'%3E%3Crect x='2.9' y='8.7' width='14.2' height='2.6' rx='1.1' fill='%23262C31'/%3E%3Crect x='3.2' y='10.9' width='13.6' height='.7' rx='.35' fill='%23FFFFFF' fill-opacity='.45'/%3E%3C/g%3E%3C/svg%3E") left 9px bottom 9px / 15px 15px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cdefs%3E%3CradialGradient id='g' cx='36%' cy='32%' r='72%'%3E%3Cstop offset='0' stop-color='%23F4F6F7'/%3E%3Cstop offset='.5' stop-color='%23AEB5BA'/%3E%3Cstop offset='1' stop-color='%23555D64'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='10.3' cy='10.9' r='8.8' fill='%23000' fill-opacity='.5'/%3E%3Ccircle cx='10' cy='10' r='8.4' fill='url(%23g)' stroke='%23272D33' stroke-width='.8'/%3E%3Cg transform='rotate(74 10 10)'%3E%3Crect x='2.9' y='8.7' width='14.2' height='2.6' rx='1.1' fill='%23262C31'/%3E%3Crect x='3.2' y='10.9' width='13.6' height='.7' rx='.35' fill='%23FFFFFF' fill-opacity='.45'/%3E%3C/g%3E%3C/svg%3E") right 9px bottom 9px / 15px 15px no-repeat;
  /* one screw head, used as a list bullet */
  --screw-bullet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cdefs%3E%3CradialGradient id='g' cx='36%' cy='32%' r='72%'%3E%3Cstop offset='0' stop-color='%23F4F6F7'/%3E%3Cstop offset='.5' stop-color='%23AEB5BA'/%3E%3Cstop offset='1' stop-color='%23555D64'/%3E%3C/radialGradient%3E%3C/defs%3E%3Ccircle cx='10.3' cy='10.9' r='8.8' fill='%23000' fill-opacity='.5'/%3E%3Ccircle cx='10' cy='10' r='8.4' fill='url(%23g)' stroke='%23272D33' stroke-width='.8'/%3E%3Cg transform='rotate(28 10 10)'%3E%3Crect x='2.9' y='8.7' width='14.2' height='2.6' rx='1.1' fill='%23262C31'/%3E%3Crect x='3.2' y='10.9' width='13.6' height='.7' rx='.35' fill='%23FFFFFF' fill-opacity='.45'/%3E%3C/g%3E%3C/svg%3E");
  /* brushed dark steel with screws, for cards and photo plates */
  --steel-plate:
    var(--screws),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, rgba(0, 0, 0, .03) 1px 2px, transparent 2px 4px);

  --f-sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-stencil: "Saira Stencil One", "Archivo", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --radius: 4px;

  color-scheme: light;
}

/* Base ------------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

:focus-visible {
  outline: 2.5px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Section eyebrow: a short yellow bar and a plain label */
.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 680;
  font-stretch: 108%;
  line-height: 1.3;
  color: var(--ink-2);
}
.label::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: var(--yellow);
}

/* Buttons and links ----------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 680;
  font-stretch: 108%;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px) scale(.98); }
a, button, summary, label, select { touch-action: manipulation; }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 1rem; }

.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-deep); }

.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #000; }

.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--white); }

.btn--line-light { border-color: rgba(255, 255, 255, .7); color: var(--white); background: transparent; }
.btn--line-light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

.btn-icon {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Header ---------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.on-dark {
  background: rgba(27, 28, 30, .88);
  border-bottom-color: rgba(255, 255, 255, .07);
}
.site-header.on-dark .brand-name { color: var(--white); }
.site-header.on-dark .brand-name span { color: var(--muted-light); }
.site-header.on-dark .nav-toggle { color: var(--white); }
.site-header.on-dark :focus-visible { outline-color: var(--yellow); }
@media (min-width: 1001px) {
  .site-header.on-dark .nav-list a { color: var(--white); }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 3px;
  font-family: var(--f-stencil);
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.02em;
  padding-top: 2px;
}
.brand-name {
  font-weight: 800;
  font-stretch: 115%;
  font-size: 1rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.brand-name span {
  display: block;
  margin-top: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav-list { display: flex; gap: 26px; }
.nav-list a {
  position: relative;
  display: block;
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
  padding: 10px 0;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav-list a:hover::after,
.nav-list a.is-active::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  margin-right: -8px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 24px var(--gutter) 40px;
    background: var(--white);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.5rem;
    font-weight: 750;
    font-stretch: 115%;
  }
  .nav-list a::after { display: none; }
  .nav-cta { min-height: 56px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* Dark steel backdrop shared by the hero and the service page headers */
.steel-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(255, 255, 255, .055), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #212225 0%, #17181A 100%);
  color: var(--white);
}
.steel-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 95% 85% at 50% 42%, transparent 55%, rgba(0, 0, 0, .5));
}
.steel-dark :focus-visible { outline-color: var(--yellow); }

/* Hero ------------------------------------------------------------------
   The welded name is the centrepiece. Around it: a faint engineering grid,
   registration marks, a dimension line measured to the lettering, a warm
   light behind the weld, and a real steel photograph fading in on the right.
   On load two torches weld the name (see site.js). */

.hero {
  display: flex;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding-block: clamp(36px, 6vh, 80px) clamp(24px, 3.5vh, 40px);
}
.hero::after {
  background: radial-gradient(ellipse 100% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55));
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg::after {
  /* grain, barely there */
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .045;
  mix-blend-mode: soft-light;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 240px 240px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 240px 240px,
    linear-gradient(rgba(255, 255, 255, .024) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, .024) 1px, transparent 1px) 0 0 / 48px 48px;
  background-position: calc(50% - 24px) 0;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 45% 40%, #000 25%, transparent 85%);
  mask-image: radial-gradient(ellipse 75% 70% at 45% 40%, #000 25%, transparent 85%);
}
.hero-hatch {
  position: absolute;
  left: 0; bottom: 0;
  width: 34%; height: 42%;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 11px);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 0% 100%, #000 15%, transparent 70%);
  mask-image: radial-gradient(ellipse 100% 100% at 0% 100%, #000 15%, transparent 70%);
}
.hero-photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 60%;
  background: url("../img/hero-bg-2400.jpg") 70% 50% / cover no-repeat;
  background-image: image-set(url("../img/hero-bg-2400.webp") type("image/webp"), url("../img/hero-bg-2400.jpg") type("image/jpeg"));
  opacity: .32;
  filter: brightness(.85) contrast(1.08);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 58%), linear-gradient(180deg, transparent 6%, #000 46%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 58%), linear-gradient(180deg, transparent 6%, #000 46%, #000 82%, transparent 100%);
  mask-composite: intersect;
}
.hero-light { display: none; }
.hero-weld-slot::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  left: 50%;
  top: 50%;
  width: min(1200px, 110vw);
  height: 560px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 236, 200, .09), rgba(255, 236, 200, .035) 55%, rgba(255, 236, 200, 0));
  animation: hero-light 24s ease-in-out infinite alternate;
}
.hero-weld-slot { position: relative; }
@keyframes hero-light {
  from { transform: translate(-52%, -49%); }
  to { transform: translate(-48%, -52%); }
}
/* registration marks framing the content, one yellow detail top left */
.hero-marks {
  position: absolute;
  top: clamp(18px, 3vh, 28px);
  bottom: clamp(18px, 3vh, 28px);
  left: max(12px, calc((100% - var(--wrap)) / 2 - 28px));
  right: max(12px, calc((100% - var(--wrap)) / 2 - 28px));
  --m: rgba(255, 255, 255, .22);
  background:
    linear-gradient(var(--yellow), var(--yellow)) left 26px top / 34px 2px no-repeat,
    linear-gradient(var(--m), var(--m)) left top / 18px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) left top / 1px 18px no-repeat,
    linear-gradient(var(--m), var(--m)) right top / 18px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) right top / 1px 18px no-repeat,
    linear-gradient(var(--m), var(--m)) left bottom / 18px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) left bottom / 1px 18px no-repeat,
    linear-gradient(var(--m), var(--m)) right bottom / 18px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) right bottom / 1px 18px no-repeat;
}

.hero-shadow,
.hero-atmos {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.hero-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}
/* a dimension line, measured to the width of the welded lettering */
.hero-dim {
  display: block;
  width: var(--weld-w, min(100%, 1192px));
  max-width: 100%;
  height: 11px;
  margin-bottom: clamp(18px, 2.4vw, 28px);
  --d: rgba(255, 255, 255, .22);
  background:
    linear-gradient(var(--d), var(--d)) center / 100% 1px no-repeat,
    linear-gradient(var(--d), var(--d)) left center / 1px 11px no-repeat,
    linear-gradient(var(--d), var(--d)) right center / 1px 11px no-repeat,
    linear-gradient(var(--yellow), var(--yellow)) center / 1px 11px no-repeat;
}
.hero-weld-slot {
  display: block;
  width: 100%;
  /* matches the height site.js gives the lettering, so nothing shifts on load */
  height: min(98.3px, (min(100vw, var(--wrap) + var(--gutter) * 2) - var(--gutter) * 2) * 0.0825);
}
@media (max-width: 651px) {
  .hero-weld-slot { height: min(232px, (100vw - var(--gutter) * 2) * 0.4394); }
}
.hero-name-text {
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 1;
  text-transform: uppercase;
  color: #D5D9DC;
}
html:not(.js) .hero-weld-slot { display: none; }
.js .hero-name-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hero-solutions {
  display: block;
  margin-top: clamp(16px, 2vw, 24px);
  padding-left: .62em; /* balances the tracking after the last letter */
  font-size: clamp(0.92rem, 1.6vw, 1.35rem);
  font-weight: 760;
  font-stretch: 125%;
  letter-spacing: .62em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--yellow);
}
.js .hero-solutions {
  opacity: 0;
  letter-spacing: 1.5em;
  padding-left: 1.5em;
  filter: blur(6px);
}
.js .hero.is-welded .hero-solutions {
  opacity: 1;
  letter-spacing: .62em;
  padding-left: .62em;
  filter: none;
  transition: opacity .9s ease, letter-spacing 1.2s cubic-bezier(.2, .7, .2, 1), padding-left 1.2s cubic-bezier(.2, .7, .2, 1), filter .9s ease;
}

/* a slow highlight that crosses the finished weld now and then */
.weld-sheen {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .34) 50%, rgba(255, 255, 255, 0) 62%) 160% 0 / 260% 100% no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.weld-sheen.is-ready {
  opacity: 1;
  animation: weld-sheen 10s ease-in-out 1.2s infinite;
}
@keyframes weld-sheen {
  0% { background-position: 160% 0; }
  16%, 100% { background-position: -60% 0; }
}

/* headline, support line and buttons read as one unit */
.hero-rule {
  height: 2px;
  margin-block: clamp(26px, 4vh, 44px) clamp(24px, 3.5vh, 36px);
  background:
    linear-gradient(var(--yellow), var(--yellow)) left center / 44px 2px no-repeat,
    linear-gradient(rgba(255, 255, 255, .12), rgba(255, 255, 255, .12)) center / 100% 1px no-repeat;
}
.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 40px clamp(32px, 5vw, 72px);
}
.hero-copy { max-width: 600px; }

/* an engineer's drawing of a steel-framed solar carport, drawn in after the weld */
.hero-drawing {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 540px;
  margin: -28px 0 -16px;
}
.hero-drawing::before {
  /* a darker patch so fine lines read over the mesh photo */
  content: "";
  position: absolute;
  inset: -12% -10%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(22, 23, 25, .82), rgba(22, 23, 25, 0));
}
.hero-drawing-svg { width: 100%; height: auto; overflow: visible; }
.hero-drawing .dl { fill: none; stroke: #C9CDD1; stroke-width: 1.1; stroke-linecap: round; }
.hero-drawing .dl-main { stroke: #E4E7EA; stroke-width: 1.7; }
.hero-drawing .dl-soft { stroke: #6E737A; stroke-width: 1; }
.hero-drawing .dl-dash { fill: rgba(255, 255, 255, .025); stroke: #5C6066; stroke-width: 1; stroke-dasharray: 4 5; }
.hero-drawing .fy { fill: var(--yellow); stroke: none; }
.hero-drawing .shade { fill: rgba(0, 0, 0, .32); stroke: none; }
.hero-drawing .pnl { fill: rgba(38, 72, 140, .62); stroke: #D3D8DE; stroke-width: 1.1; stroke-linejoin: round; }
.hero-drawing .pcell { stroke: rgba(210, 222, 245, .35); stroke-width: .7; }
.hero-drawing .dim { fill: none; stroke: #7A7F86; stroke-width: .9; }
.hero-drawing .dim-y { stroke: var(--yellow); stroke-width: 1.4; stroke-linecap: round; }
.hero-drawing .dt { fill: #9A9EA4; font-size: 14px; font-weight: 650; font-stretch: 112%; letter-spacing: .08em; }
.hero-drawing .ct { fill: #C9CDD1; font-size: 18px; font-weight: 650; font-stretch: 108%; }
.hero-drawing .ct-y { fill: var(--yellow); }
.hero-drawing .tack {
  fill: var(--yellow);
  transform-box: fill-box;
  transform-origin: center;
  animation: tack-pulse 3.2s ease-in-out infinite;
}
@keyframes tack-pulse {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 194, 26, 0)); }
  50% { filter: drop-shadow(0 0 6px rgba(255, 194, 26, .9)); }
}
/* draw-in: lines trace themselves once the name is welded */
.js .hero-drawing .dl,
.js .hero-drawing .dim,
.js .hero-drawing .dim-y,
.js .hero-drawing .pcell { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .hero-drawing .dl-dash { stroke-dasharray: 4 5; }
.js .hero-drawing .dl-dash,
.js .hero-drawing .shade,
.js .hero-drawing .fy,
.js .hero-drawing .pnl,
.js .hero-drawing text,
.js .hero-drawing .tack { opacity: 0; }
.js .hero.is-welded .hero-drawing .dl,
.js .hero.is-welded .hero-drawing .dim,
.js .hero.is-welded .hero-drawing .dim-y,
.js .hero.is-welded .hero-drawing .pcell {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.1s cubic-bezier(.45, 0, .25, 1) var(--dd, 0s);
}
.js .hero.is-welded .hero-drawing .dl-dash,
.js .hero.is-welded .hero-drawing .shade,
.js .hero.is-welded .hero-drawing .fy,
.js .hero.is-welded .hero-drawing .pnl,
.js .hero.is-welded .hero-drawing text,
.js .hero.is-welded .hero-drawing .tack {
  opacity: 1;
  transition: opacity .8s ease var(--dd, 0s);
}
.js .hero.is-welded .hero-drawing text { transition-delay: 2s; }
.js .hero.is-welded .hero-drawing .tack { transition-delay: 1.9s; }
.hero-title {
  font-size: clamp(1.9rem, 3.5vw, 3.05rem);
  font-weight: 800;
  font-stretch: 116%;
  line-height: 1.04;
  letter-spacing: -0.028em;
}
.hl { color: var(--yellow); }
.hero-sub {
  max-width: 44ch;
  margin-top: 18px;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.55;
  color: #A3A7AD;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 3.5vh, 32px);
}
.hero .btn--yellow:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(255, 194, 26, .7); }
.hero .btn--line-light:hover { transform: translateY(-1px); }
.hero .btn:active { transform: translateY(1px); box-shadow: none; }

/* the service strip, set like the title block of a drawing */
.hero-strip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 32px;
  margin-top: clamp(32px, 6vh, 64px);
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 0;
  font-size: 0.78rem;
  font-weight: 700;
  font-stretch: 120%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8E9298;
}
.hero-strip li + li::before {
  content: "/";
  padding: 0 14px;
  color: var(--yellow);
}
.hero-strip a { display: inline-block; padding-block: 14px; margin-block: -14px; text-decoration: none; transition: color .18s ease; }
.hero-strip a:hover { color: var(--white); }

.js .hero-rule,
.js .hero-copy > *,
.js .hero-strip-row { animation: hero-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero-rule { animation-delay: .7s; }
.js .hero-title { animation-delay: .85s; }
.js .hero-sub { animation-delay: 1s; }
.js .hero-actions { animation-delay: 1.12s; }
.js .hero-strip-row { animation-delay: 1.3s; }
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* "Weld it again": a small arc light and a label at the end of the strip */
.weld-replay {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: #8E9298;
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease, color .18s ease;
}
.weld-replay::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFFFFF 0 30%, var(--yellow) 60%);
  box-shadow: 0 0 0 3px rgba(255, 194, 26, .15), 0 0 10px 2px rgba(255, 194, 26, .45);
  transition: box-shadow .2s ease;
}
.weld-replay:hover { color: var(--white); }
.weld-replay:hover::before { box-shadow: 0 0 0 4px rgba(255, 194, 26, .25), 0 0 16px 4px rgba(255, 210, 110, .7); }
.js .weld-replay { display: inline-flex; }
.hero.is-welded .weld-replay { opacity: 1; pointer-events: auto; }

/* Sections -------------------------------------------------------------- */

.section { padding-block: clamp(80px, 10vw, 136px); }
.section--tight { padding-block: clamp(44px, 5vw, 72px); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5.5vw, 64px); }
.section-head--row {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 64px;
}
.h2 {
  margin-top: 16px;
  font-size: clamp(1.95rem, 3.8vw, 3.2rem);
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1.02;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.section-intro {
  margin-top: 20px;
  max-width: 58ch;
  font-size: 1.08rem;
  color: var(--muted);
}
.section-head--row .section-intro { margin-top: 0; }

/* Services: a quick overview, each card leads to its own page */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px 24px;
  padding: clamp(24px, 3vw, 36px);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.service-card:hover {
  border-color: var(--rule);
  box-shadow: 0 22px 44px -30px rgba(29, 30, 32, .5);
  transform: translateY(-2px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:active { transform: scale(.985); transition-duration: .1s; }
.service-card:focus-visible { outline-offset: 4px; }
.service-icon {
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  background: var(--paper);
  border-radius: 6px;
  transition: background-color .25s ease;
}
.service-icon svg {
  width: 40px; height: 40px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card:hover .service-icon { background: var(--yellow); }
.service-card h3 {
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  font-weight: 780;
  font-stretch: 116%;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.service-card p { margin-top: 10px; color: var(--muted); }
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-weight: 700;
  font-stretch: 108%;
}
.service-more svg {
  width: 34px; height: 34px;
  padding: 8px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.service-card:hover .service-more svg { background: var(--yellow); border-color: var(--yellow); transform: translateX(4px); }

/* Why TA: yellow tread plate with bolted steel cards */

.tread {
  background-color: var(--yellow);
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 38%, rgba(120, 80, 0, .06) 68%, rgba(255, 255, 255, .12) 100%),
    var(--tread);
  background-size: 100% 100%, 46px 46px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(120, 80, 0, .2);
}
.why :focus-visible { outline-color: var(--ink); }
/* a smooth painted plate screwed onto the tread, so paragraphs read cleanly */
.plate-yellow {
  padding: clamp(28px, 3.5vw, 44px);
  background: var(--screws), linear-gradient(180deg, #FFCD3C 0%, #FFC21A 100%);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(140, 95, 0, .25), 0 22px 36px -24px rgba(90, 60, 0, .65);
}
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 48px clamp(40px, 6vw, 88px);
}
.why .h2 { margin-top: 0; }
.why-who {
  margin-top: 24px;
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--ink);
}
.why-statement {
  margin-top: 14px;
  padding-left: 22px;
  border-left: 6px solid var(--ink);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 760;
  font-stretch: 110%;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.why-intro .btn { margin-top: 32px; }

.reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.reason {
  padding: 30px 26px 28px;
  background: var(--steel-plate), linear-gradient(160deg, #2A2C2F 0%, #1C1D1F 100%);
  border-radius: 6px;
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 22px 34px -22px rgba(90, 60, 0, .7);
  transition: transform .25s ease;
}
.reason:nth-child(even) { transform: translateY(32px); }
.reason-icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  background: var(--yellow);
  border-radius: 6px;
}
.reason-icon svg {
  width: 28px; height: 28px;
  fill: none; stroke: var(--ink); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.reason h3 {
  margin-top: 22px;
  font-size: 1.2rem;
  font-weight: 760;
  font-stretch: 112%;
  line-height: 1.2;
}
.reason p {
  margin-top: 10px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #B9BDC2;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 48px clamp(40px, 6vw, 96px);
}
.about .label { color: #D5D8DB; }
.team-photo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--steel-plate), linear-gradient(155deg, #4A4D52 0%, #36383C 50%, #2E3033 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -1px 0 rgba(0, 0, 0, .3), 0 30px 60px -36px rgba(0, 0, 0, .8);
}
.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.team-photo:has(img) .team-photo-mark { display: none; }
.team-photo-mark {
  font-family: var(--f-stencil);
  font-size: clamp(6rem, 15vw, 12rem);
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--yellow);
}
.team-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  font-size: 0.95rem;
  color: var(--muted-light);
}
.team-caption strong { color: var(--white); font-weight: 700; font-stretch: 112%; }

.about-copy { display: flex; flex-direction: column; align-items: flex-start; }
.about-lead {
  margin-top: 24px;
  font-size: clamp(1.1rem, 1.5vw, 1.22rem);
  line-height: 1.6;
  color: #E7E8EA;
}
.about-copy .about-note { margin-top: 16px; color: #B4B8BD; }
.about-copy .btn { margin-top: 32px; }

/* Where we work */

.travel-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 36px;
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--steel-plate), linear-gradient(160deg, #2A2C2F 0%, #1C1D1F 100%);
  border-radius: 8px;
  color: var(--white);
}
.travel-card :focus-visible { outline-color: var(--yellow); }
.travel-icon {
  display: grid;
  place-items: center;
  width: 72px; height: 72px;
  background: var(--yellow);
  border-radius: 8px;
}
.travel-icon svg {
  width: 44px; height: 44px;
  fill: none; stroke: var(--ink); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.travel-card h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 780;
  font-stretch: 116%;
  line-height: 1.15;
}
.travel-card p { margin-top: 8px; max-width: 62ch; color: #B9BDC2; }
.call-panel {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.call-panel[hidden] { display: none; }
.travel-card .call-panel p { margin-top: 0; font-size: 0.95rem; }
.call-number {
  display: inline-block;
  margin-top: 4px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: -0.01em;
  color: var(--yellow);
  text-decoration: none;
}
.call-number:hover { text-decoration: underline; text-underline-offset: 6px; }
.call-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Quote */

.quote { background: var(--paper); }
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-list { margin-top: 40px; border-top: 2px solid var(--ink); }
.contact-list li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.contact-label { font-size: 0.95rem; font-weight: 600; color: var(--muted); }
.contact-list a {
  display: inline-block;
  padding-block: 9px;
  margin-block: -9px;
  font-weight: 680;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
.contact-list a:hover { text-decoration-color: var(--ink); }

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px;
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(29, 30, 32, .04), 0 24px 48px -32px rgba(29, 30, 32, .35);
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 650; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--white);
  border: 1.5px solid #BDBDB6;
  border-radius: var(--radius);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231D1E20' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field input::placeholder,
.field textarea::placeholder { color: #6F737A; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(255, 194, 26, .55);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-hint { font-size: 0.85rem; color: var(--muted); }

.form-error {
  grid-column: 1 / -1;
  padding: 12px 14px;
  background: var(--yellow-pale);
  border-left: 4px solid var(--ink);
  border-radius: 2px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}
.form-error[hidden] { display: none; }
.form-note { grid-column: 1 / -1; font-size: 0.88rem; color: var(--muted); }
.req { color: #9A6A00; margin-left: 2px; }
.field-error {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--danger);
}
.field-error::before {
  content: "!";
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--danger);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
}
.field-error[hidden] { display: none; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, .18); }
.form-success {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 14px;
  align-items: start;
  padding: 16px 18px;
  background: #EEF7EE;
  border: 1px solid #B9DDB9;
  border-radius: 6px;
  color: #1F4D22;
}
.form-success[hidden] { display: none; }
.form-success svg {
  grid-row: span 2;
  width: 26px; height: 26px;
  fill: none; stroke: #2E7D32; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
}
.form-success strong { font-weight: 750; font-stretch: 106%; }
.form-success p { font-size: 0.93rem; color: #2F5A32; }
.form-success a { color: inherit; font-weight: 700; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }

/* Service pages --------------------------------------------------------- */

.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 40px 64px;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--muted-light);
}
.crumbs a { color: inherit; text-decoration: none; padding: 10px 6px; margin: -10px -6px; }
.crumbs a:hover { color: var(--yellow); }
.crumbs span[aria-hidden] { color: #5C5F64; }
.page-hero h1 {
  margin-top: 22px;
  max-width: 16ch;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.page-hero .mini-weld { margin-top: 26px; }
.page-hero-lead {
  max-width: 46ch;
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: #C9CCD0;
}
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* the illustration for each service */
.svc-art {
  justify-self: center;
  width: 100%;
  max-width: 480px;
  height: auto;
  overflow: visible;
}
.svc-art .ln { fill: none; stroke: #D7DADD; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc-art .ln-soft { fill: none; stroke: #5E6268; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc-art .ln-y { fill: none; stroke: var(--yellow); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.svc-art .fill-y { fill: var(--yellow); }
.svc-art .fill-steel { fill: #2E3034; }
.svc-art .fill-panel { fill: #1F3B70; }
.svc-art .art-arc { transform-box: fill-box; transform-origin: center; animation: art-flicker .12s steps(2, jump-none) infinite; }
.svc-art .art-spark {
  stroke: #FFE9A8;
  stroke-width: 1.8;
  stroke-linecap: round;
  opacity: 0;
  animation: art-spark var(--d, .9s) linear var(--delay, 0s) infinite;
}
.svc-art .art-spin { transform-box: fill-box; transform-origin: center; animation: art-spin 40s linear infinite; }
.svc-art .art-glint { animation: art-glint 4.5s ease-in-out infinite; }
.svc-art .art-flow { stroke-dasharray: 6 9; animation: art-flow .9s linear infinite; }
.svc-art .art-sway { transform-box: view-box; animation: art-sway 4s ease-in-out infinite; }
.svc-art .art-roller { animation: art-roll 4s ease-in-out infinite; }
.svc-art .art-paint { transform-box: fill-box; transform-origin: left center; animation: art-paint 4s ease-in-out infinite; }
@keyframes art-flicker {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.7); opacity: .75; }
  100% { transform: scale(1.15); opacity: 1; }
}
@keyframes art-spark {
  0% { opacity: 0; transform: translate(0, 0); }
  10% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)); }
}
@keyframes art-spin { to { transform: rotate(360deg); } }
@keyframes art-glint {
  0%, 30% { transform: translateX(-260px); }
  70%, 100% { transform: translateX(260px); }
}
@keyframes art-flow { to { stroke-dashoffset: -15; } }
@keyframes art-sway {
  0%, 100% { transform: rotate(-2.5deg); }
  50% { transform: rotate(2.5deg); }
}
@keyframes art-roll {
  0%, 8% { transform: translateX(0); }
  62%, 78% { transform: translateX(46px); }
  100% { transform: translateX(0); }
}
@keyframes art-paint {
  0%, 8% { transform: scaleX(0); opacity: 1; }
  62%, 84% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

.jobs-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 28px 64px;
}
.jobs-grid .section-head { margin-bottom: 0; }
.jobs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-2);
}
.job {
  display: flex;
  align-items: center;
  gap: 14px;
}
.job::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: var(--screw-bullet) center / contain no-repeat;
}

.cta-band { padding-block: clamp(56px, 7vw, 96px); }
.cta-band-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.cta-band .h2 { margin-top: 0; }
.cta-band :focus-visible { outline-color: var(--ink); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.other-head { margin-bottom: clamp(28px, 4vw, 44px); }
.other-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.other-card {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 22px;
  background: var(--steel-plate), linear-gradient(160deg, #2A2C2F 0%, #1C1D1F 100%);
  border-radius: 10px;
  color: var(--white);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 20px 36px -26px rgba(0, 0, 0, .6);
  transition: transform .25s ease, box-shadow .25s ease;
}
.other-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 28px 44px -26px rgba(0, 0, 0, .7);
}
.other-card :focus-visible,
.other-card:focus-visible { outline-color: var(--ink); outline-offset: 4px; }
.other-card:active { transform: scale(.985); transition-duration: .1s; }
.other-card .svc-art { max-width: none; width: 88%; margin: 6px auto 0; }
.other-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.other-card h3 {
  font-size: 1.12rem;
  font-weight: 760;
  font-stretch: 112%;
  line-height: 1.25;
}
.other-card-foot svg {
  flex-shrink: 0;
  width: 38px; height: 38px;
  padding: 9px;
  border: 1.5px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.other-card:hover .other-card-foot svg {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
  transform: translateX(3px);
}

/* Reveal on scroll --------------------------------------------------------
   Content is visible without JS; with JS it rises in as it enters the view,
   staggered for groups. Turned off for reduced motion. */
.js [data-reveal] {
  opacity: 0;
  translate: 0 18px;
  transition: opacity .55s cubic-bezier(.2, .7, .2, 1), translate .55s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; translate: none; transition: none; }
}

/* Footer ---------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding-top: clamp(64px, 8vw, 96px);
}
.site-footer :focus-visible { outline-color: var(--yellow); }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 48px;
  padding-bottom: 56px;
}
.brand--light .brand-name span { color: var(--muted-light); }
.footer-brand p { margin-top: 20px; max-width: 42ch; color: #A9ACB1; font-size: 0.97rem; }
.footer-heading { font-size: 1rem; font-weight: 700; font-stretch: 110%; color: var(--white); }
.footer-nav ul,
.footer-contact ul { margin-top: 6px; display: grid; gap: 0; }
.footer-nav a,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  color: #C9CCD0;
  overflow-wrap: anywhere;
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--yellow); }
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  padding-top: 22px;
  padding-bottom: 28px;
  font-size: 0.85rem;
  color: var(--muted-light);
}
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0; left: var(--gutter); right: var(--gutter);
  height: 1px;
  background: rgba(255, 255, 255, .12);
}
.footer-seam { display: inline-flex; align-items: center; gap: 14px; }

/* A small weld that is still being laid: bead, arc and a few sparks */
.mini-weld {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 8px;
  flex-shrink: 0;
}
.mini-weld--lg { width: 120px; height: 12px; }
.mini-bead {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background:
    radial-gradient(ellipse 130% 62% at 100% 50%, transparent 52%, rgba(10, 12, 14, .34) 61%, rgba(255, 255, 255, .3) 72%, transparent 81%) 0 0 / 4px 100% repeat-x,
    linear-gradient(180deg, rgba(255, 255, 255, .45), rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .35)),
    linear-gradient(90deg, rgba(0, 0, 0, 0) 66%, rgba(230, 70, 15, .85) 80%, #FF9A2A 89%, #FFE7A8 96%, #FFFFFF 100%),
    linear-gradient(90deg, #8D969C, var(--tint-blue) 30%, var(--tint-plum) 48%, var(--tint-bronze) 62%, var(--tint-gold) 74%, var(--tint-straw));
  box-shadow: 0 0 8px rgba(255, 130, 40, .25);
}
.mini-weld--lg .mini-bead { background-size: 6px 100%, auto, auto, auto; }
.mini-arc {
  position: absolute;
  right: -8px; top: 50%;
  width: 18px; height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, #FFFFFF 0 24%, rgba(215, 233, 255, .9) 42%, rgba(165, 202, 255, .35) 68%, rgba(165, 202, 255, 0) 100%);
  box-shadow: 0 0 12px 3px rgba(180, 215, 255, .35);
  animation: mini-flicker .12s steps(2, jump-none) infinite, mini-flash 2.6s linear infinite;
}
.mini-weld--lg .mini-arc { right: -12px; width: 26px; height: 26px; margin-top: -13px; }
.mini-weld i {
  position: absolute;
  right: 0; top: 50%;
  width: 6px; height: 1.5px;
  margin-top: -0.75px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 160, 50, 0), #FFE9A8);
  transform-origin: right center;
  opacity: 0;
  animation: mini-spark var(--d, .9s) linear var(--delay, 0s) infinite;
}
.mini-weld i:nth-of-type(1) { --x: -13px; --y: -11px; --r: -140deg; --d: .9s; --delay: 0s; }
.mini-weld i:nth-of-type(2) { --x: -6px; --y: -16px; --r: -110deg; --d: .75s; --delay: .3s; }
.mini-weld i:nth-of-type(3) { --x: 5px; --y: -13px; --r: -70deg; --d: .85s; --delay: .55s; }
.mini-weld i:nth-of-type(4) { --x: -16px; --y: -4px; --r: -165deg; --d: 1.05s; --delay: .15s; }
.mini-weld i:nth-of-type(5) { --x: 9px; --y: -7px; --r: -40deg; --d: .7s; --delay: .75s; }
.mini-weld i:nth-of-type(6) { --x: -10px; --y: 5px; --r: 150deg; --d: .95s; --delay: .45s; }
@keyframes mini-flicker {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.72); opacity: .75; }
  100% { transform: scale(1.12); opacity: 1; }
}
@keyframes mini-flash {
  0%, 86%, 100% { filter: none; }
  89% { filter: brightness(1.9); }
  92% { filter: none; }
  95% { filter: brightness(1.5); }
}
@keyframes mini-spark {
  0% { opacity: 0; transform: translate(0, 0) rotate(var(--r)); }
  8% { opacity: 1; }
  55% { opacity: .9; transform: translate(calc(var(--x) * .65), calc(var(--y) * .65)) rotate(var(--r)); }
  100% { opacity: 0; transform: translate(var(--x), calc(var(--y) + 9px)) rotate(var(--r)); }
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1100px) {
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .service-grid { grid-template-columns: 1fr; }
  .about-grid,
  .quote-grid { grid-template-columns: 1fr; }
  .section-head--row { grid-template-columns: 1fr; }
  .travel-card { grid-template-columns: auto minmax(0, 1fr); }
  .travel-card .btn { grid-column: 1 / -1; justify-self: start; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-body { grid-template-columns: 1fr; }
  /* tablets: the drawing sits under the copy, where there's room */
  .hero-drawing { justify-self: start; max-width: 520px; margin: 8px 0 0; }
  .hero-strip {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: start;
    gap: 0 28px;
  }
  .hero-strip li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
  .hero-strip li::before,
  .hero-strip li + li::before {
    content: "";
    width: 6px; height: 6px;
    padding: 0;
    background: var(--yellow);
    border-radius: 1px;
  }
  .jobs-grid { grid-template-columns: 1fr; }
  /* other services become a swipeable row */
  .other-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 46%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 18px;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .other-grid::-webkit-scrollbar { display: none; }
  .other-card { scroll-snap-align: start; }
  /* stacked: the illustration leads, then the heading and the intro */
  .svc-art { order: -1; max-width: 400px; justify-self: start; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .h2,
  .page-hero h1 { font-stretch: 108%; }
  .hero { min-height: calc(100svh - var(--header-h)); text-align: center; }
  .hero-drawing { display: none; }
  .hero-marks,
  .hero-hatch { display: none; }
  .hero-photo {
    top: auto;
    width: 100%;
    height: 58%;
    opacity: .3;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
  }
  .hero-rule { background-position: center, center; }
  .hero-copy { max-width: none; }
  .hero-title { font-size: clamp(1.75rem, 8vw, 2.3rem); }
  .hero-sub { margin-inline: auto; }
  .hero-strip-row { flex-direction: column; justify-content: center; }
  .hero-strip {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 0 16px;
    font-size: 0.75rem;
    font-stretch: 100%;
    letter-spacing: 0.06em;
    text-align: left;
  }
  .hero-strip li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
  .hero-strip a { padding-block: 13px; margin-block: 0; }
  .hero-strip li::before,
  .hero-strip li + li::before {
    content: "";
    width: 6px; height: 6px;
    padding: 0;
    background: var(--yellow);
    border-radius: 1px;
  }
  .hero-actions,
  .page-hero-actions { width: 100%; }
  .hero-actions .btn,
  .page-hero-actions .btn { flex: 1 1 auto; }

  /* service pages on phones: picture, heading, intro. The quote and
     WhatsApp buttons already sit a short scroll further down */
  .page-hero--service { padding-block: 28px 44px; }
  .page-hero--service .crumbs,
  .page-hero--service .page-hero-actions { display: none; }
  .page-hero--service h1 { margin-top: 0; }
  .page-hero--service .svc-art { max-width: 360px; }

  .service-card { grid-template-columns: 1fr; gap: 18px; }
  .service-icon { width: 56px; height: 56px; }
  .service-icon svg { width: 36px; height: 36px; }

  .reasons { grid-template-columns: 1fr; }
  .reason:nth-child(even) { transform: none; }
  .travel-card { grid-template-columns: 1fr; }
  .travel-icon { width: 60px; height: 60px; }
  .jobs { gap: 12px; font-size: 1rem; }
  .other-grid { grid-auto-columns: 80%; }

  .quote-form { grid-template-columns: 1fr; }
  .form-actions .btn { flex: 1 1 100%; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }

}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .weld-replay { display: none; }
  .hero-weld-slot::before,
  .weld-sheen.is-ready,
  .hero-drawing .tack { animation: none; }
  .mini-weld i,
  .svc-art .art-spark { display: none; }
}

@media (max-width: 900px) {
  .hero-photo {
    background-image: url("../img/hero-bg-1280.jpg");
    background-image: image-set(url("../img/hero-bg-1280.webp") type("image/webp"), url("../img/hero-bg-1280.jpg") type("image/jpeg"));
  }
}
