/* DavisIron Fabrication LLC. Seed 1-6-2-7-7-1-6: muted natural steel greys with a muted spark orange and arc blue;
   deep steel base with light text; centered hero with a very large headline; rounded soft sans (Moon Rounded headings,
   Folio Rounded body); boxed floating header with a fine border; price tables; soft shadows instead of borders;
   weld-bead motif on dividers */
@font-face {
  font-family: "Moon Rounded";
  src: url("fonts/moon-rounded-800.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Folio Rounded";
  src: url("fonts/folio-rounded-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Folio Rounded";
  src: url("fonts/folio-rounded-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --base: #161c22;
  --surface: #1f272f;
  --surface-2: #27313a;
  --steel: #8b99a5;
  --ash: #dde3e8;
  --mute: #a9b4bd;
  --spark: #d98a4e;
  --spark-lt: #eeb185;
  --arc: #84aac2;
  --shadow: 0 14px 34px rgba(0, 0, 0, .38), 0 2px 6px rgba(0, 0, 0, .25);
  --round: "Moon Rounded", "Arial Rounded MT Bold", "Segoe UI", sans-serif;
  --body: "Folio Rounded", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--base); color: var(--ash); font-family: var(--body); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--spark-lt); text-underline-offset: 3px; }
a:hover { color: #ffffff; }
:focus-visible { outline: 3px solid var(--arc); outline-offset: 3px; border-radius: 10px; }
h1, h2, h3 { font-family: var(--round); font-weight: 800; line-height: 1.08; margin: 0 0 .5em; color: #ffffff; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.05rem; font-family: var(--body); font-weight: 600; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--spark); color: var(--base); padding: 8px 14px; z-index: 10; border-radius: 10px; }
.skip-link:focus { left: 8px; }
.wrap { max-width: 1140px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.center { text-align: center; }

/* boxed floating header */
.float-wrap { padding: 18px 28px 0; }
.site-header { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 14px 10px 12px; background: var(--surface); border: 1px solid #36424d; border-radius: 22px; box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: 12px; color: #ffffff; text-decoration: none; }
.brand img { width: 58px; height: 58px; border-radius: 14px; }
.brand-name { font-family: var(--round); font-weight: 800; font-size: 1.15rem; line-height: 1.15; }
.brand:hover { color: var(--spark-lt); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.main-nav a { display: block; color: var(--ash); text-decoration: none; font-weight: 600; padding: 8px 16px; border-radius: 14px; }
.main-nav a:hover { background: var(--surface-2); color: #ffffff; }
.main-nav a[aria-current="page"] { background: var(--spark); color: var(--base); }

/* centered hero */
.hero { padding: 64px 0 24px; text-align: center; }
.hero-in { max-width: 980px; }
.kicker { font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--arc); margin-bottom: 14px; }
.lede { font-size: 1.18rem; color: var(--mute); max-width: 38em; }
.hero .lede { margin-left: auto; margin-right: auto; }
.hero-art { width: 100%; margin-top: 40px; border-radius: 26px; box-shadow: var(--shadow); }

/* buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .btn-row, .center-row { justify-content: center; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 16px; font-weight: 600; text-decoration: none; }
.btn.spark { background: var(--spark); color: var(--base); box-shadow: 0 6px 16px rgba(217, 138, 78, .28); }
.btn.spark:hover { background: var(--spark-lt); color: var(--base); }
.btn.ghost { background: var(--surface-2); color: #ffffff; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.btn.ghost:hover { background: #33404b; color: #ffffff; }

/* sections */
.sec { padding-top: 56px; padding-bottom: 56px; }
.sec-b { padding-bottom: 56px; }
.sec + .sec, .cats + .sec { background-image: url("assets/motif-weld.svg"); background-repeat: repeat-x; background-position: top center; background-size: 96px 14px; }
.work { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work a { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 30px 20px; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); color: #ffffff; text-decoration: none; text-align: center; height: 100%; }
.work a:hover { background: var(--surface-2); }
.work img { width: 76px; height: 76px; border-radius: 20px; }
.work .t { font-family: var(--round); font-weight: 800; font-size: 1.3rem; }
.work .n { color: var(--mute); font-size: .92rem; }
.duo { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: stretch; }
.duo.top { align-items: start; }
.panel { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: 32px; }
.beads { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.beads li { position: relative; padding-left: 30px; color: var(--mute); }
.beads li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border-radius: 50%; background: var(--spark); box-shadow: 0 0 0 4px rgba(217, 138, 78, .22); }
.beads strong { color: #ffffff; font-weight: 600; }
.spot { background: var(--surface-2); text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.label { display: inline-block; background: var(--arc); color: var(--base); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; padding: 4px 12px; border-radius: 12px; margin-bottom: 12px; }

/* services: price tables */
.intro { padding-top: 56px; padding-bottom: 28px; text-align: center; }
.intro .lede { margin-left: auto; margin-right: auto; }
.cats { display: grid; gap: 28px; padding-bottom: 28px; }
.cat { scroll-margin-top: 20px; }
.cat h2 { display: flex; align-items: center; gap: 14px; }
.cat h2 img { width: 54px; height: 54px; border-radius: 14px; flex: none; }
.rates { width: 100%; border-collapse: collapse; }
.rates thead th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--arc); padding: 8px 14px; }
.rates thead th:last-child { text-align: right; }
.rates tbody th, .rates td { text-align: left; padding: 14px; vertical-align: top; }
.rates tbody tr:nth-child(odd) { background: var(--surface-2); }
.rates tbody tr th { border-radius: 14px 0 0 14px; font-weight: 600; color: #ffffff; width: 38%; }
.rates tbody tr td:last-child { border-radius: 0 14px 14px 0; }
.rates td.d { color: var(--mute); }
.rates td.r { text-align: right; font-family: var(--round); font-weight: 800; font-size: 1.15rem; color: var(--spark-lt); white-space: nowrap; }
.rates td.r .q { display: inline-block; white-space: normal; max-width: 11em; text-align: center; font-family: var(--body); font-weight: 600; font-size: .85rem; line-height: 1.3; background: var(--base); color: var(--ash); padding: 6px 12px; border-radius: 12px; }
.offers { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.offers li { background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); padding: 22px; }
.offers h3 { margin: 0 0 6px; color: var(--spark-lt); }
.offers p { margin: 0; color: var(--mute); }
.price { font-weight: 600; color: #ffffff; }

/* about */
.story p { font-size: 1.06rem; color: var(--mute); }
.story p.first { font-family: var(--round); font-weight: 800; font-size: 1.35rem; line-height: 1.4; color: #ffffff; }
.facts { margin: 0; }
.facts div { padding: 12px 0; }
.facts div + div { box-shadow: 0 -1px 0 #33404b; }
.facts dt { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--arc); }
.facts dd { margin: 2px 0 0; font-weight: 600; color: #ffffff; }
.facts.plain { padding: 0; }
.why { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why li { background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); padding: 24px; color: var(--mute); }
.why strong { display: block; color: #ffffff; font-family: var(--round); font-weight: 800; font-size: 1.15rem; margin-bottom: 4px; }

/* contact */
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--round); font-weight: 800; font-size: 1.6rem; color: #ffffff; margin-bottom: 12px; }
.hours th, .hours td { text-align: left; padding: 11px 12px; vertical-align: top; }
.hours thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--arc); }
.hours tbody tr:nth-child(odd) { background: var(--surface-2); }
.hours tbody th { white-space: nowrap; font-weight: 600; color: #ffffff; border-radius: 12px 0 0 12px; }
.hours tbody td { border-radius: 0 12px 12px 0; }
.hours .note { display: block; color: var(--spark-lt); font-size: .92rem; }
.map-frame { width: 100%; height: 380px; border: 0; border-radius: 24px; box-shadow: var(--shadow); display: block; background: var(--surface); }
.map-link { margin-top: 14px; }

/* footer */
.site-footer { background: #10151a; color: var(--mute); padding-top: 44px; margin-top: 24px; background-image: url("assets/motif-weld.svg"); background-repeat: repeat-x; background-position: top center; background-size: 96px 14px; }
.site-footer a { color: #ffffff; }
.site-footer a:hover { color: var(--spark-lt); }
.foot { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.footer-name { font-family: var(--round); font-weight: 800; font-size: 1.25rem; color: #ffffff; margin-bottom: 6px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { margin-top: 32px; padding-top: 16px; padding-bottom: 22px; box-shadow: 0 -1px 0 #27313a; font-size: .9rem; }

@media (max-width: 960px) {
  .offers { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .duo { grid-template-columns: 1fr; }
  .site-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .work { grid-template-columns: 1fr; gap: 16px; }
  .work a { flex-direction: row; text-align: left; padding: 18px; }
  .work img { width: 56px; height: 56px; }
  .work .n { margin-left: auto; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  .float-wrap { padding: 12px 12px 0; }
  .brand img { width: 48px; height: 48px; border-radius: 12px; }
  .brand-name { font-size: 1.02rem; }
  .main-nav a { padding: 7px 11px; }
  .hero { padding-top: 40px; }
  .hero-art { margin-top: 28px; border-radius: 18px; }
  .sec { padding-top: 44px; padding-bottom: 44px; }
  .panel { padding: 22px 18px; border-radius: 20px; }
  .offers { grid-template-columns: 1fr; }
  .rates thead { display: none; }
  .rates, .rates tbody, .rates tr { display: block; width: 100%; }
  .rates tbody tr { padding: 12px 14px; border-radius: 14px; }
  .rates tbody th, .rates td { display: block; padding: 0; width: auto; border-radius: 0 !important; }
  .rates td.r { text-align: left; margin-top: 6px; }
  .foot { grid-template-columns: 1fr; }
  .map-frame { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
