/* Brand: southtexasweld.live — Edinburg shop chrome, topbar header, minimal footer */
:root {
  --sou21-max: 1180px;
  --sou21-gutter: clamp(1.25rem, 3vw, 1.75rem);
  --sou21-nav: 80px;
  --sou21-steel: #1c3a3e;
  --sou21-warm: #e39a36;
  --sou21-bg: var(--dna-bg, #f3f7f6);
  --sou21-surface: var(--dna-surface, #ffffff);
  --sou21-surface-2: var(--dna-surface-2, #e6efed);
  --sou21-ink: var(--dna-ink, #132e31);
  --sou21-muted: var(--dna-ink-soft, #50696a);
  --sou21-line: var(--dna-line, #cddfdb);
  --sou21-accent: var(--dna-accent, #278f87);
  --sou21-accent-2: var(--dna-accent-2, #55b7ac);
  --sou21-accent-ink: var(--dna-accent-ink, #071b1c);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--sou21-bg);
  color: var(--sou21-ink);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.sou21-lock { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

.sou21-shell {
  width: min(var(--sou21-max), calc(100% - 2 * var(--sou21-gutter)));
  margin-inline: auto;
}

.sou21-skip {
  position: fixed;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 80;
  padding: 0.55rem 0.8rem;
  border-radius: 4px;
  background: var(--sou21-steel);
  color: #f4fbfa;
  text-decoration: none;
  transform: translateY(-180%);
}
.sou21-skip:focus { transform: none; }
:focus-visible {
  outline: 3px solid var(--sou21-warm);
  outline-offset: 3px;
}

.sou21-header {
  position: relative;
  z-index: 40;
  background: var(--sou21-surface);
  border-bottom: 1px solid var(--sou21-line);
}
.sou21-topbar {
  background: var(--sou21-steel);
  color: #e8f4f2;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.sou21-topbar-row {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.sou21-topbar a {
  color: #fff;
  text-decoration: none;
}
.sou21-topbar a:hover { color: var(--sou21-warm); }

.sou21-nav-row {
  min-height: var(--sou21-nav);
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) auto auto;
  align-items: center;
  gap: 1.4rem;
}
.sou21-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  width: fit-content;
  text-decoration: none;
}
.sou21-mark { width: 39px; height: 39px; flex: 0 0 auto; }
.sou21-brand-copy { display: grid; gap: 0.05rem; line-height: 1.15; }
.sou21-brand-name {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.sou21-brand-place {
  color: var(--sou21-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sou21-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.sou21-nav a {
  padding: 0.5rem 0.7rem;
  border-radius: 4px;
  color: var(--sou21-muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}
.sou21-nav a:hover,
.sou21-nav a[aria-current="page"] {
  background: var(--sou21-surface-2);
  color: var(--sou21-ink);
}
.sou21-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--sou21-accent);
  border-radius: 4px;
  background: var(--sou21-accent);
  color: var(--sou21-accent-ink);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}
.sou21-header-cta:hover { background: var(--sou21-accent-2); }
.sou21-toggle {
  display: none;
  justify-self: end;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.6rem;
  border: 1px solid var(--sou21-line);
  border-radius: 4px;
  background: var(--sou21-surface);
}
.sou21-toggle span {
  display: block;
  width: 1.3rem;
  height: 2px;
  margin: 0.25rem auto;
  background: var(--sou21-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.sou21-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sou21-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sou21-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

main[data-page-slot] {
  flex: 1 1 auto;
}
main[data-page-slot]:empty { min-height: 48vh; }

.sou21-footer {
  border-top: 1px solid var(--sou21-line);
  background: var(--sou21-steel);
  color: #e7f3f1;
}
.sou21-footer-row {
  min-height: 6.5rem;
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) auto auto;
  align-items: center;
  gap: 1.6rem;
}
.sou21-footer .sou21-brand-place { color: #9fb8b6; }
.sou21-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.sou21-footer-nav a,
.sou21-footer-contact a {
  color: #c5dbd8;
  font-size: 0.82rem;
  text-decoration: none;
}
.sou21-footer-nav a:hover,
.sou21-footer-nav a[aria-current="page"],
.sou21-footer-contact a:hover { color: var(--sou21-warm); }
.sou21-footer-contact {
  display: grid;
  justify-items: end;
  gap: 0.15rem;
}
.sou21-footer-legal {
  padding: 0.85rem 0 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9bb4b1;
  font-size: 0.74rem;
}

@media (max-width: 900px) {
  :root { --sou21-nav: 4.4rem; }
  .sou21-nav-row { grid-template-columns: 1fr auto; }
  .sou21-toggle { display: block; }
  .sou21-header-cta { display: none; }
  .sou21-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 0.85rem var(--sou21-gutter) 1.2rem;
    border-bottom: 1px solid var(--sou21-line);
    background: var(--sou21-surface);
  }
  .sou21-nav.is-open { display: grid; }
  .sou21-nav a { padding: 0.75rem 0.85rem; }
  .sou21-footer-row {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding: 2rem 0;
  }
  .sou21-footer-contact { justify-items: start; }
}

@media (max-width: 560px) {
  .sou21-topbar-row { min-height: 2.6rem; }
  .sou21-topbar p { display: none; }
  .sou21-brand-name { font-size: 0.88rem; }
  .sou21-brand-place { font-size: 0.62rem; }
  .sou21-footer-nav { display: grid; grid-template-columns: repeat(2, auto); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
