:root {
  --ink: #11152b;
  --steel: #1b2040;
  --paper: #eaf6fc;
  --paper-soft: #f3faff;
  --paper-blue: #dceef8;
  --white: #fff;
  --muted: #a8adb4;
  --line: rgba(255,255,255,.16);
  --brand-blue: #258fc0;
  --brand-indigo: #38358e;
  --brand-violet: #563792;
  --brand-gradient: linear-gradient(110deg, var(--brand-blue), var(--brand-indigo) 58%, var(--brand-violet));
  --orange: var(--brand-blue);
  --orange-dark: var(--brand-indigo);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.site-header { position: absolute; z-index: 5; top: 0; left: 50%; transform: translateX(-50%); width: min(calc(100% - 48px), var(--max)); min-height: 88px; display: flex; align-items: center; justify-content: space-between; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.35); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; overflow: hidden; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: var(--white); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.brand-name { max-width: 110px; font-size: .78rem; font-weight: 700; line-height: 1.12; text-transform: uppercase; letter-spacing: .05em; }
.site-header { min-height: 112px; padding-block: 14px; gap: 20px; }
.site-header .brand { gap: 16px; }
.site-header .brand-mark { width: 80px; height: 80px; flex-shrink: 0; }
.site-header .brand-name { max-width: 170px; font-size: 1.25rem; }
.desktop-nav { display: flex; gap: 32px; margin-left: auto; margin-right: 38px; }
.desktop-nav a { color: rgba(255,255,255,.84); font-size: .86rem; transition: color .2s ease; }
.desktop-nav a:hover { color: var(--white); }
.header-call { padding: 12px 18px; border: 1px solid rgba(255,255,255,.55); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

.hero { position: relative; min-height: 820px; height: 100svh; overflow: hidden; color: var(--white); background: var(--ink); }
.hero-image { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 44%; filter: saturate(.7) contrast(1.08); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,36,.94) 0%, rgba(17,21,55,.76) 43%, rgba(34,30,76,.25) 77%), linear-gradient(0deg, rgba(10,14,36,.72), transparent 45%); }
.hero-content { position: relative; z-index: 2; width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding-top: clamp(185px, 24vh, 260px); }
.eyebrow, .section-kicker { margin: 0 0 18px; color: var(--brand-blue); font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: -.015em; line-height: .91; }
h1 { max-width: 800px; margin-bottom: 26px; font-size: clamp(4.7rem, 10vw, 9.6rem); }
h1 span, .contact h2 span { color: #39a6d1; }
.hero-copy { max-width: 610px; margin-bottom: 34px; color: rgba(255,255,255,.83); font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 0 24px; font-size: .83rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--brand-gradient); box-shadow: 0 9px 28px rgba(47,70,159,.28); }
.button-primary:hover { background: linear-gradient(110deg, #2182b0, #312f82 58%, #49307e); }
.button-ghost { color: var(--white); border: 1px solid rgba(255,255,255,.6); backdrop-filter: blur(8px); }
.button-outline { border: 1px solid rgba(255,255,255,.45); color: var(--white); }
.hero-service-area { position: absolute; z-index: 2; right: max(24px, calc((100vw - var(--max))/2)); bottom: 35px; color: rgba(255,255,255,.74); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }

.intro, .services, .process, .reviews, .contact { padding: 110px max(24px, calc((100vw - var(--max))/2)); }
.intro-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
h2 { margin-bottom: 0; font-size: clamp(3rem, 6vw, 6.2rem); }
.intro-grid > div > p { max-width: 600px; color: #45494f; font-size: 1.08rem; }
.proof-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 35px; }
.proof-row span { padding: 9px 13px; border: 1px solid rgba(56,53,142,.28); color: var(--brand-indigo); background: rgba(37,143,192,.055); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.services { background: var(--paper-soft); }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 50px; align-items: end; margin-bottom: 65px; }
.section-heading > p { max-width: 490px; margin-bottom: 8px; color: #5c6066; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #d4d4d1; border-bottom: 1px solid #d4d4d1; }
.service-grid article { min-height: 330px; padding: 28px 24px 30px 0; border-right: 1px solid #d4d4d1; }
.service-grid article + article { padding-left: 24px; }
.service-grid article:last-child { border-right: 0; }
.service-number { color: var(--brand-blue); font-size: .73rem; font-weight: 800; }
.service-grid h3 { margin: 95px 0 20px; font-size: 1.3rem; text-transform: uppercase; }
.service-grid p { margin-bottom: 0; color: #686b70; font-size: .94rem; }
.service-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 28px; }
.service-footer p { margin: 0; color: #686b70; }
.service-footer a { color: var(--brand-indigo); font-weight: 800; text-transform: uppercase; font-size: .82rem; letter-spacing: .04em; }

.work { padding: 110px max(24px, calc((100vw - var(--max))/2)); color: var(--white); background: var(--ink); }
.section-heading.light > p { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 10px; }
.gallery figure { margin: 0; overflow: hidden; background: #222; }
.gallery-wide { grid-column: span 2; }
.gallery img { height: 100%; object-fit: cover; filter: grayscale(.15); transition: transform .45s ease, filter .45s ease; }
.gallery figure:hover img { transform: scale(1.035); filter: grayscale(0); }

.process { background: var(--paper-blue); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid #bdbab4; }
.process-grid article { padding: 35px 35px 0 0; }
.process-grid article + article { padding-left: 35px; border-left: 1px solid #bdbab4; }
.process-grid span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--white); background: var(--brand-gradient); font-weight: 800; }
.process-grid h3 { margin: 65px 0 14px; font-size: 1.1rem; text-transform: uppercase; }
.process-grid p { max-width: 300px; color: #5c6066; }

.reviews { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(48px, 7vw, 95px); align-items: center; background: var(--paper-soft); }
.reviews-copy h2 { margin-bottom: 28px; font-size: clamp(3rem, 5.8vw, 5.8rem); }
.reviews-copy > p:not(.section-kicker) { max-width: 500px; color: #505861; font-size: 1.05rem; }
.reviews-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.google-review-link { color: var(--brand-indigo); font-size: .83rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.google-review-link:hover { color: var(--brand-blue); }
.google-widget { min-height: 430px; overflow: hidden; border: 1px solid rgba(56,53,142,.2); border-radius: 3px; background: var(--paper-blue); box-shadow: 0 20px 55px rgba(17,21,43,.12); }
.google-widget iframe { display: block; width: 100%; height: 430px; border: 0; }

.contact { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; color: var(--white); background: var(--steel); }
.contact h2 { margin-bottom: 32px; font-size: clamp(4rem, 8vw, 8.2rem); }
.contact-main > p:not(.section-kicker) { max-width: 560px; margin-bottom: 34px; color: var(--muted); }
.contact-details { border-top: 1px solid var(--line); }
.contact-details > div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-details span { display: block; margin-bottom: 8px; color: #39a6d1; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.contact-details a, .contact-details p { margin: 0; color: rgba(255,255,255,.9); font-size: 1rem; }
.contact-details a:hover { color: #39a6d1; }

.social-follow { display: flex; align-items: center; justify-content: space-between; gap: 34px; padding: 42px max(24px, calc((100vw - var(--max))/2)); color: var(--white); background: #171b35; border-bottom: 1px solid var(--line); }
.social-follow p { margin: 0; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.social-follow-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.social-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px; padding: 0 22px; border: 1px solid rgba(255,255,255,.38); color: var(--white); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .055em; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.social-button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.8); }
.social-instagram { background: linear-gradient(110deg, #563792, #b43783 54%, #d7743d); }
.social-facebook { background: #2366b1; }

footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 32px; padding: 35px max(24px, calc((100vw - var(--max))/2)); color: #8c9198; background: var(--ink); border-top: 1px solid var(--line); font-size: .76rem; }
footer p { margin: 0; }
footer .brand { color: var(--white); }
.mobile-bar { display: none; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hero { min-height: 740px; }
  .intro-grid, .section-heading, .reviews, .contact { grid-template-columns: 1fr; }
  .intro-grid, .contact { gap: 48px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid article:nth-child(2) { border-right: 0; }
  .service-grid article:nth-child(-n+2) { border-bottom: 1px solid #d4d4d1; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  footer { grid-template-columns: 1fr auto; }
  footer > p:first-of-type { display: none; }
}

@media (max-width: 620px) {
  body { padding-bottom: 64px; }
  .site-header { width: calc(100% - 32px); min-height: 104px; }
  .site-header .brand { gap: 14px; }
  .site-header .brand-mark { width: 72px; height: 72px; }
  .site-header .brand-name { max-width: 160px; font-size: 1.125rem; overflow-wrap: anywhere; }
  .header-call { display: none; }
  .hero { min-height: 700px; }
  .hero-content { width: calc(100% - 32px); padding-top: 165px; }
  h1 { font-size: clamp(4.05rem, 20vw, 6rem); }
  .hero-shade { background: linear-gradient(90deg, rgba(10,14,36,.93), rgba(32,29,73,.38)), linear-gradient(0deg, rgba(10,14,36,.82), transparent 58%); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-service-area { left: 16px; right: auto; bottom: 22px; font-size: .62rem; }
  .intro, .services, .process, .reviews, .contact, .work { padding: 78px 20px; }
  .section-heading { margin-bottom: 42px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article, .service-grid article + article { min-height: 0; padding: 26px 0 30px; border-right: 0; border-bottom: 1px solid #d4d4d1; }
  .service-grid article:last-child { border-bottom: 0; }
  .service-grid h3 { margin: 42px 0 10px; }
  .service-footer { align-items: flex-start; flex-direction: column; }
  .gallery { grid-auto-rows: 210px; gap: 7px; }
  .gallery-wide { grid-column: span 2; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article, .process-grid article + article { padding: 26px 0; border-left: 0; border-bottom: 1px solid #bdbab4; }
  .process-grid h3 { margin: 34px 0 10px; }
  .contact { gap: 55px; }
  .google-widget, .google-widget iframe { min-height: 360px; height: 360px; }
  .social-follow { align-items: stretch; flex-direction: column; padding: 34px 20px; }
  .social-follow-actions { flex-direction: column; }
  .social-button { width: 100%; }
  footer { grid-template-columns: 1fr; padding: 32px 20px; }
  footer > p:last-child { margin-left: 58px; }
  .mobile-bar { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; height: 64px; background: var(--ink); box-shadow: 0 -5px 22px rgba(0,0,0,.22); }
  .mobile-bar a { display: grid; place-items: center; color: var(--white); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
  .mobile-bar a:last-child { background: var(--brand-gradient); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Customer-supplied project photos: preserve the full framing. */
.project-gallery { columns: 3; column-gap: 18px; margin-bottom: 28px; }
.project-gallery figure { break-inside: avoid; margin: 0 0 18px; background: var(--steel); border: 1px solid var(--line); }
.project-gallery a { display: block; }
.project-gallery a:focus-visible { outline: 3px solid #39a6d1; outline-offset: 3px; }
.project-gallery img, .project-gallery video { display: block; width: 100%; height: auto; }
.project-gallery figcaption { padding: 14px 16px; color: #e1e5ef; font-size: .9375rem; line-height: 1.45; }
@media (max-width: 900px) { .project-gallery { columns: 2; } }
@media (max-width: 620px) { .project-gallery { columns: 1; } }

/* Keep the Spokane service area prominent at every screen size. */
.hero { height: auto; min-height: max(820px, 100svh); }
.hero-content { padding-bottom: 120px; }
.local-headline { max-width: 100%; line-height: 1.05; }
.local-headline span { display: block; }
.local-headline .headline-service { font-size: clamp(2rem, 5vw, 4.5rem); color: var(--white); }
.local-headline .headline-location { margin: 8px 0; font-size: clamp(2.8rem, 8vw, 7.2rem); color: #39a6d1; }
.local-headline .headline-area { font-size: clamp(1.25rem, 3vw, 2.5rem); color: var(--white); line-height: 1.2; }
@media (max-width: 620px) { .hero { min-height: 700px; } }

/* Customer-selected welding photo behind the What we do section. */
.services {
  color: var(--white);
  background-color: #061126;
  background-image: linear-gradient(90deg, rgba(4,12,30,.91), rgba(4,12,30,.72)), url('./services-welding-background.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.services .section-kicker, .services .service-number { color: #70d1f5; }
.services .section-heading > p, .services .service-grid p, .services .service-footer p { color: #e1eaf4; }
.services .service-grid, .services .service-grid article { border-color: rgba(225,234,244,.35); }
.services .service-footer a { color: #8addfa; }
.services .service-footer a:hover { color: var(--white); }
@media (max-width: 620px) {
  .services {
    background-image: linear-gradient(180deg, rgba(4,12,30,.68), #061126 760px), url('./services-welding-background.jpeg');
    background-size: 100% 100%, auto 760px;
    background-position: center, 65% top;
  }
}

/* Compact service icons and text over the existing welding photograph. */
.services .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; border: 0; }
.services .service-grid article, .services .service-grid article + article { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 22px; min-height: 0; padding: 0; border: 0; }
.services .service-grid h3 { margin: 0 0 12px; font-size: 1.3rem; line-height: 1.3; text-transform: none; }
.services .service-grid p { margin: 0; font-size: 1rem; line-height: 1.75; }
.service-icon { display: block; width: 40px; height: 40px; color: white; }
.service-icon img { width: 40px; height: 40px; }
.aluminum-icon { display: flex; flex-direction: column; width: 38px; height: 40px; border: 1.5px solid currentColor; padding: 2px 4px; line-height: 1; }
.aluminum-icon small { font-size: 9px; }
.aluminum-icon strong { font-size: 25px; text-align: center; }
.services .service-footer { margin-top: 48px; border-top: 1px solid rgba(225,234,244,.35); }
@media (max-width: 700px) {
  .services .service-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .services .service-grid article, .services .service-grid article + article { gap: 18px; }
  .services .service-grid h3 { font-size: 1.2rem; }
}
