/* KTL Welding & Fabricating LLC — black / white / pumpkin orange */
:root {
  --black: #0a0a0a;
  --ink: #141414;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --white: #ffffff;
  --off-white: #f7f7f7;
  --orange: #e36a1a;
  --orange-dark: #c45510;
  --max: 960px;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--orange-dark);
  text-decoration: underline;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 10, 0.96);
  border-bottom: 3px solid var(--orange);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand:hover,
.brand:focus-visible {
  color: var(--white);
  text-decoration: none;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--black);
  /* Keep logo upright — no rotate/transform */
  transform: none;
}

.brand-name {
  font-size: 0.95rem;
}

.nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--orange);
  text-decoration: none;
}

/* Hero */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 3.5rem 0 4rem;
  text-align: center;
}

.hero-logo {
  width: min(280px, 72vw);
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--black);
  /* Keep logo upright — no rotate/transform */
  transform: none;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.tagline {
  margin: 0;
  color: var(--orange);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-sub {
  margin: 0.75rem 0 1.75rem;
  color: #cfcfcf;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
}

/* Sections */
.section {
  padding: 3.25rem 0;
}

.section-alt {
  background: var(--off-white);
  border-block: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
}

.section-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 40rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.cards-two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.coming-soon {
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* About */
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.about-grid p {
  color: #333;
  max-width: 36rem;
}

.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.stats li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--orange);
  min-width: 2.5rem;
}

.stat-label {
  font-weight: 600;
  color: var(--ink);
}


/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.15rem;
}

.gallery-item {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--black);
}

.gallery-item figcaption {
  padding: 0.75rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  border-top: 3px solid var(--orange);
}

@media (min-width: 720px) {
  .gallery-item img {
    height: 240px;
  }
}

/* Contact */
.contact-block {
  text-align: left;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 28rem;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.contact-list a {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--orange);
}

/* Footer */
.site-footer {
  background: var(--black);
  color: #bdbdbd;
  padding: 1.5rem 0;
  border-top: 3px solid var(--orange);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

.footer-tag {
  color: var(--orange);
  font-weight: 600;
}

@media (min-width: 720px) {
  .about-grid {
    grid-template-columns: 1.4fr 1fr;
  }

  .brand-name {
    font-size: 1rem;
  }
}

@media (max-width: 520px) {
  .brand-name {
    display: none;
  }

  .hero {
    padding: 2.5rem 0 3rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .nav {
    gap: 0.75rem;
  }

  .nav a {
    font-size: 0.85rem;
  }
}

/* Featured job collage */
.job-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 1.75rem;
  padding: 0.65rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.job-collage img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
  background: var(--black);
}

.job-collage figcaption {
  grid-column: 1 / -1;
  padding: 0.75rem 0.25rem 0.15rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  border-top: 3px solid var(--orange);
}

