/* ==========================================================================
   Iron Box Utility Products — site styles
   Brand colors are sampled directly from the Iron Box logo.
   ========================================================================== */

:root {
  /* Brand (from logo) */
  --ink: #191a1b;        /* "IRON BOX" wordmark */
  --steel: #7b7c80;      /* box lid gray */
  --red: #db0505;        /* box base + "UTILITY PRODUCTS" */
  --red-dark: #b00404;

  /* Neutrals */
  --charcoal: #222326;
  --graphite: #2d2e32;
  --concrete: #f3f2ef;
  --line: #e2e1dd;
  --white: #ffffff;
  --muted: #5d5e62;

  --font-display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --wrap: 1180px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Eyebrow: mirrors the spaced red "UTILITY PRODUCTS" line of the logo */
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.accent { color: var(--red); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: #c9c9cc;
  font-size: .85rem;
}
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding-block: 8px;
}
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: #ffb3b3; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 14px;
}
.brand img { height: 56px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--red); }
.nav .btn { padding: 12px 20px; border-bottom-width: 2px; }
.nav .btn:hover, .nav .btn[aria-current="page"] { border-color: transparent; }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 26px; height: 3px; margin: 5px 0;
  background: var(--ink); transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
  padding-block: 72px 56px;
}
.hero h1 span { display: block; }
.hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; max-width: 520px; margin-inline: auto; }

.hero-media img { position: relative; z-index: 1; max-height: 500px; object-fit: contain; }

/* Product photos are shot on near-white; multiply blends that into the page */
.hero-media img, .product-card .media img, .product-media img { mix-blend-mode: multiply; }

.hero-stamp {
  position: absolute; right: 4%; bottom: 10%; z-index: 2;
  background: var(--ink); color: var(--white);
  font-family: var(--font-display);
  padding: 14px 18px;
  border-left: 5px solid var(--red);
  box-shadow: var(--shadow);
}
.hero-stamp strong { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1; }
.hero-stamp small { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #c9c9cc; }

/* --------------------------------------------------------------------------
   Spec band
   -------------------------------------------------------------------------- */
.spec-band { background: var(--ink); color: var(--white); }
.spec-band .wrap {
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.spec {
  padding: 34px 28px;
  border-left: 1px solid rgba(255,255,255,.1);
}
.spec:first-child { border-left: 0; padding-left: 0; }
.spec .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
}
.spec .num em { font-style: normal; color: var(--red); }
.spec .label {
  margin-top: 10px;
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: #a9aaae;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-block: 96px; }
.section-alt { background: var(--concrete); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head.center { text-align: center; margin-inline: auto; }

/* Feature grid */
.features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature { background: var(--white); padding: 34px 28px; }
.feature .icon {
  width: 46px; height: 46px; margin-bottom: 20px; color: var(--red);
}
.feature h3 { font-size: 1.1rem; margin-bottom: .4em; }
.feature p { color: var(--muted); font-size: .97rem; margin: 0; }

/* --------------------------------------------------------------------------
   Product cards
   -------------------------------------------------------------------------- */
.product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.product-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card .media {
  position: relative;
  background: var(--white);
  aspect-ratio: 4 / 4;
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
}
.product-card .media img { height: 100%; width: 100%; object-fit: contain; padding: 18px; }
.tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--red); color: var(--white);
  font-family: var(--font-display); font-weight: 700;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 2px;
}
.product-card .body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.product-card .size {
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; margin-bottom: 4px;
}
.product-card .desc { color: var(--muted); margin-bottom: 18px; }
.spec-list { list-style: none; padding: 0; margin: 0 0 24px; }
.spec-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-top: 1px solid var(--line); font-size: .95rem;
}
.spec-list li span:first-child { color: var(--muted); }
.spec-list li span:last-child { font-weight: 700; text-align: right; }
.product-card .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }

/* Detailed product rows (products page) */
.product-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding-block: 56px; border-top: 1px solid var(--line);
}
.product-row:first-of-type { border-top: 0; padding-top: 0; }
.product-row:nth-of-type(even) .product-media { order: 2; }
.product-media {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.product-media img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 32px; }
.product-info .size { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3.5vw, 2.8rem); line-height: 1.05; margin-bottom: 10px; }
.product-info .desc { font-size: 1.1rem; color: var(--muted); }
.product-info .spec-list li { font-size: 1rem; padding-block: 14px; }

/* --------------------------------------------------------------------------
   Mission split
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.mission-mark {
  position: relative;
  background: var(--ink);
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: var(--radius);
  overflow: hidden;
}
.mission-mark img { width: 48%; position: relative; z-index: 1; }
.mission-mark::after {
  content: "TULSA · OKLAHOMA";
  position: absolute; bottom: 24px; left: 0; right: 0; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: .75rem;
  letter-spacing: .4em; color: #8e8f93;
}
.mission-mark::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.values { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.values li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.values li::before {
  content: ""; flex: none; width: 12px; height: 12px; margin-top: 7px;
  background: var(--red);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { background: var(--red); color: var(--white); position: relative; overflow: hidden; }
.cta-band .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding-block: 64px; position: relative; z-index: 1;
}
.cta-band h2 { margin: 0 0 .25em; }
.cta-band p { margin: 0; opacity: .9; font-size: 1.08rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -60px;
  width: 360px; height: 400px;
  background: rgba(255,255,255,.07);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

/* --------------------------------------------------------------------------
   Page header (inner pages)
   -------------------------------------------------------------------------- */
.page-header { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.page-header .wrap { padding-block: 72px 64px; position: relative; z-index: 1; }
.page-header p { color: #c4c5c8; font-size: 1.1rem; max-width: 40em; margin: 0; }
.page-header::after {
  content: ""; position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  width: 240px; height: 270px;
  background: url("../img/ironbox-mark.png") center / contain no-repeat;
  opacity: .12;
}

/* --------------------------------------------------------------------------
   Quote form
   -------------------------------------------------------------------------- */
.quote-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase;
}
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem;
  padding: 13px 14px;
  border: 1.5px solid #cfcfcb;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(219,5,5,.15);
}
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.form-foot small { color: var(--muted); }
.hp { position: absolute; left: -9999px; }

.form-status { display: none; margin-top: 20px; padding: 16px 18px; border-radius: var(--radius); font-weight: 600; }
.form-status.ok { display: block; background: #eaf6ec; color: #1d6b2c; border-left: 4px solid #1d6b2c; }
.form-status.err { display: block; background: #fdecec; color: var(--red-dark); border-left: 4px solid var(--red); }

.contact-card {
  background: var(--ink); color: var(--white);
  padding: 36px; border-radius: var(--radius);
}
.contact-card h3 { color: var(--white); }
.contact-card .item { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-card .item:first-of-type { border-top: 0; }
.contact-card .k { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #a9aaae; font-weight: 600; }
.contact-card .v { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-top: 4px; }
.contact-card a { text-decoration: none; }
.contact-card a:hover { color: #ffb3b3; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 28px 0 0; }
.steps li { counter-increment: s; display: flex; gap: 14px; padding: 10px 0; color: var(--muted); }
.steps li::before {
  content: counter(s); flex: none;
  width: 28px; height: 28px; display: grid; place-items: center;
  background: var(--concrete); color: var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: .85rem; border-radius: 50%;
}
.steps strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: #b9babd; font-size: .95rem; }
.site-footer .wrap {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
  padding-block: 64px 40px;
}
.site-footer img { height: 64px; width: auto; margin-bottom: 18px; }
.site-footer h4 {
  color: var(--white); font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #e3e3e5; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.site-footer address { font-style: normal; }
.legal { border-top: 1px solid rgba(255,255,255,.08); }
.legal .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 20px; font-size: .82rem; grid-template-columns: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .quote-layout { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .mission-mark { max-width: 420px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--line); }
  .nav .btn { margin-top: 14px; justify-content: center; }

  .hero .wrap { grid-template-columns: 1fr; padding-block: 44px 40px; gap: 24px; }
  .hero-media img { max-width: 300px; max-height: 300px; }
  .spec-band .wrap { grid-template-columns: 1fr; }
  .spec { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; }
  .spec:first-child { border-top: 0; }

  .product-grid { grid-template-columns: 1fr; }
  .product-row { grid-template-columns: 1fr; gap: 28px; }
  .product-row:nth-of-type(even) .product-media { order: 0; }
  .product-media img { aspect-ratio: 1; }

  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 32px; }
  .legal .wrap { flex-direction: column; }
  .page-header::after { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding-block: 64px; }
  .topbar .hide-sm { display: none; }
  .brand img { height: 44px; }
  .features { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 22px; }
  .hero-stamp { right: 0; bottom: 4%; padding: 10px 14px; }
  .hero-stamp strong { font-size: 1.2rem; }
}

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

/* Standards note under product listings */
.fineprint { margin: 32px 0 0; font-size: .85rem; color: var(--muted); max-width: 60em; }

/* 404 page */
.not-found .wrap { text-align: center; max-width: 640px; }
.not-found h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.not-found p { color: var(--muted); font-size: 1.1rem; }
.nf-code { position: relative; width: 180px; margin: 0 auto 28px; }
.nf-code img { width: 100%; opacity: .18; }
.nf-code span {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; color: var(--ink);
}
.nf-actions { justify-content: center; margin: 28px 0 20px; }
.nf-help a { color: var(--red); font-weight: 600; }
