/* ==========================================================================
   /textile-fibers/ — Textile & Fiber Solutions
   --------------------------------------------------------------------------
   Standalone stylesheet. Mirrors src/sass/assets/_textile-fibers.scss.
   ========================================================================== */

/* 01 — PAGE WRAPPER */
.textiles { background: #fff; color: #000; position: relative; overflow: hidden; }

/* 02 — HERO */
.textiles .txf-hero { background-color: #364A39; position: relative; }
.textiles .txf-hero .hero-image img {
  filter: grayscale(100%) brightness(1.2) contrast(105%);
}
.textiles .txf-hero .hero-image::after {
  content: ""; position: absolute; inset: 0;
  background: #364A39; mix-blend-mode: multiply; opacity: 0.8; pointer-events: none;
}
.textiles .txf-hero .hero-grid-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(242, 241, 237, 0.05) 1px, transparent 0);
  background-size: 30px 30px;
}
.textiles .txf-hero .overlay { background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.45) 100%); z-index: 3; }
.textiles .txf-hero .hero-content {
  z-index: 3; max-width: 940px; padding-left: 30px; padding-right: 30px;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.textiles .txf-hero .hero-eyebrow {
  font-family: "courier-std", monospace; font-size: 11px; letter-spacing: 0.4em;
  text-transform: uppercase; color: #F2F1ED; display: inline-flex; align-items: center; gap: 14px;
}
.textiles .txf-hero .hero-eyebrow::before,
.textiles .txf-hero .hero-eyebrow::after {
  content: ""; width: 32px; height: 1px; background: rgba(155, 145, 133, 0.7);
}
.textiles .txf-hero .hero-content h1 {
  font-size: 76px; line-height: 80px; letter-spacing: 0.01em;
  text-transform: uppercase; color: #F2F1ED; text-align: center; margin: 0;
}
@media (max-width: 900px) { .textiles .txf-hero .hero-content h1 { font-size: 58px; line-height: 64px; } }
@media (max-width: 540px) { .textiles .txf-hero .hero-content h1 { font-size: 42px; line-height: 48px; } }
.textiles .txf-hero .hero-subhead {
  font-family: "courier-std", monospace; font-size: 15px; line-height: 1.7;
  letter-spacing: -0.015em; color: #F2F1ED; text-align: center; max-width: 680px; margin: 0;
}
@media (max-width: 540px) { .textiles .txf-hero .hero-subhead { font-size: 14px; } }
.textiles .txf-hero .btns-wrapper { margin-top: 12px; }
.textiles .txf-hero .hero-doc-id {
  position: absolute; top: 32px; left: 32px; z-index: 3;
  font-family: "courier-std", monospace; font-size: 10px; letter-spacing: 0.35em;
  text-transform: uppercase; color: rgba(242, 241, 237, 0.8);
}
@media (max-width: 540px) { .textiles .txf-hero .hero-doc-id { top: 20px; left: 20px; font-size: 9px; letter-spacing: 0.3em; } }
.textiles .txf-hero .hero-spec-line {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; gap: 14px; align-items: center;
  font-family: "courier-std", monospace; font-size: 10px; letter-spacing: 0.4em;
  color: rgba(242, 241, 237, 0.75); text-transform: uppercase; white-space: nowrap;
}
.textiles .txf-hero .hero-spec-line .prefix { color: rgba(242, 241, 237, 0.4); margin-right: -4px; }
@media (max-width: 540px) { .textiles .txf-hero .hero-spec-line { font-size: 9px; gap: 10px; bottom: 24px; } }

/* 03 — SECTION SCAFFOLDING */
.textiles .txf-section { position: relative; }
.textiles .section-marker {
  display: flex; align-items: center; gap: 14px; margin-bottom: 36px;
  font-family: "courier-std", monospace; font-size: 11px; letter-spacing: 0.35em;
  text-transform: uppercase; color: #000;
}
.textiles .section-marker .sec-num { color: inherit; font-weight: 700; }
.textiles .section-marker .sec-divider,
.textiles .section-marker .sec-label { color: #9B9185; }
.textiles .section-marker .sec-rule { flex: 1; height: 1px; background: rgba(0, 0, 0, 0.12); margin-left: 10px; }
.textiles .section-marker.light { color: #F2F1ED; }
.textiles .section-marker.light .sec-rule { background: rgba(242, 241, 237, 0.18); }
@media (max-width: 540px) { .textiles .section-marker { font-size: 10px; gap: 10px; margin-bottom: 24px; } }
.textiles .heading-rule { width: 60px; height: 1px; background: #9B9185; margin: 0 0 32px; }

/* 04 — INTRO */
.textiles .txf-intro { background: #ffffff; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.textiles .txf-intro h2 {
  font-size: 56px; line-height: 1.08; text-align: left; letter-spacing: 0.005em;
  margin: 0 0 24px; color: #000;
}
@media (max-width: 768px) { .textiles .txf-intro h2 { font-size: 40px; line-height: 46px; } }
@media (max-width: 480px) { .textiles .txf-intro h2 { font-size: 30px; line-height: 36px; } }
.textiles .txf-intro .intro-body { max-width: 760px; margin: 0; }
.textiles .txf-intro .intro-body p {
  text-align: left; font-family: "courier-std", monospace; font-size: 15px;
  line-height: 1.75; letter-spacing: -0.015em; color: #000; margin-bottom: 18px;
}
.textiles .txf-intro .intro-body p:last-child { margin-bottom: 0; }

/* 05 — CATALOG ( SEC. 02 ) — half-tone-beige */
.textiles .txf-catalog { background: rgba(155, 145, 133, 0.08); color: #000; }
.textiles .txf-catalog h2 {
  font-size: 56px; line-height: 1.08; text-align: left; letter-spacing: 0.005em;
  margin: 0 0 16px; color: #000;
}
@media (max-width: 768px) { .textiles .txf-catalog h2 { font-size: 40px; line-height: 46px; } }
@media (max-width: 480px) { .textiles .txf-catalog h2 { font-size: 32px; line-height: 38px; } }
.textiles .txf-catalog .catalog-intro {
  font-family: "courier-std", monospace; font-size: 14px; line-height: 1.7;
  letter-spacing: -0.015em; color: #000; max-width: 580px; margin: 0 0 64px;
}
.textiles .catalog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(0, 0, 0, 0.12); border-left: 1px solid rgba(0, 0, 0, 0.12);
}
@media (max-width: 768px) { .textiles .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .textiles .catalog-grid { grid-template-columns: 1fr; } }
.textiles .catalog-cell {
  position: relative; padding: 32px 24px; border-right: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12); display: flex; flex-direction: column;
  justify-content: space-between; gap: 16px; min-height: 150px;
  transition: background-color 0.3s ease; text-decoration: none; color: inherit;
}
.textiles .catalog-cell:hover { background: rgba(155, 145, 133, 0.12); }
.textiles .catalog-cell .cell-num,
.textiles .catalog-cell .cell-tag {
  font-family: "courier-std", monospace; font-size: 11px; letter-spacing: 0.4em;
  text-transform: uppercase; color: #9B9185;
}
.textiles .catalog-cell .cell-name {
  font-family: "din-condensed", sans-serif; font-size: 22px; line-height: 1.1;
  letter-spacing: 0.02em; text-transform: uppercase; color: #364A39;
}
.textiles .catalog-cell-cta {
  background: rgba(155, 145, 133, 0.06);
  border-top: 1px solid #364A39; border-left: 1px solid #364A39;
  border-right: 1px solid #364A39; border-bottom: 1px solid #364A39;
  margin: -1px 0 0 -1px;
}
.textiles .catalog-cell-cta:hover { background: #364A39; }
.textiles .catalog-cell-cta:hover .cell-tag,
.textiles .catalog-cell-cta:hover .cell-name,
.textiles .catalog-cell-cta:hover .cell-link { color: #F2F1ED; }
.textiles .catalog-cell-cta .cell-tag { color: #364A39; font-weight: 700; }
.textiles .catalog-cell-cta .cell-name { color: #000; }
.textiles .catalog-cell-cta .cell-link {
  font-family: "courier-std", monospace; font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase; color: #364A39;
}
.textiles .catalog-footnote {
  margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-family: "courier-std", monospace; font-size: 13px; line-height: 1.6;
  letter-spacing: -0.01em; color: #000;
}
.textiles .catalog-footnote .footnote-label {
  font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase;
  color: #9B9185; font-weight: 700; margin-right: 14px;
}

/* 06 — OUTPUTS ( SEC. 03 ) — DARK — CENTERPIECE */
.textiles .txf-outputs { background: #364A39; color: #F2F1ED; }
.textiles .txf-outputs h2 {
  font-size: 56px; line-height: 1.08; text-align: left; letter-spacing: 0.005em;
  margin: 0 0 16px; color: #F2F1ED;
}
@media (max-width: 768px) { .textiles .txf-outputs h2 { font-size: 40px; line-height: 46px; } }
@media (max-width: 480px) { .textiles .txf-outputs h2 { font-size: 32px; line-height: 38px; } }
.textiles .txf-outputs .outputs-intro {
  font-family: "courier-std", monospace; font-size: 15px; line-height: 1.75;
  letter-spacing: -0.015em; color: rgba(242, 241, 237, 0.92); max-width: 660px; margin: 0 0 64px;
}
.textiles .outputs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(242, 241, 237, 0.22);
  border-left: 1px solid rgba(242, 241, 237, 0.22);
}
@media (max-width: 900px) { .textiles .outputs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .textiles .outputs-grid { grid-template-columns: 1fr; } }
.textiles .output-cell {
  position: relative; padding: 36px 28px 32px;
  border-right: 1px solid rgba(242, 241, 237, 0.22);
  border-bottom: 1px solid rgba(242, 241, 237, 0.22);
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 20px; min-height: 240px; transition: background-color 0.3s ease;
}
.textiles .output-cell:hover { background: rgba(155, 145, 133, 0.1); }
.textiles .output-cell .out-num {
  font-family: "courier-std", monospace; font-size: 11px; letter-spacing: 0.4em;
  text-transform: uppercase; color: #9B9185; font-weight: 700;
}
.textiles .output-cell .out-name {
  font-family: "din-condensed", sans-serif; font-size: 30px; line-height: 1.05;
  letter-spacing: 0.015em; text-transform: uppercase; color: #F2F1ED; flex: 1;
  display: flex; align-items: center;
}
@media (max-width: 768px) { .textiles .output-cell .out-name { font-size: 26px; } }
.textiles .output-cell .out-tag {
  font-family: "courier-std", monospace; font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: #9B9185;
  padding-top: 12px; border-top: 1px solid rgba(242, 241, 237, 0.15);
}
.textiles .output-cell-note {
  background: rgba(155, 145, 133, 0.06); border-right: 1px solid #9B9185;
  border-bottom: 1px solid #9B9185;
}
.textiles .output-cell-note .out-num { color: #F2F1ED; }
.textiles .output-cell-note .out-name { color: #9B9185; }

/* 07 — PROGRAMS ( SEC. 04 ) */
.textiles .txf-programs { background: #ffffff; color: #000; }
.textiles .programs-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 96px; align-items: start;
}
@media (max-width: 1024px) { .textiles .programs-grid { gap: 56px; } }
@media (max-width: 900px) { .textiles .programs-grid { grid-template-columns: 1fr; gap: 48px; } }
.textiles .programs-content h2 {
  font-size: 48px; line-height: 1.1; text-align: left; letter-spacing: 0.005em;
  margin: 0 0 24px; color: #000;
}
@media (max-width: 768px) { .textiles .programs-content h2 { font-size: 36px; line-height: 42px; } }
@media (max-width: 480px) { .textiles .programs-content h2 { font-size: 28px; line-height: 34px; } }
.textiles .programs-content p {
  font-family: "courier-std", monospace; font-size: 15px; line-height: 1.75;
  letter-spacing: -0.015em; color: #000; margin: 0 0 16px;
}
.textiles .programs-content p:last-child { margin-bottom: 0; }
.textiles .programs-list-wrap { padding-top: 8px; }
.textiles .programs-list-header { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.textiles .programs-list-header .list-tag {
  font-family: "courier-std", monospace; font-size: 10px; letter-spacing: 0.4em;
  text-transform: uppercase; color: #9B9185; font-weight: 700;
}
.textiles .programs-list-header .list-rule { flex: 1; height: 1px; background: rgba(0, 0, 0, 0.2); }
.textiles .programs-list { list-style: none; margin: 0; padding: 0; }
.textiles .programs-list li {
  display: grid; grid-template-columns: 60px 1fr; gap: 24px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.textiles .programs-list li:last-child { border-bottom: none; }
.textiles .programs-list .pr-num {
  font-family: "courier-std", monospace; font-size: 11px; letter-spacing: 0.4em;
  text-transform: uppercase; color: #9B9185; font-weight: 700;
}
.textiles .programs-list .pr-name {
  font-family: "din-condensed", sans-serif; font-size: 24px; line-height: 1.1;
  letter-spacing: 0.02em; text-transform: uppercase; color: #364A39;
}
@media (max-width: 540px) { .textiles .programs-list .pr-name { font-size: 20px; } }

/* 08 — SERVED ( SEC. 05 ) — DARK */
.textiles .txf-served { background: #364A39; color: #F2F1ED; }
.textiles .txf-served h2 {
  font-size: 56px; line-height: 1.08; text-align: left; letter-spacing: 0.005em;
  margin: 0 0 16px; color: #F2F1ED;
}
@media (max-width: 768px) { .textiles .txf-served h2 { font-size: 40px; line-height: 46px; } }
@media (max-width: 480px) { .textiles .txf-served h2 { font-size: 32px; line-height: 38px; } }
.textiles .txf-served .served-intro {
  font-family: "courier-std", monospace; font-size: 14px; line-height: 1.7;
  letter-spacing: -0.015em; color: rgba(242, 241, 237, 0.92);
  max-width: 580px; margin: 0 0 64px;
}
.textiles .served-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(242, 241, 237, 0.22);
  border-left: 1px solid rgba(242, 241, 237, 0.22);
}
@media (max-width: 768px) { .textiles .served-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .textiles .served-grid { grid-template-columns: 1fr; } }
.textiles .served-cell {
  position: relative; padding: 36px 28px;
  border-right: 1px solid rgba(242, 241, 237, 0.22);
  border-bottom: 1px solid rgba(242, 241, 237, 0.22);
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 18px; min-height: 160px; transition: background-color 0.3s ease;
}
.textiles .served-cell:hover { background: rgba(155, 145, 133, 0.1); }
.textiles .served-cell .sv-num {
  font-family: "courier-std", monospace; font-size: 11px; letter-spacing: 0.4em;
  text-transform: uppercase; color: #9B9185;
}
.textiles .served-cell .sv-name {
  font-family: "din-condensed", sans-serif; font-size: 22px; line-height: 1.1;
  letter-spacing: 0.02em; text-transform: uppercase; color: #F2F1ED;
}

/* 09 — LOGISTICS ( SEC. 06 ) */
.textiles .txf-logistics { background: #ffffff; color: #000; }
.textiles .txf-logistics h2 {
  font-size: 48px; line-height: 1.1; text-align: left; letter-spacing: 0.005em;
  margin: 0 0 16px; color: #000;
}
@media (max-width: 768px) { .textiles .txf-logistics h2 { font-size: 36px; line-height: 42px; } }
@media (max-width: 480px) { .textiles .txf-logistics h2 { font-size: 28px; line-height: 34px; } }
.textiles .txf-logistics .logistics-intro {
  font-family: "courier-std", monospace; font-size: 14px; line-height: 1.7;
  letter-spacing: -0.015em; color: #000; max-width: 580px; margin: 0 0 56px;
}
.textiles .logistics-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(0, 0, 0, 0.12); border-left: 1px solid rgba(0, 0, 0, 0.12);
}
@media (max-width: 768px) { .textiles .logistics-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .textiles .logistics-grid { grid-template-columns: 1fr; } }
.textiles .log-tile {
  position: relative; padding: 32px 24px; border-right: 1px solid rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12); display: flex; flex-direction: column;
  gap: 14px; min-height: 180px; transition: background-color 0.3s ease;
}
.textiles .log-tile:hover { background: rgba(155, 145, 133, 0.1); }
.textiles .log-tile .log-num {
  font-family: "courier-std", monospace; font-size: 11px; letter-spacing: 0.4em;
  text-transform: uppercase; color: #9B9185;
}
.textiles .log-tile .log-name {
  font-family: "din-condensed", sans-serif; font-size: 22px; line-height: 1.05;
  letter-spacing: 0.02em; text-transform: uppercase; color: #364A39; margin-top: auto;
}
.textiles .log-tile .log-desc {
  font-family: "courier-std", monospace; font-size: 12px; line-height: 1.55;
  letter-spacing: -0.01em; color: #000;
}

/* 10 — CTA */
.textiles .txf-cta { background: #F2F1ED; color: #000; }
.textiles .txf-cta .cta-frame {
  position: relative; max-width: 760px; margin: 0 auto; padding: 72px 56px;
  background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.14); text-align: center;
}
@media (max-width: 540px) { .textiles .txf-cta .cta-frame { padding: 48px 24px; } }
.textiles .txf-cta .cta-corner {
  position: absolute; width: 18px; height: 18px; border-color: #364A39;
  border-style: solid; border-width: 0; background: transparent;
}
.textiles .txf-cta .cta-corner-tl { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.textiles .txf-cta .cta-corner-tr { top: -1px; right: -1px; border-top-width: 2px; border-right-width: 2px; }
.textiles .txf-cta .cta-corner-bl { bottom: -1px; left: -1px; border-bottom-width: 2px; border-left-width: 2px; }
.textiles .txf-cta .cta-corner-br { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }
.textiles .txf-cta .cta-tag {
  display: inline-block; font-family: "courier-std", monospace; font-size: 11px;
  letter-spacing: 0.4em; color: #9B9185; text-transform: uppercase; margin-bottom: 22px;
}
.textiles .txf-cta h2 {
  font-family: "din-condensed", sans-serif; font-size: 44px; line-height: 1.05;
  letter-spacing: 0.005em; text-transform: uppercase; text-align: center;
  margin: 0 0 18px; color: #000;
}
@media (max-width: 540px) { .textiles .txf-cta h2 { font-size: 30px; line-height: 36px; } }
.textiles .txf-cta p {
  font-family: "courier-std", monospace; font-size: 14px; line-height: 1.7;
  letter-spacing: -0.015em; color: #000; max-width: 520px; margin: 0 auto 32px; text-align: center;
}
.textiles .txf-cta .btns-wrapper { margin: 0 auto; justify-content: center; }

/* 11 — RELATED */
.textiles .txf-related {
  background: #ffffff; padding: 56px 0 64px; border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.textiles .txf-related .related-label {
  display: block; font-family: "courier-std", monospace; font-size: 11px;
  letter-spacing: 0.4em; text-transform: uppercase; color: #9B9185; margin-bottom: 22px;
}
.textiles .related-links { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
@media (max-width: 540px) { .textiles .related-links { gap: 22px; } }
.textiles .related-links a {
  font-family: "din-condensed", sans-serif; font-size: 22px; line-height: 1;
  letter-spacing: 0.02em; text-transform: uppercase; color: #000;
  text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.textiles .related-links a:hover { color: #364A39; border-bottom-color: #364A39; }
