/* =========================================================================
   Laser Metal Fab — site design system
   Theme: match of the live lasermetalfab.com (Wix) look —
   Bebas Neue condensed uppercase display, Poppins body, navy #023E7D
   primary, charcoal header, light-blue callouts, periwinkle service-area.
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --navy:      #023E7D;   /* primary brand blue (nav pills, buttons, bands) */
  --navy-deep: #001D4B;   /* darkest navy */
  --blue:      #0353A4;   /* hover / secondary blue */
  --sky:       #4eb7f5;   /* bright accent (PRECISION, footer accents) */
  --charcoal:  #1C232B;   /* header bar */
  --steel-900: #14181D;   /* dark sections */
  --steel-800: #1B2129;
  --steel-700: #232B34;
  --footer-bg: #10151C;
  --lightblue: #E5F0FE;   /* "Have a design ready?" band */
  --periwinkle:#5F73AE;   /* service-area band */
  --paper:     #f7f8fa;
  --paper-2:   #EFF3F8;
  --white:     #ffffff;
  --ink:       #17191c;
  --ink-soft:  #565d66;
  --mist:      #c9d0d8;   /* muted text on dark */
  --edge:      #dde2e8;   /* hairline on light */
  --edge-dark: #2a333d;   /* hairline on dark */
  --cut:       #023E7D;   /* legacy accent var — now brand navy */
  --cut-700:   #0353A4;
  --cut-glow:  rgba(3,83,164,.45);

  --font-display: 'Bebas Neue', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --wrap: 1180px;
  --pad: clamp(18px, 5vw, 56px);
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.04;
  letter-spacing: .015em;
  font-weight: 400;               /* Bebas has one weight */
  text-transform: uppercase;
}
p { margin: 0 0 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* eyebrow / data label */
.eyebrow {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--blue); display: inline-block; }
.on-dark .eyebrow { color: var(--sky); }
.on-dark .eyebrow::before { background: var(--sky); }

/* ---------- buttons (live-site style: squared, uppercase, letterspaced) ---------- */
.btn {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 15px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
/* ghost on light = navy outline; on dark/hero = solid WHITE like the live site */
.btn-ghost { background: transparent; color: var(--ink); border-color: #c6cdd6; }
.btn-ghost:hover { border-color: var(--ink); }
.on-dark .btn-ghost,
.hero .btn-ghost,
.band-quote .btn-ghost,
.popup-card .btn-ghost { background: #fff; color: var(--ink); border-color: #fff; }
.on-dark .btn-ghost:hover,
.hero .btn-ghost:hover,
.band-quote .btn-ghost:hover,
.popup-card .btn-ghost:hover { background: var(--paper-2); color: var(--ink); border-color: var(--paper-2); }
/* solid white button used on dark bands (MORE SERVICES / VIEW FULL GALLERY) */
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white:hover { background: var(--paper-2); border-color: var(--paper-2); }
.btn-arrow::after { content: "›"; font-size: 1.3em; line-height: 0; }

/* ---------- header (charcoal bar, navy rectangle nav, white quote btn) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--charcoal);
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #fff;
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 108px; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; }
.brand .mark { height: 84px; width: auto; max-width: 280px; flex: none; display: block; }
.nav { display: flex; align-items: center; gap: 9px; }
.nav a {
  font-family: var(--font-body); font-size: .74rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--navy);
  padding: 11px 15px; border-radius: 2px;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.nav a:hover { background: var(--blue); color: #fff; }
.nav a.active { background: #6c757e; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { background: #fff; color: var(--ink); border-color: #fff; padding: 13px 22px; letter-spacing: .04em; font-size: .88rem; text-transform: none; font-weight: 500; }
.header-cta .btn::after { content: "›"; font-size: 1.25em; line-height: 0; }
.header-cta .btn:hover { background: var(--paper-2); border-color: var(--paper-2); color: var(--ink); }
.menu-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 2px; padding: 9px 13px; cursor: pointer; font-family: var(--font-body); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.header-phone {
  font-family: var(--font-body); font-size: .86rem; letter-spacing: .02em;
  color: #fff; padding: 8px 10px; border-radius: 2px;
  transition: color .15s ease;
  white-space: nowrap;
}
.header-phone:hover { color: var(--sky); }
@media (max-width: 1100px) { .header-phone { display: none; } }
@media (max-width: 760px) { .site-header .bar { height: 84px; } .brand .mark { height: 62px; } }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section.tight { padding: clamp(40px,6vw,72px) 0; }
.on-dark { background: var(--steel-900); color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark p { color: var(--mist); }
.on-navy { background: var(--navy); color: #fff; }
.on-navy h1, .on-navy h2, .on-navy h3 { color: #fff; }
.on-navy p { color: #e8f0fa; }
.section-head { max-width: 760px; margin-bottom: clamp(30px, 5vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.section-head p { font-size: 1.04rem; color: var(--ink-soft); margin-top: .8rem; font-weight: 300; }
.on-dark .section-head p { color: var(--mist); }
.on-navy .section-head p { color: #e8f0fa; }

/* cut-line divider (legacy motif, kept for subpages) */
.cutline { display: flex; align-items: center; gap: 0; margin: 0; height: 1px; }
.cutline i { height: 1px; background: var(--edge); flex: 1; }
.cutline b { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--blue); flex: none; background: var(--paper); }
.on-dark .cutline i { background: var(--edge-dark); }
.on-dark .cutline b { background: var(--steel-900); }

/* ---------- hero (full-bleed welder photo, centered Bebas) ---------- */
.hero { background: var(--steel-900); color: #fff; position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; padding-top: clamp(72px, 11vw, 130px); padding-bottom: clamp(72px, 11vw, 130px); }
.hero h1 {
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  line-height: 1.02;
}
.hero .lede { font-size: clamp(1rem, 1.5vw, 1.15rem); color: #f1f4f8; max-width: 62ch; margin: 1.3rem 0 2.1rem; font-weight: 300; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(180deg, rgba(10,14,18,.45) 0%, rgba(10,14,18,.55) 100%), var(--hero-photo, url("images/hero-laser.jpg"));
  background-size: cover; background-position: center 30%;
  background-attachment: fixed;
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .hero.hero-photo::before { background-attachment: scroll; }
}
.hero.hero-photo .wrap { text-align: center; }
.hero.hero-photo h1 { max-width: 23ch; margin: 0 auto; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero.hero-photo .lede { max-width: 60ch; margin-left: auto; margin-right: auto; }
.hero.hero-photo .hero-cta { justify-content: center; }

/* ---------- trust-icons row: thin line-art icons + labels on white ---------- */
.trust-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: clamp(44px,5vw,68px) 0; background: var(--white); }
.trust-icons .ti { text-align: center; }
.trust-icons .ti svg { width: 60px; height: 60px; stroke: var(--ink); stroke-width: 1.6; fill: none; margin: 0 auto 14px; display: block; }
.trust-icons .ti h4 { font-family: var(--font-body); font-weight: 500; text-transform: none; font-size: .95rem; letter-spacing: .01em; color: var(--ink); margin: 0; line-height: 1.4; }
@media (max-width: 760px) { .trust-icons { grid-template-columns: repeat(2, 1fr); } }

/* ---------- "Have a design ready?" band: light blue + bouncing chevrons ---------- */
.design-ready {
  background: var(--lightblue);
  padding: clamp(44px,7vw,76px) 0;
  text-align: center;
}
.design-ready h2 { font-size: clamp(2.3rem,4.8vw,3.4rem); color: var(--navy-deep); }
.design-ready .arrow-line { display: inline-flex; align-items: center; gap: 20px; margin: 24px 0 0; font-family: var(--font-body); font-size: 1.05rem; color: var(--ink); }
.design-ready .arrow-line:hover { color: var(--navy); }
.design-ready .arrow-line .ar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700;
  animation: lmf-bounce 1.6s ease-in-out infinite;
  will-change: transform;
}
.design-ready .arrow-line .ar:last-child { animation-delay: .25s; }
@keyframes lmf-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}
@media (prefers-reduced-motion: reduce) {
  .design-ready .arrow-line .ar { animation: none; }
}

/* ---------- services: 2×2 photo cards with overlaid Bebas titles ---------- */
.svc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc-card {
  position: relative; min-height: 265px; border-radius: 2px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 34px 36px;
  background-size: cover; background-position: center;
  isolation: isolate;
  transition: transform .18s ease, box-shadow .18s ease;
}
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,13,18,.78) 0%, rgba(10,13,18,.35) 70%, rgba(10,13,18,.25) 100%); transition: background .2s ease; }
.svc-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0,0,0,.45); }
.svc-card:hover::before { background: linear-gradient(90deg, rgba(2,62,125,.82) 0%, rgba(2,62,125,.4) 70%, rgba(10,13,18,.3) 100%); }
.svc-card h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); color: #fff; margin-bottom: .6rem; }
.svc-card p { color: #eef2f7; font-size: .95rem; font-weight: 300; max-width: 46ch; margin: 0; }

/* ---------- custom products (navy band, white rounded cards + photos) ---------- */
.prod-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(22px,4vw,44px); align-items: stretch; margin-bottom: clamp(28px,5vw,56px); }
.prod-row:last-of-type { margin-bottom: 0; }
.prod-row.flip .prod-text { order: 2; }
.prod-row.flip .prod-photo { order: 1; }
.prod-text {
  background: var(--paper); color: var(--ink);
  border-radius: 14px; padding: clamp(28px,4vw,48px);
  display: flex; flex-direction: column; justify-content: center;
}
.prod-text h3 { font-size: clamp(1.7rem,2.6vw,2.2rem); color: var(--ink); margin-bottom: .9rem; }
.prod-text p { color: var(--ink-soft); font-size: .98rem; font-weight: 300; margin: 0; }
.prod-photo { border-radius: 14px; overflow: hidden; min-height: 280px; }
.prod-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- tagline band (dark sparks photo, PRECISION in sky blue) ---------- */
.tagline-band {
  position: relative; isolation: isolate; text-align: center;
  padding: clamp(64px,10vw,120px) 0; color: #fff; overflow: hidden;
}
.tagline-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(8,8,8,.72), rgba(8,8,8,.72)), url("images/band-sparks.jpg");
  background-size: cover; background-position: center;
}
.tagline-band h2 { font-size: clamp(2.2rem,5vw,3.6rem); color: #fff; }
.tagline-band h2 .accent { color: var(--sky); }
.tagline-band p { color: #f0f3f7; font-size: clamp(1.15rem,2.2vw,1.65rem); font-weight: 300; margin: 1.1rem auto 0; max-width: 40ch; line-height: 1.45; }

/* ---------- service area (periwinkle band + list card + map) ---------- */
.area-band { background: var(--periwinkle); color: #fff; padding: clamp(56px,8vw,96px) 0; }
.area-band h2 { text-align: center; font-size: clamp(2.2rem,4.4vw,3.2rem); color: #fff; margin-bottom: clamp(30px,5vw,52px); }
.area-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px,4vw,44px); align-items: stretch; }
.area-list { background: var(--paper-2); color: var(--ink); padding: clamp(24px,3.5vw,40px) clamp(24px,4vw,44px); }
.area-list ul { list-style: disc; margin: 0; padding-left: 1.2em; display: grid; gap: 12px; }
.area-list li { color: var(--ink); font-size: 1rem; }
.area-map { min-height: 300px; background: var(--paper-2); }
.area-map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
.area-note { text-align: center; color: #fff; font-size: 1.02rem; margin: clamp(26px,4vw,40px) 0 0; font-weight: 300; }

/* ---------- testimonials carousel ---------- */
.testimonials { background: var(--paper); text-align: center; padding: clamp(56px,8vw,96px) 0; }
.testimonials h2 { font-size: clamp(2.3rem,4.6vw,3.3rem); color: var(--ink); margin-bottom: clamp(36px,6vw,64px); }
.t-carousel { position: relative; max-width: 820px; margin: 0 auto; min-height: 150px; }
.t-slide { display: none; }
.t-slide.active { display: block; animation: t-fade .4s ease; }
@keyframes t-fade { from { opacity: 0; } to { opacity: 1; } }
.t-slide blockquote { margin: 0; font-size: clamp(1.05rem,1.8vw,1.3rem); letter-spacing: .04em; color: var(--ink); font-weight: 300; line-height: 1.7; }
.t-slide cite { display: block; font-style: normal; margin-top: 1.6rem; color: var(--ink-soft); font-size: .95rem; }
.t-arrow {
  position: absolute; top: 34%; background: none; border: none; cursor: pointer;
  color: var(--ink); padding: 8px; font-size: 2rem; line-height: 1; opacity: .7; transition: opacity .15s;
}
.t-arrow:hover { opacity: 1; }
.t-arrow.prev { left: -46px; }
.t-arrow.next { right: -46px; }
.t-dots { display: flex; gap: 12px; justify-content: center; margin-top: 2.2rem; }
.t-dots button { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; cursor: pointer; padding: 0; }
.t-dots button.active { background: var(--ink); }
@media (max-width: 900px) { .t-arrow.prev { left: -6px; } .t-arrow.next { right: -6px; } }

/* ---------- gallery band (navy → dark, edge-to-edge strip) ---------- */
.gallery-band {
  background: linear-gradient(180deg, var(--navy) 0%, #052648 42%, var(--footer-bg) 100%);
  color: #fff; padding: clamp(48px,7vw,80px) 0 clamp(44px,6vw,72px);
  text-align: center;
}
.gallery-band .g-head { display: inline-flex; align-items: center; gap: 16px; margin-bottom: clamp(30px,5vw,52px); }
.gallery-band .g-head img { width: 46px; height: 46px; }
.gallery-band h2 { font-size: clamp(2.3rem,4.6vw,3.3rem); color: #fff; }
.g-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 0 10px; }
.g-strip .g-tile { aspect-ratio: 4/5; overflow: hidden; }
.g-strip .g-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.g-strip .g-tile:hover img { transform: scale(1.05); }
.gallery-band .btn { margin-top: clamp(30px,5vw,48px); }
@media (max-width: 900px) { .g-strip { grid-template-columns: repeat(3, 1fr); } .g-strip .g-tile:nth-child(n+7) { display: none; } }
@media (max-width: 560px) { .g-strip { grid-template-columns: repeat(2, 1fr); } .g-strip .g-tile:nth-child(n+7) { display: none; } }

/* ---------- generic cards (subpages) ---------- */
.grid { display: grid; gap: 18px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--edge); border-radius: var(--radius);
  padding: 24px; position: relative; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(14,19,22,.10); border-color: #b9c2c9; }
.card h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .95rem; font-weight: 300; margin: 0; }
.card .tag { font-family: var(--font-body); font-weight: 600; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: .8rem; }
.card.reg::before, .card.reg::after { content: ""; position: absolute; width: 12px; height: 12px; border-color: var(--edge); border-style: solid; }
.card.reg::before { top: 10px; right: 10px; border-width: 1px 1px 0 0; }
.card.reg:hover::before { border-color: var(--blue); }

.on-dark .card { background: var(--steel-800); border-color: var(--edge-dark); }
.on-dark .card h3 { color: #fff; }
.on-dark .card p { color: var(--mist); }

.media { aspect-ratio: 4/3; background: var(--steel-700); border: 1px solid var(--edge); border-radius: var(--radius); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* split feature row (subpages) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,5vw,56px); align-items: center; }
.feature.flip > .feature-media { order: -1; }
.feature h2 { font-size: clamp(1.9rem,3.4vw,2.7rem); margin-bottom: 1rem; }
.feature ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 10px; }
.feature li { position: relative; padding-left: 24px; color: var(--ink-soft); }
.feature li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border: 1.5px solid var(--blue); border-radius: 50%; }

/* capability list (subpages) */
.cap { border-top: 1px solid var(--edge); padding: 30px 0; display: grid; grid-template-columns: 280px 1fr; gap: clamp(18px,4vw,48px); }
.cap:last-child { border-bottom: 1px solid var(--edge); }
.cap h3 { font-size: 1.7rem; }
.cap .cap-no { font-family: var(--font-body); font-weight: 600; font-size: .72rem; color: var(--blue); letter-spacing: .12em; margin-bottom: .5rem; }
.cap p { color: var(--ink-soft); margin: 0; }

/* spec/data list */
.datalist { font-family: var(--font-mono); font-size: .9rem; display: grid; gap: 0; }
.datalist div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--edge); }
.datalist span:first-child { color: var(--ink-soft); }
.on-dark .datalist div { border-color: var(--edge-dark); }
.on-dark .datalist span:first-child { color: var(--mist); }

/* gallery grid (subpages) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery .tile { aspect-ratio: 1/1; border: 1px solid var(--edge); border-radius: var(--radius); overflow: hidden; background: var(--steel-700); }
.gallery .tile.wide { grid-column: span 2; aspect-ratio: 2/1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery .tile:hover img { transform: scale(1.05); }

/* service-area chips (subpages) */
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.area { font-family: var(--font-body); font-size: .84rem; border: 1px solid var(--edge); border-radius: var(--radius); padding: 9px 14px; color: var(--ink); background: var(--white); }
.on-dark .area { border-color: var(--edge-dark); color: var(--mist); background: transparent; }

/* quote band */
.band-quote { background: var(--steel-900); color: #fff; text-align: center; }
.band-quote h2 { font-size: clamp(2.3rem,5vw,3.6rem); }
.band-quote p { color: var(--mist); max-width: 52ch; margin: 1rem auto 2rem; font-weight: 300; }

/* upload hinge (subpages) */
.upload { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--white); border: 1px solid var(--edge); border-left: 4px solid var(--navy); border-radius: var(--radius); padding: clamp(22px,4vw,38px); }
.upload h3 { font-size: clamp(1.5rem,2.6vw,2.1rem); margin-bottom: .4rem; }
.upload p { margin: 0; color: var(--ink-soft); }

/* testimonial pull-quote (subpages) */
.quote-big { font-family: var(--font-body); font-weight: 300; font-size: clamp(1.2rem,2.4vw,1.7rem); line-height: 1.5; max-width: 26ch; }
.quote-by { font-family: var(--font-body); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); margin-top: 1.2rem; }

/* simple form */
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-body); font-weight: 500; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea { width: 100%; border: 1px solid var(--edge); background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 12px 13px; font: inherit; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }

/* ---------- footer (dark navy-charcoal, Bebas heads, blue circle icons) ---------- */
.site-footer { background: var(--footer-bg); color: var(--mist); }
.site-footer .wrap { padding-top: 64px; padding-bottom: 32px; }
.foot-grid-3 { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 48px; justify-items: center; text-align: center; }
.foot-col { width: 100%; max-width: 300px; }
.site-footer h4 {
  font-family: var(--font-display); font-size: 1.55rem;
  color: #fff; margin: 0 0 1.5rem; letter-spacing: .05em;
}
.site-footer h4 .accent { color: var(--sky); }
.site-footer a { color: #fff; display: block; padding: 5px 0; }
.site-footer a:hover { color: var(--sky); }
.link-list { text-align: left; display: inline-block; }
.link-list a { text-decoration: underline; text-underline-offset: 3px; font-family: var(--font-body); font-weight: 300; font-size: .96rem; }
.contact-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; text-align: left; }
.contact-row .ico {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: #1D67CD; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-row .ico svg { width: 19px; height: 19px; }
.contact-row a, .contact-row > div { color: #fff; font-size: .93rem; font-weight: 300; padding: 0; line-height: 1.5; }
.naics-list { font-family: var(--font-body); font-weight: 300; font-size: .95rem; color: #fff; text-align: center; }
.naics-list div { padding: 3px 0; }
.foot-bottom-3 {
  display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center;
  border-top: 1px solid rgba(255,255,255,.16); margin-top: 56px; padding-top: 26px;
  font-family: var(--font-body); font-weight: 300; font-size: .86rem; color: #fff;
}
.foot-bottom-3 .foot-logo img { height: 52px; width: auto; }
.foot-bottom-3 .foot-copy { text-align: center; }
.foot-bottom-3 .foot-social { display: inline-flex; justify-content: flex-end; align-items: center; gap: 12px; }
.foot-bottom-3 .foot-social span { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .08em; color: #fff; }
.foot-bottom-3 .foot-social a { color: #fff; padding: 0; }
.foot-bottom-3 .foot-social svg { width: 24px; height: 24px; }
@media (max-width: 760px) {
  .foot-grid-3 { grid-template-columns: 1fr; gap: 36px; }
  .foot-bottom-3 { grid-template-columns: 1fr; gap: 18px; justify-items: center; text-align: center; }
  .foot-bottom-3 .foot-logo, .foot-bottom-3 .foot-social { justify-content: center; display: flex; }
}

/* category-filter tabs (Projects + Gallery) */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.filter-tabs button {
  font-family: var(--font-body); font-weight: 500; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  background: transparent; color: var(--ink-soft); border: 1px solid var(--edge);
  border-radius: 2px; padding: 10px 16px; cursor: pointer;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.filter-tabs button:hover { color: var(--ink); border-color: var(--ink); }
.filter-tabs button.active { color: #fff; border-color: var(--navy); background: var(--navy); }
.on-dark .filter-tabs button { color: var(--mist); border-color: var(--edge-dark); }
.on-dark .filter-tabs button:hover { color: #fff; border-color: var(--mist); }
.on-dark .filter-tabs button.active { color: #fff; border-color: var(--navy); background: var(--navy); }
[data-category].hidden { display: none !important; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* legacy cut-path artwork (subpages may still embed it) */
.cutpart { width: 100%; height: auto; }
.cutpart .plate { fill: none; stroke: var(--edge-dark); stroke-width: 1.4; }
.cutpart .kerf { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px var(--cut-glow)); }
.cutpart .head { fill: var(--blue); filter: drop-shadow(0 0 8px var(--blue)); }
.cutpart .dim { fill: var(--mist); font-family: var(--font-mono); font-size: 13px; }
.cutpart .dim-line { stroke: #46535d; stroke-width: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes headmove { to { offset-distance: 100%; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.cutpart .kerf { stroke-dasharray: 1600; stroke-dashoffset: 1600; }
.cutpart.run .kerf { animation: draw 3.4s ease-out forwards; }
.cutpart.static .kerf { stroke-dashoffset: 0; }
.cutpart .head { offset-path: path("M70 80 L530 80 L530 220 L420 220 L420 360 L70 360 Z"); offset-distance: 0%; offset-rotate: 0deg; }
.cutpart.run .head { animation: headmove 3.4s ease-out forwards, pulse 1.1s ease-in-out infinite; }
.cutpart.static .head { offset-distance: 100%; }
.cutpart .pierce { fill: var(--blue); opacity: 0; }
.cutpart.run .pierce { animation: pulse 1.4s ease-out 0s 3; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--charcoal); border-bottom: 1px solid rgba(255,255,255,.1); padding: 14px var(--pad) 18px; gap: 8px; }
  .nav.open a { text-align: center; }
  .menu-toggle { display: inline-block; }
}
@media (max-width: 900px) {
  .feature, .feature.flip > .feature-media { grid-template-columns: 1fr; order: 0; }
  .cap { grid-template-columns: 1fr; gap: 8px; }
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .upload { grid-template-columns: 1fr; }
  .svc-cards { grid-template-columns: 1fr; }
  .prod-row, .prod-row.flip { grid-template-columns: 1fr; }
  .prod-row.flip .prod-text { order: 0; }
  .prod-row.flip .prod-photo { order: 0; }
  .area-cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .tile.wide { grid-column: span 2; }
  .form-grid2 { grid-template-columns: 1fr; }
  .upload .btn { width: 100%; justify-content: center; }
  .hero-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Welcome popup — first-visit CTA pushing toward the estimator */
.popup-backdrop {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(14, 19, 22, 0.78); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; transition: opacity .25s ease;
}
.popup-backdrop.show { opacity: 1; }
.popup-card {
  position: relative;
  background: var(--steel-900); color: #fff;
  border: 1px solid var(--edge-dark); border-radius: var(--radius);
  padding: clamp(28px, 5vw, 48px) clamp(24px, 4vw, 44px);
  max-width: 520px; width: 100%; text-align: center;
  transform: translateY(20px) scale(.96); transition: transform .3s cubic-bezier(.2,.8,.3,1);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(3,83,164,.2);
}
.popup-backdrop.show .popup-card { transform: translateY(0) scale(1); }
.popup-close {
  position: absolute; top: 12px; right: 14px;
  background: transparent; border: none; color: var(--mist);
  font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 4px 10px;
  border-radius: var(--radius); transition: color .15s, background .15s;
}
.popup-close:hover { color: #fff; background: rgba(255,255,255,.06); }
.popup-eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: .7rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--sky);
  border: 1px solid var(--sky); border-radius: 999px; padding: 6px 14px; margin-bottom: 18px;
}
.popup-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin: 0 0 .8rem; color: #fff;
}
.popup-card h3 .accent { color: var(--sky); }
.popup-card p { color: var(--mist); margin: 0 0 1.6rem; max-width: 40ch; margin-inline: auto; font-weight: 300; }
.popup-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 480px) {
  .popup-cta { flex-direction: column; }
  .popup-cta .btn { width: 100%; justify-content: center; }
}
