/* ===== Tri-Dev Ltd — multi-page build ===== */

:root {
  --yellow: #ffff25;
  --yellow-dark: #dada34;
  --black: #111111;
  --charcoal: #252525;
  --grey: #666666;
  --grey-light: #999999;
  --light: #eeeeee;
  --lighter: #f6f6f6;
  --white: #ffffff;

  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', Arial, sans-serif;

  --container: 1180px;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--grey); }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--yellow);
  color: var(--charcoal);
  padding: 12px 20px;
  font-family: var(--font-head);
  text-transform: uppercase;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--yellow-dark);
  outline-offset: 2px;
}

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--yellow);
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 14px;
}

.center { text-align: center; }
.center.eyebrow { display: inline-block; }
.section-sub { max-width: 660px; font-size: 1.02rem; }
h2.center, .section-sub.center { margin-left: auto; margin-right: auto; }

section .container > .eyebrow.center,
section .container > h2.center {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.section-sub a { color: var(--yellow-dark); font-weight: 600; }
.section-sub a:hover { text-decoration: underline; }

section { padding: 84px 0; }

/* ===== Hazard stripe accent bar ===== */
.stripe-bar {
  height: 6px;
  width: 100%;
  background: repeating-linear-gradient(-45deg,
    var(--black), var(--black) 14px, var(--yellow) 14px, var(--yellow) 28px);
  background-size: 200% 100%;
  animation: stripe-move 6s linear infinite;
}
@keyframes stripe-move {
  from { background-position: 0 0; }
  to { background-position: 80px 0; }
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s var(--ease), transform 0.4s var(--ease), padding 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 4px 22px rgba(0, 0, 0, 0.1); }
.site-header.header-hidden { transform: translateY(-100%); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
  transition: padding 0.3s var(--ease);
}
.site-header.scrolled .header-inner { padding: 8px 24px; }

.brand-mark {
  height: 46px;
  width: auto;
  transition: height 0.3s var(--ease);
}
.site-header.scrolled .brand-mark { height: 38px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav > a,
.nav-group-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 11px;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  background: none;
  border: 0;
  cursor: pointer;
  line-height: 1;
}
.site-nav > a:not(.nav-cta)::after,
.nav-group-btn::after {
  content: '';
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 2px;
  height: 2px;
  background: var(--yellow-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav > a[aria-current="page"]::after,
.nav-group.in-section .nav-group-btn::after { transform: scaleX(1); }

.nav-chevron {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}
.nav-group.open .nav-chevron { transform: rotate(180deg); }

.nav-group { position: relative; }
.nav-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: -6px;
  min-width: 258px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 3px solid var(--yellow);
  border-radius: var(--radius);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.16);
  padding: 8px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  z-index: 20;
}
.nav-group.open > .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-menu a {
  padding: 10px 14px;
  border-radius: 4px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--charcoal);
  transition: background 0.2s var(--ease), padding-left 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-menu a:hover,
.nav-menu a:focus-visible { background: var(--light); padding-left: 20px; }
.nav-menu a[aria-current="page"] { background: var(--yellow); }
.nav-menu-all {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px 4px 0 0;
  margin-bottom: 4px;
  color: var(--yellow-dark) !important;
  font-weight: 600;
}
.nav-menu-all:hover { color: var(--charcoal) !important; }

/* Must out-specify `.site-nav > a`, which sets `background: none` and would
   otherwise leave white text sitting on the white header. */
.site-nav a.nav-cta {
  background: var(--charcoal);
  color: var(--white) !important;
  border-radius: var(--radius);
  overflow: hidden;
  margin-left: 8px;
  padding: 10px 16px !important;
  font-weight: 600;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.site-nav a.nav-cta::after { display: none; }
.site-nav a.nav-cta:hover { background: var(--yellow); color: var(--charcoal) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0 11px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Breadcrumb ===== */
.breadcrumb {
  background: var(--lighter);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.82rem;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding-top: 12px;
  padding-bottom: 12px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--grey);
}
.breadcrumb-inner a { color: var(--grey); transition: color 0.2s var(--ease); }
.breadcrumb-inner a:hover { color: var(--charcoal); }
.breadcrumb-inner span[aria-current] { color: var(--charcoal); font-weight: 600; }
.crumb-sep {
  width: 13px; height: 13px;
  fill: none; stroke: var(--yellow-dark); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
  flex: 0 0 auto;
}

/* ===== Buttons ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              transform 0.2s var(--ease), border-color 0.25s var(--ease);
}
.btn-primary { background: var(--yellow); color: var(--charcoal); }
.btn-primary:hover { background: var(--charcoal); color: var(--yellow); }
.btn-ghost { border-color: var(--charcoal); color: var(--charcoal); }
.btn-ghost:hover { background: var(--charcoal); color: var(--white); }
.btn-dark { border-color: var(--charcoal); }
.btn-small { padding: 10px 18px; font-size: 0.82rem; }
.btn:active { transform: scale(0.965); }

/* Weld-glow pulse — ambient, runs on every device */
.btn-weld::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(255, 255, 37, 0);
  animation: weld-pulse 3.4s var(--ease) infinite;
}
@keyframes weld-pulse {
  0%, 62%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 37, 0); }
  70%           { box-shadow: 0 0 0 5px rgba(255, 255, 37, 0.4); }
  86%           { box-shadow: 0 0 0 16px rgba(255, 255, 37, 0); }
}

/* Dark-section button variants */
.hero .btn-ghost,
.page-hero .btn-ghost,
.cta-band .btn-ghost,
.travel .btn-ghost,
.contact-address .btn-ghost {
  border-color: var(--yellow);
  color: var(--yellow);
}
.hero .btn-ghost:hover,
.page-hero .btn-ghost:hover,
.cta-band .btn-ghost:hover,
.travel .btn-ghost:hover,
.contact-address .btn-ghost:hover {
  background: var(--yellow);
  color: var(--charcoal);
}

/* ===== Home hero ===== */
.hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 96px 0 88px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(255,255,37,0.16), transparent 55%),
    radial-gradient(circle at 82% 78%, rgba(255,255,37,0.09), transparent 52%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: -12%;
  background: repeating-linear-gradient(-45deg, transparent, transparent 26px, rgba(255,255,255,0.028) 26px, rgba(255,255,255,0.028) 52px);
  animation: pulse 9s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: translateY(0); }
  50%      { opacity: 1;    transform: translateY(-14px); }
}
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 54px;
  align-items: center;
}
.hero-inner { max-width: 620px; }
.hero h1 { color: var(--white); }
.hero h1 .hl { color: var(--yellow); }
.hero-sub { color: #cfcfcf; font-size: 1.08rem; max-width: 580px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0 44px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--yellow);
  font-weight: 700;
  line-height: 1.1;
}
.stat-label {
  display: block;
  color: #aaaaaa;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  max-width: 150px;
}

.hero-gallery {
  position: relative;
  height: 470px;
  overflow: hidden;
  border-radius: var(--radius);
}
.hero-gallery::before,
.hero-gallery::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 70px;
  z-index: 2;
  pointer-events: none;
}
.hero-gallery::before { top: 0; background: linear-gradient(to bottom, var(--black), transparent); }
.hero-gallery::after { bottom: 0; background: linear-gradient(to top, var(--black), transparent); }
.hero-gallery-track {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  scroll-snap-type: y proximity;
}
.hero-gallery-track::-webkit-scrollbar { display: none; }
.hero-gallery-item {
  flex: 0 0 auto;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius);
  scroll-snap-align: center;
}
.hero-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

/* ===== Inner page hero ===== */
.page-hero {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 78px 0 70px;
  overflow: hidden;
}
.phero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,37,0.15), transparent 55%),
    radial-gradient(circle at 88% 85%, rgba(255,255,37,0.08), transparent 50%);
}
.phero-bg::after {
  content: '';
  position: absolute;
  inset: -12%;
  background: repeating-linear-gradient(-45deg, transparent, transparent 26px, rgba(255,255,255,0.025) 26px, rgba(255,255,255,0.025) 52px);
  animation: pulse 11s ease-in-out infinite;
}
.phero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.page-hero-media .phero-layout { grid-template-columns: 1.1fr 0.9fr; }
.phero-copy { max-width: 780px; }
.page-hero h1 { color: var(--white); }
.phero-sub { color: #cfcfcf; font-size: 1.08rem; max-width: 660px; }
.phero-kicker {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--yellow);
  margin: 0 0 4px;
}
.phero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.phero-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.phero-media img { width: 100%; height: 100%; object-fit: cover; }
.notfound { padding: 120px 0 110px; }

/* ===== Photograph placeholder =====
   Used where there is no photograph we are certain represents that work.
   A visible, deliberate gap rather than a borrowed image. */
.phero-media-empty { background: none; box-shadow: none; }
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  min-height: 240px;
  padding: 28px;
  text-align: center;
  border: 2px dashed rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.03), rgba(255,255,255,0.03) 12px,
                              transparent 12px, transparent 24px),
    rgba(255, 255, 255, 0.04);
  color: #cfcfcf;
}
.photo-placeholder svg {
  width: 40px; height: 40px;
  fill: none; stroke: var(--yellow); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 4px;
  opacity: 0.9;
}
.photo-placeholder strong {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1rem;
  color: var(--white);
}
.photo-placeholder span {
  font-size: 0.86rem;
  color: #a4a4a4;
  letter-spacing: 0.02em;
}

/* ===== Local bar (NAP / hours / phone / accreditation) ===== */
.local-bar {
  background: var(--charcoal);
  color: var(--white);
  padding: 0;
}
.local-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.local-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 22px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.local-item:last-child { border-right: 0; }
.local-item div { display: flex; flex-direction: column; line-height: 1.35; }
.local-item strong {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.92rem;
  color: var(--white);
}
.local-item strong a { color: var(--yellow); }
.local-item span { font-size: 0.82rem; color: #a8a8a8; }
.local-ico {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  fill: none; stroke: var(--yellow); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ===== Split band (copy + photo) ===== */
.split-band { background: var(--light); }
.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: center;
}
.split-band-flip .split-media { order: 2; }
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 26px 60px rgba(0,0,0,0.14);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.band-aside { margin-top: 22px; }

/* ===== Services grid ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.service-card:hover {
  border-color: var(--yellow-dark);
  box-shadow: 0 22px 48px rgba(0,0,0,0.13);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--yellow);
  margin-bottom: 12px;
  transition: transform 0.4s var(--ease);
}
.service-icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: var(--charcoal); stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.service-title { text-transform: uppercase; margin: 0; }
.service-blurb { color: var(--grey); font-size: 0.94rem; }
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow-dark);
}
.service-more svg,
.area-more svg,
.hub-go svg,
.asvc-arrow {
  width: 17px; height: 17px;
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}
.service-card:hover .service-more svg,
.area-card:hover .area-more svg,
.hub-card:hover .hub-go svg { transform: translateX(5px); }

/* ===== Feature cards ===== */
.features { background: var(--light); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border-top: 4px solid var(--yellow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feature-card:hover { box-shadow: 0 22px 48px rgba(0,0,0,0.12); }
.feature-ico {
  display: inline-flex;
  width: 46px; height: 46px;
  margin-bottom: 14px;
}
.feature-ico svg {
  width: 100%; height: 100%;
  fill: none; stroke: var(--charcoal); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.feature-card h3 { text-transform: uppercase; }
.feature-card p { margin: 0; font-size: 0.95rem; }

/* ===== Spec panel (tag lists) ===== */
.spec-panel { background: var(--charcoal); }
.spec-panel h2, .spec-panel .eyebrow { color: var(--white); }
.spec-panel .eyebrow { background: var(--yellow); color: var(--charcoal); }
.spec-panel .section-sub { color: #b8b8b8; }
.spec-inner { margin-top: 40px; }
.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.tag-list li {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--white);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.tag-list li:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--charcoal);
  transform: translateY(-3px);
}

/* ===== Sectors (machinery page) ===== */
.sectors { background: var(--light); }
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 46px;
}
.sector {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  overflow: hidden;
}
.sector span {
  font-family: var(--font-head);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--yellow-dark);
  opacity: 0.35;
}
.sector h3 { margin: 8px 0 6px; text-transform: uppercase; }
.sector p { margin: 0; font-size: 0.92rem; }
.sector::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 4px; width: 100%;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.sector.in-view::after { transform: scaleX(1); }

/* ===== Weld types ===== */
.weld-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 46px;
}
.weld-card {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.weld-card:hover { box-shadow: 0 22px 48px rgba(0,0,0,0.2); }
.weld-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px; height: 52px;
  padding: 0 12px;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--charcoal);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.weld-card h3 { color: var(--white); text-transform: uppercase; }
.weld-card p { color: #b8b8b8; margin: 0; font-size: 0.92rem; }

/* ===== Q-railing band ===== */
.qrail { background: var(--light); }
.qrail-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.qrail-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.qrail-list li {
  position: relative;
  background: var(--white);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.9rem;
}

/* ===== Process timeline ===== */
.process { background: var(--light); }
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 46px;
}
.timeline-step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 24px 26px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.timeline-step:hover { box-shadow: 0 22px 48px rgba(0,0,0,0.12); }
.timeline-num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--yellow-dark);
  line-height: 1;
}
.timeline-step h3 { text-transform: uppercase; margin: 8px 0 6px; }
.timeline-step p { font-size: 0.92rem; margin: 0; }

/* ===== Accreditations ===== */
.accreds { background: var(--white); }
.mark-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0;
  margin: 46px 0 0;
}
.mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 92px;
  padding: 14px 22px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.mark img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* the marks arrive as mixed-quality logos; muting them slightly keeps the
     row looking like one band rather than six clashing brand colours */
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease);
}
/* The CE/UKCA artwork runs edge-to-edge with no internal padding, unlike the
   association logos, so at a shared box height its glyphs read far larger.
   Scaled down to match their optical weight. */
.mark-ce img { max-height: 58%; }

.mark:hover {
  border-color: var(--yellow-dark);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}
.mark:hover img { filter: none; opacity: 1; }
@media (hover: none) {
  .mark img { filter: none; opacity: 1; }
}

/* ===== Nationwide strip ===== */
.nationwide-strip { background: var(--light); }

/* ===== Areas strip ===== */
.areas-strip { background: var(--white); }
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 46px;
}
.area-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--lighter);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.area-card:hover {
  border-color: var(--yellow-dark);
  box-shadow: 0 20px 44px rgba(0,0,0,0.12);
}
.area-pin {
  display: inline-flex;
  width: 40px; height: 40px;
  margin-bottom: 12px;
}
.area-pin svg {
  width: 100%; height: 100%;
  fill: none; stroke: var(--yellow-dark); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.area-card h3 { text-transform: uppercase; margin-bottom: 6px; }
.area-card p { font-size: 0.92rem; margin: 0 0 14px; }
.area-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  font-family: var(--font-head);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--yellow-dark);
}
.areas-foot { text-align: center; margin: 34px 0 0; font-size: 0.95rem; }
.areas-foot a, .places-foot a, .gallery-foot a, .doing-foot a { color: var(--yellow-dark); font-weight: 600; }

/* ===== Areas hub cards ===== */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 46px;
}
.hub-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.09);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  padding: 32px 30px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.hub-card:hover { box-shadow: 0 24px 52px rgba(0,0,0,0.13); }
.hub-dist {
  font-family: var(--font-head);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--charcoal);
  color: var(--yellow);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hub-card h2 { font-size: 1.5rem; margin-bottom: 8px; }
.hub-card p { font-size: 0.96rem; margin-bottom: 10px; }
.hub-foot {
  font-size: 0.84rem;
  /* --grey-light is 2.85:1 on the white card. --grey is 5.74:1. The variable
     is left alone: it is only otherwise used on dark, where it passes. */
  color: var(--grey);
  margin-bottom: 16px;
}
.hub-go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  font-family: var(--font-head);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--yellow-dark);
}

/* ===== At-a-glance bar (area pages) ===== */
.glance { padding: 0; background: var(--charcoal); }
.glance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.glance-cell {
  padding: 30px 22px;
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.glance-cell:last-child { border-right: 0; }
.glance-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--yellow);
}
.glance-big {
  font-family: var(--font-head);
  font-size: 1.32rem;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.2;
}
.glance-small { font-size: 0.84rem; color: #a8a8a8; }

/* ===== Area service rows ===== */
.asvc-list { margin-top: 46px; display: grid; gap: 12px; }
.asvc-row {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: var(--radius);
  padding: 22px 26px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.asvc-row:hover {
  border-color: var(--yellow-dark);
  box-shadow: 0 16px 36px rgba(0,0,0,0.1);
}
.asvc-num {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--yellow-dark);
  flex: 0 0 auto;
  min-width: 42px;
}
.asvc-body { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; }
.asvc-body strong {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.02rem;
  color: var(--charcoal);
}
.asvc-body span { font-size: 0.92rem; color: var(--grey); }
.asvc-arrow { flex: 0 0 auto; width: 22px; height: 22px; color: var(--yellow-dark); }
.asvc-row:hover .asvc-arrow { transform: translateX(6px); }

/* ===== Places cloud ===== */
.places { background: var(--light); }
.place-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 46px 0 0;
}
.place-list li {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--font-head);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.place-list li:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-3px);
}
.places-foot { text-align: center; margin: 32px 0 0; font-size: 0.95rem; }

/* ===== Travel / local panel (dark, with map) ===== */
.travel, .local-panel, .directions {
  background: var(--black);
  color: var(--white);
}
.travel-inner, .local-panel-inner, .directions-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.travel h2, .local-panel h2, .directions h2 { color: var(--white); }
.travel p, .local-panel p, .directions p { color: #c4c4c4; }
.travel .eyebrow, .local-panel .eyebrow, .directions .eyebrow {
  background: var(--yellow);
  color: var(--charcoal);
}
.travel-nap {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.94rem;
}
.travel-nap p { margin: 0 0 6px; }
.nap-name {
  font-family: var(--font-head);
  text-transform: uppercase;
  color: var(--white) !important;
  letter-spacing: 0.04em;
}
.travel-nap a { color: var(--yellow); }
.travel-nap a:hover { text-decoration: underline; }
.nap-hours strong { color: var(--white); }

.local-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}
.chip {
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.chip:hover { background: var(--yellow); border-color: var(--yellow); color: var(--charcoal); transform: translateY(-2px); }
.chip-all { border-color: var(--yellow); color: var(--yellow); }

.dir-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.dir-list li {
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border-left: 3px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.94rem;
  color: #c4c4c4;
}
.dir-list strong { color: var(--white); display: block; font-family: var(--font-head); text-transform: uppercase; font-size: 0.86rem; letter-spacing: 0.05em; }
.dir-note { font-size: 0.92rem; }
.dir-note a { color: var(--yellow); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  box-shadow: 0 24px 56px rgba(0,0,0,0.35);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ===== Story timeline (about) ===== */
.story-list { list-style: none; padding: 0; margin: 46px 0 0; display: grid; gap: 14px; }
.story-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 26px;
  align-items: start;
  background: var(--lighter);
  border-radius: var(--radius);
  padding: 28px 30px;
  border-left: 5px solid var(--yellow);
}
.story-year {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--yellow-dark);
  text-transform: uppercase;
  line-height: 1.1;
}
.story-item h3 { text-transform: uppercase; margin-bottom: 6px; }
.story-item p { margin: 0; font-size: 0.96rem; }

/* ===== "What we're doing" cards ===== */
.doing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 46px;
}
.doing-card {
  position: relative;
  padding: 0;
  border: 0;
  background: var(--charcoal);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  aspect-ratio: 3 / 4;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.doing-card:hover { box-shadow: 0 24px 52px rgba(0,0,0,0.22); }
.doing-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: block;
  padding: 46px 20px 20px;
  background: linear-gradient(to top, rgba(17,17,17,0.94), rgba(17,17,17,0.6) 55%, transparent);
  color: var(--white);
  font-size: 0.85rem;
  line-height: 1.45;
}
.doing-caption strong {
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--yellow);
  font-size: 0.98rem;
  margin-bottom: 3px;
}
.doing-foot { text-align: center; margin: 38px 0 0; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 46px;
}
.gallery-grid-captioned { grid-template-columns: repeat(3, 1fr); }
.gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  background: var(--charcoal);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 0.35s var(--ease);
}
.gallery-item:hover { box-shadow: 0 22px 48px rgba(0,0,0,0.2); }
.gallery-media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.gallery-grid-captioned .gallery-media { aspect-ratio: 4 / 3; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.gallery-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0);
  transition: background 0.35s var(--ease);
  pointer-events: none;
}
.gallery-media::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 45%; height: 100%;
  z-index: 2;
  background: linear-gradient(100deg, transparent, rgba(255,255,37,0.32), transparent);
  pointer-events: none;
}
@keyframes scan-sweep {
  from { left: -60%; }
  to   { left: 120%; }
}
.gallery-caption {
  display: block;
  padding: 18px 20px 20px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.09);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.45;
}
.gallery-caption strong {
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--charcoal);
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.gallery-item.filtered-out {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}
.gallery-foot { text-align: center; margin: 38px 0 0; font-size: 0.95rem; }

/* Filter chips */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.filter-chip {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--font-head);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
              color 0.25s var(--ease), transform 0.2s var(--ease);
}
.filter-chip:hover { border-color: var(--yellow-dark); transform: translateY(-2px); }
.filter-chip.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--yellow); }
.filter-chip:active { transform: scale(0.96); }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(17,17,17,0.94);
  padding: 60px 24px;
}
.lightbox.open { display: flex; animation: lb-in 0.25s var(--ease); }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius);
  animation: lb-img 0.3s var(--ease);
}
@keyframes lb-img { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
.lightbox-close, .lightbox-nav {
  position: absolute;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--yellow); color: var(--charcoal); }
.lightbox-close:active, .lightbox-nav:active { transform: scale(0.9); }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:active { transform: translateY(-50%) scale(0.9); }
.lightbox-next:active { transform: translateY(-50%) scale(0.9); }

/* ===== Safety ===== */
.safety {
  position: relative;
  background: var(--yellow);
  overflow: hidden;
}
.safety::before,
.safety::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--black), var(--black) 12px, transparent 12px, transparent 24px);
  background-size: 200% 100%;
  animation: stripe-move 7s linear infinite;
}
.safety::before { top: 0; }
.safety::after { bottom: 0; }
.safety-inner {
  display: flex;
  align-items: center;
  gap: 46px;
}
.safety-badge {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 170px; height: 170px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--yellow);
  font-family: var(--font-head);
  text-align: center;
}
.safety-badge svg {
  width: 42px; height: 42px;
  fill: none; stroke: var(--yellow); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 6px;
}
.safety-badge .badge-line1 { font-size: 1.3rem; }
.safety-badge .badge-line2 { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.85; }
.safety h2 { color: var(--charcoal); }
.safety-copy .lead { color: var(--charcoal); max-width: 640px; margin-bottom: 22px; }
.safety .eyebrow { background: var(--charcoal); color: var(--yellow); }
.safety-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.safety-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--charcoal);
  font-weight: 600;
}
.safety-points svg {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  margin-top: 2px;
  fill: none; stroke: var(--charcoal); stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 46px auto 0; display: grid; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  padding: 0 22px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item:hover { border-color: var(--yellow-dark); }
.faq-item[open] { box-shadow: 0 14px 34px rgba(0,0,0,0.09); border-color: var(--yellow-dark); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-chevron {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  fill: none; stroke: var(--charcoal); stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.3s var(--ease), stroke 0.3s var(--ease);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); stroke: var(--yellow-dark); }
.faq-answer { padding: 0 0 22px; animation: faq-in 0.3s var(--ease); }
.faq-answer p { margin: 0; color: var(--grey); font-size: 0.96rem; }
.faq-answer a { color: var(--yellow-dark); font-weight: 600; }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Contact cards ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 46px;
}
.contact-card {
  background: var(--lighter);
  border-radius: var(--radius);
  padding: 32px 28px;
  border-left: 4px solid var(--yellow-dark);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.contact-card:hover { box-shadow: 0 22px 48px rgba(0,0,0,0.11); }
.contact-ico {
  display: inline-flex;
  width: 40px; height: 40px;
  margin-bottom: 12px;
}
.contact-ico svg {
  width: 100%; height: 100%;
  fill: none; stroke: var(--yellow-dark); stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.contact-card h3 { text-transform: uppercase; margin-bottom: 4px; }
.contact-card p { margin: 0 0 10px; font-size: 0.9rem; }
.contact-card a {
  display: block;
  font-weight: 600;
  color: var(--charcoal);
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.contact-card a:hover { color: var(--yellow-dark); }
.contact-big { font-family: var(--font-head); font-size: 1.25rem; letter-spacing: 0.02em; }
.contact-card address { font-size: 0.95rem; color: var(--grey); margin-bottom: 12px; }
.contact-card .hours {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 12px;
  margin-top: 12px;
  font-size: 0.9rem;
}

/* ===== CTA band ===== */
.cta-band {
  background: var(--charcoal);
  color: var(--white);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-copy { max-width: 620px; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #c4c4c4; margin: 0; }
.cta-note {
  margin-top: 14px !important;
  font-size: 0.84rem;
  color: var(--grey-light) !important;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ===== Footer ===== */
.site-footer {
  background: var(--black);
  color: #a4a4a4;
  padding: 62px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.brand-mark-footer { height: 42px; margin-bottom: 16px; }
.footer-blurb { font-size: 0.9rem; color: #a4a4a4; max-width: 320px; }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yellow);
  transition: gap 0.25s var(--ease);
}
.footer-social:hover { gap: 13px; }
.footer-social svg { width: 20px; height: 20px; fill: var(--yellow); }
.footer-head {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a {
  font-size: 0.9rem;
  color: #a4a4a4;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.footer-col a:hover { color: var(--yellow); padding-left: 5px; }
.footer-nap p { margin: 0 0 8px; font-size: 0.88rem; color: #a4a4a4; }
.footer-nap .nap-name { color: var(--white) !important; }
.footer-nap a { color: var(--yellow); }
.footer-nap a:hover { text-decoration: underline; }
.footer-nap .nap-hours {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-nap .nap-hours strong { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 26px;
}
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a {
  font-family: var(--font-head);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover { color: var(--yellow); }
.footer-copy { margin: 0; font-size: 0.8rem; color: #7d7d7d; }
.footer-copy a { color: var(--yellow); }

/* ===== Scroll progress bar ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  background: var(--yellow);
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
  z-index: 200;
  transition: opacity 0.2s var(--ease);
}
/* sits above the header, so it would otherwise streak across the open drawer */
body.nav-open .scroll-progress { opacity: 0; }

/* ===== Keyword ticker ===== */
.ticker {
  overflow: hidden;
  background: var(--black);
  padding: 14px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 38s linear infinite;
}
.ticker-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 14px;
  padding-right: 14px;
  color: var(--yellow);
  font-family: var(--font-head);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.ticker-set .dot { color: var(--yellow-dark); }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}


/* =====================================================================
   ANIMATION SYSTEM
   Layer 1 — entrance reveals, driven by IntersectionObserver.
              Works identically on touch and pointer devices.
   ===================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
  will-change: opacity, transform;
}
.js .reveal.sd-tilt {
  transform: perspective(900px) rotateX(11deg) translateY(46px);
  transform-origin: 50% 100%;
}
.js .reveal.sd-pop   { transform: scale(0.86) translateY(18px); }
.js .reveal.sd-slide { transform: translateX(-38px); }
.js .reveal.in-view {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Heading rule that draws itself in */
.sd-line { position: relative; }
.sd-line::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.3em;
  width: 74px;
  height: 4px;
  background: var(--yellow);
  transform-origin: left;
  transition: transform 0.85s var(--ease) 0.2s;
}
h2.center.sd-line::after {
  left: 50%;
  margin-left: -37px;
}
/* collapsed only once JS has confirmed it can draw it back in */
.js .sd-line::after { transform: scaleX(0); }
.js .reveal.in-view.sd-line::after,
.js .in-view .sd-line::after { transform: scaleX(1); }

/* Line-draw on inline SVG icons, once the parent reveals */
.service-icon svg path,
.service-icon svg circle,
.cad-line path,
.safety-badge svg path,
.safety-points svg path,
.local-ico path, .local-ico circle,
.feature-ico path, .feature-ico circle,
.area-pin path, .area-pin circle,
.contact-ico path, .contact-ico circle {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.js .reveal.in-view .service-icon svg path,
.js .reveal.in-view .service-icon svg circle,
.js .reveal.in-view .cad-line path,
.js .reveal.in-view .safety-badge svg path,
.js .reveal.in-view .safety-points svg path,
.js .reveal.in-view .local-ico path, .js .reveal.in-view .local-ico circle,
.js .reveal.in-view .feature-ico path, .js .reveal.in-view .feature-ico circle,
.js .reveal.in-view .area-pin path, .js .reveal.in-view .area-pin circle,
.js .reveal.in-view .contact-ico path, .js .reveal.in-view .contact-ico circle {
  transition: stroke-dashoffset 0.9s var(--ease) 0.25s;
  stroke-dashoffset: 0;
}

/* CAD rule across the top of each process step */
.cad-line {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
}
.cad-line path {
  stroke: var(--yellow);
  stroke-width: 4;
  fill: none;
  vector-effect: non-scaling-stroke;
}


/* =====================================================================
   Layer 2 — scroll-driven motion (progressive enhancement).
   Continuous, runs off scroll position, so it is just as alive
   on a phone as on a desktop. Absent = page still complete.
   ===================================================================== */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {

    /* Photos drift inside their frame as the section passes */
    .sd-parallax img,
    .split-media img,
    .phero-media img {
      animation: sd-drift linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    @keyframes sd-drift {
      from { transform: translate3d(0, -6%, 0) scale(1.16); }
      to   { transform: translate3d(0,  6%, 0) scale(1.16); }
    }

    /* Hero settles back as you scroll away from it */
    .hero-inner, .phero-copy {
      animation: sd-hero-exit linear both;
      animation-timeline: view();
      animation-range: exit 0% exit 90%;
    }
    @keyframes sd-hero-exit {
      from { opacity: 1; transform: translateY(0) scale(1); }
      to   { opacity: 0.15; transform: translateY(-38px) scale(0.97); }
    }

    /* Hero backdrop pulls at a different rate to the copy */
    .hero-bg, .phero-bg {
      animation: sd-bg linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
    @keyframes sd-bg {
      from { transform: translateY(-7%); }
      to   { transform: translateY(7%); }
    }

    /* Ticker responds to scroll on top of its own drift */
    .ticker-set {
      animation: sd-ticker-nudge linear both;
      animation-timeline: scroll(root block);
    }
    @keyframes sd-ticker-nudge {
      from { transform: translateX(0); }
      to   { transform: translateX(-110px); }
    }

    /* Hazard bar tracks page progress */
    .stripe-bar {
      animation: stripe-move 6s linear infinite, sd-stripe linear both;
      animation-timeline: auto, scroll(root block);
    }
    @keyframes sd-stripe {
      from { background-position-x: 0; }
      to   { background-position-x: 420px; }
    }
  }
}


/* =====================================================================
   Layer 3 — interaction. Hover effects for pointers, and an
   equivalent press/tap treatment so touch devices are not left flat.
   ===================================================================== */

/* Steel-shine sweep.
   overflow:hidden is REQUIRED here, not cosmetic: the ::before sheen is parked
   at translateX(-130%), i.e. outside the box, and paints at z-index 3. Without
   clipping it hangs beside the element as a permanent diagonal streak across
   whatever sits next to it. */
.btn, .nav-cta, .service-card, .area-card, .hub-card,
.asvc-row, .feature-card, .weld-card, .contact-card, .nav-toggle {
  position: relative;
  overflow: hidden;
}
.btn::before,
.nav-cta::before,
.service-card::before,
.area-card::before,
.hub-card::before,
.asvc-row::before,
.feature-card::before,
.weld-card::before,
.contact-card::before,
.filter-chip::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.5) 50%, transparent 60%);
  transform: translateX(-130%);
  transition: transform 0.65s var(--ease);
  pointer-events: none;
}
.weld-card::before {
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,37,0.22) 50%, transparent 60%);
}
.filter-chip { position: relative; overflow: hidden; }

/* Pointer devices: on hover */
@media (hover: hover) and (pointer: fine) {
  .btn:hover::before,
  .nav-cta:hover::before,
  .service-card:hover::before,
  .area-card:hover::before,
  .hub-card:hover::before,
  .asvc-row:hover::before,
  .feature-card:hover::before,
  .weld-card:hover::before,
  .contact-card:hover::before,
  .filter-chip:hover::before { transform: translateX(130%); }

  .service-card:hover, .area-card:hover, .hub-card:hover,
  .feature-card:hover, .weld-card:hover, .timeline-step:hover,
  .contact-card:hover, .doing-card:hover, .gallery-item:hover {
    transform: translateY(-7px);
  }
  .asvc-row:hover { transform: translateX(7px); }
  .service-card:hover .service-icon { transform: rotate(-12deg) scale(1.08); }
  .gallery-item:hover img, .doing-card:hover img, .hero-gallery-item:hover img { transform: scale(1.09); }
  .gallery-item:hover .gallery-media::after { background: rgba(17,17,17,0.4); }
  .gallery-item:hover .gallery-media::before { animation: scan-sweep 0.75s linear; }
  .ticker:hover .ticker-track { animation-play-state: paused; }
}

/* Touch devices: press feedback plus a one-shot sweep on reveal */
@media (hover: none) {
  .service-card:active, .area-card:active, .hub-card:active,
  .feature-card:active, .weld-card:active, .contact-card:active,
  .gallery-item:active, .doing-card:active, .timeline-step:active,
  .hero-gallery-item:active {
    transform: scale(0.972);
  }
  .asvc-row:active { transform: translateX(6px) scale(0.99); }

  .service-card:active::before,
  .area-card:active::before,
  .hub-card:active::before,
  .asvc-row:active::before,
  .btn:active::before,
  .filter-chip:active::before {
    transform: translateX(130%);
    transition: transform 0.5s var(--ease);
  }

  /* the scan sweep that desktop gets on hover, fired once on reveal */
  .js .gallery-item.in-view .gallery-media::before {
    animation: scan-sweep 0.9s linear calc(0.25s + var(--i, 0) * 80ms);
  }
  .js .doing-card.in-view img,
  .js .gallery-item.in-view img {
    animation: ken-burns 9s var(--ease) forwards;
  }
  @keyframes ken-burns {
    from { transform: scale(1); }
    to   { transform: scale(1.07); }
  }
}

/* Cursor-glow spotlight (pointer only — JS gates it too) */
.spotlight { position: relative; }
.spotlight::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle 320px at var(--mx, 50%) var(--my, 50%), rgba(255,255,37,0.13), transparent 70%);
  transition: opacity 0.3s;
}
.spotlight:hover::after { opacity: 1; }
.hero.spotlight::after, .page-hero.spotlight::after { z-index: 1; }
.spotlight > .container { position: relative; z-index: 2; }

/* Welding spark burst — fires on click AND tap */
.spark {
  position: absolute;
  width: 5px; height: 5px;
  top: 0; left: 0;
  background: var(--yellow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 4;
  transform: translate(-50%, -50%);
  animation: spark-fly 0.55s ease-out forwards;
}
@keyframes spark-fly {
  to {
    transform: translate(calc(-50% + (cos(var(--angle)) * var(--dist))), calc(-50% + (sin(var(--angle)) * var(--dist)))) scale(0);
    opacity: 0;
  }
}

/* One-shot arc-flash on the hero highlight */
@keyframes arc-flash {
  0%   { transform: skewX(0); text-shadow: none; }
  30%  { transform: skewX(-6deg); text-shadow: 1px 0 var(--yellow), -1px 0 rgba(255,255,255,0.6); }
  60%  { transform: skewX(4deg); }
  100% { transform: skewX(0); text-shadow: none; }
}
.hl.flash { display: inline-block; animation: arc-flash 0.35s steps(2, end) 1; }

/* Mobile drawer link cascade */
@keyframes nav-in {
  from { opacity: 0; transform: translateX(-22px); }
  to   { opacity: 1; transform: none; }
}


/* ===== Respect reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stripe-bar, .safety::before, .safety::after, .hero-bg::after,
  .phero-bg::after, .ticker-track, .faq-answer, .btn-weld::after,
  .lightbox, .lightbox img {
    animation: none !important;
  }
  .ticker-set:nth-child(2) { display: none; }
  .js .reveal, .js .reveal.sd-tilt, .js .reveal.sd-pop, .js .reveal.sd-slide {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .service-card, .area-card, .hub-card, .feature-card, .weld-card,
  .timeline-step, .contact-card, .doing-card, .gallery-item, .asvc-row {
    transform: none !important;
  }
  .spotlight::after { display: none !important; }
  .cad-line path, .service-icon svg path, .service-icon svg circle,
  .safety-badge svg path, .safety-points svg path,
  .local-ico path, .local-ico circle, .feature-ico path, .feature-ico circle,
  .area-pin path, .area-pin circle, .contact-ico path, .contact-ico circle {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }
  .sd-line::after { transform: scaleX(1) !important; transition: none !important; }
  .gallery-media::before { display: none !important; }
  .spark { display: none !important; }
  .hl.flash { animation: none !important; }
  .sector::after { transform: scaleX(1) !important; }
}


/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .service-grid, .feature-grid, .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .weld-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 1000px) {
  /* The toggle turns into an X and is the close control, so it has to sit
     above the drawer it opens — both are in the header stacking context. */
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 120;
  }
  .nav-toggle.active span { background: var(--charcoal); }
  .site-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(360px, 88vw);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    padding: 86px 22px 40px;
    overflow-y: auto;
    box-shadow: -20px 0 60px rgba(0,0,0,0.24);
    transform: translateX(105%);
    transition: transform 0.4s var(--ease);
    z-index: 110;
  }
  .site-nav.open { transform: none; }
  .site-nav.open > * { animation: nav-in 0.42s var(--ease) both; }
  .site-nav.open > *:nth-child(1) { animation-delay: 0.06s; }
  .site-nav.open > *:nth-child(2) { animation-delay: 0.11s; }
  .site-nav.open > *:nth-child(3) { animation-delay: 0.16s; }
  .site-nav.open > *:nth-child(4) { animation-delay: 0.21s; }
  .site-nav.open > *:nth-child(5) { animation-delay: 0.26s; }
  .site-nav.open > *:nth-child(6) { animation-delay: 0.31s; }
  .site-nav.open > *:nth-child(7) { animation-delay: 0.36s; }

  .site-nav > a,
  .nav-group-btn {
    width: 100%;
    justify-content: space-between;
    padding: 15px 4px;
    font-size: 1.02rem;
    border-bottom: 1px solid rgba(0,0,0,0.07);
  }
  .site-nav > a:not(.nav-cta)::after,
  .nav-group-btn::after { left: 4px; right: auto; width: 34px; bottom: 8px; }

  .nav-group { width: 100%; }
  .nav-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 3px solid var(--yellow);
    border-radius: 0;
    background: var(--lighter);
    padding: 0 0 0 6px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), margin 0.3s var(--ease);
  }
  .nav-group.open > .nav-menu { max-height: 520px; margin: 4px 0 10px; }
  .nav-menu a { padding: 12px 14px; }

  .nav-cta {
    margin: 18px 0 0;
    justify-content: center;
    border-bottom: 0;
    font-size: 1.05rem !important;
    padding: 15px 16px !important;
  }

  /* The drawer lives inside .site-header, which is a stacking context
     (position:sticky + z-index). A z-index on .site-nav is therefore scoped
     to that context and can never rise above a sibling of the header — so the
     scrim has to sit BELOW the header rather than the drawer above it,
     otherwise the scrim swallows every tap, the hamburger included. */
  .nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(17,17,17,0.5);
    backdrop-filter: blur(2px);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
  }
  .nav-scrim.show { opacity: 1; pointer-events: auto; }

  /* backdrop-filter (like transform and filter) makes an element a containing
     block for position:fixed descendants, which clipped the drawer to the
     47px header box. The header is 94% opaque here anyway, so drop the blur
     on mobile and let the drawer resolve against the viewport. */
  .site-header { backdrop-filter: none; background: var(--white); }

  /* Same trap via transform: never let the auto-hide transform run while the
     drawer is open, or the drawer is repositioned against the header again. */
  body.nav-open .site-header {
    transform: none !important;
    transition: none !important;
  }

  .hero-layout, .page-hero-media .phero-layout { grid-template-columns: 1fr; gap: 34px; }
  .hero-inner { max-width: none; }
  .split-grid, .qrail-inner, .travel-inner,
  .local-panel-inner, .directions-inner { grid-template-columns: 1fr; gap: 34px; }
  .split-band-flip .split-media { order: 0; }
  .split-media, .phero-media { aspect-ratio: 16 / 10; }
  .hub-grid { grid-template-columns: 1fr; }
  .doing-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid-captioned { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .local-bar-inner, .glance-grid { grid-template-columns: repeat(2, 1fr); }
  .local-item:nth-child(2), .glance-cell:nth-child(2) { border-right: 0; }
  .local-item:nth-child(1), .local-item:nth-child(2),
  .glance-cell:nth-child(1), .glance-cell:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .hero-gallery { height: 210px; }
  .hero-gallery-track {
    flex-direction: row;
    overflow-y: hidden;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }
  .hero-gallery-item { width: 230px; height: 100%; flex-shrink: 0; aspect-ratio: auto; }
  .hero-gallery::before, .hero-gallery::after { top: 0; bottom: 0; height: auto; width: 46px; }
  .hero-gallery::before { left: 0; right: auto; background: linear-gradient(to right, var(--black), transparent); }
  .hero-gallery::after { right: 0; left: auto; background: linear-gradient(to left, var(--black), transparent); }
}

@media (max-width: 720px) {
  section { padding: 58px 0; }
  .container { padding: 0 20px; }
  .hero { padding: 62px 0 58px; }
  .page-hero { padding: 54px 0 48px; }
  .service-grid, .feature-grid, .sector-grid, .weld-grid,
  .timeline, .area-grid, .doing-grid { grid-template-columns: 1fr; }
  .gallery-grid, .gallery-grid-captioned { grid-template-columns: repeat(2, 1fr); }
  .safety-inner { flex-direction: column; text-align: center; gap: 28px; }
  .safety-points li { justify-content: center; text-align: left; }
  .hero-stats { gap: 24px; }
  .stat-label { max-width: none; }
  .story-item { grid-template-columns: 1fr; gap: 10px; padding: 24px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .asvc-row { gap: 14px; padding: 18px 18px; }
  .asvc-num { min-width: 30px; font-size: 1.15rem; }
  .contact-map, .contact-map iframe { min-height: 280px; }
  .filter-bar { gap: 8px; }
  .filter-chip { padding: 9px 15px; font-size: 0.78rem; }
  .lightbox { padding: 70px 14px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

@media (max-width: 460px) {
  .local-bar-inner, .glance-grid { grid-template-columns: 1fr; }
  .local-item, .glance-cell { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .local-item:last-child, .glance-cell:last-child { border-bottom: 0; }
  .gallery-grid, .gallery-grid-captioned { grid-template-columns: 1fr; }
  .hero-actions .btn, .phero-actions .btn, .cta-actions .btn { width: 100%; }
}


/* The WebP wrapper must not affect layout. <picture> is an inline box, so
   without this it would sit between an image and its flex or grid parent and
   every rule written against that parent would shift. display:contents takes
   it out of the box tree; the <img> lays out exactly as it did before. */
picture { display: contents; }

/* ===== Statutory footer disclosure ===== */
.footer-legal {
  flex-basis: 100%;
  order: 3;
  margin: 4px 0 0;
  font-size: 0.74rem;
  line-height: 1.6;
  /* 5.47:1 on the black footer. #6b6b6b looked right but was 3.54:1. */
  color: #8a8a8a;
}

/* ===== Legal / long-form copy ===== */
.legal-body { max-width: 780px; }
.legal-section + .legal-section { margin-top: 40px; }
.legal-section h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  margin: 0 0 14px;
}
.legal-section p { margin: 0 0 14px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section a { color: var(--charcoal); text-decoration: underline; }
.legal-section a:hover { color: var(--black); }

@media (max-width: 700px) {
  .footer-legal { font-size: 0.72rem; }
}
