/* TXN Metals site-specific styles. Tailwind utilities are compiled locally in tailwind.min.css. */
:root {
  --brand-orange: #FF5500;
  --brand-orange-hover: #E04B00;
  --brand-dark: #1F1F1F;
  --brand-charcoal: #2D2D2D;
  --brand-border: #3D3D3D;
}
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #F8FAFC;
  color: #1E293B;
}
.bg-brand-dark { background-color: var(--brand-dark); }
.bg-brand-charcoal { background-color: var(--brand-charcoal); }
.bg-brand-orange { background-color: var(--brand-orange); }
.bg-brand-orange:hover { background-color: var(--brand-orange-hover); }
.text-brand-orange { color: var(--brand-orange); }
.border-brand-border { border-color: var(--brand-border); }
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slide.active { opacity: 1; }
input[type="file"] { max-width: 100%; }
:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}


/* Product and company image sections added for the SEO/content refresh. */
.txn-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 1rem;
  align-items: stretch;
}
.txn-visual-card {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #e2e8f0;
  isolation: isolate;
}
.txn-visual-card--primary { min-height: 350px; }
.txn-visual-card--secondary { min-height: 210px; }
.txn-visual-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform .35s ease;
}
.txn-visual-card:hover img { transform: scale(1.025); }
.txn-visual-side { display: grid; grid-template-rows: minmax(210px, 1fr) auto; gap: 1rem; min-width: 0; }
.txn-visual-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.1rem;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(15,23,42,.82) 70%, rgba(15,23,42,.92) 100%);
}
.txn-visual-caption span, .txn-visual-note__eyebrow {
  color: #ff7a3d;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.txn-visual-caption strong { font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.35; }
.txn-visual-note {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 1rem 1.15rem;
}
.txn-visual-note p { margin: .4rem 0 0; color: #475569; font-size: .875rem; line-height: 1.7; }
.txn-image-disclaimer { margin-top: -.9rem; color: #64748b; font-size: .72rem; line-height: 1.5; }
.txn-about-gallery {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin: 1.75rem 0 1.5rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
}
.txn-about-gallery__copy h2 { margin: .5rem 0 .8rem; color: #111827; font-size: clamp(1.45rem, 2.5vw, 2rem); font-weight: 850; line-height: 1.2; }
.txn-about-gallery__copy p { color: #475569; font-size: .92rem; line-height: 1.8; }
.txn-about-gallery__copy ul { margin: 1rem 0; padding-left: 1.2rem; color: #475569; font-size: .86rem; line-height: 1.75; }
.txn-about-gallery__copy li { margin: .45rem 0; }
.txn-about-gallery__copy li::marker { color: #ff5500; }
.txn-about-gallery__link { display: inline-flex; align-items: center; gap: .5rem; margin-top: .4rem; color: #ea580c; font-size: .875rem; font-weight: 800; text-decoration: none; }
.txn-about-gallery__link:hover { text-decoration: underline; }
.txn-about-gallery__images { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; min-width: 0; }
.txn-about-gallery__image { position: relative; min-width: 0; min-height: 150px; margin: 0; overflow: hidden; border-radius: 10px; background: #e2e8f0; }
.txn-about-gallery__image--wide { grid-column: 1 / -1; min-height: 235px; }
.txn-about-gallery__image img { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.txn-about-gallery__image figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: .8rem; color: #fff; font-size: .8rem; font-weight: 750; background: linear-gradient(transparent, rgba(15,23,42,.8)); }
.txn-network-card { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; margin: 1.5rem 0; padding: 1.25rem 1.5rem; border: 1px solid #fed7aa; border-radius: 12px; background: #fff7ed; }
.txn-network-card h2 { margin: .3rem 0; color: #1f2937; font-size: 1.1rem; font-weight: 850; }
.txn-network-card p { margin: .25rem 0 0; color: #475569; font-size: .85rem; line-height: 1.65; }
.txn-network-card > a { flex: 0 0 auto; display: inline-flex; gap: .4rem; align-items: center; border-radius: 7px; padding: .8rem 1rem; background: #ff5500; color: #fff; font-size: .82rem; font-weight: 800; text-decoration: none; }
.txn-network-card > a:hover { background: #e04b00; }
@media (max-width: 760px) {
  .txn-visual-grid, .txn-about-gallery { grid-template-columns: 1fr; }
  .txn-visual-card--primary { min-height: 260px; }
  .txn-visual-side { grid-template-rows: minmax(190px, auto) auto; }
  .txn-about-gallery__image--wide { min-height: 200px; }
  .txn-network-card { align-items: stretch; flex-direction: column; }
  .txn-network-card > a { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .txn-visual-card img { transition: none; }
}
