:root {
  color-scheme: dark;
  --page: #080b0f;
  --surface: #10161d;
  --text: #f4f7fa;
  --muted: #aeb9c3;
  --line: #26313c;
  --blue: #0088f0;
  --blue-bright: #22a5ff;
  --orange: #f27616;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 75% 18%, rgba(0,136,240,.14), transparent 28rem),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 42px 42px,
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 42px 42px,
    var(--page);
  color: var(--text);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--orange); color: #07090c; font-weight: 800; }
.skip-link:focus { top: 12px; }

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: min(var(--max), calc(100% - 40px));
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(215,221,226,.16);
  background: transparent;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; margin-right: auto; color: var(--text); text-decoration: none; }
.brand-logo { width: 58px; height: 58px; flex: 0 0 auto; object-fit: contain; }
.brand-name { font-size: clamp(1rem, 2.1vw, 1.18rem); font-weight: 900; letter-spacing: -.025em; white-space: nowrap; text-shadow: 0 2px 18px rgba(0,0,0,.75); }
nav { display: flex; align-items: center; gap: 26px; }
nav a { color: #e8edf1; text-decoration: none; font-size: .92rem; font-weight: 750; text-shadow: 0 2px 16px rgba(0,0,0,.8); }
nav a:hover { color: #fff; }
.nav-toggle { display: none; border: 1px solid rgba(255,255,255,.28); border-radius: 4px; padding: 8px 11px; background: rgba(8,11,15,.72); color: var(--text); font: inherit; font-weight: 800; }

main { overflow: hidden; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 790px;
  margin: 0;
  display: flex;
  align-items: center;
  padding: 150px max(20px, calc((100% - var(--max)) / 2)) 104px;
  background:
    linear-gradient(90deg, rgba(5,8,12,.96) 0%, rgba(5,8,12,.88) 30%, rgba(5,8,12,.62) 49%, rgba(5,8,12,.17) 76%, rgba(5,8,12,.08) 100%),
    linear-gradient(0deg, rgba(5,8,12,.9) 0%, rgba(5,8,12,.08) 48%, rgba(5,8,12,.2) 100%),
    url("assets/welder-hero-v4.jpg") 70% center / cover no-repeat;
  box-shadow: inset 0 -1px rgba(255,255,255,.08);
}
.hero-copy { width: min(620px, 58%); position: relative; z-index: 1; }
.eyebrow { margin: 0 0 14px; color: var(--orange); font-size: .78rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: "Segoe UI", Arial, sans-serif; font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 690px; font-size: clamp(3.5rem, 7vw, 6.4rem); }
h1 span { color: var(--blue-bright); }
.hero-lede { max-width: 590px; margin: 28px 0 0; color: #c3cdd5; font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border: 1px solid var(--line); border-radius: 4px; color: var(--text); text-decoration: none; font-weight: 850; }
.button-primary { border-color: var(--orange); background: var(--orange); color: #0b0d10; }
.button-primary:hover { background: #ff8b2f; }
.button-secondary { background: rgba(10,15,20,.76); backdrop-filter: blur(6px); }
.button-secondary:hover { border-color: var(--blue); }
.service-intro { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 90px 0; border-top: 1px solid var(--line); }
.service-intro h2 { max-width: 760px; font-size: clamp(2.2rem, 4.5vw, 4.2rem); }
.section-lede { max-width: 760px; margin: 25px 0 0; color: var(--muted); font-size: 1.08rem; }

.trust-strip {
  width: min(var(--max), calc(100% - 40px));
  position: relative;
  z-index: 2;
  margin: -54px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  background: linear-gradient(110deg, rgba(20,28,36,.96), rgba(10,14,19,.96));
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}
.trust-strip div { min-height: 112px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3px; padding: 22px 28px; border-right: 1px solid var(--line); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong { color: var(--orange); font: 900 1.65rem/1.1 "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.035em; }
.trust-strip span { color: #8796a2; font-size: .72rem; font-weight: 850; letter-spacing: .11em; line-height: 1.4; text-transform: uppercase; }

.section { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.services-grid { padding: 0 0 110px; display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 10px; }
.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  background: linear-gradient(145deg, rgba(22,30,39,.92), rgba(12,17,23,.94));
}
.service-card::after { content: ""; position: absolute; right: -36px; top: -36px; width: 86px; height: 86px; border: 1px solid rgba(0,136,240,.22); transform: rotate(45deg); pointer-events: none; }
.service-heading { margin: 0; }
.service-toggle {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 24px 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px;
  column-gap: 22px;
  border: 0;
  background: transparent;
  color: #f2f6f9;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.service-toggle:hover .service-title { color: var(--blue-bright); }
.service-toggle:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: -3px; }
.service-title { grid-column: 1; font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 700; line-height: 1.15; }
.service-chevron { grid-column: 2; grid-row: 1; align-self: center; width: 13px; height: 13px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .25s ease; }
.service-card.is-open .service-chevron { transform: rotate(225deg); }
.service-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .3s ease; }
.accordion-ready .service-panel { grid-template-rows: 0fr; }
.accordion-ready .service-card.is-open .service-panel { grid-template-rows: 1fr; }
.service-panel-inner { min-height: 0; overflow: hidden; padding: 0 34px; transition: padding-bottom .3s ease; }
.accordion-ready .service-card.is-open .service-panel-inner { padding-bottom: 30px; }
.service-card ul { margin: 0; padding: 0; display: grid; list-style: none; }
.service-card li { position: relative; padding: 10px 0 10px 19px; border-top: 1px solid rgba(38,49,60,.78); color: #bfc9d1; line-height: 1.4; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 19px; width: 7px; height: 2px; background: var(--blue); }
.service-card .columns { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
.card-intro { margin: 0 0 20px; color: var(--muted); }

.expertise { padding: 104px 0; border-top: 1px solid var(--line); }
.expertise-head { max-width: 820px; }
.expertise h2 { font-size: clamp(2.3rem, 4.6vw, 4.1rem); }
.expertise-head > p:last-child { max-width: 720px; margin: 25px 0 0; color: var(--muted); font-size: 1.08rem; }
.expertise-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-top: 3px solid var(--blue); background: #0d1218; }
.expertise-grid article { min-height: 210px; padding: 30px; border-right: 1px solid var(--line); }
.expertise-grid article:last-child { border-right: 0; }
.expertise-grid h3 { margin: 0 0 13px; color: #f2f6f9; font-size: 1.12rem; }
.expertise-grid p { margin: 0; color: var(--muted); }

.about { padding: 112px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: clamp(50px, 9vw, 120px); border-top: 1px solid var(--line); }
.about h2, .process h2, .contact h2 { font-size: clamp(2.3rem, 4.8vw, 4.3rem); }
.about h2 { font-size: clamp(2.3rem, 4vw, 3.8rem); }
.about-copy { align-self: end; padding-left: 26px; border-left: 3px solid var(--orange); }
.about-copy p { margin: 0 0 20px; color: var(--muted); }
.about-copy .lead { color: #e1e8ed; font-size: 1.2rem; }
.process { padding: 100px 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 110px); }
.process { position: relative; }
.process::before { content: ""; position: absolute; inset: 0 -100vw; z-index: -1; background: #0d1218; border-block: 1px solid var(--line); }
.process ol { margin: 0; padding: 0; list-style: none; }
.process li { padding: 24px 0; border-top: 1px solid var(--line); }
.process li:last-child { border-bottom: 1px solid var(--line); }
.process h3 { margin: 0 0 5px; font-size: 1.08rem; }
.process li p { margin: 0; color: var(--muted); }

.faq { padding: 108px 0 20px; display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(44px, 8vw, 110px); }
.faq h2 { font-size: clamp(2.25rem, 4.2vw, 3.8rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 46px 22px 0; color: #eef3f7; font-size: 1.05rem; font-weight: 800; line-height: 1.4; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 19px; right: 5px; color: var(--blue-bright); font-size: 1.45rem; font-weight: 500; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { color: var(--blue-bright); }
.faq-list summary:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 4px; }
.faq-list p { margin: -3px 0 25px; padding-right: 36px; color: var(--muted); }

.contact { margin-top: 112px; margin-bottom: 72px; padding: clamp(40px, 7vw, 78px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(44px, 7vw, 84px); align-items: start; border: 1px solid rgba(0,136,240,.45); background: radial-gradient(circle at 100% 0, rgba(0,136,240,.18), transparent 38%), #10161d; }
.contact-lede { margin: 24px 0 0; color: var(--muted); font-size: 1.08rem; }
.contact-details { margin-top: 30px; display: grid; border-top: 1px solid var(--line); }
.contact-details a { padding: 15px 0; display: grid; gap: 2px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.contact-details a:hover strong { color: var(--blue-bright); }
.contact-details span { color: #7f8d98; font-size: .72rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.contact-details strong { overflow-wrap: anywhere; font-size: 1rem; transition: color .15s ease; }
.estimate-form { display: grid; gap: 16px; }
.estimate-form .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.estimate-form label { display: grid; gap: 7px; }
.estimate-form label > span { color: #aeb9c3; font-size: .72rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  border: 1px solid #33414d;
  border-radius: 3px;
  background: #0a0f14;
  color: var(--text);
  font: inherit;
}
.estimate-form input,
.estimate-form select { min-height: 48px; padding: 10px 13px; }
.estimate-form textarea { min-height: 136px; padding: 12px 13px; resize: vertical; }
.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus { border-color: var(--blue-bright); outline: 2px solid rgba(34,165,255,.18); outline-offset: 0; }
.estimate-form textarea::placeholder { color: #697681; }
.estimate-form select { appearance: auto; }
.estimate-submit { width: 100%; margin-top: 2px; cursor: pointer; }
.estimate-submit:disabled { cursor: wait; opacity: .72; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { min-height: 1.25em; }
.form-status.is-pending { color: #aeb9c3; }
.form-status.is-success { color: #76d69a; }
.form-status.is-error { color: #ff9d8f; }
.form-note { margin: -4px 0 0; color: #7f8d98; font-size: .78rem; line-height: 1.45; }

footer { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 24px 0 42px; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); color: #74828d; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
footer p { margin: 0; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }
@media (max-width: 900px) {
  .hero { min-height: 760px; padding-top: 142px; background-position: 66% center; }
  .hero-copy { width: min(640px, 78%); }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip div { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip div:last-child { border-bottom: 0; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .expertise-grid article:last-child { border-bottom: 0; }
  .about, .process, .faq, .contact { grid-template-columns: 1fr; }
  .about-copy { max-width: 680px; }
}
@media (max-width: 680px) {
  .site-header, .section, .trust-strip, footer { width: min(100% - 28px, var(--max)); }
  .site-header { min-height: 68px; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-name { max-width: 185px; white-space: normal; line-height: 1.08; }
  .nav-toggle { display: block; }
  nav { display: none; position: absolute; top: 62px; left: 0; right: 0; padding: 18px; align-items: stretch; flex-direction: column; gap: 16px; border: 1px solid var(--line); background: #0d1218; }
  nav.open { display: flex; }
  .hero {
    min-height: 720px;
    align-items: flex-start;
    padding: 112px 14px 84px;
    background:
      linear-gradient(90deg, rgba(5,8,12,.96) 0%, rgba(5,8,12,.88) 62%, rgba(5,8,12,.55) 100%),
      linear-gradient(0deg, rgba(5,8,12,.94) 0%, rgba(5,8,12,.22) 55%, rgba(5,8,12,.32) 100%),
      url("assets/welder-hero-v4.jpg") 82% center / cover no-repeat;
  }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(3rem, 15vw, 4.3rem); }
  .hero-lede { margin-top: 22px; }
  .hero-actions .button { width: 100%; }
  .service-intro { padding: 66px 0; }
  .services-grid { padding-bottom: 72px; }
  .service-toggle { padding: 24px 22px; }
  .service-panel-inner { padding-inline: 22px; }
  .accordion-ready .service-card.is-open .service-panel-inner { padding-bottom: 24px; }
  .service-card .columns { grid-template-columns: 1fr; }
  .expertise { padding: 76px 0; }
  .expertise-grid { margin-top: 36px; }
  .expertise-grid article { padding: 25px 22px; }
  .about, .process { padding: 76px 0; }
  .about-copy { padding-left: 18px; }
  .faq { padding-top: 76px; gap: 34px; }
  .faq-list summary { padding-block: 20px; }
  .faq-list p { padding-right: 15px; }
  .contact { margin-top: 76px; margin-bottom: 50px; padding: 34px 22px; }
  .estimate-form .form-row { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; gap: 4px; }
}
@media (min-width: 681px) {
  .service-title { white-space: nowrap; }
}
@media (min-width: 901px) {
  .keep-together { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-panel, .service-panel-inner, .service-chevron { transition: none; }
}
