/* ============================================
   FALCON METALS & SUPPLY CO — DESIGN SYSTEM
   ============================================ */

:root {
  --charcoal: #1E1E1E;
  --charcoal-deep: #141414;
  --charcoal-soft: #2A2A2A;
  --orange: #E8700A;
  --orange-dim: #C25F08;
  --steel: #6D6E71;
  --steel-light: #A6A7AA;
  --steel-pale: #D9D9D8;
  --paper: #F3F1EC;
  --paper-deep: #E9E6DE;
  --white: #FFFFFF;
  --line: rgba(30,30,30,0.12);
  --line-dark: rgba(255,255,255,0.14);

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;

  --gauge-tag-bg: var(--charcoal);
  --max-w: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.02;
  margin: 0;
  color: var(--charcoal);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- EYEBROW / SPEC TAG (signature element) ----------
   Echoes the hand-labeled product plate photography:
   small bracketed spec strings like [ 1.50 × 1.00 — 20/18/16GA ] */
.spec-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.spec-tag::before,
.spec-tag::after {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--orange);
}

/* ---------- NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  border-bottom: 3px solid var(--orange);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 108px;
  gap: 24px;
}
.nav-logo img {
  height: 84px; /* 2x prior ~42px nav logo height */
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-pale);
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-color: var(--orange);
}
.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 12px 22px !important;
  border-radius: 2px;
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: var(--orange-dim);
  border-color: transparent !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  padding: 8px;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav { height: 84px; }
  .nav-logo img { height: 64px; }
  .site-header.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: var(--charcoal);
    padding: 8px 28px 20px;
    border-top: 1px solid var(--line-dark);
  }
  .site-header.menu-open .nav-links a { padding: 14px 4px; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 2px solid transparent;
  transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dim); transform: translateY(-1px); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: var(--charcoal-soft); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: var(--white); }
.btn-outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--charcoal); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  background: var(--charcoal-deep);
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,20,20,.75) 5%, rgba(20,20,20,.4) 55%, rgba(20,20,20,.15) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 64px 0 68px;
  width: 100%;
}
.hero h1 {
  font-size: clamp(44px, 7vw, 92px);
  color: var(--white);
  max-width: 16ch;
}
.hero-sub {
  margin-top: 20px;
  font-size: 19px;
  max-width: 52ch;
  color: var(--steel-pale);
  font-weight: 400;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stripe {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 30%;
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 8% 100%);
  background: var(--orange);
  opacity: 0.12;
  z-index: 1;
  display: none;
}
@media (min-width: 900px) { .hero-stripe { display: block; } }
.hero-caption {
  position: absolute;
  right: 16px;
  bottom: 12px;
  z-index: 2;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
}

/* ---------- SECTION SCAFFOLDING ---------- */
section { padding: 96px 0; }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-dark h2 { color: var(--white); }
.section-paper-deep { background: var(--paper-deep); }
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 { font-size: clamp(32px, 4.2vw, 52px); }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--steel); }
.section-dark .section-head p { color: var(--steel-pale); }

/* ---------- GRID CARDS ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.card-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--steel-pale);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.045); }
.card-body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 22px; margin-bottom: 8px; }
.card-body p { color: var(--steel); font-size: 15px; margin: 0; flex: 1; }
.card-tag {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.card-caption {
  padding: 12px 16px;
  border-top: 3px solid var(--orange);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--charcoal);
}

/* ---------- SPEC PLATE (product profile card) ---------- */
.plate {
  background: var(--white);
  border: 1px solid var(--line);
  position: relative;
}
.plate-media {
  aspect-ratio: 1/1;
  background: #DCDDDC;
  overflow: hidden;
}
.plate-media img { width: 100%; height: 100%; object-fit: cover; }
.plate-label {
  padding: 16px 18px 18px;
  border-top: 3px solid var(--orange);
}
.plate-label .dims {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.plate-label .meta {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--steel);
  letter-spacing: 0.03em;
}

/* ---------- STAT ROW ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.stat {
  background: var(--charcoal);
  padding: 34px 26px;
  text-align: left;
}
.stat .num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.stat .label {
  margin-top: 10px;
  font-size: 13px;
  color: var(--steel-pale);
  letter-spacing: 0.03em;
}
@media (max-width: 780px) { .stat-row { grid-template-columns: repeat(2,1fr); } }

/* ---------- CHECK LIST ---------- */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}
.section-dark .check-list li { border-color: var(--line-dark); }
.check-list li:last-child { border-bottom: none; }
.check-list .mark {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  margin-top: 1px;
}

/* ---------- TWO COL FEATURE ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.feature.reverse { grid-template-columns: 1fr 1.1fr; }
.feature.reverse .feature-media { order: 2; }
.feature-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature-copy .eyebrow { }
@media (max-width: 900px) {
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: 0; }
}

/* ---------- TIMELINE (Projects) ---------- */
.timeline-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.timeline-item:first-child { border-top: none; }
.timeline-loc {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
}
.timeline-body h3 { font-size: 28px; margin-bottom: 10px; }
.timeline-specs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}
.timeline-specs span {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 6px 12px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  text-transform: uppercase;
}
.timeline-media {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
  margin-top: 18px;
}
.timeline-media img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 780px) {
  .timeline-item { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- COLOR SWATCHES ---------- */
.swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.swatch {
  background: var(--white);
  padding: 18px;
}
.swatch .chip { width: 100%; aspect-ratio: 2/1; border: 1px solid var(--line); margin-bottom: 10px; }
.swatch .name { font-size: 13px; font-weight: 600; }
@media (max-width: 780px) { .swatch-grid { grid-template-columns: repeat(2,1fr); } }

/* ---------- FORMS ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--charcoal);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  border: 1.5px solid var(--steel-pale);
  background: var(--white);
  color: var(--charcoal);
  border-radius: 2px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.field textarea { resize: vertical; min-height: 120px; }

.file-drop {
  border: 2px dashed var(--steel-pale);
  padding: 30px;
  text-align: center;
  color: var(--steel);
  font-size: 14.5px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.file-drop:hover { border-color: var(--orange); background: rgba(232,112,10,0.04); }
.file-drop input[type=file] { display: none; }
.file-drop .fname { margin-top: 8px; font-weight: 600; color: var(--charcoal); }

/* ---------- PAYMENT CARDS ---------- */
.pay-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px;
}
.pay-card h3 { font-size: 24px; margin-bottom: 14px; }
.pay-card .placeholder-note {
  margin-top: 18px;
  padding: 12px 14px;
  background: var(--paper-deep);
  border-left: 3px solid var(--orange);
  font-size: 13.5px;
  color: var(--steel);
}
.pay-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.pay-detail-row:last-child { border-bottom: none; }
.pay-detail-row .k { color: var(--steel); }
.pay-detail-row .v { font-weight: 600; font-family: var(--font-display); letter-spacing: .02em; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--charcoal-deep);
  color: var(--steel-pale);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-grid img { height: 52px; margin-bottom: 14px; }
.footer-grid p { font-size: 14px; color: var(--steel-light); max-width: 32ch; }
.footer-col h4 {
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 14.5px;
  color: var(--steel-light);
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--steel);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- UTILITY ---------- */
.text-center { text-align: center; margin-left: auto; margin-right: auto; }
.mt-lg { margin-top: 56px; }
.small-note { font-size: 13px; color: var(--steel); }
