/* IronLight USA — site styles (dark industrial + cyan) */
:root {
  --bg: #0a0a0a;
  --bg-elevated: #121212;
  --bg-card: #141414;
  --border: #222;
  --text: #f5f5f5;
  --muted: #8a8a8a;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --radius: 12px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(0, 212, 255, 0.08) 0%, transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 10, 0.85);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand img {
  height: 42px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.4));
}

.brand .brand-text {
  display: none;
}

@media (min-width: 720px) {
  .brand .brand-text {
    display: none; /* wordmark image already says IronLight USA */
  }
}

/* Full logo block for hero / marketing moments */
.logo-lockup {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.logo-lockup img {
  width: min(420px, 88vw);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(0, 212, 255, 0.35));
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent);
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: none;
  transition: 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #041018;
}

.btn-primary:hover {
  filter: brightness(1.08);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  border-color: #333;
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 3rem 0 2.5rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 4rem 0 3rem;
  }
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.hero h1 span { color: var(--accent); }

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

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

.hero-note {
  color: var(--muted);
  font-size: 0.88rem;
  border-left: 2px solid var(--accent);
  padding-left: 0.75rem;
}

.hero-visual {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.08);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Sections */
section { padding: 2.5rem 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-head p { color: var(--muted); max-width: 36rem; }

/* Product grid */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.chip {
  appearance: none;
  border: 1px solid #333;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.chip:hover,
.chip.is-active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.1rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.product-card:hover {
  border-color: rgba(0, 212, 255, 0.45);
  transform: translateY(-2px);
}

.product-card a.card-media {
  display: block;
  background: #0e0e0e;
  text-decoration: none;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.card-body {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.card-cat {
  color: var(--accent);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.card-body h3 {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.card-body h3 a {
  color: var(--text);
  text-decoration: none;
}

.card-body h3 a:hover { color: var(--accent); }

.card-blurb {
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.pill {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
}

/* Feature strips */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.feature {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 1.15rem;
}

.feature h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.feature p { color: var(--muted); font-size: 0.92rem; }

/* Product detail */
.detail {
  display: grid;
  gap: 1.75rem;
  padding: 2rem 0 3rem;
}

@media (min-width: 900px) {
  .detail { grid-template-columns: 1fr 1fr; align-items: start; }
}

.detail-media {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0e0e0e;
}

.detail-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.detail h1 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  margin: 0.35rem 0 0.75rem;
}

.detail .tagline {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.detail .desc { color: var(--muted); margin-bottom: 1.25rem; }

.kv {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.kv div {
  border-top: 1px solid var(--border);
  padding-top: 0.65rem;
}

.kv dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.kv dd { color: var(--text); }

/* Contact */
.contact-panel {
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 40rem;
}

.contact-panel p { color: var(--muted); margin-bottom: 1rem; }

.contact-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-list span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 1.75rem 0 2.25rem;
  color: #555;
  font-size: 0.82rem;
}

.site-footer .foot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer a { color: #777; }

.muted { color: var(--muted); }
.accent { color: var(--accent); }

.empty-state {
  border: 1px dashed #333;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}
