/* ============================================================
   Dagre Welding Inc — Bold Industrial theme
   Concord, Ontario
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* surfaces — cool charcoal, real value separation */
  --bg:        #0b0d10;
  --bg-1:      #111317;
  --bg-2:      #161a1f;
  --bg-3:      #1f242b;
  --panel:     #121519;
  --steel:     #39414a;   /* graphite metal neutral */
  --zinc:      #69727d;   /* brushed-metal hairline */
  --line:      rgba(255, 255, 255, 0.07);
  --line-2:    rgba(255, 255, 255, 0.15);

  /* text — cool zinc-white */
  --text:      #eaf0f5;
  --muted:     #9aa7b2;
  --muted-2:   #69727d;

  /* brand — arc-blue ramp (budgeted accent, not wallpaper) */
  --accent:    #2f8fd0;   /* arc blue — CTAs, active states */
  --accent-2:  #6cc6ef;   /* bright arc — tiny highlights only */
  --accent-3:  #1f6fab;   /* deep blue — gradient bottoms, hard edges */
  --accent-soft: rgba(47, 143, 208, 0.10);
  --accent-glow: rgba(47, 143, 208, 0.32);

  /* utility */
  --ok:        #4ade80;
  --radius:    8px;
  --radius-sm: 4px;
  --radius-lg: 12px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  --shadow:    0 18px 50px -18px rgba(0, 0, 0, 0.75);
  --shadow-lg: 0 36px 80px -28px rgba(0, 0, 0, 0.85);
  --container: 1200px;
  --gutter:    clamp(20px, 5vw, 64px);

  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.0125rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 6.6vw, 5.4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { color: var(--muted); }
strong { color: var(--text); font-weight: 600; }

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.eyebrow.center::before { display: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 18px; font-size: 1.08rem; }
.bg-1 { background: var(--bg-1); }
.bg-2 { background: var(--bg-2); }

.hairline { height: 1px; background: var(--line); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.95em 1.7em;
  font-family: var(--font-display);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 0.98rem;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: #06131d;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  box-shadow: 0 10px 30px -12px var(--accent-glow);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -12px var(--accent-glow); background: var(--accent-2); }
.btn:active { transform: translateY(-1px); }
.btn svg { width: 1.15em; height: 1.15em; }

.btn-ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--line-2); box-shadow: none;
}
.btn-ghost:hover { background: rgba(255,255,255,0.05); border-color: var(--accent); color: var(--text); }

.btn-dark { background: var(--bg-3); color: var(--text); box-shadow: none; border: 1px solid var(--line); }
.btn-dark:hover { background: var(--steel); }

.btn-lg { padding: 1.1em 2.1em; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s, padding 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 13, 16, 0.86);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--accent), var(--accent-3));
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 8px 20px -8px var(--accent-glow);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; text-transform: uppercase; letter-spacing: 0.04em; }
.brand-name span { color: var(--accent); font-size: 0.72em; font-weight: 700; margin-left: 0.14em; letter-spacing: 0.04em; }
.brand-tag { font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 0.55em 0.95em; font-size: 0.95rem; font-weight: 500; color: var(--muted);
  border-radius: 8px; transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,0.05); }

.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.96rem; }
.nav-phone svg { width: 17px; height: 17px; color: var(--accent); }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px;
  background: var(--text); transform: translate(-50%, -50%); transition: 0.25s;
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after { transform: translate(-50%, 5px); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translate(-50%, 0) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translate(-50%, 0) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; isolation: isolate; padding-top: 100px; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,13,16,0.62) 0%, rgba(11,13,16,0.45) 35%, rgba(11,13,16,0.86) 100%),
    linear-gradient(90deg, rgba(11,13,16,0.92) 0%, rgba(11,13,16,0.35) 55%, rgba(11,13,16,0.15) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 40%, #000 0%, transparent 75%);
}
.hero-inner { max-width: 760px; }
.hero h1 { margin: 20px 0 0; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: #c4cdd7; margin-top: 24px; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 56px); margin-top: 54px; }
.hero-stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--text); line-height: 1; }
.hero-stat .num span { color: var(--accent); }
.hero-stat .lbl { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted-2);
}
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid var(--line-2); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 7px; background: var(--accent); border-radius: 4px; transform: translateX(-50%); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } 100% { opacity: 0; } }

/* ---------- Trust bar ---------- */
.trustbar { border-block: 1px solid var(--line); background: var(--bg-1); }
.trustbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 60px); padding-block: 22px; }
.trust-item { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.95rem; color: var(--text); }
.trust-item svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }

/* ============================================================
   Services
   ============================================================ */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: linear-gradient(180deg, var(--bg-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.card:hover { transform: translateY(-7px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 56px; height: 56px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-2); margin-bottom: 22px;
  border: 1px solid rgba(244,113,30,0.25);
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.98rem; }
.card-list { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.card-list li { font-size: 0.8rem; padding: 5px 11px; border-radius: 100px; background: var(--bg-3); border: 1px solid var(--line); color: var(--muted); }

/* ============================================================
   Portfolio
   ============================================================ */
.portfolio-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter {
  padding: 0.6em 1.15em; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 0.85rem; font-weight: 500; color: var(--muted);
  border: 1px solid var(--line); border-radius: 100px; background: var(--bg-2);
  transition: 0.22s;
}
.filter:hover { color: var(--text); border-color: var(--line-2); }
.filter.active { background: var(--accent); color: #06131d; border-color: var(--accent); }

.gallery {
  columns: 3; column-gap: 16px;
}
@media (max-width: 900px) { .gallery { columns: 2; } }
@media (max-width: 560px) { .gallery { columns: 1; } }
.gallery figure {
  break-inside: avoid; margin: 0 0 16px; position: relative; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2);
  cursor: pointer; transition: transform 0.4s var(--ease), border-color 0.3s;
}
.gallery figure.hide { display: none; }
.gallery figure:hover { border-color: var(--accent); }
.gallery img { width: 100%; transition: transform 0.6s var(--ease), filter 0.4s; background: var(--bg-3); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(7,9,11,0.92));
  font-size: 0.92rem; font-weight: 500; color: #fff;
  transform: translateY(8px); opacity: 0; transition: 0.35s var(--ease);
}
.gallery figure:hover figcaption { transform: translateY(0); opacity: 1; }
.gallery .tag-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; background: rgba(11,13,16,0.7); backdrop-filter: blur(6px);
  color: var(--accent-2); border: 1px solid var(--line); opacity: 0; transition: 0.3s;
}
.gallery figure:hover .tag-badge { opacity: 1; }
.gallery .zoom-ico {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px;
  border-radius: 9px; background: rgba(11,13,16,0.7); backdrop-filter: blur(6px);
  display: grid; place-items: center; opacity: 0; transition: 0.3s; border: 1px solid var(--line);
}
.gallery .zoom-ico svg { width: 16px; height: 16px; color: #fff; }
.gallery figure:hover .zoom-ico { opacity: 1; }
.gallery-more { text-align: center; margin-top: 36px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(6, 7, 9, 0.95); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: clamp(12px, 4vw, 48px);
}
.lightbox.open { display: flex; }
.lb-stage { position: relative; max-width: 1100px; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.lb-img { max-width: 100%; max-height: 82vh; border-radius: 10px; box-shadow: var(--shadow-lg); object-fit: contain; }
.lb-cap { position: absolute; bottom: -2px; left: 50%; transform: translate(-50%, 100%); padding-top: 14px; text-align: center; color: #d7dee6; font-size: 0.95rem; }
.lb-count { color: var(--muted-2); font-size: 0.82rem; margin-left: 10px; }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px;
  border-radius: 50%; background: rgba(255,255,255,0.07); border: 1px solid var(--line-2);
  display: grid; place-items: center; transition: 0.2s; z-index: 3;
}
.lb-btn:hover { background: var(--accent); color: #06131d; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev { left: 6px; }
.lb-next { right: 6px; }
.lb-close { position: fixed; top: 20px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.07); border: 1px solid var(--line-2); display: grid; place-items: center; transition: 0.2s; }
.lb-close:hover { background: var(--accent); color: #06131d; transform: rotate(90deg); }
.lb-close svg { width: 22px; height: 22px; }
@media (max-width: 640px) { .lb-prev { left: 2px; } .lb-next { right: 2px; } .lb-btn { width: 44px; height: 44px; } }

/* ============================================================
   Process
   ============================================================ */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step { position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.step .step-n { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--steel); line-height: 1; -webkit-text-stroke: 1px var(--line-2); }
.step h3 { margin: 14px 0 10px; font-size: 1.18rem; }
.step p { font-size: 0.95rem; }

/* ============================================================
   About / Why us
   ============================================================ */
.split { display: grid; gap: clamp(36px, 6vw, 72px); grid-template-columns: 1.05fr 1fr; align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.05fr; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; }
.split-media .badge {
  position: absolute; bottom: -22px; right: -10px; background: linear-gradient(150deg, var(--accent), var(--accent-3));
  color: #06131d; padding: 18px 24px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.split-media .badge .big { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1; }
.split-media .badge .small { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; font-weight: 600; }
.feature-list { display: grid; gap: 18px; margin-top: 28px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .fi { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; border: 1px solid rgba(244,113,30,0.22); }
.feature .fi svg { width: 20px; height: 20px; }
.feature h4 { font-family: var(--font-body); font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 1.04rem; margin-bottom: 3px; color: var(--text); }
.feature p { font-size: 0.94rem; }

/* ============================================================
   Service area
   ============================================================ */
.area-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.area-tags li { padding: 0.6em 1.2em; border: 1px solid var(--line); border-radius: 100px; background: var(--bg-2); font-weight: 500; color: var(--text); transition: 0.2s; }
.area-tags li:hover { border-color: var(--accent); color: var(--accent-2); }

/* ============================================================
   Testimonials
   ============================================================ */
.quotes { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote { padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); position: relative; }
.quote .stars { display: flex; gap: 3px; color: var(--accent-2); margin-bottom: 16px; }
.quote .stars svg { width: 18px; height: 18px; }
.quote blockquote { font-size: 1.05rem; color: var(--text); line-height: 1.6; }
.quote .who { margin-top: 20px; display: flex; align-items: center; gap: 13px; }
.quote .who .av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(145deg, var(--steel), var(--bg-3)); display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: var(--accent-2); }
.quote .who > span:last-child { display: flex; flex-direction: column; }
.quote .who .nm { display: block; font-weight: 600; color: var(--text); font-size: 0.95rem; }
.quote .who .mt { display: block; font-size: 0.82rem; color: var(--muted); }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--accent-3), var(--accent)); isolation: isolate; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.18; background-image: linear-gradient(rgba(0,0,0,0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.5) 1px, transparent 1px); background-size: 40px 40px; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(44px, 6vw, 68px); }
.cta-band h2 { color: #06131d; max-width: 640px; }
.cta-band p { color: rgba(26,14,5,0.78); font-weight: 500; margin-top: 8px; }
.cta-band .btn { background: #14171c; color: #fff; box-shadow: 0 14px 30px -12px rgba(0,0,0,0.5); }
.cta-band .btn:hover { background: #000; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 56px); grid-template-columns: 1.1fr 1fr; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); transition: 0.25s; }
.info-row:hover { border-color: var(--line-2); }
.info-row .ii { width: 46px; height: 46px; flex-shrink: 0; border-radius: 11px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; border: 1px solid rgba(244,113,30,0.22); }
.info-row .ii svg { width: 22px; height: 22px; }
.info-row > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.info-row .lbl { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.info-row .val { display: block; font-size: 1.08rem; font-weight: 600; color: var(--text); margin-top: 3px; word-break: break-word; }
.info-row .val a:hover { color: var(--accent-2); }
.info-row .sub { display: block; font-size: 0.88rem; color: var(--muted); margin-top: 3px; }

form.quote-form { background: linear-gradient(180deg, var(--bg-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3.5vw, 40px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85em 1em; font: inherit; font-size: 0.98rem;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-sm); color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.92rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(74,222,128,0.12); border: 1px solid rgba(74,222,128,0.4); color: #8af0b0; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--bg-1); border-top: 1px solid var(--line); padding-block: 60px 30px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1.4fr 1fr 1fr; margin-bottom: 44px; }
.footer-about p { margin-top: 18px; font-size: 0.95rem; max-width: 340px; }
.footer-col h4 { font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.82rem; color: var(--muted); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted-2); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent-2); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ---------- Floating call button (mobile) ---------- */
.fab-call { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: none; align-items: center; gap: 10px; padding: 0.85em 1.3em; border-radius: 100px; background: var(--accent); color: #06131d; font-weight: 700; box-shadow: var(--shadow-lg); }
.fab-call svg { width: 20px; height: 20px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .site-header.menu .nav-links {
    display: flex; position: absolute; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(11,13,16,0.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    padding: 16px var(--gutter) 28px; gap: 4px;
  }
  .site-header.menu .nav-links a { padding: 0.9em 1em; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
  .fab-call { display: inline-flex; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PREMIUM LAYER — motion, sections & micro-interactions
   ============================================================ */

/* ---- Scroll progress bar ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 200;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px var(--accent-glow); transition: width 0.1s linear;
}

/* ---- Cinematic hero: slow Ken Burns + parallax ---- */
.hero-media { top: -15%; height: 130%; will-change: transform; }
.hero-media img { transform: scale(1.06); will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: kenburns 26s ease-in-out infinite alternate; }
}
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -2%, 0); }
}
.hero h1, .hero .eyebrow, .hero-sub, .hero-actions, .hero-stats { opacity: 0; transform: translateY(22px); animation: heroIn 0.9s var(--ease) forwards; }
.hero .eyebrow { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.16s; }
.hero-sub { animation-delay: 0.30s; }
.hero-actions { animation-delay: 0.42s; }
.hero-stats { animation-delay: 0.54s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero .eyebrow, .hero-sub, .hero-actions, .hero-stats { opacity: 1; transform: none; animation: none; }
  .hero-media img { animation: none; transform: scale(1.04); }
}

/* ---- Button shine sweep ---- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); transition: left 0.6s var(--ease);
}
.btn:hover::after { left: 130%; }

/* ---- Gallery progressive fade-in (only when JS active) ---- */
.js .gi img { opacity: 0; transition: opacity 0.7s var(--ease); }
.js .gi img.loaded { opacity: 1; }

/* ---- Keyword marquee ---- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: inline-flex; align-items: center; gap: 40px; white-space: nowrap; will-change: transform; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 40px; }
.marquee span b { color: var(--text); font-weight: 600; }
.marquee .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---- Featured project spotlight ---- */
.spotlight { position: relative; overflow: hidden; }
.spotlight .container { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.spotlight-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.spotlight-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.8s var(--ease); }
.spotlight:hover .spotlight-media img { transform: scale(1.04); }
.spotlight-media .play-tag { position: absolute; left: 18px; bottom: 18px; padding: 8px 16px; border-radius: 100px; background: rgba(11,13,16,0.7); backdrop-filter: blur(8px); border: 1px solid var(--line-2); font-size: 0.82rem; font-weight: 600; color: #fff; }
.spotlight-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); margin-bottom: 8px; }
.spotlight h2 { margin-bottom: 18px; }
.spotlight .hl { display: grid; gap: 12px; margin-top: 24px; }
.spotlight .hl li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.spotlight .hl svg { width: 20px; height: 20px; color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }
.spotlight .hl b { color: var(--text); font-weight: 600; }

/* ---- Materials & capabilities ---- */
.materials { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .materials { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .materials { grid-template-columns: 1fr; } }
.material { padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s; }
.material:hover { transform: translateY(-5px); border-color: var(--accent); background: var(--panel); }
.material .mi { width: 46px; height: 46px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-2); display: grid; place-items: center; margin-bottom: 16px; border: 1px solid rgba(244,113,30,0.22); }
.material .mi svg { width: 24px; height: 24px; }
.material h4 { font-family: var(--font-body); font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 1.04rem; color: var(--text); margin-bottom: 6px; }
.material p { font-size: 0.9rem; }

/* ---- FAQ accordion ---- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); overflow: hidden; transition: border-color 0.3s, background 0.3s; }
.faq-item.open { border-color: var(--line-2); background: var(--panel); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; text-align: left; font-family: var(--font-body); font-weight: 600; font-size: 1.06rem; color: var(--text); }
.faq-q .ic { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; border: 1px solid var(--line-2); display: grid; place-items: center; position: relative; transition: 0.3s; }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: var(--accent-2); border-radius: 2px; transition: 0.3s; }
.faq-q .ic::before { width: 12px; height: 2px; }
.faq-q .ic::after { width: 2px; height: 12px; }
.faq-item.open .faq-q .ic { background: var(--accent); border-color: var(--accent); }
.faq-item.open .faq-q .ic::before, .faq-item.open .faq-q .ic::after { background: #06131d; }
.faq-item.open .faq-q .ic::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 24px 24px; color: var(--muted); font-size: 0.98rem; line-height: 1.7; }

/* ---- Service-area map ---- */
.map-wrap { margin-top: 30px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; aspect-ratio: 16 / 7; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) invert(0.92) hue-rotate(180deg) contrast(0.9); }

@media (max-width: 940px) {
  .spotlight .container { grid-template-columns: 1fr; }
  .spotlight-text { order: 2; }
  .map-wrap { aspect-ratio: 4 / 3; }
}

/* ---- Social buttons ---- */
.social-btn { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 100px; background: var(--bg-2); color: var(--muted); font-size: 0.9rem; font-weight: 600; transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s; }
.social-btn:hover { color: var(--text); border-color: var(--accent); background: var(--panel); transform: translateY(-2px); }
.social-btn svg { width: 18px; height: 18px; }

/* ============================================================
   MATERIAL-HONESTY REDESIGN LAYER
   Steel plates, heat-ramp accent, real texture, stamped index.
   (overrides the base component styles above)
   ============================================================ */

/* --- Film grain so dark surfaces read as photographed metal, not flat render --- */
body::before { content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; background-image: var(--grain); background-size: 160px 160px; opacity: 0.045; mix-blend-mode: overlay; }

/* --- Primary button: flat solid accent. No gloss/gradient/3D edge. --- */
.btn {
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #06131d; font-weight: 700; letter-spacing: 0.08em;
  box-shadow: none;
  transition: background 0.16s, box-shadow 0.16s;
  overflow: visible;
}
.btn::after { display: none !important; }   /* kill the AI shine-sweep */
.btn:hover { transform: none; background: #3aa2dd; box-shadow: 0 4px 16px -8px var(--accent-glow); }
.btn:active { transform: none; background: #2880bd; box-shadow: none; }

/* --- Secondary: cold-rolled steel partner; weld-seam left edge on hover --- */
.btn-ghost { background: linear-gradient(180deg, #222a32, #171c22); color: var(--text); border: 1px solid #313a44; border-radius: var(--radius-sm); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), inset 0 -2px 0 rgba(0,0,0,0.4); }
.btn-ghost:hover { background: linear-gradient(180deg, #28323b, #1b212a); border-color: #313a44; border-left: 2px solid var(--accent); padding-left: calc(2.1em - 1px); color: #fff; transform: none; }
.btn-dark { border-radius: var(--radius-sm); }

/* --- Icon "tiles" → brushed-steel plates; orange lives in the glyph on hover only --- */
.card-icon, .feature .fi {
  background: linear-gradient(145deg, #2a323d, #171c22);
  border: 1px solid var(--line-2); border-top-color: rgba(255,255,255,0.22);
  color: #e7ecf2;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), inset 0 -2px 4px rgba(0,0,0,0.5);
}
.card-icon { width: 54px; height: 54px; border-radius: 10px 10px 10px 3px; }   /* one cut corner */
.feature .fi { border-radius: 4px; border-left: 2px solid var(--accent); }
.card-icon svg, .feature .fi svg { color: inherit; transition: color 0.2s; }
.card:hover .card-icon svg { color: var(--accent-2); }

/* --- Cards: grounded steel panels, not bouncy app cards --- */
.card, .material, .step, .quote {
  border-radius: var(--radius);
  border: 1px solid var(--line); border-bottom: 2px solid var(--steel);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  background-image: repeating-linear-gradient(105deg, rgba(255,255,255,0.014) 0 2px, transparent 2px 5px), linear-gradient(180deg, var(--bg-2), var(--panel));
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.card::before { display: none !important; }   /* kill the scaleX top-bar wipe */
.card:hover, .material:hover {
  transform: none; border-color: var(--line-2);
  border-left: 3px solid var(--accent); padding-left: calc(30px - 2px);
  box-shadow: inset 0 0 40px rgba(47, 143, 208,0.06);
}
.material { padding: 26px 22px; }
.material:hover { padding-left: calc(22px - 2px); }

/* --- Materials: real CSS metal SWATCHES instead of identical orange chips --- */
.material .mi { width: 56px; height: 56px; border-radius: 3px; border: 1px solid var(--line-2); background: #2a2d33; box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); }
.material .mi svg { display: none; }                      /* swatch speaks for itself */
.material:nth-child(1) .mi { background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 5px), linear-gradient(135deg, #3a4049, #20252b); }   /* mild steel */
.material:nth-child(2) .mi { background: linear-gradient(135deg, #9aa6b3, #5b6571 55%, #cdd4db); }            /* stainless */
.material:nth-child(3) .mi { background: linear-gradient(135deg, #c8ccd0, #7e858d); }                         /* aluminum */
.material:nth-child(4) .mi { background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.06), transparent 42%), linear-gradient(135deg, #1c1f24, #0c0e11); }   /* wrought iron */
.material:nth-child(5) .mi { background: linear-gradient(135deg, rgba(180,210,225,0.30), rgba(255,255,255,0.05)); border-color: rgba(180,210,225,0.42); }   /* glass */
.material:nth-child(6) .mi { background: linear-gradient(135deg, #3a9bd8, #1f6fab); }                         /* weld / heat */

/* --- Contact rows: spec-sheet, not feature chips --- */
.info-row .ii { width: auto; height: auto; background: none; border: none; box-shadow: none; border-radius: 0; color: var(--accent); display: grid; place-items: center; padding-right: 4px; align-self: start; margin-top: 2px; }
.info-row .ii svg { width: 22px; height: 22px; }
.info-row > span:last-child { border-left: 1px solid var(--line); padding-left: 16px; }
.info-row:hover .ii { color: var(--accent-2); }

/* --- Stamped outlined-numeral motif: the brand signature, promoted site-wide --- */
main { counter-reset: sec; }
.section-head { counter-increment: sec; }
.section .container { position: relative; }
.section-head::before {
  content: "0" counter(sec);
  position: absolute; top: -0.46em; left: -0.02em; z-index: 0;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(4.5rem, 12vw, 10rem); line-height: 0.8;
  color: transparent; -webkit-text-stroke: 1.5px var(--line-2); text-stroke: 1.5px var(--line-2);
  pointer-events: none;
}
.section-head.center::before { left: 50%; transform: translateX(-50%); }
.section-head > * { position: relative; z-index: 1; }
.cards { counter-reset: card; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card { counter-increment: card; }
.card::after {
  content: "0" counter(card); position: absolute; top: 16px; right: 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--line-2); text-stroke: 1px var(--line-2); opacity: 0.55;
}

/* --- Eyebrow: stencil tick instead of soft gradient dash --- */
.eyebrow { padding-left: 13px; border-left: 2px solid var(--accent); }
.eyebrow::before { display: none; }
.eyebrow.center { border-left: 0; padding-left: 0; }
.eyebrow.center::before { display: inline-block; content: ""; width: 28px; height: 2px; background: var(--accent); }

/* --- Headings: tighter, with a non-shouty mixed-voice accent word --- */
h1, h2 { letter-spacing: -0.01em; line-height: 0.98; font-weight: 700; }
h2 em { font-style: normal; font-weight: 400; text-transform: none; font-family: var(--font-body); color: var(--accent-2); }

/* --- Left-align section heads by default (kill the metronomic centered stack) --- */
.section-head.center { text-align: left; margin-inline: 0; }
.section-head.center p { margin-inline: 0; }

/* --- Pills → consistent 4px steel radius (no UI-kit lozenges) --- */
.card-list li, .area-tags li, .tag-badge, .spotlight-media .play-tag, .filter, .social-btn { border-radius: var(--radius-sm); }
.filter.active { background: var(--accent); color: #06131d; border-color: var(--accent); }
.area-tags li:hover { color: var(--accent-2); }
.social-btn:hover { transform: none; border-color: var(--accent); }

/* --- Weld-bead seam divider --- */
.seam { height: 5px; border: 0; margin: 0; background: repeating-linear-gradient(-12deg, var(--accent-3) 0 7px, var(--accent) 7px 11px, transparent 11px 19px); opacity: 0.9; }

/* --- CTA band: heated steel plate, not a flat orange banner --- */
.cta-band { background: #0e151b; }
.cta-band::after { opacity: 1; background-image: radial-gradient(140% 120% at 15% 0%, #3a9bd8 0%, #1f6fab 38%, transparent 72%), repeating-linear-gradient(100deg, rgba(0,0,0,0.16) 0 1px, transparent 1px 3px), var(--grain); background-size: auto, auto, 160px; }
.cta-band h2 { color: #06131d; }
.cta-band p { color: rgba(6,19,29,0.80); }

/* --- Brand mark: flat steel stamp, not a glossy app icon --- */
.brand-mark { border-radius: 3px; background: #15191f; border: 1px solid var(--accent-3); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25); }
.brand-mark svg { color: var(--accent); }

/* --- Interactive-state accents recolored to the burnt accent; square the FAB --- */
:focus-visible { outline: 3px solid var(--accent); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.fab-call { border-radius: var(--radius-sm); background: var(--accent); color: #06131d; }
.nav-phone svg, .trust-item svg { color: var(--accent); }
.scroll-progress { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* --- Spotlight + section numeral: keep the bespoke numerals consistent --- */
.spotlight-num, .step .step-n { -webkit-text-stroke: 1.5px var(--line-2); }

/* --- Mobile header fit: longer "DAGRE WELDING INC." wordmark needs room --- */
@media (max-width: 640px) {
  .nav-cta .btn { display: none; }   /* CTA covered by hamburger menu + floating Call button */
}
@media (max-width: 480px) {
  .brand-name { font-size: 1.16rem; }
  .brand-tag { letter-spacing: 0.18em; }
}

/* --- Brand mark: self-contained circular welder badge fills the container --- */
.brand-mark { background: transparent; border: none; box-shadow: none; border-radius: 0; padding: 0; overflow: visible; }
.brand-mark svg { width: 100%; height: 100%; }

/* --- Featured-project slideshow --- */
.spotlight-media.slideshow { aspect-ratio: 4 / 3; }
.spotlight-media.slideshow .slide { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; opacity: 0; transition: opacity 0.8s var(--ease); }
.spotlight-media.slideshow .slide.active { opacity: 1; }
.spotlight:hover .spotlight-media.slideshow .slide { transform: none; }
.spot-dots { position: absolute; bottom: 14px; right: 14px; display: flex; gap: 6px; z-index: 3; }
.spot-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; transition: background 0.25s, width 0.25s; }
.spot-dot:hover { background: rgba(255,255,255,0.8); }
.spot-dot.active { background: var(--accent); width: 22px; border-radius: 100px; }
