/* Skelton Welding — draft site, Nov 2026
   Industrial, mobile-first. No frameworks.

   Headings use Barlow Condensed (logo is the stencil mark).
   the closest freely licensed match to the classic army stencil
   lettering on the truck doors and the company logo. Body text stays
   Source Sans 3. Buttons and smaller UI stay Barlow Condensed. */

:root {
  --bg: #101112;
  --bg-raised: #17191b;
  --bg-card: #1c1f22;
  --ink: #f1ece3;
  --ink-dim: #b7b3aa;
  --steel: #8c9298;
  --line: rgba(241, 236, 227, 0.12);
  --line-strong: rgba(241, 236, 227, 0.22);
  --ember: #d36a2a;
  --ember-hot: #e8893d;
  --ember-ink: #1a100a;
  --safe: min(1080px, calc(100% - 2.5rem));
  --serif-gap: 0.02em;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ember);
  color: var(--ember-ink);
  padding: 0.5rem 0.8rem;
  z-index: 100;
}

.skip:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 17, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: var(--safe);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}

.brand-logo {
  display: block;
  height: 2.7rem;
  width: auto;
  flex: none;
}

.brand-license {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
}

@media (min-width: 700px) {
  .brand-logo {
    height: 3.15rem;
  }
}

.nav-toggle {
  display: none;
}

.nav-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 2px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-btn span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-dim);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.site-nav .nav-cta {
  background: var(--ember);
  color: var(--ember-ink);
  padding: 0.55rem 0.85rem;
  font-weight: 700;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--ember-hot);
  color: var(--ember-ink);
}

@media (max-width: 980px) {
  .nav-toggle-btn {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #141617;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1.25rem 1.1rem;
    gap: 0;
  }

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border: 0;
  }

  .nav-toggle:checked ~ .site-nav {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: calc(100vh - 4.25rem);
  padding: 4rem 0 2.75rem;
  border-bottom: 1px solid var(--line);
  background: #0b0c0d;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 42%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(8, 9, 10, 0.78) 0%,
      rgba(8, 9, 10, 0.55) 28%,
      rgba(8, 9, 10, 0.22) 50%,
      rgba(8, 9, 10, 0.06) 72%,
      rgba(8, 9, 10, 0.04) 100%),
    linear-gradient(180deg,
      rgba(8, 9, 10, 0.16) 0%,
      rgba(8, 9, 10, 0.00) 42%,
      rgba(8, 9, 10, 0.32) 100%);
}

.hero-inner {
  width: var(--safe);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-inner h1,
.hero-inner .lede,
.hero-inner .trust dd,
.hero-inner .trust-note {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.eyebrow {
  display: inline-block;
  color: var(--ember-hot);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

h1, h2 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
}

.hero h1 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 9vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0 0 1.25rem;
  max-width: 12ch;
  text-transform: uppercase;
}

.lede {
  max-width: 38rem;
  font-size: 1.2rem;
  color: #d8d3c9;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.8rem 1.15rem;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--ember);
  color: var(--ember-ink);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--ember-hot);
}

.btn-ghost {
  background: rgba(16, 17, 18, 0.35);
  color: var(--ink);
  border-color: rgba(241, 236, 227, 0.45);
}

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

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.trust div {
  min-width: 0;
}

.trust dt {
  margin: 0;
  color: var(--steel);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trust dd {
  margin: 0.25rem 0 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.trust-note {
  margin: 1.25rem 0 0;
  max-width: 42rem;
  color: var(--ink-dim);
  font-size: 1.02rem;
}

@media (max-width: 800px) {
  .hero {
    min-height: 0;
    padding: 3.25rem 0 2.5rem;
  }

  .hero-media img {
    object-position: 40% 35%;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(8, 9, 10, 0.42) 0%, rgba(8, 9, 10, 0.22) 40%, rgba(8, 9, 10, 0.48) 100%),
      linear-gradient(90deg, rgba(8, 9, 10, 0.55) 0%, rgba(8, 9, 10, 0.18) 100%);
  }

  .trust {
    grid-template-columns: 1fr 1fr;
  }
}

/* Sections */
section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--line);
}

.wrap {
  width: var(--safe);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem 2rem;
  margin-bottom: 2.25rem;
  max-width: 42rem;
}

.section-head h2 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(1.85rem, 4.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

.section-head p {
  margin: 0;
  color: var(--ink-dim);
}

.grid-3,
.grid-2,
.projects,
.tools {
  display: grid;
  gap: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-2 {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}

@media (max-width: 800px) {
  section {
    padding: 3.25rem 0;
  }

  .grid-3,
  .grid-2,
  .projects,
  .tools {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.4rem 1.35rem 1.5rem;
}

.card h3 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.05em;
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  font-weight: 700;
}

.card p,
.card li {
  color: var(--ink-dim);
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.card li + li {
  margin-top: 0.35rem;
}

/* Photo galleries */
.gallery {
  display: grid;
  gap: 0.85rem;
}

.gallery figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  min-width: 0;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 3 / 4;
}

.gallery .landscape img {
  aspect-ratio: 4 / 3;
}

.gallery figcaption {
  padding: 0.65rem 0.85rem 0.8rem;
  color: var(--steel);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-theater {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-theater .span-2 {
  grid-column: span 2;
}

.gallery-theater .span-3 {
  grid-column: 1 / -1;
}

.gallery-rails {
  grid-template-columns: 1fr 1.15fr;
  align-items: stretch;
}

.gallery-rails img,
.gallery-rails .landscape img {
  aspect-ratio: 4 / 5;
}

.gallery-rails figure:last-child img {
  object-position: center 58%;
}

.gallery-structural {
  grid-template-columns: 1fr 1fr;
}

.gallery-structural figure:last-child img {
  object-position: center 72%;
}

@media (max-width: 800px) {
  .gallery-theater,
  .gallery-rails,
  .gallery-structural {
    grid-template-columns: 1fr;
  }

  .gallery-theater .span-2,
  .gallery-theater .span-3 {
    grid-column: auto;
  }

  .gallery .landscape img,
  .gallery-rails figure:last-child img {
    aspect-ratio: 4 / 3;
  }
}

/* Crew */
.crew-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  align-items: stretch;
}

.crew-photo {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.crew-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 1 / 1;
}

.crew-photo figcaption {
  padding: 0.65rem 0.85rem 0.8rem;
  color: var(--steel);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .crew-grid {
    grid-template-columns: 1fr;
  }

  .crew-photo img {
    aspect-ratio: 4 / 3;
  }
}

.crew-panel {
  background:
    linear-gradient(180deg, rgba(211, 106, 42, 0.08), transparent 40%),
    var(--bg-raised);
  border: 1px solid var(--line);
  padding: 2rem 1.75rem;
}

.crew-panel h3 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.crew-panel p {
  color: var(--ink-dim);
  max-width: 38rem;
}

.checks {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.checks li {
  position: relative;
  padding-left: 1.4rem;
  margin: 0 0 0.5rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.6rem;
  height: 2px;
  background: var(--ember);
}

/* Tools */
.tools {
  grid-template-columns: repeat(3, 1fr);
}

.tool {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 1.5rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.tool .status {
  align-self: flex-start;
  margin: 0 0 1rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--line-strong);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

.tool .status.live {
  border-color: #3d6a46;
  color: #8dca96;
}

.tool .status.soon {
  border-color: rgba(211, 106, 42, 0.5);
  color: var(--ember-hot);
}

.tool h3 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 0.55rem;
}

.tool p {
  color: var(--ink-dim);
  margin: 0 0 1.25rem;
  flex: 1;
}

.tool .btn {
  align-self: flex-start;
}

.tool .pending {
  color: var(--steel);
  font-size: 0.95rem;
  margin: 0;
}

/* Contact */
#contact {
  background: #141617;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-grid h2 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 4.6vw, 2.75rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.contact-grid > div:first-child p {
  color: var(--ink-dim);
  margin: 0 0 1.25rem;
  max-width: 32rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin: 0;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.contact-list span {
  display: block;
  color: var(--steel);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact-list a,
.contact-list strong {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  text-decoration: none;
}

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

.fine-print {
  margin-top: 1.25rem;
  color: var(--steel);
  font-size: 0.9rem;
}

.contact-truck {
  margin: 1.5rem 0 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.contact-truck img {
  width: 100%;
  height: 16.5rem;
  object-fit: cover;
  object-position: 50% 62%;
  display: block;
}

.contact-truck figcaption {
  padding: 0.65rem 0.85rem 0.8rem;
  color: var(--steel);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  padding: 1.5rem 0 2rem;
}

.footer-inner {
  width: var(--safe);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--steel);
  font-size: 0.85rem;
}

.draft-flag {
  color: #9a8a6a;
}
