﻿:root {
  --ink: #14171a;
  --body: #424950;
  --muted: #66707a;
  --line: #d8dee4;
  --paper: #ffffff;
  --soft: #f4f6f7;
  --brand: #e95527;
  --brand-dark: #b63d1d;
  --green: #0e6260;
  --blue: #1d4f73;
  --nav: #1f2428;
  --shadow: 0 18px 48px rgba(21, 30, 38, 0.13);
  --shadow-soft: 0 8px 24px rgba(21, 30, 38, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--body);
  background: #f9fafb;
  font-family: "Segoe UI", "Inter", "Noto Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.topbar {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding: 7px clamp(18px, 4vw, 56px);
  color: #ffffff;
  background: #171a1d;
  font-size: 13px;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(18, 24, 30, 0.08);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 78px;
  padding: 10px clamp(18px, 4vw, 56px);
}

.brand img {
  width: min(250px, 54vw);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.menu-item {
  position: relative;
}

.menu-item::after {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 14px;
  content: "";
}

.menu-item:hover,
.menu-item:focus-within {
  z-index: 6;
}

.menu-link,
.menu-item > button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 13px;
  border: 0;
  color: var(--nav);
  background: transparent;
  font: 700 14px/1 "Segoe UI", "Inter", "Noto Sans", Arial, sans-serif;
  cursor: pointer;
  border-radius: 6px;
}

.menu-link:hover,
.menu-link:focus,
.menu-item:hover > button,
.menu-item:focus-within > button,
.menu-item:hover > .menu-link,
.menu-item:focus-within > .menu-link,
.menu-item > button:hover,
.menu-item > button:focus,
.menu-link.active {
  color: var(--brand);
  background: rgba(233, 85, 39, 0.08);
}

.dropdown {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  z-index: 5;
  display: none;
  min-width: 270px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.menu-item:hover .dropdown,
.menu-item:focus-within .dropdown {
  display: grid;
}

.dropdown a {
  padding: 11px 12px;
  border-radius: 6px;
  color: #34383c;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
}

.dropdown a:hover,
.dropdown a.active {
  color: #ffffff;
  background: var(--brand);
}

.hero {
  position: relative;
  min-height: 560px;
  color: #ffffff;
  overflow: hidden;
  background: #11181d;
}

.slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 800ms ease;
}

.slide.is-active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.03);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 16, 20, 0.82), rgba(10, 16, 20, 0.45) 55%, rgba(10, 16, 20, 0.16)),
    linear-gradient(0deg, rgba(10, 16, 20, 0.35), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(800px, calc(100% - 36px));
  padding: clamp(86px, 11vw, 132px) 0 84px clamp(18px, 6vw, 74px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffd7c9;
  background: rgba(255, 255, 255, 0.08);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--ink);
  font-family: "Segoe UI", "Inter", "Noto Sans", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  color: #ffffff;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  margin-bottom: 20px;
}

.hero p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(29px, 3.6vw, 44px);
  line-height: 1.12;
}

h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.15;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button.primary {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(233, 85, 39, 0.24);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.08);
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(21, 30, 38, 0.18);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.quick-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  color: #ffffff;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.quick-row a,
.quick-row div {
  min-height: 122px;
  padding: 26px clamp(18px, 3vw, 38px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.quick-row a:hover {
  background: rgba(255, 255, 255, 0.07);
}

.quick-row strong {
  margin-bottom: 4px;
  font-size: 18px;
}

.quick-row strong,
.quick-row span {
  display: block;
}

.quick-row span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.page-title {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 7vw, 92px) clamp(18px, 4vw, 56px);
  color: #ffffff;
  background:
    radial-gradient(circle at 84% 22%, rgba(233, 85, 39, 0.26), transparent 30%),
    linear-gradient(135deg, #182127 0%, #123f45 56%, #1d4f73 100%);
}

.page-title::after {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: -48px;
  width: min(360px, 42vw);
  height: 170px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  transform: rotate(-9deg);
}

.page-title h1 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.04;
}

.page-title p {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.page-title-image {
  min-height: clamp(300px, 34vw, 430px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-position: center;
  background-size: cover;
}

.page-title-image::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(8, 19, 28, 0.86) 0%, rgba(8, 19, 28, 0.62) 34%, rgba(8, 19, 28, 0.08) 72%);
}

.page-title-image::after {
  display: none;
}

.page-title-paints {
  background-image: url("../assets/images/hero-paints.png");
}

.page-title-textiles {
  background-image: url("../assets/images/hero-textiles.png");
}

.page-title-plastics {
  background-image: url("../assets/images/hero-plastics.png");
}

.page-title-inks {
  background-image: url("../assets/images/hero-inks.png");
}

.section {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 4vw, 56px);
  background: #ffffff;
}

.section.soft {
  background: linear-gradient(180deg, var(--soft), #ffffff);
}

.section-band-title {
  width: 100%;
  padding: 28px clamp(18px, 4vw, 56px);
  background: linear-gradient(135deg, #18003f 0%, #2f1370 46%, #006b58 100%);
  color: #fff;
}

.section-band-title h2 {
  width: min(1180px, 100%);
  margin: 0 auto;
  color: inherit;
  font-size: clamp(28px, 4vw, 46px);
}

.container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(30px, 6vw, 72px);
}

.content p,
.content li {
  font-size: 17px;
  max-width: 76ch;
}

.image-panel {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #e9eef1;
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-height: 218px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(233, 85, 39, 0.35);
  box-shadow: var(--shadow);
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.table-wrap + .table-wrap {
  margin-top: 22px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: #edf3f4;
  font-weight: 800;
}

.dye-spec-table {
  table-layout: auto;
}

.dye-spec-table th,
.dye-spec-table td {
  font-weight: 400;
}

.dye-spec-table thead th {
  color: var(--ink);
  background: #f5f8f8;
  font-weight: 600;
}

.dye-spec-table tbody th {
  color: var(--muted);
  background: #ffffff;
}

.dye-spec-table tbody tr:nth-child(even) th {
  background: #fbfcfd;
}

.rb21-table {
  table-layout: fixed;
}

.rb21-table tbody th,
.rb21-table tbody td {
  width: 50%;
}

tbody tr:nth-child(even) td {
  background: #fbfcfd;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 18px;
  border-left: 4px solid var(--brand);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.map-image {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.technical-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.technical-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.technical-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.technical-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.technical-scan {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.technical-scan img {
  width: 100%;
  height: auto;
}

.technical-scan figcaption {
  padding: 12px 14px;
  color: var(--muted);
  background: #f7f9fa;
  font-size: 14px;
  font-weight: 700;
}

.technical-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.technical-visual.wide {
  grid-column: 1 / -1;
}

.technical-visual img {
  width: 100%;
  height: auto;
  background: #ffffff;
}

.technical-visual figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  background: #f7f9fa;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.45;
}

.product-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.formula-pair {
  display: grid;
  gap: 18px;
}

.formula-stack {
  display: grid;
  gap: 18px;
}

.formula-pair figure,
.single-formula {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.formula-pair img,
.single-formula img {
  width: 100%;
  height: auto;
  background: #eef3b4;
}

.formula-white img {
  background: #ffffff;
}

.pigment-sample {
  max-width: 360px;
  margin: 20px 0 28px;
}

.pigment-sample img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.formula-pair figcaption,
.single-formula figcaption {
  padding: 12px 14px;
  color: var(--muted);
  background: #ffffff;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.45;
}

.product-sections .container {
  display: grid;
  gap: 30px;
}

.intermediate-product {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.intermediate-product:nth-child(even) {
  background: #fbfcfc;
}

.intermediate-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.intermediate-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.intermediate-details h2 {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 36px);
}

.intermediate-details .table-wrap {
  margin: 0;
}

.application-status-table td,
.properties-table td {
  min-width: 140px;
}

.application-status-table td:nth-child(3),
.application-status-table td:nth-child(4),
.application-status-table td:nth-child(5) {
  min-width: 260px;
}

.mark {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  margin-right: 4px;
  font-weight: 900;
  line-height: 1;
}

.mark.high {
  color: #00623b;
}

.mark.recommended {
  color: #159bd3;
}

.mark.possible {
  color: #df2637;
}

.swatch {
  display: inline-block;
  width: 88px;
  height: 22px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 4px;
  vertical-align: middle;
}

.swatch.wide {
  width: min(220px, 42vw);
  height: 34px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: clamp(28px, 4vw, 48px);
}

.contact-grid-wide {
  grid-template-columns: minmax(280px, 1fr) repeat(2, minmax(260px, 0.85fr));
  align-items: stretch;
  gap: clamp(32px, 4.5vw, 56px);
}

.contact-box {
  padding: 30px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(145deg, #1d252b, #123f45);
  box-shadow: var(--shadow);
}

.contact-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.contact-summary-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) repeat(2, minmax(280px, 0.95fr));
  gap: clamp(34px, 4vw, 58px);
  align-items: stretch;
}

.contact-summary-grid .contact-box,
.contact-summary-grid .contact-card {
  padding: clamp(34px, 4vw, 48px);
}

.contact-summary-grid h2 {
  margin-bottom: 18px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.16;
}

.contact-summary-grid p {
  line-height: 1.72;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.contact-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.contact-list li {
  padding: 14px 0 14px 18px;
  border-left: 3px solid var(--brand);
  color: var(--muted);
  line-height: 1.55;
}

.contact-card h2,
.contact-box h2 {
  margin-top: 0;
}

.contact-box h2,
.contact-box .section-kicker,
.contact-box p {
  color: #ffffff;
}

.contact-card .button {
  margin: 12px 10px 0 0;
}

.button.dark {
  color: var(--ink);
  border-color: var(--line);
}

.contact-box a,
.contact-box address {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
}

.form-box {
  display: grid;
  gap: 12px;
}

.form-box input,
.form-box textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  background: #ffffff;
}

.form-box input:focus,
.form-box textarea:focus {
  outline: 3px solid rgba(233, 85, 39, 0.16);
  border-color: rgba(233, 85, 39, 0.55);
}

.form-box textarea {
  min-height: 140px;
  resize: vertical;
}

.footer {
  color: #f5f5f5;
  background: linear-gradient(135deg, #18003f 0%, #2f1370 46%, #006b58 100%);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  padding: 44px clamp(18px, 4vw, 56px);
}

.footer img {
  width: 280px;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.footer h3 {
  color: #ffffff;
}

.footer a,
.footer p,
.footer address {
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
}

.footer a:hover {
  color: #ffffff;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  padding: 14px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.68);
  background: linear-gradient(135deg, #10002d 0%, #201050 48%, #004d42 100%);
  font-size: 13px;
}

@media (max-width: 1040px) {
  .card-grid,
  .card-grid.four,
  .quick-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .contact-grid,
  .product-story,
  .intermediate-product,
  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .nav {
    min-height: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    z-index: 30;
    display: none;
    align-items: stretch;
    flex-direction: column;
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
    -webkit-overflow-scrolling: touch;
  }

  .menu.is-open {
    display: flex;
  }

  .menu-link,
  .menu-item > button {
    width: 100%;
    justify-content: space-between;
    padding: 13px 10px;
  }

  .menu-item::after {
    display: none;
  }

  .dropdown {
    position: static;
    display: grid;
    min-width: 0;
    margin: 0 0 8px 14px;
    padding: 4px;
    box-shadow: none;
  }

  .hero {
    min-height: 610px;
  }

  .hero-content {
    padding-right: 18px;
  }

  .quick-row,
  .card-grid,
  .card-grid.four,
  .feature-list,
  .technical-page-grid,
  .technical-visual-grid {
    grid-template-columns: 1fr;
  }
}

.application-matrix-wrap {
  max-width: 100%;
}

.application-matrix-table {
  min-width: 1680px;
  font-size: 13px;
}

.application-matrix-table th,
.application-matrix-table td {
  text-align: center;
  vertical-align: middle;
  min-width: 76px;
}

.application-matrix-table thead tr:first-child th {
  background: #e6f3f1;
  color: #103d40;
  font-weight: 800;
}

.application-matrix-table thead tr:nth-child(2) th {
  font-size: 12px;
  line-height: 1.25;
  white-space: normal;
}

.application-matrix-table td:first-child,
.application-matrix-table td:nth-child(2),
.application-matrix-table td:last-child {
  text-align: left;
}

.application-matrix-table th:first-child,
.application-matrix-table td:first-child {
  min-width: 190px;
}

.application-matrix-table th:nth-child(2),
.application-matrix-table td:nth-child(2) {
  min-width: 92px;
}

.application-matrix-table th:last-child,
.application-matrix-table td:last-child {
  min-width: 260px;
}

.matrix-empty {
  color: #aeb9bf;
}
